Closed oneroot001 closed 6 years ago
This issue smells like an advertisement for R1 Protocol. Tbh, we don't see this as "unfair", but rather a situation where both traders get what they stipulated they wanted in their respective orders. Enforcing that they must have the same price to match means that overlapping orders without exact prices won't be matched, which is inefficient.
Problem
Is there anyone aware of the “trade unfair problem” suggested in this chinese post in https://www.jianshu.com/p/d12beba14452 . In the PARADEX and DDEX, their own relayer is taker,who take the token from buyer and seller.But when the price of buyer and seller are different,they can not trade at best price.
Solution
This problem can be solved by check the price in the contract when fill order.This is implemented by R1 Protocol The work flow is as bellows:
Advantages