UNPKG

randomness-js

Version:

A library for consuming, verifying and using randomness from the dcipher network

658 lines (657 loc) 34.5 kB
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 StdInvariant { type FuzzSelectorStruct = { addr: AddressLike; selectors: BytesLike[]; }; type FuzzSelectorStructOutput = [addr: string, selectors: string[]] & { addr: string; selectors: string[]; }; type FuzzArtifactSelectorStruct = { artifact: string; selectors: BytesLike[]; }; type FuzzArtifactSelectorStructOutput = [ artifact: string, selectors: string[] ] & { artifact: string; selectors: string[]; }; type FuzzInterfaceStruct = { addr: AddressLike; artifacts: string[]; }; type FuzzInterfaceStructOutput = [ addr: string, artifacts: string[] ] & { addr: string; artifacts: string[]; }; } export declare namespace BLS { type PointG1Struct = { x: BigNumberish; y: BigNumberish; }; type PointG1StructOutput = [x: bigint, y: bigint] & { x: bigint; y: bigint; }; } export interface BLSTestInterface extends Interface { getFunction(nameOrSignature: "IS_TEST" | "excludeArtifacts" | "excludeContracts" | "excludeSelectors" | "excludeSenders" | "failed" | "targetArtifactSelectors" | "targetArtifacts" | "targetContracts" | "targetInterfaces" | "targetSelectors" | "targetSenders" | "test__expandMsgTo96" | "test__hashToField" | "test__hashToPoint" | "test__isOnCurveG1" | "test__isOnCurveG2" | "test__isValidPublicKey" | "test__isValidSignature" | "test__mapToPoint" | "test__verifySingle"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "log" | "log_address" | "log_array(uint256[])" | "log_array(int256[])" | "log_array(address[])" | "log_bytes" | "log_bytes32" | "log_int" | "log_named_address" | "log_named_array(string,uint256[])" | "log_named_array(string,int256[])" | "log_named_array(string,address[])" | "log_named_bytes" | "log_named_bytes32" | "log_named_decimal_int" | "log_named_decimal_uint" | "log_named_int" | "log_named_string" | "log_named_uint" | "log_string" | "log_uint" | "logs"): EventFragment; encodeFunctionData(functionFragment: "IS_TEST", values?: undefined): string; encodeFunctionData(functionFragment: "excludeArtifacts", values?: undefined): string; encodeFunctionData(functionFragment: "excludeContracts", values?: undefined): string; encodeFunctionData(functionFragment: "excludeSelectors", values?: undefined): string; encodeFunctionData(functionFragment: "excludeSenders", values?: undefined): string; encodeFunctionData(functionFragment: "failed", values?: undefined): string; encodeFunctionData(functionFragment: "targetArtifactSelectors", values?: undefined): string; encodeFunctionData(functionFragment: "targetArtifacts", values?: undefined): string; encodeFunctionData(functionFragment: "targetContracts", values?: undefined): string; encodeFunctionData(functionFragment: "targetInterfaces", values?: undefined): string; encodeFunctionData(functionFragment: "targetSelectors", values?: undefined): string; encodeFunctionData(functionFragment: "targetSenders", values?: undefined): string; encodeFunctionData(functionFragment: "test__expandMsgTo96", values: [BytesLike, BytesLike]): string; encodeFunctionData(functionFragment: "test__hashToField", values: [BytesLike, BytesLike]): string; encodeFunctionData(functionFragment: "test__hashToPoint", values: [BytesLike, BytesLike]): string; encodeFunctionData(functionFragment: "test__isOnCurveG1", values: [[BigNumberish, BigNumberish]]): string; encodeFunctionData(functionFragment: "test__isOnCurveG2", values: [[BigNumberish, BigNumberish, BigNumberish, BigNumberish]]): string; encodeFunctionData(functionFragment: "test__isValidPublicKey", values: [[BigNumberish, BigNumberish, BigNumberish, BigNumberish]]): string; encodeFunctionData(functionFragment: "test__isValidSignature", values: [[BigNumberish, BigNumberish]]): string; encodeFunctionData(functionFragment: "test__mapToPoint", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "test__verifySingle", values: [ [ BigNumberish, BigNumberish ], [ BigNumberish, BigNumberish, BigNumberish, BigNumberish ], [ BigNumberish, BigNumberish ] ]): string; decodeFunctionResult(functionFragment: "IS_TEST", data: BytesLike): Result; decodeFunctionResult(functionFragment: "excludeArtifacts", data: BytesLike): Result; decodeFunctionResult(functionFragment: "excludeContracts", data: BytesLike): Result; decodeFunctionResult(functionFragment: "excludeSelectors", data: BytesLike): Result; decodeFunctionResult(functionFragment: "excludeSenders", data: BytesLike): Result; decodeFunctionResult(functionFragment: "failed", data: BytesLike): Result; decodeFunctionResult(functionFragment: "targetArtifactSelectors", data: BytesLike): Result; decodeFunctionResult(functionFragment: "targetArtifacts", data: BytesLike): Result; decodeFunctionResult(functionFragment: "targetContracts", data: BytesLike): Result; decodeFunctionResult(functionFragment: "targetInterfaces", data: BytesLike): Result; decodeFunctionResult(functionFragment: "targetSelectors", data: BytesLike): Result; decodeFunctionResult(functionFragment: "targetSenders", data: BytesLike): Result; decodeFunctionResult(functionFragment: "test__expandMsgTo96", data: BytesLike): Result; decodeFunctionResult(functionFragment: "test__hashToField", data: BytesLike): Result; decodeFunctionResult(functionFragment: "test__hashToPoint", data: BytesLike): Result; decodeFunctionResult(functionFragment: "test__isOnCurveG1", data: BytesLike): Result; decodeFunctionResult(functionFragment: "test__isOnCurveG2", data: BytesLike): Result; decodeFunctionResult(functionFragment: "test__isValidPublicKey", data: BytesLike): Result; decodeFunctionResult(functionFragment: "test__isValidSignature", data: BytesLike): Result; decodeFunctionResult(functionFragment: "test__mapToPoint", data: BytesLike): Result; decodeFunctionResult(functionFragment: "test__verifySingle", data: BytesLike): Result; } export declare namespace logEvent { type InputTuple = [arg0: string]; type OutputTuple = [arg0: string]; interface OutputObject { arg0: string; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_addressEvent { type InputTuple = [arg0: AddressLike]; type OutputTuple = [arg0: string]; interface OutputObject { arg0: string; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_array_uint256_array_Event { type InputTuple = [val: BigNumberish[]]; type OutputTuple = [val: bigint[]]; interface OutputObject { val: bigint[]; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_array_int256_array_Event { type InputTuple = [val: BigNumberish[]]; type OutputTuple = [val: bigint[]]; interface OutputObject { val: bigint[]; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_array_address_array_Event { type InputTuple = [val: AddressLike[]]; type OutputTuple = [val: string[]]; interface OutputObject { val: string[]; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_bytesEvent { type InputTuple = [arg0: BytesLike]; type OutputTuple = [arg0: string]; interface OutputObject { arg0: string; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_bytes32Event { type InputTuple = [arg0: BytesLike]; type OutputTuple = [arg0: string]; interface OutputObject { arg0: string; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_intEvent { type InputTuple = [arg0: BigNumberish]; type OutputTuple = [arg0: bigint]; interface OutputObject { arg0: bigint; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_named_addressEvent { type InputTuple = [key: string, val: AddressLike]; type OutputTuple = [key: string, val: string]; interface OutputObject { key: string; val: string; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_named_array_string_uint256_array_Event { type InputTuple = [key: string, val: BigNumberish[]]; type OutputTuple = [key: string, val: bigint[]]; interface OutputObject { key: string; val: bigint[]; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_named_array_string_int256_array_Event { type InputTuple = [key: string, val: BigNumberish[]]; type OutputTuple = [key: string, val: bigint[]]; interface OutputObject { key: string; val: bigint[]; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_named_array_string_address_array_Event { type InputTuple = [key: string, val: AddressLike[]]; type OutputTuple = [key: string, val: string[]]; interface OutputObject { key: string; val: string[]; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_named_bytesEvent { type InputTuple = [key: string, val: BytesLike]; type OutputTuple = [key: string, val: string]; interface OutputObject { key: string; val: string; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_named_bytes32Event { type InputTuple = [key: string, val: BytesLike]; type OutputTuple = [key: string, val: string]; interface OutputObject { key: string; val: string; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_named_decimal_intEvent { type InputTuple = [ key: string, val: BigNumberish, decimals: BigNumberish ]; type OutputTuple = [key: string, val: bigint, decimals: bigint]; interface OutputObject { key: string; val: bigint; decimals: bigint; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_named_decimal_uintEvent { type InputTuple = [ key: string, val: BigNumberish, decimals: BigNumberish ]; type OutputTuple = [key: string, val: bigint, decimals: bigint]; interface OutputObject { key: string; val: bigint; decimals: bigint; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_named_intEvent { type InputTuple = [key: string, val: BigNumberish]; type OutputTuple = [key: string, val: bigint]; interface OutputObject { key: string; val: bigint; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_named_stringEvent { type InputTuple = [key: string, val: string]; type OutputTuple = [key: string, val: string]; interface OutputObject { key: string; val: string; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_named_uintEvent { type InputTuple = [key: string, val: BigNumberish]; type OutputTuple = [key: string, val: bigint]; interface OutputObject { key: string; val: bigint; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_stringEvent { type InputTuple = [arg0: string]; type OutputTuple = [arg0: string]; interface OutputObject { arg0: string; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace log_uintEvent { type InputTuple = [arg0: BigNumberish]; type OutputTuple = [arg0: bigint]; interface OutputObject { arg0: bigint; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export declare namespace logsEvent { type InputTuple = [arg0: BytesLike]; type OutputTuple = [arg0: string]; interface OutputObject { arg0: string; } type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>; type Filter = TypedDeferredTopicFilter<Event>; type Log = TypedEventLog<Event>; type LogDescription = TypedLogDescription<Event>; } export interface BLSTest extends BaseContract { connect(runner?: ContractRunner | null): BLSTest; waitForDeployment(): Promise<this>; interface: BLSTestInterface; 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>; IS_TEST: TypedContractMethod<[], [boolean], "view">; excludeArtifacts: TypedContractMethod<[], [string[]], "view">; excludeContracts: TypedContractMethod<[], [string[]], "view">; excludeSelectors: TypedContractMethod<[ ], [ StdInvariant.FuzzSelectorStructOutput[] ], "view">; excludeSenders: TypedContractMethod<[], [string[]], "view">; failed: TypedContractMethod<[], [boolean], "view">; targetArtifactSelectors: TypedContractMethod<[ ], [ StdInvariant.FuzzArtifactSelectorStructOutput[] ], "view">; targetArtifacts: TypedContractMethod<[], [string[]], "view">; targetContracts: TypedContractMethod<[], [string[]], "view">; targetInterfaces: TypedContractMethod<[ ], [ StdInvariant.FuzzInterfaceStructOutput[] ], "view">; targetSelectors: TypedContractMethod<[ ], [ StdInvariant.FuzzSelectorStructOutput[] ], "view">; targetSenders: TypedContractMethod<[], [string[]], "view">; test__expandMsgTo96: TypedContractMethod<[ domain: BytesLike, message: BytesLike ], [ [string, bigint] & { expanded: string; gas: bigint; } ], "view">; test__hashToField: TypedContractMethod<[ domain: BytesLike, message: BytesLike ], [ [[bigint, bigint], bigint] & { p: [bigint, bigint]; gas: bigint; } ], "view">; test__hashToPoint: TypedContractMethod<[ domain: BytesLike, message: BytesLike ], [ [ BLS.PointG1StructOutput, bigint ] & { p: BLS.PointG1StructOutput; gas: bigint; } ], "view">; test__isOnCurveG1: TypedContractMethod<[ point: [BigNumberish, BigNumberish] ], [ [boolean, bigint] & { _isOnCurve: boolean; gas: bigint; } ], "view">; test__isOnCurveG2: TypedContractMethod<[ point: [BigNumberish, BigNumberish, BigNumberish, BigNumberish] ], [ [boolean, bigint] & { _isOnCurve: boolean; gas: bigint; } ], "view">; test__isValidPublicKey: TypedContractMethod<[ publicKey: [BigNumberish, BigNumberish, BigNumberish, BigNumberish] ], [ [boolean, bigint] & { isValid: boolean; gas: bigint; } ], "view">; test__isValidSignature: TypedContractMethod<[ signature: [BigNumberish, BigNumberish] ], [ [boolean, bigint] & { isValid: boolean; gas: bigint; } ], "view">; test__mapToPoint: TypedContractMethod<[ value: BigNumberish ], [ [[bigint, bigint], bigint] & { p: [bigint, bigint]; gas: bigint; } ], "view">; test__verifySingle: TypedContractMethod<[ signature: [BigNumberish, BigNumberish], pubkey: [BigNumberish, BigNumberish, BigNumberish, BigNumberish], message: [BigNumberish, BigNumberish] ], [ [ boolean, boolean, bigint ] & { pairingSuccess: boolean; callSuccess: boolean; gas: bigint; } ], "view">; getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T; getFunction(nameOrSignature: "IS_TEST"): TypedContractMethod<[], [boolean], "view">; getFunction(nameOrSignature: "excludeArtifacts"): TypedContractMethod<[], [string[]], "view">; getFunction(nameOrSignature: "excludeContracts"): TypedContractMethod<[], [string[]], "view">; getFunction(nameOrSignature: "excludeSelectors"): TypedContractMethod<[], [StdInvariant.FuzzSelectorStructOutput[]], "view">; getFunction(nameOrSignature: "excludeSenders"): TypedContractMethod<[], [string[]], "view">; getFunction(nameOrSignature: "failed"): TypedContractMethod<[], [boolean], "view">; getFunction(nameOrSignature: "targetArtifactSelectors"): TypedContractMethod<[ ], [ StdInvariant.FuzzArtifactSelectorStructOutput[] ], "view">; getFunction(nameOrSignature: "targetArtifacts"): TypedContractMethod<[], [string[]], "view">; getFunction(nameOrSignature: "targetContracts"): TypedContractMethod<[], [string[]], "view">; getFunction(nameOrSignature: "targetInterfaces"): TypedContractMethod<[ ], [ StdInvariant.FuzzInterfaceStructOutput[] ], "view">; getFunction(nameOrSignature: "targetSelectors"): TypedContractMethod<[], [StdInvariant.FuzzSelectorStructOutput[]], "view">; getFunction(nameOrSignature: "targetSenders"): TypedContractMethod<[], [string[]], "view">; getFunction(nameOrSignature: "test__expandMsgTo96"): TypedContractMethod<[ domain: BytesLike, message: BytesLike ], [ [string, bigint] & { expanded: string; gas: bigint; } ], "view">; getFunction(nameOrSignature: "test__hashToField"): TypedContractMethod<[ domain: BytesLike, message: BytesLike ], [ [[bigint, bigint], bigint] & { p: [bigint, bigint]; gas: bigint; } ], "view">; getFunction(nameOrSignature: "test__hashToPoint"): TypedContractMethod<[ domain: BytesLike, message: BytesLike ], [ [ BLS.PointG1StructOutput, bigint ] & { p: BLS.PointG1StructOutput; gas: bigint; } ], "view">; getFunction(nameOrSignature: "test__isOnCurveG1"): TypedContractMethod<[ point: [BigNumberish, BigNumberish] ], [ [boolean, bigint] & { _isOnCurve: boolean; gas: bigint; } ], "view">; getFunction(nameOrSignature: "test__isOnCurveG2"): TypedContractMethod<[ point: [BigNumberish, BigNumberish, BigNumberish, BigNumberish] ], [ [boolean, bigint] & { _isOnCurve: boolean; gas: bigint; } ], "view">; getFunction(nameOrSignature: "test__isValidPublicKey"): TypedContractMethod<[ publicKey: [BigNumberish, BigNumberish, BigNumberish, BigNumberish] ], [ [boolean, bigint] & { isValid: boolean; gas: bigint; } ], "view">; getFunction(nameOrSignature: "test__isValidSignature"): TypedContractMethod<[ signature: [BigNumberish, BigNumberish] ], [ [boolean, bigint] & { isValid: boolean; gas: bigint; } ], "view">; getFunction(nameOrSignature: "test__mapToPoint"): TypedContractMethod<[ value: BigNumberish ], [ [[bigint, bigint], bigint] & { p: [bigint, bigint]; gas: bigint; } ], "view">; getFunction(nameOrSignature: "test__verifySingle"): TypedContractMethod<[ signature: [BigNumberish, BigNumberish], pubkey: [BigNumberish, BigNumberish, BigNumberish, BigNumberish], message: [BigNumberish, BigNumberish] ], [ [ boolean, boolean, bigint ] & { pairingSuccess: boolean; callSuccess: boolean; gas: bigint; } ], "view">; getEvent(key: "log"): TypedContractEvent<logEvent.InputTuple, logEvent.OutputTuple, logEvent.OutputObject>; getEvent(key: "log_address"): TypedContractEvent<log_addressEvent.InputTuple, log_addressEvent.OutputTuple, log_addressEvent.OutputObject>; getEvent(key: "log_array(uint256[])"): TypedContractEvent<log_array_uint256_array_Event.InputTuple, log_array_uint256_array_Event.OutputTuple, log_array_uint256_array_Event.OutputObject>; getEvent(key: "log_array(int256[])"): TypedContractEvent<log_array_int256_array_Event.InputTuple, log_array_int256_array_Event.OutputTuple, log_array_int256_array_Event.OutputObject>; getEvent(key: "log_array(address[])"): TypedContractEvent<log_array_address_array_Event.InputTuple, log_array_address_array_Event.OutputTuple, log_array_address_array_Event.OutputObject>; getEvent(key: "log_bytes"): TypedContractEvent<log_bytesEvent.InputTuple, log_bytesEvent.OutputTuple, log_bytesEvent.OutputObject>; getEvent(key: "log_bytes32"): TypedContractEvent<log_bytes32Event.InputTuple, log_bytes32Event.OutputTuple, log_bytes32Event.OutputObject>; getEvent(key: "log_int"): TypedContractEvent<log_intEvent.InputTuple, log_intEvent.OutputTuple, log_intEvent.OutputObject>; getEvent(key: "log_named_address"): TypedContractEvent<log_named_addressEvent.InputTuple, log_named_addressEvent.OutputTuple, log_named_addressEvent.OutputObject>; getEvent(key: "log_named_array(string,uint256[])"): TypedContractEvent<log_named_array_string_uint256_array_Event.InputTuple, log_named_array_string_uint256_array_Event.OutputTuple, log_named_array_string_uint256_array_Event.OutputObject>; getEvent(key: "log_named_array(string,int256[])"): TypedContractEvent<log_named_array_string_int256_array_Event.InputTuple, log_named_array_string_int256_array_Event.OutputTuple, log_named_array_string_int256_array_Event.OutputObject>; getEvent(key: "log_named_array(string,address[])"): TypedContractEvent<log_named_array_string_address_array_Event.InputTuple, log_named_array_string_address_array_Event.OutputTuple, log_named_array_string_address_array_Event.OutputObject>; getEvent(key: "log_named_bytes"): TypedContractEvent<log_named_bytesEvent.InputTuple, log_named_bytesEvent.OutputTuple, log_named_bytesEvent.OutputObject>; getEvent(key: "log_named_bytes32"): TypedContractEvent<log_named_bytes32Event.InputTuple, log_named_bytes32Event.OutputTuple, log_named_bytes32Event.OutputObject>; getEvent(key: "log_named_decimal_int"): TypedContractEvent<log_named_decimal_intEvent.InputTuple, log_named_decimal_intEvent.OutputTuple, log_named_decimal_intEvent.OutputObject>; getEvent(key: "log_named_decimal_uint"): TypedContractEvent<log_named_decimal_uintEvent.InputTuple, log_named_decimal_uintEvent.OutputTuple, log_named_decimal_uintEvent.OutputObject>; getEvent(key: "log_named_int"): TypedContractEvent<log_named_intEvent.InputTuple, log_named_intEvent.OutputTuple, log_named_intEvent.OutputObject>; getEvent(key: "log_named_string"): TypedContractEvent<log_named_stringEvent.InputTuple, log_named_stringEvent.OutputTuple, log_named_stringEvent.OutputObject>; getEvent(key: "log_named_uint"): TypedContractEvent<log_named_uintEvent.InputTuple, log_named_uintEvent.OutputTuple, log_named_uintEvent.OutputObject>; getEvent(key: "log_string"): TypedContractEvent<log_stringEvent.InputTuple, log_stringEvent.OutputTuple, log_stringEvent.OutputObject>; getEvent(key: "log_uint"): TypedContractEvent<log_uintEvent.InputTuple, log_uintEvent.OutputTuple, log_uintEvent.OutputObject>; getEvent(key: "logs"): TypedContractEvent<logsEvent.InputTuple, logsEvent.OutputTuple, logsEvent.OutputObject>; filters: { "log(string)": TypedContractEvent<logEvent.InputTuple, logEvent.OutputTuple, logEvent.OutputObject>; log: TypedContractEvent<logEvent.InputTuple, logEvent.OutputTuple, logEvent.OutputObject>; "log_address(address)": TypedContractEvent<log_addressEvent.InputTuple, log_addressEvent.OutputTuple, log_addressEvent.OutputObject>; log_address: TypedContractEvent<log_addressEvent.InputTuple, log_addressEvent.OutputTuple, log_addressEvent.OutputObject>; "log_array(uint256[])": TypedContractEvent<log_array_uint256_array_Event.InputTuple, log_array_uint256_array_Event.OutputTuple, log_array_uint256_array_Event.OutputObject>; "log_array(int256[])": TypedContractEvent<log_array_int256_array_Event.InputTuple, log_array_int256_array_Event.OutputTuple, log_array_int256_array_Event.OutputObject>; "log_array(address[])": TypedContractEvent<log_array_address_array_Event.InputTuple, log_array_address_array_Event.OutputTuple, log_array_address_array_Event.OutputObject>; "log_bytes(bytes)": TypedContractEvent<log_bytesEvent.InputTuple, log_bytesEvent.OutputTuple, log_bytesEvent.OutputObject>; log_bytes: TypedContractEvent<log_bytesEvent.InputTuple, log_bytesEvent.OutputTuple, log_bytesEvent.OutputObject>; "log_bytes32(bytes32)": TypedContractEvent<log_bytes32Event.InputTuple, log_bytes32Event.OutputTuple, log_bytes32Event.OutputObject>; log_bytes32: TypedContractEvent<log_bytes32Event.InputTuple, log_bytes32Event.OutputTuple, log_bytes32Event.OutputObject>; "log_int(int256)": TypedContractEvent<log_intEvent.InputTuple, log_intEvent.OutputTuple, log_intEvent.OutputObject>; log_int: TypedContractEvent<log_intEvent.InputTuple, log_intEvent.OutputTuple, log_intEvent.OutputObject>; "log_named_address(string,address)": TypedContractEvent<log_named_addressEvent.InputTuple, log_named_addressEvent.OutputTuple, log_named_addressEvent.OutputObject>; log_named_address: TypedContractEvent<log_named_addressEvent.InputTuple, log_named_addressEvent.OutputTuple, log_named_addressEvent.OutputObject>; "log_named_array(string,uint256[])": TypedContractEvent<log_named_array_string_uint256_array_Event.InputTuple, log_named_array_string_uint256_array_Event.OutputTuple, log_named_array_string_uint256_array_Event.OutputObject>; "log_named_array(string,int256[])": TypedContractEvent<log_named_array_string_int256_array_Event.InputTuple, log_named_array_string_int256_array_Event.OutputTuple, log_named_array_string_int256_array_Event.OutputObject>; "log_named_array(string,address[])": TypedContractEvent<log_named_array_string_address_array_Event.InputTuple, log_named_array_string_address_array_Event.OutputTuple, log_named_array_string_address_array_Event.OutputObject>; "log_named_bytes(string,bytes)": TypedContractEvent<log_named_bytesEvent.InputTuple, log_named_bytesEvent.OutputTuple, log_named_bytesEvent.OutputObject>; log_named_bytes: TypedContractEvent<log_named_bytesEvent.InputTuple, log_named_bytesEvent.OutputTuple, log_named_bytesEvent.OutputObject>; "log_named_bytes32(string,bytes32)": TypedContractEvent<log_named_bytes32Event.InputTuple, log_named_bytes32Event.OutputTuple, log_named_bytes32Event.OutputObject>; log_named_bytes32: TypedContractEvent<log_named_bytes32Event.InputTuple, log_named_bytes32Event.OutputTuple, log_named_bytes32Event.OutputObject>; "log_named_decimal_int(string,int256,uint256)": TypedContractEvent<log_named_decimal_intEvent.InputTuple, log_named_decimal_intEvent.OutputTuple, log_named_decimal_intEvent.OutputObject>; log_named_decimal_int: TypedContractEvent<log_named_decimal_intEvent.InputTuple, log_named_decimal_intEvent.OutputTuple, log_named_decimal_intEvent.OutputObject>; "log_named_decimal_uint(string,uint256,uint256)": TypedContractEvent<log_named_decimal_uintEvent.InputTuple, log_named_decimal_uintEvent.OutputTuple, log_named_decimal_uintEvent.OutputObject>; log_named_decimal_uint: TypedContractEvent<log_named_decimal_uintEvent.InputTuple, log_named_decimal_uintEvent.OutputTuple, log_named_decimal_uintEvent.OutputObject>; "log_named_int(string,int256)": TypedContractEvent<log_named_intEvent.InputTuple, log_named_intEvent.OutputTuple, log_named_intEvent.OutputObject>; log_named_int: TypedContractEvent<log_named_intEvent.InputTuple, log_named_intEvent.OutputTuple, log_named_intEvent.OutputObject>; "log_named_string(string,string)": TypedContractEvent<log_named_stringEvent.InputTuple, log_named_stringEvent.OutputTuple, log_named_stringEvent.OutputObject>; log_named_string: TypedContractEvent<log_named_stringEvent.InputTuple, log_named_stringEvent.OutputTuple, log_named_stringEvent.OutputObject>; "log_named_uint(string,uint256)": TypedContractEvent<log_named_uintEvent.InputTuple, log_named_uintEvent.OutputTuple, log_named_uintEvent.OutputObject>; log_named_uint: TypedContractEvent<log_named_uintEvent.InputTuple, log_named_uintEvent.OutputTuple, log_named_uintEvent.OutputObject>; "log_string(string)": TypedContractEvent<log_stringEvent.InputTuple, log_stringEvent.OutputTuple, log_stringEvent.OutputObject>; log_string: TypedContractEvent<log_stringEvent.InputTuple, log_stringEvent.OutputTuple, log_stringEvent.OutputObject>; "log_uint(uint256)": TypedContractEvent<log_uintEvent.InputTuple, log_uintEvent.OutputTuple, log_uintEvent.OutputObject>; log_uint: TypedContractEvent<log_uintEvent.InputTuple, log_uintEvent.OutputTuple, log_uintEvent.OutputObject>; "logs(bytes)": TypedContractEvent<logsEvent.InputTuple, logsEvent.OutputTuple, logsEvent.OutputObject>; logs: TypedContractEvent<logsEvent.InputTuple, logsEvent.OutputTuple, logsEvent.OutputObject>; }; }