1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00
docs/content/concepts/roles.md
2021-12-28 11:09:16 +01:00

21 lines
2.0 KiB
Markdown

---
title: Data NFTs and datatoken roles
description: Access to the data NFT and datatoken smart contract functions is controlled by the permssions stored on chain in the contracts.
---
## Roles in data NFT smart contract
| Action ↓ / Role → | NFT Owner | Manager | ERC20 Deployer | Store Updater | Metadata Updater |
|-----------------------------------|--------------------|--------------------|--------------------|--------------------|--------------------|
| Set token URI | <center>&#9745;</center> | | | | |
| Add manager | <center>&#9745;</center> | | | | |
| Remove manager | <center>&#9745;</center> | | | | |
| Clean permissions | <center>&#9745;</center> | | | | |
| Set base URI | <center>&#9745;</center> | | | | |
| Set MetaData state | | | | | <center>&#9745;</center> |
| Set MetaData | | | | | <center>&#9745;</center> |
| Create new Datatoken | | | <center>&#9745;</center> | | |
| Executes any other smart contract | | <center>&#9745;</center> | | | |
| Set new key-value in store | | | | <center>&#9745;</center> | |
## Roles in datatoken smart contract