IBeaconChainProofs

Git Source

Structs

WithdrawalProof

This struct contains the merkle proofs and leaves needed to verify a partial/full withdrawal

struct WithdrawalProof {
    bytes withdrawalProof;
    bytes slotProof;
    bytes executionPayloadProof;
    bytes timestampProof;
    bytes historicalSummaryBlockRootProof;
    uint64 blockRootIndex;
    uint64 historicalSummaryIndex;
    uint64 withdrawalIndex;
    bytes32 blockRoot;
    bytes32 slotRoot;
    bytes32 timestampRoot;
    bytes32 executionPayloadRoot;
}

BalanceUpdateProof

This struct contains the merkle proofs and leaves needed to verify a balance update

struct BalanceUpdateProof {
    bytes validatorBalanceProof;
    bytes validatorFieldsProof;
    bytes32 balanceRoot;
}

StateRootProof

This struct contains the root and proof for verifying the state root against the oracle block root

struct StateRootProof {
    bytes32 beaconStateRoot;
    bytes proof;
}

Last updated