MoonSHRD / UniversalNFTMarketplace

Universal NFT Marketplace
Other
9 stars 0 forks source link

Debug/forward funds #100

Closed JackBekket closed 2 years ago

JackBekket commented 2 years ago

Added _pullPayment function (pull payment from buyer to this contract for escrow lock, uses in makeBuyOrder) Reworked _forwardFunds function (split payment into service comission fee and forward funds to treasury and seller, uses in acceptBuyOffer) Added _processPurchase ( combined pull& forward, uses only inside purchase)

todo[bot] commented 2 years ago

execute purchase if price is lower instead of revert

https://github.com/MoonSHRD/UniversalNFTMarketplace/blob/8442cb9a28e4d2134a15e4b7c924e330820c9bb0/contracts/721/singleton/MetaMarketplace.sol#L295-L298


This comment was generated by todo based on a TODO comment in 8442cb9a28e4d2134a15e4b7c924e330820c9bb0 in #100. cc @MoonSHRD.
JackBekket commented 2 years ago

fix #99