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

36 lines
3.8 KiB
Markdown
Raw Normal View History

2021-12-28 11:09:16 +01:00
---
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 |
|-----------------------------------|--------------------|--------------------|--------------------|--------------------|--------------------|
2022-01-04 08:29:16 +01:00
| Set token URI | | | | | |
2021-12-28 11:09:16 +01:00
| 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> | |
2021-12-28 12:27:34 +01:00
## Roles in datatoken smart contract
2022-01-04 08:29:16 +01:00
| Action &darr; / Role &rarr; | ERC20 Deployer | Minter | NFT owner | Fee manager |
|--------------------------------|--------------------------|--------------------------|--------------------------|--------------------------|
| Deploy pool | <center>&#9745;</center> | | | |
| Create Fixed Rate exchange | <center>&#9745;</center> | | | |
| Create Dispenser | <center>&#9745;</center> | | | |
| Add minter | <center>&#9745;</center> | | | |
| Remove minter | <center>&#9745;</center> | | | |
| Add fee manager | <center>&#9745;</center> | | | |
| Remove fee manager | <center>&#9745;</center> | | | |
| Set data | <center>&#9745;</center> | | | |
| Clean permissions | | | <center>&#9745;</center> | |
| Mint | | <center>&#9745;</center> | | |
| Set fee collector | | | | <center>&#9745;</center> |