Solidity Tutorial: all about interfaces
Published in
13 min readMar 14, 2022
When you flip a light switch, the light goes on.
You do not care “how” the switch turns the light on.
You just care that “it does turn the light on”.
Table of Contents
The idea behind interfaces
What are smart contract interfaces?
Interfaces in Solidity
How to define and use an interface in Solidity?
Functions defined inside an interface.
Function visibility inside interfaces