Skip to content

Fix typo: 'adress' -> 'address' in comments#697

Open
Zentex1337 wants to merge 1 commit intothirdweb-dev:mainfrom
Zentex1337:fix/typo-address-spelling
Open

Fix typo: 'adress' -> 'address' in comments#697
Zentex1337 wants to merge 1 commit intothirdweb-dev:mainfrom
Zentex1337:fix/typo-address-spelling

Conversation

@Zentex1337
Copy link

@Zentex1337 Zentex1337 commented Feb 3, 2026

Summary

  • Fixed the misspelling of 'address' as 'adress' in NatSpec comments across multiple files
  • Updated IPrimarySale.sol interface
  • Updated TokenERC20.sol, TokenERC721.sol, and TokenERC1155.sol contracts
  • Also corrected comment for platformFeeRecipient to accurately describe it as receiving platform fees rather than primary sales

Test plan

  • No functional changes, only documentation/comment fixes
  • Existing tests should continue to pass

Summary by CodeRabbit

  • Documentation
    • Corrected spelling and clarified comments in smart contracts regarding fee recipient addresses across multiple token implementations. Updated documentation to accurately describe the purpose of platform fee and primary sale recipient fields.

Fixed the misspelling of 'address' as 'adress' in NatSpec comments
across multiple token contracts and the IPrimarySale interface.
@coderabbitai
Copy link

coderabbitai bot commented Feb 3, 2026

Walkthrough

This PR corrects documentation typos and clarifies comments across multiple token contract files. Changes include fixing "adress" misspellings to "address" and updating descriptions to accurately reflect what each fee recipient variable represents. No functional logic is modified.

Changes

Cohort / File(s) Summary
Documentation Fixes
contracts/extension/interface/IPrimarySale.sol, contracts/prebuilts/token/TokenERC1155.sol, contracts/prebuilts/token/TokenERC20.sol, contracts/prebuilts/token/TokenERC721.sol
Corrected typos in inline comments: "adress" → "address". Updated platform fee recipient descriptions from "receives all primary sales value" to "receives all platform fee value" where applicable. No functional changes to code logic or public interfaces.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: fixing the typo 'adress' to 'address' in comments across multiple files, which is the primary objective of this PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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