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 ERC1155Base { type FeeStruct = { recipient: PromiseOrValue; value: PromiseOrValue; }; type FeeStructOutput = [string, BigNumber] & { recipient: string; value: BigNumber; }; } export interface RaribleTokenInterface extends utils.Interface { functions: { "balanceOf(address,uint256)": FunctionFragment; "balanceOfBatch(address[],uint256[])": FunctionFragment; "burn(address,uint256,uint256)": FunctionFragment; "contractURI()": FunctionFragment; "creators(uint256)": FunctionFragment; "fees(uint256,uint256)": FunctionFragment; "getFeeBps(uint256)": FunctionFragment; "getFeeRecipients(uint256)": FunctionFragment; "isApprovedForAll(address,address)": FunctionFragment; "isOwner()": FunctionFragment; "isSigner(address)": FunctionFragment; "name()": FunctionFragment; "owner()": FunctionFragment; "renounceOwnership()": FunctionFragment; "renounceSigner()": FunctionFragment; "safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)": FunctionFragment; "safeTransferFrom(address,address,uint256,uint256,bytes)": FunctionFragment; "setApprovalForAll(address,bool)": FunctionFragment; "setContractURI(string)": FunctionFragment; "setTokenURIPrefix(string)": FunctionFragment; "supportsInterface(bytes4)": FunctionFragment; "symbol()": FunctionFragment; "tokenURIPrefix()": FunctionFragment; "transferOwnership(address)": FunctionFragment; "uri(uint256)": FunctionFragment; "addSigner(address)": FunctionFragment; "removeSigner(address)": FunctionFragment; "mint(uint256,uint8,bytes32,bytes32,(address,uint256)[],uint256,string)": FunctionFragment; }; getFunction(nameOrSignatureOrTopic: "balanceOf" | "balanceOfBatch" | "burn" | "contractURI" | "creators" | "fees" | "getFeeBps" | "getFeeRecipients" | "isApprovedForAll" | "isOwner" | "isSigner" | "name" | "owner" | "renounceOwnership" | "renounceSigner" | "safeBatchTransferFrom" | "safeTransferFrom" | "setApprovalForAll" | "setContractURI" | "setTokenURIPrefix" | "supportsInterface" | "symbol" | "tokenURIPrefix" | "transferOwnership" | "uri" | "addSigner" | "removeSigner" | "mint"): FunctionFragment; encodeFunctionData(functionFragment: "balanceOf", values: [PromiseOrValue, PromiseOrValue]): string; encodeFunctionData(functionFragment: "balanceOfBatch", values: [PromiseOrValue[], PromiseOrValue[]]): string; encodeFunctionData(functionFragment: "burn", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue ]): string; encodeFunctionData(functionFragment: "contractURI", values?: undefined): string; encodeFunctionData(functionFragment: "creators", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "fees", values: [PromiseOrValue, PromiseOrValue]): string; encodeFunctionData(functionFragment: "getFeeBps", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "getFeeRecipients", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "isApprovedForAll", values: [PromiseOrValue, PromiseOrValue]): string; encodeFunctionData(functionFragment: "isOwner", values?: undefined): string; encodeFunctionData(functionFragment: "isSigner", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "name", values?: undefined): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string; encodeFunctionData(functionFragment: "renounceSigner", values?: undefined): string; encodeFunctionData(functionFragment: "safeBatchTransferFrom", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue[], PromiseOrValue[], PromiseOrValue ]): string; encodeFunctionData(functionFragment: "safeTransferFrom", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue ]): string; encodeFunctionData(functionFragment: "setApprovalForAll", values: [PromiseOrValue, PromiseOrValue]): string; encodeFunctionData(functionFragment: "setContractURI", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "setTokenURIPrefix", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "supportsInterface", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "symbol", values?: undefined): string; encodeFunctionData(functionFragment: "tokenURIPrefix", values?: undefined): string; encodeFunctionData(functionFragment: "transferOwnership", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "uri", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "addSigner", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "removeSigner", values: [PromiseOrValue]): string; encodeFunctionData(functionFragment: "mint", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, ERC1155Base.FeeStruct[], PromiseOrValue, PromiseOrValue ]): string; decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceOfBatch", data: BytesLike): Result; decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; decodeFunctionResult(functionFragment: "contractURI", data: BytesLike): Result; decodeFunctionResult(functionFragment: "creators", data: BytesLike): Result; decodeFunctionResult(functionFragment: "fees", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getFeeBps", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getFeeRecipients", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isApprovedForAll", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isOwner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isSigner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "renounceSigner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "safeBatchTransferFrom", data: BytesLike): Result; decodeFunctionResult(functionFragment: "safeTransferFrom", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setApprovalForAll", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setContractURI", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setTokenURIPrefix", data: BytesLike): Result; decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result; decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; decodeFunctionResult(functionFragment: "tokenURIPrefix", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "uri", data: BytesLike): Result; decodeFunctionResult(functionFragment: "addSigner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "removeSigner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; events: { "ApprovalForAll(address,address,bool)": EventFragment; "OwnershipTransferred(address,address)": EventFragment; "SecondarySaleFees(uint256,address[],uint256[])": EventFragment; "SignerAdded(address)": EventFragment; "SignerRemoved(address)": EventFragment; "TransferBatch(address,address,address,uint256[],uint256[])": EventFragment; "TransferSingle(address,address,address,uint256,uint256)": EventFragment; "URI(string,uint256)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "ApprovalForAll"): EventFragment; getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; getEvent(nameOrSignatureOrTopic: "SecondarySaleFees"): EventFragment; getEvent(nameOrSignatureOrTopic: "SignerAdded"): EventFragment; getEvent(nameOrSignatureOrTopic: "SignerRemoved"): EventFragment; getEvent(nameOrSignatureOrTopic: "TransferBatch"): EventFragment; getEvent(nameOrSignatureOrTopic: "TransferSingle"): EventFragment; getEvent(nameOrSignatureOrTopic: "URI"): EventFragment; } export interface ApprovalForAllEventObject { _owner: string; _operator: string; _approved: boolean; } export type ApprovalForAllEvent = TypedEvent<[ string, string, boolean ], ApprovalForAllEventObject>; export type ApprovalForAllEventFilter = TypedEventFilter; export interface OwnershipTransferredEventObject { previousOwner: string; newOwner: string; } export type OwnershipTransferredEvent = TypedEvent<[ string, string ], OwnershipTransferredEventObject>; export type OwnershipTransferredEventFilter = TypedEventFilter; export interface SecondarySaleFeesEventObject { tokenId: BigNumber; recipients: string[]; bps: BigNumber[]; } export type SecondarySaleFeesEvent = TypedEvent<[ BigNumber, string[], BigNumber[] ], SecondarySaleFeesEventObject>; export type SecondarySaleFeesEventFilter = TypedEventFilter; export interface SignerAddedEventObject { account: string; } export type SignerAddedEvent = TypedEvent<[string], SignerAddedEventObject>; export type SignerAddedEventFilter = TypedEventFilter; export interface SignerRemovedEventObject { account: string; } export type SignerRemovedEvent = TypedEvent<[string], SignerRemovedEventObject>; export type SignerRemovedEventFilter = TypedEventFilter; export interface TransferBatchEventObject { _operator: string; _from: string; _to: string; _ids: BigNumber[]; _values: BigNumber[]; } export type TransferBatchEvent = TypedEvent<[ string, string, string, BigNumber[], BigNumber[] ], TransferBatchEventObject>; export type TransferBatchEventFilter = TypedEventFilter; export interface TransferSingleEventObject { _operator: string; _from: string; _to: string; _id: BigNumber; _value: BigNumber; } export type TransferSingleEvent = TypedEvent<[ string, string, string, BigNumber, BigNumber ], TransferSingleEventObject>; export type TransferSingleEventFilter = TypedEventFilter; export interface URIEventObject { _value: string; _id: BigNumber; } export type URIEvent = TypedEvent<[string, BigNumber], URIEventObject>; export type URIEventFilter = TypedEventFilter; export interface RaribleToken extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: RaribleTokenInterface; 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: { /** * Get the balance of an account's Tokens. * @param _id ID of the Token * @param _owner The address of the token holder * @returns The _owner's balance of the Token type requested */ balanceOf(_owner: PromiseOrValue, _id: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber]>; /** * Get the balance of multiple account/token pairs * @param _ids ID of the Tokens * @param _owners The addresses of the token holders * @returns The _owner's balance of the Token types requested (i.e. balance for each (owner, id) pair) */ balanceOfBatch(_owners: PromiseOrValue[], _ids: PromiseOrValue[], overrides?: CallOverrides): Promise<[BigNumber[]]>; burn(_owner: PromiseOrValue, _id: PromiseOrValue, _value: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; contractURI(overrides?: CallOverrides): Promise<[string]>; creators(arg0: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; fees(arg0: PromiseOrValue, arg1: PromiseOrValue, overrides?: CallOverrides): Promise<[string, BigNumber] & { recipient: string; value: BigNumber; }>; getFeeBps(id: PromiseOrValue, overrides?: CallOverrides): Promise<[BigNumber[]]>; getFeeRecipients(id: PromiseOrValue, overrides?: CallOverrides): Promise<[string[]]>; /** * Queries the approval status of an operator for a given owner. * @param _operator Address of authorized operator * @param _owner The owner of the Tokens * @returns True if the operator is approved, false if not */ isApprovedForAll(_owner: PromiseOrValue, _operator: PromiseOrValue, overrides?: CallOverrides): Promise<[boolean]>; /** * Returns true if the caller is the current owner. */ isOwner(overrides?: CallOverrides): Promise<[boolean]>; isSigner(account: PromiseOrValue, overrides?: CallOverrides): Promise<[boolean]>; name(overrides?: CallOverrides): Promise<[string]>; /** * 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; renounceSigner(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard). MUST revert if `_to` is the zero address. MUST revert if length of `_ids` is not the same as length of `_values`. MUST revert if any of the balance(s) of the holder(s) for token(s) in `_ids` is lower than the respective amount(s) in `_values` sent to the recipient. MUST revert on any other error. MUST emit `TransferSingle` or `TransferBatch` event(s) such that all the balance changes are reflected (see "Safe Transfer Rules" section of the standard). Balance changes and events MUST follow the ordering of the arrays (_ids[0]/_values[0] before _ids[1]/_values[1], etc). After the above conditions for the transfer(s) in the batch are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call the relevant `ERC1155TokenReceiver` hook(s) on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard). * Transfers `_values` amount(s) of `_ids` from the `_from` address to the `_to` address specified (with safety call). * @param _data Additional data with no specified format, MUST be sent unaltered in call to the `ERC1155TokenReceiver` hook(s) on `_to` * @param _from Source address * @param _ids IDs of each token type (order and length must match _values array) * @param _to Target address * @param _values Transfer amounts per token type (order and length must match _ids array) */ safeBatchTransferFrom(_from: PromiseOrValue, _to: PromiseOrValue, _ids: PromiseOrValue[], _values: PromiseOrValue[], _data: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard). MUST revert if `_to` is the zero address. MUST revert if balance of holder for token `_id` is lower than the `_value` sent. MUST revert on any other error. MUST emit the `TransferSingle` event to reflect the balance change (see "Safe Transfer Rules" section of the standard). After the above conditions are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call `onERC1155Received` on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard). * Transfers `_value` amount of an `_id` from the `_from` address to the `_to` address specified (with safety call). * @param _data Additional data with no specified format, MUST be sent unaltered in call to `onERC1155Received` on `_to` * @param _from Source address * @param _id ID of the token type * @param _to Target address * @param _value Transfer amount */ safeTransferFrom(_from: PromiseOrValue, _to: PromiseOrValue, _id: PromiseOrValue, _value: PromiseOrValue, _data: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * MUST emit the ApprovalForAll event on success. * Enable or disable approval for a third party ("operator") to manage all of the caller's tokens. * @param _approved True if the operator is approved, false to revoke approval * @param _operator Address to add to the set of authorized operators */ setApprovalForAll(_operator: PromiseOrValue, _approved: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; setContractURI(contractURI: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; setTokenURIPrefix(tokenURIPrefix: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * See {IERC165-supportsInterface}. * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ supportsInterface(interfaceId: PromiseOrValue, overrides?: CallOverrides): Promise<[boolean]>; symbol(overrides?: CallOverrides): Promise<[string]>; tokenURIPrefix(overrides?: CallOverrides): Promise<[string]>; /** * 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; uri(_id: PromiseOrValue, overrides?: CallOverrides): Promise<[string]>; addSigner(account: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; removeSigner(account: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; mint(id: PromiseOrValue, v: PromiseOrValue, r: PromiseOrValue, s: PromiseOrValue, fees: ERC1155Base.FeeStruct[], supply: PromiseOrValue, uri: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; }; /** * Get the balance of an account's Tokens. * @param _id ID of the Token * @param _owner The address of the token holder * @returns The _owner's balance of the Token type requested */ balanceOf(_owner: PromiseOrValue, _id: PromiseOrValue, overrides?: CallOverrides): Promise; /** * Get the balance of multiple account/token pairs * @param _ids ID of the Tokens * @param _owners The addresses of the token holders * @returns The _owner's balance of the Token types requested (i.e. balance for each (owner, id) pair) */ balanceOfBatch(_owners: PromiseOrValue[], _ids: PromiseOrValue[], overrides?: CallOverrides): Promise; burn(_owner: PromiseOrValue, _id: PromiseOrValue, _value: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; contractURI(overrides?: CallOverrides): Promise; creators(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; fees(arg0: PromiseOrValue, arg1: PromiseOrValue, overrides?: CallOverrides): Promise<[string, BigNumber] & { recipient: string; value: BigNumber; }>; getFeeBps(id: PromiseOrValue, overrides?: CallOverrides): Promise; getFeeRecipients(id: PromiseOrValue, overrides?: CallOverrides): Promise; /** * Queries the approval status of an operator for a given owner. * @param _operator Address of authorized operator * @param _owner The owner of the Tokens * @returns True if the operator is approved, false if not */ isApprovedForAll(_owner: PromiseOrValue, _operator: PromiseOrValue, overrides?: CallOverrides): Promise; /** * Returns true if the caller is the current owner. */ isOwner(overrides?: CallOverrides): Promise; isSigner(account: PromiseOrValue, overrides?: CallOverrides): Promise; name(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; renounceSigner(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard). MUST revert if `_to` is the zero address. MUST revert if length of `_ids` is not the same as length of `_values`. MUST revert if any of the balance(s) of the holder(s) for token(s) in `_ids` is lower than the respective amount(s) in `_values` sent to the recipient. MUST revert on any other error. MUST emit `TransferSingle` or `TransferBatch` event(s) such that all the balance changes are reflected (see "Safe Transfer Rules" section of the standard). Balance changes and events MUST follow the ordering of the arrays (_ids[0]/_values[0] before _ids[1]/_values[1], etc). After the above conditions for the transfer(s) in the batch are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call the relevant `ERC1155TokenReceiver` hook(s) on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard). * Transfers `_values` amount(s) of `_ids` from the `_from` address to the `_to` address specified (with safety call). * @param _data Additional data with no specified format, MUST be sent unaltered in call to the `ERC1155TokenReceiver` hook(s) on `_to` * @param _from Source address * @param _ids IDs of each token type (order and length must match _values array) * @param _to Target address * @param _values Transfer amounts per token type (order and length must match _ids array) */ safeBatchTransferFrom(_from: PromiseOrValue, _to: PromiseOrValue, _ids: PromiseOrValue[], _values: PromiseOrValue[], _data: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard). MUST revert if `_to` is the zero address. MUST revert if balance of holder for token `_id` is lower than the `_value` sent. MUST revert on any other error. MUST emit the `TransferSingle` event to reflect the balance change (see "Safe Transfer Rules" section of the standard). After the above conditions are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call `onERC1155Received` on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard). * Transfers `_value` amount of an `_id` from the `_from` address to the `_to` address specified (with safety call). * @param _data Additional data with no specified format, MUST be sent unaltered in call to `onERC1155Received` on `_to` * @param _from Source address * @param _id ID of the token type * @param _to Target address * @param _value Transfer amount */ safeTransferFrom(_from: PromiseOrValue, _to: PromiseOrValue, _id: PromiseOrValue, _value: PromiseOrValue, _data: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * MUST emit the ApprovalForAll event on success. * Enable or disable approval for a third party ("operator") to manage all of the caller's tokens. * @param _approved True if the operator is approved, false to revoke approval * @param _operator Address to add to the set of authorized operators */ setApprovalForAll(_operator: PromiseOrValue, _approved: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; setContractURI(contractURI: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; setTokenURIPrefix(tokenURIPrefix: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * See {IERC165-supportsInterface}. * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ supportsInterface(interfaceId: PromiseOrValue, overrides?: CallOverrides): Promise; symbol(overrides?: CallOverrides): Promise; tokenURIPrefix(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?: Overrides & { from?: PromiseOrValue; }): Promise; uri(_id: PromiseOrValue, overrides?: CallOverrides): Promise; addSigner(account: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; removeSigner(account: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; mint(id: PromiseOrValue, v: PromiseOrValue, r: PromiseOrValue, s: PromiseOrValue, fees: ERC1155Base.FeeStruct[], supply: PromiseOrValue, uri: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; callStatic: { /** * Get the balance of an account's Tokens. * @param _id ID of the Token * @param _owner The address of the token holder * @returns The _owner's balance of the Token type requested */ balanceOf(_owner: PromiseOrValue, _id: PromiseOrValue, overrides?: CallOverrides): Promise; /** * Get the balance of multiple account/token pairs * @param _ids ID of the Tokens * @param _owners The addresses of the token holders * @returns The _owner's balance of the Token types requested (i.e. balance for each (owner, id) pair) */ balanceOfBatch(_owners: PromiseOrValue[], _ids: PromiseOrValue[], overrides?: CallOverrides): Promise; burn(_owner: PromiseOrValue, _id: PromiseOrValue, _value: PromiseOrValue, overrides?: CallOverrides): Promise; contractURI(overrides?: CallOverrides): Promise; creators(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; fees(arg0: PromiseOrValue, arg1: PromiseOrValue, overrides?: CallOverrides): Promise<[string, BigNumber] & { recipient: string; value: BigNumber; }>; getFeeBps(id: PromiseOrValue, overrides?: CallOverrides): Promise; getFeeRecipients(id: PromiseOrValue, overrides?: CallOverrides): Promise; /** * Queries the approval status of an operator for a given owner. * @param _operator Address of authorized operator * @param _owner The owner of the Tokens * @returns True if the operator is approved, false if not */ isApprovedForAll(_owner: PromiseOrValue, _operator: PromiseOrValue, overrides?: CallOverrides): Promise; /** * Returns true if the caller is the current owner. */ isOwner(overrides?: CallOverrides): Promise; isSigner(account: PromiseOrValue, overrides?: CallOverrides): Promise; name(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; renounceSigner(overrides?: CallOverrides): Promise; /** * Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard). MUST revert if `_to` is the zero address. MUST revert if length of `_ids` is not the same as length of `_values`. MUST revert if any of the balance(s) of the holder(s) for token(s) in `_ids` is lower than the respective amount(s) in `_values` sent to the recipient. MUST revert on any other error. MUST emit `TransferSingle` or `TransferBatch` event(s) such that all the balance changes are reflected (see "Safe Transfer Rules" section of the standard). Balance changes and events MUST follow the ordering of the arrays (_ids[0]/_values[0] before _ids[1]/_values[1], etc). After the above conditions for the transfer(s) in the batch are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call the relevant `ERC1155TokenReceiver` hook(s) on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard). * Transfers `_values` amount(s) of `_ids` from the `_from` address to the `_to` address specified (with safety call). * @param _data Additional data with no specified format, MUST be sent unaltered in call to the `ERC1155TokenReceiver` hook(s) on `_to` * @param _from Source address * @param _ids IDs of each token type (order and length must match _values array) * @param _to Target address * @param _values Transfer amounts per token type (order and length must match _ids array) */ safeBatchTransferFrom(_from: PromiseOrValue, _to: PromiseOrValue, _ids: PromiseOrValue[], _values: PromiseOrValue[], _data: PromiseOrValue, overrides?: CallOverrides): Promise; /** * Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard). MUST revert if `_to` is the zero address. MUST revert if balance of holder for token `_id` is lower than the `_value` sent. MUST revert on any other error. MUST emit the `TransferSingle` event to reflect the balance change (see "Safe Transfer Rules" section of the standard). After the above conditions are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call `onERC1155Received` on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard). * Transfers `_value` amount of an `_id` from the `_from` address to the `_to` address specified (with safety call). * @param _data Additional data with no specified format, MUST be sent unaltered in call to `onERC1155Received` on `_to` * @param _from Source address * @param _id ID of the token type * @param _to Target address * @param _value Transfer amount */ safeTransferFrom(_from: PromiseOrValue, _to: PromiseOrValue, _id: PromiseOrValue, _value: PromiseOrValue, _data: PromiseOrValue, overrides?: CallOverrides): Promise; /** * MUST emit the ApprovalForAll event on success. * Enable or disable approval for a third party ("operator") to manage all of the caller's tokens. * @param _approved True if the operator is approved, false to revoke approval * @param _operator Address to add to the set of authorized operators */ setApprovalForAll(_operator: PromiseOrValue, _approved: PromiseOrValue, overrides?: CallOverrides): Promise; setContractURI(contractURI: PromiseOrValue, overrides?: CallOverrides): Promise; setTokenURIPrefix(tokenURIPrefix: 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; symbol(overrides?: CallOverrides): Promise; tokenURIPrefix(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; uri(_id: PromiseOrValue, overrides?: CallOverrides): Promise; addSigner(account: PromiseOrValue, overrides?: CallOverrides): Promise; removeSigner(account: PromiseOrValue, overrides?: CallOverrides): Promise; mint(id: PromiseOrValue, v: PromiseOrValue, r: PromiseOrValue, s: PromiseOrValue, fees: ERC1155Base.FeeStruct[], supply: PromiseOrValue, uri: PromiseOrValue, overrides?: CallOverrides): Promise; }; filters: { "ApprovalForAll(address,address,bool)"(_owner?: PromiseOrValue | null, _operator?: PromiseOrValue | null, _approved?: null): ApprovalForAllEventFilter; ApprovalForAll(_owner?: PromiseOrValue | null, _operator?: PromiseOrValue | null, _approved?: null): ApprovalForAllEventFilter; "OwnershipTransferred(address,address)"(previousOwner?: PromiseOrValue | null, newOwner?: PromiseOrValue | null): OwnershipTransferredEventFilter; OwnershipTransferred(previousOwner?: PromiseOrValue | null, newOwner?: PromiseOrValue | null): OwnershipTransferredEventFilter; "SecondarySaleFees(uint256,address[],uint256[])"(tokenId?: null, recipients?: null, bps?: null): SecondarySaleFeesEventFilter; SecondarySaleFees(tokenId?: null, recipients?: null, bps?: null): SecondarySaleFeesEventFilter; "SignerAdded(address)"(account?: PromiseOrValue | null): SignerAddedEventFilter; SignerAdded(account?: PromiseOrValue | null): SignerAddedEventFilter; "SignerRemoved(address)"(account?: PromiseOrValue | null): SignerRemovedEventFilter; SignerRemoved(account?: PromiseOrValue | null): SignerRemovedEventFilter; "TransferBatch(address,address,address,uint256[],uint256[])"(_operator?: PromiseOrValue | null, _from?: PromiseOrValue | null, _to?: PromiseOrValue | null, _ids?: null, _values?: null): TransferBatchEventFilter; TransferBatch(_operator?: PromiseOrValue | null, _from?: PromiseOrValue | null, _to?: PromiseOrValue | null, _ids?: null, _values?: null): TransferBatchEventFilter; "TransferSingle(address,address,address,uint256,uint256)"(_operator?: PromiseOrValue | null, _from?: PromiseOrValue | null, _to?: PromiseOrValue | null, _id?: null, _value?: null): TransferSingleEventFilter; TransferSingle(_operator?: PromiseOrValue | null, _from?: PromiseOrValue | null, _to?: PromiseOrValue | null, _id?: null, _value?: null): TransferSingleEventFilter; "URI(string,uint256)"(_value?: null, _id?: PromiseOrValue | null): URIEventFilter; URI(_value?: null, _id?: PromiseOrValue | null): URIEventFilter; }; estimateGas: { /** * Get the balance of an account's Tokens. * @param _id ID of the Token * @param _owner The address of the token holder * @returns The _owner's balance of the Token type requested */ balanceOf(_owner: PromiseOrValue, _id: PromiseOrValue, overrides?: CallOverrides): Promise; /** * Get the balance of multiple account/token pairs * @param _ids ID of the Tokens * @param _owners The addresses of the token holders * @returns The _owner's balance of the Token types requested (i.e. balance for each (owner, id) pair) */ balanceOfBatch(_owners: PromiseOrValue[], _ids: PromiseOrValue[], overrides?: CallOverrides): Promise; burn(_owner: PromiseOrValue, _id: PromiseOrValue, _value: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; contractURI(overrides?: CallOverrides): Promise; creators(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; fees(arg0: PromiseOrValue, arg1: PromiseOrValue, overrides?: CallOverrides): Promise; getFeeBps(id: PromiseOrValue, overrides?: CallOverrides): Promise; getFeeRecipients(id: PromiseOrValue, overrides?: CallOverrides): Promise; /** * Queries the approval status of an operator for a given owner. * @param _operator Address of authorized operator * @param _owner The owner of the Tokens * @returns True if the operator is approved, false if not */ isApprovedForAll(_owner: PromiseOrValue, _operator: PromiseOrValue, overrides?: CallOverrides): Promise; /** * Returns true if the caller is the current owner. */ isOwner(overrides?: CallOverrides): Promise; isSigner(account: PromiseOrValue, overrides?: CallOverrides): Promise; name(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; renounceSigner(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard). MUST revert if `_to` is the zero address. MUST revert if length of `_ids` is not the same as length of `_values`. MUST revert if any of the balance(s) of the holder(s) for token(s) in `_ids` is lower than the respective amount(s) in `_values` sent to the recipient. MUST revert on any other error. MUST emit `TransferSingle` or `TransferBatch` event(s) such that all the balance changes are reflected (see "Safe Transfer Rules" section of the standard). Balance changes and events MUST follow the ordering of the arrays (_ids[0]/_values[0] before _ids[1]/_values[1], etc). After the above conditions for the transfer(s) in the batch are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call the relevant `ERC1155TokenReceiver` hook(s) on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard). * Transfers `_values` amount(s) of `_ids` from the `_from` address to the `_to` address specified (with safety call). * @param _data Additional data with no specified format, MUST be sent unaltered in call to the `ERC1155TokenReceiver` hook(s) on `_to` * @param _from Source address * @param _ids IDs of each token type (order and length must match _values array) * @param _to Target address * @param _values Transfer amounts per token type (order and length must match _ids array) */ safeBatchTransferFrom(_from: PromiseOrValue, _to: PromiseOrValue, _ids: PromiseOrValue[], _values: PromiseOrValue[], _data: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard). MUST revert if `_to` is the zero address. MUST revert if balance of holder for token `_id` is lower than the `_value` sent. MUST revert on any other error. MUST emit the `TransferSingle` event to reflect the balance change (see "Safe Transfer Rules" section of the standard). After the above conditions are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call `onERC1155Received` on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard). * Transfers `_value` amount of an `_id` from the `_from` address to the `_to` address specified (with safety call). * @param _data Additional data with no specified format, MUST be sent unaltered in call to `onERC1155Received` on `_to` * @param _from Source address * @param _id ID of the token type * @param _to Target address * @param _value Transfer amount */ safeTransferFrom(_from: PromiseOrValue, _to: PromiseOrValue, _id: PromiseOrValue, _value: PromiseOrValue, _data: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * MUST emit the ApprovalForAll event on success. * Enable or disable approval for a third party ("operator") to manage all of the caller's tokens. * @param _approved True if the operator is approved, false to revoke approval * @param _operator Address to add to the set of authorized operators */ setApprovalForAll(_operator: PromiseOrValue, _approved: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; setContractURI(contractURI: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; setTokenURIPrefix(tokenURIPrefix: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * See {IERC165-supportsInterface}. * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ supportsInterface(interfaceId: PromiseOrValue, overrides?: CallOverrides): Promise; symbol(overrides?: CallOverrides): Promise; tokenURIPrefix(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?: Overrides & { from?: PromiseOrValue; }): Promise; uri(_id: PromiseOrValue, overrides?: CallOverrides): Promise; addSigner(account: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; removeSigner(account: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; mint(id: PromiseOrValue, v: PromiseOrValue, r: PromiseOrValue, s: PromiseOrValue, fees: ERC1155Base.FeeStruct[], supply: PromiseOrValue, uri: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; }; populateTransaction: { /** * Get the balance of an account's Tokens. * @param _id ID of the Token * @param _owner The address of the token holder * @returns The _owner's balance of the Token type requested */ balanceOf(_owner: PromiseOrValue, _id: PromiseOrValue, overrides?: CallOverrides): Promise; /** * Get the balance of multiple account/token pairs * @param _ids ID of the Tokens * @param _owners The addresses of the token holders * @returns The _owner's balance of the Token types requested (i.e. balance for each (owner, id) pair) */ balanceOfBatch(_owners: PromiseOrValue[], _ids: PromiseOrValue[], overrides?: CallOverrides): Promise; burn(_owner: PromiseOrValue, _id: PromiseOrValue, _value: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; contractURI(overrides?: CallOverrides): Promise; creators(arg0: PromiseOrValue, overrides?: CallOverrides): Promise; fees(arg0: PromiseOrValue, arg1: PromiseOrValue, overrides?: CallOverrides): Promise; getFeeBps(id: PromiseOrValue, overrides?: CallOverrides): Promise; getFeeRecipients(id: PromiseOrValue, overrides?: CallOverrides): Promise; /** * Queries the approval status of an operator for a given owner. * @param _operator Address of authorized operator * @param _owner The owner of the Tokens * @returns True if the operator is approved, false if not */ isApprovedForAll(_owner: PromiseOrValue, _operator: PromiseOrValue, overrides?: CallOverrides): Promise; /** * Returns true if the caller is the current owner. */ isOwner(overrides?: CallOverrides): Promise; isSigner(account: PromiseOrValue, overrides?: CallOverrides): Promise; name(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; renounceSigner(overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard). MUST revert if `_to` is the zero address. MUST revert if length of `_ids` is not the same as length of `_values`. MUST revert if any of the balance(s) of the holder(s) for token(s) in `_ids` is lower than the respective amount(s) in `_values` sent to the recipient. MUST revert on any other error. MUST emit `TransferSingle` or `TransferBatch` event(s) such that all the balance changes are reflected (see "Safe Transfer Rules" section of the standard). Balance changes and events MUST follow the ordering of the arrays (_ids[0]/_values[0] before _ids[1]/_values[1], etc). After the above conditions for the transfer(s) in the batch are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call the relevant `ERC1155TokenReceiver` hook(s) on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard). * Transfers `_values` amount(s) of `_ids` from the `_from` address to the `_to` address specified (with safety call). * @param _data Additional data with no specified format, MUST be sent unaltered in call to the `ERC1155TokenReceiver` hook(s) on `_to` * @param _from Source address * @param _ids IDs of each token type (order and length must match _values array) * @param _to Target address * @param _values Transfer amounts per token type (order and length must match _ids array) */ safeBatchTransferFrom(_from: PromiseOrValue, _to: PromiseOrValue, _ids: PromiseOrValue[], _values: PromiseOrValue[], _data: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard). MUST revert if `_to` is the zero address. MUST revert if balance of holder for token `_id` is lower than the `_value` sent. MUST revert on any other error. MUST emit the `TransferSingle` event to reflect the balance change (see "Safe Transfer Rules" section of the standard). After the above conditions are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call `onERC1155Received` on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard). * Transfers `_value` amount of an `_id` from the `_from` address to the `_to` address specified (with safety call). * @param _data Additional data with no specified format, MUST be sent unaltered in call to `onERC1155Received` on `_to` * @param _from Source address * @param _id ID of the token type * @param _to Target address * @param _value Transfer amount */ safeTransferFrom(_from: PromiseOrValue, _to: PromiseOrValue, _id: PromiseOrValue, _value: PromiseOrValue, _data: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * MUST emit the ApprovalForAll event on success. * Enable or disable approval for a third party ("operator") to manage all of the caller's tokens. * @param _approved True if the operator is approved, false to revoke approval * @param _operator Address to add to the set of authorized operators */ setApprovalForAll(_operator: PromiseOrValue, _approved: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; setContractURI(contractURI: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; setTokenURIPrefix(tokenURIPrefix: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; /** * See {IERC165-supportsInterface}. * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ supportsInterface(interfaceId: PromiseOrValue, overrides?: CallOverrides): Promise; symbol(overrides?: CallOverrides): Promise; tokenURIPrefix(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?: Overrides & { from?: PromiseOrValue; }): Promise; uri(_id: PromiseOrValue, overrides?: CallOverrides): Promise; addSigner(account: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; removeSigner(account: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; mint(id: PromiseOrValue, v: PromiseOrValue, r: PromiseOrValue, s: PromiseOrValue, fees: ERC1155Base.FeeStruct[], supply: PromiseOrValue, uri: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; }; }