@typus/typus-sdk 1.4.29 → 1.4.31
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/config-mainnet.json +20 -4
- package/dist/config-testnet.json +15 -2
- package/dist/src/auto-bid/token-user-entry.d.ts +17 -21
- package/dist/src/auto-bid/token-user-entry.js +21 -21
- package/dist/src/auto-bid/user-entry.d.ts +23 -27
- package/dist/src/auto-bid/user-entry.js +47 -47
- package/dist/src/auto-bid/view-function.d.ts +1 -2
- package/dist/src/auto-bid/view-function.js +6 -6
- package/dist/src/dice/api.d.ts +1 -1
- package/dist/src/dice/api.js +1 -1
- package/dist/src/dice/fetch.js +14 -9
- package/dist/src/dice/user-entry.js +6 -6
- package/dist/src/dice/view-function.js +1 -1
- package/dist/src/typus-dov-single-v2/function/bidding.js +2 -6
- package/dist/src/typus-dov-single-v2/history/user-history.js +1 -1
- package/dist/src/typus-dov-single-v2/user-entry.d.ts +0 -1
- package/dist/src/typus-dov-single-v2/user-entry.js +2 -2
- package/dist/src/typus-perp/user/orderWithBidReceipt.d.ts +1 -1
- package/dist/src/typus-safu/index.d.ts +0 -1
- package/dist/src/typus-safu/index.js +0 -2
- package/dist/src/typus-safu/user-history.d.ts +11 -0
- package/dist/src/typus-safu/user-history.js +256 -194
- package/dist/src/typus-safu/view-function.d.ts +3 -2
- package/dist/src/typus-safu/view-function.js +41 -12
- package/dist/src/utils/api/sentio/leader-board.js +1 -1
- package/dist/src/utils/typusConfig.d.ts +18 -2
- package/dist/src/utils/typusConfig.js +1 -1
- package/package.json +1 -1
|
@@ -33,6 +33,7 @@ export interface Registry {
|
|
|
33
33
|
tailsExp: string;
|
|
34
34
|
};
|
|
35
35
|
dov: {
|
|
36
|
+
autoBid: string;
|
|
36
37
|
dovSingle: string;
|
|
37
38
|
};
|
|
38
39
|
perp: {
|
|
@@ -60,7 +61,6 @@ export interface Registry {
|
|
|
60
61
|
}
|
|
61
62
|
export interface Object {
|
|
62
63
|
nftTransferPolicy: string;
|
|
63
|
-
strategyPool: string;
|
|
64
64
|
tailsIds: string;
|
|
65
65
|
tgldCoinMetadata: string;
|
|
66
66
|
tgldTokenPolicy: string;
|
|
@@ -85,12 +85,28 @@ export interface Oracle {
|
|
|
85
85
|
}
|
|
86
86
|
export interface Token {
|
|
87
87
|
afsui: string;
|
|
88
|
+
apt: string;
|
|
89
|
+
btc: string;
|
|
90
|
+
buck: string;
|
|
91
|
+
cetus: string;
|
|
92
|
+
eth: string;
|
|
88
93
|
fud: string;
|
|
94
|
+
hasui: string;
|
|
95
|
+
inj: string;
|
|
96
|
+
jup: string;
|
|
89
97
|
mfud: string;
|
|
98
|
+
navx: string;
|
|
99
|
+
sca: string;
|
|
100
|
+
sei: string;
|
|
101
|
+
sol: string;
|
|
90
102
|
sui: string;
|
|
103
|
+
texp: string;
|
|
91
104
|
tgld: string;
|
|
92
105
|
tlp: string;
|
|
93
|
-
|
|
106
|
+
turbos: string;
|
|
94
107
|
usd: string;
|
|
108
|
+
usdc: string;
|
|
95
109
|
usdt: string;
|
|
110
|
+
usdy: string;
|
|
111
|
+
vsui: string;
|
|
96
112
|
}
|
|
@@ -25,7 +25,7 @@ var TypusConfig = /** @class */ (function () {
|
|
|
25
25
|
}());
|
|
26
26
|
exports.TypusConfig = TypusConfig;
|
|
27
27
|
// (async () => {
|
|
28
|
-
//
|
|
28
|
+
// let { default: json } = await import("../../config-testnet.json");
|
|
29
29
|
// let config = TypusConfig.parse(json);
|
|
30
30
|
// console.log(config);
|
|
31
31
|
// console.log(config.rpcEndpoint);
|