Expand description
Common types and utilities for TONGO protocol implementation.
This crate provides shared functionality used across all TONGO crates:
- Type conversions between different numeric representations
- Field element operations
- Serialization/deserialization helpers
- Error types
Re-exports§
pub use address::Address;pub use amount::Amount;pub use chain::ChainId;pub use error::KmsError;pub use error::Result;pub use network::NetworkPreset;pub use secret_felt::SecretFelt;pub use token::Token;pub use validator::Validator;pub use types::*;
Modules§
- address
- Validated Starknet address (Felt newtype).
- amount
- Precision-safe token amount representation.
- chain
- Chain ID enum for Starknet networks.
- error
- Error types for TONGO protocol operations.
- network
- Network preset configuration for Starknet chains.
- secret_
felt - A zeroizing wrapper for secret
Feltvalues. - token
- Token metadata and presets for known Starknet tokens.
- types
- Common type definitions for TONGO protocol.
- utils
- Utility functions for TONGO protocol.
- validator
- Staking validator metadata and presets.