You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.
As I understood everything corretly, the final NFT contract is called MyCollectible.
But this example contains also a contract called MyFactory.sol which seems to be something like a Proxy as it also provides functions like balanceOf and safeTransferFrom, which are delegated to the MyCollectible-implementation.
What is the purpose of this class? Can we get some more documentation about this pls? Has it something to do with OpenSea-compatibility?
Thanks everybody in advance for any explanation!
The text was updated successfully, but these errors were encountered:
I was also asking myself this question while reading the code.
My thoughts:
The choice of the word "factory" is a bit confusing, as no additional contracts are actually deployed here. The "new" keyword isn't to be found anywhere.
The "MyFactory.sol" contract is simply a separation of concerns providing application logic outside of the actual "MyCollectible.sol" ERC1155 contract.
I hope that this helps!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As I understood everything corretly, the final NFT contract is called
MyCollectible
.But this example contains also a contract called
MyFactory.sol
which seems to be something like a Proxy as it also provides functions likebalanceOf
andsafeTransferFrom
, which are delegated to theMyCollectible
-implementation.What is the purpose of this class? Can we get some more documentation about this pls? Has it something to do with OpenSea-compatibility?
Thanks everybody in advance for any explanation!
The text was updated successfully, but these errors were encountered: