Skip to main content

create

Function create 

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

Implements the CREATE/CREATE2 instruction.

Creates a new contract with provided bytecode.