You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Why
PR #9847 computes Mission 70 maturity modulation locally and stores it
in canister state, but the computed value is not yet consumed by
spawning
or disbursement (those still rely on CMC). This PR exposes the locally
computed value through a new `get_maturity_modulation` query endpoint so
it can be observed and validated against the existing CMC-based
modulation before the switchover happens in a follow-up PR.
External tools and dashboards can also use this endpoint to read the
current maturity modulation value.
https://dfinity.atlassian.net/browse/NNS1-4319
## What
- Add MaturityModulation, GetMaturityModulationRequest, and
GetMaturityModulationResponse types to the ic-nns-governance-api crate
- Add Governance::get_maturity_modulation() method
- Add #[query] fn get_maturity_modulation endpoint to the governance
canister
- Add corresponding types and service entry to governance.did
- Add pb::api From conversion for MaturityModulation
### PR Chain
- ⬅️ Previous: #9847
Copy file name to clipboardExpand all lines: rs/nns/governance/unreleased_changelog.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ on the process that this file is part of, see
11
11
12
12
* Daily timer task that fetches ICP/XDR rates from the Exchange Rate Canister, maintains a 365-day price history in Governance state, and computes Mission 70 maturity modulation locally. The computed value is not yet consumed by spawning or disbursement; that switchover will happen in a follow-up PR.
13
13
14
+
*`get_maturity_modulation` query endpoint that returns the current Mission 70 maturity modulation value, including `current_value_permyriad` and `updated_at_timestamp_seconds`.
15
+
14
16
* Expose `staked_maturity_e8s_equivalent` on `NeuronInfo`, so external callers
15
17
can read staked maturity from `get_neuron_info` / `list_neurons` responses.
0 commit comments