LiquidPoolInfo
Defined in: protocol-staking-liquid-near/src/types.ts:55
The contract’s state. Amounts in yoctoNEAR / token base units (24 decimals).
Properties
Section titled “Properties”codeHash
Section titled “codeHash”codeHash:
string
Defined in: protocol-staking-liquid-near/src/types.ts:76
codeHashKnown
Section titled “codeHashKnown”codeHashKnown:
boolean
Defined in: protocol-staking-liquid-near/src/types.ts:78
The live code hash is one the module (or the app’s config) pins.
contract
Section titled “contract”contract:
string
Defined in: protocol-staking-liquid-near/src/types.ts:56
decimals
Section titled “decimals”decimals:
24
Defined in: protocol-staking-liquid-near/src/types.ts:59
feeBps
Section titled “feeBps”feeBps:
number
Defined in: protocol-staking-liquid-near/src/types.ts:84
Protocol fee on rewards, basis points (sum of get_beneficiaries).
kept:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:82
What the contract cannot pay out: max(1 NEAR, its storage cost). A withdrawal needs liquidity − kept ≥ amount.
liquidity
Section titled “liquidity”liquidity:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:80
The contract’s liquid balance (view_account.amount): what withdrawals are paid from.
name:
string
Defined in: protocol-staking-liquid-near/src/types.ts:58
paused
Section titled “paused”paused:
boolean
Defined in: protocol-staking-liquid-near/src/types.ts:68
is_paused, or ‘ALL’ in pa_all_paused; a missing is_paused counts as paused.
pausedFeatures
Section titled “pausedFeatures”pausedFeatures:
string[]
Defined in: protocol-staking-liquid-near/src/types.ts:75
Features the contract has paused on their own (pa_all_paused of a near-plugins contract such as
rNEAR: ‘internal_deposit’, ‘internal_stake’, ‘internal_unstake’, ‘internal_withdraw’). A write
that calls one is refused with ‘contract-paused’. Empty when nothing is paused or the contract has
no per-feature pause (LiNEAR).
price:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:61
yoctoNEAR per 1 whole token (ft_price, 10^24 = 1:1).
symbol
Section titled “symbol”symbol:
string
Defined in: protocol-staking-liquid-near/src/types.ts:57
totalShares
Section titled “totalShares”totalShares:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:65
Token supply (get_summary.total_share_amount).
totalStaked
Section titled “totalStaked”totalStaked:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:63
NEAR staked by the contract (get_summary.total_staked_near_amount).
validators
Section titled “validators”validators:
number
Defined in: protocol-staking-liquid-near/src/types.ts:66