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

3.8 KiB

title description
Data NFTs and datatoken roles 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
Add manager
Remove manager
Clean permissions
Set base URI
Set MetaData state
Set MetaData
Create new Datatoken
Executes any other smart contract
Set new key-value in store

Roles in datatoken smart contract

Action ↓ / Role → ERC20 Deployer Minter NFT owner Fee manager
Deploy pool
Create Fixed Rate exchange
Create Dispenser
Add minter
Remove minter
Add fee manager
Remove fee manager
Set data
Clean permissions
Mint
Set fee collector