@lifi/data-types 4.7.2 → 4.8.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.
|
@@ -929,7 +929,7 @@ export const supportedEVMChains = [
|
|
|
929
929
|
key: ChainKey.SEI,
|
|
930
930
|
chainType: ChainType.EVM,
|
|
931
931
|
name: 'SEI',
|
|
932
|
-
coin: CoinKey.
|
|
932
|
+
coin: CoinKey.SEI,
|
|
933
933
|
id: 1329,
|
|
934
934
|
mainnet: true,
|
|
935
935
|
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/sei.svg',
|
|
@@ -939,11 +939,11 @@ export const supportedEVMChains = [
|
|
|
939
939
|
blockExplorerUrls: ['https://seitrace.com/', 'https://seistream.app/'],
|
|
940
940
|
chainName: 'SEI v2',
|
|
941
941
|
nativeCurrency: {
|
|
942
|
-
name: '
|
|
943
|
-
symbol: '
|
|
942
|
+
name: 'SEI',
|
|
943
|
+
symbol: 'SEI',
|
|
944
944
|
decimals: 18,
|
|
945
945
|
},
|
|
946
|
-
rpcUrls: ['https://evm-rpc.sei-apis.com'],
|
|
946
|
+
rpcUrls: ['https://evm-rpc.sei-apis.com', 'https://rpc.ankr.com/sei'],
|
|
947
947
|
},
|
|
948
948
|
},
|
|
949
949
|
];
|
|
@@ -932,7 +932,7 @@ exports.supportedEVMChains = [
|
|
|
932
932
|
key: types_1.ChainKey.SEI,
|
|
933
933
|
chainType: types_1.ChainType.EVM,
|
|
934
934
|
name: 'SEI',
|
|
935
|
-
coin: types_1.CoinKey.
|
|
935
|
+
coin: types_1.CoinKey.SEI,
|
|
936
936
|
id: 1329,
|
|
937
937
|
mainnet: true,
|
|
938
938
|
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/sei.svg',
|
|
@@ -942,11 +942,11 @@ exports.supportedEVMChains = [
|
|
|
942
942
|
blockExplorerUrls: ['https://seitrace.com/', 'https://seistream.app/'],
|
|
943
943
|
chainName: 'SEI v2',
|
|
944
944
|
nativeCurrency: {
|
|
945
|
-
name: '
|
|
946
|
-
symbol: '
|
|
945
|
+
name: 'SEI',
|
|
946
|
+
symbol: 'SEI',
|
|
947
947
|
decimals: 18,
|
|
948
948
|
},
|
|
949
|
-
rpcUrls: ['https://evm-rpc.sei-apis.com'],
|
|
949
|
+
rpcUrls: ['https://evm-rpc.sei-apis.com', 'https://rpc.ankr.com/sei'],
|
|
950
950
|
},
|
|
951
951
|
},
|
|
952
952
|
];
|
package/dist/cjs/coins/coins.js
CHANGED
|
@@ -1291,13 +1291,13 @@ exports.basicCoins = [
|
|
|
1291
1291
|
},
|
|
1292
1292
|
// SEI
|
|
1293
1293
|
{
|
|
1294
|
-
key: types_1.CoinKey.
|
|
1295
|
-
name: types_1.CoinKey.
|
|
1294
|
+
key: types_1.CoinKey.SEI,
|
|
1295
|
+
name: types_1.CoinKey.SEI,
|
|
1296
1296
|
logoURI: 'https://cdn.sei.io/sei-app/sei-icon.png',
|
|
1297
1297
|
verified: true,
|
|
1298
1298
|
chains: {
|
|
1299
1299
|
[types_1.ChainId.SEI]: {
|
|
1300
|
-
address: '
|
|
1300
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
1301
1301
|
decimals: 18,
|
|
1302
1302
|
},
|
|
1303
1303
|
},
|
|
@@ -1530,7 +1530,7 @@ exports.wrappedTokens = {
|
|
|
1530
1530
|
logoURI: 'https://static.debank.com/image/mtr_token/logo_url/0x79a61d3a28f8c8537a3df63092927cfa1150fb3c/61844453e63cf81301f845d7864236f6.png',
|
|
1531
1531
|
},
|
|
1532
1532
|
[types_1.ChainId.FTM]: {
|
|
1533
|
-
//
|
|
1533
|
+
// https://ftmscan.com/address/0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83
|
|
1534
1534
|
address: '0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83',
|
|
1535
1535
|
symbol: 'wFTM',
|
|
1536
1536
|
decimals: 18,
|
|
@@ -1714,6 +1714,16 @@ exports.wrappedTokens = {
|
|
|
1714
1714
|
name: 'Wrapped RBTC',
|
|
1715
1715
|
logoURI: 'https://static.debank.com/image/rsk_token/logo_url/0x542fda317318ebf1d3deaf76e0b632741a7e677d/4785a26ef5bb5df987e67ad49fc62137.png',
|
|
1716
1716
|
},
|
|
1717
|
+
[types_1.ChainId.SEI]: {
|
|
1718
|
+
// https://seitrace.com/token/0xE30feDd158A2e3b13e9badaeABaFc5516e95e8C7
|
|
1719
|
+
address: '0xE30feDd158A2e3b13e9badaeABaFc5516e95e8C7',
|
|
1720
|
+
symbol: 'WSEI',
|
|
1721
|
+
decimals: 18,
|
|
1722
|
+
chainId: types_1.ChainId.SEI,
|
|
1723
|
+
coinKey: types_1.CoinKey.WSEI,
|
|
1724
|
+
name: 'Wrapped SEI',
|
|
1725
|
+
logoURI: 'https://cdn.sei.io/sei-app/sei-icon.png',
|
|
1726
|
+
},
|
|
1717
1727
|
};
|
|
1718
1728
|
const findDefaultCoin = (coinKey) => {
|
|
1719
1729
|
const coin = exports.defaultCoins.find((coin) => coin.key === coinKey);
|
package/dist/coins/coins.js
CHANGED
|
@@ -1288,13 +1288,13 @@ export const basicCoins = [
|
|
|
1288
1288
|
},
|
|
1289
1289
|
// SEI
|
|
1290
1290
|
{
|
|
1291
|
-
key: CoinKey.
|
|
1292
|
-
name: CoinKey.
|
|
1291
|
+
key: CoinKey.SEI,
|
|
1292
|
+
name: CoinKey.SEI,
|
|
1293
1293
|
logoURI: 'https://cdn.sei.io/sei-app/sei-icon.png',
|
|
1294
1294
|
verified: true,
|
|
1295
1295
|
chains: {
|
|
1296
1296
|
[ChainId.SEI]: {
|
|
1297
|
-
address: '
|
|
1297
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
1298
1298
|
decimals: 18,
|
|
1299
1299
|
},
|
|
1300
1300
|
},
|
|
@@ -1527,7 +1527,7 @@ export const wrappedTokens = {
|
|
|
1527
1527
|
logoURI: 'https://static.debank.com/image/mtr_token/logo_url/0x79a61d3a28f8c8537a3df63092927cfa1150fb3c/61844453e63cf81301f845d7864236f6.png',
|
|
1528
1528
|
},
|
|
1529
1529
|
[ChainId.FTM]: {
|
|
1530
|
-
//
|
|
1530
|
+
// https://ftmscan.com/address/0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83
|
|
1531
1531
|
address: '0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83',
|
|
1532
1532
|
symbol: 'wFTM',
|
|
1533
1533
|
decimals: 18,
|
|
@@ -1711,6 +1711,16 @@ export const wrappedTokens = {
|
|
|
1711
1711
|
name: 'Wrapped RBTC',
|
|
1712
1712
|
logoURI: 'https://static.debank.com/image/rsk_token/logo_url/0x542fda317318ebf1d3deaf76e0b632741a7e677d/4785a26ef5bb5df987e67ad49fc62137.png',
|
|
1713
1713
|
},
|
|
1714
|
+
[ChainId.SEI]: {
|
|
1715
|
+
// https://seitrace.com/token/0xE30feDd158A2e3b13e9badaeABaFc5516e95e8C7
|
|
1716
|
+
address: '0xE30feDd158A2e3b13e9badaeABaFc5516e95e8C7',
|
|
1717
|
+
symbol: 'WSEI',
|
|
1718
|
+
decimals: 18,
|
|
1719
|
+
chainId: ChainId.SEI,
|
|
1720
|
+
coinKey: CoinKey.WSEI,
|
|
1721
|
+
name: 'Wrapped SEI',
|
|
1722
|
+
logoURI: 'https://cdn.sei.io/sei-app/sei-icon.png',
|
|
1723
|
+
},
|
|
1714
1724
|
};
|
|
1715
1725
|
export const findDefaultCoin = (coinKey) => {
|
|
1716
1726
|
const coin = defaultCoins.find((coin) => coin.key === coinKey);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lifi/data-types",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.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.13.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@commitlint/cli": "^17.7.1",
|