WithdrawV1
Alluvial Finance Inc.
Withdraw (v1)
This contract is in charge of holding the exit and skimming funds and allow river to pull these funds
Methods
getCredentials
Retrieve the withdrawal credentials to use
Returns
_0
bytes32
The withdrawal credentials
getRiver
Retrieve the linked River address
Returns
_0
address
The River address
initializeWithdrawV1
Parameters
_river
address
The address of the River contract
pullEth
Callable by River, sends the specified amount of ETH to River
Parameters
_max
uint256
undefined
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
Emitted when the linked River address is changed
Parameters
river
address
The new River address
Errors
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