@typus/typus-sdk 1.5.1 → 1.5.3
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/src/typus-launch/airdrop/view-function.js +3 -3
- package/dist/src/typus-launch/improvement-proposal/view-function.d.ts +10 -0
- package/dist/src/typus-launch/improvement-proposal/view-function.js +50 -9
- package/dist/src/typus-launch/ve-typus/view-function.js +3 -3
- package/dist/src/utils/api/sentio/reward-generated.d.ts +0 -2
- package/dist/src/utils/api/sentio/reward-generated.js +10 -83
- package/dist/src/utils/tools.d.ts +2 -0
- package/dist/src/utils/tools.js +7 -1
- package/package.json +2 -1
|
@@ -49,7 +49,7 @@ var constants_1 = require("../../../src/constants");
|
|
|
49
49
|
*/
|
|
50
50
|
function getAirdrop(config, input) {
|
|
51
51
|
return __awaiter(this, void 0, void 0, function () {
|
|
52
|
-
var provider, transaction, bytes, reader;
|
|
52
|
+
var provider, transaction, devInspectTransactionBlockResult, bytes, reader;
|
|
53
53
|
return __generator(this, function (_a) {
|
|
54
54
|
switch (_a.label) {
|
|
55
55
|
case 0:
|
|
@@ -61,8 +61,8 @@ function getAirdrop(config, input) {
|
|
|
61
61
|
});
|
|
62
62
|
return [4 /*yield*/, provider.devInspectTransactionBlock({ sender: constants_1.SENDER, transactionBlock: transaction })];
|
|
63
63
|
case 1:
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
devInspectTransactionBlockResult = _a.sent();
|
|
65
|
+
bytes = devInspectTransactionBlockResult.results[0].returnValues[0][0];
|
|
66
66
|
reader = new bcs_1.BcsReader(new Uint8Array(bytes));
|
|
67
67
|
reader.readULEB();
|
|
68
68
|
return [2 /*return*/, reader.readVec(function (reader) {
|
|
@@ -31,6 +31,7 @@ export declare function getOngoingTips(config: TypusConfig, input: {
|
|
|
31
31
|
export declare function getEndedTips(config: TypusConfig): Promise<Tip[]>;
|
|
32
32
|
export interface Vote {
|
|
33
33
|
index: string;
|
|
34
|
+
user: string;
|
|
34
35
|
yes: string;
|
|
35
36
|
no: string;
|
|
36
37
|
}
|
|
@@ -52,3 +53,12 @@ export declare function getOngoingTipVotes(config: TypusConfig, input: {
|
|
|
52
53
|
export declare function getEndedTipVotes(config: TypusConfig, input: {
|
|
53
54
|
user: string;
|
|
54
55
|
}): Promise<Vote[]>;
|
|
56
|
+
/**
|
|
57
|
+
public(package) fun get_tip_votes_bcs(
|
|
58
|
+
registry: &Registry,
|
|
59
|
+
index: u64,
|
|
60
|
+
): vector<u8> {
|
|
61
|
+
*/
|
|
62
|
+
export declare function getTipVotes(config: TypusConfig, input: {
|
|
63
|
+
index: string;
|
|
64
|
+
}): Promise<Vote[]>;
|
|
@@ -40,6 +40,7 @@ exports.getOngoingTips = getOngoingTips;
|
|
|
40
40
|
exports.getEndedTips = getEndedTips;
|
|
41
41
|
exports.getOngoingTipVotes = getOngoingTipVotes;
|
|
42
42
|
exports.getEndedTipVotes = getEndedTipVotes;
|
|
43
|
+
exports.getTipVotes = getTipVotes;
|
|
43
44
|
var transactions_1 = require("@mysten/sui/transactions");
|
|
44
45
|
var client_1 = require("@mysten/sui/client");
|
|
45
46
|
var bcs_1 = require("@mysten/bcs");
|
|
@@ -123,7 +124,7 @@ function getOngoingTips(config, input) {
|
|
|
123
124
|
*/
|
|
124
125
|
function getEndedTips(config) {
|
|
125
126
|
return __awaiter(this, void 0, void 0, function () {
|
|
126
|
-
var provider, transaction, bytes, reader;
|
|
127
|
+
var provider, transaction, devInspectTransactionBlockResult, bytes, reader;
|
|
127
128
|
return __generator(this, function (_a) {
|
|
128
129
|
switch (_a.label) {
|
|
129
130
|
case 0:
|
|
@@ -135,8 +136,8 @@ function getEndedTips(config) {
|
|
|
135
136
|
});
|
|
136
137
|
return [4 /*yield*/, provider.devInspectTransactionBlock({ sender: constants_1.SENDER, transactionBlock: transaction })];
|
|
137
138
|
case 1:
|
|
138
|
-
|
|
139
|
-
|
|
139
|
+
devInspectTransactionBlockResult = _a.sent();
|
|
140
|
+
bytes = devInspectTransactionBlockResult.results[0].returnValues[0][0];
|
|
140
141
|
reader = new bcs_1.BcsReader(new Uint8Array(bytes));
|
|
141
142
|
reader.readULEB();
|
|
142
143
|
return [2 /*return*/, reader.readVec(function (reader) {
|
|
@@ -156,6 +157,7 @@ function getEndedTips(config) {
|
|
|
156
157
|
rewards: reader.readVec(function (reader) {
|
|
157
158
|
return {
|
|
158
159
|
token: String.fromCharCode.apply(null, Array.from(reader.readBytes(reader.readULEB()))),
|
|
160
|
+
key: String.fromCharCode.apply(null, Array.from(reader.readBytes(reader.readULEB()))),
|
|
159
161
|
amount: reader.read64(),
|
|
160
162
|
};
|
|
161
163
|
}),
|
|
@@ -187,7 +189,7 @@ function getEndedTips(config) {
|
|
|
187
189
|
*/
|
|
188
190
|
function getOngoingTipVotes(config, input) {
|
|
189
191
|
return __awaiter(this, void 0, void 0, function () {
|
|
190
|
-
var provider, transaction, bytes, reader;
|
|
192
|
+
var provider, transaction, devInspectTransactionBlockResult, bytes, reader;
|
|
191
193
|
return __generator(this, function (_a) {
|
|
192
194
|
switch (_a.label) {
|
|
193
195
|
case 0:
|
|
@@ -199,14 +201,15 @@ function getOngoingTipVotes(config, input) {
|
|
|
199
201
|
});
|
|
200
202
|
return [4 /*yield*/, provider.devInspectTransactionBlock({ sender: constants_1.SENDER, transactionBlock: transaction })];
|
|
201
203
|
case 1:
|
|
202
|
-
|
|
203
|
-
|
|
204
|
+
devInspectTransactionBlockResult = _a.sent();
|
|
205
|
+
bytes = devInspectTransactionBlockResult.results[0].returnValues[0][0];
|
|
204
206
|
reader = new bcs_1.BcsReader(new Uint8Array(bytes));
|
|
205
207
|
reader.readULEB();
|
|
206
208
|
return [2 /*return*/, reader.readVec(function (reader) {
|
|
207
209
|
reader.readULEB();
|
|
208
210
|
return {
|
|
209
211
|
index: reader.read64(),
|
|
212
|
+
user: input.user,
|
|
210
213
|
yes: reader.read64(),
|
|
211
214
|
no: reader.read64(),
|
|
212
215
|
};
|
|
@@ -223,7 +226,7 @@ function getOngoingTipVotes(config, input) {
|
|
|
223
226
|
*/
|
|
224
227
|
function getEndedTipVotes(config, input) {
|
|
225
228
|
return __awaiter(this, void 0, void 0, function () {
|
|
226
|
-
var provider, transaction, bytes, reader;
|
|
229
|
+
var provider, transaction, devInspectTransactionBlockResult, bytes, reader;
|
|
227
230
|
return __generator(this, function (_a) {
|
|
228
231
|
switch (_a.label) {
|
|
229
232
|
case 0:
|
|
@@ -235,14 +238,52 @@ function getEndedTipVotes(config, input) {
|
|
|
235
238
|
});
|
|
236
239
|
return [4 /*yield*/, provider.devInspectTransactionBlock({ sender: constants_1.SENDER, transactionBlock: transaction })];
|
|
237
240
|
case 1:
|
|
238
|
-
|
|
239
|
-
|
|
241
|
+
devInspectTransactionBlockResult = _a.sent();
|
|
242
|
+
bytes = devInspectTransactionBlockResult.results[0].returnValues[0][0];
|
|
240
243
|
reader = new bcs_1.BcsReader(new Uint8Array(bytes));
|
|
241
244
|
reader.readULEB();
|
|
242
245
|
return [2 /*return*/, reader.readVec(function (reader) {
|
|
243
246
|
reader.readULEB();
|
|
244
247
|
return {
|
|
245
248
|
index: reader.read64(),
|
|
249
|
+
user: input.user,
|
|
250
|
+
yes: reader.read64(),
|
|
251
|
+
no: reader.read64(),
|
|
252
|
+
};
|
|
253
|
+
})];
|
|
254
|
+
}
|
|
255
|
+
});
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
public(package) fun get_tip_votes_bcs(
|
|
260
|
+
registry: &Registry,
|
|
261
|
+
index: u64,
|
|
262
|
+
): vector<u8> {
|
|
263
|
+
*/
|
|
264
|
+
function getTipVotes(config, input) {
|
|
265
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
266
|
+
var provider, transaction, devInspectTransactionBlockResult, bytes, reader;
|
|
267
|
+
return __generator(this, function (_a) {
|
|
268
|
+
switch (_a.label) {
|
|
269
|
+
case 0:
|
|
270
|
+
provider = new client_1.SuiClient({ url: config.rpcEndpoint });
|
|
271
|
+
transaction = new transactions_1.Transaction();
|
|
272
|
+
transaction.moveCall({
|
|
273
|
+
target: "".concat(config.package.launch.improvementProposal, "::improvement_proposal::get_tip_votes_bcs"),
|
|
274
|
+
arguments: [transaction.object(config.registry.launch.improvementProposal), transaction.pure.u64(input.index)],
|
|
275
|
+
});
|
|
276
|
+
return [4 /*yield*/, provider.devInspectTransactionBlock({ sender: constants_1.SENDER, transactionBlock: transaction })];
|
|
277
|
+
case 1:
|
|
278
|
+
devInspectTransactionBlockResult = _a.sent();
|
|
279
|
+
bytes = devInspectTransactionBlockResult.results[0].returnValues[0][0];
|
|
280
|
+
reader = new bcs_1.BcsReader(new Uint8Array(bytes));
|
|
281
|
+
reader.readULEB();
|
|
282
|
+
return [2 /*return*/, reader.readVec(function (reader) {
|
|
283
|
+
reader.readULEB();
|
|
284
|
+
return {
|
|
285
|
+
index: input.index,
|
|
286
|
+
user: (0, utils_1.AddressFromBytes)(reader.readBytes(32)),
|
|
246
287
|
yes: reader.read64(),
|
|
247
288
|
no: reader.read64(),
|
|
248
289
|
};
|
|
@@ -45,7 +45,7 @@ var constants_1 = require("../../../src/constants");
|
|
|
45
45
|
var utils_1 = require("../../../src/utils");
|
|
46
46
|
function getVeTypus(config, input) {
|
|
47
47
|
return __awaiter(this, void 0, void 0, function () {
|
|
48
|
-
var provider, transaction, bytes, reader;
|
|
48
|
+
var provider, transaction, devInspectTransactionBlockResult, bytes, reader;
|
|
49
49
|
return __generator(this, function (_a) {
|
|
50
50
|
switch (_a.label) {
|
|
51
51
|
case 0:
|
|
@@ -57,8 +57,8 @@ function getVeTypus(config, input) {
|
|
|
57
57
|
});
|
|
58
58
|
return [4 /*yield*/, provider.devInspectTransactionBlock({ sender: constants_1.SENDER, transactionBlock: transaction })];
|
|
59
59
|
case 1:
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
devInspectTransactionBlockResult = _a.sent();
|
|
61
|
+
bytes = devInspectTransactionBlockResult.results[0].returnValues[0][0];
|
|
62
62
|
reader = new bcs_1.BcsReader(new Uint8Array(bytes));
|
|
63
63
|
reader.readULEB();
|
|
64
64
|
return [2 /*return*/, reader.readVec(function (reader) {
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { SuiClient } from "@mysten/sui/client";
|
|
2
1
|
export declare function getTotalDepositorIncentive(): Promise<TokenAmount>;
|
|
3
2
|
export declare function getTotalPremium(): Promise<number>;
|
|
4
3
|
/** Returns Accumulated Rewards im USD [v1, v2] */
|
|
5
4
|
export declare function getAccumulatedRewardGeneratedUSD(): Promise<[number, number]>;
|
|
6
5
|
export declare function getTotalProfitSharingClaimed(): Promise<TokenAmount[]>;
|
|
7
|
-
export declare function getTotalProfitSharing(provider: SuiClient): Promise<TokenAmount[]>;
|
|
8
6
|
interface TokenAmount {
|
|
9
7
|
token: string;
|
|
10
8
|
total_amount: string;
|
|
@@ -51,11 +51,9 @@ exports.getTotalDepositorIncentive = getTotalDepositorIncentive;
|
|
|
51
51
|
exports.getTotalPremium = getTotalPremium;
|
|
52
52
|
exports.getAccumulatedRewardGeneratedUSD = getAccumulatedRewardGeneratedUSD;
|
|
53
53
|
exports.getTotalProfitSharingClaimed = getTotalProfitSharingClaimed;
|
|
54
|
-
exports.getTotalProfitSharing = getTotalProfitSharing;
|
|
55
54
|
exports.getAccumulatedUser = getAccumulatedUser;
|
|
56
55
|
exports.getAccumulatedNotionalVolumeUSD = getAccumulatedNotionalVolumeUSD;
|
|
57
56
|
exports.getSafuAccumulatedRewardGeneratedUSD = getSafuAccumulatedRewardGeneratedUSD;
|
|
58
|
-
var constants_1 = require("../../../../src/constants");
|
|
59
57
|
var headers = {
|
|
60
58
|
"api-key": "tz3JJ6stG7Fux6ueRSRA5mdpC9U0lozI3",
|
|
61
59
|
"Content-Type": "application/json",
|
|
@@ -262,82 +260,11 @@ function getTotalProfitSharingClaimed() {
|
|
|
262
260
|
});
|
|
263
261
|
});
|
|
264
262
|
}
|
|
265
|
-
function getTotalProfitSharing(provider) {
|
|
266
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
267
|
-
var hasNextPage, cursor, datas, result, tokenAmountMap, datas_1, datas_1_1, data, token, value, amount, sum, tokenAmount, _a, _b, x;
|
|
268
|
-
var e_1, _c, e_2, _d;
|
|
269
|
-
return __generator(this, function (_e) {
|
|
270
|
-
switch (_e.label) {
|
|
271
|
-
case 0:
|
|
272
|
-
hasNextPage = true;
|
|
273
|
-
cursor = undefined;
|
|
274
|
-
datas = [];
|
|
275
|
-
_e.label = 1;
|
|
276
|
-
case 1:
|
|
277
|
-
if (!hasNextPage) return [3 /*break*/, 3];
|
|
278
|
-
return [4 /*yield*/, provider.queryEvents({
|
|
279
|
-
query: {
|
|
280
|
-
MoveEventType: "0x80ff0830313b36bb65ab927af811037f8b175d6e83c43f906b8f55d9263eea99::tails_staking::ProfitSharingEvent",
|
|
281
|
-
},
|
|
282
|
-
order: "descending",
|
|
283
|
-
cursor: cursor,
|
|
284
|
-
})];
|
|
285
|
-
case 2:
|
|
286
|
-
result = _e.sent();
|
|
287
|
-
hasNextPage = result.hasNextPage;
|
|
288
|
-
cursor = result.nextCursor;
|
|
289
|
-
// @ts-ignore
|
|
290
|
-
datas = datas.concat(result.data);
|
|
291
|
-
return [3 /*break*/, 1];
|
|
292
|
-
case 3:
|
|
293
|
-
tokenAmountMap = new Map();
|
|
294
|
-
try {
|
|
295
|
-
for (datas_1 = __values(datas), datas_1_1 = datas_1.next(); !datas_1_1.done; datas_1_1 = datas_1.next()) {
|
|
296
|
-
data = datas_1_1.value;
|
|
297
|
-
token = (0, constants_1.typeArgToAsset)(data.parsedJson.token.name);
|
|
298
|
-
value = data.parsedJson.value;
|
|
299
|
-
amount = value / Math.pow(10, (0, constants_1.assetToDecimal)(token));
|
|
300
|
-
// const week = Math.round(Number(data.timestampMs) / 24 / 3600 / 1000);
|
|
301
|
-
if (tokenAmountMap.has(token)) {
|
|
302
|
-
sum = tokenAmountMap.get(token);
|
|
303
|
-
tokenAmountMap.set(token, sum + Number(amount));
|
|
304
|
-
}
|
|
305
|
-
else {
|
|
306
|
-
tokenAmountMap.set(token, Number(amount));
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
311
|
-
finally {
|
|
312
|
-
try {
|
|
313
|
-
if (datas_1_1 && !datas_1_1.done && (_c = datas_1.return)) _c.call(datas_1);
|
|
314
|
-
}
|
|
315
|
-
finally { if (e_1) throw e_1.error; }
|
|
316
|
-
}
|
|
317
|
-
tokenAmount = [];
|
|
318
|
-
try {
|
|
319
|
-
for (_a = __values(tokenAmountMap.entries()), _b = _a.next(); !_b.done; _b = _a.next()) {
|
|
320
|
-
x = _b.value;
|
|
321
|
-
tokenAmount.push({ token: x[0], total_amount: x[1].toString() });
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
325
|
-
finally {
|
|
326
|
-
try {
|
|
327
|
-
if (_b && !_b.done && (_d = _a.return)) _d.call(_a);
|
|
328
|
-
}
|
|
329
|
-
finally { if (e_2) throw e_2.error; }
|
|
330
|
-
}
|
|
331
|
-
return [2 /*return*/, tokenAmount];
|
|
332
|
-
}
|
|
333
|
-
});
|
|
334
|
-
});
|
|
335
|
-
}
|
|
336
263
|
/** Returns Accumulated Users [v1, v2] */
|
|
337
264
|
function getAccumulatedUser() {
|
|
338
265
|
return __awaiter(this, void 0, void 0, function () {
|
|
339
|
-
var apiUrls, result, apiUrls_1, apiUrls_1_1, apiUrl, requestData, jsonData, response, data,
|
|
340
|
-
var
|
|
266
|
+
var apiUrls, result, apiUrls_1, apiUrls_1_1, apiUrl, requestData, jsonData, response, data, e_1_1;
|
|
267
|
+
var e_1, _a;
|
|
341
268
|
return __generator(this, function (_b) {
|
|
342
269
|
switch (_b.label) {
|
|
343
270
|
case 0:
|
|
@@ -409,14 +336,14 @@ function getAccumulatedUser() {
|
|
|
409
336
|
return [3 /*break*/, 2];
|
|
410
337
|
case 6: return [3 /*break*/, 9];
|
|
411
338
|
case 7:
|
|
412
|
-
|
|
413
|
-
|
|
339
|
+
e_1_1 = _b.sent();
|
|
340
|
+
e_1 = { error: e_1_1 };
|
|
414
341
|
return [3 /*break*/, 9];
|
|
415
342
|
case 8:
|
|
416
343
|
try {
|
|
417
344
|
if (apiUrls_1_1 && !apiUrls_1_1.done && (_a = apiUrls_1.return)) _a.call(apiUrls_1);
|
|
418
345
|
}
|
|
419
|
-
finally { if (
|
|
346
|
+
finally { if (e_1) throw e_1.error; }
|
|
420
347
|
return [7 /*endfinally*/];
|
|
421
348
|
case 9: return [2 /*return*/, result];
|
|
422
349
|
}
|
|
@@ -426,8 +353,8 @@ function getAccumulatedUser() {
|
|
|
426
353
|
/** Returns Accumulated Notional Volume in USD [v1, v2] */
|
|
427
354
|
function getAccumulatedNotionalVolumeUSD() {
|
|
428
355
|
return __awaiter(this, void 0, void 0, function () {
|
|
429
|
-
var apiUrls, result, apiUrls_2, apiUrls_2_1, apiUrl, requestData, jsonData, response, data,
|
|
430
|
-
var
|
|
356
|
+
var apiUrls, result, apiUrls_2, apiUrls_2_1, apiUrl, requestData, jsonData, response, data, e_2_1;
|
|
357
|
+
var e_2, _a;
|
|
431
358
|
return __generator(this, function (_b) {
|
|
432
359
|
switch (_b.label) {
|
|
433
360
|
case 0:
|
|
@@ -491,14 +418,14 @@ function getAccumulatedNotionalVolumeUSD() {
|
|
|
491
418
|
return [3 /*break*/, 2];
|
|
492
419
|
case 6: return [3 /*break*/, 9];
|
|
493
420
|
case 7:
|
|
494
|
-
|
|
495
|
-
|
|
421
|
+
e_2_1 = _b.sent();
|
|
422
|
+
e_2 = { error: e_2_1 };
|
|
496
423
|
return [3 /*break*/, 9];
|
|
497
424
|
case 8:
|
|
498
425
|
try {
|
|
499
426
|
if (apiUrls_2_1 && !apiUrls_2_1.done && (_a = apiUrls_2.return)) _a.call(apiUrls_2);
|
|
500
427
|
}
|
|
501
|
-
finally { if (
|
|
428
|
+
finally { if (e_2) throw e_2.error; }
|
|
502
429
|
return [7 /*endfinally*/];
|
|
503
430
|
case 9: return [2 /*return*/, result];
|
|
504
431
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import BigNumber from "bignumber.js";
|
|
2
|
+
export declare const sleep: (ms: number) => Promise<unknown>;
|
|
3
|
+
export declare const prettify_big_number: (value: any, decimal: any) => string;
|
|
2
4
|
export declare function U64FromBytes(x: any): bigint;
|
|
3
5
|
export declare function AddressFromBytes(x: any): string;
|
|
4
6
|
export declare const insertAt: (str: string, sub: string, pos: number) => string;
|
package/dist/src/utils/tools.js
CHANGED
|
@@ -3,10 +3,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.countFloating = exports.checkNumber = exports.insertAt = void 0;
|
|
6
|
+
exports.countFloating = exports.checkNumber = exports.insertAt = exports.prettify_big_number = exports.sleep = void 0;
|
|
7
7
|
exports.U64FromBytes = U64FromBytes;
|
|
8
8
|
exports.AddressFromBytes = AddressFromBytes;
|
|
9
9
|
var bignumber_js_1 = __importDefault(require("bignumber.js"));
|
|
10
|
+
var sleep = function (ms) { return new Promise(function (resolve) { return setTimeout(resolve, ms); }); };
|
|
11
|
+
exports.sleep = sleep;
|
|
12
|
+
var prettify_big_number = function (value, decimal) {
|
|
13
|
+
return new bignumber_js_1.default(value).div((0, bignumber_js_1.default)(10).pow(decimal)).toFormat(decimal);
|
|
14
|
+
};
|
|
15
|
+
exports.prettify_big_number = prettify_big_number;
|
|
10
16
|
function U64FromBytes(x) {
|
|
11
17
|
var u64 = BigInt(0);
|
|
12
18
|
for (var i = 0; i < x.length; i++) {
|
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.5.
|
|
5
|
+
"version": "1.5.3",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@mysten/bcs": "^0.11.1",
|
|
8
8
|
"@mysten/kiosk": "0.9.34",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"@typemove/sui": "^1.6.1",
|
|
13
13
|
"@types/node": "^20.5.7",
|
|
14
14
|
"aftermath-ts-sdk": "^1.1.14",
|
|
15
|
+
"bignumber": "^1.1.0",
|
|
15
16
|
"bignumber.js": "^9.1.1",
|
|
16
17
|
"bls-signatures": "^2.0.2",
|
|
17
18
|
"bs58": "^5.0.0",
|