Skip to content

refactor: cleanup naming conventions and add usesAlternateProtocol helper#1856

Merged
ryanio merged 1 commit intomainfrom
refactor/cleanup-naming
Jan 13, 2026
Merged

refactor: cleanup naming conventions and add usesAlternateProtocol helper#1856
ryanio merged 1 commit intomainfrom
refactor/cleanup-naming

Conversation

@ryanio
Copy link
Collaborator

@ryanio ryanio commented Jan 13, 2026

Summary

  • Rename SIGNED_ZONE to OPENSEA_SIGNED_ZONE_V2 for consistency with other OpenSea constants
  • Add usesAlternateProtocol() helper to reduce repeated Chain.Gunzilla || Chain.Somnia checks
  • Rename getAddressAfterRemappingSharedStorefrontAddressToLazyMintAdapterAddress to remapSharedStorefrontAddress with improved documentation
  • Keep GUNZILLA_FEE_RECIPIENT as chain-specific (Somnia has its own SOMNIA_FEE_RECIPIENT)
  • Reorganize constants into clearer sections:
    • ALTERNATE_* for shared protocol constants (conduit, seaport, signed zone)
    • Chain-specific fee recipients in separate section

Test plan

  • Lint passes
  • Tests pass

🤖 Generated with Claude Code

- Rename SIGNED_ZONE to OPENSEA_SIGNED_ZONE_V2 for consistency
- Add usesAlternateProtocol() helper to reduce repeated chain checks
- Rename getAddressAfterRemappingSharedStorefrontAddressToLazyMintAdapterAddress
  to remapSharedStorefrontAddress with improved documentation
- Keep GUNZILLA_FEE_RECIPIENT as chain-specific (not ALTERNATE_)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@ryanio ryanio force-pushed the refactor/cleanup-naming branch from 5608c14 to 1e7b955 Compare January 13, 2026 21:19
@ryanio ryanio changed the title refactor: cleanup naming and add usesAlternateProtocol helper refactor: cleanup naming conventions and add usesAlternateProtocol helper Jan 13, 2026
@ryanio ryanio merged commit c71b1d7 into main Jan 13, 2026
7 of 8 checks passed
@ryanio ryanio deleted the refactor/cleanup-naming branch January 13, 2026 21:21
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