iris docs

Options, minus the jargon.

iris lets anyone bet on any token of Robinhood Chain going up or down, crypto and stock tokens alike. You pay a small premium, and that is the most you can lose. Vaults take the other side and earn the premiums. Prices and payouts are computed on-chain: no order book, no market maker.

Buy a ticketPick a token, up (call) or down (put), a target and an expiry. Your maximum loss is the premium you pay.
EarnFill a vault and collect every premium traders pay. In exchange, the vault pays the traders who are right.
DelegateSign a mandate and let the iris agent trade for you, never beyond your limits. Demo mode now, mainnet soon.
Statusiris runs in two modes. Demo mode is on Robinhood Chain Testnet with free test tokens. Mainnet uses real money, with vault caps while the contracts await a third-party audit. The contracts were reviewed three times by independent AI reviewers, but they are not audited by a third-party firm.
Chapter I

Get started

Try it for free, then go live.

Demo mode and mainnet

The pill at the top right of the app switches between the two modes. The app remembers your choice.

Demo modeMainnet
NetworkRobinhood Chain Testnet (46630)Robinhood Chain (4663)
MoneyFree test tokens (tUSDC, tWETH, replicas)Real tokens, premiums in USDG
MarketsTest versions of ETH, PONS, CASHCAT, UBIK and more, following their mainnet price; anyone can create oneCrypto and stock tokens; anyone can create one
Expiries1 hour or 1 day1 hour or 1 day
Vault depositsAnyoneAnyone, with caps
AgentLiveComing soon

Quick start

Demo mode

  1. Install a wallet such as MetaMask or Rabby, open the app and click Connect wallet. The app adds Robinhood Chain Testnet for you.
  2. Get a little test ETH for gas from the official faucet.
  3. In Markets, press Get test tokens for tUSDC and the market's token.
  4. Pick a market, a direction, a target price and an expiry, then Buy ticket.
  5. After expiry, the ticket is settled for you, or press Settle in Positions.

Mainnet

  1. Switch the pill to Mainnet. You need ETH for gas and USDG on Robinhood Chain.
  2. Pick a market. If its vault is empty, the app says so and nothing can be bought yet.
  3. Choose up or down, a target, 1 hour or 1 day, and how much to pay. Your wallet approves that amount of USDG plus a 3% margin for price moves, nothing more.
  4. A keeper settles every ticket in the minutes after expiry. You can also press Settle yourself in Positions.

Options in 2 minutes

An option is a ticket. You pay a small fixed price today, the premium, for the right to profit if the token crosses a price you choose, the strike, by a date, the expiry.

TermMeaning
CallPays if the token ends above the strike. You are betting on a rise.
PutPays if the token ends below the strike. You are betting on a fall.
PremiumWhat you pay for the ticket, in USDG (tUSDC in demo mode). It is also your maximum loss.
SizeHow many tokens the ticket covers. The app computes it from the amount you want to spend.
BreakevenThe price the token must reach for the payout to cover the premium.

Example

Say PONS trades at $0.29. You pay about $7 for a 1-day call with a $0.30 strike on 1,000 PONS. If PONS ends 40% higher, at $0.41, the call vault pays you about $110 worth of PONS. If PONS ends below $0.30, the ticket expires worthless and you lose your $7, nothing more.

Chapter II

How iris works

Who sells, who sets the price, and how a ticket is paid.

Markets

Each market is one token quoted in USDG, with its own call vault and put vault. Any token with a deep enough Uniswap pool on Robinhood Chain can get one, crypto or stock token, and new markets are added over time. Market creation is permissionless: anyone can open one from the Create a market page, on mainnet as in demo mode, if the token's pool passes the on-chain checks (at least $20,000 to push the price 10%, at least 2 hours of price history in its Uniswap v3 pool). Markets opened this way show up as community markets with their owner: check the token before you deposit.

Mainnet markets today, and where each one reads its price. Most read a Uniswap v3 pool, which keeps its own price history; VRAX and FABLES only trade deep on Uniswap v4, which keeps none, so iris records their price.

MarketKindPrice sourceBase volatility
FABLEScryptoUniswap v4 FABLES/USDG, recorded by iris150%
ETHcryptoUniswap v3 WETH/USDG60%
PONScryptoUniswap v3 PONS/WETH × WETH/USDG150%
VRAXcryptoUniswap v4 VRAX/USDG, recorded by iris150%
TSLAstock tokenUniswap v3 TSLA/USDG70%, 60% from Oct 30
PLTRstock tokenUniswap v3 PLTR/USDG80%, 65% from Oct 30
AAPLstock tokenUniswap v3 AAPL/USDG60%, 30% from Oct 30

Where the price comes from

A price that one trade can move would let anyone fake a payout, so iris never uses a single trade. It uses the 30-minute average price (TWAP) of the token's deepest Uniswap pool on Robinhood Chain, read on-chain.

  • Uniswap v3 pools keep their own price history. iris reads it directly. Tokens priced in WETH are converted with the WETH/USDG pool.
  • Uniswap v4 pools keep no history. For tokens that only trade there (VRAX, FABLES), an iris recorder writes the pool price every few minutes, and the average is computed from those records. If the records stop for more than 10 minutes, the price is not served at all rather than served stale.

Each market also has its own Uniswap v4 pool running the iris hook. In demo mode the hook is the price and volatility source. On mainnet those iris pools are still empty, so they are not the price source: the deep pools above are.

Pricing

The contract prices every ticket on-chain with the Black-Scholes formula. Three rules keep it fair for the vault:

  • Worst price for the buyer. Calls use the highest of the current price, the 1-minute average and the 30-minute average; puts use the lowest. If the 1-minute and 30-minute averages drift apart (1% for ETH, 2% for stocks, 3% for memecoins), buying pauses until the market calms down.
  • Volatility smile and vault usage. Strikes far from the price use a higher volatility, and premiums rise as the vault fills up.
  • Floor and spread. Every premium covers at least a small fee on the collateral it locks, per day, plus a small spread on the notional, and never less than 0.10 USDG.
ParameterMainnet
Expiries1 hour or 1 day
Strike rangeFrom the price ÷ 1.5 to the price × 1.5
Largest ticket20% of the vault's free collateral, checked on each ticket at the moment it is bought. There is no limit per wallet: you can buy several tickets, each one up to 20% of what is still free, and each one a little pricier as the vault fills up.
Slippage guardYou sign a maximum premium; if the price moves above it, the purchase reverts

Vaults

Vault depositors are the other side of every ticket. They earn every premium and pay the traders who are right.

VaultYou depositIt backsYou earn
Call vaultThe token (WETH, PONS, TSLA…)Calls. Each call locks tokens equal to its size.Premiums in USDG, paid out to depositors pro rata
Put vaultUSDGPuts. Each put locks USDG equal to strike × size.Premiums in USDG, added to the vault

Depositors win when premiums beat payouts, a bit like an insurer. There is no fixed APR: returns depend on how many tickets are bought and how many finish in the money. A big move can cost more than the premiums collected.

Trading and protocol fee, treasury

Every ticket pays a protocol fee of 0.5% of its notional (size × price), on top of the premium and never more than 12.5% of the premium. It goes to the iris treasury, 0x81AFEbBB5ae1425d277Dc00Dae2CaBe624BDa164. Only the iris team can change it, never above 1% of notional.

It is the only fee iris charges: the trading fee and the protocol fee are the same 0.5%. All of it follows the split below.

Each week, the treasury is split in two, and the transactions are posted on X:

  • 50% to vault depositors, in ETH, pro rata to their vault shares: an extra incentive on top of the premiums they earn.
  • 50% to buy back $IRIS on the market and burn it (sent to 0x000000000000000000000000000000000000dEaD).

More volume means more fees, so more rewards for depositors and more $IRIS bought back and burned; bigger vaults allow bigger tickets, which brings more volume.

Vault caps

Each vault has a deposit cap: the most all depositors together can put in it. The contracts are not audited by a third party yet, so caps keep the amounts at risk small.

  • Launch markets (FABLES, ETH, PONS, VRAX, TSLA, PLTR, AAPL): $5,000 per vault, call and put each. The call cap is set in tokens at the price of the day it was set; the put cap is in USDG.
  • Community markets opened from Create a market start at $250 per vault. Their owner can raise it.
  • The owner of a market changes its caps with setCaps. Caps only limit new deposits; they never block a withdrawal.

Caps set the size of tickets. One ticket covers at most 20% of what is free in the vault, so the largest premium is about 20% × free vault × premium per token. For example, a 25 USDG call on FABLES near its current price, 1 day, needs about $3,000 free in the call vault. A target further away costs less per token, so the same premium needs a bigger vault. The app shows the largest premium possible under the amount you pay.

Entering and leaving (mainnet)

  • You enter or leave a vault only when it has no open tickets. Nobody can buy into a loss already known, or run before one.
  • To leave while tickets are open, press Request exit. The vault stops selling, its tickets expire within a day, then you withdraw your full share. Nobody else can cancel your exit.
  • Pausing the market never blocks withdrawals or settlement.

Settlement

After expiry, anyone can call settle(id), and the payout always goes to the ticket's owner. The iris keeper does it within minutes for every ticket, on launch and community markets alike.

call payout (in tokens) = size × (P − K) / P     if P > K, else 0
put  payout (in USDG)   = size × (K − P)         if P < K, else 0
P = 30-minute average price ending at expiry · K = strike

Pushing the price after expiry changes nothing: the price is the average of the 30 minutes before expiry. A ticket should be settled within 2 hours of expiry. After that, it is still paid if that price can still be read; if it cannot, the ticket expires worthless and its collateral returns to the vault.

Chapter III

The agent

Let an AI agent trade for you, inside limits the contract enforces. Live in demo mode, coming soon on mainnet.

The agent and its mandate

You can let the iris agent buy tickets for you without giving it your keys. You sign a mandate, a set of limits stored in the contract. The agent calls buyFor, and the contract checks every trade against your mandate.

LimitWhat it does
Agent addressOnly this address can trade for you.
Max per tradeThe largest premium a single ticket can cost.
Max totalThe total the agent can ever spend under this mandate.
Valid untilAfter this date, the agent can no longer trade.
Calls / putsWhich ticket types the agent may buy.

Every 30 minutes, the agent reads the market (price against its 30-minute average, volatility, your open tickets and limits) and buys a call, a put or nothing, with a one-sentence reason shown in the Agent tab, along with its P&L. At most one trade every 6 hours per market, never more than $25 or your limits. Tickets it buys belong to you, and revokeMandate() cuts it off immediately.

Chapter IV

Reference

Addresses, functions and error messages.

Contracts and network

Mainnet

ItemValue
NetworkRobinhood Chain (chain ID 4663), an Arbitrum Orbit chain
RPChttps://rpc.mainnet.chain.robinhood.com
USDG (6 decimals)0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168
Treasury (protocol fee)0x81AFEbBB5ae1425d277Dc00Dae2CaBe624BDa164
Launch marketsapp.iristrading.xyz/deployments/4663.json (community markets are listed by the factory)
FABLES market0xa484F3f42cCa2aB8c2eB6F388342e3423a7a826a
ETH market0x90b7488142F8Cc88F3950Ee339B39F00CD71E10C
PONS market0x5B56E4F1c8b1884B0E094762911CA8B6FE74190A
VRAX market0x8CEd9A13D4706Dd3fAF6C2b50a22d5419eF8eAcd
TSLA market0x4F9826D003Ba88f04A726Bb9b31431047761a11C
PLTR market0xa6d4C4c04155a69AB9DA3b3b7BD0a46Bbb51e5dd
AAPL market0x7f8715cC059afFda953951e9Ed4385e89251eCAF
Market factory (permissionless)0x25F72c1722018515e72A99a3205BBdE7A6777b18
iris hook0x50Ab03eDC275317d57F3F7b48655b397EF8650c0
Uniswap v4 PoolManager0x8366a39CC670B4001A1121B8F6A443A643e40951

Demo mode

ItemValue
NetworkRobinhood Chain Testnet (chain ID 46630)
RPChttps://rpc.testnet.chain.robinhood.com
Demo factory (open to all)0xf7Dae6482886F15D70C215204C6e3761b082e9F3
Demo marketsapp.iristrading.xyz/deployments/46630-v3.json
tUSDC (6 decimals)0xe92E626281B6a6F42d2d66155Cf750DdB192B99D

Main functions (mainnet markets)

buy(isCall, strike, durationIndex, size, maxPremium)   // strike in 18 decimals, durationIndex 1 = 1 hour, 2 = 1 day
quote(isCall, strike, duration, size) → premium        // in USDG, 6 decimals
settle(id)                                             // anyone, payout goes to the owner
depositCall(amount) · depositPut(amount)               // open to anyone, within the caps
requestExit(isCall) · cancelExit(isCall)
withdrawCall(shares) · withdrawPut(shares)             // when the vault has no open tickets
harvest() · claim(token)                               // call-vault premiums, payments that could not be sent
setMandate(agent, maxPerTrade, maxTotal, validUntil, allowCalls, allowPuts) · revokeMandate()
status() → 0 open · 1 warming up · 2 price not ready · 3 paused · 5 price moving

Errors

ErrorWhat happened
PremiumTooHighThe price moved above your maximum premium. Try again.
NotEnoughLiquidity / TradeTooLargeThe vault is empty, or the ticket is larger than 20% of its free collateral.
StrikeOutOfRangeThe strike is too far from the current price.
PriceDeviationThe price just moved; buying resumes in a minute.
WarmingUp / OracleNotReadyThe market just opened: buying starts after its 10-minute warm-up, once the price history is ready. Deposits already work.
CapExceededThe deposit would take the vault above its cap.
VaultDrainingA depositor asked to leave; the vault is not selling until they do.
VaultBusyDeposits and withdrawals wait until the vault has no open tickets.
PausedBuying and deposits are paused. Withdrawals and settlement still work.
NotExpired / AlreadySettledThe ticket cannot be settled yet, or was already settled.
Chapter V

Risks and FAQ

What can go wrong, and short answers to common questions.

Risks

  • Smart contracts. The contracts were reviewed three times by independent AI reviewers and every finding was fixed, but no third-party audit firm has reviewed them. Vault caps keep the amounts small.
  • Buyers can lose 100% of the premium.
  • Depositors can lose part of their deposit when tickets finish in the money; a big move can cost more than the premiums collected.
  • Stock tokens trade around the clock while their stock market is closed at night and on weekends; prices can jump when it reopens.
  • Thin pools. A pool with little liquidity is cheaper to move. The factory only accepts pools that take at least $20,000 to move 10%, and community markets start with $250 caps.
  • Keeper. VRAX and FABLES rely on the iris recorder. If it stops for more than 10 minutes around an expiry, a winning ticket may not be payable. Anyone can call poke() to record the price.
  • Nothing here is financial advice.

FAQ

Can I lose more than I paid for a ticket?

No. A ticket's maximum loss is its premium.

Who pays my gain?

The vault on the other side of your ticket: the call vault for calls, the put vault for puts. Your payout is set aside in the vault the moment you buy.

Is there an APR for depositors?

No fixed APR. Depositors earn the premiums traders pay and pay the winners, plus 50% of the protocol fees, shared weekly in ETH. The result depends on the market.

Do I have to settle my ticket?

No, the keeper does it within minutes. You can also do it yourself; the payout always goes to the ticket's owner.

Can the agent withdraw my funds?

No. It can only buy tickets for you, within your mandate, and the tickets stay in your name.

Where can I follow the project?

On X: @irisoptions. Beware of impersonators; the only site is iristrading.xyz.