diff --git a/apps/wallet-mobile/.storybook/storybook.requires.js b/apps/wallet-mobile/.storybook/storybook.requires.js
index 67e6a4e624..70da16c898 100644
--- a/apps/wallet-mobile/.storybook/storybook.requires.js
+++ b/apps/wallet-mobile/.storybook/storybook.requires.js
@@ -139,6 +139,7 @@ const getStories = () => {
"./src/features/Exchange/useCases/ShowExchangeResultOrderScreen/ContentResult/ContentResult.stories.tsx": require("../src/features/Exchange/useCases/ShowExchangeResultOrderScreen/ContentResult/ContentResult.stories.tsx"),
"./src/features/Exchange/useCases/ShowExchangeResultOrderScreen/ShowExchangeResultOrderScreen.stories.tsx": require("../src/features/Exchange/useCases/ShowExchangeResultOrderScreen/ShowExchangeResultOrderScreen.stories.tsx"),
"./src/features/Initialization/AnalyticsChangedScreen/AnalyticsChangedScreen.stories.tsx": require("../src/features/Initialization/AnalyticsChangedScreen/AnalyticsChangedScreen.stories.tsx"),
+ "./src/features/Initialization/ChooseBiometricLogin/ChooseBiometricLoginScreen.stories.tsx": require("../src/features/Initialization/ChooseBiometricLogin/ChooseBiometricLoginScreen.stories.tsx"),
"./src/features/Initialization/InitialScreen/InitialScreen.stories.tsx": require("../src/features/Initialization/InitialScreen/InitialScreen.stories.tsx"),
"./src/features/Initialization/LanguagePickerScreen/LanguagePickerScreen.stories.tsx": require("../src/features/Initialization/LanguagePickerScreen/LanguagePickerScreen.stories.tsx"),
"./src/features/Initialization/TermsOfServiceChangedScreen/TermsOfServiceChangedScreen.stories.tsx": require("../src/features/Initialization/TermsOfServiceChangedScreen/TermsOfServiceChangedScreen.stories.tsx"),
@@ -210,7 +211,6 @@ const getStories = () => {
"./src/features/SetupWallet/legacy/SaveReadOnlyWallet/SaveReadOnlyWalletScreen.stories.tsx": require("../src/features/SetupWallet/legacy/SaveReadOnlyWallet/SaveReadOnlyWalletScreen.stories.tsx"),
"./src/features/SetupWallet/legacy/WalletAddress/WalletAddress.stories.tsx": require("../src/features/SetupWallet/legacy/WalletAddress/WalletAddress.stories.tsx"),
"./src/features/SetupWallet/legacy/WalletNameForm/WalletNameForm.stories.tsx": require("../src/features/SetupWallet/legacy/WalletNameForm/WalletNameForm.stories.tsx"),
- "./src/features/SetupWallet/useCases/ChooseBiometricLogin/ChooseBiometricLoginScreen.stories.tsx": require("../src/features/SetupWallet/useCases/ChooseBiometricLogin/ChooseBiometricLoginScreen.stories.tsx"),
"./src/features/SetupWallet/useCases/ChooseNetwork/ChooseNetworkScreen.stories.tsx": require("../src/features/SetupWallet/useCases/ChooseNetwork/ChooseNetworkScreen.stories.tsx"),
"./src/features/SetupWallet/useCases/ChooseSetupType/ChooseSetupTypeScreen.stories.tsx": require("../src/features/SetupWallet/useCases/ChooseSetupType/ChooseSetupTypeScreen.stories.tsx"),
"./src/features/SetupWallet/useCases/CreateWallet/AboutRecoveryPhraseScreen.stories.tsx": require("../src/features/SetupWallet/useCases/CreateWallet/AboutRecoveryPhraseScreen.stories.tsx"),
@@ -292,8 +292,6 @@ const getStories = () => {
"./src/legacy/TxHistory/TxDetails/TxDetails.stories.tsx": require("../src/legacy/TxHistory/TxDetails/TxDetails.stories.tsx"),
"./src/legacy/TxHistory/TxHistory.stories.tsx": require("../src/legacy/TxHistory/TxHistory.stories.tsx"),
"./src/legacy/TxHistory/TxHistoryList/ActionsBanner/ActionsBanner.stories.tsx": require("../src/legacy/TxHistory/TxHistoryList/ActionsBanner/ActionsBanner.stories.tsx"),
- "./src/Staking/FailedTx/FailedTxScreen.stories.tsx": require("../src/Staking/FailedTx/FailedTxScreen.stories.tsx"),
- "./src/Staking/PoolTransition/PoolTransitionModal.stories.tsx": require("../src/Staking/PoolTransition/PoolTransitionModal.stories.tsx"),
};
};
diff --git a/apps/wallet-mobile/src/Staking/FailedTx/FailedTxImage.tsx b/apps/wallet-mobile/src/Staking/FailedTx/FailedTxImage.tsx
deleted file mode 100644
index b63d5b8dd2..0000000000
--- a/apps/wallet-mobile/src/Staking/FailedTx/FailedTxImage.tsx
+++ /dev/null
@@ -1,47 +0,0 @@
-import * as React from 'react'
-import Svg, {Defs, LinearGradient, Path, Stop, SvgProps} from 'react-native-svg'
-
-export const FailedTxImage = (props: SvgProps) => {
- return (
-
- )
-}
diff --git a/apps/wallet-mobile/src/Staking/FailedTx/FailedTxScreen.stories.tsx b/apps/wallet-mobile/src/Staking/FailedTx/FailedTxScreen.stories.tsx
deleted file mode 100644
index 21536f6847..0000000000
--- a/apps/wallet-mobile/src/Staking/FailedTx/FailedTxScreen.stories.tsx
+++ /dev/null
@@ -1,8 +0,0 @@
-import {storiesOf} from '@storybook/react-native'
-import React from 'react'
-
-import {FailedTxScreen} from './FailedTxScreen'
-
-storiesOf('Staking/Failed Tx Screen', module).add('initial', () => {
- return
-})
diff --git a/apps/wallet-mobile/src/Staking/FailedTx/FailedTxScreen.tsx b/apps/wallet-mobile/src/Staking/FailedTx/FailedTxScreen.tsx
deleted file mode 100644
index 5271bf4187..0000000000
--- a/apps/wallet-mobile/src/Staking/FailedTx/FailedTxScreen.tsx
+++ /dev/null
@@ -1,121 +0,0 @@
-import {useNavigation} from '@react-navigation/native'
-import {useTheme} from '@yoroi/theme'
-import React from 'react'
-import {defineMessages, useIntl} from 'react-intl'
-import {StyleSheet, View} from 'react-native'
-
-import {Button, Spacer, Text} from '../../components'
-import {Space} from '../../components/Space/Space'
-import {FailedTxImage} from './FailedTxImage'
-
-export const FailedTxScreen = () => {
- const strings = useStrings()
- const styles = useStyles()
- const navigateTo = useNavigateTo()
-
- return (
-
-
-
-
-
- {strings.notEnoughFunds}
-
- {strings.noFundsToProcess}
-
-
-
-
-
-
-
-
-
- )
-}
-
-const useNavigateTo = () => {
- const navigation = useNavigation()
-
- return {
- buyAda: () =>
- navigation.navigate('manage-wallets', {
- screen: 'main-wallet-routes',
- params: {
- screen: 'history',
- params: {
- screen: 'exchange-create-order',
- },
- },
- }),
- main: () =>
- navigation.navigate('manage-wallets', {
- screen: 'main-wallet-routes',
- params: {
- screen: 'history',
- params: {
- screen: 'history-list',
- },
- },
- }),
- }
-}
-
-const useStyles = () => {
- const {theme} = useTheme()
- const {color, typography, padding} = theme
- const styles = StyleSheet.create({
- container: {
- flex: 1,
- alignItems: 'center',
- justifyContent: 'center',
- ...padding['l'],
- },
- title: {
- color: color.gray.max,
- ...typography['heading-3-medium'],
- ...padding['x-s'],
- textAlign: 'center',
- },
- text: {
- color: color.gray[600],
- ...typography['body-2-m-regular'],
- textAlign: 'center',
- maxWidth: 330,
- },
- outlineText: {
- color: theme.color.primary[500],
- },
- })
- return styles
-}
-
-const useStrings = () => {
- const intl = useIntl()
-
- return {
- notEnoughFunds: intl.formatMessage(messages.notEnoughFunds),
- noFundsToProcess: intl.formatMessage(messages.noFundsToProcess),
- buyAda: intl.formatMessage(messages.buyAda),
- goToMain: intl.formatMessage(messages.goToMain),
- }
-}
-
-const messages = defineMessages({
- notEnoughFunds: {
- id: 'components.stakingcenter.failedDelegation.notEnoughFunds',
- defaultMessage: '!!!Not enough funds',
- },
- noFundsToProcess: {
- id: 'components.stakingcenter.failedDelegation.noFundsToProcess',
- defaultMessage: '!!!Your transaction cannot be processed due to lack of funds on your wallet balance',
- },
- buyAda: {
- id: 'components.stakingcenter.failedDelegation.buyAda',
- defaultMessage: '!!!Buy ada',
- },
- goToMain: {
- id: 'components.stakingcenter.failedDelegation.goToMain',
- defaultMessage: '!!!Go to main wallet page',
- },
-})
diff --git a/apps/wallet-mobile/src/Staking/PoolTransition/PoolTransitionModal.stories.tsx b/apps/wallet-mobile/src/Staking/PoolTransition/PoolTransitionModal.stories.tsx
deleted file mode 100644
index dfd2f04ff3..0000000000
--- a/apps/wallet-mobile/src/Staking/PoolTransition/PoolTransitionModal.stories.tsx
+++ /dev/null
@@ -1,53 +0,0 @@
-import {PoolTransition} from '@emurgo/yoroi-lib'
-import {action} from '@storybook/addon-actions'
-import {storiesOf} from '@storybook/react-native'
-import * as React from 'react'
-import {View} from 'react-native'
-
-import {PoolTransitionModal} from './PoolTransitionModal'
-
-const mock: PoolTransition = {
- current: {
- id: '',
- hash: '',
- saturation: '',
- taxFix: '',
- stake: '',
- share: '',
- pic: 'https://img.cexplorer.io/a/5/5/f/2/pool12eht6dqxpzqj87xuextrpufz2gxmt4reuesuw26r2utzw0kw906.png',
- ticker: 'EMRG',
- name: 'emurgo old',
- roa: '0',
- taxRatio: '0.05',
- },
- suggested: {
- hash: '',
- saturation: '',
- taxFix: '',
- stake: '',
- share: '',
- pic: 'https://img.cexplorer.io/e/c/2/3/1/pool1dkww2vlysa8lsnuf5rca979zdsyr3zvt59hu7e420yxfunkka2z.png',
- id: 'df1750df9b2df285fcfb50f4740657a18ee3af42727d410c37b86207',
- name: 'emurgo new',
- roa: '5.1',
- ticker: 'EMRG',
- taxRatio: '0.02',
- },
- deadlineMilliseconds: Date.now() + 2999777000,
-}
-
-storiesOf('PoolTransitionModal', module)
- .add('Future deadline', () => (
-
-
-
-
-
- ))
- .add('Past deadline', () => (
-
-
-
-
-
- ))
diff --git a/apps/wallet-mobile/src/Staking/PoolTransition/PoolTransitionModal.tsx b/apps/wallet-mobile/src/Staking/PoolTransition/PoolTransitionModal.tsx
deleted file mode 100644
index 7a5c5bbbbc..0000000000
--- a/apps/wallet-mobile/src/Staking/PoolTransition/PoolTransitionModal.tsx
+++ /dev/null
@@ -1,264 +0,0 @@
-import {PoolTransition} from '@emurgo/yoroi-lib'
-import {useTheme} from '@yoroi/theme'
-import * as React from 'react'
-import {Image, StyleSheet, Text, View, ViewProps} from 'react-native'
-import LinearGradient from 'react-native-linear-gradient'
-
-import {Button, Icon, useModal} from '../../components'
-import {ScrollView, useScrollView} from '../../components/ScrollView/ScrollView'
-import {Space} from '../../components/Space/Space'
-import {formatTimeSpan} from '../../yoroi-wallets/utils'
-import {useStrings} from './usePoolTransition'
-
-export const PoolTransitionModal = ({
- poolTransition,
- onContinue,
-}: {
- poolTransition: PoolTransition
- onContinue: () => Promise | void
-}) => {
- const [isLoading, setIsLoading] = React.useState(false)
- const strings = useStrings()
- const {isScrollBarShown, scrollViewRef, setIsScrollBarShown} = useScrollView()
- const {styles, colors} = useStyles()
-
- const {closeModal} = useModal()
-
- const handleOnSkip = () => {
- closeModal()
- }
-
- const handleOnUpdate = async () => {
- try {
- setIsLoading(true)
- await onContinue()
- } finally {
- setIsLoading(false)
- closeModal()
- }
- }
-
- const timeSpan = poolTransition.deadlineMilliseconds - Date.now()
- const isActive = timeSpan > 0
-
- return (
-
-
-
- {isActive ? strings.warning : strings.finalWarning}
-
-
-
-
-
- {strings.currentPool}
-
-
- {poolTransition.current.pic != null && (
-
- )}
-
- {`[${poolTransition.current.ticker}] ${poolTransition.current.name}`}
-
-
-
-
- {strings.estimatedRoa}
-
- {poolTransition.current.roa} %
-
-
-
- {strings.fee}
-
- {formatFee(poolTransition.current.taxRatio)} %
-
-
-
- {isActive ? strings.poolWillStopRewards : strings.poolNoRewards}
-
- {isActive && (
-
- {'\n'}
-
- {formatTimeSpan(timeSpan)}
-
- )}
-
-
-
-
-
-
-
-
-
-
-
-
-
- {strings.newPool}
-
-
- {poolTransition.suggested.pic != null && (
-
- )}
-
- {`[${poolTransition.suggested.ticker}] ${poolTransition.suggested.name}`}
-
-
-
-
- {strings.estimatedRoa}
-
- {poolTransition.suggested.roa} %
-
-
-
- {strings.fee}
-
- {formatFee(poolTransition.suggested.taxRatio)} %
-
-
- {strings.poolGeneratesRewards}
-
-
-
-
-
-
- {isScrollBarShown && }
-
-
-
-
-
-
-
-
-
- )
-}
-
-const useStyles = () => {
- const {theme} = useTheme()
-
- const styles = StyleSheet.create({
- modal: {
- alignItems: 'center',
- flex: 1,
- justifyContent: 'flex-end',
- },
- scroll: {
- width: '100%',
- },
- card: {
- borderRadius: 8,
- gap: 8,
- ...theme.padding.l,
- width: '100%',
- overflow: 'hidden',
- },
- border: {
- borderWidth: 1,
- borderColor: theme.color.gray['300'],
- },
- warningBorder: {
- borderWidth: 1,
- borderColor: theme.color.magenta['500'],
- },
- poolTicker: {
- alignItems: 'center',
- flexDirection: 'row',
- gap: 8,
- },
- poolTickerText: {
- ...theme.typography['body-1-l-regular'],
- color: theme.color.primary[600],
- },
- pic: {
- width: 24,
- height: 24,
- borderRadius: 100,
- },
- label: {
- ...theme.typography['body-1-l-regular'],
- color: theme.color.gray['600'],
- },
- currentValue: {
- ...theme.typography['body-1-l-regular'],
- color: theme.color.gray['max'],
- },
- suggestedValue: {
- ...theme.typography['body-1-l-medium'],
- color: theme.color.gray['max'],
- },
- warning: {
- color: theme.color.magenta['500'],
- },
- warningText: {
- ...theme.typography['body-1-l-regular'],
- },
- warningTimer: {
- ...theme.typography['body-1-l-medium'],
- },
- row: {
- width: '100%',
- flexDirection: 'row',
- justifyContent: 'space-between',
- height: 24,
- alignItems: 'center',
- },
- line: {width: '120%', height: StyleSheet.hairlineWidth, backgroundColor: theme.color.gray[200]},
- actions: {
- alignSelf: 'stretch',
- backgroundColor: theme.color.gray.min,
- gap: 4,
- },
- details: {
- ...theme.typography['body-1-l-regular'],
- color: theme.color.gray['900'],
- width: '100%',
- },
- outlineButton: {
- color: theme.color.gray[900],
- ...theme.typography['button-2-m'],
- },
- button: {
- ...theme.typography['button-1-l'],
- },
- })
-
- const colors = {
- backgroundGradientCard: theme.color.gradients['blue-green'],
- }
-
- return {styles, colors} as const
-}
-
-const Actions = (props: ViewProps) => {
- const {styles} = useStyles()
- return
-}
-
-const Row = (props: ViewProps) => {
- const {styles} = useStyles()
- return
-}
-
-const formatFee = (fee: string) => Number((Number(fee) * 100).toFixed(2))
diff --git a/apps/wallet-mobile/src/Staking/PoolTransition/PoolTransitionNotice.tsx b/apps/wallet-mobile/src/Staking/PoolTransition/PoolTransitionNotice.tsx
deleted file mode 100644
index 5044eeb734..0000000000
--- a/apps/wallet-mobile/src/Staking/PoolTransition/PoolTransitionNotice.tsx
+++ /dev/null
@@ -1,90 +0,0 @@
-import {useTheme} from '@yoroi/theme'
-import * as React from 'react'
-import {StyleSheet, Text, View, ViewProps} from 'react-native'
-
-import {Button, Icon} from '../../components'
-import {Space} from '../../components/Space/Space'
-import {formatTimeSpan} from '../../yoroi-wallets/utils'
-import {usePoolTransition, useStrings} from './usePoolTransition'
-
-export const PoolTransitionNotice = () => {
- const {styles, color} = useStyles()
- const strings = useStrings()
- const {poolTransition, navigateToUpdate} = usePoolTransition()
- if (poolTransition === null) return null
-
- const timeSpan = poolTransition.deadlineMilliseconds - Date.now()
- const isActive = timeSpan > 0
-
- return (
-
-
-
-
-
-
- {isActive ? strings.poolWillStopRewards : strings.poolNoRewards}
-
- {isActive && (
-
- {'\n'}
-
- {formatTimeSpan(timeSpan)}
-
- )}
-
-
-
-
-
-
-
-
- )
-}
-
-const useStyles = () => {
- const {theme} = useTheme()
- const {color, typography} = theme
-
- const styles = StyleSheet.create({
- notice: {
- flex: 1,
- padding: 16,
- gap: 12,
- backgroundColor: color.magenta[100],
- borderRadius: 8,
- },
- text: {
- color: color.gray.max,
- ...typography['body-2-m-regular'],
- },
- bold: {
- ...typography['body-2-m-medium'],
- },
- noticeButton: {
- flexGrow: 0,
- backgroundColor: color.magenta[500],
- ...typography['button-2-m'],
- },
- actions: {
- flexDirection: 'row',
- },
- row: {
- flexDirection: 'row',
- gap: 4,
- },
- })
-
- return {styles, color}
-}
-
-const Actions = (props: ViewProps) => {
- const {styles} = useStyles()
- return
-}
-
-const Row = (props: ViewProps) => {
- const {styles} = useStyles()
- return
-}
diff --git a/apps/wallet-mobile/src/Staking/PoolTransition/PoolTransitionProvider.tsx b/apps/wallet-mobile/src/Staking/PoolTransition/PoolTransitionProvider.tsx
deleted file mode 100644
index c948e598d3..0000000000
--- a/apps/wallet-mobile/src/Staking/PoolTransition/PoolTransitionProvider.tsx
+++ /dev/null
@@ -1,17 +0,0 @@
-import React from 'react'
-
-const PoolTransitionContext = React.createContext<
- [string[], React.Dispatch>] | undefined
->(undefined)
-
-export const PoolTransitionProvider = ({children}: {children: React.ReactNode}) => {
- const value = React.useState>([])
-
- return {children}
-}
-
-export const usePoolTransitionContext = () => React.useContext(PoolTransitionContext) || missingProvider()
-
-const missingProvider = () => {
- throw new Error('PoolTransitionProvider is missing')
-}
diff --git a/apps/wallet-mobile/src/Staking/PoolTransition/usePoolTransition.tsx b/apps/wallet-mobile/src/Staking/PoolTransition/usePoolTransition.tsx
deleted file mode 100644
index 43c4655ca1..0000000000
--- a/apps/wallet-mobile/src/Staking/PoolTransition/usePoolTransition.tsx
+++ /dev/null
@@ -1,168 +0,0 @@
-import {init} from '@emurgo/cross-csl-mobile'
-import {PoolInfoApi} from '@emurgo/yoroi-lib'
-import {useNavigation} from '@react-navigation/native'
-import BigNumber from 'bignumber.js'
-import * as React from 'react'
-import {defineMessages, useIntl} from 'react-intl'
-import {useQuery} from 'react-query'
-
-import {useStakingInfo} from '../../Dashboard/StakePoolInfos'
-import {features} from '../../features'
-import {useSelectedWallet} from '../../features/WalletManager/Context/SelectedWalletContext'
-import {getCardanoNetworkConfigById} from '../../yoroi-wallets/cardano/networks'
-import {YoroiWallet} from '../../yoroi-wallets/cardano/types'
-import {asQuantity, Quantities} from '../../yoroi-wallets/utils'
-
-const createDelegationTx = async (wallet: YoroiWallet, poolId: string) => {
- const accountStates = await wallet.fetchAccountState()
- const accountState = accountStates[wallet.rewardAddressHex]
- if (!accountState) throw new Error('Account state not found')
-
- const stakingUtxos = await wallet.getAllUtxosForKey()
- const amountToDelegate = Quantities.sum([
- ...stakingUtxos.map((utxo) => asQuantity(utxo.amount)),
- asQuantity(accountState.remainingAmount),
- ])
-
- return wallet.createDelegationTx(poolId, new BigNumber(amountToDelegate))
-}
-
-export const usePoolTransition = () => {
- const navigation = useNavigation()
- const wallet = useSelectedWallet()
- const {stakingInfo, isLoading} = useStakingInfo(wallet)
- const poolInfoApi = React.useMemo(
- () => new PoolInfoApi(getCardanoNetworkConfigById(wallet.networkId).BACKEND.API_ROOT),
- [wallet.networkId],
- )
-
- const isStaked = stakingInfo?.status === 'staked'
- const currentPoolId = isStaked ? stakingInfo?.poolId : ''
-
- const poolTransitionQuery = useQuery({
- enabled: isStaked,
- retry: false,
- staleTime: Infinity,
- queryKey: [wallet.id, 'poolTransition', currentPoolId],
- queryFn: () => (features.poolTransition ? poolInfoApi.getTransition(currentPoolId, init) : null),
- })
-
- const poolTransition = poolTransitionQuery.data ?? null
- const poolId = poolTransition?.suggested.hash ?? ''
-
- const navigateToUpdate = React.useCallback(async () => {
- try {
- const yoroiUnsignedTx = await createDelegationTx(wallet, poolId)
- navigation.navigate('manage-wallets', {
- screen: 'main-wallet-routes',
- params: {
- screen: 'staking-dashboard',
- params: {
- screen: 'delegation-confirmation',
- initial: false,
- params: {
- poolId,
- yoroiUnsignedTx,
- },
- },
- },
- })
- } catch (err) {
- navigation.navigate('manage-wallets', {
- screen: 'main-wallet-routes',
- params: {
- screen: 'staking-dashboard',
- params: {
- screen: 'delegation-failed-tx',
- initial: false,
- },
- },
- })
- }
- }, [navigation, poolId, wallet])
-
- return {
- ...poolTransitionQuery,
- isLoading: isLoading || poolTransitionQuery.isLoading,
- poolTransition,
- isPoolRetiring: poolTransition !== null,
- navigateToUpdate,
- }
-}
-
-export const useStrings = () => {
- const intl = useIntl()
-
- return {
- title: intl.formatMessage(messages.title),
- warning: intl.formatMessage(messages.warning),
- finalWarning: intl.formatMessage(messages.finalWarning),
- currentPool: intl.formatMessage(messages.currentPool),
- newPool: intl.formatMessage(messages.newPool),
- estimatedRoa: intl.formatMessage(messages.estimatedRoa),
- fee: intl.formatMessage(messages.fee),
- poolGeneratesRewards: intl.formatMessage(messages.poolGeneratesRewards),
- poolNoRewards: intl.formatMessage(messages.poolNoRewards),
- poolWillStopRewards: intl.formatMessage(messages.poolWillStopRewards),
- skipNoRewards: intl.formatMessage(messages.skipNoRewards),
- updateKeepEarning: intl.formatMessage(messages.updateKeepEarning),
- update: intl.formatMessage(messages.update),
- }
-}
-
-const messages = defineMessages({
- title: {
- id: 'components.pooltransition.title',
- defaultMessage: '!!!Upgrade your stake pool',
- },
- warning: {
- id: 'components.pooltransition.warning',
- defaultMessage:
- "!!!The current stake pool you're using will soon close. Migrate to the new EMURGO pool to sustain reward generation.",
- },
- finalWarning: {
- id: 'components.pooltransition.finalWarning',
- defaultMessage:
- "!!!The current stake pool you're using is decommissioned and NOT generating reward anymore. Update it to continue earning",
- },
- currentPool: {
- id: 'components.pooltransition.currentPool',
- defaultMessage: '!!!Current pool',
- },
- newPool: {
- id: 'components.pooltransition.newPool',
- defaultMessage: '!!!New pool',
- },
- estimatedRoa: {
- id: 'components.pooltransition.estimatedRoa',
- defaultMessage: '!!!Estimated ROA',
- },
- fee: {
- id: 'components.pooltransition.fee',
- defaultMessage: '!!!Fee',
- },
- poolGeneratesRewards: {
- id: 'components.pooltransition.poolGeneratesRewards',
- defaultMessage: '!!!This pool continues to generate staking rewards',
- },
- poolNoRewards: {
- id: 'components.pooltransition.poolNoRewards',
- defaultMessage: '!!!This pool is NOT generating staking rewards anymore',
- },
- poolWillStopRewards: {
- id: 'components.pooltransition.poolWillStopRewards',
- defaultMessage: '!!!This pool will stop generating rewards in',
- },
- skipNoRewards: {
- id: 'components.pooltransition.skipNoRewards',
- defaultMessage: '!!!Skip and stop receiving rewards',
- },
- updateKeepEarning: {
- id: 'components.pooltransition.updateKeepEarning',
- defaultMessage: '!!!Update now and keep earning',
- },
- update: {
- id: 'components.pooltransition.update',
- defaultMessage: '!!!Update pool',
- },
-})
diff --git a/apps/wallet-mobile/src/Staking/PoolTransition/usePoolTransitionModal.tsx b/apps/wallet-mobile/src/Staking/PoolTransition/usePoolTransitionModal.tsx
deleted file mode 100644
index d230ca2b72..0000000000
--- a/apps/wallet-mobile/src/Staking/PoolTransition/usePoolTransitionModal.tsx
+++ /dev/null
@@ -1,41 +0,0 @@
-import * as React from 'react'
-import {useWindowDimensions} from 'react-native'
-
-import {useModal} from '../../components'
-import {useSelectedWallet} from '../../features/WalletManager/Context/SelectedWalletContext'
-import {PoolTransitionModal} from './PoolTransitionModal'
-import {usePoolTransitionContext} from './PoolTransitionProvider'
-import {usePoolTransition, useStrings} from './usePoolTransition'
-
-export const usePoolTransitionModal = () => {
- const {poolTransition, isPoolRetiring, isLoading, navigateToUpdate} = usePoolTransition()
- const wallet = useSelectedWallet()
- const [shownWallets, setShownWallets] = usePoolTransitionContext()
- const {openModal} = useModal()
- const strings = useStrings()
- const screenHeight = useWindowDimensions().height
- const modalHeight = screenHeight * 0.8
-
- React.useEffect(() => {
- if (!shownWallets.includes(wallet.id) && isPoolRetiring && poolTransition !== null) {
- openModal(
- strings.title,
- ,
- modalHeight,
- )
- setShownWallets(() => [wallet.id, ...shownWallets])
- }
- }, [
- shownWallets,
- isPoolRetiring,
- modalHeight,
- navigateToUpdate,
- openModal,
- poolTransition,
- strings.title,
- wallet.id,
- setShownWallets,
- ])
-
- return {isLoading}
-}
diff --git a/apps/wallet-mobile/translations/messages/src/AppNavigator.json b/apps/wallet-mobile/translations/messages/src/AppNavigator.json
index f217e1a27a..f4015c0eed 100644
--- a/apps/wallet-mobile/translations/messages/src/AppNavigator.json
+++ b/apps/wallet-mobile/translations/messages/src/AppNavigator.json
@@ -6,12 +6,12 @@
"start": {
"line": 222,
"column": 17,
- "index": 8075
+ "index": 8069
},
"end": {
"line": 225,
"column": 3,
- "index": 8165
+ "index": 8159
}
},
{
@@ -21,12 +21,12 @@
"start": {
"line": 226,
"column": 18,
- "index": 8185
+ "index": 8179
},
"end": {
"line": 229,
"column": 3,
- "index": 8283
+ "index": 8277
}
},
{
@@ -36,12 +36,12 @@
"start": {
"line": 230,
"column": 25,
- "index": 8310
+ "index": 8304
},
"end": {
"line": 233,
"column": 3,
- "index": 8424
+ "index": 8418
}
},
{
@@ -51,12 +51,12 @@
"start": {
"line": 234,
"column": 27,
- "index": 8453
+ "index": 8447
},
"end": {
"line": 237,
"column": 3,
- "index": 8574
+ "index": 8568
}
}
]
\ No newline at end of file
diff --git a/apps/wallet-mobile/translations/messages/src/features/Initialization/common/strings.json b/apps/wallet-mobile/translations/messages/src/features/Initialization/common/strings.json
index 1838d5d68e..2b74976c0e 100644
--- a/apps/wallet-mobile/translations/messages/src/features/Initialization/common/strings.json
+++ b/apps/wallet-mobile/translations/messages/src/features/Initialization/common/strings.json
@@ -4,14 +4,14 @@
"defaultMessage": "!!!Select Language",
"file": "src/features/Initialization/common/strings.tsx",
"start": {
- "line": 22,
+ "line": 25,
"column": 18,
- "index": 871
+ "index": 1070
},
"end": {
- "line": 25,
+ "line": 28,
"column": 3,
- "index": 954
+ "index": 1153
}
},
{
@@ -19,14 +19,14 @@
"defaultMessage": "!!!I agree with",
"file": "src/features/Initialization/common/strings.tsx",
"start": {
- "line": 26,
+ "line": 29,
"column": 17,
- "index": 973
+ "index": 1172
},
"end": {
- "line": 29,
+ "line": 32,
"column": 3,
- "index": 1052
+ "index": 1251
}
},
{
@@ -34,14 +34,14 @@
"defaultMessage": "!!!and",
"file": "src/features/Initialization/common/strings.tsx",
"start": {
- "line": 30,
+ "line": 33,
"column": 10,
- "index": 1064
+ "index": 1263
},
"end": {
- "line": 33,
+ "line": 36,
"column": 3,
- "index": 1127
+ "index": 1326
}
},
{
@@ -49,14 +49,14 @@
"defaultMessage": "!!!Privacy Notice",
"file": "src/features/Initialization/common/strings.tsx",
"start": {
- "line": 34,
+ "line": 37,
"column": 17,
- "index": 1146
+ "index": 1345
},
"end": {
- "line": 37,
+ "line": 40,
"column": 3,
- "index": 1227
+ "index": 1426
}
},
{
@@ -64,14 +64,14 @@
"defaultMessage": "!!!Terms Of Service Agreement",
"file": "src/features/Initialization/common/strings.tsx",
"start": {
- "line": 38,
+ "line": 41,
"column": 16,
- "index": 1245
+ "index": 1444
},
"end": {
- "line": 41,
+ "line": 44,
"column": 3,
- "index": 1337
+ "index": 1536
}
},
{
@@ -79,14 +79,14 @@
"defaultMessage": "!!!Continue",
"file": "src/features/Initialization/common/strings.tsx",
"start": {
- "line": 42,
+ "line": 45,
"column": 12,
- "index": 1351
+ "index": 1550
},
"end": {
- "line": 45,
+ "line": 48,
"column": 3,
- "index": 1418
+ "index": 1617
}
},
{
@@ -94,14 +94,14 @@
"defaultMessage": "!!!Terms of Service Agreement update",
"file": "src/features/Initialization/common/strings.tsx",
"start": {
- "line": 46,
+ "line": 49,
"column": 9,
- "index": 1429
+ "index": 1628
},
"end": {
- "line": 49,
+ "line": 52,
"column": 3,
- "index": 1541
+ "index": 1740
}
},
{
@@ -109,14 +109,14 @@
"defaultMessage": "!!!We have updated our Terms of Service Agreement to enhance your experience. Please review and accept them to keep enjoying Yoroi.",
"file": "src/features/Initialization/common/strings.tsx",
"start": {
- "line": 50,
+ "line": 53,
"column": 15,
- "index": 1558
+ "index": 1757
},
"end": {
- "line": 54,
+ "line": 57,
"column": 3,
- "index": 1777
+ "index": 1976
}
},
{
@@ -124,14 +124,14 @@
"defaultMessage": "!!!Terms of Service Agreement",
"file": "src/features/Initialization/common/strings.tsx",
"start": {
- "line": 55,
+ "line": 58,
"column": 20,
- "index": 1799
+ "index": 1998
},
"end": {
- "line": 58,
+ "line": 61,
"column": 3,
- "index": 1926
+ "index": 2125
}
},
{
@@ -139,14 +139,14 @@
"defaultMessage": "!!!Privacy Policy",
"file": "src/features/Initialization/common/strings.tsx",
"start": {
- "line": 59,
+ "line": 62,
"column": 28,
- "index": 1956
+ "index": 2155
},
"end": {
- "line": 62,
+ "line": 65,
"column": 3,
- "index": 2047
+ "index": 2246
}
},
{
@@ -154,14 +154,59 @@
"defaultMessage": "!!!Select language",
"file": "src/features/Initialization/common/strings.tsx",
"start": {
- "line": 63,
+ "line": 66,
"column": 23,
- "index": 2072
+ "index": 2271
},
"end": {
- "line": 66,
+ "line": 69,
+ "column": 3,
+ "index": 2376
+ }
+ },
+ {
+ "id": "components.walletinit.biometricScreen.biometricDescription.description",
+ "defaultMessage": "!!!Use your device biometrics for a more convenient access to your Yoroi wallet",
+ "file": "src/features/Initialization/common/strings.tsx",
+ "start": {
+ "line": 70,
+ "column": 24,
+ "index": 2402
+ },
+ "end": {
+ "line": 73,
+ "column": 3,
+ "index": 2592
+ }
+ },
+ {
+ "id": "components.walletinit.biometricScreen.ignoreButton.title",
+ "defaultMessage": "!!!Recovery phrase is a unique combination of words",
+ "file": "src/features/Initialization/common/strings.tsx",
+ "start": {
+ "line": 74,
+ "column": 16,
+ "index": 2610
+ },
+ "end": {
+ "line": 77,
+ "column": 3,
+ "index": 2758
+ }
+ },
+ {
+ "id": "components.walletinit.biometricScreen.enableButton.title",
+ "defaultMessage": "!!!Enable biometrics",
+ "file": "src/features/Initialization/common/strings.tsx",
+ "start": {
+ "line": 78,
+ "column": 16,
+ "index": 2776
+ },
+ "end": {
+ "line": 81,
"column": 3,
- "index": 2177
+ "index": 2893
}
}
]
\ No newline at end of file
diff --git a/apps/wallet-mobile/translations/messages/src/features/SetupWallet/common/useStrings.json b/apps/wallet-mobile/translations/messages/src/features/SetupWallet/common/useStrings.json
index ae08af0829..c7b120ce5c 100644
--- a/apps/wallet-mobile/translations/messages/src/features/SetupWallet/common/useStrings.json
+++ b/apps/wallet-mobile/translations/messages/src/features/SetupWallet/common/useStrings.json
@@ -4,14 +4,14 @@
"defaultMessage": "!!!Not found",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 109,
+ "line": 107,
"column": 14,
- "index": 8029
+ "index": 7831
},
"end": {
- "line": 112,
+ "line": 110,
"column": 5,
- "index": 8150
+ "index": 7952
}
},
{
@@ -19,14 +19,14 @@
"defaultMessage": "!!!Clear all",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 113,
+ "line": 111,
"column": 14,
- "index": 8166
+ "index": 7968
},
"end": {
- "line": 116,
+ "line": 114,
"column": 5,
- "index": 8287
+ "index": 8089
}
},
{
@@ -34,14 +34,14 @@
"defaultMessage": "!!!Minimum characters",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 117,
+ "line": 115,
"column": 33,
- "index": 8322
+ "index": 8124
},
"end": {
- "line": 120,
+ "line": 118,
"column": 5,
- "index": 8469
+ "index": 8271
}
},
{
@@ -49,14 +49,14 @@
"defaultMessage": "!!!Repeat password",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 121,
+ "line": 119,
"column": 30,
- "index": 8501
+ "index": 8303
},
"end": {
- "line": 124,
+ "line": 122,
"column": 5,
- "index": 8623
+ "index": 8425
}
},
{
@@ -64,14 +64,14 @@
"defaultMessage": "!!!Passwords do not match",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 125,
+ "line": 123,
"column": 30,
- "index": 8655
+ "index": 8457
},
"end": {
- "line": 128,
+ "line": 126,
"column": 5,
- "index": 8784
+ "index": 8586
}
},
{
@@ -79,14 +79,14 @@
"defaultMessage": "!!!Yoroi",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 129,
+ "line": 127,
"column": 15,
- "index": 8801
+ "index": 8603
},
"end": {
- "line": 132,
+ "line": 130,
"column": 5,
- "index": 8903
+ "index": 8705
}
},
{
@@ -94,14 +94,14 @@
"defaultMessage": "!!!Light wallet for Cardano assets",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 133,
+ "line": 131,
"column": 18,
- "index": 8923
+ "index": 8725
},
"end": {
- "line": 136,
+ "line": 134,
"column": 5,
- "index": 9054
+ "index": 8856
}
},
{
@@ -109,14 +109,14 @@
"defaultMessage": "!!!Learn more on Yoroi Zendesk",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 137,
+ "line": 135,
"column": 15,
- "index": 9071
+ "index": 8873
},
"end": {
- "line": 140,
+ "line": 138,
"column": 5,
- "index": 9196
+ "index": 8998
}
},
{
@@ -124,14 +124,14 @@
"defaultMessage": "!!!Continue",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 141,
+ "line": 139,
"column": 20,
- "index": 9218
+ "index": 9020
},
"end": {
- "line": 144,
+ "line": 142,
"column": 5,
- "index": 9332
+ "index": 9134
}
},
{
@@ -139,14 +139,14 @@
"defaultMessage": "!!!Next",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 145,
+ "line": 143,
"column": 10,
- "index": 9344
+ "index": 9146
},
"end": {
- "line": 148,
+ "line": 146,
"column": 5,
- "index": 9450
+ "index": 9252
}
},
{
@@ -154,14 +154,14 @@
"defaultMessage": "!!!Create new wallet",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 149,
+ "line": 147,
"column": 28,
- "index": 9480
+ "index": 9282
},
"end": {
- "line": 152,
+ "line": 150,
"column": 5,
- "index": 9608
+ "index": 9410
}
},
{
@@ -169,14 +169,14 @@
"defaultMessage": "!!!Restore Yoroi existing wallet",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 153,
+ "line": 151,
"column": 29,
- "index": 9639
+ "index": 9441
},
"end": {
- "line": 156,
+ "line": 154,
"column": 5,
- "index": 9780
+ "index": 9582
}
},
{
@@ -184,14 +184,14 @@
"defaultMessage": "!!!Connect hardware wallet device",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 157,
+ "line": 155,
"column": 29,
- "index": 9811
+ "index": 9613
},
"end": {
- "line": 160,
+ "line": 158,
"column": 5,
- "index": 9953
+ "index": 9755
}
},
{
@@ -199,14 +199,14 @@
"defaultMessage": "!!!Cardano Mainnet",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 161,
+ "line": 159,
"column": 20,
- "index": 9975
+ "index": 9777
},
"end": {
- "line": 164,
+ "line": 162,
"column": 5,
- "index": 10103
+ "index": 9905
}
},
{
@@ -214,14 +214,14 @@
"defaultMessage": "!!!Cardano Preprod Testnet",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 165,
+ "line": 163,
"column": 20,
- "index": 10125
+ "index": 9927
},
"end": {
- "line": 168,
+ "line": 166,
"column": 5,
- "index": 10261
+ "index": 10063
}
},
{
@@ -229,14 +229,14 @@
"defaultMessage": "!!!Cardano SanchoNet",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 169,
+ "line": 167,
"column": 22,
- "index": 10285
+ "index": 10087
},
"end": {
- "line": 172,
+ "line": 170,
"column": 5,
- "index": 10417
+ "index": 10219
}
},
{
@@ -244,14 +244,14 @@
"defaultMessage": "!!!Works with real ADA",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 173,
+ "line": 171,
"column": 31,
- "index": 10450
+ "index": 10252
},
"end": {
- "line": 176,
+ "line": 174,
"column": 5,
- "index": 10588
+ "index": 10390
}
},
{
@@ -259,14 +259,14 @@
"defaultMessage": "!!!Works with test ADA (tADA)",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 177,
+ "line": 175,
"column": 31,
- "index": 10621
+ "index": 10423
},
"end": {
- "line": 180,
+ "line": 178,
"column": 5,
- "index": 10766
+ "index": 10568
}
},
{
@@ -274,59 +274,14 @@
"defaultMessage": "!!!Testnet for rolling out governance",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 181,
+ "line": 179,
"column": 33,
- "index": 10801
+ "index": 10603
},
"end": {
- "line": 184,
+ "line": 182,
"column": 5,
- "index": 10956
- }
- },
- {
- "id": "components.walletinit.biometricScreen.biometricDescription.description",
- "defaultMessage": "!!!Use your device biometrics for a more convenient access to your Yoroi wallet",
- "file": "src/features/SetupWallet/common/useStrings.tsx",
- "start": {
- "line": 185,
- "column": 26,
- "index": 10984
- },
- "end": {
- "line": 188,
- "column": 5,
- "index": 11180
- }
- },
- {
- "id": "components.walletinit.biometricScreen.enableButton.title",
- "defaultMessage": "!!!Enable biometrics",
- "file": "src/features/SetupWallet/common/useStrings.tsx",
- "start": {
- "line": 189,
- "column": 18,
- "index": 11200
- },
- "end": {
- "line": 192,
- "column": 5,
- "index": 11323
- }
- },
- {
- "id": "components.walletinit.biometricScreen.ignoreButton.title",
- "defaultMessage": "!!!Recovery phrase is a unique combination of words",
- "file": "src/features/SetupWallet/common/useStrings.tsx",
- "start": {
- "line": 193,
- "column": 18,
- "index": 11343
- },
- "end": {
- "line": 196,
- "column": 5,
- "index": 11497
+ "index": 10758
}
},
{
@@ -334,14 +289,14 @@
"defaultMessage": "!!!Read this information carefully before saving your recovery phrase:",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 197,
+ "line": 183,
"column": 30,
- "index": 11529
+ "index": 10790
},
"end": {
- "line": 200,
+ "line": 186,
"column": 5,
- "index": 11713
+ "index": 10974
}
},
{
@@ -349,14 +304,14 @@
"defaultMessage": "!!!About recovery phrase",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 201,
+ "line": 187,
"column": 29,
- "index": 11744
+ "index": 11005
},
"end": {
- "line": 204,
+ "line": 190,
"column": 5,
- "index": 11883
+ "index": 11144
}
},
{
@@ -364,14 +319,14 @@
"defaultMessage": "!!!Recovery phrase is the only way to access your wallet",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 205,
+ "line": 191,
"column": 38,
- "index": 11923
+ "index": 11184
},
"end": {
- "line": 208,
+ "line": 194,
"column": 5,
- "index": 12101
+ "index": 11362
}
},
{
@@ -379,14 +334,14 @@
"defaultMessage": "!!!If you lose your Recovery phrase, it will not be possible to recover your wallet",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 209,
+ "line": 195,
"column": 39,
- "index": 12142
+ "index": 11403
},
"end": {
- "line": 212,
+ "line": 198,
"column": 5,
- "index": 12348
+ "index": 11609
}
},
{
@@ -394,14 +349,14 @@
"defaultMessage": "!!!You are the only person who knows and stores your Recovery phrase",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 213,
+ "line": 199,
"column": 38,
- "index": 12388
+ "index": 11649
},
"end": {
- "line": 216,
+ "line": 202,
"column": 5,
- "index": 12578
+ "index": 11839
}
},
{
@@ -409,14 +364,14 @@
"defaultMessage": "!!!You are the only person who knows and stores your Recovery phrase",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 217,
+ "line": 203,
"column": 39,
- "index": 12619
+ "index": 11880
},
"end": {
- "line": 220,
+ "line": 206,
"column": 5,
- "index": 12810
+ "index": 12071
}
},
{
@@ -424,14 +379,14 @@
"defaultMessage": "!!!Yoroi NEVER asks for your Recovery phrase. Watch out for scammers and impersonators",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 221,
+ "line": 207,
"column": 38,
- "index": 12850
+ "index": 12111
},
"end": {
- "line": 224,
+ "line": 210,
"column": 5,
- "index": 13058
+ "index": 12319
}
},
{
@@ -439,14 +394,14 @@
"defaultMessage": "!!!Click “Show recovery phrase” below to reveal and save it.",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 225,
+ "line": 211,
"column": 25,
- "index": 13085
+ "index": 12346
},
"end": {
- "line": 228,
+ "line": 214,
"column": 5,
- "index": 13235
+ "index": 12496
}
},
{
@@ -454,14 +409,14 @@
"defaultMessage": "!!!Recovery phrase",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 229,
+ "line": 215,
"column": 24,
- "index": 13261
+ "index": 12522
},
"end": {
- "line": 232,
+ "line": 218,
"column": 5,
- "index": 13384
+ "index": 12645
}
},
{
@@ -469,14 +424,14 @@
"defaultMessage": "!!!Hide recovery phrase",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 233,
+ "line": 219,
"column": 30,
- "index": 13416
+ "index": 12677
},
"end": {
- "line": 236,
+ "line": 222,
"column": 5,
- "index": 13547
+ "index": 12808
}
},
{
@@ -484,14 +439,14 @@
"defaultMessage": "!!!Show recovery phrase",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 237,
+ "line": 223,
"column": 30,
- "index": 13579
+ "index": 12840
},
"end": {
- "line": 240,
+ "line": 226,
"column": 5,
- "index": 13710
+ "index": 12971
}
},
{
@@ -499,14 +454,14 @@
"defaultMessage": "!!!Tips",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 241,
+ "line": 227,
"column": 30,
- "index": 13742
+ "index": 13003
},
"end": {
- "line": 244,
+ "line": 230,
"column": 5,
- "index": 13858
+ "index": 13119
}
},
{
@@ -514,14 +469,14 @@
"defaultMessage": "!!!How to save your recovery phrase?",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 245,
+ "line": 231,
"column": 29,
- "index": 13889
+ "index": 13150
},
"end": {
- "line": 248,
+ "line": 234,
"column": 5,
- "index": 14033
+ "index": 13294
}
},
{
@@ -529,14 +484,14 @@
"defaultMessage": "!!!Make sure no one is looking at your screen.",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 249,
+ "line": 235,
"column": 33,
- "index": 14068
+ "index": 13329
},
"end": {
- "line": 252,
+ "line": 238,
"column": 5,
- "index": 14226
+ "index": 13487
}
},
{
@@ -544,14 +499,14 @@
"defaultMessage": "!!!DO NOT take a screenshot.",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 253,
+ "line": 239,
"column": 34,
- "index": 14262
+ "index": 13523
},
"end": {
- "line": 256,
+ "line": 242,
"column": 5,
- "index": 14403
+ "index": 13664
}
},
{
@@ -559,14 +514,14 @@
"defaultMessage": "!!!Write the recovery phrase on a piece of paper and store in a secure location like a safety deposit box.",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 257,
+ "line": 243,
"column": 33,
- "index": 14438
+ "index": 13699
},
"end": {
- "line": 261,
+ "line": 247,
"column": 5,
- "index": 14664
+ "index": 13925
}
},
{
@@ -574,14 +529,14 @@
"defaultMessage": "!!!It is recommended to have 2 or 3 copies of the recovery phrase in different secure locations.",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 262,
+ "line": 248,
"column": 34,
- "index": 14700
+ "index": 13961
},
"end": {
- "line": 266,
+ "line": 252,
"column": 5,
- "index": 14917
+ "index": 14178
}
},
{
@@ -589,14 +544,14 @@
"defaultMessage": "!!!DO NOT share the recovery phrase as this will allow anyone to access your assets and wallet.",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 267,
+ "line": 253,
"column": 33,
- "index": 14952
+ "index": 14213
},
"end": {
- "line": 270,
+ "line": 256,
"column": 5,
- "index": 15159
+ "index": 14420
}
},
{
@@ -604,14 +559,14 @@
"defaultMessage": "!!!Select each word in the correct order to confirm your recovery phrase.",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 271,
+ "line": 257,
"column": 31,
- "index": 15192
+ "index": 14453
},
"end": {
- "line": 274,
+ "line": 260,
"column": 5,
- "index": 15360
+ "index": 14621
}
},
{
@@ -619,14 +574,14 @@
"defaultMessage": "!!!Verify recovery phrase",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 275,
+ "line": 261,
"column": 30,
- "index": 15392
+ "index": 14653
},
"end": {
- "line": 278,
+ "line": 264,
"column": 5,
- "index": 15534
+ "index": 14795
}
},
{
@@ -634,14 +589,14 @@
"defaultMessage": "!!!Incorrect order. Try again",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 279,
+ "line": 265,
"column": 38,
- "index": 15574
+ "index": 14835
},
"end": {
- "line": 282,
+ "line": 268,
"column": 5,
- "index": 15705
+ "index": 14966
}
},
{
@@ -649,14 +604,14 @@
"defaultMessage": "!!!The recovery phrase is verified",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 283,
+ "line": 269,
"column": 40,
- "index": 15747
+ "index": 15008
},
"end": {
- "line": 286,
+ "line": 272,
"column": 5,
- "index": 15885
+ "index": 15146
}
},
{
@@ -664,14 +619,14 @@
"defaultMessage": "!!!Tips",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 287,
+ "line": 273,
"column": 29,
- "index": 15916
+ "index": 15177
},
"end": {
- "line": 290,
+ "line": 276,
"column": 5,
- "index": 16035
+ "index": 15296
}
},
{
@@ -679,14 +634,14 @@
"defaultMessage": "!!!What is wallet name",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 291,
+ "line": 277,
"column": 30,
- "index": 16067
+ "index": 15328
},
"end": {
- "line": 294,
+ "line": 280,
"column": 5,
- "index": 16202
+ "index": 15463
}
},
{
@@ -694,14 +649,14 @@
"defaultMessage": "!!!It is a wallet identifier that helps you to easier find the exact wallet in your app",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 295,
+ "line": 281,
"column": 34,
- "index": 16238
+ "index": 15499
},
"end": {
- "line": 298,
+ "line": 284,
"column": 5,
- "index": 16437
+ "index": 15698
}
},
{
@@ -709,14 +664,14 @@
"defaultMessage": "!!!You can have different wallet names for the same wallet account connected to different devices",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 299,
+ "line": 285,
"column": 35,
- "index": 16474
+ "index": 15735
},
"end": {
- "line": 303,
+ "line": 289,
"column": 5,
- "index": 16692
+ "index": 15953
}
},
{
@@ -724,14 +679,14 @@
"defaultMessage": "!!!What is password",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 304,
+ "line": 290,
"column": 34,
- "index": 16728
+ "index": 15989
},
"end": {
- "line": 307,
+ "line": 293,
"column": 5,
- "index": 16864
+ "index": 16125
}
},
{
@@ -739,14 +694,14 @@
"defaultMessage": "!!!Password is an additional security layer used to confirm transactions from this device",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 308,
+ "line": 294,
"column": 38,
- "index": 16904
+ "index": 16165
},
"end": {
- "line": 311,
+ "line": 297,
"column": 5,
- "index": 17109
+ "index": 16370
}
},
{
@@ -754,14 +709,14 @@
"defaultMessage": "!!!Both wallet name and password are stored locally, so you are only person who can change or restore it.",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 312,
+ "line": 298,
"column": 39,
- "index": 17150
+ "index": 16411
},
"end": {
- "line": 316,
+ "line": 302,
"column": 5,
- "index": 17380
+ "index": 16641
}
},
{
@@ -769,14 +724,14 @@
"defaultMessage": "!!!What is wallet checksum and plate number?",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 317,
+ "line": 303,
"column": 34,
- "index": 17416
+ "index": 16677
},
"end": {
- "line": 320,
+ "line": 306,
"column": 5,
- "index": 17577
+ "index": 16838
}
},
{
@@ -784,14 +739,14 @@
"defaultMessage": "!!!Wallet checksum is a generic Blockie image that is generated to visually distinguish your wallet from others.",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 321,
+ "line": 307,
"column": 38,
- "index": 17617
+ "index": 16878
},
"end": {
- "line": 325,
+ "line": 311,
"column": 5,
- "index": 17853
+ "index": 17114
}
},
{
@@ -799,14 +754,14 @@
"defaultMessage": "!!!Plate number {checksum} is a auto-generated sign of four letters and four digits.",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 326,
+ "line": 312,
"column": 39,
- "index": 17894
+ "index": 17155
},
"end": {
- "line": 329,
+ "line": 315,
"column": 5,
- "index": 18095
+ "index": 17356
}
},
{
@@ -814,14 +769,14 @@
"defaultMessage": "!!!Checksum and plate number are unique to your wallet and represent your public key.",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 330,
+ "line": 316,
"column": 38,
- "index": 18135
+ "index": 17396
},
"end": {
- "line": 333,
+ "line": 319,
"column": 5,
- "index": 18336
+ "index": 17597
}
},
{
@@ -829,14 +784,14 @@
"defaultMessage": "!!!Wallet details",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 334,
+ "line": 320,
"column": 23,
- "index": 18361
+ "index": 17622
},
"end": {
- "line": 337,
+ "line": 323,
"column": 5,
- "index": 18478
+ "index": 17739
}
},
{
@@ -844,14 +799,14 @@
"defaultMessage": "!!!Add your wallet name and password.",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 338,
+ "line": 324,
"column": 24,
- "index": 18504
+ "index": 17765
},
"end": {
- "line": 341,
+ "line": 327,
"column": 5,
- "index": 18643
+ "index": 17904
}
},
{
@@ -859,14 +814,14 @@
"defaultMessage": "!!!Combine letters, numbers and symbols to make it stronger",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 342,
+ "line": 328,
"column": 33,
- "index": 18678
+ "index": 17939
},
"end": {
- "line": 345,
+ "line": 331,
"column": 5,
- "index": 18847
+ "index": 18108
}
},
{
@@ -874,14 +829,14 @@
"defaultMessage": "!!!Enter wallet name",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 346,
+ "line": 332,
"column": 28,
- "index": 18877
+ "index": 18138
},
"end": {
- "line": 349,
+ "line": 335,
"column": 5,
- "index": 19002
+ "index": 18263
}
},
{
@@ -889,14 +844,14 @@
"defaultMessage": "!!!Enter password",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 350,
+ "line": 336,
"column": 32,
- "index": 19036
+ "index": 18297
},
"end": {
- "line": 353,
+ "line": 339,
"column": 5,
- "index": 19162
+ "index": 18423
}
},
{
@@ -904,14 +859,14 @@
"defaultMessage": "!!!Confirm password",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 354,
+ "line": 340,
"column": 39,
- "index": 19203
+ "index": 18464
},
"end": {
- "line": 357,
+ "line": 343,
"column": 5,
- "index": 19338
+ "index": 18599
}
},
{
@@ -919,14 +874,14 @@
"defaultMessage": "!!!My wallets",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 358,
+ "line": 344,
"column": 12,
- "index": 19352
+ "index": 18613
},
"end": {
- "line": 361,
+ "line": 347,
"column": 5,
- "index": 19467
+ "index": 18728
}
},
{
@@ -934,14 +889,14 @@
"defaultMessage": "!!!Add wallet",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 362,
+ "line": 348,
"column": 21,
- "index": 19490
+ "index": 18751
},
"end": {
- "line": 365,
+ "line": 351,
"column": 5,
- "index": 19614
+ "index": 18875
}
},
{
@@ -949,14 +904,14 @@
"defaultMessage": "!!!Add wallet (Jormungandr ITN)",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 366,
+ "line": 352,
"column": 30,
- "index": 19646
+ "index": 18907
},
"end": {
- "line": 369,
+ "line": 355,
"column": 5,
- "index": 19797
+ "index": 19058
}
},
{
@@ -964,14 +919,14 @@
"defaultMessage": "!!!Loading wallet",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 370,
+ "line": 356,
"column": 19,
- "index": 19818
+ "index": 19079
},
"end": {
- "line": 373,
+ "line": 359,
"column": 5,
- "index": 19944
+ "index": 19205
}
},
{
@@ -979,14 +934,14 @@
"defaultMessage": "!!!Ask our support team",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 374,
+ "line": 360,
"column": 23,
- "index": 19969
+ "index": 19230
},
"end": {
- "line": 377,
+ "line": 363,
"column": 5,
- "index": 20105
+ "index": 19366
}
},
{
@@ -994,14 +949,14 @@
"defaultMessage": "!!!Please enter valid mnemonic.",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 378,
+ "line": 364,
"column": 21,
- "index": 20128
+ "index": 19389
},
"end": {
- "line": 381,
+ "line": 367,
"column": 5,
- "index": 20277
+ "index": 19538
}
},
{
@@ -1009,14 +964,14 @@
"defaultMessage": "!!!The recovery phrase is verified",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 382,
+ "line": 368,
"column": 19,
- "index": 20298
+ "index": 19559
},
"end": {
- "line": 385,
+ "line": 371,
"column": 5,
- "index": 20448
+ "index": 19709
}
},
{
@@ -1024,14 +979,14 @@
"defaultMessage": "!!!Enter recovery phrase",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 386,
+ "line": 372,
"column": 29,
- "index": 20479
+ "index": 19740
},
"end": {
- "line": 389,
+ "line": 375,
"column": 5,
- "index": 20629
+ "index": 19890
}
},
{
@@ -1039,14 +994,14 @@
"defaultMessage": "!!!15 word recovery phrase",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 390,
+ "line": 376,
"column": 32,
- "index": 20663
+ "index": 19924
},
"end": {
- "line": 393,
+ "line": 379,
"column": 5,
- "index": 20798
+ "index": 20059
}
},
{
@@ -1054,14 +1009,14 @@
"defaultMessage": "!!!24 word recovery phrase",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 394,
+ "line": 380,
"column": 32,
- "index": 20832
+ "index": 20093
},
"end": {
- "line": 397,
+ "line": 383,
"column": 5,
- "index": 20967
+ "index": 20228
}
},
{
@@ -1069,14 +1024,14 @@
"defaultMessage": "!!!Add the recovery phrase you received upon your wallet creation process.",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 398,
+ "line": 384,
"column": 30,
- "index": 20999
+ "index": 20260
},
"end": {
- "line": 401,
+ "line": 387,
"column": 5,
- "index": 21200
+ "index": 20461
}
},
{
@@ -1084,14 +1039,14 @@
"defaultMessage": "!!!This wallet is already added",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 402,
+ "line": 388,
"column": 39,
- "index": 21241
+ "index": 20502
},
"end": {
- "line": 405,
+ "line": 391,
"column": 5,
- "index": 21408
+ "index": 20669
}
},
{
@@ -1099,14 +1054,14 @@
"defaultMessage": "!!!This wallet already exist on your device, You can open it or go back and restore another wallet.",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 406,
+ "line": 392,
"column": 38,
- "index": 21448
+ "index": 20709
},
"end": {
- "line": 410,
+ "line": 396,
"column": 5,
- "index": 21690
+ "index": 20951
}
},
{
@@ -1114,14 +1069,14 @@
"defaultMessage": "!!!Open wallet",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 411,
+ "line": 397,
"column": 40,
- "index": 21732
+ "index": 20993
},
"end": {
- "line": 414,
+ "line": 400,
"column": 5,
- "index": 21883
+ "index": 21144
}
},
{
@@ -1129,14 +1084,14 @@
"defaultMessage": "!!!Preparing your wallet...",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 415,
+ "line": 401,
"column": 21,
- "index": 21906
+ "index": 21167
},
"end": {
- "line": 418,
+ "line": 404,
"column": 5,
- "index": 22051
+ "index": 21312
}
},
{
@@ -1144,14 +1099,14 @@
"defaultMessage": "!!!Word not found",
"file": "src/features/SetupWallet/common/useStrings.tsx",
"start": {
- "line": 419,
+ "line": 405,
"column": 18,
- "index": 22071
+ "index": 21332
},
"end": {
- "line": 422,
+ "line": 408,
"column": 5,
- "index": 22203
+ "index": 21464
}
}
]
\ No newline at end of file
diff --git a/yarn.lock b/yarn.lock
index 350fcd9e5e..30333796fb 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -557,7 +557,7 @@
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f"
integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==
-"@babel/helper-string-parser@^7.24.7":
+"@babel/helper-string-parser@^7.23.4":
version "7.24.7"
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.7.tgz#4d2d0f14820ede3b9807ea5fc36dfc8cd7da07f2"
integrity sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg==
@@ -572,11 +572,6 @@
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz#9544ef6a33999343c8740fa51350f30eeaaaf193"
integrity sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==
-"@babel/helper-validator-identifier@^7.24.7":
- version "7.24.7"
- resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz#75b889cfaf9e35c2aaf42cf0d72c8e91719251db"
- integrity sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==
-
"@babel/helper-validator-option@^7.22.15":
version "7.22.15"
resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz#694c30dfa1d09a6534cdfcafbe56789d36aba040"