Skip to content

Commit

Permalink
Update deployment script and Re-deploy protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
kingster-will committed Nov 28, 2023
1 parent 09ab475 commit 8d666f8
Show file tree
Hide file tree
Showing 4 changed files with 880 additions and 788 deletions.
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,10 @@ MAINNET_PRIVATEKEY= 12341234123412341234123412341234
GOERLI_RPC_URL = https://eth-goerli.g.alchemy.com/v2/1234123412341234
GOERLI_PRIVATEKEY = 12341234123412341234123412341234

# SEPOLIA
SEPOLIA_RPC_URL = https://eth-sepolia.g.alchemy.com/v2/1234123412341234
#SEPOLIA_PRIVATEKEY = 12341234123412341234123412341234
#SEPOLIA_ADMIN_ADDRESS = 0x12341234123412341234123412341234

# ETHSCAN
ETHERSCAN_API_KEY = ETHERSCANAPIKEYETHERSCANAPIKEY
1,634 changes: 860 additions & 774 deletions broadcast/Main.s.sol/11155111/run-latest.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions deployment-11155111.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"main": {
"AccessControlSingleton-Impl": "0x9d78608605409d997f452b7E47410F6317b5312A",
"AccessControlSingleton-Proxy": "0xF3A6064ba0DBd98AdBb794136f534A53A2aC1aE5",
"IPAssetRegistry": "0x177175a4b26f6EA050676F8c9a14D395F896492C",
"IPOrgController-Impl": "0x01CCa0268c92b55FBC5360c76b3d39125DD39c9E",
"IPOrgController-Proxy": "0x73fCB515cEE99e4991465ef586CfE2B072EbB512",
"LicenseRegistry": "0x14b3b2b1700C9A1d5A5217dB92F0Ab54C7900563",
"LicensingModule": "0xa906E2589A7F8385A376BABBb70a39dad551603b",
"MockERC721": "0xe37983Ad02c0BEB88b334727d5A5a0dA6801F964",
"ModuleRegistry": "0x8DFd8d6673c5EDf13ACD0992a0Cd21dFB198F969",
"RegistrationModule": "0x091e5F55135155bb8Cb5868aDb39e5C34eB32CFd",
"RelationshipModule": "0x49477130a70a37E0D6e22b674ef9E923E6D0202c",
"StoryProtocol": "0x79448112dB0F3EaC69124e4bAd728ab74e1575Ea",
"TermsRepository": "0xCD5d06cFf106131A0845E2a18f8429D8115b3fD8",
"TokenGatedHook": "0xC0F6E387aC0B324Ec18EAcf22EE7271207dCE3d5"
"AccessControlSingleton-Impl": "0xFb7d3D62673bE0c6A8809E823F18F6E84cF1f762",
"AccessControlSingleton-Proxy": "0x8f855374D45278Ce6651eA46cef5B610ac8fB6Ce",
"IPAssetRegistry": "0x309C205347E3826472643f9B7EbD8A50D64CCd9e",
"IPOrgController-Impl": "0x70d1B84390c9F70eCE87511f4fD14a194E1d06E2",
"IPOrgController-Proxy": "0xd778680fD9fa788A2fd6465087e6841814eE57CC",
"LicenseRegistry": "0x630d6672D6C15952852ca2Ff0A355d19f259400B",
"LicensingModule": "0xD692DE739fe1C1AAA31c3D0847Dc17976Afc05ff",
"MockERC721": "0x878fD0241993142cEd3e19Aa982809e07a7115d1",
"ModuleRegistry": "0x8209442D02FB517Bdb9099E8Ade3968762F8545A",
"RegistrationModule": "0x948f67E1C4F75Bc89C5fb42147d96356fb4B359f",
"RelationshipModule": "0x4231c45C32B53Ba61D8d04aD05255CCBF3E5DBD2",
"StoryProtocol": "0xD0060D8e88DD841FD32A01B18a9C7e84A1C7d6d4",
"TermsRepository": "0x4BfE248b3fdb27fe2a77fF8C871c6DdA63208A6C",
"TokenGatedHook": "0xA26Ba8224Fb6173063f63388685F80708A6f4d96"
}
}
1 change: 1 addition & 0 deletions script/foundry/deployment/Main.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ import { TermCategories, TermIds } from "contracts/lib/modules/ProtocolLicensing
accessControlSingleton.grantRole(AccessControl.IPORG_CREATOR_ROLE, admin);
accessControlSingleton.grantRole(AccessControl.MODULE_REGISTRAR_ROLE, admin);
accessControlSingleton.grantRole(AccessControl.MODULE_EXECUTOR_ROLE, spg);
accessControlSingleton.grantRole(AccessControl.MODULE_EXECUTOR_ROLE, ipOrgController);

// REGISTER MODULES
ModuleRegistry(moduleRegistry).registerProtocolModule(
Expand Down

0 comments on commit 8d666f8

Please sign in to comment.