import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers"; import type { FunctionFragment, Result } from "@ethersproject/abi"; import type { Listener, Provider } from "@ethersproject/providers"; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "./common"; export interface RoyaltyArtBlocksV2Interface extends utils.Interface { functions: { "getRoyalties(uint256)": FunctionFragment; }; getFunction(nameOrSignatureOrTopic: "getRoyalties"): FunctionFragment; encodeFunctionData(functionFragment: "getRoyalties", values: [PromiseOrValue]): string; decodeFunctionResult(functionFragment: "getRoyalties", data: BytesLike): Result; events: {}; } export interface RoyaltyArtBlocksV2 extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: RoyaltyArtBlocksV2Interface; 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: { /** * reverts if invalid _tokenIdonly returns recipients that have a non-zero BPS allocation * Gets royalty Basis Points (BPS) for token ID `_tokenId`. This conforms to the IManifold interface designated in the Royalty Registry's RoyaltyEngineV1.sol contract. ref: https://github.com/manifoldxyz/royalty-registry-solidity * @param _tokenId Token ID to be queried. */ getRoyalties(_tokenId: PromiseOrValue, overrides?: CallOverrides): Promise<[ string[], BigNumber[] ] & { recipients: string[]; bps: BigNumber[]; }>; }; /** * reverts if invalid _tokenIdonly returns recipients that have a non-zero BPS allocation * Gets royalty Basis Points (BPS) for token ID `_tokenId`. This conforms to the IManifold interface designated in the Royalty Registry's RoyaltyEngineV1.sol contract. ref: https://github.com/manifoldxyz/royalty-registry-solidity * @param _tokenId Token ID to be queried. */ getRoyalties(_tokenId: PromiseOrValue, overrides?: CallOverrides): Promise<[ string[], BigNumber[] ] & { recipients: string[]; bps: BigNumber[]; }>; callStatic: { /** * reverts if invalid _tokenIdonly returns recipients that have a non-zero BPS allocation * Gets royalty Basis Points (BPS) for token ID `_tokenId`. This conforms to the IManifold interface designated in the Royalty Registry's RoyaltyEngineV1.sol contract. ref: https://github.com/manifoldxyz/royalty-registry-solidity * @param _tokenId Token ID to be queried. */ getRoyalties(_tokenId: PromiseOrValue, overrides?: CallOverrides): Promise<[ string[], BigNumber[] ] & { recipients: string[]; bps: BigNumber[]; }>; }; filters: {}; estimateGas: { /** * reverts if invalid _tokenIdonly returns recipients that have a non-zero BPS allocation * Gets royalty Basis Points (BPS) for token ID `_tokenId`. This conforms to the IManifold interface designated in the Royalty Registry's RoyaltyEngineV1.sol contract. ref: https://github.com/manifoldxyz/royalty-registry-solidity * @param _tokenId Token ID to be queried. */ getRoyalties(_tokenId: PromiseOrValue, overrides?: CallOverrides): Promise; }; populateTransaction: { /** * reverts if invalid _tokenIdonly returns recipients that have a non-zero BPS allocation * Gets royalty Basis Points (BPS) for token ID `_tokenId`. This conforms to the IManifold interface designated in the Royalty Registry's RoyaltyEngineV1.sol contract. ref: https://github.com/manifoldxyz/royalty-registry-solidity * @param _tokenId Token ID to be queried. */ getRoyalties(_tokenId: PromiseOrValue, overrides?: CallOverrides): Promise; }; }