Skip to content

TRC-007 ExternalInvocation

Description

External calls make this contract's implementation dependent on other external contracts, which may introduce additional risks.

Risk Pattern

function _transfer(address from, address recipient, uint256 amount) internal virtual override returns (bool) {
  require(_balances[_msgSender()] >= amount, );
  _balances[_msgSender()] -= amount;
  _balances[recipient] += amount;
  address1.transfer(amount);
  emit Transfer(_msgSender(), recipient, amount);
  return true;
}

Risk Samples