-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
first pass at new editions contract (#80)
* first pass at new editions contract Signed-off-by: Campion Fellin <[email protected]> * update tests Signed-off-by: Campion Fellin <[email protected]> * more refactor and tests Signed-off-by: Campion Fellin <[email protected]> * fix: full coverage Signed-off-by: Campion Fellin <[email protected]> * fix: enforce max supply more than 0 Signed-off-by: Campion Fellin <[email protected]> * unchecked i++ for gas savings Signed-off-by: Campion Fellin <[email protected]> * fix: key off of creatorCore Signed-off-by: Campion Fellin <[email protected]> * ++i instead of i++ Signed-off-by: Campion Fellin <[email protected]> * fix: dont instantiate i or j as 0 Signed-off-by: Campion Fellin <[email protected]> * fix: check instance exists when updating tokenURI Signed-off-by: Campion Fellin <[email protected]> * feat: getInstance function Signed-off-by: Campion Fellin <[email protected]> * feat: allow minting to recipients on creation Signed-off-by: Campion Fellin <[email protected]> * fix: make function instanceExists Signed-off-by: Campion Fellin <[email protected]> * fix: helper function for minting Signed-off-by: Campion Fellin <[email protected]> * fix: ++j Signed-off-by: Campion Fellin <[email protected]> * test minting while creating Signed-off-by: Campion Fellin <[email protected]> * tests for instance exists Signed-off-by: Campion Fellin <[email protected]> * fix: remove instance checks function Signed-off-by: Campion Fellin <[email protected]> * fix: better way of reverting Signed-off-by: Campion Fellin <[email protected]> * fix: rename private method Signed-off-by: Campion Fellin <[email protected]> * feat: make deploy script and ownership transfer Signed-off-by: Campion Fellin <[email protected]> * fix: remove initial owner Signed-off-by: Campion Fellin <[email protected]> * fix: update createSeries and add more requires Signed-off-by: Campion Fellin <[email protected]> * more test coverage Signed-off-by: Campion Fellin <[email protected]> * more tests Signed-off-by: Campion Fellin <[email protected]> * udpate contracts and tests with new Recipient struct Signed-off-by: Campion Fellin <[email protected]> * chore: another test for incorrect supply path Signed-off-by: Campion Fellin <[email protected]> * fix: logic in _mintTokens Signed-off-by: Campion Fellin <[email protected]> * refactor to support v3 and fix tests * add another test * chore: more tests for tokenURI Signed-off-by: Campion Fellin <[email protected]> * hit another toomanyrequested error case Signed-off-by: Campion Fellin <[email protected]> * fix: mock and no mock testing Signed-off-by: Campion Fellin <[email protected]> * fix: save instance id for v2 contracts Signed-off-by: Campion Fellin <[email protected]> --------- Signed-off-by: Campion Fellin <[email protected]> Co-authored-by: Wilkins Chung <[email protected]>
- Loading branch information
1 parent
87e46f4
commit 66b794e
Showing
4 changed files
with
477 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.