Storage
A smart contract is able to perform computation and store & manipulate data over time.
In the following sections we'll take a look at how Sway handles storage
through:
- Storage Initialization: How to declare a
storage
block - Reading & Writing: How to read from and write to storage
- Libraries: Additional functionality provided by the storage library
- Namespaces: How to use
storage
namespaces - In keyword: How to override storage variable position