diff options
author | Hsuan Lee <hsuan@cobinhood.com> | 2019-01-19 18:42:04 +0800 |
---|---|---|
committer | Hsuan Lee <hsuan@cobinhood.com> | 2019-01-19 18:42:04 +0800 |
commit | 7ae38906926dc09bc10670c361af0d2bf0050426 (patch) | |
tree | 5fb10ae366b987db09e4ddb4bc3ba0f75404ad08 /packages/instant/src/data | |
parent | b5fd3c72a08aaa6957917d74c333387a16edf66b (diff) | |
download | dexon-sol-tools-7ae38906926dc09bc10670c361af0d2bf0050426.tar dexon-sol-tools-7ae38906926dc09bc10670c361af0d2bf0050426.tar.gz dexon-sol-tools-7ae38906926dc09bc10670c361af0d2bf0050426.tar.bz2 dexon-sol-tools-7ae38906926dc09bc10670c361af0d2bf0050426.tar.lz dexon-sol-tools-7ae38906926dc09bc10670c361af0d2bf0050426.tar.xz dexon-sol-tools-7ae38906926dc09bc10670c361af0d2bf0050426.tar.zst dexon-sol-tools-7ae38906926dc09bc10670c361af0d2bf0050426.zip |
Update dependency packages
Diffstat (limited to 'packages/instant/src/data')
-rw-r--r-- | packages/instant/src/data/asset_data_network_mapping.ts | 66 | ||||
-rw-r--r-- | packages/instant/src/data/asset_meta_data_map.ts | 202 |
2 files changed, 0 insertions, 268 deletions
diff --git a/packages/instant/src/data/asset_data_network_mapping.ts b/packages/instant/src/data/asset_data_network_mapping.ts deleted file mode 100644 index 4fd0a25ed..000000000 --- a/packages/instant/src/data/asset_data_network_mapping.ts +++ /dev/null @@ -1,66 +0,0 @@ -import * as _ from 'lodash'; - -import { Network } from '../types'; - -interface AssetDataByNetwork { - [Network.Kovan]?: string; - [Network.Mainnet]?: string; -} - -export const assetDataNetworkMapping: AssetDataByNetwork[] = [ - // ZRX - { - [Network.Mainnet]: '0xf47261b0000000000000000000000000e41d2489571d322189246dafa5ebde1f4699f498', - [Network.Kovan]: '0xf47261b00000000000000000000000002002d3812f58e35f0ea1ffbf80a75a38c32175fa', - }, - // SPANK - { - [Network.Mainnet]: '0xf47261b000000000000000000000000042d6622dece394b54999fbd73d108123806f6a18', - [Network.Kovan]: '0xf47261b00000000000000000000000007c9eee8448f3a7d1193389652d863b27e543272d', - }, - // OMG - { - [Network.Mainnet]: '0xf47261b0000000000000000000000000d26114cd6ee289accf82350c8d8487fedb8a0c07', - [Network.Kovan]: '0xf47261b000000000000000000000000046096d8ec059dbaae2950b30e01634ff0dc652ec', - }, - // MKR - { - [Network.Mainnet]: '0xf47261b00000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2', - // 0x Kovan MKR - [Network.Kovan]: '0xf47261b00000000000000000000000007b6b10caa9e8e9552ba72638ea5b47c25afea1f3', - }, - // BAT - { - [Network.Mainnet]: '0xf47261b00000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef', - [Network.Kovan]: '0xf47261b0000000000000000000000000c87faa7a58f0adf306bad9e7d892fb045a20e5af', - }, - // SNT - { - [Network.Mainnet]: '0xf47261b0000000000000000000000000744d70fdbe2ba4cf95131626614a1763df805b9e', - [Network.Kovan]: '0xf47261b00000000000000000000000009cfe76a718ea75e3e8ce4fc7ad0fef84be70919b', - }, - // MANA - { - [Network.Mainnet]: '0xf47261b00000000000000000000000000f5d2fb29fb7d3cfee444a200298f468908cc942', - [Network.Kovan]: '0xf47261b0000000000000000000000000c64edfc78321673435fbeebdaaa7f9d755963542', - }, - // GNT - { - [Network.Mainnet]: '0xf47261b0000000000000000000000000a74476443119a942de498590fe1f2454d7d4ac0d', - // 0x Kovan GNT - [Network.Kovan]: '0xf47261b000000000000000000000000031fb614e223706f15d0d3c5f4b08bdf0d5c78623', - }, - // SUB - { - [Network.Mainnet]: '0xf47261b000000000000000000000000012480e24eb5bec1a9d4369cab6a80cad3c0a377a', - }, - // Dentacoin - { - [Network.Mainnet]: '0xf47261b000000000000000000000000008d32b0da63e2C3bcF8019c9c5d849d7a9d791e6', - }, - // REP - { - [Network.Kovan]: '0xf47261b00000000000000000000000008cb3971b8eb709c14616bd556ff6683019e90d9c', - [Network.Mainnet]: '0xf47261b00000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862', - }, -]; diff --git a/packages/instant/src/data/asset_meta_data_map.ts b/packages/instant/src/data/asset_meta_data_map.ts deleted file mode 100644 index 88611a8c0..000000000 --- a/packages/instant/src/data/asset_meta_data_map.ts +++ /dev/null @@ -1,202 +0,0 @@ -import { AssetProxyId, ObjectMap } from '@0x/types'; - -import { AssetMetaData } from '../types'; - -export const assetMetaDataMap: ObjectMap<AssetMetaData> = { - '0xf47261b0000000000000000000000000e41d2489571d322189246dafa5ebde1f4699f498': { - assetProxyId: AssetProxyId.ERC20, - decimals: 18, - primaryColor: '#333333', - symbol: 'zrx', - name: '0x', - }, - '0xf47261b000000000000000000000000042d6622dece394b54999fbd73d108123806f6a18': { - assetProxyId: AssetProxyId.ERC20, - decimals: 18, - primaryColor: '#EC4F81', - symbol: 'spank', - name: 'Spank', - }, - '0xf47261b0000000000000000000000000d26114cd6ee289accf82350c8d8487fedb8a0c07': { - assetProxyId: AssetProxyId.ERC20, - decimals: 18, - primaryColor: '#2458E7', - symbol: 'omg', - name: 'OmiseGo', - }, - '0xf47261b00000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2': { - assetProxyId: AssetProxyId.ERC20, - decimals: 18, - primaryColor: '#68CCBB', - symbol: 'mkr', - name: 'Maker', - }, - '0xf47261b00000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef': { - assetProxyId: AssetProxyId.ERC20, - decimals: 18, - primaryColor: '#FF5000', - symbol: 'bat', - name: 'Basic Attention Token', - }, - '0xf47261b0000000000000000000000000744d70fdbe2ba4cf95131626614a1763df805b9e': { - assetProxyId: AssetProxyId.ERC20, - decimals: 18, - primaryColor: '#4763D7', - symbol: 'snt', - name: 'Status', - }, - '0xf47261b00000000000000000000000000f5d2fb29fb7d3cfee444a200298f468908cc942': { - assetProxyId: AssetProxyId.ERC20, - decimals: 18, - primaryColor: '#f08839', - symbol: 'mana', - name: 'Decentraland', - }, - '0xf47261b00000000000000000000000001985365e9f78359a9b6ad760e32412f4a445e862': { - assetProxyId: AssetProxyId.ERC20, - decimals: 18, - primaryColor: '#512D80', - symbol: 'rep', - name: 'Augur', - }, - '0xf47261b00000000000000000000000000abdace70d3790235af448c88547603b945604ea': { - assetProxyId: AssetProxyId.ERC20, - decimals: 18, - primaryColor: '#2c3c8c', - symbol: 'dnt', - name: 'district0x', - }, - '0xf47261b000000000000000000000000005f4a42e251f2d52b8ed15e9fedaacfcef1fad27': { - assetProxyId: AssetProxyId.ERC20, - decimals: 12, - primaryColor: '#048998', - symbol: 'zil', - name: 'Zilliqa', - }, - '0xf47261b00000000000000000000000008f8221afbb33998d8584a2b05749ba73c37a938a': { - assetProxyId: AssetProxyId.ERC20, - decimals: 18, - primaryColor: '#58BFD6', - symbol: 'req', - name: 'Request Network', - }, - '0xf47261b0000000000000000000000000e0b7927c4af23765cb51314a0e0521a9645f0e2a': { - assetProxyId: AssetProxyId.ERC20, - decimals: 9, - primaryColor: '#E1AA3E', - symbol: 'dgd', - name: 'DigixDao', - }, - '0xf47261b00000000000000000000000004f3afec4e5a3f2a6a1a411def7d7dfe50ee057bf': { - assetProxyId: AssetProxyId.ERC20, - decimals: 9, - primaryColor: '#E1AA3E', - 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: '#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: '#DEA349', - symbol: 'dai', - name: 'Dai Stablecoin', - }, -}; |