MinChildKeyTakeSet
Event Re-added v195 → v219, v233 → v247, v252 → v265, v273 → v277, v290 → v315, v320 → current #44Emitted when minimum child key take rate is changed.
View events on chainThe Big Picture
MinChildKeyTake sets the floor for child key commissions. It ensures child keys in validator organizations receive minimum compensation for their participation. Without a minimum, children might be pressured to take 0%, making their participation economically unsustainable.
Why This Matters
If you're a child key (partner in a validator organization), this protects your minimum earning. If you're analyzing validator structures, understanding min and max child take helps you evaluate the full economics of complex validator setups.
Example Scenario
To ensure child keys are fairly compensated, governance sets MinChildKeyTake to 5%. MinChildKeyTakeSet fires. Child keys cannot go below 5% take even if the parent wants them to. This protects partners in validator organizations from exploitation.
Common Questions
- Can a child key set 0% take?
- Only if MinChildKeyTake is 0. If there's a minimum, they must charge at least that. Check the current MinChildKeyTake constant.
- Why would a child key want low take?
- To incentivize the parent to allocate more to them. Lower take means more rewards flow through to the child's stakers. But too low might be unsustainable.
- Does this apply to all child keys everywhere?
- Yes, it's a network-wide parameter. All child keys on all subnets must respect this minimum.
Use Cases
- Track minimum commission child keys must charge
- Understand child key pricing floors
- Monitor validator organization economic policies
- Build validator structure compliance tools
How to Use This Event
- → Monitor min take for child key economics
- → Track changes affecting validator partnership structures
- → Build tools showing valid child key take ranges
From Chain Metadata
minimum childkey take set
Triggers
Emitted by
Preconditions
- Caller has admin/sudo privileges
Effects
Storage Modified
Postconditions
- MinChildKeyTake updated
Side Effects
- Child keys cannot set take below this value
Event Data
| # | Name | Type | Description |
|---|---|---|---|
| 0 | arg0 | u16 | Event field #0 (u16) |
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 MinChildKeyTakeSet events
api.query.system.events((events) => {
events
.filter(({ event }) =>
event.section === stringCamelCase("SubtensorModule") &&
event.method === "MinChildKeyTakeSet"
)
.forEach(({ event }) => {
console.log("MinChildKeyTakeSet:", event.data.toHuman());
});
});Version History
Runtime Info
View Source- Pallet Index
- 7
- Event Index
- 44
- First Version
- v195
- Current Version
- v393