An external call is more than a request for a result. It is a point where another component may execute behaviour before the original operation finishes. Reviewing those points helps expose reentrancy and other interaction failures that are easy to miss when reading one function linearly. Begin with the state the operation promises to preserve, then examine what another contract could observe or invoke at each boundary.
Inventory interactions beyond obvious payments
List token transfers, receiver hooks, oracle calls and other external interactions. Include calls hidden in inherited helpers or library wrappers. A familiar token interface does not establish that every token implementation behaves identically. Mark which calls can change external state and which assumptions the contract makes about their result. Solidity's security guidance treats external interaction as an important control boundary. The practical review should follow the actual dependency graph so an indirect callback is not overlooked simply because the top-level function contains no visibly unfamiliar code.
Check state at the moment control leaves
For each interaction, inspect balances, eligibility flags and accounting totals as they stand before the call. Ask whether another reachable function could observe or use a partially updated state. Review the entire shared invariant rather than one variable. A function can protect itself while another entry point still exposes an inconsistent view. Organising checks, state changes and interactions carefully is an important design technique, but the review must confirm that the ordering makes sense for this operation and every relevant path through the surrounding contracts.
Use guards with an explicit coverage model
A reentrancy guard can help protect selected entry points, but it should not become a reason to stop reasoning about shared state. Document which functions are covered and whether interactions through another contract remain relevant. Verify the chosen library's current behaviour and compatibility with the execution environment. Avoid mixing variants or assumptions from different dependency versions without review. The question is whether the protection covers the actual callback paths and state relationships, including a callback that invokes a different function from the one currently executing.
Test adverse counterparties
Create controlled test components that reject a call, return unexpected results or call back through relevant entry points. Use them to examine the contract's behaviour under failed and nested interactions. Include a legitimate recipient with complex behaviour so protection does not unnecessarily break supported use. Preserve the expected outcome for each case: complete safely, revert coherently or leave a claim available for another attempt. A passing happy-path transfer is weak evidence when the design's safety depends on how it behaves after control has left the original function.
Review interactions whenever dependencies change
Adding a new asset type or external integration can invalidate earlier assumptions even if the core contract barely changes. Update the call inventory and rerun the targeted scenarios alongside independent review. Monitor failures that suggest a supported counterparty behaves differently from the model. A disciplined external-call review makes the system easier to explain because it identifies where state must already be coherent and where failure must remain contained. It complements libraries and tests by keeping attention on the full sequence of control and the product properties that sequence must preserve.
The key decisions.
- A reentrancy guard can help protect selected entry points, but it should not become a reason to stop reasoning about shared state.
- Create controlled test components that reject a call, return unexpected results or call back through relevant entry points.
- Adding a new asset type or external integration can invalidate earlier assumptions even if the core contract barely changes.
Sources & further reading
Primary references for the concepts discussed. Check the applicable documentation when planning implementation.







