Function ethers_solc::utils::find_version_pragma
source · Expand description
Returns the solidity version pragma from the given input:
pragma solidity ^0.5.2;
=> ^0.5.2
Returns the solidity version pragma from the given input:
pragma solidity ^0.5.2;
=> ^0.5.2