Skip to content

Instantly share code, notes, and snippets.

@CinnamonGrrrl
Created March 27, 2018 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CinnamonGrrrl/eef6a108443f3281185bb78546b247e6 to your computer and use it in GitHub Desktop.
Save CinnamonGrrrl/eef6a108443f3281185bb78546b247e6 to your computer and use it in GitHub Desktop.
// migrations/2_funding.js
const Funding = artifacts.require("./Funding.sol");
const Clock = artifacts.require("./Clock.sol");
const DAY = 3600 * 24;
module.exports = async function(deployer) {
await deployer.deploy(Clock);
await deployer.deploy(Funding, DAY, Clock.address);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment