Repository navigation
Conversation
Add a guide for deploying an ERC4626WrapperHook for a new vault through the AllowlistedFactory, and a deployments page with the Monad factory address, the pinned source commit and the allowlisted creation-code hashes. Link both from the Wrapper Hook overview and navigation. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Thanks for contributing to Uniswap Docs! 🦄 Quick heads up on how this repo works: the docs you see on developers.uniswap.org are built from a separate source repo. When we accept a change here, we port it over there, so your fix might show up on the live site before it lands in this repo. Updates to this repo come in batches on a regular cadence. When yours is included, you'll be credited as a co-author on the commit, so the contribution counts on your GitHub profile and in Uniswap/docs. We review every PR but can't merge everything. Either way, someone from the docs team will follow up here once we've taken a look. One legal bit: by submitting a PR you agree your contribution is licensed under the repo's MIT license. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two pages to the Wrapper Hook section under Uniswap Labs Hooks, and links them from the section overview and navigation:
erc4626-wrapper/guides/deploy-a-wrapper-hook(new): how to deploy anERC4626WrapperHookfor a new ERC-4626 vault through theAllowlistedFactory. It covers how the factory accepts creation code, the build at the pinned commit, the deploy script, pool initialization, verification, a manualcastpath, and how integrators find and verify hooks from the factory.erc4626-wrapper/deployments(new): the MonadAllowlistedFactoryaddress, the pinned source commit, the allowlisted creation-code hashes, and the common hook parameters.erc4626-wrapper/overview.mdx,erc4626-wrapper/meta.json,erc4626-wrapper/guides/meta.json: links and navigation for the two pages.Type of change
How has this been verified?
0x33a9b9a7Ca2e8744bA946c34Fc38a1b34e9197FDhas code on Monad (chain 143), andisAllowedCreationCodereturnstruefor the two hashes on the deployments page.keccak256of the creation bytecode ofERC4626WrapperHookandERC4626RoutingHook, compiled fromUniswap/v4-hooks-publicat commitb116f79a997ab7bf4065808168e8ac8bc3d54c17.PoolManagerandQuoteraddresses agree withcontent/protocols/v4/deployments.mdx.PoolManager.initialize, the registry checks, theQuotercall through the routing twin, and the manualcast create2+factory.deploypath.0, tick spacing60, start price 1:1) agree with an existing wrapper pool on Monad.The pages were not rendered in the site build.
Applicable screenshots
None.
Anything else reviewers should know?
b116f79because the factory allowlist is immutable and pins that build. The hook source is not onmainofv4-hooks-publicyet.wrapper-poolsandextending-the-hookdescribe_redeemToUnderlyingand theDeallocating*hooks. These are not in the build that the Monad factory pins. This PR does not change those pages.deployments.jsonfeed? This PR does not add it there.🤖 Generated with Claude Code