Skip to content

Maintenance


Calls


disable

See [Pallet::disable].

Attributes

No attributes

Python

call = substrate.compose_call(
    'Maintenance', 'disable', {}
)

enable

See [Pallet::enable].

Attributes

No attributes

Python

call = substrate.compose_call(
    'Maintenance', 'enable', {}
)

Events


MaintenanceDisabled

Attributes

No attributes


MaintenanceEnabled

Attributes

No attributes


Storage functions


Enabled

Python

result = substrate.query(
    'Maintenance', 'Enabled', []
)

Return value

'bool'