2_deploy_contracts.js 603 B

123456789101112131415
  1. var Ownable = artifacts.require("ownership/Ownable.sol");
  2. var Claimable = artifacts.require("ownership/Claimable.sol");
  3. var LimitBalance = artifacts.require("LimitBalance.sol");
  4. var SecureTargetBounty = artifacts.require("test-helpers/SecureTargetBounty.sol");
  5. var InsecureTargetBounty = artifacts.require("test-helpers/InsecureTargetBounty.sol");
  6. module.exports = function(deployer) {
  7. deployer.deploy(Ownable);
  8. deployer.deploy(Claimable);
  9. deployer.deploy(LimitBalance);
  10. if(deployer.network == 'test'){
  11. deployer.deploy(SecureTargetBounty);
  12. deployer.deploy(InsecureTargetBounty);
  13. }
  14. };