Fee Vaults
Last updated
Last updated
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.
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.
Ensures that only the contract owner can call the function (inherited from Ownable).
Sends the accumulated fees to recipient address.
Changes the recipient address.
Changes the minimum withdraw amount.
Emitted when the recipient address is changed.
Emitted when the minimum withdraw amount is changed.
Parameters | Description |
---|---|
Parameters | Description |
---|---|
Parameters | Description |
---|---|
Parameters | Description |
---|---|
BaseFeeVault
L1FeeVault
PriorityFeeVault
address _recipient
Address of the new recipient
uint256 _minWithdraw
New minimum withdraw amount
address oldRecipient
Old recipient address
address newRecipient
New recipient address
uint256 oldMinWithdraw
Old minimum withdraw amount
uint256 newMinWithdraw
New minimum withdraw amount