Skip to content
/lethra/

// 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.

receipts Filled events
orderfillblocksideamountpricequote movedcounterpartytx

// check a fill yourself, without asking anyone

  1. Open the desk's event list on the explorer: (not deployed yet).
  2. 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.
  3. 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.
open terms in this browser

Paste an order JSON copied from Spot. The check runs here; the only network read is getOrder(id), which is public anyway.

check ticket in this browser

Paste a slice ticket link. The leaf and the proof are checked against the order's root read from the chain.