@lifi/data-types 4.6.0 → 4.7.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.
|
@@ -924,4 +924,26 @@ export const supportedEVMChains = [
|
|
|
924
924
|
rpcUrls: ['https://public-node.rsk.co', 'https://mycrypto.rsk.co'],
|
|
925
925
|
},
|
|
926
926
|
},
|
|
927
|
+
// 1329 - SEI
|
|
928
|
+
{
|
|
929
|
+
key: ChainKey.SEI,
|
|
930
|
+
chainType: ChainType.EVM,
|
|
931
|
+
name: 'SEI',
|
|
932
|
+
coin: CoinKey.WSEI,
|
|
933
|
+
id: 1329,
|
|
934
|
+
mainnet: true,
|
|
935
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/sei.svg',
|
|
936
|
+
multicallAddress: multicallAddresses[ChainId.SEI],
|
|
937
|
+
metamask: {
|
|
938
|
+
chainId: prefixChainId(1329),
|
|
939
|
+
blockExplorerUrls: ['https://seitrace.com/', 'https://seistream.app/'],
|
|
940
|
+
chainName: 'SEI v2',
|
|
941
|
+
nativeCurrency: {
|
|
942
|
+
name: 'Wrapped SEI',
|
|
943
|
+
symbol: 'WSEI',
|
|
944
|
+
decimals: 18,
|
|
945
|
+
},
|
|
946
|
+
rpcUrls: ['https://evm-rpc.sei-apis.com'],
|
|
947
|
+
},
|
|
948
|
+
},
|
|
927
949
|
];
|
|
@@ -927,4 +927,26 @@ exports.supportedEVMChains = [
|
|
|
927
927
|
rpcUrls: ['https://public-node.rsk.co', 'https://mycrypto.rsk.co'],
|
|
928
928
|
},
|
|
929
929
|
},
|
|
930
|
+
// 1329 - SEI
|
|
931
|
+
{
|
|
932
|
+
key: types_1.ChainKey.SEI,
|
|
933
|
+
chainType: types_1.ChainType.EVM,
|
|
934
|
+
name: 'SEI',
|
|
935
|
+
coin: types_1.CoinKey.WSEI,
|
|
936
|
+
id: 1329,
|
|
937
|
+
mainnet: true,
|
|
938
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/sei.svg',
|
|
939
|
+
multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.SEI],
|
|
940
|
+
metamask: {
|
|
941
|
+
chainId: (0, utils_1.prefixChainId)(1329),
|
|
942
|
+
blockExplorerUrls: ['https://seitrace.com/', 'https://seistream.app/'],
|
|
943
|
+
chainName: 'SEI v2',
|
|
944
|
+
nativeCurrency: {
|
|
945
|
+
name: 'Wrapped SEI',
|
|
946
|
+
symbol: 'WSEI',
|
|
947
|
+
decimals: 18,
|
|
948
|
+
},
|
|
949
|
+
rpcUrls: ['https://evm-rpc.sei-apis.com'],
|
|
950
|
+
},
|
|
951
|
+
},
|
|
930
952
|
];
|
package/dist/cjs/coins/coins.js
CHANGED
|
@@ -560,6 +560,10 @@ exports.basicCoins = [
|
|
|
560
560
|
name: 'rUSDT',
|
|
561
561
|
symbol: 'rUSDT',
|
|
562
562
|
},
|
|
563
|
+
[types_1.ChainId.SEI]: {
|
|
564
|
+
address: '0xB75D0B03c06A926e488e2659DF1A861F860bD3d1',
|
|
565
|
+
decimals: 6,
|
|
566
|
+
},
|
|
563
567
|
},
|
|
564
568
|
},
|
|
565
569
|
// USDC
|
|
@@ -688,6 +692,10 @@ exports.basicCoins = [
|
|
|
688
692
|
address: '0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9',
|
|
689
693
|
decimals: 6,
|
|
690
694
|
},
|
|
695
|
+
[types_1.ChainId.SEI]: {
|
|
696
|
+
address: '0x3894085Ef7Ff0f0aeDf52E2A2704928d1Ec074F1',
|
|
697
|
+
decimals: 6,
|
|
698
|
+
},
|
|
691
699
|
},
|
|
692
700
|
},
|
|
693
701
|
// USDC.e
|
|
@@ -1237,6 +1245,68 @@ exports.basicCoins = [
|
|
|
1237
1245
|
},
|
|
1238
1246
|
},
|
|
1239
1247
|
},
|
|
1248
|
+
// frxETH
|
|
1249
|
+
{
|
|
1250
|
+
key: types_1.CoinKey.frxETH,
|
|
1251
|
+
name: types_1.CoinKey.frxETH,
|
|
1252
|
+
logoURI: 'https://assets.coingecko.com/coins/images/28284/standard/frxETH_icon.png',
|
|
1253
|
+
verified: true,
|
|
1254
|
+
chains: {
|
|
1255
|
+
[types_1.ChainId.POL]: {
|
|
1256
|
+
address: '0x01e91A094f5559f211e4ad4bED01468aBb64Bde3',
|
|
1257
|
+
decimals: 18,
|
|
1258
|
+
},
|
|
1259
|
+
[types_1.ChainId.ARB]: {
|
|
1260
|
+
address: '0xEcc68d0451E20292406967Fe7C04280E5238Ac7D',
|
|
1261
|
+
decimals: 18,
|
|
1262
|
+
},
|
|
1263
|
+
[types_1.ChainId.AVA]: {
|
|
1264
|
+
address: '0x939b1a17C0d0Aa3fEA634Ad9157c88245A53C713',
|
|
1265
|
+
decimals: 18,
|
|
1266
|
+
},
|
|
1267
|
+
[types_1.ChainId.LNA]: {
|
|
1268
|
+
address: '0xEcc68d0451E20292406967Fe7C04280E5238Ac7D',
|
|
1269
|
+
decimals: 18,
|
|
1270
|
+
},
|
|
1271
|
+
[types_1.ChainId.SCL]: {
|
|
1272
|
+
address: '0xEcc68d0451E20292406967Fe7C04280E5238Ac7D',
|
|
1273
|
+
decimals: 18,
|
|
1274
|
+
},
|
|
1275
|
+
[types_1.ChainId.OPT]: {
|
|
1276
|
+
address: '0xEcc68d0451E20292406967Fe7C04280E5238Ac7D',
|
|
1277
|
+
decimals: 18,
|
|
1278
|
+
},
|
|
1279
|
+
[types_1.ChainId.FTM]: {
|
|
1280
|
+
address: '0x39Db1A30122031751e803Fabf329C44efBBfBf4B',
|
|
1281
|
+
decimals: 18,
|
|
1282
|
+
},
|
|
1283
|
+
[types_1.ChainId.MOO]: {
|
|
1284
|
+
address: '0x29C795559e4Db87054Ba70fafC454214c20aDbD4',
|
|
1285
|
+
decimals: 18,
|
|
1286
|
+
},
|
|
1287
|
+
[types_1.ChainId.BAS]: {
|
|
1288
|
+
address: '0xEcc68d0451E20292406967Fe7C04280E5238Ac7D',
|
|
1289
|
+
decimals: 18,
|
|
1290
|
+
},
|
|
1291
|
+
[types_1.ChainId.BSC]: {
|
|
1292
|
+
address: '0x39Db1A30122031751e803Fabf329C44efBBfBf4B',
|
|
1293
|
+
decimals: 18,
|
|
1294
|
+
},
|
|
1295
|
+
},
|
|
1296
|
+
},
|
|
1297
|
+
// SEI
|
|
1298
|
+
{
|
|
1299
|
+
key: types_1.CoinKey.WSEI,
|
|
1300
|
+
name: types_1.CoinKey.WSEI,
|
|
1301
|
+
logoURI: 'https://cdn.sei.io/sei-app/sei-icon.png',
|
|
1302
|
+
verified: true,
|
|
1303
|
+
chains: {
|
|
1304
|
+
[types_1.ChainId.SEI]: {
|
|
1305
|
+
address: '0xE30feDd158A2e3b13e9badaeABaFc5516e95e8C7',
|
|
1306
|
+
decimals: 18,
|
|
1307
|
+
},
|
|
1308
|
+
},
|
|
1309
|
+
},
|
|
1240
1310
|
// > Solana
|
|
1241
1311
|
{
|
|
1242
1312
|
key: types_1.CoinKey.SOL,
|
package/dist/cjs/multicall.js
CHANGED
|
@@ -43,6 +43,7 @@ exports.multicallAddresses = {
|
|
|
43
43
|
[types_1.ChainId.MOD]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
44
44
|
[types_1.ChainId.MNT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
45
45
|
[types_1.ChainId.BLS]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
46
|
+
[types_1.ChainId.SEI]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
46
47
|
// TODO
|
|
47
48
|
// [ChainId.EXP]: '', // TODO
|
|
48
49
|
// [ChainId.TCH]: '', // TODO
|
package/dist/coins/coins.js
CHANGED
|
@@ -557,6 +557,10 @@ export const basicCoins = [
|
|
|
557
557
|
name: 'rUSDT',
|
|
558
558
|
symbol: 'rUSDT',
|
|
559
559
|
},
|
|
560
|
+
[ChainId.SEI]: {
|
|
561
|
+
address: '0xB75D0B03c06A926e488e2659DF1A861F860bD3d1',
|
|
562
|
+
decimals: 6,
|
|
563
|
+
},
|
|
560
564
|
},
|
|
561
565
|
},
|
|
562
566
|
// USDC
|
|
@@ -685,6 +689,10 @@ export const basicCoins = [
|
|
|
685
689
|
address: '0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9',
|
|
686
690
|
decimals: 6,
|
|
687
691
|
},
|
|
692
|
+
[ChainId.SEI]: {
|
|
693
|
+
address: '0x3894085Ef7Ff0f0aeDf52E2A2704928d1Ec074F1',
|
|
694
|
+
decimals: 6,
|
|
695
|
+
},
|
|
688
696
|
},
|
|
689
697
|
},
|
|
690
698
|
// USDC.e
|
|
@@ -1234,6 +1242,68 @@ export const basicCoins = [
|
|
|
1234
1242
|
},
|
|
1235
1243
|
},
|
|
1236
1244
|
},
|
|
1245
|
+
// frxETH
|
|
1246
|
+
{
|
|
1247
|
+
key: CoinKey.frxETH,
|
|
1248
|
+
name: CoinKey.frxETH,
|
|
1249
|
+
logoURI: 'https://assets.coingecko.com/coins/images/28284/standard/frxETH_icon.png',
|
|
1250
|
+
verified: true,
|
|
1251
|
+
chains: {
|
|
1252
|
+
[ChainId.POL]: {
|
|
1253
|
+
address: '0x01e91A094f5559f211e4ad4bED01468aBb64Bde3',
|
|
1254
|
+
decimals: 18,
|
|
1255
|
+
},
|
|
1256
|
+
[ChainId.ARB]: {
|
|
1257
|
+
address: '0xEcc68d0451E20292406967Fe7C04280E5238Ac7D',
|
|
1258
|
+
decimals: 18,
|
|
1259
|
+
},
|
|
1260
|
+
[ChainId.AVA]: {
|
|
1261
|
+
address: '0x939b1a17C0d0Aa3fEA634Ad9157c88245A53C713',
|
|
1262
|
+
decimals: 18,
|
|
1263
|
+
},
|
|
1264
|
+
[ChainId.LNA]: {
|
|
1265
|
+
address: '0xEcc68d0451E20292406967Fe7C04280E5238Ac7D',
|
|
1266
|
+
decimals: 18,
|
|
1267
|
+
},
|
|
1268
|
+
[ChainId.SCL]: {
|
|
1269
|
+
address: '0xEcc68d0451E20292406967Fe7C04280E5238Ac7D',
|
|
1270
|
+
decimals: 18,
|
|
1271
|
+
},
|
|
1272
|
+
[ChainId.OPT]: {
|
|
1273
|
+
address: '0xEcc68d0451E20292406967Fe7C04280E5238Ac7D',
|
|
1274
|
+
decimals: 18,
|
|
1275
|
+
},
|
|
1276
|
+
[ChainId.FTM]: {
|
|
1277
|
+
address: '0x39Db1A30122031751e803Fabf329C44efBBfBf4B',
|
|
1278
|
+
decimals: 18,
|
|
1279
|
+
},
|
|
1280
|
+
[ChainId.MOO]: {
|
|
1281
|
+
address: '0x29C795559e4Db87054Ba70fafC454214c20aDbD4',
|
|
1282
|
+
decimals: 18,
|
|
1283
|
+
},
|
|
1284
|
+
[ChainId.BAS]: {
|
|
1285
|
+
address: '0xEcc68d0451E20292406967Fe7C04280E5238Ac7D',
|
|
1286
|
+
decimals: 18,
|
|
1287
|
+
},
|
|
1288
|
+
[ChainId.BSC]: {
|
|
1289
|
+
address: '0x39Db1A30122031751e803Fabf329C44efBBfBf4B',
|
|
1290
|
+
decimals: 18,
|
|
1291
|
+
},
|
|
1292
|
+
},
|
|
1293
|
+
},
|
|
1294
|
+
// SEI
|
|
1295
|
+
{
|
|
1296
|
+
key: CoinKey.WSEI,
|
|
1297
|
+
name: CoinKey.WSEI,
|
|
1298
|
+
logoURI: 'https://cdn.sei.io/sei-app/sei-icon.png',
|
|
1299
|
+
verified: true,
|
|
1300
|
+
chains: {
|
|
1301
|
+
[ChainId.SEI]: {
|
|
1302
|
+
address: '0xE30feDd158A2e3b13e9badaeABaFc5516e95e8C7',
|
|
1303
|
+
decimals: 18,
|
|
1304
|
+
},
|
|
1305
|
+
},
|
|
1306
|
+
},
|
|
1237
1307
|
// > Solana
|
|
1238
1308
|
{
|
|
1239
1309
|
key: CoinKey.SOL,
|
package/dist/multicall.js
CHANGED
|
@@ -40,6 +40,7 @@ export const multicallAddresses = {
|
|
|
40
40
|
[ChainId.MOD]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
41
41
|
[ChainId.MNT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
42
42
|
[ChainId.BLS]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
43
|
+
[ChainId.SEI]: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
43
44
|
// TODO
|
|
44
45
|
// [ChainId.EXP]: '', // TODO
|
|
45
46
|
// [ChainId.TCH]: '', // TODO
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lifi/data-types",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.7.0",
|
|
4
4
|
"description": "Data types for the LI.FI stack",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sdk",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
]
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@lifi/types": "^13.
|
|
66
|
+
"@lifi/types": "^13.12.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@commitlint/cli": "^17.7.1",
|