From 77b550433ddeaf690a5a8451e83ca54acae93a4e Mon Sep 17 00:00:00 2001 From: Gosuto Inzasheru Date: Thu, 19 Dec 2024 10:27:14 +0100 Subject: [PATCH] fix: support more amount arg names --- action-scripts/brownie/scripts/reports.py | 1 + 1 file changed, 1 insertion(+) diff --git a/action-scripts/brownie/scripts/reports.py b/action-scripts/brownie/scripts/reports.py index 3ce3a94da..88eccd7c4 100644 --- a/action-scripts/brownie/scripts/reports.py +++ b/action-scripts/brownie/scripts/reports.py @@ -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()