liquity / V2-gov

MIT License
3 stars 4 forks source link

WIP - Spec Changes #22

Open GalloDaSballo opened 11 hours ago

GalloDaSballo commented 11 hours ago

At epoch flip all values for a Initiative are cached in a snapshot Altering any value in the state has no impact on the result on the snapshot values The snapshot determines what the Initiative can do

The states are described by the following enum

    enum InitiativeStatus {
        SKIP, /// This epoch will result in no rewards and no unregistering
        CLAIMABLE, /// This epoch will result in claiming rewards
        CLAIMED, /// The rewards for this epoch have been claimed
        UNREGISTERABLE, /// Can be unregistered
        DISABLED // It was already Unregistered
    }