StorageLayout
Standalone Functions
storage
storage(s);
Parameters
Name | Type |
---|---|
s | StructDefinition |
init
init(context);
Parameters
Name | Type |
---|---|
context | Context |
init
init(context);
Parameters
Name | Type |
---|---|
context | Context |
storage_no_init
storage_no_init(_s);
Parameters
Name | Type |
---|---|
_s | StructDefinition |
generate_storage_field_constructor
generate_storage_field_constructor(typ, slot, parent_is_map);
Parameters
Name | Type |
---|---|
typ | Type |
slot | Quoted |
parent_is_map | bool |
new
new(context, slot);
Parameters
Name | Type |
---|---|
context | Context |
slot | Field |
is_storage_map
is_storage_map(typ);
Parameters
Name | Type |
---|---|
typ | Type |
add_context_generic
add_context_generic(typ, context_generic);
Parameters
Name | Type |
---|---|
typ | Type |
context_generic | Type |