Open daopunk opened 1 year ago
Currently, anyone can call the Sacrifice, Slaughter, and other ADMIN protected functions, but nothing will happen if the msg.sender is not the ADMIN Solution: add ADMIN checks on access controlled buttons / functions
Sacrifice
Slaughter
the txn will be rejected
there is currently no way to look this up on the contract
check Hats hasRole
Currently, anyone can call the
Sacrifice
,Slaughter
, and other ADMIN protected functions, but nothing will happen if the msg.sender is not the ADMIN Solution: add ADMIN checks on access controlled buttons / functions