Skip to content

Commit

Permalink
added missing sig scheme bit
Browse files Browse the repository at this point in the history
  • Loading branch information
CluEleSsUK committed Nov 4, 2024
1 parent d0a99f6 commit 0fd82fe
Showing 1 changed file with 149 additions and 0 deletions.
149 changes: 149 additions & 0 deletions src/generated/BlocklockSignatureScheme.ts
Original file line number Diff line number Diff line change
@@ -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<this>;

interface: BlocklockSignatureSchemeInterface;

queryFilter<TCEvent extends TypedContractEvent>(
event: TCEvent,
fromBlockOrBlockhash?: string | number | undefined,
toBlock?: string | number | undefined
): Promise<Array<TypedEventLog<TCEvent>>>;
queryFilter<TCEvent extends TypedContractEvent>(
filter: TypedDeferredTopicFilter<TCEvent>,
fromBlockOrBlockhash?: string | number | undefined,
toBlock?: string | number | undefined
): Promise<Array<TypedEventLog<TCEvent>>>;

on<TCEvent extends TypedContractEvent>(
event: TCEvent,
listener: TypedListener<TCEvent>
): Promise<this>;
on<TCEvent extends TypedContractEvent>(
filter: TypedDeferredTopicFilter<TCEvent>,
listener: TypedListener<TCEvent>
): Promise<this>;

once<TCEvent extends TypedContractEvent>(
event: TCEvent,
listener: TypedListener<TCEvent>
): Promise<this>;
once<TCEvent extends TypedContractEvent>(
filter: TypedDeferredTopicFilter<TCEvent>,
listener: TypedListener<TCEvent>
): Promise<this>;

listeners<TCEvent extends TypedContractEvent>(
event: TCEvent
): Promise<Array<TypedListener<TCEvent>>>;
listeners(eventName?: string): Promise<Array<Listener>>;
removeAllListeners<TCEvent extends TypedContractEvent>(
event?: TCEvent
): Promise<this>;

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<T extends ContractMethod = ContractMethod>(
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: {};
}

0 comments on commit 0fd82fe

Please sign in to comment.