mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-18 23:24:34 -05:00
20 lines
478 B
Solidity
20 lines
478 B
Solidity
pragma solidity ^0.6.0;
|
|
|
|
// This interface is designed to be compatible with the Vyper version.
|
|
interface IDepositContract {
|
|
event DepositEvent(
|
|
bytes pubkey,
|
|
bytes withdrawal_credentials,
|
|
bytes amount,
|
|
bytes signature,
|
|
bytes index
|
|
);
|
|
|
|
function deposit(
|
|
bytes calldata pubkey,
|
|
bytes calldata withdrawal_credentials,
|
|
bytes calldata signature,
|
|
bytes32 deposit_data_root
|
|
) external payable;
|
|
}
|