Skip to main content

2 docs tagged with "storage"

View All Tags

Define the State

The smart contract state storage on the host consists of a single key/value map, as long as you access the data in the same way that you used to store it, you will always get valid data back.

Structured Data Types

You can use structs directly as a type in state storage definitions and the schema tool will automatically generate the proxy code to access it properly.