EncodedCallResult
Documentation for eth_defi.event_reader.multicall_batcher.EncodedCallResult Python class.
- class EncodedCallResult[source]
Result of an one multicall.
Example:
# File 21 of 47 : PlasmaVaultStorageLib.sol # /// @custom:storage-location erc7201:io.ipor.PlasmaVaultPerformanceFeeData # struct PerformanceFeeData { # address feeManager; # uint16 feeInPercentage; # } data = call_by_name["getPerformanceFeeData"].result performance_fee = int.from_bytes(data[32:64], byteorder="big") / 10_000
Attributes summary
call
success
result
block_identifier
Methods summary
__init__
(call, success, result, block_identifier)- __init__(call, success, result, block_identifier)
- Parameters
call (eth_defi.event_reader.multicall_batcher.EncodedCall) –
success (bool) –
result (bytes) –
block_identifier (Union[Literal['latest', 'earliest', 'pending', 'safe', 'finalized'], eth_typing.evm.BlockNumber, eth_typing.evm.Hash32, eth_typing.encoding.HexStr, int]) –
- Return type
None