Skip to content

Commit

Permalink
fix some tokens
Browse files Browse the repository at this point in the history
Signed-off-by: James Ng <[email protected]>
  • Loading branch information
0xj4m35 committed Nov 29, 2024
1 parent 777b0f4 commit 6a4f4f7
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 16 deletions.
19 changes: 12 additions & 7 deletions internal/checkTVL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,17 @@ const LIMIT_PAGINATION = 100;
const __dirname = import.meta.dirname;
const TOKEN_DIR = path.join(__dirname, "../src/tokens");

const STABLE_COINS = [
"8db269c3ec630e06ae29f74bc39edd1f87c819f1056206e879a1cd61.446a65644d6963726f555344", // DJED
"f66d78b4a3cb3d37afa0ec36461e51ecbde00f26c8f0a68f94b69880.69555344", // iUSD
"25c5de5f5b286073c593edfd77b48abc7a48e5a4f3d4cd9d428ff935.55534443", // USDC
"c48cbb3d5e57ed56e276bc45f99ab39abe94e6cd7ac39fb402da47ad.5553444d", // USDM
"92776616f1f32c65a173392e4410a3d8c39dcf6ef768c73af164779c.4d79555344", // MyUSD
const WHITELIST_TOKENS = [
"8db269c3ec630e06ae29f74bc39edd1f87c819f1056206e879a1cd61446a65644d6963726f555344", // DJED
"f66d78b4a3cb3d37afa0ec36461e51ecbde00f26c8f0a68f94b6988069555344", // iUSD
"25c5de5f5b286073c593edfd77b48abc7a48e5a4f3d4cd9d428ff93555534443", // USDC
"c48cbb3d5e57ed56e276bc45f99ab39abe94e6cd7ac39fb402da47ad5553444d", // USDM
"92776616f1f32c65a173392e4410a3d8c39dcf6ef768c73af164779c4d79555344", // MyUSD
"af65a4734e8a22f43128913567566d2dde30d3b3298306d6317570f60014df104d494e20496e7465726e", // Minswap Intern
"c0ee29a85b13209423b10447d3c2e6a50641a15c57770e27cb9d507357696e67526964657273", // WingRiders
"e52964af4fffdb54504859875b1827b60ba679074996156461143dc14f5054494d", // Optim
"ececc92aeaaac1f5b665f567b01baec8bc2771804b4c21716a87a4e353504c415348", // Splash
"f6099832f9563e4cf59602b3351c3c5a8a7dda2d44575ef69b82cf8d", // OADA
];

const blockfrostAPI = new BlockFrostAPI({
Expand Down Expand Up @@ -62,7 +67,7 @@ async function verifyTVL() {
}

async function checkTVL(v1Pools: SDK.PoolV1.State[], v2Pools: SDK.PoolV2.State[], tokenId: string): Promise<boolean> {
if (STABLE_COINS.includes(tokenId)) {
if (WHITELIST_TOKENS.includes(tokenId)) {
return true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@ decimals: 6

verified: false

circulatingOnChain:
- https://www.mynth.ai/api/token-supply
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@ verified: true

decimals: 8

circulatingOnChain:
- https://production.revuto.com/api/v1/wallet/circulating_supply
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ socialLinks:

decimals: 6

verified: false
verified: true

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ socialLinks:
coinMarketCap: https://coinmarketcap.com/currencies/wingriders
coinGecko: https://www.coingecko.com/en/coins/wingriders

verified: false
verified: true

decimals: 6

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ socialLinks:
discord: https://discord.gg/VZ329q7x69
coinGecko: https://www.coingecko.com/en/coins/optim

verified: false
verified: true

maxSupply: '100000000000000'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ socialLinks:
twitter: https://x.com/splashprotocol
discord: https://discord.gg/NAvMKrQq9g

verified: false
verified: true

maxSupply: '100000000000000'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ socialLinks:

decimals: 6

verified: false
verified: true

0 comments on commit 6a4f4f7

Please sign in to comment.