This event was removed in v326

This event is no longer emitted in the current runtime. Existed from v124 to v326. Shown here for historical reference.

SenateRequiredStakePercentSet

Event Removed v124 → v127, v133 → v135, v136 → v141, v142 → v148, v149 → v165, v195 → v219, v233 → v247, v252 → v265, v273 → v277, v290 → v315, v320 → v326 (removed) #53

setting the minimum required stake amount for senate registration .

From Chain Metadata

setting the minimum required stake amount for senate registration.

Triggers

Effects

Postconditions

  • Value successfully updated

Event Data

#NameTypeDescription
0
arg0
u64 Event field #0 (u64)

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 SenateRequiredStakePercentSet events
client.finalizedBlock$.subscribe(async (block) => {
  const events = await api.event.SubtensorModule.SenateRequiredStakePercentSet.get(block.hash);
  for (const evt of events) {
    console.log("SenateRequiredStakePercentSet:", evt.payload);
  }
});

Version History

v124 block 720,438 1 args
v133 block 1,404,224 1 args
v136 block 1,756,781 1 args
v142 block 2,543,779 1 args
v149 block 3,014,339 1 args
v195 block 3,791,350 1 args
v233 block 4,920,350 1 args
v252 block 5,163,656 1 args
v273 block 5,659,032 1 args
v290 block 5,947,548 1 args
v320 block 6,523,566 1 args
v326 Removed

Runtime Info

View Source
Pallet Index
7
Event Index
53
First Version
v124
Removed In
v326