@lifi/types 8.2.1-alpha.0 → 8.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.
package/CHANGELOG.md CHANGED
@@ -2,7 +2,19 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- ### [8.2.1-alpha.0](https://github.com/lifinance/types/compare/v8.2.0...v8.2.1-alpha.0) (2023-08-08)
5
+ ## [8.4.0](https://github.com/lifinance/types/compare/v8.3.0...v8.4.0) (2023-08-14)
6
+
7
+
8
+ ### Features
9
+
10
+ * add BASE chain ([#186](https://github.com/lifinance/types/issues/186)) ([7726a93](https://github.com/lifinance/types/commit/7726a93c2fa1dbdef53f359229280c26670fe4c1))
11
+
12
+ ## [8.3.0](https://github.com/lifinance/types/compare/v8.2.0...v8.3.0) (2023-08-04)
13
+
14
+
15
+ ### Features
16
+
17
+ * move NOT_PROCESSABLE_REFUND_NEEDED to PENDING ([#185](https://github.com/lifinance/types/issues/185)) ([14ceea0](https://github.com/lifinance/types/commit/14ceea03f7e95466061c46b70998738114812f80))
6
18
 
7
19
  ## [8.2.0](https://github.com/lifinance/types/compare/v8.0.4...v8.2.0) (2023-07-26)
8
20
 
package/dist/api.d.ts CHANGED
@@ -146,15 +146,6 @@ export interface QuoteRequest extends ToolConfiguration {
146
146
  fromAmountForGas?: string;
147
147
  maxPriceImpact?: number;
148
148
  }
149
- export interface ContractCall {
150
- fromAmount: string;
151
- fromTokenAddress: string;
152
- toContractAddress: string;
153
- toContractCallData: string;
154
- toContractGasLimit: string;
155
- toApprovalAddress?: string;
156
- toTokenAddress?: string;
157
- }
158
149
  export interface ContractCallQuoteRequest extends ToolConfiguration {
159
150
  fromChain: number | string;
160
151
  fromToken: string;
@@ -162,9 +153,12 @@ export interface ContractCallQuoteRequest extends ToolConfiguration {
162
153
  toChain: number | string;
163
154
  toToken: string;
164
155
  toAmount: string;
156
+ toContractAddress: string;
157
+ toContractCallData: string;
158
+ toContractGasLimit: string;
159
+ toApprovalAddress?: string;
165
160
  toFallbackAddress?: string;
166
161
  contractOutputsToken?: string;
167
- contractCalls: ContractCall[];
168
162
  slippage?: number | string;
169
163
  integrator?: string;
170
164
  referrer?: string;
@@ -233,16 +227,13 @@ export interface PendingReceivingInfo {
233
227
  }
234
228
  declare const _StatusMessage: readonly ["NOT_FOUND", "INVALID", "PENDING", "DONE", "FAILED"];
235
229
  export type StatusMessage = (typeof _StatusMessage)[number];
236
- declare const _SubstatusPending: readonly ["WAIT_SOURCE_CONFIRMATIONS", "WAIT_DESTINATION_TRANSACTION", "BRIDGE_NOT_AVAILABLE", "CHAIN_NOT_AVAILABLE", "REFUND_IN_PROGRESS", "UNKNOWN_ERROR"];
230
+ declare const _SubstatusPending: readonly ["WAIT_SOURCE_CONFIRMATIONS", "WAIT_DESTINATION_TRANSACTION", "BRIDGE_NOT_AVAILABLE", "CHAIN_NOT_AVAILABLE", "NOT_PROCESSABLE_REFUND_NEEDED", "REFUND_IN_PROGRESS", "UNKNOWN_ERROR"];
237
231
  export type SubstatusPending = (typeof _SubstatusPending)[number];
238
232
  declare const _SubstatusDone: readonly ["COMPLETED", "PARTIAL", "REFUNDED"];
239
233
  export type SubstatusDone = (typeof _SubstatusDone)[number];
240
- declare const _SubstatusFailed: readonly ["NOT_PROCESSABLE_REFUND_NEEDED"];
241
- export type SubstatusFailed = (typeof _SubstatusFailed)[number];
242
- export type Substatus = SubstatusPending | SubstatusDone | SubstatusFailed;
243
- export declare const isSubstatusPending: (substatus: Substatus) => substatus is "UNKNOWN_ERROR" | "WAIT_SOURCE_CONFIRMATIONS" | "WAIT_DESTINATION_TRANSACTION" | "BRIDGE_NOT_AVAILABLE" | "CHAIN_NOT_AVAILABLE" | "REFUND_IN_PROGRESS";
234
+ export type Substatus = SubstatusPending | SubstatusDone;
235
+ export declare const isSubstatusPending: (substatus: Substatus) => substatus is "UNKNOWN_ERROR" | "WAIT_SOURCE_CONFIRMATIONS" | "WAIT_DESTINATION_TRANSACTION" | "BRIDGE_NOT_AVAILABLE" | "CHAIN_NOT_AVAILABLE" | "NOT_PROCESSABLE_REFUND_NEEDED" | "REFUND_IN_PROGRESS";
244
236
  export declare const isSubstatusDone: (substatus: Substatus) => substatus is "COMPLETED" | "PARTIAL" | "REFUNDED";
245
- export declare const isSubstatusFailed: (substatus: Substatus) => substatus is "NOT_PROCESSABLE_REFUND_NEEDED";
246
237
  export interface BaseStatusData {
247
238
  status: StatusMessage;
248
239
  substatus?: Substatus;
package/dist/api.js CHANGED
@@ -25,6 +25,8 @@ const _SubstatusPending = [
25
25
  'BRIDGE_NOT_AVAILABLE',
26
26
  // The RPC for source/destination chain is temporarily unavailable
27
27
  'CHAIN_NOT_AVAILABLE',
28
+ // The transfer cannot be completed, a refund is required
29
+ 'NOT_PROCESSABLE_REFUND_NEEDED',
28
30
  // A refund has been requested and is in progress
29
31
  'REFUND_IN_PROGRESS',
30
32
  // We cannot determine the status of the transfer
@@ -40,11 +42,6 @@ const _SubstatusDone = [
40
42
  // The transfer was not successful but it has been refunded
41
43
  'REFUNDED',
42
44
  ];
43
- const _SubstatusFailed = [
44
- // The transfer cannot be completed, a refund is required
45
- 'NOT_PROCESSABLE_REFUND_NEEDED',
46
- ];
47
45
  export const isSubstatusPending = (substatus) => _SubstatusPending.includes(substatus);
48
46
  export const isSubstatusDone = (substatus) => _SubstatusDone.includes(substatus);
49
- export const isSubstatusFailed = (substatus) => _SubstatusFailed.includes(substatus);
50
47
  const _LIFuelState = ['PENDING', 'DONE', 'NOT_FOUND'];
package/dist/base.d.ts CHANGED
@@ -98,6 +98,7 @@ export declare enum ChainKey {
98
98
  ERA = "era",
99
99
  PZE = "pze",
100
100
  LNA = "lna",
101
+ BAS = "bas",
101
102
  GOR = "gor",
102
103
  METT = "mett",
103
104
  DIOT = "diot",
@@ -159,6 +160,7 @@ export declare enum ChainId {
159
160
  ERA = 324,
160
161
  PZE = 1101,
161
162
  LNA = 59144,
163
+ BAS = 8453,
162
164
  GOR = 5,
163
165
  METT = 12,
164
166
  DIOT = 13,
package/dist/base.js CHANGED
@@ -102,6 +102,7 @@ export var ChainKey;
102
102
  ChainKey["ERA"] = "era";
103
103
  ChainKey["PZE"] = "pze";
104
104
  ChainKey["LNA"] = "lna";
105
+ ChainKey["BAS"] = "bas";
105
106
  // Testnets
106
107
  ChainKey["GOR"] = "gor";
107
108
  ChainKey["METT"] = "mett";
@@ -165,6 +166,7 @@ export var ChainId;
165
166
  ChainId[ChainId["ERA"] = 324] = "ERA";
166
167
  ChainId[ChainId["PZE"] = 1101] = "PZE";
167
168
  ChainId[ChainId["LNA"] = 59144] = "LNA";
169
+ ChainId[ChainId["BAS"] = 8453] = "BAS";
168
170
  // Testnets
169
171
  ChainId[ChainId["GOR"] = 5] = "GOR";
170
172
  ChainId[ChainId["METT"] = 12] = "METT";
@@ -808,6 +808,27 @@ export const supportedEVMChains = [
808
808
  rpcUrls: ['https://zkevm-rpc.com'],
809
809
  },
810
810
  },
811
+ {
812
+ key: ChainKey.BAS,
813
+ chainType: ChainType.EVM,
814
+ name: 'BASE',
815
+ coin: CoinKey.ETH,
816
+ id: 8453,
817
+ mainnet: true,
818
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/base.svg',
819
+ multicallAddress: multicallAddresses[ChainId.BAS],
820
+ metamask: {
821
+ chainId: prefixChainId(8453),
822
+ blockExplorerUrls: ['https://basescan.org/'],
823
+ chainName: 'BASE',
824
+ nativeCurrency: {
825
+ name: 'Ethereum',
826
+ symbol: 'ETH',
827
+ decimals: 18,
828
+ },
829
+ rpcUrls: ['https://mainnet.base.org'],
830
+ },
831
+ },
811
832
  // TESTNETS
812
833
  // 5 - Goerli
813
834
  {
package/dist/cjs/api.d.ts CHANGED
@@ -146,15 +146,6 @@ export interface QuoteRequest extends ToolConfiguration {
146
146
  fromAmountForGas?: string;
147
147
  maxPriceImpact?: number;
148
148
  }
149
- export interface ContractCall {
150
- fromAmount: string;
151
- fromTokenAddress: string;
152
- toContractAddress: string;
153
- toContractCallData: string;
154
- toContractGasLimit: string;
155
- toApprovalAddress?: string;
156
- toTokenAddress?: string;
157
- }
158
149
  export interface ContractCallQuoteRequest extends ToolConfiguration {
159
150
  fromChain: number | string;
160
151
  fromToken: string;
@@ -162,9 +153,12 @@ export interface ContractCallQuoteRequest extends ToolConfiguration {
162
153
  toChain: number | string;
163
154
  toToken: string;
164
155
  toAmount: string;
156
+ toContractAddress: string;
157
+ toContractCallData: string;
158
+ toContractGasLimit: string;
159
+ toApprovalAddress?: string;
165
160
  toFallbackAddress?: string;
166
161
  contractOutputsToken?: string;
167
- contractCalls: ContractCall[];
168
162
  slippage?: number | string;
169
163
  integrator?: string;
170
164
  referrer?: string;
@@ -233,16 +227,13 @@ export interface PendingReceivingInfo {
233
227
  }
234
228
  declare const _StatusMessage: readonly ["NOT_FOUND", "INVALID", "PENDING", "DONE", "FAILED"];
235
229
  export type StatusMessage = (typeof _StatusMessage)[number];
236
- declare const _SubstatusPending: readonly ["WAIT_SOURCE_CONFIRMATIONS", "WAIT_DESTINATION_TRANSACTION", "BRIDGE_NOT_AVAILABLE", "CHAIN_NOT_AVAILABLE", "REFUND_IN_PROGRESS", "UNKNOWN_ERROR"];
230
+ declare const _SubstatusPending: readonly ["WAIT_SOURCE_CONFIRMATIONS", "WAIT_DESTINATION_TRANSACTION", "BRIDGE_NOT_AVAILABLE", "CHAIN_NOT_AVAILABLE", "NOT_PROCESSABLE_REFUND_NEEDED", "REFUND_IN_PROGRESS", "UNKNOWN_ERROR"];
237
231
  export type SubstatusPending = (typeof _SubstatusPending)[number];
238
232
  declare const _SubstatusDone: readonly ["COMPLETED", "PARTIAL", "REFUNDED"];
239
233
  export type SubstatusDone = (typeof _SubstatusDone)[number];
240
- declare const _SubstatusFailed: readonly ["NOT_PROCESSABLE_REFUND_NEEDED"];
241
- export type SubstatusFailed = (typeof _SubstatusFailed)[number];
242
- export type Substatus = SubstatusPending | SubstatusDone | SubstatusFailed;
243
- export declare const isSubstatusPending: (substatus: Substatus) => substatus is "UNKNOWN_ERROR" | "WAIT_SOURCE_CONFIRMATIONS" | "WAIT_DESTINATION_TRANSACTION" | "BRIDGE_NOT_AVAILABLE" | "CHAIN_NOT_AVAILABLE" | "REFUND_IN_PROGRESS";
234
+ export type Substatus = SubstatusPending | SubstatusDone;
235
+ export declare const isSubstatusPending: (substatus: Substatus) => substatus is "UNKNOWN_ERROR" | "WAIT_SOURCE_CONFIRMATIONS" | "WAIT_DESTINATION_TRANSACTION" | "BRIDGE_NOT_AVAILABLE" | "CHAIN_NOT_AVAILABLE" | "NOT_PROCESSABLE_REFUND_NEEDED" | "REFUND_IN_PROGRESS";
244
236
  export declare const isSubstatusDone: (substatus: Substatus) => substatus is "COMPLETED" | "PARTIAL" | "REFUNDED";
245
- export declare const isSubstatusFailed: (substatus: Substatus) => substatus is "NOT_PROCESSABLE_REFUND_NEEDED";
246
237
  export interface BaseStatusData {
247
238
  status: StatusMessage;
248
239
  substatus?: Substatus;
package/dist/cjs/api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isSubstatusFailed = exports.isSubstatusDone = exports.isSubstatusPending = exports._InsuranceState = exports.Orders = void 0;
3
+ exports.isSubstatusDone = exports.isSubstatusPending = exports._InsuranceState = exports.Orders = void 0;
4
4
  exports.Orders = ['RECOMMENDED', 'FASTEST', 'CHEAPEST', 'SAFEST'];
5
5
  exports._InsuranceState = [
6
6
  'INSURED',
@@ -28,6 +28,8 @@ const _SubstatusPending = [
28
28
  'BRIDGE_NOT_AVAILABLE',
29
29
  // The RPC for source/destination chain is temporarily unavailable
30
30
  'CHAIN_NOT_AVAILABLE',
31
+ // The transfer cannot be completed, a refund is required
32
+ 'NOT_PROCESSABLE_REFUND_NEEDED',
31
33
  // A refund has been requested and is in progress
32
34
  'REFUND_IN_PROGRESS',
33
35
  // We cannot determine the status of the transfer
@@ -43,14 +45,8 @@ const _SubstatusDone = [
43
45
  // The transfer was not successful but it has been refunded
44
46
  'REFUNDED',
45
47
  ];
46
- const _SubstatusFailed = [
47
- // The transfer cannot be completed, a refund is required
48
- 'NOT_PROCESSABLE_REFUND_NEEDED',
49
- ];
50
48
  const isSubstatusPending = (substatus) => _SubstatusPending.includes(substatus);
51
49
  exports.isSubstatusPending = isSubstatusPending;
52
50
  const isSubstatusDone = (substatus) => _SubstatusDone.includes(substatus);
53
51
  exports.isSubstatusDone = isSubstatusDone;
54
- const isSubstatusFailed = (substatus) => _SubstatusFailed.includes(substatus);
55
- exports.isSubstatusFailed = isSubstatusFailed;
56
52
  const _LIFuelState = ['PENDING', 'DONE', 'NOT_FOUND'];
@@ -98,6 +98,7 @@ export declare enum ChainKey {
98
98
  ERA = "era",
99
99
  PZE = "pze",
100
100
  LNA = "lna",
101
+ BAS = "bas",
101
102
  GOR = "gor",
102
103
  METT = "mett",
103
104
  DIOT = "diot",
@@ -159,6 +160,7 @@ export declare enum ChainId {
159
160
  ERA = 324,
160
161
  PZE = 1101,
161
162
  LNA = 59144,
163
+ BAS = 8453,
162
164
  GOR = 5,
163
165
  METT = 12,
164
166
  DIOT = 13,
package/dist/cjs/base.js CHANGED
@@ -105,6 +105,7 @@ var ChainKey;
105
105
  ChainKey["ERA"] = "era";
106
106
  ChainKey["PZE"] = "pze";
107
107
  ChainKey["LNA"] = "lna";
108
+ ChainKey["BAS"] = "bas";
108
109
  // Testnets
109
110
  ChainKey["GOR"] = "gor";
110
111
  ChainKey["METT"] = "mett";
@@ -168,6 +169,7 @@ var ChainId;
168
169
  ChainId[ChainId["ERA"] = 324] = "ERA";
169
170
  ChainId[ChainId["PZE"] = 1101] = "PZE";
170
171
  ChainId[ChainId["LNA"] = 59144] = "LNA";
172
+ ChainId[ChainId["BAS"] = 8453] = "BAS";
171
173
  // Testnets
172
174
  ChainId[ChainId["GOR"] = 5] = "GOR";
173
175
  ChainId[ChainId["METT"] = 12] = "METT";
@@ -811,6 +811,27 @@ exports.supportedEVMChains = [
811
811
  rpcUrls: ['https://zkevm-rpc.com'],
812
812
  },
813
813
  },
814
+ {
815
+ key: base_1.ChainKey.BAS,
816
+ chainType: Chain_1.ChainType.EVM,
817
+ name: 'BASE',
818
+ coin: base_1.CoinKey.ETH,
819
+ id: 8453,
820
+ mainnet: true,
821
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/base.svg',
822
+ multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.BAS],
823
+ metamask: {
824
+ chainId: (0, EVMChain_1.prefixChainId)(8453),
825
+ blockExplorerUrls: ['https://basescan.org/'],
826
+ chainName: 'BASE',
827
+ nativeCurrency: {
828
+ name: 'Ethereum',
829
+ symbol: 'ETH',
830
+ decimals: 18,
831
+ },
832
+ rpcUrls: ['https://mainnet.base.org'],
833
+ },
834
+ },
814
835
  // TESTNETS
815
836
  // 5 - Goerli
816
837
  {
package/dist/cjs/coins.js CHANGED
@@ -50,6 +50,10 @@ const basicCoins = [
50
50
  address: '0x0000000000000000000000000000000000000000',
51
51
  decimals: 18,
52
52
  },
53
+ [base_1.ChainId.BAS]: {
54
+ address: '0x0000000000000000000000000000000000000000',
55
+ decimals: 18,
56
+ },
53
57
  [base_1.ChainId.FTM]: {
54
58
  address: '0x74b23882a30290451a17c44f4f05243b6b58c76d',
55
59
  decimals: 18,
@@ -760,6 +764,11 @@ const basicCoins = [
760
764
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
761
765
  verified: true,
762
766
  chains: {
767
+ [base_1.ChainId.BAS]: {
768
+ address: '0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca',
769
+ decimals: 6,
770
+ name: 'USD Base Coin',
771
+ },
763
772
  [base_1.ChainId.ETH]: {
764
773
  address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
765
774
  decimals: 6,
@@ -1117,6 +1126,10 @@ const basicCoins = [
1117
1126
  address: '0x74b23882a30290451a17c44f4f05243b6b58c76d',
1118
1127
  decimals: 18,
1119
1128
  },
1129
+ [base_1.ChainId.BAS]: {
1130
+ address: '0x4200000000000000000000000000000000000006',
1131
+ decimals: 18,
1132
+ },
1120
1133
  [base_1.ChainId.AVA]: {
1121
1134
  address: '0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab',
1122
1135
  decimals: 18,
@@ -1580,6 +1593,16 @@ exports.wrappedTokens = {
1580
1593
  name: 'Wrapped Ether',
1581
1594
  logoURI: 'https://static.debank.com/image/pze_token/logo_url/0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9/61844453e63cf81301f845d7864236f6.png',
1582
1595
  },
1596
+ [base_1.ChainId.BAS]: {
1597
+ // https://basescan.org/address/0x4200000000000000000000000000000000000006
1598
+ address: '0x4200000000000000000000000000000000000006',
1599
+ symbol: 'WETH',
1600
+ decimals: 18,
1601
+ chainId: base_1.ChainId.BAS,
1602
+ coinKey: base_1.CoinKey.WETH,
1603
+ name: 'Wrapped Ether',
1604
+ logoURI: 'https://static.debank.com/image/coin/logo_url/eth/d61441782d4a08a7479d54aea211679e.png',
1605
+ },
1583
1606
  [base_1.ChainId.FTM]: {
1584
1607
  //
1585
1608
  address: '0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83',
@@ -39,6 +39,7 @@ exports.multicallAddresses = {
39
39
  [_1.ChainId.ERA]: '0xF9cda624FBC7e059355ce98a31693d299FACd963',
40
40
  [_1.ChainId.LNA]: '0xcA11bde05977b3631167028862bE2a173976CA11',
41
41
  [_1.ChainId.ARN]: '0xcA11bde05977b3631167028862bE2a173976CA11',
42
+ [_1.ChainId.BAS]: '0xcA11bde05977b3631167028862bE2a173976CA11',
42
43
  // TODO
43
44
  // [ChainId.EXP]: '', // TODO
44
45
  // [ChainId.TCH]: '', // TODO
package/dist/coins.js CHANGED
@@ -47,6 +47,10 @@ const basicCoins = [
47
47
  address: '0x0000000000000000000000000000000000000000',
48
48
  decimals: 18,
49
49
  },
50
+ [ChainId.BAS]: {
51
+ address: '0x0000000000000000000000000000000000000000',
52
+ decimals: 18,
53
+ },
50
54
  [ChainId.FTM]: {
51
55
  address: '0x74b23882a30290451a17c44f4f05243b6b58c76d',
52
56
  decimals: 18,
@@ -757,6 +761,11 @@ const basicCoins = [
757
761
  logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png',
758
762
  verified: true,
759
763
  chains: {
764
+ [ChainId.BAS]: {
765
+ address: '0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca',
766
+ decimals: 6,
767
+ name: 'USD Base Coin',
768
+ },
760
769
  [ChainId.ETH]: {
761
770
  address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
762
771
  decimals: 6,
@@ -1114,6 +1123,10 @@ const basicCoins = [
1114
1123
  address: '0x74b23882a30290451a17c44f4f05243b6b58c76d',
1115
1124
  decimals: 18,
1116
1125
  },
1126
+ [ChainId.BAS]: {
1127
+ address: '0x4200000000000000000000000000000000000006',
1128
+ decimals: 18,
1129
+ },
1117
1130
  [ChainId.AVA]: {
1118
1131
  address: '0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab',
1119
1132
  decimals: 18,
@@ -1577,6 +1590,16 @@ export const wrappedTokens = {
1577
1590
  name: 'Wrapped Ether',
1578
1591
  logoURI: 'https://static.debank.com/image/pze_token/logo_url/0x4f9a0e7fd2bf6067db6994cf12e4495df938e6e9/61844453e63cf81301f845d7864236f6.png',
1579
1592
  },
1593
+ [ChainId.BAS]: {
1594
+ // https://basescan.org/address/0x4200000000000000000000000000000000000006
1595
+ address: '0x4200000000000000000000000000000000000006',
1596
+ symbol: 'WETH',
1597
+ decimals: 18,
1598
+ chainId: ChainId.BAS,
1599
+ coinKey: CoinKey.WETH,
1600
+ name: 'Wrapped Ether',
1601
+ logoURI: 'https://static.debank.com/image/coin/logo_url/eth/d61441782d4a08a7479d54aea211679e.png',
1602
+ },
1580
1603
  [ChainId.FTM]: {
1581
1604
  //
1582
1605
  address: '0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83',
package/dist/multicall.js CHANGED
@@ -36,6 +36,7 @@ export const multicallAddresses = {
36
36
  [ChainId.ERA]: '0xF9cda624FBC7e059355ce98a31693d299FACd963',
37
37
  [ChainId.LNA]: '0xcA11bde05977b3631167028862bE2a173976CA11',
38
38
  [ChainId.ARN]: '0xcA11bde05977b3631167028862bE2a173976CA11',
39
+ [ChainId.BAS]: '0xcA11bde05977b3631167028862bE2a173976CA11',
39
40
  // TODO
40
41
  // [ChainId.EXP]: '', // TODO
41
42
  // [ChainId.TCH]: '', // TODO
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/types",
3
- "version": "8.2.1-alpha.0",
3
+ "version": "8.4.0",
4
4
  "description": "Types for the LI.FI stack",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/index.js",