compile.solidity
Module¶
The compile.solidity
module
Solidity compilation utilities
-
solidbyte.compile.solidity.
is_solidity_interface_only
(filepath: Union[str, pathlib.Path]) → bool[source]¶ Given a path to a source file, check if the file only defines an
interface
, but no othercontract
.Parameters: filepath – ( str
orpathlib.Path
) Path to the source file to checkReturns: ( bool
) If it’s recognize as a Solidity interface