1 2 3 4 5 6 7 8 9 10 11
pub trait EtherCallPort: Send + Sync { type Output; type Error; fn eth_call( &self, address: &str, calldata: &str, block: Option<String>, ) -> impl Future<Output = Result<Self::Output, Self::Error>>; }