@metamask/transaction-controller 10.0.0 → 12.0.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 +50 -4
- package/dist/EtherscanRemoteTransactionSource.d.ts +3 -3
- package/dist/EtherscanRemoteTransactionSource.d.ts.map +1 -1
- package/dist/EtherscanRemoteTransactionSource.js +48 -25
- package/dist/EtherscanRemoteTransactionSource.js.map +1 -1
- package/dist/IncomingTransactionHelper.d.ts +4 -3
- package/dist/IncomingTransactionHelper.d.ts.map +1 -1
- package/dist/IncomingTransactionHelper.js +41 -31
- package/dist/IncomingTransactionHelper.js.map +1 -1
- package/dist/TransactionController.d.ts +77 -26
- package/dist/TransactionController.d.ts.map +1 -1
- package/dist/TransactionController.js +241 -124
- package/dist/TransactionController.js.map +1 -1
- package/dist/constants.d.ts +5 -19
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +40 -45
- package/dist/constants.js.map +1 -1
- package/dist/etherscan.d.ts +5 -6
- package/dist/etherscan.d.ts.map +1 -1
- package/dist/etherscan.js +7 -14
- package/dist/etherscan.js.map +1 -1
- package/dist/external-transactions.js +5 -5
- package/dist/external-transactions.js.map +1 -1
- package/dist/history.d.ts +15 -0
- package/dist/history.d.ts.map +1 -0
- package/dist/history.js +75 -0
- package/dist/history.js.map +1 -0
- package/dist/logger.d.ts +6 -0
- package/dist/logger.d.ts.map +1 -0
- package/dist/logger.js +8 -0
- package/dist/logger.js.map +1 -0
- package/dist/transaction-type.d.ts +14 -0
- package/dist/transaction-type.d.ts.map +1 -0
- package/dist/transaction-type.js +114 -0
- package/dist/transaction-type.js.map +1 -0
- package/dist/types.d.ts +227 -27
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +99 -1
- package/dist/types.js.map +1 -1
- package/dist/utils.d.ts +16 -18
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +44 -48
- package/dist/utils.js.map +1 -1
- package/package.json +8 -4
|
@@ -7,7 +7,8 @@ import { BaseController } from '@metamask/base-controller';
|
|
|
7
7
|
import type { BlockTracker, NetworkState, Provider } from '@metamask/network-controller';
|
|
8
8
|
import type { Hex } from '@metamask/utils';
|
|
9
9
|
import { EventEmitter } from 'events';
|
|
10
|
-
import type {
|
|
10
|
+
import type { TransactionParams, TransactionMeta, TransactionReceipt, SendFlowHistoryEntry, WalletDevice } from './types';
|
|
11
|
+
import { TransactionType } from './types';
|
|
11
12
|
export declare const HARDFORK = Hardfork.London;
|
|
12
13
|
/**
|
|
13
14
|
* @type Result
|
|
@@ -18,15 +19,6 @@ export interface Result {
|
|
|
18
19
|
result: Promise<string>;
|
|
19
20
|
transactionMeta: TransactionMeta;
|
|
20
21
|
}
|
|
21
|
-
/**
|
|
22
|
-
* @type Fetch All Options
|
|
23
|
-
* @property fromBlock - String containing a specific block decimal number
|
|
24
|
-
* @property etherscanApiKey - API key to be used to fetch token transactions
|
|
25
|
-
*/
|
|
26
|
-
export interface FetchAllOptions {
|
|
27
|
-
fromBlock?: string;
|
|
28
|
-
etherscanApiKey?: string;
|
|
29
|
-
}
|
|
30
22
|
export interface GasPriceValue {
|
|
31
23
|
gasPrice: string;
|
|
32
24
|
}
|
|
@@ -44,7 +36,7 @@ export interface FeeMarketEIP1559Values {
|
|
|
44
36
|
*/
|
|
45
37
|
export interface TransactionConfig extends BaseConfig {
|
|
46
38
|
interval: number;
|
|
47
|
-
sign?: (
|
|
39
|
+
sign?: (txParams: TransactionParams, from: string) => Promise<any>;
|
|
48
40
|
txHistoryLimit: number;
|
|
49
41
|
}
|
|
50
42
|
/**
|
|
@@ -99,6 +91,8 @@ export declare type TransactionControllerMessenger = RestrictedControllerMesseng
|
|
|
99
91
|
*/
|
|
100
92
|
export declare class TransactionController extends BaseController<TransactionConfig, TransactionState> {
|
|
101
93
|
private ethQuery;
|
|
94
|
+
private readonly isHistoryDisabled;
|
|
95
|
+
private readonly isSendFlowHistoryDisabled;
|
|
102
96
|
private readonly nonceTracker;
|
|
103
97
|
private registry;
|
|
104
98
|
private readonly provider;
|
|
@@ -126,27 +120,31 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
126
120
|
*
|
|
127
121
|
* @param options - The controller options.
|
|
128
122
|
* @param options.blockTracker - The block tracker used to poll for new blocks data.
|
|
123
|
+
* @param options.disableHistory - Whether to disable storing history in transaction metadata.
|
|
124
|
+
* @param options.disableSendFlowHistory - Explicitly disable transaction metadata history.
|
|
129
125
|
* @param options.getNetworkState - Gets the state of the network controller.
|
|
130
126
|
* @param options.getSelectedAddress - Gets the address of the currently selected account.
|
|
131
127
|
* @param options.incomingTransactions - Configuration options for incoming transaction support.
|
|
132
|
-
* @param options.incomingTransactions.apiKey - An optional API key to use when fetching remote transaction data.
|
|
133
128
|
* @param options.incomingTransactions.includeTokenTransfers - Whether or not to include ERC20 token transfers.
|
|
134
129
|
* @param options.incomingTransactions.isEnabled - Whether or not incoming transaction retrieval is enabled.
|
|
135
|
-
* @param options.incomingTransactions.
|
|
130
|
+
* @param options.incomingTransactions.queryEntireHistory - Whether to initially query the entire transaction history or only recent blocks.
|
|
131
|
+
* @param options.incomingTransactions.updateTransactions - Whether to update local transactions using remote transaction data.
|
|
136
132
|
* @param options.messenger - The controller messenger.
|
|
137
133
|
* @param options.onNetworkStateChange - Allows subscribing to network controller state changes.
|
|
138
134
|
* @param options.provider - The provider used to create the underlying EthQuery instance.
|
|
139
135
|
* @param config - Initial options used to configure this controller.
|
|
140
136
|
* @param state - Initial state to set on this controller.
|
|
141
137
|
*/
|
|
142
|
-
constructor({ blockTracker, getNetworkState, getSelectedAddress, incomingTransactions, messenger, onNetworkStateChange, provider, }: {
|
|
138
|
+
constructor({ blockTracker, disableHistory, disableSendFlowHistory, getNetworkState, getSelectedAddress, incomingTransactions, messenger, onNetworkStateChange, provider, }: {
|
|
143
139
|
blockTracker: BlockTracker;
|
|
140
|
+
disableHistory: boolean;
|
|
141
|
+
disableSendFlowHistory: boolean;
|
|
144
142
|
getNetworkState: () => NetworkState;
|
|
145
143
|
getSelectedAddress: () => string;
|
|
146
144
|
incomingTransactions: {
|
|
147
|
-
apiKey?: string;
|
|
148
145
|
includeTokenTransfers?: boolean;
|
|
149
146
|
isEnabled?: () => boolean;
|
|
147
|
+
queryEntireHistory?: boolean;
|
|
150
148
|
updateTransactions?: boolean;
|
|
151
149
|
};
|
|
152
150
|
messenger: TransactionControllerMessenger;
|
|
@@ -171,21 +169,25 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
171
169
|
* unique transaction id will be generated, and gas and gasPrice will be calculated
|
|
172
170
|
* if not provided. If A `<tx.id>:unapproved` hub event will be emitted once added.
|
|
173
171
|
*
|
|
174
|
-
* @param
|
|
172
|
+
* @param txParams - Standard parameters for an Ethereum transaction.
|
|
175
173
|
* @param opts - Additional options to control how the transaction is added.
|
|
176
174
|
* @param opts.actionId - Unique ID to prevent duplicate requests.
|
|
177
175
|
* @param opts.deviceConfirmedOn - An enum to indicate what device confirmed the transaction.
|
|
178
176
|
* @param opts.origin - The origin of the transaction request, such as a dApp hostname.
|
|
179
177
|
* @param opts.requireApproval - Whether the transaction requires approval by the user, defaults to true unless explicitly disabled.
|
|
180
178
|
* @param opts.securityAlertResponse - Response from security validator.
|
|
179
|
+
* @param opts.sendFlowHistory - The sendFlowHistory entries to add.
|
|
180
|
+
* @param opts.type - Type of transaction to add, such as 'cancel' or 'swap'.
|
|
181
181
|
* @returns Object containing a promise resolving to the transaction hash if approved.
|
|
182
182
|
*/
|
|
183
|
-
addTransaction(
|
|
183
|
+
addTransaction(txParams: TransactionParams, { actionId, deviceConfirmedOn, origin, requireApproval, securityAlertResponse, sendFlowHistory, type, }?: {
|
|
184
184
|
actionId?: string;
|
|
185
185
|
deviceConfirmedOn?: WalletDevice;
|
|
186
186
|
origin?: string;
|
|
187
187
|
requireApproval?: boolean | undefined;
|
|
188
188
|
securityAlertResponse?: Record<string, unknown>;
|
|
189
|
+
sendFlowHistory?: SendFlowHistoryEntry[];
|
|
190
|
+
type?: TransactionType;
|
|
189
191
|
}): Promise<Result>;
|
|
190
192
|
startIncomingTransactionPolling(): void;
|
|
191
193
|
stopIncomingTransactionPolling(): void;
|
|
@@ -198,24 +200,24 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
198
200
|
* Attempts to cancel a transaction based on its ID by setting its status to "rejected"
|
|
199
201
|
* and emitting a `<tx.id>:finished` hub event.
|
|
200
202
|
*
|
|
201
|
-
* @param
|
|
203
|
+
* @param transactionId - The ID of the transaction to cancel.
|
|
202
204
|
* @param gasValues - The gas values to use for the cancellation transaction.
|
|
203
205
|
* @param options - The options for the cancellation transaction.
|
|
204
206
|
* @param options.estimatedBaseFee - The estimated base fee of the transaction.
|
|
205
207
|
*/
|
|
206
|
-
stopTransaction(
|
|
208
|
+
stopTransaction(transactionId: string, gasValues?: GasPriceValue | FeeMarketEIP1559Values, { estimatedBaseFee }?: {
|
|
207
209
|
estimatedBaseFee?: string;
|
|
208
210
|
}): Promise<void>;
|
|
209
211
|
/**
|
|
210
212
|
* Attempts to speed up a transaction increasing transaction gasPrice by ten percent.
|
|
211
213
|
*
|
|
212
|
-
* @param
|
|
214
|
+
* @param transactionId - The ID of the transaction to speed up.
|
|
213
215
|
* @param gasValues - The gas values to use for the speed up transaction.
|
|
214
216
|
* @param options - The options for the speed up transaction.
|
|
215
217
|
* @param options.actionId - Unique ID to prevent duplicate requests
|
|
216
218
|
* @param options.estimatedBaseFee - The estimated base fee of the transaction.
|
|
217
219
|
*/
|
|
218
|
-
speedUpTransaction(
|
|
220
|
+
speedUpTransaction(transactionId: string, gasValues?: GasPriceValue | FeeMarketEIP1559Values, { actionId, estimatedBaseFee, }?: {
|
|
219
221
|
actionId?: string;
|
|
220
222
|
estimatedBaseFee?: string;
|
|
221
223
|
}): Promise<void>;
|
|
@@ -225,7 +227,7 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
225
227
|
* @param transaction - The transaction to estimate gas for.
|
|
226
228
|
* @returns The gas and gas price.
|
|
227
229
|
*/
|
|
228
|
-
estimateGas(transaction:
|
|
230
|
+
estimateGas(transaction: TransactionParams): Promise<{
|
|
229
231
|
gas: string;
|
|
230
232
|
gasPrice: any;
|
|
231
233
|
estimateGasError?: undefined;
|
|
@@ -243,8 +245,9 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
243
245
|
* Updates an existing transaction in state.
|
|
244
246
|
*
|
|
245
247
|
* @param transactionMeta - The new transaction to store in state.
|
|
248
|
+
* @param note - A note or update reason to include in the transaction history.
|
|
246
249
|
*/
|
|
247
|
-
updateTransaction(transactionMeta: TransactionMeta): void;
|
|
250
|
+
updateTransaction(transactionMeta: TransactionMeta, note: string): void;
|
|
248
251
|
/**
|
|
249
252
|
* Removes all transactions from state, optionally based on the current network.
|
|
250
253
|
*
|
|
@@ -264,6 +267,46 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
264
267
|
* @param baseFeePerGas - Base fee per gas of the external transaction.
|
|
265
268
|
*/
|
|
266
269
|
confirmExternalTransaction(transactionMeta: TransactionMeta, transactionReceipt: TransactionReceipt, baseFeePerGas: Hex): Promise<void>;
|
|
270
|
+
/**
|
|
271
|
+
* Append new send flow history to a transaction.
|
|
272
|
+
*
|
|
273
|
+
* @param transactionID - The ID of the transaction to update.
|
|
274
|
+
* @param currentSendFlowHistoryLength - The length of the current sendFlowHistory array.
|
|
275
|
+
* @param sendFlowHistoryToAdd - The sendFlowHistory entries to add.
|
|
276
|
+
* @returns The updated transactionMeta.
|
|
277
|
+
*/
|
|
278
|
+
updateTransactionSendFlowHistory(transactionID: string, currentSendFlowHistoryLength: number, sendFlowHistoryToAdd: SendFlowHistoryEntry[]): TransactionMeta;
|
|
279
|
+
/**
|
|
280
|
+
* Update the gas values of a transaction.
|
|
281
|
+
*
|
|
282
|
+
* @param transactionId - The ID of the transaction to update.
|
|
283
|
+
* @param gasValues - Gas values to update.
|
|
284
|
+
* @param gasValues.gas - Same as transaction.gasLimit.
|
|
285
|
+
* @param gasValues.gasLimit - Maxmimum number of units of gas to use for this transaction.
|
|
286
|
+
* @param gasValues.gasPrice - Price per gas for legacy transactions.
|
|
287
|
+
* @param gasValues.maxPriorityFeePerGas - Maximum amount per gas to give to validator as incentive.
|
|
288
|
+
* @param gasValues.maxFeePerGas - Maximum amount per gas to pay for the transaction, including the priority fee.
|
|
289
|
+
* @param gasValues.estimateUsed - Which estimate level was used.
|
|
290
|
+
* @param gasValues.estimateSuggested - Which estimate level that the API suggested.
|
|
291
|
+
* @param gasValues.defaultGasEstimates - The default estimate for gas.
|
|
292
|
+
* @param gasValues.originalGasEstimate - Original estimate for gas.
|
|
293
|
+
* @param gasValues.userEditedGasLimit - The gas limit supplied by user.
|
|
294
|
+
* @param gasValues.userFeeLevel - Estimate level user selected.
|
|
295
|
+
* @returns The updated transactionMeta.
|
|
296
|
+
*/
|
|
297
|
+
updateTransactionGasFees(transactionId: string, { defaultGasEstimates, estimateUsed, estimateSuggested, gas, gasLimit, gasPrice, maxPriorityFeePerGas, maxFeePerGas, originalGasEstimate, userEditedGasLimit, userFeeLevel, }: {
|
|
298
|
+
defaultGasEstimates?: string;
|
|
299
|
+
estimateUsed?: string;
|
|
300
|
+
estimateSuggested?: string;
|
|
301
|
+
gas?: string;
|
|
302
|
+
gasLimit?: string;
|
|
303
|
+
gasPrice?: string;
|
|
304
|
+
maxPriorityFeePerGas?: string;
|
|
305
|
+
maxFeePerGas?: string;
|
|
306
|
+
originalGasEstimate?: string;
|
|
307
|
+
userEditedGasLimit?: boolean;
|
|
308
|
+
userFeeLevel?: string;
|
|
309
|
+
}): TransactionMeta;
|
|
267
310
|
private processApproval;
|
|
268
311
|
/**
|
|
269
312
|
* Approves a transaction and updates it's status in state. If this is not a
|
|
@@ -271,14 +314,14 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
271
314
|
* using the sign configuration property, then published to the blockchain.
|
|
272
315
|
* A `<tx.id>:finished` hub event is fired after success or failure.
|
|
273
316
|
*
|
|
274
|
-
* @param
|
|
317
|
+
* @param transactionId - The ID of the transaction to approve.
|
|
275
318
|
*/
|
|
276
319
|
private approveTransaction;
|
|
277
320
|
/**
|
|
278
321
|
* Cancels a transaction based on its ID by setting its status to "rejected"
|
|
279
322
|
* and emitting a `<tx.id>:finished` hub event.
|
|
280
323
|
*
|
|
281
|
-
* @param
|
|
324
|
+
* @param transactionId - The ID of the transaction to cancel.
|
|
282
325
|
*/
|
|
283
326
|
private cancelTransaction;
|
|
284
327
|
/**
|
|
@@ -331,7 +374,7 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
331
374
|
private getTransaction;
|
|
332
375
|
private getApprovalId;
|
|
333
376
|
private isTransactionCompleted;
|
|
334
|
-
private
|
|
377
|
+
private getChainId;
|
|
335
378
|
private prepareUnsignedEthTx;
|
|
336
379
|
/**
|
|
337
380
|
* `@ethereumjs/tx` uses `@ethereumjs/common` as a configuration tool for
|
|
@@ -373,6 +416,14 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
373
416
|
*/
|
|
374
417
|
private getTransactionWithActionId;
|
|
375
418
|
private waitForTransactionFinished;
|
|
419
|
+
/**
|
|
420
|
+
* Updates the r, s, and v properties of a TransactionMeta object
|
|
421
|
+
* with values from a signed transaction.
|
|
422
|
+
*
|
|
423
|
+
* @param transactionMeta - The TransactionMeta object to update.
|
|
424
|
+
* @param signedTx - The encompassing type for all transaction types containing r, s, and v values.
|
|
425
|
+
*/
|
|
426
|
+
private updateTransactionMetaRSV;
|
|
376
427
|
}
|
|
377
428
|
export default TransactionController;
|
|
378
429
|
//# sourceMappingURL=TransactionController.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionController.d.ts","sourceRoot":"","sources":["../src/TransactionController.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAA4B,MAAM,oBAAoB,CAAC;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,OAAO,KAAK,EAEV,k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