Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RE: alextowle Audit #2 Change #28

Open
iainnash opened this issue Jul 12, 2021 · 2 comments
Open

RE: alextowle Audit #2 Change #28

iainnash opened this issue Jul 12, 2021 · 2 comments

Comments

@iainnash
Copy link

iainnash commented Jul 12, 2021

  1. Check for Zora Auction Currency

There is no check to ensure that Zora auctions are settled in ETH. User funds do not appear to be at risk as the Zora AuctionHouse contract will revert if the specified bid amount is not provided in the target currency. This said, PartyBid instances that target Zora auctions that aren’t settled in ether are a waste of time for PartyBid users.

To prevent such instances from being created by the PartyBidFactory, a check can be made in the ZoraMarketWrapper’s auctionIdMatchesToken function that the auction’s currency is ether (address 0).

Looking at this suggested implementation, renaming auctionIdMatchesToken as validAuctionIdForToken may make sense since this additional check is included here.

@iainnash iainnash changed the title RE Audit #2 RE: alextowle Audit #2 Change Jul 12, 2021
@anna-carroll
Copy link
Contributor

I totally agree with this. I considered when making the change, but at the time just wanted to limit any code changes

@iainnash
Copy link
Author

iainnash commented Jul 15, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants