Module fadroma::killswitch
source · Expand description
Structs
Enums
- Possible states of a contract.
Constants
Traits
- Requires the admin component in order to check for admin.
Functions
- Fail if trying to return from
ContractStatus::Migrating
status. - Fail if the current contract status level is other than
ContractStatus::Operational
. - Returns
false
if the current contract status level is other thanContractStatus::Operational
. - Store a new contract status. Requires the admin component in order to check for admin.