foundry-template/script/Foo.s.sol

17 lines
425 B
Solidity

// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.4;
import { Script } from "forge-std/Script.sol";
import { Foo } from "../src/Foo.sol";
/// @dev See the Solidity Scripting tutorial: https://book.getfoundry.sh/tutorials/solidity-scripting
contract FooScript is Script {
Foo internal foo;
function run() public {
vm.startBroadcast();
foo = new Foo();
vm.stopBroadcast();
}
}