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:
parent
e4abe7ae3e
commit
e1f6649d4a
@ -52,7 +52,7 @@ ERC721 tokens are non-fungible, thus cannot be used for automatic price discover
|
||||
|
||||
## 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.
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
@ -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 |
|
||||
|-----------------------------------|--------------------|--------------------|--------------------|--------------------|--------------------|
|
||||
| Set token URI | | | | | |
|
||||
| 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> | |
|
||||
| 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
|
||||
|
||||
| Action ↓ / Role → | ERC20 Deployer | Minter | NFT owner | Fee manager |
|
||||
|--------------------------------|--------------------------|--------------------------|--------------------------|--------------------------|
|
||||
| Deploy pool | <center>☑</center> | | | |
|
||||
| Create Fixed Rate exchange | <center>☑</center> | | | |
|
||||
| Create Dispenser | <center>☑</center> | | | |
|
||||
| Add minter | <center>☑</center> | | | |
|
||||
| Remove minter | <center>☑</center> | | | |
|
||||
| Add fee manager | <center>☑</center> | | | |
|
||||
| Remove fee manager | <center>☑</center> | | | |
|
||||
| Set data | <center>☑</center> | | | |
|
||||
| Clean permissions | | | <center>☑</center> | |
|
||||
| Mint | | <center>☑</center> | | |
|
||||
| Set fee collector | | | | <center>☑</center> |
|
||||
| Deploy pool | <center>🗸</center> | | | |
|
||||
| Create Fixed Rate exchange | <center>🗸</center> | | | |
|
||||
| Create Dispenser | <center>🗸</center> | | | |
|
||||
| Add minter | <center>🗸</center> | | | |
|
||||
| Remove minter | <center>🗸</center> | | | |
|
||||
| Add fee manager | <center>🗸</center> | | | |
|
||||
| Remove fee manager | <center>🗸</center> | | | |
|
||||
| Set data | <center>🗸</center> | | | |
|
||||
| Clean permissions | | | <center>🗸</center> | |
|
||||
| Mint | | <center>🗸</center> | | |
|
||||
| Set fee collector | | | | <center>🗸</center> |
|
||||
|
Loading…
Reference in New Issue
Block a user