@metamask-previews/transaction-controller 21.2.0-preview.bc4dd941 → 23.0.0-preview.0dea691a
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 +58 -1
- package/dist/TransactionController.d.ts +114 -113
- package/dist/TransactionController.d.ts.map +1 -1
- package/dist/TransactionController.js +347 -187
- package/dist/TransactionController.js.map +1 -1
- package/dist/gas-flows/DefaultGasFeeFlow.d.ts +10 -0
- package/dist/gas-flows/DefaultGasFeeFlow.d.ts.map +1 -0
- package/dist/gas-flows/DefaultGasFeeFlow.js +78 -0
- package/dist/gas-flows/DefaultGasFeeFlow.js.map +1 -0
- package/dist/gas-flows/LineaGasFeeFlow.d.ts +12 -0
- package/dist/gas-flows/LineaGasFeeFlow.d.ts.map +1 -0
- package/dist/gas-flows/LineaGasFeeFlow.js +111 -0
- package/dist/gas-flows/LineaGasFeeFlow.js.map +1 -0
- package/dist/helpers/EtherscanRemoteTransactionSource.d.ts.map +1 -1
- package/dist/helpers/EtherscanRemoteTransactionSource.js +28 -8
- package/dist/helpers/EtherscanRemoteTransactionSource.js.map +1 -1
- package/dist/helpers/GasFeePoller.d.ts +32 -0
- package/dist/helpers/GasFeePoller.d.ts.map +1 -0
- package/dist/helpers/GasFeePoller.js +144 -0
- package/dist/helpers/GasFeePoller.js.map +1 -0
- package/dist/helpers/IncomingTransactionHelper.d.ts +17 -3
- package/dist/helpers/IncomingTransactionHelper.d.ts.map +1 -1
- package/dist/helpers/IncomingTransactionHelper.js +17 -14
- package/dist/helpers/IncomingTransactionHelper.js.map +1 -1
- package/dist/helpers/MultichainTrackingHelper.d.ts +72 -0
- package/dist/helpers/MultichainTrackingHelper.d.ts.map +1 -0
- package/dist/helpers/MultichainTrackingHelper.js +292 -0
- package/dist/helpers/MultichainTrackingHelper.js.map +1 -0
- package/dist/helpers/PendingTransactionTracker.d.ts +13 -7
- package/dist/helpers/PendingTransactionTracker.d.ts.map +1 -1
- package/dist/helpers/PendingTransactionTracker.js +43 -23
- package/dist/helpers/PendingTransactionTracker.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +62 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +8 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/etherscan.d.ts +7 -0
- package/dist/utils/etherscan.d.ts.map +1 -1
- package/dist/utils/etherscan.js +17 -6
- package/dist/utils/etherscan.js.map +1 -1
- package/dist/utils/gas-fees.d.ts +14 -19
- package/dist/utils/gas-fees.d.ts.map +1 -1
- package/dist/utils/gas-fees.js +23 -33
- package/dist/utils/gas-fees.js.map +1 -1
- package/dist/utils/gas-flow.d.ts +32 -0
- package/dist/utils/gas-flow.d.ts.map +1 -0
- package/dist/utils/gas-flow.js +53 -0
- package/dist/utils/gas-flow.js.map +1 -0
- package/dist/utils/gas.d.ts +3 -2
- package/dist/utils/gas.d.ts.map +1 -1
- package/dist/utils/gas.js +4 -5
- package/dist/utils/gas.js.map +1 -1
- package/dist/utils/nonce.d.ts +3 -3
- package/dist/utils/nonce.d.ts.map +1 -1
- package/dist/utils/nonce.js +3 -3
- package/dist/utils/nonce.js.map +1 -1
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,61 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [23.0.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **BREAKING:** Constructor now expects a `getNetworkClientRegistry` callback function ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
15
|
+
- **BREAKING:** Messenger now requires `NetworkController:stateChange` to be an allowed event ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
16
|
+
- **BREAKING:** Messenger now requires `NetworkController:findNetworkClientByChainId` and `NetworkController:getNetworkClientById` actions ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
17
|
+
- Adds a feature flag parameter `isMultichainEnabled` passed via the constructor (and defaulted to false), which when passed a truthy value will enable the controller to submit, process, and track transactions concurrently on multiple networks. ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
18
|
+
- Adds `destroy()` method that stops/removes internal polling and listeners ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
19
|
+
- Adds `stopAllIncomingTransactionPolling()` method that stops polling Etherscan for transaction updates relevant to the currently selected network.
|
|
20
|
+
- When called with the `isMultichainEnabled` feature flag on, also stops polling Etherscan for transaction updates relevant to each currently polled networkClientId. ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
21
|
+
- Exports `PendingTransactionOptions` type ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
22
|
+
- Exports `TransactionControllerOptions` type ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- **BREAKING:** `approveTransactionsWithSameNonce()` now requires `chainId` to be populated in for each TransactionParams that is passed ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
27
|
+
- `addTransaction()` now accepts optional `networkClientId` in its options param which specifies the network client that the transaction will be processed with during its lifecycle if the `isMultichainEnabled` feature flag is on ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
28
|
+
- when called with the `isMultichainEnabled` feature flag off, passing in a networkClientId will cause an error to be thrown.
|
|
29
|
+
- `estimateGas()` now accepts optional networkClientId as its last param which specifies the network client that should be used to estimate the required gas for the given transaction ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
30
|
+
- when called with the `isMultichainEnabled` feature flag is off, the networkClientId param is ignored and the global network client will be used instead.
|
|
31
|
+
- `estimateGasBuffered()` now accepts optional networkClientId as its last param which specifies the network client that should be used to estimate the required gas plus buffer for the given transaction ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
32
|
+
- when called with the `isMultichainEnabled` feature flag is off, the networkClientId param is ignored and the global network client will be used instead.
|
|
33
|
+
- `getNonceLock()` now accepts optional networkClientId as its last param which specifies which the network client's nonceTracker should be used to determine the next nonce. ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
34
|
+
- When called with the `isMultichainEnabled` feature flag on and with networkClientId specified, this method will also restrict acquiring the next nonce by chainId, i.e. if this method is called with two different networkClientIds on the same chainId, only the first call will return immediately with a lock from its respective nonceTracker with the second call being blocked until the first caller releases its lock
|
|
35
|
+
- When called with `isMultichainEnabled` feature flag off, the networkClientId param is ignored and the global network client will be used instead.
|
|
36
|
+
- `startIncomingTransactionPolling()` and `updateIncomingTransactions()` now enforce a 5 second delay between requests per chainId to avoid rate limiting ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
37
|
+
- `TransactionMeta` type now specifies an optional `networkClientId` field ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
38
|
+
- `startIncomingTransactionPolling()` now accepts an optional array of `networkClientIds`. ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
39
|
+
- When `networkClientIds` is provided and the `isMultichainEnabled` feature flag is on, the controller will start polling Etherscan for transaction updates relevant to the networkClientIds.
|
|
40
|
+
- When `networkClientIds` is provided and the `isMultichainEnabled` feature flag is off, nothing will happen.
|
|
41
|
+
- If `networkClientIds` is empty or not provided, the controller will start polling Etherscan for transaction updates relevant to the currently selected network.
|
|
42
|
+
- `stopIncomingTransactionPolling()` now accepts an optional array of `networkClientIds`. ([#3643](https://github.com/MetaMask/core/pull/3643))
|
|
43
|
+
- When `networkClientIds` is provided and the `isMultichainEnabled` feature flag is on, the controller will stop polling Ethercsan for transaction updates relevant to the networkClientIds.
|
|
44
|
+
- When `networkClientIds` is provided and the `isMultichainEnabled` feature flag is off, nothing will happen.
|
|
45
|
+
- If `networkClientIds` is empty or not provided, the controller will stop polling Etherscan for transaction updates relevant to the currently selected network.
|
|
46
|
+
|
|
47
|
+
## [22.0.0]
|
|
48
|
+
|
|
49
|
+
### Changed
|
|
50
|
+
|
|
51
|
+
- **BREAKING:** Add peerDependency on `@babel/runtime` ([#3897](https://github.com/MetaMask/core/pull/3897))
|
|
52
|
+
- Throw after publishing a canceled or sped-up transaction if already confirmed ([#3800](https://github.com/MetaMask/core/pull/3800))
|
|
53
|
+
- Bump `eth-method-registry` from `^3.0.0` to `^4.0.0` ([#3897](https://github.com/MetaMask/core/pull/3897))
|
|
54
|
+
- Bump `@metamask/controller-utils` to `^8.0.3` ([#3915](https://github.com/MetaMask/core/pull/3915))
|
|
55
|
+
- Bump `@metamask/gas-fee-controller` to `^13.0.1` ([#3915](https://github.com/MetaMask/core/pull/3915))
|
|
56
|
+
|
|
57
|
+
### Removed
|
|
58
|
+
|
|
59
|
+
- **BREAKING:** Remove `cancelMultiplier` and `speedUpMultiplier` constructor options as both values are now fixed at `1.1`. ([#3909](https://github.com/MetaMask/core/pull/3909))
|
|
60
|
+
|
|
61
|
+
### Fixed
|
|
62
|
+
|
|
63
|
+
- Remove implicit peerDependency on `babel-runtime` ([#3897](https://github.com/MetaMask/core/pull/3897))
|
|
64
|
+
|
|
10
65
|
## [21.2.0]
|
|
11
66
|
|
|
12
67
|
### Added
|
|
@@ -477,7 +532,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
477
532
|
|
|
478
533
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
479
534
|
|
|
480
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@
|
|
535
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@23.0.0...HEAD
|
|
536
|
+
[23.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@22.0.0...@metamask/transaction-controller@23.0.0
|
|
537
|
+
[22.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@21.2.0...@metamask/transaction-controller@22.0.0
|
|
481
538
|
[21.2.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@21.1.0...@metamask/transaction-controller@21.2.0
|
|
482
539
|
[21.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@21.0.1...@metamask/transaction-controller@21.1.0
|
|
483
540
|
[21.0.1]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@21.0.0...@metamask/transaction-controller@21.0.1
|
|
@@ -5,15 +5,18 @@ import type { AddApprovalRequest } from '@metamask/approval-controller';
|
|
|
5
5
|
import type { BaseConfig, BaseState, RestrictedControllerMessenger } from '@metamask/base-controller';
|
|
6
6
|
import { BaseControllerV1 } from '@metamask/base-controller';
|
|
7
7
|
import type { GasFeeState } from '@metamask/gas-fee-controller';
|
|
8
|
-
import type { BlockTracker, NetworkState, Provider } from '@metamask/network-controller';
|
|
8
|
+
import type { BlockTracker, NetworkClientId, NetworkController, NetworkControllerStateChangeEvent, NetworkState, Provider, NetworkControllerFindNetworkClientIdByChainIdAction, NetworkControllerGetNetworkClientByIdAction } from '@metamask/network-controller';
|
|
9
9
|
import type { Hex } from '@metamask/utils';
|
|
10
10
|
import { EventEmitter } from 'events';
|
|
11
11
|
import type { NonceLock, Transaction as NonceTrackerTransaction } from 'nonce-tracker';
|
|
12
|
+
import type { IncomingTransactionOptions } from './helpers/IncomingTransactionHelper';
|
|
12
13
|
import type { Events, SavedGasFees, SecurityProviderRequest, SendFlowHistoryEntry, TransactionParams, TransactionMeta, TransactionReceipt, WalletDevice, SecurityAlertResponse } from './types';
|
|
13
14
|
import { TransactionType, TransactionStatus } from './types';
|
|
14
15
|
export declare const HARDFORK = Hardfork.London;
|
|
15
16
|
/**
|
|
16
|
-
*
|
|
17
|
+
* Object with new transaction's meta and a promise resolving to the
|
|
18
|
+
* transaction hash if successful.
|
|
19
|
+
*
|
|
17
20
|
* @property result - Promise resolving to a new transaction hash
|
|
18
21
|
* @property transactionMeta - Meta information about this new transaction
|
|
19
22
|
*/
|
|
@@ -29,9 +32,8 @@ export interface FeeMarketEIP1559Values {
|
|
|
29
32
|
maxPriorityFeePerGas: string;
|
|
30
33
|
}
|
|
31
34
|
/**
|
|
32
|
-
* @type TransactionConfig
|
|
33
|
-
*
|
|
34
35
|
* Transaction controller configuration
|
|
36
|
+
*
|
|
35
37
|
* @property provider - Provider used to create a new underlying EthQuery instance
|
|
36
38
|
* @property sign - Method used to sign transactions
|
|
37
39
|
*/
|
|
@@ -40,9 +42,8 @@ export interface TransactionConfig extends BaseConfig {
|
|
|
40
42
|
txHistoryLimit: number;
|
|
41
43
|
}
|
|
42
44
|
/**
|
|
43
|
-
* @type MethodData
|
|
44
|
-
*
|
|
45
45
|
* Method data registry object
|
|
46
|
+
*
|
|
46
47
|
* @property registryMethod - Registry method raw string
|
|
47
48
|
* @property parsedRegistryMethod - Registry method object, containing name and method arguments
|
|
48
49
|
*/
|
|
@@ -51,9 +52,8 @@ export interface MethodData {
|
|
|
51
52
|
parsedRegistryMethod: Record<string, unknown>;
|
|
52
53
|
}
|
|
53
54
|
/**
|
|
54
|
-
* @type TransactionState
|
|
55
|
-
*
|
|
56
55
|
* Transaction controller state
|
|
56
|
+
*
|
|
57
57
|
* @property transactions - A list of TransactionMeta objects
|
|
58
58
|
* @property methodData - Object containing all known method data information
|
|
59
59
|
*/
|
|
@@ -69,11 +69,82 @@ export interface TransactionState extends BaseState {
|
|
|
69
69
|
/**
|
|
70
70
|
* Multiplier used to determine a transaction's increased gas fee during cancellation
|
|
71
71
|
*/
|
|
72
|
-
export declare const CANCEL_RATE = 1.
|
|
72
|
+
export declare const CANCEL_RATE = 1.1;
|
|
73
73
|
/**
|
|
74
74
|
* Multiplier used to determine a transaction's increased gas fee during speed up
|
|
75
75
|
*/
|
|
76
76
|
export declare const SPEED_UP_RATE = 1.1;
|
|
77
|
+
/**
|
|
78
|
+
* Configuration options for the PendingTransactionTracker
|
|
79
|
+
*
|
|
80
|
+
* @property isResubmitEnabled - Whether transaction publishing is automatically retried.
|
|
81
|
+
*/
|
|
82
|
+
export declare type PendingTransactionOptions = {
|
|
83
|
+
isResubmitEnabled?: boolean;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* TransactionController constructor options.
|
|
87
|
+
*
|
|
88
|
+
* @property blockTracker - The block tracker used to poll for new blocks data.
|
|
89
|
+
* @property disableHistory - Whether to disable storing history in transaction metadata.
|
|
90
|
+
* @property disableSendFlowHistory - Explicitly disable transaction metadata history.
|
|
91
|
+
* @property disableSwaps - Whether to disable additional processing on swaps transactions.
|
|
92
|
+
* @property isMultichainEnabled - Enable multichain support.
|
|
93
|
+
* @property getCurrentAccountEIP1559Compatibility - Whether or not the account supports EIP-1559.
|
|
94
|
+
* @property getCurrentNetworkEIP1559Compatibility - Whether or not the network supports EIP-1559.
|
|
95
|
+
* @property getExternalPendingTransactions - Callback to retrieve pending transactions from external sources.
|
|
96
|
+
* @property getGasFeeEstimates - Callback to retrieve gas fee estimates.
|
|
97
|
+
* @property getNetworkClientRegistry - Gets the network client registry.
|
|
98
|
+
* @property getNetworkState - Gets the state of the network controller.
|
|
99
|
+
* @property getPermittedAccounts - Get accounts that a given origin has permissions for.
|
|
100
|
+
* @property getSavedGasFees - Gets the saved gas fee config.
|
|
101
|
+
* @property getSelectedAddress - Gets the address of the currently selected account.
|
|
102
|
+
* @property incomingTransactions - Configuration options for incoming transaction support.
|
|
103
|
+
* @property messenger - The controller messenger.
|
|
104
|
+
* @property onNetworkStateChange - Allows subscribing to network controller state changes.
|
|
105
|
+
* @property pendingTransactions - Configuration options for pending transaction support.
|
|
106
|
+
* @property provider - The provider used to create the underlying EthQuery instance.
|
|
107
|
+
* @property securityProviderRequest - A function for verifying a transaction, whether it is malicious or not.
|
|
108
|
+
* @property hooks - The controller hooks.
|
|
109
|
+
* @property hooks.afterSign - Additional logic to execute after signing a transaction. Return false to not change the status to signed.
|
|
110
|
+
* @property hooks.beforeApproveOnInit - Additional logic to execute before starting an approval flow for a transaction during initialization. Return false to skip the transaction.
|
|
111
|
+
* @property hooks.beforeCheckPendingTransaction - Additional logic to execute before checking pending transactions. Return false to prevent the broadcast of the transaction.
|
|
112
|
+
* @property hooks.beforePublish - Additional logic to execute before publishing a transaction. Return false to prevent the broadcast of the transaction.
|
|
113
|
+
* @property hooks.getAdditionalSignArguments - Returns additional arguments required to sign a transaction.
|
|
114
|
+
* @property hooks.publish - Alternate logic to publish a transaction.
|
|
115
|
+
*/
|
|
116
|
+
export declare type TransactionControllerOptions = {
|
|
117
|
+
blockTracker: BlockTracker;
|
|
118
|
+
disableHistory: boolean;
|
|
119
|
+
disableSendFlowHistory: boolean;
|
|
120
|
+
disableSwaps: boolean;
|
|
121
|
+
getCurrentAccountEIP1559Compatibility?: () => Promise<boolean>;
|
|
122
|
+
getCurrentNetworkEIP1559Compatibility: () => Promise<boolean>;
|
|
123
|
+
getExternalPendingTransactions?: (address: string, chainId?: string) => NonceTrackerTransaction[];
|
|
124
|
+
getGasFeeEstimates?: () => Promise<GasFeeState>;
|
|
125
|
+
getNetworkState: () => NetworkState;
|
|
126
|
+
getPermittedAccounts: (origin?: string) => Promise<string[]>;
|
|
127
|
+
getSavedGasFees?: (chainId: Hex) => SavedGasFees | undefined;
|
|
128
|
+
getSelectedAddress: () => string;
|
|
129
|
+
incomingTransactions?: IncomingTransactionOptions;
|
|
130
|
+
messenger: TransactionControllerMessenger;
|
|
131
|
+
onNetworkStateChange: (listener: (state: NetworkState) => void) => void;
|
|
132
|
+
pendingTransactions?: PendingTransactionOptions;
|
|
133
|
+
provider: Provider;
|
|
134
|
+
securityProviderRequest?: SecurityProviderRequest;
|
|
135
|
+
getNetworkClientRegistry: NetworkController['getNetworkClientRegistry'];
|
|
136
|
+
isMultichainEnabled: boolean;
|
|
137
|
+
hooks: {
|
|
138
|
+
afterSign?: (transactionMeta: TransactionMeta, signedTx: TypedTransaction) => boolean;
|
|
139
|
+
beforeApproveOnInit?: (transactionMeta: TransactionMeta) => boolean;
|
|
140
|
+
beforeCheckPendingTransaction?: (transactionMeta: TransactionMeta) => boolean;
|
|
141
|
+
beforePublish?: (transactionMeta: TransactionMeta) => boolean;
|
|
142
|
+
getAdditionalSignArguments?: (transactionMeta: TransactionMeta) => (TransactionMeta | undefined)[];
|
|
143
|
+
publish?: (transactionMeta: TransactionMeta) => Promise<{
|
|
144
|
+
transactionHash: string;
|
|
145
|
+
}>;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
77
148
|
/**
|
|
78
149
|
* The name of the {@link TransactionController}.
|
|
79
150
|
*/
|
|
@@ -81,11 +152,12 @@ declare const controllerName = "TransactionController";
|
|
|
81
152
|
/**
|
|
82
153
|
* The external actions available to the {@link TransactionController}.
|
|
83
154
|
*/
|
|
84
|
-
declare type AllowedActions = AddApprovalRequest;
|
|
155
|
+
declare type AllowedActions = AddApprovalRequest | NetworkControllerFindNetworkClientIdByChainIdAction | NetworkControllerGetNetworkClientByIdAction;
|
|
156
|
+
declare type AllowedEvents = NetworkControllerStateChangeEvent;
|
|
85
157
|
/**
|
|
86
158
|
* The messenger of the {@link TransactionController}.
|
|
87
159
|
*/
|
|
88
|
-
export declare type TransactionControllerMessenger = RestrictedControllerMessenger<typeof controllerName, AllowedActions,
|
|
160
|
+
export declare type TransactionControllerMessenger = RestrictedControllerMessenger<typeof controllerName, AllowedActions, AllowedEvents, AllowedActions['type'], AllowedEvents['type']>;
|
|
89
161
|
export interface TransactionControllerEventEmitter extends EventEmitter {
|
|
90
162
|
on<T extends keyof Events>(eventName: T, listener: (...args: Events[T]) => void): this;
|
|
91
163
|
emit<T extends keyof Events>(eventName: T, ...args: Events[T]): boolean;
|
|
@@ -94,15 +166,15 @@ export interface TransactionControllerEventEmitter extends EventEmitter {
|
|
|
94
166
|
* Controller responsible for submitting and managing transactions.
|
|
95
167
|
*/
|
|
96
168
|
export declare class TransactionController extends BaseControllerV1<TransactionConfig, TransactionState> {
|
|
97
|
-
private
|
|
169
|
+
#private;
|
|
98
170
|
private readonly isHistoryDisabled;
|
|
99
171
|
private readonly isSwapsDisabled;
|
|
100
172
|
private readonly isSendFlowHistoryDisabled;
|
|
101
173
|
private readonly inProcessOfSigning;
|
|
102
174
|
private readonly nonceTracker;
|
|
103
175
|
private readonly registry;
|
|
104
|
-
private readonly provider;
|
|
105
176
|
private readonly mutex;
|
|
177
|
+
private readonly gasFeeFlows;
|
|
106
178
|
private readonly getSavedGasFees;
|
|
107
179
|
private readonly getNetworkState;
|
|
108
180
|
private readonly getCurrentAccountEIP1559Compatibility;
|
|
@@ -115,8 +187,6 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
|
|
|
115
187
|
private readonly incomingTransactionHelper;
|
|
116
188
|
private readonly securityProviderRequest?;
|
|
117
189
|
private readonly pendingTransactionTracker;
|
|
118
|
-
private readonly cancelMultiplier;
|
|
119
|
-
private readonly speedUpMultiplier;
|
|
120
190
|
private readonly signAbortCallbacks;
|
|
121
191
|
private readonly afterSign;
|
|
122
192
|
private readonly beforeApproveOnInit;
|
|
@@ -138,84 +208,11 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
|
|
|
138
208
|
* Method used to sign transactions
|
|
139
209
|
*/
|
|
140
210
|
sign?: (transaction: TypedTransaction, from: string, transactionMeta?: TransactionMeta) => Promise<TypedTransaction>;
|
|
211
|
+
constructor({ blockTracker, disableHistory, disableSendFlowHistory, disableSwaps, getCurrentAccountEIP1559Compatibility, getCurrentNetworkEIP1559Compatibility, getExternalPendingTransactions, getGasFeeEstimates, getNetworkState, getPermittedAccounts, getSavedGasFees, getSelectedAddress, incomingTransactions, messenger, onNetworkStateChange, pendingTransactions, provider, securityProviderRequest, getNetworkClientRegistry, isMultichainEnabled, hooks, }: TransactionControllerOptions, config?: Partial<TransactionConfig>, state?: Partial<TransactionState>);
|
|
141
212
|
/**
|
|
142
|
-
*
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
* @param options.blockTracker - The block tracker used to poll for new blocks data.
|
|
146
|
-
* @param options.cancelMultiplier - Multiplier used to determine a transaction's increased gas fee during cancellation.
|
|
147
|
-
* @param options.disableHistory - Whether to disable storing history in transaction metadata.
|
|
148
|
-
* @param options.disableSendFlowHistory - Explicitly disable transaction metadata history.
|
|
149
|
-
* @param options.disableSwaps - Whether to disable additional processing on swaps transactions.
|
|
150
|
-
* @param options.getCurrentAccountEIP1559Compatibility - Whether or not the account supports EIP-1559.
|
|
151
|
-
* @param options.getCurrentNetworkEIP1559Compatibility - Whether or not the network supports EIP-1559.
|
|
152
|
-
* @param options.getExternalPendingTransactions - Callback to retrieve pending transactions from external sources.
|
|
153
|
-
* @param options.getGasFeeEstimates - Callback to retrieve gas fee estimates.
|
|
154
|
-
* @param options.getNetworkState - Gets the state of the network controller.
|
|
155
|
-
* @param options.getPermittedAccounts - Get accounts that a given origin has permissions for.
|
|
156
|
-
* @param options.getSavedGasFees - Gets the saved gas fee config.
|
|
157
|
-
* @param options.getSelectedAddress - Gets the address of the currently selected account.
|
|
158
|
-
* @param options.incomingTransactions - Configuration options for incoming transaction support.
|
|
159
|
-
* @param options.incomingTransactions.includeTokenTransfers - Whether or not to include ERC20 token transfers.
|
|
160
|
-
* @param options.incomingTransactions.isEnabled - Whether or not incoming transaction retrieval is enabled.
|
|
161
|
-
* @param options.incomingTransactions.queryEntireHistory - Whether to initially query the entire transaction history or only recent blocks.
|
|
162
|
-
* @param options.incomingTransactions.updateTransactions - Whether to update local transactions using remote transaction data.
|
|
163
|
-
* @param options.messenger - The controller messenger.
|
|
164
|
-
* @param options.onNetworkStateChange - Allows subscribing to network controller state changes.
|
|
165
|
-
* @param options.pendingTransactions - Configuration options for pending transaction support.
|
|
166
|
-
* @param options.pendingTransactions.isResubmitEnabled - Whether transaction publishing is automatically retried.
|
|
167
|
-
* @param options.provider - The provider used to create the underlying EthQuery instance.
|
|
168
|
-
* @param options.securityProviderRequest - A function for verifying a transaction, whether it is malicious or not.
|
|
169
|
-
* @param options.speedUpMultiplier - Multiplier used to determine a transaction's increased gas fee during speed up.
|
|
170
|
-
* @param options.hooks - The controller hooks.
|
|
171
|
-
* @param options.hooks.afterSign - Additional logic to execute after signing a transaction. Return false to not change the status to signed.
|
|
172
|
-
* @param options.hooks.beforeApproveOnInit - Additional logic to execute before starting an approval flow for a transaction during initialization. Return false to skip the transaction.
|
|
173
|
-
* @param options.hooks.beforeCheckPendingTransaction - Additional logic to execute before checking pending transactions. Return false to prevent the broadcast of the transaction.
|
|
174
|
-
* @param options.hooks.beforePublish - Additional logic to execute before publishing a transaction. Return false to prevent the broadcast of the transaction.
|
|
175
|
-
* @param options.hooks.getAdditionalSignArguments - Returns additional arguments required to sign a transaction.
|
|
176
|
-
* @param options.hooks.publish - Alternate logic to publish a transaction.
|
|
177
|
-
* @param config - Initial options used to configure this controller.
|
|
178
|
-
* @param state - Initial state to set on this controller.
|
|
179
|
-
*/
|
|
180
|
-
constructor({ blockTracker, cancelMultiplier, disableHistory, disableSendFlowHistory, disableSwaps, getCurrentAccountEIP1559Compatibility, getCurrentNetworkEIP1559Compatibility, getExternalPendingTransactions, getGasFeeEstimates, getNetworkState, getPermittedAccounts, getSavedGasFees, getSelectedAddress, incomingTransactions, messenger, onNetworkStateChange, pendingTransactions, provider, securityProviderRequest, speedUpMultiplier, hooks, }: {
|
|
181
|
-
blockTracker: BlockTracker;
|
|
182
|
-
cancelMultiplier?: number;
|
|
183
|
-
disableHistory: boolean;
|
|
184
|
-
disableSendFlowHistory: boolean;
|
|
185
|
-
disableSwaps: boolean;
|
|
186
|
-
getCurrentAccountEIP1559Compatibility?: () => Promise<boolean>;
|
|
187
|
-
getCurrentNetworkEIP1559Compatibility: () => Promise<boolean>;
|
|
188
|
-
getExternalPendingTransactions?: (address: string) => NonceTrackerTransaction[];
|
|
189
|
-
getGasFeeEstimates?: () => Promise<GasFeeState>;
|
|
190
|
-
getNetworkState: () => NetworkState;
|
|
191
|
-
getPermittedAccounts: (origin?: string) => Promise<string[]>;
|
|
192
|
-
getSavedGasFees?: (chainId: Hex) => SavedGasFees | undefined;
|
|
193
|
-
getSelectedAddress: () => string;
|
|
194
|
-
incomingTransactions?: {
|
|
195
|
-
includeTokenTransfers?: boolean;
|
|
196
|
-
isEnabled?: () => boolean;
|
|
197
|
-
queryEntireHistory?: boolean;
|
|
198
|
-
updateTransactions?: boolean;
|
|
199
|
-
};
|
|
200
|
-
messenger: TransactionControllerMessenger;
|
|
201
|
-
onNetworkStateChange: (listener: (state: NetworkState) => void) => void;
|
|
202
|
-
pendingTransactions?: {
|
|
203
|
-
isResubmitEnabled?: boolean;
|
|
204
|
-
};
|
|
205
|
-
provider: Provider;
|
|
206
|
-
securityProviderRequest?: SecurityProviderRequest;
|
|
207
|
-
speedUpMultiplier?: number;
|
|
208
|
-
hooks: {
|
|
209
|
-
afterSign?: (transactionMeta: TransactionMeta, signedTx: TypedTransaction) => boolean;
|
|
210
|
-
beforeApproveOnInit?: (transactionMeta: TransactionMeta) => boolean;
|
|
211
|
-
beforeCheckPendingTransaction?: (transactionMeta: TransactionMeta) => boolean;
|
|
212
|
-
beforePublish?: (transactionMeta: TransactionMeta) => boolean;
|
|
213
|
-
getAdditionalSignArguments?: (transactionMeta: TransactionMeta) => (TransactionMeta | undefined)[];
|
|
214
|
-
publish?: (transactionMeta: TransactionMeta) => Promise<{
|
|
215
|
-
transactionHash: string;
|
|
216
|
-
}>;
|
|
217
|
-
};
|
|
218
|
-
}, config?: Partial<TransactionConfig>, state?: Partial<TransactionState>);
|
|
213
|
+
* Stops polling and removes listeners to prepare the controller for garbage collection.
|
|
214
|
+
*/
|
|
215
|
+
destroy(): void;
|
|
219
216
|
/**
|
|
220
217
|
* Handle new method data request.
|
|
221
218
|
*
|
|
@@ -241,9 +238,10 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
|
|
|
241
238
|
* @param opts.swaps - Options for swaps transactions.
|
|
242
239
|
* @param opts.swaps.hasApproveTx - Whether the transaction has an approval transaction.
|
|
243
240
|
* @param opts.swaps.meta - Metadata for swap transaction.
|
|
241
|
+
* @param opts.networkClientId - The id of the network client for this transaction.
|
|
244
242
|
* @returns Object containing a promise resolving to the transaction hash if approved.
|
|
245
243
|
*/
|
|
246
|
-
addTransaction(txParams: TransactionParams, { actionId, deviceConfirmedOn, method, origin, requireApproval, securityAlertResponse, sendFlowHistory, swaps, type, }?: {
|
|
244
|
+
addTransaction(txParams: TransactionParams, { actionId, deviceConfirmedOn, method, origin, requireApproval, securityAlertResponse, sendFlowHistory, swaps, type, networkClientId, }?: {
|
|
247
245
|
actionId?: string;
|
|
248
246
|
deviceConfirmedOn?: WalletDevice;
|
|
249
247
|
method?: string;
|
|
@@ -256,10 +254,12 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
|
|
|
256
254
|
meta?: Partial<TransactionMeta>;
|
|
257
255
|
};
|
|
258
256
|
type?: TransactionType;
|
|
257
|
+
networkClientId?: NetworkClientId;
|
|
259
258
|
}): Promise<Result>;
|
|
260
|
-
startIncomingTransactionPolling(): void;
|
|
261
|
-
stopIncomingTransactionPolling(): void;
|
|
262
|
-
|
|
259
|
+
startIncomingTransactionPolling(networkClientIds?: NetworkClientId[]): void;
|
|
260
|
+
stopIncomingTransactionPolling(networkClientIds?: NetworkClientId[]): void;
|
|
261
|
+
stopAllIncomingTransactionPolling(): void;
|
|
262
|
+
updateIncomingTransactions(networkClientIds?: NetworkClientId[]): Promise<void>;
|
|
263
263
|
/**
|
|
264
264
|
* Attempts to cancel a transaction based on its ID by setting its status to "rejected"
|
|
265
265
|
* and emitting a `<tx.id>:finished` hub event.
|
|
@@ -291,9 +291,10 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
|
|
|
291
291
|
* Estimates required gas for a given transaction.
|
|
292
292
|
*
|
|
293
293
|
* @param transaction - The transaction to estimate gas for.
|
|
294
|
+
* @param networkClientId - The network client id to use for the estimate.
|
|
294
295
|
* @returns The gas and gas price.
|
|
295
296
|
*/
|
|
296
|
-
estimateGas(transaction: TransactionParams): Promise<{
|
|
297
|
+
estimateGas(transaction: TransactionParams, networkClientId?: NetworkClientId): Promise<{
|
|
297
298
|
gas: string;
|
|
298
299
|
simulationFails: {
|
|
299
300
|
reason: any;
|
|
@@ -309,8 +310,9 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
|
|
|
309
310
|
*
|
|
310
311
|
* @param transaction - The transaction params to estimate gas for.
|
|
311
312
|
* @param multiplier - The multiplier to use for the gas buffer.
|
|
313
|
+
* @param networkClientId - The network client id to use for the estimate.
|
|
312
314
|
*/
|
|
313
|
-
estimateGasBuffered(transaction: TransactionParams, multiplier: number): Promise<{
|
|
315
|
+
estimateGasBuffered(transaction: TransactionParams, multiplier: number, networkClientId?: NetworkClientId): Promise<{
|
|
314
316
|
gas: string;
|
|
315
317
|
simulationFails: {
|
|
316
318
|
reason: any;
|
|
@@ -344,8 +346,6 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
|
|
|
344
346
|
* wiped on current network.
|
|
345
347
|
*/
|
|
346
348
|
wipeTransactions(ignoreNetwork?: boolean, address?: string): void;
|
|
347
|
-
startIncomingTransactionProcessing(): void;
|
|
348
|
-
stopIncomingTransactionProcessing(): void;
|
|
349
349
|
/**
|
|
350
350
|
* Adds external provided transaction to state as confirmed transaction.
|
|
351
351
|
*
|
|
@@ -409,14 +409,7 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
|
|
|
409
409
|
maxFeePerGas?: string;
|
|
410
410
|
maxPriorityFeePerGas?: string;
|
|
411
411
|
}): TransactionMeta;
|
|
412
|
-
|
|
413
|
-
* Gets the next nonce according to the nonce-tracker.
|
|
414
|
-
* Ensure `releaseLock` is called once processing of the `nonce` value is complete.
|
|
415
|
-
*
|
|
416
|
-
* @param address - The hex string address for the transaction.
|
|
417
|
-
* @returns object with the `nextNonce` `nonceDetails`, and the releaseLock.
|
|
418
|
-
*/
|
|
419
|
-
getNonceLock(address: string): Promise<NonceLock>;
|
|
412
|
+
getNonceLock(address: string, networkClientId?: NetworkClientId): Promise<NonceLock>;
|
|
420
413
|
/**
|
|
421
414
|
* Updates the editable parameters of a transaction.
|
|
422
415
|
*
|
|
@@ -446,7 +439,9 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
|
|
|
446
439
|
* @param opts.hasNonce - Whether the transactions already have a nonce.
|
|
447
440
|
* @returns The raw transactions.
|
|
448
441
|
*/
|
|
449
|
-
approveTransactionsWithSameNonce(listOfTxParams?: TransactionParams
|
|
442
|
+
approveTransactionsWithSameNonce(listOfTxParams?: (TransactionParams & {
|
|
443
|
+
chainId: Hex;
|
|
444
|
+
})[], { hasNonce }?: {
|
|
450
445
|
hasNonce?: boolean;
|
|
451
446
|
}): Promise<string | string[]>;
|
|
452
447
|
/**
|
|
@@ -496,10 +491,9 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
|
|
|
496
491
|
abortTransactionSigning(transactionId: string): void;
|
|
497
492
|
private addMetadata;
|
|
498
493
|
private updateGasProperties;
|
|
499
|
-
private getCurrentChainTransactionsByStatus;
|
|
500
494
|
private onBootCleanup;
|
|
501
495
|
/**
|
|
502
|
-
* Force
|
|
496
|
+
* Force submit approved transactions for all chains.
|
|
503
497
|
*/
|
|
504
498
|
private submitApprovedTransactions;
|
|
505
499
|
private processApproval;
|
|
@@ -563,6 +557,7 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
|
|
|
563
557
|
* specified in txParams, @ethereumjs/tx is able to determine which EIP-2718
|
|
564
558
|
* transaction type to use.
|
|
565
559
|
*
|
|
560
|
+
* @param chainId - The chainId to use for the configuration.
|
|
566
561
|
* @returns common configuration object
|
|
567
562
|
*/
|
|
568
563
|
private getCommonConfiguration;
|
|
@@ -605,13 +600,19 @@ export declare class TransactionController extends BaseControllerV1<TransactionC
|
|
|
605
600
|
*/
|
|
606
601
|
private updateTransactionMetaRSV;
|
|
607
602
|
private getEIP1559Compatibility;
|
|
608
|
-
private addPendingTransactionTrackerListeners;
|
|
609
603
|
private signTransaction;
|
|
610
604
|
private onTransactionStatusChange;
|
|
611
|
-
private getNonceTrackerPendingTransactions;
|
|
612
605
|
private getNonceTrackerTransactions;
|
|
613
606
|
private onConfirmedTransaction;
|
|
614
607
|
private updatePostBalance;
|
|
608
|
+
private publishTransactionForRetry;
|
|
609
|
+
/**
|
|
610
|
+
* Ensures that error is a nonce issue
|
|
611
|
+
*
|
|
612
|
+
* @param error - The error to check
|
|
613
|
+
* @returns Whether or not the error is a nonce issue
|
|
614
|
+
*/
|
|
615
|
+
private isTransactionAlreadyConfirmedError;
|
|
615
616
|
}
|
|
616
617
|
export {};
|
|
617
618
|
//# 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,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAU7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,QAAQ,EACT,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAI3C,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGtC,OAAO,KAAK,EACV,SAAS,EACT,WAAW,IAAI,uBAAuB,EACvC,MAAM,eAAe,CAAC;AAOvB,OAAO,KAAK,EACV,MAAM,EAEN,YAAY,EACZ,uBAAuB,EACvB,oBAAoB,EACpB,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,qBAAqB,EACtB,MAAM,SAAS,CAAC;AACjB,OAAO,EAEL,eAAe,EACf,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAkCjB,eAAO,MAAM,QAAQ,kBAAkB,CA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