Skip to main content

StorageLayout

Standalone Functions

storage

storage(s);

Parameters

NameType
sStructDefinition

init

init(context);

Parameters

NameType
contextContext

init

init(context);

Parameters

NameType
contextContext

storage_no_init

storage_no_init(_s);

Parameters

NameType
_sStructDefinition

generate_storage_field_constructor

generate_storage_field_constructor(typ, slot, parent_is_map);

Parameters

NameType
typType
slotQuoted
parent_is_mapbool

new

new(context, slot);

Parameters

NameType
contextContext
slotField

is_storage_map

is_storage_map(typ);

Parameters

NameType
typType

add_context_generic

add_context_generic(typ, context_generic);

Parameters

NameType
typType
context_genericType