import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../common"; export interface DynamicPriceRegistryInterface extends Interface { getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "REGISTER_TOKEN_ROLE" | "UNREGISTER_TOKEN_ROLE" | "getRoleAdmin" | "getTokenCount" | "getTokens" | "grantRole" | "hasRole" | "isTokenRegistered" | "isTokenRegisteredBatch" | "registerToken" | "registry" | "renounceRole" | "revokeRole" | "supportsInterface" | "unregisterToken"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "DynamicTokenRegistrationUpdated" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked"): EventFragment; encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string; encodeFunctionData(functionFragment: "REGISTER_TOKEN_ROLE", values?: undefined): string; encodeFunctionData(functionFragment: "UNREGISTER_TOKEN_ROLE", values?: undefined): string; encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string; encodeFunctionData(functionFragment: "getTokenCount", values?: undefined): string; encodeFunctionData(functionFragment: "getTokens", values?: undefined): string; encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, AddressLike]): string; encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, AddressLike]): string; encodeFunctionData(functionFragment: "isTokenRegistered", values: [AddressLike]): string; encodeFunctionData(functionFragment: "isTokenRegisteredBatch", values: [AddressLike[]]): string; encodeFunctionData(functionFragment: "registerToken", values: [AddressLike]): string; encodeFunctionData(functionFragment: "registry", values?: undefined): string; encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, AddressLike]): string; encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, AddressLike]): string; encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string; encodeFunctionData(functionFragment: "unregisterToken", values: [AddressLike]): string; decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result; decodeFunctionResult(functionFragment: "REGISTER_TOKEN_ROLE", data: BytesLike): Result; decodeFunctionResult(functionFragment: "UNREGISTER_TOKEN_ROLE", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getTokenCount", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getTokens", data: BytesLike): Result; decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isTokenRegistered", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isTokenRegisteredBatch", data: BytesLike): Result; decodeFunctionResult(functionFragment: "registerToken", data: BytesLike): Result; decodeFunctionResult(functionFragment: "registry", data: BytesLike): Result; decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result; decodeFunctionResult(functionFragment: "unregisterToken", data: BytesLike): Result; } export declare namespace DynamicTokenRegistrationUpdatedEvent { type InputTuple = [token: AddressLike, registered: boolean]; type OutputTuple = [token: string, registered: boolean]; interface OutputObject { token: string; registered: boolean; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace RoleAdminChangedEvent { type InputTuple = [ role: BytesLike, previousAdminRole: BytesLike, newAdminRole: BytesLike ]; type OutputTuple = [ role: string, previousAdminRole: string, newAdminRole: string ]; interface OutputObject { role: string; previousAdminRole: string; newAdminRole: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace RoleGrantedEvent { type InputTuple = [ role: BytesLike, account: AddressLike, sender: AddressLike ]; type OutputTuple = [role: string, account: string, sender: string]; interface OutputObject { role: string; account: string; sender: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace RoleRevokedEvent { type InputTuple = [ role: BytesLike, account: AddressLike, sender: AddressLike ]; type OutputTuple = [role: string, account: string, sender: string]; interface OutputObject { role: string; account: string; sender: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface DynamicPriceRegistry extends BaseContract { connect(runner?: ContractRunner | null): DynamicPriceRegistry; waitForDeployment(): Promise; interface: DynamicPriceRegistryInterface; 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; DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">; REGISTER_TOKEN_ROLE: TypedContractMethod<[], [string], "view">; UNREGISTER_TOKEN_ROLE: TypedContractMethod<[], [string], "view">; getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">; getTokenCount: TypedContractMethod<[], [bigint], "view">; getTokens: TypedContractMethod<[], [string[]], "view">; grantRole: TypedContractMethod<[ role: BytesLike, account: AddressLike ], [ void ], "nonpayable">; hasRole: TypedContractMethod<[ role: BytesLike, account: AddressLike ], [ boolean ], "view">; isTokenRegistered: TypedContractMethod<[ _token: AddressLike ], [ boolean ], "view">; isTokenRegisteredBatch: TypedContractMethod<[ _tokens: AddressLike[] ], [ boolean ], "view">; registerToken: TypedContractMethod<[ _token: AddressLike ], [ void ], "nonpayable">; registry: TypedContractMethod<[], [string], "view">; renounceRole: TypedContractMethod<[ role: BytesLike, callerConfirmation: AddressLike ], [ void ], "nonpayable">; revokeRole: TypedContractMethod<[ role: BytesLike, account: AddressLike ], [ void ], "nonpayable">; supportsInterface: TypedContractMethod<[ interfaceId: BytesLike ], [ boolean ], "view">; unregisterToken: TypedContractMethod<[ _token: AddressLike ], [ void ], "nonpayable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "REGISTER_TOKEN_ROLE"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "UNREGISTER_TOKEN_ROLE"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">; getFunction(nameOrSignature: "getTokenCount"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "getTokens"): TypedContractMethod<[], [string[]], "view">; getFunction(nameOrSignature: "grantRole"): TypedContractMethod<[ role: BytesLike, account: AddressLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "hasRole"): TypedContractMethod<[ role: BytesLike, account: AddressLike ], [ boolean ], "view">; getFunction(nameOrSignature: "isTokenRegistered"): TypedContractMethod<[_token: AddressLike], [boolean], "view">; getFunction(nameOrSignature: "isTokenRegisteredBatch"): TypedContractMethod<[_tokens: AddressLike[]], [boolean], "view">; getFunction(nameOrSignature: "registerToken"): TypedContractMethod<[_token: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "registry"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "renounceRole"): TypedContractMethod<[ role: BytesLike, callerConfirmation: AddressLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "revokeRole"): TypedContractMethod<[ role: BytesLike, account: AddressLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">; getFunction(nameOrSignature: "unregisterToken"): TypedContractMethod<[_token: AddressLike], [void], "nonpayable">; getEvent(key: "DynamicTokenRegistrationUpdated"): TypedContractEvent; getEvent(key: "RoleAdminChanged"): TypedContractEvent; getEvent(key: "RoleGranted"): TypedContractEvent; getEvent(key: "RoleRevoked"): TypedContractEvent; filters: { "DynamicTokenRegistrationUpdated(address,bool)": TypedContractEvent; DynamicTokenRegistrationUpdated: TypedContractEvent; "RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent; RoleAdminChanged: TypedContractEvent; "RoleGranted(bytes32,address,address)": TypedContractEvent; RoleGranted: TypedContractEvent; "RoleRevoked(bytes32,address,address)": TypedContractEvent; RoleRevoked: TypedContractEvent; }; }