This call was removed in v326

This call is no longer available in the current runtime. Existed from v123 to v326. Shown here for historical reference.

remove_member

Call Removed v123 → v326 (removed) #1

Removes a member from the Senate.

Click items to navigate. Pan and zoom to explore.

Used by: validators

The Big Picture

Shrinks the governance body.

Use Cases

  • Reduce membership

From Chain Metadata

Remove a member `who` from the set. May only be called from `T::RemoveOrigin`.

Input Parameters

#NameTypeDescription
0
who
MultiAddress who (MultiAddress)

Permissions

Origin
Unknown
Required Role

Permission data inferred from metadata. May be incomplete.

Requirements

  • Origin has authority

Effects

Events Emitted

Postconditions

  • Account removed

Side Effects

  • Emits MemberRemoved

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 remove_member call
const who = 0 as any /* MultiAddress */;

const call = api.tx[stringCamelCase("SenateMembers")][stringCamelCase("remove_member")](
  who
);

Runtime Info

Pallet Index
10
Call Index
1
First Version
v123
Removed In
v326