Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2/recipe #7

Merged
merged 9 commits into from
Nov 9, 2024
Merged

Conversation

potatoe-dev
Copy link
Collaborator

V2 mpl-hybrid

  1. Dissociates escrow with swap logic by:

a) Creating a recipe account with swap logic
b) Creating a separate escrowV2 account that simply holds/signs for assets

Now multiple recipes can be used on a single escrow.

  1. Adds/separates capture/release fees.

Now you can have different capture/release fees (tokens and SOL)

  1. Patches multiplying overflow on capture by using a wrapping_mul

  2. Boxes some large accounts

  3. Migration from escrowV1 to escrowV2

Transfers NFTs and tokens from escrowV1 to your escrowV2

Copy link

vercel bot commented Sep 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mpl-hybrid-js-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 7, 2024 8:16am

1. Wrong escrow seeds on capture_v2 and release_v2

2. Added migration security check of authority

3. Fixed size math on recipe size

4. Path set 0 to reroll
@blockiosaurus blockiosaurus merged commit 90d5eae into metaplex-foundation:main Nov 9, 2024
10 of 11 checks 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.

2 participants