Fee Vaults
Fee vaults are simple contracts that collect the three types of fees in Citrea.
You can find these contracts in the following addresses.
Fee Vault | Address |
---|---|
| |
| |
|
Currently all these three contracts have the same logic, yet they can be upgraded in case the need arises to do a programmatic redirection of fees.
State Structure
Address to send the accumulated fees.
Minimum required fee amount to be accumulated in the contract before it can be withdrawn to the recipient
address, this is 0 by default.
Access Control Structure
Ensures that only the contract owner can call the function (inherited from Ownable).
Functions
Sends the accumulated fees to recipient address.
Changes the recipient address.
Parameters | Description |
---|---|
| Address of the new recipient |
Changes the minimum withdraw amount.
Parameters | Description |
---|---|
| New minimum withdraw amount |
Events
Emitted when the recipient address is changed.
Parameters | Description |
---|---|
| Old recipient address |
| New recipient address |
Emitted when the minimum withdraw amount is changed.
Parameters | Description |
---|---|
| Old minimum withdraw amount |
| New minimum withdraw amount |
Last updated