@dhedge/trading-widget 5.1.0 → 5.3.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.
- package/README.md +120 -115
- package/core-kit/const/network.d.ts +127 -7
- package/core-kit/const/trading.d.ts +2 -1
- package/core-kit/hooks/pool/use-available-manager-fee.d.ts +1 -1
- package/core-kit/hooks/pool/use-pool-dynamic-exit-remaining-cooldown.d.ts +1 -1
- package/core-kit/hooks/pool/use-user-vault-balance.d.ts +1 -1
- package/core-kit/hooks/state/action.d.ts +1 -1
- package/core-kit/hooks/trading/deposit-v2/deposit-transaction/use-approve-and-deposit.d.ts +6 -0
- package/core-kit/hooks/trading/deposit-v2/deposit-transaction/use-deposit.d.ts +6 -1
- package/core-kit/hooks/trading/deposit-v2/index.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/use-deposit-quote-contract-read.d.ts +1 -1
- package/core-kit/hooks/trading/trade-handlers/use-trading-settle-handler.d.ts +3 -1
- package/core-kit/hooks/trading/use-easy-swapper-tracked-assets.d.ts +1 -1
- package/core-kit/hooks/trading/withdraw-v2/use-withdrawal-vault-address.d.ts +1 -1
- package/core-kit/types/config.types.d.ts +1 -0
- package/core-kit/types/state.types.d.ts +2 -2
- package/core-kit/utils/deposit.d.ts +2 -2
- package/index.cjs +1 -1
- package/index.js +3071 -2965
- package/limit-orders/hooks/use-user-limit-order.d.ts +1 -1
- package/package.json +3 -3
- package/style.css +1 -1
- package/trading-widget/components/deposit/button/approve-and-deposit-button.d.ts +2 -0
- package/trading-widget/components/deposit/button/approve-and-deposit-button.hooks.d.ts +6 -0
- package/trading-widget/components/deposit/button/valid-deposit-button/valid-deposit-button.hooks.d.ts +1 -2
- package/trading-widget/components/widget/widget-buttons/index.d.ts +0 -2
- package/trading-widget/components/widget/widget-input/widget-input.hooks.d.ts +1 -1
- package/trading-widget/components/widget/widget-overlay/error-notification-overlay/complete-withdraw-error-overlay.d.ts +7 -0
- package/trading-widget/components/widget/widget-overlay/error-notification-overlay/error-notification-overlay.hooks.d.ts +1 -0
- package/trading-widget/components/widget/widget-overlay/pool-select-overlay/pool-select-overlay.hooks.d.ts +1 -0
- package/trading-widget/providers/theme-provider/theme-provider.types.d.ts +1 -0
- package/trading-widget/providers/translation-provider/translation-provider.types.d.ts +4 -2
- package/trading-widget/components/deposit/button/single-trade-button.d.ts +0 -2
- package/trading-widget/components/widget/widget-buttons/approve-button/approve-button.d.ts +0 -3
- package/trading-widget/components/widget/widget-buttons/approve-button/approve-button.hooks.d.ts +0 -8
package/README.md
CHANGED
|
@@ -9,8 +9,8 @@ Widget library has some vital `peerDependencies` as a core tool stack. Make sure
|
|
|
9
9
|
```bash
|
|
10
10
|
"@tanstack/react-query": "^5.28.4",
|
|
11
11
|
"react": ">=18.2.0",
|
|
12
|
-
"viem": "^2.
|
|
13
|
-
"wagmi": "^2.5
|
|
12
|
+
"viem": "^2.44.2",
|
|
13
|
+
"wagmi": "^2.19.5"
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
1. Installation:
|
|
@@ -117,6 +117,7 @@ Top level provider component. Headless part of trading logic. API handles params
|
|
|
117
117
|
> | `maintenance` | `boolean` | `false` | Enables global vault maintenance mode (blocks deposits & withdrawals) |
|
|
118
118
|
> | `maintenanceDeposits` | `boolean` | `false` | Blocks only deposits |
|
|
119
119
|
> | `maintenanceWithdrawals` | `boolean` | `false` | Blocks only withdrawals |
|
|
120
|
+
> | `depositCapacity` | `number` | `undefined` | Maximum deposit capacity in USD. If set, deposits exceeding this value will be blocked |
|
|
120
121
|
> | `pricingAsset` | `{ address: Address; symbol: string }` | `undefined` | Pricing asset used for limit orders |
|
|
121
122
|
|
|
122
123
|
###### Source: `packages/trading-widget/src/core-kit/types/config.types.ts`
|
|
@@ -233,6 +234,7 @@ path: `global.color[name]`
|
|
|
233
234
|
> | `colorTextSuccess` | string | `#73D393` | Success text color |
|
|
234
235
|
> | `colorIcon` | string | `global?.color?.colorTextPrimary ?? #ffffff` | Icon color |
|
|
235
236
|
> | `colorIconHover` | string | `global?.color?.colorIconHover ?? #ffffffCC` | Icon hover color |
|
|
237
|
+
> | `colorErrorOverlayIcon` | string | `var(--panel-accent-from-color)` | Error overlay icon color |
|
|
236
238
|
> | `colorScrollbar` | string | `#73D39380` | Scrollbar color |
|
|
237
239
|
|
|
238
240
|
###### size
|
|
@@ -492,119 +494,122 @@ path: `component.meta[name]`
|
|
|
492
494
|
<code>Translation keys</code>
|
|
493
495
|
</summary>|
|
|
494
496
|
|
|
495
|
-
> | name | type | default value | description
|
|
496
|
-
> | ----------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
497
|
-
> | `depositSlippageWarning` | string | Excludes entry fee. |
|
|
498
|
-
> | `withdrawSlippageWarning` | string | Slippage only applies to single asset withdrawals and withdrawals from vaults with debt positions in Aave. |
|
|
499
|
-
> | `minSlippageWarning` | string | Flexible min slippage value that is likely enough to process the transaction. |
|
|
500
|
-
> | `highSlippageWarning` | string | We recommend using another asset to trade with lower slippage. |
|
|
501
|
-
> | `recommendedMinSlippage` | string | Recommended Min Slippage |
|
|
502
|
-
> | `projectedDailyEarningsTooltip` | string | Projected daily earnings are based on the current APY and may differ from actual earnings. |
|
|
503
|
-
> | `dailyEarnings` | string | Daily Earnings |
|
|
504
|
-
> | `projectedYearlyEarningsTooltip` | string | Projected yearly earnings are based on the current APY and may differ from actual earnings. |
|
|
505
|
-
> | `yearlyEarnings` | string | Yearly Earnings |
|
|
506
|
-
> | `fullReceiveDetails` | string | See full details influencing what you will receive. |
|
|
507
|
-
> | `tradeDetails` | string | Trade details |
|
|
508
|
-
> | `maxSlippage` | string | Max slippage |
|
|
509
|
-
> | `minReceiveAmount` | string | You will receive no less than this amount. |
|
|
510
|
-
> | `minReceived` | string | Minimum Received |
|
|
511
|
-
> | `estimatedMultiAssetFractions` | string | Estimated multi asset fractions |
|
|
512
|
-
> | `infinite` | string | Infinite |
|
|
513
|
-
> | `tokenAllowance` | string | Token Allowance |
|
|
514
|
-
> | `entryFee` | string | Entry Fee |
|
|
515
|
-
> | `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. |
|
|
516
|
-
> | `minDepositUsd` | string | Minimum deposit in USD. |
|
|
517
|
-
> | `minDeposit` | string | Minimum Deposit |
|
|
518
|
-
> | `tokensLockTime` | string | Purchased tokens will have a {lockTime} lock. |
|
|
519
|
-
> | `slippageTolerance` | string | Slippage tolerance |
|
|
520
|
-
> | `bypassEntryFee` | string | Bypass Entry Fee |
|
|
521
|
-
> | `tokenAmountToApprove` | string | Amount of tokens to be approved. |
|
|
522
|
-
> | `auto` | string | Auto |
|
|
523
|
-
> | `lengthenLockup` | string | Lengthen lockup to remove entry fee |
|
|
524
|
-
> | `deposit` | string | Buy |
|
|
525
|
-
> | `withdraw` | string | Sell |
|
|
526
|
-
> | `max` | string | Max |
|
|
527
|
-
> | `allAssets` | string | All Assets |
|
|
528
|
-
> | `all` | string | All |
|
|
529
|
-
> | `sell` | string | Sell |
|
|
530
|
-
> | `sellNow` | string | Sell now |
|
|
531
|
-
> | `
|
|
532
|
-
> | `
|
|
533
|
-
> | `
|
|
534
|
-
> | `
|
|
535
|
-
> | `
|
|
536
|
-
> | `
|
|
537
|
-
> | `
|
|
538
|
-
> | `
|
|
539
|
-
> | `poolWithdrawalsAreMaintenance` | string | {poolSymbol} token is under maintenance. Withdrawals are temporarily blocked. |
|
|
540
|
-
> | `poolIsPrivate` | string | This vault is currently private |
|
|
541
|
-
> | `confirmMaxSlippage` | string | Confirm {slippagePercentage}% max slippage |
|
|
542
|
-
> | `withdrawalLiquidityDisabled` | string | Intended withdraw value is greater than available liquidity ({value}) |
|
|
543
|
-
> | `withdrawCooldown` | string | You can sell your {tokenSymbol} tokens in {cooldownEndTime} |
|
|
544
|
-
> | `termsOfUse` | string | Terms Of Use |
|
|
545
|
-
> | `termOfUseDepositListTitle` | string | Please know the following before depositing |
|
|
546
|
-
> | `termOfUseDepositAssetSlippage` | string | When exiting, investors receive single asset or the underlying vault assets. Withdraw slippage can be customized in withdraw settings |
|
|
547
|
-
> | `termOfUseDepositBugs` | string | There may be interface bugs on the platform |
|
|
548
|
-
> | `termOfUseDepositDowntime` | string | There may be interface downtime (planned and unplanned) |
|
|
549
|
-
> | `termOfUseDepositAuditRisk` | string | Smart contracts are audited but a risk is still present |
|
|
550
|
-
> | `termOfUseDepositAccept` | string | Accept & Deposit |
|
|
551
|
-
> | `back` | string | Back |
|
|
552
|
-
> | `done` | string | Done |
|
|
553
|
-
> | `termOfUseWithdrawAcceptLabel` | string | I understand and accept the withdraw terms |
|
|
554
|
-
> | `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. |
|
|
555
|
-
> | `termOfUseWithdrawPoint2` | string | Revoking token approval after placing an order will prevent the order from being executed. |
|
|
556
|
-
> | `highSlippage` | string | High Slippage Alert |
|
|
557
|
-
> | `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. |
|
|
558
|
-
> | `highSlippageListTitle` | string | Please consider the following before confirming |
|
|
559
|
-
> | `highSlippageQuoteDiff` | string | Be aware that the final amount of assets you receive may be different from the initially quoted value. |
|
|
560
|
-
> | `highSlippageRisk` | string | Ensure that you understand the risks associated with high slippage and are comfortable proceeding with the trade. |
|
|
561
|
-
> | `confirm` | string | Confirm |
|
|
562
|
-
> | `selectToken` | string | Select Token |
|
|
563
|
-
> | `sendingOrderToWallet` | string | Sending order to your wallet |
|
|
564
|
-
> | `settingUpTx` | string | Setting up transaction |
|
|
565
|
-
> | `miningTx` | string | Processing |
|
|
566
|
-
> | `approveSpending` | string | Approve {symbol} spending |
|
|
567
|
-
> | `pay` | string | Pay |
|
|
568
|
-
> | `multiAssetFractions` | string | multi asset fractions |
|
|
569
|
-
> | `swappableAssets` | string | swappable assets |
|
|
570
|
-
> | `explorer` | string | Explorer |
|
|
571
|
-
> | `as` | string | As |
|
|
572
|
-
> | `switchNetwork` | string | Switch Network |
|
|
573
|
-
> | `depositAction` | string | Buy |
|
|
574
|
-
> | `withdrawAction` | string | Sell |
|
|
575
|
-
> | `swapAction` | string | Swap |
|
|
576
|
-
> | `unrollAction` | string | Unroll |
|
|
577
|
-
> | `unrollAndClaimAction` | string | Claim |
|
|
578
|
-
> | `claimAction` | string | Claim Without Swap |
|
|
579
|
-
> | `claimLabel` | string | Claim Assets |
|
|
580
|
-
> | `createLimitSellOrder` | string | Stop order set |
|
|
581
|
-
> | `swapAndClaimTo` | string | Swap and claim assets to |
|
|
582
|
-
> | `limitOrderWithdrawDescription` | string | You are about to create a withdrawal request. Your vault tokens will be withdrawn within a few minutes. |
|
|
583
|
-
> | `total` | string | Total: |
|
|
584
|
-
> | `showAll` | string | Show All |
|
|
585
|
-
> | `hide` | string | Hide |
|
|
586
|
-
> | `refreshSwapQuoteTooltip` | string | Refresh swap quote |
|
|
587
|
-
> | `proceedWithNextStep` | string | Please proceed with the next step. |
|
|
588
|
-
> | `aggregatorsLabel` | string | Swap source |
|
|
589
|
-
> | `aggregatorsTooltip` | string | Choose which aggregators to use for your trades. |
|
|
590
|
-
> | `batchTransactionsLabel` | string | Batch transactions |
|
|
591
|
-
> | `batchTransactionsSwitchLabel` | string | Batch |
|
|
592
|
-
> | `batchTransactionsTooltip` | string | Group approve and trade calls into a single batch transaction. Disable if you prefer separate prompts. |
|
|
593
|
-
> | `openLimitOrderAfterBuySwitchLabel` | string | Add Stop Order |
|
|
594
|
-
> | `openNotificationsSettingsLabel` | string | Enable alerts |
|
|
595
|
-
> | `addToWallet` | string | add to wallet |
|
|
596
|
-
> | `orderingLabel` | string | Ordering |
|
|
597
|
-
> | `paidLabel` | string | Paid |
|
|
598
|
-
> | `priceLabel` | string | Price |
|
|
599
|
-
> | `transactionLabel` | string | Transaction |
|
|
600
|
-
> | `stopOrder` | string | Stop Order |
|
|
601
|
-
> | `send` | string | Send |
|
|
602
|
-
> | `cooldown` | string | Cooldown |
|
|
603
|
-
> | `delete` | string | Delete |
|
|
604
|
-
> | `withdrawalRequest` | string | Withdrawal request |
|
|
605
|
-
> | `deleteWithdrawalRequest` | string | Delete withdrawal request |
|
|
606
|
-
> | `insufficientBalance` | string | Insufficient Balance |
|
|
607
|
-
> | `expectToReceiveUsdcSoon` | string | Expect to receive your USDC over the next few minutes |
|
|
497
|
+
> | name | type | default value | description |
|
|
498
|
+
> | ----------------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
|
|
499
|
+
> | `depositSlippageWarning` | string | Excludes entry fee. | |
|
|
500
|
+
> | `withdrawSlippageWarning` | string | Slippage only applies to single asset withdrawals and withdrawals from vaults with debt positions in Aave. | |
|
|
501
|
+
> | `minSlippageWarning` | string | Flexible min slippage value that is likely enough to process the transaction. | |
|
|
502
|
+
> | `highSlippageWarning` | string | We recommend using another asset to trade with lower slippage. | |
|
|
503
|
+
> | `recommendedMinSlippage` | string | Recommended Min Slippage | |
|
|
504
|
+
> | `projectedDailyEarningsTooltip` | string | Projected daily earnings are based on the current APY and may differ from actual earnings. | |
|
|
505
|
+
> | `dailyEarnings` | string | Daily Earnings | |
|
|
506
|
+
> | `projectedYearlyEarningsTooltip` | string | Projected yearly earnings are based on the current APY and may differ from actual earnings. | |
|
|
507
|
+
> | `yearlyEarnings` | string | Yearly Earnings | |
|
|
508
|
+
> | `fullReceiveDetails` | string | See full details influencing what you will receive. | |
|
|
509
|
+
> | `tradeDetails` | string | Trade details | |
|
|
510
|
+
> | `maxSlippage` | string | Max slippage | |
|
|
511
|
+
> | `minReceiveAmount` | string | You will receive no less than this amount. | |
|
|
512
|
+
> | `minReceived` | string | Minimum Received | |
|
|
513
|
+
> | `estimatedMultiAssetFractions` | string | Estimated multi asset fractions | |
|
|
514
|
+
> | `infinite` | string | Infinite | |
|
|
515
|
+
> | `tokenAllowance` | string | Token Allowance | |
|
|
516
|
+
> | `entryFee` | string | Entry Fee | |
|
|
517
|
+
> | `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. | |
|
|
518
|
+
> | `minDepositUsd` | string | Minimum deposit in USD. | |
|
|
519
|
+
> | `minDeposit` | string | Minimum Deposit | |
|
|
520
|
+
> | `tokensLockTime` | string | Purchased tokens will have a {lockTime} lock. | |
|
|
521
|
+
> | `slippageTolerance` | string | Slippage tolerance | |
|
|
522
|
+
> | `bypassEntryFee` | string | Bypass Entry Fee | |
|
|
523
|
+
> | `tokenAmountToApprove` | string | Amount of tokens to be approved. | |
|
|
524
|
+
> | `auto` | string | Auto | |
|
|
525
|
+
> | `lengthenLockup` | string | Lengthen lockup to remove entry fee | |
|
|
526
|
+
> | `deposit` | string | Buy | |
|
|
527
|
+
> | `withdraw` | string | Sell | |
|
|
528
|
+
> | `max` | string | Max | |
|
|
529
|
+
> | `allAssets` | string | All Assets | |
|
|
530
|
+
> | `all` | string | All | |
|
|
531
|
+
> | `sell` | string | Sell | |
|
|
532
|
+
> | `sellNow` | string | Sell now | |
|
|
533
|
+
> | `confirmInWallet` | string | Please confirm in wallet | |
|
|
534
|
+
> | `pending` | string | Pending... | |
|
|
535
|
+
> | `approve` | string | Approve | |
|
|
536
|
+
> | `connectWallet` | string | Connect Wallet | |
|
|
537
|
+
> | `minimumPurchase` | string | Minimum purchase is {value} | |
|
|
538
|
+
> | `poolIsInactive` | string | {poolSymbol} token is no longer active. Please withdraw from them. | |
|
|
539
|
+
> | `poolDepositsAreMaintenance` | string | {poolSymbol} token is under maintenance. Deposits are temporarily blocked. | |
|
|
540
|
+
> | `exceedsDepositCapacity` | string | Deposit amount exceeds available {poolSymbol} deposit capacity. | |
|
|
541
|
+
> | `poolWithdrawalsAreMaintenance` | string | {poolSymbol} token is under maintenance. Withdrawals are temporarily blocked. | |
|
|
542
|
+
> | `poolIsPrivate` | string | This vault is currently private | |
|
|
543
|
+
> | `confirmMaxSlippage` | string | Confirm {slippagePercentage}% max slippage | |
|
|
544
|
+
> | `withdrawalLiquidityDisabled` | string | Intended withdraw value is greater than available liquidity ({value}) | |
|
|
545
|
+
> | `withdrawCooldown` | string | You can sell your {tokenSymbol} tokens in {cooldownEndTime} | |
|
|
546
|
+
> | `termsOfUse` | string | Terms Of Use | |
|
|
547
|
+
> | `termOfUseDepositListTitle` | string | Please know the following before depositing | |
|
|
548
|
+
> | `termOfUseDepositAssetSlippage` | string | When exiting, investors receive single asset or the underlying vault assets. Withdraw slippage can be customized in withdraw settings | |
|
|
549
|
+
> | `termOfUseDepositBugs` | string | There may be interface bugs on the platform | |
|
|
550
|
+
> | `termOfUseDepositDowntime` | string | There may be interface downtime (planned and unplanned) | |
|
|
551
|
+
> | `termOfUseDepositAuditRisk` | string | Smart contracts are audited but a risk is still present | |
|
|
552
|
+
> | `termOfUseDepositAccept` | string | Accept & Deposit | |
|
|
553
|
+
> | `back` | string | Back | |
|
|
554
|
+
> | `done` | string | Done | |
|
|
555
|
+
> | `termOfUseWithdrawAcceptLabel` | string | I understand and accept the withdraw terms | |
|
|
556
|
+
> | `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. | |
|
|
557
|
+
> | `termOfUseWithdrawPoint2` | string | Revoking token approval after placing an order will prevent the order from being executed. | |
|
|
558
|
+
> | `highSlippage` | string | High Slippage Alert | |
|
|
559
|
+
> | `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. | |
|
|
560
|
+
> | `highSlippageListTitle` | string | Please consider the following before confirming | |
|
|
561
|
+
> | `highSlippageQuoteDiff` | string | Be aware that the final amount of assets you receive may be different from the initially quoted value. | |
|
|
562
|
+
> | `highSlippageRisk` | string | Ensure that you understand the risks associated with high slippage and are comfortable proceeding with the trade. | |
|
|
563
|
+
> | `confirm` | string | Confirm | |
|
|
564
|
+
> | `selectToken` | string | Select Token | |
|
|
565
|
+
> | `sendingOrderToWallet` | string | Sending order to your wallet | |
|
|
566
|
+
> | `settingUpTx` | string | Setting up transaction | |
|
|
567
|
+
> | `miningTx` | string | Processing | |
|
|
568
|
+
> | `approveSpending` | string | Approve {symbol} spending | |
|
|
569
|
+
> | `pay` | string | Pay | |
|
|
570
|
+
> | `multiAssetFractions` | string | multi asset fractions | |
|
|
571
|
+
> | `swappableAssets` | string | swappable assets | |
|
|
572
|
+
> | `explorer` | string | Explorer | |
|
|
573
|
+
> | `as` | string | As | |
|
|
574
|
+
> | `switchNetwork` | string | Switch Network | |
|
|
575
|
+
> | `depositAction` | string | Buy | |
|
|
576
|
+
> | `withdrawAction` | string | Sell | |
|
|
577
|
+
> | `swapAction` | string | Swap | |
|
|
578
|
+
> | `unrollAction` | string | Unroll | |
|
|
579
|
+
> | `unrollAndClaimAction` | string | Claim | |
|
|
580
|
+
> | `claimAction` | string | Claim Without Swap | |
|
|
581
|
+
> | `claimLabel` | string | Claim Assets | |
|
|
582
|
+
> | `createLimitSellOrder` | string | Stop order set | |
|
|
583
|
+
> | `swapAndClaimTo` | string | Swap and claim assets to | |
|
|
584
|
+
> | `limitOrderWithdrawDescription` | string | You are about to create a withdrawal request. Your vault tokens will be withdrawn within a few minutes. | |
|
|
585
|
+
> | `total` | string | Total: | |
|
|
586
|
+
> | `showAll` | string | Show All | |
|
|
587
|
+
> | `hide` | string | Hide | |
|
|
588
|
+
> | `refreshSwapQuoteTooltip` | string | Refresh swap quote | |
|
|
589
|
+
> | `proceedWithNextStep` | string | Please proceed with the next step. | |
|
|
590
|
+
> | `aggregatorsLabel` | string | Swap source | |
|
|
591
|
+
> | `aggregatorsTooltip` | string | Choose which aggregators to use for your trades. | |
|
|
592
|
+
> | `batchTransactionsLabel` | string | Batch transactions | |
|
|
593
|
+
> | `batchTransactionsSwitchLabel` | string | Batch | |
|
|
594
|
+
> | `batchTransactionsTooltip` | string | Group approve and trade calls into a single batch transaction. Disable if you prefer separate prompts. | |
|
|
595
|
+
> | `openLimitOrderAfterBuySwitchLabel` | string | Add Stop Order | |
|
|
596
|
+
> | `openNotificationsSettingsLabel` | string | Enable alerts | |
|
|
597
|
+
> | `addToWallet` | string | add to wallet | |
|
|
598
|
+
> | `orderingLabel` | string | Ordering | |
|
|
599
|
+
> | `paidLabel` | string | Paid | |
|
|
600
|
+
> | `priceLabel` | string | Price | |
|
|
601
|
+
> | `transactionLabel` | string | Transaction | |
|
|
602
|
+
> | `stopOrder` | string | Stop Order | |
|
|
603
|
+
> | `send` | string | Send | |
|
|
604
|
+
> | `cooldown` | string | Cooldown | |
|
|
605
|
+
> | `delete` | string | Delete | |
|
|
606
|
+
> | `withdrawalRequest` | string | Withdrawal request | |
|
|
607
|
+
> | `deleteWithdrawalRequest` | string | Delete withdrawal request | |
|
|
608
|
+
> | `insufficientBalance` | string | Insufficient Balance | |
|
|
609
|
+
> | `expectToReceiveUsdcSoon` | string | Expect to receive your USDC over the next few minutes | |
|
|
610
|
+
> | `cancel` | string | Cancel | |
|
|
611
|
+
> | `approveDepositStep` | string | 1/2 Approve Buy | Button text during approve step of deposit flow |
|
|
612
|
+
> | `depositNowStep` | string | 2/2 Buy Now | Button text during final deposit step |
|
|
608
613
|
|
|
609
614
|
###### Source: `packages/trading-widget/src/trading-widget/providers/translation-provider/translation-provider.tsx`
|
|
610
615
|
|