Enum ethcore::CreateContractAddress[][src]

pub enum CreateContractAddress {
    FromSenderAndNonce,
    FromCodeHash,
    FromSenderAndCodeHash,
}

Specifies how an address is calculated for a new contract.

Variants

Address is calculated from nonce and sender. Pre EIP-86 (Metropolis)

Address is calculated from code hash. Default since EIP-86

Address is calculated from code hash and sender. Used by CREATE_P2SH instruction.

Trait Implementations

impl Copy for CreateContractAddress
[src]

impl Eq for CreateContractAddress
[src]

impl PartialEq<CreateContractAddress> for CreateContractAddress
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for CreateContractAddress
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for CreateContractAddress

impl Sync for CreateContractAddress