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

Issue-#781: Update roles page

This commit is contained in:
Akshay 2022-01-11 06:59:21 +01:00
parent e4abe7ae3e
commit e1f6649d4a
4 changed files with 21 additions and 21 deletions

View File

@ -52,7 +52,7 @@ ERC721 tokens are non-fungible, thus cannot be used for automatic price discover
## High-Level Behavior ## High-Level Behavior
![Image 2](images/use-case-2.PNG) ![Image 2](images/use-case.png)
Here's an example. Alice has created a dataset. In step 1, she publishes her dataset with Ocean: this means deploying an ERC721 data NFT contract (claiming copyright / base IP), then an ERC20 datatoken contract (license against base IP). Then in step 2, she mints some ERC20 datatokens and transfers 1.0 of them to Bob's wallet; now he has a license to be able to consume that dataset. Here's an example. Alice has created a dataset. In step 1, she publishes her dataset with Ocean: this means deploying an ERC721 data NFT contract (claiming copyright / base IP), then an ERC20 datatoken contract (license against base IP). Then in step 2, she mints some ERC20 datatokens and transfers 1.0 of them to Bob's wallet; now he has a license to be able to consume that dataset.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

View File

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -8,28 +8,28 @@ description: Access to the data NFT and datatoken smart contract functions is co
| Action ↓ / Role → | NFT Owner | Manager | ERC20 Deployer | Store Updater | Metadata Updater | | Action ↓ / Role → | NFT Owner | Manager | ERC20 Deployer | Store Updater | Metadata Updater |
|-----------------------------------|--------------------|--------------------|--------------------|--------------------|--------------------| |-----------------------------------|--------------------|--------------------|--------------------|--------------------|--------------------|
| Set token URI | | | | | | | Set token URI | | | | | |
| Add manager | <center>&#9745;</center> | | | | | | Add manager | <center>🗸</center> | | | | |
| Remove manager | <center>&#9745;</center> | | | | | | Remove manager | <center>🗸</center> | | | | |
| Clean permissions | <center>&#9745;</center> | | | | | | Clean permissions | <center>🗸</center> | | | | |
| Set base URI | <center>&#9745;</center> | | | | | | Set base URI | <center>🗸</center> | | | | |
| Set MetaData state | | | | | <center>&#9745;</center> | | Set MetaData state | | | | | <center>🗸</center> |
| Set MetaData | | | | | <center>&#9745;</center> | | Set MetaData | | | | | <center>🗸</center> |
| Create new Datatoken | | | <center>&#9745;</center> | | | | Create new Datatoken | | | <center>🗸</center> | | |
| Executes any other smart contract | | <center>&#9745;</center> | | | | | Executes any other smart contract | | <center>🗸</center> | | | |
| Set new key-value in store | | | | <center>&#9745;</center> | | | Set new key-value in store | | | | <center>🗸</center> | |
## Roles in datatoken smart contract ## Roles in datatoken smart contract
| Action &darr; / Role &rarr; | ERC20 Deployer | Minter | NFT owner | Fee manager | | Action &darr; / Role &rarr; | ERC20 Deployer | Minter | NFT owner | Fee manager |
|--------------------------------|--------------------------|--------------------------|--------------------------|--------------------------| |--------------------------------|--------------------------|--------------------------|--------------------------|--------------------------|
| Deploy pool | <center>&#9745;</center> | | | | | Deploy pool | <center>🗸</center> | | | |
| Create Fixed Rate exchange | <center>&#9745;</center> | | | | | Create Fixed Rate exchange | <center>🗸</center> | | | |
| Create Dispenser | <center>&#9745;</center> | | | | | Create Dispenser | <center>🗸</center> | | | |
| Add minter | <center>&#9745;</center> | | | | | Add minter | <center>🗸</center> | | | |
| Remove minter | <center>&#9745;</center> | | | | | Remove minter | <center>🗸</center> | | | |
| Add fee manager | <center>&#9745;</center> | | | | | Add fee manager | <center>🗸</center> | | | |
| Remove fee manager | <center>&#9745;</center> | | | | | Remove fee manager | <center>🗸</center> | | | |
| Set data | <center>&#9745;</center> | | | | | Set data | <center>🗸</center> | | | |
| Clean permissions | | | <center>&#9745;</center> | | | Clean permissions | | | <center>🗸</center> | |
| Mint | | <center>&#9745;</center> | | | | Mint | | <center>🗸</center> | | |
| Set fee collector | | | | <center>&#9745;</center> | | Set fee collector | | | | <center>🗸</center> |