Skip to content

Commit

Permalink
Merge pull request #390 from invariant-labs/update-swap-simulation
Browse files Browse the repository at this point in the history
update-swap-simulation
  • Loading branch information
wojciech-cichocki authored Dec 25, 2024
2 parents b7902c0 + 9b437eb commit cc19aca
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 49 deletions.
91 changes: 66 additions & 25 deletions sdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@invariant-labs/sdk",
"version": "0.9.69",
"version": "0.9.70",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions sdk/src/market.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const TICK_SEED = 'tickv1'
const POSITION_LIST_SEED = 'positionlistv1'
const STATE_SEED = 'statev1'
export const TICK_CROSSES_PER_IX = 19
export const TICK_VIRTUAL_CROSSES_PER_IX = 10
export const FEE_TIER = 'feetierv1'
export const DEFAULT_PUBLIC_KEY = new PublicKey(0)

Expand Down
Loading

0 comments on commit cc19aca

Please sign in to comment.