1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Metadata exports (§6.2). Pure functions returning bytes for the data-returning
//! ABI exports. `get_metadata` returns the plaintext manifest and is explicitly
//! NOT gated (it is public discovery info); all others are also ungated reads of
//! the embedded data section.
use crate;
use crate;
use Vec;
/// The store's current root. With `store_id`, the current capsule =
/// `(store_id, current_roothash)` — the store's latest immutable generation
/// (see `SYSTEM.md` → "Core concept — the capsule").
/// Root history section bytes: u32 BE count then 32-byte roots (newest last).
/// These roots are all the store's capsules in order — each `(store_id, root)`
/// is one capsule; the store is the ordered sequence of them.
/// Plaintext manifest JSON, returned verbatim and ungated.
/// Authentication info section (issuer/jwks-uri/audience hints), ungated bytes.