How Foldr works
Everything a vault does with your HYPE, what it costs, and what protects you.
Vaults
Each vault holds one liquidity position in one pool: a coin paired with HYPE on Uniswap v4, KleosSwap, ElysPump or Stockium. The position covers the full price range, so it never falls out of range and earns on every trade.
Your deposit gets vault shares, an ERC-20 token. Your part of the vault is your shares over all shares, and it grows as fees are added back.
A vault has no owner and nothing to configure. The treasury address and the fee are fixed when it is created. No one can move deposits.
Deposit
You send HYPE. The vault swaps half of it for the coin in the same pool, adds both halves to the position and returns whatever did not fit. Wrapped HYPE is handled for you.
The app simulates the deposit first and sets a floor of 97% of the expected shares, so a price move before inclusion reverts instead of filling badly.
Compounding
compound() collects the fees the position earned, takes the 10% fee, swaps the rest into the right mix and adds it to the same position. Anyone can call it; the Foldr keeper calls it every 2 hours.
Your shares do not change. Each share holds more liquidity after every compound.
Withdraw
In both tokens
Your share of HYPE and the coin, sent to you. No price check, nothing can pause it.
In HYPE
The coin side is swapped back to HYPE in the pool. It runs through the price guard and takes a minimum you set.
Price guard
Each vault keeps its own time-weighted price of the pool: observations at most every 30 seconds, averaged over 10 minutes. Deposits, compounding and HYPE withdrawals pause while the pool trades more than 400 ticks (about 4%) from that average.
One large trade can't move the pool and catch a deposit or an exit at the bad price.
Fees
| Deposit | 0 |
| Withdraw | 0 |
| Fees the position earns | 10%: 5% to the treasury, 5% to whoever runs the compound |
Rates in the app are for a new 100 HYPE position from the last 24 hours of pool volume, after the 10%. They are not promised.
Pools listed
Every Elysium pool paired with HYPE or KNTQ is listed on its own: price, liquidity, 24 hour volume and fees per pool. Pools charging more than 3% are left out. Launchpad pools whose hook keeps the whole fee show a 0% rate, because liquidity there earns nothing.
Vaults take HYPE. KNTQ pairs are listed and get vaults next.
Keeper
A small bot wallet records prices for every vault's guard and compounds every 2 hours when a vault holds money and its pool is near the average. It has no other rights. If it stops, anyone can call poke() and compound(), and withdrawals keep working.
Risks
- Impermanent loss. If the coin falls against HYPE you hold more of it and less HYPE than you put in. Fees offset part of it.
- Young coins. Most Elysium coins are days or weeks old and can drop fast or lose liquidity.
- Contracts. Tested on forks of Elysium, not audited.
- Rates. From the last 24 hours, they change every hour.
Contracts
Elysium, chain id 99901. Links open the explorer.