Skip to content
docs

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).

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: string

Defined in: protocol-staking-liquid-near/src/types.ts:15


optional firstStakePaysStorage?: 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).


optional name?: string

Defined in: protocol-staking-liquid-near/src/types.ts:17


symbol: string

Defined in: protocol-staking-liquid-near/src/types.ts:16