trailofbits/manticore

Feature request: Automatic conversion of tx.return_data

Open

#1,595 建立於 2020年1月23日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Python (3,469 star) (481 fork)batch import
ethereumhelp wantedidea

描述

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.

貢獻者指南