CityOfZion / props

Ecosystem props than can be used to enhance project functionality
5 stars 3 forks source link

Epoch: mint_from_instance #12

Closed lllwvlvwlll closed 2 years ago

lllwvlvwlll commented 2 years ago

This issue covers an enhancement to the epoch contract to add the concept of epoch instances. Epochs are designed to be freely sampled for probabilistic events. Currently, all sampling is stateless: Sampling from an epoch does not affect future samples from the same epoch.

This enhancement will introduce the concept of an epoch instance which allows users of an epoch to persist state into their minting operations. For example, an instance user may have events which are unique or only occur a maximum number of times in an entire epoch instance.

lllwvlvwlll commented 2 years ago

initial version of this functionality will feature a hardcoded whitelist on the epoch. resetting will require creating a new epoch.

lllwvlvwlll commented 2 years ago

resolved in ca626cb