Epochs
Epochs are a foundational feature of the Enjoyoors protocol. An epoch is a specific time frame during which the protocol state remains constant in normal conditions. During one epoch, key protocol parameters remain static as they were defined before the beginning of the epoch. At the same time, gigaAssets sit in target protocols according to the initial distribution (unless some urgency occurs—immediate liquidity rebalancing, user withdrawals, etc.).
Epoch duration is also a parameter defined by governance. The most reasonable period for the epoch seems to be seven days, though it can be amended through governance voting in the future.
Before the next epoch starts, the protocol revisits its key parameters: the risk management framework helps recalculate Giga CDP parameters; DAO and factual yield assessment help revisit the list of onboarded target DeFi protocols; DeFi protocols from the list obtain weights to receive gigaAsset distribution accordingly, etc.
Epochs directly impact deposits and withdrawals, too. Deposits start accruing yield from the beginning of the epoch, followed by the one when the deposit was made. Similarly, withdrawals can be claimed at the end of the epoch, followed by the epoch when requested.
Last updated