ERC20BoundContractView
Class in @sentio/sdk/eth/builtin › erc20
Defined in @sentio/sdk/eth/builtin › erc20
Extends
Constructors
Constructor
new ERC20BoundContractView(address: string, view: ERC20ContractView): ERC20BoundContractView;Parameters
| Parameter | Type |
|---|---|
address | string |
view | ERC20ContractView |
Returns
ERC20BoundContractView
Inherited from
Properties
| Property | Type | Overrides | Inherited from |
|---|---|---|---|
address | string | - | BoundContractView.address |
callStatic | object | BoundContractView.callStatic | - |
callStatic.context | EthContext | - | - |
callStatic.view | ERC20ContractView | - | - |
callStatic.approve | Promise<boolean> | - | - |
callStatic.burn | Promise<void> | - | - |
callStatic.burnFrom | Promise<void> | - | - |
callStatic.decreaseAllowance | Promise<boolean> | - | - |
callStatic.increaseAllowance | Promise<boolean> | - | - |
callStatic.renounceOwnership | Promise<void> | - | - |
callStatic.setLocker | Promise<void> | - | - |
callStatic.transfer | Promise<boolean> | - | - |
callStatic.transferFrom | Promise<boolean> | - | - |
callStatic.transferOwnership | Promise<void> | - | - |
context | EthContext | - | BoundContractView.context |
encodeCall | object | BoundContractView.encodeCall | - |
encodeCall.context | EthContext | - | - |
encodeCall.view | ERC20ContractView | - | - |
encodeCall.allowance | EthCallParam | - | - |
encodeCall.approve | EthCallParam | - | - |
encodeCall.balanceOf | EthCallParam | - | - |
encodeCall.burn | EthCallParam | - | - |
encodeCall.burnFrom | EthCallParam | - | - |
encodeCall.decimals | EthCallParam | - | - |
encodeCall.decreaseAllowance | EthCallParam | - | - |
encodeCall.increaseAllowance | EthCallParam | - | - |
encodeCall.locker | EthCallParam | - | - |
encodeCall.name | EthCallParam | - | - |
encodeCall.owner | EthCallParam | - | - |
encodeCall.renounceOwnership | EthCallParam | - | - |
encodeCall.setLocker | EthCallParam | - | - |
encodeCall.symbol | EthCallParam | - | - |
encodeCall.totalSupply | EthCallParam | - | - |
encodeCall.transfer | EthCallParam | - | - |
encodeCall.transferFrom | EthCallParam | - | - |
encodeCall.transferOwnership | 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(account: string, overrides?: Overrides): Promise<bigint>;Parameters
| Parameter | Type |
|---|---|
account | string |
overrides? | Overrides |
Returns
Promise<bigint>
decimals()
decimals(overrides?: Overrides): Promise<bigint>;Parameters
| Parameter | Type |
|---|---|
overrides? | Overrides |
Returns
Promise<bigint>
locker()
locker(overrides?: Overrides): Promise<string>;Parameters
| Parameter | Type |
|---|---|
overrides? | Overrides |
Returns
Promise<string>
name()
name(overrides?: Overrides): Promise<string>;Parameters
| Parameter | Type |
|---|---|
overrides? | Overrides |
Returns
Promise<string>
owner()
owner(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>