Skip to content

Commit fa7271b

Browse files
authored
first batch tokenMapping move to coreAssets (DefiLlama#9199)
* first batch tokenMapping move to coreAssets * second batch (wip/merge server first)
1 parent 8d06142 commit fa7271b

File tree

2 files changed

+58
-79
lines changed

2 files changed

+58
-79
lines changed

projects/helper/coreAssets.json

Lines changed: 58 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,11 @@
218218
"USDC": "0xe3f5a90f9cb311505cd691a46596599aa1a0ad7d",
219219
"ETH": "0x639a647fbe20b6c8ac19e48e2de44ea792c62c5c",
220220
"ELK": "0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c",
221-
"BEPRO": "0xcb4a593ce512d78162c58384f0b2fd6e802c2c47"
221+
"BEPRO": "0xcb4a593ce512d78162c58384f0b2fd6e802c2c47",
222+
"MOVR": "0xffffffff98e37bf6a393504b5adc5b53b4d0ba11",
223+
"BNC": "0xffffffff3646a00f78cadf8883c5a2791bfcddc4",
224+
"KSM": "0xffffffffc6deec7fc8b11a2c8dde9a59f8c62efe"
225+
222226
},
223227
"moonbeam": {
224228
"WGLMR": "0x5f6c5c2fb289db2228d159c69621215e354218d7",
@@ -234,7 +238,9 @@
234238
"MOVR": "0x1d4c2a246311bb9f827f4c768e277ff5787b7d7e",
235239
"xcUSDT": "0xffffffffea09fb06d082fd1275cd48b191cbcd1d",
236240
"BEPRO": "0x4edf8e0778967012d46968ceadb75436d0426f88",
237-
"stDOT": "0xfa36fe1da08c89ec72ea1f0143a35bfd5daea108"
241+
"stDOT": "0xfa36fe1da08c89ec72ea1f0143a35bfd5daea108",
242+
"VGLMR": "0xffffffff99dabe1a8de0ea22baa6fd48fde96f6c",
243+
"FIL": "0xffffffffcd0ad0ea6576b7b285295c85e94cf4c1"
238244
},
239245
"arbitrum": {
240246
"WETH": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
@@ -556,7 +562,8 @@
556562
"ATID": "0x5271d85ce4241b310c0b34b7c2f1f036686a6d7c",
557563
"JPYC": "0x431d5dff03120afa4bdf332c61a6e1766ef37bdb",
558564
"aUSD": "0xffffffff00000000000000010000000000000001",
559-
"vDOT": "0xFfFfFfff00000000000000010000000000000008"
565+
"vDOT": "0xFfFfFfff00000000000000010000000000000008",
566+
"ASTR": "0xffffffff00000000000000010000000000000010"
560567
},
561568
"cardano": {
562569
"ADA": "ADA"
@@ -638,7 +645,8 @@
638645
},
639646
"kujira": {
640647
"KUJI": "ukuji",
641-
"USK": "factory/kujira1qk00h5atutpsv900x202pxx42npjr9thg58dnqpa72f2p7m2luase444a7/uusk"
648+
"USK": "factory/kujira1qk00h5atutpsv900x202pxx42npjr9thg58dnqpa72f2p7m2luase444a7/uusk",
649+
"FUZION": "factory/kujira1sc6a0347cc5q3k890jj0pf3ylx2s38rh4sza4t/ufuzn"
642650
},
643651
"injective": {
644652
"INJ": "inj",
@@ -661,7 +669,12 @@
661669
"USDC": "0xea1199d50ee09fa8062fd9da3d55c6f90c1babd2"
662670
},
663671
"tomochain": {
664-
"WTOMO": "0xb1f66997a5760428d3a87d68b90bfe0ae64121cc"
672+
"WTOMO": "0xb1f66997a5760428d3a87d68b90bfe0ae64121cc",
673+
"TOMO": "0xc054751bdbd24ae713ba3dc9bd9434abe2abc1ce",
674+
"USDT": "0xbbbfab9dcc27771d21d027f37f36b67cc4a25db0",
675+
"USDC": "0x20cc4574f263c54eb7ad630c9ac6d4d9068cf127",
676+
"ETH": "0x9ede19ede2baf93d25fba4c8f58577e008b8f963",
677+
"SAROS": "0xb786d9c8120d311b948cf1e5aa48d8fbacf477e2"
665678
},
666679
"ethereumclassic": {
667680
"WETC": "0x82A618305706B14e7bcf2592D4B9324A366b6dAd"
@@ -1129,7 +1142,8 @@
11291142
"AVAX": "0x4200000000000000000000000000000000000023"
11301143
},
11311144
"omax": {
1132-
"WOMAX": "0xfebabc6a9b2ec46d6357879b8bf39b593f11a5b9"
1145+
"WOMAX": "0xfebabc6a9b2ec46d6357879b8bf39b593f11a5b9",
1146+
"OMAX": "0x373e4b4E4D328927bc398A9B50e0082C6f91B7bb"
11331147
},
11341148
"wemix": {
11351149
"WWEMIX": "0x7d72b22a74a216af4a002a1095c8c707d6ec1c5f",
@@ -1282,7 +1296,18 @@
12821296
"BUSD": "0x35bf4004c3fc9f509259d4942da6bae3669e1db1",
12831297
"WMAPO": "0x13cb04d4a5dfb6398fc5ab005a6c84337256ee23",
12841298
"USDC": "0x9f722b2cb30093f766221fd0d37964949ed66918",
1285-
"ETH": "0x05ab928d446d8ce6761e368c8e7be03c3168a9ec"
1299+
"ETH": "0x05ab928d446d8ce6761e368c8e7be03c3168a9ec",
1300+
"ROUP": "0x3e76deF74d4187B5a01aBE4E011Bd94d9f057d94",
1301+
"WROUP": "0x5a1c3f3aaE616146C7b9bf9763E0ABA9bAFc5eaE",
1302+
"ORDI": "0xB719e46B6eB5b23E2759526CdE24589d87097733",
1303+
"WORDI": "0x9CA528368964cFb92cfFdd51dCcED25E27ACCef9",
1304+
"RATS": "0xcAF17cDdb80F72484e5A279921b98a0a9A2391ee",
1305+
"WRATS": "0x6369414F2b0e973c7E85A362141aA1430bc30056",
1306+
"CSAS": "0x640a4C0AaA4870BaDE2F646B7Da87b3D53819C4f",
1307+
"WSAS": "0x141b30Dd30FAFb87ec10312d52e5dbD86122FE14",
1308+
"BTCS": "0x0e2cA3e003f3c73C8cC18ec244d46DB9d4c4DCEB",
1309+
"WBTCS": "0xBE81B9390D894fEBf5e5D4Ea1486a003C1e8dc63",
1310+
"MMSS": "0x0fBb3B3Fb1e928f75B3Ed8b506bAb4503373fdca"
12861311
},
12871312
"bone": {
12881313
"WBONE": "0xcda1fa23ff3b9b7172be82237bf662efb69437e9"
@@ -1366,7 +1391,10 @@
13661391
},
13671392
"stacks": {
13681393
"WSTX": "SP1Z92MPDQEWZXW36VX71Q25HKF5K2EPCJ304F275.wstx-token-v4a",
1369-
"WBTC": "SP3DX3H4FEYZJZ586MFBS25ZW3HZDMEW92260R2PR.Wrapped-Bitcoin::wrapped-bitcoin"
1394+
"WBTC": "SP3DX3H4FEYZJZ586MFBS25ZW3HZDMEW92260R2PR.Wrapped-Bitcoin::wrapped-bitcoin",
1395+
"stSTX": "SP4SZE494VC2YC5JYG7AYFQ44F5Q4PYV7DVMDPBG.ststx-token::ststx",
1396+
"USDT": "SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.token-susdt::bridged-usdt",
1397+
"aBTC": "SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.token-abtc::bridged-btc"
13701398
},
13711399
"neon_evm": {
13721400
"WNEON": "0xb14760c064a1b9eaf9ec5a8a421971e40a51b59c"
@@ -1461,7 +1489,8 @@
14611489
"kroma": {
14621490
"WETH": "0x4200000000000000000000000000000000000001",
14631491
"USDC": "0x49A5010110a358d9069282873F3e7eCf6B41DC10",
1464-
"USDT": "0x0Cf7c2A584988871b654Bd79f96899e4cd6C41C0"
1492+
"USDT": "0x0Cf7c2A584988871b654Bd79f96899e4cd6C41C0",
1493+
"WEMIX": "0x3720b1dc2c8dde3bd6cfcf0b593d0a2bbcac856e"
14651494
},
14661495
"radixdlt": {
14671496
"XRD": "resource_rdx1tknxxxxxxxxxradxrdxxxxxxxxx009923554798xxxxxxxxxradxrd",
@@ -1588,5 +1617,25 @@
15881617
"bitrock": {
15891618
"WBR": "0x413f0e3a440aba7a15137f4278121450416882d5",
15901619
"BR": "0xde67d97b8770dc98c746a3fc0093c538666eb493"
1620+
},
1621+
"btn": {
1622+
"BTN": "0x8148b71232162ea7a0b1c8bfe2b8f023934bfb58"
1623+
},
1624+
"area": {
1625+
"AREA": "0x298b6a733cd34e41ca87b264d968c8ca7b0b9931"
1626+
},
1627+
"defiverse": {
1628+
"OAS": "0x5a89E11Cb554E00c2f51C4bb7F05bc7Ab0Fa6351",
1629+
"USDC": "0x7c6b91D9Be155A6Db01f749217d76fF02A7227F2",
1630+
"WBTC": "0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb",
1631+
"ETH": "0xE7798f023fC62146e8Aa1b36Da45fb70855a77Ea"
1632+
},
1633+
"xai": {
1634+
"XAI": "0x36be1fd6ff2a6beb34b500a04f89103a524516d8",
1635+
"USDC": "0x300a7b57dc85b6a9776e249614abf0fe5c9905fb"
1636+
},
1637+
"merlin": {
1638+
"WBTC": "0xF6D226f9Dc15d9bB51182815b320D3fBE324e1bA",
1639+
"VOYA": "0x480e158395cc5b41e5584347c495584ca2caf78d"
15911640
}
15921641
}

projects/helper/tokenMapping.js

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -37,76 +37,6 @@ const fixBalancesTokens = {
3737
// Sample Code
3838
ozone: {
3939
// '0x83048f0bf34feed8ced419455a4320a735a92e9d': { coingeckoId: "ozonechain", decimals: 18 }, // was mapped to wrong chain
40-
},
41-
map: {
42-
// https://docs.rolluper.xyz/how-does-roup-work/deployed-contracts
43-
// https://app.rolluper.xyz/
44-
'0x3e76deF74d4187B5a01aBE4E011Bd94d9f057d94': { coingeckoId: 'roup', decimals: 18 },
45-
'0x5a1c3f3aaE616146C7b9bf9763E0ABA9bAFc5eaE': { coingeckoId: 'roup', decimals: 18 },
46-
// '0x3b7fC78434B00586a2ad7c3DAd821e1b02fcA66f': { coingeckoId: '', decimals: 18 }, // mapo
47-
// '0xb84e5EF60f73ed0da684bC3C5d7962f3839ae619': { coingeckoId: '', decimals: 18 }, // STST
48-
'0xB719e46B6eB5b23E2759526CdE24589d87097733': { coingeckoId: 'ordinals', decimals: 18 },
49-
'0x9CA528368964cFb92cfFdd51dCcED25E27ACCef9': { coingeckoId: 'ordinals', decimals: 18 },
50-
'0xcAF17cDdb80F72484e5A279921b98a0a9A2391ee': { coingeckoId: 'rats', decimals: 18 },
51-
'0x6369414F2b0e973c7E85A362141aA1430bc30056': { coingeckoId: 'rats', decimals: 18 },
52-
'0x640a4C0AaA4870BaDE2F646B7Da87b3D53819C4f': { coingeckoId: 'comsats', decimals: 18 },
53-
'0x141b30Dd30FAFb87ec10312d52e5dbD86122FE14': { coingeckoId: 'comsats', decimals: 18 },
54-
'0x0e2cA3e003f3c73C8cC18ec244d46DB9d4c4DCEB': { coingeckoId: 'btcs', decimals: 18 },
55-
'0xBE81B9390D894fEBf5e5D4Ea1486a003C1e8dc63': { coingeckoId: 'btcs', decimals: 18 },
56-
'0x0fBb3B3Fb1e928f75B3Ed8b506bAb4503373fdca': { coingeckoId: 'mmss', decimals: 18 },
57-
},
58-
btn: {
59-
'0x8148b71232162ea7a0b1c8bfe2b8f023934bfb58': { coingeckoId: 'bitnet', decimals: 18 },
60-
},
61-
omax: {
62-
'0x373e4b4E4D328927bc398A9B50e0082C6f91B7bb': { coingeckoId: 'omax-token', decimals: 18 },
63-
},
64-
area: {
65-
'0x298b6a733cd34e41ca87b264d968c8ca7b0b9931': { coingeckoId: 'areon-network', decimals: 18 },
66-
},
67-
kujira: {
68-
'factory:kujira1sc6a0347cc5q3k890jj0pf3ylx2s38rh4sza4t:ufuzn': { coingeckoId: 'fuzion', decimals: 6 },
69-
},
70-
kroma: {
71-
'0x3720b1dc2c8dde3bd6cfcf0b593d0a2bbcac856e': { coingeckoId: 'wemix-token', decimals: 18 },
72-
},
73-
astar: {
74-
'0xffffffff00000000000000010000000000000010': { coingeckoId: 'astar', decimals: 18 },
75-
},
76-
moonriver: {
77-
'0xffffffff98e37bf6a393504b5adc5b53b4d0ba11': { coingeckoId: 'moonriver', decimals: 18 },
78-
'0xffffffff3646a00f78cadf8883c5a2791bfcddc4': { coingeckoId: 'bifrost-native-coin', decimals: 12 },
79-
'0xffffffffc6deec7fc8b11a2c8dde9a59f8c62efe': { coingeckoId: 'kusama', decimals: 12 },
80-
},
81-
moonbeam: {
82-
'0xffffffff99dabe1a8de0ea22baa6fd48fde96f6c': { coingeckoId: 'voucher-glmr', decimals: 18 },
83-
'0xffffffffcd0ad0ea6576b7b285295c85e94cf4c1': { coingeckoId: 'filecoin', decimals: 18 },
84-
},
85-
stacks: {
86-
'SP4SZE494VC2YC5JYG7AYFQ44F5Q4PYV7DVMDPBG.ststx-token::ststx': { coingeckoId: 'blockstack', decimals: 6 },
87-
'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.token-susdt::bridged-usdt': { coingeckoId: 'tether', decimals: 8 },
88-
'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.token-abtc::bridged-btc': { coingeckoId: 'bitcoin', decimals: 8 },
89-
},
90-
defiverse: {
91-
'0x5a89E11Cb554E00c2f51C4bb7F05bc7Ab0Fa6351': { coingeckoId: 'oasys', decimals: 18 },
92-
'0x7c6b91D9Be155A6Db01f749217d76fF02A7227F2': { coingeckoId: 'usd-coin', decimals: 18 },
93-
'0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb': { coingeckoId: 'wrapped-bitcoin', decimals: 18 },
94-
'0xE7798f023fC62146e8Aa1b36Da45fb70855a77Ea': { coingeckoId: 'ethereum', decimals: 18 },
95-
},
96-
tomochain: {
97-
'0xc054751bdbd24ae713ba3dc9bd9434abe2abc1ce': { coingeckoId: 'tomochain', decimals: 18 },
98-
'0xbbbfab9dcc27771d21d027f37f36b67cc4a25db0': { coingeckoId: 'tether', decimals: 18 },
99-
'0x20cc4574f263c54eb7ad630c9ac6d4d9068cf127': { coingeckoId: 'usd-coin', decimals: 6 },
100-
'0x9ede19ede2baf93d25fba4c8f58577e008b8f963': { coingeckoId: 'ethereum', decimals: 18 },
101-
'0xb786d9c8120d311b948cf1e5aa48d8fbacf477e2': { coingeckoId: 'saros-finance', decimals: 18 },
102-
},
103-
xai: {
104-
'0x36be1fd6ff2a6beb34b500a04f89103a524516d8': { coingeckoId: 'xai-blockchain', decimals: 18 },
105-
'0x300a7b57dc85b6a9776e249614abf0fe5c9905fb': { coingeckoId: 'usd-coin', decimals: 6 },
106-
},
107-
merlin: {
108-
'0xF6D226f9Dc15d9bB51182815b320D3fBE324e1bA': { coingeckoId: 'merlin-chain-bridged-wrapped-btc-merlin', decimals: 18 },
109-
'0x480e158395cc5b41e5584347c495584ca2caf78d': { coingeckoId: 'merlin-chain-bridged-voya-merlin', decimals: 18 },
11040
}
11141
}
11242

0 commit comments

Comments
 (0)