import type { BaseContract, BigNumber, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi"; import type { Listener, Provider } from "@ethersproject/providers"; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../../common"; export interface IDelegatedAccessControlInterface extends utils.Interface { functions: { "checkRole(address,string,address)": FunctionFragment; "getRoleAdmin(address,string)": FunctionFragment; "grantRole(address,string,address)": FunctionFragment; "hasRole(address,string,address)": FunctionFragment; "renounceRole(address,string,address)": FunctionFragment; "revokeRole(address,string,address)": FunctionFragment; }; getFunction(nameOrSignatureOrTopic: "checkRole" | "getRoleAdmin" | "grantRole" | "hasRole" | "renounceRole" | "revokeRole"): FunctionFragment; encodeFunctionData(functionFragment: "checkRole", values: [string, string, string]): string; encodeFunctionData(functionFragment: "getRoleAdmin", values: [string, string]): string; encodeFunctionData(functionFragment: "grantRole", values: [string, string, string]): string; encodeFunctionData(functionFragment: "hasRole", values: [string, string, string]): string; encodeFunctionData(functionFragment: "renounceRole", values: [string, string, string]): string; encodeFunctionData(functionFragment: "revokeRole", values: [string, string, string]): string; decodeFunctionResult(functionFragment: "checkRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result; decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result; events: { "RoleAdminChanged(address,string,string,string)": EventFragment; "RoleGranted(address,string,address,address)": EventFragment; "RoleRevoked(address,string,address,address)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment; getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment; getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment; } export interface RoleAdminChangedEventObject { delegate: string; role: string; previousAdminRole: string; newAdminRole: string; } export declare type RoleAdminChangedEvent = TypedEvent<[ string, string, string, string ], RoleAdminChangedEventObject>; export declare type RoleAdminChangedEventFilter = TypedEventFilter; export interface RoleGrantedEventObject { delegate: string; role: string; account: string; sender: string; } export declare type RoleGrantedEvent = TypedEvent<[ string, string, string, string ], RoleGrantedEventObject>; export declare type RoleGrantedEventFilter = TypedEventFilter; export interface RoleRevokedEventObject { delegate: string; role: string; account: string; sender: string; } export declare type RoleRevokedEvent = TypedEvent<[ string, string, string, string ], RoleRevokedEventObject>; export declare type RoleRevokedEventFilter = TypedEventFilter; export interface IDelegatedAccessControl extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: IDelegatedAccessControlInterface; 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: { checkRole(delegate: string, role: string, account: string, overrides?: CallOverrides): Promise<[void]>; getRoleAdmin(delegate: string, role: string, overrides?: CallOverrides): Promise<[string]>; grantRole(delegate: string, role: string, account: string, overrides?: Overrides & { from?: string | Promise; }): Promise; hasRole(delegate: string, role: string, account: string, overrides?: CallOverrides): Promise<[boolean]>; renounceRole(delegate: string, role: string, account: string, overrides?: Overrides & { from?: string | Promise; }): Promise; revokeRole(delegate: string, role: string, account: string, overrides?: Overrides & { from?: string | Promise; }): Promise; }; checkRole(delegate: string, role: string, account: string, overrides?: CallOverrides): Promise; getRoleAdmin(delegate: string, role: string, overrides?: CallOverrides): Promise; grantRole(delegate: string, role: string, account: string, overrides?: Overrides & { from?: string | Promise; }): Promise; hasRole(delegate: string, role: string, account: string, overrides?: CallOverrides): Promise; renounceRole(delegate: string, role: string, account: string, overrides?: Overrides & { from?: string | Promise; }): Promise; revokeRole(delegate: string, role: string, account: string, overrides?: Overrides & { from?: string | Promise; }): Promise; callStatic: { checkRole(delegate: string, role: string, account: string, overrides?: CallOverrides): Promise; getRoleAdmin(delegate: string, role: string, overrides?: CallOverrides): Promise; grantRole(delegate: string, role: string, account: string, overrides?: CallOverrides): Promise; hasRole(delegate: string, role: string, account: string, overrides?: CallOverrides): Promise; renounceRole(delegate: string, role: string, account: string, overrides?: CallOverrides): Promise; revokeRole(delegate: string, role: string, account: string, overrides?: CallOverrides): Promise; }; filters: { "RoleAdminChanged(address,string,string,string)"(delegate?: string | null, role?: string | null, previousAdminRole?: null, newAdminRole?: string | null): RoleAdminChangedEventFilter; RoleAdminChanged(delegate?: string | null, role?: string | null, previousAdminRole?: null, newAdminRole?: string | null): RoleAdminChangedEventFilter; "RoleGranted(address,string,address,address)"(delegate?: string | null, role?: string | null, account?: string | null, sender?: null): RoleGrantedEventFilter; RoleGranted(delegate?: string | null, role?: string | null, account?: string | null, sender?: null): RoleGrantedEventFilter; "RoleRevoked(address,string,address,address)"(delegate?: string | null, role?: string | null, account?: string | null, sender?: null): RoleRevokedEventFilter; RoleRevoked(delegate?: string | null, role?: string | null, account?: string | null, sender?: null): RoleRevokedEventFilter; }; estimateGas: { checkRole(delegate: string, role: string, account: string, overrides?: CallOverrides): Promise; getRoleAdmin(delegate: string, role: string, overrides?: CallOverrides): Promise; grantRole(delegate: string, role: string, account: string, overrides?: Overrides & { from?: string | Promise; }): Promise; hasRole(delegate: string, role: string, account: string, overrides?: CallOverrides): Promise; renounceRole(delegate: string, role: string, account: string, overrides?: Overrides & { from?: string | Promise; }): Promise; revokeRole(delegate: string, role: string, account: string, overrides?: Overrides & { from?: string | Promise; }): Promise; }; populateTransaction: { checkRole(delegate: string, role: string, account: string, overrides?: CallOverrides): Promise; getRoleAdmin(delegate: string, role: string, overrides?: CallOverrides): Promise; grantRole(delegate: string, role: string, account: string, overrides?: Overrides & { from?: string | Promise; }): Promise; hasRole(delegate: string, role: string, account: string, overrides?: CallOverrides): Promise; renounceRole(delegate: string, role: string, account: string, overrides?: Overrides & { from?: string | Promise; }): Promise; revokeRole(delegate: string, role: string, account: string, overrides?: Overrides & { from?: string | Promise; }): Promise; }; } //# sourceMappingURL=IDelegatedAccessControl.d.ts.map