@dhedge/trading-widget 4.4.0-canary.2 → 4.4.0

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 (47) hide show
  1. package/README.md +118 -126
  2. package/core-kit/abi/limit-order.d.ts +0 -15
  3. package/core-kit/abi/pool-manager-logic.d.ts +20 -0
  4. package/core-kit/const/logger.d.ts +0 -2
  5. package/core-kit/hooks/pool/multicall/use-pool-manager.dynamic.d.ts +40 -0
  6. package/core-kit/hooks/pool/multicall/use-pool-manager.static.d.ts +193 -0
  7. package/core-kit/hooks/pool/multicall/use-pool.dynamic.d.ts +2 -2
  8. package/core-kit/hooks/pool/use-available-manager-fee.d.ts +267 -0
  9. package/core-kit/hooks/pool/use-pool-composition-with-fraction.d.ts +2 -2
  10. package/core-kit/hooks/trading/deposit-v2/use-is-max-supply-cap-reached.d.ts +4 -0
  11. package/core-kit/types/config.types.d.ts +0 -1
  12. package/core-kit/types/trading-panel.types.d.ts +1 -1
  13. package/core-kit/utils/number.d.ts +1 -1
  14. package/index.cjs +10 -10
  15. package/index.d.ts +2 -2
  16. package/index.js +6401 -6635
  17. package/limit-orders/hooks/use-user-limit-order.d.ts +0 -15
  18. package/limit-orders/index.d.ts +0 -3
  19. package/package.json +1 -1
  20. package/style.css +1 -1
  21. package/trading-widget/components/deposit/button/valid-deposit-button/valid-deposit-button.hooks.d.ts +0 -1
  22. package/trading-widget/components/widget/widget-meta/index.d.ts +1 -1
  23. package/trading-widget/components/widget/widget-overlay/index.d.ts +0 -1
  24. package/trading-widget/components/widget/widget-overlay/pool-select-overlay/pool-select-overlay.hooks.d.ts +0 -1
  25. package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-overlay.hooks.d.ts +0 -1
  26. package/trading-widget/components/withdraw/init-step/button/valid-init-withdraw-button/valid-init-withdraw-button.hooks.d.ts +0 -2
  27. package/trading-widget/providers/component-provider/component-provider.d.ts +1 -1
  28. package/trading-widget/providers/component-provider/component-provider.hooks.d.ts +1 -1
  29. package/trading-widget/providers/component-provider/component-provider.types.d.ts +4 -1
  30. package/trading-widget/providers/translation-provider/translation-provider.types.d.ts +0 -9
  31. package/trading-widget/types/overlay.types.d.ts +0 -1
  32. package/core-kit/hooks/trading/limit-order-withdraw/use-is-limit-order-withdraw.d.ts +0 -1
  33. package/core-kit/hooks/trading/limit-order-withdraw/use-is-limit-withdraw-order-approved.d.ts +0 -1
  34. package/core-kit/hooks/trading/limit-order-withdraw/use-limit-order-withdraw-amount.d.ts +0 -2
  35. package/core-kit/hooks/trading/limit-order-withdraw/use-limit-order-withdraw-transaction.d.ts +0 -1
  36. package/core-kit/hooks/trading/limit-order-withdraw/use-limit-withdraw-approve-transaction.d.ts +0 -4
  37. package/core-kit/hooks/trading/trade-handlers/use-handle-limit-order-withdraw.d.ts +0 -10
  38. package/trading-widget/components/widget/widget-overlay/limit-order-withdraw-overlay/limit-order-withdraw-approve-button/limit-order-withdraw-approve-button.d.ts +0 -2
  39. package/trading-widget/components/widget/widget-overlay/limit-order-withdraw-overlay/limit-order-withdraw-approve-button/limit-order-withdraw-approve-button.hooks.d.ts +0 -5
  40. package/trading-widget/components/widget/widget-overlay/limit-order-withdraw-overlay/limit-order-withdraw-button/limit-order-withdraw-button.d.ts +0 -6
  41. package/trading-widget/components/widget/widget-overlay/limit-order-withdraw-overlay/limit-order-withdraw-button/limit-order-withdraw-button.hooks.d.ts +0 -5
  42. package/trading-widget/components/widget/widget-overlay/limit-order-withdraw-overlay/limit-order-withdraw-overlay.d.ts +0 -3
  43. package/trading-widget/components/widget/widget-overlay/limit-order-withdraw-overlay/limit-order-withdraw-terms-content.d.ts +0 -6
  44. package/trading-widget/components/widget/widget-overlay/trading-overlay/withdrawals/limit-order-withdrawal-overlay.d.ts +0 -3
  45. package/trading-widget/components/widget/widget-overlay/trading-overlay/withdrawals/limit-order-withdrawal-overlay.hooks.d.ts +0 -5
  46. package/trading-widget/components/withdraw/init-step/button/limit-order-withdraw-button/limit-order-withdraw-button.d.ts +0 -2
  47. package/trading-widget/components/withdraw/init-step/button/limit-order-withdraw-button/limit-order-withdraw-button.hooks.d.ts +0 -4
package/README.md CHANGED
@@ -176,17 +176,18 @@ UI configuration provider. Manages params to configure custom styling, component
176
176
  <code>Custom components to be injected into widget layout</code>
177
177
  </summary>
178
178
 
179
- > | name | type | default value | description |
180
- > | ------------------- | ----------------------------------- | ------------------- | ------------------------------------------------------------------------------------------------------------- |
181
- > | `GeoBlockAlert` | ComponentType | `<GeoBlockAlert>` | Component replaces deposit button while `isGeoBlocked` config param is set to `true` |
182
- > | `SanctionedAlert` | ComponentType | `<SanctionedAlert>` | Component replaces deposit button while `isSanctioned` config param is set to `true` |
183
- > | `DepositMetaInfo` | ComponentType | `undefined` | Component is injected into deposit meta part of widget layout nearby TransactionOverviewDisclosure |
184
- > | `WithdrawMetaInfo` | ComponentType | `undefined` | Component is injected into withdraw meta part of widget layout nearby WithdrawTransactionOverviewDisclosure |
185
- > | `CustomDepositMeta` | ComponentType | `undefined` | Custom extra component injected above deposit meta section in the deposit tab panel (e.g., chart, info, etc.) |
186
- > | `Image` | ComponentType<ImageProps> | `<img>` | Component optionally can be used to pass `nextjs` Image component to be used for assets rendering |
187
- > | `LogoSpinner` | ComponentType<SVGProps<SVGElement>> | `<Spinner>` | Component is injected into widget pending transaction overlay. Assume using of spinning animation |
188
- > | `DepositTermsOfUse` | ComponentType | `undefined` | Component is injected into `TermsOfUseOverlay` to extend default terms of use statement points |
189
- > | `ActionButton` | ComponentType | `<ActionButton>` | Component overrides default `ActionButton` and has `ButtonProps` API |
179
+ > | name | type | default value | description |
180
+ > | ----------------------- | ----------------------------------- | ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
181
+ > | `GeoBlockAlert` | ComponentType | `<GeoBlockAlert>` | Component replaces deposit button while `isGeoBlocked` config param is set to `true` |
182
+ > | `SanctionedAlert` | ComponentType | `<SanctionedAlert>` | Component replaces deposit button while `isSanctioned` config param is set to `true` |
183
+ > | `MaxSupplyReachedAlert` | ComponentType | `<MaxSupplyReachedAlert>` | Component rendered in the deposit meta when the expected total supply exceeds the max cap; warns that the deposit will not go through |
184
+ > | `DepositMetaInfo` | ComponentType | `undefined` | Component is injected into deposit meta part of widget layout nearby TransactionOverviewDisclosure |
185
+ > | `WithdrawMetaInfo` | ComponentType | `undefined` | Component is injected into withdraw meta part of widget layout nearby WithdrawTransactionOverviewDisclosure |
186
+ > | `CustomDepositMeta` | ComponentType | `undefined` | Custom extra component injected above deposit meta section in the deposit tab panel (e.g., chart, info, etc.) |
187
+ > | `Image` | ComponentType<ImageProps> | `<img>` | Component optionally can be used to pass `nextjs` Image component to be used for assets rendering |
188
+ > | `LogoSpinner` | ComponentType<SVGProps<SVGElement>> | `<Spinner>` | Component is injected into widget pending transaction overlay. Assume using of spinning animation |
189
+ > | `DepositTermsOfUse` | ComponentType | `undefined` | Component is injected into `TermsOfUseOverlay` to extend default terms of use statement points |
190
+ > | `ActionButton` | ComponentType | `<ActionButton>` | Component overrides default `ActionButton` and has `ButtonProps` API |
190
191
 
191
192
  ###### Source: `packages/trading-widget/src/trading-widget/providers/component-provider/component-provider.tsx`
192
193
 
@@ -482,121 +483,112 @@ path: `component.meta[name]`
482
483
  <code>Translation keys</code>
483
484
  </summary>|
484
485
 
485
- > | name | type | default value | description |
486
- > | ----------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
487
- > | `depositSlippageWarning` | string | Excludes entry fee. | |
488
- > | `withdrawSlippageWarning` | string | Slippage only applies to single asset withdrawals and withdrawals from vaults with debt positions in Aave. | |
489
- > | `minSlippageWarning` | string | Flexible min slippage value that is likely enough to process the transaction. | |
490
- > | `highSlippageWarning` | string | We recommend using another asset to trade with lower slippage. | |
491
- > | `recommendedMinSlippage` | string | Recommended Min Slippage | |
492
- > | `projectedDailyEarningsTooltip` | string | Projected daily earnings are based on the current APY and may differ from actual earnings. | |
493
- > | `dailyEarnings` | string | Daily Earnings | |
494
- > | `projectedYearlyEarningsTooltip` | string | Projected yearly earnings are based on the current APY and may differ from actual earnings. | |
495
- > | `yearlyEarnings` | string | Yearly Earnings | |
496
- > | `fullReceiveDetails` | string | See full details influencing what you will receive. | |
497
- > | `tradeDetails` | string | Trade details | |
498
- > | `maxSlippage` | string | Max slippage | |
499
- > | `minReceiveAmount` | string | You will receive no less than this amount. | |
500
- > | `minReceived` | string | Minimum Received | |
501
- > | `estimatedMultiAssetFractions` | string | Estimated multi asset fractions | |
502
- > | `infinite` | string | Infinite | |
503
- > | `tokenAllowance` | string | Token Allowance | |
504
- > | `entryFee` | string | Entry Fee | |
505
- > | `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. | |
506
- > | `minDepositUsd` | string | Minimum deposit in USD. | |
507
- > | `minDeposit` | string | Minimum Deposit | |
508
- > | `tokensLockTime` | string | Purchased tokens will have a {lockTime} lock. | |
509
- > | `slippageTolerance` | string | Slippage tolerance | |
510
- > | `bypassEntryFee` | string | Bypass Entry Fee | |
511
- > | `tokenAmountToApprove` | string | Amount of tokens to be approved. | |
512
- > | `auto` | string | Auto | |
513
- > | `lengthenLockup` | string | Lengthen lockup to remove entry fee | |
514
- > | `deposit` | string | Buy | |
515
- > | `withdraw` | string | Sell | |
516
- > | `max` | string | Max | |
517
- > | `allAssets` | string | All Assets | |
518
- > | `all` | string | All | |
519
- > | `sell` | string | Sell | |
520
- > | `receiveEstimated` | string | Receive (estimated) | |
521
- > | `confirmInWallet` | string | Please confirm in wallet | |
522
- > | `pending` | string | Pending... | |
523
- > | `approve` | string | Approve | |
524
- > | `connectWallet` | string | Connect Wallet | |
525
- > | `minimumPurchase` | string | Minimum purchase is {value} | |
526
- > | `poolIsInactive` | string | {poolSymbol} token is no longer active. Please withdraw from them. | |
527
- > | `poolDepositsAreMaintenance` | string | {poolSymbol} token is under maintenance. Deposits are temporarily blocked. | |
528
- > | `poolWithdrawalsAreMaintenance` | string | {poolSymbol} token is under maintenance. Withdrawals are temporarily blocked. | |
529
- > | `poolIsPrivate` | string | This vault is currently private | |
530
- > | `confirmMaxSlippage` | string | Confirm {slippagePercentage}% max slippage | |
531
- > | `withdrawalLiquidityDisabled` | string | Intended withdraw value is greater than available liquidity ({value}) | |
532
- > | `withdrawCooldown` | string | You can sell your {tokenSymbol} tokens in {cooldownEndTime} | |
533
- > | `termsOfUse` | string | Terms Of Use | |
534
- > | `termOfUseDepositListTitle` | string | Please know the following before depositing | |
535
- > | `termOfUseDepositAssetSlippage` | string | When exiting, investors receive single asset or the underlying vault assets. Withdraw slippage can be customized in withdraw settings | |
536
- > | `termOfUseDepositBugs` | string | There may be interface bugs on the platform | |
537
- > | `termOfUseDepositDowntime` | string | There may be interface downtime (planned and unplanned) | |
538
- > | `termOfUseDepositAuditRisk` | string | Smart contracts are audited but a risk is still present | |
539
- > | `termOfUseDepositAccept` | string | Accept & Deposit | |
540
- > | `back` | string | Back | |
541
- > | `done` | string | Done | |
542
- > | `termOfUseWithdrawAcceptLabel` | string | I understand and accept the withdraw terms | |
543
- > | `termOfUseWithdrawPoint1` | string | Withdrawal requests are intended to settle in USDC. In rare cases where market conditions or high slippage prevent a USDC swap, the order may be settled in the underlying tokens of the respective vault. | |
544
- > | `termOfUseWithdrawPoint2` | string | Revoking token approval after placing an order will prevent the order from being executed. | |
545
- > | `highSlippage` | string | High Slippage Alert | |
546
- > | `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. | |
547
- > | `highSlippageListTitle` | string | Please consider the following before confirming | |
548
- > | `highSlippageQuoteDiff` | string | Be aware that the final amount of assets you receive may be different from the initially quoted value. | |
549
- > | `highSlippageRisk` | string | Ensure that you understand the risks associated with high slippage and are comfortable proceeding with the trade. | |
550
- > | `confirm` | string | Confirm | |
551
- > | `selectToken` | string | Select Token | |
552
- > | `sendingOrderToWallet` | string | Sending order to your wallet | |
553
- > | `settingUpTx` | string | Setting up transaction | |
554
- > | `miningTx` | string | Processing | |
555
- > | `approveSpending` | string | Approve {symbol} spending | |
556
- > | `pay` | string | Pay | |
557
- > | `multiAssetFractions` | string | multi asset fractions | |
558
- > | `swappableAssets` | string | swappable assets | |
559
- > | `explorer` | string | Explorer | |
560
- > | `as` | string | As | |
561
- > | `switchNetwork` | string | Switch Network | |
562
- > | `depositAction` | string | Buy | |
563
- > | `withdrawAction` | string | Sell | |
564
- > | `swapAction` | string | Swap | |
565
- > | `unrollAction` | string | Unroll | |
566
- > | `unrollAndClaimAction` | string | Claim | |
567
- > | `claimAction` | string | Claim Without Swap | |
568
- > | `claimLabel` | string | Claim Assets | |
569
- > | `createLimitSellOrder` | string | Stop order set | |
570
- > | `swapAndClaimTo` | string | Swap and claim assets to | |
571
- > | `initWithdrawDescription` | string | Unroll | |
572
- > | `initWithdrawTooltip` | string | Unroll prepares assets for single asset withdrawal | |
573
- > | `completeWithdrawDescription` | string | Claim | |
574
- > | `completeWithdrawTooltip` | string | This final step swaps all assets to a single asset and sends it to your wallet | |
575
- > | `unrollAndClaimDescription` | string | Claim | |
576
- > | `limitOrderWithdrawDescription` | string | You are about to create a withdrawal request. Your vault tokens will be withdrawn within a few minutes. | |
577
- > | `total` | string | Total: | |
578
- > | `showAll` | string | Show All | |
579
- > | `hide` | string | Hide | |
580
- > | `refreshSwapQuoteTooltip` | string | Refresh swap quote | |
581
- > | `proceedWithNextStep` | string | Please proceed with the next step. | |
582
- > | `aggregatorsLabel` | string | Swap source | |
583
- > | `aggregatorsTooltip` | string | Choose which aggregators to use for your trades. | |
584
- > | `batchTransactionsLabel` | string | Batch transactions | |
585
- > | `batchTransactionsSwitchLabel` | string | Batch | |
586
- > | `batchTransactionsTooltip` | string | Group approve and trade calls into a single batch transaction. Disable if you prefer separate prompts. | |
587
- > | `openLimitOrderAfterBuySwitchLabel` | string | Add Stop Order | |
588
- > | `orderingLabel` | string | Ordering | |
589
- > | `paidLabel` | string | Paid | |
590
- > | `priceLabel` | string | Price | |
591
- > | `transactionLabel` | string | Transaction | |
592
- > | `stopOrder` | string | Stop Order | |
593
- > | `send` | string | Send | |
594
- > | `cooldown` | string | Cooldown | |
595
- > | `delete` | string | Delete | |
596
- > | `withdrawalRequest` | string | Withdrawal request | |
597
- > | `deleteWithdrawalRequest` | string | Delete withdrawal request | |
598
- > | `insufficientBalance` | string | Insufficient Balance | |
599
- > | `expectToReceiveUsdcSoon` | string | Expect to receive your USDC over the next few minutes | |
486
+ > | name | type | default value | description |
487
+ > | ----------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
488
+ > | `depositSlippageWarning` | string | Excludes entry fee. | |
489
+ > | `withdrawSlippageWarning` | string | Slippage only applies to single asset withdrawals and withdrawals from vaults with debt positions in Aave. | |
490
+ > | `minSlippageWarning` | string | Flexible min slippage value that is likely enough to process the transaction. | |
491
+ > | `highSlippageWarning` | string | We recommend using another asset to trade with lower slippage. | |
492
+ > | `recommendedMinSlippage` | string | Recommended Min Slippage | |
493
+ > | `projectedDailyEarningsTooltip` | string | Projected daily earnings are based on the current APY and may differ from actual earnings. | |
494
+ > | `dailyEarnings` | string | Daily Earnings | |
495
+ > | `projectedYearlyEarningsTooltip` | string | Projected yearly earnings are based on the current APY and may differ from actual earnings. | |
496
+ > | `yearlyEarnings` | string | Yearly Earnings | |
497
+ > | `fullReceiveDetails` | string | See full details influencing what you will receive. | |
498
+ > | `tradeDetails` | string | Trade details | |
499
+ > | `maxSlippage` | string | Max slippage | |
500
+ > | `minReceiveAmount` | string | You will receive no less than this amount. | |
501
+ > | `minReceived` | string | Minimum Received | |
502
+ > | `estimatedMultiAssetFractions` | string | Estimated multi asset fractions | |
503
+ > | `infinite` | string | Infinite | |
504
+ > | `tokenAllowance` | string | Token Allowance | |
505
+ > | `entryFee` | string | Entry Fee | |
506
+ > | `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. | |
507
+ > | `minDepositUsd` | string | Minimum deposit in USD. | |
508
+ > | `minDeposit` | string | Minimum Deposit | |
509
+ > | `tokensLockTime` | string | Purchased tokens will have a {lockTime} lock. | |
510
+ > | `slippageTolerance` | string | Slippage tolerance | |
511
+ > | `bypassEntryFee` | string | Bypass Entry Fee | |
512
+ > | `tokenAmountToApprove` | string | Amount of tokens to be approved. | |
513
+ > | `auto` | string | Auto | |
514
+ > | `lengthenLockup` | string | Lengthen lockup to remove entry fee | |
515
+ > | `deposit` | string | Buy | |
516
+ > | `withdraw` | string | Sell | |
517
+ > | `max` | string | Max | |
518
+ > | `allAssets` | string | All Assets | |
519
+ > | `all` | string | All | |
520
+ > | `sell` | string | Sell | |
521
+ > | `receiveEstimated` | string | Receive (estimated) | |
522
+ > | `confirmInWallet` | string | Please confirm in wallet | |
523
+ > | `pending` | string | Pending... | |
524
+ > | `approve` | string | Approve | |
525
+ > | `connectWallet` | string | Connect Wallet | |
526
+ > | `minimumPurchase` | string | Minimum purchase is {value} | |
527
+ > | `poolIsInactive` | string | {poolSymbol} token is no longer active. Please withdraw from them. | |
528
+ > | `poolDepositsAreMaintenance` | string | {poolSymbol} token is under maintenance. Deposits are temporarily blocked. | |
529
+ > | `poolWithdrawalsAreMaintenance` | string | {poolSymbol} token is under maintenance. Withdrawals are temporarily blocked. | |
530
+ > | `poolIsPrivate` | string | This vault is currently private | |
531
+ > | `confirmMaxSlippage` | string | Confirm {slippagePercentage}% max slippage | |
532
+ > | `withdrawalLiquidityDisabled` | string | Intended withdraw value is greater than available liquidity ({value}) | |
533
+ > | `withdrawCooldown` | string | You can sell your {tokenSymbol} tokens in {cooldownEndTime} | |
534
+ > | `termsOfUse` | string | Terms Of Use | |
535
+ > | `termOfUseDepositListTitle` | string | Please know the following before depositing | |
536
+ > | `termOfUseDepositAssetSlippage` | string | When exiting, investors receive single asset or the underlying vault assets. Withdraw slippage can be customized in withdraw settings | |
537
+ > | `termOfUseDepositBugs` | string | There may be interface bugs on the platform | |
538
+ > | `termOfUseDepositDowntime` | string | There may be interface downtime (planned and unplanned) | |
539
+ > | `termOfUseDepositAuditRisk` | string | Smart contracts are audited but a risk is still present | |
540
+ > | `termOfUseDepositAccept` | string | Accept & Deposit | |
541
+ > | `back` | string | Back | |
542
+ > | `done` | string | Done | |
543
+ > | `highSlippage` | string | High Slippage Alert | |
544
+ > | `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. | |
545
+ > | `highSlippageListTitle` | string | Please consider the following before confirming | |
546
+ > | `highSlippageQuoteDiff` | string | Be aware that the final amount of assets you receive may be different from the initially quoted value. | |
547
+ > | `highSlippageRisk` | string | Ensure that you understand the risks associated with high slippage and are comfortable proceeding with the trade. | |
548
+ > | `confirm` | string | Confirm | |
549
+ > | `selectToken` | string | Select Token | |
550
+ > | `sendingOrderToWallet` | string | Sending order to your wallet | |
551
+ > | `settingUpTx` | string | Setting up transaction | |
552
+ > | `miningTx` | string | Processing | |
553
+ > | `approveSpending` | string | Approve {symbol} spending | |
554
+ > | `pay` | string | Pay | |
555
+ > | `multiAssetFractions` | string | multi asset fractions | |
556
+ > | `swappableAssets` | string | swappable assets | |
557
+ > | `explorer` | string | Explorer | |
558
+ > | `as` | string | As | |
559
+ > | `switchNetwork` | string | Switch Network | |
560
+ > | `depositAction` | string | Buy | |
561
+ > | `withdrawAction` | string | Sell | |
562
+ > | `swapAction` | string | Swap | |
563
+ > | `unrollAction` | string | Unroll | |
564
+ > | `unrollAndClaimAction` | string | Claim | |
565
+ > | `claimAction` | string | Claim Without Swap | |
566
+ > | `claimLabel` | string | Claim Assets | |
567
+ > | `createLimitSellOrder` | string | Stop order set | |
568
+ > | `swapAndClaimTo` | string | Swap and claim assets to | |
569
+ > | `initWithdrawDescription` | string | Unroll | |
570
+ > | `initWithdrawTooltip` | string | Unroll prepares assets for single asset withdrawal | |
571
+ > | `completeWithdrawDescription` | string | Claim | |
572
+ > | `completeWithdrawTooltip` | string | This final step swaps all assets to a single asset and sends it to your wallet | |
573
+ > | `unrollAndClaimDescription` | string | Claim | |
574
+ > | `total` | string | Total: | |
575
+ > | `showAll` | string | Show All | |
576
+ > | `hide` | string | Hide | |
577
+ > | `refreshSwapQuoteTooltip` | string | Refresh swap quote | |
578
+ > | `proceedWithNextStep` | string | Please proceed with the next step. | |
579
+ > | `aggregatorsLabel` | string | Swap source | |
580
+ > | `aggregatorsTooltip` | string | Choose which aggregators to use for your trades. | |
581
+ > | `batchTransactionsLabel` | string | Batch transactions | |
582
+ > | `batchTransactionsSwitchLabel` | string | Batch | |
583
+ > | `batchTransactionsTooltip` | string | Group approve and trade calls into a single batch transaction. Disable if you prefer separate prompts. | |
584
+ > | `openLimitOrderAfterBuySwitchLabel` | string | Add Stop Order | |
585
+ > | `orderingLabel` | string | Ordering | |
586
+ > | `paidLabel` | string | Paid | |
587
+ > | `priceLabel` | string | Price | |
588
+ > | `transactionLabel` | string | Transaction | |
589
+ > | `stopOrder` | string | Stop Order | |
590
+ > | `send` | string | Send | |
591
+ > | `cooldown` | string | Cooldown | |
600
592
 
601
593
  ###### Source: `packages/trading-widget/src/trading-widget/providers/translation-provider/translation-provider.tsx`
602
594
 
@@ -205,21 +205,6 @@ export declare const LimitOrderAbi: readonly [{
205
205
  }];
206
206
  readonly name: "LimitOrderModified";
207
207
  readonly type: "event";
208
- }, {
209
- readonly anonymous: false;
210
- readonly inputs: readonly [{
211
- readonly indexed: true;
212
- readonly internalType: "address";
213
- readonly name: "user";
214
- readonly type: "address";
215
- }, {
216
- readonly indexed: false;
217
- readonly internalType: "uint256";
218
- readonly name: "destTokenAmountReceived";
219
- readonly type: "uint256";
220
- }];
221
- readonly name: "SettlementOrderExecuted";
222
- readonly type: "event";
223
208
  }, {
224
209
  readonly inputs: readonly [];
225
210
  readonly name: "SLIPPAGE_DENOMINATOR";
@@ -104,4 +104,24 @@ export declare const PoolManagerLogicAbi: readonly [{
104
104
  }];
105
105
  readonly stateMutability: "view";
106
106
  readonly type: "function";
107
+ }, {
108
+ readonly inputs: readonly [];
109
+ readonly name: "maxSupplyCap";
110
+ readonly outputs: readonly [{
111
+ readonly internalType: "uint256";
112
+ readonly name: "";
113
+ readonly type: "uint256";
114
+ }];
115
+ readonly stateMutability: "view";
116
+ readonly type: "function";
117
+ }, {
118
+ readonly inputs: readonly [];
119
+ readonly name: "poolFeeShareNumerator";
120
+ readonly outputs: readonly [{
121
+ readonly internalType: "uint256";
122
+ readonly name: "";
123
+ readonly type: "uint256";
124
+ }];
125
+ readonly stateMutability: "view";
126
+ readonly type: "function";
107
127
  }];
@@ -14,8 +14,6 @@ export declare const TRADING_PANEL_LOG_EVENT: {
14
14
  BATCH_TRANSACTIONS_CHANGE: string;
15
15
  CREATE_LIMIT_SELL_ORDER: string;
16
16
  OPEN_LIMIT_SELL_VIEW: string;
17
- LIMIT_ORDER_WITHDRAW: string;
18
- LIMIT_ORDER_WITHDRAW_DELETE: string;
19
17
  };
20
18
  export declare const LOG_EVENT_BY_TRANSACTION_ACTION_MAP: Record<TransactionAction, string[]>;
21
19
  /**
@@ -107,6 +107,26 @@ export declare const usePoolManagerDynamic: ({ address, chainId, }: PoolContract
107
107
  }];
108
108
  readonly stateMutability: "view";
109
109
  readonly type: "function";
110
+ }, {
111
+ readonly inputs: readonly [];
112
+ readonly name: "maxSupplyCap";
113
+ readonly outputs: readonly [{
114
+ readonly internalType: "uint256";
115
+ readonly name: "";
116
+ readonly type: "uint256";
117
+ }];
118
+ readonly stateMutability: "view";
119
+ readonly type: "function";
120
+ }, {
121
+ readonly inputs: readonly [];
122
+ readonly name: "poolFeeShareNumerator";
123
+ readonly outputs: readonly [{
124
+ readonly internalType: "uint256";
125
+ readonly name: "";
126
+ readonly type: "uint256";
127
+ }];
128
+ readonly stateMutability: "view";
129
+ readonly type: "function";
110
130
  }];
111
131
  readonly functionName: "getFundComposition";
112
132
  readonly chainId: number;
@@ -218,6 +238,26 @@ export declare const usePoolManagerDynamic: ({ address, chainId, }: PoolContract
218
238
  }];
219
239
  readonly stateMutability: "view";
220
240
  readonly type: "function";
241
+ }, {
242
+ readonly inputs: readonly [];
243
+ readonly name: "maxSupplyCap";
244
+ readonly outputs: readonly [{
245
+ readonly internalType: "uint256";
246
+ readonly name: "";
247
+ readonly type: "uint256";
248
+ }];
249
+ readonly stateMutability: "view";
250
+ readonly type: "function";
251
+ }, {
252
+ readonly inputs: readonly [];
253
+ readonly name: "poolFeeShareNumerator";
254
+ readonly outputs: readonly [{
255
+ readonly internalType: "uint256";
256
+ readonly name: "";
257
+ readonly type: "uint256";
258
+ }];
259
+ readonly stateMutability: "view";
260
+ readonly type: "function";
221
261
  }];
222
262
  readonly functionName: "getSupportedAssets";
223
263
  readonly chainId: number;