Function ethers::solc::utils::find_version_pragma[][src]

pub fn find_version_pragma(contract: &str) -> Option<&str>
Expand description

Returns the solidity version pragma from the given input: pragma solidity ^0.5.2; => ^0.5.2