Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions chain/ethereum/src/adapter.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
use anyhow::Error;
use ethabi::{Error as ABIError, Function, ParamType, Token};
use ethabi::{Error as ABIError, ParamType, Token};
use graph::blockchain::ChainIdentifier;
use graph::components::subgraph::MappingError;
use graph::data::store::ethereum::call;
use graph::data_source::common::ContractCall;
use graph::firehose::CallToFilter;
use graph::firehose::CombinedFilter;
use graph::firehose::LogFilter;
Expand Down Expand Up @@ -93,16 +94,6 @@ impl EventSignatureWithTopics {
}
}

#[derive(Clone, Debug)]
pub struct ContractCall {
pub contract_name: String,
pub address: Address,
pub block_ptr: BlockPtr,
pub function: Function,
pub args: Vec<Token>,
pub gas: Option<u32>,
}

#[derive(Error, Debug)]
pub enum EthereumRpcError {
#[error("call error: {0}")]
Expand Down
Loading