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