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