Skip to main content

create

pub fn create<const IS_CREATE2: bool, IT, H>(
    context: InstructionContext<'_, H, IT>,
) -> Result<(), InstructionResult>
where IT: InterpreterTypes, H: Host + ?Sized,
Available on crate feature evm only.
Expand description

Implements the CREATE/CREATE2 instruction.

Creates a new contract with provided bytecode.