@loktin/sdk / target-savings / creationBreakdown
Function: creationBreakdown()
creationBreakdown(
input):CreationBreakdown
Defined in: @loktin/sdk/dist/target-savings/breakdown.d.ts:32
Works out how an early withdrawal of the whole target would split, so the app can show it before the user signs (R2, R4). Each part is taken from the principal and rounded down, as the contract does. No network call.