LiquidAccountDetails
Defined in: protocol-staking-liquid-near/src/types.ts:88
The account in the contract (get_account_details + ft_balance_of + storage_balance_of).
Properties
Section titled “Properties”canWithdraw
Section titled “canWithdraw”canWithdraw:
boolean
Defined in: protocol-staking-liquid-near/src/types.ts:98
The contract’s own flag: unlock epoch reached.
registered
Section titled “registered”registered:
boolean
Defined in: protocol-staking-liquid-near/src/types.ts:100
NEP-145 registered (can receive the token by transfer).
shares
Section titled “shares”shares:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:90
LST held, token base units.
unlockEpoch
Section titled “unlockEpoch”unlockEpoch:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:96
Epoch the unstaked balance unlocks at (exact, from the contract).
unstaked
Section titled “unstaked”unstaked:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:94
NEAR unstaked and waiting (or ready) in the contract.
value:
bigint
Defined in: protocol-staking-liquid-near/src/types.ts:92
shares valued in NEAR at the current price.