@myx-trade/sdk 0.1.52 → 0.1.54
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.
- package/dist/index.d.mts +23 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +3317 -3294
- package/dist/index.mjs +3317 -3294
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1504,6 +1504,29 @@ declare class Order {
|
|
|
1504
1504
|
message: any;
|
|
1505
1505
|
data?: undefined;
|
|
1506
1506
|
}>;
|
|
1507
|
+
closeAllPositions(chainId: number, params: PlaceOrderParams[]): Promise<{
|
|
1508
|
+
code: number;
|
|
1509
|
+
message: string;
|
|
1510
|
+
data: string | null;
|
|
1511
|
+
transactionHash: string;
|
|
1512
|
+
blockNumber: number | undefined;
|
|
1513
|
+
gasUsed: string | undefined;
|
|
1514
|
+
status: string;
|
|
1515
|
+
confirmations: number;
|
|
1516
|
+
timestamp: number;
|
|
1517
|
+
receipt: ethers$1.ContractTransactionReceipt | null;
|
|
1518
|
+
} | {
|
|
1519
|
+
code: number;
|
|
1520
|
+
message: any;
|
|
1521
|
+
data?: undefined;
|
|
1522
|
+
transactionHash?: undefined;
|
|
1523
|
+
blockNumber?: undefined;
|
|
1524
|
+
gasUsed?: undefined;
|
|
1525
|
+
status?: undefined;
|
|
1526
|
+
confirmations?: undefined;
|
|
1527
|
+
timestamp?: undefined;
|
|
1528
|
+
receipt?: undefined;
|
|
1529
|
+
}>;
|
|
1507
1530
|
createDecreaseOrder(params: PlaceOrderParams): Promise<{
|
|
1508
1531
|
code: number;
|
|
1509
1532
|
message: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1504,6 +1504,29 @@ declare class Order {
|
|
|
1504
1504
|
message: any;
|
|
1505
1505
|
data?: undefined;
|
|
1506
1506
|
}>;
|
|
1507
|
+
closeAllPositions(chainId: number, params: PlaceOrderParams[]): Promise<{
|
|
1508
|
+
code: number;
|
|
1509
|
+
message: string;
|
|
1510
|
+
data: string | null;
|
|
1511
|
+
transactionHash: string;
|
|
1512
|
+
blockNumber: number | undefined;
|
|
1513
|
+
gasUsed: string | undefined;
|
|
1514
|
+
status: string;
|
|
1515
|
+
confirmations: number;
|
|
1516
|
+
timestamp: number;
|
|
1517
|
+
receipt: ethers$1.ContractTransactionReceipt | null;
|
|
1518
|
+
} | {
|
|
1519
|
+
code: number;
|
|
1520
|
+
message: any;
|
|
1521
|
+
data?: undefined;
|
|
1522
|
+
transactionHash?: undefined;
|
|
1523
|
+
blockNumber?: undefined;
|
|
1524
|
+
gasUsed?: undefined;
|
|
1525
|
+
status?: undefined;
|
|
1526
|
+
confirmations?: undefined;
|
|
1527
|
+
timestamp?: undefined;
|
|
1528
|
+
receipt?: undefined;
|
|
1529
|
+
}>;
|
|
1507
1530
|
createDecreaseOrder(params: PlaceOrderParams): Promise<{
|
|
1508
1531
|
code: number;
|
|
1509
1532
|
message: string;
|