pub trait Killswitch {
    fn set_status<S: Storage, A: Api, Q: Querier>(
        &self,
        level: ContractStatusLevel,
        reason: String,
        new_address: Option<HumanAddr>,
        deps: &mut Extern<S, A, Q>,
        env: Env
    ) -> StdResult<HandleResponse> { ... } fn get_status<S: Storage, A: Api, Q: Querier>(
        &self,
        deps: &Extern<S, A, Q>
    ) -> StdResult<ContractStatus<HumanAddr>> { ... } }
Expand description

Requires the admin component in order to check for admin.

Provided Methods

Implementors