Conversation
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
There was a problem hiding this comment.
this can be ignored, its a direct copy of ERC721A with an initializer
There was a problem hiding this comment.
pre-approves our seaport conduit for immediate trading
There was a problem hiding this comment.
this can be ignored, its a direct copy of ERC721AQueryable that extends ERC721ACloneable
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
The factory that makes the car can be upgraded Once an NFT contract is deployed, it's stuck with whatever implementation it was cloned from. You can't upgrade it.
I believe the factory/registry could be replaced by: The factory/registry could be replaced by:
contract SimpleFactory Ownable {
uint256 fee;
mapping(uint256 => address) public implementations;
constructor(){...}
function deploy(
uint256 implId, // An ID that maps to deployed token standards
string calldata name,
string calldata symbol,
address initialOwner
) external payable returns (address) {
require(msg.value >= fee, “Fee too low.”);
address impl = implementations[implId];
require(impl != address(0), "Invalid impl");
address instance = LibClone.clone(impl);
IERC1155M(instance).initialize(name, symbol, initialOwner);
return instance;
}
… setters for fee and implementations
}
NOW, this would make upgrading for ZKSync a 1 line change to the ZKProxy.sol contract I provided in Slack. |
ERC721CM v1.0.1
setTransferablefunction to block transfersbaseURIandtokenURISuffixto the setup functionsetuplock, can only be called onceERC721M v1.0.1
setTransferablefunction to block transfersbaseURIandtokenURISuffixto the setup functionsetuplock, can only be called onceERC1155M v1.0.1
setuplock, can only be called onceCLI
baseURIandtokenURISuffixon setup