diff --git a/contracts/BaseWorkflow.sol b/contracts/BaseWorkflow.sol index e871d53..8438b25 100644 --- a/contracts/BaseWorkflow.sol +++ b/contracts/BaseWorkflow.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import { IAccessController } from "@storyprotocol/core/interfaces/access/IAccessController.sol"; diff --git a/contracts/GroupingWorkflows.sol b/contracts/GroupingWorkflows.sol index e8a556e..d9caf82 100644 --- a/contracts/GroupingWorkflows.sol +++ b/contracts/GroupingWorkflows.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; diff --git a/contracts/SPGNFT.sol b/contracts/SPGNFT.sol index d419e7f..fc2530f 100644 --- a/contracts/SPGNFT.sol +++ b/contracts/SPGNFT.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import { AccessControlUpgradeable } from "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol"; diff --git a/contracts/StoryProtocolGateway.sol b/contracts/StoryProtocolGateway.sol index d69e23c..2caa866 100644 --- a/contracts/StoryProtocolGateway.sol +++ b/contracts/StoryProtocolGateway.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/interfaces/IGroupingWorkflows.sol b/contracts/interfaces/IGroupingWorkflows.sol index c517516..fcff428 100644 --- a/contracts/interfaces/IGroupingWorkflows.sol +++ b/contracts/interfaces/IGroupingWorkflows.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import { PILTerms } from "@storyprotocol/core/interfaces/modules/licensing/IPILicenseTemplate.sol"; diff --git a/contracts/interfaces/ISPGNFT.sol b/contracts/interfaces/ISPGNFT.sol index ee80c53..588272d 100644 --- a/contracts/interfaces/ISPGNFT.sol +++ b/contracts/interfaces/ISPGNFT.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import { IAccessControl } from "@openzeppelin/contracts/access/IAccessControl.sol"; diff --git a/contracts/interfaces/IStoryProtocolGateway.sol b/contracts/interfaces/IStoryProtocolGateway.sol index 1159045..00bf83d 100644 --- a/contracts/interfaces/IStoryProtocolGateway.sol +++ b/contracts/interfaces/IStoryProtocolGateway.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import { PILTerms } from "@storyprotocol/core/interfaces/modules/licensing/IPILicenseTemplate.sol"; diff --git a/contracts/lib/Errors.sol b/contracts/lib/Errors.sol index 5c58163..85b854e 100644 --- a/contracts/lib/Errors.sol +++ b/contracts/lib/Errors.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; /// @title Errors Library diff --git a/contracts/lib/LicensingHelper.sol b/contracts/lib/LicensingHelper.sol index 9a6078e..5ca2dbe 100644 --- a/contracts/lib/LicensingHelper.sol +++ b/contracts/lib/LicensingHelper.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/lib/MetadataHelper.sol b/contracts/lib/MetadataHelper.sol index 140a566..c242c95 100644 --- a/contracts/lib/MetadataHelper.sol +++ b/contracts/lib/MetadataHelper.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import { ICoreMetadataModule } from "@storyprotocol/core/interfaces/modules/metadata/ICoreMetadataModule.sol"; diff --git a/contracts/lib/PermissionHelper.sol b/contracts/lib/PermissionHelper.sol index c776903..78ef004 100644 --- a/contracts/lib/PermissionHelper.sol +++ b/contracts/lib/PermissionHelper.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import { IIPAccount } from "@storyprotocol/core/interfaces/IIPAccount.sol"; diff --git a/contracts/lib/SPGNFTLib.sol b/contracts/lib/SPGNFTLib.sol index 26e0aba..52b9845 100644 --- a/contracts/lib/SPGNFTLib.sol +++ b/contracts/lib/SPGNFTLib.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; /// @title SPG NFT Library diff --git a/package.json b/package.json index 6de87a1..92267ba 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "prepare": "husky install" }, "author": "StoryProtocol", - "license": "BUSL-1.1", + "license": "MIT", "devDependencies": { "chai": "^5.0.3", "dotenv": "^16.4.1", diff --git a/script/Main.s.sol b/script/Main.s.sol index f4a7137..f8b8942 100644 --- a/script/Main.s.sol +++ b/script/Main.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; /* solhint-disable no-console */ diff --git a/script/UpgradeSPG.s.sol b/script/UpgradeSPG.s.sol index 56d6017..386533b 100644 --- a/script/UpgradeSPG.s.sol +++ b/script/UpgradeSPG.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; /* solhint-disable no-console */ diff --git a/script/UpgradeSPGNFT.s.sol b/script/UpgradeSPGNFT.s.sol index e408c0a..25797e9 100644 --- a/script/UpgradeSPGNFT.s.sol +++ b/script/UpgradeSPGNFT.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; /* solhint-disable no-console */ diff --git a/test/GroupingWorkflows.t.sol b/test/GroupingWorkflows.t.sol index 2e14f6c..ef9ce67 100644 --- a/test/GroupingWorkflows.t.sol +++ b/test/GroupingWorkflows.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import { BaseTest } from "./utils/BaseTest.t.sol"; diff --git a/test/SPGNFT.t.sol b/test/SPGNFT.t.sol index 987e2fe..b71ae70 100644 --- a/test/SPGNFT.t.sol +++ b/test/SPGNFT.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import { BeaconProxy } from "@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol"; diff --git a/test/StoryProtocolGateway.t.sol b/test/StoryProtocolGateway.t.sol index 14630f6..0719cf9 100644 --- a/test/StoryProtocolGateway.t.sol +++ b/test/StoryProtocolGateway.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import { IIPAccount } from "@storyprotocol/core/interfaces/IIPAccount.sol"; diff --git a/test/mocks/MockERC20.sol b/test/mocks/MockERC20.sol index e61c84a..aca3c74 100644 --- a/test/mocks/MockERC20.sol +++ b/test/mocks/MockERC20.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity 0.8.23; import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; diff --git a/test/mocks/MockERC721.sol b/test/mocks/MockERC721.sol index c7e12a9..71a1031 100644 --- a/test/mocks/MockERC721.sol +++ b/test/mocks/MockERC721.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSDL-1.1 +// SPDX-License-Identifier: MIT pragma solidity 0.8.23; import { ERC721 } from "@openzeppelin/contracts/token/ERC721/ERC721.sol"; diff --git a/test/mocks/MockEvenSplitGroupPool.sol b/test/mocks/MockEvenSplitGroupPool.sol index 7ca02ed..935ec45 100644 --- a/test/mocks/MockEvenSplitGroupPool.sol +++ b/test/mocks/MockEvenSplitGroupPool.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity 0.8.23; import { IGroupRewardPool } from "@storyprotocol/core/interfaces/modules/grouping/IGroupRewardPool.sol"; diff --git a/test/utils/TestProxyHelper.t.sol b/test/utils/TestProxyHelper.t.sol index a1af323..4afef9b 100644 --- a/test/utils/TestProxyHelper.t.sol +++ b/test/utils/TestProxyHelper.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: BUSL-1.1 +// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";