ERC20BytesBoundContractView
Class in @sentio/sdk/eth/builtin › erc20bytes
Defined in @sentio/sdk/eth/builtin › erc20bytes
Extends
Constructors
Constructor
new ERC20BytesBoundContractView(address: string, view: ERC20BytesContractView): ERC20BytesBoundContractView;Parameters
| Parameter | Type |
|---|---|
address | string |
view | ERC20BytesContractView |
Returns
ERC20BytesBoundContractView
Inherited from
Properties
| Property | Type | Overrides | Inherited from |
|---|---|---|---|
address | string | - | BoundContractView.address |
callStatic | object | BoundContractView.callStatic | - |
callStatic.context | EthContext | - | - |
callStatic.view | ERC20BytesContractView | - | - |
callStatic.approve | Promise<boolean> | - | - |
callStatic.transfer | Promise<boolean> | - | - |
callStatic.transferFrom | Promise<boolean> | - | - |
context | EthContext | - | BoundContractView.context |
encodeCall | object | BoundContractView.encodeCall | - |
encodeCall.context | EthContext | - | - |
encodeCall.view | ERC20BytesContractView | - | - |
encodeCall.allowance | EthCallParam | - | - |
encodeCall.approve | EthCallParam | - | - |
encodeCall.balanceOf | EthCallParam | - | - |
encodeCall.decimals | EthCallParam | - | - |
encodeCall.name | EthCallParam | - | - |
encodeCall.symbol | EthCallParam | - | - |
encodeCall.totalSupply | EthCallParam | - | - |
encodeCall.transfer | EthCallParam | - | - |
encodeCall.transferFrom | 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
allowance()
allowance(
owner: string,
spender: string,
overrides?: Overrides
): Promise<bigint>;Parameters
| Parameter | Type |
|---|---|
owner | string |
spender | string |
overrides? | Overrides |
Returns
Promise<bigint>
balanceOf()
balanceOf(who: string, overrides?: Overrides): Promise<bigint>;Parameters
| Parameter | Type |
|---|---|
who | string |
overrides? | Overrides |
Returns
Promise<bigint>
decimals()
decimals(overrides?: Overrides): Promise<bigint>;Parameters
| Parameter | Type |
|---|---|
overrides? | Overrides |
Returns
Promise<bigint>
name()
name(overrides?: Overrides): Promise<string>;Parameters
| Parameter | Type |
|---|---|
overrides? | Overrides |
Returns
Promise<string>
symbol()
symbol(overrides?: Overrides): Promise<string>;Parameters
| Parameter | Type |
|---|---|
overrides? | Overrides |
Returns
Promise<string>
totalSupply()
totalSupply(overrides?: Overrides): Promise<bigint>;Parameters
| Parameter | Type |
|---|---|
overrides? | Overrides |
Returns
Promise<bigint>