NetworkMinLockCostSet

Event Re-added v133 → v133, v134 → v135, v136 → v141, v142 → v148, v149 → v165, v195 → v219, v233 → v247, v252 → v265, v273 → v277, v290 → v315, v320 → v326, v334 → v367, v372 → current #59

Emitted when minimum subnet lock cost is changed.

View events on chain
Useful for: subnet ownersdevelopersanalyticsvalidators

The 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?
No. Lock cost is collateral - you get it back if you dissolve properly. Burn is permanent. Subnet creation typically uses lock, not burn.
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.

Triggers

Effects

Postconditions

  • NetworkMinLockCost updated

Side Effects

  • Changes minimum TAO required to create subnet

Event Data

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

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 NetworkMinLockCostSet events
api.query.system.events((events) => {
  events
    .filter(({ event }) =>
      event.section === stringCamelCase("SubtensorModule") &&
      event.method === "NetworkMinLockCostSet"
    )
    .forEach(({ event }) => {
      console.log("NetworkMinLockCostSet:", event.data.toHuman());
    });
});

Version History

v133 block 1,404,224 1 args
v134 block 1,455,498 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
v334 block 6,811,690 1 args
v372 block 7,430,358 1 args Current

Runtime Info

View Source
Pallet Index
7
Event Index
59
First Version
v133
Current Version
v393