Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add createNftWithMetaData #510

Merged
merged 2 commits into from
Feb 14, 2022

Conversation

alexcos20
Copy link
Member

Closes #509

Changes proposed in this PR:

  • add ERC721.Factory createNftWithMetaData function
  • changed ERC721Factory.deployERC721Contract (added additionalMetaDataUpdater parameter) - Breaking change

@alexcos20 alexcos20 added this to the V4 milestone Feb 13, 2022
@alexcos20 alexcos20 self-assigned this Feb 13, 2022
@alexcos20 alexcos20 linked an issue Feb 13, 2022 that may be closed by this pull request
@calina-c
Copy link
Contributor

@alexcos20 Can you please make sure the parameters are ordered the same way everywhere? Just as a precaution, since we had this issue before (different ABIs meaning non-reusable NamedTuples/ABI helpers) and we don't want a double deploy.

@alexcos20
Copy link
Member Author

This is a new parameter, we don't have this tuple (NftCreateData calldata _NftCreateData, MetaData calldata _MetaData) anywhere else

Copy link
Member

@trentmc trentmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Especially given that there are unit tests.

@alexcos20 alexcos20 merged commit 46e41f5 into v4main_postaudit_next Feb 14, 2022
@alexcos20 alexcos20 deleted the feature/createERCwithMetaData branch February 14, 2022 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Goal: single tx to create NFT & publish metadata
3 participants