Open hats-bug-reporter[bot] opened 1 month ago
Invalid issue.
This issue is more about suggestion/design feature. I believe, not implementing contract pause feature is intended design of protocol. Further, this issue is OOS as per following contest rule.
Issues about code/project quality which do not lead to exploitable vulnerabilities
Github username: -- Twitter username: -- Submission hash (on-chain): 0x7f966451bbf3678f669accab03121f2cf09145965ddc6e15665452a6f687c5eb Severity: low
Description: Description\ The pause mechanism has not been implemented, which would allow users to deposit even during restricted periods. Withdrawals can be allowed, but the deposit functionality must be prevented in specific situations
Attack Scenario\ "If any security issue occurs in the protocol, the deposit function allows users to make deposits, which may lead to a direct loss of funds
Attachments
Proof of Concept (PoC) File
Revised Code File (Optional) https://github.com/AccumulatedFinance/contracts-v2/blob/master/contracts/Minter.sol#L1871C4-L1878C6
Recommendation
Implement pause and not pause mechanism iin deposit function.