Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Jan 28, 2026

Automated PR – triggered by commit d22f277


PR-Codex overview

This PR focuses on refactoring and updating the pricing and action hooks in the smart contract codebase, enhancing the structure and functionality by introducing variant-specific configurations and improving parameter handling.

Detailed summary

  • Removed obsolete files: LinearVRGDAParams.sol, LogisticVRGDAParams.sol, and BaseGirlsScout.sol.
  • Updated RegistryPrice and RegistryAction hooks to support variant-specific configurations.
  • Modified structures for LinearProduct and LogisticProduct to include variant handling.
  • Enhanced paramsSchema methods across various contracts for better parameter validation.
  • Updated purchase functions to accommodate variant IDs for product actions.
  • Improved error handling and access control mechanisms in product configuration functions.
  • Adjusted tests to reflect the new configurations and ensure correctness.

The following files were skipped due to too many changes: src/hooks/actions/NFTGated/NFTGated.sol, src/hooks/actions/ERC721Mint/ERC721Mint.sol, script/ScriptUtils.sol, test/pricing/VRGDA/LogisticVRGDA.t.sol, test/pricing/VRGDA/LinearVRGDA.t.sol, src/hooks/actions/ERC20Mint/ERC20Mint.sol, deployments/addresses.json, script/generate-hook.sh, test/actions/ERC20Gated/ERC20Gated.t.sol, test/actions/NFTGated/NFTGated.t.sol, test/actions/ERC20Mint/ERC20Mint.t.sol, test/pricing/TieredDiscount/NFTDiscount.t.sol, test/actions/ERC721Mint/ERC721Mint.t.sol, test/pricingActions/FirstForFree/FirstForFree.t.sol

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

@jacopo-eth jacopo-eth closed this Jan 28, 2026
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