Enum vvm::CreateContractAddress[][src]

pub enum CreateContractAddress {
    FromSenderAndNonce,
    FromSenderSaltAndCodeHash(H256),
    FromSenderAndCodeHash,
}

Specifies how an address is calculated for a new contract.

Variants

FromSenderAndNonce

Address is calculated from sender and nonce. tWASM create scheme.

FromSenderSaltAndCodeHash(H256)

Address is calculated from sender, salt and code hash. tWASM create2 scheme and EIP-1014 CREATE2 scheme.

FromSenderAndCodeHash

Address is calculated from code hash and sender. Used by twasm create ext.

Trait Implementations

impl Clone for CreateContractAddress[src]

impl Copy for CreateContractAddress[src]

impl Debug for CreateContractAddress[src]

impl Eq for CreateContractAddress[src]

impl Hash for CreateContractAddress[src]

impl PartialEq<CreateContractAddress> for CreateContractAddress[src]

impl StructuralEq for CreateContractAddress[src]

impl StructuralPartialEq for CreateContractAddress[src]

Auto Trait Implementations

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> From<T> for T[src]

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

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,