Skip to content

Instantly share code, notes, and snippets.

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
0x9081B59f0e7D660AccF2f41Ef2AE3a4E6faCF8ff
0x99e1D9e7CdE3c770892abcf73c5A5BFaCFcb0e63
0x2d3760e53c5c0f6144b03b597251c0462e3cc7ec