MerkleTreeWithHistoryMock.sol 326 B

12345678910111213
  1. // SPDX-License-Identifier: MIT
  2. pragma solidity ^0.7.0;
  3. import "../MerkleTreeWithHistory.sol";
  4. contract MerkleTreeWithHistoryMock is MerkleTreeWithHistory {
  5. constructor(uint32 _treeLevels, IHasher _hasher) MerkleTreeWithHistory(_treeLevels, _hasher) {}
  6. function insert(bytes32 _leaf) public {
  7. _insert(_leaf);
  8. }
  9. }