@lifi/data-types 4.2.1 → 4.4.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.
@@ -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
  {
@@ -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
  {
@@ -108,6 +108,10 @@ exports.basicCoins = [
108
108
  address: '0x0000000000000000000000000000000000000000',
109
109
  decimals: 18,
110
110
  },
111
+ [types_1.ChainId.BLS]: {
112
+ address: '0x0000000000000000000000000000000000000000',
113
+ decimals: 18,
114
+ },
111
115
  // Testnets
112
116
  [types_1.ChainId.ONET]: {
113
117
  address: '0x268d6ff391b41b36a13b1693bd25f87fb4e4b392',
@@ -959,6 +963,19 @@ exports.basicCoins = [
959
963
  },
960
964
  },
961
965
  },
966
+ // USDB
967
+ {
968
+ key: types_1.CoinKey.USDB,
969
+ name: types_1.CoinKey.USDB,
970
+ logoURI: 'https://static.debank.com/image/blast_token/logo_url/0x4300000000000000000000000000000000000003/43c9fafca023ddd62f7900f357b26714.png',
971
+ verified: true,
972
+ chains: {
973
+ [types_1.ChainId.BLS]: {
974
+ address: '0x4300000000000000000000000000000000000003',
975
+ decimals: 18,
976
+ },
977
+ },
978
+ },
962
979
  // TEST COIN
963
980
  {
964
981
  key: types_1.CoinKey.TEST,
@@ -1189,6 +1206,10 @@ exports.basicCoins = [
1189
1206
  address: '0xdEAddEaDdeadDEadDEADDEAddEADDEAddead1111',
1190
1207
  decimals: 18,
1191
1208
  },
1209
+ [types_1.ChainId.BLS]: {
1210
+ address: '0x4300000000000000000000000000000000000004',
1211
+ decimals: 18,
1212
+ },
1192
1213
  // Testnets
1193
1214
  [types_1.ChainId.OPTG]: {
1194
1215
  address: '0x4200000000000000000000000000000000000006',
@@ -1837,6 +1858,16 @@ exports.wrappedTokens = {
1837
1858
  name: 'WMNT',
1838
1859
  logoURI: 'https://static.debank.com/image/mnt_token/logo_url/0x78c1b0c915c4faa5fffa6cabf0219da63d7f4cb8/a443c78c33704d48f06e5686bb87f85e.png',
1839
1860
  },
1861
+ [types_1.ChainId.BLS]: {
1862
+ // https://blastscan.io/token/0x4300000000000000000000000000000000000004
1863
+ address: '0x4300000000000000000000000000000000000004',
1864
+ symbol: 'WETH',
1865
+ decimals: 18,
1866
+ chainId: types_1.ChainId.BLS,
1867
+ coinKey: types_1.CoinKey.WETH,
1868
+ name: 'WETH',
1869
+ logoURI: 'https://static.debank.com/image/mtr_token/logo_url/0x79a61d3a28f8c8537a3df63092927cfa1150fb3c/61844453e63cf81301f845d7864236f6.png',
1870
+ },
1840
1871
  // Testnets
1841
1872
  [types_1.ChainId.ONET]: {
1842
1873
  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
@@ -105,6 +105,10 @@ export const basicCoins = [
105
105
  address: '0x0000000000000000000000000000000000000000',
106
106
  decimals: 18,
107
107
  },
108
+ [ChainId.BLS]: {
109
+ address: '0x0000000000000000000000000000000000000000',
110
+ decimals: 18,
111
+ },
108
112
  // Testnets
109
113
  [ChainId.ONET]: {
110
114
  address: '0x268d6ff391b41b36a13b1693bd25f87fb4e4b392',
@@ -956,6 +960,19 @@ export const basicCoins = [
956
960
  },
957
961
  },
958
962
  },
963
+ // USDB
964
+ {
965
+ key: CoinKey.USDB,
966
+ name: CoinKey.USDB,
967
+ logoURI: 'https://static.debank.com/image/blast_token/logo_url/0x4300000000000000000000000000000000000003/43c9fafca023ddd62f7900f357b26714.png',
968
+ verified: true,
969
+ chains: {
970
+ [ChainId.BLS]: {
971
+ address: '0x4300000000000000000000000000000000000003',
972
+ decimals: 18,
973
+ },
974
+ },
975
+ },
959
976
  // TEST COIN
960
977
  {
961
978
  key: CoinKey.TEST,
@@ -1186,6 +1203,10 @@ export const basicCoins = [
1186
1203
  address: '0xdEAddEaDdeadDEadDEADDEAddEADDEAddead1111',
1187
1204
  decimals: 18,
1188
1205
  },
1206
+ [ChainId.BLS]: {
1207
+ address: '0x4300000000000000000000000000000000000004',
1208
+ decimals: 18,
1209
+ },
1189
1210
  // Testnets
1190
1211
  [ChainId.OPTG]: {
1191
1212
  address: '0x4200000000000000000000000000000000000006',
@@ -1834,6 +1855,16 @@ export const wrappedTokens = {
1834
1855
  name: 'WMNT',
1835
1856
  logoURI: 'https://static.debank.com/image/mnt_token/logo_url/0x78c1b0c915c4faa5fffa6cabf0219da63d7f4cb8/a443c78c33704d48f06e5686bb87f85e.png',
1836
1857
  },
1858
+ [ChainId.BLS]: {
1859
+ // https://blastscan.io/token/0x4300000000000000000000000000000000000004
1860
+ address: '0x4300000000000000000000000000000000000004',
1861
+ symbol: 'WETH',
1862
+ decimals: 18,
1863
+ chainId: ChainId.BLS,
1864
+ coinKey: CoinKey.WETH,
1865
+ name: 'WETH',
1866
+ logoURI: 'https://static.debank.com/image/mtr_token/logo_url/0x79a61d3a28f8c8537a3df63092927cfa1150fb3c/61844453e63cf81301f845d7864236f6.png',
1867
+ },
1837
1868
  // Testnets
1838
1869
  [ChainId.ONET]: {
1839
1870
  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.1",
3
+ "version": "4.4.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",