Search
Preparing search index...
The search index is not available
iotex-antenna
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"token/xrc20"
XRC20
Class XRC20
Hierarchy
XRC20
Index
Constructors
constructor
Properties
address
contract
methods
token
Decimals
token
Name
token
Symbol
token
Total
Supply
Methods
allowance
approve
balance
Of
decimals
decode
execute
Method
name
read
Method
symbol
total
Supply
transfer
transfer
From
Constructors
constructor
new XRC20
(
address
:
string
, options
?:
Options
)
:
XRC20
Parameters
address:
string
Optional
options:
Options
Returns
XRC20
Properties
address
address
:
string
Private
contract
contract
:
Contract
Private
methods
methods
:
object
Type declaration
[
key:
string
]:
Method
Private
token
Decimals
token
Decimals
:
BigNumber
Private
token
Name
token
Name
:
string
Private
token
Symbol
token
Symbol
:
string
Private
token
Total
Supply
token
Total
Supply
:
BigNumber
Methods
allowance
allowance
(
owner
:
string
, spender
:
string
, options
:
ExecuteOption
)
:
Promise
<
string
>
Parameters
owner:
string
spender:
string
options:
ExecuteOption
Returns
Promise
<
string
>
approve
approve
(
spender
:
string
, value
:
BigNumber
, options
:
ExecuteOption
)
:
Promise
<
string
>
Parameters
spender:
string
value:
BigNumber
options:
ExecuteOption
Returns
Promise
<
string
>
balance
Of
balance
Of
(
owner
:
string
)
:
Promise
<
BigNumber
>
Parameters
owner:
string
Returns
Promise
<
BigNumber
>
decimals
decimals
(
)
:
Promise
<
BigNumber
>
Returns
Promise
<
BigNumber
>
decode
decode
(
data
:
string
)
:
DecodeData
Parameters
data:
string
Returns
DecodeData
Private
execute
Method
execute
Method
(
method
:
string
, account
:
Account
, gasPrice
:
string
, gasLimit
:
string
, amount
:
string
,
...
args
:
any
[]
)
:
string
Parameters
method:
string
account:
Account
gasPrice:
string
gasLimit:
string
amount:
string
Rest
...
args:
any
[]
Returns
string
name
name
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
Private
read
Method
read
Method
(
method
:
string
, callerAddress
:
string
,
...
args
:
any
[]
)
:
Promise
<
string
>
Parameters
method:
string
callerAddress:
string
Rest
...
args:
any
[]
Returns
Promise
<
string
>
symbol
symbol
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
total
Supply
total
Supply
(
)
:
Promise
<
BigNumber
>
Returns
Promise
<
BigNumber
>
transfer
transfer
(
to
:
string
, value
:
BigNumber
, options
:
ExecuteOption
)
:
Promise
<
string
>
Parameters
to:
string
value:
BigNumber
options:
ExecuteOption
Returns
Promise
<
string
>
transfer
From
transfer
From
(
from
:
string
, to
:
string
, value
:
BigNumber
, options
:
ExecuteOption
)
:
Promise
<
string
>
Parameters
from:
string
to:
string
value:
BigNumber
options:
ExecuteOption
Returns
Promise
<
string
>
Globals
"account/account"
"account/accounts"
"account/utils"
"account/wallet"
"action/envelop"
"action/method"
"action/types"
"antenna"
"contract/abi"
"contract/abi-
to-
byte"
"contract/contract"
"crypto/address"
"crypto/crypto"
"crypto/hash"
"index"
"iotx"
"plugin/ws"
"rpc-
method/browser-
rpc-
method"
"rpc-
method/node-
rpc-
method"
"rpc-
method/root-
certs"
"rpc-
method/types"
"token/abi"
"token/xrc20"
"types"
XRC20
constructor
address
contract
methods
token
Decimals
token
Name
token
Symbol
token
Total
Supply
allowance
approve
balance
Of
decimals
decode
execute
Method
name
read
Method
symbol
total
Supply
transfer
transfer
From
Decode
Data
Execute
Option
Method
Generated using
TypeDoc