"Ethereum smart contracts function as public interfaces that other developers can call and integrate as reusable building blocks."
Ethereum's documentation describes smart contracts as public APIs and explains that developers can integrate contracts from other projects rather than rebuilding their functionality from scratch.
View Source