From 0fd82fe47299e143ced7255f30462feb7aa4d2ae Mon Sep 17 00:00:00 2001 From: Patrick McClurg Date: Mon, 4 Nov 2024 12:50:53 +0100 Subject: [PATCH] added missing sig scheme bit --- src/generated/BlocklockSignatureScheme.ts | 149 ++++++++++++++++++++++ 1 file changed, 149 insertions(+) create mode 100644 src/generated/BlocklockSignatureScheme.ts diff --git a/src/generated/BlocklockSignatureScheme.ts b/src/generated/BlocklockSignatureScheme.ts new file mode 100644 index 0000000..39107fa --- /dev/null +++ b/src/generated/BlocklockSignatureScheme.ts @@ -0,0 +1,149 @@ +/* Autogenerated file. Do not edit manually. */ +/* tslint:disable */ +/* eslint-disable */ +import type { + BaseContract, + BytesLike, + FunctionFragment, + Result, + Interface, + ContractRunner, + ContractMethod, + Listener, +} from "ethers"; +import type { + TypedContractEvent, + TypedDeferredTopicFilter, + TypedEventLog, + TypedListener, + TypedContractMethod, +} from "./common"; + +export interface BlocklockSignatureSchemeInterface extends Interface { + getFunction( + nameOrSignature: + | "DST" + | "SCHEME_ID" + | "hashToBytes" + | "hashToPoint" + | "verifySignature" + ): FunctionFragment; + + encodeFunctionData(functionFragment: "DST", values?: undefined): string; + encodeFunctionData(functionFragment: "SCHEME_ID", values?: undefined): string; + encodeFunctionData( + functionFragment: "hashToBytes", + values: [BytesLike] + ): string; + encodeFunctionData( + functionFragment: "hashToPoint", + values: [BytesLike] + ): string; + encodeFunctionData( + functionFragment: "verifySignature", + values: [BytesLike, BytesLike, BytesLike] + ): string; + + decodeFunctionResult(functionFragment: "DST", data: BytesLike): Result; + decodeFunctionResult(functionFragment: "SCHEME_ID", data: BytesLike): Result; + decodeFunctionResult( + functionFragment: "hashToBytes", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "hashToPoint", + data: BytesLike + ): Result; + decodeFunctionResult( + functionFragment: "verifySignature", + data: BytesLike + ): Result; +} + +export interface BlocklockSignatureScheme extends BaseContract { + connect(runner?: ContractRunner | null): BlocklockSignatureScheme; + waitForDeployment(): Promise; + + interface: BlocklockSignatureSchemeInterface; + + 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; + + DST: TypedContractMethod<[], [string], "view">; + + SCHEME_ID: TypedContractMethod<[], [string], "view">; + + hashToBytes: TypedContractMethod<[message: BytesLike], [string], "view">; + + hashToPoint: TypedContractMethod< + [message: BytesLike], + [[bigint, bigint]], + "view" + >; + + verifySignature: TypedContractMethod< + [message: BytesLike, signature: BytesLike, publicKey: BytesLike], + [boolean], + "view" + >; + + getFunction( + key: string | FunctionFragment + ): T; + + getFunction( + nameOrSignature: "DST" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "SCHEME_ID" + ): TypedContractMethod<[], [string], "view">; + getFunction( + nameOrSignature: "hashToBytes" + ): TypedContractMethod<[message: BytesLike], [string], "view">; + getFunction( + nameOrSignature: "hashToPoint" + ): TypedContractMethod<[message: BytesLike], [[bigint, bigint]], "view">; + getFunction( + nameOrSignature: "verifySignature" + ): TypedContractMethod< + [message: BytesLike, signature: BytesLike, publicKey: BytesLike], + [boolean], + "view" + >; + + filters: {}; +}