https://github.com/osmosis-labs/orderbook
Cosmwasm Orderbook Repo for Osmosis
https://github.com/osmosis-labs/orderbook
cosmos osmosis
Last synced: about 1 year 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-26T18:23:16.000Z (over 1 year ago)
- Last Synced: 2025-05-01T20:02:01.761Z (about 1 year ago)
- Topics: cosmos, osmosis
- Language: Rust
- Homepage:
- Size: 879 KB
- Stars: 23
- Watchers: 9
- Forks: 4
- Open Issues: 1
-
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.