calculateDepositNeeded
calculateDepositNeeded(
params):OutputType
Defined in: packages/synapse-core/src/warm-storage/calculate-deposit-needed.ts:121
Orchestrate lockup + runway + debt + buffer to compute total deposit needed.
Returns the deposit together with the lockup and fee breakdowns it was computed from, so callers can reuse them without recomputing.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
params | ParamsType | calculateDepositNeeded.ParamsType |