ERC1155BoundContractView

Class in @sentio/sdk/eth/builtin › erc1155

Defined in @sentio/sdk/eth/builtin › erc1155

Extends

Constructors

Constructor

new ERC1155BoundContractView(address: string, view: ERC1155ContractView): ERC1155BoundContractView;

Parameters

ParameterType
addressstring
viewERC1155ContractView

Returns

ERC1155BoundContractView

Inherited from

BoundContractView.constructor

Properties

PropertyTypeOverridesInherited from
addressstring-BoundContractView.address
callStaticobjectBoundContractView.callStatic-
callStatic.contextEthContext--
callStatic.viewERC1155ContractView--
callStatic.safeBatchTransferFromPromise<void>--
callStatic.safeTransferFromPromise<void>--
callStatic.setApprovalForAllPromise<void>--
contextEthContext-BoundContractView.context
encodeCallobjectBoundContractView.encodeCall-
encodeCall.contextEthContext--
encodeCall.viewERC1155ContractView--
encodeCall.balanceOfEthCallParam--
encodeCall.balanceOfBatchEthCallParam--
encodeCall.isApprovedForAllEthCallParam--
encodeCall.safeBatchTransferFromEthCallParam--
encodeCall.safeTransferFromEthCallParam--
encodeCall.setApprovalForAllEthCallParam--
encodeCall.supportsInterfaceEthCallParam--
encodeCall.uriEthCallParam--

Accessors

filters

Get Signature

get filters(): Record<string, ContractEvent<any[]>>;
Returns

Record<string, ContractEvent<any[]>>

Inherited from

BoundContractView.filters


provider

Get Signature

get provider(): Provider;
Returns

Provider

Inherited from

BoundContractView.provider


rawContract

Get Signature

get rawContract(): TContract;
Returns

TContract

Inherited from

BoundContractView.rawContract

Methods

balanceOf()

balanceOf(
   account: string, 
   id: BigNumberish, 
   overrides?: Overrides
): Promise<bigint>;

Parameters

ParameterType
accountstring
idBigNumberish
overrides?Overrides

Returns

Promise<bigint>


balanceOfBatch()

balanceOfBatch(
   accounts: string[], 
   ids: BigNumberish[], 
   overrides?: Overrides
): Promise<bigint[]>;

Parameters

ParameterType
accountsstring[]
idsBigNumberish[]
overrides?Overrides

Returns

Promise<bigint[]>


isApprovedForAll()

isApprovedForAll(
   account: string, 
   operator: string, 
   overrides?: Overrides
): Promise<boolean>;

Parameters

ParameterType
accountstring
operatorstring
overrides?Overrides

Returns

Promise<boolean>


supportsInterface()

supportsInterface(interfaceId: BytesLike, overrides?: Overrides): Promise<boolean>;

Parameters

ParameterType
interfaceIdBytesLike
overrides?Overrides

Returns

Promise<boolean>


uri()

uri(id: BigNumberish, overrides?: Overrides): Promise<string>;

Parameters

ParameterType
idBigNumberish
overrides?Overrides

Returns

Promise<string>

On this page