mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Issue-#781: Roles page
This commit is contained in:
parent
e1f6649d4a
commit
bff0c0055a
@ -1,9 +1,11 @@
|
|||||||
---
|
---
|
||||||
title: Data NFTs and datatoken roles
|
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.
|
description: The permssions stored on chain in the contracts control the access to the data NFT (ERC721) and datatoken (ERC20) smart contract functions.
|
||||||
---
|
---
|
||||||
|
|
||||||
## Roles in data NFT smart contract
|
The permissions are stored in the data NFT (ERC721) smart contract. The data NFT (ERC721) and datatoken (ERC20) smart contracts both use this information to restrict access to the smart contract functions. The tables below list restricted actions that are accessible only to the allowed users.
|
||||||
|
|
||||||
|
## Roles in data NFT (ERC721) smart contract
|
||||||
|
|
||||||
| Action ↓ / Role → | NFT Owner | Manager | ERC20 Deployer | Store Updater | Metadata Updater |
|
| Action ↓ / Role → | NFT Owner | Manager | ERC20 Deployer | Store Updater | Metadata Updater |
|
||||||
|-----------------------------------|--------------------|--------------------|--------------------|--------------------|--------------------|
|
|-----------------------------------|--------------------|--------------------|--------------------|--------------------|--------------------|
|
||||||
@ -18,7 +20,7 @@ description: Access to the data NFT and datatoken smart contract functions is co
|
|||||||
| Executes any other smart contract | | <center>🗸</center> | | | |
|
| Executes any other smart contract | | <center>🗸</center> | | | |
|
||||||
| Set new key-value in store | | | | <center>🗸</center> | |
|
| Set new key-value in store | | | | <center>🗸</center> | |
|
||||||
|
|
||||||
## Roles in datatoken smart contract
|
## Roles in datatoken (ERC20) smart contract
|
||||||
|
|
||||||
| Action ↓ / Role → | ERC20 Deployer | Minter | NFT owner | Fee manager |
|
| Action ↓ / Role → | ERC20 Deployer | Minter | NFT owner | Fee manager |
|
||||||
|--------------------------------|--------------------------|--------------------------|--------------------------|--------------------------|
|
|--------------------------------|--------------------------|--------------------------|--------------------------|--------------------------|
|
||||||
|
Loading…
Reference in New Issue
Block a user