Sponsored Link:   Buy your 1st Ethereum in 5 minutes. Trusted by more than 100k buyers.
Contract Overview | mass.cloudCrowdsale
ETH Balance: 0 Ether
ETH USD Value: $0
No Of Transactions: 1470 txns
  Latest 25 txns from a total Of 1470 transactions View All

TxHash Age From To Value [TxFee]
0xd91dbd0de17ac77c9c532892d8635962c59e69a328f66bb168d0084786ea330d3 days 16 hrs ago0xb4aff919d568b2e96313be0016f1f0824c3233a2  IN   mass.cloudCrowdsale0 Ether0.000501186
0xa216f30737af8e233c197edba50a5a8838cfcea34fab14586c5c6a0595d5e06149 days 22 hrs ago0x7541f045152042285cb91874b94cf3409eabaf1b  IN   mass.cloudCrowdsale0 Ether0.000438216
0x83b411642ba5469b6a159aa7211565761d07c740b88a62d5d6459a780572b27149 days 22 hrs ago0x7541f045152042285cb91874b94cf3409eabaf1b  IN   mass.cloudCrowdsale0 Ether0.0004566672
0xd8fa1e402caeec9d59c013b23f6823196d4b170d3c99b5b673cbd3c34cf1435950 days 4 hrs ago0x7541f045152042285cb91874b94cf3409eabaf1b  IN   mass.cloudCrowdsale0 Ether0.0000023064
0xee36a94360caa88b1248de261f36acc798773bfdf88bd355c62e33b3d233e51451 days 9 hrs ago0x87770c1a7a41d483a8de1cb8726f416ff073a323  IN   mass.cloudCrowdsale0 Ether0.000499842
0x897ffd6922ab6fa6673a526f21273054e4b81c6e046974312f3b1b89b7c48da052 days 5 hrs ago0xe66b865c79d480226853ecea12f206f4e001fb52  IN   mass.cloudCrowdsale0 Ether0.00142812
0xc0374d6f383da646d67d5d2cfed092dd442be643b3009f35c74ea653f033ab1759 days 13 hrs ago0xde831f47043be92bc403957053bf19e524db57f3  IN   mass.cloudCrowdsale0 Ether0.000499842
0xb10f30d2ff60e846438783e145330046d53946fd981723d9f9c85388114c1b6f64 days 9 hrs ago0x3962d2ae1dd51a6f32c7ea0555a2e0b950e0d422  IN   mass.cloudCrowdsale0 Ether0.00048972
0xdbaa7316fccd49b7e8a2a7c53ce5f97f9c33943361a6a8278434eb03af4e1fd168 days 14 hrs ago0xfd7fef02be9d02613055dee109822b7fd706c6ba  IN   mass.cloudCrowdsale0 Ether0.001138489
0x4f1e7c268090624496da013b02fccdc3205d3ea28636014a84ce54c67c3d8b3172 days 13 hrs ago0x32cd810ca0d30849bc06135a5cda8544daf084f3  IN   mass.cloudCrowdsale0 Ether0.002331
0x164ca15cda3e9a8192eb04fe157fb3575f8778181c3d13b3605451c8a7002c3c72 days 13 hrs ago0x32cd810ca0d30849bc06135a5cda8544daf084f3  IN   mass.cloudCrowdsale0 Ether0.00231
0xcb10a82b5fa4ea26061c27ce2f1db306a950805e076e10925d771f09822feeac88 days 12 hrs ago0x3eeddde0dbdd7552f7d5cdc0cfbe922f655c630c  IN   mass.cloudCrowdsale0 Ether0.00288
0x5f131b851fda977b38898d165125522282b86d3ccfb24fb22265c4303434024488 days 12 hrs ago0x3eeddde0dbdd7552f7d5cdc0cfbe922f655c630c  IN   mass.cloudCrowdsale0 Ether0.00120552
0xc892b8deb12109985a89f3211b11bdfb4a70969ceec25687a3c4a43603f13a7f92 days 5 hrs ago0xf73757436b3058290e167e67b1013fb25aa7498d  IN   mass.cloudCrowdsale0 Ether0.00525
0x879e3b03d5f363742095163bc3c7ac3fa71b10fdbb638ace1a6f276d52207ebd92 days 6 hrs ago0xf73757436b3058290e167e67b1013fb25aa7498d  IN   mass.cloudCrowdsale0 Ether0.00048972
0xeef34cd8944be1fd3ed00c315147bab1e55258162068492d50be6a6de3f52bb095 days 15 hrs ago0x00c4017488eb017aaf1bdba04dc5eb4ad30322ed  IN   mass.cloudCrowdsale0.8 Ether0.011905072002
0xd00621089840dc2181c0bef09b968b07c5e1bdef08365d468ceb425ba8ad5c4295 days 15 hrs ago0x00c4017488eb017aaf1bdba04dc5eb4ad30322ed  IN   mass.cloudCrowdsale0.8 Ether0.0042
0x85f2b6d1c9174d8a04ff5a185594af876d944b27c3ec5c6e396edd64b482b9d8105 days 21 hrs ago0x79930fe9e7f0b24ef02bba4d92cb28fb254daf18  IN   mass.cloudCrowdsale0 Ether0.0042
0x7f9787973a69af886ea84f60d81ee95c28bb55300c3d40c6328ca5c96840ee9b105 days 21 hrs ago0x79930fe9e7f0b24ef02bba4d92cb28fb254daf18  IN   mass.cloudCrowdsale0 Ether0.0042
0xc8b612d8cf133be9b76bb75afeff3f4c94a9b7b9b33bd16b47a5668e5f134584109 days 3 hrs ago0xde831f47043be92bc403957053bf19e524db57f3  IN   mass.cloudCrowdsale0 Ether0.0042
0x8a229a0372a671c57645331ec8c70a935c53cbec437bac609ea716271c1f4ab3109 days 4 hrs ago0xde831f47043be92bc403957053bf19e524db57f3  IN   mass.cloudCrowdsale0 Ether0.00063
0x89d762d9a5a766be966c67e2c03665deabc4742335a6111965372207bf984052109 days 21 hrs ago0x57bc58d7fc0e62733cc98581d28e029169086e9f  IN   mass.cloudCrowdsale0 Ether0.00063
0xafa01a8c8d4b4b931b8ffe1697240dff092ca539c4112359f1198548c0a0a64e109 days 21 hrs ago0x57bc58d7fc0e62733cc98581d28e029169086e9f  IN   mass.cloudCrowdsale0 Ether0.00048972
0x0900abd31adc2b878d8cc5d286b1956105cef97ef56edec4ffc30f8beb1a457e116 days 2 hrs ago0x9e1f8910a068da68c56db78b97428beb30a0b507  IN   mass.cloudCrowdsale0 Ether0.026
0xac3e90259abb479d843d28a57aac453351b4e6153e43982836fd1feabba7175c116 days 2 hrs ago0x9e1f8910a068da68c56db78b97428beb30a0b507  IN   mass.cloudCrowdsale0 Ether0.003
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
  Latest 5 Internal Transactions

ParentTxHash Block Age From To Value
0x72439b3a12559471e20f284dfad8b4ef7aeac7aeff4e6124c6bfca4c867eca7d4069557145 days 13 hrs ago0x63c0f17c1f72e1315e3d4f8a89a37d95f13147930xf199af8b17d81c41abe6220a1d7c9fe04d0d9d2c10,000 Ether
0x72439b3a12559471e20f284dfad8b4ef7aeac7aeff4e6124c6bfca4c867eca7d4069557145 days 13 hrs ago0x3457edb7f4790ae5fd59de271b58001c73dfc0060x63c0f17c1f72e1315e3d4f8a89a37d95f13147932,907.332434257714459179 Ether
0x91ef505c2f12cd2070ffb64e46bf5eb0104ae61df978d20fe2bf200f0697ccc24022994155 days 17 hrs ago0x7a69674026c14c8d5927a9a971eadcc6454203950x63c0f17c1f72e1315e3d4f8a89a37d95f13147932 Ether
0x6a5545ae7d693ddb2f609eece029c374742d6002dd629fd3a2a23ae3dd09eaca4014044157 days 16 hrs ago0x7a69674026c14c8d5927a9a971eadcc6454203950x63c0f17c1f72e1315e3d4f8a89a37d95f13147932 Ether
0x15ec03e0a84afa111c8fbcfe08ed063ced6e6a8dca7deffd1430d1d5a944ee7e4014043157 days 16 hrs ago0x7a69674026c14c8d5927a9a971eadcc6454203950x63c0f17c1f72e1315e3d4f8a89a37d95f13147932 Ether
[ Download CSV Export  ] 
Warning: The compiled contract might be susceptible to ZeroFunctionSelector (very low-severity), 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 is the last bytes of the Contract Creation Code 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.