Proposal Details

Proposal #790

Passed

Proposal title

Upload Orderbook as CW Pool

Submit time

Deposit end time

Voting start time

Voting end time

Tally result

99.54%

Proposal #790 description

This proposal would add orderbooks as a new pool type. These pools allow limit orders to be placed at arbitrary price points while being compatible with all other deployments of liquidity on Osmosis.

What are Orderbooks?

Orderbooks enable users to place orders at specific prices, ensuring priority execution at the desired price without depending on the availability of prior liquidity in pools. They also empower market makers to offer narrower spreads compared to the fixed spreads enforced by concentrated liquidity, where the swap fee acts as a minimum spread for the pool. The reduced spread also allows more competitive prices for highly correlated pairs, such as pairs of asset variants or stablecoins.

Limit orders have two main benefits.

  • Trades that would otherwise see high slippage may be fulfilled with zero slippage once the target price is reached. Examples of these trades are buying a large amount of a highly liquid asset like ATOM or a small amount of an illiquid asset on Osmosis, such as PEPE.
  • Traders who want to buy or sell at a specific price may set their desired target price for execution rather than watching the market for manual trading or using centralized services.

Implementing as a Cosmwasm pool type will integrate orderbooks into the sidecar routing service, and limit orders will automatically be factored into routes for swaps using this service. Therefore, Osmosis's existing volume will immediately flow through orderbooks when they have limit orders offering better execution prices than other sources of liquidity on Osmosis.

This implementation of an onchain orderbook uses a mechanism invented by the Osmosis Foundation that aims to be the most performant implementation of any currently live orderbook DEX in terms of runtime complexity. A complete whitepaper describing the mechanism will be released soon, but the implementation can be reviewed in the Github repo below, which was open sourced immediately prior to this post.

Osmosis governance will retain the admin of the order book contract to ensure transparency and decentralization. Osmosis contributors control a moderator account as a security measure, which can only freeze pools in case of a security vulnerability.

Contract Details

Commit: 9f7e2aea2da983ab4943d039b351b55dbcf36fd3 Compiler Version: optimizer-arm64:0.16.0 Checksum: 41e1e49ff96e826ad61a96ee28cab6ec132e2d82f0064874a9e0faecd3b0cc73 Code repository: https://github.com/osmosis-labs/orderbook Forum Thread:https://forum.osmosis.zone/t/upload-orderbook-contracts-as-cw-pool/2815

Proposal #790 overview

Total votes
9,877
Voters
9,862
Total deposit
1,600 OSMO

Proposal #790 votes

#

Validator

Account Address

Options
1Stakewolle.com |100% InsuranceYes
201nodeYes
3Oni ⛩️Yes
4stake.systems | autocompoundYes
5Lavender.Five Nodes 🐝Yes
6Kalia NetworkYes
7CrosnestYes
8SHUTDOWN_SOONYes
9AllnodesYes
10COSMØSTAKEYes
11TessellatedYes
12EverstakeYes
13Cypher CoreYes
14ZKVYes
15Chorus OneYes
16Simply StakingYes
170base.vcYes
18CryptoCrew Validators ✅Yes
19Nocturnal LabsYes
20InotelYes
21DSRVYes
22ChainflowYes
23OmniFlix NetworkYes
24Hathor NodeYes
25Mad ScientistsYes
26Uncle EdYes
27in3s.comYes
28PRYZM | StakeDropYes
29Coinage x DAICYes
30ValidatusYes
31KahunaYes
32Dora FactoryYes
33ProvalidatorYes
34ChihuahuaYes
35Vitwit (Previously Witval)Yes
36Smart Stake 📈📊Yes
37GATA HUBYes
38StakecitoYes
39PingYes
40PoS NodeYes
41Citadel.oneYes
42PRO DelegatorsYes
43KomikuriYes
44Leonoor's CryptomanYes
45SpectrumXYes
46Notional.VenturesYes
47MendelYes
48iqlusionYes
49DAO DAOYes
50Crypto AssassinYes
51S16 Research VenturesYes
52Margined ProtocolYes
53Node GuardiansYes
54CoverletYes
55HFA X Defi DojoYes
56KingSuperYes
57coinhall.orgYes
58ChainLayerYes
59ECO Stake 🌱Yes
60Frens (🤝,🤝)Yes
61MeriaYes
62CosmostationYes
63IcyCRO 🧊Yes
64FreshSTAKINGYes
65ztake.orgYes
66Informal SystemsYes
67OldcatYes
68NFTSwitch.xyz | Delegate for $SOUL Claim DropYes
69White WhaleYes
70WhisperNode 🤐Yes
71The_CyberneticsYes
72ushakovYes
73ShapeShift DAOYes
74Trust NodesAbstain
75InteropYes
76QuebecYes
77AlphaNodes🛸Abstain
78polkachu.comYes
79CommunityStakingAbstain
80CrowdControlYes
81Imperator.coYes
82Nodes.GuruYes
83Stakely.ioYes
84bryanlabsYes
85CryptoDungeonYes
86POSTHUMAN 🧬 StakeDropYes
87strangeloveYes
88InterblocYes
89NansenYes
90ObiYes
91Chill ValidationYes
92Active NodesYes
93blockscapeYes
94AutoStake 🛡️ Slash ProtectedYes
95Interstellar Lounge 🍸Yes
96CroutonDigitalYes
97Tedcrypto.io 🧸 | TedLottoYes
98Booga BerasYes

View: