// proof · fills and their receipts
Every fill leaves a receipt.
A fill is an ordinary Robinhood Chain transaction. Its event names the slice it used, and the slice's proof folds to the root the owner posted. Check it without asking anyone.
// orders posted
—
// fills
—
// cancels
—
// open now
—
The desk is not deployed yet: no fills exist. The two checks below work on any order you hold.
| order | fill | block | side | amount | price | quote moved | counterparty | tx |
|---|
// check a fill yourself, without asking anyone
- Open the desk's event list on the explorer: (not deployed yet).
- A Filled event names the order id, the counterparty, the slice leaf, the amount, the price and the quote moved. Its transaction's input carries the slice and its Merkle proof.
- Hash the slice (leaf = keccak256(0x00 ‖ keccak256(abi.encode(side, amount, price, taker, salt)))) and fold the proof with sorted pairs (0x01 ‖ a ‖ b): you reach the root stored in the Posted event. The contract refused the fill otherwise.
Paste an order JSON copied from Spot. The check runs here; the only network read is getOrder(id), which is public anyway.
Paste a slice ticket link. The leaf and the proof are checked against the order's root read from the chain.