OZSmartAccountEventType

public enum OZSmartAccountEventType : String, Sendable, CaseIterable

Type-tag enumeration used to register typed subscriptions on OZSmartAccountEventEmitter.

Swift enum cases do not have nested types, so a parallel enum carries the per-arm type tag used by on(_:listener:) and once(_:listener:). The raw value is the stable string key consumed by removeAllListeners(eventType:) and listenerCount(eventType:).

Example:

let unsubscribe = emitter.on(.walletConnected) { event in
    if case let .walletConnected(contractId, _) = event {
        print("Connected to \(contractId)")
    }
}