@dhedge/trading-widget 4.2.0-canary.5 → 4.2.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 (33) hide show
  1. package/README.md +108 -117
  2. package/core-kit/const/default-data.d.ts +2 -1
  3. package/core-kit/const/logger.d.ts +0 -2
  4. package/core-kit/types/trading-panel.types.d.ts +1 -1
  5. package/index.cjs +10 -10
  6. package/index.js +6538 -6854
  7. package/package.json +1 -1
  8. package/style.css +1 -1
  9. package/trading-widget/components/common/alert/alert.d.ts +0 -1
  10. package/trading-widget/components/deposit/button/valid-deposit-button/valid-deposit-button.hooks.d.ts +0 -1
  11. package/trading-widget/components/widget/widget-meta/index.d.ts +1 -2
  12. package/trading-widget/components/widget/widget-overlay/index.d.ts +0 -1
  13. package/trading-widget/components/withdraw/init-step/button/valid-init-withdraw-button/valid-init-withdraw-button.hooks.d.ts +0 -2
  14. package/trading-widget/providers/theme-provider/theme-provider.types.d.ts +1 -10
  15. package/trading-widget/providers/translation-provider/translation-provider.types.d.ts +0 -9
  16. package/trading-widget/types/overlay.types.d.ts +0 -1
  17. package/core-kit/hooks/trading/limit-order-withdraw/use-is-limit-withdraw-order-approved.d.ts +0 -1
  18. package/core-kit/hooks/trading/limit-order-withdraw/use-limit-order-withdraw-amount.d.ts +0 -2
  19. package/core-kit/hooks/trading/limit-order-withdraw/use-limit-order-withdraw-delete-transaction.d.ts +0 -1
  20. package/core-kit/hooks/trading/limit-order-withdraw/use-limit-order-withdraw-transaction.d.ts +0 -1
  21. package/core-kit/hooks/trading/limit-order-withdraw/use-limit-withdraw-approve-transaction.d.ts +0 -4
  22. package/core-kit/hooks/trading/limit-order-withdraw/use-pending-limit-order-withdraw.d.ts +0 -4
  23. package/core-kit/hooks/trading/trade-handlers/use-handle-limit-order-withdraw.d.ts +0 -10
  24. package/trading-widget/components/widget/widget-meta/limit-order-withdrawal-alert/limit-order-withdraw-alert.d.ts +0 -6
  25. package/trading-widget/components/widget/widget-meta/limit-order-withdrawal-alert/limit-order-withdrwal-alert.hooks.d.ts +0 -7
  26. 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
  27. 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
  28. package/trading-widget/components/widget/widget-overlay/limit-order-withdraw-overlay/limit-order-withdraw-button/limit-order-withdraw-button.d.ts +0 -6
  29. package/trading-widget/components/widget/widget-overlay/limit-order-withdraw-overlay/limit-order-withdraw-button/limit-order-withdraw-button.hooks.d.ts +0 -5
  30. package/trading-widget/components/widget/widget-overlay/limit-order-withdraw-overlay/limit-order-withdraw-overlay.d.ts +0 -3
  31. package/trading-widget/components/widget/widget-overlay/limit-order-withdraw-overlay/limit-order-withdraw-terms-content.d.ts +0 -6
  32. package/trading-widget/components/withdraw/init-step/button/limit-order-withdraw-button/limit-order-withdraw-button.d.ts +0 -2
  33. 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
@@ -135,10 +135,10 @@ UI configuration provider. Manages params to configure custom styling, component
135
135
  > | ---------------------------------- | -------------------------------------------------------------- | ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
136
136
  > | `isGeoBlocked` | `boolean` | `false` | Restricts depositing action button and conditionally renders GeoBlockAlert component |
137
137
  > | `isSanctioned` | `boolean` | `false` | Restricts depositing action button and conditionally renders SanctionedAlert component |
138
- > | `depositQuoteDiffWarningThreshold` | `number` | `1` | Deposit slippage absolute percent value warning threshold, Affects styling to warn user |
138
+ > | `depositQuoteDiffWarningThreshold` | `number` | `1.5` | Deposit slippage absolute percent value warning threshold, Affects styling to warn user |
139
139
  > | `depositQuoteDiffErrorThreshold` | `number` | `3` | Deposit slippage absolute percent value error threshold, Affects styling to warn user |
140
140
  > | `defaultWithdrawSlippage` | `number` | `[0.1, 0.3, 0.5, 1, 1.5, 3]` | Initial withdraw slippage absolute percent. Further adjustments are available in panel settings |
141
- > | `defaultSwapTransactionSlippage` | `number` | `0.3` | Default slippage (%) applied to swap transaction. |
141
+ > | `defaultSwapTransactionSlippage` | `number` | `0.75` | Default slippage (%) applied to swap transaction. |
142
142
  > | `defaultNoSwapMinDepositAmountGap` | `number` | `0.1` | Default gap (%) for min received vault tokens during no swap deposits. |
143
143
  > | `defaultNotificationDuration` | `number` | `10000` | Notification duration in ms |
144
144
  > | `defaultLockTime` | `string` | `'24 hours'` | Formatted default deposit lock time to be displayed in panel (Long lockup period is used to bypass entry fee and can be managed in panel settings) |
@@ -481,121 +481,112 @@ path: `component.meta[name]`
481
481
  <code>Translation keys</code>
482
482
  </summary>|
483
483
 
484
- > | name | type | default value | description |
485
- > | ----------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
486
- > | `depositSlippageWarning` | string | Excludes entry fee. | |
487
- > | `withdrawSlippageWarning` | string | Slippage only applies to single asset withdrawals and withdrawals from vaults with debt positions in Aave. | |
488
- > | `minSlippageWarning` | string | Flexible min slippage value that is likely enough to process the transaction. | |
489
- > | `highSlippageWarning` | string | We recommend using another asset to trade with lower slippage. | |
490
- > | `recommendedMinSlippage` | string | Recommended Min Slippage | |
491
- > | `projectedDailyEarningsTooltip` | string | Projected daily earnings are based on the current APY and may differ from actual earnings. | |
492
- > | `dailyEarnings` | string | Daily Earnings | |
493
- > | `projectedYearlyEarningsTooltip` | string | Projected yearly earnings are based on the current APY and may differ from actual earnings. | |
494
- > | `yearlyEarnings` | string | Yearly Earnings | |
495
- > | `fullReceiveDetails` | string | See full details influencing what you will receive. | |
496
- > | `tradeDetails` | string | Trade details | |
497
- > | `maxSlippage` | string | Max slippage | |
498
- > | `minReceiveAmount` | string | You will receive no less than this amount. | |
499
- > | `minReceived` | string | Minimum Received | |
500
- > | `estimatedMultiAssetFractions` | string | Estimated multi asset fractions | |
501
- > | `infinite` | string | Infinite | |
502
- > | `tokenAllowance` | string | Token Allowance | |
503
- > | `entryFee` | string | Entry Fee | |
504
- > | `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. | |
505
- > | `minDepositUsd` | string | Minimum deposit in USD. | |
506
- > | `minDeposit` | string | Minimum Deposit | |
507
- > | `tokensLockTime` | string | Purchased tokens will have a {lockTime} lock. | |
508
- > | `slippageTolerance` | string | Slippage tolerance | |
509
- > | `bypassEntryFee` | string | Bypass Entry Fee | |
510
- > | `tokenAmountToApprove` | string | Amount of tokens to be approved. | |
511
- > | `auto` | string | Auto | |
512
- > | `lengthenLockup` | string | Lengthen lockup to remove entry fee | |
513
- > | `deposit` | string | Buy | |
514
- > | `withdraw` | string | Sell | |
515
- > | `max` | string | Max | |
516
- > | `allAssets` | string | All Assets | |
517
- > | `all` | string | All | |
518
- > | `sell` | string | Sell | |
519
- > | `receiveEstimated` | string | Receive (estimated) | |
520
- > | `confirmInWallet` | string | Please confirm in wallet | |
521
- > | `pending` | string | Pending... | |
522
- > | `approve` | string | Approve | |
523
- > | `connectWallet` | string | Connect Wallet | |
524
- > | `minimumPurchase` | string | Minimum purchase is {value} | |
525
- > | `poolIsInactive` | string | {poolSymbol} token is no longer active. Please withdraw from them. | |
526
- > | `poolDepositsAreMaintenance` | string | {poolSymbol} token is under maintenance. Deposits are temporarily blocked. | |
527
- > | `poolWithdrawalsAreMaintenance` | string | {poolSymbol} token is under maintenance. Withdrawals are temporarily blocked. | |
528
- > | `poolIsPrivate` | string | This vault is currently private | |
529
- > | `confirmMaxSlippage` | string | Confirm {slippagePercentage}% max slippage | |
530
- > | `withdrawalLiquidityDisabled` | string | Intended withdraw value is greater than available liquidity ({value}) | |
531
- > | `withdrawCooldown` | string | You can sell your {tokenSymbol} tokens in {cooldownEndTime} | |
532
- > | `termsOfUse` | string | Terms Of Use | |
533
- > | `termOfUseDepositListTitle` | string | Please know the following before depositing | |
534
- > | `termOfUseDepositAssetSlippage` | string | When exiting, investors receive single asset or the underlying vault assets. Withdraw slippage can be customized in withdraw settings | |
535
- > | `termOfUseDepositBugs` | string | There may be interface bugs on the platform | |
536
- > | `termOfUseDepositDowntime` | string | There may be interface downtime (planned and unplanned) | |
537
- > | `termOfUseDepositAuditRisk` | string | Smart contracts are audited but a risk is still present | |
538
- > | `termOfUseDepositAccept` | string | Accept & Deposit | |
539
- > | `back` | string | Back | |
540
- > | `done` | string | Done | |
541
- > | `termOfUseWithdrawAcceptLabel` | string | I understand and accept the withdraw terms | |
542
- > | `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. | |
543
- > | `termOfUseWithdrawPoint2` | string | Revoking token approval after placing an order will prevent the order from being executed. | |
544
- > | `highSlippage` | string | High Slippage Alert | |
545
- > | `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. | |
546
- > | `highSlippageListTitle` | string | Please consider the following before confirming | |
547
- > | `highSlippageQuoteDiff` | string | Be aware that the final amount of assets you receive may be different from the initially quoted value. | |
548
- > | `highSlippageRisk` | string | Ensure that you understand the risks associated with high slippage and are comfortable proceeding with the trade. | |
549
- > | `confirm` | string | Confirm | |
550
- > | `selectToken` | string | Select Token | |
551
- > | `sendingOrderToWallet` | string | Sending order to your wallet | |
552
- > | `settingUpTx` | string | Setting up transaction | |
553
- > | `miningTx` | string | Processing | |
554
- > | `approveSpending` | string | Approve {symbol} spending | |
555
- > | `pay` | string | Pay | |
556
- > | `multiAssetFractions` | string | multi asset fractions | |
557
- > | `swappableAssets` | string | swappable assets | |
558
- > | `explorer` | string | Explorer | |
559
- > | `as` | string | As | |
560
- > | `switchNetwork` | string | Switch Network | |
561
- > | `depositAction` | string | Buy | |
562
- > | `withdrawAction` | string | Sell | |
563
- > | `swapAction` | string | Swap | |
564
- > | `unrollAction` | string | Unroll | |
565
- > | `unrollAndClaimAction` | string | Claim | |
566
- > | `claimAction` | string | Claim Without Swap | |
567
- > | `claimLabel` | string | Claim Assets | |
568
- > | `createLimitSellOrder` | string | Stop order set | |
569
- > | `swapAndClaimTo` | string | Swap and claim assets to | |
570
- > | `initWithdrawDescription` | string | Unroll | |
571
- > | `initWithdrawTooltip` | string | Unroll prepares assets for single asset withdrawal | |
572
- > | `completeWithdrawDescription` | string | Claim | |
573
- > | `completeWithdrawTooltip` | string | This final step swaps all assets to a single asset and sends it to your wallet | |
574
- > | `unrollAndClaimDescription` | string | Claim | |
575
- > | `limitOrderWithdrawDescription` | string | You are about to create a withdrawal request. Your vault tokens will be withdrawn within a few minutes. | |
576
- > | `total` | string | Total: | |
577
- > | `showAll` | string | Show All | |
578
- > | `hide` | string | Hide | |
579
- > | `refreshSwapQuoteTooltip` | string | Refresh swap quote | |
580
- > | `proceedWithNextStep` | string | Please proceed with the next step. | |
581
- > | `aggregatorsLabel` | string | Swap source | |
582
- > | `aggregatorsTooltip` | string | Choose which aggregators to use for your trades. | |
583
- > | `batchTransactionsLabel` | string | Batch transactions | |
584
- > | `batchTransactionsSwitchLabel` | string | Batch | |
585
- > | `batchTransactionsTooltip` | string | Group approve and trade calls into a single batch transaction. Disable if you prefer separate prompts. | |
586
- > | `openLimitOrderAfterBuySwitchLabel` | string | Add Stop Order | |
587
- > | `orderingLabel` | string | Ordering | |
588
- > | `paidLabel` | string | Paid | |
589
- > | `priceLabel` | string | Price | |
590
- > | `transactionLabel` | string | Transaction | |
591
- > | `stopOrder` | string | Stop Order | |
592
- > | `send` | string | Send | |
593
- > | `cooldown` | string | Cooldown | |
594
- > | `delete` | string | Delete | |
595
- > | `withdrawalRequest` | string | Withdrawal request | |
596
- > | `deleteWithdrawalRequest` | string | Delete withdrawal request | |
597
- > | `pendingWithdrawalRequest` | string | Pending withdrawal request | |
598
- > | `insufficientBalance` | string | Insufficient Balance | |
484
+ > | name | type | default value | description |
485
+ > | ----------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
486
+ > | `depositSlippageWarning` | string | Excludes entry fee. | |
487
+ > | `withdrawSlippageWarning` | string | Slippage only applies to single asset withdrawals and withdrawals from vaults with debt positions in Aave. | |
488
+ > | `minSlippageWarning` | string | Flexible min slippage value that is likely enough to process the transaction. | |
489
+ > | `highSlippageWarning` | string | We recommend using another asset to trade with lower slippage. | |
490
+ > | `recommendedMinSlippage` | string | Recommended Min Slippage | |
491
+ > | `projectedDailyEarningsTooltip` | string | Projected daily earnings are based on the current APY and may differ from actual earnings. | |
492
+ > | `dailyEarnings` | string | Daily Earnings | |
493
+ > | `projectedYearlyEarningsTooltip` | string | Projected yearly earnings are based on the current APY and may differ from actual earnings. | |
494
+ > | `yearlyEarnings` | string | Yearly Earnings | |
495
+ > | `fullReceiveDetails` | string | See full details influencing what you will receive. | |
496
+ > | `tradeDetails` | string | Trade details | |
497
+ > | `maxSlippage` | string | Max slippage | |
498
+ > | `minReceiveAmount` | string | You will receive no less than this amount. | |
499
+ > | `minReceived` | string | Minimum Received | |
500
+ > | `estimatedMultiAssetFractions` | string | Estimated multi asset fractions | |
501
+ > | `infinite` | string | Infinite | |
502
+ > | `tokenAllowance` | string | Token Allowance | |
503
+ > | `entryFee` | string | Entry Fee | |
504
+ > | `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. | |
505
+ > | `minDepositUsd` | string | Minimum deposit in USD. | |
506
+ > | `minDeposit` | string | Minimum Deposit | |
507
+ > | `tokensLockTime` | string | Purchased tokens will have a {lockTime} lock. | |
508
+ > | `slippageTolerance` | string | Slippage tolerance | |
509
+ > | `bypassEntryFee` | string | Bypass Entry Fee | |
510
+ > | `tokenAmountToApprove` | string | Amount of tokens to be approved. | |
511
+ > | `auto` | string | Auto | |
512
+ > | `lengthenLockup` | string | Lengthen lockup to remove entry fee | |
513
+ > | `deposit` | string | Buy | |
514
+ > | `withdraw` | string | Sell | |
515
+ > | `max` | string | Max | |
516
+ > | `allAssets` | string | All Assets | |
517
+ > | `all` | string | All | |
518
+ > | `sell` | string | Sell | |
519
+ > | `receiveEstimated` | string | Receive (estimated) | |
520
+ > | `confirmInWallet` | string | Please confirm in wallet | |
521
+ > | `pending` | string | Pending... | |
522
+ > | `approve` | string | Approve | |
523
+ > | `connectWallet` | string | Connect Wallet | |
524
+ > | `minimumPurchase` | string | Minimum purchase is {value} | |
525
+ > | `poolIsInactive` | string | {poolSymbol} token is no longer active. Please withdraw from them. | |
526
+ > | `poolDepositsAreMaintenance` | string | {poolSymbol} token is under maintenance. Deposits are temporarily blocked. | |
527
+ > | `poolWithdrawalsAreMaintenance` | string | {poolSymbol} token is under maintenance. Withdrawals are temporarily blocked. | |
528
+ > | `poolIsPrivate` | string | This vault is currently private | |
529
+ > | `confirmMaxSlippage` | string | Confirm {slippagePercentage}% max slippage | |
530
+ > | `withdrawalLiquidityDisabled` | string | Intended withdraw value is greater than available liquidity ({value}) | |
531
+ > | `withdrawCooldown` | string | You can sell your {tokenSymbol} tokens in {cooldownEndTime} | |
532
+ > | `termsOfUse` | string | Terms Of Use | |
533
+ > | `termOfUseDepositListTitle` | string | Please know the following before depositing | |
534
+ > | `termOfUseDepositAssetSlippage` | string | When exiting, investors receive single asset or the underlying vault assets. Withdraw slippage can be customized in withdraw settings | |
535
+ > | `termOfUseDepositBugs` | string | There may be interface bugs on the platform | |
536
+ > | `termOfUseDepositDowntime` | string | There may be interface downtime (planned and unplanned) | |
537
+ > | `termOfUseDepositAuditRisk` | string | Smart contracts are audited but a risk is still present | |
538
+ > | `termOfUseDepositAccept` | string | Accept & Deposit | |
539
+ > | `back` | string | Back | |
540
+ > | `done` | string | Done | |
541
+ > | `highSlippage` | string | High Slippage Alert | |
542
+ > | `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. | |
543
+ > | `highSlippageListTitle` | string | Please consider the following before confirming | |
544
+ > | `highSlippageQuoteDiff` | string | Be aware that the final amount of assets you receive may be different from the initially quoted value. | |
545
+ > | `highSlippageRisk` | string | Ensure that you understand the risks associated with high slippage and are comfortable proceeding with the trade. | |
546
+ > | `confirm` | string | Confirm | |
547
+ > | `selectToken` | string | Select Token | |
548
+ > | `sendingOrderToWallet` | string | Sending order to your wallet | |
549
+ > | `settingUpTx` | string | Setting up transaction | |
550
+ > | `miningTx` | string | Processing | |
551
+ > | `approveSpending` | string | Approve {symbol} spending | |
552
+ > | `pay` | string | Pay | |
553
+ > | `multiAssetFractions` | string | multi asset fractions | |
554
+ > | `swappableAssets` | string | swappable assets | |
555
+ > | `explorer` | string | Explorer | |
556
+ > | `as` | string | As | |
557
+ > | `switchNetwork` | string | Switch Network | |
558
+ > | `depositAction` | string | Buy | |
559
+ > | `withdrawAction` | string | Sell | |
560
+ > | `swapAction` | string | Swap | |
561
+ > | `unrollAction` | string | Unroll | |
562
+ > | `unrollAndClaimAction` | string | Claim | |
563
+ > | `claimAction` | string | Claim Without Swap | |
564
+ > | `claimLabel` | string | Claim Assets | |
565
+ > | `createLimitSellOrder` | string | Stop order set | |
566
+ > | `swapAndClaimTo` | string | Swap and claim assets to | |
567
+ > | `initWithdrawDescription` | string | Unroll | |
568
+ > | `initWithdrawTooltip` | string | Unroll prepares assets for single asset withdrawal | |
569
+ > | `completeWithdrawDescription` | string | Claim | |
570
+ > | `completeWithdrawTooltip` | string | This final step swaps all assets to a single asset and sends it to your wallet | |
571
+ > | `unrollAndClaimDescription` | string | Claim | |
572
+ > | `total` | string | Total: | |
573
+ > | `showAll` | string | Show All | |
574
+ > | `hide` | string | Hide | |
575
+ > | `refreshSwapQuoteTooltip` | string | Refresh swap quote | |
576
+ > | `proceedWithNextStep` | string | Please proceed with the next step. | |
577
+ > | `aggregatorsLabel` | string | Swap source | |
578
+ > | `aggregatorsTooltip` | string | Choose which aggregators to use for your trades. | |
579
+ > | `batchTransactionsLabel` | string | Batch transactions | |
580
+ > | `batchTransactionsSwitchLabel` | string | Batch | |
581
+ > | `batchTransactionsTooltip` | string | Group approve and trade calls into a single batch transaction. Disable if you prefer separate prompts. | |
582
+ > | `openLimitOrderAfterBuySwitchLabel` | string | Add Stop Order | |
583
+ > | `orderingLabel` | string | Ordering | |
584
+ > | `paidLabel` | string | Paid | |
585
+ > | `priceLabel` | string | Price | |
586
+ > | `transactionLabel` | string | Transaction | |
587
+ > | `stopOrder` | string | Stop Order | |
588
+ > | `send` | string | Send | |
589
+ > | `cooldown` | string | Cooldown | |
599
590
 
600
591
  ###### Source: `packages/trading-widget/src/trading-widget/providers/translation-provider/translation-provider.tsx`
601
592
 
@@ -13,7 +13,8 @@ export declare const DEFAULT_DEPOSIT_METHOD: DepositMethodName;
13
13
  export declare const DEFAULT_WITHDRAW_SLIPPAGE = 1;
14
14
  export declare const DEFAULT_DEPOSIT_SLIPPAGE = 0;
15
15
  export declare const DEFAULT_NO_SWAP_MIN_DEPOSIT_AMOUNT_GAP = 0.5;
16
- export declare const DEFAULT_SWAP_TRANSACTION_SLIPPAGE = 0.3;
16
+ export declare const DEFAULT_RECEIVED_VALUE_GAP = 0.02;
17
+ export declare const DEFAULT_SWAP_TRANSACTION_SLIPPAGE = 0.75;
17
18
  export declare const DEFAULT_DEPOSIT_SLIPPAGE_SCALE: number[];
18
19
  export declare const DEFAULT_MULTI_ASSET_WITHDRAW_METHOD = "withdrawSafe";
19
20
  export declare const EASY_SWAPPER_V2_INITIATE_WITHDRAW_METHOD = "initWithdrawal";
@@ -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
  /**
@@ -28,7 +28,7 @@ type RemoveTransaction = {
28
28
  } & Partial<PendingTransaction>;
29
29
  export type UpdateTransactionsArguments = AddTransaction | UpdateTransaction | RemoveTransaction;
30
30
  export type TradingPanelType = 'deposit' | 'withdraw';
31
- export type TransactionAction = 'deposit' | 'multi_withdraw' | 'single_withdraw' | 'approve' | 'swap' | 'claim' | 'single_withdraw_and_claim' | 'create_limit_sell_order' | 'limit_order_withdraw' | 'delete_limit_order_withdraw';
31
+ export type TransactionAction = 'deposit' | 'multi_withdraw' | 'single_withdraw' | 'approve' | 'swap' | 'claim' | 'single_withdraw_and_claim' | 'create_limit_sell_order';
32
32
  export type SwapEntity = 'token' | 'pool';
33
33
  export interface TokenSelectorPayload {
34
34
  isOpen: boolean;