stake
This entrypoint is designed to stake or unstake QUIPU tokens to a specific DEX pool.
Call parameters
Field
Type
Description
pool_id
pool_id_t
pool identifier.
amount
nat
amount of QUIPU tokens to stake or unstake.
type stake_param_t is [@layout:comb] record [
pool_id : pool_id_t;
amount : nat;
type stake_action_t is
| Add of stake_param_t
| Remove of stake_param_t
Last updated