mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 06:16:32 +00:00
bf4af3d7d4
Bump Status GO to support session based activity requests Transaction module was replaced by activity module, this change removes the old code. Details: - Remove transaction.Item and use the DTO directly - Replace the still using missing functionality - Remove old way of fetching transactions in response to the history event - Use activity filter to provide history for "recents" in Send. Closes #11339
22 lines
556 B
QML
22 lines
556 B
QML
pragma Singleton
|
|
|
|
import QtQuick 2.13
|
|
|
|
QtObject {
|
|
id: root
|
|
|
|
property var dappBrowserAccount: browserSectionCurrentAccount
|
|
property var accounts: walletSectionAccounts.model
|
|
property string defaultCurrency: walletSection.currentCurrency
|
|
property string signingPhrase: walletSection.signingPhrase
|
|
|
|
function getEtherscanLink(chainID) {
|
|
return networksModule.all.getBlockExplorerURL(chainID)
|
|
}
|
|
|
|
function switchAccountByAddress(address) {
|
|
browserSectionCurrentAccount.switchAccountByAddress(address)
|
|
}
|
|
|
|
}
|