pub struct RevivePagedQueryApi<'api> { /* private fields */ }Implementations§
Source§impl<'api> RevivePagedQueryApi<'api>
impl<'api> RevivePagedQueryApi<'api>
Sourcepub fn pristine_code(&self) -> StoragePaged<H256, Vec<u8>>
pub fn pristine_code(&self) -> StoragePaged<H256, Vec<u8>>
A mapping from a contract’s code hash to its code.
The code’s size is bounded by [crate::limits::BLOB_BYTES] for PVM and
[revm::primitives::eip170::MAX_CODE_SIZE] for EVM bytecode.
Sourcepub fn code_info_of(&self) -> StoragePaged<H256, CodeInfo>
pub fn code_info_of(&self) -> StoragePaged<H256, CodeInfo>
A mapping from a contract’s code hash to its code info.
Sourcepub fn account_info_of(&self) -> StoragePaged<H160, AccountInfo>
pub fn account_info_of(&self) -> StoragePaged<H160, AccountInfo>
The data associated to a contract or externally owned account.
Sourcepub fn immutable_data_of(&self) -> StoragePaged<H160, Vec<u8>>
pub fn immutable_data_of(&self) -> StoragePaged<H160, Vec<u8>>
The immutable data associated with a given account.
Sourcepub fn deletion_queue(&self) -> StoragePaged<u32, Vec<u8>>
pub fn deletion_queue(&self) -> StoragePaged<u32, Vec<u8>>
Evicted contracts that await child trie deletion.
Child trie deletion is a heavy operation depending on the amount of storage items
stored in said trie. Therefore this operation is performed lazily in on_idle.
Sourcepub fn original_account(&self) -> StoragePaged<H160, AccountId>
pub fn original_account(&self) -> StoragePaged<H160, AccountId>
Map a Ethereum address to its original AccountId32.
When deriving a H160 from an AccountId32 we use a hash function. In order to
reconstruct the original account we need to store the reverse mapping here.
Register your AccountId32 using [Pallet::map_account] in order to
use it with this pallet.
Sourcepub fn block_hash(&self) -> StoragePaged<u32, H256>
pub fn block_hash(&self) -> StoragePaged<u32, H256>
Mapping for block number and hashes.
The maximum number of elements stored is capped by the block hash count BLOCK_HASH_COUNT.
Trait Implementations§
Source§impl<'api> Clone for RevivePagedQueryApi<'api>
impl<'api> Clone for RevivePagedQueryApi<'api>
Source§fn clone(&self) -> RevivePagedQueryApi<'api>
fn clone(&self) -> RevivePagedQueryApi<'api>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl<'api> Freeze for RevivePagedQueryApi<'api>
impl<'api> !RefUnwindSafe for RevivePagedQueryApi<'api>
impl<'api> Send for RevivePagedQueryApi<'api>
impl<'api> Sync for RevivePagedQueryApi<'api>
impl<'api> Unpin for RevivePagedQueryApi<'api>
impl<'api> UnsafeUnpin for RevivePagedQueryApi<'api>
impl<'api> !UnwindSafe for RevivePagedQueryApi<'api>
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
Source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
impl<Src, Dest> IntoTuple<Dest> for Srcwhere
Dest: FromTuple<Src>,
fn into_tuple(self) -> Dest
Source§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
Source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
Source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
Source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
T. Read moreSource§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
Source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from.Source§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
Source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T.