Skip to main content

has_call_protection

Function has_call_protection 

Source
fn has_call_protection(code: &BytecodeObject) -> bool
Expand description

Returns whether Solidity deployed code starts with the library call protection prefix.

See https://docs.soliditylang.org/en/latest/contracts.html#call-protection-for-libraries.