Page cover

Access Control

TL Creator Contracts implement access control mechanisms to allow for ease of use while promoting security.

Ownable Access Control

We have combined OpenZeppelin's Ownable contract with role based access mechanisms to make a simple, effective ownership model.

https://github.com/Transient-Labs/tl-sol-tools/blob/main/src/access/OwnableAccessControl.sol

Roles

TL Creator Contracts have two roles defined

ADMIN_ROLE

This role is able to mint tokens, add APPROVED_MINT_CONTRACT roles, propose/push token metadata updates, and add creator stories on behalf of the contract owner.

APPROVED_MINT_CONTRACT

This role is allowed to mint using the externalMint functions in ERC721TL and ERC1155TL.

Last updated