trailofbits/manticore

Feature request: Automatic conversion of tx.return_data

Open

#1.595 geöffnet am 23. Jan. 2020

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (481 Forks)batch import
ethereumhelp wantedidea

Repository-Metriken

Stars
 (3.469 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide