mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-01 07:45:40 +01:00
GITBOOK-433: Added templates info in asset pricing
This commit is contained in:
parent
46ebd1363a
commit
9a743177e1
@ -39,8 +39,8 @@
|
||||
* [Roles](developers/contracts/roles.md)
|
||||
* [Revenue](developers/contracts/revenue.md)
|
||||
* [Asset Pricing](developers/asset-pricing.md)
|
||||
* [Metadata](developers/contracts/metadata.md)
|
||||
* [Fees](developers/fees.md)
|
||||
* [Metadata](developers/contracts/metadata.md)
|
||||
* [Fractional Ownership](developers/contracts/fractional-ownership.md)
|
||||
* [Community Monetization](developers/community-monetization.md)
|
||||
* [Identifiers & Metadata](developers/Identifiers-Metadata.md)
|
||||
|
@ -1,11 +1,9 @@
|
||||
---
|
||||
description: Choose the revenue model during asset publishing
|
||||
description: Choose the revenue model during asset publishing.
|
||||
---
|
||||
|
||||
# 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: 
|
||||
|
||||
* [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.
|
||||
|
||||
{% 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
|
||||
|
||||
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. 
|
||||
|
@ -46,7 +46,7 @@ paymentCollectorAddress = 'New payment collector address'
|
||||
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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user