First pass at updating the Genies contract for NFL. A few main things:
Renamed Genies -> Showdown (working title for NFL project, not finalized yet)
Removed advancing of a series as we can now have multiple series open at once.
Remove Set/Collection IDs from Series
Added new entity -> Plays
Updated Editions to require a SeriesID, SetID, PlayID
Update Moment minting to only happen when the maxMintSize has not been exceeded
I haven't built in the logic for validating that the SetID/PlayID combo has not been used in a previous Edition, or the logic for properly keeping track of minted moments, but wanted to get a sense check of how this looks so far. I've added some comments to a few things I'm a little hazy on.
@EricLin2004 @rheaplex @judezhu Addressed comments and updated! I've also re-named the contract to AllDay which is the confirmed name for NFL (and following "TopShot" naming convention.
First pass at updating the Genies contract for NFL. A few main things:
advancing
of a series as we can now have multiple series open at once.I haven't built in the logic for validating that the SetID/PlayID combo has not been used in a previous Edition, or the logic for properly keeping track of minted moments, but wanted to get a sense check of how this looks so far. I've added some comments to a few things I'm a little hazy on.