pub struct AdvantageEngine {
pub engine_node_aid: AID,
pub master_shunter: SovereignShunter,
pub agreement_directory: HashMap<AID, CommercialAgreement>,
pub metrics_cache_map: HashMap<AID, AdvantageMetric>,
pub total_cleared_p_t_128: u128,
pub bootstrap_ns_128: u128,
pub current_homeostasis: HomeostasisScore,
/* private fields */
}Expand description
The MAXCAP Core Engine. Responsible for commercial shunting, advantage calculation, and revenue flow. It maintains the economic heartbeat of the 128-bit planetary organism.
Fields§
§engine_node_aid: AID§master_shunter: SovereignShunter§agreement_directory: HashMap<AID, CommercialAgreement>§metrics_cache_map: HashMap<AID, AdvantageMetric>§total_cleared_p_t_128: u128§bootstrap_ns_128: u128§current_homeostasis: HomeostasisScoreImplementations§
Source§impl AdvantageEngine
impl AdvantageEngine
Sourcepub fn new(engine_id: AID, is_radiant: bool) -> Self
pub fn new(engine_id: AID, is_radiant: bool) -> Self
Creates a new Radiant Advantage Engine instance v1.2.5. Triggers the Imperial Gravity Well audit immediately.
Sourcepub async fn execute_shunting_128(
&mut self,
target: AID,
current_logic_sig: u128,
) -> ShuntingStatus
pub async fn execute_shunting_128( &mut self, target: AID, current_logic_sig: u128, ) -> ShuntingStatus
MAXCAP: Execute 128-Bit Commercial Shunting Determines the physical performance path for a commercial request. Integrated with RFC-009 (Audit) and RFC-013 (Patience).
Sourcepub fn calculate_collective_yield(&self, nodes: Vec<AID>) -> Picotoken
pub fn calculate_collective_yield(&self, nodes: Vec<AID>) -> Picotoken
MAXCAP: Calculate Collective Yield (128-Bit)
pub fn register_commercial_partner_128(&mut self, aid: AID, tier: u128)
Trait Implementations§
Source§impl CollectiveAdvantage for AdvantageEngine
impl CollectiveAdvantage for AdvantageEngine
fn audit_commercial_compliance(&self, aid: AID) -> bool
fn calculate_advantage_multiplier_f64(&self, aid: AID) -> f64
fn upgrade_participant_tier_128(&mut self, aid: AID, volume: u128)
fn report_commercial_homeostasis(&self) -> HomeostasisScore
Source§impl SovereignLifeform for AdvantageEngine
impl SovereignLifeform for AdvantageEngine
Source§fn execute_metabolic_pulse(&self)
fn execute_metabolic_pulse(&self)
RFC-004 Metabolic Pulse Displays the cleared volume and the RFC-014 PICSI Resonance.
fn get_aid(&self) -> AID
fn get_homeostasis(&self) -> HomeostasisScore
fn evolve_genome(&mut self, mutation_data: &[u8])
fn report_uptime_ns(&self) -> u128
Auto Trait Implementations§
impl Freeze for AdvantageEngine
impl RefUnwindSafe for AdvantageEngine
impl Send for AdvantageEngine
impl Sync for AdvantageEngine
impl Unpin for AdvantageEngine
impl UnsafeUnpin for AdvantageEngine
impl UnwindSafe for AdvantageEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more