CallistoEnterprise / SC_MetaverseNFT

BSD 4-Clause "Original" or "Old" License
0 stars 0 forks source link

NFTMulticlassLinearAuction hasn't Auction functionality #2

Closed yuriy77k closed 2 years ago

yuriy77k commented 2 years ago

https://github.com/CallistoEnterprise/SC_MetaverseNFT/blob/d79e5f1b182b3c5454fb4d5fc71c836be3cfe881/NFTMulticlassERC20Auction.sol#L187-L207

This function mints NFT to users who send at least priceInWei tokens. There isn't any auction competition among users to pay a higher price.

Also, this function shouldn't be payable (it applies only to ERC20 tokens).