Compound Cycles
The Catpound vault operates in cycles. Each cycle has distinct phases that determine when compounding happens and when you can exit for free. Understanding these phases helps you time your withdrawals to avoid fees.
Cycle Phases
1. Silent Phase (Window Closed)
After a compound cycle completes and the window closes:
- The vault's MOTO is staked in MotoChef, earning rewards.
- Exit fees apply to withdrawals, starting at the maximum rate for your tier.
- The fee decays linearly over 2,001 blocks (approximately 14 hours on mainnet) toward 0%.
- Deposits are accepted normally.
2. Free Exit (Slash Fully Decayed)
Once 2,001 blocks have passed since the window closed:
- The exit fee has decayed to 0% -- withdrawals are free.
- The vault is still earning rewards in MotoChef.
- Anyone can trigger the
autoOpenfunction once the auto-open threshold is reached (default: 4,000 blocks).
3. Window Open
When the window is opened (by a compounder or via autoOpen):
- The vault unstakes everything from MotoChef.
- Accumulated rewards are harvested.
- Reward tokens are swapped to MOTO via MotoSwap.
- Withdrawals during this phase have 0% exit fee (free exit).
- Deposits are also accepted.
4. Compound (Window Closes)
When the compounder closes the window:
- A protocol fee is taken from the harvested rewards and sent to the treasury.
- The remaining MOTO (original deposits + rewards) is re-staked in MotoChef.
- A reserve portion (default 15%) stays liquid for future exits.
- The share price increases to reflect the newly added rewards.
- A new silent phase begins, and the cycle repeats.
Who Triggers the Cycle?
Compounder Bots
The window open and close operations can only be performed by whitelisted compounder addresses (or the vault owner). These are automated bots that monitor the vault and trigger compounds when rewards have accumulated sufficiently.
autoOpen: Permissionless Trigger
After the auto-open threshold is reached (default: 4,000 blocks, roughly 28 hours), anyone can call the autoOpen function. This is a safety mechanism ensuring that the vault eventually opens even if the compounder bots are offline. The threshold must be at least 2,001 blocks (the full slash decay period).
Cycle Timing
Every compound cycle lasts exactly 2,001 blocks (approximately 14 hours). This is dictated by MotoSwap's configuration -- MotoChef enforces a slashing fee on early unstaking that decays over 2,001 blocks, so the vault must wait for the full decay period before opening the next window.
This means:
- The cycle duration is fixed and predictable -- it does not depend on reward amounts or gas costs.
- Users always know exactly when the next free exit window will occur.
- The vault compounds as frequently as possible while avoiding any MotoSwap slashing penalty.
The vault page shows a "blocks until free exit" counter. If you want to withdraw without paying any exit fee, wait until this reaches zero, or withdraw while the window is open.