@metamask-previews/transaction-controller 17.0.0-preview.eb58a59 → 18.3.0-preview.3fbb6b41
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 +48 -1
- package/dist/TransactionController.d.ts +65 -16
- package/dist/TransactionController.d.ts.map +1 -1
- package/dist/TransactionController.js +309 -129
- package/dist/TransactionController.js.map +1 -1
- package/dist/constants.d.ts +4 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +5 -1
- package/dist/constants.js.map +1 -1
- package/dist/helpers/EtherscanRemoteTransactionSource.d.ts.map +1 -1
- package/dist/helpers/EtherscanRemoteTransactionSource.js +1 -0
- package/dist/helpers/EtherscanRemoteTransactionSource.js.map +1 -1
- package/dist/helpers/PendingTransactionTracker.d.ts +1 -1
- package/dist/helpers/PendingTransactionTracker.d.ts.map +1 -1
- package/dist/helpers/PendingTransactionTracker.js.map +1 -1
- package/dist/types.d.ts +10 -4
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/gas.d.ts.map +1 -1
- package/dist/utils/gas.js +4 -1
- package/dist/utils/gas.js.map +1 -1
- package/dist/utils/history.d.ts.map +1 -1
- package/dist/utils/history.js +3 -0
- package/dist/utils/history.js.map +1 -1
- package/dist/utils/nonce.d.ts +21 -0
- package/dist/utils/nonce.d.ts.map +1 -0
- package/dist/utils/nonce.js +76 -0
- package/dist/utils/nonce.js.map +1 -0
- package/dist/utils/swaps.d.ts.map +1 -1
- package/dist/utils/swaps.js +13 -0
- package/dist/utils/swaps.js.map +1 -1
- package/dist/utils/transaction-type.d.ts.map +1 -1
- package/dist/utils/transaction-type.js +19 -12
- package/dist/utils/transaction-type.js.map +1 -1
- package/dist/utils/utils.d.ts +7 -11
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +23 -30
- package/dist/utils/utils.js.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,49 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [18.3.0]
|
|
10
|
+
### Added
|
|
11
|
+
- Add optional `getExternalPendingTransactions` callback argument to constructor ([#3587](https://github.com/MetaMask/core/pull/3587))
|
|
12
|
+
|
|
13
|
+
## [18.2.0]
|
|
14
|
+
### Added
|
|
15
|
+
- Add the `customNonceValue` property to the transaction metadata ([#3579](https://github.com/MetaMask/core/pull/3579))
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- Update transaction metadata after approval if the approval result includes the `value.txMeta` property ([#3579](https://github.com/MetaMask/core/pull/3579))
|
|
19
|
+
- Add `type` property to all incoming transactions ([#3579](https://github.com/MetaMask/core/pull/3579))
|
|
20
|
+
|
|
21
|
+
## [18.1.0]
|
|
22
|
+
### Added
|
|
23
|
+
- Add `cancelMultiplier` and `speedUpMultiplier` constructor arguments to optionally override the default multipliers of `1.5` and `1.1` respectively ([#2678](https://github.com/MetaMask/core/pull/2678))
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
- Populate the `preTxBalance` property before publishing transactions with the `swap` type ([#2678](https://github.com/MetaMask/core/pull/2678))
|
|
27
|
+
- Change the status of transactions with matching nonces to `dropped` when confirming a transaction ([#2678](https://github.com/MetaMask/core/pull/2678))
|
|
28
|
+
|
|
29
|
+
## [18.0.0]
|
|
30
|
+
### Added
|
|
31
|
+
- Add `updateEditableParams` method ([#2056](https://github.com/MetaMask/core/pull/2056))
|
|
32
|
+
- Add `initApprovals` method to trigger the approval flow for any pending transactions during initialisation ([#2056](https://github.com/MetaMask/core/pull/2056))
|
|
33
|
+
- Add `getTransactions` method to search transactions using the given criteria and options ([#2056](https://github.com/MetaMask/core/pull/2056))
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
- **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063))
|
|
37
|
+
- This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more.
|
|
38
|
+
- **BREAKING:** Add `finished` and `publish-skip` events to `Events` type
|
|
39
|
+
- **BREAKING:** Update `TransactionReceipt` type so `transactionIndex` is now a string rather than a number ([#2063](https://github.com/MetaMask/core/pull/2063))
|
|
40
|
+
- Bump `nonce-tracker` to ^3.0.0 ([#2040](https://github.com/MetaMask/core/pull/2040))
|
|
41
|
+
- The controller now emits a `transaction-status-update` event each time the status of a transaction changes (e.g. submitted, rejected, etc.) ([#2027](https://github.com/MetaMask/core/pull/2027))
|
|
42
|
+
- Make `getCurrentAccountEIP1559Compatibility` constructor parameter optional ([#2056](https://github.com/MetaMask/core/pull/2056))
|
|
43
|
+
- Normalize the gas values provided to the `speedUpTransaction` and `stopTransaction` methods ([#2056](https://github.com/MetaMask/core/pull/2056))
|
|
44
|
+
- Persist any property changes performed by the `afterSign` hook ([#2056](https://github.com/MetaMask/core/pull/2056))
|
|
45
|
+
- Report success to the approver if publishing is skipped by the `beforePublish` hook ([#2056](https://github.com/MetaMask/core/pull/2056))
|
|
46
|
+
- Update `postTxBalance` after all swap transactions ([#2056](https://github.com/MetaMask/core/pull/2056))
|
|
47
|
+
- Bump `@metamask/approval-controller` to ^5.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063))
|
|
48
|
+
- Bump `@metamask/controller-utils` to ^6.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063))
|
|
49
|
+
- Bump `@metamask/gas-fee-controller` to ^11.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063))
|
|
50
|
+
- Bump `@metamask/network-controller` to ^17.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063))
|
|
51
|
+
|
|
9
52
|
## [17.0.0]
|
|
10
53
|
### Added
|
|
11
54
|
- **BREAKING:** Add additional support swaps support ([#1877](https://github.com/MetaMask/core/pull/1877))
|
|
@@ -288,7 +331,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
288
331
|
|
|
289
332
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
290
333
|
|
|
291
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@
|
|
334
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@18.3.0...HEAD
|
|
335
|
+
[18.3.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@18.2.0...@metamask/transaction-controller@18.3.0
|
|
336
|
+
[18.2.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@18.1.0...@metamask/transaction-controller@18.2.0
|
|
337
|
+
[18.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@18.0.0...@metamask/transaction-controller@18.1.0
|
|
338
|
+
[18.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@17.0.0...@metamask/transaction-controller@18.0.0
|
|
292
339
|
[17.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@16.0.0...@metamask/transaction-controller@17.0.0
|
|
293
340
|
[16.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@15.0.0...@metamask/transaction-controller@16.0.0
|
|
294
341
|
[15.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@14.0.0...@metamask/transaction-controller@15.0.0
|
|
@@ -3,12 +3,12 @@ import { Hardfork } from '@ethereumjs/common';
|
|
|
3
3
|
import type { TypedTransaction } from '@ethereumjs/tx';
|
|
4
4
|
import type { AddApprovalRequest } from '@metamask/approval-controller';
|
|
5
5
|
import type { BaseConfig, BaseState, RestrictedControllerMessenger } from '@metamask/base-controller';
|
|
6
|
-
import {
|
|
6
|
+
import { BaseControllerV1 } from '@metamask/base-controller';
|
|
7
7
|
import type { GasFeeState } from '@metamask/gas-fee-controller';
|
|
8
8
|
import type { BlockTracker, NetworkState, Provider } from '@metamask/network-controller';
|
|
9
9
|
import type { Hex } from '@metamask/utils';
|
|
10
10
|
import { EventEmitter } from 'events';
|
|
11
|
-
import type { NonceLock } from 'nonce-tracker
|
|
11
|
+
import type { NonceLock, Transaction as NonceTrackerTransaction } from 'nonce-tracker';
|
|
12
12
|
import type { Events, SavedGasFees, SecurityProviderRequest, SendFlowHistoryEntry, TransactionParams, TransactionMeta, TransactionReceipt, WalletDevice, SecurityAlertResponse } from './types';
|
|
13
13
|
import { TransactionType, TransactionStatus } from './types';
|
|
14
14
|
export declare const HARDFORK = Hardfork.London;
|
|
@@ -93,7 +93,7 @@ export interface TransactionControllerEventEmitter extends EventEmitter {
|
|
|
93
93
|
/**
|
|
94
94
|
* Controller responsible for submitting and managing transactions.
|
|
95
95
|
*/
|
|
96
|
-
export declare class TransactionController extends
|
|
96
|
+
export declare class TransactionController extends BaseControllerV1<TransactionConfig, TransactionState> {
|
|
97
97
|
private ethQuery;
|
|
98
98
|
private readonly isHistoryDisabled;
|
|
99
99
|
private readonly isSwapsDisabled;
|
|
@@ -110,10 +110,13 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
110
110
|
private readonly getGasFeeEstimates;
|
|
111
111
|
private readonly getPermittedAccounts;
|
|
112
112
|
private readonly getSelectedAddress;
|
|
113
|
+
private readonly getExternalPendingTransactions;
|
|
113
114
|
private readonly messagingSystem;
|
|
114
115
|
private readonly incomingTransactionHelper;
|
|
115
116
|
private readonly securityProviderRequest?;
|
|
116
117
|
private readonly pendingTransactionTracker;
|
|
118
|
+
private readonly cancelMultiplier;
|
|
119
|
+
private readonly speedUpMultiplier;
|
|
117
120
|
private readonly afterSign;
|
|
118
121
|
private readonly beforeApproveOnInit;
|
|
119
122
|
private readonly beforeCheckPendingTransaction;
|
|
@@ -138,15 +141,17 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
138
141
|
*
|
|
139
142
|
* @param options - The controller options.
|
|
140
143
|
* @param options.blockTracker - The block tracker used to poll for new blocks data.
|
|
144
|
+
* @param options.cancelMultiplier - Multiplier used to determine a transaction's increased gas fee during cancellation.
|
|
141
145
|
* @param options.disableHistory - Whether to disable storing history in transaction metadata.
|
|
142
146
|
* @param options.disableSendFlowHistory - Explicitly disable transaction metadata history.
|
|
143
147
|
* @param options.disableSwaps - Whether to disable additional processing on swaps transactions.
|
|
144
|
-
* @param options.getSavedGasFees - Gets the saved gas fee config.
|
|
145
148
|
* @param options.getCurrentAccountEIP1559Compatibility - Whether or not the account supports EIP-1559.
|
|
146
149
|
* @param options.getCurrentNetworkEIP1559Compatibility - Whether or not the network supports EIP-1559.
|
|
150
|
+
* @param options.getExternalPendingTransactions - Callback to retrieve pending transactions from external sources.
|
|
147
151
|
* @param options.getGasFeeEstimates - Callback to retrieve gas fee estimates.
|
|
148
152
|
* @param options.getNetworkState - Gets the state of the network controller.
|
|
149
153
|
* @param options.getPermittedAccounts - Get accounts that a given origin has permissions for.
|
|
154
|
+
* @param options.getSavedGasFees - Gets the saved gas fee config.
|
|
150
155
|
* @param options.getSelectedAddress - Gets the address of the currently selected account.
|
|
151
156
|
* @param options.incomingTransactions - Configuration options for incoming transaction support.
|
|
152
157
|
* @param options.incomingTransactions.includeTokenTransfers - Whether or not to include ERC20 token transfers.
|
|
@@ -159,6 +164,7 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
159
164
|
* @param options.pendingTransactions.isResubmitEnabled - Whether transaction publishing is automatically retried.
|
|
160
165
|
* @param options.provider - The provider used to create the underlying EthQuery instance.
|
|
161
166
|
* @param options.securityProviderRequest - A function for verifying a transaction, whether it is malicious or not.
|
|
167
|
+
* @param options.speedUpMultiplier - Multiplier used to determine a transaction's increased gas fee during speed up.
|
|
162
168
|
* @param options.hooks - The controller hooks.
|
|
163
169
|
* @param options.hooks.afterSign - Additional logic to execute after signing a transaction. Return false to not change the status to signed.
|
|
164
170
|
* @param options.hooks.beforeApproveOnInit - Additional logic to execute before starting an approval flow for a transaction during initialization. Return false to skip the transaction.
|
|
@@ -168,17 +174,19 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
168
174
|
* @param config - Initial options used to configure this controller.
|
|
169
175
|
* @param state - Initial state to set on this controller.
|
|
170
176
|
*/
|
|
171
|
-
constructor({ blockTracker, disableHistory, disableSendFlowHistory, disableSwaps,
|
|
177
|
+
constructor({ blockTracker, cancelMultiplier, disableHistory, disableSendFlowHistory, disableSwaps, getCurrentAccountEIP1559Compatibility, getCurrentNetworkEIP1559Compatibility, getExternalPendingTransactions, getGasFeeEstimates, getNetworkState, getPermittedAccounts, getSavedGasFees, getSelectedAddress, incomingTransactions, messenger, onNetworkStateChange, pendingTransactions, provider, securityProviderRequest, speedUpMultiplier, hooks, }: {
|
|
172
178
|
blockTracker: BlockTracker;
|
|
179
|
+
cancelMultiplier?: number;
|
|
173
180
|
disableHistory: boolean;
|
|
174
181
|
disableSendFlowHistory: boolean;
|
|
175
182
|
disableSwaps: boolean;
|
|
176
|
-
|
|
177
|
-
getCurrentAccountEIP1559Compatibility: () => Promise<boolean>;
|
|
183
|
+
getCurrentAccountEIP1559Compatibility?: () => Promise<boolean>;
|
|
178
184
|
getCurrentNetworkEIP1559Compatibility: () => Promise<boolean>;
|
|
185
|
+
getExternalPendingTransactions?: (address: string) => NonceTrackerTransaction[];
|
|
179
186
|
getGasFeeEstimates?: () => Promise<GasFeeState>;
|
|
180
187
|
getNetworkState: () => NetworkState;
|
|
181
188
|
getPermittedAccounts: (origin?: string) => Promise<string[]>;
|
|
189
|
+
getSavedGasFees?: (chainId: Hex) => SavedGasFees | undefined;
|
|
182
190
|
getSelectedAddress: () => string;
|
|
183
191
|
incomingTransactions?: {
|
|
184
192
|
includeTokenTransfers?: boolean;
|
|
@@ -193,6 +201,7 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
193
201
|
};
|
|
194
202
|
provider: Provider;
|
|
195
203
|
securityProviderRequest?: SecurityProviderRequest;
|
|
204
|
+
speedUpMultiplier?: number;
|
|
196
205
|
hooks: {
|
|
197
206
|
afterSign?: (transactionMeta: TransactionMeta, signedTx: TypedTransaction) => boolean;
|
|
198
207
|
beforeApproveOnInit?: (transactionMeta: TransactionMeta) => boolean;
|
|
@@ -402,6 +411,27 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
402
411
|
* @returns object with the `nextNonce` `nonceDetails`, and the releaseLock.
|
|
403
412
|
*/
|
|
404
413
|
getNonceLock(address: string): Promise<NonceLock>;
|
|
414
|
+
/**
|
|
415
|
+
* Updates the editable parameters of a transaction.
|
|
416
|
+
*
|
|
417
|
+
* @param txId - The ID of the transaction to update.
|
|
418
|
+
* @param params - The editable parameters to update.
|
|
419
|
+
* @param params.data - Data to pass with the transaction.
|
|
420
|
+
* @param params.gas - Maximum number of units of gas to use for the transaction.
|
|
421
|
+
* @param params.gasPrice - Price per gas for legacy transactions.
|
|
422
|
+
* @param params.from - Address to send the transaction from.
|
|
423
|
+
* @param params.to - Address to send the transaction to.
|
|
424
|
+
* @param params.value - Value associated with the transaction.
|
|
425
|
+
* @returns The updated transaction metadata.
|
|
426
|
+
*/
|
|
427
|
+
updateEditableParams(txId: string, { data, gas, gasPrice, from, to, value, }: {
|
|
428
|
+
data?: string;
|
|
429
|
+
gas?: string;
|
|
430
|
+
gasPrice?: string;
|
|
431
|
+
from?: string;
|
|
432
|
+
to?: string;
|
|
433
|
+
value?: string;
|
|
434
|
+
}): Promise<TransactionMeta | undefined>;
|
|
405
435
|
/**
|
|
406
436
|
* Signs and returns the raw transaction data for provided transaction params list.
|
|
407
437
|
*
|
|
@@ -414,17 +444,35 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
414
444
|
*
|
|
415
445
|
* @param transactionId - The ID of the transaction to update.
|
|
416
446
|
* @param options - The custodial transaction options to update.
|
|
417
|
-
* @param options.custodyStatus - The new custody status value to be assigned.
|
|
418
447
|
* @param options.errorMessage - The error message to be assigned in case transaction status update to failed.
|
|
419
448
|
* @param options.hash - The new hash value to be assigned.
|
|
420
449
|
* @param options.status - The new status value to be assigned.
|
|
421
450
|
*/
|
|
422
|
-
updateCustodialTransaction(transactionId: string, {
|
|
423
|
-
custodyStatus?: string;
|
|
451
|
+
updateCustodialTransaction(transactionId: string, { errorMessage, hash, status, }: {
|
|
424
452
|
errorMessage?: string;
|
|
425
453
|
hash?: string;
|
|
426
454
|
status?: TransactionStatus;
|
|
427
455
|
}): void;
|
|
456
|
+
/**
|
|
457
|
+
* Creates approvals for all unapproved transactions persisted.
|
|
458
|
+
*/
|
|
459
|
+
initApprovals(): void;
|
|
460
|
+
/**
|
|
461
|
+
* Search transaction metadata for matching entries.
|
|
462
|
+
*
|
|
463
|
+
* @param opts - Options bag.
|
|
464
|
+
* @param opts.searchCriteria - An object containing values or functions for transaction properties to filter transactions with.
|
|
465
|
+
* @param opts.initialList - The transactions to search. Defaults to the current state.
|
|
466
|
+
* @param opts.filterToCurrentNetwork - Whether to filter the results to the current network. Defaults to true.
|
|
467
|
+
* @param opts.limit - The maximum number of transactions to return. No limit by default.
|
|
468
|
+
* @returns An array of transactions matching the provided options.
|
|
469
|
+
*/
|
|
470
|
+
getTransactions({ searchCriteria, initialList, filterToCurrentNetwork, limit, }?: {
|
|
471
|
+
searchCriteria?: any;
|
|
472
|
+
initialList?: TransactionMeta[];
|
|
473
|
+
filterToCurrentNetwork?: boolean;
|
|
474
|
+
limit?: number;
|
|
475
|
+
}): TransactionMeta[];
|
|
428
476
|
private signExternalTransaction;
|
|
429
477
|
/**
|
|
430
478
|
* Removes unapproved transactions from state.
|
|
@@ -438,10 +486,6 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
438
486
|
* Create approvals for all unapproved transactions on current chain.
|
|
439
487
|
*/
|
|
440
488
|
private createApprovalsForUnapprovedTransactions;
|
|
441
|
-
/**
|
|
442
|
-
* Update the gas values of all unapproved transactions on current chain.
|
|
443
|
-
*/
|
|
444
|
-
private loadGasValuesForUnapprovedTransactions;
|
|
445
489
|
/**
|
|
446
490
|
* Force to submit approved transactions on current chain.
|
|
447
491
|
*/
|
|
@@ -474,7 +518,7 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
474
518
|
* representation, this function will not break apart transactions with the
|
|
475
519
|
* same nonce, created on the same day, per network. Not accounting for transactions of the same
|
|
476
520
|
* nonce, same day and network combo can result in confusing or broken experiences
|
|
477
|
-
* in the UI. The transactions are then updated using the
|
|
521
|
+
* in the UI. The transactions are then updated using the BaseControllerV1 update.
|
|
478
522
|
*
|
|
479
523
|
* @param transactions - The transactions to be applied to the state.
|
|
480
524
|
* @returns The trimmed list of transactions.
|
|
@@ -551,6 +595,11 @@ export declare class TransactionController extends BaseController<TransactionCon
|
|
|
551
595
|
private getEIP1559Compatibility;
|
|
552
596
|
private addPendingTransactionTrackerListeners;
|
|
553
597
|
private signTransaction;
|
|
598
|
+
private onTransactionStatusChange;
|
|
599
|
+
private getNonceTrackerPendingTransactions;
|
|
600
|
+
private getNonceTrackerTransactions;
|
|
601
|
+
private onConfirmedTransaction;
|
|
602
|
+
private updatePostBalance;
|
|
554
603
|
}
|
|
555
|
-
export
|
|
604
|
+
export {};
|
|
556
605
|
//# 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,
|
|
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,EA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