execute_calls_for_generic_adapter

Documentation for eth_defi.enzyme.generic_adapter.execute_calls_for_generic_adapter function.

execute_calls_for_generic_adapter(comptroller, external_calls, generic_adapter, integration_manager, incoming_assets, min_incoming_asset_amounts, spend_assets, spend_asset_amounts)[source]

Create a vault buy/sell transaction using a generic adapter.

Returns

A contract function object with bound arguments

Parameters
Return type

web3.contract.contract.ContractFunction