DisableWhitelistCheck

Storage Plain v217 → current

Whether the deployment whitelist is bypassed.

Explore chain
Queried by: developers

The Big Picture

If true, anyone can deploy contracts regardless of whitelist. If false, whitelist enforced.

Use Cases

  • Check if anyone can deploy
  • Verify network deployment policy

Purpose & Usage

Purpose

Toggle for permissioned vs permissionless contract deployment.

Common Query Patterns

  • Single value query

Stored Value

value (bool)

Relationships

Modified By

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

// Query DisableWhitelistCheck storage (no keys - plain value)
const result = await api.query.EVM.DisableWhitelistCheck.getValue();
console.log("DisableWhitelistCheck:", result);

Runtime Info

Pallet
EVM
Storage Kind
Plain
First Version
v217
Current Version
v411