@typus/typus-sdk 1.4.57 → 1.4.59

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.
@@ -52,5 +52,5 @@ export declare const tokenType: {
52
52
  MBLUB: string;
53
53
  };
54
54
  };
55
- export type TOKEN = "SUI" | "CETUS" | "BUCK" | "SOL" | "TURBOS" | "APT" | "FUD" | "MFUD" | "BLUB" | "MBLUB" | "USDT" | "AFSUI" | "INJ" | "SEI" | "USDY" | "TEXP" | "SCA" | "BTC" | "ETH" | "USDC" | "LIQ" | "MLIQ" | "HIPPO" | "wUSDC";
55
+ export type TOKEN = "SUI" | "CETUS" | "BUCK" | "SOL" | "TURBOS" | "APT" | "FUD" | "MFUD" | "BLUB" | "MBLUB" | "USDT" | "AFSUI" | "INJ" | "SEI" | "USDY" | "TEXP" | "SCA" | "BTC" | "ETH" | "USDC" | "LIQ" | "MLIQ" | "HIPPO" | "DEEP" | "wUSDC";
56
56
  export declare function typeArgToToken(typeArg: string): string;
@@ -37,6 +37,8 @@ function typeArgToAsset(typeArg) {
37
37
  return "SCA";
38
38
  case "0x960b531667636f39e85867775f52f6b1f220a058c4de786905bdf761e06a56bb":
39
39
  return "USDY";
40
+ case "0x8993129d72e733985f7f1a00396cbd055bad6f817fee36576ce483c8bbb8b87b":
41
+ return "HIPPO";
40
42
  case "0x949572061c09bbedef3ac4ffc42e58632291616f0605117cec86d840e09bf519":
41
43
  if (typeArgs[1] === "usdc") {
42
44
  return "wUSDC";
@@ -44,8 +46,9 @@ function typeArgToAsset(typeArg) {
44
46
  else if (typeArgs[1] === "btc") {
45
47
  return "WBTC";
46
48
  }
47
- case "0x8993129d72e733985f7f1a00396cbd055bad6f817fee36576ce483c8bbb8b87b":
48
- return "HIPPO";
49
+ else if (typeArgs[1] === "eth") {
50
+ return "WETH";
51
+ }
49
52
  default:
50
53
  if (typeArgs[2] == "BTC") {
51
54
  return "WBTC";
@@ -121,6 +124,8 @@ function assetToDecimal(asset) {
121
124
  return 6;
122
125
  case "MLIQ":
123
126
  return 6;
127
+ case "DEEP":
128
+ return 6;
124
129
  }
125
130
  }
126
131
  exports.tokenType = {
@@ -204,6 +209,8 @@ function typeArgToToken(typeArg) {
204
209
  return "LIQ";
205
210
  case "0x8993129d72e733985f7f1a00396cbd055bad6f817fee36576ce483c8bbb8b87b":
206
211
  return "HIPPO";
212
+ case "0xdeeb7a4662eec9f2f3def03fb937a663dddaa2e215b8078a284d026b7946c270":
213
+ return "DEEP";
207
214
  default:
208
215
  return typeArgs[2];
209
216
  }
@@ -84,6 +84,7 @@ export interface Oracle {
84
84
  eth: string;
85
85
  mliq: string;
86
86
  hippo: string;
87
+ deep: string;
87
88
  }
88
89
  export interface Token {
89
90
  afsui: string;
@@ -117,4 +118,5 @@ export interface Token {
117
118
  wusdc: string;
118
119
  mliq: string;
119
120
  hippo: string;
121
+ deep: string;
120
122
  }
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.57",
5
+ "version": "1.4.59",
6
6
  "dependencies": {
7
7
  "@mysten/bcs": "^0.11.1",
8
8
  "@mysten/kiosk": "0.8.10",