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

supply royalty #118

Merged
merged 10 commits into from
Jun 15, 2023
Merged

supply royalty #118

merged 10 commits into from
Jun 15, 2023

Conversation

jgeary
Copy link
Contributor

@jgeary jgeary commented May 17, 2023

No description provided.

src/ERC721Drop.sol Outdated Show resolved Hide resolved
src/ERC721Drop.sol Outdated Show resolved Hide resolved
src/ERC721Drop.sol Outdated Show resolved Hide resolved
src/ERC721Drop.sol Show resolved Hide resolved
src/ERC721Drop.sol Outdated Show resolved Hide resolved
test/ERC721Drop.t.sol Outdated Show resolved Hide resolved
test/ERC721Drop.t.sol Outdated Show resolved Hide resolved
test/ERC721Drop.t.sol Outdated Show resolved Hide resolved
test/ERC721Drop.t.sol Show resolved Hide resolved
@iainnash
Copy link
Collaborator

Left some comments – better testing would be good for this contract addition.

}

uint256 totalRoyaltyMints = (mintQuantity + (_totalMinted() % royaltyMintSchedule)) / (royaltyMintSchedule - 1);
totalRoyaltyMints = MathUpgradeable.min(totalRoyaltyMints, config.editionSize - (mintQuantity + _totalMinted()));
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we have comments for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

its @tbtstl 's whiteboard magic, would be great if you had any notes on it tyson.

@kulkarohan kulkarohan merged commit d1f8797 into main Jun 15, 2023
2 checks passed
@kulkarohan kulkarohan deleted the james/supply-royalty branch June 15, 2023 15:42
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.

4 participants