Support price discovery #9
Replies: 5 comments 12 replies
-
Comments directed at: https://github.com/bosonprotocol/BPIPs/blob/3736f9343987e202fe61d460960fc784ead2134f/content/BPIP-4.md It's not explicitly stated, but I assume option 1 is meant to work with existing pools outside the protocol? Option 2 (and its suboptions) seems a better direction but needs more info about the needed changes. How would new commitToOffer look like? For 2.1. I assume it needs an additional parameter that can be used in validation. For 2.2. it's less clear to me, how it should work. I see a option 3 just as an extension (or sort of special case) of option 2, so it should either be explained how it's it different or removed otherwise. |
Beta Was this translation helpful? Give feedback.
-
What about this apporach:
struct PriceDiscovery {
uint256 price
address validator
bytes proof
} Note that naming Overall it would works as follows: Flow depends on how validator works. If validator always sends voucher to
Flow should be the same, regardles of who is making a call (seller, buyer or anyone else if proof allows it). I see some benefits:
Still this whole apporach needs a soundness check. |
Beta Was this translation helpful? Give feedback.
-
Comments about BPIP-4.md@c097a58722 Option 1: Price discovery happens only off-chain
Option 2: Price discovery can happen both on-chain/off-chain and transaction start by calling protocol
So, "yes" refers to "must always start from calling protocol", but then what follows is not precisely what I had in mind in my original proposal.
There is also another sentence that confuses me a bit - "Price could also be a parameter encoded directly on |
Beta Was this translation helpful? Give feedback.
-
Comments about BPIP-4.md@5b8ed3b Why is option 2 marked like it happens only on-chain? I mean, 0x and SeaPort discovery is happening off-chain and they could easily work in the proposed way. They are even listed as an example in pros. And in option 3, which is combining options 1 and 2, I think there is confusion between "off-chain discovery" and "in protocol validation". Maybe already option 1 should be called more explicitly, i.e. it is "off-chain discovery with in-protocol validation". |
Beta Was this translation helpful? Give feedback.
-
Moving to Final as no further comments and RC tag ready. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Discussion about #5
Beta Was this translation helpful? Give feedback.
All reactions