Skip to content

ERC-721 NFT + English Auction assignment#5

Open
Valreb001 wants to merge 1 commit into
BlockheaderWeb3-Community:mainfrom
Valreb001:erc721-auction-assignment-jamesvalentina
Open

ERC-721 NFT + English Auction assignment#5
Valreb001 wants to merge 1 commit into
BlockheaderWeb3-Community:mainfrom
Valreb001:erc721-auction-assignment-jamesvalentina

Conversation

@Valreb001

Copy link
Copy Markdown

Summary

  • Standard ERC-721 (SimpleNFT) written from scratch: owner-only mint, custom errors, correct revert-on-nonexistent-token behavior, both safeTransferFrom overloads with the onERC721Received check.
  • EnglishAuction: list (via approve + transferFrom) / bid / settle / withdraw, with a pending-returns fallback so a griefing bidder can't lock the auction.
  • 33 unit tests, all passing. forge fmt --check clean.
  • Deployed and verified on Sepolia — addresses and Etherscan links in the assignment README.

Test plan

  • forge build
  • forge test -vv (33/33 passing)
  • forge fmt --check
  • Deployed + verified on Sepolia Etherscan
  • On-chain sanity check via cast call (ownerOf, auction state)

🤖 Generated with Claude Code

SimpleNFT: standard ERC-721 with owner-only mint, custom errors, and
correct revert-on-nonexistent-token behavior. EnglishAuction: list/bid/
settle/withdraw with a pending-returns fallback so a griefing bidder
can't lock the auction. Deployed and verified on Sepolia (addresses in
README).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Mac-5
Mac-5 self-requested a review July 16, 2026 06:55
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

Successfully merging this pull request may close these issues.

1 participant