Sponsored Link:  Download the Monaco app for Android and iOS on Aug 31 - www.mona.co
Contract Overview | JesusCoinCrowdsale
ETH Balance: 0 Ether
ETH USD Value: $0
No Of Transactions: 148 txns
Token Tracker 0x0a1524bfbb8905de0a3b15bdf8d678e7fb9c8c68
  Latest 25 txns from a total Of 148 transactions View All

TxHash Age From To Value [TxFee]
0x7eab50deeee3a37a08866ad07391baa6d88e3530efea952628b9c14f792a75a314 days 11 hrs ago0x5ff034485e07bc75272f6b07e9336ba4261e2ec3  IN  JesusCoinCrowdsale0.025 Ether0.000269116
0xeecddd5dc8b74a85fba7601964cfe10878b55d9c8166608946dfcabdf257627c20 days 45 mins ago0x67d6fabb0fd9e9a25d11774ac5038394565df106  IN  JesusCoinCrowdsale0.01 Ether0.00105
0xbfbb0c9de15d7b9a88755af605e48239a5f815459aaea5abe6c7eb484708e75938 days 5 hrs ago0xa1505a0b8f10e14df15865cc8b7d64bf02b6e3d1  IN  JesusCoinCrowdsale0.05 Ether0.0007536375
0xaf2e887f494b5fd9144e07da1007986cb1c85d85ee50e94c8f8c02c960aa6d1d38 days 5 hrs ago0xa1505a0b8f10e14df15865cc8b7d64bf02b6e3d1  IN  JesusCoinCrowdsale0.0514 Ether0.000655126747
0x37e90db80804f30a7be5560e90eb28bd4e5a428cacb22f7d8bc9ff6c4bc44b3a38 days 10 hrs ago0x140e6736922364daad60415e8cde268703cd43cf  IN  JesusCoinCrowdsale0.03247846 Ether0.001411473
0x7662c01f95883d8b7900d8128b00f6db8b731c187ffc48c9cc9384659ec4d08938 days 11 hrs ago0x47bfe97bf12f8f2609075fe9f31ad4e277703bc2  IN  JesusCoinCrowdsale0.03277 Ether0.001613112
0x6f998be59eb7010439825e1def563e41d1ccc12c80f772a0e6867cef5ae2046b38 days 19 hrs ago0x4e8981b5852362effa89360f6b437c318fe0b9d6  IN  JesusCoinCrowdsale0.01 Ether0.001613112
0xd639cc2a5a5ca78b5a06c1bfbf972905b5c6c8dd41ca7941287af4bc343ae4d339 days 17 hrs ago0x2ea11ba8fa78a53dea6c8eb7f6c145b39f7b5c83  IN  JesusCoinCrowdsale0.055 Ether0.001096473
0xe6566fc74f6d49598d147fe38281c9b0aad912d74f7c3baf7918433ca3a4a8a039 days 18 hrs ago0x2ea11ba8fa78a53dea6c8eb7f6c145b39f7b5c83  IN  JesusCoinCrowdsale0.055 Ether0.001096473
0xfa55f2b1b6b30d4a5c616e1517180ee7a705a9a053aaf9157c7903ef9278c2d240 days 4 hrs ago0x5f3fe549570292130345d621e2c988a1a4ae89f2  IN  JesusCoinCrowdsale0.04 Ether0.00144963
0x3a9a14ec8df65a0b57d8f2c013339332ecc4982939d922b6fadcd19d1744a0f040 days 19 hrs ago0xb82425dd6eb090a91012b5fd5cfb51cd51ff7012  IN  JesusCoinCrowdsale0.008 Ether0.00067191
0x3f1717955bde49d3cc7ac642fd87063a14218ad0a05c6607c656f12db173f6da41 days 9 hrs ago0xc51a5355fb60899fd6a80f73003cdede99202d2b  IN  JesusCoinCrowdsale0.052668989 Ether0.001096011
0x8039e0e5dc456a340f6dc9f5bc7fff42935aff4a3fe109bf8b2c37a8ad788ecb41 days 10 hrs ago0xc51a5355fb60899fd6a80f73003cdede99202d2b  IN  JesusCoinCrowdsale0.01 Ether0.001411011
0x76dadfa7b5f70c34221c67f513a766f9d14a9ae571fbc9e7158eeb2ef561740d42 days 8 hrs ago0x24c1bbb2421cf83ed6cbec5a81595e9236d71f54  IN  JesusCoinCrowdsale0.001 Ether0.00150246532
0x3ed9bba84127aa69cd9a6bdb743b4f4c0d1cf227cecc563c7bf93ab8e39bed6147 days 17 mins ago0x317ea373087812bcaa60befa1e4beacb5d6961e3  IN  JesusCoinCrowdsale0.01 Ether0.002217303
0xcddafdd331037f12b93c6531f40d477fc3c7445ad7edb31a00284ef4fd37e00548 days 5 hrs ago0x47bbad55004e138b65572d5d868cafb4ff905bf1  IN  JesusCoinCrowdsale0.01 Ether0.001411011
0xfa36c29649aa37c48da52caedbbea5df3f11d220f63f785a9329ff7fa480ed1048 days 8 hrs ago0x8f60edc3b9dfb1c63a553d0181d54a5995ec5b51  IN  JesusCoinCrowdsale0.1 Ether0.001411011
0x2b8c8875a429ea7efa776302d42abc0358424b19aecd9ccf24bac168c534d8f549 days 5 hrs ago0x493a8414c3760455f86196538df3cbfef1aa9e4e  IN  JesusCoinCrowdsale2 Ether0.00260955
0xdb15a5f213b3a51d7d768219c4827d651497ddd24b54c2d760e18e4da69228a050 days 5 hrs ago0x493a8414c3760455f86196538df3cbfef1aa9e4e  IN  JesusCoinCrowdsale0.1 Ether0.001411011
0xcf3f311f3f1f5ab0b374fc18a4eb3564d883f734a1c15d2715e20c19601c4d5c50 days 11 hrs ago0x3042c3cc2b3d40f453745c5f9f8636b55c68ee4f  IN  JesusCoinCrowdsale0.01 Ether0.001096011
0xef5e25730759ea41aea79f6a0216cf5797677bc264719b60bfcb86da853b3f4650 days 11 hrs ago0x3042c3cc2b3d40f453745c5f9f8636b55c68ee4f  IN  JesusCoinCrowdsale0.16 Ether0.001411011
0xc63bda0c758b5f6f3fe2cf85d02d618d46d24a51911d04a1ab7b39a0415dbbf252 days 23 hrs ago0xe1cd07110ecf33abba7c354add796bf8d470024e  IN  JesusCoinCrowdsale0.01 Ether0.00067191
0xde2096a974e743548bc5b0a6e22d2154e32f05d8c272ff75a47af306a2ec4e4c56 days 16 hrs ago0xbf72c650edfb7e1f22b6a6e4a4b01fab29697ea9  IN  JesusCoinCrowdsale0.19 Ether0.001679775
0xcdf194b71c2716d55c1999b978890ef25dfded608830b28ccd8c98fe0eff187758 days 20 hrs ago0x7e87f3644a8c29cf8280c990fe3187526bd16ac9  IN  JesusCoinCrowdsale0.1 Ether0.00201573
0x20fc8e8b23fc4e966dd772e0f72108688a911437a68206b238ad5434385509de61 days 3 hrs ago0x8f132ca5bcb3aad705c0eb9042c86ed5a4ecc666  IN  JesusCoinCrowdsale0.25 Ether0.001411011
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
  Latest 25 Internal Txns, Click here to View More View All
ParentTxHash Block Age From To Value
0x7eab50deeee3a37a08866ad07391baa6d88e3530efea952628b9c14f792a75a3450468014 days 11 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.025 Ether
0x37e90db80804f30a7be5560e90eb28bd4e5a428cacb22f7d8bc9ff6c4bc44b3a436398038 days 10 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.03247846 Ether
0x7662c01f95883d8b7900d8128b00f6db8b731c187ffc48c9cc9384659ec4d089436384338 days 11 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.03277 Ether
0x6f998be59eb7010439825e1def563e41d1ccc12c80f772a0e6867cef5ae2046b436289138 days 19 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.01 Ether
0xd639cc2a5a5ca78b5a06c1bfbf972905b5c6c8dd41ca7941287af4bc343ae4d3436009839 days 17 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.055 Ether
0xe6566fc74f6d49598d147fe38281c9b0aad912d74f7c3baf7918433ca3a4a8a0436008039 days 18 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.055 Ether
0xfa55f2b1b6b30d4a5c616e1517180ee7a705a9a053aaf9157c7903ef9278c2d2435882640 days 4 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.04 Ether
0x3a9a14ec8df65a0b57d8f2c013339332ecc4982939d922b6fadcd19d1744a0f0435710540 days 19 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.008 Ether
0x3f1717955bde49d3cc7ac642fd87063a14218ad0a05c6607c656f12db173f6da435536541 days 9 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.052668989 Ether
0x8039e0e5dc456a340f6dc9f5bc7fff42935aff4a3fe109bf8b2c37a8ad788ecb435525041 days 10 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.01 Ether
0x76dadfa7b5f70c34221c67f513a766f9d14a9ae571fbc9e7158eeb2ef561740d435250942 days 8 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.001 Ether
0x3ed9bba84127aa69cd9a6bdb743b4f4c0d1cf227cecc563c7bf93ab8e39bed61433916647 days 17 mins ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.01 Ether
0xcddafdd331037f12b93c6531f40d477fc3c7445ad7edb31a00284ef4fd37e005433553048 days 5 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.01 Ether
0xfa36c29649aa37c48da52caedbbea5df3f11d220f63f785a9329ff7fa480ed10433526248 days 8 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.1 Ether
0x2b8c8875a429ea7efa776302d42abc0358424b19aecd9ccf24bac168c534d8f5433270849 days 5 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de82 Ether
0xdb15a5f213b3a51d7d768219c4827d651497ddd24b54c2d760e18e4da69228a0432987050 days 5 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.1 Ether
0xcf3f311f3f1f5ab0b374fc18a4eb3564d883f734a1c15d2715e20c19601c4d5c432915250 days 11 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.01 Ether
0xef5e25730759ea41aea79f6a0216cf5797677bc264719b60bfcb86da853b3f46432914650 days 11 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.16 Ether
0xc63bda0c758b5f6f3fe2cf85d02d618d46d24a51911d04a1ab7b39a0415dbbf2432203952 days 23 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.01 Ether
0xde2096a974e743548bc5b0a6e22d2154e32f05d8c272ff75a47af306a2ec4e4c431139756 days 16 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.19 Ether
0xcdf194b71c2716d55c1999b978890ef25dfded608830b28ccd8c98fe0eff1877430517858 days 20 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.1 Ether
0x20fc8e8b23fc4e966dd772e0f72108688a911437a68206b238ad5434385509de429797761 days 3 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.25 Ether
0x09deb8654169c7ca26d8922ef3dffb2459bf21aef3d9dbd53d83766c58774e0a429756461 days 6 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.26 Ether
0x7018350fd8ce78330f1af231cbda00d12e82bcf7dcbc260b347fa10ace9d44cc429067963 days 3 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.3 Ether
0xf1bbd04659e1e52952eedad6b3008a3ef13433c01c4b64ec69b80f89d79d0c2a429049663 days 5 hrs ago0x99da01230f505df9ef9987f8529d875e954b0a810x61cc738aef5d67ec7954b03871ba13dde5b87de80.01759 Ether
[ Download CSV Export  ] 
Warning: The compiled contract might be susceptible to ZeroFunctionSelector (very low-severity) Solidity compiler bugs.

Contract Source Code Verified
Contract Name: JesusCrowdsale
Compiler Version: v0.4.16+commit.d7661dd9
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
pragma solidity ^0.4.16;

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
  function mul(uint256 a, uint256 b) internal constant returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function div(uint256 a, uint256 b) internal constant returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return c;
  }

  function sub(uint256 a, uint256 b) internal constant returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  function add(uint256 a, uint256 b) internal constant returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}


/**
 * @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);
  function transfer(address to, uint256 value) returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}


/**
 * @title Basic token
 * @dev Basic version of StandardToken, with no allowances. 
 */
contract BasicToken is ERC20Basic {
  using SafeMath for uint256;

  mapping(address => uint256) balances;

  /**
  * @dev transfer token for a specified address
  * @param _to The address to transfer to.
  * @param _value The amount to be transferred.
  */
  function transfer(address _to, uint256 _value) returns (bool) {
    balances[msg.sender] = balances[msg.sender].sub(_value);
    balances[_to] = balances[_to].add(_value);
    Transfer(msg.sender, _to, _value);
    return true;
  }

  /**
  * @dev Gets the balance of the specified address.
  * @param _owner The address to query the the balance of. 
  * @return An uint256 representing the amount owned by the passed address.
  */
  function balanceOf(address _owner) constant returns (uint256 balance) {
    return balances[_owner];
  }

}

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) constant returns (uint256);
  function transferFrom(address from, address to, uint256 value) returns (bool);
  function approve(address spender, uint256 value) returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * @dev https://github.com/ethereum/EIPs/issues/20
 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract StandardToken is ERC20, BasicToken {

  mapping (address => mapping (address => uint256)) allowed;

  /**
   * @dev Transfer tokens from one address to another
   * @param _from address The address which you want to send tokens from
   * @param _to address The address which you want to transfer to
   * @param _value uint256 the amout of tokens to be transfered
   */
  function transferFrom(address _from, address _to, uint256 _value) returns (bool) {
    var _allowance = allowed[_from][msg.sender];

    // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met
    // require (_value <= _allowance);

    balances[_to] = balances[_to].add(_value);
    balances[_from] = balances[_from].sub(_value);
    allowed[_from][msg.sender] = _allowance.sub(_value);
    Transfer(_from, _to, _value);
    return true;
  }

  /**
   * @dev Aprove the passed address to spend the specified amount of tokens on behalf of msg.sender.
   * @param _spender The address which will spend the funds.
   * @param _value The amount of tokens to be spent.
   */
  function approve(address _spender, uint256 _value) returns (bool) {

    // To change the approve amount you first have to reduce the addresses`
    //  allowance to zero by calling `approve(_spender, 0)` if it is not
    //  already 0 to mitigate the race condition described here:
    //  https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    require((_value == 0) || (allowed[msg.sender][_spender] == 0));

    allowed[msg.sender][_spender] = _value;
    Approval(msg.sender, _spender, _value);
    return true;
  }

  /**
   * @dev Function to check the amount of tokens that an owner allowed to a spender.
   * @param _owner address The address which owns the funds.
   * @param _spender address The address which will spend the funds.
   * @return A uint256 specifing the amount of tokens still avaible for the spender.
   */
  function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
    return allowed[_owner][_spender];
  }

}

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address public owner;

  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() {
    owner = msg.sender;
  }

  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }

  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) onlyOwner {
    if (newOwner != address(0)) {
      owner = newOwner;
    }
  }

}

/**
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is Ownable {
  event Pause();
  event Unpause();

  bool public paused = false;

  /**
   * @dev modifier to allow actions only when the contract IS paused
   */
  modifier whenNotPaused() {
    require(!paused);
    _;
  }

  /**
   * @dev modifier to allow actions only when the contract IS NOT paused
   */
  modifier whenPaused {
    require(paused);
    _;
  }

  /**
   * @dev called by the owner to pause, triggers stopped state
   */
  function pause() onlyOwner whenNotPaused returns (bool) {
    paused = true;
    Pause();
    return true;
  }

  /**
   * @dev called by the owner to unpause, returns to normal state
   */
  function unpause() onlyOwner whenPaused returns (bool) {
    paused = false;
    Unpause();
    return true;
  }
}

/**
 * @title Mintable token
 * @dev Simple ERC20 Token example, with mintable token creation
 * @dev Issue: * https://github.com/OpenZeppelin/zeppelin-solidity/issues/120
 * Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol
 */

contract MintableToken is StandardToken, Ownable {
  event Mint(address indexed to, uint256 amount);
  event MintFinished();

  bool public mintingFinished = false;

  modifier canMint() {
    require(!mintingFinished);
    _;
  }

  /**
   * @dev Function to mint tokens
   * @param _to The address that will recieve the minted tokens.
   * @param _amount The amount of tokens to mint.
   * @return A boolean that indicates if the operation was successful.
   */
  function mint(address _to, uint256 _amount) onlyOwner canMint returns (bool) {
    totalSupply = totalSupply.add(_amount);
    balances[_to] = balances[_to].add(_amount);
    Mint(_to, _amount);
    return true;
  }

  /**
   * @dev Function to stop minting new tokens.
   * @return True if the operation was successful.
   */
  function finishMinting() onlyOwner returns (bool) {
    mintingFinished = true;
    MintFinished();
    return true;
  }
}

/** 
 * @title TokenDestructible:
 * @author Remco Bloemen <[email protected]π.com>
 * @dev Base contract that can be destroyed by owner. All funds in contract including
 * listed tokens will be sent to the owner.
 */
contract TokenDestructible is Ownable {

  function TokenDestructible() payable { } 

  /** 
   * @notice Terminate contract and refund to owner
   * @param tokens List of addresses of ERC20 or ERC20Basic token contracts to
   refund.
   * @notice The called token contracts could try to re-enter this contract. Only
   supply token contracts you trust.
   */
  function destroy(address[] tokens) onlyOwner {

    // Transfer tokens to owner
    for (uint256 i = 0; i < tokens.length; i++) {
      ERC20Basic token = ERC20Basic(tokens[i]);
      uint256 balance = token.balanceOf(this);
      token.transfer(owner, balance);
    }

    // Transfer Eth to owner and terminate contract
    selfdestruct(owner);
  }
}

/**
 * @title JesusCoin token
 * @dev Simple ERC20 Token example, with mintable token creation
 * @dev Issue: * https://github.com/OpenZeppelin/zeppelin-solidity/issues/120
 * Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol
 */
 
contract JesusCoin is StandardToken, Ownable, TokenDestructible {

  string public name = "Jesus Coin";
  uint8 public decimals = 18;
  string public symbol = "JC";
  string public version = "0.2";

  event Mint(address indexed to, uint256 amount);
  event MintFinished();

  bool public mintingFinished = false;

  modifier canMint() {
    require(!mintingFinished);
    _;
  }

  function mint(address _to, uint256 _amount) onlyOwner canMint returns (bool) {
    totalSupply = totalSupply.add(_amount);
    balances[_to] = balances[_to].add(_amount);
    Mint(_to, _amount);
    Transfer(0x0, _to, _amount);
    return true;
  }

  function finishMinting() onlyOwner returns (bool) {
    mintingFinished = true;
    MintFinished();
    return true;
  }
}


/**
 * @title Crowdsale 
 * @dev Crowdsale is a base contract for managing a token crowdsale.
 * Crowdsales have a start and end block, where investors can make
 * token purchases and the crowdsale will assign them tokens based
 * on a token per ETH rate. Funds collected are forwarded to a wallet 
 * as they arrive.
 */
contract JesusCrowdsale is Ownable, Pausable, TokenDestructible {
  using SafeMath for uint256;

  JesusCoin public token;

  uint256 constant public START = 1507755600; // +new Date(2017, 9, 12) / 1000
  uint256 constant public END = 1513029600; // +new Date(2017, 11, 12) / 1000

  address public wallet = 0x61cc738Aef5D67ec7954B03871BA13dDe5B87DE8;
  address public bountyWallet = 0x03D299B68f8a0e47edd0609FB2B77FC0F2e4fa9e;

  uint256 public weiRaised;

  bool public bountyDistributed;

  function JesusCrowdsale() payable {
    token = new JesusCoin();
  }

  // function to get the price of the token
  // returns how many token units a buyer gets per wei, needs to be divided by 10
  function getRate() constant returns (uint8) {
    if      (block.timestamp < START)            return 166; // presale, 40% bonus
    else if (block.timestamp <= START +  6 days) return 162; // day 1 to 6, 35% bonus
    else if (block.timestamp <= START + 13 days) return 156; // day 7 to 13, 30% bonus
    else if (block.timestamp <= START + 20 days) return 150; // day 14 to 20, 25% bonus
    else if (block.timestamp <= START + 27 days) return 144; // day 21 to 27, 20% bonus
    else if (block.timestamp <= START + 34 days) return 138; // day 28 to 34, 15% bonus
    else if (block.timestamp <= START + 41 days) return 132; // day 35 to 41, 10% bonus
    else if (block.timestamp <= START + 48 days) return 126; // day 42 to 48, 5% bonus
    return 120; // no bonus
  }

  // fallback function can be used to buy tokens
  function () payable {
    buyTokens(msg.sender);
  }

  function buyTokens(address beneficiary) whenNotPaused() payable {
    require(beneficiary != 0x0);
    require(msg.value != 0);
    require(block.timestamp <= END);

    uint256 weiAmount = msg.value;
    weiRaised = weiRaised.add(weiAmount);

    uint256 tokens = weiAmount.mul(getRate()).div(10);
    token.mint(beneficiary, tokens);

    wallet.transfer(msg.value);
  }

  function distributeBounty() onlyOwner {
    require(!bountyDistributed);
    require(block.timestamp >= END);

    // calculate token amount to be minted for bounty
    uint256 amount = weiRaised.div(100).mul(2); // 2% of all tokens
    token.mint(bountyWallet, amount);
    
    bountyDistributed = true;
  }
  
  /**
   * @dev Function to stop minting new tokens.
   * @return True if the operation was successful.
   */
  function finishMinting() onlyOwner returns (bool) {
    require(bountyDistributed);
    require(block.timestamp >= END);

    return token.finishMinting();
  }

}

    Contract ABI  
[{"constant":false,"inputs":[],"name":"unpause","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"weiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getRate","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"START","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tokens","type":"address[]"}],"name":"destroy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"distributeBounty","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"bountyWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bountyDistributed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"beneficiary","type":"address"}],"name":"buyTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"END","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":true,"stateMutability":"payable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60606040526000805460a060020a60ff021916905560028054600160a060020a03199081167361cc738aef5d67ec7954b03871ba13dde5b87de817909155600380549091167303d299b68f8a0e47edd0609fb2b77fc0f2e4fa9e1790555b5b5b60008054600160a060020a03191633600160a060020a03161790555b5b6100846100c0565b604051809103906000f080151561009a57600080fd5b60018054600160a060020a031916600160a060020a03929092169190911790555b6100d0565b604051610efa80610bc983390190565b610aea806100df6000396000f300606060405236156100d55763ffffffff60e060020a6000350416633f4ba83a81146100e25780634042b66f14610109578063521eb2731461012e5780635c975abb1461015d578063679aefce146101845780637d64bcb4146101ad5780638456cb59146101d45780638da5cb5b146101fb578063ba9a061a1461022a578063c6786e5a1461024f578063e34a90a7146102a0578063e5760520146102b5578063e7ff0e38146102e4578063ec8ac4d81461030b578063efe7a50414610321578063f2fde38b14610346578063fc0c546a14610367575b5b6100df33610396565b5b005b34156100ed57600080fd5b6100f56104df565b604051901515815260200160405180910390f35b341561011457600080fd5b61011c610566565b60405190815260200160405180910390f35b341561013957600080fd5b61014161056c565b604051600160a060020a03909116815260200160405180910390f35b341561016857600080fd5b6100f561057b565b604051901515815260200160405180910390f35b341561018f57600080fd5b61019761058b565b60405160ff909116815260200160405180910390f35b34156101b857600080fd5b6100f5610634565b604051901515815260200160405180910390f35b34156101df57600080fd5b6100f56106db565b604051901515815260200160405180910390f35b341561020657600080fd5b610141610767565b604051600160a060020a03909116815260200160405180910390f35b341561023557600080fd5b61011c610776565b60405190815260200160405180910390f35b341561025a57600080fd5b6100df600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965061077e95505050505050565b005b34156102ab57600080fd5b6100df6108d8565b005b34156102c057600080fd5b6101416109d2565b604051600160a060020a03909116815260200160405180910390f35b34156102ef57600080fd5b6100f56109e1565b604051901515815260200160405180910390f35b6100df600160a060020a0360043516610396565b005b341561032c57600080fd5b61011c6109ea565b60405190815260200160405180910390f35b341561035157600080fd5b6100df600160a060020a03600435166109f2565b005b341561037257600080fd5b610141610a4a565b604051600160a060020a03909116815260200160405180910390f35b60008054819060a060020a900460ff16156103b057600080fd5b600160a060020a03831615156103c557600080fd5b3415156103d157600080fd5b635a2effe04211156103e257600080fd5b6004543492506103f8908363ffffffff610a5916565b600455610427600a61041b61040b61058b565b859060ff1663ffffffff610a7316565b9063ffffffff610aa216565b600154909150600160a060020a03166340c10f19848360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561048957600080fd5b6102c65a03f1151561049a57600080fd5b50505060405180515050600254600160a060020a03163480156108fc0290604051600060405180830381858888f1935050505015156104d857600080fd5b5b5b505050565b6000805433600160a060020a039081169116146104fb57600080fd5b60005460a060020a900460ff16151561051357600080fd5b6000805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a15060015b5b5b90565b60045481565b600254600160a060020a031681565b60005460a060020a900460ff1681565b60006359de86504210156105a1575060a6610561565b6359e66f5042116105b4575060a2610561565b6359efa9d042116105c75750609c610561565b6359f8e45042116105da57506096610561565b635a021ed042116105ed57506090610561565b635a0b595042116106005750608a610561565b635a1493d0421161061357506084610561565b635a1dce5042116106265750607e610561565b5b5b5b5b5b5b5b5060785b90565b6000805433600160a060020a0390811691161461065057600080fd5b60055460ff16151561066157600080fd5b635a2effe042101561067257600080fd5b600154600160a060020a0316637d64bcb46000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156106ba57600080fd5b6102c65a03f115156106cb57600080fd5b50505060405180519150505b5b90565b6000805433600160a060020a039081169116146106f757600080fd5b60005460a060020a900460ff161561070e57600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a15060015b5b5b90565b600054600160a060020a031681565b6359de865081565b600080548190819033600160a060020a0390811691161461079e57600080fd5b600092505b83518310156108c3578383815181106107b857fe5b90602001906020020151915081600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561081b57600080fd5b6102c65a03f1151561082c57600080fd5b505050604051805160008054919350600160a060020a03808616935063a9059cbb92169084906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561089c57600080fd5b6102c65a03f115156108ad57600080fd5b505050604051805150505b6001909201916107a3565b600054600160a060020a0316ff5b5b50505050565b6000805433600160a060020a039081169116146108f457600080fd5b60055460ff161561090457600080fd5b635a2effe042101561091557600080fd5b61093c60026109306064600454610aa290919063ffffffff16565b9063ffffffff610a7316565b600154600354919250600160a060020a03908116916340c10f1991168360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156109a557600080fd5b6102c65a03f115156109b657600080fd5b505050604051805150506005805460ff191660011790555b5b50565b600354600160a060020a031681565b60055460ff1681565b635a2effe081565b60005433600160a060020a03908116911614610a0d57600080fd5b600160a060020a038116156109ce576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b5b50565b600154600160a060020a031681565b600082820183811015610a6857fe5b8091505b5092915050565b6000828202831580610a8f5750828482811515610a8c57fe5b04145b1515610a6857fe5b8091505b5092915050565b6000808284811515610ab057fe5b0490508091505b50929150505600a165627a7a72305820ef94948e126183a6d1122609ba0265cb9eb27a4f6df9cf6958cc25b36be082820029606060405260408051908101604052600a81527f4a6573757320436f696e000000000000000000000000000000000000000000006020820152600490805161004b929160200190610117565b506005805460ff1916601217905560408051908101604052600281527f4a43000000000000000000000000000000000000000000000000000000000000602082015260069080516100a0929160200190610117565b5060408051908101604052600381527f302e320000000000000000000000000000000000000000000000000000000000602082015260079080516100e8929160200190610117565b506008805460ff191690555b5b60038054600160a060020a03191633600160a060020a03161790555b5b6101b7565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061015857805160ff1916838001178555610185565b82800160010185558215610185579182015b8281111561018557825182559160200191906001019061016a565b5b50610192929150610196565b5090565b6101b491905b80821115610192576000815560010161019c565b5090565b90565b610d34806101c66000396000f300606060405236156100ca5763ffffffff60e060020a60003504166305d2035b81146100cf57806306fdde03146100f6578063095ea7b31461018157806318160ddd146101b757806323b872dd146101dc578063313ce5671461021857806340c10f191461024157806354fd4d501461027757806370a08231146103025780637d64bcb4146103335780638da5cb5b1461035a57806395d89b4114610389578063a9059cbb14610414578063c6786e5a1461044a578063dd62ed3e1461049b578063f2fde38b146104d2575b600080fd5b34156100da57600080fd5b6100e26104f3565b604051901515815260200160405180910390f35b341561010157600080fd5b6101096104fc565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101465780820151818401525b60200161012d565b50505050905090810190601f1680156101735780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561018c57600080fd5b6100e2600160a060020a036004351660243561059a565b604051901515815260200160405180910390f35b34156101c257600080fd5b6101ca610641565b60405190815260200160405180910390f35b34156101e757600080fd5b6100e2600160a060020a0360043581169060243516604435610647565b604051901515815260200160405180910390f35b341561022357600080fd5b61022b61075c565b60405160ff909116815260200160405180910390f35b341561024c57600080fd5b6100e2600160a060020a0360043516602435610765565b604051901515815260200160405180910390f35b341561028257600080fd5b61010961086e565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101465780820151818401525b60200161012d565b50505050905090810190601f1680156101735780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561030d57600080fd5b6101ca600160a060020a036004351661090c565b60405190815260200160405180910390f35b341561033e57600080fd5b6100e261092b565b604051901515815260200160405180910390f35b341561036557600080fd5b61036d61098a565b604051600160a060020a03909116815260200160405180910390f35b341561039457600080fd5b610109610999565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101465780820151818401525b60200161012d565b50505050905090810190601f1680156101735780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561041f57600080fd5b6100e2600160a060020a0360043516602435610a37565b604051901515815260200160405180910390f35b341561045557600080fd5b6104996004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650610af795505050505050565b005b34156104a657600080fd5b6101ca600160a060020a0360043581169060243516610c52565b60405190815260200160405180910390f35b34156104dd57600080fd5b610499600160a060020a0360043516610c7f565b005b60085460ff1681565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105925780601f1061056757610100808354040283529160200191610592565b820191906000526020600020905b81548152906001019060200180831161057557829003601f168201915b505050505081565b60008115806105cc5750600160a060020a03338116600090815260026020908152604080832093871683529290522054155b15156105d757600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005481565b600160a060020a03808416600090815260026020908152604080832033851684528252808320549386168352600190915281205490919061068e908463ffffffff610cd716565b600160a060020a0380861660009081526001602052604080822093909355908716815220546106c3908463ffffffff610cf116565b600160a060020a0386166000908152600160205260409020556106ec818463ffffffff610cf116565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600191505b509392505050565b60055460ff1681565b60035460009033600160a060020a0390811691161461078357600080fd5b60085460ff161561079357600080fd5b6000546107a6908363ffffffff610cd716565b6000908155600160a060020a0384168152600160205260409020546107d1908363ffffffff610cd716565b600160a060020a0384166000818152600160205260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a282600160a060020a031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060015b5b5b92915050565b60078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105925780601f1061056757610100808354040283529160200191610592565b820191906000526020600020905b81548152906001019060200180831161057557829003601f168201915b505050505081565b600160a060020a0381166000908152600160205260409020545b919050565b60035460009033600160a060020a0390811691161461094957600080fd5b6008805460ff191660011790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a15060015b5b90565b600354600160a060020a031681565b60068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105925780601f1061056757610100808354040283529160200191610592565b820191906000526020600020905b81548152906001019060200180831161057557829003601f168201915b505050505081565b600160a060020a033316600090815260016020526040812054610a60908363ffffffff610cf116565b600160a060020a033381166000908152600160205260408082209390935590851681522054610a95908363ffffffff610cd716565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b6003546000908190819033600160a060020a03908116911614610b1957600080fd5b600092505b8351831015610c3d57838381518110610b3357fe5b90602001906020020151915081600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610b9657600080fd5b6102c65a03f11515610ba757600080fd5b5050506040518051600354909250600160a060020a03808516925063a9059cbb91168360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610c1657600080fd5b6102c65a03f11515610c2757600080fd5b505050604051805150505b600190920191610b1e565b600354600160a060020a0316ff5b5b50505050565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b60035433600160a060020a03908116911614610c9a57600080fd5b600160a060020a03811615610cd2576003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b5b50565b600082820183811015610ce657fe5b8091505b5092915050565b600082821115610cfd57fe5b508082035b929150505600a165627a7a7230582003f4e1cdd7b169df2510c5a0adb59bfb72f5706e579efb419c315b9ada939d770029

   Swarm Source:
bzzr://03f4e1cdd7b169df2510c5a0adb59bfb72f5706e579efb419c315b9ada939d77
View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.