Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
add gov script deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinGreen committed Dec 3, 2023
1 parent 4f165e5 commit 0433d4a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions script/DeployLlamaFactory.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {LlamaFactory} from "src/LlamaFactory.sol";
import {LlamaLens} from "src/LlamaLens.sol";
import {LlamaPolicy} from "src/LlamaPolicy.sol";
import {LlamaPolicyMetadata} from "src/LlamaPolicyMetadata.sol";
import {LlamaGovernanceScript} from "src/llama-scripts/LlamaGovernanceScript.sol";
import {LlamaAbsolutePeerReview} from "src/strategies/absolute/LlamaAbsolutePeerReview.sol";
import {LlamaAbsoluteQuorum} from "src/strategies/absolute/LlamaAbsoluteQuorum.sol";
import {LlamaRelativeHolderQuorum} from "src/strategies/relative/LlamaRelativeHolderQuorum.sol";
Expand All @@ -34,6 +35,9 @@ contract DeployLlamaFactory is Script {
LlamaFactory factory;
LlamaLens lens;

// Llama scripts
LlamaGovernanceScript governanceScript;

function run() public {
DeployUtils.print(string.concat("Deploying Llama factory to chain:", vm.toString(block.chainid)));

Expand Down Expand Up @@ -117,5 +121,9 @@ contract DeployLlamaFactory is Script {
vm.broadcast();
absolutePeerReviewLogic = new LlamaAbsolutePeerReview();
DeployUtils.print(string.concat(" LlamaAbsolutePeerReviewLogic:", vm.toString(address(absolutePeerReviewLogic))));

vm.broadcast();
governanceScript = new LlamaGovernanceScript();
DeployUtils.print(string.concat(" LlamaGovernanceScript:", vm.toString(address(governanceScript))));
}
}

0 comments on commit 0433d4a

Please sign in to comment.