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.

贡献者指南