UNPKG

@linenext/dapp-portal-sdk

Version:

Dapp Portal SDK

12 lines (11 loc) 614 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[]>; setEventUserConnection(eventId: string, connectionToken: string, walletAddress: string): Promise<void>; validateSubMissionCompletion(eventId: string, subMissionIndex: string, walletAddress: string): Promise<boolean>; }