diff --git a/blockchains/ethereum/whitelist.json b/blockchains/ethereum/whitelist.json index bba28cd6e..55d05bd3a 100644 --- a/blockchains/ethereum/whitelist.json +++ b/blockchains/ethereum/whitelist.json @@ -566,6 +566,7 @@ "0x237c0e91c28d20254A2F25976b81262E63bB767f", "0x23812334fC611d99E2506D1493791Cc87Fa6Eddd", "0x2396FBC0e2E3AE4B7206EbDb5706e2a5920349CB", + "0x239836e951DD75Fea01beF8ba039119dc8D5352f", "0x23aaB5E8cDAFCa91849f0c8Fab42500fbdfed9Bd", "0x23aE3C5B39B12f0693e05435EeaA1e51d8c61530", "0x23B608675a2B2fB1890d3ABBd85c5775c51691d5", @@ -2912,6 +2913,7 @@ "0xBD4fb45b05DD4f0B55b6451B58f3DBA7fFB1b34B", "0xBd56E9477Fc6997609Cf45F84795eFbDAC642Ff1", "0xbd95145EE25E4203d90592834c688C92653532A6", + "0xbDc4dD4B2f62c446485a1D2E39569466A2Fbd829", "0xBDC5bAC39Dbe132B1E030e898aE3830017D7d969", "0xbDCDf13e7ECE3dFBe926979d2fc9942648A4083d", "0xBDCFbf5C4D91Abc0bC9709C7286d00063c0e6F22", diff --git a/package.json b/package.json index a19992e3b..fffa162a5 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,9 @@ "description": "Assets consumed by Trust Wallet", "main": "index.js", "scripts": { - "verify": "ts-node ./script/verifyTokens", + "verify": "npm run cleanup && ts-node ./script/verifyTokens", "test": "npm run cleanup && jest", - "cleanup": "find ./.. -name '.DS_Store' -type f -delete", + "cleanup": "find ./.. -iname '.DS_Store' -type f -delete", "update-bep2": "node ./script/updateBEP2", "checksum": "npm run cleanup && node ./script/erc20_to_checksum", "list": "npm run cleanup && ts-node ./script/gen_list" diff --git a/script/verifyTokens.ts b/script/verifyTokens.ts index d3fd73db4..434c99c12 100644 --- a/script/verifyTokens.ts +++ b/script/verifyTokens.ts @@ -11,7 +11,7 @@ ethereumSidechains.forEach(chain => { }) const tokens = [].concat.apply([], addresses).map(a => a.toLowerCase()) -axios.post(TRUST_API_URL, tokens, { +axios.post(TRUST_API_URL, {tokens}, { headers: { TOKEN_VERIFICATION_KEY }