Skip to content

Commit

Permalink
fix: support more amount arg names
Browse files Browse the repository at this point in the history
  • Loading branch information
gosuto-inzasheru committed Dec 19, 2024
1 parent f116e60 commit 77b5504
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action-scripts/brownie/scripts/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,7 @@ def _parse_transfer(transaction: dict, **kwargs) -> Optional[dict]:
or transaction["contractInputsValues"].get("value")
or transaction["contractInputsValues"].get("wad")
or transaction["contractInputsValues"].get("_value")
or transaction["contractInputsValues"].get("rawAmount")
)
amount = int(raw_amount) / 10 ** token.decimals() if raw_amount else "N/A"
symbol = token.symbol()
Expand Down

0 comments on commit 77b5504

Please sign in to comment.