IETHPOSDeposit

Git Source

Functions

deposit

Submit a Phase 0 DepositData object.

function deposit(
    bytes calldata pubkey,
    bytes calldata withdrawal_credentials,
    bytes calldata signature,
    bytes32 deposit_data_root
) external payable;

Parameters

get_deposit_root

Query the current deposit root hash.

function get_deposit_root() external view returns (bytes32);

Returns

get_deposit_count

Query the current deposit count.

function get_deposit_count() external view returns (bytes memory);

Returns

Events

DepositEvent

A processed deposit event.

event DepositEvent(bytes pubkey, bytes withdrawal_credentials, bytes amount, bytes signature, bytes index);

Last updated