stake
This entrypoint is designed to stake or unstake QUIPU tokens to a specific DEX pool.
This call payoff staking rewards in all accrued tokens automatically.
Calling this method with amount = 0n
and any path (Add/Remove
) triggers payoff without transfer QUIPU tokens.
Call parameters
Field
Type
Description
pool_id
pool_id_t
pool identifier.
amount
nat
amount of QUIPU tokens to stake or unstake.
Last updated