Sponsored Link:  Dmarket – first cross-game trading platform based on blockchain technology. Check the Whitepaper.
Contract Overview | mass.cloudCrowdsale
ETH Balance: 0 Ether
ETH USD Value: $0
No Of Transactions: 1444 txns
  Latest 25 txns from a total Of 1444 transactions View All

TxHash Age From To Value [TxFee]
0x986b2e57dfa5b3c290f4fd6601814a1988fc595a1b89de522f63a599836874e422 mins ago0xd8d411e884e0f5d9a699e94069fe22cbf4103cfa  IN   mass.cloudCrowdsale0.19 Ether0.004809062225
0x4ef391a40a7909bd2d08571c647dc41d3f8c5cc4160e2bff04e5d1f6f4ad66392 days 20 hrs ago0xea03c51af8435a366902aaaf8070b2bc0bd36bed  IN   mass.cloudCrowdsale0 Ether0.0021
0x0aaa398d76c0f69d2347274794d66476b5bf9566fa832a7984abb66673d815e32 days 20 hrs ago0xea03c51af8435a366902aaaf8070b2bc0bd36bed  IN   mass.cloudCrowdsale0 Ether0.0021
0x241adf28a5873ca3b16659abb2be2274eb27e49dc450cf259d9518ae85368c592 days 20 hrs ago0xea03c51af8435a366902aaaf8070b2bc0bd36bed  IN   mass.cloudCrowdsale0 Ether0.0021
0x1b19698ecec7e85913ba24bc5598ecce23678cb82725b302a0c45966116b9a262 days 20 hrs ago0xea03c51af8435a366902aaaf8070b2bc0bd36bed  IN   mass.cloudCrowdsale0 Ether0.000488376
0xdbea7e4dbd56e7bb1349dbf2c2ecb7e1a431b2ffd5876f8b9a3a5f78f010eb524 days 1 hr ago0x2b4a66416626ccd095e78ec1a481df5356626789  IN   mass.cloudCrowdsale0 Ether0.0042
0xf944fb4e28cf9ab3d533e8e571821a1b03ec1ba1191148e5c3e49819c1bedc305 days 4 hrs ago0x3b75ad386f38933b72927198a8ccbe105c457e9a  IN   mass.cloudCrowdsale0 Ether0.0042
0x36e3deb109c257a126b4ebd2f9209000ace97ee3dc9ee48445b7469323c6274a7 days 18 hrs ago0x2b4a66416626ccd095e78ec1a481df5356626789  IN   mass.cloudCrowdsale0 Ether0.0042
0x8b1c13db541375e16fa8e87a27dcbfa3e4cd2e30c6f25c8ffd5cf443e509c01911 days 8 hrs ago0x0262a477c715770a4351cc338c1f84db43f7dfae  IN   mass.cloudCrowdsale0 Ether0.0042
0x6410778b7b7c619287bc189f9bb0cd813c85ed300909ab7aed7bee365435d8f411 days 11 hrs ago0x0a9720cb0b5321fb8758e96ebe0d7a0aa5373e7c  IN   mass.cloudCrowdsale0 Ether0.000487032
0x438a3c1c5d930812a7021deb2265ce1454b797f8745dfe57729cfde2d93e47d317 days 21 hrs ago0x7a66380d04f7ec41ba8e9f59d1bf87adff22e419  IN   mass.cloudCrowdsale0 Ether0.0042
0x0f9092d057a5db67b1f103c01a528e1e59432b570c8246d28c94db80e01bebcd19 days 15 hrs ago0x461e06ea3978712ac81028c17c8ca67cc537c3f1  IN   mass.cloudCrowdsale0 Ether0.00021
0x4b426127beae0f8e88cb7a99ea4b34434435a5d2315f2520e127438337694e6420 days 9 hrs ago0x04dbd0f44f757d77e7b778fd8f5142875fd0546f  IN   mass.cloudCrowdsale0 Ether0.000488376
0x081c98ed734bd16c76478d9e494f3a4d21a8f9877c296ff42b11dc376b0a642422 days 10 hrs ago0x4f3f6631631625ce231aeec0accc261fb671be2d  IN   mass.cloudCrowdsale0.497 Ether0.00105
0x3d8576607327fe2e678e08398b826082bc0c086d56136d98818133cb96d1e29922 days 13 hrs ago0xc8aec25691ce21dcc905855c1162bf0bdce8cd55  IN   mass.cloudCrowdsale0 Ether0.0042
0x048109b0f9c3ef43fbc5242be54cb612a711326f6256eb7f6bb31cc8539a1f7e22 days 14 hrs ago0xc8aec25691ce21dcc905855c1162bf0bdce8cd55  IN   mass.cloudCrowdsale0 Ether0.000441
0x077e4d64f29fbe075f23855ad68071a979e4eae70684d618652eed9b259789fe23 days 10 hrs ago0x04dbd0f44f757d77e7b778fd8f5142875fd0546f  IN   mass.cloudCrowdsale0 Ether0.000441
0x9ce9b1124644fdca291cf6357b73d0db80f7d27147cb01075a09d925cd60beac23 days 11 hrs ago0xb724dd94907783f500f2d609fb7dca15198582a6  IN   mass.cloudCrowdsale0 Ether0.0042
0x01e9f0ce3b9f046e82977168abcaead2dca94c7f10538361483df2937def724d23 days 11 hrs ago0x1f9f96e7678de8fdcc48616a2fbe8857e5da9d11  IN   mass.cloudCrowdsale0 Ether0.000525
0x908f3f8058989287010ee1b12a0366ebf9c9633dbdded5943ec7af1311e3ad0323 days 13 hrs ago0xd5347709ea55f4cc154050a8d8ba5a8cece6606e  IN   mass.cloudCrowdsale0 Ether0.0056
0xda5f1b5ee977283eb7826ef8d9e208c0ad873ee6aa9955e951916a2b9bc8fb2423 days 14 hrs ago0xb724dd94907783f500f2d609fb7dca15198582a6  IN   mass.cloudCrowdsale0 Ether0.0042
0x6cc478a946d9643afbaa0a839784ddd40f0c03349cab047b2be32a2bdd5b9ded23 days 14 hrs ago0xb724dd94907783f500f2d609fb7dca15198582a6  IN   mass.cloudCrowdsale0 Ether0.000491064
0xfb136c9bd8baa72a80eda010917c75a884fd67b280a6e2563736eb2eb07a283523 days 14 hrs ago0xb724dd94907783f500f2d609fb7dca15198582a6  IN   mass.cloudCrowdsale0 Ether0.000491064
0xa343677125d1c16fe167a85e615e1a58cdba93d35341dbf2fda3d206a58cb3e923 days 14 hrs ago0xb724dd94907783f500f2d609fb7dca15198582a6  IN   mass.cloudCrowdsale0 Ether0.0042
0x81a0a2e37955941cc636eb7a1ea8ac9825f67e734fd86e61b78ee3d996bd5a5523 days 14 hrs ago0xb724dd94907783f500f2d609fb7dca15198582a6  IN   mass.cloudCrowdsale0 Ether0.000504
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
  Latest 5 Internal Transactions

ParentTxHash Block Age From To Value
0x72439b3a12559471e20f284dfad8b4ef7aeac7aeff4e6124c6bfca4c867eca7d406955727 days 2 hrs ago0x63c0f17c1f72e1315e3d4f8a89a37d95f13147930xf199af8b17d81c41abe6220a1d7c9fe04d0d9d2c10,000 Ether
0x72439b3a12559471e20f284dfad8b4ef7aeac7aeff4e6124c6bfca4c867eca7d406955727 days 2 hrs ago0x3457edb7f4790ae5fd59de271b58001c73dfc0060x63c0f17c1f72e1315e3d4f8a89a37d95f13147932,907.332434257714459179 Ether
0x91ef505c2f12cd2070ffb64e46bf5eb0104ae61df978d20fe2bf200f0697ccc2402299437 days 6 hrs ago0x7a69674026c14c8d5927a9a971eadcc6454203950x63c0f17c1f72e1315e3d4f8a89a37d95f13147932 Ether
0x6a5545ae7d693ddb2f609eece029c374742d6002dd629fd3a2a23ae3dd09eaca401404439 days 5 hrs ago0x7a69674026c14c8d5927a9a971eadcc6454203950x63c0f17c1f72e1315e3d4f8a89a37d95f13147932 Ether
0x15ec03e0a84afa111c8fbcfe08ed063ced6e6a8dca7deffd1430d1d5a944ee7e401404339 days 5 hrs ago0x7a69674026c14c8d5927a9a971eadcc6454203950x63c0f17c1f72e1315e3d4f8a89a37d95f13147932 Ether
[ Download CSV Export  ] 
Warning: The compiled contract might be susceptible to DelegateCallReturnValue (low-severity), ECRecoverMalformedInput (medium-severity), SkipEmptyStringLiteral (low-severity) Solidity compiler bugs.

Contract Source Code Verified
Contract Name: MASSTokenPreSale
Compiler Version: v0.4.11+commit.68ef5810
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
pragma solidity ^0.4.11;

/**
 * Math operations with safety checks
 */
library SafeMath {
  function mul(uint256 a, uint256 b) internal returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function div(uint256 a, uint256 b) internal 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 returns (uint256) {
    assert(b <= a);
    return a - b;
  }

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

  function max64(uint64 a, uint64 b) internal constant returns (uint64) {
    return a >= b ? a : b;
  }

  function min64(uint64 a, uint64 b) internal constant returns (uint64) {
    return a < b ? a : b;
  }

  function max256(uint256 a, uint256 b) internal constant returns (uint256) {
    return a >= b ? a : b;
  }

  function min256(uint256 a, uint256 b) internal constant returns (uint256) {
    return a < b ? a : b;
  }

}

contract Token {
    uint256 public totalSupply;
    function balanceOf(address _owner) constant returns (uint256 balance);
}

/*  ERC 20 token */
contract PreSaleToken is Token {

    function balanceOf(address _owner) constant returns (uint256 balance) {
        return balances[_owner];
    }
    
    mapping (address => uint256) balances;
}

contract MASSTokenPreSale is PreSaleToken {
    using SafeMath for uint256;

    uint256 public constant decimals = 18;
    
    bool public isEnded = false;
    address public contractOwner;
    address public massEthFund;
    uint256 public presaleStartBlock;
    uint256 public presaleEndBlock;
    uint256 public constant tokenExchangeRate = 1300;
    uint256 public constant tokenCap = 13 * (10**6) * 10**decimals;
    
    event CreatePreSale(address indexed _to, uint256 _amount);
    
    function MASSTokenPreSale(address _massEthFund, uint256 _presaleStartBlock, uint256 _presaleEndBlock) {
        massEthFund = _massEthFund;
        presaleStartBlock = _presaleStartBlock;
        presaleEndBlock = _presaleEndBlock;
        contractOwner = massEthFund;
        totalSupply = 0;
    }
    
    function () payable public {
        if (isEnded) throw;
        if (block.number < presaleStartBlock) throw;
        if (block.number > presaleEndBlock) throw;
        if (msg.value == 0) throw;
        
        uint256 tokens = msg.value.mul(tokenExchangeRate);
        uint256 checkedSupply = totalSupply.add(tokens);
        
        if (tokenCap < checkedSupply) throw;
        
        totalSupply = checkedSupply;
        balances[msg.sender] += tokens;
        CreatePreSale(msg.sender, tokens);
    }
    
    function endPreSale() public {
        require (msg.sender == contractOwner);
        if (isEnded) throw;
        if (block.number < presaleEndBlock && totalSupply != tokenCap) throw;
        isEnded = true;
        if (!massEthFund.send(this.balance)) throw;
    }
}

  Contract ABI  
[{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"tokenExchangeRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"presaleStartBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"presaleEndBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"isEnded","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"contractOwner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"massEthFund","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"tokenCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"endPreSale","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"_massEthFund","type":"address"},{"name":"_presaleStartBlock","type":"uint256"},{"name":"_presaleEndBlock","type":"uint256"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"CreatePreSale","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60606040526002805460ff19169055341561001657fe5b6040516060806105418339810160409081528151602083015191909201515b60038054600160a060020a031916600160a060020a038581169190911791829055600484905560058390556002805461010060a860020a0319166101009390921692909202179055600080555b5050505b6104ac806100956000396000f300606060405236156100ac5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166318160ddd8114610197578063313ce567146101b95780634172d080146101db5780634cb79536146101fd57806370a082311461021f57806375ac3b081461024d578063a4fd6f561461026f578063ce606ee014610293578063d1759141146102bf578063dd54291b146102eb578063ee889ed01461030d575b6101955b600254600090819060ff16156100c65760006000fd5b6004544310156100d65760006000fd5b6005544311156100e65760006000fd5b3415156100f35760006000fd5b6101053461051463ffffffff61031f16565b60005490925061011b908363ffffffff61034e16565b90506a0ac0db698068112d000000819010156101375760006000fd5b6000818155600160a060020a033316808252600160209081526040928390208054860190558251858152925191927f1c560f688b556ab7790fb36f75866c640579a8fa856e89bc2d260ab5024ba2c1929081900390910190a25b5050565b005b341561019f57fe5b6101a7610368565b60408051918252519081900360200190f35b34156101c157fe5b6101a761036e565b60408051918252519081900360200190f35b34156101e357fe5b6101a7610373565b60408051918252519081900360200190f35b341561020557fe5b6101a7610379565b60408051918252519081900360200190f35b341561022757fe5b6101a7600160a060020a036004351661037f565b60408051918252519081900360200190f35b341561025557fe5b6101a761039e565b60408051918252519081900360200190f35b341561027757fe5b61027f6103a4565b604080519115158252519081900360200190f35b341561029b57fe5b6102a36103ad565b60408051600160a060020a039092168252519081900360200190f35b34156102c757fe5b6102a36103c1565b60408051600160a060020a039092168252519081900360200190f35b34156102f357fe5b6101a76103d0565b60408051918252519081900360200190f35b341561031557fe5b6101956103df565b005b600082820283158061033b575082848281151561033857fe5b04145b151561034357fe5b8091505b5092915050565b60008282018381101561034357fe5b8091505b5092915050565b60005481565b601281565b61051481565b60045481565b600160a060020a0381166000908152600160205260409020545b919050565b60055481565b60025460ff1681565b6002546101009004600160a060020a031681565b600354600160a060020a031681565b6a0ac0db698068112d00000081565b60025433600160a060020a0390811661010090920416146104005760006000fd5b60025460ff16156104115760006000fd5b6005544310801561042f57506000546a0ac0db698068112d00000014155b1561043a5760006000fd5b6002805460ff19166001179055600354604051600160a060020a039182169130163180156108fc02916000818181858888f19350505050151561047d5760006000fd5b5b5600a165627a7a72305820484a74cdaed62a2223017f0c2f14a4082fc63508bb9bbac11296f2f913c2d6c40029000000000000000000000000f199af8b17d81c41abe6220a1d7c9fe04d0d9d2c00000000000000000000000000000000000000000000000000000000003d3fd800000000000000000000000000000000000000000000000000000000003e55e4

    Constructor Arguments (ABI-encoded and appended to the ByteCode above)
000000000000000000000000f199af8b17d81c41abe6220a1d7c9fe04d0d9d2c00000000000000000000000000000000000000000000000000000000003d3fd800000000000000000000000000000000000000000000000000000000003e55e4

-----Decoded View---------------
Found 3 constructor arguments :
Arg [0] : 000000000000000000000000f199af8b17d81c41abe6220a1d7c9fe04d0d9d2c
Arg [1] : 00000000000000000000000000000000000000000000000000000000003d3fd8
Arg [2] : 00000000000000000000000000000000000000000000000000000000003e55e4


   Swarm Source:
bzzr://484a74cdaed62a2223017f0c2f14a4082fc63508bb9bbac11296f2f913c2d6c4
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.