Skip to content

Commit

Permalink
Clone files and bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Vectorized committed Nov 17, 2023
1 parent 0c29ae2 commit 3e3985b
Show file tree
Hide file tree
Showing 8 changed files with 5,532 additions and 1 deletion.
1,074 changes: 1,074 additions & 0 deletions contracts/core/SoundEditionV2_1.sol

Large diffs are not rendered by default.

811 changes: 811 additions & 0 deletions contracts/core/interfaces/ISoundEditionV2_1.sol

Large diffs are not rendered by default.

1,182 changes: 1,182 additions & 0 deletions contracts/modules/SuperMinterV1_1.sol

Large diffs are not rendered by default.

986 changes: 986 additions & 0 deletions contracts/modules/interfaces/ISuperMinterV1_1.sol

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/solady
Submodule solady updated 54 files
+694 −618 .gas-snapshot
+15 −10 .github/workflows/ci-all-via-ir.yml
+46 −29 .github/workflows/ci.yml
+10 −2 README.md
+1 −23 foundry.toml
+1 −1 package.json
+7 −33 src/Milady.sol
+104 −0 src/accounts/ERC1271.sol
+388 −0 src/accounts/ERC4337.sol
+71 −0 src/accounts/ERC4337Factory.sol
+321 −0 src/accounts/ERC6551.sol
+72 −0 src/accounts/ERC6551Proxy.sol
+33 −0 src/accounts/Receiver.sol
+59 −21 src/auth/Ownable.sol
+1 −1 src/auth/OwnableRoles.sol
+12 −11 src/tokens/ERC1155.sol
+3 −3 src/tokens/ERC20.sol
+23 −15 src/tokens/ERC6909.sol
+10 −11 src/tokens/ERC721.sol
+1 −1 src/tokens/WETH.sol
+9 −4 src/utils/CREATE3.sol
+90 −53 src/utils/ECDSA.sol
+12 −12 src/utils/EIP712.sol
+135 −37 src/utils/FixedPointMathLib.sol
+29 −2 src/utils/JSONParserLib.sol
+5 −5 src/utils/LibBit.sol
+6 −10 src/utils/LibBitmap.sol
+306 −80 src/utils/LibClone.sol
+24 −3 src/utils/LibString.sol
+1 −1 src/utils/LibZip.sol
+1 −1 src/utils/MerkleProofLib.sol
+5 −5 src/utils/Multicallable.sol
+14 −21 src/utils/SafeTransferLib.sol
+101 −9 src/utils/SignatureCheckerLib.sol
+148 −0 src/utils/UUPSUpgradeable.sol
+6 −8 test/ECDSA.t.sol
+555 −0 test/ERC4337.t.sol
+75 −0 test/ERC4337Factory.t.sol
+415 −0 test/ERC6551.t.sol
+32 −13 test/ERC6909.t.sol
+220 −0 test/FixedPointMathLib.t.sol
+76 −0 test/JSONParserLib.t.sol
+70 −13 test/LibClone.t.sol
+7 −0 test/LibString.t.sol
+43 −0 test/Receiver.t.sol
+19 −0 test/SignatureCheckerLib.t.sol
+84 −0 test/UUPSUpgradeable.t.sol
+2 −2 test/utils/TestPlus.sol
+50 −0 test/utils/mocks/MockERC4337.sol
+55 −0 test/utils/mocks/MockERC6551.sol
+115 −0 test/utils/mocks/MockERC6551Registry.sol
+34 −0 test/utils/mocks/MockEntryPoint.sol
+8 −0 test/utils/mocks/MockReceiver.sol
+46 −0 test/utils/mocks/MockUUPSImplementation.sol
32 changes: 32 additions & 0 deletions tests/TestConfigV2_1.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;

import "./TestPlus.sol";
import { SoundCreatorV1 } from "@core/SoundCreatorV1.sol";
import { ISoundEditionV2_1, SoundEditionV2_1 } from "@core/SoundEditionV2_1.sol";

contract TestConfigV2 is TestPlus {
uint256 internal _salt;

SoundCreatorV1 soundCreator;

function setUp() public virtual {
soundCreator = new SoundCreatorV1(address(new SoundEditionV2_1()));
}

function createSoundEdition(ISoundEditionV2_1.EditionInitialization memory init) public returns (SoundEditionV2_1) {
bytes memory initData = abi.encodeWithSelector(SoundEditionV2_1.initialize.selector, init);

address[] memory contracts;
bytes[] memory data;

soundCreator.createSoundAndMints(bytes32(++_salt), initData, contracts, data);
(address addr, ) = soundCreator.soundEditionAddress(address(this), bytes32(_salt));
return SoundEditionV2_1(addr);
}

function genericEditionInitialization() public view returns (ISoundEditionV2_1.EditionInitialization memory init) {
init.fundingRecipient = address(this);
init.tierCreations = new ISoundEditionV2_1.TierCreation[](1);
}
}
539 changes: 539 additions & 0 deletions tests/core/SoundEditionV2_1.t.sol

Large diffs are not rendered by default.

907 changes: 907 additions & 0 deletions tests/modules/SuperMinterV1_1.t.sol

Large diffs are not rendered by default.

0 comments on commit 3e3985b

Please sign in to comment.