MerkleTreeWithHistoryMock.sol 308 B

12345678910111213
  1. pragma solidity ^0.5.8;
  2. import '../MerkleTreeWithHistory.sol';
  3. contract MerkleTreeWithHistoryMock is MerkleTreeWithHistory {
  4. constructor (uint8 tree_levels, uint256 zero_value) MerkleTreeWithHistory(tree_levels, zero_value) public {}
  5. function insert(uint256 leaf) public {
  6. _insert(leaf);
  7. }
  8. }