import { CallOverrides } from "ethers"; import { Result } from "@ethersproject/abi/lib/coders/abstract-coder"; /* tslint:disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export type CommunityCallContractFunctions1 = | [] | [CommunityCallContractFunctions] | [CommunityCallContractFunctions, CommunityCallContractEvents]; export type AutEvent = { event: CommunityCallContractEventType; args: Result; eventSignature?: string; decodeError?: Error; decode?: (data: string, topics?: Array) => any; removeListener?: () => void; getBlock?: () => Promise; getTransaction?: () => Promise; getTransactionReceipt?: () => Promise; blockNumber?: number; blockHash?: string; transactionIndex?: number; removed?: boolean; address?: string; data?: string; transactionHash?: string; logIndex?: number; }[]; export interface CommunityCallContractFunctions { close: ( comCallID: number, results: string, participants: string[], overrides?: CallOverrides ) => Promise<{wait: () => Promise}>; create: ( _role: number, _startTime: number, _endTime: number, _uri: string, overrides?: CallOverrides ) => Promise<{wait: () => Promise}>; discordBot: (overrides?: CallOverrides) => Promise; setDiscordAddress: ( _discordBot: string, overrides?: CallOverrides ) => Promise<{wait: () => Promise}>; } export interface CommunityCallContractEvents { events: AutEvent; } export enum CommunityCallContractEventType { CommunityCallClosed = "CommunityCallClosed", CommunityCallCreated = "CommunityCallCreated" }