Skip to content

Commit

Permalink
Merge pull request #206 from osmosis-labs/fix/typo-in-readme
Browse files Browse the repository at this point in the history
Fix/typo in readme
  • Loading branch information
crnbarr93 authored Aug 7, 2024
2 parents 38e6b34 + ad48a50 commit 30e6006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/sumtree-orderbook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $adjustedPrice = {price * 10^{quoteDecimals - baseDecimals}}$

For example when placing an order on a WBTC/USDC orderbook there is a difference of 2 decimal places so the calculation would be at a price of $64,000 would be:

$adjustPrice = {64000 * 10^{6 - 2}} = 64000 / 100 = 640$
$adjustPrice = {64000 * 10^{6 - 8}} = 64000 / 100 = 640$

So the order would be placed on the tick that represents the price of 640.

Expand Down

0 comments on commit 30e6006

Please sign in to comment.