Skip to content

BaseAsyncSwap: N-05 require PoolId scoping for multi-pool hooks - #174

Open
gonzaotc wants to merge 1 commit into
asyncswap-redemption-docsfrom
asyncswap-pool-binding-docs
Open

gonzaotc wants to merge 1 commit into
asyncswap-redemption-docsfrom
asyncswap-pool-binding-docs

Conversation

@gonzaotc

@gonzaotc gonzaotc commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Pool initialization is permissionless, so any pool can name this hook, and the claim tokens it holds are keyed by currency with no pool component. The old note asked for per-pool separation without saying either fact.

The hook has no _beforeInitialize to hang this on, so the warning sits on the contract. Stacked on #173, which edits the block above it.

Pool initialization is permissionless, and the claim tokens the hook holds
carry no pool component. State the PoolId keying requirement for multi-pool
hooks and the _beforeInitialize binding for single-pool ones.
@gonzaotc
gonzaotc marked this pull request as ready for review September 7, 2026 20:05
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