Solidity course

Solidity Level 6: Contract Interaction

Contract Interaction is level 6 of 17 of the LoWisa Solidity course. It has 3 lessons and 9 ideas. Below is every lesson and what it teaches, in one line each.

Updated 2026-11-30

ABI

  • The ABI. The ABI defines how calls encode: selectors and arguments as bytes every client speaks.
  • Function selectors. A selector is the first four bytes of a call: the function’s address inside the contract.
  • abi.encode family. abi.encode and friends build call data and hashes: encoding chosen deliberately, collision-aware.

External Calls

  • Calling contracts. Contracts call contracts through interfaces: typed calls compiled to EVM message calls.
  • Untrusted callees. Every external call hands control to untrusted code: reentry possible until proven otherwise.
  • low-level call. The low-level call returns success and data: unchecked returns are silent failure, always checked.

Ether and Value Transfers

  • receive and fallback. receive accepts plain value; fallback answers unknown calls: the two doors audited first.
  • Sending value. Value moves with call and explicit gas: transfer’s fixed stipend broke, the lesson remains.
  • Pull over push. Pull payments beat push: recipients withdraw, so one blocked transfer cannot jam the system.

Before and after this level

In the app each of these ideas is taught and then asked back, and the level ends with a checkpoint and flashcards. See Checkpoints and flashcards.

Frequently asked questions

What does Solidity Level 6: Contract Interaction cover?

ABI, External Calls, Ether and Value Transfers: 3 lessons and 9 ideas.

What should I know before this level?

The level before it, Level 5: Events & Errors, which covers Events, Custom Errors, Reverts and Contract Failure.

Learn Solidity on your phone

The first level is free. LoWisa is on Google Play and the App Store.