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

3.1.0 & 3.1.1 #51

Merged
merged 4 commits into from
Apr 12, 2024
Merged

3.1.0 & 3.1.1 #51

merged 4 commits into from
Apr 12, 2024

Conversation

mpeyfuss
Copy link
Member

3.1.0

  • Constructors now use initOwner in events emitted. This avoids using tx.origin which can break with account abstraction. While it does open the door to imitation onchain, there are ways to prove this onchain with no negative ramifications really as initOwner still has control of the contract after the fact.
  • ERC-7160 based contracts now have a unpinned behavior flag where tokenURI can point to the original minted metadata or "float" with each new piece of metadata added.

3.1.1

  • emit BatchMetadataUpdate from ERC-4906 when toggling the unpinned behavior flag

1. `initOwner` used in event logs during initialization rather than `tx.origin`
2. ERC-7160 compliant contracts now have a setting where they can change the behavior of the returned metadata when unpinned
- added `BatchMetadataUpdate` from ERC-4906 to ERC-7160 based contracts
- created simulation scripts and folder to contain results
@mpeyfuss mpeyfuss merged commit 116a3bb into main Apr 12, 2024
1 check passed
@mpeyfuss mpeyfuss deleted the marco/3.1.0-toggle-7160-unpinned-behavior branch April 12, 2024 00:38
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