Skip to content

Commit

Permalink
fix amm v4 layout field
Browse files Browse the repository at this point in the history
  • Loading branch information
rudy5348 committed Nov 12, 2023
1 parent 80f2389 commit 9d346fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@raydium-io/raydium-sdk",
"version": "1.3.1-beta.25",
"version": "1.3.1-beta.26",
"description": "An SDK for building applications on top of Raydium.",
"license": "GPL-3.0",
"files": [
Expand Down
8 changes: 6 additions & 2 deletions src/liquidity/layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ export const LIQUIDITY_STATE_LAYOUT_V4 = struct([
u64('quoteNeedTakePnl'),
u64('quoteTotalPnl'),
u64('baseTotalPnl'),
u128('quoteTotalDeposited'),
u128('baseTotalDeposited'),
u64('poolOpenTime'),
u64('punishPcAmount'),
u64('punishCoinAmount'),
u64('orderbookToInitTime'),
// u128('poolTotalDepositPc'),
// u128('poolTotalDepositCoin'),
u128('swapBaseInAmount'),
u128('swapQuoteOutAmount'),
u64('swapBase2QuoteFee'),
Expand Down

0 comments on commit 9d346fc

Please sign in to comment.