is_stylus_component

Function is_stylus_component 

Source
pub fn is_stylus_component(bytecode: &[u8], arbos_version: u64) -> bool
Expand description

Returns true if the bytecode is a deployable Stylus component: a classic or root program, or (at the contract-limit version) a fragment. Used to permit storing such code despite its 0xEF prefix, mirroring IsStylusComponentPrefix.