2022-12-01 23:52:45 +01:00
|
|
|
pragma Singleton
|
|
|
|
|
|
|
|
import QtQuick 2.14
|
|
|
|
|
|
|
|
QtObject {
|
|
|
|
property var userProfileInst
|
2023-10-18 10:03:32 +01:00
|
|
|
property bool gifUnfurlingEnabled
|
2022-12-13 18:18:02 +02:00
|
|
|
property bool isWalletEnabled
|
2022-12-06 09:55:50 +02:00
|
|
|
property var getSelectedTextWithFormationChars
|
|
|
|
property var gifColumnA
|
2023-05-31 11:25:16 +02:00
|
|
|
property var currentCurrency
|
2023-10-18 10:03:32 +01:00
|
|
|
property bool neverAskAboutUnfurlingAgain: false
|
2023-05-10 13:05:45 +02:00
|
|
|
|
2023-11-22 20:58:02 +01:00
|
|
|
property var currencyStore: CurrenciesStore {}
|
2023-06-07 16:16:23 +02:00
|
|
|
property var history
|
2023-05-31 11:25:16 +02:00
|
|
|
|
2023-05-10 13:05:45 +02:00
|
|
|
property var getNetworkIcon
|
2023-05-31 11:25:16 +02:00
|
|
|
property var getFiatValue
|
|
|
|
property var getLatestBlockNumber
|
|
|
|
property var hex2Dec
|
|
|
|
property var getNetworkColor
|
|
|
|
property var getNetworkFullName
|
|
|
|
property var getNetworkShortName
|
|
|
|
property var formatCurrencyAmount
|
|
|
|
property var getNameForSavedWalletAddress
|
|
|
|
property var getNameForAddress
|
|
|
|
property var getEnsForSavedWalletAddress
|
|
|
|
property var getChainShortNamesForSavedWalletAddress
|
2023-06-05 08:22:30 +02:00
|
|
|
property var getGasEthValue
|
|
|
|
property var getNetworkLayer
|
2023-09-27 13:05:50 +02:00
|
|
|
|
|
|
|
function copyToClipboard(text) {
|
|
|
|
console.warn("STUB: copyToClipboard:", text)
|
|
|
|
}
|
2023-10-18 10:03:32 +01:00
|
|
|
|
|
|
|
function setNeverAskAboutUnfurlingAgain(value) {
|
|
|
|
console.log("STUB: setNeverAskAboutUnfurlingAgain:", value)
|
|
|
|
neverAskAboutUnfurlingAgain = value
|
|
|
|
}
|
2023-11-22 20:58:02 +01:00
|
|
|
|
|
|
|
function getHistoricalDataForToken(symbol, currency) {
|
|
|
|
console.log("STUB: getHistoricalDataForToken:", symbol, currency)
|
|
|
|
}
|
2022-12-01 23:52:45 +01:00
|
|
|
}
|