Module fadroma::killswitch
source · [−]Expand description
Feature flag: killswitch
Emergency pause and termination of contracts.
Structs
Current state of a contract w/ optional description and pointer to new version
Enums
Constants
Traits
Requires the admin component in order to check for admin.
Functions
Fail if trying to return from Migrating
status.
Return the current contract status. Defaults to operational if nothing was stored.
Fail if the current contract status level is other than Operational
.
Store a new contract status. Requires the admin component in order to check for admin.