NetworkMinLockCostSet
Event v133 → v133, v134 → v135, v136 → v141, v142 → v148, v149 → v165, v195 → v219, v233 → v247, v252 → v265, v273 → v277, v290 → v298, v301 → v315, v320 → v326, v334 → v367, v372 → v385, v391 → v402, v411 → v422, v423 → v424, v432 → v440, v441 → current #62Emitted when minimum subnet lock cost is changed.
View events on chainThe Big Picture
Creating a subnet requires locking TAO as collateral. NetworkMinLockCost sets the floor - even during low-demand periods, you must lock at least this much. Actual lock cost can be higher based on demand. This parameter ensures meaningful commitment from subnet creators.
Why This Matters
The minimum lock cost is your entry price for creating a subnet. Even in best conditions, you need at least this much TAO to lock. Understanding the floor helps you budget for subnet creation and evaluate if it's economically feasible for you.
Example Scenario
Subnet creation was getting too cheap, leading to low-quality subnets. They raise NetworkMinLockCost from 100 TAO to 500 TAO. NetworkMinLockCostSet fires. Now even during low demand, creating a subnet requires locking at least 500 TAO - higher barrier ensures more serious creators.
Common Questions
- Is lock cost the same as burn cost?
- The lock is not escrow held for the owner. At registration the locked TAO seeds the subnet pool as SubnetTAO, any excess over the pool seed is recycled and destroyed, and SubnetLocked records the amount for accounting. Dissolution removes the SubnetLocked entry; there is no transfer back to the creator.
- Can lock cost go below minimum?
- No, that's the floor. Lock cost adjusts with demand but never below NetworkMinLockCost. Minimum is your best-case cost.
- What if I can't afford the minimum?
- You can't create a subnet until you have enough TAO to lock. Save up, or find investors willing to provide the collateral.
Use Cases
- Track minimum capital required to create subnets
- Plan subnet creation budgets
- Monitor network economic policies
- Build subnet creation planning tools
How to Use This Event
- → Track minimum lock cost for budget planning
- → Monitor governance changes affecting subnet creation costs
- → Build subnet creation cost estimation tools
From Chain Metadata
the network minimum locking cost is set.
Migration Notes
arg0 changed from u64 to TaoBalance
Update decoders: SCALE encoding is positional, so any signature change (added, removed, or type-changed fields, or storage shape changes) shifts byte offsets and existing decoders will misparse this item. Re-derive types from the new metadata.
Triggers
Preconditions
- Caller has admin/sudo privileges
May fail with
Effects
Postconditions
- NetworkMinLockCost updated
Side Effects
- Changes minimum TAO required to create subnet
Event Data
| # | Name | Type | Description |
|---|---|---|---|
| 0 | arg0 → tao_amount | TaoBalance | TAO amount in RAO (÷10⁹ for TAO) |
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 NetworkMinLockCostSet events
client.finalizedBlock$.subscribe(async (block) => {
const events = await api.event.SubtensorModule.NetworkMinLockCostSet.get(block.hash);
for (const evt of events) {
console.log("NetworkMinLockCostSet:", evt.payload);
}
});On-Chain Activity
Infrequent or specialized
#196 most emitted event
As of block 9,385,000
Version History
Runtime Info
View Source- Pallet Index
- 7
- Event Index
- 62
- First Version
- v133
- Current Version
- v490