Struct fc_rpc::SchemaV1Override[][src]

pub struct SchemaV1Override<B: BlockT, C, BE> { /* fields omitted */ }

An override for runtimes that use Schema V1

Implementations

impl<B: BlockT, C, BE> SchemaV1Override<B, C, BE>[src]

pub fn new(client: Arc<C>) -> Self[src]

Trait Implementations

impl<Block, C, BE> StorageOverride<Block> for SchemaV1Override<Block, C, BE> where
    C: StorageProvider<Block, BE>,
    C: AuxStore,
    C: HeaderBackend<Block>,
    C: HeaderMetadata<Block, Error = BlockChainError> + 'static,
    BE: Backend<Block> + 'static,
    BE::State: StateBackend<BlakeTwo256>,
    Block: BlockT<Hash = H256> + Send + Sync + 'static,
    C: Send + Sync + 'static, 
[src]

fn account_code_at(
    &self,
    block: &BlockId<Block>,
    address: H160
) -> Option<Vec<u8>>
[src]

For a given account address, returns pallet_evm::AccountCodes.

fn storage_at(
    &self,
    block: &BlockId<Block>,
    address: H160,
    index: U256
) -> Option<H256>
[src]

For a given account address and index, returns pallet_evm::AccountStorages.

fn current_block(&self, block: &BlockId<Block>) -> Option<EthereumBlock>[src]

Return the current block.

fn current_receipts(&self, block: &BlockId<Block>) -> Option<Vec<Receipt>>[src]

Return the current receipt.

fn current_transaction_statuses(
    &self,
    block: &BlockId<Block>
) -> Option<Vec<TransactionStatus>>
[src]

Return the current transaction status.

Auto Trait Implementations

impl<B, C, BE> RefUnwindSafe for SchemaV1Override<B, C, BE> where
    B: RefUnwindSafe,
    BE: RefUnwindSafe,
    C: RefUnwindSafe

impl<B, C, BE> Send for SchemaV1Override<B, C, BE> where
    BE: Send,
    C: Send + Sync

impl<B, C, BE> Sync for SchemaV1Override<B, C, BE> where
    BE: Sync,
    C: Send + Sync

impl<B, C, BE> Unpin for SchemaV1Override<B, C, BE> where
    B: Unpin,
    BE: Unpin

impl<B, C, BE> UnwindSafe for SchemaV1Override<B, C, BE> where
    B: UnwindSafe,
    BE: UnwindSafe,
    C: RefUnwindSafe

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> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

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]