721labs / partial-common-ownership

This project aims to establish a standard, open source implementation of Partial Common Ownership for non-fungible tokens.
https://721.dev
MIT License
17 stars 5 forks source link

Buying: if `_collectTax` triggered by a call to `#buy` forecloses, the `currentValuation_` will be incorrect #53

Closed will-holley closed 2 years ago

will-holley commented 2 years ago

Summary

If a user is attempting to buy a token that, by calling the buy method, causes the contract to foreclose on the token, the price will be set to zero and the current valuation will be incorrect.