Skip to main content

load_solidity_example_by_name

Function load_solidity_example_by_name 

Source
pub fn load_solidity_example_by_name(
    path: &str,
    contract_name: &str,
) -> Result<Vec<u8>>
Expand description

Reads a Solidity file and returns the compiled bytecode of the contract with the given name.