You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
635 B
Solidity
21 lines
635 B
Solidity
// SPDX-License-Identifier: UNLICENSED
|
|
pragma solidity ^0.8.13;
|
|
|
|
import "forge-std/Script.sol";
|
|
import {Main} from "../src/Main.sol";
|
|
import {Unaboomer} from "../src/Unaboomer.sol";
|
|
import {Mailbomb} from "../src/Mailbomb.sol";
|
|
|
|
contract DeployProject is Script {
|
|
function run() public {
|
|
vm.startBroadcast();
|
|
Main main = new Main();
|
|
Unaboomer boomr = new Unaboomer();
|
|
Mailbomb bomb = new Mailbomb();
|
|
boomr.setMainContract(address(main));
|
|
bomb.setMainContract(address(main));
|
|
main.setUnaboomerContract(address(boomr));
|
|
main.setMailbombContract(address(bomb));
|
|
}
|
|
}
|