mevlog 0.9.1

EVM transactions monitoring and querying CLI/TUI powered by Revm
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[derive(Clone, Debug)]
pub struct MEVOpcode {
    pub pc: u64,
    pub op: String,
    pub cost: u64,
    pub gas_left: u64,
}

impl MEVOpcode {
    pub fn new(pc: u64, op: String, cost: u64, gas_left: u64) -> Self {
        Self {
            pc,
            op,
            cost,
            gas_left,
        }
    }
}