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
| Parameter | Type |
|---|---|
address | string |
view | ERC1155ContractView |
Returns
ERC1155BoundContractView
Inherited from
Properties
| Property | Type | Overrides | Inherited from |
|---|---|---|---|
address | string | - | BoundContractView.address |
callStatic | object | BoundContractView.callStatic | - |
callStatic.context | EthContext | - | - |
callStatic.view | ERC1155ContractView | - | - |
callStatic.safeBatchTransferFrom | Promise<void> | - | - |
callStatic.safeTransferFrom | Promise<void> | - | - |
callStatic.setApprovalForAll | Promise<void> | - | - |
context | EthContext | - | BoundContractView.context |
encodeCall | object | BoundContractView.encodeCall | - |
encodeCall.context | EthContext | - | - |
encodeCall.view | ERC1155ContractView | - | - |
encodeCall.balanceOf | EthCallParam | - | - |
encodeCall.balanceOfBatch | EthCallParam | - | - |
encodeCall.isApprovedForAll | EthCallParam | - | - |
encodeCall.safeBatchTransferFrom | EthCallParam | - | - |
encodeCall.safeTransferFrom | EthCallParam | - | - |
encodeCall.setApprovalForAll | EthCallParam | - | - |
encodeCall.supportsInterface | EthCallParam | - | - |
encodeCall.uri | EthCallParam | - | - |
Accessors
filters
Get Signature
get filters(): Record<string, ContractEvent<any[]>>;Returns
Record<string, ContractEvent<any[]>>
Inherited from
provider
Get Signature
get provider(): Provider;Returns
Provider
Inherited from
rawContract
Get Signature
get rawContract(): TContract;Returns
TContract
Inherited from
Methods
balanceOf()
balanceOf(
account: string,
id: BigNumberish,
overrides?: Overrides
): Promise<bigint>;Parameters
| Parameter | Type |
|---|---|
account | string |
id | BigNumberish |
overrides? | Overrides |
Returns
Promise<bigint>
balanceOfBatch()
balanceOfBatch(
accounts: string[],
ids: BigNumberish[],
overrides?: Overrides
): Promise<bigint[]>;Parameters
| Parameter | Type |
|---|---|
accounts | string[] |
ids | BigNumberish[] |
overrides? | Overrides |
Returns
Promise<bigint[]>
isApprovedForAll()
isApprovedForAll(
account: string,
operator: string,
overrides?: Overrides
): Promise<boolean>;Parameters
| Parameter | Type |
|---|---|
account | string |
operator | string |
overrides? | Overrides |
Returns
Promise<boolean>
supportsInterface()
supportsInterface(interfaceId: BytesLike, overrides?: Overrides): Promise<boolean>;Parameters
| Parameter | Type |
|---|---|
interfaceId | BytesLike |
overrides? | Overrides |
Returns
Promise<boolean>
uri()
uri(id: BigNumberish, overrides?: Overrides): Promise<string>;Parameters
| Parameter | Type |
|---|---|
id | BigNumberish |
overrides? | Overrides |
Returns
Promise<string>