2020-07-24 22:16:01 +00:00
|
|
|
// SPDX-License-Identifier: CC0-1.0
|
2018-08-27 05:36:25 +00:00
|
|
|
|
2024-06-07 07:57:35 +00:00
|
|
|
pragma solidity >=0.8.25 <0.9.0;
|
2020-07-24 22:16:01 +00:00
|
|
|
|
|
|
|
import "../common/MerkleProof.sol";
|
2018-08-27 05:36:25 +00:00
|
|
|
|
|
|
|
contract MerkleProofWrapper {
|
2024-06-07 07:57:35 +00:00
|
|
|
function verifyProof(bytes32[] memory _proof, bytes32 _root, bytes32 _leaf) public pure returns (bool) {
|
2018-08-27 05:36:25 +00:00
|
|
|
return MerkleProof.verifyProof(_proof, _root, _leaf);
|
|
|
|
}
|
|
|
|
}
|