Skip to content

Method & limits

How a ticket is checked.

The site and the contract use the same rules and the same reason bits. Here is every rule, every source and every limit.

From a sentence to a signed approval

  1. Step 1

    Strategy

    One periodic buy of one supported asset. The reader (fixed patterns, no AI model) extracts asset, order size, schedule, budget and price protection, and asks when something is missing, doubled or unsupported.

  2. Step 2

    Rules

    R1 asset, R2 schedule (minimum gap between approvals: 20 h daily, 6 d weekly, 13 d every two weeks, 27 d monthly), R3 per order, R4 budget per fixed 7- or 30-day period, R5 price protection, R6 ticket life, R7 manual approval. Hashed (keccak256) into the rule hash the desk stores.

  3. Step 3

    Scenarios

    Four tickets: within budget, over the cap (1.5 × the order), the wrong asset, and a valid ticket the agent tries to execute before approval. Each is checked like checkTicket / checkExecute and becomes a review card.

  4. Step 4

    Queue

    Passing tickets wait. Approve reserves the amount in the current period and starts the gap; reject records a code. On chain, approve(ticketId, hash) only succeeds for the exact ticket on the card.

Reason bits

A check returns a bitmask: 0 means Proceed; each set bit is one reason for Hold. The positions are the same as in OddroTicketMath.sol (a test reads the contract source and fails on any difference).

BitLabelMeaning
0Unknown deskThere is no desk with this number.
1Desk pausedThe desk is paused (by you, or by the agent itself). Nothing moves until you unpause.
2Desk closedThe desk was closed for good. Open tickets can only be cancelled.
3Desk expiredThe desk's end date has passed.
4Not the agentOnly the agent address named on the desk may propose tickets.
5Wrong assetThe ticket names a different token than the one asset this strategy buys.
6Zero amountThe ticket spends nothing.
7Over ticket capThe amount is above the most one order may spend.
8Over period budgetApproving it would spend more than the budget for this period.
9Too soonThe last approved order was too recent for the schedule's minimum gap.
10Deadline passedThe ticket's deadline is already behind us.
11Deadline too farThe ticket asks to stay open longer than the desk allows.
12Rules changedThe ticket was written for another version of the rules.
13No minimum outThe ticket has no minimum amount to receive, so price protection is missing.
14Already decidedThis ticket was already approved, rejected, cancelled, expired or executed.
15Not approvedYou have not approved this ticket. Nothing executes without your approval.
16Low allowanceYour wallet has not allowed the desk to spend enough of the quote token.
17Low balanceYour wallet holds less of the quote token than the ticket spends.
18Unknown ticketThere is no ticket with this number.
19Token unreadableThe quote token's balance or allowance could not be read.

Data sources

Every number on a card is read from Robinhood Chain (chain 4663) through the official RPC, with the time it was read. Nothing failed is cached; a missing read shows as Not known. Supported assets: NVDA, AAPL, TSLA, MSFT, AMZN, GOOGL, META, SPY, QQQ, AMD, PLTR, COIN (stock tokens with a Chainlink feed and a Uniswap v3 pool against USDG).

USDG (quote token, 6 decimals)0x5fc5360d0400a0fd4f2af552add042d716f1d168
WETH0x0bd7d308f8e1639fab988df18a8011f41eacad73
Uniswap v3 factory0x1f7d7550b1b028f7571e69a784071f0205fd2efa
Uniswap v3 SwapRouter020xcaf681a66d020601342297493863e78c959e5cb2
Uniswap v3 QuoterV20x33e885ed0ec9bf04ecfb19341582aadcb4c8a9e7
Chainlink ETH / USD0x78f3556b67e17df817d51ef5a990cdaf09e8d3a9
Stock-token beacon0xe10b6f6b275de231345c20d14ab812db62151b00
Stock-token proxy code hash0x6c1fdd40002dcb440c7fff6a84171404d279ccb057803b65826f7546acd65630
Stock price feedsChainlink feed directory for Robinhood Chain (standard market-hours feed preferred; stale outside market hours)

Identity of an asset: its address must be on the vetted list (every proxy that ever pointed at the official beacon, proven 23 Nov 2026), its runtime code must hash to the stock-token proxy, its ERC-1967 beacon slot must hold the official beacon, and its supply must be above zero. A ticker alone is never trusted.

Cost on a card: gas units measured in the contract tests (propose 238,000, approve 86,036, reject 36,477, execute 239,336 on a fork through the real router) × the live gas price, in ETH and in USD via Chainlink ETH/USD; the pool fee tier; and the QuoterV2 answer for the order size compared with the Chainlink price. That last gap includes the fee, the price impact and any difference between the pool and the feed.

The desk contract

OddroOrderDesk (+ internal library OddroTicketMath), live on Robinhood Chain since 25 Nov 2026 (block 122,888,907), source verified on Blockscout: 0xfe0cf0b102d1a04c562234369e27661b514f55fb

  • openDesk: one agent, one asset, USDG, the pool fee tier, cap per ticket, cap per period, period length, minimum gap, ticket life, end date, rule hash.
  • propose (agent only): reverts with Refused(bits) unless checkTicket would return 0.
  • approve(ticketId, hash) / reject(ticketId, code): owner only, one ticket at a time. Approve re-checks the rules, the period budget and the gap.
  • cancel (owner or agent), expire (anyone, after the deadline); an approved ticket gives its amount back to its period.
  • execute (owner or agent, approved tickets only): USDG from the owner's wallet into SwapRouter02 exactInputSingle with the recipient forced to the owner, the minimum out enforced, the received amount measured, the router allowance reset, leftovers refused.
  • pause (owner) or agentPause (the agent stopping itself) from the next block; updateRules makes older tickets unapprovable; close is final.
  • No admin, no fee, no upgrade, not payable. Native ETH is not supported. Fee-on-transfer quote tokens are refused; tokens that return nothing are handled.

Tested with unit, fuzz, invariant and Robinhood Chain fork tests (a full propose, approve and execute against the real NVDA/USDG pool). It has had no outside security review yet: use small amounts first.

What Oddro does not do

  • It only buys, on a schedule. No selling, no take-profit or stop-loss, no price conditions; the reader asks you to drop them.
  • One asset per desk, from the supported list. Other tokens are refused by the contract (wrong asset).
  • Periods are fixed windows of 7 or 30 days counted from when the desk opens, not calendar weeks or months.
  • The scheduled day is a guide for the agent; the contract enforces the minimum gap between approvals, not a weekday.
  • Prices from stock feeds rest outside market hours and can be stale; the card shows the age. A quote can move between the card and execution; the minimum out protects you.
  • Robinhood Chain Testnet (chain 46630): its RPC and explorer answer, but the router, USDG and the stock tokens do not exist there, so the desk cannot run on it. Testing happens in practice mode and on a local fork of Robinhood Chain mainnet.
  • Stock tokens on Robinhood Chain are tokens, not the shares themselves, and their issuer can block addresses.
  • No advice. A ticket that passes every rule is not a recommendation to buy.

Status

Strategy reader, rules, scenario cards, practice queuePrototype
Live asset proofs, prices, pools, quotes, gasPrototype
OddroOrderDesk contract and the on-chain queuePrototype
Execution through SwapRouter02 (fork-tested)Prototype
Robinhood Chain TestnetConcept
Alerts (bell + browser notifications), freePrototype
Hosted desks with the $ODDRO holder tier (0.1 % of supply)Prototype

Questions

Does Oddro hold my funds?

No. USDG stays in your wallet. When an approved ticket executes, the desk contract pulls exactly the ticket's amount under your allowance, hands it to the Uniswap v3 router and the stock token goes straight to your wallet, all in one transaction. The contract never keeps a balance between transactions and has no admin who could move anything.

Can the agent buy without me?

No. The agent can only propose tickets. Only the desk's owner can approve one, and the approval names the ticket's hash, so it approves exactly what the review card showed. Execution checks that the ticket is approved, within its deadline, under the current rules and that the desk is not paused.

Is the strategy reader an AI?

No. It is a fixed set of patterns that runs in your browser. It finds an asset, an order size, a schedule and a budget, and when something is missing or unclear (two assets, no budget, a price condition, selling) it asks a question instead of guessing.

How does Oddro know a token is the real stock token?

Not from its ticker: many tokens copy stock tickers. An asset is listed only when its address is on the vetted list, its code is the stock-token proxy, its beacon slot holds the official beacon and it has minted supply, all read on chain.

What does the cost estimate include?

Gas for the next step from the live gas price (and its USD value from the Chainlink ETH/USD feed), the pool's fee tier, and the live quote for your order size compared with the asset's Chainlink price. Anything that could not be read says Not known. Stock feeds rest outside market hours, so the price can be stale; the card says so.

Do I need the token?

No. The desk, the review cards, the queue, the contract and the alerts work without it. Holding at least 0.1 % of the supply (read on chain after you sign one gasless message) gives more hosted desks, assets and saved strategies. The token is not live yet, so that tier unlocks at launch.

How do alerts work?

Connect a wallet and the bell shows what needs you: a ticket waiting for approval, a ticket expiring soon, an execution done, an approved ticket that was not executed in time, a paused desk. Click Enable to also get browser notifications while a tab of Oddro is open. Free for everyone; nothing is sent by email or push when no tab is open.

Is Oddro connected to Robinhood?

No. Oddro is an independent prototype that reads public contracts on Robinhood Chain. Nothing here is investment advice; a rule that holds is not a promise that a trade is a good one.

Open the desk