pub enum EvmFinalizer {
Create {
nonce: u64,
},
FirstStorageSlot,
CustomStorageSlot,
}Expand description
How the sender of FinalizeEvmContract shows it deployed the
contract.
Variants§
Create
{"create":{"nonce"}}: the contract was deployed from an account,
which sends this with the EVM nonce it deployed at.
FirstStorageSlot
"firstStorageSlot": the contract’s first storage slot holds the
sender’s address.
CustomStorageSlot
"customStorageSlot": the slot at keccak256("HyperCore deployer")
holds the sender’s address.
Implementations§
Trait Implementations§
Source§impl Clone for EvmFinalizer
impl Clone for EvmFinalizer
impl Copy for EvmFinalizer
Source§impl Debug for EvmFinalizer
impl Debug for EvmFinalizer
impl Eq for EvmFinalizer
Source§impl PartialEq for EvmFinalizer
impl PartialEq for EvmFinalizer
impl StructuralPartialEq for EvmFinalizer
Auto Trait Implementations§
impl Forget for EvmFinalizer
impl Freeze for EvmFinalizer
impl Move for EvmFinalizer
impl RefUnwindSafe for EvmFinalizer
impl Send for EvmFinalizer
impl Sync for EvmFinalizer
impl Unpin for EvmFinalizer
impl UnsafeUnpin for EvmFinalizer
impl UnwindSafe for EvmFinalizer
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.