foundry-template/script/Foo.s.sol

17 lines
425 B
Solidity
Raw Normal View History

2022-07-16 11:36:29 +00:00
// 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();
}
}