INNER CODE UNIT · Rust

get_type

fuzzland/ityfuzz · src/evm/middlewares/cheatcode/mod.rs:115

    fn get_type(&self) -> MiddlewareType {
        MiddlewareType::Cheatcode
    }

    fn as_any(&self) -> &dyn std::any::Any {
        self
    }
}

impl<SC> Cheatcode<SC>
where
    SC: Scheduler<State = EVMFuzzState> + Clone,
{
    pub fn new(etherscan_api_key: &str) -> Self {
        Self {
            accesses: None,
            recorded_logs: None,
            etherscan_api_key: etherscan_api_key.split(',').map(|s| s.to_string()).collect(),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…