➕Add/Remove Admins
The Super Admin is the holder of the Raft Token and has full control over Badge Spec creation, airdrops, allowlisting, and badge revocation. Other users or addresses can be granted admin rights, including the ability to create and issue Badges, thus enabling a more flexible system with distributed administrative privileges. However, it's important to note that only Super Admins have the authority to add or remove other admins.
On the Raft
contract you can call setAdmins(uint256 tokenId, address[] memory admins, bool[] memory isActive
The purpose of this function is to modify the isAdmin
value of a list of administrators. It provides the ability to add or remove multiple administrators at once or perform a combination of both actions.
Last updated