Engine
Montra pool making
Buys the token's Montra pool when it trades well under fair value and sells back into rallies, from the Treasury's HYPE.
| Id | montra-mm |
| Venue | Montra (Elysium) |
| Market | MOTION-HYPE (the stand-in pool before launch) |
| Tick | every 10 s |
| Capital | 20 % of NAV |
A Montra pool is an automated market maker, so there is no order book to quote on. Instead the strategy tracks a slow fair value for the token and trades only when the pool strays far from it: it buys dips with HYPE and sells rallies back for HYPE.
Parameters
| Param | Value |
|---|---|
| Band | max(MONTRA_BAND_BPS, ceil(2.5 × pool fee in bps)), default 600 bps (6 %) |
| Fair value | Exponential average of the pool price with a 30-minute half-life |
| Warm-up | 30 samples (about 5 minutes) before the first trade |
| Cooldown | 120 s between trades |
| Largest trade | MONTRA_MAX_TRADE_HYPE (default 1 HYPE) × strength |
| Strength | `min(1, |
| Treasury limits | maxHypePerCall and dailyHypeLimit read on chain every 5 minutes (2 / 10 HYPE until the first read) |
| Slippage | minOut = 99 % of a fresh quote from Montra's quoter |
How it trades
- Reads the pool price from the Montra feed. Waits if it is missing or older than 60 s.
- Updates fair value and computes
deviation = (price − fair) / fairin bps. - Acts only if
|deviation| ≥ bandand the cooldown has passed. - Pool under fair (a dump): buy. HYPE spent = the smallest of: max trade × strength, the Treasury's per-call limit, what is left of the daily limit, the capital not already in tokens, and 90 % of the HYPE on Elysium. Skipped if under 0.01 HYPE.
- Pool over fair (a rally): sell, only with tokens held. Size = the smallest of max trade × strength and half of the tokens held (valued in HYPE). Skipped if under 0.01 HYPE.
- Logs a
swapevent with the amounts, the pool price, the fair price, the deviation and the band.
The engine keeps its own count of HYPE spent today, reset at midnight UTC. The Treasury's own limit uses a rolling 24-hour window, so the on-chain limit can still refuse a trade the engine allowed.
In live mode the swap goes Treasury.execute → MontraSwapAdapter.buy/sell, so the output always lands in the Treasury. See Phase 2 contracts.
Not implemented
Concentrated liquidity provision in the pool. It waits on Montra confirming that outside LPs may add to a launch pool.