Enum evm::ContractCreateResult[][src]

pub enum ContractCreateResult {
    Created(H160U256),
    Failed,
    Reverted(U256ReturnData),
}

Result of externalities create function.

Variants

Returned when creation was successfull. Contains an address of newly created contract and gas left.

Returned when contract creation failed. VM doesn't have to know the reason.

Reverted with REVERT.

Auto Trait Implementations

impl Send for ContractCreateResult

impl Sync for ContractCreateResult