This event was removed in v326
This event is no longer emitted in the current runtime. Existed from v162 to v326. Shown here for historical reference.
SenateAdjusted
Event Removed v162 → v165, v195 → v219, v233 → v247, v252 → v265, v273 → v277, v290 → v315, v320 → v326 (removed) #67a member of the senate is adjusted
From Chain Metadata
a member of the senate is adjusted
Triggers
Emitted by
Event Data
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 SenateAdjusted events
client.finalizedBlock$.subscribe(async (block) => {
const events = await api.event.SubtensorModule.SenateAdjusted.get(block.hash);
for (const evt of events) {
console.log("SenateAdjusted:", evt.payload);
}
});Version History
v162 block 3,372,565 2 args
v195 block 3,791,350 2 args
v233 block 4,920,350 2 args
v252 block 5,163,656 2 args
v273 block 5,659,032 2 args
v290 block 5,947,548 2 args
v320 block 6,523,566 2 args
v326 Removed
Runtime Info
View Source- Pallet Index
- 7
- Event Index
- 67
- First Version
- v162
- Removed In
- v326