├── .editorconfig ├── .env.example ├── .eslintignore ├── .eslintrc.js ├── .gas-snapshot ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yaml │ ├── feature-request.md │ ├── task.md │ └── tracking_issue.md ├── pull_request_template.md └── workflows │ ├── foundry_ci.yml │ ├── hardhat_e2e.yml │ ├── notify-slack-on-pr-merge.yml │ └── scorecard.yml ├── .gitignore ├── .gitmodules ├── .husky └── pre-push ├── .pre-commit-config.yaml ├── .prettierignore ├── .prettierrc ├── .solcover.js ├── .solhint.json ├── .solhintignore ├── CHANGELOG.md ├── GUIDELINES.md ├── LICENSE ├── Makefile ├── README.md ├── SECURITY.md ├── UPGRADES.md ├── assets ├── beta-architecture.png └── license-image.gif ├── audits ├── v1.0.0 │ └── Trust_Story_v1_fix_review.pdf ├── v1.1.0 │ ├── SlowMist Audit Report - Story Protocol.pdf │ └── Trust_Story_v1_1_fix_review.pdf └── v1.3 │ ├── FuzzingLabs - STORY - Final Audit Report.pdf │ ├── Halborn_Proof of Creativity Protocol _ SSC.pdf │ └── Trust_Story_Contracts_L1&PoCv02.pdf ├── contracts ├── GroupNFT.sol ├── IPAccountImpl.sol ├── IPAccountStorage.sol ├── LicenseToken.sol ├── access │ ├── AccessControlled.sol │ ├── AccessController.sol │ └── IPGraphACL.sol ├── interfaces │ ├── IGroupNFT.sol │ ├── IIPAccount.sol │ ├── IIPAccountStorage.sol │ ├── ILicenseToken.sol │ ├── access │ │ ├── IAccessController.sol │ │ └── IIPGraphACL.sol │ ├── modules │ │ ├── base │ │ │ ├── IHookModule.sol │ │ │ ├── IModule.sol │ │ │ └── IViewModule.sol │ │ ├── dispute │ │ │ ├── IDisputeModule.sol │ │ │ └── policies │ │ │ │ ├── IArbitrationPolicy.sol │ │ │ │ └── UMA │ │ │ │ ├── IArbitrationPolicyUMA.sol │ │ │ │ ├── IOOV3.sol │ │ │ │ └── IOOV3Callbacks.sol │ │ ├── grouping │ │ │ ├── IGroupRewardPool.sol │ │ │ └── IGroupingModule.sol │ │ ├── licensing │ │ │ ├── ILicenseTemplate.sol │ │ │ ├── ILicensingHook.sol │ │ │ ├── ILicensingModule.sol │ │ │ └── IPILicenseTemplate.sol │ │ ├── metadata │ │ │ ├── ICoreMetadataModule.sol │ │ │ └── ICoreMetadataViewModule.sol │ │ └── royalty │ │ │ ├── IRoyaltyModule.sol │ │ │ └── policies │ │ │ ├── IExternalRoyaltyPolicy.sol │ │ │ ├── IExternalRoyaltyPolicyBase.sol │ │ │ ├── IGraphAwareRoyaltyPolicy.sol │ │ │ ├── IIpRoyaltyVault.sol │ │ │ ├── IRoyaltyPolicy.sol │ │ │ └── IVaultController.sol │ ├── pause │ │ └── IProtocolPauseAdmin.sol │ └── registries │ │ ├── IGroupIPAssetRegistry.sol │ │ ├── IIPAccountRegistry.sol │ │ ├── IIPAssetRegistry.sol │ │ ├── ILicenseRegistry.sol │ │ └── IModuleRegistry.sol ├── lib │ ├── AccessPermission.sol │ ├── ArrayUtils.sol │ ├── BytesConversion.sol │ ├── Errors.sol │ ├── ExpiringOps.sol │ ├── IPAccountStorageOps.sol │ ├── Licensing.sol │ ├── MetaTx.sol │ ├── PILFlavors.sol │ ├── PILicenseTemplateErrors.sol │ ├── ProtocolAdmin.sol │ ├── ShortStringOps.sol │ ├── modules │ │ └── Module.sol │ └── registries │ │ └── IPAccountChecker.sol ├── modules │ ├── BaseModule.sol │ ├── dispute │ │ ├── DisputeModule.sol │ │ └── policies │ │ │ └── UMA │ │ │ └── ArbitrationPolicyUMA.sol │ ├── grouping │ │ ├── EvenSplitGroupPool.sol │ │ └── GroupingModule.sol │ ├── licensing │ │ ├── BaseLicenseTemplateUpgradeable.sol │ │ ├── LicensingModule.sol │ │ ├── PILTermsRenderer.sol │ │ ├── PILicenseTemplate.sol │ │ └── parameter-helpers │ │ │ └── LicensorApprovalChecker.sol │ ├── metadata │ │ ├── CoreMetadataModule.sol │ │ └── CoreMetadataViewModule.sol │ └── royalty │ │ ├── RoyaltyModule.sol │ │ └── policies │ │ ├── IpRoyaltyVault.sol │ │ ├── LAP │ │ └── RoyaltyPolicyLAP.sol │ │ ├── LRP │ │ └── RoyaltyPolicyLRP.sol │ │ └── VaultController.sol ├── pause │ ├── ProtocolPausableUpgradeable.sol │ └── ProtocolPauseAdmin.sol └── registries │ ├── GroupIPAssetRegistry.sol │ ├── IPAccountRegistry.sol │ ├── IPAssetRegistry.sol │ ├── LicenseRegistry.sol │ └── ModuleRegistry.sol ├── deploy-out ├── deployment-1315.json └── deployment-1514.json ├── docs └── DEPLOY_GUIDE.md ├── foundry.toml ├── hardhat.config.ts ├── helper-hardhat-config.ts ├── package.json ├── remappings.txt ├── script ├── foundry │ ├── deployment │ │ ├── Main.s.sol │ │ └── MockAssets.s.sol │ ├── upgrades │ │ ├── UpgradeDeployer.1.3.2.s.sol │ │ ├── UpgradeDeployer.example.s.sol │ │ ├── UpgradeTxGenerator.1.3.2.s.sol │ │ └── UpgradeTxGenerator.example.s.sol │ └── utils │ │ ├── BroadcastManager.s.sol │ │ ├── Create3Deployer.sol │ │ ├── DeployHelper.sol │ │ ├── ICreate3Deployer.sol │ │ ├── JsonBatchTxHelper.s.sol │ │ ├── JsonDeploymentHandler.s.sol │ │ ├── StringUtil.sol │ │ └── upgrades │ │ ├── DeployerUtils.sol │ │ ├── ERC7201Helper.s.sol │ │ ├── StorageLayoutCheck.s.sol │ │ ├── TxGenerator.s.sol │ │ ├── UpgradeImplHelper.sol │ │ └── UpgradedImplHelper.sol └── hardhat │ ├── deployment │ ├── 00-deploy-main.ts │ └── 01-deploy-mock.ts │ ├── pre-deployment │ └── 00-fund-accounts.ts │ ├── prepare-test.ts │ └── utils │ ├── constants.ts │ ├── deployed.ts │ ├── interfaces.ts │ ├── mock-assets.ts │ └── verify.ts ├── slither.config.json ├── tenderly.yaml ├── test ├── foundry │ ├── IPAccount.t.sol │ ├── IPAccountImpl.btt.t.sol │ ├── IPAccountImpl.tree │ ├── IPAccountMetaTx.t.sol │ ├── IPAccountStorage.t.sol │ ├── IPAccountStorageOps.t.sol │ ├── LicenseToken.t.sol │ ├── access │ │ ├── AccessControlled.t.sol │ │ ├── AccessController.t.sol │ │ ├── IPGraphACL.t.sol │ │ └── btt │ │ │ ├── AccessControlled.tree │ │ │ ├── AccessController.checkPermission.tree │ │ │ └── AccessController.setPermission.tree │ ├── integration │ │ ├── BaseIntegration.t.sol │ │ ├── big-bang │ │ │ ├── README.md │ │ │ └── SingleNftCollection.t.sol │ │ └── flows │ │ │ ├── disputes │ │ │ ├── Disputes.t.sol │ │ │ └── README.md │ │ │ ├── grouping │ │ │ └── Grouping.t.sol │ │ │ ├── licensing │ │ │ ├── LicensingIntegration.t.sol │ │ │ └── LicensingScenarios.t.sol │ │ │ └── royalty │ │ │ └── Royalty.t.sol │ ├── invariants │ │ ├── BaseInvariant.t.sol │ │ ├── DisputeModule.t.sol │ │ ├── IPAccount.t.sol │ │ ├── IPAssetRegistry.t.sol │ │ ├── IpRoyaltyVault.t.sol │ │ ├── LicenseToken.t.sol │ │ └── LicensingModule.t.sol │ ├── mocks │ │ ├── CustomModuleType.sol │ │ ├── MockIPGraph.sol │ │ ├── MockProtocolPausable.sol │ │ ├── MockTokenGatedHook.sol │ │ ├── dispute │ │ │ ├── MockArbitrationPolicy.sol │ │ │ └── MockIpAssetRegistry.sol │ │ ├── grouping │ │ │ └── MockEvenSplitGroupPool.sol │ │ ├── module │ │ │ ├── LicenseRegistryHarness.sol │ │ │ ├── MockAccessControlledModule.sol │ │ │ ├── MockAccessControllerV2.sol │ │ │ ├── MockAllMetadataViewModule.sol │ │ │ ├── MockCoreMetadataViewModule.sol │ │ │ ├── MockIpRoyaltyVaultV2.sol │ │ │ ├── MockLicenseTemplate.sol │ │ │ ├── MockLicensingHook.sol │ │ │ ├── MockMetaTxModule.sol │ │ │ ├── MockMetadataModule.sol │ │ │ ├── MockModule.sol │ │ │ └── MockOrchestratorModule.sol │ │ ├── policy │ │ │ ├── MockExternalRoyaltyPolicy1.sol │ │ │ ├── MockExternalRoyaltyPolicy2.sol │ │ │ ├── MockExternalRoyaltyPolicy3.sol │ │ │ └── MockRoyaltyPolicyLAP.sol │ │ └── token │ │ │ ├── MockERC1155.sol │ │ │ ├── MockERC20.sol │ │ │ ├── MockERC721.sol │ │ │ ├── MockERC721WithoutMetadata.sol │ │ │ └── SUSD.sol │ ├── modules │ │ ├── ModuleBase.t.sol │ │ ├── dispute │ │ │ ├── DisputeModule.t.sol │ │ │ ├── btt │ │ │ │ ├── DisputeModule.actions.tree │ │ │ │ └── DisputeModule.setters.tree │ │ │ └── policies │ │ │ │ └── UMA │ │ │ │ └── ArbitrationPolicyUMA.t.sol │ │ ├── grouping │ │ │ ├── EvenSplitGroupPool.t.sol │ │ │ └── GroupingModule.t.sol │ │ ├── licensing │ │ │ ├── LicensingModule.t.sol │ │ │ ├── PILicenseTemplate.t.sol │ │ │ └── README.md │ │ ├── metadata │ │ │ ├── CoreMetadataModule.t.sol │ │ │ ├── CoreMetadataViewModule.t.sol │ │ │ ├── MetadataModule.t.sol │ │ │ └── btt │ │ │ │ ├── CoreMetadataModule.tree │ │ │ │ └── CoreMetadataViewModule.tree │ │ └── royalty │ │ │ ├── IpRoyaltyVault.t.sol │ │ │ ├── LAP │ │ │ └── RoyaltyPolicyLAP.t.sol │ │ │ ├── LRP │ │ │ └── RoyaltyPolicyLRP.t.sol │ │ │ ├── RoyaltyModule.t.sol │ │ │ ├── VaultController.t.sol │ │ │ └── btt │ │ │ ├── IpRoyaltyVault.claim.tree │ │ │ ├── IpRoyaltyVault.setters.tree │ │ │ ├── IpRoyaltyVault.snapshot.tree │ │ │ ├── RoyaltyModule.callbacks.tree │ │ │ ├── RoyaltyModule.payment.tree │ │ │ ├── RoyaltyModule.setters.tree │ │ │ ├── RoyaltyPolicyLAP.initPolicy.tree │ │ │ └── RoyaltyPolicyLAP.tree │ ├── pause │ │ └── ProtocolPauseAdmin.t.sol │ ├── registries │ │ ├── IPAccountRegistry.t.sol │ │ ├── IPAssetRegistry.t.sol │ │ ├── LicenseRegistry.t.sol │ │ ├── ModuleRegistry.t.sol │ │ └── btt │ │ │ ├── IPAccountRegistry.tree │ │ │ ├── IPAssetRegistry.tree │ │ │ ├── LicenseRegistry.attachLicenseTermsToIp.tree │ │ │ ├── LicenseRegistry.registerDerivativeIp.tree │ │ │ ├── LicenseRegistry.setters.tree │ │ │ └── ModuleRegistry.tree │ ├── upgrades │ │ └── Upgrades.t.sol │ └── utils │ │ ├── BaseTest.t.sol │ │ ├── LicensingHelper.t.sol │ │ ├── TestProxyHelper.sol │ │ └── Users.t.sol └── hardhat │ ├── README.md │ └── e2e │ ├── constants.ts │ ├── dispute │ └── dispute.test.ts │ ├── grouping │ ├── group.authority.test.ts │ ├── group.ipa.test.ts │ └── group.royalty.test.ts │ ├── ipa │ ├── ipa.test.ts │ └── metadata.test.ts │ ├── ipaccount │ └── ipaccount.test.ts │ ├── license │ ├── attachLicenseTerms.test.ts │ ├── licenseTemplate.test.ts │ ├── licenseToken.test.ts │ ├── mintLicenseTokens.test.ts │ ├── registerDerivative.test.ts │ └── registerLicenseTerms.test.ts │ ├── licenseTermsTemplate.ts │ ├── permission │ └── permission.test.ts │ ├── royalty │ ├── deployVault.test.ts │ └── royalty.test.ts │ ├── setup.ts │ └── utils │ ├── erc20Helper.ts │ ├── licenseHelper.ts │ ├── mintNFTAndRegisterIPA.ts │ └── nftHelper.ts ├── tsconfig.json ├── upgrades └── v1.3.1-to-v1.3.2 │ ├── chainId-1315 │ ├── execute-v1.3.1-to-v1.3.2-1315.json │ ├── schedule-v1.3.1-to-v1.3.2-1315.json │ ├── transactions.json │ └── upgrade-v1.3.1-to-v1.3.2-1315.json │ └── chainId-1514 │ ├── execute-v1.3.1-to-v1.3.2-1514.json │ ├── schedule-v1.3.1-to-v1.3.2-1514.json │ ├── transactions.json │ └── upgrade-v1.3.1-to-v1.3.2-1514.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .openzeppelin 3 | .eslintrc.js -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gas-snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.gas-snapshot -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @kingster-will @romain-mg @LeoHChen 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.github/ISSUE_TEMPLATE/config.yaml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.github/ISSUE_TEMPLATE/feature-request.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/task.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.github/ISSUE_TEMPLATE/task.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/tracking_issue.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.github/ISSUE_TEMPLATE/tracking_issue.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/foundry_ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.github/workflows/foundry_ci.yml -------------------------------------------------------------------------------- /.github/workflows/hardhat_e2e.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.github/workflows/hardhat_e2e.yml -------------------------------------------------------------------------------- /.github/workflows/notify-slack-on-pr-merge.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.github/workflows/notify-slack-on-pr-merge.yml -------------------------------------------------------------------------------- /.github/workflows/scorecard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.github/workflows/scorecard.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.gitmodules -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.husky/pre-push -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.prettierrc -------------------------------------------------------------------------------- /.solcover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.solcover.js -------------------------------------------------------------------------------- /.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.solhint.json -------------------------------------------------------------------------------- /.solhintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/.solhintignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /GUIDELINES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/GUIDELINES.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/SECURITY.md -------------------------------------------------------------------------------- /UPGRADES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/UPGRADES.md -------------------------------------------------------------------------------- /assets/beta-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/assets/beta-architecture.png -------------------------------------------------------------------------------- /assets/license-image.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/assets/license-image.gif -------------------------------------------------------------------------------- /audits/v1.0.0/Trust_Story_v1_fix_review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/audits/v1.0.0/Trust_Story_v1_fix_review.pdf -------------------------------------------------------------------------------- /audits/v1.1.0/SlowMist Audit Report - Story Protocol.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/audits/v1.1.0/SlowMist Audit Report - Story Protocol.pdf -------------------------------------------------------------------------------- /audits/v1.1.0/Trust_Story_v1_1_fix_review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/audits/v1.1.0/Trust_Story_v1_1_fix_review.pdf -------------------------------------------------------------------------------- /audits/v1.3/FuzzingLabs - STORY - Final Audit Report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/audits/v1.3/FuzzingLabs - STORY - Final Audit Report.pdf -------------------------------------------------------------------------------- /audits/v1.3/Halborn_Proof of Creativity Protocol _ SSC.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/audits/v1.3/Halborn_Proof of Creativity Protocol _ SSC.pdf -------------------------------------------------------------------------------- /audits/v1.3/Trust_Story_Contracts_L1&PoCv02.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/audits/v1.3/Trust_Story_Contracts_L1&PoCv02.pdf -------------------------------------------------------------------------------- /contracts/GroupNFT.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/GroupNFT.sol -------------------------------------------------------------------------------- /contracts/IPAccountImpl.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/IPAccountImpl.sol -------------------------------------------------------------------------------- /contracts/IPAccountStorage.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/IPAccountStorage.sol -------------------------------------------------------------------------------- /contracts/LicenseToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/LicenseToken.sol -------------------------------------------------------------------------------- /contracts/access/AccessControlled.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/access/AccessControlled.sol -------------------------------------------------------------------------------- /contracts/access/AccessController.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/access/AccessController.sol -------------------------------------------------------------------------------- /contracts/access/IPGraphACL.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/access/IPGraphACL.sol -------------------------------------------------------------------------------- /contracts/interfaces/IGroupNFT.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/IGroupNFT.sol -------------------------------------------------------------------------------- /contracts/interfaces/IIPAccount.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/IIPAccount.sol -------------------------------------------------------------------------------- /contracts/interfaces/IIPAccountStorage.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/IIPAccountStorage.sol -------------------------------------------------------------------------------- /contracts/interfaces/ILicenseToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/ILicenseToken.sol -------------------------------------------------------------------------------- /contracts/interfaces/access/IAccessController.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/access/IAccessController.sol -------------------------------------------------------------------------------- /contracts/interfaces/access/IIPGraphACL.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/access/IIPGraphACL.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/base/IHookModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/base/IHookModule.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/base/IModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/base/IModule.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/base/IViewModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/base/IViewModule.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/dispute/IDisputeModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/dispute/IDisputeModule.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/dispute/policies/IArbitrationPolicy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/dispute/policies/IArbitrationPolicy.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/dispute/policies/UMA/IArbitrationPolicyUMA.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/dispute/policies/UMA/IArbitrationPolicyUMA.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/dispute/policies/UMA/IOOV3.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/dispute/policies/UMA/IOOV3.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/dispute/policies/UMA/IOOV3Callbacks.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/dispute/policies/UMA/IOOV3Callbacks.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/grouping/IGroupRewardPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/grouping/IGroupRewardPool.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/grouping/IGroupingModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/grouping/IGroupingModule.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/licensing/ILicenseTemplate.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/licensing/ILicenseTemplate.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/licensing/ILicensingHook.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/licensing/ILicensingHook.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/licensing/ILicensingModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/licensing/ILicensingModule.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/licensing/IPILicenseTemplate.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/licensing/IPILicenseTemplate.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/metadata/ICoreMetadataModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/metadata/ICoreMetadataModule.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/metadata/ICoreMetadataViewModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/metadata/ICoreMetadataViewModule.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/royalty/IRoyaltyModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/royalty/IRoyaltyModule.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/royalty/policies/IExternalRoyaltyPolicy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/royalty/policies/IExternalRoyaltyPolicy.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/royalty/policies/IExternalRoyaltyPolicyBase.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/royalty/policies/IExternalRoyaltyPolicyBase.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/royalty/policies/IGraphAwareRoyaltyPolicy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/royalty/policies/IGraphAwareRoyaltyPolicy.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/royalty/policies/IIpRoyaltyVault.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/royalty/policies/IIpRoyaltyVault.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/royalty/policies/IRoyaltyPolicy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/royalty/policies/IRoyaltyPolicy.sol -------------------------------------------------------------------------------- /contracts/interfaces/modules/royalty/policies/IVaultController.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/modules/royalty/policies/IVaultController.sol -------------------------------------------------------------------------------- /contracts/interfaces/pause/IProtocolPauseAdmin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/pause/IProtocolPauseAdmin.sol -------------------------------------------------------------------------------- /contracts/interfaces/registries/IGroupIPAssetRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/registries/IGroupIPAssetRegistry.sol -------------------------------------------------------------------------------- /contracts/interfaces/registries/IIPAccountRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/registries/IIPAccountRegistry.sol -------------------------------------------------------------------------------- /contracts/interfaces/registries/IIPAssetRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/registries/IIPAssetRegistry.sol -------------------------------------------------------------------------------- /contracts/interfaces/registries/ILicenseRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/registries/ILicenseRegistry.sol -------------------------------------------------------------------------------- /contracts/interfaces/registries/IModuleRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/interfaces/registries/IModuleRegistry.sol -------------------------------------------------------------------------------- /contracts/lib/AccessPermission.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/lib/AccessPermission.sol -------------------------------------------------------------------------------- /contracts/lib/ArrayUtils.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/lib/ArrayUtils.sol -------------------------------------------------------------------------------- /contracts/lib/BytesConversion.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/lib/BytesConversion.sol -------------------------------------------------------------------------------- /contracts/lib/Errors.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/lib/Errors.sol -------------------------------------------------------------------------------- /contracts/lib/ExpiringOps.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/lib/ExpiringOps.sol -------------------------------------------------------------------------------- /contracts/lib/IPAccountStorageOps.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/lib/IPAccountStorageOps.sol -------------------------------------------------------------------------------- /contracts/lib/Licensing.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/lib/Licensing.sol -------------------------------------------------------------------------------- /contracts/lib/MetaTx.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/lib/MetaTx.sol -------------------------------------------------------------------------------- /contracts/lib/PILFlavors.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/lib/PILFlavors.sol -------------------------------------------------------------------------------- /contracts/lib/PILicenseTemplateErrors.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/lib/PILicenseTemplateErrors.sol -------------------------------------------------------------------------------- /contracts/lib/ProtocolAdmin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/lib/ProtocolAdmin.sol -------------------------------------------------------------------------------- /contracts/lib/ShortStringOps.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/lib/ShortStringOps.sol -------------------------------------------------------------------------------- /contracts/lib/modules/Module.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/lib/modules/Module.sol -------------------------------------------------------------------------------- /contracts/lib/registries/IPAccountChecker.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/lib/registries/IPAccountChecker.sol -------------------------------------------------------------------------------- /contracts/modules/BaseModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/BaseModule.sol -------------------------------------------------------------------------------- /contracts/modules/dispute/DisputeModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/dispute/DisputeModule.sol -------------------------------------------------------------------------------- /contracts/modules/dispute/policies/UMA/ArbitrationPolicyUMA.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/dispute/policies/UMA/ArbitrationPolicyUMA.sol -------------------------------------------------------------------------------- /contracts/modules/grouping/EvenSplitGroupPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/grouping/EvenSplitGroupPool.sol -------------------------------------------------------------------------------- /contracts/modules/grouping/GroupingModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/grouping/GroupingModule.sol -------------------------------------------------------------------------------- /contracts/modules/licensing/BaseLicenseTemplateUpgradeable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/licensing/BaseLicenseTemplateUpgradeable.sol -------------------------------------------------------------------------------- /contracts/modules/licensing/LicensingModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/licensing/LicensingModule.sol -------------------------------------------------------------------------------- /contracts/modules/licensing/PILTermsRenderer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/licensing/PILTermsRenderer.sol -------------------------------------------------------------------------------- /contracts/modules/licensing/PILicenseTemplate.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/licensing/PILicenseTemplate.sol -------------------------------------------------------------------------------- /contracts/modules/licensing/parameter-helpers/LicensorApprovalChecker.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/licensing/parameter-helpers/LicensorApprovalChecker.sol -------------------------------------------------------------------------------- /contracts/modules/metadata/CoreMetadataModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/metadata/CoreMetadataModule.sol -------------------------------------------------------------------------------- /contracts/modules/metadata/CoreMetadataViewModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/metadata/CoreMetadataViewModule.sol -------------------------------------------------------------------------------- /contracts/modules/royalty/RoyaltyModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/royalty/RoyaltyModule.sol -------------------------------------------------------------------------------- /contracts/modules/royalty/policies/IpRoyaltyVault.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/royalty/policies/IpRoyaltyVault.sol -------------------------------------------------------------------------------- /contracts/modules/royalty/policies/LAP/RoyaltyPolicyLAP.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/royalty/policies/LAP/RoyaltyPolicyLAP.sol -------------------------------------------------------------------------------- /contracts/modules/royalty/policies/LRP/RoyaltyPolicyLRP.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/royalty/policies/LRP/RoyaltyPolicyLRP.sol -------------------------------------------------------------------------------- /contracts/modules/royalty/policies/VaultController.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/modules/royalty/policies/VaultController.sol -------------------------------------------------------------------------------- /contracts/pause/ProtocolPausableUpgradeable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/pause/ProtocolPausableUpgradeable.sol -------------------------------------------------------------------------------- /contracts/pause/ProtocolPauseAdmin.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/pause/ProtocolPauseAdmin.sol -------------------------------------------------------------------------------- /contracts/registries/GroupIPAssetRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/registries/GroupIPAssetRegistry.sol -------------------------------------------------------------------------------- /contracts/registries/IPAccountRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/registries/IPAccountRegistry.sol -------------------------------------------------------------------------------- /contracts/registries/IPAssetRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/registries/IPAssetRegistry.sol -------------------------------------------------------------------------------- /contracts/registries/LicenseRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/registries/LicenseRegistry.sol -------------------------------------------------------------------------------- /contracts/registries/ModuleRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/contracts/registries/ModuleRegistry.sol -------------------------------------------------------------------------------- /deploy-out/deployment-1315.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/deploy-out/deployment-1315.json -------------------------------------------------------------------------------- /deploy-out/deployment-1514.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/deploy-out/deployment-1514.json -------------------------------------------------------------------------------- /docs/DEPLOY_GUIDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/docs/DEPLOY_GUIDE.md -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/foundry.toml -------------------------------------------------------------------------------- /hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/hardhat.config.ts -------------------------------------------------------------------------------- /helper-hardhat-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/helper-hardhat-config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/package.json -------------------------------------------------------------------------------- /remappings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/remappings.txt -------------------------------------------------------------------------------- /script/foundry/deployment/Main.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/deployment/Main.s.sol -------------------------------------------------------------------------------- /script/foundry/deployment/MockAssets.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/deployment/MockAssets.s.sol -------------------------------------------------------------------------------- /script/foundry/upgrades/UpgradeDeployer.1.3.2.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/upgrades/UpgradeDeployer.1.3.2.s.sol -------------------------------------------------------------------------------- /script/foundry/upgrades/UpgradeDeployer.example.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/upgrades/UpgradeDeployer.example.s.sol -------------------------------------------------------------------------------- /script/foundry/upgrades/UpgradeTxGenerator.1.3.2.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/upgrades/UpgradeTxGenerator.1.3.2.s.sol -------------------------------------------------------------------------------- /script/foundry/upgrades/UpgradeTxGenerator.example.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/upgrades/UpgradeTxGenerator.example.s.sol -------------------------------------------------------------------------------- /script/foundry/utils/BroadcastManager.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/utils/BroadcastManager.s.sol -------------------------------------------------------------------------------- /script/foundry/utils/Create3Deployer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/utils/Create3Deployer.sol -------------------------------------------------------------------------------- /script/foundry/utils/DeployHelper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/utils/DeployHelper.sol -------------------------------------------------------------------------------- /script/foundry/utils/ICreate3Deployer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/utils/ICreate3Deployer.sol -------------------------------------------------------------------------------- /script/foundry/utils/JsonBatchTxHelper.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/utils/JsonBatchTxHelper.s.sol -------------------------------------------------------------------------------- /script/foundry/utils/JsonDeploymentHandler.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/utils/JsonDeploymentHandler.s.sol -------------------------------------------------------------------------------- /script/foundry/utils/StringUtil.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/utils/StringUtil.sol -------------------------------------------------------------------------------- /script/foundry/utils/upgrades/DeployerUtils.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/utils/upgrades/DeployerUtils.sol -------------------------------------------------------------------------------- /script/foundry/utils/upgrades/ERC7201Helper.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/utils/upgrades/ERC7201Helper.s.sol -------------------------------------------------------------------------------- /script/foundry/utils/upgrades/StorageLayoutCheck.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/utils/upgrades/StorageLayoutCheck.s.sol -------------------------------------------------------------------------------- /script/foundry/utils/upgrades/TxGenerator.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/utils/upgrades/TxGenerator.s.sol -------------------------------------------------------------------------------- /script/foundry/utils/upgrades/UpgradeImplHelper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/utils/upgrades/UpgradeImplHelper.sol -------------------------------------------------------------------------------- /script/foundry/utils/upgrades/UpgradedImplHelper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/foundry/utils/upgrades/UpgradedImplHelper.sol -------------------------------------------------------------------------------- /script/hardhat/deployment/00-deploy-main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/hardhat/deployment/00-deploy-main.ts -------------------------------------------------------------------------------- /script/hardhat/deployment/01-deploy-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/hardhat/deployment/01-deploy-mock.ts -------------------------------------------------------------------------------- /script/hardhat/pre-deployment/00-fund-accounts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/hardhat/pre-deployment/00-fund-accounts.ts -------------------------------------------------------------------------------- /script/hardhat/prepare-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/hardhat/prepare-test.ts -------------------------------------------------------------------------------- /script/hardhat/utils/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/hardhat/utils/constants.ts -------------------------------------------------------------------------------- /script/hardhat/utils/deployed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/hardhat/utils/deployed.ts -------------------------------------------------------------------------------- /script/hardhat/utils/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/hardhat/utils/interfaces.ts -------------------------------------------------------------------------------- /script/hardhat/utils/mock-assets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/hardhat/utils/mock-assets.ts -------------------------------------------------------------------------------- /script/hardhat/utils/verify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/script/hardhat/utils/verify.ts -------------------------------------------------------------------------------- /slither.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/slither.config.json -------------------------------------------------------------------------------- /tenderly.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/tenderly.yaml -------------------------------------------------------------------------------- /test/foundry/IPAccount.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/IPAccount.t.sol -------------------------------------------------------------------------------- /test/foundry/IPAccountImpl.btt.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/IPAccountImpl.btt.t.sol -------------------------------------------------------------------------------- /test/foundry/IPAccountImpl.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/IPAccountImpl.tree -------------------------------------------------------------------------------- /test/foundry/IPAccountMetaTx.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/IPAccountMetaTx.t.sol -------------------------------------------------------------------------------- /test/foundry/IPAccountStorage.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/IPAccountStorage.t.sol -------------------------------------------------------------------------------- /test/foundry/IPAccountStorageOps.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/IPAccountStorageOps.t.sol -------------------------------------------------------------------------------- /test/foundry/LicenseToken.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/LicenseToken.t.sol -------------------------------------------------------------------------------- /test/foundry/access/AccessControlled.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/access/AccessControlled.t.sol -------------------------------------------------------------------------------- /test/foundry/access/AccessController.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/access/AccessController.t.sol -------------------------------------------------------------------------------- /test/foundry/access/IPGraphACL.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/access/IPGraphACL.t.sol -------------------------------------------------------------------------------- /test/foundry/access/btt/AccessControlled.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/access/btt/AccessControlled.tree -------------------------------------------------------------------------------- /test/foundry/access/btt/AccessController.checkPermission.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/access/btt/AccessController.checkPermission.tree -------------------------------------------------------------------------------- /test/foundry/access/btt/AccessController.setPermission.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/access/btt/AccessController.setPermission.tree -------------------------------------------------------------------------------- /test/foundry/integration/BaseIntegration.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/integration/BaseIntegration.t.sol -------------------------------------------------------------------------------- /test/foundry/integration/big-bang/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/integration/big-bang/README.md -------------------------------------------------------------------------------- /test/foundry/integration/big-bang/SingleNftCollection.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/integration/big-bang/SingleNftCollection.t.sol -------------------------------------------------------------------------------- /test/foundry/integration/flows/disputes/Disputes.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/integration/flows/disputes/Disputes.t.sol -------------------------------------------------------------------------------- /test/foundry/integration/flows/disputes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/integration/flows/disputes/README.md -------------------------------------------------------------------------------- /test/foundry/integration/flows/grouping/Grouping.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/integration/flows/grouping/Grouping.t.sol -------------------------------------------------------------------------------- /test/foundry/integration/flows/licensing/LicensingIntegration.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/integration/flows/licensing/LicensingIntegration.t.sol -------------------------------------------------------------------------------- /test/foundry/integration/flows/licensing/LicensingScenarios.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/integration/flows/licensing/LicensingScenarios.t.sol -------------------------------------------------------------------------------- /test/foundry/integration/flows/royalty/Royalty.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/integration/flows/royalty/Royalty.t.sol -------------------------------------------------------------------------------- /test/foundry/invariants/BaseInvariant.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/invariants/BaseInvariant.t.sol -------------------------------------------------------------------------------- /test/foundry/invariants/DisputeModule.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/invariants/DisputeModule.t.sol -------------------------------------------------------------------------------- /test/foundry/invariants/IPAccount.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/invariants/IPAccount.t.sol -------------------------------------------------------------------------------- /test/foundry/invariants/IPAssetRegistry.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/invariants/IPAssetRegistry.t.sol -------------------------------------------------------------------------------- /test/foundry/invariants/IpRoyaltyVault.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/invariants/IpRoyaltyVault.t.sol -------------------------------------------------------------------------------- /test/foundry/invariants/LicenseToken.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/invariants/LicenseToken.t.sol -------------------------------------------------------------------------------- /test/foundry/invariants/LicensingModule.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/invariants/LicensingModule.t.sol -------------------------------------------------------------------------------- /test/foundry/mocks/CustomModuleType.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/CustomModuleType.sol -------------------------------------------------------------------------------- /test/foundry/mocks/MockIPGraph.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/MockIPGraph.sol -------------------------------------------------------------------------------- /test/foundry/mocks/MockProtocolPausable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/MockProtocolPausable.sol -------------------------------------------------------------------------------- /test/foundry/mocks/MockTokenGatedHook.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/MockTokenGatedHook.sol -------------------------------------------------------------------------------- /test/foundry/mocks/dispute/MockArbitrationPolicy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/dispute/MockArbitrationPolicy.sol -------------------------------------------------------------------------------- /test/foundry/mocks/dispute/MockIpAssetRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/dispute/MockIpAssetRegistry.sol -------------------------------------------------------------------------------- /test/foundry/mocks/grouping/MockEvenSplitGroupPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/grouping/MockEvenSplitGroupPool.sol -------------------------------------------------------------------------------- /test/foundry/mocks/module/LicenseRegistryHarness.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/module/LicenseRegistryHarness.sol -------------------------------------------------------------------------------- /test/foundry/mocks/module/MockAccessControlledModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/module/MockAccessControlledModule.sol -------------------------------------------------------------------------------- /test/foundry/mocks/module/MockAccessControllerV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/module/MockAccessControllerV2.sol -------------------------------------------------------------------------------- /test/foundry/mocks/module/MockAllMetadataViewModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/module/MockAllMetadataViewModule.sol -------------------------------------------------------------------------------- /test/foundry/mocks/module/MockCoreMetadataViewModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/module/MockCoreMetadataViewModule.sol -------------------------------------------------------------------------------- /test/foundry/mocks/module/MockIpRoyaltyVaultV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/module/MockIpRoyaltyVaultV2.sol -------------------------------------------------------------------------------- /test/foundry/mocks/module/MockLicenseTemplate.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/module/MockLicenseTemplate.sol -------------------------------------------------------------------------------- /test/foundry/mocks/module/MockLicensingHook.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/module/MockLicensingHook.sol -------------------------------------------------------------------------------- /test/foundry/mocks/module/MockMetaTxModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/module/MockMetaTxModule.sol -------------------------------------------------------------------------------- /test/foundry/mocks/module/MockMetadataModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/module/MockMetadataModule.sol -------------------------------------------------------------------------------- /test/foundry/mocks/module/MockModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/module/MockModule.sol -------------------------------------------------------------------------------- /test/foundry/mocks/module/MockOrchestratorModule.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/module/MockOrchestratorModule.sol -------------------------------------------------------------------------------- /test/foundry/mocks/policy/MockExternalRoyaltyPolicy1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/policy/MockExternalRoyaltyPolicy1.sol -------------------------------------------------------------------------------- /test/foundry/mocks/policy/MockExternalRoyaltyPolicy2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/policy/MockExternalRoyaltyPolicy2.sol -------------------------------------------------------------------------------- /test/foundry/mocks/policy/MockExternalRoyaltyPolicy3.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/policy/MockExternalRoyaltyPolicy3.sol -------------------------------------------------------------------------------- /test/foundry/mocks/policy/MockRoyaltyPolicyLAP.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/policy/MockRoyaltyPolicyLAP.sol -------------------------------------------------------------------------------- /test/foundry/mocks/token/MockERC1155.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/token/MockERC1155.sol -------------------------------------------------------------------------------- /test/foundry/mocks/token/MockERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/token/MockERC20.sol -------------------------------------------------------------------------------- /test/foundry/mocks/token/MockERC721.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/token/MockERC721.sol -------------------------------------------------------------------------------- /test/foundry/mocks/token/MockERC721WithoutMetadata.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/token/MockERC721WithoutMetadata.sol -------------------------------------------------------------------------------- /test/foundry/mocks/token/SUSD.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/mocks/token/SUSD.sol -------------------------------------------------------------------------------- /test/foundry/modules/ModuleBase.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/ModuleBase.t.sol -------------------------------------------------------------------------------- /test/foundry/modules/dispute/DisputeModule.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/dispute/DisputeModule.t.sol -------------------------------------------------------------------------------- /test/foundry/modules/dispute/btt/DisputeModule.actions.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/dispute/btt/DisputeModule.actions.tree -------------------------------------------------------------------------------- /test/foundry/modules/dispute/btt/DisputeModule.setters.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/dispute/btt/DisputeModule.setters.tree -------------------------------------------------------------------------------- /test/foundry/modules/dispute/policies/UMA/ArbitrationPolicyUMA.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/dispute/policies/UMA/ArbitrationPolicyUMA.t.sol -------------------------------------------------------------------------------- /test/foundry/modules/grouping/EvenSplitGroupPool.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/grouping/EvenSplitGroupPool.t.sol -------------------------------------------------------------------------------- /test/foundry/modules/grouping/GroupingModule.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/grouping/GroupingModule.t.sol -------------------------------------------------------------------------------- /test/foundry/modules/licensing/LicensingModule.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/licensing/LicensingModule.t.sol -------------------------------------------------------------------------------- /test/foundry/modules/licensing/PILicenseTemplate.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/licensing/PILicenseTemplate.t.sol -------------------------------------------------------------------------------- /test/foundry/modules/licensing/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/licensing/README.md -------------------------------------------------------------------------------- /test/foundry/modules/metadata/CoreMetadataModule.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/metadata/CoreMetadataModule.t.sol -------------------------------------------------------------------------------- /test/foundry/modules/metadata/CoreMetadataViewModule.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/metadata/CoreMetadataViewModule.t.sol -------------------------------------------------------------------------------- /test/foundry/modules/metadata/MetadataModule.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/metadata/MetadataModule.t.sol -------------------------------------------------------------------------------- /test/foundry/modules/metadata/btt/CoreMetadataModule.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/metadata/btt/CoreMetadataModule.tree -------------------------------------------------------------------------------- /test/foundry/modules/metadata/btt/CoreMetadataViewModule.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/metadata/btt/CoreMetadataViewModule.tree -------------------------------------------------------------------------------- /test/foundry/modules/royalty/IpRoyaltyVault.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/royalty/IpRoyaltyVault.t.sol -------------------------------------------------------------------------------- /test/foundry/modules/royalty/LAP/RoyaltyPolicyLAP.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/royalty/LAP/RoyaltyPolicyLAP.t.sol -------------------------------------------------------------------------------- /test/foundry/modules/royalty/LRP/RoyaltyPolicyLRP.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/royalty/LRP/RoyaltyPolicyLRP.t.sol -------------------------------------------------------------------------------- /test/foundry/modules/royalty/RoyaltyModule.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/royalty/RoyaltyModule.t.sol -------------------------------------------------------------------------------- /test/foundry/modules/royalty/VaultController.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/royalty/VaultController.t.sol -------------------------------------------------------------------------------- /test/foundry/modules/royalty/btt/IpRoyaltyVault.claim.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/royalty/btt/IpRoyaltyVault.claim.tree -------------------------------------------------------------------------------- /test/foundry/modules/royalty/btt/IpRoyaltyVault.setters.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/royalty/btt/IpRoyaltyVault.setters.tree -------------------------------------------------------------------------------- /test/foundry/modules/royalty/btt/IpRoyaltyVault.snapshot.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/royalty/btt/IpRoyaltyVault.snapshot.tree -------------------------------------------------------------------------------- /test/foundry/modules/royalty/btt/RoyaltyModule.callbacks.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/royalty/btt/RoyaltyModule.callbacks.tree -------------------------------------------------------------------------------- /test/foundry/modules/royalty/btt/RoyaltyModule.payment.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/royalty/btt/RoyaltyModule.payment.tree -------------------------------------------------------------------------------- /test/foundry/modules/royalty/btt/RoyaltyModule.setters.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/royalty/btt/RoyaltyModule.setters.tree -------------------------------------------------------------------------------- /test/foundry/modules/royalty/btt/RoyaltyPolicyLAP.initPolicy.tree: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/foundry/modules/royalty/btt/RoyaltyPolicyLAP.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/modules/royalty/btt/RoyaltyPolicyLAP.tree -------------------------------------------------------------------------------- /test/foundry/pause/ProtocolPauseAdmin.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/pause/ProtocolPauseAdmin.t.sol -------------------------------------------------------------------------------- /test/foundry/registries/IPAccountRegistry.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/registries/IPAccountRegistry.t.sol -------------------------------------------------------------------------------- /test/foundry/registries/IPAssetRegistry.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/registries/IPAssetRegistry.t.sol -------------------------------------------------------------------------------- /test/foundry/registries/LicenseRegistry.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/registries/LicenseRegistry.t.sol -------------------------------------------------------------------------------- /test/foundry/registries/ModuleRegistry.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/registries/ModuleRegistry.t.sol -------------------------------------------------------------------------------- /test/foundry/registries/btt/IPAccountRegistry.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/registries/btt/IPAccountRegistry.tree -------------------------------------------------------------------------------- /test/foundry/registries/btt/IPAssetRegistry.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/registries/btt/IPAssetRegistry.tree -------------------------------------------------------------------------------- /test/foundry/registries/btt/LicenseRegistry.attachLicenseTermsToIp.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/registries/btt/LicenseRegistry.attachLicenseTermsToIp.tree -------------------------------------------------------------------------------- /test/foundry/registries/btt/LicenseRegistry.registerDerivativeIp.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/registries/btt/LicenseRegistry.registerDerivativeIp.tree -------------------------------------------------------------------------------- /test/foundry/registries/btt/LicenseRegistry.setters.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/registries/btt/LicenseRegistry.setters.tree -------------------------------------------------------------------------------- /test/foundry/registries/btt/ModuleRegistry.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/registries/btt/ModuleRegistry.tree -------------------------------------------------------------------------------- /test/foundry/upgrades/Upgrades.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/upgrades/Upgrades.t.sol -------------------------------------------------------------------------------- /test/foundry/utils/BaseTest.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/utils/BaseTest.t.sol -------------------------------------------------------------------------------- /test/foundry/utils/LicensingHelper.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/utils/LicensingHelper.t.sol -------------------------------------------------------------------------------- /test/foundry/utils/TestProxyHelper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/utils/TestProxyHelper.sol -------------------------------------------------------------------------------- /test/foundry/utils/Users.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/foundry/utils/Users.t.sol -------------------------------------------------------------------------------- /test/hardhat/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/README.md -------------------------------------------------------------------------------- /test/hardhat/e2e/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/constants.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/dispute/dispute.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/dispute/dispute.test.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/grouping/group.authority.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/grouping/group.authority.test.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/grouping/group.ipa.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/grouping/group.ipa.test.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/grouping/group.royalty.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/grouping/group.royalty.test.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/ipa/ipa.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/ipa/ipa.test.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/ipa/metadata.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/ipa/metadata.test.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/ipaccount/ipaccount.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/ipaccount/ipaccount.test.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/license/attachLicenseTerms.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/license/attachLicenseTerms.test.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/license/licenseTemplate.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/license/licenseTemplate.test.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/license/licenseToken.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/license/licenseToken.test.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/license/mintLicenseTokens.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/license/mintLicenseTokens.test.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/license/registerDerivative.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/license/registerDerivative.test.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/license/registerLicenseTerms.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/license/registerLicenseTerms.test.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/licenseTermsTemplate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/licenseTermsTemplate.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/permission/permission.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/permission/permission.test.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/royalty/deployVault.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/royalty/deployVault.test.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/royalty/royalty.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/royalty/royalty.test.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/setup.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/utils/erc20Helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/utils/erc20Helper.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/utils/licenseHelper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/utils/licenseHelper.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/utils/mintNFTAndRegisterIPA.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/utils/mintNFTAndRegisterIPA.ts -------------------------------------------------------------------------------- /test/hardhat/e2e/utils/nftHelper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/test/hardhat/e2e/utils/nftHelper.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/tsconfig.json -------------------------------------------------------------------------------- /upgrades/v1.3.1-to-v1.3.2/chainId-1315/execute-v1.3.1-to-v1.3.2-1315.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/upgrades/v1.3.1-to-v1.3.2/chainId-1315/execute-v1.3.1-to-v1.3.2-1315.json -------------------------------------------------------------------------------- /upgrades/v1.3.1-to-v1.3.2/chainId-1315/schedule-v1.3.1-to-v1.3.2-1315.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/upgrades/v1.3.1-to-v1.3.2/chainId-1315/schedule-v1.3.1-to-v1.3.2-1315.json -------------------------------------------------------------------------------- /upgrades/v1.3.1-to-v1.3.2/chainId-1315/transactions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/upgrades/v1.3.1-to-v1.3.2/chainId-1315/transactions.json -------------------------------------------------------------------------------- /upgrades/v1.3.1-to-v1.3.2/chainId-1315/upgrade-v1.3.1-to-v1.3.2-1315.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/upgrades/v1.3.1-to-v1.3.2/chainId-1315/upgrade-v1.3.1-to-v1.3.2-1315.json -------------------------------------------------------------------------------- /upgrades/v1.3.1-to-v1.3.2/chainId-1514/execute-v1.3.1-to-v1.3.2-1514.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/upgrades/v1.3.1-to-v1.3.2/chainId-1514/execute-v1.3.1-to-v1.3.2-1514.json -------------------------------------------------------------------------------- /upgrades/v1.3.1-to-v1.3.2/chainId-1514/schedule-v1.3.1-to-v1.3.2-1514.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/upgrades/v1.3.1-to-v1.3.2/chainId-1514/schedule-v1.3.1-to-v1.3.2-1514.json -------------------------------------------------------------------------------- /upgrades/v1.3.1-to-v1.3.2/chainId-1514/transactions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/upgrades/v1.3.1-to-v1.3.2/chainId-1514/transactions.json -------------------------------------------------------------------------------- /upgrades/v1.3.1-to-v1.3.2/chainId-1514/upgrade-v1.3.1-to-v1.3.2-1514.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/upgrades/v1.3.1-to-v1.3.2/chainId-1514/upgrade-v1.3.1-to-v1.3.2-1514.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/storyprotocol/protocol-core-v1/HEAD/yarn.lock --------------------------------------------------------------------------------