Files
openzeppelin-contracts/contracts/mocks/MerkleProofWrapper.sol
2018-05-18 21:44:08 -03:00

12 lines
273 B
Solidity

pragma solidity ^0.4.21;
import { MerkleProof } from "../MerkleProof.sol";
contract MerkleProofWrapper {
function verifyProof(bytes32[] _proof, bytes32 _root, bytes32 _leaf) public pure returns (bool) {
return MerkleProof.verifyProof(_proof, _root, _leaf);
}
}