Orderbookkit is a permissionless Stylus-based RFQ and CLOB hybrid. The current
implementation is deployed at 0xa601509dbdfddf423259ff24779816610162dc92 on
Superposition Mainnet. The proxy is located at
0x4cD881dC30740F050092Db9c97F90652Fa12D7Ca.
-
RFQ support implemented and tested
-
CLOB audited and integrated with RFQ for lane features
-
Fees added
-
Mutation testing beyond
orderbookkit -
Guest program support during execution supported
-
Off-chain bundler spooler completed
-
Aggregator implemented
-
Neural networks supported via the guest
-
Program generator supported
orderbookkit is a contract that implements the on-chain orderbook and RFQ sliplane. It
can use risc-runner to run smat contracts from its application space using risc-runner's
feature system and delegatecall to simultaneously provide the application with the book
without extensive copying, but without violating constraints (for example, writing to
storage without restrictions). This functions similarly to a seccomp/pledge jail type of
situation of opting into the features the code call supports.
risc-loader is a contract that decodes transaction input data, verifies the supplied
data, and creates a new implementation contract of the code given with a 0xaf magic byte
to prevent execution under normal circumstances. Contracts are unpacked from lzss
compression at this stage.
risc-runner is a contract that runs the RISC-V 32IM contracts. Features are enabled by
passing them as an argument to the runner in the form of a u16 word. These can gate
storage access, orderbook lookup, and more.
libguest is a library with a collection of helpers and calls for executing code inside
Orderbookkit using the risc-v engine.
competition is a proof of work algorithm that generates market making algorithms that
"win" a specific trading "scenario" by permuting a reference existing program (the "seed")
using "signals" given to it and having a certain amount of orders filled.