mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 06:07:06 +01:00
37209a7d2e
Remove the IncomingTransactionController and replace it with an internal helper class. Move incoming transactions into the central transactions object. Create a new RemoteTransactionSource interface to decouple incoming transaction support from Etherscan. Split the incoming transaction logic into multiple files for easier maintenance.
103 lines
3.3 KiB
JSON
103 lines
3.3 KiB
JSON
{
|
|
"data": {
|
|
"AlertController": {
|
|
"alertEnabledness": { "unconnectedAccount": true, "web3ShimUsage": true },
|
|
"unconnectedAccountAlertShownOrigins": "object",
|
|
"web3ShimUsageOrigins": "object"
|
|
},
|
|
"AnnouncementController": "object",
|
|
"AppStateController": {
|
|
"browserEnvironment": "object",
|
|
"nftsDropdownState": "object",
|
|
"connectedStatusPopoverHasBeenShown": true,
|
|
"termsOfUseLastAgreed": "number",
|
|
"defaultHomeActiveTabName": null,
|
|
"fullScreenGasPollTokens": "object",
|
|
"notificationGasPollTokens": "object",
|
|
"popupGasPollTokens": "object",
|
|
"qrHardware": "object",
|
|
"recoveryPhraseReminderHasBeenShown": "boolean",
|
|
"recoveryPhraseReminderLastShown": "number",
|
|
"showTestnetMessageInDropdown": "boolean",
|
|
"trezorModel": "object",
|
|
"usedNetworks": "object",
|
|
"snapsInstallPrivacyWarningShown": "boolean"
|
|
},
|
|
"CachedBalancesController": "object",
|
|
"CurrencyController": {
|
|
"conversionDate": 1665507600,
|
|
"conversionRate": 1300,
|
|
"currentCurrency": "usd",
|
|
"nativeCurrency": "ETH",
|
|
"usdConversionRate": "number"
|
|
},
|
|
"GasFeeController": "object",
|
|
"KeyringController": { "vault": "string" },
|
|
"MetaMetricsController": {
|
|
"eventsBeforeMetricsOptIn": "object",
|
|
"fragments": "object",
|
|
"metaMetricsId": "fake-metrics-id",
|
|
"participateInMetaMetrics": true,
|
|
"traits": "object"
|
|
},
|
|
"NetworkController": {
|
|
"networkId": "1337",
|
|
"selectedNetworkClientId": "string",
|
|
"networksMetadata": "object",
|
|
"providerConfig": {
|
|
"chainId": "string",
|
|
"nickname": "Localhost 8545",
|
|
"rpcPrefs": "object",
|
|
"rpcUrl": "string",
|
|
"ticker": "ETH",
|
|
"type": "rpc",
|
|
"id": "string"
|
|
},
|
|
"networkConfigurations": "object"
|
|
},
|
|
"OnboardingController": {
|
|
"completedOnboarding": true,
|
|
"firstTimeFlowType": "import",
|
|
"onboardingTabs": "object",
|
|
"seedPhraseBackedUp": true
|
|
},
|
|
"PermissionController": "object",
|
|
"PreferencesController": {
|
|
"advancedGasFee": "object",
|
|
"currentLocale": "en",
|
|
"dismissSeedBackUpReminder": "boolean",
|
|
"featureFlags": { "showIncomingTransactions": true },
|
|
"forgottenPassword": false,
|
|
"identities": "object",
|
|
"infuraBlocked": "boolean",
|
|
"ipfsGateway": "dweb.link",
|
|
"knownMethodData": "object",
|
|
"ledgerTransportType": "string",
|
|
"lostIdentities": "object",
|
|
"openSeaEnabled": "boolean",
|
|
"preferences": {
|
|
"hideZeroBalanceTokens": false,
|
|
"showFiatInTestnets": false,
|
|
"showTestNetworks": false,
|
|
"useNativeCurrencyAsPrimaryCurrency": true
|
|
},
|
|
"selectedAddress": "string",
|
|
"theme": "string",
|
|
"useBlockie": false,
|
|
"useNftDetection": "boolean",
|
|
"useNonceField": false,
|
|
"usePhishDetect": true,
|
|
"useTokenDetection": "boolean",
|
|
"useCurrencyRateCheck": "boolean",
|
|
"useMultiAccountBalanceChecker": "boolean"
|
|
},
|
|
"SmartTransactionsController": "object",
|
|
"SubjectMetadataController": "object",
|
|
"TokensController": "object",
|
|
"TransactionController": "object",
|
|
"config": "object",
|
|
"firstTimeInfo": "object"
|
|
},
|
|
"meta": { "version": 74 }
|
|
}
|