Skip to main content

codecopy

Function codecopy 

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

Implements the CODECOPY instruction.

Copies running contract’s bytecode to memory.