Enum evm::ContractCreateResult [−][src]
pub enum ContractCreateResult { Created(H160, U256), Failed, Reverted(U256, ReturnData), }
Result of externalities create function.
Variants
Created(H160, U256)
Returned when creation was successfull. Contains an address of newly created contract and gas left.
Failed
Returned when contract creation failed. VM doesn't have to know the reason.
Reverted(U256, ReturnData)
Reverted with REVERT.
Auto Trait Implementations
impl Send for ContractCreateResult
impl Send for ContractCreateResult
impl Sync for ContractCreateResult
impl Sync for ContractCreateResult