2022-02-11 09:44:49 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
|
|
|
|
QtObject {
|
|
|
|
id: root
|
|
|
|
|
2022-02-17 09:15:37 +00:00
|
|
|
property var layer1Networks: networksModule.layer1
|
|
|
|
property var layer2Networks: networksModule.layer2
|
|
|
|
property var testNetworks: networksModule.test
|
2022-03-01 14:40:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
property var importedAccounts: walletSectionAccounts.imported
|
|
|
|
property var generatedAccounts: walletSectionAccounts.generated
|
|
|
|
property var watchOnlyAccounts: walletSectionAccounts.watchOnly
|
2022-03-02 14:24:39 +00:00
|
|
|
property var walletTokensModule: walletSectionAllTokens
|
|
|
|
property var defaultTokenList: walletSectionAllTokens.default
|
|
|
|
property var customTokenList: walletSectionAllTokens.custom
|
|
|
|
|
|
|
|
function addCustomToken(chainId, address, name, symbol, decimals) {
|
|
|
|
return walletSectionAllTokens.addCustomToken(chainId, address, name, symbol, decimals)
|
|
|
|
}
|
|
|
|
|
|
|
|
function toggleVisible(chainId, symbol) {
|
|
|
|
walletSectionAllTokens.toggleVisible(chainId, symbol)
|
|
|
|
}
|
|
|
|
|
|
|
|
function removeCustomToken(chainId, address) {
|
|
|
|
walletSectionAllTokens.removeCustomToken(chainId, address)
|
|
|
|
}
|
|
|
|
}
|