/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, PayableOverrides, PopulatedTransaction, Signer, utils, } from "ethers"; import type { FunctionFragment, Result } from "@ethersproject/abi"; import type { Listener, Provider } from "@ethersproject/providers"; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue, } from "../common"; export type TablelandPolicyStruct = { allowInsert: PromiseOrValue; allowUpdate: PromiseOrValue; allowDelete: PromiseOrValue; whereClause: PromiseOrValue; withCheck: PromiseOrValue; updatableColumns: PromiseOrValue[]; }; export type TablelandPolicyStructOutput = [ boolean, boolean, boolean, string, string, string[] ] & { allowInsert: boolean; allowUpdate: boolean; allowDelete: boolean; whereClause: string; withCheck: string; updatableColumns: string[]; }; export interface TablelandControllerInterface extends utils.Interface { functions: { "getPolicy(address)": FunctionFragment; "getPolicy(address,uint256)": FunctionFragment; }; getFunction( nameOrSignatureOrTopic: "getPolicy(address)" | "getPolicy(address,uint256)" ): FunctionFragment; encodeFunctionData( functionFragment: "getPolicy(address)", values: [PromiseOrValue] ): string; encodeFunctionData( functionFragment: "getPolicy(address,uint256)", values: [PromiseOrValue, PromiseOrValue] ): string; decodeFunctionResult( functionFragment: "getPolicy(address)", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getPolicy(address,uint256)", data: BytesLike ): Result; events: {}; } export interface TablelandController extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: TablelandControllerInterface; queryFilter( event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>; listeners( eventFilter?: TypedEventFilter ): Array>; listeners(eventName?: string): Array; removeAllListeners( eventFilter: TypedEventFilter ): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; once: OnEvent; removeListener: OnEvent; functions: { "getPolicy(address)"( arg0: PromiseOrValue, overrides?: PayableOverrides & { from?: PromiseOrValue } ): Promise; "getPolicy(address,uint256)"( arg0: PromiseOrValue, arg1: PromiseOrValue, overrides?: PayableOverrides & { from?: PromiseOrValue } ): Promise; }; "getPolicy(address)"( arg0: PromiseOrValue, overrides?: PayableOverrides & { from?: PromiseOrValue } ): Promise; "getPolicy(address,uint256)"( arg0: PromiseOrValue, arg1: PromiseOrValue, overrides?: PayableOverrides & { from?: PromiseOrValue } ): Promise; callStatic: { "getPolicy(address)"( arg0: PromiseOrValue, overrides?: CallOverrides ): Promise; "getPolicy(address,uint256)"( arg0: PromiseOrValue, arg1: PromiseOrValue, overrides?: CallOverrides ): Promise; }; filters: {}; estimateGas: { "getPolicy(address)"( arg0: PromiseOrValue, overrides?: PayableOverrides & { from?: PromiseOrValue } ): Promise; "getPolicy(address,uint256)"( arg0: PromiseOrValue, arg1: PromiseOrValue, overrides?: PayableOverrides & { from?: PromiseOrValue } ): Promise; }; populateTransaction: { "getPolicy(address)"( arg0: PromiseOrValue, overrides?: PayableOverrides & { from?: PromiseOrValue } ): Promise; "getPolicy(address,uint256)"( arg0: PromiseOrValue, arg1: PromiseOrValue, overrides?: PayableOverrides & { from?: PromiseOrValue } ): Promise; }; }