status-desktop/storybook/stubs/shared/stores/RootStore.qml

45 lines
1.3 KiB
QML

pragma Singleton
import QtQuick 2.14
QtObject {
property var userProfileInst
property bool gifUnfurlingEnabled
property bool isWalletEnabled
property var getSelectedTextWithFormationChars
property var gifColumnA
property var currentCurrency
property bool neverAskAboutUnfurlingAgain: false
property var currencyStore: CurrenciesStore {}
property var history
property var getNetworkIcon
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
property var getGasEthValue
property var getNetworkLayer
function copyToClipboard(text) {
console.warn("STUB: copyToClipboard:", text)
}
function setNeverAskAboutUnfurlingAgain(value) {
console.log("STUB: setNeverAskAboutUnfurlingAgain:", value)
neverAskAboutUnfurlingAgain = value
}
function getHistoricalDataForToken(symbol, currency) {
console.log("STUB: getHistoricalDataForToken:", symbol, currency)
}
}