Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add mapped staging tokenlists #629

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const v2PopularTokensTestnet = require("./tokens/defaultTokensTestnet.json");
const v2PopularTokensTestnetNew = require("./tokens/defaultTokensTestnetNew.json");
const v2MappedTokensTestnet = require("./tokens/mappedTokensTestnet.json");
const v2PopularTokensStaging = require("./tokens/defaultTokensStaging.json");
const v2MappedTokensStaging = require("./tokens/mappedTokensStaging.json");
const v2MappedTokensTestnetNew = require("./tokens/mappedTokensTestnetNew.json");
const polygonTokensTokenList = require("./metadata/polygonTokens.json");
const popularTokenList = require("./metadata/popularTokens.json");
Expand All @@ -29,6 +30,7 @@ const v2PopularTestnetTokenList = require("./metadata/defaultTokensTestnet.json"
const v2MappedTestnetTokenList = require("./metadata/mappedTokensTestnet.json");
const v2PopularTestnetTokenListNew = require("./metadata/defaultTokensTestnetNew.json");
const v2PopularTokenListStaging = require("./metadata/defaultTokensStaging.json");
const v2MappedTokenListStaging = require("./metadata/mappedTokensStaging.json");
const v2MappedTestnetNewTokenList = require("./metadata/mappedTokensTestnetNew.json");

// Remove the project information from lists
Expand Down Expand Up @@ -101,6 +103,10 @@ module.exports = function buildList() {
timestamp,
tokens: v2PopularTokensStaging,
}); // Staging Tokenlist
Object.assign(v2MappedTokenListStaging, {
timestamp,
tokens: v2MappedTokensStaging,
}); // Staging Tokenlist

return {
allPolygonTokenList,
Expand All @@ -113,6 +119,7 @@ module.exports = function buildList() {
testnetTokenList,
blacklistTokenList,
v2PopularTokenListStaging,
v2MappedTokenListStaging,
v2PopularTokenList,
v2MappedTokenList,
v2PopularTestnetTokenList,
Expand Down
45 changes: 45 additions & 0 deletions src/metadata/mappedTokensStaging.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "Mapped Tokens Staging",
"version": 3,
"logoURI": "https://assets.polygon.technology/tokenAssets/matic.svg",
"description": "Contains tokens that are mapped to Polygon PoS and Polygon zkEVM. Anyone can propose updates to this list.",
"tags": {
"lxly": {
"name": "lxly",
"description": "Token mapped through lxly bride"
},
"pos": {
"name": "pos",
"description": "Token mapped through pos bride"
},
"plasma": {
"name": "plasma",
"description": "Token mapped through plasma bride"
},
"fx": { "name": "fx", "description": "Token mapped through fx bride" },
"zkevmMessageBridge": {
"name": "zkevmMessageBridge",
"description": "Token mapped through zkevmMessageBridge bride"
},
"customFx": {
"name": "customFx",
"description": "Token mapped through customFx bride"
},
"erc20": {
"name": "erc20",
"description": "Token of ERC20 token type"
},
"nativeToken": {
"name": "nativeToken",
"description": "Native token of the chain"
},
"customWithdrawEventSig": {
"name": "customWithdrawEventSig",
"description": "The token has a custom withdraw event signature"
},
"noDeposit": {
"name": "noDeposit",
"description": "Token not eligible for deposits"
}
}
}
Loading
Loading