← Overview Step 3 of 6 — Interpretation
Tribulnation Portfolio/Litmus Briefing

Decoding on-chain contract calls

An exchange trade record already states what happened. An on-chain transaction only records which contract was called with which bytes.

Input
EvmTx, CosmosTx, etc.
Goal
Decode a contract call into an economic event.
Output
Event = Swap | Bridge | Liquidity | ...

For example, a Uniswap-style swap on Ethereum:

raw transaction
chainethereum
to0x7a25...c3f1
method_id0x38ed1739
transfers−1000 USDC, +0.5 ETH
evm catalogue
chainethereum
contract0x7a25...c3f1
method_id0x38ed1739
kindswap
nameswapExactTokensForTokens
abi{ ... }
Interpretation
Event: Swap
tag:  defi_swap
legs: −1000 USDC
      +0.5 ETH
EvmInterpretationError
unknown_contract
unknown_method
failed_decoding

Click a table or a result for details.

← Account Reconciliation