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 support for ERC2981 royalty #151

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix type error
  • Loading branch information
Amxx committed Jul 18, 2022
commit c91087c9ee2082e161ea8fd207aa90fed6e42b94
2 changes: 1 addition & 1 deletion packages/core/src/erc721.ts
Original file line number Diff line number Diff line change
@@ -273,7 +273,7 @@ function getMintFunction(incremental: boolean, uriStorage: boolean, royalty: boo

if (royalty) {
fn.args.push({ name: 'receiver', type: 'address' });
fn.args.push({ name: 'fee', type: 'uint256' });
fn.args.push({ name: 'fee', type: 'uint96' });
}

return fn;