status-desktop/storybook/stubs/nim/WalletConnectController.qml
Stefan a8fb355a8d feat(wallet) activate Wallet connect modal from deep-links
- Open wallet connect modal when the application is opened from a
  deep link
- Add test entry that opens wallet connect modal with mocked
  StatusDesktop app that can be used for testing
- Add tests

Closes #12641
2023-12-12 20:12:53 +01:00

27 lines
1.0 KiB
QML

import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
// Stub for Controller QObject defined in src/app/modules/main/wallet_section/wallet_connect/controller.nim
Item {
id: root
// function sessionProposal(/*string*/ sessionProposalJson)
required property var sessionProposal
// function pairSessionRequest(/*string*/ sessionRequestJson)
required property var recordSuccessfulPairing
// function deletePairing(/*string*/ topic)
required property var deletePairing
signal respondSessionProposal(string sessionProposalJson, string supportedNamespacesJson, string error)
signal respondSessionRequest(string sessionRequestJson, string signedJson, bool error)
signal requestOpenWalletConnectPopup(string uri)
signal respondAuthRequest(string signature, string error)
// function sessionRequest(/*string*/ sessionRequestJson, /*string*/ password)
required property var sessionRequest
required property bool hasActivePairings
required property string projectId
}