Commit e77cb08
rebase off of main (#157)
* [L-4] Wrong function selector returned for the transfer validation function (#150)
* [L-4] Wrong function selector returned for the transfer validation function
* [Q-3] Move interface identifier for ERC165 to Core
* [Q-5] Royalty modules should inherit ICreatorToken interface
* [Q-6] Nitpicks
* removes duplicate supportsInterface (#156)
* renamed to nextTokenIdToMint in BatchMetadata (#141)
* fix: expectRevert on low-level call (#136)
* update batchMetadata logic to make each batchUris independent (#144)
* update batchMetadata logic to make each batchUris independent
* format
* Module Core Refactor (#145)
* separated out metadata functionality from mintable module
* built in signature mint into the core erc721 contract
* implemented in Mintable
* Implemented updateMetadata
* simplified parameters and structs
* all tests pass
* updated ERC721 initializable to match ERC721Core
* addressed the PR issues
* updated 1155 versions to now match 721 implementations
* completed all the tests
* Implemented parity in the ERC1155Initializable contract
* unified naming from quantity and value to amount
* slapped on a keccak256
* move OwnableRoles check on the signature
* removed double events being emitted
* tests pass
* updated ERC20 core
* implemented Claimable and Mintable on the ERC20 side
* tests pass
* updated based on PR feedback
* Fix getSupportedCallbackFunctions ub ERC721CoreInitializable (#149)
* implmented delayed functionality into batchMetadata (#148)
* implmented delayed functionality into batchMetadata
* created tests for BatchMetadata
* updated ERC1155 tests and updated from batchStartId to batchRange
* Implement tokenIdERC1155 module to handle tokenId management (#147)
* initial commit
* created tests for tokenIdERC1155
* updated to be optional
* updated naming and tests
* Transfer validator has roles (#143)
* created hasRole function in the roylaty module
* created tests
* Optimzed callback execution (#135)
* gas benchmark
* optimize execute callback function
* fix typo
* optimize execute callback view function
* optimize callback mode loop
* Implement Max per wallet (#151)
* implemented maxMintPerWallet
* tests pass
* maxMintPerWalletExceeded tests pass
* introduced base contracts for core and initilizable to inherit
* rename commit
* rename commit
* renamed from core to coreInitializable for the ERC1155 (#152)
* updated to now use 1e18 divided (#153)
* Remove double initializer in ERC721CoreInitializable (#154)
---------
Co-authored-by: Pranav Garg <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>1 parent 21bf8d8 commit e77cb08
File tree
4 files changed
+23
-14
lines changed- src
- module/token
- royalty
- transferable
4 files changed
+23
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
153 | 157 | | |
154 | 158 | | |
155 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 82 | | |
85 | 83 | | |
86 | 84 | | |
| |||
126 | 124 | | |
127 | 125 | | |
128 | 126 | | |
129 | | - | |
| 127 | + | |
130 | 128 | | |
| 129 | + | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
| |||
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| |||
119 | 122 | | |
120 | 123 | | |
121 | 124 | | |
122 | | - | |
| 125 | + | |
123 | 126 | | |
| 127 | + | |
| 128 | + | |
124 | 129 | | |
125 | 130 | | |
126 | 131 | | |
| |||
223 | 228 | | |
224 | 229 | | |
225 | 230 | | |
226 | | - | |
| 231 | + | |
227 | 232 | | |
228 | 233 | | |
229 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
0 commit comments