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

ParameterType
addressstring
viewWETH9ContractView

Returns

WETH9BoundContractView

Inherited from

BoundContractView.constructor

Properties

PropertyTypeOverridesInherited from
addressstring-BoundContractView.address
callStaticobjectBoundContractView.callStatic-
callStatic.contextEthContext--
callStatic.viewWETH9ContractView--
callStatic.approvePromise<boolean>--
callStatic.depositPromise<void>--
callStatic.transferPromise<boolean>--
callStatic.transferFromPromise<boolean>--
callStatic.withdrawPromise<void>--
contextEthContext-BoundContractView.context
encodeCallobjectBoundContractView.encodeCall-
encodeCall.contextEthContext--
encodeCall.viewWETH9ContractView--
encodeCall.allowanceEthCallParam--
encodeCall.approveEthCallParam--
encodeCall.balanceOfEthCallParam--
encodeCall.decimalsEthCallParam--
encodeCall.depositEthCallParam--
encodeCall.nameEthCallParam--
encodeCall.symbolEthCallParam--
encodeCall.totalSupplyEthCallParam--
encodeCall.transferEthCallParam--
encodeCall.transferFromEthCallParam--
encodeCall.withdrawEthCallParam--

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

allowance()

allowance(
   arg0: string, 
   arg1: string, 
   overrides?: Overrides
): Promise<bigint>;

Parameters

ParameterType
arg0string
arg1string
overrides?Overrides

Returns

Promise<bigint>


balanceOf()

balanceOf(arg0: string, overrides?: Overrides): Promise<bigint>;

Parameters

ParameterType
arg0string
overrides?Overrides

Returns

Promise<bigint>


decimals()

decimals(overrides?: Overrides): Promise<bigint>;

Parameters

ParameterType
overrides?Overrides

Returns

Promise<bigint>


name()

name(overrides?: Overrides): Promise<string>;

Parameters

ParameterType
overrides?Overrides

Returns

Promise<string>


symbol()

symbol(overrides?: Overrides): Promise<string>;

Parameters

ParameterType
overrides?Overrides

Returns

Promise<string>


totalSupply()

totalSupply(overrides?: Overrides): Promise<bigint>;

Parameters

ParameterType
overrides?Overrides

Returns

Promise<bigint>

On this page