SharedStructs

Git Source

Functions

getBridgeRoot

function getBridgeRoot(uint256 epoch, ContractStateHash[] memory state_hashes) internal pure returns (bytes32);

Structs

StateWithAddress

struct StateWithAddress {
    address contractAddress;
    bytes state;
}

ContractStateHash

struct ContractStateHash {
    address contractAddress;
    bytes32 stateHash;
}

BridgeState

struct BridgeState {
    uint256 epoch;
    StateWithAddress[] states;
}

StateWithProof

struct StateWithProof {
    BridgeState state;
    ContractStateHash[] state_hashes;
}