Skip to content

Commit

Permalink
add comment parser
Browse files Browse the repository at this point in the history
  • Loading branch information
KappaShilaff committed May 19, 2023
1 parent 4cdb309 commit 678b809
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,13 @@ pub fn extract_events(
data: &Transaction,
parser: &TransactionParser,
) -> Option<Vec<ExtractedOwned>> {
// let parser = TransactionParser::builder()
// .function_in_list(functions.clone(), false)
// .functions_out_list(functions, false)
// .events_list(events)
// .build()
// .unwrap();

if let Ok(extracted) = parser.parse(data) {
if !extracted.is_empty() {
return filter_extracted(extracted, data.clone());
Expand Down

0 comments on commit 678b809

Please sign in to comment.