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