Skip to content

Commit

Permalink
Merge pull request #143 from jbx-protocol/deploy/metadata-lib
Browse files Browse the repository at this point in the history
Deploy/metadata lib
  • Loading branch information
mejango authored Aug 15, 2023
2 parents 9fd5272 + 911bc73 commit 6897119
Show file tree
Hide file tree
Showing 5 changed files with 2,422 additions and 2,492 deletions.
215 changes: 90 additions & 125 deletions broadcast/Deploy.s.sol/1/run-latest.json

Large diffs are not rendered by default.

203 changes: 84 additions & 119 deletions broadcast/Deploy.s.sol/5/run-latest.json

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions contracts/scripts/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ contract DeployMainnet is Script {
IJBDirectory jbDirectory = IJBDirectory(0x65572FB928b46f9aDB7cfe5A4c41226F636161ea);
IJBOperatorStore jbOperatorStore = IJBOperatorStore(0x6F3C5afCa0c9eDf3926eF2dDF17c8ae6391afEfb);

bytes4 payMetadataDelegateId = bytes4(hex'80');
bytes4 redeemMetadataDelegateId = bytes4(hex'81');
bytes4 payMetadataDelegateId = bytes4("721P");
bytes4 redeemMetadataDelegateId = bytes4("721R");

JBTiered721DelegateDeployer delegateDeployer;
JBTiered721DelegateProjectDeployer projectDeployer;
Expand All @@ -43,21 +43,21 @@ contract DeployMainnet is Script {

JBTiered721Delegate noGovernance = new JBTiered721Delegate(jbDirectory, jbOperatorStore, payMetadataDelegateId, redeemMetadataDelegateId);
JBTiered721GovernanceDelegate onchainGovernance = new JBTiered721GovernanceDelegate(
jbDirectory,
jbOperatorStore,
payMetadataDelegateId,
redeemMetadataDelegateId
);
jbDirectory,
jbOperatorStore,
payMetadataDelegateId,
redeemMetadataDelegateId
);

delegateDeployer = new JBTiered721DelegateDeployer(onchainGovernance, noGovernance, registry);

store = new JBTiered721DelegateStore();
store = JBTiered721DelegateStore(0x615B5b50F1Fc591AAAb54e633417640d6F2773Fd);

projectDeployer = new JBTiered721DelegateProjectDeployer(
jbDirectory,
delegateDeployer,
jbOperatorStore
);
jbDirectory,
delegateDeployer,
jbOperatorStore
);

console.log("registry ", address(registry));
console.log("project deployer", address(projectDeployer));
Expand All @@ -69,8 +69,8 @@ contract DeployGoerli is Script {
IJBDirectory jbDirectory = IJBDirectory(0x8E05bcD2812E1449f0EC3aE24E2C395F533d9A99);
IJBOperatorStore jbOperatorStore = IJBOperatorStore(0x99dB6b517683237dE9C494bbd17861f3608F3585);

bytes4 payMetadataDelegateId = bytes4(hex'70');
bytes4 redeemMetadataDelegateId = bytes4(hex'71');
bytes4 payMetadataDelegateId = bytes4("721P");
bytes4 redeemMetadataDelegateId = bytes4("721R");

JBTiered721DelegateDeployer delegateDeployer;
JBTiered721DelegateProjectDeployer projectDeployer;
Expand All @@ -93,21 +93,21 @@ contract DeployGoerli is Script {

JBTiered721Delegate noGovernance = new JBTiered721Delegate(jbDirectory, jbOperatorStore, payMetadataDelegateId, redeemMetadataDelegateId);
JBTiered721GovernanceDelegate onchainGovernance = new JBTiered721GovernanceDelegate(
jbDirectory,
jbOperatorStore,
payMetadataDelegateId,
redeemMetadataDelegateId
);
jbDirectory,
jbOperatorStore,
payMetadataDelegateId,
redeemMetadataDelegateId
);

delegateDeployer = new JBTiered721DelegateDeployer(onchainGovernance, noGovernance, registry);

store = new JBTiered721DelegateStore();
store = JBTiered721DelegateStore(0x155B49f303443a3334bB2EF42E10C628438a0656);

projectDeployer = new JBTiered721DelegateProjectDeployer(
jbDirectory,
delegateDeployer,
jbOperatorStore
);
jbDirectory,
delegateDeployer,
jbOperatorStore
);

console.log("registry ", address(registry));
console.log("project deployer", address(projectDeployer));
Expand Down
4,446 changes: 2,223 additions & 2,223 deletions out/JBTiered721Delegate.sol/JBTiered721Delegate.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "git",
"url": "https://github.com/jbx-protocol/juice-721-delegate"
},
"version": "7.0.0",
"version": "8.0.0",
"license": "MIT",
"dependencies": {
"@jbx-protocol/juice-contracts-v3": "^5.0.0",
Expand Down

0 comments on commit 6897119

Please sign in to comment.