set_fees
Last updated
Last updated
An entrypoint that setups fee for the specified farm. Also can setup fees for a group of farms in one transaction.
Field | Type | Hint | Description |
---|---|---|---|
Not-admin
- sender
of the transaction is not current administrator.
QSystem/farm-not-set
- farming with fid
parameter doesn't exist.
Field | Type | Description |
---|---|---|
harvest_fee
nat
Float value multiplied by 1e+16
Fee that applies in time of rewards claiming
withdrawal_fee
nat
Float value multiplied by 1e+16
Fee that applies in time of withdrawing (unstaking) tokens only in farms with timelock. Applies only in case of early withdrawal
burn_reward
nat
Float value multiplied by 1e+16
The % of the rewards that will be minted to the transaction sender when he calls burn_farm_rewards entrypoint
fid
fid_type (nat)
Farm's ID
fees
Fees that applies to the farming