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 OwnershipRegistryInterface extends Interface { getFunction(nameOrSignature: "ARIANEE_TLI" | "arianeeAddress" | "forceRegisterToken" | "getIdentityPerIssuer" | "getIdentityPerToken" | "getIssuerPerIdentityAtIndex" | "getIssuersPerIdentity" | "getStamp" | "getTokenPerIdentityAtIndex" | "getTokensPerIdentity" | "initialize" | "isTrustedForwarder" | "owner" | "proxiableUUID" | "registerIssuer" | "registerToken" | "renounceOwnership" | "setTrustedForwarder" | "stampToken" | "transferOwnership" | "upgradeTo" | "upgradeToAndCall"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "AdminChanged" | "BeaconUpgraded" | "Initialized" | "IssuerRegistered" | "OwnershipTransferred" | "TokenRegistered" | "TokenStamped" | "TrustedForwarderSet" | "Upgraded"): EventFragment; encodeFunctionData(functionFragment: "ARIANEE_TLI", values?: undefined): string; encodeFunctionData(functionFragment: "arianeeAddress", values?: undefined): string; encodeFunctionData(functionFragment: "forceRegisterToken", values: [AddressLike, string]): string; encodeFunctionData(functionFragment: "getIdentityPerIssuer", values: [AddressLike]): string; encodeFunctionData(functionFragment: "getIdentityPerToken", values: [AddressLike]): string; encodeFunctionData(functionFragment: "getIssuerPerIdentityAtIndex", values: [string, BigNumberish]): string; encodeFunctionData(functionFragment: "getIssuersPerIdentity", values: [string]): string; encodeFunctionData(functionFragment: "getStamp", values: [AddressLike]): string; encodeFunctionData(functionFragment: "getTokenPerIdentityAtIndex", values: [string, BigNumberish]): string; encodeFunctionData(functionFragment: "getTokensPerIdentity", values: [string]): string; encodeFunctionData(functionFragment: "initialize", values: [AddressLike, AddressLike]): string; encodeFunctionData(functionFragment: "isTrustedForwarder", values: [AddressLike]): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData(functionFragment: "proxiableUUID", values?: undefined): string; encodeFunctionData(functionFragment: "registerIssuer", values: [string]): string; encodeFunctionData(functionFragment: "registerToken", values: [AddressLike, string]): string; encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string; encodeFunctionData(functionFragment: "setTrustedForwarder", values: [AddressLike]): string; encodeFunctionData(functionFragment: "stampToken", values: [AddressLike, BytesLike[]]): string; encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string; encodeFunctionData(functionFragment: "upgradeTo", values: [AddressLike]): string; encodeFunctionData(functionFragment: "upgradeToAndCall", values: [AddressLike, BytesLike]): string; decodeFunctionResult(functionFragment: "ARIANEE_TLI", data: BytesLike): Result; decodeFunctionResult(functionFragment: "arianeeAddress", data: BytesLike): Result; decodeFunctionResult(functionFragment: "forceRegisterToken", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getIdentityPerIssuer", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getIdentityPerToken", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getIssuerPerIdentityAtIndex", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getIssuersPerIdentity", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getStamp", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getTokenPerIdentityAtIndex", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getTokensPerIdentity", data: BytesLike): Result; decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isTrustedForwarder", data: BytesLike): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "proxiableUUID", data: BytesLike): Result; decodeFunctionResult(functionFragment: "registerIssuer", data: BytesLike): Result; decodeFunctionResult(functionFragment: "registerToken", data: BytesLike): Result; decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setTrustedForwarder", data: BytesLike): Result; decodeFunctionResult(functionFragment: "stampToken", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "upgradeTo", data: BytesLike): Result; decodeFunctionResult(functionFragment: "upgradeToAndCall", data: BytesLike): Result; } export declare namespace AdminChangedEvent { type InputTuple = [previousAdmin: AddressLike, newAdmin: AddressLike]; type OutputTuple = [previousAdmin: string, newAdmin: string]; interface OutputObject { previousAdmin: string; newAdmin: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace BeaconUpgradedEvent { type InputTuple = [beacon: AddressLike]; type OutputTuple = [beacon: string]; interface OutputObject { beacon: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace InitializedEvent { type InputTuple = [version: BigNumberish]; type OutputTuple = [version: bigint]; interface OutputObject { version: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace IssuerRegisteredEvent { type InputTuple = [ issuerAddress: AddressLike, ensIndex: string, ens: string ]; type OutputTuple = [ issuerAddress: string, ensIndex: string, ens: string ]; interface OutputObject { issuerAddress: string; ensIndex: string; ens: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace OwnershipTransferredEvent { type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; type OutputTuple = [previousOwner: string, newOwner: string]; interface OutputObject { previousOwner: string; newOwner: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace TokenRegisteredEvent { type InputTuple = [ contractAddress: AddressLike, ensIndex: string, ens: string ]; type OutputTuple = [ contractAddress: string, ensIndex: string, ens: string ]; interface OutputObject { contractAddress: string; ensIndex: string; ens: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace TokenStampedEvent { type InputTuple = [contractAddress: AddressLike, params: BytesLike[]]; type OutputTuple = [contractAddress: string, params: string[]]; interface OutputObject { contractAddress: string; params: string[]; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace TrustedForwarderSetEvent { type InputTuple = [ previousForwarder: AddressLike, newForwarder: AddressLike ]; type OutputTuple = [previousForwarder: string, newForwarder: string]; interface OutputObject { previousForwarder: string; newForwarder: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace UpgradedEvent { type InputTuple = [implementation: AddressLike]; type OutputTuple = [implementation: string]; interface OutputObject { implementation: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface OwnershipRegistry extends BaseContract { connect(runner?: ContractRunner | null): OwnershipRegistry; waitForDeployment(): Promise; interface: OwnershipRegistryInterface; 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; ARIANEE_TLI: TypedContractMethod<[], [string], "view">; arianeeAddress: TypedContractMethod<[], [string], "view">; forceRegisterToken: TypedContractMethod<[ contractAddress: AddressLike, ens: string ], [ void ], "nonpayable">; getIdentityPerIssuer: TypedContractMethod<[ issuer: AddressLike ], [ string ], "view">; getIdentityPerToken: TypedContractMethod<[ contractAddress: AddressLike ], [ string ], "view">; getIssuerPerIdentityAtIndex: TypedContractMethod<[ ens: string, index: BigNumberish ], [ string ], "view">; getIssuersPerIdentity: TypedContractMethod<[ens: string], [string[]], "view">; getStamp: TypedContractMethod<[ contractAddress: AddressLike ], [ string[] ], "view">; getTokenPerIdentityAtIndex: TypedContractMethod<[ ens: string, index: BigNumberish ], [ string ], "view">; getTokensPerIdentity: TypedContractMethod<[ens: string], [string[]], "view">; initialize: TypedContractMethod<[ arianeeAddress_: AddressLike, trustedForwarder_: AddressLike ], [ void ], "nonpayable">; isTrustedForwarder: TypedContractMethod<[ forwarder: AddressLike ], [ boolean ], "view">; owner: TypedContractMethod<[], [string], "view">; proxiableUUID: TypedContractMethod<[], [string], "view">; registerIssuer: TypedContractMethod<[ens: string], [void], "nonpayable">; registerToken: TypedContractMethod<[ contractAddress: AddressLike, ens: string ], [ void ], "nonpayable">; renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; setTrustedForwarder: TypedContractMethod<[ trustedForwarder: AddressLike ], [ void ], "nonpayable">; stampToken: TypedContractMethod<[ contractAddress: AddressLike, stamp: BytesLike[] ], [ void ], "nonpayable">; transferOwnership: TypedContractMethod<[ newOwner: AddressLike ], [ void ], "nonpayable">; upgradeTo: TypedContractMethod<[ newImplementation: AddressLike ], [ void ], "nonpayable">; upgradeToAndCall: TypedContractMethod<[ newImplementation: AddressLike, data: BytesLike ], [ void ], "payable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "ARIANEE_TLI"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "arianeeAddress"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "forceRegisterToken"): TypedContractMethod<[ contractAddress: AddressLike, ens: string ], [ void ], "nonpayable">; getFunction(nameOrSignature: "getIdentityPerIssuer"): TypedContractMethod<[issuer: AddressLike], [string], "view">; getFunction(nameOrSignature: "getIdentityPerToken"): TypedContractMethod<[contractAddress: AddressLike], [string], "view">; getFunction(nameOrSignature: "getIssuerPerIdentityAtIndex"): TypedContractMethod<[ens: string, index: BigNumberish], [string], "view">; getFunction(nameOrSignature: "getIssuersPerIdentity"): TypedContractMethod<[ens: string], [string[]], "view">; getFunction(nameOrSignature: "getStamp"): TypedContractMethod<[contractAddress: AddressLike], [string[]], "view">; getFunction(nameOrSignature: "getTokenPerIdentityAtIndex"): TypedContractMethod<[ens: string, index: BigNumberish], [string], "view">; getFunction(nameOrSignature: "getTokensPerIdentity"): TypedContractMethod<[ens: string], [string[]], "view">; getFunction(nameOrSignature: "initialize"): TypedContractMethod<[ arianeeAddress_: AddressLike, trustedForwarder_: AddressLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "isTrustedForwarder"): TypedContractMethod<[forwarder: AddressLike], [boolean], "view">; getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "proxiableUUID"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "registerIssuer"): TypedContractMethod<[ens: string], [void], "nonpayable">; getFunction(nameOrSignature: "registerToken"): TypedContractMethod<[ contractAddress: AddressLike, ens: string ], [ void ], "nonpayable">; getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "setTrustedForwarder"): TypedContractMethod<[trustedForwarder: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "stampToken"): TypedContractMethod<[ contractAddress: AddressLike, stamp: BytesLike[] ], [ void ], "nonpayable">; getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "upgradeTo"): TypedContractMethod<[ newImplementation: AddressLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "upgradeToAndCall"): TypedContractMethod<[ newImplementation: AddressLike, data: BytesLike ], [ void ], "payable">; getEvent(key: "AdminChanged"): TypedContractEvent; getEvent(key: "BeaconUpgraded"): TypedContractEvent; getEvent(key: "Initialized"): TypedContractEvent; getEvent(key: "IssuerRegistered"): TypedContractEvent; getEvent(key: "OwnershipTransferred"): TypedContractEvent; getEvent(key: "TokenRegistered"): TypedContractEvent; getEvent(key: "TokenStamped"): TypedContractEvent; getEvent(key: "TrustedForwarderSet"): TypedContractEvent; getEvent(key: "Upgraded"): TypedContractEvent; filters: { "AdminChanged(address,address)": TypedContractEvent; AdminChanged: TypedContractEvent; "BeaconUpgraded(address)": TypedContractEvent; BeaconUpgraded: TypedContractEvent; "Initialized(uint8)": TypedContractEvent; Initialized: TypedContractEvent; "IssuerRegistered(address,string,string)": TypedContractEvent; IssuerRegistered: TypedContractEvent; "OwnershipTransferred(address,address)": TypedContractEvent; OwnershipTransferred: TypedContractEvent; "TokenRegistered(address,string,string)": TypedContractEvent; TokenRegistered: TypedContractEvent; "TokenStamped(address,bytes[])": TypedContractEvent; TokenStamped: TypedContractEvent; "TrustedForwarderSet(address,address)": TypedContractEvent; TrustedForwarderSet: TypedContractEvent; "Upgraded(address)": TypedContractEvent; Upgraded: TypedContractEvent; }; }