is_stylus_program

Function is_stylus_program 

Source
pub fn is_stylus_program(bytecode: &[u8]) -> bool
Expand description

Returns true if the bytecode is a Stylus WASM program.

Checks for the 3-byte discriminant prefix [0xEF, 0xF0, 0x00].