Context
DataStore holds protocol state and its key layout is what an integrator needs in
order to read anything directly rather than through the indexer. Key schemes are
notoriously undocumented and notoriously necessary.
Scope
- The contract's role and storage model, following the DX-084 template.
- Every public read and write function with parameters, units, authorisation,
and errors.
- The key derivation scheme, with worked examples showing how to construct keys
for the most commonly read values.
- Which storage type each value uses — instance, persistent, or temporary — and
what that implies for archival and rent.
- A worked example reading a real value from testnet.
Acceptance criteria
Out of scope
- Contract internals not reachable through the public interface.
Spec: docs/dx_1/003_content_map.md §2 · Depends on: DX-084
Context
DataStore holds protocol state and its key layout is what an integrator needs in
order to read anything directly rather than through the indexer. Key schemes are
notoriously undocumented and notoriously necessary.
Scope
and errors.
for the most commonly read values.
what that implies for archival and rent.
Acceptance criteria
<ParamTable>from DX-084 with no divergence.Out of scope
Spec:
docs/dx_1/003_content_map.md§2 · Depends on: DX-084