SMART CONTRACTS
← Contract catalogDebtManager
Manage coupon funding, principal deposits and debt redemption.
Role and use
Manage tranches, payment schedules, claims and redemption states associated with BondToken issuance units.
Integration considerationsTrack funding, beneficiary claims and receipts separately. These operations are distinct from bank transfers in fiat currency.
Key SDK operations
These operations are exposed by DebtManagerHelper in @hazbase/kit@0.9.0. The signatures below are type definitions; see the SDK reference for parameter structures and the complete interface.
typescript
import { DebtManagerHelper } from '@hazbase/kit';createTranche
typescript
async createTranche(a: CreateTrancheArgs): Promise<TransactionReceipt>payCoupon
typescript
async payCoupon(
idx: BigNumberish,
epoch: number,
totalAmount: BigNumberish
): Promise<TransactionReceipt>claimCoupon
typescript
async claimCoupon(
idx: BigNumberish,
epoch: number
): Promise<TransactionReceipt>redeemAtMaturity
typescript
async redeemAtMaturity(
idx: BigNumberish,
amount: BigNumberish
): Promise<TransactionReceipt>Related contracts
Put it into practice
Debt & asset finance
See the data model, processing sequence and SDK code for an application-level implementation.
Read the implementation patternSpecification and source
The Solidity source is pinned to the revision below. Match it with the SDK version and your network’s implementation address and ABI.
debt-manager/contracts/DebtManager.solSource revision: b53a5b5