@lifi/types 1.3.0 → 1.5.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/bridges.js +1 -1
- package/dist/chains/supported.chains.js +18 -18
- 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.5.0](https://github.com/lifinance/types/compare/v1.4.1...v1.5.0) (2022-08-10)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **bridges:** rename AcrossV2 in Across ([#92](https://github.com/lifinance/types/issues/92)) ([5bd7e7a](https://github.com/lifinance/types/commit/5bd7e7ac045b2a93b0e6e7803c2ddfa087385a27))
|
|
11
|
+
|
|
12
|
+
### [1.4.1](https://github.com/lifinance/types/compare/v1.4.0...v1.4.1) (2022-08-09)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* okx icon ([#91](https://github.com/lifinance/types/issues/91)) ([d356e19](https://github.com/lifinance/types/commit/d356e1983fb4fef604fd92e3bb87cf908d24fa8a))
|
|
18
|
+
|
|
19
|
+
## [1.4.0](https://github.com/lifinance/types/compare/v1.3.0...v1.4.0) (2022-08-08)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* add new svg chain icons ([#90](https://github.com/lifinance/types/issues/90)) ([34ffbdd](https://github.com/lifinance/types/commit/34ffbddeb31d4cf352fba5430ea71df74d793d96))
|
|
25
|
+
* add voltage exchange icon ([24cde33](https://github.com/lifinance/types/commit/24cde33e57a436c93c6a9da9265ad0c97b0b561e))
|
|
26
|
+
|
|
5
27
|
## [1.3.0](https://github.com/lifinance/types/compare/v1.2.1...v1.3.0) (2022-07-28)
|
|
6
28
|
|
|
7
29
|
|
package/dist/bridges.js
CHANGED
|
@@ -124,7 +124,7 @@ exports.supportedBridges = [
|
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
key: BridgeTool.across,
|
|
127
|
-
name: '
|
|
127
|
+
name: 'Across',
|
|
128
128
|
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/bridges/acrossv2.png',
|
|
129
129
|
bridgeUrl: 'https://across.to/',
|
|
130
130
|
discordUrl: 'https://discord.gg/t4SZySkn',
|
|
@@ -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/
|
|
165
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/okx.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
|
];
|