2023-10-27 16:18:24 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
|
2023-12-01 19:43:21 +00:00
|
|
|
// function sessionProposal(/*string*/ sessionProposalJson)
|
|
|
|
required property var sessionProposal
|
2023-11-24 12:51:36 +00:00
|
|
|
// function pairSessionRequest(/*string*/ sessionRequestJson)
|
|
|
|
required property var recordSuccessfulPairing
|
|
|
|
// function deletePairing(/*string*/ topic)
|
|
|
|
required property var deletePairing
|
2023-10-27 16:18:24 +00:00
|
|
|
|
2023-12-01 19:43:21 +00:00
|
|
|
signal respondSessionProposal(string sessionProposalJson, string supportedNamespacesJson, string error)
|
2023-11-06 19:05:18 +00:00
|
|
|
signal respondSessionRequest(string sessionRequestJson, string signedJson, bool error)
|
2023-12-01 19:43:21 +00:00
|
|
|
signal requestOpenWalletConnectPopup(string uri)
|
|
|
|
signal respondAuthRequest(string signature, string error)
|
2023-11-06 19:05:18 +00:00
|
|
|
|
|
|
|
// function sessionRequest(/*string*/ sessionRequestJson, /*string*/ password)
|
|
|
|
required property var sessionRequest
|
|
|
|
|
2023-11-15 21:26:12 +00:00
|
|
|
required property bool hasActivePairings
|
2023-10-27 16:18:24 +00:00
|
|
|
required property string projectId
|
|
|
|
}
|