From 361a7b44d7548ae98aa2b7622831eaae1c9e302b Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 27 Mar 2022 21:51:38 +0200 Subject: [PATCH] Issue:#849: Fees doc --- content/tutorials/marketplace-fees.md | 44 +++++++++++++-------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/content/tutorials/marketplace-fees.md b/content/tutorials/marketplace-fees.md index 79d4e831..4f4b0aa6 100644 --- a/content/tutorials/marketplace-fees.md +++ b/content/tutorials/marketplace-fees.md @@ -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 | Set in market config, by OPF Value = 0 | Set in the market config, by the publishing market | -| publishMarket: FixedRate | Set in market config, by OPF Value = 0 | Set in the market config, by the publishing market | -| consumeMarket: Pools | Set in market config, by OPF Value = 0 | Set in market config, by consumeMarket | -| consumeMarket: FixedRate: ERC20Template | Hardcoded to 0 in contract | | -| consumeMarket: FixedRate: EnterpriseTemplate | Set in market config, by OPF Value = 0 | Set in market config, by consumeMarket | -| Ocean Community: Pools & FixedRate: basetoken is OCEAN, H2O, .. (“approved token”) | OPF gov can update in smart contract Value = 0.1% | | -| Ocean Community: Pools & FixedRate: other basetoken | OPF gov can update in smart contract Value = 0.2% | | -| Pool Liquidity Provider (LP): Pools only | Default 1%; Set by pool creator on contract deployment Min allowed (in contract) = 0.001% Min allowed (in Ocean Market) = 0.1% Max allowed (in contract) = 10% Min allowed (in Ocean Market) = 10% | | -| Publish Fees | | | -| (no publish fees) | - | - | -| Order Fees (taken on order/consume) The consumer has 1.0 datatokens, they use it to get access to the dataset. | | | -| publishMarket - Fee is an absolute value, in any token. E.g. 5 USDT | Set in market config, by OPF Value = 0 | Set in market config, by PublishMarket | -| consumeMarket - Fee is an absolute value, in any token. E.g. 2 DAI | Set in market config, by OPF Value = 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 | | -| Ocean Provider Fees | OPF-run Provider | 3rd party-run Provider | -| Token in which fee is charged: `PROVIDER_FEE_TOKEN` | OCEAN | E.g. USDC | -| Download: COST_PER_MB | Set in Provider envvars, by OPF Value = 0 | Set in Provider envvars, by 3rd party running Provider | -| Compute: `COST_PER_MIN` | Set in OperatorEngine envvars, by OPF OPF Provider hardware setup: 1 cpu, 60 secs max Value = 0 | Set in OperatorEngine envvars, by 3rd party running Provider | -| Compute: `COST_PER_MIN` | Set in OperatorEngine envvars, by OPF OPF Provider hardware setup: 1 cpu, 1 h max Value = 1.0 OCEAN / min (high cost incentivizes serious people to run their own provider) | 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 | | +| Publish Fees | | | +| (no publish fees) | - | - | +| Order Fees (taken on order/consume) The consumer has 1.0 datatokens, they use it to get access to the dataset. | | | +| 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 | | +| Ocean Provider Fees | OPF-run Provider | 3rd party-run Provider | +| 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