foundry-template/script/Deploy.s.sol

14 lines
374 B
Solidity
Raw Normal View History

// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19;
import { Foo } from "../src/Foo.sol";
import { BaseScript } from "./Base.s.sol";
/// @dev See the Solidity Scripting tutorial: https://book.getfoundry.sh/tutorials/solidity-scripting
contract Deploy is BaseScript {
function run() public broadcaster returns (Foo foo) {
foo = new Foo();
}
}