Quipuswap
Search…
⌃K

set_fees

This entrypoint should be called only by admin address.
This entrypoint is designed to update fee rates.
More info about fee storage and precisions, please, read Fee storage - fee rates record section.

Call parameters

Field
Type
Description
pool_id
pool_id_t
pool identifier.
fee
fees_storage_t
contains fee rates, percent multiplied by
101010^{10}
, for liquidity providers, QUIPU token stakers, and for referral.
type fees_storage_t is [@layout:comb] record [
lp : nat;
stakers : nat;
ref : nat;
]
​
type set_fee_param_t is [@layout:comb] record [
pool_id : pool_id_t;
fee : fees_storage_t;
]