You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I support this. Less complexity and cleaner solution to the amino signing issue. Also prevents breaking changes when we introduce the orderbook model. Essentially Buy would be create buy order and Sell would be create sell order, BuyDirect would not create a buy order and not include disable_partial_fills and expiration.
I support this. Less complexity and cleaner solution to the amino signing issue. Also prevents breaking changes when we introduce the orderbook model. Essentially Buy would be create buy order and Sell would be create sell order, BuyDirect would not create a buy order and not include disable_partial_fills and expiration.
When there is an order book approach, BuyDirect will create a buy order, but it should either succeed or fail in the next batch so expiration isn't needed. I think separate methods are okay
Summary
Currently, the
Buy
msg has two options to submit buy orders, one of which acts more likeBuyDirect
and the other for DEX purposes.Issues
There are a few UX quirks as a result of this:
disable_partial_fill
andexpiration
that do not apply to the message. These fields would probably be ignored, even if supplied.OneOf
and will need to be refactored anyways, as this causes issues for amino signing.Proposal
Create a standalone
BuyDirect
RPC endpoint, separate from the current monolithicBuy
For Admin Use
The text was updated successfully, but these errors were encountered: