Closed squadgazzz closed 5 days ago
This issue has been marked as stale because it has been inactive a while. Please update this issue or it will be automatically closed.
This issue has been marked as stale because it has been inactive a while. Please update this issue or it will be automatically closed.
Background
0x liquidity cache is represented by a map with
(H160, 160)
key type which allows to identify direction(sell or buy). There is a proposal to replace it withTokenPair
, which is sorted inside. A bit more context can be found in this thread.Details
We should make sure that changing the logic won't harm any other part of the protocol.