Closed alexcos20 closed 2 years ago
Note: this idea was explored by the OceanDAO "Core Tech WG" on Nov 24, recorded in Traction Ideas Slides. For convenience, here it is:
Incentivize / easy payment for 3rd party Ocean Providers
(The proposal in the description is "candidate idea B")
For current proposal (candidate idea B): the provider + fee is specified for each asset.
Problem: if provider's price changes, then every asset run by that provider needs updating.
Problem: provider doesn't have permissions to change fees on each asset (as Alex pointed out)
Idea:
I see pros and cons for both idea C vs idea D. Both reuse existing mechanics inside Ocean Protocol & Ocean Market. C is more flexible, so it has more potential to unlock more use cases. D is slightly easier to understand.
Proposal flow:
a. Publish flow
{
"providerFeeToken: "0x1233",
"providerFeeAmount":"1.2",
"providerFeeAddress": "0xabc"
}
Consumer will use that variables when calling startOrder (which does a transfer), and provider can check for events. (Provider will grab the DDO, and based on serviceType, timeout, compute resources will do their math and compute the fee)
Perks:
Cons:
Now, if you are a publisher, you have two options:
Provider security:
But what if I want to allow anyone to publish, as long as I'm getting paid for my resources. now, 3rd party Provider it won't work, because they are not paid
Introducing Provider Fee to publish/consume flow:
Draft flow:
a. Publish flow
this will be stored in the ddo.service (we already store files)
b. Consume
Question :
Cons:
PS: Doable for V4