Enum vm::CreateContractAddress [−][src]
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
[src]
impl Copy for CreateContractAddress
impl Clone for CreateContractAddress
[src]
impl Clone for CreateContractAddress
fn clone(&self) -> CreateContractAddress
[src]
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 PartialEq for CreateContractAddress
[src]
impl PartialEq for CreateContractAddress
fn eq(&self, other: &CreateContractAddress) -> bool
[src]
fn eq(&self, other: &CreateContractAddress) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for CreateContractAddress
[src]
impl Eq for CreateContractAddress
Auto Trait Implementations
impl Send for CreateContractAddress
impl Send for CreateContractAddress
impl Sync for CreateContractAddress
impl Sync for CreateContractAddress