//Write your own contracts here. Currently compiles using solc v0.4.15+commit.bbb8e64f. pragma solidity >=0.4.22 <0.6.0; // First, we start with the contract that we're committing to deploying: /// @title A widget contract Machine { // This is our contract that does stuff. We'll be committing to deploying this contract in the future. constructor() public { // etc } } contract MachineCommitment { function commit() public { new Machine(); selfdestruct(msg.sender); } }
0.4.22