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) #28

emission 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 { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443

const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);

// Subscribe to EmissionValuesSet events
client.finalizedBlock$.subscribe(async (block) => {
  const events = await api.event.SubtensorModule.EmissionValuesSet.get(block.hash);
  for (const evt of events) {
    console.log("EmissionValuesSet:", evt.payload);
  }
});

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