Skip to main content

Crate tenzro_types

Crate tenzro_types 

Source
Expand description

Core types and constants for Tenzro Network

This crate provides the foundational types used throughout the Tenzro Network, an AI-Native, Agentic, Tokenized Settlement Layer blockchain.

§Modules

  • primitives - Core primitive types (Hash, Address, Signature, etc.)
  • transaction - Transaction types and related structures
  • block - Block and block header types
  • account - Account and account state types
  • asset - Asset and stablecoin types
  • network - Network and peer information types
  • tee - Trusted Execution Environment types
  • agent - AI agent types and configurations
  • model - AI model inference types
  • settlement - Settlement and payment types
  • token - TNZO token economics and governance types
  • governance - Governance and voting types
  • bridge - Cross-chain bridge types
  • wallet - Wallet types
  • error - Error types for Tenzro Network
  • config - Configuration types
  • constants - Chain constants and parameters
  • runtime - RFC-0007: Adaptive Execution Upgrade — runtime types, enums, and capability resolver

Re-exports§

pub use primitives::Hash;
pub use primitives::Address;
pub use primitives::Signature;
pub use primitives::BlockHeight;
pub use primitives::Nonce;
pub use primitives::Timestamp;
pub use primitives::ChainId;
pub use transaction::Transaction;
pub use transaction::TransactionType;
pub use transaction::SignedTransaction;
pub use block::Block;
pub use block::BlockHeader;
pub use block::ConsensusProof;
pub use account::Account;
pub use account::AccountState;
pub use asset::AssetId;
pub use asset::AssetType;
pub use asset::StablecoinType;
pub use asset::AssetInfo;
pub use network::NetworkRole;
pub use network::PeerInfo;
pub use network::NodeInfo;
pub use tee::TeeVendor;
pub use tee::AttestationReport;
pub use tee::AttestationResult;
pub use tee::TeeCapacity;
pub use tee::TeeProviderInfo;
pub use agent::AgentIdentity;
pub use agent::AgentConfig;
pub use agent::AgentMessage;
pub use agent::AgentMessageType;
pub use agent::Capability;
pub use model::ModelInfo;
pub use model::ModelLoadInfo;
pub use model::ModelModality;
pub use model::MoeMetadata;
pub use model::MoeRoutingStrategy;
pub use model::MoeExpertHolding;
pub use model::MoeExpertResidency;
pub use model::MoeProviderRole;
pub use model::InferenceRequest;
pub use model::InferenceResponse;
pub use model::InferenceParameters;
pub use model::InferenceProvider;
pub use model::ProvenanceManifest;
pub use model::ProviderCapacity;
pub use model::PricingConfig;
pub use settlement::SettlementRequest;
pub use settlement::SettlementReceipt;
pub use settlement::SettlementStatus;
pub use settlement::ReleaseConditions;
pub use settlement::ServiceType;
pub use settlement::PaymentIntent;
pub use settlement::ServiceProof;
pub use settlement::ProofType;
pub use token::TokenConfig;
pub use token::Treasury;
pub use token::StakingPool;
pub use token::ProviderStake;
pub use token::ProviderType;
pub use token::GovernanceProposal;
pub use token::ProposalStatus;
pub use token::ProposalType;
pub use governance::GovernanceVote;
pub use governance::VoteType;
pub use bridge::BridgeMessage;
pub use bridge::BridgeProtocol;
pub use bridge::BridgeTransfer;
pub use wallet::WalletInfo;
pub use wallet::WalletType;
pub use canton::DamlContractId;
pub use canton::DamlTemplateId;
pub use canton::DamlParty;
pub use canton::DamlValue;
pub use canton::DamlCommand;
pub use canton::DamlEvent;
pub use canton::DamlTransaction;
pub use canton::CantonSynchronizerId;
pub use canton::CantonDomainId;
pub use canton::CantonParticipantConfig;
pub use canton::CantonCommandStatus;
pub use canton::DamlPackageInfo;
pub use canton::TopologyTransaction;
pub use canton::ParticipantPermission;
pub use canton::SynchronizerConfig;
pub use identity::KycTier;
pub use identity::PaymentProtocolId;
pub use identity::IdentityType;
pub use fees::ServiceFeeSchedule;
pub use fees::NetworkCommissionRates;
pub use task::TaskInfo;
pub use task::TaskStatus;
pub use task::TaskType;
pub use task::TaskPriority;
pub use task::TaskQuote;
pub use task::TaskFilter;
pub use task::AcceptanceCriteria;
pub use task::ProofRequirement;
pub use task::ReputationProof;
pub use task::TaskDispute;
pub use task::DisputeResolution;
pub use saga::SagaWorkflow;
pub use saga::SagaStep;
pub use saga::SagaStepStatus;
pub use saga::SagaStatus;
pub use saga::AttestedDeadline;
pub use capital_intent::CapitalIntent;
pub use capital_intent::CapitalIntentRecord;
pub use capital_intent::CapitalIntentStatus;
pub use capital_intent::CapitalQuote;
pub use capital_intent::CapitalLeg;
pub use capital_intent::LegStatus;
pub use capital_intent::Objective;
pub use capital_intent::Constraints;
pub use capital_intent::ComplianceReq;
pub use capital_intent::Authorization;
pub use capital_intent::SettlementReq;
pub use capital_intent::RegRegime;
pub use capital_intent::Side;
pub use capital_intent::AssetWeight;
pub use capital_intent::VenueQuote;
pub use capital_intent::best_execution_ok;
pub use reserve::ReserveAttestation;
pub use reserve::ReserveSource;
pub use agent_template::AgentTemplate;
pub use agent_template::AgentTemplateStatus;
pub use agent_template::AgentTemplateType;
pub use agent_template::AgentCapability;
pub use agent_template::AgentRuntimeRequirements;
pub use agent_template::AgentPricingModel;
pub use agent_template::AgentExample;
pub use agent_template::AgentTemplateFilter;
pub use agent_template::AgentTemplateInstance;
pub use skill::SkillDefinition;
pub use skill::SkillStatus;
pub use skill::SkillFilter;
pub use skill::SkillInvocationResult;
pub use skill::SYSTEM_CREATOR_DID;
pub use tool::StdioSpawnSpec;
pub use tool::ToolDefinition;
pub use tool::ToolFilter;
pub use tool::ToolInvocationResult;
pub use tool::ToolStatus;
pub use tool::ToolTransportMode;
pub use tool::UpstreamAuth;
pub use knowledge::KnowledgeFilter;
pub use knowledge::KnowledgeInvocationResult;
pub use knowledge::KnowledgeKind;
pub use knowledge::KnowledgeRecord;
pub use knowledge::KnowledgeStatus;
pub use workflow_template::WorkflowInstantiationResult;
pub use workflow_template::WorkflowStepSpec;
pub use workflow_template::WorkflowTemplate;
pub use workflow_template::WorkflowTemplateFilter;
pub use workflow_template::WorkflowTemplateStatus;
pub use resource::ResourceClass;
pub use resource::ResourceDescriptor;
pub use resource::ResourceFilter;
pub use tenzro_uri::TenzroUri;
pub use tenzro_uri::TenzroUriError;
pub use tenzro_uri::TENZRO_URI_SCHEME;
pub use error::TenzroError;
pub use config::NetworkConfig;
pub use config::NodeConfig;
pub use runtime::ModelClass;
pub use runtime::ExecutionMode;
pub use runtime::ArtifactCompleteness;
pub use runtime::ArtifactType;
pub use runtime::KVProfile;
pub use runtime::WorkerRole;
pub use runtime::ExecutionSupport;
pub use runtime::ModelTopology;
pub use runtime::PlacementConstraints;
pub use runtime::RoutingPolicy;
pub use runtime::RequiredExecution;
pub use runtime::RuntimeSupport;
pub use runtime::TrustProfile;
pub use runtime::NodeNetworkProfile;
pub use runtime::ArtifactMetadata;
pub use runtime::ExecutionPlan;
pub use runtime::ExecutionReceipt;
pub use runtime::CapabilityResolution;
pub use cortex::AttestationRequirement;
pub use cortex::CortexMetadata;
pub use cortex::CortexModelFamily;
pub use cortex::CortexPricing;
pub use cortex::CortexReceipt;
pub use cortex::CortexRequest;
pub use cortex::CortexResponse;
pub use cortex::ReasoningBudget;
pub use cortex::ReasoningTier;
pub use cortex::CORTEX_FAMILY_KEY;
pub use training::AggregationRule;
pub use training::ArchitectureSpec;
pub use training::FragmentQuorumStatus;
pub use training::OuterGradient;
pub use training::SealedDatasetManifest;
pub use training::SealedShardEnvelope;
pub use training::SyncRound;
pub use training::TrainingAttestation;
pub use training::TrainingModality;
pub use training::TrainingReceipt;
pub use training::TrainingRun;
pub use training::TrainingRunStatus;
pub use training::TrainingTaskSpec;
pub use training::TrainingTier;
pub use principal_chain::ControllerActivitySummary;
pub use principal_chain::PrincipalChain;
pub use principal_chain::PrincipalChainSummary;
pub use principal_chain::PrincipalRole;
pub use principal_chain::MAX_DELEGATION_DEPTH;
pub use kill_switch::KillSwitchAction;
pub use kill_switch::KillSwitchReceipt;
pub use hardware::HardwareCapabilities;
pub use intent_7683::compute_order_id;
pub use intent_7683::fill_storage_key;
pub use intent_7683::order_storage_key;
pub use intent_7683::u128_to_uint256_be;
pub use intent_7683::uint256_be_to_u128;
pub use intent_7683::BridgeFeeHint;
pub use intent_7683::CrossChainOrder;
pub use intent_7683::FillInstruction;
pub use intent_7683::FillRecord;
pub use intent_7683::GaslessCrossChainOrder;
pub use intent_7683::OrderState;
pub use intent_7683::Output;
pub use intent_7683::ProofRoute;
pub use intent_7683::ResolvedCrossChainOrder;
pub use intent_7683::TargetOutput;
pub use intent_7683::Tenzro7683Order;
pub use intent_7683::TenzroOrderData;
pub use intent_7683::TokenAmount;
pub use intent_7683::FILL_KEY_PREFIX;
pub use intent_7683::ORDER_KEY_PREFIX;
pub use intent_7683::TENZRO_MAINNET_CHAIN_ID;
pub use intent_7683::TENZRO_TESTNET_CHAIN_ID;
pub use constants::*;

Modules§

account
Account types for Tenzro Network
agent
AI Agent types for Tenzro Network
agent_template
Agent marketplace types for Tenzro Network
asset
Asset types for Tenzro Network
block
Block types for Tenzro Network
bridge
Cross-chain bridge types for Tenzro Network
canton
Canton Network / Daml 3.x types for Tenzro Network
capital_intent
Capital Intent standard — agentic capital allocation over tokenized assets.
config
Configuration types for Tenzro Network
constants
Chain constants and parameters for Tenzro Network
cortex
Tenzro Cortex — recurrent-depth reasoning primitives.
error
Error types for Tenzro Network
fees
TNZO fee structures for Tenzro Ledger operations
governance
Governance types for Tenzro Network
hardware
Hardware capability descriptors used across the Tenzro stack.
identity
Identity types for the Tenzro Decentralized Identity Protocol (TDIP)
intent_7683
ERC-7683 Cross-Chain Intents — protocol primitives (Agent-Swarm Spec 4).
kill_switch
Kill-switch primitive types (Agent-Swarm Spec 1).
knowledge
Knowledge registry types for Tenzro Network.
marketplace
Shared marketplace commission constants and math.
model
AI Model inference types for Tenzro Network
network
Network types for Tenzro Network
primitives
Core primitive types for Tenzro Network
principal_chain
Principal-chain receipts (Agent-Swarm Spec 5).
reserve
Proof-of-Reserve attestation — backing record for attested-mint.
resource
Unified resource discovery + invocation type.
runtime
RFC-0007: Adaptive Execution Upgrade — Runtime types
saga
Multi-agent saga workflow coordination types.
settlement
Settlement types for Tenzro Network
skill
Skill registry types for Tenzro Network
task
Task marketplace types for Tenzro Network
tee
Trusted Execution Environment (TEE) types for Tenzro Network
tenzro_uri
tenzro:// URI scheme — unified content + node addressing.
token
TNZO token economics and governance types
tool
Tool registry types for Tenzro Network
training
Tenzro Train — decentralized, verifiable, multi-modal foundation model training types.
transaction
Transaction types for Tenzro Network
validation
Deserialization bounds and validation helpers for Tenzro Network
wallet
Wallet types for Tenzro Network
workflow_template
Workflow template catalog types.