SimpleLoan
@liquidium/client / SimpleLoan
Interface: SimpleLoan
Defined in: packages/client/src/modules/simple-loans/types.ts:471
Hydrated simple loan state plus generated quote targets.
Properties
borrow
borrow:
SimpleLoanBorrow
Defined in: packages/client/src/modules/simple-loans/types.ts:485
Borrow-side pool, asset, chain, decimals, requested amount, and destination.
collateral
collateral:
SimpleLoanCollateral
Defined in: packages/client/src/modules/simple-loans/types.ts:483
Collateral-side pool, asset, decimals, and requested credited amount.
initialDeposit
initialDeposit:
SimpleLoanInitialDeposit
Defined in: packages/client/src/modules/simple-loans/types.ts:489
Current actionable initial collateral deposit quote.
loanId
loanId:
bigint
Defined in: packages/client/src/modules/simple-loans/types.ts:473
Canister-assigned loan id.
position
position:
SimpleLoanPositionSummary
Defined in: packages/client/src/modules/simple-loans/types.ts:493
Current lending position state for the generated profile.
profileId
profileId:
string
Defined in: packages/client/src/modules/simple-loans/types.ts:479
Generated profile principal used by the simple loan.
ref
ref:
string
Defined in: packages/client/src/modules/simple-loans/types.ts:475
Short user-facing reference derived from loanId.
refundDestination
refundDestination:
LiquidiumAccount
Defined in: packages/client/src/modules/simple-loans/types.ts:487
Destination used for collateral refunds or withdrawals.
repayment
repayment:
SimpleLoanRepayment
Defined in: packages/client/src/modules/simple-loans/types.ts:491
Current repayment quote. Amount fields are zero when the loan has no debt.
status
status:
LiquidiumStatus
Defined in: packages/client/src/modules/simple-loans/types.ts:477
Shared lifecycle status for display and flow control.
terms
terms:
SimpleLoanTerms
Defined in: packages/client/src/modules/simple-loans/types.ts:481
Immutable loan terms.