MerkleProofWrapper.sol 300 B

1234567891011
  1. // SPDX-License-Identifier: MIT
  2. pragma solidity ^0.8.0;
  3. import "../utils/cryptography/MerkleProof.sol";
  4. contract MerkleProofWrapper {
  5. function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) public pure returns (bool) {
  6. return MerkleProof.verify(proof, root, leaf);
  7. }
  8. }