Platform: Code4rena
Start Date: 31/03/2022
Pot Size: $75,000 USDC
Total HM: 7
Participants: 42
Period: 7 days
Judge: Jack the Pug
Total Solo HM: 5
Id: 102
League: ETH
Rank: 36/42
Findings: 1
Award: $125.78
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: rayn
Also found by: 0xDjango, 0xkatana, 0xkowloon, BouSalman, CertoraInc, Dravee, Funen, Hawkeye, IllIllI, Jujic, Kenshin, Kthere, Meta0xNull, Sleepy, TerrierLover, async, aysha, berndartmueller, catchup, cccz, cmichel, csanuragjain, danb, defsec, georgypetrov, hake, hubble, kenta, kyliek, pauliax, rfa, robee, sahar, shenwilly, teryanarmen
125.7841 USDC - $125.78
Issue#1 : Using deprecated function _setupRole() in Permissions.sol
Title : Using deprecated function _setupRole() in Permissions.sol
Refer : https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/AccessControl.sol The function _setupRole is deprecated in favor of {_grantRole}.
Using deprecated function in Permissions.sol (line 211) which is inherited by Core.sol
Contract : Permissions.sol
function _setupGovernor(address governor) internal { _setupRole(GOVERN_ROLE, governor); }
Use _grantRole or grantRole instead of _setupRole in above function