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 to deploy Project #178

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Changes from all commits
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
3 changes: 3 additions & 0 deletions packages/contracts/script/DevDeploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {Script} from "lib/forge-std/src/Script.sol";

import {Citizend} from "contracts/token/Citizend.sol";
import {Staking} from "contracts/discovery/Staking.sol";
import {Project} from "contracts/discovery/Project.sol";

contract DevDeployScript is Script {
address alice = address(0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266);
Expand All @@ -26,6 +27,8 @@ contract DevDeployScript is Script {
Citizend citizend = new Citizend(alice);
Staking staking = new Staking(address(citizend));

Project project = new Project("token sale project", address(citizend), 1000, 1, address(0));

for (uint256 i; i < testAccounts.length; i++) {
address addr = testAccounts[i];
(bool success,) = addr.call{value: 10 ether}("");
Expand Down
Loading