Skip to content

Instantly share code, notes, and snippets.


Denis Shayahmetov DenisShayahmetov

View GitHub Profile
View QZCrowdsale.sol
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;
View gist:58a34241574537fef53f26a569b7c27d
pragma solidity ^0.4.11;
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) constant returns (uint256);
View gist:c3e7b44a61651299dad5863aabfe98b7
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;