Commit 85d1be5
Contracts SDK: base/ERC721 contracts (#191)
* initial changes for base contracts
* update feature/Drop
* Add base/NFTDrop
* silence test error
* run prettier
* wip: base + drop
* wip: added customizable uri, tokenID, royalty variations
* lazymint import
* forge update
* add ERC721, Base and Drop
* Add public var nextTokenIdToMint
* isAuthorizedSigner -> canSignMintRequest
* update ERC721SignatureMint
* add ERC721LazyMint
* add ERC721DelayedRevea
* remove deprecated extensions
* add ERC20 and ERC20Base
* add ERC1155 and ERC1155Base
* add ERC20SignatureMint
* forge updates
* docs update
* Add ERC721A base
* Extract BatchMintMetadata from LazyMint
* use BatchMintMetadata in ERC721ABase and derived contracts
* _batchMint -> _batchMintMetadata
* use ERC721A base in ERC721SignatureMint
* ERC1155SignatureMint
* incomplete ERC721Drop
* wip ERC20 contracts
* wip ERC1155 drop
* add batchMint function to ERC1155Base
* add ERC1155LazyMint
* add ERC1155DelayedReveal
* Add natspec comments for ERC721
* Cleanup ERC721Base with natspec comments
* Cleanup ERC721ABase with natspec comments
* add burn functionality to ERC721Base and ERC721ABase
* add DropUpdated and DropSinglePhaseUpdated
* Cleanup ERC721LazyMint and its deps with natspec comments
* add ERC1155Drop
* cleanup ERC721DR and deps with natspec comments
* cleanup ERC721SignatureMint with natspec comments
* init primarySale recipient in constructor
* cleanup ERC721Drop with natspec comments
* revert changes to prod feature/Royalty
* forge updates
* Delete non ERC721 base offerings
* Use separate Royalty contrac
* docs update
* remove erc721a external dependency from /base
* remove external deps from ERC721SignatureMint
* rename feature -> extension
* run prettier
* docs update
* fix forge build errors
* rename ERC721ABase -> ERC721Base
* move ERC721 base contracts out of /ERC721 directory
* pkg release
* DS_Store
* Update Royalty extension; now inherits IERC2981
* Update /base contract imports for Royalty
* Update supportsInterface for prebuilt contracts post Royalty update
* update LazyMint; use extracted out BatchMintMetadata
* delete unused extension updates
* run prettier
* remove custom errors from /base and new /extensions
* yarn run prettier
* fix test errors
* update description for ERC721Base
* Update require string for unimplemented mint fn
* mention EIP712 in ERC721SigMint description
* delete duplicated Strings and Address library
* Add batchMint for multiple and mint for single
* run prettier
* remove contractURI arg from constructor
* pkg release
* remove unused and external imports
* pkg release
* rename mint to mintTo
* use fullURI for mintTo
* override functions declared in interfaces
* remove unused constructor arg
* run prettier
* pkg release
* use 0.8.0
* pkg release
* revert back to 0.8.4 for ERC721A deps
* pkg release
* add missing override in reveal
* use 0.8.0 in IWETH
* use 0.8.0 in MerkleProof
* pkg release
* add missing override to reveal in ERC721Drop
* pkg release
* correct nextTokenIdToMint behaviour
* pkg release
* fix IERC721 incompatibility with other contracts
* rename batchMint to batchMintTo
* rename batchMintTo in other bases
* update docs
* override nextTokenIdToMint in Drop as well
* docs
* 3.0.0-103.0.0-103.0.0-10
* change public -> internal nextTokenIdToLazyMint
* Fix getters in PermissionsEnumerable
* Optimizer 800 -> 600
* docs update
* tests for TransferRole behaviour in SigDrop
* run prettier
* update optimizer 800 -> 600 for forge
* Fix revert strings in test file
Co-authored-by: Yash <kumaryashcse@gmail.com>
Co-authored-by: Krishang Nadgauda <nkrishang@Krishangs-MBP.lan>
Co-authored-by: Joaquim Verges <joaquim.verges@gmail.com>1 parent 956b3d8 commit 85d1be5
File tree
125 files changed
+9287
-756
lines changed- contracts
- base
- drop
- eip
- interface
- extension
- interface
- feature
- interface
- interfaces
- marketplace
- lib
- multiwrap
- openzeppelin-presets
- metatx
- token
- ERC20/utils
- ERC721
- utils
- cryptography
- pack
- signature-drop
- token
- docs
- src/test
- drop
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
125 files changed
+9287
-756
lines changedBinary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 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 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 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 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
0 commit comments