UNPKG

@linenext/dapp-portal-sdk

Version:

Dapp Portal SDK

12 lines (11 loc) 583 B
import { EventClient } from '../../client/EventClient'; import { DappPortalSDKConfig } from '../../config/config'; import { EventDto } from '../../dto/EventDto'; export declare class EventHandler { protected readonly eventClient: EventClient; constructor(config: DappPortalSDKConfig); getEventWhenStart(): Promise<EventDto[]>; getEventWhenConnect(): Promise<EventDto[]>; getEventUserConnection(eventId: string, walletAddress: string): Promise<boolean>; setEventUserConnection(eventId: string, connectionToken: string, walletAddress: string): Promise<void>; }