Creator earnings aren't enforced with the ExampleToken script
zendevil opened this issue · comments
I'm using the DeployAndConfigureExampleToken.s.sol
to deploy my contract on the sepolia testnet. The script has the following lines, which I think are supposed to enforce royalty.
uint16 feeBps = 500; // 5%
token.updatePublicDrop(
seadrop,
PublicDrop(
mintPrice,
uint48(block.timestamp), // start time
uint48(block.timestamp) + 1000, // end time
maxTotalMintableByWallet,
feeBps,
true
)
);
But in the drop settings, I seed that earnings are optional for this collection. I want to make the earnings enforced at 5% according to the script. How can I make that happen?
Creator Earnings will be optional for all new collections.