Oceanprotocol - Data NFT Ownership and Revenue After Transfer
Oceanprotocol resets delegated roles when a transferable Data NFT changes owners, and the new owner becomes the default revenue recipient. The transfer concerns the ERC721 asset and its attached control structure. Associated ERC20 datatokens represent service access or sublicenses, so moving those tokens has a different effect from transferring the Data NFT itself.
A publisher can delegate metadata updates or datatoken deployment without transferring the NFT. Full ownership transfer serves a different purpose from granting a narrowly defined operating role, and it triggers changes across the asset’s existing permissions and revenue routing.
The NFT and Its Linked Data Services
When an asset has several service permissions, its Data NFT remains their shared ownership anchor. The NFT represents the base intellectual property, or base IP, while linked datatokens represent access licenses. A publisher can offer access without handing over the NFT. Transferring the NFT changes who controls that publishing structure; transferring a datatoken changes who holds the associated service permission. This distinction also separates acquiring an asset’s ownership claim from purchasing permission to use it under specified terms.
A Data NFT can exist before any datatoken contract has been created. Its owner can publish linked datatokens later. Transferring such an NFT changes its ownership and control without handing over an existing service-access token, because that part of the publishing structure does not yet exist.
Base IP and the Validity of the Claim
A Data NFT represents a claim to copyright or an exclusive copyright license for a data asset. The validity of that claim remains a condition of the associated rights. A successful blockchain transfer establishes the token’s new owner. It does not establish whether the original publisher actually held the rights the token describes.
Copyright ownership and an exclusive license describe different interests in the asset. The licensing terms therefore matter to the scope of a handover. A description promising service access also concerns a different interest from the base IP claim. Treating all these interests as interchangeable would overstate what a particular token transfer establishes.
Ownership and Delegation Choices
When the intended change concerns operational access, the NFT’s role system offers alternatives to transferring ownership. Different roles authorize different functions, and several accounts can hold a delegated role. The ownership record identifies a single owning account.
| Ownership or Role | Holder Count and Authority |
|---|---|
| Data NFT owner | One owning account; holds the base IP claim and NFT ownership. |
| Manager | Multiple accounts permitted; administers operating roles and can execute contract calls. |
| ERC20 deployer | Multiple accounts permitted; creates datatokens and assigns their roles. |
| Metadata updater | Multiple accounts permitted; updates the asset’s descriptive metadata. |
| Store updater | Multiple accounts permitted; writes values in the NFT’s key-value store. |
These roles carry different amounts of authority. A manager’s contract-call powers extend beyond editing an asset description. Assigning that role to someone who only needs metadata access grants broader control than the metadata-updater role supplies.
The NFT-Level Permissions Reset
A completed ownership transfer clears the NFT’s previous delegated roles. In ERC721Template, the recipient receives manager, ERC20-deployer, metadata-updater and store-updater permissions within the transfer execution. Previous collaborators do not retain their assignments simply because they worked on the same asset before the handover.
The new owner can establish a different operating arrangement by assigning roles again. Reappointing a former collaborator creates authority under the new arrangement; the transfer itself does not preserve that appointment. Resetting write permissions also differs from deleting asset information, because permissions determine who may make later changes.
Who Receives Revenue After a Data NFT Transfer?
After a successful Data NFT transfer, the new owner becomes the default revenue recipient. A previously designated collection account does not automatically remain the recipient under the transfer reset.
The default concerns the asset’s revenue routing. It does not create a payment merely because someone acquired the NFT. Revenue still requires the corresponding economic activity, and the recipient setting alone says nothing about the amount earned.
In ERC20Template, an unset payment collector resolves to the parent NFT’s current owner through
getPaymentCollector()
. An empty explicit setting therefore need not mean the contract lacks an effective recipient.
The owner can designate another account to receive revenue. That later choice changes the active destination without changing who owns the Data NFT. Ownership and collection can consequently point to different accounts after a new assignment.
Default-recipient status also does not establish that money already sits in a withdrawable balance. During ERC20Template transfer cleanup, registered fixed-rate exchanges send any recorded base-token and datatoken balances to the existing payment collector. Registered dispensers send their held datatokens there as well. These collections precede both the collector reset and the NFT ownership change, so an unset collector resolves to the outgoing NFT owner. Neither the NFT’s display name nor its ownership record states how much a particular service has earned.
Linked Datatoken Roles and Retained Minters
The transfer also triggers cleanup in linked datatoken contracts, with implementation-specific exceptions. ERC20Template preserves a registered fixed-rate exchange’s existing minter permission only when that exchange has minting enabled. It also preserves an existing minter permission for a registered dispenser. These exceptions concern registered token-distribution infrastructure.
A surviving infrastructure minter can therefore coexist with a completed transfer. This does not preserve ordinary delegated minters or payment managers.
Metadata Retention and Public Store Values
An ownership transfer changes permissions without automatically replacing the NFT’s existing metadata. The contract can retain the asset description while changing who may edit it. ERC725Y storage adds a separate consideration: its stored values are publicly readable, including values a permitted store updater writes. Restricting writes does not make those values private. Clearing the former updater’s role therefore changes future write authority without withdrawing information someone already published. An encrypted value can occupy the store, but the store’s access permissions do not themselves provide that encryption.
Does Transferring a Data NFT Move the Dataset?
A Data NFT transfer changes blockchain ownership without itself relocating the underlying dataset. Data can reside in cloud storage, decentralized storage or an API. The NFT’s ownership record and the location serving the data describe separate parts of the asset.
Compute-to-Data makes this separation especially visible. Its model runs computation where private data resides and exposes results to the consumer. Acquiring the NFT does not itself demonstrate a change to that service’s access configuration, delivery of its raw records or transfer of hosting credentials.
Transferability and Recipient Compatibility
The ERC721Template transferability flag must permit an ownership transfer. A false flag causes its transfer functions to reject the action; additional approval does not satisfy that condition. Transfer permission and the caller’s authorization are separate requirements.
ERC721 safe transfers to a contract require a valid receiver callback; rejection reverts the transfer. The ordinary transfer method lacks that receiver check and can leave an NFT inaccessible in an unsuitable contract. Compatibility therefore concerns the receiving contract’s actual behavior, alongside the NFT’s own transfer restrictions.
Permission Cleanup Without an Ownership Change
The NFT-level
cleanPermissions()
function in ERC721Template clears NFT roles and restores the existing owner as manager. It leaves datatoken-level permissions in place. That operation does not transfer the NFT or reproduce every effect of the transfer path.
ERC20Template has its own owner-authorized cleanup at the datatoken level. The same function name consequently refers to different scopes in the NFT and datatoken contracts. A completed permission-cleanup transaction alone does not establish a change of asset ownership.
Existing Fees and Revenue Boundaries
A service payment can include charges for parties other than the asset’s publisher. Market, provider and protocol charges follow their applicable payment rules. Becoming the Data NFT’s default revenue recipient does not make the new owner the recipient of every charge a consumer pays.
ERC20Template keeps publishing-market fee configuration separate from its payment collector. The ownership transfer does not itself clear that market’s configured fee recipient. The asset’s collection destination and the market’s fee destination can therefore remain different accounts after the handover.
Still wondering about Oceanprotocol?
-
Can an Approved Operator Transfer a Data NFT Without Becoming Its Owner?
- An ERC721-approved operator can submit a transfer without first owning the NFT. The transfer must still satisfy the NFT contract’s conditions. Operator approval authorizes a transfer; approval alone leaves the ownership record unchanged. A metadata-updater role alone does not grant ERC721 transfer approval.
-
Is the Former owner’s NFT-specific Approval Retained After Transfer?
- ERC721 clears the approval specific to the transferred NFT when ownership changes. Owner-wide operator approvals concern the account granting them and do not become fresh approvals from the receiving owner.
-
Do All Linked Datatokens Need the Same Payment Collector?
- Each linked ERC20Template datatoken maintains its own payment-collector setting and can name a different recipient without transferring NFT ownership; if an instance has no explicit collector, its getter resolves to the current owner of its parent Data NFT under that template’s fallback rule.
-
Which Network Holds the Data NFT After an Ordinary Transfer?
- An ordinary ERC721 transfer updates ownership within the existing contract on its existing network. It does not, by itself, create a replacement NFT on another chain or establish a cross-chain transfer.
-
Can Receiving the Data NFT Remove a datatoken’s Minting Limit?
- Receiving a Data NFT does not remove a linked datatoken’s supply cap. Minting requires the datatoken’s minter permission and remaining capacity. NFT-level authority to deploy datatokens or assign minters differs from permission to mint them.
-
What Identifies a Data NFT If Several Assets Share Its Name?
- The network, contract address and token identifier distinguish a Data NFT. Names and symbols can repeat across contracts. A matching display name establishes neither the asset’s on-chain identity nor the validity of its publisher’s base IP claim.
-
How Does Changing the NFT’s Token URI Differ From Editing Service Metadata?
- In ERC721Template, only the NFT owner can change its token URI through setTokenURI. A metadata updater can edit asset metadata within its permissions. Metadata authority alone does not grant permission to replace the NFT’s token URI.