Expand description
Versioned, typed, domain-separated artifact identities for Arete.
This crate is additive. Existing bare SHA-256 values in other Arete crates retain their legacy definitions until an explicit migration names them.
Structs§
- AnyHash
Id - Artifact
File - Artifact
Tree Entry - AstPortable
- Canonical
IdlDocument - Strictly parsed IDL plus every authoritative v1 IDL projection.
- Catalog
Bundle - Catalog
Publication Set - Compiler
- Compiler
Source V1 - Compiler
V1 - Frozen v1 identity projection for the OSS SDK compiler source tree.
- Decoder
Content - Decoder
Fixture Case V2 - Decoder
Fixture Private Diagnostics V2 - Decoder
Fixture Set - Decoder
Fixture SetV2 - Deployment
Release - Extension
Surface - HashId
- Hosted
Managed Program Release V2 - Hosted
Managed Program Release V2Fields - Hosted
Private Program Release V3 - Immutable hosted-private release identity.
- Hosted
Private Program Release V3Fields - Identity
Metadata - IdlContent
- IdlHashes
- IdlNormalized
- IdlPortable
- IdlSource
- Instruction
Account V1 - Instruction
Amount Hint V1 - Instruction
Argument V1 - Instruction
Definition V1 - Knowledge
Document - Knowledge
Snapshot - Live
Spec - NonHash
Identity Metadata - OssGenerated
Program Release V1 - OssProgram
Identity V1 - PdaDefinition
V1 - Program
Read Binding Id - Program
Release - Program
Spec - Program
Spec V1 - Runtime
Artifact - SdkDefinition
- SdkDefinition
V1 - Frozen v1 identity projection for one generated program SDK definition.
- SdkDefinition
V2 - SdkExtension
- SdkInstall
Target - SdkOutput
Tree - Solana
BpfLoader V2Identity V1 - Solana
BpfUpgradeable Loader Identity V1 - Solana
Executable Identity V1 - Solana
NoUpgrade Authority V1 - Solana
Upgrade Authority Address V1 - Stack
Manifest - Tuple
Field - Vector
Outcome - Vector
Tree Entry
Enums§
- Account
Resolution V1 - Amount
Decimals Source V1 - Artifact
Entry Kind - Canonicalization
Profile - Decoder
Fixture Account Decode Error Category - Decoder
Fixture Expected V2 - Hash
Error - Hash
Kind Name - Identity
Class - PdaProgram
V1 - PdaSeed
V1 - Solana
Executable Loader V1 - Solana
Upgrade Authority V1 - Vector
Input - Owned form of the language-neutral vector input encodings.
- Visibility
Constants§
- COMPILER_
SCHEMA_ V1 - DECODER_
FIXTURE_ ACCOUNT_ DECODE_ ERROR_ CATEGORIES - DECODER_
FIXTURE_ MAX_ ACCOUNT_ BYTES - DECODER_
FIXTURE_ MAX_ CASES - DECODER_
FIXTURE_ MAX_ TOTAL_ ACCOUNT_ BYTES - DECODER_
FIXTURE_ PUBLIC_ VALUE_ DIGEST_ PREFIX - DECODER_
FIXTURE_ SCHEMA_ V2 - HASH_
ALGORITHM - HASH_
PROTOCOL_ LABEL - HASH_
PROTOCOL_ VERSION - HOSTED_
MANAGED_ RELEASE_ PROFILE - HOSTED_
PRIVATE_ EXECUTABLE_ POLICY - HOSTED_
PRIVATE_ RELEASE_ PROFILE - IDENTITY_
REGISTRY - NON_
HASH_ IDENTITY_ REGISTRY - OSS_
DECODER_ ENGINE_ ID - OSS_
GENERATED_ RELEASE_ PROFILE - PROGRAM_
RELEASE_ SCHEMA_ V1 - PROGRAM_
RELEASE_ SCHEMA_ V2 - PROGRAM_
RELEASE_ SCHEMA_ V3 - PROGRAM_
SPEC_ SCHEMA_ V1 - SDK_
DEFINITION_ PROGRAM_ SPEC_ INPUT_ KIND - SDK_
DEFINITION_ SCHEMA_ V1 - SDK_
DEFINITION_ SCHEMA_ V2 - Identity of generated SDK content, independent of the compiler’s source identity. V1 remains frozen and readable. The output tree projection is specified by the named runtime contract and excludes the identity itself and build provenance.
- SOLANA_
BPF_ LOADER_ V2_ PROGRAM_ ID - SOLANA_
BPF_ UPGRADEABLE_ LOADER_ PROGRAM_ ID - SOLANA_
EXECUTABLE_ IDENTITY_ SCHEMA_ V1 - SOLANA_
EXECUTABLE_ PAYLOAD_ SHA256_ PREFIX
Traits§
Functions§
- artifact_
tree_ payload - build_
oss_ program_ identity_ v1_ from_ bytes - build_
program_ spec_ v1_ from_ bytes - build_
program_ spec_ v1_ from_ idl - Compatibility adapter for callers that no longer have the original bytes.
- canonicalize_
jcs - canonicalize_
json_ bytes - canonicalize_
json_ value - digest_
decoder_ fixture_ public_ value_ v2 - execute_
vector - Execute one hash vector: build the canonical payload for the profile, frame it, and digest it. The declared profile must match the registry profile for the kind; unknown kinds fail closed during vector parsing.
- framed_
preimage - framed_
tuple_ payload - hash_
artifact_ tree - hash_
decoder_ fixture_ set_ v2 - hash_
framed_ tuple - hash_
jcs - hash_
json_ bytes - hash_
raw_ bytes - identity_
metadata - parse_
decoder_ fixture_ set_ v2 - parse_
hosted_ managed_ program_ release_ v2 - parse_
hosted_ private_ program_ release_ v3 - parse_
json_ bytes_ strict - Parse JSON bytes without first converting through a JavaScript number.
- parse_
solana_ executable_ identity_ v1 - portable_
idl_ projection - project_
without_ artifact_ hash - Remove the declared top-level self-hash field and no other field.
- validate_
artifact_ path - validate_
decoder_ fixture_ set_ v2 - validate_
hosted_ managed_ program_ release_ v2 - validate_
hosted_ private_ program_ release_ v3 - validate_
solana_ executable_ identity_ v1