Search
Preparing search index...
The search index is not available
Harmony_SDK_Doc
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
harmony-contract
Contract
Class Contract
Hierarchy
Contract
Index
Constructors
constructor
Properties
abi
Coder
abi
Model
events
methods
options
shardID
status
transaction
wallet
Accessors
address
data
json
Interface
Methods
connect
deploy
is
Called
is
Deployed
is
Initialised
is
Rejected
is
Sent
is
Signed
run
Event
Factory
run
Method
Factory
set
Messegner
set
Status
Constructors
constructor
new
Contract
(
abi
?:
any
, address
?:
string
, options
?:
ContractOptions
, wallet
:
Wallet
, status
?:
ContractStatus
)
:
Contract
Parameters
Default value
abi:
any
= []
Default value
address:
string
= "0x"
Default value
options:
ContractOptions
= {}
wallet:
Wallet
Default value
status:
ContractStatus
= ContractStatus.INITIALISED
Returns
Contract
Properties
abi
Coder
abi
Coder
:
AbiCoderClass
abi
Model
abi
Model
:
any
|
AbiModel
events
events
:
any
methods
methods
:
any
options
options
:
ContractOptions
|
any
shardID
shardID
:
number
status
status
:
ContractStatus
Optional
transaction
transaction
:
Transaction
wallet
wallet
:
Wallet
|
any
Accessors
address
get
address
(
)
:
string
set
address
(
value
:
string
)
:
void
Returns
string
Parameters
value:
string
Returns
void
data
get
data
(
)
:
any
set
data
(
value
:
any
)
:
void
Returns
any
Parameters
value:
any
Returns
void
json
Interface
get
jsonInterface
(
)
:
any
[]
set
jsonInterface
(
value
:
any
[]
)
:
void
Returns
any
[]
Parameters
value:
any
[]
Returns
void
Methods
connect
connect
(
wallet
:
Wallet
)
:
void
Parameters
wallet:
Wallet
Returns
void
deploy
deploy
(
options
:
any
)
:
any
Parameters
options:
any
Returns
any
is
Called
is
Called
(
)
:
boolean
Returns
boolean
is
Deployed
is
Deployed
(
)
:
boolean
Returns
boolean
is
Initialised
is
Initialised
(
)
:
boolean
Returns
boolean
is
Rejected
is
Rejected
(
)
:
boolean
Returns
boolean
is
Sent
is
Sent
(
)
:
boolean
Returns
boolean
is
Signed
is
Signed
(
)
:
boolean
Returns
boolean
run
Event
Factory
run
Event
Factory
(
)
:
Contract
Returns
Contract
run
Method
Factory
run
Method
Factory
(
)
:
Contract
Returns
Contract
set
Messegner
set
Messegner
(
messenger
:
Messenger
)
:
void
Parameters
messenger:
Messenger
Returns
void
set
Status
set
Status
(
status
:
ContractStatus
)
:
void
Parameters
status:
ContractStatus
Returns
void
Globals
harmony-
account
harmony-
contract
harmony-
core
harmony-
crypto
harmony-
network
harmony-
staking
harmony-
transaction
harmony-
utils
Contract
constructor
abi
Coder
abi
Model
events
methods
options
shardID
status
transaction
wallet
address
data
json
Interface
connect
deploy
is
Called
is
Deployed
is
Initialised
is
Rejected
is
Sent
is
Signed
run
Event
Factory
run
Method
Factory
set
Messegner
set
Status
Contract
Factory
Contract
Method
Event
Method
Generated using
TypeDoc