Function cubist_sdk::gen::interface::get_interface_for_contract
source · pub fn get_interface_for_contract(
source_files: &SourceFiles,
contract: &ContractName,
targets: &Set<Target>
) -> Result<Interfaces>
Expand description
Returns interfaces for only the public, exposable functions in contract
.
These interfaces will be deployed on targets
. In contrast to get_interfaces
above, this function does not infer which contracts and functions to generate
interfaces for, nor does it infer the targets on which to deploy those interfaces.
That is why this function requires the contract
and targets
parameter.