@lifi/data-types 4.6.1 → 4.7.1
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
|
@@ -419,7 +419,7 @@ exports.basicCoins = [
|
|
|
419
419
|
{
|
|
420
420
|
key: types_1.CoinKey.RBTC,
|
|
421
421
|
name: 'Rootstock Smart Bitcoin',
|
|
422
|
-
logoURI: 'https://static.debank.com/image/
|
|
422
|
+
logoURI: 'https://static.debank.com/image/rsk_token/logo_url/0x542fda317318ebf1d3deaf76e0b632741a7e677d/4785a26ef5bb5df987e67ad49fc62137.png',
|
|
423
423
|
verified: true,
|
|
424
424
|
chains: {
|
|
425
425
|
[types_1.ChainId.RSK]: {
|
|
@@ -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
|
|
@@ -874,11 +882,6 @@ exports.basicCoins = [
|
|
|
874
882
|
address: '0xCAbAE6f6Ea1ecaB08Ad02fE02ce9A44F09aebfA2',
|
|
875
883
|
decimals: 8,
|
|
876
884
|
},
|
|
877
|
-
[types_1.ChainId.RSK]: {
|
|
878
|
-
address: '0x542fda317318ebf1d3deaf76e0b632741a7e677d',
|
|
879
|
-
decimals: 18,
|
|
880
|
-
symbol: 'WRBTC',
|
|
881
|
-
},
|
|
882
885
|
},
|
|
883
886
|
},
|
|
884
887
|
// > WETH
|
|
@@ -1286,6 +1289,19 @@ exports.basicCoins = [
|
|
|
1286
1289
|
},
|
|
1287
1290
|
},
|
|
1288
1291
|
},
|
|
1292
|
+
// SEI
|
|
1293
|
+
{
|
|
1294
|
+
key: types_1.CoinKey.WSEI,
|
|
1295
|
+
name: types_1.CoinKey.WSEI,
|
|
1296
|
+
logoURI: 'https://cdn.sei.io/sei-app/sei-icon.png',
|
|
1297
|
+
verified: true,
|
|
1298
|
+
chains: {
|
|
1299
|
+
[types_1.ChainId.SEI]: {
|
|
1300
|
+
address: '0xE30feDd158A2e3b13e9badaeABaFc5516e95e8C7',
|
|
1301
|
+
decimals: 18,
|
|
1302
|
+
},
|
|
1303
|
+
},
|
|
1304
|
+
},
|
|
1289
1305
|
// > Solana
|
|
1290
1306
|
{
|
|
1291
1307
|
key: types_1.CoinKey.SOL,
|
|
@@ -1695,7 +1711,7 @@ exports.wrappedTokens = {
|
|
|
1695
1711
|
decimals: 18,
|
|
1696
1712
|
chainId: types_1.ChainId.RSK,
|
|
1697
1713
|
coinKey: types_1.CoinKey.WBTC,
|
|
1698
|
-
name: 'Wrapped
|
|
1714
|
+
name: 'Wrapped RBTC',
|
|
1699
1715
|
logoURI: 'https://static.debank.com/image/rsk_token/logo_url/0x542fda317318ebf1d3deaf76e0b632741a7e677d/4785a26ef5bb5df987e67ad49fc62137.png',
|
|
1700
1716
|
},
|
|
1701
1717
|
};
|
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
|
@@ -416,7 +416,7 @@ export const basicCoins = [
|
|
|
416
416
|
{
|
|
417
417
|
key: CoinKey.RBTC,
|
|
418
418
|
name: 'Rootstock Smart Bitcoin',
|
|
419
|
-
logoURI: 'https://static.debank.com/image/
|
|
419
|
+
logoURI: 'https://static.debank.com/image/rsk_token/logo_url/0x542fda317318ebf1d3deaf76e0b632741a7e677d/4785a26ef5bb5df987e67ad49fc62137.png',
|
|
420
420
|
verified: true,
|
|
421
421
|
chains: {
|
|
422
422
|
[ChainId.RSK]: {
|
|
@@ -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
|
|
@@ -871,11 +879,6 @@ export const basicCoins = [
|
|
|
871
879
|
address: '0xCAbAE6f6Ea1ecaB08Ad02fE02ce9A44F09aebfA2',
|
|
872
880
|
decimals: 8,
|
|
873
881
|
},
|
|
874
|
-
[ChainId.RSK]: {
|
|
875
|
-
address: '0x542fda317318ebf1d3deaf76e0b632741a7e677d',
|
|
876
|
-
decimals: 18,
|
|
877
|
-
symbol: 'WRBTC',
|
|
878
|
-
},
|
|
879
882
|
},
|
|
880
883
|
},
|
|
881
884
|
// > WETH
|
|
@@ -1283,6 +1286,19 @@ export const basicCoins = [
|
|
|
1283
1286
|
},
|
|
1284
1287
|
},
|
|
1285
1288
|
},
|
|
1289
|
+
// SEI
|
|
1290
|
+
{
|
|
1291
|
+
key: CoinKey.WSEI,
|
|
1292
|
+
name: CoinKey.WSEI,
|
|
1293
|
+
logoURI: 'https://cdn.sei.io/sei-app/sei-icon.png',
|
|
1294
|
+
verified: true,
|
|
1295
|
+
chains: {
|
|
1296
|
+
[ChainId.SEI]: {
|
|
1297
|
+
address: '0xE30feDd158A2e3b13e9badaeABaFc5516e95e8C7',
|
|
1298
|
+
decimals: 18,
|
|
1299
|
+
},
|
|
1300
|
+
},
|
|
1301
|
+
},
|
|
1286
1302
|
// > Solana
|
|
1287
1303
|
{
|
|
1288
1304
|
key: CoinKey.SOL,
|
|
@@ -1692,7 +1708,7 @@ export const wrappedTokens = {
|
|
|
1692
1708
|
decimals: 18,
|
|
1693
1709
|
chainId: ChainId.RSK,
|
|
1694
1710
|
coinKey: CoinKey.WBTC,
|
|
1695
|
-
name: 'Wrapped
|
|
1711
|
+
name: 'Wrapped RBTC',
|
|
1696
1712
|
logoURI: 'https://static.debank.com/image/rsk_token/logo_url/0x542fda317318ebf1d3deaf76e0b632741a7e677d/4785a26ef5bb5df987e67ad49fc62137.png',
|
|
1697
1713
|
},
|
|
1698
1714
|
};
|
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.1",
|
|
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",
|