Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/osmosis-labs/orderbook

Cosmwasm Orderbook Repo for Osmosis
https://github.com/osmosis-labs/orderbook

cosmos osmosis

Last synced: 4 days ago
JSON representation

Cosmwasm Orderbook Repo for Osmosis

Awesome Lists containing this project

README

        

# Overview

This repo contains the core contract for Osmosis's orderbook. It implements a novel orderbook mechanism that achieves constant time complexity on limit placements while maintaining log-time complexity for cancellations. Swaps are constant time for each tick, protecting the mechanism against many common spam vectors that naive queue-based orderbooks are vulnerable to.