Skip to content

Commit 49e0b8e

Browse files
Hrom131Arvolear
andauthored
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

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Changelog
22

3-
## [none]
3+
## [patch]
44

5-
- Fixed deprecation warnings.
5+
- Added `IndexedMerkleTree` library that implements Indexed Merkle Tree data structure.
66

77
## [3.3.2]
88

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ contracts
7272
│ │ ├── CartesianMerkleTree — "CMT reference implementation"
7373
│ │ ├── DynamicSet — "Set for strings and bytes"
7474
│ │ ├── IncrementalMerkleTree — "IMT implementation with flexible tree height"
75+
│ │ ├── IndexedMerkleTree — "IndexedMT implementation"
7576
│ │ ├── PriorityQueue — "Max queue heap implementation"
7677
│ │ ├── SparseMerkleTree — "SMT optimized implementation"
7778
│ │ └── memory

0 commit comments

Comments
 (0)