@typus/typus-sdk 1.6.4-tk6 → 1.6.4-tk7

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.
@@ -9,7 +9,7 @@ export declare const tokenType: {
9
9
  [key in TOKEN]: string;
10
10
  };
11
11
  };
12
- export type TOKEN = "SUI" | "CETUS" | "TURBOS" | "NAVX" | "SCA" | "DEEP" | "BLUE" | "TYPUS" | "FUD" | "BLUB" | "LIQ" | "HIPPO" | "MFUD" | "MBLUB" | "MLIQ" | "BUCK" | "USDY" | "AUSD" | "USDC" | "wSOL" | "wAPT" | "wBTC" | "wETH" | "wUSDC" | "wUSDT" | "sbETH" | "sbUSDT" | "VSUI" | "HASUI" | "AFSUI" | "SPSUI" | "INJ" | "JUP" | "SEI" | "sSCA" | "TEXP";
12
+ export type TOKEN = "SUI" | "CETUS" | "TURBOS" | "NAVX" | "SCA" | "DEEP" | "BLUE" | "TYPUS" | "FUD" | "BLUB" | "LIQ" | "HIPPO" | "MFUD" | "MBLUB" | "MLIQ" | "BUCK" | "USDY" | "AUSD" | "USDC" | "wSOL" | "wAPT" | "wBTC" | "wETH" | "wUSDC" | "wUSDT" | "sbETH" | "sbUSDT" | "VSUI" | "HASUI" | "AFSUI" | "SPSUI" | "INJ" | "JUP" | "SEI" | "sSCA" | "TEXP" | "USD";
13
13
  export declare const oracle: {
14
14
  MAINNET: {
15
15
  [key in TOKEN]?: string;
@@ -147,6 +147,9 @@ function typeArgToAsset(typeArg) {
147
147
  // TEXP
148
148
  case "0x37816d28c34cc0df82655ca97b3f066112a5f3c202cbb4aaa76c8af54e779750::tails_exp::TAILS_EXP":
149
149
  return "TEXP";
150
+ // USD
151
+ case "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::USD":
152
+ return "USD";
150
153
  default:
151
154
  throw new Error("Unknown typeArg: ".concat(typeArg));
152
155
  }
@@ -233,6 +236,7 @@ exports.tokenType = {
233
236
  sbUSDT: "0x375f70cf2ae4c00bf37117d0c85a2c71545e6ee05c4a5c7d282cd66a4504b068::usdt::USDT",
234
237
  SPSUI: "0x83556891f4a0f233ce7b05cfe7f957d4020492a34f5405b2cb9377d060bef4bf::spring_sui::SPRING_SUI",
235
238
  sSCA: "0x5ca17430c1d046fae9edeaa8fd76c7b4193a00d764a0ecfa9418d733ad27bc1e::scallop_sca::SCALLOP_SCA",
239
+ USD: "",
236
240
  },
237
241
  TESTNET: {
238
242
  SUI: "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI",
@@ -271,6 +275,7 @@ exports.tokenType = {
271
275
  SPSUI: "",
272
276
  JUP: "",
273
277
  sSCA: "",
278
+ USD: "0x21a3b745eaeee0ec0cbc3207230185013d1d8939f7a920aa61f5fea7d09db600::trading::USD",
274
279
  },
275
280
  };
276
281
  exports.oracle = {
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.6.4-tk6",
5
+ "version": "1.6.4-tk7",
6
6
  "dependencies": {
7
7
  "@mysten/bcs": "^0.11.1",
8
8
  "@mysten/kiosk": "0.9.34",