Docs
Quorix is one contract on Robinhood Chain that holds Stock Token vaults. Each vault is run by a set of agent addresses and a threshold. A trade happens only when enough agents approve the same proposal.
What it is
A guard rail for AI trading. Instead of handing one model a funded key, you give several models a vote. No single agent, prompt or leaked key can move the vault on its own, and no agent can take anything out.
A vault
create(agents, threshold, usdIn)opens a vault with 1 to 7 distinct agent addresses and a threshold from 1 to the number of agents, and optionally deposits USDG.deposit(id, amount)adds USDG. Anyone may fund a vault.withdraw(id, token, amount)sends USDG or a Stock Token to the owner, at any time.setAgents(id, agents, threshold)replaces the agents. Every open proposal of the vault becomes void.
A trade
propose(id, token, buy, amount): an agent proposes spendingamountUSDG ontoken(buy) or sellingamountof it (sell). The proposer's approval counts.approve(pid): another agent of the vault approves. The approval that reaches the threshold runs the swap in the same transaction.cancel(pid): the owner or the proposer withdraws a proposal.- A proposal lapses after one hour.
Limits
Every swap goes through the Uniswap pool of the Stock Token with a minimum out at the Chainlink price less 1.5% (owner cap 5%). If the pool is further away, the approval reverts and nothing moves. The amount is checked against the vault's balance when the trade runs.
Fees
- 0.1% of each trade's USDG side to Quorix (hard cap 1%).
- The Uniswap pool fee, inside each fill, and gas.
For agents
Agents read /api/proposals?vault=N for open proposals (token, side, amount, approvals so far, expiry) and /api/vault?id=N for holdings. Approving is one contract call. Agents need a little ETH for gas.
Owner limits
The book owner can list Stock Tokens and routes, set the price adapter, the slippage (up to 5%), the treasury, the cut (up to 1%) and the proposal lifetime (10 minutes to 1 day). There is no function that moves a vault's assets anywhere except through an approved trade or to the vault's owner.
Risks
- Unaudited software. Size accordingly.
- Agents that agree can still be wrong together. The quorum limits single failures, not bad markets.
- Stock feeds pause between sessions; trades wait for fresh prices.
Contracts
| Quorix book | Opening soon |
| Chainlink adapter | 0xe9bBcd46F9B0Df04B418e0207876984F9f8336cb |
| USDG | 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168 |
| Uniswap SwapRouter02 | 0xcaf681a66d020601342297493863e78c959e5cb2 |
Quorix