@typus/typus-perp-sdk 1.1.32-codegen-exp32 → 1.1.32-codegen-exp33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@ import { TOKEN } from "@typus/typus-sdk/dist/src/constants";
3
3
  import { TypusClient } from "../../src/client";
4
4
  export declare function createTradingOrderWithBidReceiptByAutoBid(client: TypusClient, tx: Transaction, input: {
5
5
  perpIndex: string;
6
+ poolIndex: string;
6
7
  cToken: TOKEN;
7
8
  tradingToken: TOKEN;
8
9
  isLong: boolean;
@@ -15,6 +16,7 @@ export declare function createTradingOrderWithBidReceiptByAutoBid(client: TypusC
15
16
  }): Promise<Transaction>;
16
17
  export declare function createTradingOrderWithBidReceipt(client: TypusClient, tx: Transaction, input: {
17
18
  perpIndex: string;
19
+ poolIndex: string;
18
20
  cToken: TOKEN;
19
21
  tradingToken: TOKEN;
20
22
  isLong: boolean;
@@ -37,7 +37,7 @@ async function createTradingOrderWithBidReceiptByAutoBid(client, tx, input) {
37
37
  registry: __1.MARKET,
38
38
  poolRegistry: __1.LP_POOL,
39
39
  marketIndex: BigInt(input.perpIndex),
40
- poolIndex: BigInt(input.perpIndex),
40
+ poolIndex: BigInt(input.poolIndex),
41
41
  typusOracleCToken: constants_1.oracle[__1.NETWORK][TOKEN],
42
42
  typusOracleTradingSymbol: constants_1.oracle[__1.NETWORK][BASE_TOKEN],
43
43
  typusEcosystemVersion: client.config.version.typus,
@@ -82,7 +82,7 @@ async function createTradingOrderWithBidReceipt(client, tx, input) {
82
82
  registry: __1.MARKET,
83
83
  poolRegistry: __1.LP_POOL,
84
84
  marketIndex: BigInt(input.perpIndex),
85
- poolIndex: BigInt(input.perpIndex),
85
+ poolIndex: BigInt(input.poolIndex),
86
86
  typusOracleCToken: constants_1.oracle[__1.NETWORK][TOKEN],
87
87
  typusOracleTradingSymbol: constants_1.oracle[__1.NETWORK][BASE_TOKEN],
88
88
  typusEcosystemVersion: client.config.version.typus,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typus/typus-perp-sdk",
3
- "version": "1.1.32-codegen-exp32",
3
+ "version": "1.1.32-codegen-exp33",
4
4
  "repository": "https://github.com/Typus-Lab/typus-perp-sdk.git",
5
5
  "author": "Typus",
6
6
  "description": "typus perp sdk",