@typus/typus-sdk 1.4.55 → 1.4.57

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.
@@ -29,6 +29,9 @@ function getTokenNewStrategyTx(config, tx, input) {
29
29
  case "mblub":
30
30
  typusTokenRegistry = config.registry.token.mblub;
31
31
  break;
32
+ case "mliq":
33
+ typusTokenRegistry = config.registry.token.mliq;
34
+ break;
32
35
  default:
33
36
  console.log("No such token exists!");
34
37
  break;
@@ -67,6 +70,9 @@ function getTokenUpdateStrategyTx(config, tx, input) {
67
70
  case "mblub":
68
71
  typusTokenRegistry = config.registry.token.mblub;
69
72
  break;
73
+ case "mliq":
74
+ typusTokenRegistry = config.registry.token.mliq;
75
+ break;
70
76
  default:
71
77
  console.log("No such token exists!");
72
78
  break;
@@ -106,6 +112,9 @@ function getTokenCloseStrategyTx(config, tx, input) {
106
112
  case "mblub":
107
113
  typusTokenRegistry = config.registry.token.mblub;
108
114
  break;
115
+ case "mliq":
116
+ typusTokenRegistry = config.registry.token.mliq;
117
+ break;
109
118
  default:
110
119
  console.log("No such token exists!");
111
120
  break;
@@ -152,6 +161,9 @@ function getTokenWithdrawProfitStrategyTx(config, tx, input) {
152
161
  case "mblub":
153
162
  typusTokenRegistry = config.registry.token.mblub;
154
163
  break;
164
+ case "mliq":
165
+ typusTokenRegistry = config.registry.token.mliq;
166
+ break;
155
167
  default:
156
168
  console.log("No such token exists!");
157
169
  break;
@@ -146,7 +146,7 @@ function getHistory(config, input) {
146
146
  break;
147
147
  case "combo_dice":
148
148
  if (config.rpcEndpoint.includes("mainnet")) {
149
- MoveEventType = "0xdd2265bf4ee2190ec67d646ac6552bc4ef4da104af948aa8447e50e7e94a0c9f::combo_dice::Draw";
149
+ MoveEventType = "".concat(config.packageOrigin.dice, "::combo_dice::Draw");
150
150
  }
151
151
  else {
152
152
  MoveEventType = "0xf1d628b4f14f9dae42d73a6cdee9b5f80567fee323166c4ecfb124de7d4ff254::combo_dice::Draw";
@@ -16,6 +16,9 @@ function getTokenRaiseFundTx(config, tx, input) {
16
16
  case "mblub":
17
17
  typusTokenRegistry = config.registry.token.mblub;
18
18
  break;
19
+ case "mliq":
20
+ typusTokenRegistry = config.registry.token.mliq;
21
+ break;
19
22
  default:
20
23
  console.log("No such token exists!");
21
24
  break;
@@ -71,6 +74,9 @@ function getTokenReduceFundTx(config, tx, input) {
71
74
  case "mblub":
72
75
  typusTokenRegistry = config.registry.token.mblub;
73
76
  break;
77
+ case "mliq":
78
+ typusTokenRegistry = config.registry.token.mliq;
79
+ break;
74
80
  default:
75
81
  console.log("No such token exists!");
76
82
  break;
@@ -168,6 +174,9 @@ function getTokenNewBidTx(config, tx, input) {
168
174
  case "mblub":
169
175
  typusTokenRegistry = config.registry.token.mblub;
170
176
  break;
177
+ case "mliq":
178
+ typusTokenRegistry = config.registry.token.mliq;
179
+ break;
171
180
  default:
172
181
  console.log("No such token exists!");
173
182
  break;
@@ -212,6 +221,9 @@ function getTokenExerciseTx(config, tx, input) {
212
221
  case "mblub":
213
222
  typusTokenRegistry = config.registry.token.mblub;
214
223
  break;
224
+ case "mliq":
225
+ typusTokenRegistry = config.registry.token.mliq;
226
+ break;
215
227
  default:
216
228
  console.log("No such token exists!");
217
229
  break;
@@ -249,6 +261,9 @@ function getTokenRebateTx(config, tx, input) {
249
261
  case "mblub":
250
262
  typusTokenRegistry = config.registry.token.mblub;
251
263
  break;
264
+ case "mliq":
265
+ typusTokenRegistry = config.registry.token.mliq;
266
+ break;
252
267
  default:
253
268
  console.log("No such token exists!");
254
269
  break;
@@ -49,6 +49,7 @@ export interface Registry {
49
49
  mfud: string;
50
50
  sei: string;
51
51
  mblub: string;
52
+ mliq: string;
52
53
  };
53
54
  typus: {
54
55
  airdrop: string;
@@ -81,6 +82,8 @@ export interface Oracle {
81
82
  usdy: string;
82
83
  btc: string;
83
84
  eth: string;
85
+ mliq: string;
86
+ hippo: string;
84
87
  }
85
88
  export interface Token {
86
89
  afsui: string;
@@ -112,4 +115,6 @@ export interface Token {
112
115
  usdy: string;
113
116
  vsui: string;
114
117
  wusdc: string;
118
+ mliq: string;
119
+ hippo: string;
115
120
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@typus/typus-sdk",
3
3
  "author": "Typus",
4
4
  "description": "typus sdk",
5
- "version": "1.4.55",
5
+ "version": "1.4.57",
6
6
  "dependencies": {
7
7
  "@mysten/bcs": "^0.11.1",
8
8
  "@mysten/kiosk": "0.8.10",