ProjectOpenSea / seadrop

Smart contracts for primary drops on EVM chains

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?
Screenshot 2023-10-13 at 12 00 01 PM

Creator Earnings will be optional for all new collections.

https://x.com/opensea/status/1692224333551186379?s=20

Screenshot 2023-10-13 at 12 16 40 PM Here it says the earnings can be enforced or optional.