-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: move to trade terminology #296
refactor: move to trade terminology #296
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
Offer
andnegotiation
are misleading as they are used to initialized a swap more than to negotiate a trade. To separate the current ambiguity we move completely totrade
terminology to allownegotiation
andoffer
to 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::negotiation
becomesfarcaster_core::trade
Offer
becomesDealParameters
PublicOffer
becomesDeal