Skip to content
Open

V1 #71

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
8564c88
Squash
Vectorized Oct 10, 2024
dd2ad44
Use Solady's EnumerableRoles
Vectorized Oct 12, 2024
4b5897d
Tidy
Vectorized Oct 12, 2024
7c4aff2
Update Solady
Vectorized Dec 9, 2024
58de4af
Update solady, tidy
Vectorized Dec 9, 2024
08246b8
Update Solady and remove return results from execute
Vectorized Dec 9, 2024
ee9ae38
T
Vectorized Dec 9, 2024
abe265b
Optimize
Vectorized Dec 11, 2024
754cec9
Optimize
Vectorized Dec 11, 2024
0860b57
T
Vectorized Dec 11, 2024
ef337bc
T
Vectorized Dec 11, 2024
4999276
T
Vectorized Dec 11, 2024
4b6347b
Add ClustersMarket
Vectorized Dec 16, 2024
6c4a075
T
Vectorized Dec 16, 2024
34ee591
T
Vectorized Dec 16, 2024
7a9dc57
Optimize
Vectorized Dec 16, 2024
b261faf
T
Vectorized Dec 16, 2024
0749596
T
Vectorized Dec 16, 2024
5daa809
T
Vectorized Dec 16, 2024
b4b1326
Optimize
Vectorized Dec 16, 2024
c1ad18b
Optimize
Vectorized Dec 16, 2024
c6817db
T
Vectorized Dec 16, 2024
4322cff
T
Vectorized Dec 16, 2024
0270c07
Add lazy initializer
Vectorized Dec 16, 2024
3da4d99
T
Vectorized Dec 16, 2024
b20cdc8
T
Vectorized Dec 16, 2024
f6dd917
T
Vectorized Dec 16, 2024
122c732
T
Vectorized Dec 16, 2024
1ee12fe
T
Vectorized Dec 16, 2024
6d66bb0
T
Vectorized Dec 16, 2024
ab6b8da
Tidy
Vectorized Dec 16, 2024
229a209
Add tests and fixes
Vectorized Dec 30, 2024
5b32a0c
Add tests and fixes
Vectorized Dec 30, 2024
557d00b
Add tests and fixes
Vectorized Dec 30, 2024
b256cdb
Add tests and fixes
Vectorized Dec 30, 2024
16603d9
T
Vectorized Dec 30, 2024
705bbe9
t
Vectorized Dec 30, 2024
481d1d1
Add a very simple ClustersNFTBaseURIRenderer
Vectorized Dec 30, 2024
852f3a6
T
Vectorized Dec 30, 2024
5244941
Add tests
Vectorized Jan 20, 2025
f6fc2c8
Add test
Vectorized Jan 20, 2025
8b544bf
Add test
Vectorized Jan 20, 2025
b6eff97
Add test
Vectorized Jan 20, 2025
22a348b
Add comments
Vectorized Jan 20, 2025
df4df75
Tidy and tests
Vectorized Jan 20, 2025
82f8a20
Edit test
Vectorized Jan 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ docs/
# Dotenv file
.env

.DS_Store
.DS_Store

# Create2 build files
.tmp
create2
18 changes: 12 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "lib/openzeppelin-contracts"]
path = lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
[submodule "lib/solady"]
path = lib/solady
url = https://github.com/Vectorized/solady
[submodule "lib/LayerZero-v2"]
path = lib/LayerZero-v2
url = https://github.com/clustersxyz/LayerZero-v2
Expand All @@ -17,3 +11,15 @@
path = lib/devtools
url = https://github.com/0xfoobar/devtools
branch = patch-1
[submodule "lib/soledge"]
path = lib/soledge
url = https://github.com/Vectorized/soledge
[submodule "lib/multicaller"]
path = lib/multicaller
url = https://github.com/vectorized/multicaller
[submodule "lib/openzeppelin-contracts"]
path = lib/openzeppelin-contracts
url = https://github.com/openzeppelin/openzeppelin-contracts
[submodule "lib/solady"]
path = lib/solady
url = https://github.com/vectorized/solady
2 changes: 1 addition & 1 deletion lib/devtools
Submodule devtools updated 0 files
1 change: 1 addition & 0 deletions lib/multicaller
Submodule multicaller added at 356350
2 changes: 1 addition & 1 deletion lib/openzeppelin-contracts
2 changes: 1 addition & 1 deletion lib/openzeppelin-contracts-upgradeable
Submodule openzeppelin-contracts-upgradeable updated 59 files
+5 −0 .changeset/fluffy-buses-jump.md
+5 −0 .changeset/great-pianos-work.md
+5 −0 .changeset/odd-lobsters-wash.md
+5 −0 .changeset/serious-carrots-provide.md
+5 −0 .changeset/spotty-queens-own.md
+5 −0 .changeset/tricky-bats-pretend.md
+3 −0 .codecov.yml
+1 −0 .githooks/pre-push
+1 −1 .github/workflows/checks.yml
+1 −1 .github/workflows/formal-verification.yml
+4 −1 CHANGELOG.md
+1 −1 LICENSE
+1 −1 contracts/governance/README.adoc
+3 −0 contracts/interfaces/README.adoc
+1 −1 contracts/metatx/ERC2771ForwarderUpgradeable.sol
+26 −0 contracts/mocks/BatchCallerUpgradeable.sol
+68 −0 contracts/mocks/MerkleProofCustomHashMockUpgradeable.sol
+2 −0 contracts/mocks/StatelessUpgradeable.sol
+28 −0 contracts/mocks/WithInit.sol
+6 −0 contracts/mocks/docs/ERC4626FeesUpgradeable.sol
+44 −0 contracts/mocks/token/ERC20GetterHelperUpgradeable.sol
+2 −0 contracts/token/ERC1155/README.adoc
+5 −0 contracts/token/ERC20/README.adoc
+4 −78 contracts/token/ERC20/extensions/ERC1363Upgradeable.sol
+126 −0 contracts/token/ERC20/extensions/draft-ERC20TemporaryApprovalUpgradeable.sol
+2 −0 contracts/token/ERC721/README.adoc
+12 −4 contracts/utils/README.adoc
+1 −1 docs/modules/ROOT/pages/erc4626.adoc
+101 −8 docs/modules/ROOT/pages/utilities.adoc
+2 −0 foundry.toml
+1 −1 fv-requirements.txt
+19 −21 hardhat.config.js
+1 −1 lib/openzeppelin-contracts
+151 −97 package-lock.json
+4 −4 package.json
+18 −0 scripts/checks/coverage.sh
+4 −1 scripts/generate/run.js
+18 −25 scripts/generate/templates/Arrays.js
+4 −4 scripts/generate/templates/Checkpoints.js
+328 −0 scripts/generate/templates/Heap.js
+13 −0 scripts/generate/templates/Heap.opts.js
+89 −0 scripts/generate/templates/Heap.t.js
+186 −0 scripts/generate/templates/MerkleProof.js
+11 −0 scripts/generate/templates/MerkleProof.opts.js
+25 −14 scripts/generate/templates/Packing.js
+3 −5 scripts/generate/templates/Packing.opts.js
+19 −13 scripts/generate/templates/Packing.t.js
+5 −0 scripts/prepare.sh
+42 −0 test/proxy/Clones.t.sol
+10 −1 test/token/ERC20/ERC20.behavior.js
+142 −0 test/token/ERC20/extensions/draft-ERC20TemporaryApproval.test.js
+3 −3 test/token/ERC20/utils/SafeERC20.test.js
+115 −0 test/utils/Packing.t.sol
+206 −166 test/utils/cryptography/MerkleProof.test.js
+135 −0 test/utils/cryptography/P256.t.sol
+156 −0 test/utils/cryptography/P256.test.js
+3,719 −0 test/utils/cryptography/ecdsa_secp256r1_sha256_p1363_test.json
+153 −0 test/utils/structs/Heap.t.sol
+131 −0 test/utils/structs/Heap.test.js
2 changes: 1 addition & 1 deletion lib/solady
Submodule solady updated 274 files
1 change: 1 addition & 0 deletions lib/soledge
Submodule soledge added at 641f4f
2 changes: 2 additions & 0 deletions remappings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ forge-std/=lib/forge-std/src/
openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/
solmate/=lib/solmate/src/
solady/=lib/solady/src/
multicaller/=lib/multicaller/src/
soledge/=lib/soledge/src/
clusters/=src/
solidity-bytes-utils/=lib/LayerZero-v2/oapp/node_modules/solidity-bytes-utils/
@openzeppelin/contracts/=lib/LayerZero-v2/oapp/node_modules/@openzeppelin/contracts/
Expand Down
Loading
Loading