pub enum ProposalType {
ParameterChange {
parameter: String,
new_value: String,
},
TreasuryGrant {
recipient: Address,
amount: u128,
},
ProtocolUpgrade {
version: String,
code_hash: Vec<u8>,
},
AdaptiveBurnConfigUpdate {
base_fee_burn_bps: u16,
local_fee_burn_bps: u16,
paymaster_burn_bps: u16,
},
SupplyTargetsUpdate {
epoch_neutral_band_bps: u16,
rolling_window_epochs: u32,
inflation_alarm_bps: u16,
deflation_alarm_bps: u16,
target_annual_supply_bps: i32,
gain_bps_per_pct: u16,
magnitude_cap_normal_bps: u16,
magnitude_cap_alarm_bps: u16,
auto_proposal_min_magnitude_bps: u16,
alarm_fast_track_enabled: bool,
alarm_timelock_hours: u32,
},
SeedAgentEarmarkUpdate {
enabled: bool,
allocation_topup_wei: u128,
is_initial_seed: bool,
surplus_burn_bps: u16,
},
SeedAgentCharterUpsert {
charter_blob: Vec<u8>,
},
SeedAgentStatusSet {
agent_did: String,
status: String,
},
Custom {
proposal_data: Vec<u8>,
},
}Expand description
Type of governance proposal
Variants§
ParameterChange
Parameter change proposal
TreasuryGrant
Treasury grant proposal
ProtocolUpgrade
Protocol upgrade proposal
AdaptiveBurnConfigUpdate
Adaptive-burn dial update (Spec 8). Sets the live BurnRateConfig
applied by the EIP-1559 fee market and Spec 6 local-fee router.
paymaster_burn_bps is invariant-locked to 10_000 (100%) — proposals
that violate this are rejected at execution time.
SupplyTargetsUpdate
Adaptive-burn supply-targets update (Spec 8). Adjusts the rolling
window, neutral band, alarm thresholds, gain, and magnitude caps
the auto-proposal generator uses to draft AdaptiveBurnConfigUpdate
proposals.
Fields
SeedAgentEarmarkUpdate
SeedAgent earmark adjustment (Spec 10). Governs the master enable
flag, allocation top-ups, and the sunset surplus disposition. Other
fields on TreasuryEarmark (decay schedule, bootstrap window,
charter id list, draw counters) are mutated by protocol code, not
directly by proposal.
Fields
enabled: boolMaster enable flag. When false, no new SeedAgent provisioning
is admitted and the daemon should wind down.
allocation_topup_wei: u128TNZO base units to add to allocation_remaining_wei (and to
initial_allocation_wei if is_initial_seed is set). Zero
leaves the balance unchanged.
SeedAgentCharterUpsert
SeedAgent charter upsert/disable (Spec 10). The charter id is
Hash([u8; 32]) rendered as 32 raw bytes; downstream executor
resolves it against the SeedAgentEarmarkManager. Disabling sets
enabled = false on the existing charter without removing it,
which signals existing agents under that charter to wind down.
Fields
SeedAgentStatusSet
SeedAgent per-agent status transition (Spec 10). Used by governance to Pause / Quarantine / Terminate a misbehaving agent without touching the charter under which it operates.
Fields
Custom
Custom proposal
Trait Implementations§
Source§impl Clone for ProposalType
impl Clone for ProposalType
Source§fn clone(&self) -> ProposalType
fn clone(&self) -> ProposalType
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 ProposalType
impl Debug for ProposalType
Source§impl<'de> Deserialize<'de> for ProposalType
impl<'de> Deserialize<'de> for ProposalType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ProposalType
Source§impl PartialEq for ProposalType
impl PartialEq for ProposalType
Source§fn eq(&self, other: &ProposalType) -> bool
fn eq(&self, other: &ProposalType) -> bool
self and other values to be equal, and is used by ==.