keycard-redeem/migrations/01_initial_migration.js

17 lines
591 B
JavaScript
Raw Permalink Normal View History

2020-09-23 09:26:59 +00:00
const Migrations = artifacts.require("Migrations");
const NFTBucketFactory = artifacts.require("NFTBucketFactory");
const ERC20BucketFactory = artifacts.require("ERC20BucketFactory");
const TestToken = artifacts.require("TestToken");
2020-09-30 10:11:56 +00:00
const TestNFT = artifacts.require("TestNFT");
2020-09-23 09:26:59 +00:00
module.exports = function(deployer, network) {
deployer.deploy(Migrations);
deployer.deploy(NFTBucketFactory);
deployer.deploy(ERC20BucketFactory);
2020-10-05 12:25:17 +00:00
if (network === "development" || network === "test") {
2020-09-23 15:32:54 +00:00
deployer.deploy(TestToken, "Dev Test Token", "DTT", 18);
2020-09-30 10:11:56 +00:00
deployer.deploy(TestNFT);
2020-09-23 09:26:59 +00:00
}
};