IReownSign class abstract

Implemented types
Implementers

Constructors

IReownSign()

Properties

authKeys → IGenericStore<AuthPublicKey>
finalinherited
core → IReownCore
finalinherited
hashCode int
The hash code for this object.
no setterinherited
metadata → PairingMetadata
finalinherited
onProposalExpire → Event<SessionProposalEvent>
finalinherited
onSessionAuthRequest → Event<SessionAuthRequest>
finalinherited
onSessionAuthResponse → Event<SessionAuthResponse>
finalinherited
onSessionConnect → Event<SessionConnect>
finalinherited
onSessionDelete → Event<SessionDelete>
finalinherited
onSessionEvent → Event<SessionEvent>
finalinherited
onSessionExpire → Event<SessionExpire>
finalinherited
onSessionExtend → Event<SessionExtend>
finalinherited
onSessionPing → Event<SessionPing>
finalinherited
onSessionProposal → Event<SessionProposalEvent>
finalinherited
onSessionProposalError → Event<SessionProposalErrorEvent>
finalinherited
onSessionRequest → Event<SessionRequestEvent>
finalinherited
onSessionUpdate → Event<SessionUpdate>
finalinherited
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>
finalinherited
sessions ISessions
finalinherited

Methods

approveSession({required int id, required Map<String, Namespace> namespaces, Map<String, String>? sessionProperties, String? relayProtocol}) Future<ApproveResponse>
inherited
approveSessionAuthenticate({required int id, List<Cacao>? auths}) Future<ApproveResponse>
inherited
authenticate({required SessionAuthRequestParams params, String? walletUniversalLink, String? pairingTopic, List<List<String>>? methods}) Future<SessionAuthRequestResponse>
inherited
checkAndExpire() Future<void>
connect({Map<String, RequiredNamespace>? requiredNamespaces, Map<String, RequiredNamespace>? optionalNamespaces, Map<String, String>? sessionProperties, String? pairingTopic, List<Relay>? relays, List<List<String>>? methods}) Future<ConnectResponse>
inherited
disconnectSession({required String topic, required ReownSignError reason}) Future<void>
inherited
dispatchEnvelope(String url) Future<void>
inherited
emitSessionEvent({required String topic, required String chainId, required SessionEventParams event}) Future<void>
inherited
extendSession({required String topic}) Future<void>
inherited
find({required Map<String, RequiredNamespace> requiredNamespaces}) SessionData?
inherited
formatAuthMessage({required String iss, required CacaoRequestPayload cacaoPayload}) String
inherited
getActiveSessions() Map<String, SessionData>
inherited
getPendingSessionAuthRequests() Map<int, PendingSessionAuthRequest>
inherited
getPendingSessionProposals() Map<String, ProposalData>
inherited
getPendingSessionRequests() Map<String, SessionRequest>
inherited
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>
inherited
ping({required String topic}) Future<void>
inherited
redirectToDapp({required String topic, required Redirect? redirect}) Future<bool>
inherited
redirectToWallet({required String topic, required Redirect? redirect}) Future<bool>
inherited
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.
inherited
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
inherited
registerEventHandler({required String chainId, required String event, dynamic handler(String, dynamic)?}) → void
inherited
registerRequestHandler({required String chainId, required String method, dynamic handler(String, dynamic)?}) → void
inherited
rejectSession({required int id, required ReownSignError reason}) Future<void>
inherited
rejectSessionAuthenticate({required int id, required ReownSignError reason}) Future<void>
inherited
request({required String topic, required String chainId, required SessionRequestParams request}) Future
inherited
requestReadContract({required DeployedContract deployedContract, required String functionName, required String rpcUrl, EthereumAddress? sender, List parameters = const []}) Future<List>
inherited
requestWriteContract({required String topic, required String chainId, required DeployedContract deployedContract, required String functionName, required Transaction transaction, String? method, List parameters = const []}) Future
inherited
respondSessionRequest({required String topic, required JsonRpcResponse response}) Future<void>
inherited
toString() String
A string representation of this object.
inherited
updateSession({required String topic, required Map<String, Namespace> namespaces}) Future<void>
inherited
validateSignedCacao({required Cacao cacao, required String projectId}) Future<bool>
inherited

Operators

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