@sentio/sdk
Preparing search index...
eth/builtin
weth9
WETH9BoundContractView
Class WETH9BoundContractView
Hierarchy (
View Summary
)
BoundContractView
<
WETH9
,
WETH9ContractView
>
WETH9BoundContractView
Index
Constructors
constructor
Properties
address
call
Static
context
encode
Call
view
Accessors
filters
provider
raw
Contract
Methods
allowance
balance
Of
decimals
name
symbol
total
Supply
Constructors
constructor
new
WETH9BoundContractView
(
address
:
string
,
view
:
WETH9ContractView
,
)
:
WETH9BoundContractView
Parameters
address
:
string
view
:
WETH9ContractView
Returns
WETH9BoundContractView
Properties
address
address
:
string
call
Static
callStatic
:
{
context
:
EthContext
;
view
:
WETH9ContractView
;
approve
(
guy
:
string
,
wad
:
BigNumberish
,
overrides
?:
Overrides
,
)
:
Promise
<
boolean
>
;
deposit
(
overrides
?:
Overrides
)
:
Promise
<
void
>
;
transfer
(
dst
:
string
,
wad
:
BigNumberish
,
overrides
?:
Overrides
,
)
:
Promise
<
boolean
>
;
transferFrom
(
src
:
string
,
dst
:
string
,
wad
:
BigNumberish
,
overrides
?:
Overrides
,
)
:
Promise
<
boolean
>
;
withdraw
(
wad
:
BigNumberish
,
overrides
?:
Overrides
)
:
Promise
<
void
>
;
}
= ...
context
context
:
EthContext
encode
Call
encodeCall
:
{
context
:
EthContext
;
view
:
WETH9ContractView
;
allowance
(
arg0
:
string
,
arg1
:
string
,
overrides
?:
Overrides
)
:
EthCallParam
;
approve
(
guy
:
string
,
wad
:
BigNumberish
,
overrides
?:
Overrides
,
)
:
EthCallParam
;
balanceOf
(
arg0
:
string
,
overrides
?:
Overrides
)
:
EthCallParam
;
decimals
(
overrides
?:
Overrides
)
:
EthCallParam
;
deposit
(
overrides
?:
Overrides
)
:
EthCallParam
;
name
(
overrides
?:
Overrides
)
:
EthCallParam
;
symbol
(
overrides
?:
Overrides
)
:
EthCallParam
;
totalSupply
(
overrides
?:
Overrides
)
:
EthCallParam
;
transfer
(
dst
:
string
,
wad
:
BigNumberish
,
overrides
?:
Overrides
,
)
:
EthCallParam
;
transferFrom
(
src
:
string
,
dst
:
string
,
wad
:
BigNumberish
,
overrides
?:
Overrides
,
)
:
EthCallParam
;
withdraw
(
wad
:
BigNumberish
,
overrides
?:
Overrides
)
:
EthCallParam
;
}
= ...
Protected
view
view
:
WETH9ContractView
Accessors
filters
get
filters
()
:
Record
<
string
,
ContractEvent
<
any
[]
>
>
Returns
Record
<
string
,
ContractEvent
<
any
[]
>
>
provider
get
provider
()
:
Provider
Returns
Provider
raw
Contract
get
rawContract
()
:
TContract
Returns
TContract
Methods
allowance
allowance
(
arg0
:
string
,
arg1
:
string
,
overrides
?:
Overrides
)
:
Promise
<
bigint
>
Parameters
arg0
:
string
arg1
:
string
Optional
overrides
:
Overrides
Returns
Promise
<
bigint
>
balance
Of
balanceOf
(
arg0
:
string
,
overrides
?:
Overrides
)
:
Promise
<
bigint
>
Parameters
arg0
:
string
Optional
overrides
:
Overrides
Returns
Promise
<
bigint
>
decimals
decimals
(
overrides
?:
Overrides
)
:
Promise
<
bigint
>
Parameters
Optional
overrides
:
Overrides
Returns
Promise
<
bigint
>
name
name
(
overrides
?:
Overrides
)
:
Promise
<
string
>
Parameters
Optional
overrides
:
Overrides
Returns
Promise
<
string
>
symbol
symbol
(
overrides
?:
Overrides
)
:
Promise
<
string
>
Parameters
Optional
overrides
:
Overrides
Returns
Promise
<
string
>
total
Supply
totalSupply
(
overrides
?:
Overrides
)
:
Promise
<
bigint
>
Parameters
Optional
overrides
:
Overrides
Returns
Promise
<
bigint
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
address
call
Static
context
encode
Call
view
Accessors
filters
provider
raw
Contract
Methods
allowance
balance
Of
decimals
name
symbol
total
Supply
@sentio/sdk
Loading...