Search
Preparing search index...
The search index is not available
Home
ContractService
Class ContractService
Hierarchy
Service
ContractService
Index
Methods
call
Contract
destroy
init
process
Contracts
Logs
register
Contract
Methods
call
Contract
call
Contract
(
to
:
string
, data
:
string
)
:
Promise
<
string
>
Parameters
to:
string
data:
string
Returns
Promise
<
string
>
destroy
destroy
(
)
:
void
Returns
void
init
init
(
context
:
Context
)
:
void
Parameters
context:
Context
Returns
void
process
Contracts
Logs
process
Contracts
Logs
(
logs
:
ContractLog
[]
)
:
ContractEvent
[]
Parameters
logs:
ContractLog
[]
Returns
ContractEvent
[]
register
Contract
register
Contract<T>
(
name
:
string
, abi
:
any
, addresses
:
ContractAddresses
)
:
Contract
&
Partial
<
T
>
Type parameters
T
:
{}
Parameters
name:
string
abi:
any
addresses:
ContractAddresses
Returns
Contract
&
Partial
<
T
>
Globals
Contract
Service
call
Contract
destroy
init
process
Contracts
Logs
register
Contract