@sodax/sdk 0.0.1-rc.18 → 0.0.1-rc.19

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.cts CHANGED
@@ -5330,7 +5330,7 @@ declare class MoneyMarketService {
5330
5330
  HubTxHash
5331
5331
  ], MoneyMarketError<'CREATE_SUPPLY_INTENT_FAILED' | 'SUPPLY_UNKNOWN_ERROR' | RelayErrorCode>>>;
5332
5332
  /**
5333
- * Create supply intent only (without submitting to Solver API)
5333
+ * Create supply intent only (without relay submit to Solver API)
5334
5334
  * NOTE: This method does not submit the intent to the Solver API, it only executes the transaction on the spoke chain
5335
5335
  * In order to successfully supply tokens, you need to:
5336
5336
  * 1. Check if the allowance is sufficient
@@ -5394,7 +5394,7 @@ declare class MoneyMarketService {
5394
5394
  HubTxHash
5395
5395
  ], MoneyMarketError<'CREATE_BORROW_INTENT_FAILED' | 'BORROW_UNKNOWN_ERROR' | RelayErrorCode>>>;
5396
5396
  /**
5397
- * Create borrow intent only (without submitting to Solver API)
5397
+ * Create borrow intent only (without relay and submit to Solver API)
5398
5398
  * NOTE: This method does not submit the intent to the Solver API, it only executes the transaction on the spoke chain
5399
5399
  * In order to successfully borrow tokens, you need to:
5400
5400
  * 1. Execute the borrow transaction on the spoke chain
@@ -5457,7 +5457,7 @@ declare class MoneyMarketService {
5457
5457
  HubTxHash
5458
5458
  ], MoneyMarketError<'CREATE_WITHDRAW_INTENT_FAILED' | 'WITHDRAW_UNKNOWN_ERROR' | RelayErrorCode>>>;
5459
5459
  /**
5460
- * Create withdraw intent only (without submitting to Solver API)
5460
+ * Create withdraw intent only (without relay and submit to Solver API)
5461
5461
  * NOTE: This method does not submit the intent to the Solver API, it only executes the transaction on the spoke chain
5462
5462
  * In order to successfully withdraw tokens, you need to:
5463
5463
  * 1. Execute the withdraw transaction on the spoke chain
@@ -5520,7 +5520,7 @@ declare class MoneyMarketService {
5520
5520
  HubTxHash
5521
5521
  ], MoneyMarketError<'CREATE_REPAY_INTENT_FAILED' | 'REPAY_UNKNOWN_ERROR' | RelayErrorCode>>>;
5522
5522
  /**
5523
- * Create repay intent only (without submitting to Solver API)
5523
+ * Create repay intent only (without relay and submit to Solver API)
5524
5524
  * NOTE: This method does not submit the intent to the Solver API, it only executes the transaction on the spoke chain
5525
5525
  * In order to successfully repay tokens, you need to:
5526
5526
  * 1. Check if the allowance is sufficient
package/dist/index.d.ts CHANGED
@@ -5330,7 +5330,7 @@ declare class MoneyMarketService {
5330
5330
  HubTxHash
5331
5331
  ], MoneyMarketError<'CREATE_SUPPLY_INTENT_FAILED' | 'SUPPLY_UNKNOWN_ERROR' | RelayErrorCode>>>;
5332
5332
  /**
5333
- * Create supply intent only (without submitting to Solver API)
5333
+ * Create supply intent only (without relay submit to Solver API)
5334
5334
  * NOTE: This method does not submit the intent to the Solver API, it only executes the transaction on the spoke chain
5335
5335
  * In order to successfully supply tokens, you need to:
5336
5336
  * 1. Check if the allowance is sufficient
@@ -5394,7 +5394,7 @@ declare class MoneyMarketService {
5394
5394
  HubTxHash
5395
5395
  ], MoneyMarketError<'CREATE_BORROW_INTENT_FAILED' | 'BORROW_UNKNOWN_ERROR' | RelayErrorCode>>>;
5396
5396
  /**
5397
- * Create borrow intent only (without submitting to Solver API)
5397
+ * Create borrow intent only (without relay and submit to Solver API)
5398
5398
  * NOTE: This method does not submit the intent to the Solver API, it only executes the transaction on the spoke chain
5399
5399
  * In order to successfully borrow tokens, you need to:
5400
5400
  * 1. Execute the borrow transaction on the spoke chain
@@ -5457,7 +5457,7 @@ declare class MoneyMarketService {
5457
5457
  HubTxHash
5458
5458
  ], MoneyMarketError<'CREATE_WITHDRAW_INTENT_FAILED' | 'WITHDRAW_UNKNOWN_ERROR' | RelayErrorCode>>>;
5459
5459
  /**
5460
- * Create withdraw intent only (without submitting to Solver API)
5460
+ * Create withdraw intent only (without relay and submit to Solver API)
5461
5461
  * NOTE: This method does not submit the intent to the Solver API, it only executes the transaction on the spoke chain
5462
5462
  * In order to successfully withdraw tokens, you need to:
5463
5463
  * 1. Execute the withdraw transaction on the spoke chain
@@ -5520,7 +5520,7 @@ declare class MoneyMarketService {
5520
5520
  HubTxHash
5521
5521
  ], MoneyMarketError<'CREATE_REPAY_INTENT_FAILED' | 'REPAY_UNKNOWN_ERROR' | RelayErrorCode>>>;
5522
5522
  /**
5523
- * Create repay intent only (without submitting to Solver API)
5523
+ * Create repay intent only (without relay and submit to Solver API)
5524
5524
  * NOTE: This method does not submit the intent to the Solver API, it only executes the transaction on the spoke chain
5525
5525
  * In order to successfully repay tokens, you need to:
5526
5526
  * 1. Check if the allowance is sufficient
package/dist/index.mjs CHANGED
@@ -6188,12 +6188,9 @@ var hubChainConfig = {
6188
6188
  assetManager: "0x60c5681bD1DB4e50735c4cA3386005A4BA4937C0",
6189
6189
  hubWallet: "0xA0ed3047D358648F2C0583B415CffCA571FDB544",
6190
6190
  xTokenManager: "0x5bD2843de9D6b0e6A05d0FB742072274EA3C6CA3",
6191
- icxMigration: "0x8Af7cae2c8377BEDD8820A5ad096AaFA29D839cc",
6192
- // TODO update with "final" address before migration
6191
+ icxMigration: "0x8294DE9fc60F5ABCc19245E5857071d7C42B9875",
6193
6192
  balnSwap: "0x610a90B61b89a98b954d5750E94834Aa45d08d10",
6194
- // TODO update with "final" address before migration
6195
- sodaToken: "0x8515352CB9832D1d379D52366D1E995ADd358420"
6196
- // TODO update with "final" address before migration
6193
+ sodaToken: "0x7c7d53eecda37a87ce0d5bf8e0b24512a48dc963"
6197
6194
  },
6198
6195
  nativeToken: "0x0000000000000000000000000000000000000000",
6199
6196
  supportedTokens: []
@@ -9495,7 +9492,7 @@ var MoneyMarketService = class _MoneyMarketService {
9495
9492
  }
9496
9493
  }
9497
9494
  /**
9498
- * Create supply intent only (without submitting to Solver API)
9495
+ * Create supply intent only (without relay submit to Solver API)
9499
9496
  * NOTE: This method does not submit the intent to the Solver API, it only executes the transaction on the spoke chain
9500
9497
  * In order to successfully supply tokens, you need to:
9501
9498
  * 1. Check if the allowance is sufficient
@@ -9653,7 +9650,7 @@ var MoneyMarketService = class _MoneyMarketService {
9653
9650
  }
9654
9651
  }
9655
9652
  /**
9656
- * Create borrow intent only (without submitting to Solver API)
9653
+ * Create borrow intent only (without relay and submit to Solver API)
9657
9654
  * NOTE: This method does not submit the intent to the Solver API, it only executes the transaction on the spoke chain
9658
9655
  * In order to successfully borrow tokens, you need to:
9659
9656
  * 1. Execute the borrow transaction on the spoke chain
@@ -9788,7 +9785,7 @@ var MoneyMarketService = class _MoneyMarketService {
9788
9785
  }
9789
9786
  }
9790
9787
  /**
9791
- * Create withdraw intent only (without submitting to Solver API)
9788
+ * Create withdraw intent only (without relay and submit to Solver API)
9792
9789
  * NOTE: This method does not submit the intent to the Solver API, it only executes the transaction on the spoke chain
9793
9790
  * In order to successfully withdraw tokens, you need to:
9794
9791
  * 1. Execute the withdraw transaction on the spoke chain
@@ -9923,7 +9920,7 @@ var MoneyMarketService = class _MoneyMarketService {
9923
9920
  }
9924
9921
  }
9925
9922
  /**
9926
- * Create repay intent only (without submitting to Solver API)
9923
+ * Create repay intent only (without relay and submit to Solver API)
9927
9924
  * NOTE: This method does not submit the intent to the Solver API, it only executes the transaction on the spoke chain
9928
9925
  * In order to successfully repay tokens, you need to:
9929
9926
  * 1. Check if the allowance is sufficient
@@ -11627,7 +11624,7 @@ function isSuiSpokeProvider(value) {
11627
11624
  return typeof value === "object" && value !== null && value instanceof SuiSpokeProvider && value.chainConfig.chain.type === "SUI";
11628
11625
  }
11629
11626
  function isConfiguredSolverConfig(value) {
11630
- return typeof value === "object" && value !== null && "intentsContract" in value && "solverApiEndpoint" in value && "relayerApiEndpoint" in value;
11627
+ return typeof value === "object" && value !== null && "intentsContract" in value && "solverApiEndpoint" in value;
11631
11628
  }
11632
11629
  function isConfiguredMoneyMarketConfig(value) {
11633
11630
  return typeof value === "object" && value !== null && "lendingPool" in value && "uiPoolDataProvider" in value && "poolAddressesProvider" in value && "bnUSD" in value && "bnUSDVault" in value;