Open hats-bug-reporter[bot] opened 3 months ago
Informational
@rotcivegaf
Similar issues were awarded as Low
in Hats.Finance contests before.
As I said in the hats discord and you affirmed https://discord.com/channels/810534320040837121/1250435910080925707/1258607595531276329 this issue is informational
Like the Hats.Finance contests before, the protocol haves the last word
Github username: @erictee2802 Twitter username: 0xEricTee Submission hash (on-chain): 0x39a0e25ef132c15bcecb0addf0f7aa86cb640228c8a99e4949dd1d334351d2d8 Severity: low
Description: Description
The function
packages/contracts/contracts/illuminex/xengine/chains/btc/wallet/VaultBitcoinWallet.sol::withdraw
is missing event emission. Emitting events when these actions occur is essential for transparency and informing users about important changes. Adding events for these functions will provide users with a clear record of when withdrawals have been requested.Attack Scenario
The absence of events for these critical functions may result in a lack of transparency, making it difficult for users to track important changes in the contract. Emitting events can ensures that users are informed.
Attachments
NA
Manual analysis
Consider adding event emission in
packages/contracts/contracts/illuminex/xengine/chains/btc/wallet/VaultBitcoinWallet.sol::withdraw
.