ELFeeRecipientV1
Alluvial Finance Inc.
Execution Layer Fee Recipient (v1)
This contract receives all the execution layer fees from the proposed blocks + bribes
Methods
initELFeeRecipientV1
Initialize the fee recipient with the required arguments
Parameters
_riverAddress
address
Address of River
pullELFees
Pulls ETH to the River contract
Only callable by the River contract
Parameters
_maxAmount
uint256
The maximum amount to pull into the system
version
Retrieves the version of the contract
Returns
_0
string
Version of the contract
Events
Initialize
Emitted when the contract is properly initialized
Parameters
version
uint256
New version of the contracts
cdata
bytes
Complete calldata that was used during the initialization
SetRiver
The storage river address has changed
Parameters
river indexed
address
The new river address
Errors
InvalidCall
The fallback has been triggered
InvalidInitialization
An error occured during the initialization
Parameters
version
uint256
The version that was attempting to be initialized
expectedVersion
uint256
The version that was expected
InvalidZeroAddress
The address is zero
Unauthorized
The operator is unauthorized for the caller
Parameters
caller
address
Address performing the call
Last updated