We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider adding "indexed" keyword next to the event parameter. The indexed parameters allow filtering events by specific addresses. For example, event AuctionCreated(uint256 tokenId, uint256 startingPrice, uint256 endingPrice, uint256 duration); //make tokenId indexed event AuctionSuccessful(uint256 tokenId, uint256 totalPrice, address winner); //make winner indexed event AuctionCancelled(uint256 tokenId); //make tokenId indexed event Pregnant(address owner, uint256 matronId, uint256 sireId); //make owner indexed
The text was updated successfully, but these errors were encountered:
Great suggestion. Thanks @pauliax!
I think we'll add indexed to all tokenId and address instances (so Pregnant would have all three parameters indexed).
Sorry, something went wrong.
Thanks for your participation, @pauliax! Our team has reviewed your submission, and we are pleased to reward you for your report.
Impact: Low Likelihood: Low Points: 50
Please see the final leaderboard here.
No branches or pull requests
Consider adding "indexed" keyword next to the event parameter. The indexed parameters allow filtering events by specific addresses. For example,
event AuctionCreated(uint256 tokenId, uint256 startingPrice, uint256 endingPrice, uint256 duration);
//make tokenId indexed
event AuctionSuccessful(uint256 tokenId, uint256 totalPrice, address winner);
//make winner indexed
event AuctionCancelled(uint256 tokenId);
//make tokenId indexed
event Pregnant(address owner, uint256 matronId, uint256 sireId);
//make owner indexed
The text was updated successfully, but these errors were encountered: