Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MerkleProofCustomHashMockUpgradeable

Inherits: Initializable

Functions

__MerkleProofCustomHashMock_init

function __MerkleProofCustomHashMock_init() internal onlyInitializing;

__MerkleProofCustomHashMock_init_unchained

function __MerkleProofCustomHashMock_init_unchained() internal onlyInitializing;

customHash

function customHash(bytes32 a, bytes32 b) internal pure returns (bytes32);

verify

function verify(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal view returns (bool);

processProof

function processProof(bytes32[] calldata proof, bytes32 leaf) internal view returns (bytes32);

verifyCalldata

function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal view returns (bool);

processProofCalldata

function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal view returns (bytes32);

multiProofVerify

function multiProofVerify(bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] calldata leaves)
    internal
    view
    returns (bool);

processMultiProof

function processMultiProof(bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] calldata leaves)
    internal
    view
    returns (bytes32);

multiProofVerifyCalldata

function multiProofVerifyCalldata(
    bytes32[] calldata proof,
    bool[] calldata proofFlags,
    bytes32 root,
    bytes32[] calldata leaves
) internal view returns (bool);

processMultiProofCalldata

function processMultiProofCalldata(bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] calldata leaves)
    internal
    view
    returns (bytes32);