@lifi/data-types 4.6.1 → 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
|
|
@@ -1286,6 +1294,19 @@ exports.basicCoins = [
|
|
|
1286
1294
|
},
|
|
1287
1295
|
},
|
|
1288
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
|
+
},
|
|
1289
1310
|
// > Solana
|
|
1290
1311
|
{
|
|
1291
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
|
|
@@ -1283,6 +1291,19 @@ export const basicCoins = [
|
|
|
1283
1291
|
},
|
|
1284
1292
|
},
|
|
1285
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
|
+
},
|
|
1286
1307
|
// > Solana
|
|
1287
1308
|
{
|
|
1288
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",
|