analyse_credit_trade_by_receipt#

API documentation for tradeexecutor.ethereum.one_delta.analysis.analyse_credit_trade_by_receipt Python function.

analyse_credit_trade_by_receipt(web3, one_delta, uniswap, aave, tx, tx_hash, tx_receipt, input_args=None, trade_operation=TradeOperation.OPEN)[source]#

Analyse a 1delta credit supply trade.

Figure out

  • The success of the trade

Parameters:
Returns:

Trade result

Return type:

eth_defi.trade.TradeSuccess | eth_defi.trade.TradeFail