erc721m
erc721m copied to clipboard
ERC1155 ZKSync
Apologies, the solidity formatter hit some files.
Changes:
- Update .gitignore with coverage and zkout dir
- replaces
import {ERC1155} from "solady/src/tokens/ERC1155.sol";withimport {ERC1155} from "solady/src/tokens/ext/zksync/ERC1155.sol"; - Bumps solady to 0.0.298 in foundry and npm
good to know that solady has zksync ext.
does it work for non-zksync chains?
@nothing0012 I think it depends. This contract should, but code related to zksync-specific features (system contracts, account abstraction, bridging) won't and some EVM opcodes are inefficient on zksync and not implemented.