Solhint

Solhint

Community Analyzer

Explicitly mark all external contracts as trusted or untrusted SOLHINT-W1045

Security
Major

Explicitly mark all external contracts as trusted or untrusted.

Bad Practice

  1. External contract name without "Trusted" prefix
Bank.withdraw(100);

Recommended

  1. External contract name with "Trusted" prefix
TrustedBank.withdraw(100);

Learn more

mark-callable-contracts on Solhint's documentation.