Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ethtx/decoders/abi/calls.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from .abc import ABISubmoduleAbc
from .helpers.utils import decode_function_abi_with_external_source
from ..decoders.parameters import decode_function_parameters, decode_graffiti_parameters
from decimal import Decimal

log = logging.getLogger(__name__)

Expand Down Expand Up @@ -191,7 +192,7 @@ def decode_call(
call_type=call.call_type,
from_address=AddressInfo(address=call.from_address, name=from_name),
to_address=AddressInfo(address=call.to_address, name=to_name),
value=call.call_value / 10**18,
value=Decimal(call.call_value) / 10**18,
function_signature=function_signature,
function_name=function_name,
arguments=function_input,
Expand Down