Cadre docs
Cadre is a copy-trading vault contract on Elysium. One contract holds every vault; this page explains exactly what it does.
What Cadre is
A leader opens a vault with at least 1 HYPE of their own. Anyone can deposit HYPE into it. The leader trades the vault's HYPE and coins through the listed Elysium pools. Every depositor owns shares of everything the vault holds: its HYPE and each coin.
Depositing
Your HYPE is split over the vault's holdings by their value at the pool price and swapped into them, so you buy the vault's current mix. You get shares for the smallest proportion you added to any holding. If a pool price was pushed and your HYPE bought less of one coin, you get fewer shares, and what you bought above that stays in the vault for everyone. A deposit can never dilute the people already in.
The app sets a minimum: you get at least 97% of the estimated shares or the deposit is refused.
Withdrawing
- For HYPE: your share of each coin is sold through its pool and you get HYPE, together with your share of the vault's HYPE.
- In kind: you get your share of each coin itself plus HYPE, with no swaps. Use it if a pool can't be traded.
- If you leave with more than you put in, 10% of the profit goes to the leader. For in-kind exits the profit is valued at each coin's 10-minute average, and the 10% is taken from your part in the same proportions. If you leave at a loss, the leader gets nothing.
Leading a vault
- Only the leader can trade, and only listed coins through their HYPE pools.
- While anyone else holds shares, the leader must keep at least 5% of the shares. Once everyone else has left, the leader can withdraw everything.
- The leader can close the vault to new deposits at any time. Withdrawals always stay open.
- There is no function that lets a leader send the vault's funds to themselves or to anyone.
Trade guards
Every leader trade checks the coin's pool against its 10-minute time-weighted average price:
- If the pool is more than 3% away from the average, the trade is refused.
- If the fill is more than 3% worse than the pool price (the pool's own fee included), the trade is refused.
- If the average has not been updated in 5 minutes, trading waits for the keeper.
Together these make it costly for a leader to pump a coin and sell it into their own vault.
The keeper
A keeper wallet calls pokeAll once a minute, writing each pool's price into a ring of 32 observations. Anyone can call poke; the keeper only keeps the averages fresh and holds no funds of the vaults.
Fees and $CADRE
| What | Fee | Goes to |
|---|---|---|
| Leader trade | 0.1% of the trade | Treasury, buys $CADRE back and burns it |
| Copier profit | 10% of profit, on exit | The vault's leader |
| Deposit, withdraw | 0 |
The trade fee has a hard cap of 0.3% in the contract.
Coins
KNTQ, YTR, UNSEEN, LiquidV, pole, NUM, M10, KORILA and KEKR, each through its native-HYPE pool on the Uniswap v4 PoolManager 0xE2e1…23F1 that Elysium launchpads use. Prices are read from the pools' storage; there is no outside oracle.
What the owner can do
- List up to 12 coins, and stop new buys of a coin whose pool died (selling it stays possible).
- Set the trade fee (up to 0.3%), the average and fill limits (0.5% to 10%), the average window and the smallest vault start.
- The owner can't move any vault's funds, trade for a vault, or block withdrawals.
Risks
- Not audited. The contract is open and tested on Elysium's live pools.
- Leaders can lose money. Elysium coins are thin and move fast.
- Pool fees apply on the way in and out, about 1% for a full round trip in testing.
Contracts
| Contract | Address |
|---|---|
| Cadre | published at launch |
