Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eth-contract-metadata

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eth-contract-metadata - npm Package Compare versions

Comparing version 1.8.0 to 1.9.0

.circleci/config.yml

461

contract-map.json
{
"0x5adc961D6AC3f7062D2eA45FEFB8D8167d44b190": {
"name": "Dether",
"logo": "dether.svg",
"erc20": true,
"symbol": "DTH",
"decimals": 18
},
"0xDF347911910b6c9A4286bA8E2EE5ea4a39eB2134": {
"name": "Bob's Repair",
"logo": "bobsrepair.png",
"erc20": true,
"symbol": "BOB",
"decimals": 18
},
"0x9e88613418cF03dCa54D6a2cf6Ad934A78C7A17A": {
"name": "Swarm",
"logo": "swarm.svg",
"erc20": true,
"symbol": "SWM",
"decimals": 18
},
"0x6863bE0e7CF7ce860A574760e9020D519a8bDC47": {
"name": "On.Live",
"logo": "onlive.svg",
"erc20": true,
"symbol": "ONL",
"decimals": 18
},
"0xea5f88E54d982Cbb0c441cde4E79bC305e5b43Bc": {
"name": "Pareto",
"logo": "ParetoLogo.png",
"erc20": true,
"symbol": "PARETO",
"decimals": 18
},
"0xDDD460bBD9F79847ea08681563e8A9696867210C": {
"name": "Spendcoin",
"logo": "SpendCoin.png",
"erc20": true,
"symbol": "SPND",
"decimals": 18
},
"0x27054b13b1B798B345b591a4d22e6562d47eA75a": {
"name": "AirSwap Token",
"logo": "AST.png",
"erc20": true,
"symbol": "AST",
"decimals": 4
},
"0x8D5682941cE456900b12d47ac06a88b47C764CE1": {
"name": "RightMesh Token",
"logo": "Rmesh.png",
"erc20": true,
"symbol": "RMESH",
"decimals": 18
},
"0xDDe12a12A6f67156e0DA672be05c374e1B0a3e57": {
"name": "JOYSO",
"logo": "JOY.png",
"erc20": true,
"symbol": "JOY",
"decimals": 6
},
"0x0D262e5dC4A06a0F1c90cE79C7a60C09DfC884E4": {

@@ -9,2 +72,9 @@ "name": "JET8 Token",

},
"0x4a220E6096B25EADb88358cb44068A3248254675": {
"name": "Quant Network",
"logo": "quant-network.svg",
"erc20": true,
"symbol": "QNT",
"decimals": 18
},
"0xBC86727E770de68B1060C91f6BB6945c73e10388": {

@@ -17,2 +87,16 @@ "name": "Ink Protocol",

},
"0x4CEdA7906a5Ed2179785Cd3A40A69ee8bc99C466": {
"name": "Aion Network",
"logo": "Aion.png",
"erc20": true,
"symbol": "AION",
"decimals": 8
},
"0xa95592DCFfA3C080B4B40E459c5f5692F67DB7F8": {
"name": "ELY Token",
"logo": "ely.png",
"erc20": true,
"symbol": "ELY",
"decimals": 18
},
"0x9E46A38F5DaaBe8683E10793b06749EEF7D733d1": {

@@ -25,2 +109,9 @@ "name": "PolySwarm Nectar",

},
"0xe1A178B681BD05964d3e3Ed33AE731577d9d96dD": {
"name": "BOX Token",
"logo": "box_token.png",
"erc20": true,
"symbol": "BOX",
"decimals": 18
},
"0x82BD526bDB718C6d4DD2291Ed013A5186cAE2DCa": {

@@ -33,2 +124,23 @@ "name": "dutyof.care Token",

},
"0x168296bb09e24A88805CB9c33356536B980D3fC5": {
"name": "Rhoc",
"logo": "rchain.png",
"erc20": true,
"symbol": "RHOC",
"decimals": 8
},
"0x543Ff227F64Aa17eA132Bf9886cAb5DB55DCAddf": {
"name": "DAOstack",
"logo": "DAOstack.png",
"erc20": true,
"symbol": "GEN",
"decimals": 18
},
"0x6aEDbF8dFF31437220dF351950Ba2a3362168d1b": {
"name": "Dragonglass",
"logo": "dragonglass.svg",
"erc20": true,
"symbol": "DGS",
"decimals": 8
},
"0xd26114cd6EE289AccF82350c8d8487fedB8A0C07": {

@@ -41,2 +153,9 @@ "name": "OmiseGO",

},
"0x4162178B78D6985480A308B2190EE5517460406D": {
"name": "Colu Local Network",
"logo": "cln.png",
"erc20": true,
"symbol": "CLN",
"decimals": 18
},
"0xB64ef51C888972c908CFacf59B47C1AfBC0Ab8aC": {

@@ -66,6 +185,13 @@ "name": "Storj",

"logo": "ENTRP.png",
"symbol": "ENTR",
"symbol": "ENTRP",
"erc20": true,
"decimals": 18
},
"0xEBBdf302c940c6bfd49C6b165f457fdb324649bc": {
"name": "Hydro",
"logo": "hydro.png",
"erc20": true,
"symbol": "HYDRO",
"decimals": 18
},
"0x2604FA406Be957E542BEb89E6754fCdE6815e83f": {

@@ -85,2 +211,9 @@ "name": "Playkey Token",

},
"0xB563300A3BAc79FC09B93b6F84CE0d4465A2AC27": {
"name": "RedCab",
"logo": "redcab.png",
"erc20": true,
"symbol": "REDC",
"decimals": 18
},
"0x957c30aB0426e0C93CD8241E2c60392d08c6aC8e": {

@@ -100,2 +233,37 @@ "name": "Modum Token",

},
"0xdB25f211AB05b1c97D595516F45794528a807ad8": {
"name": "STASIS EURS Token",
"logo": "stasis-eurs.svg",
"erc20": true,
"decimals": 2,
"symbol": "EURS"
},
"0xC011A72400E58ecD99Ee497CF89E3775d4bd732F": {
"name": "Synthetix Network Token",
"logo": "synthetix.svg",
"erc20": true,
"decimals": 18,
"symbol": "SNX"
},
"0x57Ab1E02fEE23774580C119740129eAC7081e9D3": {
"name": "sUSD",
"logo": "synthetix_susd.svg",
"erc20": true,
"decimals": 18,
"symbol": "SUSD"
},
"0x0DB8D8b76BC361bAcbB72E2C491E06085A97Ab31": {
"name": "IQeon",
"logo": "iqeon.svg",
"erc20": true,
"decimals": 18,
"symbol": "IQN"
},
"0x26E75307Fc0C021472fEb8F727839531F112f317": {
"name": "Crypto20",
"logo": "c20.svg",
"erc20": true,
"symbol": "C20",
"decimals": 18
},
"0x06012c8cf97BEaD5deAe237070F9587f8E7A266d": {

@@ -213,2 +381,9 @@ "name": "Crypto Kitties",

},
"0x71D01dB8d6a2fBEa7f8d434599C237980C234e4C": {
"name": "Gladius",
"logo": "gladius.svg",
"erc20": true,
"symbol": "GLA",
"decimals": 8
},
"0x86Fa049857E0209aa7D9e616F7eb3b3B78ECfdb0": {

@@ -221,2 +396,9 @@ "name": "EOS",

},
"0xdd974D5C2e2928deA5F71b9825b8b646686BD200": {
"name": "Kyber Network Crystal",
"logo": "kyber.svg",
"erc20": true,
"symbol": "KNC",
"decimals": 18
},
"0x1F573D6Fb3F13d689FF844B4cE37794d79a7FF1C": {

@@ -245,6 +427,6 @@ "name": "Bancor Network Token",

"name": "vSlice",
"logo": "",
"logo": "vslice.png",
"erc20": true,
"symbol": "vSlice",
"decimals": 0
"symbol": "VSL",
"decimals": 18
},

@@ -281,3 +463,3 @@ "0xFf3519eeeEA3e76F1F699CCcE5E23ee0bdDa41aC": {

"name": "Edgeless",
"logo": "",
"logo": "edgeless.jpg",
"erc20": true,

@@ -310,3 +492,3 @@ "symbol": "EDG",

"name": "Trustcoin",
"logo": "",
"logo": "trustcoin.jpg",
"erc20": true,

@@ -338,4 +520,4 @@ "symbol": "TRST",

"0x607F4C5BB672230e8672085532f7e901544a7375": {
"name": "iEx.ec Network Token",
"logo": "rlc.png",
"name": "iExec RLC Token",
"logo": "rlc.svg",
"erc20": true,

@@ -364,3 +546,3 @@ "symbol": "RLC",

"symbol": "DGD",
"decimals": 0
"decimals": 9
},

@@ -388,2 +570,9 @@ "0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2": {

},
"0x4D8fc1453a0F359e99c9675954e656D80d996FbF": {
"name": "BEE Token",
"logo": "bee_token.svg",
"erc20": true,
"symbol": "BEE",
"decimals": 18
},
"0x6810e776880C02933D47DB1b9fc05908e5386b96": {

@@ -403,3 +592,3 @@ "name": "Gnosis Token",

},
"0xE94327D07Fc17907b4DB788E5aDf2ed424adDff6": {
"0x1985365e9f78359a9B6AD760e32412f4a445E862": {
"name": "Reputation",

@@ -418,2 +607,9 @@ "logo": "augur_logo.png",

},
"0xb0866289e870D2efc282406cF4123Df6E5BcB652": {
"name": "NoFakeCoin",
"logo": "nfticon.png",
"erc20": true,
"symbol": "NFC",
"decimals": 18
},
"0x408e41876cCCDC0F92210600ef50372656052a38": {

@@ -541,2 +737,16 @@ "name": "Republic Protocol",

},
"0xF03f8D65BaFA598611C3495124093c56e8F638f0": {
"name": "Viewly",
"logo": "viewly.svg",
"erc20": true,
"symbol": "VIEW",
"decimals": 18
},
"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2": {
"name": "Wrapped Ether",
"logo": "weth.png",
"erc20": true,
"symbol": "WETH",
"decimals": 18
},
"0xFFE02ee4C69eDf1b340fCaD64fbd6b37a7b9e265": {

@@ -548,3 +758,234 @@ "name": "NANJCOIN",

"decimals": 8
},
"0xB6eD7644C69416d67B522e20bC294A9a9B405B31": {
"name": "0xBitcoin Token",
"logo": "0xbitcoin.svg",
"erc20": true,
"symbol": "0xBTC",
"decimals": 8
},
"0x744d70FDBE2Ba4CF95131626614a1763DF805B9E": {
"name": "Status Network Token",
"logo": "snt.svg",
"erc20": true,
"symbol": "SNT",
"decimals": 18
},
"0x42d6622deCe394b54999Fbd73D108123806f6a18": {
"name": "SPANK",
"logo": "SPANK.png",
"erc20": true,
"symbol": "SPANK",
"decimals": 18
},
"0x4a6058666cf1057eaC3CD3A5a614620547559fc9": {
"name": "Brickblock",
"logo": "Brickblock.svg",
"erc20": true,
"symbol": "BBK",
"decimals": 18
},
"0x80fB784B7eD66730e8b1DBd9820aFD29931aab03": {
"name": "ETHLend Token",
"logo": "lend.svg",
"erc20": true,
"symbol": "LEND",
"decimals": 18
},
"0x48FF53777F747cFB694101222a944dE070c15D36": {
"name": "Ether Kingdoms Token",
"logo": "IMP.svg",
"erc20": true,
"symbol": "IMP",
"decimals": 7
},
"0x02F61Fd266DA6E8B102D4121f5CE7b992640CF98": {
"name": "LikeCoin",
"logo": "like.svg",
"erc20": true,
"symbol": "LIKE",
"decimals": 18
},
"0xB8c77482e45F1F44dE1745F52C74426C631bDD52": {
"name": "Binance Coin",
"logo": "bnb.png",
"erc20": true,
"symbol": "BNB",
"decimals": 18
},
"0xD850942eF8811f2A866692A623011bDE52a462C1": {
"name": "VeChain",
"logo": "vechain.png",
"erc20": true,
"symbol": "VEN",
"decimals": 18
},
"0xb5A5F22694352C15B00323844aD545ABb2B11028": {
"name": "ICON",
"logo": "icon-icx-logo.png",
"erc20": true,
"symbol": "ICX",
"decimals": 18
},
"0x5CA9a71B1d01849C0a95490Cc00559717fCF0D1d": {
"name": "Aeternity",
"logo": "aeternity.svg",
"erc20": true,
"symbol": "AE",
"decimals": 18
},
"0xd4fa1460F537bb9085d22C7bcCB5DD450Ef28e3a": {
"name": "Populous",
"logo": "FEATURED.POP_.png",
"erc20": true,
"symbol": "PPT",
"decimals": 8
},
"0xFA1a856Cfa3409CFa145Fa4e20Eb270dF3EB21ab": {
"name": "IOST",
"logo": "iost.png",
"erc20": true,
"symbol": "IOST",
"decimals": 18
},
"0x039B5649A59967e3e936D7471f9c3700100Ee1ab": {
"name": "Kucoin Shares",
"logo": "kucoin.svg",
"erc20": true,
"symbol": "LIKE",
"decimals": 6
},
"0x3893b9422Cd5D70a81eDeFfe3d5A1c6A978310BB": {
"name": "Mithril",
"logo": "mithril-featured.png",
"erc20": true,
"symbol": "MITH",
"decimals": 18
},
"0xb7cB1C96dB6B22b0D3d9536E0108d062BD488F74": {
"name": "Walton",
"logo": "waltonchain.png",
"erc20": true,
"symbol": "WTC",
"decimals": 18
},
"0x93ED3FBe21207Ec2E8f2d3c3de6e058Cb73Bc04d": {
"name": "Pinakion Token",
"logo": "pinakion.svg",
"erc20": true,
"symbol": "PNK",
"decimals": 18
},
"0x419D0d8BdD9aF5e606Ae2232ed285Aff190E711b": {
"name": "FunFair",
"logo": "fun.svg",
"erc20": true,
"symbol": "FUN",
"decimals": 8
},
"0xcA2796F9F61dc7b238Aab043971e49c6164DF375": {
"name": "YGGDRASH YEED Token",
"logo": "yggdrash.svg",
"erc20": true,
"symbol": "YEED",
"decimals": 18
},
"0x03e3f0c25965f13DbbC58246738C183E27b26a56": {
"name": "Disciplina Token",
"logo": "disciplina.svg",
"erc20": true,
"symbol": "DSCP",
"decimals": 18
},
"0xE814aeE960a85208C3dB542C53E7D4a6C8D5f60F": {
"name": "Chronologic DAY Token",
"logo": "DAY.png",
"erc20": true,
"symbol": "DAY",
"decimals": 18
},
"0x7E43581b19ab509BCF9397a2eFd1ab10233f27dE": {
"name": "PLATINUM",
"logo": "plat.png",
"erc20": true,
"symbol": "PLAT",
"decimals": 18
},
"0x8E870D67F660D95d5be530380D0eC0bd388289E1": {
"name": "PAX Stablecoin",
"logo": "pax.svg",
"erc20": true,
"symbol": "PAX",
"decimals": 18
},
"0x8dd5fbCe2F6a956C3022bA3663759011Dd51e73E": {
"name": "TrueUSD",
"logo": "tusd.png",
"erc20": true,
"symbol": "TUSD",
"decimals": 18
},
"0xC16b542ff490e01fcc0DC58a60e1EFdc3e357cA6": {
"name": "ICE ROCK MINING",
"logo": "rock2.png",
"erc20": true,
"symbol": "ROCK2",
"decimals": 0
},
"0x6758B7d441a9739b98552B373703d8d3d14f9e62": {
"name": "POA20 Token",
"logo": "POA20.png",
"erc20": true,
"symbol": "POA20",
"decimals": 18
},
"0x7064aAb39A0Fcf7221c3396719D0917a65E35515": {
"name": "Cpollo",
"logo": "Cpollo.svg",
"erc20": true,
"symbol": "CPLO",
"decimals": 18
},
"0xd8446236FA95b9b5f9fd0f8E7Df1a944823c683d": {
"name": "NEEO",
"logo": "neeo.png",
"erc20": true,
"symbol": "NEEO",
"decimals": 18
},
"0x0Cf0Ee63788A0849fE5297F3407f701E122cC023": {
"name": "Streamr",
"logo": "streamr.svg",
"erc20": true,
"symbol": "DATA",
"decimals": 18
},
"0xF70a642bD387F94380fFb90451C2c81d4Eb82CBc": {
"name": "STAR",
"logo": "starbase.png",
"erc20": true,
"symbol": "STAR",
"decimals": 18
},
"0xC17195bde49D70CefCF8A9F2ee1759FFC27BF0B1": {
"name": "Groocoin",
"logo": "groo.png",
"erc20": true,
"symbol": "GROO",
"decimals": 18
},
"0x7C5A0CE9267ED19B22F8cae653F198e3E8daf098": {
"name": "Santiment",
"logo": "santiment.svg",
"erc20": true,
"symbol": "SAN",
"decimals": 18
},
"0xFBeef911Dc5821886e1dda71586d90eD28174B7d": {
"name": "KnownOrigin",
"logo": "knownorigin.svg",
"erc20": true,
"symbol": "KODA",
"decimals": 0
}
}

2

package.json
{
"name": "eth-contract-metadata",
"version": "1.8.0",
"version": "1.9.0",
"description": "A mapping of ethereum contract addresses to broadly accepted icons for those addresses.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -63,3 +63,3 @@ # Ethereum Contract Metadata [![CircleCI](https://circleci.com/gh/MetaMask/eth-contract-metadata.svg?style=svg)](https://circleci.com/gh/MetaMask/eth-contract-metadata)

- symbol (a four-character or less ticker symbol)
- symbol (a five-character or less ticker symbol)
- decimals (precision of the tokens stored)

@@ -66,0 +66,0 @@

@@ -46,2 +46,12 @@ const test = require('tape')

test('logos icon should not be empty', function (t) {
Object.keys(contractMap).forEach(address => {
const contract = contractMap[address]
const logo = contract.logo
t.notEqual(logo.length, 0)
})
t.end()
})
test('logos path names should not contain space', function (t) {

@@ -59,2 +69,13 @@ const dirContent = fs.readdirSync(path.join(__dirname, '..', 'images'))

test('symbols should be six or less characters', function (t) {
Object.keys(contractMap).forEach(address => {
const contract = contractMap[address]
const symbol = contract.symbol
if (symbol) {
t.notOk(symbol.length > 6, `symbol with more than 6 characters: "${symbol}"`)
}
})
t.end()
})
test('only permitted fields should be used', function (t) {

@@ -61,0 +82,0 @@ Object.keys(contractMap).forEach(address => {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc