MerkleProofMock.sol 255 B

123456789101112
  1. pragma solidity ^0.4.11;
  2. import '../../contracts/MerkleProof.sol';
  3. contract MerkleProofMock {
  4. bool public result;
  5. function verifyProof(bytes _proof, bytes32 _root, bytes32 _leaf) {
  6. result = MerkleProof.verifyProof(_proof, _root, _leaf);
  7. }
  8. }