Files
openzeppelin-contracts/contracts/mocks/MerkleProofWrapper.sol
2018-05-14 11:42:32 -06:00

20 lines
303 B
Solidity

pragma solidity ^0.4.23;
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);
}
}