Skip to content

Instantly share code, notes, and snippets.

View dominicwilliams's full-sized avatar

Dominic Williams dominicwilliams

View GitHub Profile
import "AssetLedger.sol";
// TODO describe rules of exchange.
// In the AF market all users benefit from a "last look" facility to prevent
// them falling foul of mechanical arb sniping by those exploiting the way
// the blockchain and smart contract data lags the real markets being tracked.
// The system proceeds through a series of batching steps, which in practice
// might correspond to some number of blocks (for example, each batching step
// corresponds to a block). Orders collected in batching step B_i are initially
// in a "pending" state although visible within the book. Orders then remain
Verifying myself: My Bitcoin username is +dom. https://onename.io/dom