sudo_set_min_delegate_take

Call v149 → current #46

Sets the minimum delegate take percentage.

View calls on chain

Click items to navigate. Pan and zoom to explore.

Used by: subnet owners

The Big Picture

Ensures validators receive at least this percentage. Prevents unsustainable delegation economics.

Use Cases

  • Ensuring validators earn minimum
  • Preventing race-to-bottom economics

From Chain Metadata

See [`Pallet::sudo_set_min_delegate_take`].

Input Parameters

#NameTypeDescription
0
take
u16 take (u16)

Permissions

Origin
Root
Required Role

Permission data inferred from metadata. May be incomplete.

Requirements

  • Caller is root account

Effects

Storage Modified

Postconditions

  • MinDelegateTake updated

Side Effects

  • Validators cannot set take below this

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 });

// Build sudo_set_min_delegate_take call
const take = 0;

const call = api.tx[stringCamelCase("AdminUtils")][stringCamelCase("sudo_set_min_delegate_take")](
  take
);

Runtime Info

View Source
Pallet Index
19
Call Index
46
First Version
v149
Current Version
v393