* Move contracts to subdirectories Fixes #1177. This Change also removes the LimitBalance contract. * fix import * move MerkleProof to cryptography * Fix import
20 lines
316 B
Solidity
20 lines
316 B
Solidity
pragma solidity ^0.4.24;
|
|
|
|
import { MerkleProof } from "../cryptography/MerkleProof.sol";
|
|
|
|
|
|
contract MerkleProofWrapper {
|
|
|
|
function verifyProof(
|
|
bytes32[] _proof,
|
|
bytes32 _root,
|
|
bytes32 _leaf
|
|
)
|
|
public
|
|
pure
|
|
returns (bool)
|
|
{
|
|
return MerkleProof.verifyProof(_proof, _root, _leaf);
|
|
}
|
|
}
|