@dhedge/trading-widget 3.2.0-alpha.0 → 3.2.1

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 (65) hide show
  1. package/README.md +95 -98
  2. package/core-kit/abi/easy-swapper-v2.d.ts +4 -48
  3. package/core-kit/abi/index.d.ts +2 -3
  4. package/core-kit/abi/pool-logic.d.ts +124 -878
  5. package/core-kit/abi/pool-manager-logic.d.ts +0 -19
  6. package/core-kit/const/contracts/base.d.ts +1 -1
  7. package/core-kit/const/contracts/polygon.d.ts +0 -2
  8. package/core-kit/const/default-data.d.ts +1 -1
  9. package/core-kit/const/synthetix.d.ts +1 -0
  10. package/core-kit/hooks/pool/multicall/use-pool-manager.dynamic.d.ts +190 -75
  11. package/core-kit/hooks/pool/multicall/use-pool-manager.static.d.ts +0 -57
  12. package/core-kit/hooks/pool/multicall/use-pool.static.d.ts +90 -955
  13. package/core-kit/hooks/pool/multicall/use-pools.dynamic.d.ts +214 -3315
  14. package/core-kit/hooks/pool/use-pool-dynamic-contract-data.d.ts +0 -1
  15. package/core-kit/hooks/pool/use-pool-fees.d.ts +1 -0
  16. package/core-kit/hooks/state/action.d.ts +0 -3
  17. package/core-kit/hooks/state/index.d.ts +1 -2
  18. package/core-kit/hooks/trading/deposit-v2/use-deposit-quote-contract-read.d.ts +4 -48
  19. package/core-kit/hooks/trading/use-is-transaction-loading.d.ts +2 -0
  20. package/core-kit/hooks/trading/use-swaps-data-query.d.ts +0 -6
  21. package/core-kit/hooks/trading/withdraw-v2/init-step/index.d.ts +1 -1
  22. package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-transaction-arguments.d.ts +1 -6
  23. package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-transaction.d.ts +5 -1
  24. package/core-kit/hooks/trading/withdraw-v2/use-withdrawal-vault-address.d.ts +4 -48
  25. package/core-kit/hooks/user/multicall/use-user-multicall.d.ts +4 -48
  26. package/core-kit/hooks/web3/use-static-call-query.d.ts +6 -7
  27. package/core-kit/types/index.d.ts +0 -1
  28. package/core-kit/types/state.types.d.ts +0 -8
  29. package/core-kit/types/web3.types.d.ts +12 -0
  30. package/core-kit/utils/transaction.d.ts +3 -14
  31. package/core-kit/utils/web3.d.ts +2 -0
  32. package/{index-97262ee5.js → index-1ece81a6.js} +11509 -12797
  33. package/index-925f46e2.cjs +217 -0
  34. package/index.cjs +1 -1
  35. package/index.d.ts +3 -3
  36. package/index.js +203 -204
  37. package/package.json +1 -1
  38. package/{pyth-adapter-3dec6847.cjs → pyth-adapter-59d66d7b.cjs} +1 -1
  39. package/{pyth-adapter-4822ae26.js → pyth-adapter-de3394ab.js} +1 -1
  40. package/style.css +1 -1
  41. package/trading-widget/components/deposit/button/trade-button/trade-button.hooks.d.ts +1 -0
  42. package/trading-widget/components/deposit/button/valid-deposit-button/valid-deposit-button.hooks.d.ts +1 -0
  43. package/trading-widget/components/deposit/meta/transaction-disclosure/transaction-disclosure.hooks.d.ts +0 -3
  44. package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-deposit-swap-quote-button/reload-deposit-swap-quote-button.hooks.d.ts +1 -3
  45. package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-withdraw-swap-quote-button/reload-withdraw-swap-quote-button.hooks.d.ts +1 -3
  46. package/trading-widget/components/widget/widget-overlay/index.d.ts +0 -1
  47. package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-overlay.hooks.d.ts +1 -0
  48. package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-summary/vault-transaction-summary.d.ts +1 -7
  49. package/trading-widget/components/withdraw/complete-step/button/claim-button/claim-button.hooks.d.ts +1 -0
  50. package/trading-widget/components/withdraw/complete-step/button/swap-button/swap-button.hooks.d.ts +1 -0
  51. package/trading-widget/components/withdraw/init-step/button/init-withdraw-button/init-withdraw-button.hooks.d.ts +1 -0
  52. package/trading-widget/components/withdraw/init-step/meta/transaction-disclosure/transaction-disclosure.hooks.d.ts +1 -3
  53. package/trading-widget/providers/config-provider/config-provider.types.d.ts +0 -1
  54. package/trading-widget/providers/translation-provider/translation-provider.types.d.ts +1 -1
  55. package/core-kit/abi/aave/aave-asset-guard.d.ts +0 -50
  56. package/core-kit/hooks/state/meta.d.ts +0 -6
  57. package/core-kit/hooks/trading/withdraw-v2/init-step/use-fetch-aave-swap-params.d.ts +0 -6
  58. package/core-kit/hooks/trading/withdraw-v2/init-step/use-fetch-init-withdraw-complex-asset-data.d.ts +0 -5
  59. package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-aave-swap-data.d.ts +0 -5
  60. package/core-kit/types/contract.types.d.ts +0 -28
  61. package/index-3ff0a312.cjs +0 -217
  62. package/trading-widget/components/widget/widget-overlay/pending-approval-overlay/pending-approval-overlay.d.ts +0 -2
  63. package/trading-widget/components/widget/widget-overlay/pending-approval-overlay/pending-approval-overlay.hooks.d.ts +0 -3
  64. package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-summary/claim-summary.d.ts +0 -7
  65. /package/core-kit/abi/{aave/aave-lending-pool.d.ts → aave-lending-pool.d.ts} +0 -0
package/README.md CHANGED
@@ -59,7 +59,6 @@ Top level provider component. Headless part of trading logic. API handles params
59
59
  > | `onUpdateSendTokenInput` | (payload: Partial\<{ address: `Address`; symbol: `string`; value: `string`; decimals: `number`; isLoading?: `boolean` }\>) => void | undefined | triggers on send token change |
60
60
  > | `onUpdateTradingSettings` | (payload: Partial\<{ slippage: `number \| 'auto'`; minSlippage?: `number` isInfiniteAllowance: `boolean`; isMultiAssetWithdrawalEnabled: `boolean`; isMaxSlippageLoading: `boolean` }\>) => void | undefined | triggers on trading settings change |
61
61
  > | `onSetTradingType` | (payload: `'deposit' \| 'withdraw'`) => void | undefined | triggers on trading type change |
62
- > | `onUpdateTradingMeta` | (payload: Partial\<{ approvingStatus: `'pending' \| 'success'` }\>) => void | undefined | triggers on trading meta change |
63
62
  > | `onUpdateTradingModal` | (payload: Partial\<{ isOpen: `boolean`; status: `'Success' \| 'None' \| 'Mining' \| 'Wallet'` }\>) => void | undefined | triggers on trading modal change |
64
63
  > | `onUpdateTransactions` | (payload: AddTransaction \| UpdateTransaction \| RemoveTransaction) => void | undefined | triggers on transaction action change |
65
64
  > | `onTradingSettleError` | (error: `Error`) => void | undefined | triggers on trading settle error |
@@ -90,7 +89,6 @@ Top level provider component. Headless part of trading logic. API handles params
90
89
  > | `type` | 'deposit' \| 'withdraw' | `'deposit'` | Trading type |
91
90
  > | `input` | { sendToken: { address: `Address`; symbol: `string`; value: `string`; decimals: `number`; isLoading?: `boolean` }; receiveToken: { address: `Address`; symbol: `string`; value: `string`; decimals: `number`; isLoading?: `boolean` } } | `poolConfigMap[poolAddress]` | Send/receive tokens pair |
92
91
  > | `entryFee` | { deposit: `number`; depositWithCustomCooldown: `number`; } | { deposit: `0`; depositWithCustomCooldown: `0.1` } | Entry fee config map |
93
- > | `meta` | { approvingStatus?: `'pending' \| 'success'` } | `{}` | Trading meta info |
94
92
  > | `modal` | { isOpen: `boolean`; status: `'Success' \| 'None' \| 'Mining' \| 'Wallet'`; action: `'deposit' \| 'withdraw' \| 'approve \| 'oraclesUpdate'`; link?: `string`; sendToken: TradingToken \| null; receiveToken: TradingToken \| null } | `{ isOpen: `false`,status: `'None'`, receiveToken: `null`, sendToken: `null` }` | Trading modal state |
95
93
  > | `transactions` | { action: `'deposit' \| 'withdraw' \| 'approve'`; symbol: `string`; chainId: `ChainId`; txHash?: `Address` }[] | `[]` | Pending transactions |
96
94
  > | `poolFallbackData` | { address: `Address`; managerLogicAddress?: `Address`; poolCompositions: `PoolComposition[]`; tokenPrice?: `string`; apy?: { value: `number`; currency: `'USD' \| 'ETH'` } } | { address: `AddressZero` } | Current active pool fallback data to override or extend contract's response |
@@ -130,7 +128,6 @@ UI configuration provider. Manages params to configure custom styling, component
130
128
  > | `standalone` | `boolean` | `true` | Handles token selection in SPA mode |
131
129
  > | `isAllAssetsWithdrawOptionDefault` | `boolean` | `false` | Sets "All Assets" withdraw option by default |
132
130
  > | `chainConfig` | `Partial<Record<ChainId, { name: string; iconPath: string }>>` | `{}` | Sets map of chain `name` and `iconPath` |
133
- > | `aaveOffchainWithdrawChainIds` | `ChainId[]` | `[]` | Offchain swap data will be used for Aave withdrawals for selected chains |
134
131
 
135
132
  ##### actions
136
133
 
@@ -430,102 +427,102 @@ path: `component.meta[name]`
430
427
  <code>Translation keys</code>
431
428
  </summary>|
432
429
 
433
- > | name | type | default value | description |
434
- > | -------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
435
- > | `depositSlippageWarning` | string | Excludes entry fee. Slippage may be amplified by the leverage. See the docs for more info. | |
436
- > | `withdrawSlippageWarning` | string | Slippage only applies to single asset withdrawals and withdrawals from vaults with debt positions in Aave. | |
437
- > | `minSlippageWarning` | string | Flexible min slippage value that is likely enough to process the transaction. | |
438
- > | `highSlippageWarning` | string | We recommend using another asset to trade with lower slippage. | |
439
- > | `recommendedMinSlippage` | string | Recommended Min Slippage | |
440
- > | `projectedDailyEarningsTooltip` | string | Projected daily earnings are based on the current APY and may differ from actual earnings. | |
441
- > | `dailyEarnings` | string | Daily Earnings | |
442
- > | `projectedYearlyEarningsTooltip` | string | Projected yearly earnings are based on the current APY and may differ from actual earnings. | |
443
- > | `yearlyEarnings` | string | Yearly Earnings | |
444
- > | `fullReceiveDetails` | string | See full details influencing what you will receive. | |
445
- > | `tradeDetails` | string | Trade details | |
446
- > | `maxSlippage` | string | Max slippage | |
447
- > | `minReceiveAmount` | string | You will receive no less than this amount. | |
448
- > | `minReceived` | string | Minimum Received | |
449
- > | `estimatedMultiAssetFractions` | string | Estimated multi asset fractions | |
450
- > | `infinite` | string | Infinite | |
451
- > | `tokenAllowance` | string | Token Allowance | |
452
- > | `entryFee` | string | Entry Fee | |
453
- > | `entryFeeExplanation` | string | When you deposit, the token takes a small entry fee. This fee helps cover the costs when we rebalance the underlying funds, and it's shared among all token holders. | |
454
- > | `amountToBeApproved` | string | Amount of {symbol} tokens to be approved. Can be customized in settings. | |
455
- > | `minDepositUsd` | string | Minimum deposit in USD. | |
456
- > | `minDeposit` | string | Minimum Deposit | |
457
- > | `tokensLockTime` | string | Purchased tokens will have a {lockTime} lock. | |
458
- > | `slippageTolerance` | string | Slippage tolerance | |
459
- > | `bypassEntryFee` | string | Bypass Entry Fee | |
460
- > | `tokenAmountToApprove` | string | Amount of tokens to be approved. | |
461
- > | `auto` | string | Auto | |
462
- > | `lengthenLockup` | string | Lengthen lockup to remove entry fee | |
463
- > | `deposit` | string | Buy | |
464
- > | `withdraw` | string | Sell | |
465
- > | `yourBalance` | string | Your Balance | |
466
- > | `max` | string | Max | |
467
- > | `allAssets` | string | All Assets | |
468
- > | `all` | string | All | |
469
- > | `payWith` | string | Pay with | |
470
- > | `buyEstimated` | string | Buy (estimated) | |
471
- > | `sell` | string | Sell | |
472
- > | `receiveEstimated` | string | Receive (estimated) | |
473
- > | `confirmInWallet` | string | Please confirm in wallet | |
474
- > | `pending` | string | Pending... | |
475
- > | `approve` | string | Approve | |
476
- > | `connectWallet` | string | Connect Wallet | |
477
- > | `minimumPurchase` | string | Minimum purchase is ${value} | |
478
- > | `poolIsInactive` | string | {poolSymbol} token is no longer active. Please withdraw from them. | |
479
- > | `poolIsPrivate` | string | This vault is currently private | |
480
- > | `updateOracles` | string | Update Oracles | |
481
- > | `checkingOracles` | string | Checking Oracles | |
482
- > | `confirmMaxSlippage` | string | Confirm {slippagePercentage}% max slippage | |
483
- > | `withdrawalWindowDisabled` | string | You can sell your {tokenSymbol} tokens during withdrawal window period starting from {startTime} | |
484
- > | `withdrawalLiquidityDisabled` | string | Intended withdraw value is greater than available liquidity ({symbol} {value}) | |
485
- > | `withdrawCooldown` | string | You can sell your {tokenSymbol} tokens in {cooldownEndTime} | |
486
- > | `termsOfUse` | string | Terms Of Use | |
487
- > | `termOfUseDepositListTitle` | string | Please know the following before depositing | |
488
- > | `termOfUseDepositAssetSlippage` | string | When exiting, investors receive single asset or the underlying vault assets. Withdraw slippage can be customized in withdraw settings | |
489
- > | `termOfUseDepositBugs` | string | There may be interface bugs on the platform | |
490
- > | `termOfUseDepositDowntime` | string | There may be interface downtime (planned and unplanned) | |
491
- > | `termOfUseDepositAuditRisk` | string | Smart contracts are audited but a risk is still present | |
492
- > | `termOfUseDepositAccept` | string | Accept & Deposit | |
493
- > | `back` | string | Back | |
494
- > | `highSlippage` | string | High Slippage Alert | |
430
+ > | name | type | default value | description |
431
+ > | -------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- |
432
+ > | `depositSlippageWarning` | string | Excludes entry fee. Slippage may be amplified by the leverage. See the docs for more info. | |
433
+ > | `withdrawSlippageWarning` | string | Slippage only applies to single asset withdrawals and withdrawals from vaults with debt positions in Aave. | |
434
+ > | `minSlippageWarning` | string | Flexible min slippage value that is likely enough to process the transaction. | |
435
+ > | `highSlippageWarning` | string | We recommend using another asset to trade with lower slippage. | |
436
+ > | `recommendedMinSlippage` | string | Recommended Min Slippage | |
437
+ > | `projectedDailyEarningsTooltip` | string | Projected daily earnings are based on the current APY and may differ from actual earnings. | |
438
+ > | `dailyEarnings` | string | Daily Earnings | |
439
+ > | `projectedYearlyEarningsTooltip` | string | Projected yearly earnings are based on the current APY and may differ from actual earnings. | |
440
+ > | `yearlyEarnings` | string | Yearly Earnings | |
441
+ > | `fullReceiveDetails` | string | See full details influencing what you will receive. | |
442
+ > | `tradeDetails` | string | Trade details | |
443
+ > | `maxSlippage` | string | Max slippage | |
444
+ > | `minReceiveAmount` | string | You will receive no less than this amount. | |
445
+ > | `minReceived` | string | Minimum Received | |
446
+ > | `estimatedMultiAssetFractions` | string | Estimated multi asset fractions | |
447
+ > | `infinite` | string | Infinite | |
448
+ > | `tokenAllowance` | string | Token Allowance | |
449
+ > | `entryFee` | string | Entry Fee | |
450
+ > | `entryFeeExplanation` | string | When you deposit, the token takes a small entry fee. This fee helps cover the costs when we rebalance the underlying funds, and it's shared among all token holders. | |
451
+ > | `minDepositUsd` | string | Minimum deposit in USD. | |
452
+ > | `minDeposit` | string | Minimum Deposit | |
453
+ > | `tokensLockTime` | string | Purchased tokens will have a {lockTime} lock. | |
454
+ > | `slippageTolerance` | string | Slippage tolerance | |
455
+ > | `bypassEntryFee` | string | Bypass Entry Fee | |
456
+ > | `tokenAmountToApprove` | string | Amount of tokens to be approved. | |
457
+ > | `auto` | string | Auto | |
458
+ > | `lengthenLockup` | string | Lengthen lockup to remove entry fee | |
459
+ > | `deposit` | string | Buy | |
460
+ > | `withdraw` | string | Sell | |
461
+ > | `yourBalance` | string | Your Balance | |
462
+ > | `max` | string | Max | |
463
+ > | `allAssets` | string | All Assets | |
464
+ > | `all` | string | All | |
465
+ > | `payWith` | string | Pay with | |
466
+ > | `buyEstimated` | string | Buy (estimated) | |
467
+ > | `sell` | string | Sell | |
468
+ > | `receiveEstimated` | string | Receive (estimated) | |
469
+ > | `confirmInWallet` | string | Please confirm in wallet | |
470
+ > | `pending` | string | Pending... | |
471
+ > | `approve` | string | Approve | |
472
+ > | `connectWallet` | string | Connect Wallet | |
473
+ > | `minimumPurchase` | string | Minimum purchase is ${value} | |
474
+ > | `poolIsInactive` | string | {poolSymbol} token is no longer active. Please withdraw from them. | |
475
+ > | `poolIsPrivate` | string | This vault is currently private | |
476
+ > | `updateOracles` | string | Update Oracles | |
477
+ > | `checkingOracles` | string | Checking Oracles | |
478
+ > | `confirmMaxSlippage` | string | Confirm {slippagePercentage}% max slippage | |
479
+ > | `withdrawalWindowDisabled` | string | You can sell your {tokenSymbol} tokens during withdrawal window period starting from {startTime} | |
480
+ > | `withdrawalLiquidityDisabled` | string | Intended withdraw value is greater than available liquidity ({symbol} {value}) | |
481
+ > | `withdrawCooldown` | string | You can sell your {tokenSymbol} tokens in {cooldownEndTime} | |
482
+ > | `termsOfUse` | string | Terms Of Use | |
483
+ > | `termOfUseDepositListTitle` | string | Please know the following before depositing | |
484
+ > | `termOfUseDepositAssetSlippage` | string | When exiting, investors receive single asset or the underlying vault assets. Withdraw slippage can be customized in withdraw settings | |
485
+ > | `termOfUseDepositBugs` | string | There may be interface bugs on the platform | |
486
+ > | `termOfUseDepositDowntime` | string | There may be interface downtime (planned and unplanned) | |
487
+ > | `termOfUseDepositAuditRisk` | string | Smart contracts are audited but a risk is still present | |
488
+ > | `termOfUseDepositAccept` | string | Accept & Deposit | |
489
+ > | `back` | string | Back | |
490
+ > | `highSlippage` | string | High Slippage Alert | |
495
491
  > | `responsibleHighSlippage` | string | By proceeding with this trade, you acknowledge and accept the possibility of experiencing high slippage, resulting in a potential difference between the expected and executed price. | |
496
- > | `highSlippageListTitle` | string | Please consider the following before confirming | |
497
- > | `highSlippageQuoteDiff` | string | Be aware that the final amount of assets you receive may be different from the initially quoted value. | |
498
- > | `highSlippageRisk` | string | Ensure that you understand the risks associated with high slippage and are comfortable proceeding with the trade. | |
499
- > | `confirm` | string | Confirm | |
500
- > | `selectToken` | string | Select Token | |
501
- > | `sendingOrderToWallet` | string | Sending order to your wallet | |
502
- > | `settingUpTx` | string | Setting up transaction | |
503
- > | `miningTx` | string | Processing | |
504
- > | `updateSynthetixOracles` | string | Updating Synthetix Oracles | |
505
- > | `approveSpending` | string | Approve {symbol} spending | |
506
- > | `pay` | string | Pay | |
507
- > | `multiAssetFractions` | string | multi asset fractions | |
508
- > | `swappableAssets` | string | swappable assets | |
509
- > | `explorer` | string | Explorer | |
510
- > | `as` | string | As | |
511
- > | `switchNetwork` | string | Switch Network | |
512
- > | `depositAction` | string | Buy | |
513
- > | `withdrawAction` | string | Sell | |
514
- > | `swapAction` | string | Swap | |
515
- > | `unrollAction` | string | Unroll | |
516
- > | `unrollAndClaimAction` | string | Claim | |
517
- > | `claimAction` | string | Claim Without Swap | |
518
- > | `claimLabel` | string | Claim | |
519
- > | `swapAndClaimTo` | string | Swap and claim assets to | |
520
- > | `initWithdrawDescription` | string | Unroll | |
521
- > | `initWithdrawTooltip` | string | Unroll prepares assets for single asset withdrawal | |
522
- > | `completeWithdrawDescription` | string | Claim | |
523
- > | `completeWithdrawTooltip` | string | This final step swaps all assets to a single asset and sends it to your wallet | |
524
- > | `unrollAndClaimDescription` | string | Claim | |
525
- > | `total` | string | Total: | |
526
- > | `showAll` | string | Show All | |
527
- > | `hide` | string | Hide | |
528
- > | `refreshSwapQuoteTooltip` | string | Refresh swap quote | |
492
+ > | `highSlippageListTitle` | string | Please consider the following before confirming | |
493
+ > | `highSlippageQuoteDiff` | string | Be aware that the final amount of assets you receive may be different from the initially quoted value. | |
494
+ > | `highSlippageRisk` | string | Ensure that you understand the risks associated with high slippage and are comfortable proceeding with the trade. | |
495
+ > | `confirm` | string | Confirm | |
496
+ > | `selectToken` | string | Select Token | |
497
+ > | `sendingOrderToWallet` | string | Sending order to your wallet | |
498
+ > | `settingUpTx` | string | Setting up transaction | |
499
+ > | `miningTx` | string | Processing | |
500
+ > | `updateSynthetixOracles` | string | Updating Synthetix Oracles | |
501
+ > | `approveSpending` | string | Approve {symbol} spending | |
502
+ > | `pay` | string | Pay | |
503
+ > | `multiAssetFractions` | string | multi asset fractions | |
504
+ > | `swappableAssets` | string | swappable assets | |
505
+ > | `explorer` | string | Explorer | |
506
+ > | `as` | string | As | |
507
+ > | `switchNetwork` | string | Switch Network | |
508
+ > | `depositAction` | string | Buy | |
509
+ > | `withdrawAction` | string | Sell | |
510
+ > | `swapAction` | string | Swap | |
511
+ > | `unrollAction` | string | Unroll | |
512
+ > | `unrollAndClaimAction` | string | Claim | |
513
+ > | `claimAction` | string | Claim Without Swap | |
514
+ > | `claimLabel` | string | Claim Assets | |
515
+ > | `swapAndClaimTo` | string | Swap and claim assets to | |
516
+ > | `initWithdrawDescription` | string | Unroll | |
517
+ > | `initWithdrawTooltip` | string | Unroll prepares assets for single asset withdrawal | |
518
+ > | `completeWithdrawDescription` | string | Claim | |
519
+ > | `completeWithdrawTooltip` | string | This final step swaps all assets to a single asset and sends it to your wallet | |
520
+ > | `unrollAndClaimDescription` | string | Claim | |
521
+ > | `total` | string | Total: | |
522
+ > | `showAll` | string | Show All | |
523
+ > | `hide` | string | Hide | |
524
+ > | `refreshSwapQuoteTooltip` | string | Refresh swap quote | |
525
+ > | `proceedWithNextStep` | string | Please proceed with the next step. | |
529
526
 
530
527
  ###### Source: `packages/trading-widget/src/trading-widget/providers/translation-provider/translation-provider.tsx`
531
528
 
@@ -1,4 +1,8 @@
1
1
  export declare const EasySwapperV2Abi: readonly [{
2
+ readonly inputs: readonly [];
3
+ readonly name: "EmptyPayload";
4
+ readonly type: "error";
5
+ }, {
2
6
  readonly inputs: readonly [];
3
7
  readonly name: "FailedInnerCall";
4
8
  readonly type: "error";
@@ -434,54 +438,6 @@ export declare const EasySwapperV2Abi: readonly [{
434
438
  }];
435
439
  readonly stateMutability: "view";
436
440
  readonly type: "function";
437
- }, {
438
- readonly inputs: readonly [{
439
- readonly internalType: "address";
440
- readonly name: "_dHedgeVault";
441
- readonly type: "address";
442
- }, {
443
- readonly internalType: "uint256";
444
- readonly name: "_amountIn";
445
- readonly type: "uint256";
446
- }, {
447
- readonly components: readonly [{
448
- readonly internalType: "address";
449
- readonly name: "supportedAsset";
450
- readonly type: "address";
451
- }, {
452
- readonly internalType: "bytes";
453
- readonly name: "withdrawData";
454
- readonly type: "bytes";
455
- }, {
456
- readonly internalType: "uint256";
457
- readonly name: "slippageTolerance";
458
- readonly type: "uint256";
459
- }];
460
- readonly internalType: "struct IPoolLogic.ComplexAsset[]";
461
- readonly name: "_complexAssetsData";
462
- readonly type: "tuple[]";
463
- }];
464
- readonly name: "initWithdrawal";
465
- readonly outputs: readonly [{
466
- readonly components: readonly [{
467
- readonly internalType: "address";
468
- readonly name: "token";
469
- readonly type: "address";
470
- }, {
471
- readonly internalType: "uint256";
472
- readonly name: "balance";
473
- readonly type: "uint256";
474
- }];
475
- readonly internalType: "struct IWithdrawalVault.TrackedAsset[]";
476
- readonly name: "trackedAssets";
477
- readonly type: "tuple[]";
478
- }, {
479
- readonly internalType: "address";
480
- readonly name: "vault";
481
- readonly type: "address";
482
- }];
483
- readonly stateMutability: "nonpayable";
484
- readonly type: "function";
485
441
  }, {
486
442
  readonly inputs: readonly [{
487
443
  readonly internalType: "address";
@@ -1,9 +1,8 @@
1
1
  export { erc20Abi } from './erc20';
2
- export { AaveLendingPoolAbi } from './aave/aave-lending-pool';
3
- export { AaveAssetGuardAbi } from './aave/aave-asset-guard';
2
+ export { AaveLendingPoolAbi } from './aave-lending-pool';
4
3
  export { DHedgeStakingV2Abi } from './dhedge-staking-v2';
5
4
  export { PoolFactoryAbi } from './pool-factory';
6
- export { PoolLogicAbi, ComplexWithdrawalAssetSrcDataAbiItem, ComplexWithdrawalDataAbiItem, } from './pool-logic';
5
+ export { PoolLogicAbi } from './pool-logic';
7
6
  export { PoolManagerLogicAbi } from './pool-manager-logic';
8
7
  export { RewardDistributionAbi } from './reward-distribution';
9
8
  export { ITrustedMulticallForwarderAbi, IERC7412Abi, SynthetixV3CoreAbi, SynthetixV3AssetGuard, SynthetixV3ContractGuard, } from './synthetix-v3';