[][src]Function ewasm_api::selfdestruct

pub fn selfdestruct(address: &Address) -> !

Self-destructs the running contract, sending all its ether to a specified beneficiary address.