@lifi/data-types 4.5.1 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chains/supportedChains.evm.js +3 -308
- package/dist/chains/supportedChains.unit.spec.js +1 -7
- package/dist/cjs/chains/supportedChains.evm.js +3 -308
- package/dist/cjs/chains/supportedChains.unit.spec.js +1 -7
- package/dist/cjs/coins/coins.js +0 -322
- package/dist/cjs/multicall.js +0 -18
- package/dist/coins/coins.js +0 -322
- package/dist/multicall.js +0 -18
- package/package.json +2 -2
|
@@ -25,12 +25,6 @@ test('native token defined for all chains', () => {
|
|
|
25
25
|
types_1.ChainId.GL1,
|
|
26
26
|
types_1.ChainId.RSK,
|
|
27
27
|
types_1.ChainId.TBW,
|
|
28
|
-
types_1.ChainId.METT,
|
|
29
|
-
types_1.ChainId.DIOT,
|
|
30
|
-
types_1.ChainId.HECT,
|
|
31
|
-
types_1.ChainId.FUST,
|
|
32
|
-
types_1.ChainId.TLOT,
|
|
33
|
-
types_1.ChainId.RSKT,
|
|
34
28
|
];
|
|
35
29
|
const ignoredChainsForWrappedToken = [
|
|
36
30
|
...ignoredChainsForNativeToken,
|
|
@@ -65,7 +59,7 @@ test('native token defined for all chains', () => {
|
|
|
65
59
|
describe('findTokenByChainIdAndAddress', () => {
|
|
66
60
|
describe('token has no name override', () => {
|
|
67
61
|
it('returns a token with the coin name', () => {
|
|
68
|
-
expect((0, coins_1.findTokenByChainIdAndAddress)(types_1.ChainId.
|
|
62
|
+
expect((0, coins_1.findTokenByChainIdAndAddress)(types_1.ChainId.LNA, '0xa219439258ca9da29e9cc4ce5596924745e12b93').name).toEqual(types_1.CoinKey.USDT);
|
|
69
63
|
});
|
|
70
64
|
});
|
|
71
65
|
describe('token has a name override', () => {
|
package/dist/cjs/coins/coins.js
CHANGED
|
@@ -112,31 +112,6 @@ exports.basicCoins = [
|
|
|
112
112
|
address: '0x0000000000000000000000000000000000000000',
|
|
113
113
|
decimals: 18,
|
|
114
114
|
},
|
|
115
|
-
// Testnets
|
|
116
|
-
[types_1.ChainId.ONET]: {
|
|
117
|
-
address: '0x268d6ff391b41b36a13b1693bd25f87fb4e4b392',
|
|
118
|
-
decimals: 18,
|
|
119
|
-
},
|
|
120
|
-
[types_1.ChainId.BSCT]: {
|
|
121
|
-
address: '0xd66c6b4f0be8ce5b39d52e0fd1344c389929b378',
|
|
122
|
-
decimals: 18,
|
|
123
|
-
},
|
|
124
|
-
[types_1.ChainId.OPTG]: {
|
|
125
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
126
|
-
decimals: 18,
|
|
127
|
-
},
|
|
128
|
-
[types_1.ChainId.ARBG]: {
|
|
129
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
130
|
-
decimals: 18,
|
|
131
|
-
},
|
|
132
|
-
[types_1.ChainId.LNAT]: {
|
|
133
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
134
|
-
decimals: 18,
|
|
135
|
-
},
|
|
136
|
-
[types_1.ChainId.SCLT]: {
|
|
137
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
138
|
-
decimals: 18,
|
|
139
|
-
},
|
|
140
115
|
},
|
|
141
116
|
},
|
|
142
117
|
// > MATIC
|
|
@@ -175,11 +150,6 @@ exports.basicCoins = [
|
|
|
175
150
|
address: '0x6ab0b8c1a35f9f4ce107ccbd05049cb1dbd99ec5',
|
|
176
151
|
decimals: 18,
|
|
177
152
|
},
|
|
178
|
-
// Testnet
|
|
179
|
-
[types_1.ChainId.LNAT]: {
|
|
180
|
-
address: '0xa55C7E1274bE5db2275a0BDd055f81e8263b7954',
|
|
181
|
-
decimals: 18,
|
|
182
|
-
},
|
|
183
153
|
},
|
|
184
154
|
},
|
|
185
155
|
// > BNB
|
|
@@ -226,19 +196,6 @@ exports.basicCoins = [
|
|
|
226
196
|
address: '0x2b8e9cd44c9e09d936149549a8d207c918ecb5c4',
|
|
227
197
|
decimals: 18,
|
|
228
198
|
},
|
|
229
|
-
// Testnet
|
|
230
|
-
[types_1.ChainId.BSCT]: {
|
|
231
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
232
|
-
decimals: 18,
|
|
233
|
-
},
|
|
234
|
-
[types_1.ChainId.ONET]: {
|
|
235
|
-
address: '0xbef55684b382bae72051813a898d17282066c007',
|
|
236
|
-
decimals: 18,
|
|
237
|
-
},
|
|
238
|
-
[types_1.ChainId.LNAT]: {
|
|
239
|
-
address: '0x5471ea8f739dd37E9B81Be9c5c77754D8AA953E4',
|
|
240
|
-
decimals: 18,
|
|
241
|
-
},
|
|
242
199
|
},
|
|
243
200
|
},
|
|
244
201
|
// > DAI
|
|
@@ -342,8 +299,6 @@ exports.basicCoins = [
|
|
|
342
299
|
address: '0xcA77eB3fEFe3725Dc33bccB54eDEFc3D9f764f97',
|
|
343
300
|
decimals: 18,
|
|
344
301
|
},
|
|
345
|
-
// Testnets
|
|
346
|
-
// 42, 0x4f96fe3b7a6cf9725f59d353f723c1bdb64ca6aa, 18
|
|
347
302
|
},
|
|
348
303
|
},
|
|
349
304
|
// > FTM
|
|
@@ -380,15 +335,6 @@ exports.basicCoins = [
|
|
|
380
335
|
decimals: 8,
|
|
381
336
|
name: 'Avalanche (Wormhole)',
|
|
382
337
|
},
|
|
383
|
-
[types_1.ChainId.AVAT]: {
|
|
384
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
385
|
-
decimals: 18,
|
|
386
|
-
},
|
|
387
|
-
// Testnets
|
|
388
|
-
[types_1.ChainId.LNAT]: {
|
|
389
|
-
address: '0x265B25e22bcd7f10a5bD6E6410F10537Cc7567e8',
|
|
390
|
-
decimals: 18,
|
|
391
|
-
},
|
|
392
338
|
},
|
|
393
339
|
},
|
|
394
340
|
// > HT
|
|
@@ -420,11 +366,6 @@ exports.basicCoins = [
|
|
|
420
366
|
decimals: 18,
|
|
421
367
|
name: 'Harmony ONE',
|
|
422
368
|
},
|
|
423
|
-
// Testnet
|
|
424
|
-
[types_1.ChainId.ONET]: {
|
|
425
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
426
|
-
decimals: 18,
|
|
427
|
-
},
|
|
428
369
|
},
|
|
429
370
|
},
|
|
430
371
|
// > FSN
|
|
@@ -621,136 +562,6 @@ exports.basicCoins = [
|
|
|
621
562
|
},
|
|
622
563
|
},
|
|
623
564
|
},
|
|
624
|
-
// ======= STARGATE TESTNET TOKENS =======
|
|
625
|
-
// stargate USDC testtoken
|
|
626
|
-
{
|
|
627
|
-
key: types_1.CoinKey.sgUSDC,
|
|
628
|
-
name: types_1.CoinKey.sgUSDC,
|
|
629
|
-
logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
|
|
630
|
-
verified: true,
|
|
631
|
-
chains: {
|
|
632
|
-
[types_1.ChainId.ARBG]: {
|
|
633
|
-
address: '0x6aad876244e7a1ad44ec4824ce813729e5b6c291',
|
|
634
|
-
decimals: 6,
|
|
635
|
-
},
|
|
636
|
-
},
|
|
637
|
-
},
|
|
638
|
-
// stargate BUSD testtoken
|
|
639
|
-
{
|
|
640
|
-
key: types_1.CoinKey.sgBUSD,
|
|
641
|
-
name: types_1.CoinKey.sgBUSD,
|
|
642
|
-
logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
|
|
643
|
-
verified: true,
|
|
644
|
-
chains: {
|
|
645
|
-
[types_1.ChainId.BSCT]: {
|
|
646
|
-
address: '0x1010Bb1b9Dff29e6233E7947e045e0ba58f6E92e',
|
|
647
|
-
decimals: 6,
|
|
648
|
-
},
|
|
649
|
-
},
|
|
650
|
-
},
|
|
651
|
-
// stargate USDT testtoken
|
|
652
|
-
{
|
|
653
|
-
key: types_1.CoinKey.sgUSDT,
|
|
654
|
-
name: types_1.CoinKey.sgUSDT,
|
|
655
|
-
logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
|
|
656
|
-
verified: true,
|
|
657
|
-
chains: {
|
|
658
|
-
[types_1.ChainId.BSCT]: {
|
|
659
|
-
address: '0xf49e250aeb5abdf660d643583adfd0be41464efd',
|
|
660
|
-
decimals: 6,
|
|
661
|
-
},
|
|
662
|
-
[types_1.ChainId.ARBG]: {
|
|
663
|
-
address: '0x533046f316590c19d99c74ee661c6d541b64471c',
|
|
664
|
-
decimals: 6,
|
|
665
|
-
},
|
|
666
|
-
},
|
|
667
|
-
},
|
|
668
|
-
// stargate USDT testtoken
|
|
669
|
-
{
|
|
670
|
-
key: types_1.CoinKey.sgMETIS,
|
|
671
|
-
name: types_1.CoinKey.sgMETIS,
|
|
672
|
-
logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
|
|
673
|
-
verified: true,
|
|
674
|
-
chains: {
|
|
675
|
-
[types_1.ChainId.BSCT]: {
|
|
676
|
-
address: '0x8362af3426e6c7a77438f29bdc81c8f27cd541ab',
|
|
677
|
-
decimals: 18,
|
|
678
|
-
},
|
|
679
|
-
},
|
|
680
|
-
},
|
|
681
|
-
// stargate WOO testtoken
|
|
682
|
-
{
|
|
683
|
-
key: types_1.CoinKey.sgWOO,
|
|
684
|
-
name: types_1.CoinKey.sgWOO,
|
|
685
|
-
logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
|
|
686
|
-
verified: true,
|
|
687
|
-
chains: {
|
|
688
|
-
[types_1.ChainId.BSCT]: {
|
|
689
|
-
address: '0x6df6db769dd1c845596f7e65a1c86c98d6147cc3',
|
|
690
|
-
decimals: 18,
|
|
691
|
-
},
|
|
692
|
-
[types_1.ChainId.ARBG]: {
|
|
693
|
-
address: '0xac9da6d889e82d08de63f5752f91b151ffe059fb',
|
|
694
|
-
decimals: 18,
|
|
695
|
-
},
|
|
696
|
-
},
|
|
697
|
-
},
|
|
698
|
-
// cBridge CELER testtoken
|
|
699
|
-
{
|
|
700
|
-
key: types_1.CoinKey.cbtCELR,
|
|
701
|
-
name: types_1.CoinKey.cbtCELR,
|
|
702
|
-
logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
|
|
703
|
-
verified: true,
|
|
704
|
-
chains: {
|
|
705
|
-
[types_1.ChainId.BSCT]: {
|
|
706
|
-
address: '0x5471ea8f739dd37E9B81Be9c5c77754D8AA953E4',
|
|
707
|
-
decimals: 18,
|
|
708
|
-
},
|
|
709
|
-
},
|
|
710
|
-
},
|
|
711
|
-
// cBridge USDT testtoken
|
|
712
|
-
{
|
|
713
|
-
key: types_1.CoinKey.cbtUSDT,
|
|
714
|
-
name: types_1.CoinKey.cbtUSDT,
|
|
715
|
-
logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
|
|
716
|
-
verified: true,
|
|
717
|
-
chains: {
|
|
718
|
-
[types_1.ChainId.BSCT]: {
|
|
719
|
-
address: '0x7d43AABC515C356145049227CeE54B608342c0ad',
|
|
720
|
-
decimals: 6,
|
|
721
|
-
},
|
|
722
|
-
},
|
|
723
|
-
},
|
|
724
|
-
// cBridge WUSDT testtoken
|
|
725
|
-
{
|
|
726
|
-
key: types_1.CoinKey.cbtWUSDT,
|
|
727
|
-
name: types_1.CoinKey.cbtWUSDT,
|
|
728
|
-
logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
|
|
729
|
-
verified: true,
|
|
730
|
-
chains: {
|
|
731
|
-
[types_1.ChainId.BSCT]: {
|
|
732
|
-
address: '0xC826C23327098cd8A37f140114F2173A8F62DD29',
|
|
733
|
-
decimals: 6,
|
|
734
|
-
},
|
|
735
|
-
},
|
|
736
|
-
},
|
|
737
|
-
// cBridge USDC testtoken
|
|
738
|
-
{
|
|
739
|
-
key: types_1.CoinKey.cbtUSDC,
|
|
740
|
-
name: types_1.CoinKey.cbtUSDC,
|
|
741
|
-
logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
|
|
742
|
-
verified: true,
|
|
743
|
-
chains: {
|
|
744
|
-
[types_1.ChainId.AVAT]: {
|
|
745
|
-
address: '0x2979a1cb90EEB9e75d7fB4f9813FCC40E4a7fD8b',
|
|
746
|
-
decimals: 6,
|
|
747
|
-
},
|
|
748
|
-
[types_1.ChainId.BSCT]: {
|
|
749
|
-
address: '0x317F8d18FB16E49a958Becd0EA72f8E153d25654',
|
|
750
|
-
decimals: 6,
|
|
751
|
-
},
|
|
752
|
-
},
|
|
753
|
-
},
|
|
754
565
|
// USDC
|
|
755
566
|
{
|
|
756
567
|
key: types_1.CoinKey.USDC,
|
|
@@ -877,13 +688,6 @@ exports.basicCoins = [
|
|
|
877
688
|
address: '0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9',
|
|
878
689
|
decimals: 6,
|
|
879
690
|
},
|
|
880
|
-
// Testnets
|
|
881
|
-
[types_1.ChainId.LNAT]: {
|
|
882
|
-
address: '0x964FF70695da981027c81020B1c58d833D49A640',
|
|
883
|
-
decimals: 6,
|
|
884
|
-
name: 'Linea USD Coin',
|
|
885
|
-
},
|
|
886
|
-
// 42, 0xb7a4f3e9097c08da09517b5ab877f7a917224ede, 6
|
|
887
691
|
},
|
|
888
692
|
},
|
|
889
693
|
// USDC.e
|
|
@@ -971,15 +775,6 @@ exports.basicCoins = [
|
|
|
971
775
|
address: '0xe176ebe47d621b984a73036b9da5d834411ef734',
|
|
972
776
|
decimals: 18,
|
|
973
777
|
},
|
|
974
|
-
// testnets
|
|
975
|
-
[types_1.ChainId.BSCT]: {
|
|
976
|
-
address: '0xeB3Eb991D39Dac92616da64b7c6D5af5cCFf1627',
|
|
977
|
-
decimals: 18,
|
|
978
|
-
},
|
|
979
|
-
[types_1.ChainId.LNAT]: {
|
|
980
|
-
address: '0x7d43AABC515C356145049227CeE54B608342c0ad',
|
|
981
|
-
decimals: 18,
|
|
982
|
-
},
|
|
983
778
|
},
|
|
984
779
|
},
|
|
985
780
|
// USDB
|
|
@@ -995,40 +790,6 @@ exports.basicCoins = [
|
|
|
995
790
|
},
|
|
996
791
|
},
|
|
997
792
|
},
|
|
998
|
-
// TEST COIN
|
|
999
|
-
{
|
|
1000
|
-
key: types_1.CoinKey.TEST,
|
|
1001
|
-
name: types_1.CoinKey.TEST,
|
|
1002
|
-
logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
|
|
1003
|
-
verified: false,
|
|
1004
|
-
chains: {
|
|
1005
|
-
[types_1.ChainId.BSCT]: {
|
|
1006
|
-
address: '0xd86bcb7d85163fbc81756bb9cc22225d6abccadb',
|
|
1007
|
-
decimals: 18,
|
|
1008
|
-
},
|
|
1009
|
-
},
|
|
1010
|
-
},
|
|
1011
|
-
// Connext testnet coins
|
|
1012
|
-
{
|
|
1013
|
-
key: types_1.CoinKey.CXTT,
|
|
1014
|
-
name: types_1.CoinKey.CXTT,
|
|
1015
|
-
logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png',
|
|
1016
|
-
verified: false,
|
|
1017
|
-
chains: {
|
|
1018
|
-
[types_1.ChainId.LNAT]: {
|
|
1019
|
-
address: '0xb706319d37b945727e71ae0d4353699d19112576',
|
|
1020
|
-
decimals: 18,
|
|
1021
|
-
},
|
|
1022
|
-
[types_1.ChainId.ARBG]: {
|
|
1023
|
-
address: '0xDC805eAaaBd6F68904cA706C221c72F8a8a68F9f',
|
|
1024
|
-
decimals: 18,
|
|
1025
|
-
},
|
|
1026
|
-
[types_1.ChainId.OPTG]: {
|
|
1027
|
-
address: '0x68Db1c8d85C09d546097C65ec7DCBFF4D6497CbF',
|
|
1028
|
-
decimals: 18,
|
|
1029
|
-
},
|
|
1030
|
-
},
|
|
1031
|
-
},
|
|
1032
793
|
// > WBTC
|
|
1033
794
|
{
|
|
1034
795
|
key: types_1.CoinKey.WBTC,
|
|
@@ -1234,19 +995,6 @@ exports.basicCoins = [
|
|
|
1234
995
|
address: '0x4300000000000000000000000000000000000004',
|
|
1235
996
|
decimals: 18,
|
|
1236
997
|
},
|
|
1237
|
-
// Testnets
|
|
1238
|
-
[types_1.ChainId.OPTG]: {
|
|
1239
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
1240
|
-
decimals: 18,
|
|
1241
|
-
},
|
|
1242
|
-
[types_1.ChainId.LNAT]: {
|
|
1243
|
-
address: '0x2C1b868d6596a18e32E61B901E4060C872647b6C',
|
|
1244
|
-
decimals: 18,
|
|
1245
|
-
},
|
|
1246
|
-
[types_1.ChainId.SCLT]: {
|
|
1247
|
-
address: '0x5300000000000000000000000000000000000004',
|
|
1248
|
-
decimals: 18,
|
|
1249
|
-
},
|
|
1250
998
|
},
|
|
1251
999
|
},
|
|
1252
1000
|
// > SUSHI
|
|
@@ -1901,76 +1649,6 @@ exports.wrappedTokens = {
|
|
|
1901
1649
|
name: 'Wrapped BTC',
|
|
1902
1650
|
logoURI: 'https://static.debank.com/image/rsk_token/logo_url/0x542fda317318ebf1d3deaf76e0b632741a7e677d/4785a26ef5bb5df987e67ad49fc62137.png',
|
|
1903
1651
|
},
|
|
1904
|
-
// Testnets
|
|
1905
|
-
[types_1.ChainId.ONET]: {
|
|
1906
|
-
address: '0x7466d7d0c21fa05f32f5a0fa27e12bdc06348ce2',
|
|
1907
|
-
symbol: 'WONE',
|
|
1908
|
-
decimals: 18,
|
|
1909
|
-
chainId: types_1.ChainId.ONET,
|
|
1910
|
-
coinKey: 'WONE',
|
|
1911
|
-
name: 'WRAPPED ONE',
|
|
1912
|
-
logoURI: 'https://assets.coingecko.com/coins/images/18183/small/wonelogo.png',
|
|
1913
|
-
},
|
|
1914
|
-
[types_1.ChainId.ARBG]: {
|
|
1915
|
-
// https://goerli.arbiscan.io/token/0x42da9eE191833756c618778145A86E6709f70C9b
|
|
1916
|
-
address: '0x42da9eE191833756c618778145A86E6709f70C9b',
|
|
1917
|
-
symbol: 'WETH',
|
|
1918
|
-
decimals: 18,
|
|
1919
|
-
chainId: types_1.ChainId.ARBG,
|
|
1920
|
-
coinKey: types_1.CoinKey.WETH,
|
|
1921
|
-
name: 'WETH',
|
|
1922
|
-
logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
|
|
1923
|
-
},
|
|
1924
|
-
[types_1.ChainId.OPTG]: {
|
|
1925
|
-
// https://blockscout.com/optimism/goerli/address/0x4200000000000000000000000000000000000006
|
|
1926
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
1927
|
-
symbol: 'WETH',
|
|
1928
|
-
decimals: 18,
|
|
1929
|
-
chainId: types_1.ChainId.OPTG,
|
|
1930
|
-
coinKey: types_1.CoinKey.WETH,
|
|
1931
|
-
name: 'WETH',
|
|
1932
|
-
logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
|
|
1933
|
-
},
|
|
1934
|
-
[types_1.ChainId.BSCT]: {
|
|
1935
|
-
// https://testnet.bscscan.com/token/0xae13d989dac2f0debff460ac112a837c89baa7cd
|
|
1936
|
-
address: '0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd',
|
|
1937
|
-
symbol: 'WBNB',
|
|
1938
|
-
decimals: 18,
|
|
1939
|
-
chainId: types_1.ChainId.BSCT,
|
|
1940
|
-
coinKey: 'WBNB',
|
|
1941
|
-
name: 'WBNB',
|
|
1942
|
-
logoURI: 'https://static.debank.com/image/coin/logo_url/bnb/9784283a36f23a58982fc964574ea530.png',
|
|
1943
|
-
},
|
|
1944
|
-
[types_1.ChainId.LNAT]: {
|
|
1945
|
-
// https://explorer.prealpha.zkevm.consensys.net/address/0x2C1b868d6596a18e32E61B901E4060C872647b6C
|
|
1946
|
-
address: '0x2C1b868d6596a18e32E61B901E4060C872647b6C',
|
|
1947
|
-
symbol: 'WETH',
|
|
1948
|
-
decimals: 18,
|
|
1949
|
-
chainId: types_1.ChainId.LNAT,
|
|
1950
|
-
coinKey: types_1.CoinKey.WETH,
|
|
1951
|
-
name: 'WETH',
|
|
1952
|
-
logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
|
|
1953
|
-
},
|
|
1954
|
-
[types_1.ChainId.SCLT]: {
|
|
1955
|
-
// https://sepolia.scrollscan.com/token/0x5300000000000000000000000000000000000004
|
|
1956
|
-
address: '0x5300000000000000000000000000000000000004',
|
|
1957
|
-
symbol: 'WETH',
|
|
1958
|
-
decimals: 18,
|
|
1959
|
-
chainId: types_1.ChainId.SCLT,
|
|
1960
|
-
coinKey: types_1.CoinKey.WETH,
|
|
1961
|
-
name: 'WETH',
|
|
1962
|
-
logoURI: 'https://static.debank.com/image/era_token/logo_url/0x5aea5775959fbc2557cc8789bc1bf90a239d9a91/61844453e63cf81301f845d7864236f6.png',
|
|
1963
|
-
},
|
|
1964
|
-
[types_1.ChainId.AVAT]: {
|
|
1965
|
-
// https://testnet.snowtrace.io/token/0xd00ae08403B9bbb9124bB305C09058E32C39A48c
|
|
1966
|
-
address: '0xd00ae08403B9bbb9124bB305C09058E32C39A48c',
|
|
1967
|
-
symbol: 'WAVAX',
|
|
1968
|
-
decimals: 18,
|
|
1969
|
-
chainId: types_1.ChainId.AVA,
|
|
1970
|
-
coinKey: 'WAVAX',
|
|
1971
|
-
name: 'Wrapped AVAX',
|
|
1972
|
-
logoURI: 'https://static.debank.com/image/avax_token/logo_url/0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7/753d82f0137617110f8dec56309b4065.png',
|
|
1973
|
-
},
|
|
1974
1652
|
};
|
|
1975
1653
|
const findDefaultCoin = (coinKey) => {
|
|
1976
1654
|
const coin = exports.defaultCoins.find((coin) => coin.key === coinKey);
|
package/dist/cjs/multicall.js
CHANGED
|
@@ -54,24 +54,6 @@ exports.multicallAddresses = {
|
|
|
54
54
|
// [ChainId.TBW]: '', // TODO
|
|
55
55
|
// [ChainId.PALM]: '0x0769fd68dFb93167989C6f7254cd0D766Fb2841F',
|
|
56
56
|
// [ChainId.TELOS]: '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3',
|
|
57
|
-
// Testnet
|
|
58
|
-
[types_1.ChainId.BSCT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
59
|
-
[types_1.ChainId.ONET]: '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3',
|
|
60
|
-
[types_1.ChainId.AVAT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
61
|
-
[types_1.ChainId.OPTG]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
62
|
-
[types_1.ChainId.EVMT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
63
|
-
[types_1.ChainId.MORT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
64
|
-
[types_1.ChainId.FTMT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
65
|
-
[types_1.ChainId.RSKT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
66
|
-
[types_1.ChainId.ARBG]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
67
|
-
[types_1.ChainId.LNAT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
68
|
-
[types_1.ChainId.SCLT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
69
|
-
// TODO
|
|
70
|
-
// [ChainId.METT]: '', // TODO
|
|
71
|
-
// [ChainId.DIOT]: '', // TODO
|
|
72
|
-
// [ChainId.HECT]: '', // TODO
|
|
73
|
-
// [ChainId.FUST]: '', // TODO
|
|
74
|
-
// [ChainId.TLOT]: '', // TODO
|
|
75
57
|
// none EVM
|
|
76
58
|
// [ChainId.SOL]: '', // NOT NEEDED
|
|
77
59
|
// [ChainId.TER]: '', // NOT NEEDED
|