import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../common"; export declare namespace DAVINCITypes { type BallotModeStruct = { uniqueValues: boolean; numFields: BigNumberish; groupSize: BigNumberish; costExponent: BigNumberish; maxValue: BigNumberish; minValue: BigNumberish; maxValueSum: BigNumberish; minValueSum: BigNumberish; }; type BallotModeStructOutput = [ uniqueValues: boolean, numFields: bigint, groupSize: bigint, costExponent: bigint, maxValue: bigint, minValue: bigint, maxValueSum: bigint, minValueSum: bigint ] & { uniqueValues: boolean; numFields: bigint; groupSize: bigint; costExponent: bigint; maxValue: bigint; minValue: bigint; maxValueSum: bigint; minValueSum: bigint; }; type EncryptionKeyStruct = { x: BigNumberish; y: BigNumberish; }; type EncryptionKeyStructOutput = [x: bigint, y: bigint] & { x: bigint; y: bigint; }; type CensusStruct = { censusOrigin: BigNumberish; censusRoot: BytesLike; contractAddress: AddressLike; censusURI: string; onchainAllowAnyValidRoot: boolean; }; type CensusStructOutput = [ censusOrigin: bigint, censusRoot: string, contractAddress: string, censusURI: string, onchainAllowAnyValidRoot: boolean ] & { censusOrigin: bigint; censusRoot: string; contractAddress: string; censusURI: string; onchainAllowAnyValidRoot: boolean; }; type ProcessStruct = { status: BigNumberish; organizationId: AddressLike; encryptionKey: DAVINCITypes.EncryptionKeyStruct; latestStateRoot: BytesLike; result: BigNumberish[]; startTime: BigNumberish; duration: BigNumberish; maxVoters: BigNumberish; votersCount: BigNumberish; overwrittenVotesCount: BigNumberish; creationBlock: BigNumberish; batchNumber: BigNumberish; metadataURI: string; metadataHash: BytesLike; ballotMode: DAVINCITypes.BallotModeStruct; census: DAVINCITypes.CensusStruct; keyMode: BigNumberish; dkgEpochId: BytesLike; dkgFirstIndex: BigNumberish; dkgCount: BigNumberish; dkgZeroSkipped: BigNumberish; dkgResultsRequested: boolean; dkgAid: BytesLike; grace: BigNumberish; lastVoteAt: BigNumberish; }; type ProcessStructOutput = [ status: bigint, organizationId: string, encryptionKey: DAVINCITypes.EncryptionKeyStructOutput, latestStateRoot: string, result: bigint[], startTime: bigint, duration: bigint, maxVoters: bigint, votersCount: bigint, overwrittenVotesCount: bigint, creationBlock: bigint, batchNumber: bigint, metadataURI: string, metadataHash: string, ballotMode: DAVINCITypes.BallotModeStructOutput, census: DAVINCITypes.CensusStructOutput, keyMode: bigint, dkgEpochId: string, dkgFirstIndex: bigint, dkgCount: bigint, dkgZeroSkipped: bigint, dkgResultsRequested: boolean, dkgAid: string, grace: bigint, lastVoteAt: bigint ] & { status: bigint; organizationId: string; encryptionKey: DAVINCITypes.EncryptionKeyStructOutput; latestStateRoot: string; result: bigint[]; startTime: bigint; duration: bigint; maxVoters: bigint; votersCount: bigint; overwrittenVotesCount: bigint; creationBlock: bigint; batchNumber: bigint; metadataURI: string; metadataHash: string; ballotMode: DAVINCITypes.BallotModeStructOutput; census: DAVINCITypes.CensusStructOutput; keyMode: bigint; dkgEpochId: string; dkgFirstIndex: bigint; dkgCount: bigint; dkgZeroSkipped: bigint; dkgResultsRequested: boolean; dkgAid: string; grace: bigint; lastVoteAt: bigint; }; type DKGParamsStruct = { mode: BigNumberish; epochId: BytesLike; orgPKx: BigNumberish; orgPKy: BigNumberish; popAx: BigNumberish; popAy: BigNumberish; popZ: BigNumberish; }; type DKGParamsStructOutput = [ mode: bigint, epochId: string, orgPKx: bigint, orgPKy: bigint, popAx: bigint, popAy: bigint, popZ: bigint ] & { mode: bigint; epochId: string; orgPKx: bigint; orgPKy: bigint; popAx: bigint; popAy: bigint; popZ: bigint; }; } export declare namespace IL1BlobVerifier { type L1TxProofStruct = { headerIndex: BigNumberish; key: BytesLike; proof: BytesLike[]; }; type L1TxProofStructOutput = [ headerIndex: bigint, key: string, proof: string[] ] & { headerIndex: bigint; key: string; proof: string[]; }; type L1BlobProofStruct = { headers: BytesLike[]; txs: IL1BlobVerifier.L1TxProofStruct[]; }; type L1BlobProofStructOutput = [ headers: string[], txs: IL1BlobVerifier.L1TxProofStructOutput[] ] & { headers: string[]; txs: IL1BlobVerifier.L1TxProofStructOutput[]; }; } export interface ProcessRegistryInterface extends Interface { getFunction(nameOrSignature: "MAX_STATUS" | "aidFor" | "ballotVKHash" | "batchProgramVK" | "chainID" | "councilAdapter" | "defaultGrace" | "dkgAdapter" | "finalizeResultsFromDKG" | "genesisRoot" | "getNextProcessId" | "getProcess" | "getProcessEndTime" | "getProcessGraceEnd" | "getRVerifierVKeyHash" | "getSTVerifierVKeyHash" | "graceCeil" | "graceFloor" | "graceMaxTotal" | "l1BlobVerifier" | "newProcess" | "noticeMin" | "pidPrefix" | "processCount" | "processNonce" | "processes" | "requestResultsDecryption" | "resultsProgramVK" | "revealProcessKey" | "rootCVadcopFinal" | "setProcessCensus" | "setProcessDuration" | "setProcessGrace" | "setProcessMaxVoters" | "setProcessMetadata" | "setProcessResults" | "setProcessStatus" | "submitStateTransition" | "submitStateTransitionL1" | "ziskVerifier"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "CensusUpdated" | "ProcessCreated" | "ProcessDurationChanged" | "ProcessGraceChanged" | "ProcessMaxVotersChanged" | "ProcessMetadataUpdated" | "ProcessResultsSet" | "ProcessStateTransitioned" | "ProcessStateTransitionedL1" | "ProcessStatusChanged" | "ResultsDecryptionRequested"): EventFragment; encodeFunctionData(functionFragment: "MAX_STATUS", values?: undefined): string; encodeFunctionData(functionFragment: "aidFor", values: [BytesLike]): string; encodeFunctionData(functionFragment: "ballotVKHash", values?: undefined): string; encodeFunctionData(functionFragment: "batchProgramVK", values?: undefined): string; encodeFunctionData(functionFragment: "chainID", values?: undefined): string; encodeFunctionData(functionFragment: "councilAdapter", values?: undefined): string; encodeFunctionData(functionFragment: "defaultGrace", values?: undefined): string; encodeFunctionData(functionFragment: "dkgAdapter", values?: undefined): string; encodeFunctionData(functionFragment: "finalizeResultsFromDKG", values: [BytesLike]): string; encodeFunctionData(functionFragment: "genesisRoot", values: [ BytesLike, DAVINCITypes.BallotModeStruct, DAVINCITypes.EncryptionKeyStruct, BigNumberish ]): string; encodeFunctionData(functionFragment: "getNextProcessId", values: [AddressLike]): string; encodeFunctionData(functionFragment: "getProcess", values: [BytesLike]): string; encodeFunctionData(functionFragment: "getProcessEndTime", values: [BytesLike]): string; encodeFunctionData(functionFragment: "getProcessGraceEnd", values: [BytesLike]): string; encodeFunctionData(functionFragment: "getRVerifierVKeyHash", values?: undefined): string; encodeFunctionData(functionFragment: "getSTVerifierVKeyHash", values?: undefined): string; encodeFunctionData(functionFragment: "graceCeil", values?: undefined): string; encodeFunctionData(functionFragment: "graceFloor", values?: undefined): string; encodeFunctionData(functionFragment: "graceMaxTotal", values?: undefined): string; encodeFunctionData(functionFragment: "l1BlobVerifier", values?: undefined): string; encodeFunctionData(functionFragment: "newProcess", values: [ BigNumberish, BigNumberish, BigNumberish, BigNumberish, DAVINCITypes.BallotModeStruct, DAVINCITypes.CensusStruct, string, BytesLike, DAVINCITypes.EncryptionKeyStruct, DAVINCITypes.DKGParamsStruct ]): string; encodeFunctionData(functionFragment: "noticeMin", values?: undefined): string; encodeFunctionData(functionFragment: "pidPrefix", values?: undefined): string; encodeFunctionData(functionFragment: "processCount", values?: undefined): string; encodeFunctionData(functionFragment: "processNonce", values: [AddressLike]): string; encodeFunctionData(functionFragment: "processes", values: [BytesLike]): string; encodeFunctionData(functionFragment: "requestResultsDecryption", values: [BytesLike, BigNumberish[], BytesLike[]]): string; encodeFunctionData(functionFragment: "resultsProgramVK", values?: undefined): string; encodeFunctionData(functionFragment: "revealProcessKey", values: [BytesLike, BigNumberish]): string; encodeFunctionData(functionFragment: "rootCVadcopFinal", values?: undefined): string; encodeFunctionData(functionFragment: "setProcessCensus", values: [BytesLike, DAVINCITypes.CensusStruct]): string; encodeFunctionData(functionFragment: "setProcessDuration", values: [BytesLike, BigNumberish]): string; encodeFunctionData(functionFragment: "setProcessGrace", values: [BytesLike, BigNumberish]): string; encodeFunctionData(functionFragment: "setProcessMaxVoters", values: [BytesLike, BigNumberish]): string; encodeFunctionData(functionFragment: "setProcessMetadata", values: [BytesLike, string, BytesLike]): string; encodeFunctionData(functionFragment: "setProcessResults", values: [BytesLike, BytesLike, BytesLike]): string; encodeFunctionData(functionFragment: "setProcessStatus", values: [BytesLike, BigNumberish]): string; encodeFunctionData(functionFragment: "submitStateTransition", values: [ BytesLike, BytesLike, BytesLike, BytesLike[], BytesLike[], BytesLike[] ]): string; encodeFunctionData(functionFragment: "submitStateTransitionL1", values: [ BytesLike, BytesLike, BytesLike, BytesLike[], BytesLike[], BytesLike[], IL1BlobVerifier.L1BlobProofStruct ]): string; encodeFunctionData(functionFragment: "ziskVerifier", values?: undefined): string; decodeFunctionResult(functionFragment: "MAX_STATUS", data: BytesLike): Result; decodeFunctionResult(functionFragment: "aidFor", data: BytesLike): Result; decodeFunctionResult(functionFragment: "ballotVKHash", data: BytesLike): Result; decodeFunctionResult(functionFragment: "batchProgramVK", data: BytesLike): Result; decodeFunctionResult(functionFragment: "chainID", data: BytesLike): Result; decodeFunctionResult(functionFragment: "councilAdapter", data: BytesLike): Result; decodeFunctionResult(functionFragment: "defaultGrace", data: BytesLike): Result; decodeFunctionResult(functionFragment: "dkgAdapter", data: BytesLike): Result; decodeFunctionResult(functionFragment: "finalizeResultsFromDKG", data: BytesLike): Result; decodeFunctionResult(functionFragment: "genesisRoot", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getNextProcessId", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getProcess", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getProcessEndTime", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getProcessGraceEnd", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getRVerifierVKeyHash", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getSTVerifierVKeyHash", data: BytesLike): Result; decodeFunctionResult(functionFragment: "graceCeil", data: BytesLike): Result; decodeFunctionResult(functionFragment: "graceFloor", data: BytesLike): Result; decodeFunctionResult(functionFragment: "graceMaxTotal", data: BytesLike): Result; decodeFunctionResult(functionFragment: "l1BlobVerifier", data: BytesLike): Result; decodeFunctionResult(functionFragment: "newProcess", data: BytesLike): Result; decodeFunctionResult(functionFragment: "noticeMin", data: BytesLike): Result; decodeFunctionResult(functionFragment: "pidPrefix", data: BytesLike): Result; decodeFunctionResult(functionFragment: "processCount", data: BytesLike): Result; decodeFunctionResult(functionFragment: "processNonce", data: BytesLike): Result; decodeFunctionResult(functionFragment: "processes", data: BytesLike): Result; decodeFunctionResult(functionFragment: "requestResultsDecryption", data: BytesLike): Result; decodeFunctionResult(functionFragment: "resultsProgramVK", data: BytesLike): Result; decodeFunctionResult(functionFragment: "revealProcessKey", data: BytesLike): Result; decodeFunctionResult(functionFragment: "rootCVadcopFinal", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setProcessCensus", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setProcessDuration", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setProcessGrace", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setProcessMaxVoters", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setProcessMetadata", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setProcessResults", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setProcessStatus", data: BytesLike): Result; decodeFunctionResult(functionFragment: "submitStateTransition", data: BytesLike): Result; decodeFunctionResult(functionFragment: "submitStateTransitionL1", data: BytesLike): Result; decodeFunctionResult(functionFragment: "ziskVerifier", data: BytesLike): Result; } export declare namespace CensusUpdatedEvent { type InputTuple = [ processId: BytesLike, censusRoot: BytesLike, censusURI: string ]; type OutputTuple = [ processId: string, censusRoot: string, censusURI: string ]; interface OutputObject { processId: string; censusRoot: string; censusURI: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace ProcessCreatedEvent { type InputTuple = [processId: BytesLike, creator: AddressLike]; type OutputTuple = [processId: string, creator: string]; interface OutputObject { processId: string; creator: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace ProcessDurationChangedEvent { type InputTuple = [processId: BytesLike, duration: BigNumberish]; type OutputTuple = [processId: string, duration: bigint]; interface OutputObject { processId: string; duration: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace ProcessGraceChangedEvent { type InputTuple = [processId: BytesLike, grace: BigNumberish]; type OutputTuple = [processId: string, grace: bigint]; interface OutputObject { processId: string; grace: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace ProcessMaxVotersChangedEvent { type InputTuple = [processId: BytesLike, maxVoters: BigNumberish]; type OutputTuple = [processId: string, maxVoters: bigint]; interface OutputObject { processId: string; maxVoters: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace ProcessMetadataUpdatedEvent { type InputTuple = [ processId: BytesLike, metadataURI: string, metadataHash: BytesLike ]; type OutputTuple = [ processId: string, metadataURI: string, metadataHash: string ]; interface OutputObject { processId: string; metadataURI: string; metadataHash: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace ProcessResultsSetEvent { type InputTuple = [ processId: BytesLike, sender: AddressLike, result: BigNumberish[] ]; type OutputTuple = [ processId: string, sender: string, result: bigint[] ]; interface OutputObject { processId: string; sender: string; result: bigint[]; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace ProcessStateTransitionedEvent { type InputTuple = [ processId: BytesLike, sender: AddressLike, oldStateRoot: BytesLike, newStateRoot: BytesLike, newVotersCount: BigNumberish, newOverwrittenVotesCount: BigNumberish, nBlobs: BigNumberish ]; type OutputTuple = [ processId: string, sender: string, oldStateRoot: string, newStateRoot: string, newVotersCount: bigint, newOverwrittenVotesCount: bigint, nBlobs: bigint ]; interface OutputObject { processId: string; sender: string; oldStateRoot: string; newStateRoot: string; newVotersCount: bigint; newOverwrittenVotesCount: bigint; nBlobs: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace ProcessStateTransitionedL1Event { type InputTuple = [ processId: BytesLike, l1BlockNumbers: BigNumberish[], versionedHashes: BytesLike[] ]; type OutputTuple = [ processId: string, l1BlockNumbers: bigint[], versionedHashes: string[] ]; interface OutputObject { processId: string; l1BlockNumbers: bigint[]; versionedHashes: string[]; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace ProcessStatusChangedEvent { type InputTuple = [ processId: BytesLike, oldStatus: BigNumberish, newStatus: BigNumberish ]; type OutputTuple = [ processId: string, oldStatus: bigint, newStatus: bigint ]; interface OutputObject { processId: string; oldStatus: bigint; newStatus: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace ResultsDecryptionRequestedEvent { type InputTuple = [ processId: BytesLike, epochId: BytesLike, aid: BytesLike, firstIndex: BigNumberish, count: BigNumberish ]; type OutputTuple = [ processId: string, epochId: string, aid: string, firstIndex: bigint, count: bigint ]; interface OutputObject { processId: string; epochId: string; aid: string; firstIndex: bigint; count: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface ProcessRegistry extends BaseContract { connect(runner?: ContractRunner | null): ProcessRegistry; waitForDeployment(): Promise; interface: ProcessRegistryInterface; 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; MAX_STATUS: TypedContractMethod<[], [bigint], "view">; aidFor: TypedContractMethod<[processId: BytesLike], [string], "view">; ballotVKHash: TypedContractMethod<[], [string], "view">; batchProgramVK: TypedContractMethod<[], [string], "view">; chainID: TypedContractMethod<[], [bigint], "view">; councilAdapter: TypedContractMethod<[], [string], "view">; defaultGrace: TypedContractMethod<[], [bigint], "view">; dkgAdapter: TypedContractMethod<[], [string], "view">; finalizeResultsFromDKG: TypedContractMethod<[ processId: BytesLike ], [ void ], "nonpayable">; genesisRoot: TypedContractMethod<[ processId: BytesLike, ballotMode: DAVINCITypes.BallotModeStruct, encryptionKey: DAVINCITypes.EncryptionKeyStruct, censusOrigin: BigNumberish ], [ string ], "view">; getNextProcessId: TypedContractMethod<[ organizationId: AddressLike ], [ string ], "view">; getProcess: TypedContractMethod<[ processId: BytesLike ], [ DAVINCITypes.ProcessStructOutput ], "view">; getProcessEndTime: TypedContractMethod<[ processId: BytesLike ], [ bigint ], "view">; getProcessGraceEnd: TypedContractMethod<[ processId: BytesLike ], [ bigint ], "view">; getRVerifierVKeyHash: TypedContractMethod<[], [string], "view">; getSTVerifierVKeyHash: TypedContractMethod<[], [string], "view">; graceCeil: TypedContractMethod<[], [bigint], "view">; graceFloor: TypedContractMethod<[], [bigint], "view">; graceMaxTotal: TypedContractMethod<[], [bigint], "view">; l1BlobVerifier: TypedContractMethod<[], [string], "view">; newProcess: TypedContractMethod<[ status: BigNumberish, startTime: BigNumberish, duration: BigNumberish, maxVoters: BigNumberish, ballotMode: DAVINCITypes.BallotModeStruct, census: DAVINCITypes.CensusStruct, metadataURI: string, metadataHash: BytesLike, encryptionKey: DAVINCITypes.EncryptionKeyStruct, dkg: DAVINCITypes.DKGParamsStruct ], [ string ], "nonpayable">; noticeMin: TypedContractMethod<[], [bigint], "view">; pidPrefix: TypedContractMethod<[], [bigint], "view">; processCount: TypedContractMethod<[], [bigint], "view">; processNonce: TypedContractMethod<[arg0: AddressLike], [bigint], "view">; processes: TypedContractMethod<[ arg0: BytesLike ], [ [ bigint, string, DAVINCITypes.EncryptionKeyStructOutput, string, bigint, bigint, bigint, bigint, bigint, bigint, bigint, string, string, DAVINCITypes.BallotModeStructOutput, DAVINCITypes.CensusStructOutput, bigint, string, bigint, bigint, bigint, boolean, string, bigint, bigint ] & { status: bigint; organizationId: string; encryptionKey: DAVINCITypes.EncryptionKeyStructOutput; latestStateRoot: string; startTime: bigint; duration: bigint; maxVoters: bigint; votersCount: bigint; overwrittenVotesCount: bigint; creationBlock: bigint; batchNumber: bigint; metadataURI: string; metadataHash: string; ballotMode: DAVINCITypes.BallotModeStructOutput; census: DAVINCITypes.CensusStructOutput; keyMode: bigint; dkgEpochId: string; dkgFirstIndex: bigint; dkgCount: bigint; dkgZeroSkipped: bigint; dkgResultsRequested: boolean; dkgAid: string; grace: bigint; lastVoteAt: bigint; } ], "view">; requestResultsDecryption: TypedContractMethod<[ processId: BytesLike, accumulator: BigNumberish[], siblings: BytesLike[] ], [ void ], "nonpayable">; resultsProgramVK: TypedContractMethod<[], [string], "view">; revealProcessKey: TypedContractMethod<[ processId: BytesLike, sk: BigNumberish ], [ void ], "nonpayable">; rootCVadcopFinal: TypedContractMethod<[], [string], "view">; setProcessCensus: TypedContractMethod<[ processId: BytesLike, census: DAVINCITypes.CensusStruct ], [ void ], "nonpayable">; setProcessDuration: TypedContractMethod<[ processId: BytesLike, _duration: BigNumberish ], [ void ], "nonpayable">; setProcessGrace: TypedContractMethod<[ processId: BytesLike, grace: BigNumberish ], [ void ], "nonpayable">; setProcessMaxVoters: TypedContractMethod<[ processId: BytesLike, _maxVoters: BigNumberish ], [ void ], "nonpayable">; setProcessMetadata: TypedContractMethod<[ processId: BytesLike, metadataURI: string, metadataHash: BytesLike ], [ void ], "nonpayable">; setProcessResults: TypedContractMethod<[ processId: BytesLike, publicValues: BytesLike, proofBytes: BytesLike ], [ void ], "nonpayable">; setProcessStatus: TypedContractMethod<[ processId: BytesLike, newStatus: BigNumberish ], [ void ], "nonpayable">; submitStateTransition: TypedContractMethod<[ processId: BytesLike, publicValues: BytesLike, proofBytes: BytesLike, commitments: BytesLike[], ys: BytesLike[], kzgProofs: BytesLike[] ], [ void ], "nonpayable">; submitStateTransitionL1: TypedContractMethod<[ processId: BytesLike, publicValues: BytesLike, proofBytes: BytesLike, commitments: BytesLike[], ys: BytesLike[], kzgProofs: BytesLike[], l1: IL1BlobVerifier.L1BlobProofStruct ], [ void ], "nonpayable">; ziskVerifier: TypedContractMethod<[], [string], "view">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "MAX_STATUS"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "aidFor"): TypedContractMethod<[processId: BytesLike], [string], "view">; getFunction(nameOrSignature: "ballotVKHash"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "batchProgramVK"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "chainID"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "councilAdapter"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "defaultGrace"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "dkgAdapter"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "finalizeResultsFromDKG"): TypedContractMethod<[processId: BytesLike], [void], "nonpayable">; getFunction(nameOrSignature: "genesisRoot"): TypedContractMethod<[ processId: BytesLike, ballotMode: DAVINCITypes.BallotModeStruct, encryptionKey: DAVINCITypes.EncryptionKeyStruct, censusOrigin: BigNumberish ], [ string ], "view">; getFunction(nameOrSignature: "getNextProcessId"): TypedContractMethod<[organizationId: AddressLike], [string], "view">; getFunction(nameOrSignature: "getProcess"): TypedContractMethod<[ processId: BytesLike ], [ DAVINCITypes.ProcessStructOutput ], "view">; getFunction(nameOrSignature: "getProcessEndTime"): TypedContractMethod<[processId: BytesLike], [bigint], "view">; getFunction(nameOrSignature: "getProcessGraceEnd"): TypedContractMethod<[processId: BytesLike], [bigint], "view">; getFunction(nameOrSignature: "getRVerifierVKeyHash"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "getSTVerifierVKeyHash"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "graceCeil"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "graceFloor"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "graceMaxTotal"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "l1BlobVerifier"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "newProcess"): TypedContractMethod<[ status: BigNumberish, startTime: BigNumberish, duration: BigNumberish, maxVoters: BigNumberish, ballotMode: DAVINCITypes.BallotModeStruct, census: DAVINCITypes.CensusStruct, metadataURI: string, metadataHash: BytesLike, encryptionKey: DAVINCITypes.EncryptionKeyStruct, dkg: DAVINCITypes.DKGParamsStruct ], [ string ], "nonpayable">; getFunction(nameOrSignature: "noticeMin"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "pidPrefix"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "processCount"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "processNonce"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "processes"): TypedContractMethod<[ arg0: BytesLike ], [ [ bigint, string, DAVINCITypes.EncryptionKeyStructOutput, string, bigint, bigint, bigint, bigint, bigint, bigint, bigint, string, string, DAVINCITypes.BallotModeStructOutput, DAVINCITypes.CensusStructOutput, bigint, string, bigint, bigint, bigint, boolean, string, bigint, bigint ] & { status: bigint; organizationId: string; encryptionKey: DAVINCITypes.EncryptionKeyStructOutput; latestStateRoot: string; startTime: bigint; duration: bigint; maxVoters: bigint; votersCount: bigint; overwrittenVotesCount: bigint; creationBlock: bigint; batchNumber: bigint; metadataURI: string; metadataHash: string; ballotMode: DAVINCITypes.BallotModeStructOutput; census: DAVINCITypes.CensusStructOutput; keyMode: bigint; dkgEpochId: string; dkgFirstIndex: bigint; dkgCount: bigint; dkgZeroSkipped: bigint; dkgResultsRequested: boolean; dkgAid: string; grace: bigint; lastVoteAt: bigint; } ], "view">; getFunction(nameOrSignature: "requestResultsDecryption"): TypedContractMethod<[ processId: BytesLike, accumulator: BigNumberish[], siblings: BytesLike[] ], [ void ], "nonpayable">; getFunction(nameOrSignature: "resultsProgramVK"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "revealProcessKey"): TypedContractMethod<[ processId: BytesLike, sk: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "rootCVadcopFinal"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "setProcessCensus"): TypedContractMethod<[ processId: BytesLike, census: DAVINCITypes.CensusStruct ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setProcessDuration"): TypedContractMethod<[ processId: BytesLike, _duration: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setProcessGrace"): TypedContractMethod<[ processId: BytesLike, grace: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setProcessMaxVoters"): TypedContractMethod<[ processId: BytesLike, _maxVoters: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setProcessMetadata"): TypedContractMethod<[ processId: BytesLike, metadataURI: string, metadataHash: BytesLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setProcessResults"): TypedContractMethod<[ processId: BytesLike, publicValues: BytesLike, proofBytes: BytesLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setProcessStatus"): TypedContractMethod<[ processId: BytesLike, newStatus: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "submitStateTransition"): TypedContractMethod<[ processId: BytesLike, publicValues: BytesLike, proofBytes: BytesLike, commitments: BytesLike[], ys: BytesLike[], kzgProofs: BytesLike[] ], [ void ], "nonpayable">; getFunction(nameOrSignature: "submitStateTransitionL1"): TypedContractMethod<[ processId: BytesLike, publicValues: BytesLike, proofBytes: BytesLike, commitments: BytesLike[], ys: BytesLike[], kzgProofs: BytesLike[], l1: IL1BlobVerifier.L1BlobProofStruct ], [ void ], "nonpayable">; getFunction(nameOrSignature: "ziskVerifier"): TypedContractMethod<[], [string], "view">; getEvent(key: "CensusUpdated"): TypedContractEvent; getEvent(key: "ProcessCreated"): TypedContractEvent; getEvent(key: "ProcessDurationChanged"): TypedContractEvent; getEvent(key: "ProcessGraceChanged"): TypedContractEvent; getEvent(key: "ProcessMaxVotersChanged"): TypedContractEvent; getEvent(key: "ProcessMetadataUpdated"): TypedContractEvent; getEvent(key: "ProcessResultsSet"): TypedContractEvent; getEvent(key: "ProcessStateTransitioned"): TypedContractEvent; getEvent(key: "ProcessStateTransitionedL1"): TypedContractEvent; getEvent(key: "ProcessStatusChanged"): TypedContractEvent; getEvent(key: "ResultsDecryptionRequested"): TypedContractEvent; filters: { "CensusUpdated(bytes31,bytes32,string)": TypedContractEvent; CensusUpdated: TypedContractEvent; "ProcessCreated(bytes31,address)": TypedContractEvent; ProcessCreated: TypedContractEvent; "ProcessDurationChanged(bytes31,uint256)": TypedContractEvent; ProcessDurationChanged: TypedContractEvent; "ProcessGraceChanged(bytes31,uint32)": TypedContractEvent; ProcessGraceChanged: TypedContractEvent; "ProcessMaxVotersChanged(bytes31,uint256)": TypedContractEvent; ProcessMaxVotersChanged: TypedContractEvent; "ProcessMetadataUpdated(bytes31,string,bytes32)": TypedContractEvent; ProcessMetadataUpdated: TypedContractEvent; "ProcessResultsSet(bytes31,address,uint256[])": TypedContractEvent; ProcessResultsSet: TypedContractEvent; "ProcessStateTransitioned(bytes31,address,bytes32,bytes32,uint256,uint256,uint256)": TypedContractEvent; ProcessStateTransitioned: TypedContractEvent; "ProcessStateTransitionedL1(bytes31,uint256[],bytes32[])": TypedContractEvent; ProcessStateTransitionedL1: TypedContractEvent; "ProcessStatusChanged(bytes31,uint8,uint8)": TypedContractEvent; ProcessStatusChanged: TypedContractEvent; "ResultsDecryptionRequested(bytes31,bytes12,bytes32,uint16,uint8)": TypedContractEvent; ResultsDecryptionRequested: TypedContractEvent; }; }