Skip to main content

create

Function create 

Source
pub fn create<const IS_CREATE2: bool, IT: ITy, H: Host + ?Sized>(
    context: InstructionContext<'_, H, IT>,
) -> InstructionExecResult
Expand description

Implements the CREATE/CREATE2 instruction.

Creates a new contract with provided bytecode.