set_fees
Last updated
Last updated
An entrypoint that setups interface fee, swap fee, and auction fee that applies in time of each swap or flash_swap. Also it setups a reward for withdrawing auction fee that applies in time of calling withdraw_auction_fee entrypoint by any user.
Field | Type | Hint | Description |
---|---|---|---|
400
- sender
of the transaction is not current administrator.
412
- non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).
interface_fee
nat
Float value multiplied by 1e+18
Fee that goes to referrers or UI/UX providers
swap_fee
nat
Float value multiplied by 1e+18
Fee that goes to the liquidity pool (for liquidity providers)
auction_fee
nat
Float value multiplied by 1e+18
Fee that goes to the Auction contract
withdraw_fee_reward
nat
Float value multiplied by 1e+18
The % of the rewards that will be transferred to the transaction sender when he calls withdraw_auction_fee entrypoint