/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod, } from "./common"; export interface ArianeeWhitelistInterface extends Interface { getFunction( nameOrSignature: | "ArianeeWhitelistStorageV0Location" | "DEFAULT_ADMIN_ROLE" | "addBlacklistedAddress" | "addWhitelistedAddress" | "getRoleAdmin" | "grantRole" | "hasRole" | "initialize" | "isAuthorized" | "isBlacklisted" | "isTrustedForwarder" | "isWhitelisted" | "renounceRole" | "revokeRole" | "supportsInterface" | "trustedForwarder" ): FunctionFragment; getEvent( nameOrSignatureOrTopic: | "BlacklistedAddresAdded" | "Initialized" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "WhitelistedAddressAdded" ): EventFragment; encodeFunctionData( functionFragment: "ArianeeWhitelistStorageV0Location", values?: undefined ): string; encodeFunctionData( functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined ): string; encodeFunctionData( functionFragment: "addBlacklistedAddress", values: [AddressLike, BigNumberish, boolean] ): string; encodeFunctionData( functionFragment: "addWhitelistedAddress", values: [BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "getRoleAdmin", values: [BytesLike] ): string; encodeFunctionData( functionFragment: "grantRole", values: [BytesLike, AddressLike] ): string; encodeFunctionData( functionFragment: "hasRole", values: [BytesLike, AddressLike] ): string; encodeFunctionData( functionFragment: "initialize", values: [AddressLike, AddressLike, AddressLike] ): string; encodeFunctionData( functionFragment: "isAuthorized", values: [BigNumberish, AddressLike, AddressLike] ): string; encodeFunctionData( functionFragment: "isBlacklisted", values: [AddressLike, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "isTrustedForwarder", values: [AddressLike] ): string; encodeFunctionData( functionFragment: "isWhitelisted", values: [BigNumberish, AddressLike] ): string; encodeFunctionData( functionFragment: "renounceRole", values: [BytesLike, AddressLike] ): string; encodeFunctionData( functionFragment: "revokeRole", values: [BytesLike, AddressLike] ): string; encodeFunctionData( functionFragment: "supportsInterface", values: [BytesLike] ): string; encodeFunctionData( functionFragment: "trustedForwarder", values?: undefined ): string; decodeFunctionResult( functionFragment: "ArianeeWhitelistStorageV0Location", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "addBlacklistedAddress", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "addWhitelistedAddress", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getRoleAdmin", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result; decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; decodeFunctionResult( functionFragment: "isAuthorized", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "isBlacklisted", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "isTrustedForwarder", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "isWhitelisted", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "renounceRole", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result; decodeFunctionResult( functionFragment: "supportsInterface", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "trustedForwarder", data: BytesLike ): Result; } export namespace BlacklistedAddresAddedEvent { export type InputTuple = [ _sender: AddressLike, _tokenId: BigNumberish, _activate: boolean ]; export type OutputTuple = [ _sender: string, _tokenId: bigint, _activate: boolean ]; export interface OutputObject { _sender: string; _tokenId: bigint; _activate: boolean; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace InitializedEvent { export type InputTuple = [version: BigNumberish]; export type OutputTuple = [version: bigint]; export interface OutputObject { version: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace RoleAdminChangedEvent { export type InputTuple = [ role: BytesLike, previousAdminRole: BytesLike, newAdminRole: BytesLike ]; export type OutputTuple = [ role: string, previousAdminRole: string, newAdminRole: string ]; export interface OutputObject { role: string; previousAdminRole: string; newAdminRole: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace RoleGrantedEvent { export type InputTuple = [ role: BytesLike, account: AddressLike, sender: AddressLike ]; export type OutputTuple = [role: string, account: string, sender: string]; export interface OutputObject { role: string; account: string; sender: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace RoleRevokedEvent { export type InputTuple = [ role: BytesLike, account: AddressLike, sender: AddressLike ]; export type OutputTuple = [role: string, account: string, sender: string]; export interface OutputObject { role: string; account: string; sender: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace WhitelistedAddressAddedEvent { export type InputTuple = [_tokenId: BigNumberish, _address: AddressLike]; export type OutputTuple = [_tokenId: bigint, _address: string]; export interface OutputObject { _tokenId: bigint; _address: string; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface ArianeeWhitelist extends BaseContract { connect(runner?: ContractRunner | null): ArianeeWhitelist; waitForDeployment(): Promise; interface: ArianeeWhitelistInterface; 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; ArianeeWhitelistStorageV0Location: TypedContractMethod<[], [string], "view">; DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">; addBlacklistedAddress: TypedContractMethod< [_sender: AddressLike, _tokenId: BigNumberish, _activate: boolean], [void], "nonpayable" >; addWhitelistedAddress: TypedContractMethod< [_tokenId: BigNumberish, _address: AddressLike], [void], "nonpayable" >; getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">; grantRole: TypedContractMethod< [role: BytesLike, account: AddressLike], [void], "nonpayable" >; hasRole: TypedContractMethod< [role: BytesLike, account: AddressLike], [boolean], "view" >; initialize: TypedContractMethod< [ _initialAdmin: AddressLike, _arianeeEventAddress: AddressLike, _smartAssetAddress: AddressLike ], [void], "nonpayable" >; isAuthorized: TypedContractMethod< [_tokenId: BigNumberish, _sender: AddressLike, _tokenOwner: AddressLike], [boolean], "view" >; isBlacklisted: TypedContractMethod< [_owner: AddressLike, _sender: AddressLike, _tokenId: BigNumberish], [boolean], "view" >; isTrustedForwarder: TypedContractMethod< [forwarder: AddressLike], [boolean], "view" >; isWhitelisted: TypedContractMethod< [_tokenId: BigNumberish, _address: AddressLike], [boolean], "view" >; renounceRole: TypedContractMethod< [role: BytesLike, callerConfirmation: AddressLike], [void], "nonpayable" >; revokeRole: TypedContractMethod< [role: BytesLike, account: AddressLike], [void], "nonpayable" >; supportsInterface: TypedContractMethod< [interfaceId: BytesLike], [boolean], "view" >; trustedForwarder: TypedContractMethod<[], [string], "view">; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "ArianeeWhitelistStorageV0Location" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "DEFAULT_ADMIN_ROLE" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "addBlacklistedAddress" ): TypedContractMethod< [_sender: AddressLike, _tokenId: BigNumberish, _activate: boolean], [void], "nonpayable" >; getFunction( nameOrSignature: "addWhitelistedAddress" ): TypedContractMethod< [_tokenId: BigNumberish, _address: AddressLike], [void], "nonpayable" >; getFunction( nameOrSignature: "getRoleAdmin" ): TypedContractMethod<[role: BytesLike], [string], "view">; getFunction( nameOrSignature: "grantRole" ): TypedContractMethod< [role: BytesLike, account: AddressLike], [void], "nonpayable" >; getFunction( nameOrSignature: "hasRole" ): TypedContractMethod< [role: BytesLike, account: AddressLike], [boolean], "view" >; getFunction( nameOrSignature: "initialize" ): TypedContractMethod< [ _initialAdmin: AddressLike, _arianeeEventAddress: AddressLike, _smartAssetAddress: AddressLike ], [void], "nonpayable" >; getFunction( nameOrSignature: "isAuthorized" ): TypedContractMethod< [_tokenId: BigNumberish, _sender: AddressLike, _tokenOwner: AddressLike], [boolean], "view" >; getFunction( nameOrSignature: "isBlacklisted" ): TypedContractMethod< [_owner: AddressLike, _sender: AddressLike, _tokenId: BigNumberish], [boolean], "view" >; getFunction( nameOrSignature: "isTrustedForwarder" ): TypedContractMethod<[forwarder: AddressLike], [boolean], "view">; getFunction( nameOrSignature: "isWhitelisted" ): TypedContractMethod< [_tokenId: BigNumberish, _address: AddressLike], [boolean], "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: "trustedForwarder" ): TypedContractMethod<[], [string], "view">; getEvent( key: "BlacklistedAddresAdded" ): TypedContractEvent< BlacklistedAddresAddedEvent.InputTuple, BlacklistedAddresAddedEvent.OutputTuple, BlacklistedAddresAddedEvent.OutputObject >; getEvent( key: "Initialized" ): TypedContractEvent< InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject >; getEvent( key: "RoleAdminChanged" ): TypedContractEvent< RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject >; getEvent( key: "RoleGranted" ): TypedContractEvent< RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject >; getEvent( key: "RoleRevoked" ): TypedContractEvent< RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject >; getEvent( key: "WhitelistedAddressAdded" ): TypedContractEvent< WhitelistedAddressAddedEvent.InputTuple, WhitelistedAddressAddedEvent.OutputTuple, WhitelistedAddressAddedEvent.OutputObject >; filters: { "BlacklistedAddresAdded(address,uint256,bool)": TypedContractEvent< BlacklistedAddresAddedEvent.InputTuple, BlacklistedAddresAddedEvent.OutputTuple, BlacklistedAddresAddedEvent.OutputObject >; BlacklistedAddresAdded: TypedContractEvent< BlacklistedAddresAddedEvent.InputTuple, BlacklistedAddresAddedEvent.OutputTuple, BlacklistedAddresAddedEvent.OutputObject >; "Initialized(uint64)": TypedContractEvent< InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject >; Initialized: TypedContractEvent< InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject >; "RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent< RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject >; RoleAdminChanged: TypedContractEvent< RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject >; "RoleGranted(bytes32,address,address)": TypedContractEvent< RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject >; RoleGranted: TypedContractEvent< RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject >; "RoleRevoked(bytes32,address,address)": TypedContractEvent< RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject >; RoleRevoked: TypedContractEvent< RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject >; "WhitelistedAddressAdded(uint256,address)": TypedContractEvent< WhitelistedAddressAddedEvent.InputTuple, WhitelistedAddressAddedEvent.OutputTuple, WhitelistedAddressAddedEvent.OutputObject >; WhitelistedAddressAdded: TypedContractEvent< WhitelistedAddressAddedEvent.InputTuple, WhitelistedAddressAddedEvent.OutputTuple, WhitelistedAddressAddedEvent.OutputObject >; }; }