Skip to main content

TestStruct

Fields

FieldType
aField
bField

Standalone Functions

read

read(storage_slot);

Parameters

NameType
storage_slotField

write

write(storage_slot, value);

Parameters

NameType
storage_slotField
valueT

deserialize

deserialize(fields);

Parameters

NameType
fields[Field; 2]

serialize

serialize(self);

Parameters

NameType
self

test_read

test_read();

Takes no parameters.

test_write

test_write();

Takes no parameters.