Skip to content
/ l2ob Public

L2 Order Book - Fully on-chain permission-less order book, minting ERC1155 tokens for positions

Notifications You must be signed in to change notification settings

mortimr/l2ob

Repository files navigation

L2OB

tests mythril

100% On-Chain Permission-Less OrderBook, using ERC1155 to mint positions

  • Uses the same contract architecture as UniswapV2 (1 router (PublicLibrary), 1 factory (Printer), many pairs (Book)).
  • Open orders by depositing tokens and specifying a sell price for your token.
  • All positions at the same sell price are fungible and filled together.
  • Get the best order info by calling head0 or head1
  • An experiment on L2's future capacity, and the need for an orderbook that doesn't require any off-chain lookup

About

L2 Order Book - Fully on-chain permission-less order book, minting ERC1155 tokens for positions

Topics

Resources

Stars

Watchers

Forks