@cetusprotocol/aggregator-sdk 0.7.0 → 0.8.0

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/index.d.mts CHANGED
@@ -85,6 +85,7 @@ declare const METASTABLE = "METASTABLE";
85
85
  declare const OBRIC = "OBRIC";
86
86
  declare const HAWAL = "HAWAL";
87
87
  declare const STEAMM_OMM = "STEAMM_OMM";
88
+ declare const MOMENTUM = "MOMENTUM";
88
89
  declare const DEFAULT_ENDPOINT = "https://api-sui.cetus.zone/router_v2";
89
90
  type BuildRouterSwapParams = {
90
91
  routers: Router[];
@@ -349,4 +350,4 @@ declare enum Env {
349
350
  Testnet = 1
350
351
  }
351
352
 
352
- export { AFSUI, AFTERMATH, AGGREGATOR_V2, AGGREGATOR_V2_EXTEND, AGGREGATOR_V2_EXTEND2, ALPHAFI, AggregatorClient, type AggregatorClientParams, type AggregatorResponse, BLUEFIN, BLUEMOVE, type BuildCoinResult, type BuildFastRouterSwapParams, type BuildFastRouterSwapParamsV2, type BuildRouterSwapParams, type BuildRouterSwapParamsV2, CETUS, CLOCK_ADDRESS, DEEPBOOKV2, DEEPBOOKV3, DEFAULT_ENDPOINT, type DeepbookV3Config, type DeepbookV3ConfigResponse, type Dex, Env, type ExtendedDetails, FLOWXV2, FLOWXV3, type FindRouterParams, HAEDAL, HAEDALPMM, HAWAL, KRIYA, KRIYAV3, METASTABLE, OBRIC, ONE, type Path, type PreSwapLpChangeParams, type Router, type RouterData, type RouterError, SCALLOP, SPRINGSUI, STEAMM, STEAMM_OMM, SUILEND, type SwapInPoolsParams, type SwapInPoolsResult, TEN_POW_NINE, TURBOS, TWO, U128, U64_MAX, U64_MAX_BN, VOLO, ZERO, buildInputCoin, checkInvalidSuiAddress, compareCoins, completionCoin, composeType, createTarget, dealWithFastRouterSwapParamsForMsafe, extractAddressFromType, extractStructTagFromType, findPythPriceIDs, fixSuiObjectId, getAggregatorV2Extend2PublishedAt, getAggregatorV2ExtendPublishedAt, getAggregatorV2PublishedAt, getDeepbookV3Config, getRouterResult, isSortedSymbols, mintZeroCoin, normalizeCoinType, parseRouterResponse, patchFixSuiObjectId, printTransaction, processEndpoint, restituteMsafeFastRouterSwapParams };
353
+ export { AFSUI, AFTERMATH, AGGREGATOR_V2, AGGREGATOR_V2_EXTEND, AGGREGATOR_V2_EXTEND2, ALPHAFI, AggregatorClient, type AggregatorClientParams, type AggregatorResponse, BLUEFIN, BLUEMOVE, type BuildCoinResult, type BuildFastRouterSwapParams, type BuildFastRouterSwapParamsV2, type BuildRouterSwapParams, type BuildRouterSwapParamsV2, CETUS, CLOCK_ADDRESS, DEEPBOOKV2, DEEPBOOKV3, DEFAULT_ENDPOINT, type DeepbookV3Config, type DeepbookV3ConfigResponse, type Dex, Env, type ExtendedDetails, FLOWXV2, FLOWXV3, type FindRouterParams, HAEDAL, HAEDALPMM, HAWAL, KRIYA, KRIYAV3, METASTABLE, MOMENTUM, OBRIC, ONE, type Path, type PreSwapLpChangeParams, type Router, type RouterData, type RouterError, SCALLOP, SPRINGSUI, STEAMM, STEAMM_OMM, SUILEND, type SwapInPoolsParams, type SwapInPoolsResult, TEN_POW_NINE, TURBOS, TWO, U128, U64_MAX, U64_MAX_BN, VOLO, ZERO, buildInputCoin, checkInvalidSuiAddress, compareCoins, completionCoin, composeType, createTarget, dealWithFastRouterSwapParamsForMsafe, extractAddressFromType, extractStructTagFromType, findPythPriceIDs, fixSuiObjectId, getAggregatorV2Extend2PublishedAt, getAggregatorV2ExtendPublishedAt, getAggregatorV2PublishedAt, getDeepbookV3Config, getRouterResult, isSortedSymbols, mintZeroCoin, normalizeCoinType, parseRouterResponse, patchFixSuiObjectId, printTransaction, processEndpoint, restituteMsafeFastRouterSwapParams };
package/dist/index.d.ts CHANGED
@@ -85,6 +85,7 @@ declare const METASTABLE = "METASTABLE";
85
85
  declare const OBRIC = "OBRIC";
86
86
  declare const HAWAL = "HAWAL";
87
87
  declare const STEAMM_OMM = "STEAMM_OMM";
88
+ declare const MOMENTUM = "MOMENTUM";
88
89
  declare const DEFAULT_ENDPOINT = "https://api-sui.cetus.zone/router_v2";
89
90
  type BuildRouterSwapParams = {
90
91
  routers: Router[];
@@ -349,4 +350,4 @@ declare enum Env {
349
350
  Testnet = 1
350
351
  }
351
352
 
352
- export { AFSUI, AFTERMATH, AGGREGATOR_V2, AGGREGATOR_V2_EXTEND, AGGREGATOR_V2_EXTEND2, ALPHAFI, AggregatorClient, type AggregatorClientParams, type AggregatorResponse, BLUEFIN, BLUEMOVE, type BuildCoinResult, type BuildFastRouterSwapParams, type BuildFastRouterSwapParamsV2, type BuildRouterSwapParams, type BuildRouterSwapParamsV2, CETUS, CLOCK_ADDRESS, DEEPBOOKV2, DEEPBOOKV3, DEFAULT_ENDPOINT, type DeepbookV3Config, type DeepbookV3ConfigResponse, type Dex, Env, type ExtendedDetails, FLOWXV2, FLOWXV3, type FindRouterParams, HAEDAL, HAEDALPMM, HAWAL, KRIYA, KRIYAV3, METASTABLE, OBRIC, ONE, type Path, type PreSwapLpChangeParams, type Router, type RouterData, type RouterError, SCALLOP, SPRINGSUI, STEAMM, STEAMM_OMM, SUILEND, type SwapInPoolsParams, type SwapInPoolsResult, TEN_POW_NINE, TURBOS, TWO, U128, U64_MAX, U64_MAX_BN, VOLO, ZERO, buildInputCoin, checkInvalidSuiAddress, compareCoins, completionCoin, composeType, createTarget, dealWithFastRouterSwapParamsForMsafe, extractAddressFromType, extractStructTagFromType, findPythPriceIDs, fixSuiObjectId, getAggregatorV2Extend2PublishedAt, getAggregatorV2ExtendPublishedAt, getAggregatorV2PublishedAt, getDeepbookV3Config, getRouterResult, isSortedSymbols, mintZeroCoin, normalizeCoinType, parseRouterResponse, patchFixSuiObjectId, printTransaction, processEndpoint, restituteMsafeFastRouterSwapParams };
353
+ export { AFSUI, AFTERMATH, AGGREGATOR_V2, AGGREGATOR_V2_EXTEND, AGGREGATOR_V2_EXTEND2, ALPHAFI, AggregatorClient, type AggregatorClientParams, type AggregatorResponse, BLUEFIN, BLUEMOVE, type BuildCoinResult, type BuildFastRouterSwapParams, type BuildFastRouterSwapParamsV2, type BuildRouterSwapParams, type BuildRouterSwapParamsV2, CETUS, CLOCK_ADDRESS, DEEPBOOKV2, DEEPBOOKV3, DEFAULT_ENDPOINT, type DeepbookV3Config, type DeepbookV3ConfigResponse, type Dex, Env, type ExtendedDetails, FLOWXV2, FLOWXV3, type FindRouterParams, HAEDAL, HAEDALPMM, HAWAL, KRIYA, KRIYAV3, METASTABLE, MOMENTUM, OBRIC, ONE, type Path, type PreSwapLpChangeParams, type Router, type RouterData, type RouterError, SCALLOP, SPRINGSUI, STEAMM, STEAMM_OMM, SUILEND, type SwapInPoolsParams, type SwapInPoolsResult, TEN_POW_NINE, TURBOS, TWO, U128, U64_MAX, U64_MAX_BN, VOLO, ZERO, buildInputCoin, checkInvalidSuiAddress, compareCoins, completionCoin, composeType, createTarget, dealWithFastRouterSwapParamsForMsafe, extractAddressFromType, extractStructTagFromType, findPythPriceIDs, fixSuiObjectId, getAggregatorV2Extend2PublishedAt, getAggregatorV2ExtendPublishedAt, getAggregatorV2PublishedAt, getDeepbookV3Config, getRouterResult, isSortedSymbols, mintZeroCoin, normalizeCoinType, parseRouterResponse, patchFixSuiObjectId, printTransaction, processEndpoint, restituteMsafeFastRouterSwapParams };
package/dist/index.js CHANGED
@@ -6259,7 +6259,7 @@ var SteammCPMM = class {
6259
6259
  swap(client, txb, path, inputCoin, packages) {
6260
6260
  return __async(this, null, function* () {
6261
6261
  const { direction, from, target } = path;
6262
- const [func, coinAType, coinBType] = direction ? ["swap_a2b", from, target] : ["swap_b2a", target, from];
6262
+ const [func, coinAType, coinBType] = direction ? ["swap_a2b_v2", from, target] : ["swap_b2a_v2", target, from];
6263
6263
  if (path.extendedDetails == null) {
6264
6264
  throw new Error("Extended details not supported");
6265
6265
  } else {
@@ -6293,9 +6293,9 @@ var SteammCPMM = class {
6293
6293
  inputCoin,
6294
6294
  txb.object(CLOCK_ADDRESS)
6295
6295
  ];
6296
- const publishedAt = getAggregatorV2ExtendPublishedAt(client.publishedAtV2Extend(), packages);
6296
+ const publishedAt = getAggregatorV2Extend2PublishedAt(client.publishedAtV2Extend2(), packages);
6297
6297
  const res = txb.moveCall({
6298
- target: `${publishedAt}::steammfe::${func}`,
6298
+ target: `${publishedAt}::steamm_cpmm::${func}`,
6299
6299
  typeArguments: [
6300
6300
  path.extendedDetails.steammLendingMarketType,
6301
6301
  coinAType,
@@ -6363,7 +6363,7 @@ var SteammOmm = class {
6363
6363
  throw new Error("Steamm oracle pyth price seed b not supported");
6364
6364
  }
6365
6365
  }
6366
- const [func, coinAType, coinBType] = direction ? ["swap_a2b", from, target] : ["swap_b2a", target, from];
6366
+ const [func, coinAType, coinBType] = direction ? ["swap_a2b_v2", from, target] : ["swap_b2a_v2", target, from];
6367
6367
  const priceSeedA = path.extendedDetails.steammOraclePythPriceSeedA;
6368
6368
  const priceSeedB = path.extendedDetails.steammOraclePythPriceSeedB;
6369
6369
  const priceInfoObjectIdA = this.pythPriceIDs.get(priceSeedA);
@@ -6621,6 +6621,35 @@ var HaWAL = class {
6621
6621
  }
6622
6622
  };
6623
6623
 
6624
+ // src/transaction/momentum.ts
6625
+ var Momentum = class {
6626
+ constructor(env) {
6627
+ if (env !== 0 /* Mainnet */) {
6628
+ throw new Error("Momentum only supported on mainnet");
6629
+ }
6630
+ this.version = "0x2375a0b1ec12010aaea3b2545acfa2ad34cfbba03ce4b59f4c39e1e25eed1b2a";
6631
+ }
6632
+ swap(client, txb, path, inputCoin, packages) {
6633
+ return __async(this, null, function* () {
6634
+ const { direction, from, target } = path;
6635
+ const [func, coinAType, coinBType] = direction ? ["swap_a2b", from, target] : ["swap_b2a", target, from];
6636
+ const args = [
6637
+ txb.object(path.id),
6638
+ inputCoin,
6639
+ txb.object(this.version),
6640
+ txb.object(CLOCK_ADDRESS)
6641
+ ];
6642
+ const publishedAt = getAggregatorV2Extend2PublishedAt(client.publishedAtV2Extend2(), packages);
6643
+ const res = txb.moveCall({
6644
+ target: `${publishedAt}::momentum::${func}`,
6645
+ typeArguments: [coinAType, coinBType],
6646
+ arguments: args
6647
+ });
6648
+ return res;
6649
+ });
6650
+ }
6651
+ };
6652
+
6624
6653
  // src/client.ts
6625
6654
  var CETUS = "CETUS";
6626
6655
  var DEEPBOOKV2 = "DEEPBOOK";
@@ -6646,6 +6675,7 @@ var METASTABLE = "METASTABLE";
6646
6675
  var OBRIC = "OBRIC";
6647
6676
  var HAWAL = "HAWAL";
6648
6677
  var STEAMM_OMM = "STEAMM_OMM";
6678
+ var MOMENTUM = "MOMENTUM";
6649
6679
  var DEFAULT_ENDPOINT = "https://api-sui.cetus.zone/router_v2";
6650
6680
  function isBuilderRouterSwapParams(params) {
6651
6681
  return Array.isArray(params.routers);
@@ -7169,7 +7199,7 @@ var _AggregatorClient = class _AggregatorClient {
7169
7199
  }
7170
7200
  publishedAtV2Extend2() {
7171
7201
  if (this.env === 0 /* Mainnet */) {
7172
- return "0x368d13376443a8051b22b42a9125f6a3bc836422bb2d9c4a53984b8d6624c326";
7202
+ return "0x0018f7bbbece22f4272ed2281b290f745e5aa69d870f599810a30b4eeffc1a5e";
7173
7203
  } else {
7174
7204
  return "0x0";
7175
7205
  }
@@ -7274,6 +7304,8 @@ var _AggregatorClient = class _AggregatorClient {
7274
7304
  return new Obric(this.env, pythPriceIDs);
7275
7305
  case HAWAL:
7276
7306
  return new HaWAL(this.env);
7307
+ case MOMENTUM:
7308
+ return new Momentum(this.env);
7277
7309
  default:
7278
7310
  throw new Error(`Unsupported dex ${provider}`);
7279
7311
  }
@@ -7367,7 +7399,7 @@ _AggregatorClient.CONFIG = {
7367
7399
  pythStateId: "0x1f9310238ee9298fb703c3419030b35b22bb1cc37113e3bb5007c99aec79e5b8"
7368
7400
  }
7369
7401
  };
7370
- var AggregatorClient24 = _AggregatorClient;
7402
+ var AggregatorClient25 = _AggregatorClient;
7371
7403
  function findPythPriceIDs(routes) {
7372
7404
  const priceIDs = /* @__PURE__ */ new Set();
7373
7405
  for (const route of routes) {
@@ -7435,7 +7467,6 @@ function parseRouterResponse(data, byAmountIn) {
7435
7467
  if (path.provider === AFTERMATH) {
7436
7468
  version = path.extended_details.aftermath_pool_flatness === 0 ? "v2" : "v3";
7437
7469
  }
7438
- console.log("path: ", path.extended_details);
7439
7470
  let extendedDetails;
7440
7471
  if (path.provider === TURBOS || path.provider === AFTERMATH || path.provider === CETUS || path.provider === DEEPBOOKV3 || path.provider === SCALLOP || path.provider === HAEDALPMM || path.provider === METASTABLE || path.provider === OBRIC || path.provider === STEAMM || path.provider === STEAMM_OMM) {
7441
7472
  extendedDetails = {
@@ -7565,7 +7596,7 @@ function processEndpoint(endpoint) {
7565
7596
 
7566
7597
  // src/api.ts
7567
7598
  var import_bn7 = __toESM(require_bn());
7568
- var SDK_VERSION = 1000700;
7599
+ var SDK_VERSION = 1000800;
7569
7600
  function getRouterResult(endpoint, apiKey, params, overlayFee, overlayFeeReceiver) {
7570
7601
  return __async(this, null, function* () {
7571
7602
  let response;
@@ -7776,7 +7807,7 @@ exports.AGGREGATOR_V2 = AGGREGATOR_V2;
7776
7807
  exports.AGGREGATOR_V2_EXTEND = AGGREGATOR_V2_EXTEND;
7777
7808
  exports.AGGREGATOR_V2_EXTEND2 = AGGREGATOR_V2_EXTEND2;
7778
7809
  exports.ALPHAFI = ALPHAFI;
7779
- exports.AggregatorClient = AggregatorClient24;
7810
+ exports.AggregatorClient = AggregatorClient25;
7780
7811
  exports.BLUEFIN = BLUEFIN;
7781
7812
  exports.BLUEMOVE = BLUEMOVE;
7782
7813
  exports.CETUS = CETUS;
@@ -7793,6 +7824,7 @@ exports.HAWAL = HAWAL;
7793
7824
  exports.KRIYA = KRIYA;
7794
7825
  exports.KRIYAV3 = KRIYAV3;
7795
7826
  exports.METASTABLE = METASTABLE;
7827
+ exports.MOMENTUM = MOMENTUM;
7796
7828
  exports.OBRIC = OBRIC;
7797
7829
  exports.ONE = ONE;
7798
7830
  exports.SCALLOP = SCALLOP;
package/dist/index.mjs CHANGED
@@ -6257,7 +6257,7 @@ var SteammCPMM = class {
6257
6257
  swap(client, txb, path, inputCoin, packages) {
6258
6258
  return __async(this, null, function* () {
6259
6259
  const { direction, from, target } = path;
6260
- const [func, coinAType, coinBType] = direction ? ["swap_a2b", from, target] : ["swap_b2a", target, from];
6260
+ const [func, coinAType, coinBType] = direction ? ["swap_a2b_v2", from, target] : ["swap_b2a_v2", target, from];
6261
6261
  if (path.extendedDetails == null) {
6262
6262
  throw new Error("Extended details not supported");
6263
6263
  } else {
@@ -6291,9 +6291,9 @@ var SteammCPMM = class {
6291
6291
  inputCoin,
6292
6292
  txb.object(CLOCK_ADDRESS)
6293
6293
  ];
6294
- const publishedAt = getAggregatorV2ExtendPublishedAt(client.publishedAtV2Extend(), packages);
6294
+ const publishedAt = getAggregatorV2Extend2PublishedAt(client.publishedAtV2Extend2(), packages);
6295
6295
  const res = txb.moveCall({
6296
- target: `${publishedAt}::steammfe::${func}`,
6296
+ target: `${publishedAt}::steamm_cpmm::${func}`,
6297
6297
  typeArguments: [
6298
6298
  path.extendedDetails.steammLendingMarketType,
6299
6299
  coinAType,
@@ -6361,7 +6361,7 @@ var SteammOmm = class {
6361
6361
  throw new Error("Steamm oracle pyth price seed b not supported");
6362
6362
  }
6363
6363
  }
6364
- const [func, coinAType, coinBType] = direction ? ["swap_a2b", from, target] : ["swap_b2a", target, from];
6364
+ const [func, coinAType, coinBType] = direction ? ["swap_a2b_v2", from, target] : ["swap_b2a_v2", target, from];
6365
6365
  const priceSeedA = path.extendedDetails.steammOraclePythPriceSeedA;
6366
6366
  const priceSeedB = path.extendedDetails.steammOraclePythPriceSeedB;
6367
6367
  const priceInfoObjectIdA = this.pythPriceIDs.get(priceSeedA);
@@ -6619,6 +6619,35 @@ var HaWAL = class {
6619
6619
  }
6620
6620
  };
6621
6621
 
6622
+ // src/transaction/momentum.ts
6623
+ var Momentum = class {
6624
+ constructor(env) {
6625
+ if (env !== 0 /* Mainnet */) {
6626
+ throw new Error("Momentum only supported on mainnet");
6627
+ }
6628
+ this.version = "0x2375a0b1ec12010aaea3b2545acfa2ad34cfbba03ce4b59f4c39e1e25eed1b2a";
6629
+ }
6630
+ swap(client, txb, path, inputCoin, packages) {
6631
+ return __async(this, null, function* () {
6632
+ const { direction, from, target } = path;
6633
+ const [func, coinAType, coinBType] = direction ? ["swap_a2b", from, target] : ["swap_b2a", target, from];
6634
+ const args = [
6635
+ txb.object(path.id),
6636
+ inputCoin,
6637
+ txb.object(this.version),
6638
+ txb.object(CLOCK_ADDRESS)
6639
+ ];
6640
+ const publishedAt = getAggregatorV2Extend2PublishedAt(client.publishedAtV2Extend2(), packages);
6641
+ const res = txb.moveCall({
6642
+ target: `${publishedAt}::momentum::${func}`,
6643
+ typeArguments: [coinAType, coinBType],
6644
+ arguments: args
6645
+ });
6646
+ return res;
6647
+ });
6648
+ }
6649
+ };
6650
+
6622
6651
  // src/client.ts
6623
6652
  var CETUS = "CETUS";
6624
6653
  var DEEPBOOKV2 = "DEEPBOOK";
@@ -6644,6 +6673,7 @@ var METASTABLE = "METASTABLE";
6644
6673
  var OBRIC = "OBRIC";
6645
6674
  var HAWAL = "HAWAL";
6646
6675
  var STEAMM_OMM = "STEAMM_OMM";
6676
+ var MOMENTUM = "MOMENTUM";
6647
6677
  var DEFAULT_ENDPOINT = "https://api-sui.cetus.zone/router_v2";
6648
6678
  function isBuilderRouterSwapParams(params) {
6649
6679
  return Array.isArray(params.routers);
@@ -7167,7 +7197,7 @@ var _AggregatorClient = class _AggregatorClient {
7167
7197
  }
7168
7198
  publishedAtV2Extend2() {
7169
7199
  if (this.env === 0 /* Mainnet */) {
7170
- return "0x368d13376443a8051b22b42a9125f6a3bc836422bb2d9c4a53984b8d6624c326";
7200
+ return "0x0018f7bbbece22f4272ed2281b290f745e5aa69d870f599810a30b4eeffc1a5e";
7171
7201
  } else {
7172
7202
  return "0x0";
7173
7203
  }
@@ -7272,6 +7302,8 @@ var _AggregatorClient = class _AggregatorClient {
7272
7302
  return new Obric(this.env, pythPriceIDs);
7273
7303
  case HAWAL:
7274
7304
  return new HaWAL(this.env);
7305
+ case MOMENTUM:
7306
+ return new Momentum(this.env);
7275
7307
  default:
7276
7308
  throw new Error(`Unsupported dex ${provider}`);
7277
7309
  }
@@ -7365,7 +7397,7 @@ _AggregatorClient.CONFIG = {
7365
7397
  pythStateId: "0x1f9310238ee9298fb703c3419030b35b22bb1cc37113e3bb5007c99aec79e5b8"
7366
7398
  }
7367
7399
  };
7368
- var AggregatorClient24 = _AggregatorClient;
7400
+ var AggregatorClient25 = _AggregatorClient;
7369
7401
  function findPythPriceIDs(routes) {
7370
7402
  const priceIDs = /* @__PURE__ */ new Set();
7371
7403
  for (const route of routes) {
@@ -7433,7 +7465,6 @@ function parseRouterResponse(data, byAmountIn) {
7433
7465
  if (path.provider === AFTERMATH) {
7434
7466
  version = path.extended_details.aftermath_pool_flatness === 0 ? "v2" : "v3";
7435
7467
  }
7436
- console.log("path: ", path.extended_details);
7437
7468
  let extendedDetails;
7438
7469
  if (path.provider === TURBOS || path.provider === AFTERMATH || path.provider === CETUS || path.provider === DEEPBOOKV3 || path.provider === SCALLOP || path.provider === HAEDALPMM || path.provider === METASTABLE || path.provider === OBRIC || path.provider === STEAMM || path.provider === STEAMM_OMM) {
7439
7470
  extendedDetails = {
@@ -7563,7 +7594,7 @@ function processEndpoint(endpoint) {
7563
7594
 
7564
7595
  // src/api.ts
7565
7596
  var import_bn7 = __toESM(require_bn());
7566
- var SDK_VERSION = 1000700;
7597
+ var SDK_VERSION = 1000800;
7567
7598
  function getRouterResult(endpoint, apiKey, params, overlayFee, overlayFeeReceiver) {
7568
7599
  return __async(this, null, function* () {
7569
7600
  let response;
@@ -7768,4 +7799,4 @@ decimal.js/decimal.mjs:
7768
7799
  *)
7769
7800
  */
7770
7801
 
7771
- export { AFSUI, AFTERMATH, AGGREGATOR_V2, AGGREGATOR_V2_EXTEND, AGGREGATOR_V2_EXTEND2, ALPHAFI, AggregatorClient24 as AggregatorClient, BLUEFIN, BLUEMOVE, CETUS, CLOCK_ADDRESS, DEEPBOOKV2, DEEPBOOKV3, DEFAULT_ENDPOINT, Env, FLOWXV2, FLOWXV3, HAEDAL, HAEDALPMM, HAWAL, KRIYA, KRIYAV3, METASTABLE, OBRIC, ONE, SCALLOP, SPRINGSUI, STEAMM, STEAMM_OMM, SUILEND, TEN_POW_NINE, TURBOS, TWO, U128, U64_MAX, U64_MAX_BN, VOLO, ZERO, buildInputCoin, checkInvalidSuiAddress, compareCoins, completionCoin, composeType, createTarget, dealWithFastRouterSwapParamsForMsafe, extractAddressFromType, extractStructTagFromType, findPythPriceIDs, fixSuiObjectId, getAggregatorV2Extend2PublishedAt, getAggregatorV2ExtendPublishedAt, getAggregatorV2PublishedAt, getDeepbookV3Config, getRouterResult, isSortedSymbols, mintZeroCoin, normalizeCoinType, parseRouterResponse, patchFixSuiObjectId, printTransaction, processEndpoint, restituteMsafeFastRouterSwapParams };
7802
+ export { AFSUI, AFTERMATH, AGGREGATOR_V2, AGGREGATOR_V2_EXTEND, AGGREGATOR_V2_EXTEND2, ALPHAFI, AggregatorClient25 as AggregatorClient, BLUEFIN, BLUEMOVE, CETUS, CLOCK_ADDRESS, DEEPBOOKV2, DEEPBOOKV3, DEFAULT_ENDPOINT, Env, FLOWXV2, FLOWXV3, HAEDAL, HAEDALPMM, HAWAL, KRIYA, KRIYAV3, METASTABLE, MOMENTUM, OBRIC, ONE, SCALLOP, SPRINGSUI, STEAMM, STEAMM_OMM, SUILEND, TEN_POW_NINE, TURBOS, TWO, U128, U64_MAX, U64_MAX_BN, VOLO, ZERO, buildInputCoin, checkInvalidSuiAddress, compareCoins, completionCoin, composeType, createTarget, dealWithFastRouterSwapParamsForMsafe, extractAddressFromType, extractStructTagFromType, findPythPriceIDs, fixSuiObjectId, getAggregatorV2Extend2PublishedAt, getAggregatorV2ExtendPublishedAt, getAggregatorV2PublishedAt, getDeepbookV3Config, getRouterResult, isSortedSymbols, mintZeroCoin, normalizeCoinType, parseRouterResponse, patchFixSuiObjectId, printTransaction, processEndpoint, restituteMsafeFastRouterSwapParams };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cetusprotocol/aggregator-sdk",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "sideEffects": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",