haedal-lending-vault 1.0.2 → 1.0.4

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/README.md CHANGED
@@ -1,19 +1,23 @@
1
1
  # Haedal Lending Vault SDK
2
2
 
3
- Use `haedal-lending-vault@1.0.2` with Node 24 and `@mysten/sui@2.31.3`. The SDK reads pool and position data and builds Sui transactions. Your connected wallet supplies the account address, signs transactions and submits them.
3
+ Use `haedal-lending-vault@1.0.0` with Node 24 and `@mysten/sui@2.31.3`. The SDK reads pool and position data and builds Sui transactions. Your connected wallet supplies the account address, signs transactions and submits them.
4
+
5
+ ## Production NAVI P4 V2 activation
6
+
7
+ This archive targets NAVI P4 V2 at `0x2cd6199760735ea60636d5c32ba659bac910f21946215d9e86785c385b3a59cd`. Enable it after Sui mainnet confirms transaction `EjiZFC9pVaEovLabggVPKyLuCWLd1xGqmBWUVQZtX9Py` succeeded and published that package. Recheck the release configuration if the governance transaction is rebuilt.
4
8
 
5
9
  ## Install
6
10
 
7
11
  Install the delivered archive in your application:
8
12
 
9
13
  ```sh
10
- npm install --save-exact ./haedal-lending-vault-1.0.2.tgz @mysten/sui@2.31.3
14
+ npm install --save-exact ./haedal-lending-vault-1.0.0.tgz @mysten/sui@2.31.3
11
15
  ```
12
16
 
13
17
  If this version is available on the public npm registry:
14
18
 
15
19
  ```sh
16
- npm install --save-exact haedal-lending-vault@1.0.2 @mysten/sui@2.31.3
20
+ npm install --save-exact haedal-lending-vault@1.0.0 @mysten/sui@2.31.3
17
21
  ```
18
22
 
19
23
  Use package exports for imports. TypeScript consumers should use `moduleResolution: "NodeNext"` or `"Bundler"` and an ES2022 target for `bigint`.
@@ -80,6 +80,43 @@ var SCALLOP_ERRORS = {
80
80
  verified: true
81
81
  }
82
82
  };
83
+ var NAVI_VERSIONED_ERRORS = {
84
+ 1400: {
85
+ name: "LendingVersionMismatch",
86
+ category: "validation",
87
+ verified: true,
88
+ description: "NAVI lending package and Storage versions differ.",
89
+ suggestion: "Check P4 linkage and the lending target."
90
+ },
91
+ 6200: {
92
+ name: "OracleVersionMismatch",
93
+ category: "oracle",
94
+ verified: true,
95
+ description: "NAVI oracle package version mismatch.",
96
+ suggestion: "Update the oracle package target."
97
+ },
98
+ 1502: {
99
+ name: "InvalidOraclePrice",
100
+ category: "oracle",
101
+ verified: true,
102
+ description: "NAVI rejected the oracle price.",
103
+ suggestion: "Refresh the required asset feeds, including any configured redemption-rate feed."
104
+ },
105
+ 1601: {
106
+ name: "ZeroWithdrawalPayout",
107
+ category: "validation",
108
+ verified: true,
109
+ description: "The NAVI withdrawal rounds to zero coins.",
110
+ suggestion: "Skip a dust leg or choose an amount with a nonzero payout."
111
+ },
112
+ 3200: {
113
+ name: "MarketOutflowLimit",
114
+ category: "rate_limit",
115
+ verified: true,
116
+ description: "The withdrawal or borrow exceeds the available market outflow budget.",
117
+ suggestion: "Read the remaining budget, then resize, reroute or retry after refill."
118
+ }
119
+ };
83
120
  var NAVI_ERRORS = {
84
121
  1506: {
85
122
  name: "InsufficientBalance",
@@ -105,7 +142,7 @@ var NAVI_ERRORS = {
105
142
  1500: {
106
143
  name: "ProtocolPaused",
107
144
  category: "market_inactive",
108
- description: "NAVI protocol/market paused.",
145
+ description: "NAVI market or operation paused.",
109
146
  suggestion: "Skip protocol until resumed.",
110
147
  verified: true
111
148
  }
@@ -791,6 +828,12 @@ function inferProtocol(rawError, moduleName) {
791
828
  if (lower.includes("alpha_lending::") || lower.includes("alphalend") || moduleLower.includes("alpha_lending") || moduleLower.includes("alphalend")) {
792
829
  return "AlphaLend";
793
830
  }
831
+ if ([
832
+ "0xb3e30ea20b048e468ec403bce5ae63769d7b3b3ff81dbed8e4a813167bbc0089",
833
+ "0xaadae8013396f705a170d758854f348ac2be137cdbeb96e44e92bc52d9f739b5",
834
+ "0x512f28261c1a293f49416d8885b8d5d32bde6dd68a99a0be36fe42b248e6833a",
835
+ "0x4837ae94425107554c8847721cf9954c1ad8e10520433b9e37dc11c507148bea"
836
+ ].includes(parsePackageId(rawError) ?? "")) return "NAVI";
794
837
  if (lower.includes("lending_core::") || lower.includes("navi") || moduleLower.includes("lending_core") || moduleLower.includes("navi")) {
795
838
  return "NAVI";
796
839
  }
@@ -849,7 +892,7 @@ function lookupErrorInfo(protocol, abortCode, moduleName) {
849
892
  return localContractErrorInfo(moduleKey, abortCode) ?? SCALLOP_ERRORS[abortCode] ?? DEFAULT_UNKNOWN_INFO;
850
893
  }
851
894
  if (protocol === "NAVI") {
852
- return localContractErrorInfo(moduleKey, abortCode) ?? NAVI_ERRORS[abortCode] ?? DEFAULT_UNKNOWN_INFO;
895
+ return localContractErrorInfo(moduleKey, abortCode) ?? NAVI_VERSIONED_ERRORS[abortCode] ?? NAVI_ERRORS[abortCode] ?? DEFAULT_UNKNOWN_INFO;
853
896
  }
854
897
  if (protocol === "AlphaLend") {
855
898
  if (abortCode === 2) {
@@ -310,7 +310,7 @@ var SCALLOP_SCOIN_TYPE = {
310
310
  xbtc: "0xa2859d61462635912553746e1b28a54e90b6ad6270f1e7c7db73761a9d6ba1e1::scallop_xbtc::SCALLOP_XBTC",
311
311
  weth: "0xb14f82d8506d139eacef109688d1b71e7236bcce9b2c0ad526abcd6aa5be7de0::scallop_sb_eth::SCALLOP_SB_ETH"
312
312
  };
313
- var NAVI_PACKAGE_ID = "0x512f28261c1a293f49416d8885b8d5d32bde6dd68a99a0be36fe42b248e6833a";
313
+ var NAVI_PACKAGE_ID = "0xb3e30ea20b048e468ec403bce5ae63769d7b3b3ff81dbed8e4a813167bbc0089";
314
314
  var NAVI_STORAGE_ID = "0xbb4e2f4b6205c2e2a2db47aeb4f830796ec7c005f88537ee775986639bc442fe";
315
315
  var NAVI_INCENTIVE_V2_ID = "0xf87a8acb8b81d14307894d12595541a73f19933f88e1326d5be349c7a6f7559c";
316
316
  var NAVI_INCENTIVE_V3_ID = "0x62982dad27fb10bb314b3384d5de8d2ac2d72ab2dbeae5d801dbdb9efa816c80";
@@ -1392,7 +1392,7 @@ function getAlphaLendRequiredOracleTokens(assetType) {
1392
1392
  }
1393
1393
  var naviOracleConfig = {
1394
1394
  /** oracle::oracle_pro package ID */
1395
- oracleProPackageId: "0x4837ae94425107554c8847721cf9954c1ad8e10520433b9e37dc11c507148bea",
1395
+ oracleProPackageId: "0xaadae8013396f705a170d758854f348ac2be137cdbeb96e44e92bc52d9f739b5",
1396
1396
  updateFunction: "update_single_price_v3",
1397
1397
  /** oracle::config::OracleConfig shared object */
1398
1398
  oracleConfigId: "0x1afe1cb83634f581606cc73c4487ddd8cc39a944b951283af23f7d69d5589478",
@@ -1663,10 +1663,12 @@ export {
1663
1663
  PROTOCOL_IDLE,
1664
1664
  assertSuilendPriceInfoObjectId,
1665
1665
  mainnetAssetMetadata,
1666
+ NAVI_PACKAGE_ID,
1666
1667
  currentOracleV2Config,
1667
1668
  alphalendOracleConfig,
1668
1669
  alphalendLazerConfig,
1669
1670
  getAlphaLendRequiredOracleTokens,
1671
+ naviOracleConfig,
1670
1672
  PROTOCOL_NAME_MAP,
1671
1673
  protocolName
1672
1674
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  protocolName
3
- } from "./chunk-P5A3EV65.js";
3
+ } from "./chunk-RYVYPIYW.js";
4
4
 
5
5
  // src/client/errors.ts
6
6
  var HAEDAL_MIN_STAKE_SUI_MIST = 1000000000n;
@@ -4,10 +4,10 @@ import {
4
4
  LLVInsufficientPoolLiquidityError,
5
5
  LLVPreviewKeeperResolutionError,
6
6
  isInsufficientQueueLiquidityError
7
- } from "../chunk-NOQCKDBP.js";
7
+ } from "../chunk-W3HCPBZX.js";
8
8
  import {
9
9
  LLVInsufficientCoinBalanceError
10
- } from "../chunk-P5A3EV65.js";
10
+ } from "../chunk-RYVYPIYW.js";
11
11
  export {
12
12
  CetusLegInfeasibleError,
13
13
  LLVAwaitingKeeperRefreshError,
package/dist/config.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  getCetusSuiClmmPoolId,
16
16
  getCetusWalClmmPoolId,
17
17
  protocolName
18
- } from "./chunk-P5A3EV65.js";
18
+ } from "./chunk-RYVYPIYW.js";
19
19
 
20
20
  // src/config/mainnetWalletDeployment.ts
21
21
  var mainnetWalletDeployment = {
@@ -24,8 +24,8 @@ var mainnetWalletDeployment = {
24
24
  "liquidityLayerOriginalPackageId": "0x3777fbddf314316bb4b3618538255b09eff5460de094f5084f21edbeacbec9a8",
25
25
  "llvGlobalId": "0x00b91a04f89f4bbdb98d52fb08b6652f3277ed6bd821817f8b0aa54a6fa9f233",
26
26
  "suilendPackageId": "0xd63e95654c6f6148db349782c5f1d324bca055a7bdbd36830e92edcfca958037",
27
- "scallopPackageId": "0x8c2fcc3af98331ee0f293bca262e26b6e2c8eeabc2042032d739cc83bd19697e",
28
- "naviPackageId": "0x9d413ab9ae6cb58ba1189de65ac39b201a5ada39018840ee88ecfe25a856923e",
27
+ "scallopPackageId": "0x604c83c0eae5e91241acead333d5db957998c047a3bf93b15e00129259294fb5",
28
+ "naviPackageId": "0x2cd6199760735ea60636d5c32ba659bac910f21946215d9e86785c385b3a59cd",
29
29
  "cetusPackageId": "0x2987edc5c5f9eee33df9504e5ed5c35cafd469e8ef1cf8602aed4ae6464f1118",
30
30
  "cetusClmmPackageId": "0x43642f77b03ef2d9a67da7cab726ffdc78cf72ea2c3265b0bc24eb4f258a1b3e",
31
31
  "alphalendPackageId": "0xb5efce80027054c03d6f929ccf87be1f050a39c5e7b3a7bd6fa465ebf022c2e2",
@@ -2,7 +2,7 @@ import {
2
2
  formatProtocolErrorDiagnosis,
3
3
  getProtocolDiagnosis,
4
4
  parseProtocolError
5
- } from "../chunk-CLSDR2XU.js";
5
+ } from "../chunk-ELHQWVPO.js";
6
6
  export {
7
7
  formatProtocolErrorDiagnosis,
8
8
  getProtocolDiagnosis,
package/dist/index.js CHANGED
@@ -15,10 +15,11 @@ import {
15
15
  LLVInsufficientPoolLiquidityError,
16
16
  LLVPreviewKeeperResolutionError,
17
17
  isInsufficientQueueLiquidityError
18
- } from "./chunk-NOQCKDBP.js";
18
+ } from "./chunk-W3HCPBZX.js";
19
19
  import {
20
20
  LLVInsufficientCoinBalanceError,
21
21
  MAX_CETUS_CLMM_ACCOUNTED_GAP_LIMIT_BPS,
22
+ NAVI_PACKAGE_ID,
22
23
  PROTOCOL_ALPHALEND,
23
24
  PROTOCOL_CETUS,
24
25
  PROTOCOL_CETUS_CLMM,
@@ -41,6 +42,7 @@ import {
41
42
  getCetusWalClmmPoolId,
42
43
  getCoinName,
43
44
  mainnetAssetMetadata,
45
+ naviOracleConfig,
44
46
  normalizeTypeArg,
45
47
  protocolName,
46
48
  safeAddBigint,
@@ -48,7 +50,7 @@ import {
48
50
  safeMulBigint,
49
51
  safeSubBigint,
50
52
  splitSuiCoinWithBalance
51
- } from "./chunk-P5A3EV65.js";
53
+ } from "./chunk-RYVYPIYW.js";
52
54
  import {
53
55
  LLV_ABORT_ALL_PROTOCOLS_STALE,
54
56
  LLV_ABORT_SYNC_DEVIATION_EXCEEDED,
@@ -58,7 +60,7 @@ import {
58
60
  formatProtocolErrorDiagnosis,
59
61
  getProtocolDiagnosis,
60
62
  parseProtocolError
61
- } from "./chunk-CLSDR2XU.js";
63
+ } from "./chunk-ELHQWVPO.js";
62
64
 
63
65
  // src/suilend-price-updater.ts
64
66
  import { SuilendClient } from "@suilend/sdk/client";
@@ -139,7 +141,7 @@ async function appendSuilendRefreshCalls(tx, context) {
139
141
  }
140
142
 
141
143
  // src/client/LLVClient.ts
142
- import { Transaction as Transaction8 } from "@mysten/sui/transactions";
144
+ import { Transaction as Transaction9 } from "@mysten/sui/transactions";
143
145
 
144
146
  // src/config/protocolPackages.ts
145
147
  function requireExtPackageId(packageId, field) {
@@ -4515,6 +4517,52 @@ async function readPoolRouteState(ctx, poolId) {
4515
4517
  };
4516
4518
  }
4517
4519
 
4520
+ // src/protocols/navi/marketLimits.ts
4521
+ import { bcs as bcs6 } from "@mysten/bcs";
4522
+ import { Transaction as Transaction7 } from "@mysten/sui/transactions";
4523
+ async function readNaviMarketLimits(provider, sender, config) {
4524
+ const tx = new Transaction7();
4525
+ tx.setSender(sender);
4526
+ const storage = tx.object(config.naviStorageId);
4527
+ const clock = tx.object.clock();
4528
+ const storageModule = NAVI_PACKAGE_ID + "::storage::";
4529
+ for (const operation of [1, 2]) {
4530
+ tx.moveCall({ target: storageModule + "is_operation_paused", arguments: [storage, tx.pure.u8(operation)] });
4531
+ }
4532
+ tx.moveCall({ target: storageModule + "rate_limit", arguments: [storage] });
4533
+ tx.moveCall({ target: storageModule + "rate_limit_count_withdraw", arguments: [storage] });
4534
+ tx.moveCall({ target: storageModule + "rate_limit_available", arguments: [clock, storage] });
4535
+ const oracleId = tx.moveCall({ target: storageModule + "get_oracle_id", arguments: [storage, tx.pure.u8(config.naviAssetId)] });
4536
+ tx.moveCall({
4537
+ target: naviOracleConfig.oracleProPackageId + "::oracle::get_token_price",
4538
+ arguments: [clock, tx.object(config.naviPriceOracleId), oracleId]
4539
+ });
4540
+ tx.moveCall({
4541
+ target: NAVI_PACKAGE_ID + "::pool::get_coin_decimal",
4542
+ typeArguments: [config.assetType],
4543
+ arguments: [tx.object(config.naviPoolId)]
4544
+ });
4545
+ const result = await provider.devInspectTransactionBlock({ sender, transactionBlock: tx });
4546
+ const failure = formatDevInspectFailure("NAVI market limits", result);
4547
+ if (failure) throw new Error(failure);
4548
+ const values = (i) => devInspectCommandReturnValues(result, i, "NAVI market limits");
4549
+ const supplyPaused = bcs6.bool().parse(values(0)[0].bcs);
4550
+ const withdrawPaused = bcs6.bool().parse(values(1)[0].bcs);
4551
+ const limited = bcs6.bool().parse(values(2)[0].bcs) && bcs6.bool().parse(values(3)[0].bcs);
4552
+ if (!limited) return { supplyPaused, withdrawPaused, limited, withdrawCap: null };
4553
+ const available = BigInt(bcs6.u256().parse(values(4)[0].bcs));
4554
+ if (!available) return { supplyPaused, withdrawPaused, limited, withdrawCap: 0n };
4555
+ const [valid, price, scale] = values(6);
4556
+ const priceValue = BigInt(bcs6.u256().parse(price.bcs));
4557
+ if (!bcs6.bool().parse(valid.bcs) || priceValue === 0n) {
4558
+ return { supplyPaused, withdrawPaused, limited, withdrawCap: null };
4559
+ }
4560
+ const normalized = available * 10n ** BigInt(bcs6.u8().parse(scale.bcs)) / priceValue;
4561
+ const coinDecimals = bcs6.u8().parse(values(7)[0].bcs);
4562
+ const withdrawCap = normalized * 10n ** BigInt(coinDecimals) / 1000000000n;
4563
+ return { supplyPaused, withdrawPaused, limited, withdrawCap };
4564
+ }
4565
+
4518
4566
  // src/readers/protocolAvailabilityReaders.ts
4519
4567
  import { normalizeStructTag } from "@mysten/sui/utils";
4520
4568
  import { phantom } from "@suilend/sdk/_generated/_framework/reified";
@@ -5168,6 +5216,7 @@ async function readNaviBuiltInAvailability(ctx, poolId) {
5168
5216
  "supply_balance"
5169
5217
  ]);
5170
5218
  const depositRemaining = maxRemaining(supplyCap, totalSupply);
5219
+ const market = await readNaviMarketLimits(ctx.provider, AVAILABILITY_INSPECT_SENDER2, config);
5171
5220
  const paused = findFirstBooleanDeep(reserveFields, ["paused", "is_paused"]);
5172
5221
  const oracleValidUntil = findFirstBigIntDeep(reserveFields, [
5173
5222
  "oracle_valid_until_ms",
@@ -5211,18 +5260,32 @@ async function readNaviBuiltInAvailability(ctx, poolId) {
5211
5260
  "boolean"
5212
5261
  ));
5213
5262
  }
5263
+ const supplyPaused = paused === true || market.supplyPaused;
5264
+ const withdrawPaused = paused === true || market.withdrawPaused;
5265
+ let maxWithdraw = availableLiquidity;
5266
+ if (withdrawPaused) maxWithdraw = 0n;
5267
+ else if (market.limited) {
5268
+ maxWithdraw = market.withdrawCap === null ? null : market.withdrawCap < availableLiquidity ? market.withdrawCap : availableLiquidity;
5269
+ }
5270
+ limits.push(
5271
+ protocolAvailabilityLimit("supply_paused", market.supplyPaused, "exact", "devInspect", "NAVI supply pause", "boolean"),
5272
+ protocolAvailabilityLimit("withdraw_paused", market.withdrawPaused, "exact", "devInspect", "NAVI withdrawal pause", "boolean")
5273
+ );
5274
+ if (market.limited) {
5275
+ limits.push(protocolAvailabilityLimit("withdraw_outflow_cap", market.withdrawCap, market.withdrawCap === null ? "unavailable" : "estimated", "devInspect", "Remaining market USD outflow budget converted to asset units"));
5276
+ }
5214
5277
  return {
5215
5278
  maxDepositByProtocol: protocolAvailabilityAmount(
5216
- paused === true ? 0n : depositRemaining,
5217
- paused === true ? "estimated" : depositRemaining === null ? "unavailable" : "estimated",
5279
+ supplyPaused ? 0n : depositRemaining,
5280
+ supplyPaused ? "exact" : depositRemaining === null ? "unavailable" : "estimated",
5218
5281
  "onchain",
5219
- paused === true ? "NAVI reserve is paused" : depositRemaining === null ? "NAVI supply cap or total supply could not be decoded" : "NAVI supply_cap_ceiling minus current total supply"
5282
+ supplyPaused ? "NAVI supply is paused" : depositRemaining === null ? "NAVI supply cap or total supply could not be decoded" : "NAVI supply_cap_ceiling minus current total supply"
5220
5283
  ),
5221
5284
  maxWithdrawByProtocol: protocolAvailabilityAmount(
5222
- paused === true ? 0n : availableLiquidity,
5223
- "exact",
5285
+ maxWithdraw,
5286
+ maxWithdraw === null ? "unavailable" : market.limited && !withdrawPaused ? "estimated" : "exact",
5224
5287
  "devInspect",
5225
- paused === true ? "NAVI reserve is paused" : "NAVI available liquidity from adapter execution path"
5288
+ withdrawPaused ? "NAVI withdrawals are paused" : market.limited ? "NAVI reserve liquidity subject to the market outflow budget and oracle price" : "NAVI available liquidity from adapter execution path"
5226
5289
  ),
5227
5290
  limits,
5228
5291
  timing: oracleValidUntil === null ? [] : [
@@ -5785,8 +5848,8 @@ var LLVClientContexts = class {
5785
5848
  // src/navi-sdk-oracle.ts
5786
5849
  import * as NaviLending from "@naviprotocol/lending";
5787
5850
  var NAVI_ORACLE_UPDATE_FUNCTION = "update_single_price_v3";
5788
- var NAVI_LENDING_PACKAGE_ID = "0x512f28261c1a293f49416d8885b8d5d32bde6dd68a99a0be36fe42b248e6833a";
5789
- var NAVI_ORACLE_PACKAGE_ID = "0x4837ae94425107554c8847721cf9954c1ad8e10520433b9e37dc11c507148bea";
5851
+ var NAVI_LENDING_PACKAGE_ID = "0xb3e30ea20b048e468ec403bce5ae63769d7b3b3ff81dbed8e4a813167bbc0089";
5852
+ var NAVI_ORACLE_PACKAGE_ID = "0xaadae8013396f705a170d758854f348ac2be137cdbeb96e44e92bc52d9f739b5";
5790
5853
  var NAVI_MARKETS = ["main", "ember", "rwa", "sui-eco"];
5791
5854
  var naviLending = NaviLending;
5792
5855
  function normalizeId(value) {
@@ -6673,7 +6736,7 @@ var LLVClient = class {
6673
6736
  if (maxLossBps < 0n || maxLossBps > CONTRACT_MAX_WITHDRAW_LOSS_BPS) {
6674
6737
  throw new Error(`maxLossBps must be between 0 and ${CONTRACT_MAX_WITHDRAW_LOSS_BPS}`);
6675
6738
  }
6676
- const tx = new Transaction8();
6739
+ const tx = new Transaction9();
6677
6740
  tx.setSender(sender);
6678
6741
  emitBuild(tx, "buildWithdrawTransaction", {
6679
6742
  poolId,
@@ -6753,7 +6816,7 @@ var LLVClient = class {
6753
6816
  async previewWithdrawByShares(sender, poolId, shares, assetType) {
6754
6817
  const normalizedShares = normalizeBigintInput(shares, "shares");
6755
6818
  const at = await this.resolveAssetType(poolId, assetType);
6756
- const tx = new Transaction8();
6819
+ const tx = new Transaction9();
6757
6820
  tracedMoveCall(tx, {
6758
6821
  target: `${this.pkg}::vault_entry::preview_withdraw_by_shares`,
6759
6822
  typeArguments: [at, this.config.shareTokenType],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "haedal-lending-vault",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
5
  "description": "Haedal Lending Vault user SDK",
6
6
  "publishConfig": {
@@ -5,8 +5,8 @@ export declare const mainnetWalletDeployment: {
5
5
  readonly liquidityLayerOriginalPackageId: "0x3777fbddf314316bb4b3618538255b09eff5460de094f5084f21edbeacbec9a8";
6
6
  readonly llvGlobalId: "0x00b91a04f89f4bbdb98d52fb08b6652f3277ed6bd821817f8b0aa54a6fa9f233";
7
7
  readonly suilendPackageId: "0xd63e95654c6f6148db349782c5f1d324bca055a7bdbd36830e92edcfca958037";
8
- readonly scallopPackageId: "0x8c2fcc3af98331ee0f293bca262e26b6e2c8eeabc2042032d739cc83bd19697e";
9
- readonly naviPackageId: "0x9d413ab9ae6cb58ba1189de65ac39b201a5ada39018840ee88ecfe25a856923e";
8
+ readonly scallopPackageId: "0x604c83c0eae5e91241acead333d5db957998c047a3bf93b15e00129259294fb5";
9
+ readonly naviPackageId: "0x2cd6199760735ea60636d5c32ba659bac910f21946215d9e86785c385b3a59cd";
10
10
  readonly cetusPackageId: "0x2987edc5c5f9eee33df9504e5ed5c35cafd469e8ef1cf8602aed4ae6464f1118";
11
11
  readonly cetusClmmPackageId: "0x43642f77b03ef2d9a67da7cab726ffdc78cf72ea2c3265b0bc24eb4f258a1b3e";
12
12
  readonly alphalendPackageId: "0xb5efce80027054c03d6f929ccf87be1f050a39c5e7b3a7bd6fa465ebf022c2e2";
@@ -244,6 +244,7 @@ export declare const suilendPriceInfo: {
244
244
  };
245
245
  export declare function assertSuilendPriceInfoObjectId(objectId: string): void;
246
246
  export declare const mainnetAssetMetadata: Record<AssetKey, MainnetAssetMetadata>;
247
+ export declare const NAVI_PACKAGE_ID = "0xb3e30ea20b048e468ec403bce5ae63769d7b3b3ff81dbed8e4a813167bbc0089";
247
248
  /** Current's official xOracle v2 update surface used before legacy P6 legs. */
248
249
  export declare const currentOracleV2Config: {
249
250
  readonly updateUrl: "https://oracle.current.finance/oracleUpdate";
@@ -357,7 +358,7 @@ export declare function getAlphaLendRequiredOracleTokens(assetType: string): Alp
357
358
  */
358
359
  export declare const naviOracleConfig: {
359
360
  /** oracle::oracle_pro package ID */
360
- readonly oracleProPackageId: "0x4837ae94425107554c8847721cf9954c1ad8e10520433b9e37dc11c507148bea";
361
+ readonly oracleProPackageId: "0xaadae8013396f705a170d758854f348ac2be137cdbeb96e44e92bc52d9f739b5";
361
362
  readonly updateFunction: "update_single_price_v3";
362
363
  /** oracle::config::OracleConfig shared object */
363
364
  readonly oracleConfigId: "0x1afe1cb83634f581606cc73c4487ddd8cc39a944b951283af23f7d69d5589478";