LiquidPoolConfig
Defined in: protocol-staking-liquid-near/src/types.ts:14
A LiNEAR-family contract the app vouches for (same interface as linear-protocol.near).
Properties
Section titled “Properties”codeHashes
Section titled “codeHashes”codeHashes: readonly
string[]
Defined in: protocol-staking-liquid-near/src/types.ts:19
code_hash values accepted for writes. Required: a contract upgrade is refused until the app pins the new build.
contract
Section titled “contract”contract:
string
Defined in: protocol-staking-liquid-near/src/types.ts:15
firstStakePaysStorage?
Section titled “firstStakePaysStorage?”
optionalfirstStakePaysStorage?:boolean
Defined in: protocol-staking-liquid-near/src/types.ts:27
deposit_and_stake keeps storage_balance_bounds.min (0.00125 NEAR) of an unregistered account’s
first deposit, as rNEAR does (LiNEAR does not). Default: the built-in preset’s value when
contract is a preset’s account (a re-pin after an upgrade), else true: quotes then never show
more tokens than the contract mints, and a first stake that leaves less than MIN_STAKE after the
fee is refused (at or below the fee the contract itself would fail it).
optionalname?:string
Defined in: protocol-staking-liquid-near/src/types.ts:17
symbol
Section titled “symbol”symbol:
string
Defined in: protocol-staking-liquid-near/src/types.ts:16