Skip to content

Commit e546834

Browse files
authored
chore(chisel): remove unused EtherscanABIResponse and serde import (#11911)
1 parent e73ca3e commit e546834

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

crates/chisel/src/dispatcher.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ use foundry_evm::{
2121
},
2222
};
2323
use reqwest::Url;
24-
use serde::{Deserialize, Serialize};
2524
use 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]
7158
pub fn format_source(source: &str, config: FormatterConfig) -> eyre::Result<String> {
7259
let formatted = forge_fmt::format(source, config).into_result()?;

0 commit comments

Comments
 (0)