Docs
How thedesk works
One contract on Robinhood Chain: UncleBlocksDesk (address posted here once deployed). No fees, no owner, no proxy, no pause.
Selling
- Paste the coin address, the amount and your total price in ETH or USDG.
- Optional: a minimum fill (so nobody takes dust), one buyer's wallet (private deal), an expiry from 1 hour to 7 days.
- Approve the coin, then
open. The coins move into the desk. Once $DEAL is live, the desk also locks the 100,000 $DEAL bond. - Share the deal link. You can
closeany time: what's left and the bond come back to you.
Buying
- Open the deal link. Uncle shows the coin, its live Pons price, and whether the desk really holds the coins.
- Pick how many (all, or a part above the seller's minimum). The contract quotes the price, rounded up by at most 1 wei for the seller.
- With a wallet connected, Uncle simulates your fill first. Then
fill: your payment goes to the seller and the coins come to you in that same transaction. Send more ETH than needed and the change comes back.
What the contract guarantees
| Fees | None. There is no fee code. |
| Admin | None. The only special call is setDealToken, usable once to set the $DEAL address after launch. After that nobody has any special rights. |
| Escrow | Leaves only to the buyer who paid in fill, or to the seller in close. |
| Payment | Goes buyer → seller inside fill. The desk never keeps it. |
| Expiry | After expiry nobody can fill. Anyone can call close, and everything still goes to the seller. |
| Bond | 100,000 $DEAL per open deal, fixed at deploy, returned in full when the deal fills or closes. If $DEAL ever can't move at that moment, the bond is credited and the seller withdraws it with claimBond; the escrow is never blocked by it. |
| Buyer protection | maxCost caps what you pay; minReceived reverts if fewer coins arrive. If someone fills first, your fill is capped to what's left. |
Limits
- Plain ERC-20 coins only. Coins that rebase or take a cut on transfer don't fit (the desk measures what arrives, but balances shared across deals can drift).
- Any coin can be listed, including bad ones. Atomic means the swap can't half-happen, not that the coin is good.
- A seller wallet that refuses ETH makes its own deal unfillable. The simulation shows that before you sign.
- Coins or ETH sent to the desk directly (not through
open) are stuck. There is no sweep, because there is no admin.
Not audited
The contract was written with 20 tests (including a 1,000-run fuzz on partial fills) and a fork test against the real USDG, then reviewed separately. It has not been audited by a third party. Use sizes you're fine with.
Check it yourself
cast call <desk> "nextId()(uint256)" --rpc-url https://robinhood-rpc.publicnode.com cast call <desk> "deals(uint256)(address,address,address,address,uint256,uint256,uint256,uint256,uint64,bool)" 1 \ --rpc-url https://robinhood-rpc.publicnode.com