-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23e19b9
commit c791b2e
Showing
3 changed files
with
8 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
#!/usr/bin/env python3 | ||
|
||
from . import lib | ||
from solc_detect import solc_detect | ||
|
||
|
||
def find_pragma_solc_version(input_file): | ||
"""Find the Solidity version declared in pragma of a smart contract.""" | ||
return lib.find_pragma_solc_version(input_file) | ||
return solc_detect.find_pragma_solc_version(input_file) | ||
|
||
|
||
def find_best_solc_version(input_file): | ||
"""Find the best version of Solc compiler for a smart contract.""" | ||
return lib.find_best_solc_version(input_file) | ||
return solc_detect.find_best_solc_version(input_file) | ||
|
||
|
||
def find_best_solc_version_for_pragma(pragma_version): | ||
"""Find the best version of Solc compiler for pragma.""" | ||
return lib.find_best_solc_version_for_pragma(pragma_version) | ||
return solc_detect.find_best_solc_version_for_pragma(pragma_version) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters