@cetusprotocol/deepbook-utils 1.5.3 → 1.5.5
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.ts +0 -32
- package/dist/index.js +26 -40
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -870,16 +870,6 @@ declare class MarginUtilsModule implements IModule {
|
|
|
870
870
|
baseCoin: MarginCoinInfo;
|
|
871
871
|
quoteCoin: MarginCoinInfo;
|
|
872
872
|
}, tx?: Transaction): Transaction;
|
|
873
|
-
/**
|
|
874
|
-
* Gets all balance managers for an account using GraphQL query.
|
|
875
|
-
* NOTE: This method has known issues and should not be used in production.
|
|
876
|
-
*
|
|
877
|
-
* @deprecated This method has issues and should not be used
|
|
878
|
-
* @param {string} account - The account address to query
|
|
879
|
-
* @returns {Promise<any[]>} Array of balance manager event data
|
|
880
|
-
* @throws {Error} If account is invalid or query fails
|
|
881
|
-
*/
|
|
882
|
-
getBalanceManagerByMarginManager(account: string): Promise<any>;
|
|
883
873
|
/**
|
|
884
874
|
* Gets all margin managers created by a specific account.
|
|
885
875
|
*
|
|
@@ -1559,28 +1549,6 @@ declare class MarginUtilsModule implements IModule {
|
|
|
1559
1549
|
settledBalances: any;
|
|
1560
1550
|
lockedBalances: any;
|
|
1561
1551
|
}>;
|
|
1562
|
-
getSingleMarginManagerOpenOrders({ account, marginManagerId, poolId, baseCoinType, quoteCoinType, baseMarginPool, quoteMarginPool, }: {
|
|
1563
|
-
account: string;
|
|
1564
|
-
marginManagerId: string;
|
|
1565
|
-
poolId: string;
|
|
1566
|
-
baseCoinType: string;
|
|
1567
|
-
quoteCoinType: string;
|
|
1568
|
-
baseMarginPool: string;
|
|
1569
|
-
quoteMarginPool: string;
|
|
1570
|
-
}): Promise<{
|
|
1571
|
-
openOrders: any;
|
|
1572
|
-
settledBalances: {
|
|
1573
|
-
base: string;
|
|
1574
|
-
quote: string;
|
|
1575
|
-
deep: string;
|
|
1576
|
-
}[];
|
|
1577
|
-
lockedBalances: {
|
|
1578
|
-
marginManagerId: string;
|
|
1579
|
-
base: string;
|
|
1580
|
-
quote: string;
|
|
1581
|
-
deep: string;
|
|
1582
|
-
}[];
|
|
1583
|
-
}>;
|
|
1584
1552
|
getAllPosRelevantData({ account, marginManagerList, }: {
|
|
1585
1553
|
account: string;
|
|
1586
1554
|
marginManagerList: {
|