mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 06:16:32 +00:00
a8fb355a8d
- 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
27 lines
1.0 KiB
QML
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
|
|
} |