Open code423n4 opened 2 years ago
Good practice to do but non-critical and contract is live
Disagree with the finding as arguably in-line modifiers are a emergent feature of solidity, as inlined modifiers saves gas
Keeping issue open as non-critical
Handle
fatima_naz
Vulnerability details
Impact
In SettToRenIbbtcZap.sol line no - 105 and 109 Function Modifiers are used to modify the behaviour of a function. For example to add a prerequisite to a function.The main use case of modifiers is for automatically checking a condition, prior to executing a function.
Proof of Concept
https://stackoverflow.com/questions/44982437/what-does-a-modifier-do-in-solidity
Tools Used
Recommended Mitigation Steps
use modifier keyword instead of writing function .