From 509e8abdf7f3750e55a32f11fd0f8c13e3ad17fa Mon Sep 17 00:00:00 2001 From: Raul Date: Fri, 23 Feb 2024 16:21:54 -0800 Subject: [PATCH 1/8] remove floating pragma --- contracts/AccessController.sol | 2 +- contracts/IPAccountImpl.sol | 2 +- contracts/access/AccessControlled.sol | 2 +- contracts/governance/Governable.sol | 2 +- contracts/governance/Governance.sol | 2 +- contracts/interfaces/IAccessController.sol | 2 +- contracts/interfaces/IIPAccount.sol | 2 +- contracts/interfaces/governance/IGovernable.sol | 2 +- contracts/interfaces/governance/IGovernance.sol | 2 +- contracts/interfaces/modules/IRegistrationModule.sol | 2 +- contracts/interfaces/modules/base/IHookModule.sol | 2 +- contracts/interfaces/modules/base/IModule.sol | 2 +- contracts/interfaces/modules/dispute/IDisputeModule.sol | 2 +- .../interfaces/modules/dispute/policies/IArbitrationPolicy.sol | 2 +- .../interfaces/modules/external/ITokenWithdrawalModule.sol | 2 +- contracts/interfaces/modules/licensing/ILicensingModule.sol | 2 +- .../interfaces/modules/licensing/IPILPolicyFrameworkManager.sol | 2 +- .../interfaces/modules/licensing/IPolicyFrameworkManager.sol | 2 +- contracts/interfaces/modules/royalty/IRoyaltyModule.sol | 2 +- .../interfaces/modules/royalty/policies/IAncestorsVaultLAP.sol | 2 +- .../interfaces/modules/royalty/policies/ILiquidSplitClone.sol | 2 +- .../interfaces/modules/royalty/policies/ILiquidSplitFactory.sol | 2 +- .../interfaces/modules/royalty/policies/ILiquidSplitMain.sol | 2 +- .../interfaces/modules/royalty/policies/IRoyaltyPolicy.sol | 2 +- .../interfaces/modules/royalty/policies/IRoyaltyPolicyLAP.sol | 2 +- contracts/interfaces/registries/IIPAccountRegistry.sol | 2 +- contracts/interfaces/registries/IIPAssetRegistry.sol | 2 +- contracts/interfaces/registries/ILicenseRegistry.sol | 2 +- contracts/interfaces/registries/IModuleRegistry.sol | 2 +- contracts/interfaces/registries/metadata/IMetadataProvider.sol | 2 +- .../registries/metadata/IMetadataProviderMigratable.sol | 2 +- .../interfaces/registries/metadata/IMetadataProviderV1.sol | 2 +- contracts/interfaces/resolvers/IKeyValueResolver.sol | 2 +- contracts/interfaces/resolvers/IResolver.sol | 2 +- contracts/lib/AccessPermission.sol | 2 +- contracts/lib/ArrayUtils.sol | 2 +- contracts/lib/DataUniqueness.sol | 2 +- contracts/lib/Errors.sol | 2 +- contracts/lib/GovernanceLib.sol | 2 +- contracts/lib/IP.sol | 2 +- contracts/lib/Licensing.sol | 2 +- contracts/lib/MetaTx.sol | 2 +- contracts/lib/PILFlavors.sol | 2 +- contracts/lib/PILFrameworkErrors.sol | 2 +- contracts/lib/modules/Module.sol | 2 +- contracts/lib/registries/IPAccountChecker.sol | 2 +- contracts/modules/BaseModule.sol | 2 +- contracts/modules/RegistrationModule.sol | 2 +- contracts/modules/dispute/DisputeModule.sol | 2 +- contracts/modules/dispute/policies/ArbitrationPolicySP.sol | 2 +- contracts/modules/external/TokenWithdrawalModule.sol | 2 +- contracts/modules/licensing/BasePolicyFrameworkManager.sol | 2 +- contracts/modules/licensing/LicensingModule.sol | 2 +- contracts/modules/licensing/LicensingModuleAware.sol | 2 +- contracts/modules/licensing/PILPolicyFrameworkManager.sol | 2 +- .../licensing/parameter-helpers/LicensorApprovalChecker.sol | 2 +- contracts/modules/royalty/RoyaltyModule.sol | 2 +- contracts/modules/royalty/policies/AncestorsVaultLAP.sol | 2 +- contracts/modules/royalty/policies/RoyaltyPolicyLAP.sol | 2 +- contracts/registries/IPAccountRegistry.sol | 2 +- contracts/registries/IPAssetRegistry.sol | 2 +- contracts/registries/LicenseRegistry.sol | 2 +- contracts/registries/ModuleRegistry.sol | 2 +- contracts/registries/metadata/IPAssetRenderer.sol | 2 +- contracts/registries/metadata/IPMetadataProvider.sol | 2 +- contracts/registries/metadata/MetadataProviderBase.sol | 2 +- contracts/registries/metadata/MetadataProviderV1.sol | 2 +- contracts/resolvers/IPResolver.sol | 2 +- contracts/resolvers/KeyValueResolver.sol | 2 +- contracts/resolvers/ResolverBase.sol | 2 +- contracts/utils/ShortStringOps.sol | 2 +- test/foundry/AccessController.t.sol | 2 +- test/foundry/IPAccount.t.sol | 2 +- test/foundry/IPAccountMetaTx.t.sol | 2 +- test/foundry/access/AccessControlled.t.sol | 2 +- test/foundry/governance/Governance.t.sol | 2 +- test/foundry/integration/BaseIntegration.t.sol | 2 +- test/foundry/integration/big-bang/SingleNftCollection.t.sol | 2 +- test/foundry/integration/flows/disputes/Disputes.t.sol | 2 +- .../flows/emergence-universe/EmergenceUniverse.t.sol | 2 +- .../integration/flows/licensing/LicensingScenarios.t.sol | 2 +- test/foundry/integration/flows/royalty/Royalty.t.sol | 2 +- test/foundry/mocks/CustomModuleType.sol | 2 +- test/foundry/mocks/MockAccessControlledModule.sol | 2 +- test/foundry/mocks/MockIncompatibleMetadataProviderV2.sol | 2 +- test/foundry/mocks/MockMetadataProviderV2.sol | 2 +- test/foundry/mocks/MockTokenGatedHook.sol | 2 +- test/foundry/mocks/access/MockAccessController.sol | 2 +- test/foundry/mocks/governance/MockGovernance.sol | 2 +- test/foundry/mocks/licensing/MockPolicyFrameworkManager.sol | 2 +- test/foundry/mocks/module/MockDisputeModule.sol | 2 +- test/foundry/mocks/module/MockLicensingModule.sol | 2 +- test/foundry/mocks/module/MockMetaTxModule.sol | 2 +- test/foundry/mocks/module/MockModule.sol | 2 +- test/foundry/mocks/module/MockOrchestratorModule.sol | 2 +- test/foundry/mocks/module/MockRoyaltyModule.sol | 2 +- test/foundry/mocks/policy/MockArbitrationPolicy.sol | 2 +- test/foundry/mocks/registry/MockLicenseRegistry.sol | 2 +- test/foundry/mocks/registry/MockModuleRegistry.sol | 2 +- test/foundry/mocks/token/MockERC1155.sol | 2 +- test/foundry/mocks/token/MockERC721.sol | 2 +- test/foundry/modules/ModuleBase.t.sol | 2 +- test/foundry/modules/dispute/ArbitrationPolicySP.t.sol | 2 +- test/foundry/modules/dispute/DisputeModule.t.sol | 2 +- test/foundry/modules/external/TokenWithdrawalModule.t.sol | 2 +- test/foundry/modules/licensing/LicensingModule.t.sol | 2 +- .../modules/licensing/PILPolicyFramework.derivation.t.sol | 2 +- .../modules/licensing/PILPolicyFramework.multi-parent.sol | 2 +- test/foundry/modules/licensing/PILPolicyFramework.t.sol | 2 +- test/foundry/modules/royalty/AncestorsVaultLAP.t.sol | 2 +- test/foundry/modules/royalty/RoyaltyModule.t.sol | 2 +- test/foundry/modules/royalty/RoyaltyPolicyLAP.t.sol | 2 +- test/foundry/registries/IPAccountRegistry.t.sol | 2 +- test/foundry/registries/IPAssetRegistry.t.sol | 2 +- test/foundry/registries/ModuleRegistry.t.sol | 2 +- test/foundry/registries/metadata/IPAssetRenderer.t.sol | 2 +- test/foundry/registries/metadata/MetadataProvider.t.sol | 2 +- test/foundry/resolvers/IPResolver.t.sol | 2 +- test/foundry/resolvers/ResolverBase.t.sol | 2 +- test/foundry/utils/BaseTest.t.sol | 2 +- test/foundry/utils/DeployHelper.t.sol | 2 +- test/foundry/utils/LicensingHelper.t.sol | 2 +- test/foundry/utils/Users.t.sol | 2 +- 123 files changed, 123 insertions(+), 123 deletions(-) diff --git a/contracts/AccessController.sol b/contracts/AccessController.sol index 54d106e1..a1d09c2b 100644 --- a/contracts/AccessController.sol +++ b/contracts/AccessController.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IModuleRegistry } from "./interfaces/registries/IModuleRegistry.sol"; import { IAccessController } from "./interfaces/IAccessController.sol"; diff --git a/contracts/IPAccountImpl.sol b/contracts/IPAccountImpl.sol index ae5b14a7..09f1fcdf 100644 --- a/contracts/IPAccountImpl.sol +++ b/contracts/IPAccountImpl.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSL-1.1 -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IERC165 } from "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import { IERC721 } from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; diff --git a/contracts/access/AccessControlled.sol b/contracts/access/AccessControlled.sol index 95df627e..dfe4fa95 100644 --- a/contracts/access/AccessControlled.sol +++ b/contracts/access/AccessControlled.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IAccessController } from "../interfaces/IAccessController.sol"; import { IPAccountChecker } from "../lib/registries/IPAccountChecker.sol"; diff --git a/contracts/governance/Governable.sol b/contracts/governance/Governable.sol index e29a4946..84e6d042 100644 --- a/contracts/governance/Governable.sol +++ b/contracts/governance/Governable.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; diff --git a/contracts/governance/Governance.sol b/contracts/governance/Governance.sol index 7ce13a70..6b99671e 100644 --- a/contracts/governance/Governance.sol +++ b/contracts/governance/Governance.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { AccessControl } from "@openzeppelin/contracts/access/AccessControl.sol"; diff --git a/contracts/interfaces/IAccessController.sol b/contracts/interfaces/IAccessController.sol index 3c612c5e..f3ecc1d2 100644 --- a/contracts/interfaces/IAccessController.sol +++ b/contracts/interfaces/IAccessController.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { AccessPermission } from "../lib/AccessPermission.sol"; diff --git a/contracts/interfaces/IIPAccount.sol b/contracts/interfaces/IIPAccount.sol index 27a609e3..87260b7d 100644 --- a/contracts/interfaces/IIPAccount.sol +++ b/contracts/interfaces/IIPAccount.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IERC721Receiver } from "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import { IERC1155Receiver } from "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; diff --git a/contracts/interfaces/governance/IGovernable.sol b/contracts/interfaces/governance/IGovernable.sol index c0e95382..bbb1d94c 100644 --- a/contracts/interfaces/governance/IGovernable.sol +++ b/contracts/interfaces/governance/IGovernable.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title IGovernable /// @notice This is the interface for the Lens Protocol main governance functions. diff --git a/contracts/interfaces/governance/IGovernance.sol b/contracts/interfaces/governance/IGovernance.sol index 5f0c01c4..3c393e4d 100644 --- a/contracts/interfaces/governance/IGovernance.sol +++ b/contracts/interfaces/governance/IGovernance.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IAccessControl } from "@openzeppelin/contracts/access/IAccessControl.sol"; diff --git a/contracts/interfaces/modules/IRegistrationModule.sol b/contracts/interfaces/modules/IRegistrationModule.sol index 487c8e5e..9c1621f2 100644 --- a/contracts/interfaces/modules/IRegistrationModule.sol +++ b/contracts/interfaces/modules/IRegistrationModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IPResolver } from "../../resolvers/IPResolver.sol"; diff --git a/contracts/interfaces/modules/base/IHookModule.sol b/contracts/interfaces/modules/base/IHookModule.sol index e8145f34..4e62edf3 100644 --- a/contracts/interfaces/modules/base/IHookModule.sol +++ b/contracts/interfaces/modules/base/IHookModule.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IModule } from "./IModule.sol"; diff --git a/contracts/interfaces/modules/base/IModule.sol b/contracts/interfaces/modules/base/IModule.sol index 5e39b197..29896f58 100644 --- a/contracts/interfaces/modules/base/IModule.sol +++ b/contracts/interfaces/modules/base/IModule.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IERC165 } from "@openzeppelin/contracts/utils/introspection/IERC165.sol"; diff --git a/contracts/interfaces/modules/dispute/IDisputeModule.sol b/contracts/interfaces/modules/dispute/IDisputeModule.sol index d502623e..675314ce 100644 --- a/contracts/interfaces/modules/dispute/IDisputeModule.sol +++ b/contracts/interfaces/modules/dispute/IDisputeModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title Dispute Module Interface interface IDisputeModule { diff --git a/contracts/interfaces/modules/dispute/policies/IArbitrationPolicy.sol b/contracts/interfaces/modules/dispute/policies/IArbitrationPolicy.sol index d43ae4ae..0788cfcb 100644 --- a/contracts/interfaces/modules/dispute/policies/IArbitrationPolicy.sol +++ b/contracts/interfaces/modules/dispute/policies/IArbitrationPolicy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title Arbitration Policy Interface interface IArbitrationPolicy { diff --git a/contracts/interfaces/modules/external/ITokenWithdrawalModule.sol b/contracts/interfaces/modules/external/ITokenWithdrawalModule.sol index 052f9f65..04bf0213 100644 --- a/contracts/interfaces/modules/external/ITokenWithdrawalModule.sol +++ b/contracts/interfaces/modules/external/ITokenWithdrawalModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IModule } from "../base/IModule.sol"; diff --git a/contracts/interfaces/modules/licensing/ILicensingModule.sol b/contracts/interfaces/modules/licensing/ILicensingModule.sol index f3c8b7e0..f854c7b7 100644 --- a/contracts/interfaces/modules/licensing/ILicensingModule.sol +++ b/contracts/interfaces/modules/licensing/ILicensingModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { Licensing } from "../../../lib/Licensing.sol"; import { IModule } from "../base/IModule.sol"; diff --git a/contracts/interfaces/modules/licensing/IPILPolicyFrameworkManager.sol b/contracts/interfaces/modules/licensing/IPILPolicyFrameworkManager.sol index ecdc3110..37748d8a 100644 --- a/contracts/interfaces/modules/licensing/IPILPolicyFrameworkManager.sol +++ b/contracts/interfaces/modules/licensing/IPILPolicyFrameworkManager.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IPolicyFrameworkManager } from "../../../interfaces/modules/licensing/IPolicyFrameworkManager.sol"; diff --git a/contracts/interfaces/modules/licensing/IPolicyFrameworkManager.sol b/contracts/interfaces/modules/licensing/IPolicyFrameworkManager.sol index 67bd9fb9..817832e2 100644 --- a/contracts/interfaces/modules/licensing/IPolicyFrameworkManager.sol +++ b/contracts/interfaces/modules/licensing/IPolicyFrameworkManager.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IERC165 } from "@openzeppelin/contracts/interfaces/IERC165.sol"; diff --git a/contracts/interfaces/modules/royalty/IRoyaltyModule.sol b/contracts/interfaces/modules/royalty/IRoyaltyModule.sol index 169bee25..95568729 100644 --- a/contracts/interfaces/modules/royalty/IRoyaltyModule.sol +++ b/contracts/interfaces/modules/royalty/IRoyaltyModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IModule } from "../../modules/base/IModule.sol"; diff --git a/contracts/interfaces/modules/royalty/policies/IAncestorsVaultLAP.sol b/contracts/interfaces/modules/royalty/policies/IAncestorsVaultLAP.sol index 2d3880ad..cb219f68 100644 --- a/contracts/interfaces/modules/royalty/policies/IAncestorsVaultLAP.sol +++ b/contracts/interfaces/modules/royalty/policies/IAncestorsVaultLAP.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; diff --git a/contracts/interfaces/modules/royalty/policies/ILiquidSplitClone.sol b/contracts/interfaces/modules/royalty/policies/ILiquidSplitClone.sol index 6e63b95f..7302999c 100644 --- a/contracts/interfaces/modules/royalty/policies/ILiquidSplitClone.sol +++ b/contracts/interfaces/modules/royalty/policies/ILiquidSplitClone.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title LiquidSplitClone interface interface ILiquidSplitClone { diff --git a/contracts/interfaces/modules/royalty/policies/ILiquidSplitFactory.sol b/contracts/interfaces/modules/royalty/policies/ILiquidSplitFactory.sol index fbff5a59..8eb44a37 100644 --- a/contracts/interfaces/modules/royalty/policies/ILiquidSplitFactory.sol +++ b/contracts/interfaces/modules/royalty/policies/ILiquidSplitFactory.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title LiquidSplitFactory interface interface ILiquidSplitFactory { diff --git a/contracts/interfaces/modules/royalty/policies/ILiquidSplitMain.sol b/contracts/interfaces/modules/royalty/policies/ILiquidSplitMain.sol index f28bb941..03c74c3c 100644 --- a/contracts/interfaces/modules/royalty/policies/ILiquidSplitMain.sol +++ b/contracts/interfaces/modules/royalty/policies/ILiquidSplitMain.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; diff --git a/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicy.sol b/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicy.sol index fc53d79f..81a59605 100644 --- a/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicy.sol +++ b/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title RoyaltyPolicy interface interface IRoyaltyPolicy { diff --git a/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicyLAP.sol b/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicyLAP.sol index 72e63789..5fd97632 100644 --- a/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicyLAP.sol +++ b/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicyLAP.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; diff --git a/contracts/interfaces/registries/IIPAccountRegistry.sol b/contracts/interfaces/registries/IIPAccountRegistry.sol index a3499230..ccb02aef 100644 --- a/contracts/interfaces/registries/IIPAccountRegistry.sol +++ b/contracts/interfaces/registries/IIPAccountRegistry.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title Interface for IP Account Registry /// @notice This interface manages the registration and tracking of IP Accounts diff --git a/contracts/interfaces/registries/IIPAssetRegistry.sol b/contracts/interfaces/registries/IIPAssetRegistry.sol index 81683580..775a84db 100644 --- a/contracts/interfaces/registries/IIPAssetRegistry.sol +++ b/contracts/interfaces/registries/IIPAssetRegistry.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IIPAccountRegistry } from "./IIPAccountRegistry.sol"; import { IModuleRegistry } from "./IModuleRegistry.sol"; diff --git a/contracts/interfaces/registries/ILicenseRegistry.sol b/contracts/interfaces/registries/ILicenseRegistry.sol index 2d3b344d..79488af8 100644 --- a/contracts/interfaces/registries/ILicenseRegistry.sol +++ b/contracts/interfaces/registries/ILicenseRegistry.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IERC1155 } from "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; diff --git a/contracts/interfaces/registries/IModuleRegistry.sol b/contracts/interfaces/registries/IModuleRegistry.sol index 258586a6..858f605a 100644 --- a/contracts/interfaces/registries/IModuleRegistry.sol +++ b/contracts/interfaces/registries/IModuleRegistry.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title IModuleRegistry /// @dev This interface defines the methods for a module registry in the Story Protocol. diff --git a/contracts/interfaces/registries/metadata/IMetadataProvider.sol b/contracts/interfaces/registries/metadata/IMetadataProvider.sol index 991cfe29..245f3861 100644 --- a/contracts/interfaces/registries/metadata/IMetadataProvider.sol +++ b/contracts/interfaces/registries/metadata/IMetadataProvider.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title Metadata Provider Interface interface IMetadataProvider { diff --git a/contracts/interfaces/registries/metadata/IMetadataProviderMigratable.sol b/contracts/interfaces/registries/metadata/IMetadataProviderMigratable.sol index eb489977..c6aca785 100644 --- a/contracts/interfaces/registries/metadata/IMetadataProviderMigratable.sol +++ b/contracts/interfaces/registries/metadata/IMetadataProviderMigratable.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IMetadataProvider } from "./IMetadataProvider.sol"; import { IIPAssetRegistry } from "../IIPAssetRegistry.sol"; diff --git a/contracts/interfaces/registries/metadata/IMetadataProviderV1.sol b/contracts/interfaces/registries/metadata/IMetadataProviderV1.sol index 67f1aaa9..73e1d676 100644 --- a/contracts/interfaces/registries/metadata/IMetadataProviderV1.sol +++ b/contracts/interfaces/registries/metadata/IMetadataProviderV1.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IP } from "../../../lib/IP.sol"; import { IMetadataProvider } from "./IMetadataProvider.sol"; diff --git a/contracts/interfaces/resolvers/IKeyValueResolver.sol b/contracts/interfaces/resolvers/IKeyValueResolver.sol index 311c6a2c..e6c960a4 100644 --- a/contracts/interfaces/resolvers/IKeyValueResolver.sol +++ b/contracts/interfaces/resolvers/IKeyValueResolver.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title Key Value Resolver Interface interface IKeyValueResolver { diff --git a/contracts/interfaces/resolvers/IResolver.sol b/contracts/interfaces/resolvers/IResolver.sol index 9f796f0d..85e792a5 100644 --- a/contracts/interfaces/resolvers/IResolver.sol +++ b/contracts/interfaces/resolvers/IResolver.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @notice Resolver Interface interface IResolver { diff --git a/contracts/lib/AccessPermission.sol b/contracts/lib/AccessPermission.sol index caf72832..a540c08d 100644 --- a/contracts/lib/AccessPermission.sol +++ b/contracts/lib/AccessPermission.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title Access Permission Library /// @notice Library for IPAccount access control permissions. diff --git a/contracts/lib/ArrayUtils.sol b/contracts/lib/ArrayUtils.sol index 0469a7fb..f210445a 100644 --- a/contracts/lib/ArrayUtils.sol +++ b/contracts/lib/ArrayUtils.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title Address Array Utils /// @notice Library for address array operations diff --git a/contracts/lib/DataUniqueness.sol b/contracts/lib/DataUniqueness.sol index 758dd8d3..c5e123ea 100644 --- a/contracts/lib/DataUniqueness.sol +++ b/contracts/lib/DataUniqueness.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title DataUniqueness /// @notice Library to store data without repetition, assigning an id to it if new or reusing existing one diff --git a/contracts/lib/Errors.sol b/contracts/lib/Errors.sol index e07abbaa..c5d7e1ff 100644 --- a/contracts/lib/Errors.sol +++ b/contracts/lib/Errors.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title Errors Library /// @notice Library for all Story Protocol contract errors. diff --git a/contracts/lib/GovernanceLib.sol b/contracts/lib/GovernanceLib.sol index f51c987b..a38ed6cf 100644 --- a/contracts/lib/GovernanceLib.sol +++ b/contracts/lib/GovernanceLib.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title Governance /// @dev This library provides types for Story Protocol Governance. diff --git a/contracts/lib/IP.sol b/contracts/lib/IP.sol index ed96350e..07236beb 100644 --- a/contracts/lib/IP.sol +++ b/contracts/lib/IP.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title IP Library /// @notice Library for constants, structs, and helper functions used for IP. diff --git a/contracts/lib/Licensing.sol b/contracts/lib/Licensing.sol index 7af31c9c..15a3a1db 100644 --- a/contracts/lib/Licensing.sol +++ b/contracts/lib/Licensing.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title Licensing /// @notice Types and constants used by the licensing related contracts diff --git a/contracts/lib/MetaTx.sol b/contracts/lib/MetaTx.sol index 92a4a724..8339c9cd 100644 --- a/contracts/lib/MetaTx.sol +++ b/contracts/lib/MetaTx.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title MetaTx /// @dev This library provides functions for handling meta transactions in the Story Protocol. diff --git a/contracts/lib/PILFlavors.sol b/contracts/lib/PILFlavors.sol index 678c5d44..93b8b34c 100644 --- a/contracts/lib/PILFlavors.sol +++ b/contracts/lib/PILFlavors.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { RegisterPILPolicyParams, PILPolicy } from "../interfaces/modules/licensing/IPILPolicyFrameworkManager.sol"; import { ILicensingModule } from "../interfaces/modules/licensing/ILicensingModule.sol"; diff --git a/contracts/lib/PILFrameworkErrors.sol b/contracts/lib/PILFrameworkErrors.sol index ac67fe64..74dce277 100644 --- a/contracts/lib/PILFrameworkErrors.sol +++ b/contracts/lib/PILFrameworkErrors.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; /// @title PILFrameworkErrors Errors Library /// @notice Library for all PILFramework related contract errors. diff --git a/contracts/lib/modules/Module.sol b/contracts/lib/modules/Module.sol index 9f6030c9..95931505 100644 --- a/contracts/lib/modules/Module.sol +++ b/contracts/lib/modules/Module.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // Default Module Type, all modules in this type by default string constant MODULE_TYPE_DEFAULT = "MODULE"; diff --git a/contracts/lib/registries/IPAccountChecker.sol b/contracts/lib/registries/IPAccountChecker.sol index 09fb450b..f4759c9e 100644 --- a/contracts/lib/registries/IPAccountChecker.sol +++ b/contracts/lib/registries/IPAccountChecker.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; import { IERC6551Account } from "erc6551/interfaces/IERC6551Account.sol"; diff --git a/contracts/modules/BaseModule.sol b/contracts/modules/BaseModule.sol index 1780ff5a..9e1edb95 100644 --- a/contracts/modules/BaseModule.sol +++ b/contracts/modules/BaseModule.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IERC165, ERC165 } from "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import { IModule } from "../interfaces/modules/base/IModule.sol"; diff --git a/contracts/modules/RegistrationModule.sol b/contracts/modules/RegistrationModule.sol index e230a22f..87dd383d 100644 --- a/contracts/modules/RegistrationModule.sol +++ b/contracts/modules/RegistrationModule.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IERC721 } from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; diff --git a/contracts/modules/dispute/DisputeModule.sol b/contracts/modules/dispute/DisputeModule.sol index 50538dc6..76ae302b 100644 --- a/contracts/modules/dispute/DisputeModule.sol +++ b/contracts/modules/dispute/DisputeModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ReentrancyGuard } from "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import { EnumerableSet } from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; diff --git a/contracts/modules/dispute/policies/ArbitrationPolicySP.sol b/contracts/modules/dispute/policies/ArbitrationPolicySP.sol index 4b65bce6..23545d12 100644 --- a/contracts/modules/dispute/policies/ArbitrationPolicySP.sol +++ b/contracts/modules/dispute/policies/ArbitrationPolicySP.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/contracts/modules/external/TokenWithdrawalModule.sol b/contracts/modules/external/TokenWithdrawalModule.sol index b399a765..0272cc99 100644 --- a/contracts/modules/external/TokenWithdrawalModule.sol +++ b/contracts/modules/external/TokenWithdrawalModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; diff --git a/contracts/modules/licensing/BasePolicyFrameworkManager.sol b/contracts/modules/licensing/BasePolicyFrameworkManager.sol index e290bae1..c7b88832 100644 --- a/contracts/modules/licensing/BasePolicyFrameworkManager.sol +++ b/contracts/modules/licensing/BasePolicyFrameworkManager.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // external import { ERC165 } from "@openzeppelin/contracts/utils/introspection/ERC165.sol"; diff --git a/contracts/modules/licensing/LicensingModule.sol b/contracts/modules/licensing/LicensingModule.sol index f699c407..6bac9765 100644 --- a/contracts/modules/licensing/LicensingModule.sol +++ b/contracts/modules/licensing/LicensingModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // external import { EnumerableSet } from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; diff --git a/contracts/modules/licensing/LicensingModuleAware.sol b/contracts/modules/licensing/LicensingModuleAware.sol index 500e1b58..1b657ff8 100644 --- a/contracts/modules/licensing/LicensingModuleAware.sol +++ b/contracts/modules/licensing/LicensingModuleAware.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // contracts import { ILicensingModule } from "../../interfaces/modules/licensing/ILicensingModule.sol"; diff --git a/contracts/modules/licensing/PILPolicyFrameworkManager.sol b/contracts/modules/licensing/PILPolicyFrameworkManager.sol index 744d960f..68cdae9c 100644 --- a/contracts/modules/licensing/PILPolicyFrameworkManager.sol +++ b/contracts/modules/licensing/PILPolicyFrameworkManager.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // external import { Strings } from "@openzeppelin/contracts/utils/Strings.sol"; diff --git a/contracts/modules/licensing/parameter-helpers/LicensorApprovalChecker.sol b/contracts/modules/licensing/parameter-helpers/LicensorApprovalChecker.sol index 66a995c4..ca89e4ae 100644 --- a/contracts/modules/licensing/parameter-helpers/LicensorApprovalChecker.sol +++ b/contracts/modules/licensing/parameter-helpers/LicensorApprovalChecker.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { AccessControlled } from "../../../access/AccessControlled.sol"; import { ILicenseRegistry } from "../../../interfaces/registries/ILicenseRegistry.sol"; diff --git a/contracts/modules/royalty/RoyaltyModule.sol b/contracts/modules/royalty/RoyaltyModule.sol index 592901e8..a715d061 100644 --- a/contracts/modules/royalty/RoyaltyModule.sol +++ b/contracts/modules/royalty/RoyaltyModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ReentrancyGuard } from "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; diff --git a/contracts/modules/royalty/policies/AncestorsVaultLAP.sol b/contracts/modules/royalty/policies/AncestorsVaultLAP.sol index cd118e4a..6c38204c 100644 --- a/contracts/modules/royalty/policies/AncestorsVaultLAP.sol +++ b/contracts/modules/royalty/policies/AncestorsVaultLAP.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ReentrancyGuard } from "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import { ERC1155Holder } from "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol"; diff --git a/contracts/modules/royalty/policies/RoyaltyPolicyLAP.sol b/contracts/modules/royalty/policies/RoyaltyPolicyLAP.sol index 8ba90865..0c593e92 100644 --- a/contracts/modules/royalty/policies/RoyaltyPolicyLAP.sol +++ b/contracts/modules/royalty/policies/RoyaltyPolicyLAP.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { Clones } from "@openzeppelin/contracts/proxy/Clones.sol"; import { ERC1155Holder } from "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol"; diff --git a/contracts/registries/IPAccountRegistry.sol b/contracts/registries/IPAccountRegistry.sol index 43e7a92f..3d61a8fd 100644 --- a/contracts/registries/IPAccountRegistry.sol +++ b/contracts/registries/IPAccountRegistry.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IERC6551Registry } from "erc6551/interfaces/IERC6551Registry.sol"; diff --git a/contracts/registries/IPAssetRegistry.sol b/contracts/registries/IPAssetRegistry.sol index 3c786290..f5cf64c5 100644 --- a/contracts/registries/IPAssetRegistry.sol +++ b/contracts/registries/IPAssetRegistry.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IERC721 } from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; diff --git a/contracts/registries/LicenseRegistry.sol b/contracts/registries/LicenseRegistry.sol index 65711d49..78f50df4 100644 --- a/contracts/registries/LicenseRegistry.sol +++ b/contracts/registries/LicenseRegistry.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ERC1155 } from "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import { Base64 } from "@openzeppelin/contracts/utils/Base64.sol"; diff --git a/contracts/registries/ModuleRegistry.sol b/contracts/registries/ModuleRegistry.sol index fd34fdb8..5eb299e2 100644 --- a/contracts/registries/ModuleRegistry.sol +++ b/contracts/registries/ModuleRegistry.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; import { Strings } from "@openzeppelin/contracts/utils/Strings.sol"; diff --git a/contracts/registries/metadata/IPAssetRenderer.sol b/contracts/registries/metadata/IPAssetRenderer.sol index 3127639b..34b8b774 100644 --- a/contracts/registries/metadata/IPAssetRenderer.sol +++ b/contracts/registries/metadata/IPAssetRenderer.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { Strings } from "@openzeppelin/contracts/utils/Strings.sol"; import { Base64 } from "@openzeppelin/contracts/utils/Base64.sol"; diff --git a/contracts/registries/metadata/IPMetadataProvider.sol b/contracts/registries/metadata/IPMetadataProvider.sol index c8aacf22..a17baee4 100644 --- a/contracts/registries/metadata/IPMetadataProvider.sol +++ b/contracts/registries/metadata/IPMetadataProvider.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IMetadataProvider } from "../../interfaces/registries/metadata/IMetadataProvider.sol"; import { IModuleRegistry } from "../../interfaces/registries/IModuleRegistry.sol"; diff --git a/contracts/registries/metadata/MetadataProviderBase.sol b/contracts/registries/metadata/MetadataProviderBase.sol index d2826384..cc0866d2 100644 --- a/contracts/registries/metadata/MetadataProviderBase.sol +++ b/contracts/registries/metadata/MetadataProviderBase.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IIPAccount } from "../../interfaces/IIPAccount.sol"; import { IMetadataProvider } from "../../interfaces/registries/metadata/IMetadataProvider.sol"; diff --git a/contracts/registries/metadata/MetadataProviderV1.sol b/contracts/registries/metadata/MetadataProviderV1.sol index 38e3e4da..b489f551 100644 --- a/contracts/registries/metadata/MetadataProviderV1.sol +++ b/contracts/registries/metadata/MetadataProviderV1.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IP } from "../../lib/IP.sol"; import { MetadataProviderBase } from "./MetadataProviderBase.sol"; diff --git a/contracts/resolvers/IPResolver.sol b/contracts/resolvers/IPResolver.sol index 63f82cc0..b2017886 100644 --- a/contracts/resolvers/IPResolver.sol +++ b/contracts/resolvers/IPResolver.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ResolverBase } from "./ResolverBase.sol"; import { KeyValueResolver } from "../resolvers/KeyValueResolver.sol"; diff --git a/contracts/resolvers/KeyValueResolver.sol b/contracts/resolvers/KeyValueResolver.sol index a60433db..ac7dec2c 100644 --- a/contracts/resolvers/KeyValueResolver.sol +++ b/contracts/resolvers/KeyValueResolver.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IKeyValueResolver } from "../interfaces/resolvers/IKeyValueResolver.sol"; import { ResolverBase } from "../resolvers/ResolverBase.sol"; diff --git a/contracts/resolvers/ResolverBase.sol b/contracts/resolvers/ResolverBase.sol index a6c3fe75..8e8556ed 100644 --- a/contracts/resolvers/ResolverBase.sol +++ b/contracts/resolvers/ResolverBase.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { BaseModule } from "../modules/BaseModule.sol"; import { IResolver } from "../interfaces/resolvers/IResolver.sol"; diff --git a/contracts/utils/ShortStringOps.sol b/contracts/utils/ShortStringOps.sol index cddc0adb..bdbb92f4 100644 --- a/contracts/utils/ShortStringOps.sol +++ b/contracts/utils/ShortStringOps.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ShortString, ShortStrings } from "@openzeppelin/contracts/utils/ShortStrings.sol"; diff --git a/test/foundry/AccessController.t.sol b/test/foundry/AccessController.t.sol index 7ba3104c..b43d2e3a 100644 --- a/test/foundry/AccessController.t.sol +++ b/test/foundry/AccessController.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IIPAccount } from "../../contracts/interfaces/IIPAccount.sol"; import { AccessPermission } from "../../contracts/lib/AccessPermission.sol"; diff --git a/test/foundry/IPAccount.t.sol b/test/foundry/IPAccount.t.sol index d33f38fd..7c0d4961 100644 --- a/test/foundry/IPAccount.t.sol +++ b/test/foundry/IPAccount.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IERC6551Account } from "erc6551/interfaces/IERC6551Account.sol"; diff --git a/test/foundry/IPAccountMetaTx.t.sol b/test/foundry/IPAccountMetaTx.t.sol index e47d40fe..76d004f5 100644 --- a/test/foundry/IPAccountMetaTx.t.sol +++ b/test/foundry/IPAccountMetaTx.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { MessageHashUtils } from "@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol"; diff --git a/test/foundry/access/AccessControlled.t.sol b/test/foundry/access/AccessControlled.t.sol index f6a540aa..bfea1a82 100644 --- a/test/foundry/access/AccessControlled.t.sol +++ b/test/foundry/access/AccessControlled.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IIPAccount } from "contracts/interfaces/IIPAccount.sol"; import { AccessPermission } from "contracts/lib/AccessPermission.sol"; diff --git a/test/foundry/governance/Governance.t.sol b/test/foundry/governance/Governance.t.sol index bee60761..ef1a1312 100644 --- a/test/foundry/governance/Governance.t.sol +++ b/test/foundry/governance/Governance.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IIPAccount } from "../../../contracts/interfaces/IIPAccount.sol"; import { AccessPermission } from "../../../contracts/lib/AccessPermission.sol"; diff --git a/test/foundry/integration/BaseIntegration.t.sol b/test/foundry/integration/BaseIntegration.t.sol index 1bccd343..5bb801c7 100644 --- a/test/foundry/integration/BaseIntegration.t.sol +++ b/test/foundry/integration/BaseIntegration.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // external import { IERC6551Registry } from "erc6551/interfaces/IERC6551Registry.sol"; diff --git a/test/foundry/integration/big-bang/SingleNftCollection.t.sol b/test/foundry/integration/big-bang/SingleNftCollection.t.sol index cf503d0e..7adf8723 100644 --- a/test/foundry/integration/big-bang/SingleNftCollection.t.sol +++ b/test/foundry/integration/big-bang/SingleNftCollection.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // external import { EnumerableSet } from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; diff --git a/test/foundry/integration/flows/disputes/Disputes.t.sol b/test/foundry/integration/flows/disputes/Disputes.t.sol index a9bbdd98..1ba025d5 100644 --- a/test/foundry/integration/flows/disputes/Disputes.t.sol +++ b/test/foundry/integration/flows/disputes/Disputes.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // external import { EnumerableSet } from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; diff --git a/test/foundry/integration/flows/emergence-universe/EmergenceUniverse.t.sol b/test/foundry/integration/flows/emergence-universe/EmergenceUniverse.t.sol index 8af0059c..2a727628 100644 --- a/test/foundry/integration/flows/emergence-universe/EmergenceUniverse.t.sol +++ b/test/foundry/integration/flows/emergence-universe/EmergenceUniverse.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { Test } from "forge-std/Test.sol"; diff --git a/test/foundry/integration/flows/licensing/LicensingScenarios.t.sol b/test/foundry/integration/flows/licensing/LicensingScenarios.t.sol index dcd15ed9..a99c49f2 100644 --- a/test/foundry/integration/flows/licensing/LicensingScenarios.t.sol +++ b/test/foundry/integration/flows/licensing/LicensingScenarios.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // external import { EnumerableSet } from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; diff --git a/test/foundry/integration/flows/royalty/Royalty.t.sol b/test/foundry/integration/flows/royalty/Royalty.t.sol index 4a963474..4b84399b 100644 --- a/test/foundry/integration/flows/royalty/Royalty.t.sol +++ b/test/foundry/integration/flows/royalty/Royalty.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // external import { EnumerableSet } from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; diff --git a/test/foundry/mocks/CustomModuleType.sol b/test/foundry/mocks/CustomModuleType.sol index af790868..fb50e246 100644 --- a/test/foundry/mocks/CustomModuleType.sol +++ b/test/foundry/mocks/CustomModuleType.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IModule } from "contracts/interfaces/modules/base/IModule.sol"; import { IERC165 } from "@openzeppelin/contracts/utils/introspection/ERC165.sol"; diff --git a/test/foundry/mocks/MockAccessControlledModule.sol b/test/foundry/mocks/MockAccessControlledModule.sol index 6852be5b..eeaf73b2 100644 --- a/test/foundry/mocks/MockAccessControlledModule.sol +++ b/test/foundry/mocks/MockAccessControlledModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IModule } from "contracts/interfaces/modules/base/IModule.sol"; import { IIPAccountRegistry } from "contracts/interfaces/registries/IIPAccountRegistry.sol"; diff --git a/test/foundry/mocks/MockIncompatibleMetadataProviderV2.sol b/test/foundry/mocks/MockIncompatibleMetadataProviderV2.sol index 5cfbe390..889dbc97 100644 --- a/test/foundry/mocks/MockIncompatibleMetadataProviderV2.sol +++ b/test/foundry/mocks/MockIncompatibleMetadataProviderV2.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { MetadataProviderV1 } from "contracts/registries/metadata/MetadataProviderV1.sol"; diff --git a/test/foundry/mocks/MockMetadataProviderV2.sol b/test/foundry/mocks/MockMetadataProviderV2.sol index b768d39d..af2ee63b 100644 --- a/test/foundry/mocks/MockMetadataProviderV2.sol +++ b/test/foundry/mocks/MockMetadataProviderV2.sol @@ -1,6 +1,6 @@ // SPDX-License-Identifier: UNLICENSED // See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { MetadataProviderV1 } from "contracts/registries/metadata/MetadataProviderV1.sol"; import { Errors } from "contracts/lib/Errors.sol"; diff --git a/test/foundry/mocks/MockTokenGatedHook.sol b/test/foundry/mocks/MockTokenGatedHook.sol index af1d8428..5426f611 100644 --- a/test/foundry/mocks/MockTokenGatedHook.sol +++ b/test/foundry/mocks/MockTokenGatedHook.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IERC165 } from "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; diff --git a/test/foundry/mocks/access/MockAccessController.sol b/test/foundry/mocks/access/MockAccessController.sol index 7a4280f8..6ac497f7 100644 --- a/test/foundry/mocks/access/MockAccessController.sol +++ b/test/foundry/mocks/access/MockAccessController.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IAccessController } from "contracts/interfaces/IAccessController.sol"; import { IIPAccount } from "contracts/interfaces/IIPAccount.sol"; diff --git a/test/foundry/mocks/governance/MockGovernance.sol b/test/foundry/mocks/governance/MockGovernance.sol index 24a684c8..20916c1e 100644 --- a/test/foundry/mocks/governance/MockGovernance.sol +++ b/test/foundry/mocks/governance/MockGovernance.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { AccessControl } from "@openzeppelin/contracts/access/AccessControl.sol"; diff --git a/test/foundry/mocks/licensing/MockPolicyFrameworkManager.sol b/test/foundry/mocks/licensing/MockPolicyFrameworkManager.sol index 10b73bb6..c1be1a5f 100644 --- a/test/foundry/mocks/licensing/MockPolicyFrameworkManager.sol +++ b/test/foundry/mocks/licensing/MockPolicyFrameworkManager.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // contracts import { BasePolicyFrameworkManager } from "contracts/modules/licensing/BasePolicyFrameworkManager.sol"; diff --git a/test/foundry/mocks/module/MockDisputeModule.sol b/test/foundry/mocks/module/MockDisputeModule.sol index 55fc1043..74823625 100644 --- a/test/foundry/mocks/module/MockDisputeModule.sol +++ b/test/foundry/mocks/module/MockDisputeModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IDisputeModule } from "../../../../contracts/interfaces/modules/dispute/IDisputeModule.sol"; import { IArbitrationPolicy } from "../../../../contracts/interfaces/modules/dispute/policies/IArbitrationPolicy.sol"; diff --git a/test/foundry/mocks/module/MockLicensingModule.sol b/test/foundry/mocks/module/MockLicensingModule.sol index c0c77b6b..9b461657 100644 --- a/test/foundry/mocks/module/MockLicensingModule.sol +++ b/test/foundry/mocks/module/MockLicensingModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IERC165 } from "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import { EnumerableSet } from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; diff --git a/test/foundry/mocks/module/MockMetaTxModule.sol b/test/foundry/mocks/module/MockMetaTxModule.sol index 12e883e4..aeecfe39 100644 --- a/test/foundry/mocks/module/MockMetaTxModule.sol +++ b/test/foundry/mocks/module/MockMetaTxModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; diff --git a/test/foundry/mocks/module/MockModule.sol b/test/foundry/mocks/module/MockModule.sol index caa23562..03807d93 100644 --- a/test/foundry/mocks/module/MockModule.sol +++ b/test/foundry/mocks/module/MockModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; diff --git a/test/foundry/mocks/module/MockOrchestratorModule.sol b/test/foundry/mocks/module/MockOrchestratorModule.sol index a362ca87..c69af9b2 100644 --- a/test/foundry/mocks/module/MockOrchestratorModule.sol +++ b/test/foundry/mocks/module/MockOrchestratorModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; diff --git a/test/foundry/mocks/module/MockRoyaltyModule.sol b/test/foundry/mocks/module/MockRoyaltyModule.sol index 293f67a5..2afbb213 100644 --- a/test/foundry/mocks/module/MockRoyaltyModule.sol +++ b/test/foundry/mocks/module/MockRoyaltyModule.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IERC165 } from "@openzeppelin/contracts/utils/introspection/IERC165.sol"; diff --git a/test/foundry/mocks/policy/MockArbitrationPolicy.sol b/test/foundry/mocks/policy/MockArbitrationPolicy.sol index 41628eab..75731eef 100644 --- a/test/foundry/mocks/policy/MockArbitrationPolicy.sol +++ b/test/foundry/mocks/policy/MockArbitrationPolicy.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/test/foundry/mocks/registry/MockLicenseRegistry.sol b/test/foundry/mocks/registry/MockLicenseRegistry.sol index 15834d76..9e76c19f 100644 --- a/test/foundry/mocks/registry/MockLicenseRegistry.sol +++ b/test/foundry/mocks/registry/MockLicenseRegistry.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ERC1155 } from "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; diff --git a/test/foundry/mocks/registry/MockModuleRegistry.sol b/test/foundry/mocks/registry/MockModuleRegistry.sol index 0e31a8fb..9ce3929e 100644 --- a/test/foundry/mocks/registry/MockModuleRegistry.sol +++ b/test/foundry/mocks/registry/MockModuleRegistry.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSDL-1.1 -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IModuleRegistry } from "../../../../contracts/interfaces/registries/IModuleRegistry.sol"; import { MODULE_TYPE_DEFAULT } from "../../../../contracts/lib/modules/Module.sol"; diff --git a/test/foundry/mocks/token/MockERC1155.sol b/test/foundry/mocks/token/MockERC1155.sol index 80ec405a..1ee23d83 100644 --- a/test/foundry/mocks/token/MockERC1155.sol +++ b/test/foundry/mocks/token/MockERC1155.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSDL-1.1 -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ERC1155 } from "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; diff --git a/test/foundry/mocks/token/MockERC721.sol b/test/foundry/mocks/token/MockERC721.sol index 30065fe0..f3492cf8 100644 --- a/test/foundry/mocks/token/MockERC721.sol +++ b/test/foundry/mocks/token/MockERC721.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: BUSDL-1.1 -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ERC721 } from "@openzeppelin/contracts/token/ERC721/ERC721.sol"; diff --git a/test/foundry/modules/ModuleBase.t.sol b/test/foundry/modules/ModuleBase.t.sol index ec86f9d8..0643df4b 100644 --- a/test/foundry/modules/ModuleBase.t.sol +++ b/test/foundry/modules/ModuleBase.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IModule } from "contracts/interfaces/modules/base/IModule.sol"; diff --git a/test/foundry/modules/dispute/ArbitrationPolicySP.t.sol b/test/foundry/modules/dispute/ArbitrationPolicySP.t.sol index 46628229..8a259e2e 100644 --- a/test/foundry/modules/dispute/ArbitrationPolicySP.t.sol +++ b/test/foundry/modules/dispute/ArbitrationPolicySP.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // external import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/test/foundry/modules/dispute/DisputeModule.t.sol b/test/foundry/modules/dispute/DisputeModule.t.sol index a5b1f5cc..b145368e 100644 --- a/test/foundry/modules/dispute/DisputeModule.t.sol +++ b/test/foundry/modules/dispute/DisputeModule.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // external import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/test/foundry/modules/external/TokenWithdrawalModule.t.sol b/test/foundry/modules/external/TokenWithdrawalModule.t.sol index 9f383088..5201e951 100644 --- a/test/foundry/modules/external/TokenWithdrawalModule.t.sol +++ b/test/foundry/modules/external/TokenWithdrawalModule.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // external import { Strings } from "@openzeppelin/contracts/utils/Strings.sol"; diff --git a/test/foundry/modules/licensing/LicensingModule.t.sol b/test/foundry/modules/licensing/LicensingModule.t.sol index 6f0148e2..032eb7c5 100644 --- a/test/foundry/modules/licensing/LicensingModule.t.sol +++ b/test/foundry/modules/licensing/LicensingModule.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // external import { Strings } from "@openzeppelin/contracts/utils/Strings.sol"; diff --git a/test/foundry/modules/licensing/PILPolicyFramework.derivation.t.sol b/test/foundry/modules/licensing/PILPolicyFramework.derivation.t.sol index 4248d95b..98377c23 100644 --- a/test/foundry/modules/licensing/PILPolicyFramework.derivation.t.sol +++ b/test/foundry/modules/licensing/PILPolicyFramework.derivation.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IAccessController } from "contracts/interfaces/IAccessController.sol"; import { ILicensingModule } from "contracts/interfaces/modules/licensing/ILicensingModule.sol"; diff --git a/test/foundry/modules/licensing/PILPolicyFramework.multi-parent.sol b/test/foundry/modules/licensing/PILPolicyFramework.multi-parent.sol index 79a11253..2406f04b 100644 --- a/test/foundry/modules/licensing/PILPolicyFramework.multi-parent.sol +++ b/test/foundry/modules/licensing/PILPolicyFramework.multi-parent.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IAccessController } from "contracts/interfaces/IAccessController.sol"; import { ILicensingModule } from "contracts/interfaces/modules/licensing/ILicensingModule.sol"; diff --git a/test/foundry/modules/licensing/PILPolicyFramework.t.sol b/test/foundry/modules/licensing/PILPolicyFramework.t.sol index 4efbf2c2..ac10602a 100644 --- a/test/foundry/modules/licensing/PILPolicyFramework.t.sol +++ b/test/foundry/modules/licensing/PILPolicyFramework.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IAccessController } from "contracts/interfaces/IAccessController.sol"; import { ILicensingModule } from "contracts/interfaces/modules/licensing/ILicensingModule.sol"; diff --git a/test/foundry/modules/royalty/AncestorsVaultLAP.t.sol b/test/foundry/modules/royalty/AncestorsVaultLAP.t.sol index 4a6be8ed..edc5b3d0 100644 --- a/test/foundry/modules/royalty/AncestorsVaultLAP.t.sol +++ b/test/foundry/modules/royalty/AncestorsVaultLAP.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; diff --git a/test/foundry/modules/royalty/RoyaltyModule.t.sol b/test/foundry/modules/royalty/RoyaltyModule.t.sol index b674b006..ec46de7c 100644 --- a/test/foundry/modules/royalty/RoyaltyModule.t.sol +++ b/test/foundry/modules/royalty/RoyaltyModule.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // contracts import { Errors } from "../../../../contracts/lib/Errors.sol"; diff --git a/test/foundry/modules/royalty/RoyaltyPolicyLAP.t.sol b/test/foundry/modules/royalty/RoyaltyPolicyLAP.t.sol index 261e063a..5b41ede6 100644 --- a/test/foundry/modules/royalty/RoyaltyPolicyLAP.t.sol +++ b/test/foundry/modules/royalty/RoyaltyPolicyLAP.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import { ERC1155 } from "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; diff --git a/test/foundry/registries/IPAccountRegistry.t.sol b/test/foundry/registries/IPAccountRegistry.t.sol index aa0243ca..77f0b658 100644 --- a/test/foundry/registries/IPAccountRegistry.t.sol +++ b/test/foundry/registries/IPAccountRegistry.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IPAccountImpl } from "../../../contracts/IPAccountImpl.sol"; import { IPAccountChecker } from "../../../contracts/lib/registries/IPAccountChecker.sol"; diff --git a/test/foundry/registries/IPAssetRegistry.t.sol b/test/foundry/registries/IPAssetRegistry.t.sol index 2e6bd082..8c6d2cab 100644 --- a/test/foundry/registries/IPAssetRegistry.t.sol +++ b/test/foundry/registries/IPAssetRegistry.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IIPAssetRegistry } from "contracts/interfaces/registries/IIPAssetRegistry.sol"; import { IPAccountChecker } from "contracts/lib/registries/IPAccountChecker.sol"; diff --git a/test/foundry/registries/ModuleRegistry.t.sol b/test/foundry/registries/ModuleRegistry.t.sol index bcb9565b..037b3131 100644 --- a/test/foundry/registries/ModuleRegistry.t.sol +++ b/test/foundry/registries/ModuleRegistry.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { Errors } from "contracts/lib/Errors.sol"; diff --git a/test/foundry/registries/metadata/IPAssetRenderer.t.sol b/test/foundry/registries/metadata/IPAssetRenderer.t.sol index 7a9b8075..a6b8ebe0 100644 --- a/test/foundry/registries/metadata/IPAssetRenderer.t.sol +++ b/test/foundry/registries/metadata/IPAssetRenderer.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { Strings } from "@openzeppelin/contracts/utils/Strings.sol"; import { Base64 } from "@openzeppelin/contracts/utils/Base64.sol"; diff --git a/test/foundry/registries/metadata/MetadataProvider.t.sol b/test/foundry/registries/metadata/MetadataProvider.t.sol index 4851291e..683b3160 100644 --- a/test/foundry/registries/metadata/MetadataProvider.t.sol +++ b/test/foundry/registries/metadata/MetadataProvider.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IP } from "contracts/lib/IP.sol"; import { MetadataProviderV1 } from "contracts/registries/metadata/MetadataProviderV1.sol"; diff --git a/test/foundry/resolvers/IPResolver.t.sol b/test/foundry/resolvers/IPResolver.t.sol index cf84653d..bdde3a64 100644 --- a/test/foundry/resolvers/IPResolver.t.sol +++ b/test/foundry/resolvers/IPResolver.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { ResolverBaseTest } from "test/foundry/resolvers/ResolverBase.t.sol"; import { KeyValueResolver } from "contracts/resolvers/KeyValueResolver.sol"; diff --git a/test/foundry/resolvers/ResolverBase.t.sol b/test/foundry/resolvers/ResolverBase.t.sol index f9b77cc9..d49a5f4c 100644 --- a/test/foundry/resolvers/ResolverBase.t.sol +++ b/test/foundry/resolvers/ResolverBase.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IResolver } from "contracts/interfaces/resolvers/IResolver.sol"; diff --git a/test/foundry/utils/BaseTest.t.sol b/test/foundry/utils/BaseTest.t.sol index 25829773..69e4cc11 100644 --- a/test/foundry/utils/BaseTest.t.sol +++ b/test/foundry/utils/BaseTest.t.sol @@ -1,6 +1,6 @@ /* solhint-disable no-console */ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // external import { console2 } from "forge-std/console2.sol"; // console to indicate mock deployment calls. diff --git a/test/foundry/utils/DeployHelper.t.sol b/test/foundry/utils/DeployHelper.t.sol index 45f5c83d..def6065d 100644 --- a/test/foundry/utils/DeployHelper.t.sol +++ b/test/foundry/utils/DeployHelper.t.sol @@ -1,6 +1,6 @@ /* solhint-disable no-console */ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; // external import { console2 } from "forge-std/console2.sol"; // console to indicate mock deployment calls. diff --git a/test/foundry/utils/LicensingHelper.t.sol b/test/foundry/utils/LicensingHelper.t.sol index 40c97df9..80d94834 100644 --- a/test/foundry/utils/LicensingHelper.t.sol +++ b/test/foundry/utils/LicensingHelper.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/test/foundry/utils/Users.t.sol b/test/foundry/utils/Users.t.sol index 658c36cd..8e484c5a 100644 --- a/test/foundry/utils/Users.t.sol +++ b/test/foundry/utils/Users.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.23; +pragma solidity 0.8.23; import { Vm } from "forge-std/Vm.sol"; From 4e2085c86a7a967758676c3247d7a9cc99feaf14 Mon Sep 17 00:00:00 2001 From: Raul Date: Fri, 23 Feb 2024 17:13:35 -0800 Subject: [PATCH 2/8] BSL --- LICENSE | 73 +++++++++++++------ README.md | 20 ++++- contracts/AccessController.sol | 3 +- contracts/access/AccessControlled.sol | 3 +- contracts/governance/Governable.sol | 3 +- contracts/governance/Governance.sol | 3 +- contracts/interfaces/IAccessController.sol | 3 +- contracts/interfaces/IIPAccount.sol | 3 +- .../interfaces/governance/IGovernable.sol | 3 +- .../interfaces/governance/IGovernance.sol | 3 +- .../modules/IRegistrationModule.sol | 2 +- .../interfaces/modules/base/IHookModule.sol | 3 +- contracts/interfaces/modules/base/IModule.sol | 3 +- .../modules/dispute/IDisputeModule.sol | 2 +- .../dispute/policies/IArbitrationPolicy.sol | 2 +- .../modules/licensing/ILicensingModule.sol | 2 +- .../licensing/IPILPolicyFrameworkManager.sol | 2 +- .../licensing/IPolicyFrameworkManager.sol | 2 +- .../modules/royalty/IRoyaltyModule.sol | 2 +- .../royalty/policies/IAncestorsVaultLAP.sol | 2 +- .../royalty/policies/ILiquidSplitClone.sol | 2 +- .../royalty/policies/ILiquidSplitFactory.sol | 2 +- .../royalty/policies/ILiquidSplitMain.sol | 2 +- .../royalty/policies/IRoyaltyPolicy.sol | 2 +- .../royalty/policies/IRoyaltyPolicyLAP.sol | 2 +- .../registries/IIPAccountRegistry.sol | 3 +- .../registries/IIPAssetRegistry.sol | 3 +- .../registries/ILicenseRegistry.sol | 2 +- .../interfaces/registries/IModuleRegistry.sol | 3 +- .../registries/metadata/IMetadataProvider.sol | 3 +- .../metadata/IMetadataProviderMigratable.sol | 3 +- .../metadata/IMetadataProviderV1.sol | 3 +- .../resolvers/IKeyValueResolver.sol | 3 +- contracts/interfaces/resolvers/IResolver.sol | 3 +- contracts/lib/AccessPermission.sol | 3 +- contracts/lib/ArrayUtils.sol | 2 +- contracts/lib/DataUniqueness.sol | 3 +- contracts/lib/Errors.sol | 3 +- contracts/lib/GovernanceLib.sol | 3 +- contracts/lib/IP.sol | 3 +- contracts/lib/Licensing.sol | 2 +- contracts/lib/MetaTx.sol | 3 +- contracts/lib/PILFlavors.sol | 2 +- contracts/lib/PILFrameworkErrors.sol | 3 +- contracts/lib/modules/Module.sol | 3 +- contracts/lib/registries/IPAccountChecker.sol | 3 +- contracts/modules/BaseModule.sol | 3 +- contracts/modules/RegistrationModule.sol | 3 +- contracts/modules/dispute/DisputeModule.sol | 2 +- .../dispute/policies/ArbitrationPolicySP.sol | 2 +- .../licensing/BasePolicyFrameworkManager.sol | 3 +- .../modules/licensing/LicensingModule.sol | 2 +- .../licensing/LicensingModuleAware.sol | 3 +- .../licensing/PILPolicyFrameworkManager.sol | 2 +- .../LicensorApprovalChecker.sol | 2 +- contracts/modules/royalty/RoyaltyModule.sol | 2 +- .../royalty/policies/AncestorsVaultLAP.sol | 2 +- .../royalty/policies/RoyaltyPolicyLAP.sol | 2 +- contracts/registries/IPAccountRegistry.sol | 3 +- contracts/registries/IPAssetRegistry.sol | 3 +- contracts/registries/LicenseRegistry.sol | 2 +- contracts/registries/ModuleRegistry.sol | 3 +- .../registries/metadata/IPAssetRenderer.sol | 3 +- .../metadata/IPMetadataProvider.sol | 3 +- .../metadata/MetadataProviderBase.sol | 3 +- .../metadata/MetadataProviderV1.sol | 3 +- contracts/resolvers/IPResolver.sol | 3 +- contracts/resolvers/KeyValueResolver.sol | 3 +- contracts/resolvers/ResolverBase.sol | 3 +- contracts/utils/ShortStringOps.sol | 3 +- .../foundry/integration/BaseIntegration.t.sol | 2 +- .../big-bang/SingleNftCollection.t.sol | 2 +- .../integration/flows/disputes/Disputes.t.sol | 2 +- .../EmergenceUniverse.t.sol | 2 +- .../flows/licensing/LicensingScenarios.t.sol | 2 +- .../integration/flows/royalty/Royalty.t.sol | 2 +- .../MockIncompatibleMetadataProviderV2.sol | 3 +- test/foundry/mocks/MockMetadataProviderV2.sol | 3 +- .../mocks/governance/MockGovernance.sol | 2 +- .../mocks/module/MockDisputeModule.sol | 2 +- .../mocks/module/MockLicensingModule.sol | 2 +- .../mocks/module/MockRoyaltyModule.sol | 2 +- .../mocks/policy/MockArbitrationPolicy.sol | 2 +- .../mocks/registry/MockLicenseRegistry.sol | 2 +- test/foundry/mocks/token/MockERC20.sol | 2 +- test/foundry/mocks/token/MockUSDC.sol | 2 +- .../modules/dispute/ArbitrationPolicySP.t.sol | 2 +- .../modules/dispute/DisputeModule.t.sol | 2 +- .../external/TokenWithdrawalModule.t.sol | 2 +- .../modules/licensing/LicensingModule.t.sol | 2 +- .../PILPolicyFramework.derivation.t.sol | 2 +- .../PILPolicyFramework.multi-parent.sol | 2 +- .../licensing/PILPolicyFramework.t.sol | 2 +- .../modules/royalty/AncestorsVaultLAP.t.sol | 2 +- .../modules/royalty/RoyaltyModule.t.sol | 2 +- .../modules/royalty/RoyaltyPolicyLAP.t.sol | 2 +- test/foundry/utils/BaseTest.t.sol | 2 +- test/foundry/utils/DeployHelper.t.sol | 2 +- test/foundry/utils/LicensingHelper.t.sol | 2 +- test/foundry/utils/Users.t.sol | 2 +- 100 files changed, 166 insertions(+), 167 deletions(-) diff --git a/LICENSE b/LICENSE index 68de6514..3b695b9a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,52 @@ -MIT License - -Copyright (c) 2023 Story Protocol - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +Business Source License 1.1 + +License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved. +"Business Source License" is a trademark of MariaDB Corporation Ab. + +----------------------------------------------------------------------------- + +Parameters + +Licensor: Story Protocol, Inc. + +Licensed Work: Story Protocol IP Protocol software. + The Licensed Work is (c) 2024 Story Protocol, Inc. + +Additional Use Grant: None. + +Change Date: Two years from the date that the Licensed Work is published. + +Change License: GNU General Public License v.3. + +----------------------------------------------------------------------------- + +Terms + +The Licensor hereby grants you the right to copy, modify, create derivative works, redistribute, and make non-production use of the Licensed Work. The Licensor may make an Additional Use Grant, above, permitting limited production use. + +Effective on the Change Date, or the fourth anniversary of the first publicly available distribution of a specific version of the Licensed Work under this License, whichever comes first, the Licensor hereby grants you rights under the terms of the Change License, and the rights granted in the paragraph above terminate. + +If your use of the Licensed Work does not comply with the requirements currently in effect as described in this License, you must purchase a commercial license from the Licensor, its affiliated entities, or authorized resellers, or you must refrain from using the Licensed Work. + +All copies of the original and modified Licensed Work, and derivative works of the Licensed Work, are subject to this License. This License applies separately for each version of the Licensed Work and the Change Date may vary for each version of the Licensed Work released by Licensor. + +You must conspicuously display this License on each original or modified copy of the Licensed Work. If you receive the Licensed Work in original or modified form from a third party, the terms and conditions set forth in this License apply to your use of that work. +Any use of the Licensed Work in violation of this License will automatically terminate your rights under this License for the current and all other versions of the Licensed Work. + +This License does not grant you any right in any trademark or logo of Licensor or its affiliates (provided that you may use a trademark or logo of Licensor as expressly required by this License). + +TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN ā€œAS ISā€ BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE. MariaDB hereby grants you permission to use this Licenseā€™s text to license your works, and to refer to it using the trademark ā€œBusiness Source Licenseā€, as long as you comply with the Covenants of Licensor below. + +Covenants of Licensor + +In consideration of the right to use this Licenseā€™s text and the ā€œBusiness Source Licenseā€ name and trademark, Licensor covenants to MariaDB, and to all other recipients of the licensed work to be provided by Licensor: + +1. To specify as the Change License the GPL Version 2.0 or any later version, or a license that is compatible with GPL Version 2.0 or a later version, where ā€œcompatibleā€ means that software provided under the Change License can be included in a program with software provided under GPL Version 2.0 or a later version. Licensor may specify additional Change Licenses without limitation. + +2. To either: (a) specify an additional grant of rights to use that does not impose any additional restriction on the right granted in this License, as the Additional Use Grant; or (b) insert the text ā€œNoneā€ to specify a Change Date. Not to modify this License in any other way. + +Notice + +The Business Source License (this document, or the ā€œLicenseā€) is not an Open Source license. However, the Licensed Work will eventually be made available under an Open Source License, as stated in this License. + +For more information on the use of the Business Source License for MariaDB products, please visit the MariaDB Business Source License FAQ at https://mariadb.com/bsl-faq-mariadb/. For more information on the use of the Business Source License generally, please visit the Adopting and Developing Business Source License FAQ at https://mariadb.com/bsl-faq-adopting/. diff --git a/README.md b/README.md index 8ee4f3c6..c586f571 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,12 @@ -# Solidity Template +# Story Protocol Beta + +Story Protocol is building the Programmable IP layer to bring programmability to IP. Story Protocol transforms IPs into networks that transcend mediums and platforms, unleashing global creativity and liquidity. Instead of static JPEGs that lack interactivity and composability with other assets, programmable IPs are dynamic and extensible: built to be built upon. Creators and applications can register their IP with Story Protocol, converting their static IP into programmable IP by declaring a set of onchain rights that any program can read and write on. + +# Documentation + +[Learn more about Story Protocol](https://docs.storyprotocol.xyz/) -Support both [Foundry](https://github.com/gakonst/foundry) test and [Hardhat](https://hardhat.org/). # Getting Started @@ -41,8 +46,8 @@ You'll need to add the following variables to a `.env` file: - `MAINNET_URL` - `MAINNET_PRIVATEKEY` -- `GOERLI_URL` -- `GOERLI_PRIVATEKEY` +- `SEPOLIA_URL` +- `SEPOLIA_PRIVATEKEY` - `ETHERSCAN_API_KEY` ## Deploying @@ -87,6 +92,13 @@ make slither And get your slither output. +# Licensing + +The license for Story Protocol Core is the Business Source License 1.1 (BUSL-1.1), seeĀ LICENSE." + +In the terms of service with your End Users, governing your End Usersā€™ use of and access to your App, you will include the following sentence: +ā€œThis application is integrated with functionality provided by Story Protocol, Inc that enables intellectual property registration and tracking. You acknowledge and agree that such functionality and your use of this application is subject to Story Protocol, Inc.ā€™s End User Terms." + # Document Generation diff --git a/contracts/AccessController.sol b/contracts/AccessController.sol index a1d09c2b..0fb38ac3 100644 --- a/contracts/AccessController.sol +++ b/contracts/AccessController.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IModuleRegistry } from "./interfaces/registries/IModuleRegistry.sol"; diff --git a/contracts/access/AccessControlled.sol b/contracts/access/AccessControlled.sol index dfe4fa95..28b8af49 100644 --- a/contracts/access/AccessControlled.sol +++ b/contracts/access/AccessControlled.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IAccessController } from "../interfaces/IAccessController.sol"; diff --git a/contracts/governance/Governable.sol b/contracts/governance/Governable.sol index 84e6d042..ab6649dd 100644 --- a/contracts/governance/Governable.sol +++ b/contracts/governance/Governable.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; diff --git a/contracts/governance/Governance.sol b/contracts/governance/Governance.sol index 6b99671e..3eede8d0 100644 --- a/contracts/governance/Governance.sol +++ b/contracts/governance/Governance.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { AccessControl } from "@openzeppelin/contracts/access/AccessControl.sol"; diff --git a/contracts/interfaces/IAccessController.sol b/contracts/interfaces/IAccessController.sol index f3ecc1d2..521a9bff 100644 --- a/contracts/interfaces/IAccessController.sol +++ b/contracts/interfaces/IAccessController.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { AccessPermission } from "../lib/AccessPermission.sol"; diff --git a/contracts/interfaces/IIPAccount.sol b/contracts/interfaces/IIPAccount.sol index 87260b7d..fcfffa3d 100644 --- a/contracts/interfaces/IIPAccount.sol +++ b/contracts/interfaces/IIPAccount.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IERC721Receiver } from "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; diff --git a/contracts/interfaces/governance/IGovernable.sol b/contracts/interfaces/governance/IGovernable.sol index bbb1d94c..14e06069 100644 --- a/contracts/interfaces/governance/IGovernable.sol +++ b/contracts/interfaces/governance/IGovernable.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title IGovernable diff --git a/contracts/interfaces/governance/IGovernance.sol b/contracts/interfaces/governance/IGovernance.sol index 3c393e4d..e7519f53 100644 --- a/contracts/interfaces/governance/IGovernance.sol +++ b/contracts/interfaces/governance/IGovernance.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IAccessControl } from "@openzeppelin/contracts/access/IAccessControl.sol"; diff --git a/contracts/interfaces/modules/IRegistrationModule.sol b/contracts/interfaces/modules/IRegistrationModule.sol index 9c1621f2..91f3b130 100644 --- a/contracts/interfaces/modules/IRegistrationModule.sol +++ b/contracts/interfaces/modules/IRegistrationModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IPResolver } from "../../resolvers/IPResolver.sol"; diff --git a/contracts/interfaces/modules/base/IHookModule.sol b/contracts/interfaces/modules/base/IHookModule.sol index 4e62edf3..1e583da9 100644 --- a/contracts/interfaces/modules/base/IHookModule.sol +++ b/contracts/interfaces/modules/base/IHookModule.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IModule } from "./IModule.sol"; diff --git a/contracts/interfaces/modules/base/IModule.sol b/contracts/interfaces/modules/base/IModule.sol index 29896f58..78e90d51 100644 --- a/contracts/interfaces/modules/base/IModule.sol +++ b/contracts/interfaces/modules/base/IModule.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IERC165 } from "@openzeppelin/contracts/utils/introspection/IERC165.sol"; diff --git a/contracts/interfaces/modules/dispute/IDisputeModule.sol b/contracts/interfaces/modules/dispute/IDisputeModule.sol index 675314ce..60f0d31b 100644 --- a/contracts/interfaces/modules/dispute/IDisputeModule.sol +++ b/contracts/interfaces/modules/dispute/IDisputeModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title Dispute Module Interface diff --git a/contracts/interfaces/modules/dispute/policies/IArbitrationPolicy.sol b/contracts/interfaces/modules/dispute/policies/IArbitrationPolicy.sol index 0788cfcb..4850ffe6 100644 --- a/contracts/interfaces/modules/dispute/policies/IArbitrationPolicy.sol +++ b/contracts/interfaces/modules/dispute/policies/IArbitrationPolicy.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title Arbitration Policy Interface diff --git a/contracts/interfaces/modules/licensing/ILicensingModule.sol b/contracts/interfaces/modules/licensing/ILicensingModule.sol index f854c7b7..0ac2482c 100644 --- a/contracts/interfaces/modules/licensing/ILicensingModule.sol +++ b/contracts/interfaces/modules/licensing/ILicensingModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { Licensing } from "../../../lib/Licensing.sol"; diff --git a/contracts/interfaces/modules/licensing/IPILPolicyFrameworkManager.sol b/contracts/interfaces/modules/licensing/IPILPolicyFrameworkManager.sol index 37748d8a..c433acff 100644 --- a/contracts/interfaces/modules/licensing/IPILPolicyFrameworkManager.sol +++ b/contracts/interfaces/modules/licensing/IPILPolicyFrameworkManager.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IPolicyFrameworkManager } from "../../../interfaces/modules/licensing/IPolicyFrameworkManager.sol"; diff --git a/contracts/interfaces/modules/licensing/IPolicyFrameworkManager.sol b/contracts/interfaces/modules/licensing/IPolicyFrameworkManager.sol index 817832e2..2705ff4d 100644 --- a/contracts/interfaces/modules/licensing/IPolicyFrameworkManager.sol +++ b/contracts/interfaces/modules/licensing/IPolicyFrameworkManager.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IERC165 } from "@openzeppelin/contracts/interfaces/IERC165.sol"; diff --git a/contracts/interfaces/modules/royalty/IRoyaltyModule.sol b/contracts/interfaces/modules/royalty/IRoyaltyModule.sol index 95568729..76f1da90 100644 --- a/contracts/interfaces/modules/royalty/IRoyaltyModule.sol +++ b/contracts/interfaces/modules/royalty/IRoyaltyModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IModule } from "../../modules/base/IModule.sol"; diff --git a/contracts/interfaces/modules/royalty/policies/IAncestorsVaultLAP.sol b/contracts/interfaces/modules/royalty/policies/IAncestorsVaultLAP.sol index cb219f68..7e974f04 100644 --- a/contracts/interfaces/modules/royalty/policies/IAncestorsVaultLAP.sol +++ b/contracts/interfaces/modules/royalty/policies/IAncestorsVaultLAP.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; diff --git a/contracts/interfaces/modules/royalty/policies/ILiquidSplitClone.sol b/contracts/interfaces/modules/royalty/policies/ILiquidSplitClone.sol index 7302999c..860628e8 100644 --- a/contracts/interfaces/modules/royalty/policies/ILiquidSplitClone.sol +++ b/contracts/interfaces/modules/royalty/policies/ILiquidSplitClone.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title LiquidSplitClone interface diff --git a/contracts/interfaces/modules/royalty/policies/ILiquidSplitFactory.sol b/contracts/interfaces/modules/royalty/policies/ILiquidSplitFactory.sol index 8eb44a37..7bbccbe8 100644 --- a/contracts/interfaces/modules/royalty/policies/ILiquidSplitFactory.sol +++ b/contracts/interfaces/modules/royalty/policies/ILiquidSplitFactory.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title LiquidSplitFactory interface diff --git a/contracts/interfaces/modules/royalty/policies/ILiquidSplitMain.sol b/contracts/interfaces/modules/royalty/policies/ILiquidSplitMain.sol index 03c74c3c..e450f6d9 100644 --- a/contracts/interfaces/modules/royalty/policies/ILiquidSplitMain.sol +++ b/contracts/interfaces/modules/royalty/policies/ILiquidSplitMain.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; diff --git a/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicy.sol b/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicy.sol index 81a59605..74eb6c2c 100644 --- a/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicy.sol +++ b/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicy.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title RoyaltyPolicy interface diff --git a/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicyLAP.sol b/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicyLAP.sol index 5fd97632..ef581968 100644 --- a/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicyLAP.sol +++ b/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicyLAP.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; diff --git a/contracts/interfaces/registries/IIPAccountRegistry.sol b/contracts/interfaces/registries/IIPAccountRegistry.sol index ccb02aef..2357b273 100644 --- a/contracts/interfaces/registries/IIPAccountRegistry.sol +++ b/contracts/interfaces/registries/IIPAccountRegistry.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title Interface for IP Account Registry diff --git a/contracts/interfaces/registries/IIPAssetRegistry.sol b/contracts/interfaces/registries/IIPAssetRegistry.sol index 775a84db..fed8d468 100644 --- a/contracts/interfaces/registries/IIPAssetRegistry.sol +++ b/contracts/interfaces/registries/IIPAssetRegistry.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IIPAccountRegistry } from "./IIPAccountRegistry.sol"; diff --git a/contracts/interfaces/registries/ILicenseRegistry.sol b/contracts/interfaces/registries/ILicenseRegistry.sol index 79488af8..b4489737 100644 --- a/contracts/interfaces/registries/ILicenseRegistry.sol +++ b/contracts/interfaces/registries/ILicenseRegistry.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IERC1155 } from "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; diff --git a/contracts/interfaces/registries/IModuleRegistry.sol b/contracts/interfaces/registries/IModuleRegistry.sol index 858f605a..e2b19726 100644 --- a/contracts/interfaces/registries/IModuleRegistry.sol +++ b/contracts/interfaces/registries/IModuleRegistry.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title IModuleRegistry diff --git a/contracts/interfaces/registries/metadata/IMetadataProvider.sol b/contracts/interfaces/registries/metadata/IMetadataProvider.sol index 245f3861..2e8fd5fc 100644 --- a/contracts/interfaces/registries/metadata/IMetadataProvider.sol +++ b/contracts/interfaces/registries/metadata/IMetadataProvider.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title Metadata Provider Interface diff --git a/contracts/interfaces/registries/metadata/IMetadataProviderMigratable.sol b/contracts/interfaces/registries/metadata/IMetadataProviderMigratable.sol index c6aca785..fd22aa98 100644 --- a/contracts/interfaces/registries/metadata/IMetadataProviderMigratable.sol +++ b/contracts/interfaces/registries/metadata/IMetadataProviderMigratable.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IMetadataProvider } from "./IMetadataProvider.sol"; diff --git a/contracts/interfaces/registries/metadata/IMetadataProviderV1.sol b/contracts/interfaces/registries/metadata/IMetadataProviderV1.sol index 73e1d676..279693b6 100644 --- a/contracts/interfaces/registries/metadata/IMetadataProviderV1.sol +++ b/contracts/interfaces/registries/metadata/IMetadataProviderV1.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IP } from "../../../lib/IP.sol"; diff --git a/contracts/interfaces/resolvers/IKeyValueResolver.sol b/contracts/interfaces/resolvers/IKeyValueResolver.sol index e6c960a4..db60b75e 100644 --- a/contracts/interfaces/resolvers/IKeyValueResolver.sol +++ b/contracts/interfaces/resolvers/IKeyValueResolver.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title Key Value Resolver Interface diff --git a/contracts/interfaces/resolvers/IResolver.sol b/contracts/interfaces/resolvers/IResolver.sol index 85e792a5..c5370344 100644 --- a/contracts/interfaces/resolvers/IResolver.sol +++ b/contracts/interfaces/resolvers/IResolver.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @notice Resolver Interface diff --git a/contracts/lib/AccessPermission.sol b/contracts/lib/AccessPermission.sol index a540c08d..45f74ca8 100644 --- a/contracts/lib/AccessPermission.sol +++ b/contracts/lib/AccessPermission.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title Access Permission Library diff --git a/contracts/lib/ArrayUtils.sol b/contracts/lib/ArrayUtils.sol index f210445a..29c5dec0 100644 --- a/contracts/lib/ArrayUtils.sol +++ b/contracts/lib/ArrayUtils.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title Address Array Utils diff --git a/contracts/lib/DataUniqueness.sol b/contracts/lib/DataUniqueness.sol index c5e123ea..7566ca4e 100644 --- a/contracts/lib/DataUniqueness.sol +++ b/contracts/lib/DataUniqueness.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title DataUniqueness diff --git a/contracts/lib/Errors.sol b/contracts/lib/Errors.sol index c5d7e1ff..b8eee0ff 100644 --- a/contracts/lib/Errors.sol +++ b/contracts/lib/Errors.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title Errors Library diff --git a/contracts/lib/GovernanceLib.sol b/contracts/lib/GovernanceLib.sol index a38ed6cf..c1faba94 100644 --- a/contracts/lib/GovernanceLib.sol +++ b/contracts/lib/GovernanceLib.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title Governance diff --git a/contracts/lib/IP.sol b/contracts/lib/IP.sol index 07236beb..939ecb2b 100644 --- a/contracts/lib/IP.sol +++ b/contracts/lib/IP.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title IP Library diff --git a/contracts/lib/Licensing.sol b/contracts/lib/Licensing.sol index 15a3a1db..fcbac2c0 100644 --- a/contracts/lib/Licensing.sol +++ b/contracts/lib/Licensing.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title Licensing diff --git a/contracts/lib/MetaTx.sol b/contracts/lib/MetaTx.sol index 8339c9cd..018854c3 100644 --- a/contracts/lib/MetaTx.sol +++ b/contracts/lib/MetaTx.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title MetaTx diff --git a/contracts/lib/PILFlavors.sol b/contracts/lib/PILFlavors.sol index 93b8b34c..7a8a5d91 100644 --- a/contracts/lib/PILFlavors.sol +++ b/contracts/lib/PILFlavors.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { RegisterPILPolicyParams, PILPolicy } from "../interfaces/modules/licensing/IPILPolicyFrameworkManager.sol"; diff --git a/contracts/lib/PILFrameworkErrors.sol b/contracts/lib/PILFrameworkErrors.sol index 74dce277..5f4dd845 100644 --- a/contracts/lib/PILFrameworkErrors.sol +++ b/contracts/lib/PILFrameworkErrors.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; /// @title PILFrameworkErrors Errors Library diff --git a/contracts/lib/modules/Module.sol b/contracts/lib/modules/Module.sol index 95931505..8bfdcc7f 100644 --- a/contracts/lib/modules/Module.sol +++ b/contracts/lib/modules/Module.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // Default Module Type, all modules in this type by default diff --git a/contracts/lib/registries/IPAccountChecker.sol b/contracts/lib/registries/IPAccountChecker.sol index f4759c9e..e08767d0 100644 --- a/contracts/lib/registries/IPAccountChecker.sol +++ b/contracts/lib/registries/IPAccountChecker.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; diff --git a/contracts/modules/BaseModule.sol b/contracts/modules/BaseModule.sol index 9e1edb95..7ed49f21 100644 --- a/contracts/modules/BaseModule.sol +++ b/contracts/modules/BaseModule.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IERC165, ERC165 } from "@openzeppelin/contracts/utils/introspection/ERC165.sol"; diff --git a/contracts/modules/RegistrationModule.sol b/contracts/modules/RegistrationModule.sol index 87dd383d..30465b10 100644 --- a/contracts/modules/RegistrationModule.sol +++ b/contracts/modules/RegistrationModule.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IERC721 } from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; diff --git a/contracts/modules/dispute/DisputeModule.sol b/contracts/modules/dispute/DisputeModule.sol index 76ae302b..72feb890 100644 --- a/contracts/modules/dispute/DisputeModule.sol +++ b/contracts/modules/dispute/DisputeModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ReentrancyGuard } from "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; diff --git a/contracts/modules/dispute/policies/ArbitrationPolicySP.sol b/contracts/modules/dispute/policies/ArbitrationPolicySP.sol index 23545d12..9ddd001d 100644 --- a/contracts/modules/dispute/policies/ArbitrationPolicySP.sol +++ b/contracts/modules/dispute/policies/ArbitrationPolicySP.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; diff --git a/contracts/modules/licensing/BasePolicyFrameworkManager.sol b/contracts/modules/licensing/BasePolicyFrameworkManager.sol index c7b88832..3b72d22e 100644 --- a/contracts/modules/licensing/BasePolicyFrameworkManager.sol +++ b/contracts/modules/licensing/BasePolicyFrameworkManager.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // external diff --git a/contracts/modules/licensing/LicensingModule.sol b/contracts/modules/licensing/LicensingModule.sol index 6bac9765..75574f30 100644 --- a/contracts/modules/licensing/LicensingModule.sol +++ b/contracts/modules/licensing/LicensingModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // external diff --git a/contracts/modules/licensing/LicensingModuleAware.sol b/contracts/modules/licensing/LicensingModuleAware.sol index 1b657ff8..68e55fe3 100644 --- a/contracts/modules/licensing/LicensingModuleAware.sol +++ b/contracts/modules/licensing/LicensingModuleAware.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // contracts diff --git a/contracts/modules/licensing/PILPolicyFrameworkManager.sol b/contracts/modules/licensing/PILPolicyFrameworkManager.sol index 68cdae9c..5a9dda6f 100644 --- a/contracts/modules/licensing/PILPolicyFrameworkManager.sol +++ b/contracts/modules/licensing/PILPolicyFrameworkManager.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; diff --git a/contracts/modules/licensing/parameter-helpers/LicensorApprovalChecker.sol b/contracts/modules/licensing/parameter-helpers/LicensorApprovalChecker.sol index ca89e4ae..fdda0920 100644 --- a/contracts/modules/licensing/parameter-helpers/LicensorApprovalChecker.sol +++ b/contracts/modules/licensing/parameter-helpers/LicensorApprovalChecker.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { AccessControlled } from "../../../access/AccessControlled.sol"; diff --git a/contracts/modules/royalty/RoyaltyModule.sol b/contracts/modules/royalty/RoyaltyModule.sol index a715d061..9e215ceb 100644 --- a/contracts/modules/royalty/RoyaltyModule.sol +++ b/contracts/modules/royalty/RoyaltyModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ReentrancyGuard } from "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; diff --git a/contracts/modules/royalty/policies/AncestorsVaultLAP.sol b/contracts/modules/royalty/policies/AncestorsVaultLAP.sol index 6c38204c..204f635f 100644 --- a/contracts/modules/royalty/policies/AncestorsVaultLAP.sol +++ b/contracts/modules/royalty/policies/AncestorsVaultLAP.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ReentrancyGuard } from "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; diff --git a/contracts/modules/royalty/policies/RoyaltyPolicyLAP.sol b/contracts/modules/royalty/policies/RoyaltyPolicyLAP.sol index 0c593e92..77cf746d 100644 --- a/contracts/modules/royalty/policies/RoyaltyPolicyLAP.sol +++ b/contracts/modules/royalty/policies/RoyaltyPolicyLAP.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { Clones } from "@openzeppelin/contracts/proxy/Clones.sol"; diff --git a/contracts/registries/IPAccountRegistry.sol b/contracts/registries/IPAccountRegistry.sol index 3d61a8fd..853024a8 100644 --- a/contracts/registries/IPAccountRegistry.sol +++ b/contracts/registries/IPAccountRegistry.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IERC6551Registry } from "erc6551/interfaces/IERC6551Registry.sol"; diff --git a/contracts/registries/IPAssetRegistry.sol b/contracts/registries/IPAssetRegistry.sol index f5cf64c5..814c4149 100644 --- a/contracts/registries/IPAssetRegistry.sol +++ b/contracts/registries/IPAssetRegistry.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IERC721 } from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; diff --git a/contracts/registries/LicenseRegistry.sol b/contracts/registries/LicenseRegistry.sol index 78f50df4..b007b863 100644 --- a/contracts/registries/LicenseRegistry.sol +++ b/contracts/registries/LicenseRegistry.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ERC1155 } from "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; diff --git a/contracts/registries/ModuleRegistry.sol b/contracts/registries/ModuleRegistry.sol index 5eb299e2..a0eae7aa 100644 --- a/contracts/registries/ModuleRegistry.sol +++ b/contracts/registries/ModuleRegistry.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; diff --git a/contracts/registries/metadata/IPAssetRenderer.sol b/contracts/registries/metadata/IPAssetRenderer.sol index 34b8b774..d602ce1a 100644 --- a/contracts/registries/metadata/IPAssetRenderer.sol +++ b/contracts/registries/metadata/IPAssetRenderer.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { Strings } from "@openzeppelin/contracts/utils/Strings.sol"; diff --git a/contracts/registries/metadata/IPMetadataProvider.sol b/contracts/registries/metadata/IPMetadataProvider.sol index a17baee4..d09ea462 100644 --- a/contracts/registries/metadata/IPMetadataProvider.sol +++ b/contracts/registries/metadata/IPMetadataProvider.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IMetadataProvider } from "../../interfaces/registries/metadata/IMetadataProvider.sol"; diff --git a/contracts/registries/metadata/MetadataProviderBase.sol b/contracts/registries/metadata/MetadataProviderBase.sol index cc0866d2..3e847185 100644 --- a/contracts/registries/metadata/MetadataProviderBase.sol +++ b/contracts/registries/metadata/MetadataProviderBase.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IIPAccount } from "../../interfaces/IIPAccount.sol"; diff --git a/contracts/registries/metadata/MetadataProviderV1.sol b/contracts/registries/metadata/MetadataProviderV1.sol index b489f551..293953a0 100644 --- a/contracts/registries/metadata/MetadataProviderV1.sol +++ b/contracts/registries/metadata/MetadataProviderV1.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IP } from "../../lib/IP.sol"; diff --git a/contracts/resolvers/IPResolver.sol b/contracts/resolvers/IPResolver.sol index b2017886..bceeed21 100644 --- a/contracts/resolvers/IPResolver.sol +++ b/contracts/resolvers/IPResolver.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ResolverBase } from "./ResolverBase.sol"; diff --git a/contracts/resolvers/KeyValueResolver.sol b/contracts/resolvers/KeyValueResolver.sol index ac7dec2c..53730956 100644 --- a/contracts/resolvers/KeyValueResolver.sol +++ b/contracts/resolvers/KeyValueResolver.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IKeyValueResolver } from "../interfaces/resolvers/IKeyValueResolver.sol"; diff --git a/contracts/resolvers/ResolverBase.sol b/contracts/resolvers/ResolverBase.sol index 8e8556ed..a067fd4a 100644 --- a/contracts/resolvers/ResolverBase.sol +++ b/contracts/resolvers/ResolverBase.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { BaseModule } from "../modules/BaseModule.sol"; diff --git a/contracts/utils/ShortStringOps.sol b/contracts/utils/ShortStringOps.sol index bdbb92f4..ce8d6b87 100644 --- a/contracts/utils/ShortStringOps.sol +++ b/contracts/utils/ShortStringOps.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ShortString, ShortStrings } from "@openzeppelin/contracts/utils/ShortStrings.sol"; diff --git a/test/foundry/integration/BaseIntegration.t.sol b/test/foundry/integration/BaseIntegration.t.sol index 5bb801c7..6705e4a7 100644 --- a/test/foundry/integration/BaseIntegration.t.sol +++ b/test/foundry/integration/BaseIntegration.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // external diff --git a/test/foundry/integration/big-bang/SingleNftCollection.t.sol b/test/foundry/integration/big-bang/SingleNftCollection.t.sol index 7adf8723..564402e1 100644 --- a/test/foundry/integration/big-bang/SingleNftCollection.t.sol +++ b/test/foundry/integration/big-bang/SingleNftCollection.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // external diff --git a/test/foundry/integration/flows/disputes/Disputes.t.sol b/test/foundry/integration/flows/disputes/Disputes.t.sol index 1ba025d5..ac71dd42 100644 --- a/test/foundry/integration/flows/disputes/Disputes.t.sol +++ b/test/foundry/integration/flows/disputes/Disputes.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // external diff --git a/test/foundry/integration/flows/emergence-universe/EmergenceUniverse.t.sol b/test/foundry/integration/flows/emergence-universe/EmergenceUniverse.t.sol index 2a727628..98ed53bb 100644 --- a/test/foundry/integration/flows/emergence-universe/EmergenceUniverse.t.sol +++ b/test/foundry/integration/flows/emergence-universe/EmergenceUniverse.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { Test } from "forge-std/Test.sol"; diff --git a/test/foundry/integration/flows/licensing/LicensingScenarios.t.sol b/test/foundry/integration/flows/licensing/LicensingScenarios.t.sol index a99c49f2..c489d6db 100644 --- a/test/foundry/integration/flows/licensing/LicensingScenarios.t.sol +++ b/test/foundry/integration/flows/licensing/LicensingScenarios.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // external diff --git a/test/foundry/integration/flows/royalty/Royalty.t.sol b/test/foundry/integration/flows/royalty/Royalty.t.sol index 4b84399b..e5a93950 100644 --- a/test/foundry/integration/flows/royalty/Royalty.t.sol +++ b/test/foundry/integration/flows/royalty/Royalty.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // external diff --git a/test/foundry/mocks/MockIncompatibleMetadataProviderV2.sol b/test/foundry/mocks/MockIncompatibleMetadataProviderV2.sol index 889dbc97..965a7dbe 100644 --- a/test/foundry/mocks/MockIncompatibleMetadataProviderV2.sol +++ b/test/foundry/mocks/MockIncompatibleMetadataProviderV2.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { MetadataProviderV1 } from "contracts/registries/metadata/MetadataProviderV1.sol"; diff --git a/test/foundry/mocks/MockMetadataProviderV2.sol b/test/foundry/mocks/MockMetadataProviderV2.sol index af2ee63b..3df18b8f 100644 --- a/test/foundry/mocks/MockMetadataProviderV2.sol +++ b/test/foundry/mocks/MockMetadataProviderV2.sol @@ -1,5 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED -// See https://github.com/storyprotocol/protocol-contracts/blob/main/StoryProtocol-AlphaTestingAgreement-17942166.3.pdf +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { MetadataProviderV1 } from "contracts/registries/metadata/MetadataProviderV1.sol"; diff --git a/test/foundry/mocks/governance/MockGovernance.sol b/test/foundry/mocks/governance/MockGovernance.sol index 20916c1e..8ccd0901 100644 --- a/test/foundry/mocks/governance/MockGovernance.sol +++ b/test/foundry/mocks/governance/MockGovernance.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { AccessControl } from "@openzeppelin/contracts/access/AccessControl.sol"; diff --git a/test/foundry/mocks/module/MockDisputeModule.sol b/test/foundry/mocks/module/MockDisputeModule.sol index 74823625..af37bec7 100644 --- a/test/foundry/mocks/module/MockDisputeModule.sol +++ b/test/foundry/mocks/module/MockDisputeModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IDisputeModule } from "../../../../contracts/interfaces/modules/dispute/IDisputeModule.sol"; diff --git a/test/foundry/mocks/module/MockLicensingModule.sol b/test/foundry/mocks/module/MockLicensingModule.sol index 9b461657..f06001c6 100644 --- a/test/foundry/mocks/module/MockLicensingModule.sol +++ b/test/foundry/mocks/module/MockLicensingModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IERC165 } from "@openzeppelin/contracts/utils/introspection/ERC165.sol"; diff --git a/test/foundry/mocks/module/MockRoyaltyModule.sol b/test/foundry/mocks/module/MockRoyaltyModule.sol index 2afbb213..d84bbfa1 100644 --- a/test/foundry/mocks/module/MockRoyaltyModule.sol +++ b/test/foundry/mocks/module/MockRoyaltyModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IERC165 } from "@openzeppelin/contracts/utils/introspection/IERC165.sol"; diff --git a/test/foundry/mocks/policy/MockArbitrationPolicy.sol b/test/foundry/mocks/policy/MockArbitrationPolicy.sol index 75731eef..c79e3ed7 100644 --- a/test/foundry/mocks/policy/MockArbitrationPolicy.sol +++ b/test/foundry/mocks/policy/MockArbitrationPolicy.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/test/foundry/mocks/registry/MockLicenseRegistry.sol b/test/foundry/mocks/registry/MockLicenseRegistry.sol index 9e76c19f..29d549b1 100644 --- a/test/foundry/mocks/registry/MockLicenseRegistry.sol +++ b/test/foundry/mocks/registry/MockLicenseRegistry.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ERC1155 } from "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; diff --git a/test/foundry/mocks/token/MockERC20.sol b/test/foundry/mocks/token/MockERC20.sol index c6de4f27..e61c84a6 100644 --- a/test/foundry/mocks/token/MockERC20.sol +++ b/test/foundry/mocks/token/MockERC20.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; diff --git a/test/foundry/mocks/token/MockUSDC.sol b/test/foundry/mocks/token/MockUSDC.sol index 0a20e3f6..331e095f 100644 --- a/test/foundry/mocks/token/MockUSDC.sol +++ b/test/foundry/mocks/token/MockUSDC.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; diff --git a/test/foundry/modules/dispute/ArbitrationPolicySP.t.sol b/test/foundry/modules/dispute/ArbitrationPolicySP.t.sol index 8a259e2e..1c6e25d6 100644 --- a/test/foundry/modules/dispute/ArbitrationPolicySP.t.sol +++ b/test/foundry/modules/dispute/ArbitrationPolicySP.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // external diff --git a/test/foundry/modules/dispute/DisputeModule.t.sol b/test/foundry/modules/dispute/DisputeModule.t.sol index b145368e..862ef8c6 100644 --- a/test/foundry/modules/dispute/DisputeModule.t.sol +++ b/test/foundry/modules/dispute/DisputeModule.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // external diff --git a/test/foundry/modules/external/TokenWithdrawalModule.t.sol b/test/foundry/modules/external/TokenWithdrawalModule.t.sol index 5201e951..171a5841 100644 --- a/test/foundry/modules/external/TokenWithdrawalModule.t.sol +++ b/test/foundry/modules/external/TokenWithdrawalModule.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // external diff --git a/test/foundry/modules/licensing/LicensingModule.t.sol b/test/foundry/modules/licensing/LicensingModule.t.sol index 032eb7c5..34f52882 100644 --- a/test/foundry/modules/licensing/LicensingModule.t.sol +++ b/test/foundry/modules/licensing/LicensingModule.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // external diff --git a/test/foundry/modules/licensing/PILPolicyFramework.derivation.t.sol b/test/foundry/modules/licensing/PILPolicyFramework.derivation.t.sol index 98377c23..217b812e 100644 --- a/test/foundry/modules/licensing/PILPolicyFramework.derivation.t.sol +++ b/test/foundry/modules/licensing/PILPolicyFramework.derivation.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IAccessController } from "contracts/interfaces/IAccessController.sol"; diff --git a/test/foundry/modules/licensing/PILPolicyFramework.multi-parent.sol b/test/foundry/modules/licensing/PILPolicyFramework.multi-parent.sol index 2406f04b..206e941f 100644 --- a/test/foundry/modules/licensing/PILPolicyFramework.multi-parent.sol +++ b/test/foundry/modules/licensing/PILPolicyFramework.multi-parent.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IAccessController } from "contracts/interfaces/IAccessController.sol"; diff --git a/test/foundry/modules/licensing/PILPolicyFramework.t.sol b/test/foundry/modules/licensing/PILPolicyFramework.t.sol index ac10602a..ee7b1e1e 100644 --- a/test/foundry/modules/licensing/PILPolicyFramework.t.sol +++ b/test/foundry/modules/licensing/PILPolicyFramework.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IAccessController } from "contracts/interfaces/IAccessController.sol"; diff --git a/test/foundry/modules/royalty/AncestorsVaultLAP.t.sol b/test/foundry/modules/royalty/AncestorsVaultLAP.t.sol index edc5b3d0..c149e773 100644 --- a/test/foundry/modules/royalty/AncestorsVaultLAP.t.sol +++ b/test/foundry/modules/royalty/AncestorsVaultLAP.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; diff --git a/test/foundry/modules/royalty/RoyaltyModule.t.sol b/test/foundry/modules/royalty/RoyaltyModule.t.sol index ec46de7c..edef2696 100644 --- a/test/foundry/modules/royalty/RoyaltyModule.t.sol +++ b/test/foundry/modules/royalty/RoyaltyModule.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // contracts diff --git a/test/foundry/modules/royalty/RoyaltyPolicyLAP.t.sol b/test/foundry/modules/royalty/RoyaltyPolicyLAP.t.sol index 5b41ede6..8f5ba804 100644 --- a/test/foundry/modules/royalty/RoyaltyPolicyLAP.t.sol +++ b/test/foundry/modules/royalty/RoyaltyPolicyLAP.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; diff --git a/test/foundry/utils/BaseTest.t.sol b/test/foundry/utils/BaseTest.t.sol index 69e4cc11..0909797f 100644 --- a/test/foundry/utils/BaseTest.t.sol +++ b/test/foundry/utils/BaseTest.t.sol @@ -1,5 +1,5 @@ /* solhint-disable no-console */ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // external diff --git a/test/foundry/utils/DeployHelper.t.sol b/test/foundry/utils/DeployHelper.t.sol index def6065d..712e73e0 100644 --- a/test/foundry/utils/DeployHelper.t.sol +++ b/test/foundry/utils/DeployHelper.t.sol @@ -1,5 +1,5 @@ /* solhint-disable no-console */ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // external diff --git a/test/foundry/utils/LicensingHelper.t.sol b/test/foundry/utils/LicensingHelper.t.sol index 80d94834..f271b86b 100644 --- a/test/foundry/utils/LicensingHelper.t.sol +++ b/test/foundry/utils/LicensingHelper.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; diff --git a/test/foundry/utils/Users.t.sol b/test/foundry/utils/Users.t.sol index 8e484c5a..8645f9d6 100644 --- a/test/foundry/utils/Users.t.sol +++ b/test/foundry/utils/Users.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { Vm } from "forge-std/Vm.sol"; From 8694e2bd83404174f1e3df72d8a4595b850b7481 Mon Sep 17 00:00:00 2001 From: Raul Date: Fri, 23 Feb 2024 17:18:57 -0800 Subject: [PATCH 3/8] readme improvements, stray MIT --- README.md | 8 ++++++-- contracts/modules/external/TokenWithdrawalModule.sol | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c586f571..a5fd0ae9 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ - # Story Protocol Beta Story Protocol is building the Programmable IP layer to bring programmability to IP. Story Protocol transforms IPs into networks that transcend mediums and platforms, unleashing global creativity and liquidity. Instead of static JPEGs that lack interactivity and composability with other assets, programmable IPs are dynamic and extensible: built to be built upon. Creators and applications can register their IP with Story Protocol, converting their static IP into programmable IP by declaring a set of onchain rights that any program can read and write on. # Documentation -[Learn more about Story Protocol](https://docs.storyprotocol.xyz/) +šŸš§ WARNING, Beta version: This code is in active development and unaudited. Do not use in Production šŸš§ +[Learn more about Story Protocol](https://docs.storyprotocol.xyz/) # Getting Started @@ -80,6 +80,10 @@ To re-format code with prettier run: make format ``` +## Guidelines + +[See our contribution guidelines](./GUIDELINES.md) + # Security We use slither, a popular security framework from [Trail of Bits](https://www.trailofbits.com/). To use slither, you'll first need to [install python](https://www.python.org/downloads/) and [install slither](https://github.com/crytic/slither#how-to-install). diff --git a/contracts/modules/external/TokenWithdrawalModule.sol b/contracts/modules/external/TokenWithdrawalModule.sol index 0272cc99..181eed0a 100644 --- a/contracts/modules/external/TokenWithdrawalModule.sol +++ b/contracts/modules/external/TokenWithdrawalModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; From ebe44926bb95c3d7a7da5cd32195b3ada2ce01d6 Mon Sep 17 00:00:00 2001 From: Raul Date: Fri, 23 Feb 2024 17:30:37 -0800 Subject: [PATCH 4/8] stray MITs --- .../modules/external/ITokenWithdrawalModule.sol | 2 +- package.json | 12 ++++++------ test/foundry/AccessController.t.sol | 2 +- test/foundry/IPAccount.t.sol | 2 +- test/foundry/IPAccountMetaTx.t.sol | 2 +- test/foundry/access/AccessControlled.t.sol | 2 +- test/foundry/governance/Governance.t.sol | 2 +- test/foundry/mocks/CustomModuleType.sol | 2 +- test/foundry/mocks/MockAccessControlledModule.sol | 2 +- test/foundry/mocks/MockTokenGatedHook.sol | 2 +- test/foundry/mocks/access/MockAccessController.sol | 2 +- .../mocks/licensing/MockPolicyFrameworkManager.sol | 2 +- test/foundry/mocks/module/MockMetaTxModule.sol | 2 +- test/foundry/mocks/module/MockModule.sol | 2 +- test/foundry/mocks/module/MockOrchestratorModule.sol | 2 +- test/foundry/modules/ModuleBase.t.sol | 2 +- test/foundry/registries/IPAccountRegistry.t.sol | 2 +- test/foundry/registries/IPAssetRegistry.t.sol | 2 +- test/foundry/registries/ModuleRegistry.t.sol | 2 +- .../registries/metadata/IPAssetRenderer.t.sol | 2 +- .../registries/metadata/MetadataProvider.t.sol | 2 +- test/foundry/resolvers/IPResolver.t.sol | 2 +- test/foundry/resolvers/ResolverBase.t.sol | 2 +- 23 files changed, 28 insertions(+), 28 deletions(-) diff --git a/contracts/interfaces/modules/external/ITokenWithdrawalModule.sol b/contracts/interfaces/modules/external/ITokenWithdrawalModule.sol index 04bf0213..2796c435 100644 --- a/contracts/interfaces/modules/external/ITokenWithdrawalModule.sol +++ b/contracts/interfaces/modules/external/ITokenWithdrawalModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IModule } from "../base/IModule.sol"; diff --git a/package.json b/package.json index a3a64814..441730b2 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,14 @@ { - "name": "solidity-template", - "version": "1.0.0", - "description": "", - "main": "index.js", + "name": "@story-protocol/contracts", + "version": "0.3.0", + "description": "Story Protocol smart contracts", + "main": "", "directories": { "lib": "lib", "test": "test" }, + "author": "StoryProtocol", + "license": "BUSL-1.1", "scripts": { "lint": "npm run lint:js && npm run lint:sol", "lint:fix": "npm run lint:js:fix && npm run lint:sol:fix", @@ -19,8 +21,6 @@ "prepare": "husky install", "docgen": "hardhat docgen" }, - "author": "StoryProtocol", - "license": "MIT", "devDependencies": { "@nomicfoundation/hardhat-ethers": "^3.0.5", "@nomicfoundation/hardhat-foundry": "^1.1.1", diff --git a/test/foundry/AccessController.t.sol b/test/foundry/AccessController.t.sol index b43d2e3a..e85443d5 100644 --- a/test/foundry/AccessController.t.sol +++ b/test/foundry/AccessController.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IIPAccount } from "../../contracts/interfaces/IIPAccount.sol"; diff --git a/test/foundry/IPAccount.t.sol b/test/foundry/IPAccount.t.sol index 7c0d4961..1659f008 100644 --- a/test/foundry/IPAccount.t.sol +++ b/test/foundry/IPAccount.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IERC6551Account } from "erc6551/interfaces/IERC6551Account.sol"; diff --git a/test/foundry/IPAccountMetaTx.t.sol b/test/foundry/IPAccountMetaTx.t.sol index 76d004f5..484ba7df 100644 --- a/test/foundry/IPAccountMetaTx.t.sol +++ b/test/foundry/IPAccountMetaTx.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { MessageHashUtils } from "@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol"; diff --git a/test/foundry/access/AccessControlled.t.sol b/test/foundry/access/AccessControlled.t.sol index bfea1a82..01c0c390 100644 --- a/test/foundry/access/AccessControlled.t.sol +++ b/test/foundry/access/AccessControlled.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IIPAccount } from "contracts/interfaces/IIPAccount.sol"; diff --git a/test/foundry/governance/Governance.t.sol b/test/foundry/governance/Governance.t.sol index ef1a1312..5e03632b 100644 --- a/test/foundry/governance/Governance.t.sol +++ b/test/foundry/governance/Governance.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IIPAccount } from "../../../contracts/interfaces/IIPAccount.sol"; diff --git a/test/foundry/mocks/CustomModuleType.sol b/test/foundry/mocks/CustomModuleType.sol index fb50e246..572a9f7c 100644 --- a/test/foundry/mocks/CustomModuleType.sol +++ b/test/foundry/mocks/CustomModuleType.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IModule } from "contracts/interfaces/modules/base/IModule.sol"; diff --git a/test/foundry/mocks/MockAccessControlledModule.sol b/test/foundry/mocks/MockAccessControlledModule.sol index eeaf73b2..e07ee877 100644 --- a/test/foundry/mocks/MockAccessControlledModule.sol +++ b/test/foundry/mocks/MockAccessControlledModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IModule } from "contracts/interfaces/modules/base/IModule.sol"; diff --git a/test/foundry/mocks/MockTokenGatedHook.sol b/test/foundry/mocks/MockTokenGatedHook.sol index 5426f611..18995cb4 100644 --- a/test/foundry/mocks/MockTokenGatedHook.sol +++ b/test/foundry/mocks/MockTokenGatedHook.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IERC165 } from "@openzeppelin/contracts/utils/introspection/ERC165.sol"; diff --git a/test/foundry/mocks/access/MockAccessController.sol b/test/foundry/mocks/access/MockAccessController.sol index 6ac497f7..01eb479c 100644 --- a/test/foundry/mocks/access/MockAccessController.sol +++ b/test/foundry/mocks/access/MockAccessController.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IAccessController } from "contracts/interfaces/IAccessController.sol"; diff --git a/test/foundry/mocks/licensing/MockPolicyFrameworkManager.sol b/test/foundry/mocks/licensing/MockPolicyFrameworkManager.sol index c1be1a5f..9e95bd59 100644 --- a/test/foundry/mocks/licensing/MockPolicyFrameworkManager.sol +++ b/test/foundry/mocks/licensing/MockPolicyFrameworkManager.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; // contracts diff --git a/test/foundry/mocks/module/MockMetaTxModule.sol b/test/foundry/mocks/module/MockMetaTxModule.sol index aeecfe39..e0c8b30e 100644 --- a/test/foundry/mocks/module/MockMetaTxModule.sol +++ b/test/foundry/mocks/module/MockMetaTxModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; diff --git a/test/foundry/mocks/module/MockModule.sol b/test/foundry/mocks/module/MockModule.sol index 03807d93..1c447642 100644 --- a/test/foundry/mocks/module/MockModule.sol +++ b/test/foundry/mocks/module/MockModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; diff --git a/test/foundry/mocks/module/MockOrchestratorModule.sol b/test/foundry/mocks/module/MockOrchestratorModule.sol index c69af9b2..739c2bd7 100644 --- a/test/foundry/mocks/module/MockOrchestratorModule.sol +++ b/test/foundry/mocks/module/MockOrchestratorModule.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ERC165Checker } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; diff --git a/test/foundry/modules/ModuleBase.t.sol b/test/foundry/modules/ModuleBase.t.sol index 0643df4b..8b530cb1 100644 --- a/test/foundry/modules/ModuleBase.t.sol +++ b/test/foundry/modules/ModuleBase.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IModule } from "contracts/interfaces/modules/base/IModule.sol"; diff --git a/test/foundry/registries/IPAccountRegistry.t.sol b/test/foundry/registries/IPAccountRegistry.t.sol index 77f0b658..6579b147 100644 --- a/test/foundry/registries/IPAccountRegistry.t.sol +++ b/test/foundry/registries/IPAccountRegistry.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IPAccountImpl } from "../../../contracts/IPAccountImpl.sol"; diff --git a/test/foundry/registries/IPAssetRegistry.t.sol b/test/foundry/registries/IPAssetRegistry.t.sol index 8c6d2cab..ed86d383 100644 --- a/test/foundry/registries/IPAssetRegistry.t.sol +++ b/test/foundry/registries/IPAssetRegistry.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IIPAssetRegistry } from "contracts/interfaces/registries/IIPAssetRegistry.sol"; diff --git a/test/foundry/registries/ModuleRegistry.t.sol b/test/foundry/registries/ModuleRegistry.t.sol index 037b3131..74723635 100644 --- a/test/foundry/registries/ModuleRegistry.t.sol +++ b/test/foundry/registries/ModuleRegistry.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { Errors } from "contracts/lib/Errors.sol"; diff --git a/test/foundry/registries/metadata/IPAssetRenderer.t.sol b/test/foundry/registries/metadata/IPAssetRenderer.t.sol index a6b8ebe0..4ce33d8d 100644 --- a/test/foundry/registries/metadata/IPAssetRenderer.t.sol +++ b/test/foundry/registries/metadata/IPAssetRenderer.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { Strings } from "@openzeppelin/contracts/utils/Strings.sol"; diff --git a/test/foundry/registries/metadata/MetadataProvider.t.sol b/test/foundry/registries/metadata/MetadataProvider.t.sol index 683b3160..923d8ab8 100644 --- a/test/foundry/registries/metadata/MetadataProvider.t.sol +++ b/test/foundry/registries/metadata/MetadataProvider.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IP } from "contracts/lib/IP.sol"; diff --git a/test/foundry/resolvers/IPResolver.t.sol b/test/foundry/resolvers/IPResolver.t.sol index bdde3a64..884ce7cb 100644 --- a/test/foundry/resolvers/IPResolver.t.sol +++ b/test/foundry/resolvers/IPResolver.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { ResolverBaseTest } from "test/foundry/resolvers/ResolverBase.t.sol"; diff --git a/test/foundry/resolvers/ResolverBase.t.sol b/test/foundry/resolvers/ResolverBase.t.sol index d49a5f4c..ef754953 100644 --- a/test/foundry/resolvers/ResolverBase.t.sol +++ b/test/foundry/resolvers/ResolverBase.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.23; import { IResolver } from "contracts/interfaces/resolvers/IResolver.sol"; From e379c8051bd818f4cac7f7d4602b01293559d201 Mon Sep 17 00:00:00 2001 From: Raul Date: Fri, 23 Feb 2024 17:31:53 -0800 Subject: [PATCH 5/8] package json license --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 441730b2..b7ab3378 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "test": "test" }, "author": "StoryProtocol", - "license": "BUSL-1.1", + "license": "UNLICENSED", "scripts": { "lint": "npm run lint:js && npm run lint:sol", "lint:fix": "npm run lint:js:fix && npm run lint:sol:fix", From edacaffd6f02b003e50346548afd36446d918099 Mon Sep 17 00:00:00 2001 From: Raul Date: Fri, 23 Feb 2024 17:45:26 -0800 Subject: [PATCH 6/8] fix comments --- LICENSE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index 3b695b9a..d23c1358 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ Business Source License 1.1 -License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved. +License text copyright (c) 2020 MariaDB Corporation Ab, All Rights Reserved. "Business Source License" is a trademark of MariaDB Corporation Ab. ----------------------------------------------------------------------------- @@ -41,9 +41,9 @@ Covenants of Licensor In consideration of the right to use this Licenseā€™s text and the ā€œBusiness Source Licenseā€ name and trademark, Licensor covenants to MariaDB, and to all other recipients of the licensed work to be provided by Licensor: -1. To specify as the Change License the GPL Version 2.0 or any later version, or a license that is compatible with GPL Version 2.0 or a later version, where ā€œcompatibleā€ means that software provided under the Change License can be included in a program with software provided under GPL Version 2.0 or a later version. Licensor may specify additional Change Licenses without limitation. +To specify as the Change License the GPL Version 2.0 or any later version, or a license that is compatible with GPL Version 2.0 or a later version, where ā€œcompatibleā€ means that software provided under the Change License can be included in a program with software provided under GPL Version 2.0 or a later version. Licensor may specify additional Change Licenses without limitation. -2. To either: (a) specify an additional grant of rights to use that does not impose any additional restriction on the right granted in this License, as the Additional Use Grant; or (b) insert the text ā€œNoneā€ to specify a Change Date. Not to modify this License in any other way. +To either: (a) specify an additional grant of rights to use that does not impose any additional restriction on the right granted in this License, as the Additional Use Grant; or (b) insert the text ā€œNoneā€ to specify a Change Date. Not to modify this License in any other way. Notice From a86782fbf4b3c093504bdbf0b49bb0fd8cf01027 Mon Sep 17 00:00:00 2001 From: Raul Date: Fri, 23 Feb 2024 17:48:02 -0800 Subject: [PATCH 7/8] fix licensing work --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index d23c1358..81836c18 100644 --- a/LICENSE +++ b/LICENSE @@ -9,7 +9,7 @@ Parameters Licensor: Story Protocol, Inc. -Licensed Work: Story Protocol IP Protocol software. +Licensed Work: Story Protocol Core Contracts. The Licensed Work is (c) 2024 Story Protocol, Inc. Additional Use Grant: None. From e2f5e001aafbf4cf9eec5d80952dcc0ecaa50d92 Mon Sep 17 00:00:00 2001 From: Raul Date: Fri, 23 Feb 2024 17:50:18 -0800 Subject: [PATCH 8/8] fix --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a5fd0ae9..6f01e360 100644 --- a/README.md +++ b/README.md @@ -98,10 +98,11 @@ And get your slither output. # Licensing -The license for Story Protocol Core is the Business Source License 1.1 (BUSL-1.1), seeĀ LICENSE." +The license for Story Protocol Core is the Business Source License 1.1 (BUSL-1.1), seeĀ LICENSE. In the terms of service with your End Users, governing your End Usersā€™ use of and access to your App, you will include the following sentence: -ā€œThis application is integrated with functionality provided by Story Protocol, Inc that enables intellectual property registration and tracking. You acknowledge and agree that such functionality and your use of this application is subject to Story Protocol, Inc.ā€™s End User Terms." + +ā€œThis application is integrated with functionality provided by Story Protocol, Inc. that enables intellectual property registration and tracking. You acknowledge and agree that such functionality and your use of this application is subject to Story Protocol, Inc.ā€™s End User Terms." # Document Generation