Settings
Help

create

Function create 

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

Implements the CREATE/CREATE2 instruction.

Creates a new contract with provided bytecode.