import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, 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 RoyaltiesProviderArtBlocksInterface extends utils.Interface { functions: { "artblocksPercentage()": FunctionFragment; "owner()": FunctionFragment; "renounceOwnership()": FunctionFragment; "transferOwnership(address)": FunctionFragment; "getRoyalties(address,uint256)": FunctionFragment; "setArtblocksPercentage(uint96)": FunctionFragment; }; getFunction(nameOrSignatureOrTopic: "artblocksPercentage" | "owner" | "renounceOwnership" | "transferOwnership" | "getRoyalties" | "setArtblocksPercentage"): FunctionFragment; encodeFunctionData(functionFragment: "artblocksPercentage", values?: undefined): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string; encodeFunctionData(functionFragment: "transferOwnership", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "getRoyalties", values: [PromiseOrValue, PromiseOrValue]): string; encodeFunctionData(functionFragment: "setArtblocksPercentage", values: [PromiseOrValue]): string; decodeFunctionResult(functionFragment: "artblocksPercentage", data: BytesLike): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getRoyalties", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setArtblocksPercentage", data: BytesLike): Result; events: { "ArtblocksPercentageChanged(address,uint96,uint96)": EventFragment; "OwnershipTransferred(address,address)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "ArtblocksPercentageChanged"): EventFragment; getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; } export interface ArtblocksPercentageChangedEventObject { _who: string; _old: BigNumber; _new: BigNumber; } export type ArtblocksPercentageChangedEvent = TypedEvent<[ string, BigNumber, BigNumber ], ArtblocksPercentageChangedEventObject>; export type ArtblocksPercentageChangedEventFilter = TypedEventFilter; export interface OwnershipTransferredEventObject { previousOwner: string; newOwner: string; } export type OwnershipTransferredEvent = TypedEvent<[ string, string ], OwnershipTransferredEventObject>; export type OwnershipTransferredEventFilter = TypedEventFilter; export interface RoyaltiesProviderArtBlocks extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: RoyaltiesProviderArtBlocksInterface; 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: { artblocksPercentage(overrides?: CallOverrides): Promise<[BigNumber]>; /** * Returns the address of the current owner. */ owner(overrides?: CallOverrides): Promise<[string]>; /** * Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner. */ renounceOwnership(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner. */ transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; getRoyalties(token: PromiseOrValue, tokenId: PromiseOrValue, overrides?: CallOverrides): Promise<[LibPart.PartStructOutput[]]>; setArtblocksPercentage(_artblocksPercentage: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; }; artblocksPercentage(overrides?: CallOverrides): Promise; /** * Returns the address of the current owner. */ owner(overrides?: CallOverrides): Promise; /** * Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner. */ renounceOwnership(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner. */ transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; getRoyalties(token: PromiseOrValue, tokenId: PromiseOrValue, overrides?: CallOverrides): Promise; setArtblocksPercentage(_artblocksPercentage: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; callStatic: { artblocksPercentage(overrides?: CallOverrides): Promise; /** * Returns the address of the current owner. */ owner(overrides?: CallOverrides): Promise; /** * Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner. */ renounceOwnership(overrides?: CallOverrides): Promise; /** * Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner. */ transferOwnership(newOwner: PromiseOrValue, overrides?: CallOverrides): Promise; getRoyalties(token: PromiseOrValue, tokenId: PromiseOrValue, overrides?: CallOverrides): Promise; setArtblocksPercentage(_artblocksPercentage: PromiseOrValue, overrides?: CallOverrides): Promise; }; filters: { "ArtblocksPercentageChanged(address,uint96,uint96)"(_who?: null, _old?: null, _new?: null): ArtblocksPercentageChangedEventFilter; ArtblocksPercentageChanged(_who?: null, _old?: null, _new?: null): ArtblocksPercentageChangedEventFilter; "OwnershipTransferred(address,address)"(previousOwner?: PromiseOrValue | null, newOwner?: PromiseOrValue | null): OwnershipTransferredEventFilter; OwnershipTransferred(previousOwner?: PromiseOrValue | null, newOwner?: PromiseOrValue | null): OwnershipTransferredEventFilter; }; estimateGas: { artblocksPercentage(overrides?: CallOverrides): Promise; /** * Returns the address of the current owner. */ owner(overrides?: CallOverrides): Promise; /** * Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner. */ renounceOwnership(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner. */ transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; getRoyalties(token: PromiseOrValue, tokenId: PromiseOrValue, overrides?: CallOverrides): Promise; setArtblocksPercentage(_artblocksPercentage: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; }; populateTransaction: { artblocksPercentage(overrides?: CallOverrides): Promise; /** * Returns the address of the current owner. */ owner(overrides?: CallOverrides): Promise; /** * Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner. */ renounceOwnership(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner. */ transferOwnership(newOwner: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; getRoyalties(token: PromiseOrValue, tokenId: PromiseOrValue, overrides?: CallOverrides): Promise; setArtblocksPercentage(_artblocksPercentage: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; }; }