solidity_arg_encoder#

API documentation for tradeexecutor.state.blockhain_transaction.solidity_arg_encoder Python function.

solidity_arg_encoder(val)[source]#

JSON safe Solidity function argument encoder.

  • Support nested lists (Uniswap v3)

  • Fix big ints

  • Abort on floats

Parameters:

val (tuple | list) –

Return type:

list