@sodax/types 2.0.0-rc.3 → 2.0.0-rc.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.
Files changed (189) hide show
  1. package/dist/backend/backendApi.d.ts +0 -1
  2. package/dist/backend/backendApi.js +0 -1
  3. package/dist/backend/index.d.ts +0 -1
  4. package/dist/backend/index.js +0 -1
  5. package/dist/bitcoin/bitcoin.d.ts +0 -1
  6. package/dist/bitcoin/bitcoin.js +0 -1
  7. package/dist/bitcoin/index.d.ts +0 -1
  8. package/dist/bitcoin/index.js +0 -1
  9. package/dist/chains/chain-keys.d.ts +0 -1
  10. package/dist/chains/chain-keys.js +0 -1
  11. package/dist/chains/chains.d.ts +2 -3
  12. package/dist/chains/chains.js +0 -1
  13. package/dist/chains/index.d.ts +0 -1
  14. package/dist/chains/index.js +0 -1
  15. package/dist/chains/tokens.d.ts +3 -4
  16. package/dist/chains/tokens.js +1 -2
  17. package/dist/common/common.d.ts +0 -1
  18. package/dist/common/common.js +0 -1
  19. package/dist/common/constants.d.ts +0 -1
  20. package/dist/common/constants.js +0 -1
  21. package/dist/common/index.d.ts +0 -1
  22. package/dist/common/index.js +0 -1
  23. package/dist/dex/dex.d.ts +0 -1
  24. package/dist/dex/dex.js +0 -1
  25. package/dist/dex/index.d.ts +0 -1
  26. package/dist/dex/index.js +0 -1
  27. package/dist/dex/pancakeswap-infinity.d.ts +0 -1
  28. package/dist/dex/pancakeswap-infinity.js +0 -1
  29. package/dist/evm/evm.d.ts +0 -1
  30. package/dist/evm/evm.js +0 -1
  31. package/dist/evm/index.d.ts +0 -1
  32. package/dist/evm/index.js +0 -1
  33. package/dist/icon/icon.d.ts +0 -1
  34. package/dist/icon/icon.js +0 -1
  35. package/dist/icon/index.d.ts +0 -1
  36. package/dist/icon/index.js +0 -1
  37. package/dist/index.d.ts +1 -2
  38. package/dist/index.js +1 -2
  39. package/dist/injective/index.d.ts +0 -1
  40. package/dist/injective/index.js +0 -1
  41. package/dist/injective/injective.d.ts +0 -1
  42. package/dist/injective/injective.js +0 -1
  43. package/dist/moneyMarket/index.d.ts +0 -1
  44. package/dist/moneyMarket/index.js +0 -1
  45. package/dist/moneyMarket/moneyMarket.d.ts +18 -3
  46. package/dist/moneyMarket/moneyMarket.js +1 -1
  47. package/dist/near/index.d.ts +0 -1
  48. package/dist/near/index.js +0 -1
  49. package/dist/near/near-api-js.d.ts +0 -1
  50. package/dist/near/near-api-js.js +0 -1
  51. package/dist/near/near.d.ts +0 -1
  52. package/dist/near/near.js +0 -1
  53. package/dist/shared/index.d.ts +0 -1
  54. package/dist/shared/index.js +0 -1
  55. package/dist/shared/shared.d.ts +0 -1
  56. package/dist/shared/shared.js +0 -1
  57. package/dist/sodax-config/index.d.ts +0 -1
  58. package/dist/sodax-config/index.js +0 -1
  59. package/dist/sodax-config/sodax-config.d.ts +12 -13
  60. package/dist/sodax-config/sodax-config.js +0 -1
  61. package/dist/solana/index.d.ts +0 -1
  62. package/dist/solana/index.js +0 -1
  63. package/dist/solana/solana-web3.d.ts +0 -1
  64. package/dist/solana/solana-web3.js +0 -1
  65. package/dist/solana/solana.d.ts +0 -1
  66. package/dist/solana/solana.js +0 -1
  67. package/dist/stacks/index.d.ts +0 -1
  68. package/dist/stacks/index.js +0 -1
  69. package/dist/stacks/stacks.d.ts +0 -1
  70. package/dist/stacks/stacks.js +0 -1
  71. package/dist/stellar/index.d.ts +0 -1
  72. package/dist/stellar/index.js +0 -1
  73. package/dist/stellar/stellar.d.ts +0 -1
  74. package/dist/stellar/stellar.js +0 -1
  75. package/dist/sui/index.d.ts +0 -1
  76. package/dist/sui/index.js +0 -1
  77. package/dist/sui/sui.d.ts +0 -1
  78. package/dist/sui/sui.js +0 -1
  79. package/dist/swap/index.d.ts +0 -1
  80. package/dist/swap/index.js +0 -1
  81. package/dist/swap/swap.d.ts +2 -19
  82. package/dist/swap/swap.js +0 -2
  83. package/dist/utils/deep-partial.d.ts +0 -1
  84. package/dist/utils/deep-partial.js +0 -1
  85. package/dist/utils/index.d.ts +0 -1
  86. package/dist/utils/index.js +0 -1
  87. package/dist/utils/utils.d.ts +0 -1
  88. package/dist/utils/utils.js +0 -1
  89. package/dist/wallet/index.d.ts +0 -1
  90. package/dist/wallet/index.js +0 -1
  91. package/dist/wallet/providers.d.ts +0 -1
  92. package/dist/wallet/providers.js +0 -1
  93. package/dist/wallet/wallet.d.ts +0 -1
  94. package/dist/wallet/wallet.js +0 -1
  95. package/package.json +28 -11
  96. package/dist/backend/backendApi.d.ts.map +0 -1
  97. package/dist/backend/backendApi.js.map +0 -1
  98. package/dist/backend/index.d.ts.map +0 -1
  99. package/dist/backend/index.js.map +0 -1
  100. package/dist/bitcoin/bitcoin.d.ts.map +0 -1
  101. package/dist/bitcoin/bitcoin.js.map +0 -1
  102. package/dist/bitcoin/index.d.ts.map +0 -1
  103. package/dist/bitcoin/index.js.map +0 -1
  104. package/dist/chains/chain-keys.d.ts.map +0 -1
  105. package/dist/chains/chain-keys.js.map +0 -1
  106. package/dist/chains/chains.d.ts.map +0 -1
  107. package/dist/chains/chains.js.map +0 -1
  108. package/dist/chains/index.d.ts.map +0 -1
  109. package/dist/chains/index.js.map +0 -1
  110. package/dist/chains/tokens.d.ts.map +0 -1
  111. package/dist/chains/tokens.js.map +0 -1
  112. package/dist/common/common.d.ts.map +0 -1
  113. package/dist/common/common.js.map +0 -1
  114. package/dist/common/constants.d.ts.map +0 -1
  115. package/dist/common/constants.js.map +0 -1
  116. package/dist/common/index.d.ts.map +0 -1
  117. package/dist/common/index.js.map +0 -1
  118. package/dist/dex/dex.d.ts.map +0 -1
  119. package/dist/dex/dex.js.map +0 -1
  120. package/dist/dex/index.d.ts.map +0 -1
  121. package/dist/dex/index.js.map +0 -1
  122. package/dist/dex/pancakeswap-infinity.d.ts.map +0 -1
  123. package/dist/dex/pancakeswap-infinity.js.map +0 -1
  124. package/dist/evm/evm.d.ts.map +0 -1
  125. package/dist/evm/evm.js.map +0 -1
  126. package/dist/evm/index.d.ts.map +0 -1
  127. package/dist/evm/index.js.map +0 -1
  128. package/dist/icon/icon.d.ts.map +0 -1
  129. package/dist/icon/icon.js.map +0 -1
  130. package/dist/icon/index.d.ts.map +0 -1
  131. package/dist/icon/index.js.map +0 -1
  132. package/dist/index.d.ts.map +0 -1
  133. package/dist/index.js.map +0 -1
  134. package/dist/injective/index.d.ts.map +0 -1
  135. package/dist/injective/index.js.map +0 -1
  136. package/dist/injective/injective.d.ts.map +0 -1
  137. package/dist/injective/injective.js.map +0 -1
  138. package/dist/moneyMarket/index.d.ts.map +0 -1
  139. package/dist/moneyMarket/index.js.map +0 -1
  140. package/dist/moneyMarket/moneyMarket.d.ts.map +0 -1
  141. package/dist/moneyMarket/moneyMarket.js.map +0 -1
  142. package/dist/near/index.d.ts.map +0 -1
  143. package/dist/near/index.js.map +0 -1
  144. package/dist/near/near-api-js.d.ts.map +0 -1
  145. package/dist/near/near-api-js.js.map +0 -1
  146. package/dist/near/near.d.ts.map +0 -1
  147. package/dist/near/near.js.map +0 -1
  148. package/dist/shared/index.d.ts.map +0 -1
  149. package/dist/shared/index.js.map +0 -1
  150. package/dist/shared/shared.d.ts.map +0 -1
  151. package/dist/shared/shared.js.map +0 -1
  152. package/dist/sodax-config/index.d.ts.map +0 -1
  153. package/dist/sodax-config/index.js.map +0 -1
  154. package/dist/sodax-config/sodax-config.d.ts.map +0 -1
  155. package/dist/sodax-config/sodax-config.js.map +0 -1
  156. package/dist/solana/index.d.ts.map +0 -1
  157. package/dist/solana/index.js.map +0 -1
  158. package/dist/solana/solana-web3.d.ts.map +0 -1
  159. package/dist/solana/solana-web3.js.map +0 -1
  160. package/dist/solana/solana.d.ts.map +0 -1
  161. package/dist/solana/solana.js.map +0 -1
  162. package/dist/stacks/index.d.ts.map +0 -1
  163. package/dist/stacks/index.js.map +0 -1
  164. package/dist/stacks/stacks.d.ts.map +0 -1
  165. package/dist/stacks/stacks.js.map +0 -1
  166. package/dist/stellar/index.d.ts.map +0 -1
  167. package/dist/stellar/index.js.map +0 -1
  168. package/dist/stellar/stellar.d.ts.map +0 -1
  169. package/dist/stellar/stellar.js.map +0 -1
  170. package/dist/sui/index.d.ts.map +0 -1
  171. package/dist/sui/index.js.map +0 -1
  172. package/dist/sui/sui.d.ts.map +0 -1
  173. package/dist/sui/sui.js.map +0 -1
  174. package/dist/swap/index.d.ts.map +0 -1
  175. package/dist/swap/index.js.map +0 -1
  176. package/dist/swap/swap.d.ts.map +0 -1
  177. package/dist/swap/swap.js.map +0 -1
  178. package/dist/utils/deep-partial.d.ts.map +0 -1
  179. package/dist/utils/deep-partial.js.map +0 -1
  180. package/dist/utils/index.d.ts.map +0 -1
  181. package/dist/utils/index.js.map +0 -1
  182. package/dist/utils/utils.d.ts.map +0 -1
  183. package/dist/utils/utils.js.map +0 -1
  184. package/dist/wallet/index.d.ts.map +0 -1
  185. package/dist/wallet/index.js.map +0 -1
  186. package/dist/wallet/providers.d.ts.map +0 -1
  187. package/dist/wallet/providers.js.map +0 -1
  188. package/dist/wallet/wallet.d.ts.map +0 -1
  189. package/dist/wallet/wallet.js.map +0 -1
@@ -72,4 +72,3 @@ export interface SubmitSwapTxStatusResponse {
72
72
  success: boolean;
73
73
  data: SubmitSwapTxStatusData;
74
74
  }
75
- //# sourceMappingURL=backendApi.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=backendApi.js.map
@@ -1,2 +1 @@
1
1
  export * from './backendApi.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from './backendApi.js';
2
- //# sourceMappingURL=index.js.map
@@ -106,4 +106,3 @@ export interface UTXO {
106
106
  };
107
107
  }
108
108
  export {};
109
- //# sourceMappingURL=bitcoin.d.ts.map
@@ -20,4 +20,3 @@ export function detectBitcoinAddressType(address) {
20
20
  export const BTC_WALLET_ADDRESS_TYPES = ['taproot', 'segwit'];
21
21
  /** Address types that Sodax supports for transactions. */
22
22
  const BTC_ADDRESS_TYPES = ['P2PKH', 'P2SH', 'P2WPKH', 'P2TR'];
23
- //# sourceMappingURL=bitcoin.js.map
@@ -1,2 +1 @@
1
1
  export * from './bitcoin.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from './bitcoin.js';
2
- //# sourceMappingURL=index.js.map
@@ -28,4 +28,3 @@ export type ChainKey = (typeof ChainKeys)[keyof typeof ChainKeys];
28
28
  export declare const CHAIN_KEYS: ("0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "injective-1" | "sonic" | "0x1.icon" | "sui" | "0xa.optimism" | "0x89.polygon" | "solana" | "stellar" | "hyper" | "lightlink" | "near" | "ethereum" | "bitcoin" | "redbelly" | "0x2019.kaia" | "stacks")[];
29
29
  export declare const spokeChainKeysSet: Set<"0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "injective-1" | "sonic" | "0x1.icon" | "sui" | "0xa.optimism" | "0x89.polygon" | "solana" | "stellar" | "hyper" | "lightlink" | "near" | "ethereum" | "bitcoin" | "redbelly" | "0x2019.kaia" | "stacks">;
30
30
  export type ChainType = (typeof ChainTypeArr)[number];
31
- //# sourceMappingURL=chain-keys.d.ts.map
@@ -36,4 +36,3 @@ export const ChainKeys = {
36
36
  };
37
37
  export const CHAIN_KEYS = Object.values(ChainKeys);
38
38
  export const spokeChainKeysSet = new Set(CHAIN_KEYS);
39
- //# sourceMappingURL=chain-keys.js.map
@@ -709,7 +709,7 @@ export declare const spokeChainConfig: {
709
709
  readonly sodaNEAR: {
710
710
  readonly symbol: "sodaNEAR";
711
711
  readonly name: "SODA NEAR";
712
- readonly decimals: 24;
712
+ readonly decimals: 18;
713
713
  readonly address: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
714
714
  readonly chainKey: "sonic";
715
715
  readonly hubAsset: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
@@ -3382,7 +3382,7 @@ export declare const hubConfig: {
3382
3382
  readonly sodaNEAR: {
3383
3383
  readonly symbol: "sodaNEAR";
3384
3384
  readonly name: "SODA NEAR";
3385
- readonly decimals: 24;
3385
+ readonly decimals: 18;
3386
3386
  readonly address: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
3387
3387
  readonly chainKey: "sonic";
3388
3388
  readonly hubAsset: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
@@ -3488,4 +3488,3 @@ export declare const hubConfig: {
3488
3488
  };
3489
3489
  export type IntentRelayChainId = (typeof RelayChainIdMap)[keyof typeof RelayChainIdMap];
3490
3490
  export type IntentRelayChainIdMap = Record<ChainKey, IntentRelayChainId>;
3491
- //# sourceMappingURL=chains.d.ts.map
@@ -709,4 +709,3 @@ export const hubConfig = {
709
709
  },
710
710
  rpcUrl: 'https://rpc.soniclabs.com',
711
711
  };
712
- //# sourceMappingURL=chains.js.map
@@ -1,3 +1,2 @@
1
1
  export * from './chains.js';
2
2
  export * from './tokens.js';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export * from './chains.js';
2
2
  export * from './tokens.js';
3
- //# sourceMappingURL=index.js.map
@@ -203,7 +203,7 @@ export declare const SodaTokens: {
203
203
  readonly sodaNEAR: {
204
204
  readonly symbol: "sodaNEAR";
205
205
  readonly name: "SODA NEAR";
206
- readonly decimals: 24;
206
+ readonly decimals: 18;
207
207
  readonly address: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
208
208
  readonly chainKey: "sonic";
209
209
  readonly hubAsset: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
@@ -421,7 +421,7 @@ export declare const sonicSupportedTokens: {
421
421
  readonly sodaNEAR: {
422
422
  readonly symbol: "sodaNEAR";
423
423
  readonly name: "SODA NEAR";
424
- readonly decimals: 24;
424
+ readonly decimals: 18;
425
425
  readonly address: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
426
426
  readonly chainKey: "sonic";
427
427
  readonly hubAsset: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
@@ -2496,7 +2496,7 @@ export declare const supportedTokensByChain: {
2496
2496
  readonly sodaNEAR: {
2497
2497
  readonly symbol: "sodaNEAR";
2498
2498
  readonly name: "SODA NEAR";
2499
- readonly decimals: 24;
2499
+ readonly decimals: 18;
2500
2500
  readonly address: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
2501
2501
  readonly chainKey: "sonic";
2502
2502
  readonly hubAsset: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
@@ -4387,4 +4387,3 @@ export declare const supportedTokensByChain: {
4387
4387
  };
4388
4388
  };
4389
4389
  };
4390
- //# sourceMappingURL=tokens.d.ts.map
@@ -217,7 +217,7 @@ export const SodaTokens = {
217
217
  sodaNEAR: {
218
218
  symbol: 'sodaNEAR',
219
219
  name: 'SODA NEAR',
220
- decimals: 24,
220
+ decimals: 18,
221
221
  address: '0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39',
222
222
  chainKey: ChainKeys.SONIC_MAINNET,
223
223
  hubAsset: '0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39',
@@ -2136,4 +2136,3 @@ export const supportedTokensByChain = {
2136
2136
  [ChainKeys.KAIA_MAINNET]: kaiaSupportedTokens,
2137
2137
  [ChainKeys.STACKS_MAINNET]: stacksSupportedTokens,
2138
2138
  };
2139
- //# sourceMappingURL=tokens.js.map
@@ -279,4 +279,3 @@ export type GetActionChainType<T extends {
279
279
  srcChainKey: SpokeChainKey;
280
280
  }> = GetChainType<T['srcChainKey']>;
281
281
  export {};
282
- //# sourceMappingURL=common.d.ts.map
@@ -27,4 +27,3 @@ export var SolverIntentErrorCode;
27
27
  SolverIntentErrorCode[SolverIntentErrorCode["CREATE_INTENT_ORDER_FAILED"] = -998] = "CREATE_INTENT_ORDER_FAILED";
28
28
  SolverIntentErrorCode[SolverIntentErrorCode["UNKNOWN"] = -999] = "UNKNOWN";
29
29
  })(SolverIntentErrorCode || (SolverIntentErrorCode = {}));
30
- //# sourceMappingURL=common.js.map
@@ -67,4 +67,3 @@ export declare const relayConfig: {
67
67
  readonly stacks: 60n;
68
68
  };
69
69
  };
70
- //# sourceMappingURL=constants.d.ts.map
@@ -28,4 +28,3 @@ export const relayConfig = {
28
28
  relayerApiEndpoint: DEFAULT_RELAYER_API_ENDPOINT,
29
29
  relayChainIdMap: RelayChainIdMap,
30
30
  };
31
- //# sourceMappingURL=constants.js.map
@@ -1,3 +1,2 @@
1
1
  export * from './common.js';
2
2
  export * from './constants.js';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export * from './common.js';
2
2
  export * from './constants.js';
3
- //# sourceMappingURL=index.js.map
package/dist/dex/dex.d.ts CHANGED
@@ -265,4 +265,3 @@ export declare const dexConfig: {
265
265
  readonly '0x3e102c7d9b46c92abcd4c2e1c70f362b47a201a6': "0x4effB5813271699683C25c734F4daBc45B363709";
266
266
  };
267
267
  };
268
- //# sourceMappingURL=dex.d.ts.map
package/dist/dex/dex.js CHANGED
@@ -125,4 +125,3 @@ export const dexConfig = {
125
125
  dexPools: dexPools,
126
126
  statATokenAddresses: StatATokenAddresses,
127
127
  };
128
- //# sourceMappingURL=dex.js.map
@@ -1,2 +1 @@
1
1
  export * from './dex.js';
2
- //# sourceMappingURL=index.d.ts.map
package/dist/dex/index.js CHANGED
@@ -1,2 +1 @@
1
1
  export * from './dex.js';
2
- //# sourceMappingURL=index.js.map
@@ -536,4 +536,3 @@ export declare enum HookType {
536
536
  Universal = "Universal",
537
537
  PerPool = "PerPool"
538
538
  }
539
- //# sourceMappingURL=pancakeswap-infinity.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export {};
2
2
  //# sourceMappingURL=types.d.ts.map
3
- //# sourceMappingURL=pancakeswap-infinity.js.map
package/dist/evm/evm.d.ts CHANGED
@@ -45,4 +45,3 @@ export interface IEvmWalletProvider extends ICoreWallet {
45
45
  sendTransaction: (evmRawTx: EvmRawTransaction) => Promise<Hash>;
46
46
  waitForTransactionReceipt: (txHash: Hash) => Promise<EvmRawTransactionReceipt>;
47
47
  }
48
- //# sourceMappingURL=evm.d.ts.map
package/dist/evm/evm.js CHANGED
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=evm.js.map
@@ -1,2 +1 @@
1
1
  export * from './evm.js';
2
- //# sourceMappingURL=index.d.ts.map
package/dist/evm/index.js CHANGED
@@ -1,2 +1 @@
1
1
  export * from './evm.js';
2
- //# sourceMappingURL=index.js.map
@@ -52,4 +52,3 @@ export interface IIconWalletProvider extends ICoreWallet {
52
52
  sendTransaction: (iconRawTx: IcxCallTransaction) => Promise<Hash>;
53
53
  waitForTransactionReceipt: (txHash: Hash) => Promise<IconTransactionResult>;
54
54
  }
55
- //# sourceMappingURL=icon.d.ts.map
package/dist/icon/icon.js CHANGED
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=icon.js.map
@@ -1,2 +1 @@
1
1
  export * from './icon.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from './icon.js';
2
- //# sourceMappingURL=index.js.map
package/dist/index.d.ts CHANGED
@@ -17,5 +17,4 @@ export * from './sui/index.js';
17
17
  export * from './swap/index.js';
18
18
  export * from './utils/index.js';
19
19
  export * from './wallet/index.js';
20
- export declare const CONFIG_VERSION = 201;
21
- //# sourceMappingURL=index.d.ts.map
20
+ export declare const CONFIG_VERSION = 202;
package/dist/index.js CHANGED
@@ -17,5 +17,4 @@ export * from './sui/index.js';
17
17
  export * from './swap/index.js';
18
18
  export * from './utils/index.js';
19
19
  export * from './wallet/index.js';
20
- export const CONFIG_VERSION = 201; // this value should be incremented (inside release/sdk branch) each time @sodax/types package is updated
21
- //# sourceMappingURL=index.js.map
20
+ export const CONFIG_VERSION = 202; // this value should be incremented (inside release/sdk branch) each time @sodax/types package is updated
@@ -1,2 +1 @@
1
1
  export * from './injective.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from './injective.js';
2
- //# sourceMappingURL=index.js.map
@@ -100,4 +100,3 @@ export interface IInjectiveWalletProvider extends ICoreWallet {
100
100
  getWalletAddress: () => Promise<InjectiveEoaAddress>;
101
101
  execute: (senderAddress: InjectiveEoaAddress, contractAddress: string, msg: JsonObject, funds?: InjectiveCoin[]) => Promise<InjectiveExecuteResponse>;
102
102
  }
103
- //# sourceMappingURL=injective.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=injective.js.map
@@ -1,2 +1 @@
1
1
  export * from './moneyMarket.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from './moneyMarket.js';
2
- //# sourceMappingURL=index.js.map
@@ -381,6 +381,14 @@ export declare const moneyMarketSupportedTokens: {
381
381
  readonly chainKey: "hyper";
382
382
  readonly hubAsset: "0x87f73744d919447e6f8220f268bcbbfa0cbfafa3";
383
383
  readonly vault: "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876";
384
+ }, {
385
+ readonly symbol: "USDC";
386
+ readonly name: "USD Coin";
387
+ readonly decimals: 6;
388
+ readonly address: "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
389
+ readonly chainKey: "hyper";
390
+ readonly hubAsset: "0x0f78b995d113712deeb17d96638e9d7525d409c6";
391
+ readonly vault: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
384
392
  }];
385
393
  readonly lightlink: [{
386
394
  readonly symbol: "ETH";
@@ -879,7 +887,7 @@ export declare const moneyMarketSupportedTokens: {
879
887
  } | {
880
888
  readonly symbol: "sodaNEAR";
881
889
  readonly name: "SODA NEAR";
882
- readonly decimals: 24;
890
+ readonly decimals: 18;
883
891
  readonly address: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
884
892
  readonly chainKey: "sonic";
885
893
  readonly hubAsset: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
@@ -1604,6 +1612,14 @@ export declare const moneyMarketConfig: {
1604
1612
  readonly chainKey: "hyper";
1605
1613
  readonly hubAsset: "0x87f73744d919447e6f8220f268bcbbfa0cbfafa3";
1606
1614
  readonly vault: "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876";
1615
+ }, {
1616
+ readonly symbol: "USDC";
1617
+ readonly name: "USD Coin";
1618
+ readonly decimals: 6;
1619
+ readonly address: "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
1620
+ readonly chainKey: "hyper";
1621
+ readonly hubAsset: "0x0f78b995d113712deeb17d96638e9d7525d409c6";
1622
+ readonly vault: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
1607
1623
  }];
1608
1624
  readonly lightlink: [{
1609
1625
  readonly symbol: "ETH";
@@ -2102,7 +2118,7 @@ export declare const moneyMarketConfig: {
2102
2118
  } | {
2103
2119
  readonly symbol: "sodaNEAR";
2104
2120
  readonly name: "SODA NEAR";
2105
- readonly decimals: 24;
2121
+ readonly decimals: 18;
2106
2122
  readonly address: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
2107
2123
  readonly chainKey: "sonic";
2108
2124
  readonly hubAsset: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
@@ -2437,4 +2453,3 @@ export declare const moneyMarketConfig: {
2437
2453
  };
2438
2454
  readonly supportedReserveAssets: [...("0x21685E341DE7844135329914Be6Bd8D16982d834" | "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d" | "0x4effB5813271699683C25c734F4daBc45B363709" | "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b" | "0x14238D267557E9d799016ad635B53CD15935d290" | "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87" | "0x6BC8C37cba91F76E68C9e6d689A9C21E4d32079B" | "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13" | "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3" | "0xE801CA34E19aBCbFeA12025378D19c4FBE250131" | "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833" | "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876" | "0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51" | "0x62ecc3Eeb80a162c57624B3fF80313FE69f5203e" | "0x208ED38f4783328aA9eBFeC360D32e7520A9B779" | "0x6E81124fC5d2Bf666B16a0A5d90066eBf35c7411" | "0x4B207114F9118dEAC56436e1aE3c45648783c7Ac" | "0x14C5eB2D25dFb834852dFc85744875d1eCb09748" | "0xCb6B152D3a943f25157381aFcA7fEFCD2ef5a357" | "0x58b0538D7EEaeE69EF32f9F1dE5cbF32A10a977B" | "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39" | "0xD7d41b5f803b6A40F8A6eAa34E459A4564e39891" | "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483" | "0x243b0c26c8b38793908d7C64e8510f21B19B4613")[], "0xE801CA34E19aBCbFeA12025378D19c4FBE250131"];
2439
2455
  };
2440
- //# sourceMappingURL=moneyMarket.d.ts.map
@@ -62,6 +62,7 @@ export const moneyMarketSupportedTokens = {
62
62
  spokeChainConfig[ChainKeys.HYPEREVM_MAINNET].supportedTokens.bnUSD,
63
63
  spokeChainConfig[ChainKeys.HYPEREVM_MAINNET].supportedTokens.SODA,
64
64
  spokeChainConfig[ChainKeys.HYPEREVM_MAINNET].supportedTokens.USDT0,
65
+ spokeChainConfig[ChainKeys.HYPEREVM_MAINNET].supportedTokens.USDC,
65
66
  ],
66
67
  [ChainKeys.LIGHTLINK_MAINNET]: [
67
68
  spokeChainConfig[ChainKeys.LIGHTLINK_MAINNET].supportedTokens.ETH,
@@ -191,4 +192,3 @@ export const moneyMarketConfig = {
191
192
  // get supported spoke chain tokens for money market
192
193
  // export const getSupportedMoneyMarketTokens = (chainId: SpokeChainKey): readonly Token[] =>
193
194
  // moneyMarketSupportedTokens[chainId];
194
- //# sourceMappingURL=moneyMarket.js.map
@@ -1,2 +1 @@
1
1
  export * from './near.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from './near.js';
2
- //# sourceMappingURL=index.js.map
@@ -6116,4 +6116,3 @@ export type ValidatorsResponses = {
6116
6116
  200: JsonRpcResponseForRpcValidatorResponseAndRpcValidatorError;
6117
6117
  };
6118
6118
  export type ValidatorsResponse = ValidatorsResponses[keyof ValidatorsResponses];
6119
- //# sourceMappingURL=near-api-js.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=near-api-js.js.map
@@ -72,4 +72,3 @@ export interface INearWalletProvider extends ICoreWallet {
72
72
  getRawTransaction(params: CallContractParams): Promise<NearRawTransaction>;
73
73
  signAndSubmitTxn(tx: NearRawTransaction): Promise<string>;
74
74
  }
75
- //# sourceMappingURL=near.d.ts.map
package/dist/near/near.js CHANGED
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=near.js.map
@@ -1,2 +1 @@
1
1
  export * from './shared.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from './shared.js';
2
- //# sourceMappingURL=index.js.map
@@ -14,4 +14,3 @@ export type TxPollingConfig = {
14
14
  pollingIntervalMs: number;
15
15
  maxTimeoutMs: number;
16
16
  };
17
- //# sourceMappingURL=shared.d.ts.map
@@ -3,4 +3,3 @@
3
3
  * Forbidden to import types from other packages in this file!
4
4
  */
5
5
  export {};
6
- //# sourceMappingURL=shared.js.map
@@ -1,2 +1 @@
1
1
  export * from './sodax-config.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from './sodax-config.js';
2
- //# sourceMappingURL=index.js.map
@@ -250,7 +250,7 @@ export declare const sodaxConfig: {
250
250
  readonly sodaNEAR: {
251
251
  readonly symbol: "sodaNEAR";
252
252
  readonly name: "SODA NEAR";
253
- readonly decimals: 24;
253
+ readonly decimals: 18;
254
254
  readonly address: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
255
255
  readonly chainKey: "sonic";
256
256
  readonly hubAsset: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
@@ -2728,14 +2728,6 @@ export declare const sodaxConfig: {
2728
2728
  readonly chainKey: "sonic";
2729
2729
  readonly hubAsset: "0x7c7d53EEcda37a87ce0D5bf8E0b24512A48dC963";
2730
2730
  readonly vault: "0x21685E341DE7844135329914Be6Bd8D16982d834";
2731
- }, {
2732
- readonly symbol: "bnUSD";
2733
- readonly name: "Balanced Dollar";
2734
- readonly decimals: 18;
2735
- readonly address: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
2736
- readonly chainKey: "sonic";
2737
- readonly hubAsset: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
2738
- readonly vault: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
2739
2731
  }, ...({
2740
2732
  readonly symbol: "sodaBNB";
2741
2733
  readonly name: "Soda BNB";
@@ -2899,7 +2891,7 @@ export declare const sodaxConfig: {
2899
2891
  } | {
2900
2892
  readonly symbol: "sodaNEAR";
2901
2893
  readonly name: "SODA NEAR";
2902
- readonly decimals: 24;
2894
+ readonly decimals: 18;
2903
2895
  readonly address: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
2904
2896
  readonly chainKey: "sonic";
2905
2897
  readonly hubAsset: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
@@ -4749,6 +4741,14 @@ export declare const sodaxConfig: {
4749
4741
  readonly chainKey: "hyper";
4750
4742
  readonly hubAsset: "0x87f73744d919447e6f8220f268bcbbfa0cbfafa3";
4751
4743
  readonly vault: "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876";
4744
+ }, {
4745
+ readonly symbol: "USDC";
4746
+ readonly name: "USD Coin";
4747
+ readonly decimals: 6;
4748
+ readonly address: "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
4749
+ readonly chainKey: "hyper";
4750
+ readonly hubAsset: "0x0f78b995d113712deeb17d96638e9d7525d409c6";
4751
+ readonly vault: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
4752
4752
  }];
4753
4753
  readonly lightlink: [{
4754
4754
  readonly symbol: "ETH";
@@ -5247,7 +5247,7 @@ export declare const sodaxConfig: {
5247
5247
  } | {
5248
5248
  readonly symbol: "sodaNEAR";
5249
5249
  readonly name: "SODA NEAR";
5250
- readonly decimals: 24;
5250
+ readonly decimals: 18;
5251
5251
  readonly address: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
5252
5252
  readonly chainKey: "sonic";
5253
5253
  readonly hubAsset: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
@@ -5924,7 +5924,7 @@ export declare const sodaxConfig: {
5924
5924
  readonly sodaNEAR: {
5925
5925
  readonly symbol: "sodaNEAR";
5926
5926
  readonly name: "SODA NEAR";
5927
- readonly decimals: 24;
5927
+ readonly decimals: 18;
5928
5928
  readonly address: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
5929
5929
  readonly chainKey: "sonic";
5930
5930
  readonly hubAsset: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
@@ -6067,4 +6067,3 @@ export declare const sodaxConfig: {
6067
6067
  };
6068
6068
  };
6069
6069
  };
6070
- //# sourceMappingURL=sodax-config.d.ts.map
@@ -19,4 +19,3 @@ export const sodaxConfig = {
19
19
  solver: solverConfig,
20
20
  relay: relayConfig,
21
21
  };
22
- //# sourceMappingURL=sodax-config.js.map
@@ -1,2 +1 @@
1
1
  export * from './solana.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from './solana.js';
2
- //# sourceMappingURL=index.js.map
@@ -387,4 +387,3 @@ type TokenAmount = {
387
387
  */
388
388
  type TransactionError = {} | string;
389
389
  export {};
390
- //# sourceMappingURL=solana-web3.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=solana-web3.js.map
@@ -108,4 +108,3 @@ export interface ISolanaWalletProvider extends ICoreWallet {
108
108
  getTokenAccountBalance: (publicKey: SolanaBase58PublicKey) => Promise<RpcResponseAndContext<TokenAmount>>;
109
109
  }
110
110
  export {};
111
- //# sourceMappingURL=solana.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=solana.js.map
@@ -1,2 +1 @@
1
1
  export * from './stacks.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from './stacks.js';
2
- //# sourceMappingURL=index.js.map
@@ -208,4 +208,3 @@ export interface IStacksWalletProvider extends ICoreWallet {
208
208
  getBalance: (address: string) => Promise<bigint>;
209
209
  sendTransaction: (txParams: StacksTransactionParams) => Promise<string>;
210
210
  }
211
- //# sourceMappingURL=stacks.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=stacks.js.map
@@ -1,2 +1 @@
1
1
  export * from './stellar.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from './stellar.js';
2
- //# sourceMappingURL=index.js.map
@@ -94,4 +94,3 @@ export interface IStellarWalletProvider extends ICoreWallet {
94
94
  waitForTransactionReceipt: (txHash: string) => Promise<StellarRawTransactionReceipt>;
95
95
  }
96
96
  export {};
97
- //# sourceMappingURL=stellar.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=stellar.js.map
@@ -1,2 +1 @@
1
1
  export * from './sui.js';
2
- //# sourceMappingURL=index.d.ts.map
package/dist/sui/index.js CHANGED
@@ -1,2 +1 @@
1
1
  export * from './sui.js';
2
- //# sourceMappingURL=index.js.map
package/dist/sui/sui.d.ts CHANGED
@@ -309,4 +309,3 @@ export interface ISuiWalletProvider extends ICoreWallet {
309
309
  viewContract(tx: SuiTransaction, packageId: string, module: string, functionName: string, args: unknown[], typeArgs: string[]): Promise<SuiExecutionResult>;
310
310
  getCoins: (address: string, token: string) => Promise<SuiPaginatedCoins>;
311
311
  }
312
- //# sourceMappingURL=sui.d.ts.map
package/dist/sui/sui.js CHANGED
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=sui.js.map
@@ -1,2 +1 @@
1
1
  export * from './swap.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export * from './swap.js';
2
- //# sourceMappingURL=index.js.map