# Solidity Level 6: Contract Interaction

> Level 6: Contract Interaction of the LoWisa Solidity course: ABI, External Calls, Ether and Value Transfers. 3 lessons and 9 ideas, each explained in one line.

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

## 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

- **Before:** [Level 5: Events & Errors](/courses/solidity/level-5-events-and-errors/): Events, Custom Errors, Reverts and Contract Failure.
- **Next:** [Level 7: Interfaces & Libraries](/courses/solidity/level-7-interfaces-and-libraries/): Interfaces, Libraries, Inheritance and Composition.

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](/help/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.

---

Source: https://lowisa.dev/courses/solidity/level-6-contract-interaction/ · Updated 2026-11-30
