aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-11-14 03:38:20 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-11-14 03:38:20 +0800
commit3a3fe0e69acdc3a7aac16c4a64054d71a0689279 (patch)
tree1a394dd9c9db95ccba548688e62d9266c0774324 /packages/instant
parentbaba78f545110c469e3ac1d29d9f3e89586597ca (diff)
parent5c21d3f6af2ffc513b2bbfe92abf99181a32ceca (diff)
downloaddexon-sol-tools-3a3fe0e69acdc3a7aac16c4a64054d71a0689279.tar
dexon-sol-tools-3a3fe0e69acdc3a7aac16c4a64054d71a0689279.tar.gz
dexon-sol-tools-3a3fe0e69acdc3a7aac16c4a64054d71a0689279.tar.bz2
dexon-sol-tools-3a3fe0e69acdc3a7aac16c4a64054d71a0689279.tar.lz
dexon-sol-tools-3a3fe0e69acdc3a7aac16c4a64054d71a0689279.tar.xz
dexon-sol-tools-3a3fe0e69acdc3a7aac16c4a64054d71a0689279.tar.zst
dexon-sol-tools-3a3fe0e69acdc3a7aac16c4a64054d71a0689279.zip
Merge branch 'development' into fix/asset-buyer/price-per-token
* development: Publish Updated CHANGELOGS Fix a bug when undefined was been tried to convert to an array feat(instant): add extra asset metadata chore: fix linter error Improve logo spacing fix: lowercase supplied address before comparing with derived addresses (which are not checksummed) Remove unused instance variable update yarn.lock Increase logo size Replace remaining scroll-links with Link component Adjust paddin Fix menuItem background colors depending on the context Remove "Home" menu item, instead make different parts of logo link to different sections of the website Rename tutorial to match verb structure chore: Make `External exports` clickable on sidebar style: reduce border size on version dropdown style: make line-height of sidebar title 26px, make sure still bottom aligned with version picker Update yarn.lock style: remove small gap under topbar
Diffstat (limited to 'packages/instant')
-rw-r--r--packages/instant/package.json10
-rw-r--r--packages/instant/src/data/asset_meta_data_map.ts163
2 files changed, 146 insertions, 27 deletions
diff --git a/packages/instant/package.json b/packages/instant/package.json
index 4ec9e9bd3..f71fe45ef 100644
--- a/packages/instant/package.json
+++ b/packages/instant/package.json
@@ -1,6 +1,6 @@
{
"name": "@0x/instant",
- "version": "0.0.5",
+ "version": "0.0.6",
"engines": {
"node": ">=6.12"
},
@@ -46,14 +46,14 @@
"homepage": "https://github.com/0xProject/0x-monorepo/packages/instant/README.md",
"dependencies": {
"@0x/assert": "^1.0.16",
- "@0x/asset-buyer": "^2.2.1",
+ "@0x/asset-buyer": "^2.2.2",
"@0x/json-schemas": "^2.1.0",
- "@0x/order-utils": "^3.0.0",
- "@0x/subproviders": "^2.1.2",
+ "@0x/order-utils": "^3.0.1",
+ "@0x/subproviders": "^2.1.3",
"@0x/types": "^1.2.1",
"@0x/typescript-typings": "^3.0.4",
"@0x/utils": "^2.0.4",
- "@0x/web3-wrapper": "^3.1.2",
+ "@0x/web3-wrapper": "^3.1.3",
"copy-to-clipboard": "^3.0.8",
"ethereum-types": "^1.1.2",
"lodash": "^4.17.10",
diff --git a/packages/instant/src/data/asset_meta_data_map.ts b/packages/instant/src/data/asset_meta_data_map.ts
index 970b6c383..6ecb9af85 100644
--- a/packages/instant/src/data/asset_meta_data_map.ts
+++ b/packages/instant/src/data/asset_meta_data_map.ts
@@ -8,42 +8,42 @@ export const assetMetaDataMap: ObjectMap<AssetMetaData> = {
'0xf47261b0000000000000000000000000e41d2489571d322189246dafa5ebde1f4699f498': {
assetProxyId: AssetProxyId.ERC20,
decimals: 18,
- primaryColor: 'rgb(54, 50, 60)',
+ primaryColor: '#333333',
symbol: 'zrx',
name: '0x',
},
'0xf47261b000000000000000000000000042d6622dece394b54999fbd73d108123806f6a18': {
assetProxyId: AssetProxyId.ERC20,
decimals: 18,
- primaryColor: '#ec3e6c',
+ primaryColor: '#EC4F81',
symbol: 'spank',
name: 'Spank',
},
'0xf47261b0000000000000000000000000d26114cd6ee289accf82350c8d8487fedb8a0c07': {
assetProxyId: AssetProxyId.ERC20,
decimals: 18,
- primaryColor: '#2e61ea',
+ primaryColor: '#2458E7',
symbol: 'omg',
name: 'OmiseGo',
},
'0xf47261b00000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2': {
assetProxyId: AssetProxyId.ERC20,
decimals: 18,
- primaryColor: '#87e4ca',
+ primaryColor: '#68CCBB',
symbol: 'mkr',
name: 'Maker',
},
'0xf47261b00000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef': {
assetProxyId: AssetProxyId.ERC20,
decimals: 18,
- primaryColor: '#9c326c',
+ primaryColor: '#FF5000',
symbol: 'bat',
name: 'Basic Attention Token',
},
'0xf47261b0000000000000000000000000744d70fdbe2ba4cf95131626614a1763df805b9e': {
assetProxyId: AssetProxyId.ERC20,
decimals: 18,
- primaryColor: '#5663b0',
+ primaryColor: '#4763D7',
symbol: 'snt',
name: 'Status',
},
@@ -54,32 +54,151 @@ export const assetMetaDataMap: ObjectMap<AssetMetaData> = {
symbol: 'mana',
name: 'Decentraland',
},
- '0xf47261b0000000000000000000000000a74476443119a942de498590fe1f2454d7d4ac0d': {
+ '0xf47261b00000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862': {
assetProxyId: AssetProxyId.ERC20,
decimals: 18,
- primaryColor: '#263469',
- symbol: 'gnt',
- name: 'Golem',
+ primaryColor: '#512D80',
+ symbol: 'rep',
+ name: 'Augur',
},
- '0xf47261b000000000000000000000000012480e24eb5bec1a9d4369cab6a80cad3c0a377a': {
+ '0xf47261b00000000000000000000000000abdace70d3790235af448c88547603b945604ea': {
assetProxyId: AssetProxyId.ERC20,
decimals: 18,
- primaryColor: '#de5445',
- symbol: 'sub',
- name: 'Substratum',
+ primaryColor: '#2c3c8c',
+ symbol: 'dnt',
+ name: 'district0x',
},
- '0xf47261b000000000000000000000000008d32b0da63e2C3bcF8019c9c5d849d7a9d791e6': {
+ '0xf47261b000000000000000000000000005f4a42e251f2d52b8ed15e9fedaacfcef1fad27': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 12,
+ primaryColor: '#048998',
+ symbol: 'zil',
+ name: 'Zilliqa',
+ },
+ '0xf47261b00000000000000000000000008f8221afbb33998d8584a2b05749ba73c37a938a': {
assetProxyId: AssetProxyId.ERC20,
decimals: 18,
- primaryColor: '#000',
- symbol: 'dentacoin',
- name: 'Dentacoin',
+ primaryColor: '#58BFD6',
+ symbol: 'req',
+ name: 'Request Network',
},
- '0xf47261b00000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862': {
+ '0xf47261b0000000000000000000000000e0b7927c4af23765cb51314a0e0521a9645f0e2a': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 9,
+ primaryColor: '#BC9952',
+ symbol: 'dgd',
+ name: 'DigixDao',
+ },
+ '0xf47261b00000000000000000000000004f3afec4e5a3f2a6a1a411def7d7dfe50ee057bf': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 9,
+ primaryColor: '#DEB564',
+ symbol: 'dgx',
+ name: 'Digix Gold Token',
+ },
+ '0xf47261b0000000000000000000000000419d0d8bdd9af5e606ae2232ed285aff190e711b': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 8,
+ primaryColor: '#E40057',
+ symbol: 'fun',
+ name: 'FunFair',
+ },
+ '0xf47261b000000000000000000000000041e5560054824ea6b0732e656e3ad64e20e94e45': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 8,
+ primaryColor: '#04bc24',
+ symbol: 'cvc',
+ name: 'Civic',
+ },
+ '0xf47261b00000000000000000000000005ca9a71b1d01849c0a95490cc00559717fcf0d1d': {
assetProxyId: AssetProxyId.ERC20,
decimals: 18,
- primaryColor: '#512D80',
- symbol: 'rep',
- name: 'Augur',
+ primaryColor: '#F7296E',
+ symbol: 'ae',
+ name: 'Aeternity',
+ },
+ '0xf47261b0000000000000000000000000408e41876cccdc0f92210600ef50372656052a38': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 18,
+ primaryColor: '#233C5A',
+ symbol: 'ren',
+ name: 'Republic Protocol',
+ },
+ '0xf47261b0000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 18,
+ primaryColor: '#325CD2',
+ symbol: 'link',
+ name: 'ChainLink',
+ },
+ '0xf47261b00000000000000000000000006810e776880c02933d47db1b9fc05908e5386b96': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 18,
+ primaryColor: '#48A4C0',
+ symbol: 'gno',
+ name: 'Gnosis',
+ },
+ '0xf47261b0000000000000000000000000960b236a07cf122663c4303350609a66a7b288c0': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 18,
+ primaryColor: '#04a29e',
+ symbol: 'ant',
+ name: 'Aragon',
+ },
+ '0xf47261b00000000000000000000000004156d3342d5c385a87d264f90653733592000581': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 8,
+ primaryColor: '#4CABA7',
+ symbol: 'salt',
+ name: 'Salt',
+ },
+ '0xf47261b0000000000000000000000000595832f8fc6bf59c85c527fec3740a1b7a361269': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 6,
+ primaryColor: '#5BC9D4',
+ symbol: 'powr',
+ name: 'PowerLedger',
+ },
+ '0xf47261b00000000000000000000000008eb24319393716668d768dcec29356ae9cffe285': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 8,
+ primaryColor: '#523CE8',
+ symbol: 'agi',
+ name: 'SingularityNET',
+ },
+ '0xf47261b000000000000000000000000039bb259f66e1c59d5abef88375979b4d20d98022': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 8,
+ primaryColor: '#EDB740',
+ symbol: 'wax',
+ name: 'WAX',
+ },
+ '0xf47261b0000000000000000000000000beb9ef514a379b997e0798fdcc901ee474b6d9a1': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 18,
+ primaryColor: '#333333',
+ symbol: 'mln',
+ name: 'Melon',
+ },
+ '0xf47261b000000000000000000000000058b6a8a3302369daec383334672404ee733ab239': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 18,
+ primaryColor: '#232D37',
+ symbol: 'lpt',
+ name: 'Livepeer',
+ },
+ '0xf47261b000000000000000000000000027054b13b1b798b345b591a4d22e6562d47ea75a': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 4,
+ primaryColor: '#3A74F6',
+ symbol: 'ast',
+ name: 'AirSwap',
+ },
+ '0xf47261b000000000000000000000000089d24a6b4ccb1b6faa2625fe562bdd9a23260359': {
+ assetProxyId: AssetProxyId.ERC20,
+ decimals: 18,
+ primaryColor: '#F2B350',
+ symbol: 'dai',
+ name: 'Dai Stablecoin',
},
};