Struct fc_rpc::EthApi[][src]

pub struct EthApi<B: BlockT, C, P, CT, BE, H: ExHashT> { /* fields omitted */ }

Implementations

impl<B: BlockT, C, P, CT, BE, H: ExHashT> EthApi<B, C, P, CT, BE, H> where
    C: ProvideRuntimeApi<B>,
    C::Api: EthereumRuntimeRPCApi<B>,
    B: BlockT<Hash = H256> + Send + Sync + 'static,
    C: Send + Sync + 'static, 
[src]

pub fn new(
    client: Arc<C>,
    pool: Arc<P>,
    convert_transaction: CT,
    network: Arc<NetworkService<B, H>>,
    pending_transactions: PendingTransactions,
    signers: Vec<Box<dyn EthSigner>>,
    overrides: BTreeMap<EthereumStorageSchema, Box<dyn StorageOverride<B> + Send + Sync>>,
    backend: Arc<Backend<B>>,
    is_authority: bool
) -> Self
[src]

Trait Implementations

impl<B, C, P, CT, BE, H: ExHashT> EthApi for EthApi<B, C, P, CT, BE, H> where
    C: ProvideRuntimeApi<B> + StorageProvider<B, BE> + AuxStore,
    C: HeaderBackend<B> + HeaderMetadata<B, Error = BlockChainError> + 'static,
    C::Api: EthereumRuntimeRPCApi<B>,
    BE: Backend<B> + 'static,
    BE::State: StateBackend<BlakeTwo256>,
    B: BlockT<Hash = H256> + Send + Sync + 'static,
    C: Send + Sync + 'static,
    P: TransactionPool<Block = B> + Send + Sync + 'static,
    CT: ConvertTransaction<<B as BlockT>::Extrinsic> + Send + Sync + 'static, 
[src]

Auto Trait Implementations

impl<B, C, P, CT, BE, H> !RefUnwindSafe for EthApi<B, C, P, CT, BE, H>

impl<B, C, P, CT, BE, H> Send for EthApi<B, C, P, CT, BE, H> where
    BE: Send,
    C: Send + Sync,
    CT: Send,
    P: Send + Sync

impl<B, C, P, CT, BE, H> Sync for EthApi<B, C, P, CT, BE, H> where
    BE: Sync,
    C: Send + Sync,
    CT: Sync,
    P: Send + Sync

impl<B, C, P, CT, BE, H> Unpin for EthApi<B, C, P, CT, BE, H> where
    B: Unpin,
    BE: Unpin,
    CT: Unpin

impl<B, C, P, CT, BE, H> !UnwindSafe for EthApi<B, C, P, CT, BE, H>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedConversion for T[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IsType<T> for T

impl<T, Outer> IsWrappedBy<Outer> for T where
    T: From<Outer>,
    Outer: AsRef<T> + AsMut<T> + From<T>, 

pub fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

pub fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 

impl<T, S> UniqueSaturatedInto<T> for S where
    T: Bounded,
    S: TryInto<T>, 

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]