ISignEngineWallet class abstract

Inheritance
Implementers

Constructors

ISignEngineWallet()

Properties

authKeys IGenericStore<AuthPublicKey>
finalinherited
authRequests IGenericStore<PendingAuthRequest>
final
completeRequests IGenericStore<StoredCacao>
finalinherited
core ICore
finalinherited
hashCode int
The hash code for this object.
no setterinherited
metadata PairingMetadata
finalinherited
onAuthRequest Event<AuthRequest>
final
onProposalExpire Event<SessionProposalEvent>
finalinherited
onSessionAuthRequest Event<SessionAuthRequest>
final
onSessionConnect Event<SessionConnect>
finalinherited
onSessionDelete Event<SessionDelete>
finalinherited
onSessionExpire Event<SessionExpire>
finalinherited
onSessionPing Event<SessionPing>
finalinherited
onSessionProposal Event<SessionProposalEvent>
final
onSessionProposalError Event<SessionProposalErrorEvent>
final
onSessionRequest Event<SessionRequestEvent>
final
pairings IPairingStore
finalinherited
pairingTopics IGenericStore<String>
finalinherited
pendingRequests IGenericStore<SessionRequest>
finalinherited
proposals IGenericStore<ProposalData>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionAuthRequests IGenericStore<PendingSessionAuthRequest>
final
sessions ISessions
finalinherited

Methods

approveSession({required int id, required Map<String, Namespace> namespaces, Map<String, String>? sessionProperties, String? relayProtocol}) Future<ApproveResponse>
approveSessionAuthenticate({required int id, List<Cacao>? auths}) Future<ApproveResponse>
disconnectSession({required String topic, required WalletConnectError reason}) Future<void>
inherited
emitSessionEvent({required String topic, required String chainId, required SessionEventParams event}) Future<void>
extendSession({required String topic}) Future<void>
find({required Map<String, RequiredNamespace> requiredNamespaces}) SessionData?
formatAuthMessage({required String iss, required CacaoRequestPayload cacaoPayload}) String
inherited
getActiveSessions() Map<String, SessionData>
inherited
getCompletedRequestsForPairing({required String pairingTopic}) Map<int, StoredCacao>
inherited
getPendingAuthRequests() Map<int, PendingAuthRequest>
getPendingSessionAuthRequests() Map<int, PendingSessionAuthRequest>
getPendingSessionProposals() Map<String, ProposalData>
inherited
getPendingSessionRequests() Map<String, SessionRequest>
getSessionsForPairing({required String pairingTopic}) Map<String, SessionData>
inherited
init() Future<void>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pair({required Uri uri}) Future<PairingInfo>
registerAccount({required String chainId, required String accountAddress}) → void
Register accounts for a given namespace or chainId. Used to construct the Namespaces map for the session proposal. Each account must follow the namespace:chainId:address format or this will throw an error.
registerEventEmitter({required String chainId, required String event}) → void
Register event emitters for a given namespace or chainId Used to construct the Namespaces map for the session proposal
registerRequestHandler({required String chainId, required String method, dynamic handler(String, dynamic)?}) → void
rejectSession({required int id, required WalletConnectError reason}) Future<void>
rejectSessionAuthenticate({required int id, required WalletConnectError reason}) Future<void>
respondAuthRequest({required int id, required String iss, CacaoSignature? signature, WalletConnectError? error}) Future<void>
Construct the Namespaces map for a session proposal. Uses the registered methods, events, and keys to build them. If the required namespaces is not satisfied, this function will throw a WalletConnectError. The optional namespaces are included if they exist in the registered information.
respondSessionRequest({required String topic, required JsonRpcResponse response}) Future<void>
toString() String
A string representation of this object.
inherited
updateSession({required String topic, required Map<String, Namespace> namespaces}) Future<void>
validateSignedCacao({required Cacao cacao, required String projectId}) Future<bool>
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited