Skip to content

TRC-006 SelfDestruction

Description

The contract can be destroyed, resulting in the loss of all functionality and zeroing of assets.

Risk Pattern

function close(address payable to) external onlyOwner { 
  selfdestruct(to); 
}

Risk Samples