@lifi/types 3.2.8 → 4.0.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/CHANGELOG.md +11 -0
- package/dist/base.d.ts +0 -10
- package/dist/base.js +0 -10
- package/dist/cjs/base.d.ts +0 -10
- package/dist/cjs/base.js +0 -10
- package/dist/cjs/coins.js +0 -134
- package/dist/cjs/exchanges.js +0 -85
- package/dist/cjs/multicall.js +0 -5
- package/dist/coins.js +0 -134
- package/dist/exchanges.js +0 -85
- package/dist/multicall.js +0 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [4.0.0](https://github.com/lifinance/types/compare/v3.2.8...v4.0.0) (2023-04-24)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ⚠ BREAKING CHANGES
|
|
9
|
+
|
|
10
|
+
* continue removing old testnets references (#164)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* continue removing old testnets references ([#164](https://github.com/lifinance/types/issues/164)) ([1dc005b](https://github.com/lifinance/types/commit/1dc005b5e16be567f572aee6f89d6125eb95a16a))
|
|
15
|
+
|
|
5
16
|
### [3.2.8](https://github.com/lifinance/types/compare/v3.2.7...v3.2.8) (2023-04-21)
|
|
6
17
|
|
|
7
18
|
|
package/dist/base.d.ts
CHANGED
|
@@ -85,16 +85,11 @@ export declare enum ChainKey {
|
|
|
85
85
|
SOL = "sol",
|
|
86
86
|
EVM = "evm",
|
|
87
87
|
ARN = "arn",
|
|
88
|
-
ROP = "rop",
|
|
89
|
-
RIN = "rin",
|
|
90
88
|
GOR = "gor",
|
|
91
89
|
METT = "mett",
|
|
92
90
|
DIOT = "diot",
|
|
93
|
-
KOV = "kov",
|
|
94
91
|
MUM = "mum",
|
|
95
|
-
ARBT = "arbt",
|
|
96
92
|
ARBG = "arbg",
|
|
97
|
-
OPTT = "optt",
|
|
98
93
|
OPTG = "optg",
|
|
99
94
|
BSCT = "bsct",
|
|
100
95
|
HECT = "hect",
|
|
@@ -148,16 +143,11 @@ export declare enum ChainId {
|
|
|
148
143
|
OAS = 111971151099710,
|
|
149
144
|
EVM = 9001,
|
|
150
145
|
ARN = 42170,
|
|
151
|
-
ROP = 3,
|
|
152
|
-
RIN = 4,
|
|
153
146
|
GOR = 5,
|
|
154
147
|
METT = 12,
|
|
155
148
|
DIOT = 13,
|
|
156
|
-
KOV = 42,
|
|
157
149
|
MUM = 80001,
|
|
158
|
-
ARBT = 421611,
|
|
159
150
|
ARBG = 421613,
|
|
160
|
-
OPTT = 69,
|
|
161
151
|
OPTG = 420,
|
|
162
152
|
BSCT = 97,
|
|
163
153
|
HECT = 256,
|
package/dist/base.js
CHANGED
|
@@ -89,16 +89,11 @@ export var ChainKey;
|
|
|
89
89
|
ChainKey["EVM"] = "evm";
|
|
90
90
|
ChainKey["ARN"] = "arn";
|
|
91
91
|
// Testnets
|
|
92
|
-
ChainKey["ROP"] = "rop";
|
|
93
|
-
ChainKey["RIN"] = "rin";
|
|
94
92
|
ChainKey["GOR"] = "gor";
|
|
95
93
|
ChainKey["METT"] = "mett";
|
|
96
94
|
ChainKey["DIOT"] = "diot";
|
|
97
|
-
ChainKey["KOV"] = "kov";
|
|
98
95
|
ChainKey["MUM"] = "mum";
|
|
99
|
-
ChainKey["ARBT"] = "arbt";
|
|
100
96
|
ChainKey["ARBG"] = "arbg";
|
|
101
|
-
ChainKey["OPTT"] = "optt";
|
|
102
97
|
ChainKey["OPTG"] = "optg";
|
|
103
98
|
ChainKey["BSCT"] = "bsct";
|
|
104
99
|
ChainKey["HECT"] = "hect";
|
|
@@ -154,16 +149,11 @@ export var ChainId;
|
|
|
154
149
|
ChainId[ChainId["EVM"] = 9001] = "EVM";
|
|
155
150
|
ChainId[ChainId["ARN"] = 42170] = "ARN";
|
|
156
151
|
// Testnets
|
|
157
|
-
ChainId[ChainId["ROP"] = 3] = "ROP";
|
|
158
|
-
ChainId[ChainId["RIN"] = 4] = "RIN";
|
|
159
152
|
ChainId[ChainId["GOR"] = 5] = "GOR";
|
|
160
153
|
ChainId[ChainId["METT"] = 12] = "METT";
|
|
161
154
|
ChainId[ChainId["DIOT"] = 13] = "DIOT";
|
|
162
|
-
ChainId[ChainId["KOV"] = 42] = "KOV";
|
|
163
155
|
ChainId[ChainId["MUM"] = 80001] = "MUM";
|
|
164
|
-
ChainId[ChainId["ARBT"] = 421611] = "ARBT";
|
|
165
156
|
ChainId[ChainId["ARBG"] = 421613] = "ARBG";
|
|
166
|
-
ChainId[ChainId["OPTT"] = 69] = "OPTT";
|
|
167
157
|
ChainId[ChainId["OPTG"] = 420] = "OPTG";
|
|
168
158
|
ChainId[ChainId["BSCT"] = 97] = "BSCT";
|
|
169
159
|
ChainId[ChainId["HECT"] = 256] = "HECT";
|
package/dist/cjs/base.d.ts
CHANGED
|
@@ -85,16 +85,11 @@ export declare enum ChainKey {
|
|
|
85
85
|
SOL = "sol",
|
|
86
86
|
EVM = "evm",
|
|
87
87
|
ARN = "arn",
|
|
88
|
-
ROP = "rop",
|
|
89
|
-
RIN = "rin",
|
|
90
88
|
GOR = "gor",
|
|
91
89
|
METT = "mett",
|
|
92
90
|
DIOT = "diot",
|
|
93
|
-
KOV = "kov",
|
|
94
91
|
MUM = "mum",
|
|
95
|
-
ARBT = "arbt",
|
|
96
92
|
ARBG = "arbg",
|
|
97
|
-
OPTT = "optt",
|
|
98
93
|
OPTG = "optg",
|
|
99
94
|
BSCT = "bsct",
|
|
100
95
|
HECT = "hect",
|
|
@@ -148,16 +143,11 @@ export declare enum ChainId {
|
|
|
148
143
|
OAS = 111971151099710,
|
|
149
144
|
EVM = 9001,
|
|
150
145
|
ARN = 42170,
|
|
151
|
-
ROP = 3,
|
|
152
|
-
RIN = 4,
|
|
153
146
|
GOR = 5,
|
|
154
147
|
METT = 12,
|
|
155
148
|
DIOT = 13,
|
|
156
|
-
KOV = 42,
|
|
157
149
|
MUM = 80001,
|
|
158
|
-
ARBT = 421611,
|
|
159
150
|
ARBG = 421613,
|
|
160
|
-
OPTT = 69,
|
|
161
151
|
OPTG = 420,
|
|
162
152
|
BSCT = 97,
|
|
163
153
|
HECT = 256,
|
package/dist/cjs/base.js
CHANGED
|
@@ -92,16 +92,11 @@ var ChainKey;
|
|
|
92
92
|
ChainKey["EVM"] = "evm";
|
|
93
93
|
ChainKey["ARN"] = "arn";
|
|
94
94
|
// Testnets
|
|
95
|
-
ChainKey["ROP"] = "rop";
|
|
96
|
-
ChainKey["RIN"] = "rin";
|
|
97
95
|
ChainKey["GOR"] = "gor";
|
|
98
96
|
ChainKey["METT"] = "mett";
|
|
99
97
|
ChainKey["DIOT"] = "diot";
|
|
100
|
-
ChainKey["KOV"] = "kov";
|
|
101
98
|
ChainKey["MUM"] = "mum";
|
|
102
|
-
ChainKey["ARBT"] = "arbt";
|
|
103
99
|
ChainKey["ARBG"] = "arbg";
|
|
104
|
-
ChainKey["OPTT"] = "optt";
|
|
105
100
|
ChainKey["OPTG"] = "optg";
|
|
106
101
|
ChainKey["BSCT"] = "bsct";
|
|
107
102
|
ChainKey["HECT"] = "hect";
|
|
@@ -157,16 +152,11 @@ var ChainId;
|
|
|
157
152
|
ChainId[ChainId["EVM"] = 9001] = "EVM";
|
|
158
153
|
ChainId[ChainId["ARN"] = 42170] = "ARN";
|
|
159
154
|
// Testnets
|
|
160
|
-
ChainId[ChainId["ROP"] = 3] = "ROP";
|
|
161
|
-
ChainId[ChainId["RIN"] = 4] = "RIN";
|
|
162
155
|
ChainId[ChainId["GOR"] = 5] = "GOR";
|
|
163
156
|
ChainId[ChainId["METT"] = 12] = "METT";
|
|
164
157
|
ChainId[ChainId["DIOT"] = 13] = "DIOT";
|
|
165
|
-
ChainId[ChainId["KOV"] = 42] = "KOV";
|
|
166
158
|
ChainId[ChainId["MUM"] = 80001] = "MUM";
|
|
167
|
-
ChainId[ChainId["ARBT"] = 421611] = "ARBT";
|
|
168
159
|
ChainId[ChainId["ARBG"] = 421613] = "ARBG";
|
|
169
|
-
ChainId[ChainId["OPTT"] = 69] = "OPTT";
|
|
170
160
|
ChainId[ChainId["OPTG"] = 420] = "OPTG";
|
|
171
161
|
ChainId[ChainId["BSCT"] = 97] = "BSCT";
|
|
172
162
|
ChainId[ChainId["HECT"] = 256] = "HECT";
|
package/dist/cjs/coins.js
CHANGED
|
@@ -90,22 +90,10 @@ const basicCoins = [
|
|
|
90
90
|
decimals: 18,
|
|
91
91
|
},
|
|
92
92
|
// Testnets
|
|
93
|
-
[base_1.ChainId.ROP]: {
|
|
94
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
95
|
-
decimals: 18,
|
|
96
|
-
},
|
|
97
|
-
[base_1.ChainId.RIN]: {
|
|
98
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
99
|
-
decimals: 18,
|
|
100
|
-
},
|
|
101
93
|
[base_1.ChainId.GOR]: {
|
|
102
94
|
address: '0x0000000000000000000000000000000000000000',
|
|
103
95
|
decimals: 18,
|
|
104
96
|
},
|
|
105
|
-
[base_1.ChainId.KOV]: {
|
|
106
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
107
|
-
decimals: 18,
|
|
108
|
-
},
|
|
109
97
|
[base_1.ChainId.ONET]: {
|
|
110
98
|
address: '0x268d6ff391b41b36a13b1693bd25f87fb4e4b392',
|
|
111
99
|
decimals: 18,
|
|
@@ -114,18 +102,10 @@ const basicCoins = [
|
|
|
114
102
|
address: '0xd66c6b4f0be8ce5b39d52e0fd1344c389929b378',
|
|
115
103
|
decimals: 18,
|
|
116
104
|
},
|
|
117
|
-
[base_1.ChainId.OPTT]: {
|
|
118
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
119
|
-
decimals: 18,
|
|
120
|
-
},
|
|
121
105
|
[base_1.ChainId.OPTG]: {
|
|
122
106
|
address: '0x0000000000000000000000000000000000000000',
|
|
123
107
|
decimals: 18,
|
|
124
108
|
},
|
|
125
|
-
[base_1.ChainId.ARBT]: {
|
|
126
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
127
|
-
decimals: 18,
|
|
128
|
-
},
|
|
129
109
|
[base_1.ChainId.ARBG]: {
|
|
130
110
|
address: '0x0000000000000000000000000000000000000000',
|
|
131
111
|
decimals: 18,
|
|
@@ -331,22 +311,10 @@ const basicCoins = [
|
|
|
331
311
|
decimals: 18,
|
|
332
312
|
},
|
|
333
313
|
// Testnets
|
|
334
|
-
[base_1.ChainId.ROP]: {
|
|
335
|
-
address: '0x31f42841c2db5173425b5223809cf3a38fede360',
|
|
336
|
-
decimals: 18,
|
|
337
|
-
},
|
|
338
|
-
[base_1.ChainId.RIN]: {
|
|
339
|
-
address: '0x5592ec0cfb4dbc12d3ab100b257153436a1f0fea',
|
|
340
|
-
decimals: 18,
|
|
341
|
-
},
|
|
342
314
|
[base_1.ChainId.GOR]: {
|
|
343
315
|
address: '0xdc31ee1784292379fbb2964b3b9c4124d8f89c60',
|
|
344
316
|
decimals: 18,
|
|
345
317
|
},
|
|
346
|
-
[base_1.ChainId.KOV]: {
|
|
347
|
-
address: '0x4f96fe3b7a6cf9725f59d353f723c1bdb64ca6aa',
|
|
348
|
-
decimals: 18,
|
|
349
|
-
},
|
|
350
318
|
[base_1.ChainId.MUM]: {
|
|
351
319
|
address: '0xb224913ce3851b0a0d7c0fb461eef40f2e31ddb8',
|
|
352
320
|
decimals: 18,
|
|
@@ -576,18 +544,6 @@ const basicCoins = [
|
|
|
576
544
|
name: 'Multichain USDT',
|
|
577
545
|
},
|
|
578
546
|
// Testnets
|
|
579
|
-
[base_1.ChainId.ROP]: {
|
|
580
|
-
address: '0x110a13fc3efe6a245b50102d2d79b3e76125ae83',
|
|
581
|
-
decimals: 6,
|
|
582
|
-
},
|
|
583
|
-
[base_1.ChainId.RIN]: {
|
|
584
|
-
address: '0xd9ba894e0097f8cc2bbc9d24d308b98e36dc6d02',
|
|
585
|
-
decimals: 6,
|
|
586
|
-
},
|
|
587
|
-
[base_1.ChainId.KOV]: {
|
|
588
|
-
address: '0x07de306ff27a2b630b1141956844eb1552b956b5',
|
|
589
|
-
decimals: 6,
|
|
590
|
-
},
|
|
591
547
|
[base_1.ChainId.GOR]: {
|
|
592
548
|
address: '0x509ee0d083ddf8ac028f2a56731412edd63223b9',
|
|
593
549
|
decimals: 6,
|
|
@@ -712,14 +668,6 @@ const basicCoins = [
|
|
|
712
668
|
name: 'Multichain USDC',
|
|
713
669
|
},
|
|
714
670
|
// Testnets
|
|
715
|
-
[base_1.ChainId.ROP]: {
|
|
716
|
-
address: '0x07865c6e87b9f70255377e024ace6630c1eaa37f',
|
|
717
|
-
decimals: 6,
|
|
718
|
-
},
|
|
719
|
-
[base_1.ChainId.RIN]: {
|
|
720
|
-
address: '0x4dbcdf9b62e891a7cec5a2568c3f4faf9e8abe2b',
|
|
721
|
-
decimals: 6,
|
|
722
|
-
},
|
|
723
671
|
[base_1.ChainId.GOR]: {
|
|
724
672
|
address: '0xd87ba7a50b2e7e660f678a895e4b72e7cb4ccd9c',
|
|
725
673
|
decimals: 6,
|
|
@@ -797,14 +745,6 @@ const basicCoins = [
|
|
|
797
745
|
logoURI: 'https://xpollinate.io/icon192.png',
|
|
798
746
|
verified: false,
|
|
799
747
|
chains: {
|
|
800
|
-
[base_1.ChainId.ROP]: {
|
|
801
|
-
address: '0xe71678794fff8846bff855f716b0ce9d9a78e844',
|
|
802
|
-
decimals: 18,
|
|
803
|
-
},
|
|
804
|
-
[base_1.ChainId.RIN]: {
|
|
805
|
-
address: '0x9ac2c46d7acc21c881154d57c0dc1c55a3139198',
|
|
806
|
-
decimals: 18,
|
|
807
|
-
},
|
|
808
748
|
[base_1.ChainId.GOR]: {
|
|
809
749
|
address: '0x8a1cad3703e0beae0e0237369b4fcd04228d1682',
|
|
810
750
|
decimals: 18,
|
|
@@ -813,18 +753,10 @@ const basicCoins = [
|
|
|
813
753
|
address: '0xe71678794fff8846bff855f716b0ce9d9a78e844',
|
|
814
754
|
decimals: 18,
|
|
815
755
|
},
|
|
816
|
-
[base_1.ChainId.ARBT]: {
|
|
817
|
-
address: '0xe71678794fff8846bff855f716b0ce9d9a78e844',
|
|
818
|
-
decimals: 18,
|
|
819
|
-
},
|
|
820
756
|
[base_1.ChainId.BSCT]: {
|
|
821
757
|
address: '0xd86bcb7d85163fbc81756bb9cc22225d6abccadb',
|
|
822
758
|
decimals: 18,
|
|
823
759
|
},
|
|
824
|
-
[base_1.ChainId.OPTT]: {
|
|
825
|
-
address: '0xe71678794fff8846bff855f716b0ce9d9a78e844',
|
|
826
|
-
decimals: 18,
|
|
827
|
-
},
|
|
828
760
|
},
|
|
829
761
|
},
|
|
830
762
|
// Connext testnet coins
|
|
@@ -1025,30 +957,14 @@ const basicCoins = [
|
|
|
1025
957
|
decimals: 18,
|
|
1026
958
|
},
|
|
1027
959
|
// Testnets
|
|
1028
|
-
[base_1.ChainId.ROP]: {
|
|
1029
|
-
address: '0xc778417e063141139fce010982780140aa0cd5ab',
|
|
1030
|
-
decimals: 18,
|
|
1031
|
-
},
|
|
1032
|
-
[base_1.ChainId.RIN]: {
|
|
1033
|
-
address: '0xc778417e063141139fce010982780140aa0cd5ab',
|
|
1034
|
-
decimals: 18,
|
|
1035
|
-
},
|
|
1036
960
|
[base_1.ChainId.GOR]: {
|
|
1037
961
|
address: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6',
|
|
1038
962
|
decimals: 18,
|
|
1039
963
|
},
|
|
1040
|
-
[base_1.ChainId.KOV]: {
|
|
1041
|
-
address: '0xd0a1e359811322d97991e03f863a0c30c2cf029c',
|
|
1042
|
-
decimals: 18,
|
|
1043
|
-
},
|
|
1044
964
|
[base_1.ChainId.MUM]: {
|
|
1045
965
|
address: '0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa',
|
|
1046
966
|
decimals: 18,
|
|
1047
967
|
},
|
|
1048
|
-
[base_1.ChainId.OPTT]: {
|
|
1049
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
1050
|
-
decimals: 18,
|
|
1051
|
-
},
|
|
1052
968
|
[base_1.ChainId.OPTG]: {
|
|
1053
969
|
address: '0x4200000000000000000000000000000000000006',
|
|
1054
970
|
decimals: 18,
|
|
@@ -1579,26 +1495,6 @@ exports.wrappedTokens = {
|
|
|
1579
1495
|
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/tokens/vlx.png',
|
|
1580
1496
|
},
|
|
1581
1497
|
// Testnets
|
|
1582
|
-
[base_1.ChainId.ROP]: {
|
|
1583
|
-
// https://ropsten.etherscan.io/token/0xc778417e063141139fce010982780140aa0cd5ab
|
|
1584
|
-
address: '0xc778417e063141139fce010982780140aa0cd5ab',
|
|
1585
|
-
symbol: 'WETH',
|
|
1586
|
-
decimals: 18,
|
|
1587
|
-
chainId: base_1.ChainId.ROP,
|
|
1588
|
-
coinKey: base_1.CoinKey.WETH,
|
|
1589
|
-
name: 'WETH',
|
|
1590
|
-
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1591
|
-
},
|
|
1592
|
-
[base_1.ChainId.RIN]: {
|
|
1593
|
-
// https://rinkeby.etherscan.io/token/0xc778417e063141139fce010982780140aa0cd5ab
|
|
1594
|
-
address: '0xc778417e063141139fce010982780140aa0cd5ab',
|
|
1595
|
-
symbol: 'WETH',
|
|
1596
|
-
decimals: 18,
|
|
1597
|
-
chainId: base_1.ChainId.RIN,
|
|
1598
|
-
coinKey: base_1.CoinKey.WETH,
|
|
1599
|
-
name: 'WETH',
|
|
1600
|
-
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1601
|
-
},
|
|
1602
1498
|
[base_1.ChainId.GOR]: {
|
|
1603
1499
|
// https://goerli.etherscan.io/token/0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6
|
|
1604
1500
|
address: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6',
|
|
@@ -1609,16 +1505,6 @@ exports.wrappedTokens = {
|
|
|
1609
1505
|
name: 'WETH',
|
|
1610
1506
|
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1611
1507
|
},
|
|
1612
|
-
[base_1.ChainId.KOV]: {
|
|
1613
|
-
// https://kovan.etherscan.io/address/0xd0a1e359811322d97991e03f863a0c30c2cf029c
|
|
1614
|
-
address: '0xd0a1e359811322d97991e03f863a0c30c2cf029c',
|
|
1615
|
-
symbol: 'WETH',
|
|
1616
|
-
decimals: 18,
|
|
1617
|
-
chainId: base_1.ChainId.KOV,
|
|
1618
|
-
coinKey: base_1.CoinKey.WETH,
|
|
1619
|
-
name: 'WETH',
|
|
1620
|
-
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1621
|
-
},
|
|
1622
1508
|
[base_1.ChainId.MUM]: {
|
|
1623
1509
|
// https://mumbai.polygonscan.com/token/0x9c3c9283d3e44854697cd22d3faa240cfb032889
|
|
1624
1510
|
address: '0x9c3c9283d3e44854697cd22d3faa240cfb032889',
|
|
@@ -1638,16 +1524,6 @@ exports.wrappedTokens = {
|
|
|
1638
1524
|
name: 'WRAPPED ONE',
|
|
1639
1525
|
logoURI: 'https://d1xrz6ki9z98vb.cloudfront.net/venomswap/tokens/WONE.png',
|
|
1640
1526
|
},
|
|
1641
|
-
[base_1.ChainId.ARBT]: {
|
|
1642
|
-
// https://testnet.arbiscan.io/token/0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681
|
|
1643
|
-
address: '0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681',
|
|
1644
|
-
symbol: 'WETH',
|
|
1645
|
-
decimals: 18,
|
|
1646
|
-
chainId: base_1.ChainId.ARBT,
|
|
1647
|
-
coinKey: base_1.CoinKey.WETH,
|
|
1648
|
-
name: 'WETH',
|
|
1649
|
-
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1650
|
-
},
|
|
1651
1527
|
[base_1.ChainId.ARBG]: {
|
|
1652
1528
|
// https://goerli.arbiscan.io/token/0x42da9eE191833756c618778145A86E6709f70C9b
|
|
1653
1529
|
address: '0x42da9eE191833756c618778145A86E6709f70C9b',
|
|
@@ -1658,16 +1534,6 @@ exports.wrappedTokens = {
|
|
|
1658
1534
|
name: 'WETH',
|
|
1659
1535
|
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1660
1536
|
},
|
|
1661
|
-
[base_1.ChainId.OPTT]: {
|
|
1662
|
-
// https://kovan-optimistic.etherscan.io/token/0x4200000000000000000000000000000000000006
|
|
1663
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
1664
|
-
symbol: 'WETH',
|
|
1665
|
-
decimals: 18,
|
|
1666
|
-
chainId: base_1.ChainId.OPTT,
|
|
1667
|
-
coinKey: base_1.CoinKey.WETH,
|
|
1668
|
-
name: 'WETH',
|
|
1669
|
-
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1670
|
-
},
|
|
1671
1537
|
[base_1.ChainId.OPTG]: {
|
|
1672
1538
|
// https://blockscout.com/optimism/goerli/address/0x4200000000000000000000000000000000000006
|
|
1673
1539
|
address: '0x4200000000000000000000000000000000000006',
|
package/dist/cjs/exchanges.js
CHANGED
|
@@ -1001,62 +1001,6 @@ exports.supportedExchanges = [
|
|
|
1001
1001
|
],
|
|
1002
1002
|
},
|
|
1003
1003
|
// TESTNETS
|
|
1004
|
-
// 3 - Ropsten
|
|
1005
|
-
{
|
|
1006
|
-
key: 'uniswap-rop',
|
|
1007
|
-
name: 'Uniswap',
|
|
1008
|
-
chainId: _1.ChainId.ROP,
|
|
1009
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/uniswap.png',
|
|
1010
|
-
webUrl: 'https://app.uniswap.org/',
|
|
1011
|
-
tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
|
|
1012
|
-
routerAddress: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D',
|
|
1013
|
-
factoryAddress: '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f',
|
|
1014
|
-
initCodeHash: '0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f',
|
|
1015
|
-
baseTokens: [
|
|
1016
|
-
(0, _1.findDefaultToken)(_1.CoinKey.ETH, _1.ChainId.ROP),
|
|
1017
|
-
(0, _1.findDefaultToken)(_1.CoinKey.WETH, _1.ChainId.ROP),
|
|
1018
|
-
],
|
|
1019
|
-
},
|
|
1020
|
-
// TODO: sushiswap does not work properly
|
|
1021
|
-
// {
|
|
1022
|
-
// key: 'sushiswap-rop',
|
|
1023
|
-
// name: 'SushiSwap',
|
|
1024
|
-
// chainId: ChainId.ROP,
|
|
1025
|
-
// logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/sushi.png',
|
|
1026
|
-
// webUrl: 'https://app.sushi.com/swap',
|
|
1027
|
-
// tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/list/master/lists/token-lists/default-token-list/tokens/ropsten.json',
|
|
1028
|
-
// routerAddress: '0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506',
|
|
1029
|
-
// factoryAddress: '0xc35DADB65012eC5796536bD9864eD8773aBc74C4',
|
|
1030
|
-
// initCodeHash: '0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303',
|
|
1031
|
-
// },
|
|
1032
|
-
// 4 - Rinkeby
|
|
1033
|
-
{
|
|
1034
|
-
key: 'uniswap-rin',
|
|
1035
|
-
name: 'Uniswap',
|
|
1036
|
-
chainId: _1.ChainId.RIN,
|
|
1037
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/uniswap.png',
|
|
1038
|
-
webUrl: 'https://app.uniswap.org/',
|
|
1039
|
-
tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
|
|
1040
|
-
routerAddress: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D',
|
|
1041
|
-
factoryAddress: '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f',
|
|
1042
|
-
initCodeHash: '0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f',
|
|
1043
|
-
baseTokens: [
|
|
1044
|
-
(0, _1.findDefaultToken)(_1.CoinKey.ETH, _1.ChainId.RIN),
|
|
1045
|
-
(0, _1.findDefaultToken)(_1.CoinKey.WETH, _1.ChainId.RIN),
|
|
1046
|
-
],
|
|
1047
|
-
},
|
|
1048
|
-
// TODO: sushiswap does not work properly
|
|
1049
|
-
// {
|
|
1050
|
-
// key: 'sushiswap-rin',
|
|
1051
|
-
// name: 'SushiSwap',
|
|
1052
|
-
// chainId: ChainId.RIN,
|
|
1053
|
-
// logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/sushi.png',
|
|
1054
|
-
// webUrl: 'https://app.sushi.com/swap',
|
|
1055
|
-
// tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/list/master/lists/token-lists/default-token-list/tokens/rinkeby.json',
|
|
1056
|
-
// routerAddress: '0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506',
|
|
1057
|
-
// factoryAddress: '0xc35DADB65012eC5796536bD9864eD8773aBc74C4',
|
|
1058
|
-
// initCodeHash: '0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303',
|
|
1059
|
-
// },
|
|
1060
1004
|
// 5 - Goerli
|
|
1061
1005
|
{
|
|
1062
1006
|
key: 'uniswap-gor',
|
|
@@ -1086,35 +1030,6 @@ exports.supportedExchanges = [
|
|
|
1086
1030
|
// initCodeHash: '0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303',
|
|
1087
1031
|
// baseTokens: [],
|
|
1088
1032
|
// },
|
|
1089
|
-
// 42 - Kovan
|
|
1090
|
-
{
|
|
1091
|
-
key: 'uniswap-kov',
|
|
1092
|
-
name: 'Uniswap',
|
|
1093
|
-
chainId: _1.ChainId.KOV,
|
|
1094
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/uniswap.png',
|
|
1095
|
-
webUrl: 'https://app.uniswap.org/',
|
|
1096
|
-
tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
|
|
1097
|
-
routerAddress: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D',
|
|
1098
|
-
factoryAddress: '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f',
|
|
1099
|
-
initCodeHash: '0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f',
|
|
1100
|
-
baseTokens: [
|
|
1101
|
-
(0, _1.findDefaultToken)(_1.CoinKey.ETH, _1.ChainId.KOV),
|
|
1102
|
-
(0, _1.findDefaultToken)(_1.CoinKey.WETH, _1.ChainId.KOV),
|
|
1103
|
-
],
|
|
1104
|
-
},
|
|
1105
|
-
// TODO: sushiswap does not work properly
|
|
1106
|
-
// {
|
|
1107
|
-
// key: 'sushiswap-kov',
|
|
1108
|
-
// name: 'SushiSwap',
|
|
1109
|
-
// chainId: ChainId.KOV,
|
|
1110
|
-
// logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/sushi.png',
|
|
1111
|
-
// webUrl: 'https://app.sushi.com/swap',
|
|
1112
|
-
// tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/list/master/lists/token-lists/default-token-list/tokens/kovan.json',
|
|
1113
|
-
// routerAddress: '0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506',
|
|
1114
|
-
// factoryAddress: '0xc35DADB65012eC5796536bD9864eD8773aBc74C4',
|
|
1115
|
-
// initCodeHash: '0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303',
|
|
1116
|
-
// baseTokens: [],
|
|
1117
|
-
// },
|
|
1118
1033
|
// 1666700000 - HARMONY TESTNET
|
|
1119
1034
|
// TODO: Only sushiswap support ONET but official swap website also does not work correctly
|
|
1120
1035
|
{
|
package/dist/cjs/multicall.js
CHANGED
|
@@ -47,16 +47,11 @@ exports.multicallAddresses = {
|
|
|
47
47
|
// [ChainId.PALM]: '0x0769fd68dFb93167989C6f7254cd0D766Fb2841F',
|
|
48
48
|
// [ChainId.TELOS]: '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3',
|
|
49
49
|
// Testnet
|
|
50
|
-
[_1.ChainId.ROP]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
51
|
-
[_1.ChainId.RIN]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
52
50
|
[_1.ChainId.GOR]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
53
|
-
[_1.ChainId.KOV]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
54
51
|
[_1.ChainId.MUM]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
55
|
-
[_1.ChainId.ARBT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
56
52
|
[_1.ChainId.BSCT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
57
53
|
[_1.ChainId.ONET]: '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3',
|
|
58
54
|
[_1.ChainId.AVAT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
59
|
-
[_1.ChainId.OPTT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
60
55
|
[_1.ChainId.OPTG]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
61
56
|
[_1.ChainId.EVMT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
62
57
|
[_1.ChainId.MORT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
package/dist/coins.js
CHANGED
|
@@ -87,22 +87,10 @@ const basicCoins = [
|
|
|
87
87
|
decimals: 18,
|
|
88
88
|
},
|
|
89
89
|
// Testnets
|
|
90
|
-
[ChainId.ROP]: {
|
|
91
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
92
|
-
decimals: 18,
|
|
93
|
-
},
|
|
94
|
-
[ChainId.RIN]: {
|
|
95
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
96
|
-
decimals: 18,
|
|
97
|
-
},
|
|
98
90
|
[ChainId.GOR]: {
|
|
99
91
|
address: '0x0000000000000000000000000000000000000000',
|
|
100
92
|
decimals: 18,
|
|
101
93
|
},
|
|
102
|
-
[ChainId.KOV]: {
|
|
103
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
104
|
-
decimals: 18,
|
|
105
|
-
},
|
|
106
94
|
[ChainId.ONET]: {
|
|
107
95
|
address: '0x268d6ff391b41b36a13b1693bd25f87fb4e4b392',
|
|
108
96
|
decimals: 18,
|
|
@@ -111,18 +99,10 @@ const basicCoins = [
|
|
|
111
99
|
address: '0xd66c6b4f0be8ce5b39d52e0fd1344c389929b378',
|
|
112
100
|
decimals: 18,
|
|
113
101
|
},
|
|
114
|
-
[ChainId.OPTT]: {
|
|
115
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
116
|
-
decimals: 18,
|
|
117
|
-
},
|
|
118
102
|
[ChainId.OPTG]: {
|
|
119
103
|
address: '0x0000000000000000000000000000000000000000',
|
|
120
104
|
decimals: 18,
|
|
121
105
|
},
|
|
122
|
-
[ChainId.ARBT]: {
|
|
123
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
124
|
-
decimals: 18,
|
|
125
|
-
},
|
|
126
106
|
[ChainId.ARBG]: {
|
|
127
107
|
address: '0x0000000000000000000000000000000000000000',
|
|
128
108
|
decimals: 18,
|
|
@@ -328,22 +308,10 @@ const basicCoins = [
|
|
|
328
308
|
decimals: 18,
|
|
329
309
|
},
|
|
330
310
|
// Testnets
|
|
331
|
-
[ChainId.ROP]: {
|
|
332
|
-
address: '0x31f42841c2db5173425b5223809cf3a38fede360',
|
|
333
|
-
decimals: 18,
|
|
334
|
-
},
|
|
335
|
-
[ChainId.RIN]: {
|
|
336
|
-
address: '0x5592ec0cfb4dbc12d3ab100b257153436a1f0fea',
|
|
337
|
-
decimals: 18,
|
|
338
|
-
},
|
|
339
311
|
[ChainId.GOR]: {
|
|
340
312
|
address: '0xdc31ee1784292379fbb2964b3b9c4124d8f89c60',
|
|
341
313
|
decimals: 18,
|
|
342
314
|
},
|
|
343
|
-
[ChainId.KOV]: {
|
|
344
|
-
address: '0x4f96fe3b7a6cf9725f59d353f723c1bdb64ca6aa',
|
|
345
|
-
decimals: 18,
|
|
346
|
-
},
|
|
347
315
|
[ChainId.MUM]: {
|
|
348
316
|
address: '0xb224913ce3851b0a0d7c0fb461eef40f2e31ddb8',
|
|
349
317
|
decimals: 18,
|
|
@@ -573,18 +541,6 @@ const basicCoins = [
|
|
|
573
541
|
name: 'Multichain USDT',
|
|
574
542
|
},
|
|
575
543
|
// Testnets
|
|
576
|
-
[ChainId.ROP]: {
|
|
577
|
-
address: '0x110a13fc3efe6a245b50102d2d79b3e76125ae83',
|
|
578
|
-
decimals: 6,
|
|
579
|
-
},
|
|
580
|
-
[ChainId.RIN]: {
|
|
581
|
-
address: '0xd9ba894e0097f8cc2bbc9d24d308b98e36dc6d02',
|
|
582
|
-
decimals: 6,
|
|
583
|
-
},
|
|
584
|
-
[ChainId.KOV]: {
|
|
585
|
-
address: '0x07de306ff27a2b630b1141956844eb1552b956b5',
|
|
586
|
-
decimals: 6,
|
|
587
|
-
},
|
|
588
544
|
[ChainId.GOR]: {
|
|
589
545
|
address: '0x509ee0d083ddf8ac028f2a56731412edd63223b9',
|
|
590
546
|
decimals: 6,
|
|
@@ -709,14 +665,6 @@ const basicCoins = [
|
|
|
709
665
|
name: 'Multichain USDC',
|
|
710
666
|
},
|
|
711
667
|
// Testnets
|
|
712
|
-
[ChainId.ROP]: {
|
|
713
|
-
address: '0x07865c6e87b9f70255377e024ace6630c1eaa37f',
|
|
714
|
-
decimals: 6,
|
|
715
|
-
},
|
|
716
|
-
[ChainId.RIN]: {
|
|
717
|
-
address: '0x4dbcdf9b62e891a7cec5a2568c3f4faf9e8abe2b',
|
|
718
|
-
decimals: 6,
|
|
719
|
-
},
|
|
720
668
|
[ChainId.GOR]: {
|
|
721
669
|
address: '0xd87ba7a50b2e7e660f678a895e4b72e7cb4ccd9c',
|
|
722
670
|
decimals: 6,
|
|
@@ -794,14 +742,6 @@ const basicCoins = [
|
|
|
794
742
|
logoURI: 'https://xpollinate.io/icon192.png',
|
|
795
743
|
verified: false,
|
|
796
744
|
chains: {
|
|
797
|
-
[ChainId.ROP]: {
|
|
798
|
-
address: '0xe71678794fff8846bff855f716b0ce9d9a78e844',
|
|
799
|
-
decimals: 18,
|
|
800
|
-
},
|
|
801
|
-
[ChainId.RIN]: {
|
|
802
|
-
address: '0x9ac2c46d7acc21c881154d57c0dc1c55a3139198',
|
|
803
|
-
decimals: 18,
|
|
804
|
-
},
|
|
805
745
|
[ChainId.GOR]: {
|
|
806
746
|
address: '0x8a1cad3703e0beae0e0237369b4fcd04228d1682',
|
|
807
747
|
decimals: 18,
|
|
@@ -810,18 +750,10 @@ const basicCoins = [
|
|
|
810
750
|
address: '0xe71678794fff8846bff855f716b0ce9d9a78e844',
|
|
811
751
|
decimals: 18,
|
|
812
752
|
},
|
|
813
|
-
[ChainId.ARBT]: {
|
|
814
|
-
address: '0xe71678794fff8846bff855f716b0ce9d9a78e844',
|
|
815
|
-
decimals: 18,
|
|
816
|
-
},
|
|
817
753
|
[ChainId.BSCT]: {
|
|
818
754
|
address: '0xd86bcb7d85163fbc81756bb9cc22225d6abccadb',
|
|
819
755
|
decimals: 18,
|
|
820
756
|
},
|
|
821
|
-
[ChainId.OPTT]: {
|
|
822
|
-
address: '0xe71678794fff8846bff855f716b0ce9d9a78e844',
|
|
823
|
-
decimals: 18,
|
|
824
|
-
},
|
|
825
757
|
},
|
|
826
758
|
},
|
|
827
759
|
// Connext testnet coins
|
|
@@ -1022,30 +954,14 @@ const basicCoins = [
|
|
|
1022
954
|
decimals: 18,
|
|
1023
955
|
},
|
|
1024
956
|
// Testnets
|
|
1025
|
-
[ChainId.ROP]: {
|
|
1026
|
-
address: '0xc778417e063141139fce010982780140aa0cd5ab',
|
|
1027
|
-
decimals: 18,
|
|
1028
|
-
},
|
|
1029
|
-
[ChainId.RIN]: {
|
|
1030
|
-
address: '0xc778417e063141139fce010982780140aa0cd5ab',
|
|
1031
|
-
decimals: 18,
|
|
1032
|
-
},
|
|
1033
957
|
[ChainId.GOR]: {
|
|
1034
958
|
address: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6',
|
|
1035
959
|
decimals: 18,
|
|
1036
960
|
},
|
|
1037
|
-
[ChainId.KOV]: {
|
|
1038
|
-
address: '0xd0a1e359811322d97991e03f863a0c30c2cf029c',
|
|
1039
|
-
decimals: 18,
|
|
1040
|
-
},
|
|
1041
961
|
[ChainId.MUM]: {
|
|
1042
962
|
address: '0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa',
|
|
1043
963
|
decimals: 18,
|
|
1044
964
|
},
|
|
1045
|
-
[ChainId.OPTT]: {
|
|
1046
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
1047
|
-
decimals: 18,
|
|
1048
|
-
},
|
|
1049
965
|
[ChainId.OPTG]: {
|
|
1050
966
|
address: '0x4200000000000000000000000000000000000006',
|
|
1051
967
|
decimals: 18,
|
|
@@ -1576,26 +1492,6 @@ export const wrappedTokens = {
|
|
|
1576
1492
|
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/tokens/vlx.png',
|
|
1577
1493
|
},
|
|
1578
1494
|
// Testnets
|
|
1579
|
-
[ChainId.ROP]: {
|
|
1580
|
-
// https://ropsten.etherscan.io/token/0xc778417e063141139fce010982780140aa0cd5ab
|
|
1581
|
-
address: '0xc778417e063141139fce010982780140aa0cd5ab',
|
|
1582
|
-
symbol: 'WETH',
|
|
1583
|
-
decimals: 18,
|
|
1584
|
-
chainId: ChainId.ROP,
|
|
1585
|
-
coinKey: CoinKey.WETH,
|
|
1586
|
-
name: 'WETH',
|
|
1587
|
-
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1588
|
-
},
|
|
1589
|
-
[ChainId.RIN]: {
|
|
1590
|
-
// https://rinkeby.etherscan.io/token/0xc778417e063141139fce010982780140aa0cd5ab
|
|
1591
|
-
address: '0xc778417e063141139fce010982780140aa0cd5ab',
|
|
1592
|
-
symbol: 'WETH',
|
|
1593
|
-
decimals: 18,
|
|
1594
|
-
chainId: ChainId.RIN,
|
|
1595
|
-
coinKey: CoinKey.WETH,
|
|
1596
|
-
name: 'WETH',
|
|
1597
|
-
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1598
|
-
},
|
|
1599
1495
|
[ChainId.GOR]: {
|
|
1600
1496
|
// https://goerli.etherscan.io/token/0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6
|
|
1601
1497
|
address: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6',
|
|
@@ -1606,16 +1502,6 @@ export const wrappedTokens = {
|
|
|
1606
1502
|
name: 'WETH',
|
|
1607
1503
|
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1608
1504
|
},
|
|
1609
|
-
[ChainId.KOV]: {
|
|
1610
|
-
// https://kovan.etherscan.io/address/0xd0a1e359811322d97991e03f863a0c30c2cf029c
|
|
1611
|
-
address: '0xd0a1e359811322d97991e03f863a0c30c2cf029c',
|
|
1612
|
-
symbol: 'WETH',
|
|
1613
|
-
decimals: 18,
|
|
1614
|
-
chainId: ChainId.KOV,
|
|
1615
|
-
coinKey: CoinKey.WETH,
|
|
1616
|
-
name: 'WETH',
|
|
1617
|
-
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1618
|
-
},
|
|
1619
1505
|
[ChainId.MUM]: {
|
|
1620
1506
|
// https://mumbai.polygonscan.com/token/0x9c3c9283d3e44854697cd22d3faa240cfb032889
|
|
1621
1507
|
address: '0x9c3c9283d3e44854697cd22d3faa240cfb032889',
|
|
@@ -1635,16 +1521,6 @@ export const wrappedTokens = {
|
|
|
1635
1521
|
name: 'WRAPPED ONE',
|
|
1636
1522
|
logoURI: 'https://d1xrz6ki9z98vb.cloudfront.net/venomswap/tokens/WONE.png',
|
|
1637
1523
|
},
|
|
1638
|
-
[ChainId.ARBT]: {
|
|
1639
|
-
// https://testnet.arbiscan.io/token/0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681
|
|
1640
|
-
address: '0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681',
|
|
1641
|
-
symbol: 'WETH',
|
|
1642
|
-
decimals: 18,
|
|
1643
|
-
chainId: ChainId.ARBT,
|
|
1644
|
-
coinKey: CoinKey.WETH,
|
|
1645
|
-
name: 'WETH',
|
|
1646
|
-
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1647
|
-
},
|
|
1648
1524
|
[ChainId.ARBG]: {
|
|
1649
1525
|
// https://goerli.arbiscan.io/token/0x42da9eE191833756c618778145A86E6709f70C9b
|
|
1650
1526
|
address: '0x42da9eE191833756c618778145A86E6709f70C9b',
|
|
@@ -1655,16 +1531,6 @@ export const wrappedTokens = {
|
|
|
1655
1531
|
name: 'WETH',
|
|
1656
1532
|
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1657
1533
|
},
|
|
1658
|
-
[ChainId.OPTT]: {
|
|
1659
|
-
// https://kovan-optimistic.etherscan.io/token/0x4200000000000000000000000000000000000006
|
|
1660
|
-
address: '0x4200000000000000000000000000000000000006',
|
|
1661
|
-
symbol: 'WETH',
|
|
1662
|
-
decimals: 18,
|
|
1663
|
-
chainId: ChainId.OPTT,
|
|
1664
|
-
coinKey: CoinKey.WETH,
|
|
1665
|
-
name: 'WETH',
|
|
1666
|
-
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1667
|
-
},
|
|
1668
1534
|
[ChainId.OPTG]: {
|
|
1669
1535
|
// https://blockscout.com/optimism/goerli/address/0x4200000000000000000000000000000000000006
|
|
1670
1536
|
address: '0x4200000000000000000000000000000000000006',
|
package/dist/exchanges.js
CHANGED
|
@@ -998,62 +998,6 @@ export const supportedExchanges = [
|
|
|
998
998
|
],
|
|
999
999
|
},
|
|
1000
1000
|
// TESTNETS
|
|
1001
|
-
// 3 - Ropsten
|
|
1002
|
-
{
|
|
1003
|
-
key: 'uniswap-rop',
|
|
1004
|
-
name: 'Uniswap',
|
|
1005
|
-
chainId: ChainId.ROP,
|
|
1006
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/uniswap.png',
|
|
1007
|
-
webUrl: 'https://app.uniswap.org/',
|
|
1008
|
-
tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
|
|
1009
|
-
routerAddress: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D',
|
|
1010
|
-
factoryAddress: '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f',
|
|
1011
|
-
initCodeHash: '0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f',
|
|
1012
|
-
baseTokens: [
|
|
1013
|
-
findDefaultToken(CoinKey.ETH, ChainId.ROP),
|
|
1014
|
-
findDefaultToken(CoinKey.WETH, ChainId.ROP),
|
|
1015
|
-
],
|
|
1016
|
-
},
|
|
1017
|
-
// TODO: sushiswap does not work properly
|
|
1018
|
-
// {
|
|
1019
|
-
// key: 'sushiswap-rop',
|
|
1020
|
-
// name: 'SushiSwap',
|
|
1021
|
-
// chainId: ChainId.ROP,
|
|
1022
|
-
// logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/sushi.png',
|
|
1023
|
-
// webUrl: 'https://app.sushi.com/swap',
|
|
1024
|
-
// tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/list/master/lists/token-lists/default-token-list/tokens/ropsten.json',
|
|
1025
|
-
// routerAddress: '0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506',
|
|
1026
|
-
// factoryAddress: '0xc35DADB65012eC5796536bD9864eD8773aBc74C4',
|
|
1027
|
-
// initCodeHash: '0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303',
|
|
1028
|
-
// },
|
|
1029
|
-
// 4 - Rinkeby
|
|
1030
|
-
{
|
|
1031
|
-
key: 'uniswap-rin',
|
|
1032
|
-
name: 'Uniswap',
|
|
1033
|
-
chainId: ChainId.RIN,
|
|
1034
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/uniswap.png',
|
|
1035
|
-
webUrl: 'https://app.uniswap.org/',
|
|
1036
|
-
tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
|
|
1037
|
-
routerAddress: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D',
|
|
1038
|
-
factoryAddress: '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f',
|
|
1039
|
-
initCodeHash: '0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f',
|
|
1040
|
-
baseTokens: [
|
|
1041
|
-
findDefaultToken(CoinKey.ETH, ChainId.RIN),
|
|
1042
|
-
findDefaultToken(CoinKey.WETH, ChainId.RIN),
|
|
1043
|
-
],
|
|
1044
|
-
},
|
|
1045
|
-
// TODO: sushiswap does not work properly
|
|
1046
|
-
// {
|
|
1047
|
-
// key: 'sushiswap-rin',
|
|
1048
|
-
// name: 'SushiSwap',
|
|
1049
|
-
// chainId: ChainId.RIN,
|
|
1050
|
-
// logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/sushi.png',
|
|
1051
|
-
// webUrl: 'https://app.sushi.com/swap',
|
|
1052
|
-
// tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/list/master/lists/token-lists/default-token-list/tokens/rinkeby.json',
|
|
1053
|
-
// routerAddress: '0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506',
|
|
1054
|
-
// factoryAddress: '0xc35DADB65012eC5796536bD9864eD8773aBc74C4',
|
|
1055
|
-
// initCodeHash: '0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303',
|
|
1056
|
-
// },
|
|
1057
1001
|
// 5 - Goerli
|
|
1058
1002
|
{
|
|
1059
1003
|
key: 'uniswap-gor',
|
|
@@ -1083,35 +1027,6 @@ export const supportedExchanges = [
|
|
|
1083
1027
|
// initCodeHash: '0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303',
|
|
1084
1028
|
// baseTokens: [],
|
|
1085
1029
|
// },
|
|
1086
|
-
// 42 - Kovan
|
|
1087
|
-
{
|
|
1088
|
-
key: 'uniswap-kov',
|
|
1089
|
-
name: 'Uniswap',
|
|
1090
|
-
chainId: ChainId.KOV,
|
|
1091
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/uniswap.png',
|
|
1092
|
-
webUrl: 'https://app.uniswap.org/',
|
|
1093
|
-
tokenlistUrl: 'https://raw.githubusercontent.com/compound-finance/token-list/master/compound.tokenlist.json',
|
|
1094
|
-
routerAddress: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D',
|
|
1095
|
-
factoryAddress: '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f',
|
|
1096
|
-
initCodeHash: '0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f',
|
|
1097
|
-
baseTokens: [
|
|
1098
|
-
findDefaultToken(CoinKey.ETH, ChainId.KOV),
|
|
1099
|
-
findDefaultToken(CoinKey.WETH, ChainId.KOV),
|
|
1100
|
-
],
|
|
1101
|
-
},
|
|
1102
|
-
// TODO: sushiswap does not work properly
|
|
1103
|
-
// {
|
|
1104
|
-
// key: 'sushiswap-kov',
|
|
1105
|
-
// name: 'SushiSwap',
|
|
1106
|
-
// chainId: ChainId.KOV,
|
|
1107
|
-
// logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/sushi.png',
|
|
1108
|
-
// webUrl: 'https://app.sushi.com/swap',
|
|
1109
|
-
// tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/list/master/lists/token-lists/default-token-list/tokens/kovan.json',
|
|
1110
|
-
// routerAddress: '0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506',
|
|
1111
|
-
// factoryAddress: '0xc35DADB65012eC5796536bD9864eD8773aBc74C4',
|
|
1112
|
-
// initCodeHash: '0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303',
|
|
1113
|
-
// baseTokens: [],
|
|
1114
|
-
// },
|
|
1115
1030
|
// 1666700000 - HARMONY TESTNET
|
|
1116
1031
|
// TODO: Only sushiswap support ONET but official swap website also does not work correctly
|
|
1117
1032
|
{
|
package/dist/multicall.js
CHANGED
|
@@ -44,16 +44,11 @@ export const multicallAddresses = {
|
|
|
44
44
|
// [ChainId.PALM]: '0x0769fd68dFb93167989C6f7254cd0D766Fb2841F',
|
|
45
45
|
// [ChainId.TELOS]: '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3',
|
|
46
46
|
// Testnet
|
|
47
|
-
[ChainId.ROP]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
48
|
-
[ChainId.RIN]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
49
47
|
[ChainId.GOR]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
50
|
-
[ChainId.KOV]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
51
48
|
[ChainId.MUM]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
52
|
-
[ChainId.ARBT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
53
49
|
[ChainId.BSCT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
54
50
|
[ChainId.ONET]: '0xdDCbf776dF3dE60163066A5ddDF2277cB445E0F3',
|
|
55
51
|
[ChainId.AVAT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
56
|
-
[ChainId.OPTT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
57
52
|
[ChainId.OPTG]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
58
53
|
[ChainId.EVMT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
59
54
|
[ChainId.MORT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|