Crate qudag_exchange_core

Crate qudag_exchange_core 

Source
Expand description

QuDAG Exchange Core Library

This crate provides the core functionality for the QuDAG Exchange system:

  • rUv (Resource Utilization Voucher) token ledger
  • Resource metering and cost calculations
  • Transaction processing with quantum-resistant signatures
  • Consensus integration with QR-Avalanche DAG
  • Secure key management through QuDAG Vault

The library is designed to be no_std compatible for WASM deployment.

Re-exports§

pub use account::Account;
pub use account::AccountId;
pub use account::Balance;
pub use config::BusinessPlanConfig;
pub use config::BusinessPlanSummary;
pub use config::ConfigSummary;
pub use config::ExchangeConfig;
pub use config::ExchangeConfigBuilder;
pub use config::GovernanceConfig;
pub use config::NetworkConfig;
pub use config::SecurityConfig;
pub use consensus::ConsensusAdapter;
pub use error::Error;
pub use error::Result;
pub use fee_model::AgentStatus;
pub use fee_model::FeeCalculator;
pub use fee_model::FeeModel;
pub use fee_model::FeeModelParams;
pub use immutable::ImmutableConfig;
pub use immutable::ImmutableDeployment;
pub use immutable::ImmutableSignature;
pub use immutable::ImmutableStatus;
pub use immutable::LockableConfig;
pub use ledger::Ledger;
pub use metering::OperationCost;
pub use metering::ResourceMeter;
pub use payout::ContributorInfo;
pub use payout::ContributorRole;
pub use payout::ContributorType;
pub use payout::FeeRouter;
pub use payout::PayoutConfig;
pub use payout::PayoutEntry;
pub use payout::PayoutSplit;
pub use payout::PayoutSplitTemplates;
pub use payout::PayoutTransaction;
pub use state::LedgerState;
pub use transaction::Transaction;
pub use transaction::TransactionId;
pub use transaction::TransactionStatus;
pub use types::rUv;

Modules§

account
Account management for QuDAG Exchange
config
Configuration management for QuDAG Exchange
consensus
Consensus integration for QuDAG Exchange
error
Error types for QuDAG Exchange Core
fee_model
Dynamic Tiered Fee Model for QuDAG Exchange
immutable
Immutable Deployment System for QuDAG Exchange
ledger
Ledger management for QuDAG Exchange
metering
Resource metering for QuDAG Exchange
payout
Payout System for QuDAG Exchange Business Plan
state
State management for QuDAG Exchange
transaction
Transaction handling for QuDAG Exchange
types
Core types for QuDAG Exchange

Constants§

VERSION
Core version string

Functions§

version
Get the version of the QuDAG Exchange Core library