Skip to content
docs

assertLiquidPlan

assertLiquidPlan(transactions, contract): void

Defined in: protocol-staking-liquid-near/src/transactions.ts:60

Throws unless every transaction goes to contract and holds only function calls to LIQUID_WRITE_METHODS. Runs on every plan before it is returned or sent. In particular it refuses ft_transfer / ft_transfer_call to the contract: it has no ft_on_transfer, so tokens (or “staking by transfer”) sent that way are lost.

readonly NearTransaction[]

string

void