TestStruct
Fields
Field | Type |
---|---|
a | Field |
b | Field |
Standalone Functions
read
read(storage_slot);
Parameters
Name | Type |
---|---|
storage_slot | Field |
write
write(storage_slot, value);
Parameters
Name | Type |
---|---|
storage_slot | Field |
value | T |
deserialize
deserialize(fields);
Parameters
Name | Type |
---|---|
fields | [Field; 2] |
serialize
serialize(self);
Parameters
Name | Type |
---|---|
self |
test_read
test_read();
Takes no parameters.
test_write
test_write();
Takes no parameters.