Struct fc_storage::SchemaV2Override
source · pub struct SchemaV2Override<B: BlockT, C, BE> { /* private fields */ }
Expand description
An override for runtimes that use Schema V2
Implementations§
Trait Implementations§
source§impl<B, C, BE> StorageOverride<B> for SchemaV2Override<B, C, BE>where
B: BlockT,
C: HeaderBackend<B> + StorageProvider<B, BE> + 'static,
BE: Backend<B> + 'static,
impl<B, C, BE> StorageOverride<B> for SchemaV2Override<B, C, BE>where
B: BlockT,
C: HeaderBackend<B> + StorageProvider<B, BE> + 'static,
BE: Backend<B> + 'static,
source§fn account_code_at(&self, block_hash: B::Hash, address: H160) -> Option<Vec<u8>>
fn account_code_at(&self, block_hash: B::Hash, address: H160) -> Option<Vec<u8>>
For a given account address, returns pallet_evm::AccountCodes.
source§fn storage_at(
&self,
block_hash: B::Hash,
address: H160,
index: U256
) -> Option<H256>
fn storage_at( &self, block_hash: B::Hash, address: H160, index: U256 ) -> Option<H256>
For a given account address and index, returns pallet_evm::AccountStorages.
source§fn current_block(&self, block_hash: B::Hash) -> Option<BlockV2>
fn current_block(&self, block_hash: B::Hash) -> Option<BlockV2>
Return the current block.
source§fn current_receipts(&self, block_hash: B::Hash) -> Option<Vec<ReceiptV3>>
fn current_receipts(&self, block_hash: B::Hash) -> Option<Vec<ReceiptV3>>
Return the current receipt.
source§fn current_transaction_statuses(
&self,
block_hash: B::Hash
) -> Option<Vec<TransactionStatus>>
fn current_transaction_statuses( &self, block_hash: B::Hash ) -> Option<Vec<TransactionStatus>>
Return the current transaction status.
source§fn elasticity(&self, block_hash: B::Hash) -> Option<Permill>
fn elasticity(&self, block_hash: B::Hash) -> Option<Permill>
Return the elasticity at the given height.
source§fn is_eip1559(&self, _block_hash: B::Hash) -> bool
fn is_eip1559(&self, _block_hash: B::Hash) -> bool
Return
true
if the request BlockId is post-eip1559.Auto Trait Implementations§
impl<B, C, BE> RefUnwindSafe for SchemaV2Override<B, C, BE>
impl<B, C, BE> Send for SchemaV2Override<B, C, BE>
impl<B, C, BE> Sync for SchemaV2Override<B, C, BE>
impl<B, C, BE> Unpin for SchemaV2Override<B, C, BE>
impl<B, C, BE> UnwindSafe for SchemaV2Override<B, C, BE>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IsType<T> for T
impl<T> IsType<T> for T
§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read more§impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
type Error = <U as TryFromKey<T>>::Error
fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>
§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.