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: 2 months 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 (12 months ago)
- Default Branch: main
- Last Pushed: 2024-11-11T18:25:35.000Z (3 months ago)
- Last Synced: 2024-11-11T19:29:14.267Z (3 months ago)
- Topics: cosmos, osmosis
- Language: Rust
- Homepage:
- Size: 865 KB
- Stars: 22
- Watchers: 9
- Forks: 3
- Open Issues: 2
-
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.