2022-12-01 22:52:45 +00:00
|
|
|
pragma Singleton
|
|
|
|
|
|
|
|
import QtQuick 2.14
|
|
|
|
|
|
|
|
QtObject {
|
|
|
|
property var userProfileInst
|
2023-10-18 09:03:32 +00:00
|
|
|
property bool gifUnfurlingEnabled
|
2022-12-13 16:18:02 +00:00
|
|
|
property bool isWalletEnabled
|
2022-12-06 07:55:50 +00:00
|
|
|
property var getSelectedTextWithFormationChars
|
|
|
|
property var gifColumnA
|
2023-05-31 09:25:16 +00:00
|
|
|
property var currentCurrency
|
2023-10-18 09:03:32 +00:00
|
|
|
property bool neverAskAboutUnfurlingAgain: false
|
2023-05-10 11:05:45 +00:00
|
|
|
|
2023-11-22 19:58:02 +00:00
|
|
|
property var currencyStore: CurrenciesStore {}
|
2023-06-07 14:16:23 +00:00
|
|
|
property var history
|
2023-05-31 09:25:16 +00:00
|
|
|
|
2023-05-10 11:05:45 +00:00
|
|
|
property var getNetworkIcon
|
2023-05-31 09:25:16 +00: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 06:22:30 +00:00
|
|
|
property var getGasEthValue
|
|
|
|
property var getNetworkLayer
|
2023-09-27 11:05:50 +00:00
|
|
|
|
|
|
|
function copyToClipboard(text) {
|
|
|
|
console.warn("STUB: copyToClipboard:", text)
|
|
|
|
}
|
2023-10-18 09:03:32 +00:00
|
|
|
|
|
|
|
function setNeverAskAboutUnfurlingAgain(value) {
|
|
|
|
console.log("STUB: setNeverAskAboutUnfurlingAgain:", value)
|
|
|
|
neverAskAboutUnfurlingAgain = value
|
|
|
|
}
|
2023-11-22 19:58:02 +00:00
|
|
|
|
|
|
|
function getHistoricalDataForToken(symbol, currency) {
|
|
|
|
console.log("STUB: getHistoricalDataForToken:", symbol, currency)
|
|
|
|
}
|
2022-12-01 22:52:45 +00:00
|
|
|
}
|