32 lines
759 B
QML
Raw Normal View History

pragma Singleton
import QtQuick 2.13
QtObject {
id: root
property var dappBrowserAccount: browserSectionCurrentAccount
2021-11-19 10:42:41 +01:00
property var accounts: walletSectionAccounts.model
property string defaultCurrency: walletSection.currentCurrency
property string signingPhrase: walletSection.signingPhrase
function getEtherscanLink() {
return profileSectionModule.ensUsernamesModule.getEtherscanLink()
}
function switchAccountByAddress(address) {
browserSectionCurrentAccount.switchAccountByAddress(address)
}
function getGasPrice(){
// Not Refactored Yet
// walletModel.gasView.getGasPrice()
}
2022-02-28 13:30:36 +01:00
function isEIP1559Enabled() {
return walletSection.isEIP1559Enabled()
}
}