How to use the erpc.abi.decode_abi function in erpc

To help you get started, we’ve selected a few erpc examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mattdf / sc-tools / common / common.py View on Github external
def processedAbi(args, data):
    results = abi.decode_abi(args, data[2:].decode("hex"))
    for i in range(0, len(args)):
        if args[i] == "bytes32":
            results[i] = results[i].encode("hex")

    return results