import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../common"; export interface ICouncilManagerInterface extends Interface { getFunction(nameOrSignature: "bindProcess" | "getBinding" | "getPlaintexts" | "getPublicKey" | "getRequestMeta" | "isDecryptionOpen" | "submitRequest"): FunctionFragment; encodeFunctionData(functionFragment: "bindProcess", values: [BytesLike, BytesLike, AddressLike]): string; encodeFunctionData(functionFragment: "getBinding", values: [AddressLike, BytesLike]): string; encodeFunctionData(functionFragment: "getPlaintexts", values: [BytesLike]): string; encodeFunctionData(functionFragment: "getPublicKey", values: [BytesLike]): string; encodeFunctionData(functionFragment: "getRequestMeta", values: [BytesLike]): string; encodeFunctionData(functionFragment: "isDecryptionOpen", values: [BytesLike]): string; encodeFunctionData(functionFragment: "submitRequest", values: [ BytesLike, BytesLike, [ BigNumberish, BigNumberish, BigNumberish, BigNumberish ][] ]): string; decodeFunctionResult(functionFragment: "bindProcess", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getBinding", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getPlaintexts", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getPublicKey", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getRequestMeta", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isDecryptionOpen", data: BytesLike): Result; decodeFunctionResult(functionFragment: "submitRequest", data: BytesLike): Result; } export interface ICouncilManager extends BaseContract { connect(runner?: ContractRunner | null): ICouncilManager; waitForDeployment(): Promise; interface: ICouncilManagerInterface; queryFilter(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>>; queryFilter(filter: TypedDeferredTopicFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>>; on(event: TCEvent, listener: TypedListener): Promise; on(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise; once(event: TCEvent, listener: TypedListener): Promise; once(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise; listeners(event: TCEvent): Promise>>; listeners(eventName?: string): Promise>; removeAllListeners(event?: TCEvent): Promise; bindProcess: TypedContractMethod<[ cid: BytesLike, processId: BytesLike, creator: AddressLike ], [ [ string, bigint, bigint ] & { requestId: string; pkX: bigint; pkY: bigint; } ], "nonpayable">; getBinding: TypedContractMethod<[ adapter: AddressLike, processId: BytesLike ], [ [ string, string, boolean ] & { cid: string; requestId: string; requested: boolean; } ], "view">; getPlaintexts: TypedContractMethod<[ requestId: BytesLike ], [ [boolean, bigint[]] & { ready: boolean; values: bigint[]; } ], "view">; getPublicKey: TypedContractMethod<[ cid: BytesLike ], [ [bigint, bigint] & { x: bigint; y: bigint; } ], "view">; getRequestMeta: TypedContractMethod<[ requestId: BytesLike ], [ [ string, bigint, bigint, bigint ] & { cid: string; fieldCount: bigint; completedBitmap: bigint; partialBitmap: bigint; } ], "view">; isDecryptionOpen: TypedContractMethod<[cid: BytesLike], [boolean], "view">; submitRequest: TypedContractMethod<[ cid: BytesLike, processId: BytesLike, cts: [BigNumberish, BigNumberish, BigNumberish, BigNumberish][] ], [ string ], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "bindProcess"): TypedContractMethod<[ cid: BytesLike, processId: BytesLike, creator: AddressLike ], [ [ string, bigint, bigint ] & { requestId: string; pkX: bigint; pkY: bigint; } ], "nonpayable">; getFunction(nameOrSignature: "getBinding"): TypedContractMethod<[ adapter: AddressLike, processId: BytesLike ], [ [ string, string, boolean ] & { cid: string; requestId: string; requested: boolean; } ], "view">; getFunction(nameOrSignature: "getPlaintexts"): TypedContractMethod<[ requestId: BytesLike ], [ [boolean, bigint[]] & { ready: boolean; values: bigint[]; } ], "view">; getFunction(nameOrSignature: "getPublicKey"): TypedContractMethod<[ cid: BytesLike ], [ [bigint, bigint] & { x: bigint; y: bigint; } ], "view">; getFunction(nameOrSignature: "getRequestMeta"): TypedContractMethod<[ requestId: BytesLike ], [ [ string, bigint, bigint, bigint ] & { cid: string; fieldCount: bigint; completedBitmap: bigint; partialBitmap: bigint; } ], "view">; getFunction(nameOrSignature: "isDecryptionOpen"): TypedContractMethod<[cid: BytesLike], [boolean], "view">; getFunction(nameOrSignature: "submitRequest"): TypedContractMethod<[ cid: BytesLike, processId: BytesLike, cts: [BigNumberish, BigNumberish, BigNumberish, BigNumberish][] ], [ string ], "nonpayable">; filters: {}; }