Platform: Code4rena
Start Date: 03/05/2023
Pot Size: $60,500 USDC
Total HM: 25
Participants: 114
Period: 8 days
Judge: Picodes
Total Solo HM: 6
Id: 234
League: ETH
Rank: 94/114
Findings: 1
Award: $36.24
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: rbserver
Also found by: 0xnev, ABAIKUNANBAEV, Audit_Avengers, Aymen0909, BGSecurity, BRONZEDISC, Bason, DadeKuma, GG_Security, Jerry0x, Jorgect, MohammedRizwan, REACH, Sathish9098, Shogoki, T1MOH, UniversalCrypto, aviggiano, ayden, berlin-101, bytes032, codeslide, descharre, fatherOfBlocks, hals, kaveyjoe, kodyvim, lfzkoala, lukris02, nadin, naman1778, patitonar, pontifex, sakshamguruji, squeaky_cactus, teawaterwire, wonjun, yjrwkk
36.2377 USDC - $36.24
Different solidity versions and different license were spotted in the smart contracts.
Instances: 2
File: ajna-core/src/RewardsManager.sol File: ajna-core/src/PositionManager.sol.sol // SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.14;
File: ajna-grants/src/grants/GrantFund.sol File: ajna-grants/src/grants/base/ExtraordinaryFunding.sol File: ajna-grants/src/grants/base/StandardFunding.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.16;
Manual Testing.
Unify solidity version and license among the contracts.
Using require statements without error string
tokenURI function uses require statement without error string.
Instances: 1
File: ajna-core/src/PositionManager.sol Line 520: require(_exists(tokenId_));
Manual Testing.
Use if statement with custom errors instead for a better error case user experience or add message to the require statement.
#0 - c4-judge
2023-05-18T18:43:04Z
Picodes marked the issue as grade-b