123456789101112131415161718192021222324252627 |
- // SPDX-License-Identifier: MIT
- pragma solidity ^0.8.0;
- import "../utils/cryptography/MerkleProofUpgradeable.sol";
- import "../proxy/utils/Initializable.sol";
- contract MerkleProofWrapperUpgradeable is Initializable {
- function __MerkleProofWrapper_init() internal onlyInitializing {
- __MerkleProofWrapper_init_unchained();
- }
- function __MerkleProofWrapper_init_unchained() internal onlyInitializing {
- }
- function verify(
- bytes32[] memory proof,
- bytes32 root,
- bytes32 leaf
- ) public pure returns (bool) {
- return MerkleProofUpgradeable.verify(proof, root, leaf);
- }
- function processProof(bytes32[] memory proof, bytes32 leaf) public pure returns (bytes32) {
- return MerkleProofUpgradeable.processProof(proof, leaf);
- }
- uint256[50] private __gap;
- }
|