Skip to content

chore: Apache 2.0 license compliance — replace MIT, add bilingual five-file set#116

Open
jhfnetboy wants to merge 6 commits intomainfrom
chore/license-compliance
Open

chore: Apache 2.0 license compliance — replace MIT, add bilingual five-file set#116
jhfnetboy wants to merge 6 commits intomainfrom
chore/license-compliance

Conversation

@jhfnetboy
Copy link
Copy Markdown
Member

Summary

  • Replace MIT with Apache 2.0 in all own contracts (180 .sol files: SPDX headers)
  • Update README License section (English + Chinese) to Apache 2.0 standard format
  • Add LICENSE-zh.md (Chinese reference translation, non-binding)
  • Add TRADEMARK-zh.md (Chinese trademark policy)
  • Update NOTICE to bilingual format per MushroomDAO ecosystem standard

Why

SuperPaymaster has always used Apache 2.0 (see LICENSE file), but MIT was incorrectly stated in:

  • All contract SPDX headers
  • README License section (both EN and ZH)

This PR aligns the declared license with the actual license file.

Files changed

  • LICENSE-zh.md — new (Chinese Apache 2.0 reference)
  • TRADEMARK-zh.md — new (Chinese trademark policy)
  • NOTICE — updated to bilingual format
  • README.md — License section standardized
  • contracts/**/*.sol — SPDX: MIT → Apache-2.0 (own code only; lib/ unchanged)

Test plan

  • Verify LICENSE file is Apache 2.0 ✅
  • Verify no SPDX MIT in contracts/src/, contracts/test/, contracts/script/
  • Verify README bottom License section shows Apache 2.0

Add/update LICENSE, NOTICE, TRADEMARK.md, LICENSE-zh.md, TRADEMARK-zh.md
per MushroomDAO ecosystem standard.
Update README license section and SPDX headers in all own contracts
(contracts/src/, contracts/test/, contracts/script/, contracts/echidna/)
to correctly reflect Apache 2.0. Third-party deps in lib/ unchanged.
@jhfnetboy jhfnetboy requested a review from fanhousanbu as a code owner April 28, 2026 13:54
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