Skip to main content

Module deprecated_oz_function

Module deprecated_oz_function 

Source

Statics§

DEPRECATED_OZ_FUNCTION

Functions§

is_deprecated_oz 🔒
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.