1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

Issue:#849: Fees doc

This commit is contained in:
Akshay 2022-03-27 22:04:02 +02:00
parent 361a7b44d7
commit 2a717c3ccc

View File

@ -56,28 +56,28 @@ This fee incentivizes individuals and organizations to run their provider instan
## Fee values
| Swap Fees (Fixed Price or Auto) | Value in Ocean Market, using any Provider | Value in Other Markets |
| --------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| publishMarket: Pools | 0 | Set in the market config, by the publishing market |
| publishMarket: FixedRate | 0 | Set in the market config, by the publishing market |
| consumeMarket: Pools | 0 | Set in market config, by consumeMarket |
| consumeMarket: FixedRate: ERC20Template | 0 | |
| consumeMarket: FixedRate: EnterpriseTemplate | 0 | Set in market config, by consumeMarket |
| Ocean Community: Pools & FixedRate: basetoken is OCEAN, H2O, .. (“approved token”) | 0.1% | |
| Ocean Community: Pools & FixedRate: other basetoken | 0.2% | |
| Pool Liquidity Provider (LP): Pools only | 1% and then the max and min values | |
| <b>Publish Fees</b> | | |
| (no publish fees) | - | - |
| <b>Order Fees (taken on order/consume) The consumer has 1.0 datatokens, they use it to get access to the dataset.</b> | | |
| publishMarket - Fee is an absolute value, in any token. E.g. 5 USDT | 0 | Set in market config, by PublishMarket |
| consumeMarket - Fee is an absolute value, in any token. E.g. 2 DAI | 0 | Set in market config, by ConsumeMarket |
| Ocean Community - Fee = fixed price in DT | Goal: to avoid wash consume in DF, assuming APY < 125%) OPF gov can update Value = 0.03 DT for all initial templates | |
| <b>Ocean Provider Fees</b> | <b>OPF-run Provider</b> | <b>3rd party-run Provider</b> |
| Token in which fee is charged: `PROVIDER_FEE_TOKEN` | OCEAN | E.g. USDC |
| Download: COST_PER_MB | 0 | Set in Provider envvars, by 3rd party running Provider |
| Compute: `COST_PER_MIN` | 0 | Set in OperatorEngine envvars, by 3rd party running Provider |
| Compute: `COST_PER_MIN` | 1.0 OCEAN/min | Set in OperatorEngine envvars, by 3rd party running Provider |
| Ocean Community (percent from above) | OPF gov can update in smart contract 0% of Provider fee | |
| Swap Fees (Fixed Price or Auto) | Value in Ocean Market, using any Provider | Value in Other Markets |
| --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------------ |
| publishMarket: Pools | 0 | Set in the market config, by the publishing market |
| publishMarket: FixedRate | 0 | Set in the market config, by the publishing market |
| consumeMarket: Pools | 0 | Set in market config, by consumeMarket |
| consumeMarket: FixedRate: ERC20Template | 0 | |
| consumeMarket: FixedRate: EnterpriseTemplate | 0 | Set in market config, by consumeMarket |
| Ocean Community: Pools & FixedRate: basetoken is OCEAN, H2O, .. (“approved token”) | 0.1% | |
| Ocean Community: Pools & FixedRate: other basetoken | 0.2% | |
| Pool Liquidity Provider (LP): Pools only | 1% and then the max and min values | |
| <b>Publish Fees</b> | | |
| (no publish fees) | - | - |
| <b>Order Fees (taken on order/consume) The consumer has 1.0 datatokens, they use it to get access to the dataset.</b> | | |
| publishMarket - Fee is an absolute value, in any token. E.g. 5 USDT | 0 | Set in market config, by PublishMarket |
| consumeMarket - Fee is an absolute value, in any token. E.g. 2 DAI | 0 | Set in market config, by ConsumeMarket |
| Ocean Community - Fee = fixed price in DT | 0.03 DT | |
| <b>Ocean Provider Fees</b> | <b>OPF-run Provider</b> | <b>3rd party-run Provider</b> |
| Token in which fee is charged: `PROVIDER_FEE_TOKEN` | OCEAN | E.g. USDC |
| Download: COST_PER_MB | 0 | Set in Provider envvars, by 3rd party running Provider |
| Compute: `COST_PER_MIN` | 0 | Set in OperatorEngine envvars, by 3rd party running Provider |
| Compute: `COST_PER_MIN` | 1.0 OCEAN/min | Set in OperatorEngine envvars, by 3rd party running Provider |
| Ocean Community (percent from above) | OPF gov can update in smart contract 0% of Provider fee | |
## Further reading