Expand description
Structs§
Enums§
- Contract
Status - Possible states of a contract.
- Execute
Msg - Query
Msg
Constants§
Traits§
- Killswitch
- Requires the admin component in order to check for admin.
Functions§
- assert_
can_ set_ status - Fail if trying to return from
ContractStatus::Migrating
status. - assert_
is_ operational - Fail if the current contract status level is other than
ContractStatus::Operational
. - is_
operational - Returns
false
if the current contract status level is other thanContractStatus::Operational
. - set_
status - Store a new contract status. Requires the admin component in order to check for admin.