This event was removed in v127
This event is no longer emitted in the current runtime. Existed from v101 to v127. Shown here for historical reference.
SynergyScalingLawPowerSet
Event Removed v101 → v127 (removed) #26SynergyScalingLawPowerSet event from SubtensorModule pallet .
Triggers
Preconditions
- Caller authorized to make changes
Effects
Postconditions
- Value successfully updated
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 SynergyScalingLawPowerSet events
client.finalizedBlock$.subscribe(async (block) => {
const events = await api.event.SubtensorModule.SynergyScalingLawPowerSet.get(block.hash);
for (const evt of events) {
console.log("SynergyScalingLawPowerSet:", evt.payload);
}
});Runtime Info
View Source- Pallet Index
- 7
- Event Index
- 26
- First Version
- v101
- Removed In
- v127