Sitemap
Elvis Teeka

Elvis Teeka

Interface solidity

Feb 18, 2022

You can interact with a contract by use of an interface.

An interface has no constructor ,cannot declare a state variable and all functions are external .

Get Elvis Teeka’s stories in your inbox

Join Medium for free to get updates from this writer.

An interface can also inherit from other interfaces.

When calling the interface you pass in the address of the deployed contract, and then you can call any function.

--

--