@loktin/sdk / target-savings / CreationBreakdown
Interface: CreationBreakdown
Defined in: @loktin/sdk/dist/target-savings/breakdown.d.ts:11
The worst case for an early withdrawal of the whole target.
Properties
amount
readonlyamount:bigint
Defined in: @loktin/sdk/dist/target-savings/breakdown.d.ts:13
The whole target.
integratorFee
readonlyintegratorFee:bigint
Defined in: @loktin/sdk/dist/target-savings/breakdown.d.ts:17
locked
readonlylocked:boolean
Defined in: @loktin/sdk/dist/target-savings/breakdown.d.ts:25
True for a lock rule: there is no early withdrawal, and the goal can be withdrawn only once the target is reached or the deadline passes. The fees still apply then.
loktinFee
readonlyloktinFee:bigint
Defined in: @loktin/sdk/dist/target-savings/breakdown.d.ts:16
penalty
readonlypenalty:bigint
Defined in: @loktin/sdk/dist/target-savings/breakdown.d.ts:15
The early-withdrawal penalty, 0 for a lock rule.
toUser
readonlytoUser:bigint
Defined in: @loktin/sdk/dist/target-savings/breakdown.d.ts:19
What the owner receives.