Skip to content

Commit

Permalink
feat: update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoAcosta committed Nov 5, 2024
1 parent 73d1097 commit e953b0b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion script/deploy/DeploySingle.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { DeploySingleArgs } from "./DeploySingleArgs.sol";
import { FollowerSinceStamp } from "../../src/stamps/FollowerSinceStamp.sol";
import { MultipleFollowerSincePoints } from "../../src/points/MultipleFollowerSincePoints.sol";
import { FixedQuestion } from "../../src/questions/FixedQuestion.sol";
import { Names } from "../../src/names/Names.sol";
import { Plasa } from "../../src/plasa/Plasa.sol";

contract DeploySingle is Script {
function deployQuestion(
Expand Down Expand Up @@ -40,6 +42,12 @@ contract DeploySingle is Script {

vm.startBroadcast(deployerPrivateKey);

// Deploy Names
Names names = new Names(superAdmin);

// Deploy Plasa
Plasa plasa = new Plasa(superAdmin, address(names));

// Deploy Stamps
FollowerSinceStamp[] memory stamps = new FollowerSinceStamp[](args.space.stampPlatforms.length);
address[] memory stampAddresses = new address[](args.space.stampPlatforms.length);
Expand All @@ -58,7 +66,8 @@ contract DeploySingle is Script {
stampAddresses,
args.space.stampMultipliers,
args.space.pointsName,
args.space.pointsSymbol
args.space.pointsSymbol,
address(plasa)
);

// Deploy Space
Expand Down

0 comments on commit e953b0b

Please sign in to comment.