1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-01 15:55:34 +01:00

GITBOOK-433: Added templates info in asset pricing

This commit is contained in:
Ana Loznianu 2023-06-07 12:24:32 +00:00 committed by gitbook-bot
parent 46ebd1363a
commit 9a743177e1
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
3 changed files with 13 additions and 5 deletions

View File

@ -39,8 +39,8 @@
* [Roles](developers/contracts/roles.md) * [Roles](developers/contracts/roles.md)
* [Revenue](developers/contracts/revenue.md) * [Revenue](developers/contracts/revenue.md)
* [Asset Pricing](developers/asset-pricing.md) * [Asset Pricing](developers/asset-pricing.md)
* [Metadata](developers/contracts/metadata.md)
* [Fees](developers/fees.md) * [Fees](developers/fees.md)
* [Metadata](developers/contracts/metadata.md)
* [Fractional Ownership](developers/contracts/fractional-ownership.md) * [Fractional Ownership](developers/contracts/fractional-ownership.md)
* [Community Monetization](developers/community-monetization.md) * [Community Monetization](developers/community-monetization.md)
* [Identifiers & Metadata](developers/Identifiers-Metadata.md) * [Identifiers & Metadata](developers/Identifiers-Metadata.md)

View File

@ -1,11 +1,9 @@
--- ---
description: Choose the revenue model during asset publishing description: Choose the revenue model during asset publishing.
--- ---
# Asset Pricing # Asset Pricing
Ocean Protocol offers you flexible and customizable pricing options to monetize your valuable data assets. You have two main pricing models to choose from:  Ocean Protocol offers you flexible and customizable pricing options to monetize your valuable data assets. You have two main pricing models to choose from: 
* [Fixed pricing ](asset-pricing.md#fixed-pricing) * [Fixed pricing ](asset-pricing.md#fixed-pricing)
@ -23,6 +21,16 @@ This datatoken represents the access right to your data, so buyers don't have to
The fixed pricing model relies on the [createNftWithErc20WithFixedRate](https://github.com/oceanprotocol/contracts/blob/main/contracts/ERC721Factory.sol#LL674C14-L674C45) in our smart contract, which securely stores the pricing information for assets published using this model. The fixed pricing model relies on the [createNftWithErc20WithFixedRate](https://github.com/oceanprotocol/contracts/blob/main/contracts/ERC721Factory.sol#LL674C14-L674C45) in our smart contract, which securely stores the pricing information for assets published using this model.
{% hint style="info" %}
There are two templates available: [ERC20Template](contracts/datatoken-templates.md#regular-template) and [ERC20TemplateEnterprise](contracts/datatoken-templates.md#enterprise-template).
In the case of [ERC20TemplateEnterprise](contracts/datatoken-templates.md#enterprise-template), when you deploy a fixed rate exchange, the funds generated as revenue are automatically sent to the owner's address. The owner receives the revenue without any manual intervention.
On the other hand, with [ERC20Template](contracts/datatoken-templates.md#regular-template), for a fixed rate exchange, the revenue is available at the fixed rate exchange level. The owner or the payment collector has the authority to manually retrieve the revenue.
{% endhint %}
### Free pricing ### Free pricing
On the other hand, the free pricing model gives data consumers access to your asset without requiring them to make a direct payment. Users can freely access your data, with the only cost being the transaction fees associated with the blockchain network.  On the other hand, the free pricing model gives data consumers access to your asset without requiring them to make a direct payment. Users can freely access your data, with the only cost being the transaction fees associated with the blockchain network. 

View File

@ -46,7 +46,7 @@ paymentCollectorAddress = 'New payment collector address'
datatoken.setPaymentCollector(paymentCollectorAddress, {"from": publisher_wallet}) datatoken.setPaymentCollector(paymentCollectorAddress, {"from": publisher_wallet})
``` ```
3. Using the Ocean Market 3. Using the [Ocean Market](https://market.oceanprotocol.com/)
Go to the asset detail page and then click on “Edit Asset” and then scroll down to the field called “Payment Collector Address”. Add the new Ethereum address in this field and then click “Submit“. Finally, you will then need to sign two transactions to finalize the update. Go to the asset detail page and then click on “Edit Asset” and then scroll down to the field called “Payment Collector Address”. Add the new Ethereum address in this field and then click “Submit“. Finally, you will then need to sign two transactions to finalize the update.