[Feature] Allow for signatureless entitlements and call minting#15
Merged
jake-nyquist merged 2 commits intomainfrom May 11, 2022
Merged
[Feature] Allow for signatureless entitlements and call minting#15jake-nyquist merged 2 commits intomainfrom
jake-nyquist merged 2 commits intomainfrom
Conversation
HOOK-837 accept entitlement as-is onErc721Received in the vault contract
In the future, we'd like to allow us or a third party to construct a 'proxy' contract which automatically bootstraps a vault and create a call option based on it. This could work in two possible ways: A - proxy implementing onERC721Received: B - proxy gets approved for the asset
Scenario B is a growth-minded approach To make this work, we need to perform two changes to the protocol.
|
Contributor
Author
|
Current dependencies on/for this PR: This comment was auto-generated by Graphite. |
regynald
approved these changes
May 11, 2022
src/HookCoveredCallImplV1.sol
Outdated
|
|
||
| require( | ||
| expirationTime == vault.entitlementExpiration(), | ||
| "mintWithVault -- call contract must be the entitled operator" |
1b9bbbf to
08ec250
Compare
jake-nyquist
commented
May 11, 2022
Contributor
Author
jake-nyquist
left a comment
There was a problem hiding this comment.
fixed in 08ec25
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.

No description provided.