Typeberry by Fluffy Labs - v0.4.0
Preparing search index...
lib
state_vectors
StateTransitionGenesis
Class StateTransitionGenesis
Index
Constructors
constructor
Properties
header
state
Codec
from
Json
Constructors
constructor
new
StateTransitionGenesis
()
:
StateTransitionGenesis
Returns
StateTransitionGenesis
Properties
header
header
:
Header
state
state
:
TestState
Static
Codec
Codec
:
Descriptor
<
{
header
:
Header
&
CodecRecord
<
Header
>
;
state
:
{
keyvals
:
{
key
:
Bytes
<
31
>
;
value
:
BytesBlob
}
[]
;
state_root
:
Bytes
<
32
>
&
pvm
.
WithOpaque
<
"StateRootHash"
>
;
}
;
}
,
ViewOf
<
{
header
:
Header
&
CodecRecord
<
Header
>
;
state
:
{
keyvals
:
{
key
:
Bytes
<
31
>
;
value
:
BytesBlob
}
[]
;
state_root
:
Bytes
<
32
>
&
pvm
.
WithOpaque
<
"StateRootHash"
>
;
}
;
}
,
SimpleDescriptorRecord
<
{
header
:
Header
&
CodecRecord
<
Header
>
;
state
:
{
keyvals
:
{
key
:
Bytes
<
31
>
;
value
:
BytesBlob
}
[]
;
state_root
:
Bytes
<
32
>
&
pvm
.
WithOpaque
<
"StateRootHash"
>
;
}
;
}
,
>
,
>
,
>
= ...
Static
from
Json
fromJson
:
|
FromJsonWithParser
<
string
,
StateTransitionGenesis
>
|
FromJsonWithParser
<
number
,
StateTransitionGenesis
>
|
FromJsonWithParser
<
unknown
,
StateTransitionGenesis
>
|
ObjectFromJson
<
StateTransitionGenesis
>
|
FromJsonOptional
<
StateTransitionGenesis
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
header
state
Codec
from
Json
Typeberry by Fluffy Labs - v0.4.0
Loading...