Skip to content

Commit

Permalink
Merge pull request #499 from maticnetwork/feat-testnet-popular
Browse files Browse the repository at this point in the history
Feat testnet popular
  • Loading branch information
py-zoid authored Dec 5, 2023
2 parents 3836698 + 0b2bf7e commit 04caa56
Show file tree
Hide file tree
Showing 4 changed files with 367 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const zkevmPopularTokens = require("./tokens/zkevmPopularTokens.json");
const allPolygonTokens = require("./tokens/polygon.json");
const allPolygonTestnetTokens = require("./tokens/polygonTestnet.json");
const allPolygonPopularTokens = require("./tokens/polygonPopular.json");
const allPolygonTestnetPopularTokens = require("./tokens/polygonTestnetPopular.json");
const polygonTokensTokenList = require("./metadata/polygonTokens.json");
const popularTokenList = require("./metadata/popularTokens.json");
const testnetTokenList = require("./metadata/testnetTokens.json");
Expand All @@ -14,6 +15,7 @@ const zkevmPopularTokenList = require("./metadata/zkevmPopularTokens.json");
const allPolygonTokenList = require("./metadata/polygon.json");
const allPolygonTestnetTokenList = require("./metadata/polygonTestnet.json");
const allPolygonPopularTokenList = require("./metadata/polygonPopular.json");
const allPolygonTestnetPopularTokenList = require("./metadata/polygonTestnetPopular.json");

// Cross-chain lists
const ccTokenList = require("./metadata/crossChain.json");
Expand Down Expand Up @@ -63,6 +65,10 @@ module.exports = function buildList() {
timestamp,
tokens: allPolygonTestnetTokens,
}); // Aggregated Polygon Testnet Tokens List
Object.assign(allPolygonTestnetPopularTokenList, {
timestamp,
tokens: allPolygonTestnetPopularTokens,
}); // Aggregated Polygon Testnet Popular Tokens List
Object.assign(polygonTokensTokenList, { timestamp, tokens: polygonTokens }); // PolygonTokens tokenlist
Object.assign(popularTokenList, { timestamp, tokens: popularTokens }); // popular tokenlist
Object.assign(zkevmPopularTokenList, {
Expand Down Expand Up @@ -91,6 +97,7 @@ module.exports = function buildList() {
allPolygonTokenList,
allPolygonPopularTokenList,
allPolygonTestnetTokenList,
allPolygonTestnetPopularTokenList,
polygonTokensTokenList,
popularTokenList,
zkevmPopularTokenList,
Expand Down
68 changes: 68 additions & 0 deletions src/metadata/polygonTestnetPopular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"name": "Testnet Popular",
"version": {
"major": 1,
"minor": 0,
"patch": 0
},
"logoURI": "https://assets.polygon.technology/tokenAssets/matic.svg",
"keywords": ["polygon", "default", "tokens", "PoS", "zkEVM"],
"tags": {
"stablecoin": {
"name": "Stablecoin",
"description": "Tokens that are fixed to an external asset, e.g. the US dollar"
},
"swapable": {
"name": "Swapable",
"description": "Tokens are eligible for swaps"
},
"native": {
"name": "Native",
"description": "Tokens are native tokens of the chain"
},
"erc20": {
"name": "ERC20",
"description": "Tokens are of ERC20 token type"
},
"pos": {
"name": "PoS",
"description": "PoS tokens"
},
"fx": {
"name": "Fx",
"description": "fx tokens"
},
"plasma": {
"name": "Plasma",
"description": "Plasma tokens"
},
"lxly": {
"name": "LxLy",
"description": "LxLy tokens"
},
"metaTx": {
"name": "MetaTx",
"description": "Tokens are eligible for meta transactions"
},
"customSig": {
"name": "Custom Withdraw Sig",
"description": "The token has a custom withdraw event signature"
},
"noDeposit": {
"name": "Deposit Disabled",
"description": "Tokens are not eligible for deposits"
},
"noWithdraw": {
"name": "Withdraw Disabled",
"description": "Tokens are not eligible for withdraws"
},
"customZkevmBridge": {
"name": "Custom Zkevm Bridge",
"description": "Tokens that are bridged using zkEVM messaging layer"
},
"legacy": {
"name": "Legacy Token",
"description": "Tokens that are legacy"
}
}
}
280 changes: 280 additions & 0 deletions src/tokens/polygonTestnetPopular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,280 @@
[
{
"chainId": 80001,
"name": "Ether - PoS",
"symbol": "ETH",
"decimals": 18,
"address": "0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa",
"logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg",
"tags": ["pos", "erc20", "swapable"],
"extensions": {
"originTokenNetwork": 0,
"originTokenAddress": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
}
},
{
"chainId": 80001,
"name": "Matic",
"symbol": "MATIC",
"decimals": 18,
"address": "0x0000000000000000000000000000000000001010",
"logoURI": "https://assets.polygon.technology/tokenAssets/matic.svg",
"tags": ["plasma", "native", "swapable"],
"extensions": {
"originTokenNetwork": 0,
"originTokenAddress": "0x499d11E0b6eAC7c0593d8Fb292DCBbF815Fb29Ae"
}
},
{
"chainId": 80001,
"name": "Dummy ERC20",
"symbol": "DERC20",
"decimals": 18,
"address": "0xfe4F5145f6e09952a5ba9e956ED0C25e3Fa4c7F1",
"logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg",
"tags": ["pos", "erc20", "swapable"],
"extensions": {
"originTokenNetwork": 0,
"originTokenAddress": "0x655F2166b0709cd575202630952D71E2bB0d61Af"
}
},
{
"chainId": 80001,
"name": "Test Token",
"symbol": "TST",
"decimals": 18,
"address": "0xa0d9f8282cd48d22fd875e43be32793124f8ed47",
"logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg",
"tags": ["pos", "erc20", "swapable"],
"extensions": {
"originTokenNetwork": 0,
"originTokenAddress": "0x3f152b63ec5ca5831061b2dccfb29a874c317502"
}
},
{
"chainId": 1442,
"name": "Ether",
"symbol": "ETH",
"decimals": 18,
"address": "0x0000000000000000000000000000000000000000",
"logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg",
"tags": ["lxly", "erc20"],
"extensions": {
"originTokenNetwork": 0,
"wrappedTokenNetwork": 1,
"originTokenAddress": "0x0000000000000000000000000000000000000000"
}
},
{
"chainId": 1442,
"name": "USD Coin",
"symbol": "USDC",
"decimals": 18,
"address": "0xd0c02072A1132c8e6E63E57d11b97429E9628cbA",
"logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg",
"tags": ["lxly", "erc20"],
"extensions": {
"originTokenNetwork": 0,
"wrappedTokenNetwork": 1,
"originTokenAddress": "0xd35CCeEAD182dcee0F148EbaC9447DA2c4D449c4"
}
},
{
"chainId": 1442,
"name": "Tether USD",
"symbol": "USDT",
"decimals": 18,
"address": "0x7554dB7C0be89cFDAaa38dbb8C8cf5B78410e45b",
"logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg",
"tags": ["lxly", "erc20"],
"extensions": {
"originTokenNetwork": 0,
"wrappedTokenNetwork": 1,
"originTokenAddress": "0x509Ee0d083DdF8AC028f2a56731412edD63223B9"
}
},
{
"chainId": 1442,
"name": "Sample USDC",
"symbol": "sUSDC",
"decimals": 18,
"address": "0x20e8337597474636F95B68594EcB8DADeC4d3604",
"logoURI": "https://assets.polygon.technology/tokenAssets/eth.svg",
"tags": ["lxly", "erc20", "customZkevmBridge"],
"extensions": {
"originTokenNetwork": 0,
"wrappedTokenNetwork": 1,
"originTokenAddress": "0xCDB5456dCDFE09e7CB78BE79C8e4bF3C7498e217",
"originChainBridgeAdapter": "0x5eB6485573C2Ea289554A044e1D34b41958c0842",
"wrapperChainBridgeAdapter": "0x6b0393fD45B1a95EfB1bcd93536DaB44417119C3"
}
},
{
"chainId": 1442,
"name": "Dai Stablecoin",
"symbol": "DAI",
"decimals": 18,
"address": "0x755CB8A808c99706afAA34547204f17cD33C6316",
"logoURI": "https://assets.polygon.technology/tokenAssets/dai.svg",
"tags": ["lxly", "erc20", "customZkevmBridge"],
"extensions": {
"originTokenNetwork": 0,
"wrappedTokenNetwork": 1,
"originTokenAddress": "0x11fE4B6AE13d2a6055C8D9cF65c55bac32B5d844",
"originChainBridgeAdapter": "0x2929b2635E51f2dA1373A76F166A237322694fA6",
"wrapperChainBridgeAdapter": "0x755CB8A808c99706afAA34547204f17cD33C6316"
}
},
{
"chainId": 1442,
"name": "Matic Token",
"symbol": "MATIC",
"decimals": 18,
"address": "0x244f21e2cdb60e9b6c9aebb96ffe04489831f881",
"tags": ["lxly", "erc20"],
"extensions": {
"originTokenAddress": "0x4701aa9471d7bfac765d87dcb1ea6bb23ad32733",
"originTokenNetwork": 0,
"wrappedTokenNetwork": 1,
"wrappedTokenAddress": "0x244f21e2cdb60e9b6c9aebb96ffe04489831f881"
}
},
{
"chainId": 1442,
"name": "Clober DAI",
"symbol": "DAI",
"decimals": 18,
"address": "0x592fd6f9c35229cc0c4c64e61f8f2d6517f6cc65",
"tags": ["lxly", "erc20"],
"extensions": {
"originTokenAddress": "0x592fd6f9c35229cc0c4c64e61f8f2d6517f6cc65",
"originTokenNetwork": 1,
"wrappedTokenNetwork": 0,
"wrappedTokenAddress": "0x9cf388f0b453c2e44ccf4d41796979e34da9e083"
}
},
{
"chainId": 80001,
"name": "Dummy ERC20",
"symbol": "DERC20",
"decimals": 18,
"address": "0xfe4f5145f6e09952a5ba9e956ed0c25e3fa4c7f1",
"tags": ["pos", "erc20"],
"extensions": {
"originTokenNetwork": 0,
"originTokenAddress": "0x655f2166b0709cd575202630952d71e2bb0d61af"
}
},
{
"chainId": 1442,
"name": "Wrapped Ether",
"symbol": "WETH",
"decimals": 18,
"address": "0xb008b98c2a3eb376c9b0dcf4e626ffd7de1c5d67",
"tags": ["lxly", "erc20"],
"extensions": {
"originTokenAddress": "0xb008b98c2a3eb376c9b0dcf4e626ffd7de1c5d67",
"originTokenNetwork": 1,
"wrappedTokenNetwork": 0,
"wrappedTokenAddress": "0x52e5ceb757f86df563a67aa9f70e69d267e3c56d"
}
},
{
"chainId": 1442,
"name": "Dai Stablecoin",
"symbol": "DAI",
"decimals": 18,
"address": "0x0cda85ade5c84c386b69b562d1722642748dd194",
"tags": ["lxly", "erc20"],
"extensions": {
"originTokenAddress": "0xd7e55eb808693d5ff81a3391c59886c7e0449f35",
"originTokenNetwork": 0,
"wrappedTokenNetwork": 1,
"wrappedTokenAddress": "0x0cda85ade5c84c386b69b562d1722642748dd194"
}
},
{
"chainId": 1442,
"name": "Uniswap",
"symbol": "UNI",
"decimals": 18,
"address": "0x378588d64a464d61c646e5e86f4da5277e65802c",
"tags": ["lxly", "erc20"],
"extensions": {
"originTokenAddress": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
"originTokenNetwork": 0,
"wrappedTokenNetwork": 1,
"wrappedTokenAddress": "0x378588d64a464d61c646e5e86f4da5277e65802c"
}
},
{
"chainId": 1442,
"name": "zkEVM Test Token",
"symbol": "ZKTST",
"decimals": 18,
"address": "0xd23d6ec4bf2ea11a6d5a6efb25ad1aaa6765fe66",
"tags": ["lxly", "erc20"],
"extensions": {
"originTokenAddress": "0xd23d6ec4bf2ea11a6d5a6efb25ad1aaa6765fe66",
"originTokenNetwork": 1,
"wrappedTokenNetwork": 0,
"wrappedTokenAddress": "0x5ef54eef098e43b09d1058244d2156d17dfec811"
}
},
{
"chainId": 1442,
"name": "bb-native",
"symbol": "bbntv",
"decimals": 18,
"address": "0xd1f91a9be1cc816e317fe8c69f32589182b85c09",
"tags": ["lxly", "erc20"],
"extensions": {
"originTokenAddress": "0xd1f91a9be1cc816e317fe8c69f32589182b85c09",
"originTokenNetwork": 1,
"wrappedTokenNetwork": 0,
"wrappedTokenAddress": "0x005521ff94afdc281fffba1acf479a43258780e5"
}
},
{
"chainId": 1442,
"name": "BLUEBERRYNATIVE",
"symbol": "BLBRN",
"decimals": 18,
"address": "0x533dc89624dcc012c7323b41f286bd2df478800b",
"tags": ["lxly", "erc20"],
"extensions": {
"originTokenAddress": "0x533dc89624dcc012c7323b41f286bd2df478800b",
"originTokenNetwork": 1,
"wrappedTokenNetwork": 0,
"wrappedTokenAddress": "0xf63914c5a62cd3fe59680b89e72aba6a9e808567"
}
},
{
"chainId": 1442,
"name": "Wrapped Ether",
"symbol": "WETH",
"decimals": 18,
"address": "0x3ce1bab7b7bae26775f81ee3576a99f0ead5b33c",
"tags": ["lxly", "erc20"],
"extensions": {
"originTokenAddress": "0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6",
"originTokenNetwork": 0,
"wrappedTokenNetwork": 1,
"wrappedTokenAddress": "0x3ce1bab7b7bae26775f81ee3576a99f0ead5b33c"
}
},
{
"chainId": 1442,
"name": "Georli TestNet Bit Token",
"symbol": "BIT",
"decimals": 18,
"address": "0x0bb4a5e24045b7744e771c4fb5bc97f8a8073d63",
"tags": ["lxly", "erc20"],
"extensions": {
"originTokenAddress": "0x5a94dc6cc85fda49d8e9a8b85dde8629025c42be",
"originTokenNetwork": 0,
"wrappedTokenNetwork": 1,
"wrappedTokenAddress": "0x0bb4a5e24045b7744e771c4fb5bc97f8a8073d63"
}
}
]
Loading

0 comments on commit 04caa56

Please sign in to comment.