Runtime Pallets
MaintenanceMode
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
api.tx.maintenanceMode.blockAccount
function blockAccount(
account: SeedPrimitivesSignatureAccountId20,
blocked: bool
)
api.tx.maintenanceMode.blockCall
function blockCall(
pallet_name: Bytes,
call_name: Bytes,
blocked: bool
)
api.tx.maintenanceMode.blockEvmTarget
function blockEvmTarget(
target_address: H160,
blocked: bool
)
api.tx.maintenanceMode.blockPallet
function blockPallet(
pallet_name: Bytes,
blocked: bool
)
api.tx.maintenanceMode.enableMaintenanceMode
function enableMaintenanceMode(
enabled: bool
)
api.query.maintenanceMode.blockedAccounts
function blockedAccounts(
SeedPrimitivesSignatureAccountId20
): bool
api.query.maintenanceMode.blockedCalls
function blockedCalls(
(Bytes,Bytes)
): bool
api.query.maintenanceMode.blockedEVMAddresses
function blockedEVMAddresses(
H160
): bool
api.query.maintenanceMode.blockedPallets
function blockedPallets(
Bytes
): bool
api.query.maintenanceMode.maintenanceModeActive
function maintenanceModeActive(
): bool
api.events.maintenanceMode.AccountBlocked
type AccountBlocked = {
account: SeedPrimitivesSignatureAccountId20,
blocked: bool
}
api.events.maintenanceMode.CallBlocked
type CallBlocked = {
pallet_name: Bytes,
call_name: Bytes,
blocked: bool
}
api.events.maintenanceMode.EVMTargetBlocked
type EVMTargetBlocked = {
target_address: H160,
blocked: bool
}
api.events.maintenanceMode.MaintenanceModeActivated
type MaintenanceModeActivated = {
enabled: bool
}
api.events.maintenanceMode.PalletBlocked
type PalletBlocked = {
pallet_name: Bytes,
blocked: bool
}
api.errors.maintenanceMode.AccountBlocked
api.errors.maintenanceMode.CannotBlock
api.errors.maintenanceMode.InvalidCallName
api.errors.maintenanceMode.InvalidPalletName
api.errors.maintenanceMode.MaintenanceModeActive
api.consts.maintenanceMode.stringLimit
type stringLimit = u32
Was this page helpful?