Typeberry by Fluffy Labs - v0.4.0
Preparing search index...
lib
state_merkleization
serialize
serviceData
Function serviceData
serviceData
(
serviceId
:
number
&
WithBytesRepresentation
<
4
>
&
pvm
.
WithOpaque
<
"ServiceId[u32]"
,
>
,
)
:
{
Codec
:
Descriptor
<
ServiceAccountInfo
,
ViewOf
<
ServiceAccountInfo
,
{
accumulateMinGas
:
Descriptor
<
bigint
&
WithBytesRepresentation
<
8
>
&
pvm
.
WithOpaque
<
"ServiceGas[u64]"
,
>
,
Bytes
<
8
>
,
>
;
balance
:
Descriptor
<
U64
,
Bytes
<
8
>
>
;
codeHash
:
Descriptor
<
Bytes
<
32
>
&
pvm
.
WithOpaque
<
"CodeHash"
>
,
Bytes
<
32
>
>
;
created
:
Descriptor
<
number
&
WithBytesRepresentation
<
4
>
&
pvm
.
WithOpaque
<
"TimeSlot[u32]"
,
>
,
Bytes
<
4
>
,
>
;
gratisStorage
:
Descriptor
<
U64
,
Bytes
<
8
>
>
;
lastAccumulation
:
Descriptor
<
number
&
WithBytesRepresentation
<
4
>
&
pvm
.
WithOpaque
<
"TimeSlot[u32]"
,
>
,
Bytes
<
4
>
,
>
;
onTransferMinGas
:
Descriptor
<
bigint
&
WithBytesRepresentation
<
8
>
&
pvm
.
WithOpaque
<
"ServiceGas[u64]"
,
>
,
Bytes
<
8
>
,
>
;
parentService
:
Descriptor
<
number
&
WithBytesRepresentation
<
4
>
&
pvm
.
WithOpaque
<
"ServiceId[u32]"
,
>
,
Bytes
<
4
>
,
>
;
storageUtilisationBytes
:
Descriptor
<
U64
,
Bytes
<
8
>
>
;
storageUtilisationCount
:
Descriptor
<
U32
,
Bytes
<
4
>
>
;
}
,
>
,
>
;
key
:
OpaqueHash
&
pvm
.
WithOpaque
<
"stateKey"
>
;
}
C(255, s):
https://graypaper.fluffylabs.dev/#/85129da/383103383103?v=0.6.3
Parameters
serviceId
:
number
&
WithBytesRepresentation
<
4
>
&
pvm
.
WithOpaque
<
"ServiceId[u32]"
>
Returns
{
Codec
:
Descriptor
<
ServiceAccountInfo
,
ViewOf
<
ServiceAccountInfo
,
{
accumulateMinGas
:
Descriptor
<
bigint
&
WithBytesRepresentation
<
8
>
&
pvm
.
WithOpaque
<
"ServiceGas[u64]"
,
>
,
Bytes
<
8
>
,
>
;
balance
:
Descriptor
<
U64
,
Bytes
<
8
>
>
;
codeHash
:
Descriptor
<
Bytes
<
32
>
&
pvm
.
WithOpaque
<
"CodeHash"
>
,
Bytes
<
32
>
>
;
created
:
Descriptor
<
number
&
WithBytesRepresentation
<
4
>
&
pvm
.
WithOpaque
<
"TimeSlot[u32]"
,
>
,
Bytes
<
4
>
,
>
;
gratisStorage
:
Descriptor
<
U64
,
Bytes
<
8
>
>
;
lastAccumulation
:
Descriptor
<
number
&
WithBytesRepresentation
<
4
>
&
pvm
.
WithOpaque
<
"TimeSlot[u32]"
,
>
,
Bytes
<
4
>
,
>
;
onTransferMinGas
:
Descriptor
<
bigint
&
WithBytesRepresentation
<
8
>
&
pvm
.
WithOpaque
<
"ServiceGas[u64]"
,
>
,
Bytes
<
8
>
,
>
;
parentService
:
Descriptor
<
number
&
WithBytesRepresentation
<
4
>
&
pvm
.
WithOpaque
<
"ServiceId[u32]"
,
>
,
Bytes
<
4
>
,
>
;
storageUtilisationBytes
:
Descriptor
<
U64
,
Bytes
<
8
>
>
;
storageUtilisationCount
:
Descriptor
<
U32
,
Bytes
<
4
>
>
;
}
,
>
,
>
;
key
:
OpaqueHash
&
pvm
.
WithOpaque
<
"stateKey"
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Typeberry by Fluffy Labs - v0.4.0
Loading...
C(255, s): https://graypaper.fluffylabs.dev/#/85129da/383103383103?v=0.6.3