fn is_deprecated_oz(gcx: Gcx<'_>, function_id: FunctionId) -> boolExpand description
Whether function_id is one of the functions OpenZeppelin deprecated: SafeERC20.safeApprove
and AccessControl._setupRole (plus their upgradeable variants). Extensions inherit these
functions rather than redeclare them, so resolution still lands on the canonical declaration;
a same-name function of an unrelated contract or library stays out, and so does a same-name
local declaration, which fails the provenance check.