Function brontes_inspect::mev_inspectors::cex_dex::markout::log_cex_trade_price_delta
source ยท pub fn log_cex_trade_price_delta(
tx_hash: &FixedBytes<32>,
token_in_symbol: &str,
token_out_symbol: &str,
dex_swap_rate: f64,
cex_price: f64,
token_in_address: &Address,
token_out_address: &Address,
price_calculation_type: PriceCalcType,
dex_amount_in: &Rational,
dex_amount_out: &Rational,
cex_output: &Rational,
was_inter: bool,
)