This event was removed in v247
This event is no longer emitted in the current runtime. Existed from v101 to v247. Shown here for historical reference.
EmissionValuesSet
Event Removed v101 → v127, v133 → v219, v233 → v247 (removed) #28emission ratios for all networks is set.
From Chain Metadata
emission ratios for all networks is set.
Triggers
Preconditions
- Caller authorized to make changes
Effects
Postconditions
- Value successfully updated
This event has no data fields.
Code Examples
import { ApiPromise, WsProvider } from "@polkadot/api";
import { stringCamelCase } from "@polkadot/util";
const provider = new WsProvider("wss://entrypoint-finney.opentensor.ai:443");
const api = await ApiPromise.create({ provider });
// Subscribe to EmissionValuesSet events
api.query.system.events((events) => {
events
.filter(({ event }) =>
event.section === stringCamelCase("SubtensorModule") &&
event.method === "EmissionValuesSet"
)
.forEach(({ event }) => {
console.log("EmissionValuesSet:", event.data.toHuman());
});
});Version History
v101 block 1 0 args
v133 block 1,404,224 0 args
v233 block 4,920,350 0 args
v247 Removed
Runtime Info
View Source- Pallet Index
- 7
- Event Index
- 28
- First Version
- v101
- Removed In
- v247