File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ use foundry_evm::{
2121 } ,
2222} ;
2323use reqwest:: Url ;
24- use serde:: { Deserialize , Serialize } ;
2524use solar:: {
2625 parse:: lexer:: token:: { RawLiteralKind , RawTokenKind } ,
2726 sema:: ast:: Base ,
@@ -55,18 +54,6 @@ pub struct ChiselDispatcher {
5554 pub helper : SolidityHelper ,
5655}
5756
58- /// A response from the Etherscan API's `getabi` action
59- #[ derive( Debug , Serialize , Deserialize ) ]
60- pub struct EtherscanABIResponse {
61- /// The status of the response
62- /// "1" = success | "0" = failure
63- pub status : String ,
64- /// The message supplied by the API
65- pub message : String ,
66- /// The result returned by the API. Will be `None` if the request failed.
67- pub result : Option < String > ,
68- }
69-
7057/// Helper function that formats solidity source with the given [FormatterConfig]
7158pub fn format_source ( source : & str , config : FormatterConfig ) -> eyre:: Result < String > {
7259 let formatted = forge_fmt:: format ( source, config) . into_result ( ) ?;
You can’t perform that action at this time.
0 commit comments