Search
Preparing search index...
The search index is not available
redstone-smartweave
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
redstone-smartweave
ContractDefinitionLoader
Class ContractDefinitionLoader
Hierarchy
ContractDefinitionLoader
Implements
DefinitionLoader
Index
Constructors
constructor
Methods
do
Load
eval
Initial
State
load
Constructors
constructor
new
Contract
Definition
Loader
(
arweave
:
default
, cache
?:
SwCache
<
string
,
ContractDefinition
<
unknown
>
>
)
:
ContractDefinitionLoader
Parameters
arweave:
default
Optional
cache:
SwCache
<
string
,
ContractDefinition
<
unknown
>
>
Returns
ContractDefinitionLoader
Methods
do
Load
do
Load<State>
(
contractTxId
:
string
, forcedSrcTxId
?:
string
)
:
Promise
<
ContractDefinition
<
State
>
>
Type parameters
State
Parameters
contractTxId:
string
Optional
forcedSrcTxId:
string
Returns
Promise
<
ContractDefinition
<
State
>
>
Private
eval
Initial
State
eval
Initial
State
(
contractTx
:
default
)
:
Promise
<
any
>
Parameters
contractTx:
default
Returns
Promise
<
any
>
load
load<State>
(
contractTxId
:
string
, forcedSrcTxId
?:
string
)
:
Promise
<
ContractDefinition
<
State
>
>
Type parameters
State
Parameters
contractTxId:
string
Optional
forcedSrcTxId:
string
Returns
Promise
<
ContractDefinition
<
State
>
>
Exports
Contract
Definition
Loader
constructor
do
Load
eval
Initial
State
load
Generated using
TypeDoc