DEFAULT_GAS
constDEFAULT_GAS:object
Defined in: protocol-staking-liquid-near/src/constants.ts:73
Prepaid gas per call. All of it is bought upfront at min_gas_purchase_price (the unburnt part is refunded), so it is kept near what the calls use. Burnt on mainnet (whole transaction): deposit_and_stake ~3.1–3.5 Tgas on both contracts (it stakes nothing itself: the operator bot does; an rNEAR stake with 30 Tgas prepaid succeeded), unstake_all 3.5, withdraw_all 3.4 (rNEAR) to ~11 (LiNEAR). None of them makes a cross-contract call but the payout transfer.
Type Declaration
Section titled “Type Declaration”
readonlystake:bigint
unstake
Section titled “unstake”
readonlyunstake:bigint
withdraw
Section titled “withdraw”
readonlywithdraw:bigint