@typus/typus-sdk 1.4.35 → 1.4.37

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.
@@ -20,7 +20,7 @@
20
20
  "ORACLE": "0x978f65df8570a075298598a9965c18de9087f9e888eb3430fe20334f5c554cfd",
21
21
  "TYPUS": "0x83a1e6784a74929c8b9ccbca224bc9378fa1ebec04baa552d96025fabc39834c",
22
22
  "PERP": "",
23
- "SAFU": "0xb15bc336ee46700745208a70c1a1fe061e07a75875071ce22fcbde3fc7f3e0b4"
23
+ "SAFU": "0x95daa8858d7aeb0d79e312a82b0e5888f90fda6e279c7175d3c6140b4e901326"
24
24
  },
25
25
  "VERSION": {
26
26
  "TYPUS": "0xd2882b992e986250b3304b59530700bc3850939f9a77e9e9dfa9cf1656f84b3d",
@@ -178,7 +178,7 @@ function parseTxHistory(datas, originPackage, vaults) {
178
178
  functionType = (_d = new RegExp("^([^::]+)::([^::]+)::([^<]+)").exec(event.type)) === null || _d === void 0 ? void 0 : _d.slice(1, 4);
179
179
  action = functionType[2];
180
180
  Tails = undefined;
181
- Index = event.parsedJson.index || event.parsedJson.vaultIndex;
181
+ Index = event.parsedJson.index || event.parsedJson.vault_index;
182
182
  if (Index) {
183
183
  _a = __read(parseVaultInfo(vaults, Index, action, event.parsedJson.log), 6), Period = _a[0], Vault = _a[1], RiskLevel = _a[2], d_token = _a[3], b_token = _a[4], o_token = _a[5];
184
184
  }
@@ -75,6 +75,5 @@ export declare function getClaimRewardTx(config: TypusConfig, tx: TransactionBlo
75
75
  ) {
76
76
  */
77
77
  export declare function getSnapshotTx(config: TypusConfig, tx: TransactionBlock, input: {
78
- typeArguments: string[];
79
78
  index: string;
80
79
  }): TransactionBlock;
@@ -143,7 +143,7 @@ function getClaimRewardTx(config, tx, input) {
143
143
  function getSnapshotTx(config, tx, input) {
144
144
  var result = tx.moveCall({
145
145
  target: "".concat(config.package.safu, "::safu::snapshot"),
146
- typeArguments: input.typeArguments,
146
+ typeArguments: [],
147
147
  arguments: [
148
148
  tx.object(config.version.typus),
149
149
  tx.object(config.registry.typus.leaderboard),
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.35",
5
+ "version": "1.4.37",
6
6
  "dependencies": {
7
7
  "@mysten/bcs": "^0.11.1",
8
8
  "@mysten/kiosk": "0.8.10",