protocol_fee_withdrawal.gno
Last updated
Last updated
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).
Returns the current rate of the Withdrawal Fee.
Name | Type | Description |
---|---|---|
| uint64 | The current rate of the Withdrawal Fee. |
Modifies the Withdrawal Fee.
Name | Type | Description |
---|---|---|
| uint64 | The rate that will be set as the new Withdrawal Fee. (the value should be in bps) |