pub struct SurplusDisposition {
pub total_wei: u128,
pub burn_wei: u128,
pub treasury_wei: u128,
pub surplus_burn_bps: u16,
}Expand description
Disposition of the unspent earmark surplus at hard sunset.
Produced by [SeedAgentEarmarkManager::dispose_surplus_at_sunset] when
every charter has sunsetted and no Active/Paused/Quarantined agents
remain. The caller (governance executor or wind-down sweeper) enacts
the on-chain effect: burn_wei is removed from circulating supply via
crate::tnzo::TnzoToken::burn; treasury_wei is deposited to the
general crate::treasury::NetworkTreasury under the TNZO asset.
The manager itself only zeroes allocation_remaining_wei and flips
enabled to false — token-supply effects are caller-owned so this
crate stays free of cycles with the treasury module.
Fields§
§total_wei: u128Surplus that was disposed at sunset (burn_wei + treasury_wei).
burn_wei: u128Portion to burn (total * surplus_burn_bps / 10_000).
treasury_wei: u128Portion to return to the general treasury (total - burn_wei).
surplus_burn_bps: u16surplus_burn_bps at the time of disposition (audit).
Trait Implementations§
Source§impl Clone for SurplusDisposition
impl Clone for SurplusDisposition
Source§fn clone(&self) -> SurplusDisposition
fn clone(&self) -> SurplusDisposition
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SurplusDisposition
impl Debug for SurplusDisposition
impl Eq for SurplusDisposition
Source§impl PartialEq for SurplusDisposition
impl PartialEq for SurplusDisposition
Source§fn eq(&self, other: &SurplusDisposition) -> bool
fn eq(&self, other: &SurplusDisposition) -> bool
self and other values to be equal, and is used by ==.