Expand description
The decoded-value model: the exact shapes cyscale rendered SCALE data as, which the SDK’s reads/intents layer pattern-matches on. The shape corpus (sdk/python/tests/fixtures/shape_corpus) is the contract; this enum is its Rust carrier, materialized 1:1 into Python objects by the binding crate.
Enums§
- Value
- One decoded SCALE value in cyscale’s shape conventions.
Functions§
- to_
corpus_ json - Render as the JSON the corpus recorder’s
jsonable()produced: bytes as 0x-hex, tuples as lists, dict keys stringified. Only used by tests to compare against corpus fixtures. - u256_
decimal - Decimal rendering of a little-endian u256.