Interface IERC1155

Hierarchy

  • BaseContract
    • IERC1155

Properties

[internal]: any
balanceOf: TypedContractMethod<[account: AddressLike, id: BigNumberish], [bigint], "view">
balanceOfBatch: TypedContractMethod<[accounts: AddressLike[], ids: BigNumberish[]], [bigint[]], "view">
fallback: null | WrappedFallback
filters: {
    ApprovalForAll: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    ApprovalForAll(address,address,bool): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    TransferBatch: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    TransferBatch(address,address,address,uint256[],uint256[]): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    TransferSingle: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    TransferSingle(address,address,address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
}

Type declaration

  • ApprovalForAll: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • ApprovalForAll(address,address,bool): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • TransferBatch: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • TransferBatch(address,address,address,uint256[],uint256[]): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • TransferSingle: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
  • TransferSingle(address,address,address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
interface: IERC1155Interface
isApprovedForAll: TypedContractMethod<[account: AddressLike, operator: AddressLike], [boolean], "view">
runner: null | ContractRunner
safeBatchTransferFrom: TypedContractMethod<[from: AddressLike, to: AddressLike, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike], [void], "nonpayable">
safeTransferFrom: TypedContractMethod<[from: AddressLike, to: AddressLike, id: BigNumberish, amount: BigNumberish, data: BytesLike], [void], "nonpayable">
setApprovalForAll: TypedContractMethod<[operator: AddressLike, status: boolean], [void], "nonpayable">
supportsInterface: TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">
target: string | Addressable

Methods

  • Parameters

    • event: ContractEventName
    • listener: Listener

    Returns Promise<IERC1155>

  • Parameters

    • addressOrName: AddressLike

    Returns IERC1155

  • Parameters

    • Optional runner: null | ContractRunner

    Returns BaseContract

  • Returns Promise<IERC1155>

  • Returns null | ContractTransactionResponse

  • Parameters

    • event: ContractEventName
    • Rest ...args: any[]

    Returns Promise<boolean>

  • Returns Promise<string>

  • Returns Promise<null | string>

  • Parameters

    • key: "ApprovalForAll"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "TransferBatch"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Parameters

    • key: "TransferSingle"

    Returns TypedContractEvent<InputTuple, OutputTuple, OutputObject>

  • Type Parameters

    • T extends ContractMethod<any[], any, any, T> = ContractMethod<any[], any, any>

    Parameters

    • key: string | FunctionFragment

    Returns T

  • Parameters

    • nameOrSignature: "balanceOf"

    Returns TypedContractMethod<[account: AddressLike, id: BigNumberish], [bigint], "view">

  • Parameters

    • nameOrSignature: "balanceOfBatch"

    Returns TypedContractMethod<[accounts: AddressLike[], ids: BigNumberish[]], [bigint[]], "view">

  • Parameters

    • nameOrSignature: "isApprovedForAll"

    Returns TypedContractMethod<[account: AddressLike, operator: AddressLike], [boolean], "view">

  • Parameters

    • nameOrSignature: "safeBatchTransferFrom"

    Returns TypedContractMethod<[from: AddressLike, to: AddressLike, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "safeTransferFrom"

    Returns TypedContractMethod<[from: AddressLike, to: AddressLike, id: BigNumberish, amount: BigNumberish, data: BytesLike], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "setApprovalForAll"

    Returns TypedContractMethod<[operator: AddressLike, status: boolean], [void], "nonpayable">

  • Parameters

    • nameOrSignature: "supportsInterface"

    Returns TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">

  • Parameters

    • Optional event: ContractEventName

    Returns Promise<number>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • event: TCEvent

    Returns Promise<TypedListener<TCEvent>[]>

  • Parameters

    • Optional eventName: string

    Returns Promise<Listener[]>

  • Parameters

    • event: ContractEventName
    • Optional listener: Listener

    Returns Promise<IERC1155>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • event: TCEvent
    • listener: TypedListener<TCEvent>

    Returns Promise<IERC1155>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • filter: TypedDeferredTopicFilter<TCEvent>
    • listener: TypedListener<TCEvent>

    Returns Promise<IERC1155>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • event: TCEvent
    • listener: TypedListener<TCEvent>

    Returns Promise<IERC1155>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • filter: TypedDeferredTopicFilter<TCEvent>
    • listener: TypedListener<TCEvent>

    Returns Promise<IERC1155>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • event: TCEvent
    • Optional fromBlockOrBlockhash: string | number
    • Optional toBlock: string | number

    Returns Promise<TypedEventLog<TCEvent>[]>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • filter: TypedDeferredTopicFilter<TCEvent>
    • Optional fromBlockOrBlockhash: string | number
    • Optional toBlock: string | number

    Returns Promise<TypedEventLog<TCEvent>[]>

  • Parameters

    • hash: string

    Returns Promise<EventLog[]>

  • Type Parameters

    • TCEvent extends TypedContractEvent<any, any, any, TCEvent>

    Parameters

    • Optional event: TCEvent

    Returns Promise<IERC1155>

  • Parameters

    • event: ContractEventName
    • listener: Listener

    Returns Promise<IERC1155>

  • Returns Promise<IERC1155>

Generated using TypeDoc