Enum ethcore::CreateContractAddress
[−]
pub enum CreateContractAddress { FromSenderAndNonce, FromCodeHash, FromSenderAndCodeHash, }
Specifies how an address is calculated for a new contract.
Variants
FromSenderAndNonce
Address is calculated from nonce and sender. Pre EIP-86 (Metropolis)
FromCodeHash
Address is calculated from code hash. Default since EIP-86
FromSenderAndCodeHash
Address is calculated from code hash and sender. Used by CREATE_P2SH instruction.
Trait Implementations
impl Copy for CreateContractAddress
impl Copy for CreateContractAddress
impl Clone for CreateContractAddress
impl Clone for CreateContractAddress
fn clone(&self) -> CreateContractAddress
fn clone(&self) -> CreateContractAddress
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for CreateContractAddress
impl Eq for CreateContractAddress
impl PartialEq<CreateContractAddress> for CreateContractAddress
impl PartialEq<CreateContractAddress> for CreateContractAddress
Auto Trait Implementations
impl Send for CreateContractAddress
impl Send for CreateContractAddress
impl Sync for CreateContractAddress
impl Sync for CreateContractAddress