encode_generic_adapter_execute_calls_args
Documentation for eth_defi.enzyme.generic_adapter.encode_generic_adapter_execute_calls_args function.
- encode_generic_adapter_execute_calls_args(incoming_assets, min_incoming_asset_amounts, spend_assets, spend_asset_amounts, external_calls)[source]
Encode arguments for a generic adapter call.
- Parameters
incoming_assets (Collection[Union[web3.contract.contract.Contract, eth_typing.evm.HexAddress]]) –
min_incoming_asset_amounts (Collection[int]) –
spend_assets (Collection[Union[web3.contract.contract.Contract, eth_typing.evm.HexAddress]]) –
spend_asset_amounts (Collection[int]) –
external_calls (Collection[Tuple[web3.contract.contract.Contract, bytes]]) –