Skip to content

Instantly share code, notes, and snippets.

@cag
Last active March 26, 2018 23:39
Show Gist options
  • Save cag/903be3f21dac54c4c11b1cda3ad7d324 to your computer and use it in GitHub Desktop.
Save cag/903be3f21dac54c4c11b1cda3ad7d324 to your computer and use it in GitHub Desktop.
pragma solidity ^0.4.21;
import "./Kombucha.sol";
contract KombuchaFactory {
function createKombucha(string flavor, uint fillAmount, uint capacity)
public
returns (Kombucha)
{
return new Kombucha(flavor, fillAmount, capacity);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment