Merge branch 'development' into feature/instant/mobile-full-bleed
This commit is contained in:
13
packages/instant/.staging.discharge.json
Normal file
13
packages/instant/.staging.discharge.json
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"domain": "0x-instant-staging",
|
||||||
|
"build_command": "yarn build:umd:prod",
|
||||||
|
"upload_directory": "public",
|
||||||
|
"index_key": "index.html",
|
||||||
|
"error_key": "index.html",
|
||||||
|
"trailing_slashes": true,
|
||||||
|
"cache": 3600,
|
||||||
|
"aws_profile": "default",
|
||||||
|
"aws_region": "us-east-1",
|
||||||
|
"cdn": false,
|
||||||
|
"dns_configured": true
|
||||||
|
}
|
||||||
@@ -53,7 +53,15 @@ You can deploy a work-in-progress version of 0x Instant at http://0x-instant-dog
|
|||||||
To build and deploy the site run
|
To build and deploy the site run
|
||||||
|
|
||||||
```
|
```
|
||||||
yarn deploy
|
yarn deploy_dogfood
|
||||||
|
```
|
||||||
|
|
||||||
|
We also have a staging bucket that is to be updated less frequently can be used to share instant externally: http://0x-instant-staging.s3-website-us-east-1.amazonaws.com/
|
||||||
|
|
||||||
|
To build and deploy to this bucket, run
|
||||||
|
|
||||||
|
```
|
||||||
|
yarn deploy_staging
|
||||||
```
|
```
|
||||||
|
|
||||||
**NOTE: On deploying the site, it will say the site is available at a non-existent URL. Please ignore and use the (now updated) URL above.**
|
**NOTE: On deploying the site, it will say the site is available at a non-existent URL. Please ignore and use the (now updated) URL above.**
|
||||||
|
|||||||
@@ -22,7 +22,8 @@
|
|||||||
"rebuild_and_test": "run-s clean build test",
|
"rebuild_and_test": "run-s clean build test",
|
||||||
"test:circleci": "yarn test:coverage",
|
"test:circleci": "yarn test:coverage",
|
||||||
"clean": "shx rm -rf lib coverage scripts",
|
"clean": "shx rm -rf lib coverage scripts",
|
||||||
"deploy": "discharge deploy",
|
"deploy_dogfood": "discharge deploy -c .dogfood.discharge.json",
|
||||||
|
"deploy_staging": "discharge deploy -c .staging.discharge.json",
|
||||||
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
|
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
@@ -65,7 +66,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@0x/tslint-config": "^1.0.9",
|
"@0x/tslint-config": "^1.0.9",
|
||||||
"@static/discharge": "^1.2.2",
|
"@static/discharge": "https://github.com/0xProject/discharge.git",
|
||||||
"@types/enzyme": "^3.1.14",
|
"@types/enzyme": "^3.1.14",
|
||||||
"@types/enzyme-adapter-react-16": "^1.0.3",
|
"@types/enzyme-adapter-react-16": "^1.0.3",
|
||||||
"@types/jest": "^23.3.5",
|
"@types/jest": "^23.3.5",
|
||||||
|
|||||||
@@ -42,14 +42,14 @@
|
|||||||
takerAddress: '0x0000000000000000000000000000000000000000',
|
takerAddress: '0x0000000000000000000000000000000000000000',
|
||||||
makerFee: new BigNumber('0'),
|
makerFee: new BigNumber('0'),
|
||||||
takerFee: new BigNumber('0'),
|
takerFee: new BigNumber('0'),
|
||||||
makerAssetAmount: new BigNumber('400000000000000000000'),
|
makerAssetAmount: new BigNumber('200000000000000000000'),
|
||||||
takerAssetAmount: new BigNumber('40000000000000000000'),
|
takerAssetAmount: new BigNumber('10000000000000000000'),
|
||||||
makerAssetData: '0xf47261b00000000000000000000000008cb3971b8eb709c14616bd556ff6683019e90d9c',
|
makerAssetData: '0xf47261b00000000000000000000000008cb3971b8eb709c14616bd556ff6683019e90d9c',
|
||||||
takerAssetData: '0xf47261b0000000000000000000000000d0a1e359811322d97991e03f863a0c30c2cf029c',
|
takerAssetData: '0xf47261b0000000000000000000000000d0a1e359811322d97991e03f863a0c30c2cf029c',
|
||||||
expirationTimeSeconds: new BigNumber('1543046400'),
|
expirationTimeSeconds: new BigNumber('1601535600'),
|
||||||
feeRecipientAddress: '0x0000000000000000000000000000000000000000',
|
feeRecipientAddress: '0x0000000000000000000000000000000000000000',
|
||||||
salt: new BigNumber('47929252863126413473766089649682650973189811771354566206928245255479607883031'),
|
salt: new BigNumber('3101985707338942582579795423923841749956600670712030922928319824580764688653'),
|
||||||
signature: '0x1c0bf8ba709ceb5b32e6b0b5a8bb7f07e9d19aba88d8530715f8a298d12188e3862fcc0a30ddfad4062b30459f2859323c064052f12cc687466c457934b9419a1b03',
|
signature: '0x1bd4d5686fea801fe33c68c4944356085e7e6cb553eb7073160abd815609f714e85fb47f44b7ffd0a2a1321ac40d72d55163869d0a50fdb5a402132150fe33a08403',
|
||||||
exchangeAddress: '0x35dd2932454449b14cee11a94d3674a936d5d7b2'
|
exchangeAddress: '0x35dd2932454449b14cee11a94d3674a936d5d7b2'
|
||||||
},
|
},
|
||||||
// Order selling ZRX
|
// Order selling ZRX
|
||||||
@@ -68,6 +68,40 @@
|
|||||||
salt: new BigNumber('64592004666704945574675477805199411288137454783320798602050822322450089238268'),
|
salt: new BigNumber('64592004666704945574675477805199411288137454783320798602050822322450089238268'),
|
||||||
signature: '0x1c13cacddca8d7d8248e91f412377e68f8f1f9891a59a6c1b2eea9f7b33558c30c4fb86a448e08ab7def40a28fb3a3062dcb33bb3c45302447fce5c4288b7c7f5b03',
|
signature: '0x1c13cacddca8d7d8248e91f412377e68f8f1f9891a59a6c1b2eea9f7b33558c30c4fb86a448e08ab7def40a28fb3a3062dcb33bb3c45302447fce5c4288b7c7f5b03',
|
||||||
exchangeAddress: '0x35dd2932454449b14cee11a94d3674a936d5d7b2'
|
exchangeAddress: '0x35dd2932454449b14cee11a94d3674a936d5d7b2'
|
||||||
|
},
|
||||||
|
// Order selling GNT
|
||||||
|
{
|
||||||
|
senderAddress: '0x0000000000000000000000000000000000000000',
|
||||||
|
makerAddress: '0x34a745008a643eebc58920eaa29fb1165b4a288e',
|
||||||
|
takerAddress: '0x0000000000000000000000000000000000000000',
|
||||||
|
makerFee: new BigNumber('0'),
|
||||||
|
takerFee: new BigNumber('0'),
|
||||||
|
makerAssetAmount: new BigNumber('250000000000000000000'),
|
||||||
|
takerAssetAmount: new BigNumber('10000000000000000000'),
|
||||||
|
makerAssetData: '0xf47261b000000000000000000000000031fb614e223706f15d0d3c5f4b08bdf0d5c78623',
|
||||||
|
takerAssetData: '0xf47261b0000000000000000000000000d0a1e359811322d97991e03f863a0c30c2cf029c',
|
||||||
|
expirationTimeSeconds: new BigNumber('1601535600'),
|
||||||
|
feeRecipientAddress: '0x0000000000000000000000000000000000000000',
|
||||||
|
salt: new BigNumber('40204378562212615907903051460421336779451270522691667164301816101569427926606'),
|
||||||
|
signature: '0x1c788bf4b93769da1e8f195f52f0f59b4a298ac6da30cf6d05a87ed4be5ee974f61352ed1bc6a0844d0962b8c894c9ca08e452431255958a4e98dd93cbe1fbc73803',
|
||||||
|
exchangeAddress: '0x35dd2932454449b14cee11a94d3674a936d5d7b2'
|
||||||
|
},
|
||||||
|
// Order selling MKR
|
||||||
|
{
|
||||||
|
senderAddress: '0x0000000000000000000000000000000000000000',
|
||||||
|
makerAddress: '0x34a745008a643eebc58920eaa29fb1165b4a288e',
|
||||||
|
takerAddress: '0x0000000000000000000000000000000000000000',
|
||||||
|
makerFee: new BigNumber('0'),
|
||||||
|
takerFee: new BigNumber('0'),
|
||||||
|
makerAssetAmount: new BigNumber('200000000000000000000'),
|
||||||
|
takerAssetAmount: new BigNumber('5000000000000000000'),
|
||||||
|
makerAssetData: '0xf47261b00000000000000000000000007b6b10caa9e8e9552ba72638ea5b47c25afea1f3',
|
||||||
|
takerAssetData: '0xf47261b0000000000000000000000000d0a1e359811322d97991e03f863a0c30c2cf029c',
|
||||||
|
expirationTimeSeconds: new BigNumber('1601535600'),
|
||||||
|
feeRecipientAddress: '0x0000000000000000000000000000000000000000',
|
||||||
|
salt: new BigNumber('71338269924068280039932133924198049371838034090153601678083172009862985793828'),
|
||||||
|
signature: '0x1bb3151d57ee1e8fa697767ce83ee4ba77d1ceb8cc1e79c7d77126b3687517704c50c6b3d9cb42c7e7d4478d574b297dfbd1626c5c18a7bc9c2a792c4c07f0797c03',
|
||||||
|
exchangeAddress: '0x35dd2932454449b14cee11a94d3674a936d5d7b2'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
const queryParams = new Uri(window.location.search);
|
const queryParams = new Uri(window.location.search);
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { ColorOption } from '../style/theme';
|
|||||||
|
|
||||||
import { Pulse } from './animations/pulse';
|
import { Pulse } from './animations/pulse';
|
||||||
|
|
||||||
import { Text } from './ui';
|
import { Text } from './ui/text';
|
||||||
|
|
||||||
interface PlainPlaceholder {
|
interface PlainPlaceholder {
|
||||||
color: ColorOption;
|
color: ColorOption;
|
||||||
|
|||||||
@@ -12,7 +12,8 @@ import { balanceUtil } from '../util/balance';
|
|||||||
import { gasPriceEstimator } from '../util/gas_price_estimator';
|
import { gasPriceEstimator } from '../util/gas_price_estimator';
|
||||||
import { util } from '../util/util';
|
import { util } from '../util/util';
|
||||||
|
|
||||||
import { Button, Text } from './ui';
|
import { Button } from './ui/button';
|
||||||
|
import { Text } from './ui/text';
|
||||||
|
|
||||||
export interface BuyButtonProps {
|
export interface BuyButtonProps {
|
||||||
buyQuote?: BuyQuote;
|
buyQuote?: BuyQuote;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|||||||
import { TimedProgressBar } from '../components/timed_progress_bar';
|
import { TimedProgressBar } from '../components/timed_progress_bar';
|
||||||
|
|
||||||
import { TimeCounter } from '../components/time_counter';
|
import { TimeCounter } from '../components/time_counter';
|
||||||
import { Container } from '../components/ui';
|
import { Container } from '../components/ui/container';
|
||||||
import { OrderProcessState, OrderState } from '../types';
|
import { OrderProcessState, OrderState } from '../types';
|
||||||
|
|
||||||
export interface BuyOrderProgressProps {
|
export interface BuyOrderProgressProps {
|
||||||
|
|||||||
@@ -7,7 +7,10 @@ import { AffiliateInfo, OrderProcessState, ZeroExInstantError } from '../types';
|
|||||||
import { BuyButton } from './buy_button';
|
import { BuyButton } from './buy_button';
|
||||||
import { PlacingOrderButton } from './placing_order_button';
|
import { PlacingOrderButton } from './placing_order_button';
|
||||||
import { SecondaryButton } from './secondary_button';
|
import { SecondaryButton } from './secondary_button';
|
||||||
import { Button, Flex, Text } from './ui';
|
|
||||||
|
import { Button } from './ui/button';
|
||||||
|
import { Flex } from './ui/flex';
|
||||||
|
import { Text } from './ui/text';
|
||||||
|
|
||||||
export interface BuyOrderStateButtonProps {
|
export interface BuyOrderStateButtonProps {
|
||||||
buyQuote?: BuyQuote;
|
buyQuote?: BuyQuote;
|
||||||
|
|||||||
@@ -8,7 +8,11 @@ import { assetUtils } from '../util/asset';
|
|||||||
import { util } from '../util/util';
|
import { util } from '../util/util';
|
||||||
|
|
||||||
import { ScalingAmountInput } from './scaling_amount_input';
|
import { ScalingAmountInput } from './scaling_amount_input';
|
||||||
import { Container, Flex, Icon, Text } from './ui';
|
|
||||||
|
import { Container } from './ui/container';
|
||||||
|
import { Flex } from './ui/flex';
|
||||||
|
import { Icon } from './ui/icon';
|
||||||
|
import { Text } from './ui/text';
|
||||||
|
|
||||||
// Asset amounts only apply to ERC20 assets
|
// Asset amounts only apply to ERC20 assets
|
||||||
export interface ERC20AssetAmountInputProps {
|
export interface ERC20AssetAmountInputProps {
|
||||||
|
|||||||
@@ -6,7 +6,11 @@ import { ERC20Asset } from '../types';
|
|||||||
import { assetUtils } from '../util/asset';
|
import { assetUtils } from '../util/asset';
|
||||||
|
|
||||||
import { SearchInput } from './search_input';
|
import { SearchInput } from './search_input';
|
||||||
import { Circle, Container, Flex, Text } from './ui';
|
|
||||||
|
import { Circle } from './ui/circle';
|
||||||
|
import { Container } from './ui/container';
|
||||||
|
import { Flex } from './ui/flex';
|
||||||
|
import { Text } from './ui/text';
|
||||||
|
|
||||||
export interface ERC20TokenSelectorProps {
|
export interface ERC20TokenSelectorProps {
|
||||||
tokens: ERC20Asset[];
|
tokens: ERC20Asset[];
|
||||||
|
|||||||
@@ -8,7 +8,11 @@ import { AsyncProcessState, ERC20Asset, OrderProcessState, OrderState } from '..
|
|||||||
import { format } from '../util/format';
|
import { format } from '../util/format';
|
||||||
|
|
||||||
import { AmountPlaceholder } from './amount_placeholder';
|
import { AmountPlaceholder } from './amount_placeholder';
|
||||||
import { Container, Flex, Icon, Spinner, Text } from './ui';
|
import { Container } from './ui/container';
|
||||||
|
import { Flex } from './ui/flex';
|
||||||
|
import { Icon } from './ui/icon';
|
||||||
|
import { Spinner } from './ui/spinner';
|
||||||
|
import { Text } from './ui/text';
|
||||||
|
|
||||||
export interface InstantHeadingProps {
|
export interface InstantHeadingProps {
|
||||||
selectedAssetAmount?: BigNumber;
|
selectedAssetAmount?: BigNumber;
|
||||||
|
|||||||
@@ -8,7 +8,10 @@ import { ColorOption } from '../style/theme';
|
|||||||
import { format } from '../util/format';
|
import { format } from '../util/format';
|
||||||
|
|
||||||
import { AmountPlaceholder } from './amount_placeholder';
|
import { AmountPlaceholder } from './amount_placeholder';
|
||||||
import { Container, Flex, Text } from './ui';
|
|
||||||
|
import { Container } from './ui/container';
|
||||||
|
import { Flex } from './ui/flex';
|
||||||
|
import { Text } from './ui/text';
|
||||||
|
|
||||||
export interface OrderDetailsProps {
|
export interface OrderDetailsProps {
|
||||||
buyQuoteInfo?: BuyQuoteInfo;
|
buyQuoteInfo?: BuyQuoteInfo;
|
||||||
|
|||||||
@@ -2,7 +2,10 @@ import * as React from 'react';
|
|||||||
|
|
||||||
import { ColorOption } from '../style/theme';
|
import { ColorOption } from '../style/theme';
|
||||||
|
|
||||||
import { Button, Container, Spinner, Text } from './ui';
|
import { Button } from './ui/button';
|
||||||
|
import { Container } from './ui/container';
|
||||||
|
import { Spinner } from './ui/spinner';
|
||||||
|
import { Text } from './ui/text';
|
||||||
|
|
||||||
export const PlacingOrderButton: React.StatelessComponent<{}> = props => (
|
export const PlacingOrderButton: React.StatelessComponent<{}> = props => (
|
||||||
<Button isDisabled={true} width="100%">
|
<Button isDisabled={true} width="100%">
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|||||||
import { ColorOption } from '../style/theme';
|
import { ColorOption } from '../style/theme';
|
||||||
import { util } from '../util/util';
|
import { util } from '../util/util';
|
||||||
|
|
||||||
import { Input } from './ui';
|
import { Input } from './ui/input';
|
||||||
|
|
||||||
export enum ScalingInputPhase {
|
export enum ScalingInputPhase {
|
||||||
FixedFontSize,
|
FixedFontSize,
|
||||||
|
|||||||
@@ -3,7 +3,10 @@ import * as React from 'react';
|
|||||||
|
|
||||||
import { ColorOption } from '../style/theme';
|
import { ColorOption } from '../style/theme';
|
||||||
|
|
||||||
import { Container, Flex, Icon, Input, InputProps } from './ui';
|
import { Container } from './ui/container';
|
||||||
|
import { Flex } from './ui/flex';
|
||||||
|
import { Icon } from './ui/icon';
|
||||||
|
import { Input, InputProps } from './ui/input';
|
||||||
|
|
||||||
export interface SearchInputProps extends InputProps {
|
export interface SearchInputProps extends InputProps {
|
||||||
backgroundColor?: ColorOption;
|
backgroundColor?: ColorOption;
|
||||||
|
|||||||
@@ -3,7 +3,8 @@ import * as React from 'react';
|
|||||||
|
|
||||||
import { ColorOption } from '../style/theme';
|
import { ColorOption } from '../style/theme';
|
||||||
|
|
||||||
import { Button, ButtonProps, Text } from './ui';
|
import { Button, ButtonProps } from './ui/button';
|
||||||
|
import { Text } from './ui/text';
|
||||||
|
|
||||||
export interface SecondaryButtonProps extends ButtonProps {}
|
export interface SecondaryButtonProps extends ButtonProps {}
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,9 @@ import { ColorOption } from '../style/theme';
|
|||||||
import { PositionAnimationSettings } from './animations/position_animation';
|
import { PositionAnimationSettings } from './animations/position_animation';
|
||||||
import { SlideAnimation, SlideAnimationState } from './animations/slide_animation';
|
import { SlideAnimation, SlideAnimationState } from './animations/slide_animation';
|
||||||
|
|
||||||
import { Container, Flex, Text } from './ui';
|
import { Container } from './ui/container';
|
||||||
|
import { Flex } from './ui/flex';
|
||||||
|
import { Text } from './ui/text';
|
||||||
|
|
||||||
export interface ErrorProps {
|
export interface ErrorProps {
|
||||||
icon: string;
|
icon: string;
|
||||||
|
|||||||
@@ -5,7 +5,11 @@ import { zIndex } from '../style/z_index';
|
|||||||
|
|
||||||
import { PositionAnimationSettings } from './animations/position_animation';
|
import { PositionAnimationSettings } from './animations/position_animation';
|
||||||
import { SlideAnimation, SlideAnimationState } from './animations/slide_animation';
|
import { SlideAnimation, SlideAnimationState } from './animations/slide_animation';
|
||||||
import { Container, Flex, Icon, Text } from './ui';
|
|
||||||
|
import { Container } from './ui/container';
|
||||||
|
import { Flex } from './ui/flex';
|
||||||
|
import { Icon } from './ui/icon';
|
||||||
|
import { Text } from './ui/text';
|
||||||
|
|
||||||
export interface PanelProps {
|
export interface PanelProps {
|
||||||
title?: string;
|
title?: string;
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
export { Text, TextProps, Title } from './text';
|
|
||||||
export { Circle, CircleProps } from './circle';
|
|
||||||
export { Button, ButtonProps } from './button';
|
|
||||||
export { Flex, FlexProps } from './flex';
|
|
||||||
export { Container, ContainerProps } from './container';
|
|
||||||
export { Input, InputProps } from './input';
|
|
||||||
export { Icon, IconProps } from './icon';
|
|
||||||
export { Spinner, SpinnerProps } from './spinner';
|
|
||||||
export { Overlay, OverlayProps } from './overlay';
|
|
||||||
@@ -13,7 +13,8 @@ import { zIndex } from '../style/z_index';
|
|||||||
|
|
||||||
import { SlideAnimationState } from './animations/slide_animation';
|
import { SlideAnimationState } from './animations/slide_animation';
|
||||||
import { SlidingPanel } from './sliding_panel';
|
import { SlidingPanel } from './sliding_panel';
|
||||||
import { Container, Flex } from './ui';
|
import { Container } from './ui/container';
|
||||||
|
import { Flex } from './ui/flex';
|
||||||
|
|
||||||
export interface ZeroExInstantContainerProps {}
|
export interface ZeroExInstantContainerProps {}
|
||||||
export interface ZeroExInstantContainerState {
|
export interface ZeroExInstantContainerState {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
import { Overlay } from './ui';
|
import { Overlay } from './ui/overlay';
|
||||||
import { ZeroExInstantContainer } from './zero_ex_instant_container';
|
import { ZeroExInstantContainer } from './zero_ex_instant_container';
|
||||||
import { ZeroExInstantProvider, ZeroExInstantProviderProps } from './zero_ex_instant_provider';
|
import { ZeroExInstantProvider, ZeroExInstantProviderProps } from './zero_ex_instant_provider';
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,8 @@ export const assetDataNetworkMapping: AssetDataByNetwork[] = [
|
|||||||
// MKR
|
// MKR
|
||||||
{
|
{
|
||||||
[Network.Mainnet]: '0xf47261b00000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2',
|
[Network.Mainnet]: '0xf47261b00000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2',
|
||||||
[Network.Kovan]: '0xf47261b00000000000000000000000000xbf5e8e38659562fda594fbb3ec5a3576d02a9e0a',
|
// 0x Kovan MKR
|
||||||
|
[Network.Kovan]: '0xf47261b00000000000000000000000007b6b10caa9e8e9552ba72638ea5b47c25afea1f3',
|
||||||
},
|
},
|
||||||
// BAT
|
// BAT
|
||||||
{
|
{
|
||||||
@@ -45,8 +46,9 @@ export const assetDataNetworkMapping: AssetDataByNetwork[] = [
|
|||||||
},
|
},
|
||||||
// GNT
|
// GNT
|
||||||
{
|
{
|
||||||
[Network.Mainnet]: '0xf47261b0000000000000000000000000a74476443119A942dE498590Fe1f2454d7D4aC0d',
|
[Network.Mainnet]: '0xf47261b0000000000000000000000000a74476443119a942de498590fe1f2454d7d4ac0d',
|
||||||
[Network.Kovan]: '0xf47261b00000000000000000000000006986fa3646f408905ecb1876bfd355d25039ee3a',
|
// 0x Kovan GNT
|
||||||
|
[Network.Kovan]: '0xf47261b000000000000000000000000031fb614e223706f15d0d3c5f4b08bdf0d5c78623',
|
||||||
},
|
},
|
||||||
// SUB
|
// SUB
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ export const assetMetaDataMap: ObjectMap<AssetMetaData> = {
|
|||||||
symbol: 'mana',
|
symbol: 'mana',
|
||||||
name: 'Decentraland',
|
name: 'Decentraland',
|
||||||
},
|
},
|
||||||
'0xf47261b0000000000000000000000000a74476443119A942dE498590Fe1f2454d7D4aC0d': {
|
'0xf47261b0000000000000000000000000a74476443119a942de498590fe1f2454d7d4ac0d': {
|
||||||
assetProxyId: AssetProxyId.ERC20,
|
assetProxyId: AssetProxyId.ERC20,
|
||||||
decimals: 18,
|
decimals: 18,
|
||||||
primaryColor: '#263469',
|
primaryColor: '#263469',
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ import {
|
|||||||
OrderProcessState,
|
OrderProcessState,
|
||||||
OrderState,
|
OrderState,
|
||||||
} from '../types';
|
} from '../types';
|
||||||
import { assetUtils } from '../util/asset';
|
|
||||||
|
|
||||||
import { Action, ActionTypes } from './actions';
|
import { Action, ActionTypes } from './actions';
|
||||||
|
|
||||||
|
|||||||
57
yarn.lock
57
yarn.lock
@@ -1148,15 +1148,15 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
samsam "1.3.0"
|
samsam "1.3.0"
|
||||||
|
|
||||||
"@static/discharge@^1.2.2":
|
"@static/discharge@https://github.com/0xProject/discharge.git":
|
||||||
version "1.2.2"
|
version "1.2.2"
|
||||||
resolved "https://registry.npmjs.org/@static/discharge/-/discharge-1.2.2.tgz#dc941e0c02c421b338b83ac2e59e140d7214c971"
|
resolved "https://github.com/0xProject/discharge.git#3aed990822cabbb79b71b52700fdef08cd9eb400"
|
||||||
dependencies:
|
dependencies:
|
||||||
aws-sdk "^2.304.0"
|
aws-sdk "^2.347.0"
|
||||||
execa "^1.0.0"
|
execa "^1.0.0"
|
||||||
glob "^7.1.3"
|
glob "^7.1.3"
|
||||||
inquirer "^6.2.0"
|
inquirer "^6.2.0"
|
||||||
listr "^0.14.1"
|
listr "^0.14.2"
|
||||||
lodash.differenceby "^4.8.0"
|
lodash.differenceby "^4.8.0"
|
||||||
lodash.intersectionby "^4.7.0"
|
lodash.intersectionby "^4.7.0"
|
||||||
lodash.intersectionwith "^4.4.0"
|
lodash.intersectionwith "^4.4.0"
|
||||||
@@ -1900,6 +1900,10 @@ aes-js@^0.2.3:
|
|||||||
version "0.2.4"
|
version "0.2.4"
|
||||||
resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-0.2.4.tgz#94b881ab717286d015fa219e08fb66709dda5a3d"
|
resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-0.2.4.tgz#94b881ab717286d015fa219e08fb66709dda5a3d"
|
||||||
|
|
||||||
|
aes-js@^3.1.1:
|
||||||
|
version "3.1.1"
|
||||||
|
resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.1.1.tgz#89fd1f94ae51b4c72d62466adc1a7323ff52f072"
|
||||||
|
|
||||||
agent-base@4, agent-base@^4.1.0, agent-base@~4.2.0:
|
agent-base@4, agent-base@^4.1.0, agent-base@~4.2.0:
|
||||||
version "4.2.1"
|
version "4.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9"
|
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9"
|
||||||
@@ -2324,9 +2328,9 @@ aws-sdk@^2.127.0:
|
|||||||
uuid "3.1.0"
|
uuid "3.1.0"
|
||||||
xml2js "0.4.19"
|
xml2js "0.4.19"
|
||||||
|
|
||||||
aws-sdk@^2.304.0:
|
aws-sdk@^2.347.0:
|
||||||
version "2.338.0"
|
version "2.348.0"
|
||||||
resolved "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.338.0.tgz#f1b1347f78defa27b92b030b5787fad0f89ac83b"
|
resolved "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.348.0.tgz#69c5b6dd77a5eac85b54bf7cc1640c19d762d3ee"
|
||||||
dependencies:
|
dependencies:
|
||||||
buffer "4.9.1"
|
buffer "4.9.1"
|
||||||
events "1.1.1"
|
events "1.1.1"
|
||||||
@@ -3337,7 +3341,7 @@ bs-logger@0.x:
|
|||||||
dependencies:
|
dependencies:
|
||||||
fast-json-stable-stringify "^2.0.0"
|
fast-json-stable-stringify "^2.0.0"
|
||||||
|
|
||||||
bs58@=4.0.1:
|
bs58@=4.0.1, bs58@^4.0.0:
|
||||||
version "4.0.1"
|
version "4.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a"
|
resolved "https://registry.yarnpkg.com/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -3360,6 +3364,14 @@ bs58check@^1.0.8:
|
|||||||
bs58 "^3.1.0"
|
bs58 "^3.1.0"
|
||||||
create-hash "^1.1.0"
|
create-hash "^1.1.0"
|
||||||
|
|
||||||
|
bs58check@^2.1.2:
|
||||||
|
version "2.1.2"
|
||||||
|
resolved "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc"
|
||||||
|
dependencies:
|
||||||
|
bs58 "^4.0.0"
|
||||||
|
create-hash "^1.1.0"
|
||||||
|
safe-buffer "^5.1.2"
|
||||||
|
|
||||||
bser@^2.0.0:
|
bser@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
resolved "https://registry.npmjs.org/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719"
|
resolved "https://registry.npmjs.org/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719"
|
||||||
@@ -5947,6 +5959,19 @@ ethereumjs-wallet@0.6.0:
|
|||||||
utf8 "^2.1.1"
|
utf8 "^2.1.1"
|
||||||
uuid "^2.0.1"
|
uuid "^2.0.1"
|
||||||
|
|
||||||
|
ethereumjs-wallet@~0.6.0:
|
||||||
|
version "0.6.2"
|
||||||
|
resolved "https://registry.npmjs.org/ethereumjs-wallet/-/ethereumjs-wallet-0.6.2.tgz#67244b6af3e8113b53d709124b25477b64aeccda"
|
||||||
|
dependencies:
|
||||||
|
aes-js "^3.1.1"
|
||||||
|
bs58check "^2.1.2"
|
||||||
|
ethereumjs-util "^5.2.0"
|
||||||
|
hdkey "^1.0.0"
|
||||||
|
safe-buffer "^5.1.2"
|
||||||
|
scrypt.js "^0.2.0"
|
||||||
|
utf8 "^3.0.0"
|
||||||
|
uuid "^3.3.2"
|
||||||
|
|
||||||
ethers@~4.0.4:
|
ethers@~4.0.4:
|
||||||
version "4.0.4"
|
version "4.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/ethers/-/ethers-4.0.4.tgz#d3f85e8b27f4b59537e06526439b0fb15b44dc65"
|
resolved "https://registry.yarnpkg.com/ethers/-/ethers-4.0.4.tgz#d3f85e8b27f4b59537e06526439b0fb15b44dc65"
|
||||||
@@ -6751,7 +6776,7 @@ ganache-core@0xProject/ganache-core#monorepo-dep:
|
|||||||
ethereumjs-tx "0xProject/ethereumjs-tx#fake-tx-include-signature-by-default"
|
ethereumjs-tx "0xProject/ethereumjs-tx#fake-tx-include-signature-by-default"
|
||||||
ethereumjs-util "^5.2.0"
|
ethereumjs-util "^5.2.0"
|
||||||
ethereumjs-vm "2.3.5"
|
ethereumjs-vm "2.3.5"
|
||||||
ethereumjs-wallet "0.6.0"
|
ethereumjs-wallet "~0.6.0"
|
||||||
fake-merkle-patricia-tree "~1.0.1"
|
fake-merkle-patricia-tree "~1.0.1"
|
||||||
heap "~0.2.6"
|
heap "~0.2.6"
|
||||||
js-scrypt "^0.2.0"
|
js-scrypt "^0.2.0"
|
||||||
@@ -7476,6 +7501,14 @@ hdkey@^0.7.0, hdkey@^0.7.1:
|
|||||||
coinstring "^2.0.0"
|
coinstring "^2.0.0"
|
||||||
secp256k1 "^3.0.1"
|
secp256k1 "^3.0.1"
|
||||||
|
|
||||||
|
hdkey@^1.0.0:
|
||||||
|
version "1.1.0"
|
||||||
|
resolved "https://registry.npmjs.org/hdkey/-/hdkey-1.1.0.tgz#e74e7b01d2c47f797fa65d1d839adb7a44639f29"
|
||||||
|
dependencies:
|
||||||
|
coinstring "^2.0.0"
|
||||||
|
safe-buffer "^5.1.1"
|
||||||
|
secp256k1 "^3.0.1"
|
||||||
|
|
||||||
he@1.1.1:
|
he@1.1.1:
|
||||||
version "1.1.1"
|
version "1.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"
|
resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"
|
||||||
@@ -9449,7 +9482,7 @@ listr@^0.12.0:
|
|||||||
stream-to-observable "^0.1.0"
|
stream-to-observable "^0.1.0"
|
||||||
strip-ansi "^3.0.1"
|
strip-ansi "^3.0.1"
|
||||||
|
|
||||||
listr@^0.14.1:
|
listr@^0.14.2:
|
||||||
version "0.14.2"
|
version "0.14.2"
|
||||||
resolved "https://registry.npmjs.org/listr/-/listr-0.14.2.tgz#cbe44b021100a15376addfc2d79349ee430bfe14"
|
resolved "https://registry.npmjs.org/listr/-/listr-0.14.2.tgz#cbe44b021100a15376addfc2d79349ee430bfe14"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -15562,6 +15595,10 @@ utf8@^2.1.1:
|
|||||||
version "2.1.2"
|
version "2.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/utf8/-/utf8-2.1.2.tgz#1fa0d9270e9be850d9b05027f63519bf46457d96"
|
resolved "https://registry.yarnpkg.com/utf8/-/utf8-2.1.2.tgz#1fa0d9270e9be850d9b05027f63519bf46457d96"
|
||||||
|
|
||||||
|
utf8@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.npmjs.org/utf8/-/utf8-3.0.0.tgz#f052eed1364d696e769ef058b183df88c87f69d1"
|
||||||
|
|
||||||
util-deprecate@~1.0.1:
|
util-deprecate@~1.0.1:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
|
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
|
||||||
|
|||||||
Reference in New Issue
Block a user