Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Jul 31, 2025

Automated PR – triggered by commit 3ea383d


PR-Codex overview

This PR focuses on refactoring and renaming contracts and interfaces related to on-chain actions and pricing strategies, transitioning to a more consistent naming convention centered around ProductAction and ProductPrice.

Detailed summary

  • Deleted several test and utility files related to old pricing strategies and on-chain actions.
  • Introduced new contracts: ProductAction, ProductPrice, RegistryProductAction, RegistryProductPrice, and their associated tests.
  • Updated NFTGate struct to use NftType instead of TokenType.
  • Refactored existing contracts to inherit from the new ProductAction and ProductPrice contracts.
  • Adjusted function signatures and imports to align with the new naming conventions.
  • Updated deployment scripts and testing files to reflect the changes in contract structure and naming.
  • Removed old references to RegistryOnchainAction and PricingStrategy, replacing them with RegistryProductAction and RegistryProductPrice.
  • Modified tests to ensure compatibility with the new product-focused architecture.

The following files were skipped due to too many changes: src/hooks/pricing/TieredDiscount/TieredDiscount.sol, src/hooks/pricing/README.md, src/hooks/actions/README.md, test/utils/murky/MurkyBase.sol, src/hooks/pricingActions/README.md, src/examples/README.md, src/hooks/pricing/TieredDiscount/NFTDiscount/NFTDiscount.sol, README.md, test/pricing/TieredDiscount/NFTDiscount.t.sol, script/generate-hook.sh

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@jjranalli jjranalli merged commit 0366223 into master Aug 28, 2025
3 checks passed
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.

2 participants