Skip to main content

EthValidatorsChecker

Git Source ↗

Inherits: ValidatorsChecker

Defines functionality for checking validators registration on Ethereum

State Variables

_GENESIS_VAULT_ID

bytes32 private constant _GENESIS_VAULT_ID = keccak256("EthGenesisVault")

Functions

constructor

Constructor

constructor(
address validatorsRegistry,
address keeper,
address vaultsRegistry,
address depositDataRegistry,
address genesisVaultPoolEscrow
) ValidatorsChecker(validatorsRegistry, keeper, vaultsRegistry, depositDataRegistry, genesisVaultPoolEscrow);

Parameters

NameTypeDescription
validatorsRegistryaddressThe address of the beacon chain validators registry contract
keeperaddressThe address of the Keeper contract
vaultsRegistryaddressThe address of the VaultsRegistry contract
depositDataRegistryaddressThe address of the DepositDataRegistry contract
genesisVaultPoolEscrowaddressThe address of the genesis vault pool escrow contract

_depositAmount

Get the amount of assets required for validator deposit

function _depositAmount() internal pure override returns (uint256);

Returns

NameTypeDescription
<none>uint256The amount of assets required for deposit

_vaultAssets

Get the amount of assets in the vault

function _vaultAssets(address vault) internal view override returns (uint256);

Parameters

NameTypeDescription
vaultaddressThe address of the vault

Returns

NameTypeDescription
<none>uint256The amount of assets in the vault