Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
node_modules
.env
coverage.json
coverage-hh/
coverage-forge/
typechain
typechain-types
cache
Expand All @@ -10,6 +12,7 @@ artifacts
dist
.DS_Store
out/
zkout/
lcov.info
lcov.info.pruned
coverage/
Expand All @@ -18,4 +21,4 @@ broadcast/
*collections*
*whitelist*
*invalid*
*.tmp
*.tmp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.22;

import {ERC1155} from "solady/src/tokens/ERC1155.sol";
import {ERC1155} from "solady/src/tokens/ext/zksync/ERC1155.sol";

/// @title ERC1155ConduitPreapprovedCloneable
/// @notice ERC1155 token with the MagicEden conduit preapproved for seamless transactions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {ERC2981} from "solady/src/tokens/ERC2981.sol";
import {Ownable} from "solady/src/auth/Ownable.sol";
import {Initializable} from "solady/src/utils/Initializable.sol";

import {ERC1155} from "solady/src/tokens/ERC1155.sol";
import {ERC1155} from "solady/src/tokens/ext/zksync/ERC1155.sol";
import {IERC1155MagicDropMetadata} from "../interfaces/IERC1155MagicDropMetadata.sol";
import {ERC1155ConduitPreapprovedCloneable} from "./ERC1155ConduitPreapprovedCloneable.sol";

Expand Down
11 changes: 4 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"erc721a": "^4.2.3",
"erc721a-upgradeable": "^4.3.0",
"operator-filter-registry": "^1.4.2",
"solady": "^0.0.249"
"solady": "^0.0.298"
},
"peerDependencies": {
"ethers": "^5.0.0"
Expand Down Expand Up @@ -99,4 +99,4 @@
"prettier --write --plugin=prettier-plugin-solidity contracts"
]
}
}
}
17 changes: 17 additions & 0 deletions scripts-foundry/deploy1155m.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "forge-std/Script.sol";
import "../contracts/nft/erc1155m/clones/ERC1155MagicDropCloneable.sol";

contract testDeploy is Script {
function run() external {
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
vm.startBroadcast(deployerPrivateKey);
ERC1155MagicDropCloneable erc1155blahblahblah = new ERC1155MagicDropCloneable();

console.log(address(erc1155blahblahblah));

vm.stopBroadcast();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.22;

import {Test} from "forge-std/Test.sol";
import {ERC1155} from "solady/src/tokens/ERC1155.sol";
import {ERC1155} from "solady/src/tokens/ext/zksync/ERC1155.sol";

import {Ownable} from "solady/src/auth/Ownable.sol";
import {LibClone} from "solady/src/utils/LibClone.sol";
Expand Down
Loading