@lifi/types 1.2.0 → 1.4.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 +22 -0
- package/dist/api.d.ts +3 -0
- package/dist/chains/supported.chains.js +18 -18
- package/dist/coins.js +32 -45
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
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
|
+
## [1.4.0](https://github.com/lifinance/types/compare/v1.3.0...v1.4.0) (2022-08-08)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add new svg chain icons ([#90](https://github.com/lifinance/types/issues/90)) ([34ffbdd](https://github.com/lifinance/types/commit/34ffbddeb31d4cf352fba5430ea71df74d793d96))
|
|
11
|
+
* add voltage exchange icon ([24cde33](https://github.com/lifinance/types/commit/24cde33e57a436c93c6a9da9265ad0c97b0b561e))
|
|
12
|
+
|
|
13
|
+
## [1.3.0](https://github.com/lifinance/types/compare/v1.2.1...v1.3.0) (2022-07-28)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* add fee parameter to quote and route requests ([#88](https://github.com/lifinance/types/issues/88)) ([cea2166](https://github.com/lifinance/types/commit/cea216696ee0c68c41baec8235937ab19ff6ac07))
|
|
19
|
+
|
|
20
|
+
### [1.2.1](https://github.com/lifinance/types/compare/v1.2.0...v1.2.1) (2022-07-21)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* **coins:** remove duplicated ETH definition on AUR ([b264800](https://github.com/lifinance/types/commit/b26480088c3d5e5c4a1f442c9e15d251565416b8))
|
|
26
|
+
|
|
5
27
|
## [1.2.0](https://github.com/lifinance/types/compare/v1.1.1...v1.2.0) (2022-07-21)
|
|
6
28
|
|
|
7
29
|
|
package/dist/api.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export interface RouteOptions {
|
|
|
18
18
|
referrer?: string;
|
|
19
19
|
bridges?: AllowDenyPrefer;
|
|
20
20
|
exchanges?: AllowDenyPrefer;
|
|
21
|
+
fee?: number;
|
|
21
22
|
}
|
|
22
23
|
export interface RoutesRequest {
|
|
23
24
|
fromChainId: number;
|
|
@@ -89,6 +90,7 @@ export interface QuoteRequest extends ToolConfiguration {
|
|
|
89
90
|
slippage?: number | string;
|
|
90
91
|
integrator?: string;
|
|
91
92
|
referrer?: string;
|
|
93
|
+
fee?: number | string;
|
|
92
94
|
}
|
|
93
95
|
export interface ContractCallQuoteRequest extends ToolConfiguration {
|
|
94
96
|
fromChain: number | string;
|
|
@@ -106,6 +108,7 @@ export interface ContractCallQuoteRequest extends ToolConfiguration {
|
|
|
106
108
|
slippage?: number | string;
|
|
107
109
|
integrator?: string;
|
|
108
110
|
referrer?: string;
|
|
111
|
+
fee?: number | string;
|
|
109
112
|
}
|
|
110
113
|
export interface ContractCallQuotesRequest extends ToolConfiguration {
|
|
111
114
|
fromChain: number | string;
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.supportedChains = exports.supportedSolanaChains = exports.supportedEVMChains = void 0;
|
|
9
|
-
var EVMChain_1 = require("./EVMChain");
|
|
10
9
|
var base_1 = require("../base");
|
|
11
10
|
var multicall_1 = require("../multicall");
|
|
12
11
|
var Chain_1 = require("./Chain");
|
|
12
|
+
var EVMChain_1 = require("./EVMChain");
|
|
13
13
|
// chainNames aligned with https://github.com/ethereum-lists/chains/tree/master/_data/chains
|
|
14
14
|
exports.supportedEVMChains = [
|
|
15
15
|
// 1 - Ethereum
|
|
@@ -20,7 +20,7 @@ exports.supportedEVMChains = [
|
|
|
20
20
|
coin: base_1.CoinKey.ETH,
|
|
21
21
|
id: 1,
|
|
22
22
|
mainnet: true,
|
|
23
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum.
|
|
23
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/ethereum.svg',
|
|
24
24
|
tokenlistUrl: 'https://gateway.ipfs.io/ipns/tokens.uniswap.org',
|
|
25
25
|
multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.ETH],
|
|
26
26
|
metamask: {
|
|
@@ -45,7 +45,7 @@ exports.supportedEVMChains = [
|
|
|
45
45
|
coin: base_1.CoinKey.MATIC,
|
|
46
46
|
id: 137,
|
|
47
47
|
mainnet: true,
|
|
48
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/polygon.
|
|
48
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/polygon.svg',
|
|
49
49
|
tokenlistUrl: 'https://unpkg.com/quickswap-default-token-list@1.0.71/build/quickswap-default.tokenlist.json',
|
|
50
50
|
faucetUrls: ['https://stakely.io/faucet/polygon-matic'],
|
|
51
51
|
multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.POL],
|
|
@@ -76,7 +76,7 @@ exports.supportedEVMChains = [
|
|
|
76
76
|
coin: base_1.CoinKey.BNB,
|
|
77
77
|
id: 56,
|
|
78
78
|
mainnet: true,
|
|
79
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/bsc.
|
|
79
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/bsc.svg',
|
|
80
80
|
tokenlistUrl: 'https://tokens.pancakeswap.finance/pancakeswap-extended.json',
|
|
81
81
|
faucetUrls: ['https://stakely.io/faucet/bsc-chain-bnb'],
|
|
82
82
|
multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.BSC],
|
|
@@ -105,7 +105,7 @@ exports.supportedEVMChains = [
|
|
|
105
105
|
coin: base_1.CoinKey.DAI,
|
|
106
106
|
id: 100,
|
|
107
107
|
mainnet: true,
|
|
108
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/gnosis.
|
|
108
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/gnosis.svg',
|
|
109
109
|
tokenlistUrl: 'https://tokens.honeyswap.org/',
|
|
110
110
|
faucetUrls: ['https://stakely.io/faucet/xdai-chain'],
|
|
111
111
|
multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.DAI],
|
|
@@ -134,7 +134,7 @@ exports.supportedEVMChains = [
|
|
|
134
134
|
coin: base_1.CoinKey.FTM,
|
|
135
135
|
id: 250,
|
|
136
136
|
mainnet: true,
|
|
137
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/fantom.
|
|
137
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/fantom.svg',
|
|
138
138
|
tokenlistUrl: 'https://raw.githubusercontent.com/SpookySwap/spooky-info/master/src/constants/token/spookyswap.json',
|
|
139
139
|
faucetUrls: [
|
|
140
140
|
'https://stakely.io/faucet/fantom-blockchain-ftm',
|
|
@@ -162,7 +162,7 @@ exports.supportedEVMChains = [
|
|
|
162
162
|
coin: base_1.CoinKey.OKT,
|
|
163
163
|
id: 66,
|
|
164
164
|
mainnet: true,
|
|
165
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/okex.
|
|
165
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/okex.svg',
|
|
166
166
|
tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/okex.json',
|
|
167
167
|
multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.OKT],
|
|
168
168
|
// https://okc-docs.readthedocs.io/en/latest/developers/quick-start-for-mainnet.html
|
|
@@ -186,7 +186,7 @@ exports.supportedEVMChains = [
|
|
|
186
186
|
coin: base_1.CoinKey.AVAX,
|
|
187
187
|
id: 43114,
|
|
188
188
|
mainnet: true,
|
|
189
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/avalanche.
|
|
189
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/avalanche.svg',
|
|
190
190
|
tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/avalanche.json',
|
|
191
191
|
multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.AVA],
|
|
192
192
|
// https://support.avax.network/en/articles/4626956-how-do-i-set-up-metamask-on-avalanche
|
|
@@ -210,7 +210,7 @@ exports.supportedEVMChains = [
|
|
|
210
210
|
coin: base_1.CoinKey.ETH,
|
|
211
211
|
id: 42161,
|
|
212
212
|
mainnet: true,
|
|
213
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/arbitrum.
|
|
213
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/arbitrum.svg',
|
|
214
214
|
tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/arbitrum.json',
|
|
215
215
|
faucetUrls: ['https://bridge.arbitrum.io/'],
|
|
216
216
|
multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.ARB],
|
|
@@ -257,7 +257,7 @@ exports.supportedEVMChains = [
|
|
|
257
257
|
coin: base_1.CoinKey.ETH,
|
|
258
258
|
id: 10,
|
|
259
259
|
mainnet: true,
|
|
260
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/optimism.
|
|
260
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/optimism.svg',
|
|
261
261
|
tokenlistUrl: 'https://static.optimism.io/optimism.tokenlist.json',
|
|
262
262
|
faucetUrls: ['https://gateway.optimism.io/'],
|
|
263
263
|
multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.OPT],
|
|
@@ -304,7 +304,7 @@ exports.supportedEVMChains = [
|
|
|
304
304
|
coin: base_1.CoinKey.ONE,
|
|
305
305
|
id: 1666600000,
|
|
306
306
|
mainnet: true,
|
|
307
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/harmony.
|
|
307
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/harmony.svg',
|
|
308
308
|
tokenlistUrl: 'https://d1xrz6ki9z98vb.cloudfront.net/venomswap/lists/venomswap-default.tokenlist.json',
|
|
309
309
|
faucetUrls: ['https://stakely.io/faucet/harmony-one'],
|
|
310
310
|
multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.ONE],
|
|
@@ -329,7 +329,7 @@ exports.supportedEVMChains = [
|
|
|
329
329
|
coin: base_1.CoinKey.MOVR,
|
|
330
330
|
id: 1285,
|
|
331
331
|
mainnet: true,
|
|
332
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/moonriver.
|
|
332
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/moonriver.svg',
|
|
333
333
|
tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/moonriver.json',
|
|
334
334
|
multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.MOR],
|
|
335
335
|
metamask: {
|
|
@@ -352,7 +352,7 @@ exports.supportedEVMChains = [
|
|
|
352
352
|
coin: base_1.CoinKey.GLMR,
|
|
353
353
|
id: 1284,
|
|
354
354
|
mainnet: true,
|
|
355
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/moonbeam.
|
|
355
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/moonbeam.svg',
|
|
356
356
|
tokenlistUrl: 'https://raw.githubusercontent.com/BeamSwap/beamswap-tokenlist/main/tokenlist.json',
|
|
357
357
|
multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.MOO],
|
|
358
358
|
metamask: {
|
|
@@ -481,7 +481,7 @@ exports.supportedEVMChains = [
|
|
|
481
481
|
coin: base_1.CoinKey.CELO,
|
|
482
482
|
id: 42220,
|
|
483
483
|
mainnet: true,
|
|
484
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/celo.
|
|
484
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/celo.svg',
|
|
485
485
|
tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/celo.json',
|
|
486
486
|
faucetUrls: [
|
|
487
487
|
'https://stakely.io/faucet/celo-platform',
|
|
@@ -508,7 +508,7 @@ exports.supportedEVMChains = [
|
|
|
508
508
|
coin: base_1.CoinKey.FUSE,
|
|
509
509
|
id: 122,
|
|
510
510
|
mainnet: true,
|
|
511
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/fuse.
|
|
511
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/fuse.svg',
|
|
512
512
|
tokenlistUrl: 'https://raw.githubusercontent.com/sushiswap/default-token-list/master/tokens/fuse.json',
|
|
513
513
|
multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.FUS],
|
|
514
514
|
metamask: {
|
|
@@ -553,7 +553,7 @@ exports.supportedEVMChains = [
|
|
|
553
553
|
coin: base_1.CoinKey.CRO,
|
|
554
554
|
id: 25,
|
|
555
555
|
mainnet: true,
|
|
556
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/cronos.
|
|
556
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/cronos.svg',
|
|
557
557
|
tokenlistUrl: 'https://raw.githubusercontent.com/cronaswap/cronaswap-tokenlists/main/cronaswap-default.tokenlist.json',
|
|
558
558
|
multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.CRO],
|
|
559
559
|
metamask: {
|
|
@@ -751,7 +751,7 @@ exports.supportedEVMChains = [
|
|
|
751
751
|
coin: base_1.CoinKey.EVM,
|
|
752
752
|
id: 9001,
|
|
753
753
|
mainnet: true,
|
|
754
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/evmos.
|
|
754
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/evmos.svg',
|
|
755
755
|
multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.EVM],
|
|
756
756
|
metamask: {
|
|
757
757
|
chainId: (0, EVMChain_1.prefixChainId)(9001),
|
|
@@ -1162,7 +1162,7 @@ exports.supportedSolanaChains = [
|
|
|
1162
1162
|
coin: base_1.CoinKey.SOL,
|
|
1163
1163
|
id: base_1.ChainId.SOL,
|
|
1164
1164
|
mainnet: true,
|
|
1165
|
-
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/solana.
|
|
1165
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/solana.svg',
|
|
1166
1166
|
faucetUrls: ['https://stakely.io/faucet/solana-sol'],
|
|
1167
1167
|
},
|
|
1168
1168
|
];
|
package/dist/coins.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3
|
|
2
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.findTokenByChainIdAndAddress = exports.findWrappedGasOnChain = exports.findDefaultToken = exports.findDefaultCoin = exports.wrappedTokens = exports.defaultCoins = void 0;
|
|
5
5
|
var base_1 = require("./base");
|
|
@@ -1061,19 +1061,6 @@ var basicCoins = [
|
|
|
1061
1061
|
},
|
|
1062
1062
|
_2),
|
|
1063
1063
|
},
|
|
1064
|
-
// > AURORA
|
|
1065
|
-
{
|
|
1066
|
-
key: base_1.CoinKey.ETH,
|
|
1067
|
-
name: 'AETH',
|
|
1068
|
-
logoURI: 'https://static.debank.com/image/aurora_token/logo_url/aurora/d61441782d4a08a7479d54aea211679e.png',
|
|
1069
|
-
verified: true,
|
|
1070
|
-
chains: (_3 = {},
|
|
1071
|
-
_3[base_1.ChainId.AUR] = {
|
|
1072
|
-
address: '0x0000000000000000000000000000000000000000',
|
|
1073
|
-
decimals: 18,
|
|
1074
|
-
},
|
|
1075
|
-
_3),
|
|
1076
|
-
},
|
|
1077
1064
|
];
|
|
1078
1065
|
exports.defaultCoins = basicCoins.map(function (coin) {
|
|
1079
1066
|
var _a, _b;
|
|
@@ -1099,8 +1086,8 @@ exports.defaultCoins = basicCoins.map(function (coin) {
|
|
|
1099
1086
|
return defaultCoin;
|
|
1100
1087
|
});
|
|
1101
1088
|
// Wrapped version of gas on chain
|
|
1102
|
-
exports.wrappedTokens = (
|
|
1103
|
-
|
|
1089
|
+
exports.wrappedTokens = (_3 = {},
|
|
1090
|
+
_3[base_1.ChainId.ETH] = {
|
|
1104
1091
|
// https://ww7.etherscan.io/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
|
|
1105
1092
|
address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
|
|
1106
1093
|
symbol: 'WETH',
|
|
@@ -1110,7 +1097,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1110
1097
|
name: 'WETH',
|
|
1111
1098
|
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1112
1099
|
},
|
|
1113
|
-
|
|
1100
|
+
_3[base_1.ChainId.BSC] = {
|
|
1114
1101
|
// https://bscscan.com/token/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
|
|
1115
1102
|
address: '0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c',
|
|
1116
1103
|
symbol: 'WBNB',
|
|
@@ -1120,7 +1107,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1120
1107
|
name: 'WBNB',
|
|
1121
1108
|
logoURI: 'https://zapper.fi/images/networks/binance-smart-chain/0x0000000000000000000000000000000000000000.png',
|
|
1122
1109
|
},
|
|
1123
|
-
|
|
1110
|
+
_3[base_1.ChainId.POL] = {
|
|
1124
1111
|
// https://polygonscan.com/token/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270
|
|
1125
1112
|
address: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
1126
1113
|
symbol: 'WMATIC',
|
|
@@ -1130,7 +1117,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1130
1117
|
name: 'WMATIC',
|
|
1131
1118
|
logoURI: 'https://zapper.fi/images/networks/polygon/0x0000000000000000000000000000000000000000.png',
|
|
1132
1119
|
},
|
|
1133
|
-
|
|
1120
|
+
_3[base_1.ChainId.DAI] = {
|
|
1134
1121
|
// https://blockscout.com/xdai/mainnet/address/0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d
|
|
1135
1122
|
address: '0xe91d153e0b41518a2ce8dd3d7944fa863463a97d',
|
|
1136
1123
|
symbol: 'WXDAI',
|
|
@@ -1140,7 +1127,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1140
1127
|
name: 'WXDAI',
|
|
1141
1128
|
logoURI: 'https://zapper.fi/images/networks/ethereum/0x6b175474e89094c44da98b954eedeac495271d0f.png',
|
|
1142
1129
|
},
|
|
1143
|
-
|
|
1130
|
+
_3[base_1.ChainId.OPT] = {
|
|
1144
1131
|
// https://optimistic.etherscan.io/token/0x4200000000000000000000000000000000000006
|
|
1145
1132
|
address: '0x4200000000000000000000000000000000000006',
|
|
1146
1133
|
symbol: 'WETH',
|
|
@@ -1150,7 +1137,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1150
1137
|
name: 'Wrapped ETH',
|
|
1151
1138
|
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1152
1139
|
},
|
|
1153
|
-
|
|
1140
|
+
_3[base_1.ChainId.FTM] = {
|
|
1154
1141
|
//
|
|
1155
1142
|
address: '0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83',
|
|
1156
1143
|
symbol: 'wFTM',
|
|
@@ -1160,7 +1147,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1160
1147
|
name: 'wFTM',
|
|
1161
1148
|
logoURI: 'https://assets.spookyswap.finance/coins/0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83.png',
|
|
1162
1149
|
},
|
|
1163
|
-
|
|
1150
|
+
_3[base_1.ChainId.ONE] = {
|
|
1164
1151
|
address: '0xcf664087a5bb0237a0bad6742852ec6c8d69a27a',
|
|
1165
1152
|
symbol: 'WONE',
|
|
1166
1153
|
decimals: 18,
|
|
@@ -1169,7 +1156,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1169
1156
|
name: 'WRAPPED ONE',
|
|
1170
1157
|
logoURI: 'https://d1xrz6ki9z98vb.cloudfront.net/venomswap/tokens/WONE.png',
|
|
1171
1158
|
},
|
|
1172
|
-
|
|
1159
|
+
_3[base_1.ChainId.AVA] = {
|
|
1173
1160
|
address: '0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7',
|
|
1174
1161
|
symbol: 'WAVAX',
|
|
1175
1162
|
decimals: 18,
|
|
@@ -1178,7 +1165,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1178
1165
|
name: 'Wrapped AVAX',
|
|
1179
1166
|
logoURI: '',
|
|
1180
1167
|
},
|
|
1181
|
-
|
|
1168
|
+
_3[base_1.ChainId.ARB] = {
|
|
1182
1169
|
address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1',
|
|
1183
1170
|
symbol: 'WETH',
|
|
1184
1171
|
decimals: 18,
|
|
@@ -1187,7 +1174,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1187
1174
|
name: 'WETH',
|
|
1188
1175
|
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1189
1176
|
},
|
|
1190
|
-
|
|
1177
|
+
_3[base_1.ChainId.MOR] = {
|
|
1191
1178
|
address: '0x98878b06940ae243284ca214f92bb71a2b032b8a',
|
|
1192
1179
|
symbol: 'WMOVR',
|
|
1193
1180
|
decimals: 18,
|
|
@@ -1196,7 +1183,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1196
1183
|
name: 'WMOVR',
|
|
1197
1184
|
logoURI: 'https://assets.coingecko.com/coins/images/17984/small/9285.png',
|
|
1198
1185
|
},
|
|
1199
|
-
|
|
1186
|
+
_3[base_1.ChainId.OKT] = {
|
|
1200
1187
|
address: '0x8f8526dbfd6e38e3d8307702ca8469bae6c56c15',
|
|
1201
1188
|
symbol: 'wOKT',
|
|
1202
1189
|
decimals: 18,
|
|
@@ -1205,7 +1192,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1205
1192
|
name: 'wOKT',
|
|
1206
1193
|
logoURI: 'https://static.debank.com/image/okt_token/logo_url/okt/1228cd92320b3d33769bd08eecfb5391.png',
|
|
1207
1194
|
},
|
|
1208
|
-
|
|
1195
|
+
_3[base_1.ChainId.HEC] = {
|
|
1209
1196
|
address: '0x5545153ccfca01fbd7dd11c0b23ba694d9509a6f',
|
|
1210
1197
|
symbol: 'wHT',
|
|
1211
1198
|
decimals: 18,
|
|
@@ -1214,7 +1201,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1214
1201
|
name: 'wHT',
|
|
1215
1202
|
logoURI: 'https://static.debank.com/image/heco_token/logo_url/heco/c399dcddde07e1944c4dd8f922832b53.png',
|
|
1216
1203
|
},
|
|
1217
|
-
|
|
1204
|
+
_3[base_1.ChainId.CRO] = {
|
|
1218
1205
|
address: '0x5c7f8a570d578ed84e63fdfa7b1ee72deae1ae23',
|
|
1219
1206
|
symbol: 'WCRO',
|
|
1220
1207
|
decimals: 18,
|
|
@@ -1223,7 +1210,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1223
1210
|
name: 'WCRO',
|
|
1224
1211
|
logoURI: 'https://raw.githubusercontent.com/cronaswap/default-token-list/main/assets/tokens/cronos/0x5C7F8A570d578ED84E63fdFA7b1eE72dEae1AE23/logo.png',
|
|
1225
1212
|
},
|
|
1226
|
-
|
|
1213
|
+
_3[base_1.ChainId.FUS] = {
|
|
1227
1214
|
address: '0x0be9e53fd7edac9f859882afdda116645287c629',
|
|
1228
1215
|
symbol: 'WFUSE',
|
|
1229
1216
|
decimals: 18,
|
|
@@ -1232,7 +1219,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1232
1219
|
name: 'Wrapped Fuse',
|
|
1233
1220
|
logoURI: 'https://fuselogo.s3.eu-central-1.amazonaws.com/wfuse.png',
|
|
1234
1221
|
},
|
|
1235
|
-
|
|
1222
|
+
_3[base_1.ChainId.MOO] = {
|
|
1236
1223
|
address: '0xacc15dc74880c9944775448304b263d191c6077f',
|
|
1237
1224
|
symbol: 'WGLMR',
|
|
1238
1225
|
decimals: 18,
|
|
@@ -1241,7 +1228,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1241
1228
|
name: 'Wrapped GLMR',
|
|
1242
1229
|
logoURI: 'https://static.debank.com/image/mobm_token/logo_url/0xacc15dc74880c9944775448304b263d191c6077f/a8442077d76b258297181c3e6eb8c9cc.png',
|
|
1243
1230
|
},
|
|
1244
|
-
|
|
1231
|
+
_3[base_1.ChainId.MAM] = {
|
|
1245
1232
|
address: '0x75cb093E4D61d2A2e65D8e0BBb01DE8d89b53481',
|
|
1246
1233
|
symbol: 'WMETIS',
|
|
1247
1234
|
decimals: 18,
|
|
@@ -1250,7 +1237,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1250
1237
|
name: 'Wrapped Metis',
|
|
1251
1238
|
logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/9640.png',
|
|
1252
1239
|
},
|
|
1253
|
-
|
|
1240
|
+
_3[base_1.ChainId.BOB] = {
|
|
1254
1241
|
address: '0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000',
|
|
1255
1242
|
symbol: 'WETH',
|
|
1256
1243
|
decimals: 18,
|
|
@@ -1259,7 +1246,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1259
1246
|
name: 'Wrapped ETH',
|
|
1260
1247
|
logoURI: 'https://static.debank.com/image/boba_token/logo_url/0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000/b1947b38a90e559eb950453965714be4.png',
|
|
1261
1248
|
},
|
|
1262
|
-
|
|
1249
|
+
_3[base_1.ChainId.CEL] = {
|
|
1263
1250
|
address: '0x471ece3750da237f93b8e339c536989b8978a438',
|
|
1264
1251
|
symbol: 'CELO',
|
|
1265
1252
|
decimals: 18,
|
|
@@ -1268,7 +1255,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1268
1255
|
name: 'Celo native asset',
|
|
1269
1256
|
logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/5567.png',
|
|
1270
1257
|
},
|
|
1271
|
-
|
|
1258
|
+
_3[base_1.ChainId.EVM] = {
|
|
1272
1259
|
address: '0xd4949664cd82660aae99bedc034a0dea8a0bd517',
|
|
1273
1260
|
symbol: 'WEVMOS',
|
|
1274
1261
|
decimals: 18,
|
|
@@ -1277,7 +1264,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1277
1264
|
name: 'Wrapped Evmos',
|
|
1278
1265
|
logoURI: 'https://raw.githubusercontent.com/cronus-finance/token-list/main/assets/evmos/0xD4949664cD82660AaE99bEdc034a0deA8A0bd517/logo.png',
|
|
1279
1266
|
},
|
|
1280
|
-
|
|
1267
|
+
_3[base_1.ChainId.AUR] = {
|
|
1281
1268
|
address: '0x0000000000000000000000000000000000000000',
|
|
1282
1269
|
symbol: 'AETH',
|
|
1283
1270
|
decimals: 18,
|
|
@@ -1287,7 +1274,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1287
1274
|
logoURI: 'https://static.debank.com/image/aurora_token/logo_url/aurora/d61441782d4a08a7479d54aea211679e.png',
|
|
1288
1275
|
},
|
|
1289
1276
|
// Testnets
|
|
1290
|
-
|
|
1277
|
+
_3[base_1.ChainId.ROP] = {
|
|
1291
1278
|
// https://ropsten.etherscan.io/token/0xc778417e063141139fce010982780140aa0cd5ab
|
|
1292
1279
|
address: '0xc778417e063141139fce010982780140aa0cd5ab',
|
|
1293
1280
|
symbol: 'WETH',
|
|
@@ -1297,7 +1284,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1297
1284
|
name: 'WETH',
|
|
1298
1285
|
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1299
1286
|
},
|
|
1300
|
-
|
|
1287
|
+
_3[base_1.ChainId.RIN] = {
|
|
1301
1288
|
// https://rinkeby.etherscan.io/token/0xc778417e063141139fce010982780140aa0cd5ab
|
|
1302
1289
|
address: '0xc778417e063141139fce010982780140aa0cd5ab',
|
|
1303
1290
|
symbol: 'WETH',
|
|
@@ -1307,7 +1294,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1307
1294
|
name: 'WETH',
|
|
1308
1295
|
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1309
1296
|
},
|
|
1310
|
-
|
|
1297
|
+
_3[base_1.ChainId.GOR] = {
|
|
1311
1298
|
// https://goerli.etherscan.io/token/0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6
|
|
1312
1299
|
address: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6',
|
|
1313
1300
|
symbol: 'WETH',
|
|
@@ -1317,7 +1304,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1317
1304
|
name: 'WETH',
|
|
1318
1305
|
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1319
1306
|
},
|
|
1320
|
-
|
|
1307
|
+
_3[base_1.ChainId.KOV] = {
|
|
1321
1308
|
// https://kovan.etherscan.io/address/0xd0a1e359811322d97991e03f863a0c30c2cf029c
|
|
1322
1309
|
address: '0xd0a1e359811322d97991e03f863a0c30c2cf029c',
|
|
1323
1310
|
symbol: 'WETH',
|
|
@@ -1327,7 +1314,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1327
1314
|
name: 'WETH',
|
|
1328
1315
|
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1329
1316
|
},
|
|
1330
|
-
|
|
1317
|
+
_3[base_1.ChainId.MUM] = {
|
|
1331
1318
|
// https://mumbai.polygonscan.com/token/0x9c3c9283d3e44854697cd22d3faa240cfb032889
|
|
1332
1319
|
address: '0x9c3c9283d3e44854697cd22d3faa240cfb032889',
|
|
1333
1320
|
symbol: 'WMATIC',
|
|
@@ -1337,7 +1324,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1337
1324
|
name: 'WMATIC',
|
|
1338
1325
|
logoURI: 'https://zapper.fi/images/networks/polygon/0x0000000000000000000000000000000000000000.png',
|
|
1339
1326
|
},
|
|
1340
|
-
|
|
1327
|
+
_3[base_1.ChainId.ONET] = {
|
|
1341
1328
|
address: '0x7466d7d0c21fa05f32f5a0fa27e12bdc06348ce2',
|
|
1342
1329
|
symbol: 'WONE',
|
|
1343
1330
|
decimals: 18,
|
|
@@ -1346,7 +1333,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1346
1333
|
name: 'WRAPPED ONE',
|
|
1347
1334
|
logoURI: 'https://d1xrz6ki9z98vb.cloudfront.net/venomswap/tokens/WONE.png',
|
|
1348
1335
|
},
|
|
1349
|
-
|
|
1336
|
+
_3[base_1.ChainId.ARBT] = {
|
|
1350
1337
|
// https://testnet.arbiscan.io/token/0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681
|
|
1351
1338
|
address: '0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681',
|
|
1352
1339
|
symbol: 'WETH',
|
|
@@ -1356,7 +1343,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1356
1343
|
name: 'WETH',
|
|
1357
1344
|
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1358
1345
|
},
|
|
1359
|
-
|
|
1346
|
+
_3[base_1.ChainId.OPTT] = {
|
|
1360
1347
|
// https://kovan-optimistic.etherscan.io/token/0x4200000000000000000000000000000000000006
|
|
1361
1348
|
address: '0x4200000000000000000000000000000000000006',
|
|
1362
1349
|
symbol: 'WETH',
|
|
@@ -1366,7 +1353,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1366
1353
|
name: 'WETH',
|
|
1367
1354
|
logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
|
|
1368
1355
|
},
|
|
1369
|
-
|
|
1356
|
+
_3[base_1.ChainId.BSCT] = {
|
|
1370
1357
|
// https://testnet.bscscan.com/token/0xae13d989dac2f0debff460ac112a837c89baa7cd
|
|
1371
1358
|
address: '0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd',
|
|
1372
1359
|
symbol: 'WBNB',
|
|
@@ -1376,7 +1363,7 @@ exports.wrappedTokens = (_4 = {},
|
|
|
1376
1363
|
name: 'WBNB',
|
|
1377
1364
|
logoURI: 'https://zapper.fi/images/networks/binance-smart-chain/0x0000000000000000000000000000000000000000.png',
|
|
1378
1365
|
},
|
|
1379
|
-
|
|
1366
|
+
_3);
|
|
1380
1367
|
var findDefaultCoin = function (coinKey) {
|
|
1381
1368
|
var coin = exports.defaultCoins.find(function (coin) { return coin.key === coinKey; });
|
|
1382
1369
|
if (!coin) {
|