DisableWhitelistCheck
Storage Plain v217 → currentWhether the deployment whitelist is bypassed.
Explore chainQueried 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 { 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 });
// Query DisableWhitelistCheck storage (no keys - plain value)
const result = await api.query
[stringCamelCase("EVM")]
[stringCamelCase("DisableWhitelistCheck")]();
console.log("DisableWhitelistCheck:", result.toHuman());Runtime Info
- Pallet
- EVM
- Storage Kind
- Plain
- First Version
- v217
- Current Version
- v393