Skip to main content

codecopy

Function codecopy 

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

Implements the CODECOPY instruction.

Copies running contract’s bytecode to memory.