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 IKasuControllerAbiInterface extends utils.Interface { functions: { "checkIsAdminOrVaultAdmin(address,address)": FunctionFragment; "getRoleAdmin(bytes32)": FunctionFragment; "grantLendingPoolRole(address,bytes32,address)": FunctionFragment; "grantRole(bytes32,address)": FunctionFragment; "hasLendingPoolRole(address,bytes32,address)": FunctionFragment; "hasRole(bytes32,address)": FunctionFragment; "pause()": FunctionFragment; "paused()": FunctionFragment; "renounceRole(bytes32,address)": FunctionFragment; "requireNotPaused()": FunctionFragment; "requirePaused()": FunctionFragment; "revokeLendingPoolRole(address,bytes32,address)": FunctionFragment; "revokeRole(bytes32,address)": FunctionFragment; "unpause()": FunctionFragment; }; getFunction(nameOrSignatureOrTopic: "checkIsAdminOrVaultAdmin" | "getRoleAdmin" | "grantLendingPoolRole" | "grantRole" | "hasLendingPoolRole" | "hasRole" | "pause" | "paused" | "renounceRole" | "requireNotPaused" | "requirePaused" | "revokeLendingPoolRole" | "revokeRole" | "unpause"): FunctionFragment; encodeFunctionData(functionFragment: "checkIsAdminOrVaultAdmin", values: [string, string]): string; encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string; encodeFunctionData(functionFragment: "grantLendingPoolRole", values: [string, BytesLike, string]): string; encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, string]): string; encodeFunctionData(functionFragment: "hasLendingPoolRole", values: [string, BytesLike, string]): string; encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, string]): string; encodeFunctionData(functionFragment: "pause", values?: undefined): string; encodeFunctionData(functionFragment: "paused", values?: undefined): string; encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, string]): string; encodeFunctionData(functionFragment: "requireNotPaused", values?: undefined): string; encodeFunctionData(functionFragment: "requirePaused", values?: undefined): string; encodeFunctionData(functionFragment: "revokeLendingPoolRole", values: [string, BytesLike, string]): string; encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, string]): string; encodeFunctionData(functionFragment: "unpause", values?: undefined): string; decodeFunctionResult(functionFragment: "checkIsAdminOrVaultAdmin", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result; decodeFunctionResult(functionFragment: "grantLendingPoolRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "hasLendingPoolRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result; decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result; decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "requireNotPaused", data: BytesLike): Result; decodeFunctionResult(functionFragment: "requirePaused", data: BytesLike): Result; decodeFunctionResult(functionFragment: "revokeLendingPoolRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result; events: { "LendingPoolOwnershipGranted(address,address)": EventFragment; "LendingPoolRoleGranted(address,bytes32,address)": EventFragment; "LendingPoolRoleRenounced(address,bytes32,address)": EventFragment; "LendingPoolRoleRevoked(address,bytes32,address)": EventFragment; "RoleAdminChanged(bytes32,bytes32,bytes32)": EventFragment; "RoleGranted(bytes32,address,address)": EventFragment; "RoleRevoked(bytes32,address,address)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "LendingPoolOwnershipGranted"): EventFragment; getEvent(nameOrSignatureOrTopic: "LendingPoolRoleGranted"): EventFragment; getEvent(nameOrSignatureOrTopic: "LendingPoolRoleRenounced"): EventFragment; getEvent(nameOrSignatureOrTopic: "LendingPoolRoleRevoked"): EventFragment; getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment; getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment; getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment; } export interface LendingPoolOwnershipGrantedEventObject { lendingPool: string; address_: string; } export type LendingPoolOwnershipGrantedEvent = TypedEvent<[ string, string ], LendingPoolOwnershipGrantedEventObject>; export type LendingPoolOwnershipGrantedEventFilter = TypedEventFilter; export interface LendingPoolRoleGrantedEventObject { lendingPool: string; role: string; account: string; } export type LendingPoolRoleGrantedEvent = TypedEvent<[ string, string, string ], LendingPoolRoleGrantedEventObject>; export type LendingPoolRoleGrantedEventFilter = TypedEventFilter; export interface LendingPoolRoleRenouncedEventObject { lendingPool: string; role: string; account: string; } export type LendingPoolRoleRenouncedEvent = TypedEvent<[ string, string, string ], LendingPoolRoleRenouncedEventObject>; export type LendingPoolRoleRenouncedEventFilter = TypedEventFilter; export interface LendingPoolRoleRevokedEventObject { lendingPool: string; role: string; account: string; } export type LendingPoolRoleRevokedEvent = TypedEvent<[ string, string, string ], LendingPoolRoleRevokedEventObject>; export type LendingPoolRoleRevokedEventFilter = TypedEventFilter; export interface RoleAdminChangedEventObject { role: string; previousAdminRole: string; newAdminRole: string; } export type RoleAdminChangedEvent = TypedEvent<[ string, string, string ], RoleAdminChangedEventObject>; export type RoleAdminChangedEventFilter = TypedEventFilter; export interface RoleGrantedEventObject { role: string; account: string; sender: string; } export type RoleGrantedEvent = TypedEvent<[ string, string, string ], RoleGrantedEventObject>; export type RoleGrantedEventFilter = TypedEventFilter; export interface RoleRevokedEventObject { role: string; account: string; sender: string; } export type RoleRevokedEvent = TypedEvent<[ string, string, string ], RoleRevokedEventObject>; export type RoleRevokedEventFilter = TypedEventFilter; export interface IKasuControllerAbi extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: IKasuControllerAbiInterface; 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: { checkIsAdminOrVaultAdmin(lendingPool: string, account: string, overrides?: CallOverrides): Promise<[void]>; getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<[string]>; grantLendingPoolRole(lendingPool: string, role: BytesLike, account: string, overrides?: Overrides & { from?: string; }): Promise; grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string; }): Promise; hasLendingPoolRole(lendingPool: string, role: BytesLike, account: string, overrides?: CallOverrides): Promise<[boolean] & { hasRole: boolean; }>; hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<[boolean]>; pause(overrides?: Overrides & { from?: string; }): Promise; paused(overrides?: CallOverrides): Promise<[boolean]>; renounceRole(role: BytesLike, callerConfirmation: string, overrides?: Overrides & { from?: string; }): Promise; requireNotPaused(overrides?: CallOverrides): Promise<[void]>; requirePaused(overrides?: CallOverrides): Promise<[void]>; revokeLendingPoolRole(lendingPool: string, role: BytesLike, account: string, overrides?: Overrides & { from?: string; }): Promise; revokeRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string; }): Promise; unpause(overrides?: Overrides & { from?: string; }): Promise; }; checkIsAdminOrVaultAdmin(lendingPool: string, account: string, overrides?: CallOverrides): Promise; getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise; grantLendingPoolRole(lendingPool: string, role: BytesLike, account: string, overrides?: Overrides & { from?: string; }): Promise; grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string; }): Promise; hasLendingPoolRole(lendingPool: string, role: BytesLike, account: string, overrides?: CallOverrides): Promise; hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise; pause(overrides?: Overrides & { from?: string; }): Promise; paused(overrides?: CallOverrides): Promise; renounceRole(role: BytesLike, callerConfirmation: string, overrides?: Overrides & { from?: string; }): Promise; requireNotPaused(overrides?: CallOverrides): Promise; requirePaused(overrides?: CallOverrides): Promise; revokeLendingPoolRole(lendingPool: string, role: BytesLike, account: string, overrides?: Overrides & { from?: string; }): Promise; revokeRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string; }): Promise; unpause(overrides?: Overrides & { from?: string; }): Promise; callStatic: { checkIsAdminOrVaultAdmin(lendingPool: string, account: string, overrides?: CallOverrides): Promise; getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise; grantLendingPoolRole(lendingPool: string, role: BytesLike, account: string, overrides?: CallOverrides): Promise; grantRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise; hasLendingPoolRole(lendingPool: string, role: BytesLike, account: string, overrides?: CallOverrides): Promise; hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise; pause(overrides?: CallOverrides): Promise; paused(overrides?: CallOverrides): Promise; renounceRole(role: BytesLike, callerConfirmation: string, overrides?: CallOverrides): Promise; requireNotPaused(overrides?: CallOverrides): Promise; requirePaused(overrides?: CallOverrides): Promise; revokeLendingPoolRole(lendingPool: string, role: BytesLike, account: string, overrides?: CallOverrides): Promise; revokeRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise; unpause(overrides?: CallOverrides): Promise; }; filters: { "LendingPoolOwnershipGranted(address,address)"(lendingPool?: string | null, address_?: string | null): LendingPoolOwnershipGrantedEventFilter; LendingPoolOwnershipGranted(lendingPool?: string | null, address_?: string | null): LendingPoolOwnershipGrantedEventFilter; "LendingPoolRoleGranted(address,bytes32,address)"(lendingPool?: string | null, role?: BytesLike | null, account?: string | null): LendingPoolRoleGrantedEventFilter; LendingPoolRoleGranted(lendingPool?: string | null, role?: BytesLike | null, account?: string | null): LendingPoolRoleGrantedEventFilter; "LendingPoolRoleRenounced(address,bytes32,address)"(lendingPool?: string | null, role?: BytesLike | null, account?: string | null): LendingPoolRoleRenouncedEventFilter; LendingPoolRoleRenounced(lendingPool?: string | null, role?: BytesLike | null, account?: string | null): LendingPoolRoleRenouncedEventFilter; "LendingPoolRoleRevoked(address,bytes32,address)"(lendingPool?: string | null, role?: BytesLike | null, account?: string | null): LendingPoolRoleRevokedEventFilter; LendingPoolRoleRevoked(lendingPool?: string | null, role?: BytesLike | null, account?: string | null): LendingPoolRoleRevokedEventFilter; "RoleAdminChanged(bytes32,bytes32,bytes32)"(role?: BytesLike | null, previousAdminRole?: BytesLike | null, newAdminRole?: BytesLike | null): RoleAdminChangedEventFilter; RoleAdminChanged(role?: BytesLike | null, previousAdminRole?: BytesLike | null, newAdminRole?: BytesLike | null): RoleAdminChangedEventFilter; "RoleGranted(bytes32,address,address)"(role?: BytesLike | null, account?: string | null, sender?: string | null): RoleGrantedEventFilter; RoleGranted(role?: BytesLike | null, account?: string | null, sender?: string | null): RoleGrantedEventFilter; "RoleRevoked(bytes32,address,address)"(role?: BytesLike | null, account?: string | null, sender?: string | null): RoleRevokedEventFilter; RoleRevoked(role?: BytesLike | null, account?: string | null, sender?: string | null): RoleRevokedEventFilter; }; estimateGas: { checkIsAdminOrVaultAdmin(lendingPool: string, account: string, overrides?: CallOverrides): Promise; getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise; grantLendingPoolRole(lendingPool: string, role: BytesLike, account: string, overrides?: Overrides & { from?: string; }): Promise; grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string; }): Promise; hasLendingPoolRole(lendingPool: string, role: BytesLike, account: string, overrides?: CallOverrides): Promise; hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise; pause(overrides?: Overrides & { from?: string; }): Promise; paused(overrides?: CallOverrides): Promise; renounceRole(role: BytesLike, callerConfirmation: string, overrides?: Overrides & { from?: string; }): Promise; requireNotPaused(overrides?: CallOverrides): Promise; requirePaused(overrides?: CallOverrides): Promise; revokeLendingPoolRole(lendingPool: string, role: BytesLike, account: string, overrides?: Overrides & { from?: string; }): Promise; revokeRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string; }): Promise; unpause(overrides?: Overrides & { from?: string; }): Promise; }; populateTransaction: { checkIsAdminOrVaultAdmin(lendingPool: string, account: string, overrides?: CallOverrides): Promise; getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise; grantLendingPoolRole(lendingPool: string, role: BytesLike, account: string, overrides?: Overrides & { from?: string; }): Promise; grantRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string; }): Promise; hasLendingPoolRole(lendingPool: string, role: BytesLike, account: string, overrides?: CallOverrides): Promise; hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise; pause(overrides?: Overrides & { from?: string; }): Promise; paused(overrides?: CallOverrides): Promise; renounceRole(role: BytesLike, callerConfirmation: string, overrides?: Overrides & { from?: string; }): Promise; requireNotPaused(overrides?: CallOverrides): Promise; requirePaused(overrides?: CallOverrides): Promise; revokeLendingPoolRole(lendingPool: string, role: BytesLike, account: string, overrides?: Overrides & { from?: string; }): Promise; revokeRole(role: BytesLike, account: string, overrides?: Overrides & { from?: string; }): Promise; unpause(overrides?: Overrides & { from?: string; }): Promise; }; }