Skip to content

Implement liquidity pool integration hook - #1023

Merged
Chucks1093 merged 3 commits into
accesslayerorg:mainfrom
DavisVT:feature/lp-integration-hook
Sep 30, 2026
Merged

Chucks1093 merged 3 commits into
accesslayerorg:mainfrom
DavisVT:feature/lp-integration-hook

Conversation

@DavisVT

@DavisVT DavisVT commented Sep 29, 2026

Copy link
Copy Markdown
Contributor
  • Add LP contract address and allocation percentage state variables to DataKey enum
  • Add storage key constants for LP configuration
  • Add admin-only functions to set LP contract address and allocation percentage
  • Add LPAllocationSent event for tracking LP allocations
  • Implement LP hook in buy_keys_with_referrer to deduct and forward allocation
  • Add unit tests for LP configuration and edge cases

closes #922

- Add LP contract address and allocation percentage state variables to DataKey enum
- Add storage key constants for LP configuration
- Add admin-only functions to set LP contract address and allocation percentage
- Add LPAllocationSent event for tracking LP allocations
- Implement LP hook in buy_keys_with_referrer to deduct and forward allocation
- Add unit tests for LP configuration and edge cases
@drips-wave

drips-wave Bot commented Sep 29, 2026

Copy link
Copy Markdown

@DavisVT Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

… sentinel, update stale register_creator/buy_key test calls
@Chucks1093
Chucks1093 merged commit 92dd2f9 into accesslayerorg:main Sep 30, 2026
1 check 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.

Add liquidity pool integration hook for bonding curve surplus routing

2 participants