import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, 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, PromiseOrValue } from "./common"; export declare namespace LibPart { type PartStruct = { account: PromiseOrValue; value: PromiseOrValue; }; type PartStructOutput = [string, BigNumber] & { account: string; value: BigNumber; }; } export interface RoyaltiesV2UpgradeableInterface extends utils.Interface { functions: { "getRaribleV2Royalties(uint256)": FunctionFragment; "supportsInterface(bytes4)": FunctionFragment; }; getFunction(nameOrSignatureOrTopic: "getRaribleV2Royalties" | "supportsInterface"): FunctionFragment; encodeFunctionData(functionFragment: "getRaribleV2Royalties", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "supportsInterface", values: [PromiseOrValue]): string; decodeFunctionResult(functionFragment: "getRaribleV2Royalties", data: BytesLike): Result; decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result; events: { "RoyaltiesSet(uint256,tuple[])": EventFragment; }; getEvent(nameOrSignatureOrTopic: "RoyaltiesSet"): EventFragment; } export interface RoyaltiesSetEventObject { tokenId: BigNumber; royalties: LibPart.PartStructOutput[]; } export type RoyaltiesSetEvent = TypedEvent<[ BigNumber, LibPart.PartStructOutput[] ], RoyaltiesSetEventObject>; export type RoyaltiesSetEventFilter = TypedEventFilter; export interface RoyaltiesV2Upgradeable extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: RoyaltiesV2UpgradeableInterface; 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: { getRaribleV2Royalties(id: PromiseOrValue, overrides?: CallOverrides): Promise<[LibPart.PartStructOutput[]]>; /** * See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas. */ supportsInterface(interfaceId: PromiseOrValue, overrides?: CallOverrides): Promise<[boolean]>; }; getRaribleV2Royalties(id: PromiseOrValue, overrides?: CallOverrides): Promise; /** * See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas. */ supportsInterface(interfaceId: PromiseOrValue, overrides?: CallOverrides): Promise; callStatic: { getRaribleV2Royalties(id: PromiseOrValue, overrides?: CallOverrides): Promise; /** * See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas. */ supportsInterface(interfaceId: PromiseOrValue, overrides?: CallOverrides): Promise; }; filters: { "RoyaltiesSet(uint256,tuple[])"(tokenId?: null, royalties?: null): RoyaltiesSetEventFilter; RoyaltiesSet(tokenId?: null, royalties?: null): RoyaltiesSetEventFilter; }; estimateGas: { getRaribleV2Royalties(id: PromiseOrValue, overrides?: CallOverrides): Promise; /** * See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas. */ supportsInterface(interfaceId: PromiseOrValue, overrides?: CallOverrides): Promise; }; populateTransaction: { getRaribleV2Royalties(id: PromiseOrValue, overrides?: CallOverrides): Promise; /** * See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas. */ supportsInterface(interfaceId: PromiseOrValue, overrides?: CallOverrides): Promise; }; }