refactor: move to trade terminology#296
refactor: move to trade terminology#296Lederstrumpf merged 13 commits intofarcaster-project:mainfrom
Conversation
|
After some discussions we are moving from The cli would be able to list the registered deals and running swaps. A market maker would register deals and share them so takers can take deals. |
a697ffd to
ebb40d4
Compare
Lederstrumpf
left a comment
There was a problem hiding this comment.
ACK, the language & terminology is consistent & sensible everywhere. I made some light adjustments in 8298692 - feel free to change those.
One place that this PR didn't touch is OfferString deserialization - I think that's a vestigial hack that can also be removed.
git blame snitches that this was my dirt, and it's not used anywhere externally, so done in 1544847. |
Offerandnegotiationare misleading as they are used to initialized a swap more than to negotiate a trade. To separate the current ambiguity we move completely totradeterminology to allownegotiationandofferto fulfill their roles later.Also the negotiation is not part of the minimum stack and does not require to be inside core (nor even node), this can be left to other implementations.
EDIT
farcaster_core::negotiationbecomesfarcaster_core::tradeOfferbecomesDealParametersPublicOfferbecomesDeal