Skip to content
docs

CONTRACT_MIN_RESERVE_BALANCE

const CONTRACT_MIN_RESERVE_BALANCE: bigint = YOCTO_PER_NEAR

Defined in: protocol-staking-liquid-near/src/constants.ts:37

Liquid NEAR the contract keeps for itself: a withdrawal needs contract balance − 1 NEAR ≥ amount (assert_can_withdraw). The runtime also keeps the contract’s storage cost (storage_usage × 10^19: ~52 NEAR for rNEAR, ~133 NEAR for LiNEAR), so what it can pay is balance − max(1 NEAR, storage).