Commit 49e0b8e
IndexedMerkleTree (#174)
* Draft IndexedMerkleTree
* First IndexedMerkleTree implementation
* Add getProof and verifyProof logic
* Fix getProof function
* Finish TS IndexedMerkleTree implementation & add some unit tests
* Add Bytes32IndexedMerkleTree and AddressIndexedMerkleTree
* Add update logic to the IndexedMerkleTree library
* Add custom hash functions logic
* Add natspec comments
* Update CHANGELOG, README and add some comments
* fix changelog
---------
Co-authored-by: Artem Chystiakov <artem.ch31@gmail.com>
Co-authored-by: Artem Chystiakov <47551140+Arvolear@users.noreply.github.com>1 parent 1dc4076 commit 49e0b8e
6 files changed
Lines changed: 3161 additions & 2 deletions
File tree
- contracts
- libs/data-structures
- mock/libs/data-structures
- test
- helpers
- libs/data-structures
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
0 commit comments