concordium-rust-smart-contracts
concordium-rust-smart-contracts copied to clipboard
Update docs for StateBox/StateSet: how to construct a new box/set
Description
StateBox
and StateSet
documentation is missing the details about how to construct them using the StateBuilder
. (StateMap
has an example that could easily be copied and altered).
I've expanded this to also include StateSet
as that is also missing.
This task could also include a simple but more complete use-case example for each state type. Similar to this BTreeMap example, BTreeSet example, and Box example.