WithdrawV1

Kiln

Withdraw (v1)

This contract is in charge of holding the exit and skimming funds, and allowing River to pull these funds

Methods

initializeWithdrawV1

function initializeWithdrawV1(address _river) external;

Parameters

NameTypeDescription

_river

address

The address of the River contract

getCredentials

Retrieve the withdrawal credentials to use

function getCredentials() external view returns (bytes32);

Returns

NameTypeDescription

<none>

bytes32

The withdrawal credentials

getRiver

Retrieve the linked River address

function getRiver() external view returns (address);

Returns

NameTypeDescription

<none>

address

The River address

pullEth

Callable by River, sends the specified amount of ETH to River

function pullEth(uint256 _amount) external;

Parameters

NameTypeDescription

_amount

uint256

The amount to pull

Events

SetRiver

Emitted when the linked River address is changed

event SetRiver(address river);

Last updated