ethers_ccip_read/
lib.rs

1//! # Ethers CCIP-Read
2//!
3//! Provides an [ethers](https://docs.rs/ethers) compatible middleware for submitting
4pub use errors::CCIPReadMiddlewareError;
5use ethers_core::types::{Address, Bytes};
6pub use middleware::CCIPReadMiddleware;
7
8mod ccip;
9mod errors;
10mod middleware;
11pub mod utils;
12
13#[derive(Debug, Clone)]
14pub struct CCIPRequest {
15    pub url: String,
16    pub sender: Address,
17    pub calldata: Bytes,
18}