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 IRenovaAvatarInterface extends Interface { getFunction(nameOrSignature: "approve" | "balanceOf" | "characterIds" | "factions" | "getApproved" | "initialize" | "isApprovedForAll" | "mint" | "ownerOf" | "refreshAllMetadata" | "refreshMetadata" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "setCustomBaseURI" | "supportsInterface" | "tokenIds" | "transferFrom" | "updateMaxCharacterId" | "updateMinStakePower" | "updateStakingVault" | "wormholeMintSend"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "Approval" | "ApprovalForAll" | "BatchMetadataUpdate" | "MetadataUpdate" | "Mint" | "Transfer" | "UpdateCustomURI" | "UpdateMaxCharacterId" | "UpdateMinStakePower" | "UpdateStakingVault" | "XChainMintOut"): EventFragment; encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string; encodeFunctionData(functionFragment: "characterIds", values: [AddressLike]): string; encodeFunctionData(functionFragment: "factions", values: [AddressLike]): string; encodeFunctionData(functionFragment: "getApproved", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "initialize", values: [AddressLike, AddressLike, BigNumberish, AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "isApprovedForAll", values: [AddressLike, AddressLike]): string; encodeFunctionData(functionFragment: "mint", values: [BigNumberish, BigNumberish]): string; encodeFunctionData(functionFragment: "ownerOf", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "refreshAllMetadata", values?: undefined): string; encodeFunctionData(functionFragment: "refreshMetadata", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256)", values: [AddressLike, AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string; encodeFunctionData(functionFragment: "setApprovalForAll", values: [AddressLike, boolean]): string; encodeFunctionData(functionFragment: "setCustomBaseURI", values: [string]): string; encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string; encodeFunctionData(functionFragment: "tokenIds", values: [AddressLike]): string; encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "updateMaxCharacterId", values: [BigNumberish, BigNumberish]): string; encodeFunctionData(functionFragment: "updateMinStakePower", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "updateStakingVault", values: [AddressLike]): string; encodeFunctionData(functionFragment: "wormholeMintSend", values: [BigNumberish, BigNumberish]): string; decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; decodeFunctionResult(functionFragment: "characterIds", data: BytesLike): Result; decodeFunctionResult(functionFragment: "factions", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getApproved", data: BytesLike): Result; decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isApprovedForAll", data: BytesLike): Result; decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result; decodeFunctionResult(functionFragment: "refreshAllMetadata", data: BytesLike): Result; decodeFunctionResult(functionFragment: "refreshMetadata", data: BytesLike): Result; decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setApprovalForAll", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setCustomBaseURI", data: BytesLike): Result; decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result; decodeFunctionResult(functionFragment: "tokenIds", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result; decodeFunctionResult(functionFragment: "updateMaxCharacterId", data: BytesLike): Result; decodeFunctionResult(functionFragment: "updateMinStakePower", data: BytesLike): Result; decodeFunctionResult(functionFragment: "updateStakingVault", data: BytesLike): Result; decodeFunctionResult(functionFragment: "wormholeMintSend", data: BytesLike): Result; } export declare namespace ApprovalEvent { type InputTuple = [ owner: AddressLike, approved: AddressLike, tokenId: BigNumberish ]; type OutputTuple = [owner: string, approved: string, tokenId: bigint]; interface OutputObject { owner: string; approved: string; tokenId: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace ApprovalForAllEvent { type InputTuple = [ owner: AddressLike, operator: AddressLike, approved: boolean ]; type OutputTuple = [ owner: string, operator: string, approved: boolean ]; interface OutputObject { owner: string; operator: string; approved: boolean; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace BatchMetadataUpdateEvent { type InputTuple = [ _fromTokenId: BigNumberish, _toTokenId: BigNumberish ]; type OutputTuple = [_fromTokenId: bigint, _toTokenId: bigint]; interface OutputObject { _fromTokenId: bigint; _toTokenId: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace MetadataUpdateEvent { type InputTuple = [_tokenId: BigNumberish]; type OutputTuple = [_tokenId: bigint]; interface OutputObject { _tokenId: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace MintEvent { type InputTuple = [ player: AddressLike, tokenId: BigNumberish, faction: BigNumberish, characterId: BigNumberish ]; type OutputTuple = [ player: string, tokenId: bigint, faction: bigint, characterId: bigint ]; interface OutputObject { player: string; tokenId: bigint; faction: bigint; characterId: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace TransferEvent { type InputTuple = [ from: AddressLike, to: AddressLike, tokenId: BigNumberish ]; type OutputTuple = [from: string, to: string, tokenId: bigint]; interface OutputObject { from: string; to: string; tokenId: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace UpdateCustomURIEvent { type InputTuple = [uri: string]; type OutputTuple = [uri: string]; interface OutputObject { uri: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace UpdateMaxCharacterIdEvent { type InputTuple = [ faction: BigNumberish, maxCharacterId: BigNumberish ]; type OutputTuple = [faction: bigint, maxCharacterId: bigint]; interface OutputObject { faction: bigint; maxCharacterId: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace UpdateMinStakePowerEvent { type InputTuple = [minStakePower: BigNumberish]; type OutputTuple = [minStakePower: bigint]; interface OutputObject { minStakePower: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace UpdateStakingVaultEvent { type InputTuple = [ stakingVault: AddressLike, prevStakingVault: AddressLike ]; type OutputTuple = [stakingVault: string, prevStakingVault: string]; interface OutputObject { stakingVault: string; prevStakingVault: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace XChainMintOutEvent { type InputTuple = [ player: AddressLike, faction: BigNumberish, characterId: BigNumberish, dstWormholeChainId: BigNumberish, sequence: BigNumberish, relayerFee: BigNumberish ]; type OutputTuple = [ player: string, faction: bigint, characterId: bigint, dstWormholeChainId: bigint, sequence: bigint, relayerFee: bigint ]; interface OutputObject { player: string; faction: bigint; characterId: bigint; dstWormholeChainId: bigint; sequence: bigint; relayerFee: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface IRenovaAvatar extends BaseContract { connect(runner?: ContractRunner | null): IRenovaAvatar; waitForDeployment(): Promise; interface: IRenovaAvatarInterface; 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; approve: TypedContractMethod<[ to: AddressLike, tokenId: BigNumberish ], [ void ], "nonpayable">; balanceOf: TypedContractMethod<[owner: AddressLike], [bigint], "view">; characterIds: TypedContractMethod<[player: AddressLike], [bigint], "view">; factions: TypedContractMethod<[player: AddressLike], [bigint], "view">; getApproved: TypedContractMethod<[tokenId: BigNumberish], [string], "view">; initialize: TypedContractMethod<[ renovaCommandDeck: AddressLike, stakingVault: AddressLike, minStakePower: BigNumberish, wormhole: AddressLike, wormholeConsistencyLevel: BigNumberish ], [ void ], "nonpayable">; isApprovedForAll: TypedContractMethod<[ owner: AddressLike, operator: AddressLike ], [ boolean ], "view">; mint: TypedContractMethod<[ faction: BigNumberish, characterId: BigNumberish ], [ void ], "nonpayable">; ownerOf: TypedContractMethod<[tokenId: BigNumberish], [string], "view">; refreshAllMetadata: TypedContractMethod<[], [void], "nonpayable">; refreshMetadata: TypedContractMethod<[ tokenId: BigNumberish ], [ void ], "nonpayable">; "safeTransferFrom(address,address,uint256)": TypedContractMethod<[ from: AddressLike, to: AddressLike, tokenId: BigNumberish ], [ void ], "nonpayable">; "safeTransferFrom(address,address,uint256,bytes)": TypedContractMethod<[ from: AddressLike, to: AddressLike, tokenId: BigNumberish, data: BytesLike ], [ void ], "nonpayable">; setApprovalForAll: TypedContractMethod<[ operator: AddressLike, approved: boolean ], [ void ], "nonpayable">; setCustomBaseURI: TypedContractMethod<[ customBaseURI: string ], [ void ], "nonpayable">; supportsInterface: TypedContractMethod<[ interfaceId: BytesLike ], [ boolean ], "view">; tokenIds: TypedContractMethod<[player: AddressLike], [bigint], "view">; transferFrom: TypedContractMethod<[ from: AddressLike, to: AddressLike, tokenId: BigNumberish ], [ void ], "nonpayable">; updateMaxCharacterId: TypedContractMethod<[ faction: BigNumberish, maxCharacterId: BigNumberish ], [ void ], "nonpayable">; updateMinStakePower: TypedContractMethod<[ minStakePower: BigNumberish ], [ void ], "nonpayable">; updateStakingVault: TypedContractMethod<[ stakingVault: AddressLike ], [ void ], "nonpayable">; wormholeMintSend: TypedContractMethod<[ dstWormholeChainId: BigNumberish, wormholeMessageFee: BigNumberish ], [ void ], "payable">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "approve"): TypedContractMethod<[ to: AddressLike, tokenId: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[owner: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "characterIds"): TypedContractMethod<[player: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "factions"): TypedContractMethod<[player: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "getApproved"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">; getFunction(nameOrSignature: "initialize"): TypedContractMethod<[ renovaCommandDeck: AddressLike, stakingVault: AddressLike, minStakePower: BigNumberish, wormhole: AddressLike, wormholeConsistencyLevel: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "isApprovedForAll"): TypedContractMethod<[ owner: AddressLike, operator: AddressLike ], [ boolean ], "view">; getFunction(nameOrSignature: "mint"): TypedContractMethod<[ faction: BigNumberish, characterId: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "ownerOf"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">; getFunction(nameOrSignature: "refreshAllMetadata"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "refreshMetadata"): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; getFunction(nameOrSignature: "safeTransferFrom(address,address,uint256)"): TypedContractMethod<[ from: AddressLike, to: AddressLike, tokenId: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "safeTransferFrom(address,address,uint256,bytes)"): TypedContractMethod<[ from: AddressLike, to: AddressLike, tokenId: BigNumberish, data: BytesLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setApprovalForAll"): TypedContractMethod<[ operator: AddressLike, approved: boolean ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setCustomBaseURI"): TypedContractMethod<[customBaseURI: string], [void], "nonpayable">; getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">; getFunction(nameOrSignature: "tokenIds"): TypedContractMethod<[player: AddressLike], [bigint], "view">; getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[ from: AddressLike, to: AddressLike, tokenId: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "updateMaxCharacterId"): TypedContractMethod<[ faction: BigNumberish, maxCharacterId: BigNumberish ], [ void ], "nonpayable">; getFunction(nameOrSignature: "updateMinStakePower"): TypedContractMethod<[minStakePower: BigNumberish], [void], "nonpayable">; getFunction(nameOrSignature: "updateStakingVault"): TypedContractMethod<[stakingVault: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "wormholeMintSend"): TypedContractMethod<[ dstWormholeChainId: BigNumberish, wormholeMessageFee: BigNumberish ], [ void ], "payable">; getEvent(key: "Approval"): TypedContractEvent; getEvent(key: "ApprovalForAll"): TypedContractEvent; getEvent(key: "BatchMetadataUpdate"): TypedContractEvent; getEvent(key: "MetadataUpdate"): TypedContractEvent; getEvent(key: "Mint"): TypedContractEvent; getEvent(key: "Transfer"): TypedContractEvent; getEvent(key: "UpdateCustomURI"): TypedContractEvent; getEvent(key: "UpdateMaxCharacterId"): TypedContractEvent; getEvent(key: "UpdateMinStakePower"): TypedContractEvent; getEvent(key: "UpdateStakingVault"): TypedContractEvent; getEvent(key: "XChainMintOut"): TypedContractEvent; filters: { "Approval(address,address,uint256)": TypedContractEvent; Approval: TypedContractEvent; "ApprovalForAll(address,address,bool)": TypedContractEvent; ApprovalForAll: TypedContractEvent; "BatchMetadataUpdate(uint256,uint256)": TypedContractEvent; BatchMetadataUpdate: TypedContractEvent; "MetadataUpdate(uint256)": TypedContractEvent; MetadataUpdate: TypedContractEvent; "Mint(address,uint256,uint8,uint256)": TypedContractEvent; Mint: TypedContractEvent; "Transfer(address,address,uint256)": TypedContractEvent; Transfer: TypedContractEvent; "UpdateCustomURI(string)": TypedContractEvent; UpdateCustomURI: TypedContractEvent; "UpdateMaxCharacterId(uint8,uint256)": TypedContractEvent; UpdateMaxCharacterId: TypedContractEvent; "UpdateMinStakePower(uint256)": TypedContractEvent; UpdateMinStakePower: TypedContractEvent; "UpdateStakingVault(address,address)": TypedContractEvent; UpdateStakingVault: TypedContractEvent; "XChainMintOut(address,uint8,uint256,uint16,uint256,uint256)": TypedContractEvent; XChainMintOut: TypedContractEvent; }; }