THE RIM

A pool of the coin against MONTRA that the wheel adds to and never takes from. The MONTRA it has put there is the wheel's mass.

WHAT GOES INTO THE RIM STAYS.

three pools

the coinHYPEMONTRAMontra poolfee 3%, then 2%, then 1%rim poolfee 0.30%, only added toopen marketMONTRA against HYPEgap
When any one of the three prices moves, the gap is closed by trading around the loop. One leg always crosses the Montra pool and pays its fee.
3%2%1%250,000 MONTRA1,000,000 MONTRArim mass
The pool fee against rim mass. The steps go one way. Distances along the base are not to scale.

THE RIM POOL

SETTINGVALUE
Pairthe coin and MONTRA
VenueUniswap v4 on Elysium, the pool manager Montra uses
Hooknone
Pool fee0.30%
Tick spacing60
Range of the wheel's positionfull range
Owner of the positionthe wheel contract
Function that removes liquiditynone

ONE RIM ADD, FROM A 10 HYPE INTAKE AT THE 3% FEE

ITEMHYPE
Spend after the caller9.95000
Rim share, 55%5.47250
Spent on MONTRA2.73625
Spent on the coin2.73625
Pool fee paid on the coin buy0.08209
Of that, back to the hub next turn0.07114
Of that, to Montra0.01095

INERTIA BY RIM MASS

RIM MASS IN MONTRAINERTIA
00.25
25,0000.50
100,0001.25
250,0002.75
1,000,00010.25
2,500,00025.25

FEE STEPS

RIM MASS IN MONTRAPOOL FEETO MONTRATO THE HUB
under 250,0003%0.4%2.6%
250,000 and over2%0.4%1.6%
1,000,000 and over1%0.4%0.6%

A POOL THAT ONLY GROWS

The rim pool is an ordinary Uniswap v4 pool on Elysium with no hook attached, a 0.30% fee and a full range position owned by the wheel. Anyone can trade in it and anyone can add their own liquidity beside the wheel's.

The wheel's position is different from everyone else's in one way. The contract contains a function that adds liquidity and no function that removes it. There is no key that could add one later.

On a forward turn the rim share of the spend is cut in half. One half buys MONTRA with HYPE on the open market. The other half buys the coin with HYPE through the coin's Montra pool. Both go into the position together.

If the two halves do not match the pool's current ratio exactly, the small remainder of one side is kept in the contract and used in the next add.

WHY MONTRA

Montra says 70% of its protocol fees go to buying MONTRA back. Its protocol fee is 0.4% of every trade in every Montra pool, whatever the coin.

The wheel trades in Montra pools constantly. It buys the coin for the rim, buys spokes, sells spokes and buys the coin to burn. Each of those swaps pays the 0.4%, so the wheel's own turning feeds the buyback of the asset its rim is made of.

Holders are never paid in MONTRA and the wheel never sells it. Rim mass is the total MONTRA the wheel has ever added. It is a counter and it only goes up. The live amount of MONTRA sitting in the position moves with trading, as it does in any pool.

THE TRIANGLE

The coin now has two prices: one in HYPE in its Montra pool and one in MONTRA in the rim pool. MONTRA has its own price in HYPE. Those three have to agree.

They stop agreeing whenever one of them moves. If MONTRA rises against HYPE, the coin becomes cheap in the Montra pool compared with the rim, and an arbitrageur buys it there and sells it into the rim. If MONTRA falls, the trade runs the other way.

Either way one leg of the loop is a swap in the coin's Montra pool, which pays the pool fee. The gap has to be wider than the fees around the loop before the trade is worth making, so a lower pool fee means smaller gaps get closed and the loop runs more often.

MASS AND INERTIA

Inertia is 0.25 plus one for every 100,000 MONTRA of rim mass. It is measured in HYPE, because it is compared against the HYPE a turn collects.

A turn's weight is its creator fee intake divided by that intake plus the inertia. With an empty rim, a turn carrying 0.25 HYPE of fees gets half the say over the wheel's direction. With 1,000,000 MONTRA of mass the same turn gets 2.38%.

The effect is that a young wheel follows the tape closely and an old one does not. Selling has to be larger and last longer to put a heavy wheel into reverse, and once there, buying has to do the same to bring it back.

THE STEP DOWN

The pool fee starts at 3%. When rim mass reaches 250,000 MONTRA the wheel lowers it to 2%, in the same turn that crosses the mark. At 1,000,000 MONTRA it lowers it to 1%.

Montra enforces the direction. A creator may lower a fee and may not raise it, so each step is permanent without the contract having to promise anything.

The hub's share falls with each step, from 2.6% to 1.6% to 0.6% of volume. The wheel accepts a smaller cut of each trade in exchange for a pool that is cheaper to trade and a triangle that closes smaller gaps.

FEES THE RIM EARNS

The rim position earns the rim pool's 0.30% fee on its share of the liquidity, in the coin and in MONTRA. Each turn collects those fees and adds them straight back to the position.

MONTRA added this way counts toward rim mass like any other add.

When the wheel buys the coin for the rim it pays the Montra pool's fee like any other buyer. Most of that fee is its own creator fee, so it comes back to the hub on the next turn. The table on this page shows the amounts for one add.