Protected
clientProtected
programProtected
solanaThe amount withdrawn by the borrower.
Get address of the borrower. This is not a BorrowerInfo
account address but the actual recipient of the funds.
Timestamp of deal creation.
The early redemption fees that the borrower needs to pay if an early redemption is triggered.
The amount of the early redemption fee that has been repaid.
The amount of the early redemption fee to be repaid.
The fixed fee which will be charged on outstanding capital if the borrower is late in repaying.
The timestamp when the deal goes live in seconds. This is the moment where funds are transferred to the borrower.
The number of days after the due date that no late fees are applied.
The amount of late fees repaid.
A number indicating for how long funding is open (in days).
If the deal cannot be fully funded (all tranches) within goLiveAt
+ maxFundingDuration
,
the deal will not go live and investors can then withdraw their funds by burning the tranche tokens.
Indicates if an off-chain deal was migrated on-chain.
Name of the deal.
Number of the deal
Unix timestamp when the deal was opened for underwriters.
The cumulative amount of service fees that has to be paid.
Refers to how many service fees are already repaid.
Refers to a year counter of when fees were last charged. Upon deal activation, fees are charged and this variable incremented accordingly.
Activates this deal.
Optional
owner: PublicKeyOptional
owner: PublicKeyOptional
owner: PublicKeyOptional
owner: PublicKeyOptional
schedule: null | RepaymentScheduleOptional
schedule: null | RepaymentScheduleA boolean indicating if the deal has been fully funded (all tranches),.
whether all of the deal's tranches are fully funded
Optional
tranches: null | Tranchesoptionally pass tranches; if not passed the function fetches it
Optional
schedule: null | RepaymentScheduleOptional
schedule: null | RepaymentScheduleOptional
schedule: null | RepaymentScheduleOptional
schedule: null | RepaymentScheduleOptional
schedule: null | RepaymentScheduleThe service fees due timestamp based on the year the fees were last changed.
Set how this deal will be repaid.
Optional
schedule: null | RepaymentScheduleUpdate deal fee parameters
promise with the transaction signature
Optional
owner: PublicKeyOptional
owner: PublicKeyStatic
generatePDAGenerate a deal PDA.
Borrower of the deal
Number of the deal
Market to which the deal belongs
Generated using TypeDoc
Deal in a market