Commit 70a5c0a
Solarity 3.0 (#131)
* Updated OpenZeppelin to version 5.1.0 (#109)
* updated dependencies
* specified initialOwner for __Ownable_init function
* MathUpgradeable lib -> Math lib
* created mock contract for ERC721Holder
* updated test's error handlers to catch custom errors
* fixed typo in test
* Added custom TransparentUpgradeableProxy contract
* Removed isContract()
* Fixed typo
* Cleaned up dependencies
* Dropped tests for isContract() check in Diamond
* Removed unnecessary dependency
* Added solhint command to scripts
* Renamed TransparentUpgradeableProxy to avoid collisions
* Updated dependencies
* Fixed package-lock
* Switched to custom errors in contracts (#113)
* Switched to custom errors in contracts
* Review fixes:
removed prefixes;
removed redundant comments;
refactored namings;
added args to errors.
* require -> revert in vectorMock
* Remover unused imports
* Review: removed zero args;
added useful args.
* Ordering errors in alphabetical order
* Splited Traversal into separate file
* review fixes;
linting;
errors are located at the top of file.
* switched to own custom error instead of erc20 in DiamondERC20
* Explicitly marked visibility of state in mock contract
* Fixed typo
* Typo InvalidMaxDepth -> MaxDepthIsZero
* switched to revertedWithCustomError in tests
* Switched to custom error in RawReturnMock
* Added testcase for _checkOnERC721Received. Coverage is 100%
* Cleanup:
ZERO_ADDR -> ZeroAddress from ethers;
ordered imports in tests.
* Specified import
* Replaced ZERO_BYTES32 with ethers.ZeroHash
* Replaced ZERO_ADDRESS with ethers.ZeroAddress
* Updated .solhint config. Resolved solhint warnings
---------
Co-authored-by: Kyryl Riabov <kyryl.ryabov@gmail.com>
* Added missed .withArgs() to error handlers
* Updated .solhint config
* Updated versions
* updated openzeppelin to 5.1.0
* review fixes: linting
* renamed TransparentProxy to AdminableProxy
* moved IAdminableProxy to the interfaces;
moved VerifierHelper out of snarkjs dir.
* switched from staticcall to call through interface in AdminableProxyUpgrader
* updated dev dependencies
* downgraded types/chai and types/node
* renamed transparent dir to adminable
* placed Traversal lib into AvlTree file
* erc721:
- deleted `_beforeTokenTransfer` and `_afterTokenTransfer` hooks;
- added a new `_update` function for customizations
* erc20:
- deleted `_beforeTokenTransfer` and `_afterTokenTransfer` hooks;
- added a new `_update` function for customizations
* linting
* linting
---------
Co-authored-by: Kyryl Riabov <kyryl.ryabov@gmail.com>
* Updated pragma solidity to ^0.8.21 + renamed Abstract contracts (#116)
* Updated crypto libs for v3.0.0 (#118)
* Crypto libs (#115)
* added ecdsa384 lib
* added rsassapss
* try fix ci
* fix callvalue
* Added tests covering the `verify` and `_isOnCurve` functions
* fix coverage
* split getModifiedSigOrPubKey into modifyLeft and modifyRight
* Added tests covering the RSASSAPSS lib
* switched to assert two unreachable conditions
* fixed typos in test
* removed unused functions in U384 lib
* added test for a U384.cmp function
* trying to fix test for cmp
* add brainpoolP384r1 test
---------
Co-authored-by: aritkulova <aritkulova.yuliia@gmail.com>
* updated crypto lib contracts:
- pragma solidity;
- solhint;
- custom errors
* updated missed pragma solidity
* fixed typo in README
---------
Co-authored-by: Artem Chystiakov <47551140+Arvolear@users.noreply.github.com>
* updated:
- ecdsa256 contract (pragma solidity, solhint, custom errors);
- package lock
* refactor and add reinitializer
* update readme
---------
Co-authored-by: Yuliia Aritkulova <94910987+aritkulova@users.noreply.github.com>
Co-authored-by: Kyryl Riabov <kyryl.ryabov@gmail.com>
Co-authored-by: aritkulova <aritkulova.yuliia@gmail.com>
Co-authored-by: mllwchrry <mariia.zhvanko@gmail.com>1 parent 97aba26 commit 70a5c0a
File tree
175 files changed
+3965
-4868
lines changed- contracts
- access
- extensions
- contracts-registry
- pools
- pool-factory
- presets
- presets
- diamond
- access
- access-control
- ownable
- introspection
- presets
- tokens
- ERC20
- ERC721
- utils
- finance
- compound-rate-keeper
- presets
- staking
- vesting
- interfaces
- access
- extensions
- compound-rate-keeper
- proxy
- tokens
- libs
- arrays
- bn
- crypto
- data-structures
- memory
- utils
- zkp
- mock
- access
- extensions
- contracts-registry
- pools
- pool-factory
- presets
- diamond
- access
- tokens
- finance
- compound-rate-keeper
- staking
- vesting
- libs
- arrays
- bn
- crypto
- data-structures
- memory
- utils
- zkp/snarkjs
- oracles
- uniswap-v2
- uniswap-v3
- tokens
- utils
- oracles
- proxy
- adminable
- beacon
- transparent
- tokens
- utils
- scripts/utils
- test
- access
- extensions
- contracts-registry
- pools
- pool-factory
- presets
- presets
- diamond
- finance
- compound-rate-keeper
- staking
- vesting
- helpers
- libs
- arrays
- crypto
- data-structures
- memory
- utils
- zkp
- oracles
- proxy
- beacon
- transparent
- token
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
175 files changed
+3965
-4868
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
53 | 80 | | |
54 | 81 | | |
55 | 82 | | |
56 | | - | |
57 | | - | |
| 83 | + | |
| 84 | + | |
58 | 85 | | |
59 | 86 | | |
60 | 87 | | |
| |||
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
39 | | - | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
94 | | - | |
| 97 | + | |
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
| |||
115 | 118 | | |
116 | 119 | | |
117 | 120 | | |
118 | | - | |
| 121 | + | |
119 | 122 | | |
120 | 123 | | |
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| |||
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | | - | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
45 | | - | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
Lines changed: 10 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 60 | + | |
| 61 | + | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
69 | | - | |
| 68 | + | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| |||
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
82 | | - | |
| 81 | + | |
83 | 82 | | |
84 | 83 | | |
85 | 84 | | |
| |||
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
96 | | - | |
| 95 | + | |
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
| |||
Lines changed: 11 additions & 9 deletions
| 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 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
38 | | - | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
50 | | - | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
64 | | - | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
78 | | - | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| |||
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
92 | | - | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
| |||
0 commit comments