@dodoex/wallet-web3-react 0.4.3 → 0.4.5-beta.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.
@@ -1 +1 @@
1
- /*eslint-disable*/module.exports={messages:JSON.parse("{\"14s9LL\":[\"Create Liquidity Mining\"],\"3UCJ3e\":[\"Check your email and click the link to complete login\"],\"3XBvkd\":[\"Remove Liquidity\"],\"3y6FjD\":[\"Log in with your email or a passkey\"],\"6KnyG0\":[\"Enter email\"],\"6Ui8nZ\":[\"Log in with your email\"],\"6V3Ea3\":[\"Copied\"],\"7Bj3x9\":[\"Failed\"],\"8OiU8L\":[\"Pool Creation\"],\"9ow2PX\":[\"Installed Wallet\"],\"9zb2WA\":[\"Connecting\"],\"AeXO77\":[\"Account\"],\"B2Tpo0\":[\"Invalid email\"],\"BzEFor\":[\"or\"],\"CtByM7\":[\"Connect Wallet\"],\"Du6bPw\":[\"Address\"],\"E/yE9x\":[\"Before proceeding make sure\"],\"EYDfo2\":[\"Loading more\"],\"FzJ11V\":[\"This is empty\"],\"Idn0Vv\":[\"Settle\"],\"JE8mMQ\":[\"No tokens\"],\"JYKRJS\":[\"Stake\"],\"JlFcis\":[\"Send\"],\"KAbcm2\":[\"Succeeded\"],\"LobdAW\":[\"Unknown Error\"],\"M/yBt6\":[\"Add to pool\"],\"Mlg3Ds\":[\"Choose existing passkey\"],\"OBdohg\":[\"Add Liquidity\"],\"OfhWJH\":[\"Reset\"],\"OzjK0A\":[\"Create new passkey\"],\"QHcLEN\":[\"Connected\"],\"RETKSh\":[\"Connect Alchemy\"],\"S0kLOH\":[\"ID\"],\"Sz0SkD\":[\"1、Ledger Live APP is closed\",[\"BR\"],\"2、The device plugged in via USB,NOT Bluetooth\",[\"BR\"],\"3、The device is unlocked and in the \",[\"ledgerAppName\"],\" app\",[\"BR\"],\"4、”Blind Signing” is enabled in \",[\"ledgerAppName\"],\" app\"],\"TP9/K5\":[\"Token\"],\"U8oDGg\":[\"On-chain transaction records\"],\"UbRKMZ\":[\"Pending\"],\"XJOV1Y\":[\"Activity\"],\"Z3FXyt\":[\"Loading...\"],\"Z7ZXbT\":[\"Approve\"],\"fsBGk0\":[\"Balance\"],\"gCNLBV\":[\"Copy wallet address\"],\"gPbbTL\":[\"The Ledger Device is locked\\\\nPlease unlock from the device\"],\"hQRttt\":[\"Submit\"],\"hom7qf\":[\"Claim\"],\"ktegM+\":[\"Create Crowdpooling\"],\"lDgVWA\":[\"Receive\"],\"pkRuyd\":[\"Receiver address\"],\"rwC96V\":[\"Invalid wallet address\"],\"sr0UJD\":[\"Go Back\"],\"t/YqKh\":[\"Remove\"],\"vH2C/2\":[\"Swap\"],\"vN+hAq\":[\"Available Ledger Account\"],\"xGVfLh\":[\"Continue\"],\"xHr8Pp\":[\"Last connection\"],\"yN5k0R\":[\"More Wallets\"],\"z5vMiF\":[\"End mining\\n\"],\"zPGNJm\":[\"Transfer\"],\"zXCpR0\":[\"Claim Rewards\"],\"zga9sT\":[\"OK\"]}")};
1
+ /*eslint-disable*/module.exports={messages:JSON.parse("{\"14s9LL\":[\"Create Liquidity Mining\"],\"3UCJ3e\":[\"Check your email and click the link to complete login\"],\"3XBvkd\":[\"Remove Liquidity\"],\"3y6FjD\":[\"Log in with your email or a passkey\"],\"6KnyG0\":[\"Enter email\"],\"6Ui8nZ\":[\"Log in with your email\"],\"6V3Ea3\":[\"Copied\"],\"7Bj3x9\":[\"Failed\"],\"8OiU8L\":[\"Pool Creation\"],\"9ow2PX\":[\"Installed Wallet\"],\"9zb2WA\":[\"Connecting\"],\"AeXO77\":[\"Account\"],\"B2Tpo0\":[\"Invalid email\"],\"BRmPpE\":[\"Mint Token\"],\"BzEFor\":[\"or\"],\"CtByM7\":[\"Connect Wallet\"],\"Du6bPw\":[\"Address\"],\"E/yE9x\":[\"Before proceeding make sure\"],\"EYDfo2\":[\"Loading more\"],\"FzJ11V\":[\"This is empty\"],\"Idn0Vv\":[\"Settle\"],\"JE8mMQ\":[\"No tokens\"],\"JYKRJS\":[\"Stake\"],\"JlFcis\":[\"Send\"],\"KAbcm2\":[\"Succeeded\"],\"LobdAW\":[\"Unknown Error\"],\"M/yBt6\":[\"Add to pool\"],\"Mlg3Ds\":[\"Choose existing passkey\"],\"OBdohg\":[\"Add Liquidity\"],\"OfhWJH\":[\"Reset\"],\"OzjK0A\":[\"Create new passkey\"],\"QHcLEN\":[\"Connected\"],\"RETKSh\":[\"Connect Alchemy\"],\"S0kLOH\":[\"ID\"],\"Sz0SkD\":[\"1、Ledger Live APP is closed\",[\"BR\"],\"2、The device plugged in via USB,NOT Bluetooth\",[\"BR\"],\"3、The device is unlocked and in the \",[\"ledgerAppName\"],\" app\",[\"BR\"],\"4、”Blind Signing” is enabled in \",[\"ledgerAppName\"],\" app\"],\"TP9/K5\":[\"Token\"],\"U8oDGg\":[\"On-chain transaction records\"],\"UbRKMZ\":[\"Pending\"],\"XJOV1Y\":[\"Activity\"],\"Z3FXyt\":[\"Loading...\"],\"Z7ZXbT\":[\"Approve\"],\"fsBGk0\":[\"Balance\"],\"gCNLBV\":[\"Copy wallet address\"],\"gPbbTL\":[\"The Ledger Device is locked\\\\nPlease unlock from the device\"],\"hQRttt\":[\"Submit\"],\"hom7qf\":[\"Claim\"],\"ktegM+\":[\"Create Crowdpooling\"],\"lDgVWA\":[\"Receive\"],\"pkRuyd\":[\"Receiver address\"],\"rwC96V\":[\"Invalid wallet address\"],\"sr0UJD\":[\"Go Back\"],\"t/YqKh\":[\"Remove\"],\"vH2C/2\":[\"Swap\"],\"vN+hAq\":[\"Available Ledger Account\"],\"xGVfLh\":[\"Continue\"],\"xHr8Pp\":[\"Last connection\"],\"yN5k0R\":[\"More Wallets\"],\"z5vMiF\":[\"End mining\\n\"],\"zPGNJm\":[\"Transfer\"],\"zXCpR0\":[\"Claim Rewards\"],\"zga9sT\":[\"OK\"]}")};
@@ -1 +1 @@
1
- /*eslint-disable*/module.exports={messages:JSON.parse("{\"14s9LL\":[\"Create Liquidity Mining\"],\"3UCJ3e\":[\"Check your email and click the link to complete login\"],\"3XBvkd\":[\"Remove Liquidity\"],\"3y6FjD\":[\"Log in with your email or a passkey\"],\"6KnyG0\":[\"Enter email\"],\"6Ui8nZ\":[\"Log in with your email\"],\"6V3Ea3\":[\"Copied\"],\"7Bj3x9\":[\"Failed\"],\"8OiU8L\":[\"Pool Creation\"],\"9ow2PX\":[\"Installed Wallet\"],\"9zb2WA\":[\"Connecting\"],\"AeXO77\":[\"Account\"],\"B2Tpo0\":[\"Invalid email\"],\"BzEFor\":[\"or\"],\"CtByM7\":[\"Connect Wallet\"],\"Du6bPw\":[\"Address\"],\"E/yE9x\":[\"Before proceeding make sure\"],\"EYDfo2\":[\"Loading more\"],\"FzJ11V\":[\"This is empty\"],\"Idn0Vv\":[\"Settle\"],\"JE8mMQ\":[\"No tokens\"],\"JYKRJS\":[\"Stake\"],\"JlFcis\":[\"Send\"],\"KAbcm2\":[\"Succeeded\"],\"LobdAW\":[\"Unknown Error\"],\"M/yBt6\":[\"Add to pool\"],\"Mlg3Ds\":[\"Choose existing passkey\"],\"OBdohg\":[\"Add Liquidity\"],\"OfhWJH\":[\"Reset\"],\"OzjK0A\":[\"Create new passkey\"],\"QHcLEN\":[\"Connected\"],\"RETKSh\":[\"Connect Alchemy\"],\"S0kLOH\":[\"ID\"],\"Sz0SkD\":[\"1、Ledger Live APP is closed\",[\"BR\"],\"2、The device plugged in via USB,NOT Bluetooth\",[\"BR\"],\"3、The device is unlocked and in the \",[\"ledgerAppName\"],\" app\",[\"BR\"],\"4、”Blind Signing” is enabled in \",[\"ledgerAppName\"],\" app\"],\"TP9/K5\":[\"Token\"],\"U8oDGg\":[\"On-chain transaction records\"],\"UbRKMZ\":[\"Pending\"],\"XJOV1Y\":[\"Activity\"],\"Z3FXyt\":[\"Loading...\"],\"Z7ZXbT\":[\"Approve\"],\"fsBGk0\":[\"Balance\"],\"gCNLBV\":[\"Copy wallet address\"],\"gPbbTL\":[\"The Ledger Device is locked\\\\nPlease unlock from the device\"],\"hQRttt\":[\"Submit\"],\"hom7qf\":[\"Claim\"],\"ktegM+\":[\"Create Crowdpooling\"],\"lDgVWA\":[\"Receive\"],\"pkRuyd\":[\"Receiver address\"],\"rwC96V\":[\"Invalid wallet address\"],\"sr0UJD\":[\"Go Back\"],\"t/YqKh\":[\"Remove\"],\"vH2C/2\":[\"Swap\"],\"vN+hAq\":[\"Available Ledger Account\"],\"xGVfLh\":[\"Continue\"],\"xHr8Pp\":[\"Last connection\"],\"yN5k0R\":[\"More Wallets\"],\"z5vMiF\":[\"End mining\\n\"],\"zPGNJm\":[\"Transfer\"],\"zXCpR0\":[\"Claim Rewards\"],\"zga9sT\":[\"OK\"]}")};
1
+ /*eslint-disable*/module.exports={messages:JSON.parse("{\"14s9LL\":[\"Create Liquidity Mining\"],\"3UCJ3e\":[\"Check your email and click the link to complete login\"],\"3XBvkd\":[\"Remove Liquidity\"],\"3y6FjD\":[\"Log in with your email or a passkey\"],\"6KnyG0\":[\"Enter email\"],\"6Ui8nZ\":[\"Log in with your email\"],\"6V3Ea3\":[\"Copied\"],\"7Bj3x9\":[\"Failed\"],\"8OiU8L\":[\"Pool Creation\"],\"9ow2PX\":[\"Installed Wallet\"],\"9zb2WA\":[\"Connecting\"],\"AeXO77\":[\"Account\"],\"B2Tpo0\":[\"Invalid email\"],\"BRmPpE\":[\"Mint Token\"],\"BzEFor\":[\"or\"],\"CtByM7\":[\"Connect Wallet\"],\"Du6bPw\":[\"Address\"],\"E/yE9x\":[\"Before proceeding make sure\"],\"EYDfo2\":[\"Loading more\"],\"FzJ11V\":[\"This is empty\"],\"Idn0Vv\":[\"Settle\"],\"JE8mMQ\":[\"No tokens\"],\"JYKRJS\":[\"Stake\"],\"JlFcis\":[\"Send\"],\"KAbcm2\":[\"Succeeded\"],\"LobdAW\":[\"Unknown Error\"],\"M/yBt6\":[\"Add to pool\"],\"Mlg3Ds\":[\"Choose existing passkey\"],\"OBdohg\":[\"Add Liquidity\"],\"OfhWJH\":[\"Reset\"],\"OzjK0A\":[\"Create new passkey\"],\"QHcLEN\":[\"Connected\"],\"RETKSh\":[\"Connect Alchemy\"],\"S0kLOH\":[\"ID\"],\"Sz0SkD\":[\"1、Ledger Live APP is closed\",[\"BR\"],\"2、The device plugged in via USB,NOT Bluetooth\",[\"BR\"],\"3、The device is unlocked and in the \",[\"ledgerAppName\"],\" app\",[\"BR\"],\"4、”Blind Signing” is enabled in \",[\"ledgerAppName\"],\" app\"],\"TP9/K5\":[\"Token\"],\"U8oDGg\":[\"On-chain transaction records\"],\"UbRKMZ\":[\"Pending\"],\"XJOV1Y\":[\"Activity\"],\"Z3FXyt\":[\"Loading...\"],\"Z7ZXbT\":[\"Approve\"],\"fsBGk0\":[\"Balance\"],\"gCNLBV\":[\"Copy wallet address\"],\"gPbbTL\":[\"The Ledger Device is locked\\\\nPlease unlock from the device\"],\"hQRttt\":[\"Submit\"],\"hom7qf\":[\"Claim\"],\"ktegM+\":[\"Create Crowdpooling\"],\"lDgVWA\":[\"Receive\"],\"pkRuyd\":[\"Receiver address\"],\"rwC96V\":[\"Invalid wallet address\"],\"sr0UJD\":[\"Go Back\"],\"t/YqKh\":[\"Remove\"],\"vH2C/2\":[\"Swap\"],\"vN+hAq\":[\"Available Ledger Account\"],\"xGVfLh\":[\"Continue\"],\"xHr8Pp\":[\"Last connection\"],\"yN5k0R\":[\"More Wallets\"],\"z5vMiF\":[\"End mining\\n\"],\"zPGNJm\":[\"Transfer\"],\"zXCpR0\":[\"Claim Rewards\"],\"zga9sT\":[\"OK\"]}")};
@@ -1,10 +1,11 @@
1
1
  import WalletWeb3 from '@dodoex/wallet-web3';
2
2
  import React from 'react';
3
3
  import { ConnectPageProps } from './ConnectPage';
4
- export default function ConnectDialog({ open, onClose, walletWeb3, onConnectWallet, WalletTag, }: {
4
+ export default function ConnectDialog({ open, onClose, walletWeb3, priorityWalletType, onConnectWallet, WalletTag, }: {
5
5
  open: boolean;
6
6
  onClose: () => void;
7
7
  walletWeb3: WalletWeb3;
8
+ priorityWalletType?: ConnectPageProps['priorityWalletType'];
8
9
  onConnectWallet?: ConnectPageProps['onConnectWallet'];
9
10
  WalletTag?: ConnectPageProps['WalletTag'];
10
11
  }): React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import WalletWeb3 from '@dodoex/wallet-web3';
2
+ import WalletWeb3, { WalletType } from '@dodoex/wallet-web3';
3
3
  import { WalletItem } from '../hooks/useConnectWallet';
4
4
  import { WalletTagProps } from '../components/WalletTag';
5
5
  export type ConnectDialogWalletTag = React.FC<WalletTagProps & {
@@ -10,9 +10,10 @@ export interface ConnectPageProps {
10
10
  account?: string;
11
11
  walletWeb3?: WalletWeb3;
12
12
  showOtherInjectWallet?: boolean;
13
+ priorityWalletType?: WalletType | string;
13
14
  onClose: () => void;
14
15
  onConnectWallet?: (wallet: WalletItem) => void | Promise<void>;
15
16
  WalletTag?: ConnectDialogWalletTag;
16
17
  }
17
- declare function ConnectPage({ chainId, account, walletWeb3, showOtherInjectWallet, onClose, onConnectWallet, WalletTag, }: ConnectPageProps): React.JSX.Element;
18
+ declare function ConnectPage({ chainId, account, walletWeb3, showOtherInjectWallet, priorityWalletType, onClose, onConnectWallet, WalletTag, }: ConnectPageProps): React.JSX.Element;
18
19
  export default ConnectPage;
@@ -1,10 +1,11 @@
1
1
  import WalletWeb3 from '@dodoex/wallet-web3';
2
2
  import React from 'react';
3
3
  import { ConnectPageProps } from './ConnectPage';
4
- export default function WalletDialog({ open, onClose, walletWeb3, onConnectWallet, WalletTag, }: {
4
+ export default function WalletDialog({ open, onClose, walletWeb3, priorityWalletType, onConnectWallet, WalletTag, }: {
5
5
  open: boolean;
6
6
  onClose: () => void;
7
7
  walletWeb3: WalletWeb3;
8
+ priorityWalletType?: ConnectPageProps['priorityWalletType'];
8
9
  onConnectWallet?: ConnectPageProps['onConnectWallet'];
9
10
  WalletTag?: ConnectPageProps['WalletTag'];
10
11
  }): React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dodoex/wallet-web3-react",
3
- "version": "0.4.3",
3
+ "version": "0.4.5-beta.0",
4
4
  "source": "src/index.tsx",
5
5
  "types": "dist/types/index.d.ts",
6
6
  "typings": "dist/types/index.d.ts",
@@ -89,4 +89,3 @@
89
89
  "react-infinite-scroller": "^1.2.6"
90
90
  }
91
91
  }
92
-
@@ -403,6 +403,8 @@ export function getSubmitTitleByBrief(brief: string) {
403
403
  case 'mining.deposit.receive-reward':
404
404
  case 'pool.amm-v3.receive-reward.title':
405
405
  return t`Claim Rewards`;
406
+ case 'pool.mint-token':
407
+ return t`Mint Token`;
406
408
  case 'nav.create-mining':
407
409
  return t`Create Liquidity Mining`;
408
410
 
@@ -611,6 +613,7 @@ export function SubmissionTypeIcon({
611
613
  'pool.amm-v3.add-liquidity.title': PoolIcon,
612
614
  'pool.amm-v3.remove-liquidity.title': PoolIcon,
613
615
  'pool.amm-v3.receive-reward.title': PoolIcon,
616
+ 'pool.mint-token': PoolIcon,
614
617
  'nav.create-mining': MiningIcon,
615
618
  'mining.deposit.receive-reward': MiningIcon,
616
619
  'mining.stake': MiningIcon,
@@ -9,12 +9,14 @@ export default function ConnectDialog({
9
9
  open,
10
10
  onClose,
11
11
  walletWeb3,
12
+ priorityWalletType,
12
13
  onConnectWallet,
13
14
  WalletTag,
14
15
  }: {
15
16
  open: boolean;
16
17
  onClose: () => void;
17
18
  walletWeb3: WalletWeb3;
19
+ priorityWalletType?: ConnectPageProps['priorityWalletType'];
18
20
  onConnectWallet?: ConnectPageProps['onConnectWallet'];
19
21
  WalletTag?: ConnectPageProps['WalletTag'];
20
22
  }) {
@@ -26,6 +28,7 @@ export default function ConnectDialog({
26
28
  account={account}
27
29
  walletWeb3={walletWeb3}
28
30
  showOtherInjectWallet
31
+ priorityWalletType={priorityWalletType}
29
32
  onClose={onClose}
30
33
  onConnectWallet={onConnectWallet}
31
34
  WalletTag={WalletTag}
@@ -219,6 +219,7 @@ export interface ConnectPageProps {
219
219
  account?: string;
220
220
  walletWeb3?: WalletWeb3;
221
221
  showOtherInjectWallet?: boolean;
222
+ priorityWalletType?: WalletType | string;
222
223
  onClose: () => void;
223
224
  onConnectWallet?: (wallet: WalletItem) => void | Promise<void>;
224
225
  WalletTag?: ConnectDialogWalletTag;
@@ -228,6 +229,7 @@ function ConnectPage({
228
229
  account,
229
230
  walletWeb3,
230
231
  showOtherInjectWallet,
232
+ priorityWalletType,
231
233
  onClose,
232
234
  onConnectWallet,
233
235
  WalletTag,
@@ -267,13 +269,52 @@ function ConnectPage({
267
269
  hasTermsOfServiceLink: !!termsOfServiceLink,
268
270
  });
269
271
  const [showAllWallet, setShowAllWallet] = React.useState(false);
270
- const showWalletList = React.useMemo(() => {
271
- if (showAllWallet) return walletList;
272
- return walletList.slice(0, 6);
273
- }, [walletList, showAllWallet]);
272
+ const sortedWalletList = React.useMemo(() => {
273
+ if (!priorityWalletType) return walletList;
274
+
275
+ const priorityWallet = walletList.find(
276
+ (wallet) => wallet.currentType === priorityWalletType,
277
+ );
278
+ if (!priorityWallet) return walletList;
279
+
280
+ return [
281
+ priorityWallet,
282
+ ...walletList.filter((wallet) => wallet.currentType !== priorityWalletType),
283
+ ];
284
+ }, [priorityWalletType, walletList]);
285
+ const { visibleWalletList, hiddenWalletList } = React.useMemo(() => {
286
+ if (!priorityWalletType) {
287
+ return {
288
+ visibleWalletList: showAllWallet ? sortedWalletList : sortedWalletList.slice(0, 6),
289
+ hiddenWalletList: sortedWalletList.slice(6),
290
+ };
291
+ }
292
+
293
+ const [firstWallet, ...otherWallets] = sortedWalletList;
294
+ if (!firstWallet) {
295
+ return {
296
+ visibleWalletList: [],
297
+ hiddenWalletList: [],
298
+ };
299
+ }
300
+
301
+ const installedWallets = otherWallets.filter((wallet) => wallet.isInstalled);
302
+ const uninstalledWallets = otherWallets.filter((wallet) => !wallet.isInstalled);
303
+ const collapsedVisibleWalletList = [firstWallet, ...installedWallets].slice(0, 6);
304
+ const collapsedHiddenWalletList = sortedWalletList.filter(
305
+ (wallet) => !collapsedVisibleWalletList.includes(wallet),
306
+ );
307
+
308
+ return {
309
+ visibleWalletList: showAllWallet
310
+ ? [firstWallet, ...installedWallets, ...uninstalledWallets]
311
+ : collapsedVisibleWalletList,
312
+ hiddenWalletList: showAllWallet ? uninstalledWallets : collapsedHiddenWalletList,
313
+ };
314
+ }, [priorityWalletType, showAllWallet, sortedWalletList]);
274
315
  const morePriorityWalletList = React.useMemo(() => {
275
- return walletList.slice(6, 9);
276
- }, [walletList]);
316
+ return hiddenWalletList.slice(0, 3);
317
+ }, [hiddenWalletList]);
277
318
 
278
319
  return (
279
320
  <>
@@ -299,7 +340,7 @@ function ConnectPage({
299
340
  ...walletGroupStyle,
300
341
  }}
301
342
  >
302
- {showWalletList.map((wallet) => {
343
+ {visibleWalletList.map((wallet) => {
303
344
  return (
304
345
  <WalletGroupItem
305
346
  key={wallet.title}
@@ -319,7 +360,7 @@ function ConnectPage({
319
360
  );
320
361
  })}
321
362
  </Box>
322
- {morePriorityWalletList.length ? (
363
+ {hiddenWalletList.length ? (
323
364
  <Box
324
365
  sx={{
325
366
  mx: 20,
@@ -12,12 +12,14 @@ export default function WalletDialog({
12
12
  open,
13
13
  onClose,
14
14
  walletWeb3,
15
+ priorityWalletType,
15
16
  onConnectWallet,
16
17
  WalletTag,
17
18
  }: {
18
19
  open: boolean;
19
20
  onClose: () => void;
20
21
  walletWeb3: WalletWeb3;
22
+ priorityWalletType?: ConnectPageProps['priorityWalletType'];
21
23
  onConnectWallet?: ConnectPageProps['onConnectWallet'];
22
24
  WalletTag?: ConnectPageProps['WalletTag'];
23
25
  }) {
@@ -70,6 +72,7 @@ export default function WalletDialog({
70
72
  account={account}
71
73
  walletWeb3={walletWeb3}
72
74
  showOtherInjectWallet
75
+ priorityWalletType={priorityWalletType}
73
76
  onClose={onClose}
74
77
  onConnectWallet={onConnectWallet}
75
78
  WalletTag={WalletTag}
package/src/locales/en.js CHANGED
@@ -1 +1 @@
1
- /*eslint-disable*/module.exports={messages:JSON.parse("{\"14s9LL\":[\"Create Liquidity Mining\"],\"3UCJ3e\":[\"Check your email and click the link to complete login\"],\"3XBvkd\":[\"Remove Liquidity\"],\"3y6FjD\":[\"Log in with your email or a passkey\"],\"6KnyG0\":[\"Enter email\"],\"6Ui8nZ\":[\"Log in with your email\"],\"6V3Ea3\":[\"Copied\"],\"7Bj3x9\":[\"Failed\"],\"8OiU8L\":[\"Pool Creation\"],\"9ow2PX\":[\"Installed Wallet\"],\"9zb2WA\":[\"Connecting\"],\"AeXO77\":[\"Account\"],\"B2Tpo0\":[\"Invalid email\"],\"BzEFor\":[\"or\"],\"CtByM7\":[\"Connect Wallet\"],\"Du6bPw\":[\"Address\"],\"E/yE9x\":[\"Before proceeding make sure\"],\"EYDfo2\":[\"Loading more\"],\"FzJ11V\":[\"This is empty\"],\"Idn0Vv\":[\"Settle\"],\"JE8mMQ\":[\"No tokens\"],\"JYKRJS\":[\"Stake\"],\"JlFcis\":[\"Send\"],\"KAbcm2\":[\"Succeeded\"],\"LobdAW\":[\"Unknown Error\"],\"M/yBt6\":[\"Add to pool\"],\"Mlg3Ds\":[\"Choose existing passkey\"],\"OBdohg\":[\"Add Liquidity\"],\"OfhWJH\":[\"Reset\"],\"OzjK0A\":[\"Create new passkey\"],\"QHcLEN\":[\"Connected\"],\"RETKSh\":[\"Connect Alchemy\"],\"S0kLOH\":[\"ID\"],\"Sz0SkD\":[\"1、Ledger Live APP is closed\",[\"BR\"],\"2、The device plugged in via USB,NOT Bluetooth\",[\"BR\"],\"3、The device is unlocked and in the \",[\"ledgerAppName\"],\" app\",[\"BR\"],\"4、”Blind Signing” is enabled in \",[\"ledgerAppName\"],\" app\"],\"TP9/K5\":[\"Token\"],\"U8oDGg\":[\"On-chain transaction records\"],\"UbRKMZ\":[\"Pending\"],\"XJOV1Y\":[\"Activity\"],\"Z3FXyt\":[\"Loading...\"],\"Z7ZXbT\":[\"Approve\"],\"fsBGk0\":[\"Balance\"],\"gCNLBV\":[\"Copy wallet address\"],\"gPbbTL\":[\"The Ledger Device is locked\\\\nPlease unlock from the device\"],\"hQRttt\":[\"Submit\"],\"hom7qf\":[\"Claim\"],\"ktegM+\":[\"Create Crowdpooling\"],\"lDgVWA\":[\"Receive\"],\"pkRuyd\":[\"Receiver address\"],\"rwC96V\":[\"Invalid wallet address\"],\"sr0UJD\":[\"Go Back\"],\"t/YqKh\":[\"Remove\"],\"vH2C/2\":[\"Swap\"],\"vN+hAq\":[\"Available Ledger Account\"],\"xGVfLh\":[\"Continue\"],\"xHr8Pp\":[\"Last connection\"],\"yN5k0R\":[\"More Wallets\"],\"z5vMiF\":[\"End mining\\n\"],\"zPGNJm\":[\"Transfer\"],\"zXCpR0\":[\"Claim Rewards\"],\"zga9sT\":[\"OK\"]}")};
1
+ /*eslint-disable*/module.exports={messages:JSON.parse("{\"14s9LL\":[\"Create Liquidity Mining\"],\"3UCJ3e\":[\"Check your email and click the link to complete login\"],\"3XBvkd\":[\"Remove Liquidity\"],\"3y6FjD\":[\"Log in with your email or a passkey\"],\"6KnyG0\":[\"Enter email\"],\"6Ui8nZ\":[\"Log in with your email\"],\"6V3Ea3\":[\"Copied\"],\"7Bj3x9\":[\"Failed\"],\"8OiU8L\":[\"Pool Creation\"],\"9ow2PX\":[\"Installed Wallet\"],\"9zb2WA\":[\"Connecting\"],\"AeXO77\":[\"Account\"],\"B2Tpo0\":[\"Invalid email\"],\"BRmPpE\":[\"Mint Token\"],\"BzEFor\":[\"or\"],\"CtByM7\":[\"Connect Wallet\"],\"Du6bPw\":[\"Address\"],\"E/yE9x\":[\"Before proceeding make sure\"],\"EYDfo2\":[\"Loading more\"],\"FzJ11V\":[\"This is empty\"],\"Idn0Vv\":[\"Settle\"],\"JE8mMQ\":[\"No tokens\"],\"JYKRJS\":[\"Stake\"],\"JlFcis\":[\"Send\"],\"KAbcm2\":[\"Succeeded\"],\"LobdAW\":[\"Unknown Error\"],\"M/yBt6\":[\"Add to pool\"],\"Mlg3Ds\":[\"Choose existing passkey\"],\"OBdohg\":[\"Add Liquidity\"],\"OfhWJH\":[\"Reset\"],\"OzjK0A\":[\"Create new passkey\"],\"QHcLEN\":[\"Connected\"],\"RETKSh\":[\"Connect Alchemy\"],\"S0kLOH\":[\"ID\"],\"Sz0SkD\":[\"1、Ledger Live APP is closed\",[\"BR\"],\"2、The device plugged in via USB,NOT Bluetooth\",[\"BR\"],\"3、The device is unlocked and in the \",[\"ledgerAppName\"],\" app\",[\"BR\"],\"4、”Blind Signing” is enabled in \",[\"ledgerAppName\"],\" app\"],\"TP9/K5\":[\"Token\"],\"U8oDGg\":[\"On-chain transaction records\"],\"UbRKMZ\":[\"Pending\"],\"XJOV1Y\":[\"Activity\"],\"Z3FXyt\":[\"Loading...\"],\"Z7ZXbT\":[\"Approve\"],\"fsBGk0\":[\"Balance\"],\"gCNLBV\":[\"Copy wallet address\"],\"gPbbTL\":[\"The Ledger Device is locked\\\\nPlease unlock from the device\"],\"hQRttt\":[\"Submit\"],\"hom7qf\":[\"Claim\"],\"ktegM+\":[\"Create Crowdpooling\"],\"lDgVWA\":[\"Receive\"],\"pkRuyd\":[\"Receiver address\"],\"rwC96V\":[\"Invalid wallet address\"],\"sr0UJD\":[\"Go Back\"],\"t/YqKh\":[\"Remove\"],\"vH2C/2\":[\"Swap\"],\"vN+hAq\":[\"Available Ledger Account\"],\"xGVfLh\":[\"Continue\"],\"xHr8Pp\":[\"Last connection\"],\"yN5k0R\":[\"More Wallets\"],\"z5vMiF\":[\"End mining\\n\"],\"zPGNJm\":[\"Transfer\"],\"zXCpR0\":[\"Claim Rewards\"],\"zga9sT\":[\"OK\"]}")};
package/src/locales/en.po CHANGED
@@ -29,7 +29,7 @@ msgstr "Activity"
29
29
  msgid "Add Liquidity"
30
30
  msgstr "Add Liquidity"
31
31
 
32
- #: src/WalletConnect/ActivityList.tsx:412
32
+ #: src/WalletConnect/ActivityList.tsx:414
33
33
  msgid "Add to pool"
34
34
  msgstr "Add to pool"
35
35
 
@@ -64,7 +64,7 @@ msgstr "Check your email and click the link to complete login"
64
64
  msgid "Choose existing passkey"
65
65
  msgstr "Choose existing passkey"
66
66
 
67
- #: src/WalletConnect/ActivityList.tsx:414
67
+ #: src/WalletConnect/ActivityList.tsx:416
68
68
  msgid "Claim"
69
69
  msgstr "Claim"
70
70
 
@@ -76,7 +76,7 @@ msgstr "Claim Rewards"
76
76
  msgid "Connect Alchemy"
77
77
  msgstr "Connect Alchemy"
78
78
 
79
- #: src/WalletConnect/ConnectPage.tsx:281
79
+ #: src/WalletConnect/ConnectPage.tsx:322
80
80
  msgid "Connect Wallet"
81
81
  msgstr "Connect Wallet"
82
82
 
@@ -104,11 +104,11 @@ msgstr "Copied"
104
104
  msgid "Copy wallet address"
105
105
  msgstr "Copy wallet address"
106
106
 
107
- #: src/WalletConnect/ActivityList.tsx:410
107
+ #: src/WalletConnect/ActivityList.tsx:412
108
108
  msgid "Create Crowdpooling"
109
109
  msgstr "Create Crowdpooling"
110
110
 
111
- #: src/WalletConnect/ActivityList.tsx:407
111
+ #: src/WalletConnect/ActivityList.tsx:409
112
112
  msgid "Create Liquidity Mining"
113
113
  msgstr "Create Liquidity Mining"
114
114
 
@@ -172,7 +172,11 @@ msgstr "Log in with your email"
172
172
  msgid "Log in with your email or a passkey"
173
173
  msgstr "Log in with your email or a passkey"
174
174
 
175
- #: src/WalletConnect/ConnectPage.tsx:391
175
+ #: src/WalletConnect/ActivityList.tsx:407
176
+ msgid "Mint Token"
177
+ msgstr "Mint Token"
178
+
179
+ #: src/WalletConnect/ConnectPage.tsx:432
176
180
  msgid "More Wallets"
177
181
  msgstr "More Wallets"
178
182
 
@@ -210,7 +214,7 @@ msgstr "Receive"
210
214
  msgid "Receiver address"
211
215
  msgstr "Receiver address"
212
216
 
213
- #: src/WalletConnect/ActivityList.tsx:418
217
+ #: src/WalletConnect/ActivityList.tsx:420
214
218
  msgid "Remove"
215
219
  msgstr "Remove"
216
220
 
@@ -224,13 +228,13 @@ msgid "Reset"
224
228
  msgstr "Reset"
225
229
 
226
230
  #: src/WalletConnect/AccountPage.tsx:205
227
- #: src/WalletConnect/ActivityList.tsx:421
231
+ #: src/WalletConnect/ActivityList.tsx:423
228
232
  #: src/WalletConnect/SendTokenPage.tsx:118
229
233
  #: src/WalletConnect/SendTokenPage.tsx:246
230
234
  msgid "Send"
231
235
  msgstr "Send"
232
236
 
233
- #: src/WalletConnect/ActivityList.tsx:416
237
+ #: src/WalletConnect/ActivityList.tsx:418
234
238
  msgid "Settle"
235
239
  msgstr "Settle"
236
240
 
package/src/locales/zh.js CHANGED
@@ -1 +1 @@
1
- /*eslint-disable*/module.exports={messages:JSON.parse("{\"14s9LL\":[\"Create Liquidity Mining\"],\"3UCJ3e\":[\"Check your email and click the link to complete login\"],\"3XBvkd\":[\"Remove Liquidity\"],\"3y6FjD\":[\"Log in with your email or a passkey\"],\"6KnyG0\":[\"Enter email\"],\"6Ui8nZ\":[\"Log in with your email\"],\"6V3Ea3\":[\"Copied\"],\"7Bj3x9\":[\"Failed\"],\"8OiU8L\":[\"Pool Creation\"],\"9ow2PX\":[\"Installed Wallet\"],\"9zb2WA\":[\"Connecting\"],\"AeXO77\":[\"Account\"],\"B2Tpo0\":[\"Invalid email\"],\"BzEFor\":[\"or\"],\"CtByM7\":[\"Connect Wallet\"],\"Du6bPw\":[\"Address\"],\"E/yE9x\":[\"Before proceeding make sure\"],\"EYDfo2\":[\"Loading more\"],\"FzJ11V\":[\"This is empty\"],\"Idn0Vv\":[\"Settle\"],\"JE8mMQ\":[\"No tokens\"],\"JYKRJS\":[\"Stake\"],\"JlFcis\":[\"Send\"],\"KAbcm2\":[\"Succeeded\"],\"LobdAW\":[\"Unknown Error\"],\"M/yBt6\":[\"Add to pool\"],\"Mlg3Ds\":[\"Choose existing passkey\"],\"OBdohg\":[\"Add Liquidity\"],\"OfhWJH\":[\"Reset\"],\"OzjK0A\":[\"Create new passkey\"],\"QHcLEN\":[\"Connected\"],\"RETKSh\":[\"Connect Alchemy\"],\"S0kLOH\":[\"ID\"],\"Sz0SkD\":[\"1、Ledger Live APP is closed\",[\"BR\"],\"2、The device plugged in via USB,NOT Bluetooth\",[\"BR\"],\"3、The device is unlocked and in the \",[\"ledgerAppName\"],\" app\",[\"BR\"],\"4、”Blind Signing” is enabled in \",[\"ledgerAppName\"],\" app\"],\"TP9/K5\":[\"Token\"],\"U8oDGg\":[\"On-chain transaction records\"],\"UbRKMZ\":[\"Pending\"],\"XJOV1Y\":[\"Activity\"],\"Z3FXyt\":[\"Loading...\"],\"Z7ZXbT\":[\"Approve\"],\"fsBGk0\":[\"Balance\"],\"gCNLBV\":[\"Copy wallet address\"],\"gPbbTL\":[\"The Ledger Device is locked\\\\nPlease unlock from the device\"],\"hQRttt\":[\"Submit\"],\"hom7qf\":[\"Claim\"],\"ktegM+\":[\"Create Crowdpooling\"],\"lDgVWA\":[\"Receive\"],\"pkRuyd\":[\"Receiver address\"],\"rwC96V\":[\"Invalid wallet address\"],\"sr0UJD\":[\"Go Back\"],\"t/YqKh\":[\"Remove\"],\"vH2C/2\":[\"Swap\"],\"vN+hAq\":[\"Available Ledger Account\"],\"xGVfLh\":[\"Continue\"],\"xHr8Pp\":[\"Last connection\"],\"yN5k0R\":[\"More Wallets\"],\"z5vMiF\":[\"End mining\\n\"],\"zPGNJm\":[\"Transfer\"],\"zXCpR0\":[\"Claim Rewards\"],\"zga9sT\":[\"OK\"]}")};
1
+ /*eslint-disable*/module.exports={messages:JSON.parse("{\"14s9LL\":[\"Create Liquidity Mining\"],\"3UCJ3e\":[\"Check your email and click the link to complete login\"],\"3XBvkd\":[\"Remove Liquidity\"],\"3y6FjD\":[\"Log in with your email or a passkey\"],\"6KnyG0\":[\"Enter email\"],\"6Ui8nZ\":[\"Log in with your email\"],\"6V3Ea3\":[\"Copied\"],\"7Bj3x9\":[\"Failed\"],\"8OiU8L\":[\"Pool Creation\"],\"9ow2PX\":[\"Installed Wallet\"],\"9zb2WA\":[\"Connecting\"],\"AeXO77\":[\"Account\"],\"B2Tpo0\":[\"Invalid email\"],\"BRmPpE\":[\"Mint Token\"],\"BzEFor\":[\"or\"],\"CtByM7\":[\"Connect Wallet\"],\"Du6bPw\":[\"Address\"],\"E/yE9x\":[\"Before proceeding make sure\"],\"EYDfo2\":[\"Loading more\"],\"FzJ11V\":[\"This is empty\"],\"Idn0Vv\":[\"Settle\"],\"JE8mMQ\":[\"No tokens\"],\"JYKRJS\":[\"Stake\"],\"JlFcis\":[\"Send\"],\"KAbcm2\":[\"Succeeded\"],\"LobdAW\":[\"Unknown Error\"],\"M/yBt6\":[\"Add to pool\"],\"Mlg3Ds\":[\"Choose existing passkey\"],\"OBdohg\":[\"Add Liquidity\"],\"OfhWJH\":[\"Reset\"],\"OzjK0A\":[\"Create new passkey\"],\"QHcLEN\":[\"Connected\"],\"RETKSh\":[\"Connect Alchemy\"],\"S0kLOH\":[\"ID\"],\"Sz0SkD\":[\"1、Ledger Live APP is closed\",[\"BR\"],\"2、The device plugged in via USB,NOT Bluetooth\",[\"BR\"],\"3、The device is unlocked and in the \",[\"ledgerAppName\"],\" app\",[\"BR\"],\"4、”Blind Signing” is enabled in \",[\"ledgerAppName\"],\" app\"],\"TP9/K5\":[\"Token\"],\"U8oDGg\":[\"On-chain transaction records\"],\"UbRKMZ\":[\"Pending\"],\"XJOV1Y\":[\"Activity\"],\"Z3FXyt\":[\"Loading...\"],\"Z7ZXbT\":[\"Approve\"],\"fsBGk0\":[\"Balance\"],\"gCNLBV\":[\"Copy wallet address\"],\"gPbbTL\":[\"The Ledger Device is locked\\\\nPlease unlock from the device\"],\"hQRttt\":[\"Submit\"],\"hom7qf\":[\"Claim\"],\"ktegM+\":[\"Create Crowdpooling\"],\"lDgVWA\":[\"Receive\"],\"pkRuyd\":[\"Receiver address\"],\"rwC96V\":[\"Invalid wallet address\"],\"sr0UJD\":[\"Go Back\"],\"t/YqKh\":[\"Remove\"],\"vH2C/2\":[\"Swap\"],\"vN+hAq\":[\"Available Ledger Account\"],\"xGVfLh\":[\"Continue\"],\"xHr8Pp\":[\"Last connection\"],\"yN5k0R\":[\"More Wallets\"],\"z5vMiF\":[\"End mining\\n\"],\"zPGNJm\":[\"Transfer\"],\"zXCpR0\":[\"Claim Rewards\"],\"zga9sT\":[\"OK\"]}")};
package/src/locales/zh.po CHANGED
@@ -29,7 +29,7 @@ msgstr ""
29
29
  msgid "Add Liquidity"
30
30
  msgstr ""
31
31
 
32
- #: src/WalletConnect/ActivityList.tsx:412
32
+ #: src/WalletConnect/ActivityList.tsx:414
33
33
  msgid "Add to pool"
34
34
  msgstr ""
35
35
 
@@ -64,7 +64,7 @@ msgstr ""
64
64
  msgid "Choose existing passkey"
65
65
  msgstr ""
66
66
 
67
- #: src/WalletConnect/ActivityList.tsx:414
67
+ #: src/WalletConnect/ActivityList.tsx:416
68
68
  msgid "Claim"
69
69
  msgstr ""
70
70
 
@@ -76,7 +76,7 @@ msgstr ""
76
76
  msgid "Connect Alchemy"
77
77
  msgstr ""
78
78
 
79
- #: src/WalletConnect/ConnectPage.tsx:281
79
+ #: src/WalletConnect/ConnectPage.tsx:322
80
80
  msgid "Connect Wallet"
81
81
  msgstr ""
82
82
 
@@ -104,11 +104,11 @@ msgstr ""
104
104
  msgid "Copy wallet address"
105
105
  msgstr ""
106
106
 
107
- #: src/WalletConnect/ActivityList.tsx:410
107
+ #: src/WalletConnect/ActivityList.tsx:412
108
108
  msgid "Create Crowdpooling"
109
109
  msgstr ""
110
110
 
111
- #: src/WalletConnect/ActivityList.tsx:407
111
+ #: src/WalletConnect/ActivityList.tsx:409
112
112
  msgid "Create Liquidity Mining"
113
113
  msgstr ""
114
114
 
@@ -170,7 +170,11 @@ msgstr ""
170
170
  msgid "Log in with your email or a passkey"
171
171
  msgstr ""
172
172
 
173
- #: src/WalletConnect/ConnectPage.tsx:391
173
+ #: src/WalletConnect/ActivityList.tsx:407
174
+ msgid "Mint Token"
175
+ msgstr ""
176
+
177
+ #: src/WalletConnect/ConnectPage.tsx:432
174
178
  msgid "More Wallets"
175
179
  msgstr ""
176
180
 
@@ -208,7 +212,7 @@ msgstr ""
208
212
  msgid "Receiver address"
209
213
  msgstr ""
210
214
 
211
- #: src/WalletConnect/ActivityList.tsx:418
215
+ #: src/WalletConnect/ActivityList.tsx:420
212
216
  msgid "Remove"
213
217
  msgstr ""
214
218
 
@@ -222,13 +226,13 @@ msgid "Reset"
222
226
  msgstr ""
223
227
 
224
228
  #: src/WalletConnect/AccountPage.tsx:205
225
- #: src/WalletConnect/ActivityList.tsx:421
229
+ #: src/WalletConnect/ActivityList.tsx:423
226
230
  #: src/WalletConnect/SendTokenPage.tsx:118
227
231
  #: src/WalletConnect/SendTokenPage.tsx:246
228
232
  msgid "Send"
229
233
  msgstr ""
230
234
 
231
- #: src/WalletConnect/ActivityList.tsx:416
235
+ #: src/WalletConnect/ActivityList.tsx:418
232
236
  msgid "Settle"
233
237
  msgstr ""
234
238