Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deploy script #1

Merged
merged 3 commits into from
Nov 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ contract Deploy is Script {
_farcasterContracts = FarcasterContracts({
IdGateway: 0x00000000Fc25870C6eD6b6c7E41Fb078b7656f69,
idRegistry: 0x00000000Fc6c5F01Fc30151999387Bb99A9f489b,
keyGateway: 0x00000000Fc25870C6eD6b6c7E41Fb078b7656f69,
keyGateway: 0x00000000fC56947c7E7183f8Ca4B62398CaAdf0B,
keyRegistry: 0x00000000Fc1237824fb747aBDE0FF18990E59b7e,
signedKeyRequestValidator: 0x00000000FC700472606ED4fA22623Acf62c60553
});
Expand Down Expand Up @@ -56,8 +56,8 @@ contract Deploy is Script {
maxSupply: 0,
toggle: address(0),
mutable_: false,
details: "top hat details",
imageURI: "top hat image"
details: "ipfs://bafkreigi7amzxywtped6uz5spo73n7zolxtymxeaqnwmizryv3mp46v63e",
imageURI: "ipfs://bafkreiflezpk3kjz6zsv23pbvowtatnd5hmqfkdro33x5mh2azlhne3ah4"
});

// autonomous admin
Expand All @@ -66,8 +66,8 @@ contract Deploy is Script {
maxSupply: 1,
toggle: modulePlaceholder,
mutable_: true,
details: "autonomous admin details",
imageURI: "autonomous admin image"
details: "ipfs://bafkreihe2rxghtnomgaxs5fv2suxog6bdxkgxxifik7z6gtu65mi3oycue",
imageURI: "ipfs://bafkreiflezpk3kjz6zsv23pbvowtatnd5hmqfkdro33x5mh2azlhne3ah4"
});

// admin hat
Expand All @@ -76,8 +76,8 @@ contract Deploy is Script {
maxSupply: 5,
toggle: modulePlaceholder,
mutable_: true,
details: "admin details",
imageURI: "admin image"
details: "ipfs://bafkreiax5tjyhestv5op33cje6yrhsaylnblu7t6tl7w25qmhl4cojpap4",
imageURI: "ipfs://bafkreiflezpk3kjz6zsv23pbvowtatnd5hmqfkdro33x5mh2azlhne3ah4"
});

// caster hat
Expand All @@ -86,8 +86,8 @@ contract Deploy is Script {
maxSupply: 1000,
toggle: modulePlaceholder, // will be overriden by the first admin
mutable_: true,
details: "caster details",
imageURI: "caster image"
details: "ipfs://bafkreig325iyeqwpzigo4anb2qjzux5lu4gww4ewna23pbtluys52pmtcy",
imageURI: "ipfs://bafkreiflezpk3kjz6zsv23pbvowtatnd5hmqfkdro33x5mh2azlhne3ah4"
});
}

Expand Down Expand Up @@ -122,6 +122,8 @@ contract Deploy is Script {
treeTemplate[3] = _casterHatTemplate;
}

_setFarcasterContracts();

/**
* @dev Deploy the contract to a deterministic address via forge's create2 deployer factory, which is at this
* address on all chains: `0x4e59b44847b379578588920cA78FbF26c0B4956C`.
Expand Down
Loading