mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-03-02 12:00:43 +00:00
feat: calculate total eth at validators
This commit is contained in:
parent
b532d6e3a3
commit
fb6768f9e0
@ -3,6 +3,7 @@ import { AddIcon, ChevronDownIcon } from '@status-im/icons'
|
|||||||
import { Stack, XStack, YStack } from 'tamagui'
|
import { Stack, XStack, YStack } from 'tamagui'
|
||||||
|
|
||||||
import DepositSubtitle from './DepositSubtitle'
|
import DepositSubtitle from './DepositSubtitle'
|
||||||
|
import { ETH_PER_VALIDATOR } from '../../../constants'
|
||||||
|
|
||||||
type ValidatorsProps = {
|
type ValidatorsProps = {
|
||||||
validatorCount: number
|
validatorCount: number
|
||||||
@ -31,7 +32,7 @@ const Validators = ({
|
|||||||
ETH
|
ETH
|
||||||
</Text>
|
</Text>
|
||||||
<Text size={27} weight={'semibold'}>
|
<Text size={27} weight={'semibold'}>
|
||||||
64
|
{validatorCount * ETH_PER_VALIDATOR}
|
||||||
</Text>
|
</Text>
|
||||||
</YStack>
|
</YStack>
|
||||||
<YStack space={'$2'}>
|
<YStack space={'$2'}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user