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
If price_ is higher than current price, shouldn't we refund sender the part above?
The text was updated successfully, but these errors were encountered:
zxygentoo
changed the title
[ The Space Contract ] refund if price higher then current price?
[The Space Contract] refund if price higher then current price?
Feb 17, 2022
Since the bid price needs to be higher than the asking price, price_ is always higher than the current price. I think we can automatically set the price to the bid price (TODO) instead of refunding the sender. So price increases with bids, making it more reflective of market competitiveness.
contracts/src/TheSpace/HarbergerMarket.sol
Line 121 in f608392
If
price_
is higher than current price, shouldn't we refund sender the part above?The text was updated successfully, but these errors were encountered: