Skip to main content

codesize

Function codesize 

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

Implements the CODESIZE instruction.

Pushes the size of running contract’s bytecode onto the stack.