From b599627ea2f5aee5c57954b9f994e7b0510c5ddc Mon Sep 17 00:00:00 2001 From: VegeBun-csj Date: Fri, 20 Sep 2024 21:32:18 +0900 Subject: [PATCH] Fix OKX wallet signing token name --- index.html | 6 +++--- src/constants/localization.ts | 5 ----- src/hooks/useAccountBalance.tsx | 2 +- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index f81c5ba..e1e8320 100644 --- a/index.html +++ b/index.html @@ -7,11 +7,11 @@ DORA Token Migration - - + + - +
diff --git a/src/constants/localization.ts b/src/constants/localization.ts index e366ba5..6c789e3 100644 --- a/src/constants/localization.ts +++ b/src/constants/localization.ts @@ -53,12 +53,7 @@ export const DORA_LONG_SENTENCE = { "MIGRATION_FAQ_VCDORA_HOLDER_ANSWER": "vcDORA credits on the vcDORA Ethereum smart contract will still be valid until all DORA tokens staked in the vcDORA smart contract exit. Once you can withdraw your ethDORA from the vcDORA smart contract, you can immediately engage with the migration portal. If you still cannot withdraw from the vcDORA smart contract, please don’t worry as the vcDORA contract will remain and be maintained on Eththeum.", "MIGRATION_FAQ_HOW_TO_TRACK_ANSWER": "Please use https://vota-migration.dorafactory.org/ to track migration status.", "MIGRATION_FAQ_HOW_TO_TRACK": "How can I track the migration status?", - "MIGRATION_FAQ_WHAT_ADDRESS_ANSWER": "Users who interact with the portal can send dYdX Chain DYDX tokens to any dYdX Chain address. User’s can send tokens directly to their dYdX Chain address that is automatically created from their Ethereum address’s signature.", - "MIGRATION_FAQ_WHAT_ADDRESS": "What address can I send dYdX Chain DYDX to?", - "MIGRATION_FAQ_WHAT_TOKENS_ANSWER": "Holders who successfully engage with the portal will receive wethDYDX on Ethereum and DYDX on dYdX Chain.", "MIGRATION_FAQ_WHAT_TOKENS": "What tokens will I receive?", - "MIGRATION_FAQ_WRAPPED_TOKENS_ANSWER": "wethDYDX are minted 1:1 to any users who successfully send Ethereum-based DYDX to the smart contract. wethDYDX have the same v3 governance rights as Ethereum-based DYDX, and are transferable. wethDYDX cannot be bridged to v4.", - "MIGRATION_FAQ_WRAPPED_TOKENS": "What are wrapped Ethereum DYDX tokens (“wethDYDX”)?", "MIGRATION_BLOCKED_MESSAGE_DESTINATION": "Because the destination address appears to be a resident of, or using this user interface from, a jurisdiction that violates our terms of use, or has engaged in activity that violates our terms of use, the destination address has been blocked and this transaction cannot be completed.", } diff --git a/src/hooks/useAccountBalance.tsx b/src/hooks/useAccountBalance.tsx index 0cd1ae9..8253ca2 100644 --- a/src/hooks/useAccountBalance.tsx +++ b/src/hooks/useAccountBalance.tsx @@ -30,7 +30,7 @@ const useAccountBalanceContext = () => { const { evmAddress, DoraAddress, getAccountBalance } = useAccounts(); const canAccountMigrate = useSelector(calculateCanAccountMigrate); - console.log(`ETH dydx contract address is ${import.meta.env.VITE_ETH_DORA_ADDRESSS}`) + console.log(`ETH dora contract address is ${import.meta.env.VITE_ETH_DORA_ADDRESSS}`) console.log(`query evmAddress is ${evmAddress}`) console.log(`是否可以进行账户迁移${canAccountMigrate}`) console.log(`chain id is ${Number(import.meta.env.VITE_ETH_CHAIN_ID)}`)