mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
21 lines
2.0 KiB
Markdown
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>☑</center> | | | | |
|
|
| Add manager | <center>☑</center> | | | | |
|
|
| Remove manager | <center>☑</center> | | | | |
|
|
| Clean permissions | <center>☑</center> | | | | |
|
|
| Set base URI | <center>☑</center> | | | | |
|
|
| Set MetaData state | | | | | <center>☑</center> |
|
|
| Set MetaData | | | | | <center>☑</center> |
|
|
| Create new Datatoken | | | <center>☑</center> | | |
|
|
| Executes any other smart contract | | <center>☑</center> | | | |
|
|
| Set new key-value in store | | | | <center>☑</center> | |
|
|
|
|
## Roles in datatoken smart contract |