| 1 | class PreferencesKey { |
| 2 | static const currentWalletType = 'current_wallet_type'; |
| 3 | static const currentWalletName = 'current_wallet_name'; |
| 4 | static const currentNodeIdKey = 'current_node_id'; |
| 5 | static const currentBitcoinElectrumSererIdKey = 'current_node_id_btc'; |
| 6 | static const currentLitecoinElectrumSererIdKey = 'current_node_id_ltc'; |
| 7 | static const currentHavenNodeIdKey = 'current_node_id_xhv'; |
| 8 | static const currentZanoNodeIdKey = 'current_node_id_zano'; |
| 9 | static const currentEthereumNodeIdKey = 'current_node_id_eth'; |
| 10 | static const currentPolygonNodeIdKey = 'current_node_id_matic'; |
| 11 | static const currentBaseNodeIdKey = 'current_node_id_base'; |
| 12 | static const currentArbitrumNodeIdKey = 'current_node_id_arbitrum'; |
| 13 | static const currentBscNodeIdKey = 'current_node_id_bsc'; |
| 14 | static const currentNanoNodeIdKey = 'current_node_id_nano'; |
| 15 | static const currentNanoPowNodeIdKey = 'current_node_id_nano_pow'; |
| 16 | static const currentDecredNodeIdKey = 'current_node_id_decred'; |
| 17 | static const currentDogecoinNodeIdKey = 'current_node_id_doge'; |
| 18 | static const currentBananoNodeIdKey = 'current_node_id_banano'; |
| 19 | static const currentBananoPowNodeIdKey = 'current_node_id_banano_pow'; |
| 20 | static const currentFiatCurrencyKey = 'current_fiat_currency'; |
| 21 | static const currentCakePayCountry = 'current_cake_pay_country'; |
| 22 | static const currentBitcoinCashNodeIdKey = 'current_node_id_bch'; |
| 23 | static const currentSolanaNodeIdKey = 'current_node_id_sol'; |
| 24 | static const currentTronNodeIdKey = 'current_node_id_trx'; |
| 25 | static const currentWowneroNodeIdKey = 'current_node_id_wow'; |
| 26 | static const currentZcashNodeIdKey = 'current_node_id_zec'; |
| 27 | static const currentTransactionPriorityKeyLegacy = 'current_fee_priority'; |
| 28 | static const currentBalanceDisplayModeKey = 'current_balance_display_mode'; |
| 29 | static const displayAmountsInSatoshi = 'display_amounts_in_satoshi'; |
| 30 | static const shouldSaveRecipientAddressKey = 'save_recipient_address'; |
| 31 | static const isAppSecureKey = 'is_app_secure'; |
| 32 | static const disableTradeOption = 'disable_buy'; |
| 33 | static const disableAutomaticExchangeStatusUpdates = 'disable_automatic_exchange_status_updates'; |
| 34 | static const disableBulletinKey = 'disable_bulletin'; |
| 35 | static const walletListOrder = 'wallet_list_order'; |
| 36 | static const contactListOrder = 'contact_list_order'; |
| 37 | static const walletListAscending = 'wallet_list_ascending'; |
| 38 | static const contactListAscending = 'contact_list_ascending'; |
| 39 | static const currentFiatApiModeKey = 'current_fiat_api_mode'; |
| 40 | static const failedTotpTokenTrials = 'failed_token_trials'; |
| 41 | static const disableExchangeKey = 'disable_exchange'; |
| 42 | static const exchangeStatusKey = 'exchange_status'; |
| 43 | static const currentTheme = 'current_theme'; |
| 44 | static const themeMode = 'theme_mode'; |
| 45 | static const blackThemeOled = 'black_theme_oled_enabled'; |
| 46 | static const savedDarkTheme = 'saved_dark_theme'; |
| 47 | static const savedLightTheme = 'saved_light_theme'; |
| 48 | static const displayActionListModeKey = 'display_list_mode'; |
| 49 | static const currentPinLength = 'current_pin_length'; |
| 50 | static const currentLanguageCode = 'language_code'; |
| 51 | static const currentSeedPhraseLength = 'current_seed_phrase_length'; |
| 52 | static const currentDefaultSettingsMigrationVersion = |
| 53 | 'current_default_settings_migration_version'; |
| 54 | static const moneroTransactionPriority = 'current_fee_priority_monero'; |
| 55 | static const bitcoinTransactionPriority = 'current_fee_priority_bitcoin'; |
| 56 | static const havenTransactionPriority = 'current_fee_priority_haven'; |
| 57 | static const litecoinTransactionPriority = 'current_fee_priority_litecoin'; |
| 58 | static const ethereumTransactionPriority = 'current_fee_priority_ethereum'; |
| 59 | static const polygonTransactionPriority = 'current_fee_priority_polygon'; |
| 60 | static const baseTransactionPriority = 'current_fee_priority_base'; |
| 61 | static const bscTransactionPriority = 'current_fee_priority_bsc'; |
| 62 | static const bitcoinCashTransactionPriority = 'current_fee_priority_bitcoin_cash'; |
| 63 | static const zanoTransactionPriority = 'current_fee_priority_zano'; |
| 64 | static const wowneroTransactionPriority = 'current_fee_priority_wownero'; |
| 65 | static const decredTransactionPriority = 'current_fee_priority_decred'; |
| 66 | static const zcashTransactionPriority = 'current_fee_priority_zcash'; |
| 67 | static const dogecoinTransactionPriority = 'current_fee_priority_dogecoin'; |
| 68 | static const customBitcoinFeeRate = 'custom_electrum_fee_rate'; |
| 69 | static const silentPaymentsCardDisplay = 'silentPaymentsCardDisplay'; |
| 70 | static const mwebCardDisplay = 'mwebCardDisplay'; |
| 71 | static const showZcashMissingFundsCard = 'showZcashMissingFundsCard'; |
| 72 | static const mwebEnabled = 'mwebEnabled'; |
| 73 | static const hasEnabledMwebBefore = 'hasEnabledMwebBefore'; |
| 74 | static const mwebAlwaysScan = 'mwebAlwaysScan'; |
| 75 | static const mwebNodeUri = 'mwebNodeUri'; |
| 76 | static const shouldShowReceiveWarning = 'should_show_receive_warning'; |
| 77 | static const shouldShowYatPopup = 'should_show_yat_popup'; |
| 78 | static const shouldShowDEuroDisclaimer = 'should_show_deuro_disclaimer'; |
| 79 | static const shouldShowRepWarning = 'should_show_rep_warning'; |
| 80 | static const moneroWalletPasswordUpdateV1Base = 'monero_wallet_update_v1'; |
| 81 | static const syncModeKey = 'sync_mode'; |
| 82 | static const syncAllKey = 'sync_all'; |
| 83 | static const builtinTorKey = 'builtin_tor'; |
| 84 | static const lastPopupDate = 'last_popup_date'; |
| 85 | static const lastAppReviewDate = 'last_app_review_date'; |
| 86 | static const sortBalanceBy = 'sort_balance_by'; |
| 87 | static const pinNativeTokenAtTop = 'pin_native_token_at_top'; |
| 88 | static const useEtherscan = 'use_etherscan'; |
| 89 | static const usePolygonScan = 'use_polygonscan'; |
| 90 | static const useBaseScan = 'use_base_scan'; |
| 91 | static const useArbiScan = 'use_arbitrum_scan'; |
| 92 | static const useBscScan = 'use_bscscan'; |
| 93 | static const useTronGrid = 'use_trongrid'; |
| 94 | static const useMempoolFeeAPI = 'use_mempool_fee_api'; |
| 95 | static const evmHiddenChainIds = 'evm_hidden_chain_ids'; |
| 96 | static const defaultNanoRep = 'default_nano_representative'; |
| 97 | static const defaultBananoRep = 'default_banano_representative'; |
| 98 | static const lookupsTwitter = 'looks_up_twitter'; |
| 99 | static const lookupsZanoAlias = 'looks_up_zano_alias'; |
| 100 | static const lookupsMastodon = 'looks_up_mastodon'; |
| 101 | static const lookupsYatService = 'looks_up_yat'; |
| 102 | static const lookupsUnstoppableDomains = 'looks_up_unstoppable_domain'; |
| 103 | static const lookupsOpenAlias = 'looks_up_open_alias'; |
| 104 | static const lookupsENS = 'looks_up_ens'; |
| 105 | static const lookupsZcashNames = 'looks_up_zcash_names'; |
| 106 | static const lookupsZcashAddress = 'looks_up_zcash_address'; |
| 107 | static const lookupsWellKnown = 'looks_up_well_known'; |
| 108 | static const lookupsFio = 'looks_up_fio'; |
| 109 | static const lookupsNostr = 'looks_up_nostr'; |
| 110 | static const lookupsThorChain = 'looks_up_thor_chain'; |
| 111 | static const lookupsBip353 = 'looks_up_bip353'; |
| 112 | static const lookupsLNUrl = 'looks_up_lnurl'; |
| 113 | static const useBlinkProtection = 'use_blink_protection'; |
| 114 | static const usePayjoin = 'use_payjoin'; |
| 115 | static const showPayjoinCard = 'show_payjoin_card'; |
| 116 | static const showCameraConsent = 'show_camera_consent'; |
| 117 | static const showDecredInfoCard = 'show_decred_info_card'; |
| 118 | static const forceDecentralizedExchanges = 'force_decentralized_exchanges'; |
| 119 | static const decentralizedExchangesPromptDismissed = 'decentralized_exchanges_prompt_dismissed'; |
| 120 | |
| 121 | static String moneroWalletUpdateV1Key(String name) => |
| 122 | '${PreferencesKey.moneroWalletPasswordUpdateV1Base}_${name}'; |
| 123 | |
| 124 | static const exchangeProvidersSelection = 'exchange-providers-selection'; |
| 125 | static const trocadorProviderStatesKey = 'trocador_provider_states'; |
| 126 | static const autoGenerateSubaddressStatusKey = 'auto_generate_subaddress_status'; |
| 127 | static const moneroSeedType = 'monero_seed_type'; |
| 128 | static const bitcoinSeedType = 'bitcoin_seed_type'; |
| 129 | static const nanoSeedType = 'nano_seed_type'; |
| 130 | static const clearnetDonationLink = 'clearnet_donation_link'; |
| 131 | static const onionDonationLink = 'onion_donation_link'; |
| 132 | static const donationLinkWalletName = 'donation_link_wallet_name'; |
| 133 | static const lastSeenAppVersion = 'last_seen_app_version'; |
| 134 | static const shouldShowMarketPlaceInDashboard = 'should_show_marketplace_in_dashboard'; |
| 135 | static const showAddressBookPopupEnabled = 'show_address_book_popup_enabled'; |
| 136 | static const isNewInstall = 'is_new_install'; |
| 137 | static const serviceStatusShaKey = 'service_status_sha_key'; |
| 138 | static const walletConnectPairingTopicsList = 'wallet_connect_pairing_topics_list'; |
| 139 | static String walletConnectPairingTopicsListForWallet(String publicKey) => |
| 140 | '${PreferencesKey.walletConnectPairingTopicsList}_${publicKey}'; |
| 141 | static String backgroundSyncLastTrigger(String walletId) => |
| 142 | 'background_sync_last_trigger_${walletId}'; |
| 143 | static const backgroundSyncNotificationsEnabled = 'background_sync_notifications_enabled'; |
| 144 | static const enableAutomaticNodeSwitching = 'enable_automatic_node_switching'; |
| 145 | static const syncStatusDisplayMode = 'sync_status_display_mode'; |
| 146 | static const backgroundImage = 'background_image'; |
| 147 | static const mwebAdDismissed = "mweb_ad_dismissed"; |
| 148 | static const balanceHideCounter = "balance_hide_counter"; |
| 149 | static const zcashMigrationModalViewed = "zcash_migration_modal_viewed"; |
| 150 | } |