File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
crates/block-explorers/src Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -269,6 +269,7 @@ impl Client {
269
269
_ => HashMap :: new ( ) ,
270
270
} ;
271
271
272
+
272
273
let response = self
273
274
. client
274
275
. post ( self . etherscan_api_url . clone ( ) )
Original file line number Diff line number Diff line change @@ -147,13 +147,17 @@ pub enum CodeFormat {
147
147
#[ default]
148
148
#[ serde( rename = "solidity-standard-json-input" ) ]
149
149
StandardJsonInput ,
150
+
151
+ #[ serde( rename = "vyper-json" ) ]
152
+ VyperJson ,
150
153
}
151
154
152
155
impl AsRef < str > for CodeFormat {
153
156
fn as_ref ( & self ) -> & str {
154
157
match self {
155
158
CodeFormat :: SingleFile => "solidity-single-file" ,
156
159
CodeFormat :: StandardJsonInput => "solidity-standard-json-input" ,
160
+ CodeFormat :: VyperJson => "vyper-json" ,
157
161
}
158
162
}
159
163
}
You can’t perform that action at this time.
0 commit comments