/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod, } from "../common"; export type TablelandPolicyStruct = { allowInsert: boolean; allowUpdate: boolean; allowDelete: boolean; whereClause: string; withCheck: string; updatableColumns: string[]; }; export type TablelandPolicyStructOutput = [ allowInsert: boolean, allowUpdate: boolean, allowDelete: boolean, whereClause: string, withCheck: string, updatableColumns: string[] ] & { allowInsert: boolean; allowUpdate: boolean; allowDelete: boolean; whereClause: string; withCheck: string; updatableColumns: string[]; }; export interface TablelandControllerInterface extends Interface { getFunction( nameOrSignature: "getPolicy(address)" | "getPolicy(address,uint256)" ): FunctionFragment; encodeFunctionData( functionFragment: "getPolicy(address)", values: [AddressLike] ): string; encodeFunctionData( functionFragment: "getPolicy(address,uint256)", values: [AddressLike, BigNumberish] ): string; decodeFunctionResult( functionFragment: "getPolicy(address)", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getPolicy(address,uint256)", data: BytesLike ): Result; } export interface TablelandController extends BaseContract { connect(runner?: ContractRunner | null): TablelandController; waitForDeployment(): Promise; interface: TablelandControllerInterface; 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; "getPolicy(address)": TypedContractMethod< [arg0: AddressLike], [TablelandPolicyStructOutput], "payable" >; "getPolicy(address,uint256)": TypedContractMethod< [arg0: AddressLike, arg1: BigNumberish], [TablelandPolicyStructOutput], "payable" >; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "getPolicy(address)" ): TypedContractMethod< [arg0: AddressLike], [TablelandPolicyStructOutput], "payable" >; getFunction( nameOrSignature: "getPolicy(address,uint256)" ): TypedContractMethod< [arg0: AddressLike, arg1: BigNumberish], [TablelandPolicyStructOutput], "payable" >; filters: {}; }