dexwebapp icon indicating copy to clipboard operation
dexwebapp copied to clipboard

[Feature] Sub-orders/conditional orders

Open danimesq opened this issue 4 years ago • 5 comments

Activate a buy/sell order right after a specific order is filled.

danimesq avatar Jul 02 '20 01:07 danimesq

Do you have more information or references of how this kind of orders should work?

ebirbe avatar Jul 02 '20 01:07 ebirbe

Do you have more information or references of how this kind of orders should work? @ebirbe, thx for asking.

It would enable exchange legos, as there are already DeFi legos in services like zapper.fi.

With conditional orders, Loopring Exchange will have: "if this, do that".

I'm open to propose new ideas about how it could work and its usefulness.

danimesq avatar Jul 02 '20 02:07 danimesq

What's the difference with conditional transfer ? "3. Conditional Transfers Conditional transfers are transfers that are approved on-chain by the account owner or an agent of the account owner. No signature or other authorization is needed for the operator to do an off-chain transfer that was approved like this. Conditional transfers allow any (custom) on-chain mechanism (done by the account owner himself or by an agent) to decide if a transfer can be executed or not on layer 2." https://medium.com/loopring-protocol/loopring-3-5-is-code-complete-and-ready-for-review-3a1e8c1c692

vanmoortel avatar Jul 02 '20 09:07 vanmoortel

Thanks for posting this suggestion @DaniellMesquita

I believe this is exactly encapsulated by what @vanmoortel mentions above, "conditional transfers" which are in v3.5 (to be deployed as v3.6 in 2 ~months).

mfinestone avatar Jul 02 '20 17:07 mfinestone

I believe this is exactly encapsulated by what @vanmoortel mentions above, "conditional transfers" which are in v3.5 (to be deployed as v3.6 in 2 ~months).

In this case, "conditional orders" is a different concept than "conditional transfers"?

It is fully for L2.

danimesq avatar Jul 02 '20 18:07 danimesq