@xswap-link/sdk 0.2.0 → 0.2.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @xswap-link/xswap-sdk
2
2
 
3
+ ## 0.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - e04c4c6: document initialization
8
+
9
+ ## 0.2.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 0f722ce: tx monitoring integration update
14
+
3
15
  ## 0.2.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.css CHANGED
@@ -337,18 +337,12 @@ video {
337
337
  .bottom-0 {
338
338
  bottom: 0px;
339
339
  }
340
- .bottom-5 {
341
- bottom: 1.25rem;
342
- }
343
340
  .left-0 {
344
341
  left: 0px;
345
342
  }
346
343
  .right-0 {
347
344
  right: 0px;
348
345
  }
349
- .right-2 {
350
- right: 0.5rem;
351
- }
352
346
  .right-4 {
353
347
  right: 1rem;
354
348
  }
@@ -376,9 +370,6 @@ video {
376
370
  .z-20 {
377
371
  z-index: 20;
378
372
  }
379
- .z-50 {
380
- z-index: 50;
381
- }
382
373
  .z-\[1\] {
383
374
  z-index: 1;
384
375
  }
@@ -413,6 +404,10 @@ video {
413
404
  margin-top: 0px;
414
405
  margin-bottom: 0px;
415
406
  }
407
+ .my-3 {
408
+ margin-top: 0.75rem;
409
+ margin-bottom: 0.75rem;
410
+ }
416
411
  .my-4 {
417
412
  margin-top: 1rem;
418
413
  margin-bottom: 1rem;
@@ -756,6 +751,9 @@ video {
756
751
  .bg-\[rgba\(15\,15\,15\,1\)\] {
757
752
  background-color: rgba(15, 15, 15, 1);
758
753
  }
754
+ .bg-\[rgba\(2\,2\,2\,1\)\] {
755
+ background-color: rgba(2, 2, 2, 1);
756
+ }
759
757
  .bg-\[rgba\(255\,255\,255\,0\.1\)\] {
760
758
  background-color: rgba(255, 255, 255, 0.1);
761
759
  }
@@ -800,8 +798,8 @@ video {
800
798
  --tw-gradient-to: rgb(54 129 198 / 0) var(--tw-gradient-to-position);
801
799
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
802
800
  }
803
- .from-\[rgba\(54\,129\,198\,0\.1\)\] {
804
- --tw-gradient-from: rgba(54,129,198,0.1) var(--tw-gradient-from-position);
801
+ .from-\[rgba\(54\,129\,198\,0\.2\)\] {
802
+ --tw-gradient-from: rgba(54,129,198,0.2) var(--tw-gradient-from-position);
805
803
  --tw-gradient-to: rgba(54, 129, 198, 0) var(--tw-gradient-to-position);
806
804
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
807
805
  }
@@ -810,8 +808,8 @@ video {
810
808
  --tw-gradient-to: rgba(54, 129, 198, 0) var(--tw-gradient-to-position);
811
809
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
812
810
  }
813
- .from-\[rgba\(76\,175\,80\,0\.1\)\] {
814
- --tw-gradient-from: rgba(76,175,80,0.1) var(--tw-gradient-from-position);
811
+ .from-\[rgba\(76\,175\,80\,0\.2\)\] {
812
+ --tw-gradient-from: rgba(76,175,80,0.2) var(--tw-gradient-from-position);
815
813
  --tw-gradient-to: rgba(76, 175, 80, 0) var(--tw-gradient-to-position);
816
814
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
817
815
  }
@@ -823,14 +821,14 @@ video {
823
821
  .to-\[\#2b4a9d\] {
824
822
  --tw-gradient-to: #2b4a9d var(--tw-gradient-to-position);
825
823
  }
826
- .to-\[rgba\(43\,74\,157\,0\.1\)\] {
827
- --tw-gradient-to: rgba(43,74,157,0.1) var(--tw-gradient-to-position);
824
+ .to-\[rgba\(43\,74\,157\,0\.2\)\] {
825
+ --tw-gradient-to: rgba(43,74,157,0.2) var(--tw-gradient-to-position);
828
826
  }
829
827
  .to-\[rgba\(43\,74\,157\,1\)\] {
830
828
  --tw-gradient-to: rgba(43,74,157,1) var(--tw-gradient-to-position);
831
829
  }
832
- .to-\[rgba\(46\,125\,50\,0\.1\)\] {
833
- --tw-gradient-to: rgba(46,125,50,0.1) var(--tw-gradient-to-position);
830
+ .to-\[rgba\(46\,125\,50\,0\.2\)\] {
831
+ --tw-gradient-to: rgba(46,125,50,0.2) var(--tw-gradient-to-position);
834
832
  }
835
833
  .to-x_blue_dark {
836
834
  --tw-gradient-to: rgba(43,74,157,1) var(--tw-gradient-to-position);
@@ -906,9 +904,6 @@ video {
906
904
  padding-top: 1rem;
907
905
  padding-bottom: 1rem;
908
906
  }
909
- .pl-9 {
910
- padding-left: 2.25rem;
911
- }
912
907
  .pr-8 {
913
908
  padding-right: 2rem;
914
909
  }
@@ -1026,6 +1021,9 @@ video {
1026
1021
  --tw-text-opacity: 1;
1027
1022
  color: rgb(102 187 106 / var(--tw-text-opacity));
1028
1023
  }
1024
+ .text-x_grey {
1025
+ color: #ffffff80;
1026
+ }
1029
1027
  .no-underline {
1030
1028
  text-decoration-line: none;
1031
1029
  }
@@ -1064,6 +1062,18 @@ video {
1064
1062
  border: 1px solid rgba(255, 255, 255, 0.1);
1065
1063
  }
1066
1064
  }
1065
+ .xswap-tx-status {
1066
+ position: absolute;
1067
+ bottom: 1.25rem;
1068
+ right: 0.5rem;
1069
+ z-index: 50;
1070
+ display: flex;
1071
+ width: 100%;
1072
+ flex-direction: column;
1073
+ align-items: flex-end;
1074
+ gap: 0.75rem;
1075
+ padding-left: 2.25rem;
1076
+ }
1067
1077
  .placeholder\:text-sm::placeholder {
1068
1078
  font-size: 0.875rem;
1069
1079
  line-height: 1.25rem;
package/dist/index.d.mts CHANGED
@@ -1,10 +1,5 @@
1
- import { BigNumber, ethers, BigNumberish } from 'ethers';
1
+ import { BigNumber } from 'ethers';
2
2
  import { TransactionRequest } from '@ethersproject/providers';
3
- import { FC } from 'react';
4
-
5
- declare const Alert: ({ desc }: {
6
- desc: string;
7
- }) => JSX.Element;
8
3
 
9
4
  type Addresses = {
10
5
  [chainId: string]: Contracts;
@@ -256,172 +251,8 @@ type MonitoredTransaction = {
256
251
  explorer: string | undefined;
257
252
  };
258
253
 
259
- type TxConfigFormProps = {
260
- dstChainId: string;
261
- dstTokenAddr: string;
262
- customContractCalls: ContractCall[];
263
- desc?: string;
264
- supportedChains: Chain[];
265
- };
266
- declare const openTxConfigForm: ({ dstChainId, dstTokenAddr, customContractCalls, desc, supportedChains, }: TxConfigFormProps) => Promise<Route>;
267
-
268
- interface Props$1 {
269
- transaction: MonitoredTransaction;
270
- }
271
- declare const TxHistoryButton: FC<Props$1>;
272
- declare const addTransactionToRenderedTransactions: (transaction: MonitoredTransaction) => void;
273
- declare const removeTransactionFromRenderedTransactions: (txHash: string) => void;
274
- declare const updateTransactionDoneInRenderedTransactions: (txHash: string) => void;
275
- declare const renderTxHistoryButtons: () => void;
276
-
277
- type Props = {
278
- width: string;
279
- height: string;
280
- other?: string;
281
- };
282
- declare const Skeleton: ({ width, height }: Props) => JSX.Element;
283
-
284
- declare const DEFAULT_ECOSYSTEM = Ecosystem.EVM;
285
- declare const NUMBER_INPUT_REGEX: RegExp;
286
- declare const SLIPPAGE_PRESETS: number[];
287
- declare const DELIVERY_TIME: number;
288
- declare const EXPRESS_DELIVERY_TIME: number;
289
- declare const BALANCES_CHUNK_SIZE = 500;
290
- declare const ROUTE_TIMEOUT_MS = 5000;
291
- declare const MINIMUM_DISPLAYED_TOKEN_AMOUNT = 0.0001;
292
- declare const DEFAULT_SOURCE_CHAIN_ID = "1";
293
- declare const CCIP_EXPLORER = "https://ccip.chain.link/";
294
-
295
- declare const BatchQueryAbi: ({
296
- inputs: {
297
- internalType: string;
298
- name: string;
299
- type: string;
300
- }[];
301
- name: string;
302
- type: string;
303
- outputs?: undefined;
304
- stateMutability?: undefined;
305
- } | {
306
- inputs: {
307
- internalType: string;
308
- name: string;
309
- type: string;
310
- }[];
311
- name: string;
312
- outputs: {
313
- internalType: string;
314
- name: string;
315
- type: string;
316
- }[];
317
- stateMutability: string;
318
- type: string;
319
- })[];
320
- declare const ERC20Abi: ({
321
- constant: boolean;
322
- inputs: {
323
- name: string;
324
- type: string;
325
- }[];
326
- name: string;
327
- outputs: {
328
- name: string;
329
- type: string;
330
- }[];
331
- payable: boolean;
332
- stateMutability: string;
333
- type: string;
334
- anonymous?: undefined;
335
- } | {
336
- payable: boolean;
337
- stateMutability: string;
338
- type: string;
339
- constant?: undefined;
340
- inputs?: undefined;
341
- name?: undefined;
342
- outputs?: undefined;
343
- anonymous?: undefined;
344
- } | {
345
- anonymous: boolean;
346
- inputs: {
347
- indexed: boolean;
348
- name: string;
349
- type: string;
350
- }[];
351
- name: string;
352
- type: string;
353
- constant?: undefined;
354
- outputs?: undefined;
355
- payable?: undefined;
356
- stateMutability?: undefined;
357
- })[];
358
-
359
- declare const ADDRESSES: Addresses;
360
-
361
- /**
362
- * Get swap route based on provided criteria.
363
- * @param payload required
364
- */
365
- declare function getRoute(payload: GetRoutePayload): Promise<Route>;
366
- /**
367
- * GET chains based on provided criteria.
368
- * @param ecosystem optional
369
- */
370
- declare function getChains(ecosystem?: Ecosystem): Promise<Chain[]>;
371
- /**
372
- * GET chain data based on provided criteria.
373
- * @param chainId
374
- * @param ecosystem optional - Default: {@link DEFAULT_ECOSYSTEM}
375
- */
376
- declare function getChainData(chainId?: string, ecosystem?: Ecosystem): Promise<Chain>;
377
- /**
378
- * GET Tokens based on provided criteria
379
- * @param chainId required
380
- * @param address optional
381
- * @param ecosystem optional but {@link DEFAULT_ECOSYSTEM} will be considered
382
- */
383
- declare function getTokens(chainId: string, address?: string, ecosystem?: Ecosystem): Promise<Token[]>;
384
- declare function getBridgeTokens(): Promise<BridgeToken[]>;
385
- declare function getHistory(payload: {
386
- walletAddress: string;
387
- }): Promise<TransactionHistory>;
388
- declare function getPrices(payload: GetPricesPayload): Promise<TokenPrices>;
389
-
390
- declare const generateStakingCalls: ({ token, staking, stakingAbi, stakingFunName, stakingFunParams, }: GenerateStakingCallsParams) => ContractCall[];
254
+ declare const monitorTransactionStatus: (txChainId: string, txHash: string) => Promise<void>;
391
255
 
392
256
  declare const getSwapTx: ({ dstChain, dstToken, customContractCalls, desc, }: GetSwapTxPayload) => Promise<Transactions>;
393
- declare const monitorTransactionStatus: (srcChainId: number, txHash: string) => Promise<void>;
394
-
395
- declare const IERC20: ethers.utils.Interface;
396
- declare const getBalanceOf: (wallet: string, token: string, rpcUrl: string) => Promise<string>;
397
- declare const getBalances: (chain: Chain, wallet: string) => Promise<TokenBalances>;
398
- declare const generateApproveTxData: (tokenAddress: string, spender: string, amount: BigNumberish) => TransactionRequest | undefined;
399
- /**
400
- * Calculate param's value offset within the encoded function's bytecode.
401
- * @param abi
402
- * @param funName
403
- * @param funParams
404
- * @param placeholderValue
405
- */
406
- declare const findPlaceholderIndex: (abi: string, funName: string, funParams: any[], placeholderValue: BigNumber) => number;
407
-
408
- declare const safeBigNumberFrom: (value: string) => BigNumber;
409
- declare const weiToHumanReadable: ({ amount, decimals, precisionFractionalPlaces, prettifySmallNumber, }: {
410
- amount: string;
411
- decimals: number;
412
- precisionFractionalPlaces: number;
413
- prettifySmallNumber?: boolean;
414
- }) => string;
415
- declare const generateRandomBigNumber: (length: number) => BigNumber;
416
- declare const generateUniqueRandomBigNumber: (length: number, existingValues: any[]) => BigNumber;
417
-
418
- declare const shortAddress: (address: string) => string;
419
-
420
- declare const replaceNull: (values: any[], newValue: any) => any[];
421
- declare const deepMergeObjects: (obj1: Record<string, any>, obj2: Record<string, any>) => {
422
- [x: string]: any;
423
- };
424
- declare const chunkArray: (array: any[], chunkSize: number) => any[][];
425
- declare const getDate: (blockTimestamp: number) => string;
426
257
 
427
- export { ADDRESSES, type AddReferralPayload, type Addresses, Alert, BALANCES_CHUNK_SIZE, BatchQueryAbi, type BridgeToken, CCIP_EXPLORER, type Chain, type CoinTypeAddress, type CollectFees, type ContractCall, ContractName, type Contracts, DEFAULT_ECOSYSTEM, DEFAULT_SOURCE_CHAIN_ID, DELIVERY_TIME, ERC20Abi, EXPRESS_DELIVERY_TIME, Ecosystem, Environment, type GenerateStakingCallsParams, type GetPricesPayload, type GetRoutePayload, type GetSwapTxPayload, type HistoryTransaction, IERC20, MINIMUM_DISPLAYED_TOKEN_AMOUNT, type MonitoredTransaction, NUMBER_INPUT_REGEX, type Prices, type Protocol, ROUTE_TIMEOUT_MS, type Referral, type ReferralInfo, type Route, SLIPPAGE_PRESETS, Skeleton, type Token, type TokenBalances, type TokenPrices, type Transaction, type TransactionHistory, type TransactionStatus, type Transactions, type TxConfigFormData, type TxConfigFormProps, TxHistoryButton, Web3Environment, XSwapCallType, type XSwapConfig, type XSwapFee, type XSwapFees, addTransactionToRenderedTransactions, chunkArray, deepMergeObjects, findPlaceholderIndex, generateApproveTxData, generateRandomBigNumber, generateStakingCalls, generateUniqueRandomBigNumber, getBalanceOf, getBalances, getBridgeTokens, getChainData, getChains, getDate, getHistory, getPrices, getRoute, getSwapTx, getTokens, monitorTransactionStatus, openTxConfigForm, removeTransactionFromRenderedTransactions, renderTxHistoryButtons, replaceNull, safeBigNumberFrom, shortAddress, updateTransactionDoneInRenderedTransactions, weiToHumanReadable };
258
+ export { type AddReferralPayload, type Addresses, type BridgeToken, type Chain, type CoinTypeAddress, type CollectFees, type ContractCall, ContractName, type Contracts, Ecosystem, Environment, type GenerateStakingCallsParams, type GetPricesPayload, type GetRoutePayload, type GetSwapTxPayload, type HistoryTransaction, type MonitoredTransaction, type Prices, type Protocol, type Referral, type ReferralInfo, type Route, type Token, type TokenBalances, type TokenPrices, type Transaction, type TransactionHistory, type TransactionStatus, type Transactions, type TxConfigFormData, Web3Environment, XSwapCallType, type XSwapConfig, type XSwapFee, type XSwapFees, getSwapTx, monitorTransactionStatus };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,5 @@
1
- import { BigNumber, ethers, BigNumberish } from 'ethers';
1
+ import { BigNumber } from 'ethers';
2
2
  import { TransactionRequest } from '@ethersproject/providers';
3
- import { FC } from 'react';
4
-
5
- declare const Alert: ({ desc }: {
6
- desc: string;
7
- }) => JSX.Element;
8
3
 
9
4
  type Addresses = {
10
5
  [chainId: string]: Contracts;
@@ -256,172 +251,8 @@ type MonitoredTransaction = {
256
251
  explorer: string | undefined;
257
252
  };
258
253
 
259
- type TxConfigFormProps = {
260
- dstChainId: string;
261
- dstTokenAddr: string;
262
- customContractCalls: ContractCall[];
263
- desc?: string;
264
- supportedChains: Chain[];
265
- };
266
- declare const openTxConfigForm: ({ dstChainId, dstTokenAddr, customContractCalls, desc, supportedChains, }: TxConfigFormProps) => Promise<Route>;
267
-
268
- interface Props$1 {
269
- transaction: MonitoredTransaction;
270
- }
271
- declare const TxHistoryButton: FC<Props$1>;
272
- declare const addTransactionToRenderedTransactions: (transaction: MonitoredTransaction) => void;
273
- declare const removeTransactionFromRenderedTransactions: (txHash: string) => void;
274
- declare const updateTransactionDoneInRenderedTransactions: (txHash: string) => void;
275
- declare const renderTxHistoryButtons: () => void;
276
-
277
- type Props = {
278
- width: string;
279
- height: string;
280
- other?: string;
281
- };
282
- declare const Skeleton: ({ width, height }: Props) => JSX.Element;
283
-
284
- declare const DEFAULT_ECOSYSTEM = Ecosystem.EVM;
285
- declare const NUMBER_INPUT_REGEX: RegExp;
286
- declare const SLIPPAGE_PRESETS: number[];
287
- declare const DELIVERY_TIME: number;
288
- declare const EXPRESS_DELIVERY_TIME: number;
289
- declare const BALANCES_CHUNK_SIZE = 500;
290
- declare const ROUTE_TIMEOUT_MS = 5000;
291
- declare const MINIMUM_DISPLAYED_TOKEN_AMOUNT = 0.0001;
292
- declare const DEFAULT_SOURCE_CHAIN_ID = "1";
293
- declare const CCIP_EXPLORER = "https://ccip.chain.link/";
294
-
295
- declare const BatchQueryAbi: ({
296
- inputs: {
297
- internalType: string;
298
- name: string;
299
- type: string;
300
- }[];
301
- name: string;
302
- type: string;
303
- outputs?: undefined;
304
- stateMutability?: undefined;
305
- } | {
306
- inputs: {
307
- internalType: string;
308
- name: string;
309
- type: string;
310
- }[];
311
- name: string;
312
- outputs: {
313
- internalType: string;
314
- name: string;
315
- type: string;
316
- }[];
317
- stateMutability: string;
318
- type: string;
319
- })[];
320
- declare const ERC20Abi: ({
321
- constant: boolean;
322
- inputs: {
323
- name: string;
324
- type: string;
325
- }[];
326
- name: string;
327
- outputs: {
328
- name: string;
329
- type: string;
330
- }[];
331
- payable: boolean;
332
- stateMutability: string;
333
- type: string;
334
- anonymous?: undefined;
335
- } | {
336
- payable: boolean;
337
- stateMutability: string;
338
- type: string;
339
- constant?: undefined;
340
- inputs?: undefined;
341
- name?: undefined;
342
- outputs?: undefined;
343
- anonymous?: undefined;
344
- } | {
345
- anonymous: boolean;
346
- inputs: {
347
- indexed: boolean;
348
- name: string;
349
- type: string;
350
- }[];
351
- name: string;
352
- type: string;
353
- constant?: undefined;
354
- outputs?: undefined;
355
- payable?: undefined;
356
- stateMutability?: undefined;
357
- })[];
358
-
359
- declare const ADDRESSES: Addresses;
360
-
361
- /**
362
- * Get swap route based on provided criteria.
363
- * @param payload required
364
- */
365
- declare function getRoute(payload: GetRoutePayload): Promise<Route>;
366
- /**
367
- * GET chains based on provided criteria.
368
- * @param ecosystem optional
369
- */
370
- declare function getChains(ecosystem?: Ecosystem): Promise<Chain[]>;
371
- /**
372
- * GET chain data based on provided criteria.
373
- * @param chainId
374
- * @param ecosystem optional - Default: {@link DEFAULT_ECOSYSTEM}
375
- */
376
- declare function getChainData(chainId?: string, ecosystem?: Ecosystem): Promise<Chain>;
377
- /**
378
- * GET Tokens based on provided criteria
379
- * @param chainId required
380
- * @param address optional
381
- * @param ecosystem optional but {@link DEFAULT_ECOSYSTEM} will be considered
382
- */
383
- declare function getTokens(chainId: string, address?: string, ecosystem?: Ecosystem): Promise<Token[]>;
384
- declare function getBridgeTokens(): Promise<BridgeToken[]>;
385
- declare function getHistory(payload: {
386
- walletAddress: string;
387
- }): Promise<TransactionHistory>;
388
- declare function getPrices(payload: GetPricesPayload): Promise<TokenPrices>;
389
-
390
- declare const generateStakingCalls: ({ token, staking, stakingAbi, stakingFunName, stakingFunParams, }: GenerateStakingCallsParams) => ContractCall[];
254
+ declare const monitorTransactionStatus: (txChainId: string, txHash: string) => Promise<void>;
391
255
 
392
256
  declare const getSwapTx: ({ dstChain, dstToken, customContractCalls, desc, }: GetSwapTxPayload) => Promise<Transactions>;
393
- declare const monitorTransactionStatus: (srcChainId: number, txHash: string) => Promise<void>;
394
-
395
- declare const IERC20: ethers.utils.Interface;
396
- declare const getBalanceOf: (wallet: string, token: string, rpcUrl: string) => Promise<string>;
397
- declare const getBalances: (chain: Chain, wallet: string) => Promise<TokenBalances>;
398
- declare const generateApproveTxData: (tokenAddress: string, spender: string, amount: BigNumberish) => TransactionRequest | undefined;
399
- /**
400
- * Calculate param's value offset within the encoded function's bytecode.
401
- * @param abi
402
- * @param funName
403
- * @param funParams
404
- * @param placeholderValue
405
- */
406
- declare const findPlaceholderIndex: (abi: string, funName: string, funParams: any[], placeholderValue: BigNumber) => number;
407
-
408
- declare const safeBigNumberFrom: (value: string) => BigNumber;
409
- declare const weiToHumanReadable: ({ amount, decimals, precisionFractionalPlaces, prettifySmallNumber, }: {
410
- amount: string;
411
- decimals: number;
412
- precisionFractionalPlaces: number;
413
- prettifySmallNumber?: boolean;
414
- }) => string;
415
- declare const generateRandomBigNumber: (length: number) => BigNumber;
416
- declare const generateUniqueRandomBigNumber: (length: number, existingValues: any[]) => BigNumber;
417
-
418
- declare const shortAddress: (address: string) => string;
419
-
420
- declare const replaceNull: (values: any[], newValue: any) => any[];
421
- declare const deepMergeObjects: (obj1: Record<string, any>, obj2: Record<string, any>) => {
422
- [x: string]: any;
423
- };
424
- declare const chunkArray: (array: any[], chunkSize: number) => any[][];
425
- declare const getDate: (blockTimestamp: number) => string;
426
257
 
427
- export { ADDRESSES, type AddReferralPayload, type Addresses, Alert, BALANCES_CHUNK_SIZE, BatchQueryAbi, type BridgeToken, CCIP_EXPLORER, type Chain, type CoinTypeAddress, type CollectFees, type ContractCall, ContractName, type Contracts, DEFAULT_ECOSYSTEM, DEFAULT_SOURCE_CHAIN_ID, DELIVERY_TIME, ERC20Abi, EXPRESS_DELIVERY_TIME, Ecosystem, Environment, type GenerateStakingCallsParams, type GetPricesPayload, type GetRoutePayload, type GetSwapTxPayload, type HistoryTransaction, IERC20, MINIMUM_DISPLAYED_TOKEN_AMOUNT, type MonitoredTransaction, NUMBER_INPUT_REGEX, type Prices, type Protocol, ROUTE_TIMEOUT_MS, type Referral, type ReferralInfo, type Route, SLIPPAGE_PRESETS, Skeleton, type Token, type TokenBalances, type TokenPrices, type Transaction, type TransactionHistory, type TransactionStatus, type Transactions, type TxConfigFormData, type TxConfigFormProps, TxHistoryButton, Web3Environment, XSwapCallType, type XSwapConfig, type XSwapFee, type XSwapFees, addTransactionToRenderedTransactions, chunkArray, deepMergeObjects, findPlaceholderIndex, generateApproveTxData, generateRandomBigNumber, generateStakingCalls, generateUniqueRandomBigNumber, getBalanceOf, getBalances, getBridgeTokens, getChainData, getChains, getDate, getHistory, getPrices, getRoute, getSwapTx, getTokens, monitorTransactionStatus, openTxConfigForm, removeTransactionFromRenderedTransactions, renderTxHistoryButtons, replaceNull, safeBigNumberFrom, shortAddress, updateTransactionDoneInRenderedTransactions, weiToHumanReadable };
258
+ export { type AddReferralPayload, type Addresses, type BridgeToken, type Chain, type CoinTypeAddress, type CollectFees, type ContractCall, ContractName, type Contracts, Ecosystem, Environment, type GenerateStakingCallsParams, type GetPricesPayload, type GetRoutePayload, type GetSwapTxPayload, type HistoryTransaction, type MonitoredTransaction, type Prices, type Protocol, type Referral, type ReferralInfo, type Route, type Token, type TokenBalances, type TokenPrices, type Transaction, type TransactionHistory, type TransactionStatus, type Transactions, type TxConfigFormData, Web3Environment, XSwapCallType, type XSwapConfig, type XSwapFee, type XSwapFees, getSwapTx, monitorTransactionStatus };