Geo-Web-Project / cadastre

Map-based interface for claiming, buying, and managing Geo Web land parcels.
https://geoweb.land/
MIT License
26 stars 15 forks source link

Check `requiredBid()` instead of `getMinForSalePrice()` #369

Closed gravenp closed 1 year ago

gravenp commented 1 year ago

Use requiredBid() for determining the claim transfer payment to be displayed & authorized during claims instead of getMinForSalePrice()

These values will typically be the same (and are currently on mainnet), but this could be changed at a later date to enforce a For Sale Price higher or lower than the initial claim fee.

https://github.com/Geo-Web-Project/cadastre/blob/bf9f3113f27c03a3bfe5b09afea9c1469e86488d/components/Sidebar.tsx#L63