Skip to content

Commit

Permalink
redeploy with latest change
Browse files Browse the repository at this point in the history
  • Loading branch information
kingster-will committed Nov 16, 2023
1 parent 5cd6c15 commit 7851385
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 18 deletions.
26 changes: 13 additions & 13 deletions deployment-11155111.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"main": {
"AccessControlSingleton-Impl": "0xF19bde1c961a88cBaaA506E9F9355c605997193A",
"AccessControlSingleton-Proxy": "0x517d920c9a3889f620c48965788C576f1504894F",
"IPAssetRegistry": "0x398DA4b4a45C43d8B9530A948B549323bEb8323e",
"IPOrgController-Impl": "0xDc73A45336444a498129970C8811e39D5fEc2bBf",
"IPOrgController-Proxy": "0x971836EE58DA68a38A2a567b4D313A6e5B9a7c72",
"LicenseCreatorModule": "0x75dD702C1d8325CaAd47b8698645B8C0C0417557",
"LicenseRegistry": "0x15eA336C219A33CFE4Ba53C816A4E0B267d19908",
"MockERC721": "0x4098d9f937F7537fB9147315E4845Fc2098AA00E",
"ModuleRegistry": "0x4600029b3b2426d627dFde7d57AbCFdC96aEC147",
"RegistrationModule": "0x1a880B69077A440BE6100343bA6e0D189cdBE9Ff",
"RelationshipModule": "0xEda86EB15dac456DDc5E432781Bb40B4e467920D",
"StoryProtocol": "0x65C37A300A6fbDB2bf0C1685813c89a059A41296",
"TokenGatedHook": "0x51e590be99756c6FC6A61B6F8B465fb62a7212be"
"AccessControlSingleton-Impl": "0xE10D9Ed03c592810c90F6121Db936202b07E2958",
"AccessControlSingleton-Proxy": "0x45A9b0f5503bAC89071F50786EE014f37C9ECE4B",
"IPAssetRegistry": "0x4A6c5EBb7493904f9bDC859614400de83F9DCc94",
"IPOrgController-Impl": "0xA080B6033Da3d7421EF7C09C6fcEFC9c2D9C8b2E",
"IPOrgController-Proxy": "0x5b6c5c236Aec2efD117FFB00A2006Cd21504Cf65",
"LicenseCreatorModule": "0x6500C00dF18D5158Df8aaCDc5fB362284E8496A9",
"LicenseRegistry": "0x01B32f2E9D62adBB2CB508dEf2516039802BCb8b",
"MockERC721": "0x89E890Ca05FEF40E47CE5c11b1e4c3a9bb5565F6",
"ModuleRegistry": "0x47A8de2d3Be86E60D7C650eBE1a89f5Dc7A55854",
"RegistrationModule": "0x64d6Eb95878cC28A20443bA7D0F85eC13a9dC88a",
"RelationshipModule": "0x25Ce8Bc01e460B158d14613a249C3Dd70Fe6dE2a",
"StoryProtocol": "0x1c010EE1a1814AdDBD4D0105D0d2Bd03466887C8",
"TokenGatedHook": "0xAa75f2383350be003a2d5405819DCaEF89cc0BF9"
}
}
15 changes: 10 additions & 5 deletions script/foundry/deployment/Main.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ import "test/foundry/mocks/MockERC721.sol";
newAddress = address(new RegistrationModule(BaseModule.ModuleConstruction({
ipaRegistry: IPAssetRegistry(ipAssetRegistry),
moduleRegistry: ModuleRegistry(moduleRegistry),
licenseRegistry: LicenseRegistry(licenseRegistry)
licenseRegistry: LicenseRegistry(licenseRegistry),
ipOrgController: IPOrgController(ipOrgController)
}), accessControl));
_writeAddress(contractKey, newAddress);
console.log(string.concat(contractKey, " deployed to:"), newAddress);
Expand All @@ -171,7 +172,8 @@ import "test/foundry/mocks/MockERC721.sol";
newAddress = address(new RelationshipModule(BaseModule.ModuleConstruction({
ipaRegistry: IPAssetRegistry(ipAssetRegistry),
moduleRegistry: ModuleRegistry(moduleRegistry),
licenseRegistry: LicenseRegistry(licenseRegistry)
licenseRegistry: LicenseRegistry(licenseRegistry),
ipOrgController: IPOrgController(ipOrgController)
}), accessControl));
_writeAddress(contractKey, newAddress);
console.log(string.concat(contractKey, " deployed to:"), newAddress);
Expand All @@ -186,7 +188,8 @@ import "test/foundry/mocks/MockERC721.sol";
newAddress = address(new LicenseCreatorModule(BaseModule.ModuleConstruction({
ipaRegistry: IPAssetRegistry(ipAssetRegistry),
moduleRegistry: ModuleRegistry(moduleRegistry),
licenseRegistry: LicenseRegistry(licenseRegistry)
licenseRegistry: LicenseRegistry(licenseRegistry),
ipOrgController: IPOrgController(ipOrgController)
})));
_writeAddress(contractKey, newAddress);
console.log(string.concat(contractKey, " deployed to:"), newAddress);
Expand Down Expand Up @@ -235,8 +238,10 @@ import "test/foundry/mocks/MockERC721.sol";
ModuleRegistryKeys.RELATIONSHIP_MODULE, BaseModule(relationshipModule));
ModuleRegistry(moduleRegistry).registerProtocolModule(
ModuleRegistryKeys.LICENSING_MODULE, BaseModule(licenseCreatorModule));

address ipOrg = StoryProtocol(spg).registerIpOrg(admin, "Sample IP Org", "SIPO");
string[] memory ipAssetTypes = new string[](2);
ipAssetTypes[0] = "STORY";
ipAssetTypes[1] = "CHARACTER";
address ipOrg = StoryProtocol(spg).registerIpOrg(admin, "Sample IP Org", "SIPO", ipAssetTypes);

// REGISTER TOKEN_GATED_HOOK
address[] memory hooks = new address[](1);
Expand Down

0 comments on commit 7851385

Please sign in to comment.