Tokos Rates

Margin and liquidation

2% in, 1% to stay, a capped reward.

Margin

Initial margin is 2% of notional, maintenance 1%. Equity is margin plus accrued PnL on posted prints. You may add margin at any time, and remove margin while the market is fresh as long as equity stays at or above 2%.

Liquidation

When equity falls below 1% of notional, anyone may call liquidate(id). The position closes at par: PnL to the last posted print is realised and the remaining prints are cancelled. From the equity left:

  • the caller receives 0.25% of notional, at most 50 USDC and never more than the equity;
  • the pool receives up to 0.5% of notional minus that reward;
  • the rest goes back to the position's owner, who takes it with claim().

Liquidation reads only posted prints, never the pool's curve, so no trade can push a position into liquidation.

Why bad debt needs six missed rounds

One print can move a position's equity by at most twice the cap times notional (the print at one cap, the fixed rate at the other): 0.08%. Maintenance is 1%, which the contract checks is at least twelve times the cap. So equity falls from maintenance to zero only if six prints in a row sit at the cap against the position and nobody liquidates it. The keeper liquidates right after each print, and anyone else may.