protocol_fee_withdrawal.gno
Getter and setter functions for the Withdrawal Fee, the protocol fee charged when a user claims the swap fees earned from providing liquidity by removing liquidity or calling the CollectFee
function. The default value is set to 100 (=1% of total swap fees claimed).
GetWithdrawalFee
Returns the current rate of the Withdrawal Fee.
Return Values
Name | Type | Description |
---|---|---|
| uint64 | The current rate of the Withdrawal Fee. |
SetWithdrawalFee
Modifies the Withdrawal Fee.
Parameters
Name | Type | Description |
---|---|---|
| uint64 | The rate that will be set as the new Withdrawal Fee. (the value should be in bps) |
Last updated