Platform: Code4rena
Start Date: 18/05/2023
Pot Size: $24,500 USDC
Total HM: 3
Participants: 72
Period: 4 days
Judge: LSDan
Id: 237
League: ETH
Rank: 68/72
Findings: 1
Award: $16.19
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: ABA
Also found by: 0x4non, 0xHati, 0xMosh, 0xSmartContract, 0xWaitress, 0xhacksmithh, 0xnev, 0xprinc, Arabadzhiev, BLACK-PANDA-REACH, Deekshith99, Dimagu, KKat7531, Kose, LosPollosHermanos, MohammedRizwan, QiuhaoLi, RaymondFam, Rickard, Rolezn, SAAJ, Sathish9098, Shubham, SmartGooofy, Tripathi, Udsen, V1235816, adriro, arpit, ayden, bigtone, codeVolcan, d3e4, dwward3n, fatherOfBlocks, favelanky, jovemjeune, kutugu, lfzkoala, lukris02, matrix_0wl, minhquanym, ni8mare, parsely, pxng0lin, radev_sw, ravikiranweb3, rbserver, sces60107, souilos, tnevler, turvy_fuzz, yellowBirdy
16.1907 USDC - $16.19
The code should be refactored such that they no longer exist, or the block should do something useful, such as emitting an event or reverting.
<details> <summary><i>There are 1 instances of this issue:</i></summary></details>File: JBXBuybackDelegate.sol 235: function redeemParams(JBRedeemParamsData calldata _data) 236: external 237: override 238: returns (uint256 reclaimAmount, string memory memo, JBRedemptionDelegateAllocation[] memory delegateAllocations) 239: {}
Ownable
but not use itNo function uses onlyOwner
modifier from Ownable
contract. If it concidered to be used in child contracts, child can inherit Ownable
contract itself.
</details>39: contract JBXBuybackDelegate is IJBFundingCycleDataSource, IJBPayDelegate, IUniswapV3SwapCallback, Ownable {
</details>File: JBXBuybackDelegate.sol 52: event JBXBuybackDelegate_Swap(uint256 projectId, uint256 amountEth, uint256 amountOut); 53: event JBXBuybackDelegate_Mint(uint256 projectId);
#0 - c4-judge
2023-06-02T11:04:11Z
dmvt marked the issue as grade-b