import { colors } from '@0x/react-shared'; import { BigNumber } from '@0x/utils'; import * as React from 'react'; import { Balance } from 'ts/components/ui/balance'; import { Container } from 'ts/components/ui/container'; import { IconButton } from 'ts/components/ui/icon_button'; import { Text } from 'ts/components/ui/text'; import { constants } from 'ts/utils/constants'; export interface WrapEthOnboardingStep1Props {} export const WrapEthOnboardingStep1: React.StatelessComponent = () => (
You need to convert some of your ETH into tradeable Wrapped ETH (WETH).
1 ETH
=
1 WETH
Think of it like the coin version of a paper note. It has the same value, but some machines only take coins.
); export interface WrapEthOnboardingStep2Props {} export const WrapEthOnboardingStep2: React.StatelessComponent = () => (
Wrapping your ETH is a reversable transaction, so don't worry about losing your ETH. Click to wrap your ETH.
); export interface WrapEthOnboardingStep3Props { wethAmount: BigNumber; } export const WrapEthOnboardingStep3: React.StatelessComponent = ({ wethAmount }) => (
You have{' '} {' '} in your wallet. {wethAmount.gt(0) && ' Great!'}
1 ETH
1 WETH
);