@lifi/data-types 4.2.0 → 4.3.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.
@@ -888,7 +888,7 @@ export const supportedEVMChains = [
888
888
  metamask: {
889
889
  chainId: prefixChainId(5000),
890
890
  blockExplorerUrls: [
891
- 'https://explorer.mantle.xyz',
891
+ 'https://explorer.mantle.xyz/',
892
892
  'https://mantle.socialscan.io/',
893
893
  ],
894
894
  chainName: 'Mantle',
@@ -904,6 +904,28 @@ export const supportedEVMChains = [
904
904
  ],
905
905
  },
906
906
  },
907
+ // 81457 - Blast
908
+ {
909
+ key: ChainKey.BLS,
910
+ chainType: ChainType.EVM,
911
+ name: 'Blast',
912
+ coin: CoinKey.ETH,
913
+ id: 81457,
914
+ mainnet: true,
915
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/blast.png',
916
+ multicallAddress: multicallAddresses[ChainId.BLS],
917
+ metamask: {
918
+ chainId: prefixChainId(81457),
919
+ blockExplorerUrls: ['https://blastscan.io/', 'https://blastexplorer.io/'],
920
+ chainName: 'Blast',
921
+ nativeCurrency: {
922
+ name: 'Ethereum',
923
+ symbol: 'ETH',
924
+ decimals: 18,
925
+ },
926
+ rpcUrls: ['https://rpc.blast.io', 'https://rpc.ankr.com/blast'],
927
+ },
928
+ },
907
929
  // TESTNETS
908
930
  // 12 - Metadium Testnet
909
931
  {
@@ -891,7 +891,7 @@ exports.supportedEVMChains = [
891
891
  metamask: {
892
892
  chainId: (0, utils_1.prefixChainId)(5000),
893
893
  blockExplorerUrls: [
894
- 'https://explorer.mantle.xyz',
894
+ 'https://explorer.mantle.xyz/',
895
895
  'https://mantle.socialscan.io/',
896
896
  ],
897
897
  chainName: 'Mantle',
@@ -907,6 +907,28 @@ exports.supportedEVMChains = [
907
907
  ],
908
908
  },
909
909
  },
910
+ // 81457 - Blast
911
+ {
912
+ key: types_1.ChainKey.BLS,
913
+ chainType: types_1.ChainType.EVM,
914
+ name: 'Blast',
915
+ coin: types_1.CoinKey.ETH,
916
+ id: 81457,
917
+ mainnet: true,
918
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/blast.png',
919
+ multicallAddress: multicall_1.multicallAddresses[types_1.ChainId.BLS],
920
+ metamask: {
921
+ chainId: (0, utils_1.prefixChainId)(81457),
922
+ blockExplorerUrls: ['https://blastscan.io/', 'https://blastexplorer.io/'],
923
+ chainName: 'Blast',
924
+ nativeCurrency: {
925
+ name: 'Ethereum',
926
+ symbol: 'ETH',
927
+ decimals: 18,
928
+ },
929
+ rpcUrls: ['https://rpc.blast.io', 'https://rpc.ankr.com/blast'],
930
+ },
931
+ },
910
932
  // TESTNETS
911
933
  // 12 - Metadium Testnet
912
934
  {
@@ -959,6 +959,19 @@ exports.basicCoins = [
959
959
  },
960
960
  },
961
961
  },
962
+ // USDB
963
+ {
964
+ key: types_1.CoinKey.USDB,
965
+ name: types_1.CoinKey.USDB,
966
+ logoURI: 'https://static.debank.com/image/blast_token/logo_url/0x4300000000000000000000000000000000000003/43c9fafca023ddd62f7900f357b26714.png',
967
+ verified: true,
968
+ chains: {
969
+ [types_1.ChainId.BLS]: {
970
+ address: '0x4300000000000000000000000000000000000003',
971
+ decimals: 18,
972
+ },
973
+ },
974
+ },
962
975
  // TEST COIN
963
976
  {
964
977
  key: types_1.CoinKey.TEST,
@@ -1189,6 +1202,10 @@ exports.basicCoins = [
1189
1202
  address: '0xdEAddEaDdeadDEadDEADDEAddEADDEAddead1111',
1190
1203
  decimals: 18,
1191
1204
  },
1205
+ [types_1.ChainId.BLS]: {
1206
+ address: '0x4300000000000000000000000000000000000004',
1207
+ decimals: 18,
1208
+ },
1192
1209
  // Testnets
1193
1210
  [types_1.ChainId.OPTG]: {
1194
1211
  address: '0x4200000000000000000000000000000000000006',
@@ -1837,6 +1854,16 @@ exports.wrappedTokens = {
1837
1854
  name: 'WMNT',
1838
1855
  logoURI: 'https://static.debank.com/image/mnt_token/logo_url/0x78c1b0c915c4faa5fffa6cabf0219da63d7f4cb8/a443c78c33704d48f06e5686bb87f85e.png',
1839
1856
  },
1857
+ [types_1.ChainId.BLS]: {
1858
+ // https://blastscan.io/token/0x4300000000000000000000000000000000000004
1859
+ address: '0x4300000000000000000000000000000000000004',
1860
+ symbol: 'WETH',
1861
+ decimals: 18,
1862
+ chainId: types_1.ChainId.BLS,
1863
+ coinKey: types_1.CoinKey.WETH,
1864
+ name: 'WETH',
1865
+ logoURI: 'https://static.debank.com/image/mtr_token/logo_url/0x79a61d3a28f8c8537a3df63092927cfa1150fb3c/61844453e63cf81301f845d7864236f6.png',
1866
+ },
1840
1867
  // Testnets
1841
1868
  [types_1.ChainId.ONET]: {
1842
1869
  address: '0x7466d7d0c21fa05f32f5a0fa27e12bdc06348ce2',
@@ -42,6 +42,7 @@ exports.multicallAddresses = {
42
42
  [types_1.ChainId.SCL]: '0xcA11bde05977b3631167028862bE2a173976CA11',
43
43
  [types_1.ChainId.MOD]: '0xcA11bde05977b3631167028862bE2a173976CA11',
44
44
  [types_1.ChainId.MNT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
45
+ [types_1.ChainId.BLS]: '0xcA11bde05977b3631167028862bE2a173976CA11',
45
46
  // TODO
46
47
  // [ChainId.EXP]: '', // TODO
47
48
  // [ChainId.TCH]: '', // TODO
@@ -956,6 +956,19 @@ export const basicCoins = [
956
956
  },
957
957
  },
958
958
  },
959
+ // USDB
960
+ {
961
+ key: CoinKey.USDB,
962
+ name: CoinKey.USDB,
963
+ logoURI: 'https://static.debank.com/image/blast_token/logo_url/0x4300000000000000000000000000000000000003/43c9fafca023ddd62f7900f357b26714.png',
964
+ verified: true,
965
+ chains: {
966
+ [ChainId.BLS]: {
967
+ address: '0x4300000000000000000000000000000000000003',
968
+ decimals: 18,
969
+ },
970
+ },
971
+ },
959
972
  // TEST COIN
960
973
  {
961
974
  key: CoinKey.TEST,
@@ -1186,6 +1199,10 @@ export const basicCoins = [
1186
1199
  address: '0xdEAddEaDdeadDEadDEADDEAddEADDEAddead1111',
1187
1200
  decimals: 18,
1188
1201
  },
1202
+ [ChainId.BLS]: {
1203
+ address: '0x4300000000000000000000000000000000000004',
1204
+ decimals: 18,
1205
+ },
1189
1206
  // Testnets
1190
1207
  [ChainId.OPTG]: {
1191
1208
  address: '0x4200000000000000000000000000000000000006',
@@ -1834,6 +1851,16 @@ export const wrappedTokens = {
1834
1851
  name: 'WMNT',
1835
1852
  logoURI: 'https://static.debank.com/image/mnt_token/logo_url/0x78c1b0c915c4faa5fffa6cabf0219da63d7f4cb8/a443c78c33704d48f06e5686bb87f85e.png',
1836
1853
  },
1854
+ [ChainId.BLS]: {
1855
+ // https://blastscan.io/token/0x4300000000000000000000000000000000000004
1856
+ address: '0x4300000000000000000000000000000000000004',
1857
+ symbol: 'WETH',
1858
+ decimals: 18,
1859
+ chainId: ChainId.BLS,
1860
+ coinKey: CoinKey.WETH,
1861
+ name: 'WETH',
1862
+ logoURI: 'https://static.debank.com/image/mtr_token/logo_url/0x79a61d3a28f8c8537a3df63092927cfa1150fb3c/61844453e63cf81301f845d7864236f6.png',
1863
+ },
1837
1864
  // Testnets
1838
1865
  [ChainId.ONET]: {
1839
1866
  address: '0x7466d7d0c21fa05f32f5a0fa27e12bdc06348ce2',
package/dist/multicall.js CHANGED
@@ -39,6 +39,7 @@ export const multicallAddresses = {
39
39
  [ChainId.SCL]: '0xcA11bde05977b3631167028862bE2a173976CA11',
40
40
  [ChainId.MOD]: '0xcA11bde05977b3631167028862bE2a173976CA11',
41
41
  [ChainId.MNT]: '0xcA11bde05977b3631167028862bE2a173976CA11',
42
+ [ChainId.BLS]: '0xcA11bde05977b3631167028862bE2a173976CA11',
42
43
  // TODO
43
44
  // [ChainId.EXP]: '', // TODO
44
45
  // [ChainId.TCH]: '', // TODO
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/data-types",
3
- "version": "4.2.0",
3
+ "version": "4.3.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.3.0"
66
+ "@lifi/types": "^13.6.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@commitlint/cli": "^17.7.1",