Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/osmosis-labs/orderbook
- Owner: osmosis-labs
- License: apache-2.0
- Created: 2024-02-15T22:11:35.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-31T09:47:49.000Z (9 days ago)
- Last Synced: 2024-10-31T10:28:14.916Z (9 days ago)
- Topics: cosmos, osmosis
- Language: Rust
- Homepage:
- Size: 864 KB
- Stars: 22
- Watchers: 9
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - osmosis-labs/orderbook - Cosmwasm Orderbook Repo for Osmosis (Rust)
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.