trailofbits/manticore

Feature request: Automatic conversion of tx.return_data

Ouverte

#1 595 ouverte le 23 janv. 2020

 (2 commentaires) (0 réaction) (0 personne assignée)Python (481 forks)batch import
ethereumhelp wantedidea

Métriques du dépôt

Stars
 (3 469 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Currently, to retrieve the return value of a transaction, we need to do

    balance_raw = transaction.return_data
    balance = ABI.deserialize("uint", balance_raw)

It would be nice to have a transaction's property that deserializes automatically the data, given the function's signature.

Guide contributeur