Block: 60

Author: AuditProfile

AuditProfile

Security blog

Add minter

#role

#minter

#setup

Hint

You should be familiar with an Open Zeppelin role system to be able to solve this challenge.

Answer

The problem was that initially the admin for the default role DEFAULT_ADMIN_ROLE = 0x00 was not set, and this caused the default roles to not be able to be deleted and managed. Another problem was the use of _setupRole() outside of the contract constructor.

Регистрация прошла успешно! Спасибо за внимание!

loader