This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.21; | |
contract QZCrowdsale { | |
address public owner; | |
uint public fundingGoal; | |
uint public amountRaised; | |
uint public deadline; | |
address[] investors; | |
mapping(address => uint256) public balanceOf; | |
bool public fundingGoalReached; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.11; | |
/** | |
* @title ERC20Basic | |
* @dev Simpler version of ERC20 interface | |
* @dev see https://github.com/ethereum/EIPs/issues/179 | |
*/ | |
contract ERC20Basic { | |
uint256 public totalSupply; | |
function balanceOf(address who) constant returns (uint256); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.13; | |
interface token { | |
function transfer(address receiver, uint256 amount); | |
function burn(uint256 value); | |
} | |
contract PreQZCrowdSale { | |
address public beneficiary; | |
uint public fundingGoal; |