Placed 7th place in the @GTE_XYZ Perps & Launchpad contest on @code4rena! Found 4 High + 1 Medium issues.
Hunting for bugs in this codebase was a great experience. Thank you for the opportunity!
im 19
i wanted to be
5-8 astronaut
9-13 programmer
13-15 programmer
15-17 hacker
18-19 cybersecurity expert / software engineer
i think I’m on right track
im 25
i wanted to be
5-8 : president
8-13 : astrophysicist / game dev
13-15 : idk i was chasing girls and playing football
15-18 : programmer
18-20 : pro gamer
20-23: programmer
24-now: god's next chosen principal engineer and future husband
(open to both roles btw)
Are you a latina baddie about to get deported by Trump?
Sign up for @LeetArxiv and we'll help you transition into a career in AI research in your preferred programming language.
Why you should not use OpenZeppelin’s AccessControl for blacklist purposes
Already quite a few times, OpenZeppelin’s AccessControl contract was used for blacklisting purposes, e.g. limiting transfers for tokens.
One could actually think that this is not a bad idea because this contract has a perfect access control system which allows the role owner or DEFAULT_ADMIN to assign roles to specific addresses.
This can include assigning a BLACKLISTED role to addresses in an effort to limit these addresses transferring tokens.
Now let me tell you why this is probably not such a great idea ...
The AccessControl contract has a function which is called renounceRole:
... which is invoking the following internal function:
this function allows the address with the actual role to renounce it, which means in the provided example, this address will no longer be restricted for transfers. Therefore, you should better switch to using your own blacklisting mechanism.
spent ~2-3 hrs around one issue only to understand couple of minutes after submiting issue to be invalid, cuz i'm stupid and didn't understand whole thing
silly me 🙃🙃🙃
@graffioh first month in polish college and honestly idk if it's worth it, because all stuff I already know (maybe except math)
yeah maybe it's first year and complete basics, but I wish I would learn something new and exciting