Sponsored Link:  Download the Monaco app for Android and iOS on Aug 31 - www.mona.co
Contract Overview
ETH Balance: 0.347 Ether
ETH USD Value: $126.39 (@ $364.23/ETH)
No Of Transactions: 166 txns
Misc
Address Watch Add To Watch List
Contract Creator 0x009aeb0afdc4d774b1fafaca14a9b7f7d587e151at txn 0x0b6723617d90294b78cd2133443bd5a5d4f063bdf090a5baf461be998287d87a
Token Tracker
  Latest 25 txns from a total Of 166 transactions View All

TxHash Age From To Value [TxFee]
0x4653691eb65dac57fd17f470897377a965390bc70b595f800be809a80452a4843 days 18 hrs ago0x1fbbd1cef775eff433faeda5cf4729eb4f1c8b5f  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000329571
0x4346c0cfadde683fe86a751efddbd6fc3f99db50988d4bb8cdcef382dafe476216 days 20 hrs ago0x9481898b9bb13d523ba8296d90dece7a955f92d1  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000146988
0x2d2db6d2563853e2ba97a8147fbd1aba048e49a6106cb7f721cf46e3ded6e9e516 days 21 hrs ago0x3b51fa66d26a3dc612aa23fa57685541874f74a5  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000036747
0x7ba761c7c9510131d9bb0358d4a0018a23a1541200443be20a3167b3d5e7f17519 days 16 hrs ago0xc6757a2b8e1fcda85dbaf0ed45133de95ab8a8c5  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.0000225805
0x6025f4cdddbc4301da9f7bb38ad0d43da72a52771e5f9e310965478449aa58ff22 days 20 hrs ago0x77556f97e83e1c11d7ae0a5fe6c83554e4ff5e6b  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000021619
0xb34b0996912346df4be35d58b0b4d2aa85879a8127ab90ce22d7793bc7f239b522 days 20 hrs ago0x9c46eaa87e2d276d2bf42022e6c19a65cfe17f80  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000021683
0x92b31fa727b580c92e7560b0186899b6430402cc8b0072b78789eb5657814ac722 days 20 hrs ago0x06f3cdbc5a4e46c9d58c2bfe80d9f29fb2e7b89b  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000036619
0x74eb480d69a709ab18c823df5f2aa0fd27fe99e5c829a754c5596cda020a4a7938 days 20 hrs ago0x1d1ca46f1ed6a64e26cf4a6a661ea3c35ad427eb  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000477026
0xa5d39c04b4d3d1a2e6aa83176dbb6238d590b6217c6a6ea97d0ba8500eeee10e56 days 1 hr ago0x308b1ba9013b50c892cdf6afaea58bfce5da5a58  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000146732
0x0e59d7fe8a067176a6e0da138d1c4a8e9e9052c03ed4c1fb09738292d97a549f65 days 19 hrs ago0xcf3cc20132d3275015b4ed701c48293b61a6b430  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000455343
0xfca0748fb8c3db5ef345e87818fcab1c71bfa1c420242a42dd5c665d764ac17c71 days 6 hrs ago0x6335528edfac3962f7e4e0f7922e83bfe34fd931  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000770343
0x9b297622308023636ea130cfdef567753d028cb848e57adeb9b0415029acf67a77 days 10 hrs ago0x114f7a44cd8b68ca3841340f1ea54dcece073f5f  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000771687
0x12ca124fbb58e538d80879e3619c8f7f340dfd98a6c70d6ababec20a3f77236d85 days 12 hrs ago0x6a25d4f60cbd4e23596795cdb5b04cf62735306f  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000458031
0xb520fe91713f929c09793ffac4a6e0b9a5b5749daed4dabede30bfef685b1c2186 days 22 hrs ago0x1d3af865a39753f48a4529e45deb19352905582b  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80.009 Ether0.001059849
0x9ddbb8018f8f911e2ffef67fb5a27901d0596061ee7f28530714430b524ab19e87 days 12 hrs ago0x009aeb0afdc4d774b1fafaca14a9b7f7d587e151  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000570234
0x7024fd22bd6078c4d6f92d0c552f4b356dab6caef40f839f9f055d4119eb607387 days 13 hrs ago0x009aeb0afdc4d774b1fafaca14a9b7f7d587e151  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.001083999
0x1a8ef937e79d5337c11ec33e0a0ebc45da1ce939277bedb5829366effb41b1c487 days 18 hrs ago0x4d41fb6bac936938f03c3cef33d77ed1889320c5  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80.2 Ether0.000744849
0x7fd674b0b2f1329dfb43dd2d0006228b876a82012c59c75baabef57fdc163d6c87 days 19 hrs ago0x009aeb0afdc4d774b1fafaca14a9b7f7d587e151  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000571578
0x818e329609315831fc33a5fffb941e219eb6ab8695f1f8591365be32bf3ca92088 days 3 hrs ago0x192a2c9ae6fc9a04bb696dbf547e695e8b8ee235  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80.01 Ether0.000744849
0xcf9ef24accce3505b98f55d6f6c77aac63cc2e7168a0007907875a722398905788 days 5 hrs ago0xbcac7e0c34b4d2a032a1bafc1f74aff1d8d020d1  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80.01 Ether0.001059849
0xd1ae8ae924f320fd591b2b108e9e5fbed9538b7f819a195c7151da387775510b88 days 5 hrs ago0xa9d4a2bcbe5b9e0869d70f0fe2e1d6aacd45edc5  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80.01 Ether0.00074487
0xf802b30bd73533369c9722b7b376f0b185121eec9d2eec4b26014fc87f0a45d388 days 6 hrs ago0x70dd0d4691604c8f9fe6db40b957f6978a063f41  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80.04 Ether0.001059849
0x914f23033700214a18f893b3e4fb719da07311d88e2b2929da4f847e51c684fb88 days 6 hrs ago0x8f57a7801963c702ec833de0888eb53a56d5a142  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80.03 Ether0.001059849
0x9829fd941250e8cb0e4cefbddebeb4341599cf5b1b710588f84a14a12e3f142e88 days 6 hrs ago0x80331ffcdc0b304b772f4c0dbbf5844ef8266446  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000477198443
0x69e24be0bd536068ee195e1217fe93e310459cd73aa0c7cdc68cbd6dd93c61a088 days 7 hrs ago0x80331ffcdc0b304b772f4c0dbbf5844ef8266446  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.001131454593
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The compiled contract might be susceptible to ZeroFunctionSelector (very low-severity) Solidity compiler bugs.

Contract Source Code Verified
Contract Name: APIHeaven
Compiler Version: v0.4.15+commit.bbb8e64f
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
pragma solidity ^0.4.14;

 contract ERC20Interface {
     function totalSupply() constant returns (uint256 totalSupply);
     function balanceOf(address _owner) constant returns (uint256 balance);
     function transfer(address _to, uint256 _value) returns (bool success);
     function transferFrom(address _from, address _to, uint256 _value) returns (bool success);
     function approve(address _spender, uint256 _value) returns (bool success);
     function allowance(address _owner, address _spender) constant returns (uint256 remaining);
     event Transfer(address indexed _from, address indexed _to, uint256 _value);
     event Approval(address indexed _owner, address indexed _spender, uint256 _value);
 }
  
 contract APIHeaven is ERC20Interface {
     string public constant symbol = "☁";
     string public constant name = "API Heaven clouds";
     uint8 public constant decimals = 0;
     uint256 _totalSupply = 1000000000000000; 
     
     uint256 public cloudsPerEth = 300000;
     
     address public owner;

     bool public selling = false;
  
     mapping(address => uint256) balances;
  
     mapping(address => mapping (address => uint256)) allowed;
  
     modifier onlyOwner() {
         if (msg.sender != owner) {
             revert();
         }
         _;
     }

    
     function transferOwnership(address newOwner) onlyOwner {
        balances[newOwner] = balances[owner];
        balances[owner] = 0;
        owner = newOwner;
    }

    
     function changeCloudsPerEth(uint256 newcloudworth) onlyOwner {
        cloudsPerEth = newcloudworth;
    }

    
    function changeSale(bool _sale) onlyOwner {
        selling = _sale;
    }
  
     function APIHeaven() {
         owner = msg.sender;
         balances[owner] = _totalSupply;
     }
  
     function totalSupply() constant returns (uint256 totalSupply) {
         totalSupply = _totalSupply;
     }
  
     function balanceOf(address _owner) constant returns (uint256 balance) {
         return balances[_owner];
     }
    function transfer(address _to, uint256 _amount) returns (bool success) {
        
        if (balances[msg.sender] >= _amount 
            && _amount > 0
            && balances[_to] + _amount > balances[_to]) {
            balances[msg.sender] -= _amount;
            balances[_to] += _amount;
            Transfer(msg.sender, _to, _amount);
            
            return true;
        } else {
            return false;
        }
    }
    function sale() payable {
        if(selling == false) revert();     
        uint256 amount = (msg.value / 1000000000000000) * cloudsPerEth;              
        if (balances[owner] < amount) revert();            
        balances[msg.sender] += amount;                
        balances[owner] -= amount;                      
        Transfer(owner, msg.sender, amount);             
    }
  
     function transferFrom(
         address _from,
         address _to,
         uint256 _amount
    ) returns (bool success) {
        if (balances[_from] >= _amount
            && allowed[_from][msg.sender] >= _amount
            && _amount > 0
            && balances[_to] + _amount > balances[_to]) {
            balances[_from] -= _amount;
            allowed[_from][msg.sender] -= _amount;
            balances[_to] += _amount;
            Transfer(_from, _to, _amount);
            return true;
        } else {
            return false;
        }
    }

    function approve(address _spender, uint256 _amount) returns (bool success) {
        allowed[msg.sender][_spender] = _amount;
        Approval(msg.sender, _spender, _amount);
        return true;
    }
 
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"totalSupply","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"selling","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_sale","type":"bool"}],"name":"changeSale","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"sale","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"newcloudworth","type":"uint256"}],"name":"changeCloudsPerEth","outputs":[],"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":"cloudsPerEth","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"}]

  Contract Creation Code Switch To Opcodes View
606060405266038d7ea4c68000600055620493e06001556002805460a060020a60ff0219169055341561003157600080fd5b5b60028054600160a060020a03191633600160a060020a03908116919091179182905560008054929091168152600360205260409020555b5b610981806100796000396000f300606060405236156100e35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100e8578063095ea7b31461017357806318160ddd146101a957806323aed228146101ce57806323b872dd146101f5578063313ce5671461023157806342be93071461025a5780636ad1fe0214610274578063702c728e1461027e57806370a0823114610296578063883cd1a5146102c75780638da5cb5b146102ec57806395d89b411461031b578063a9059cbb146103a6578063dd62ed3e146103dc578063f2fde38b14610413575b600080fd5b34156100f357600080fd5b6100fb610434565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101385780820151818401525b60200161011f565b50505050905090810190601f1680156101655780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017e57600080fd5b610195600160a060020a036004351660243561046b565b604051901515815260200160405180910390f35b34156101b457600080fd5b6101bc6104d8565b60405190815260200160405180910390f35b34156101d957600080fd5b6101956104df565b604051901515815260200160405180910390f35b341561020057600080fd5b610195600160a060020a0360043581169060243516604435610500565b604051901515815260200160405180910390f35b341561023c57600080fd5b61024461061c565b60405160ff909116815260200160405180910390f35b341561026557600080fd5b6102726004351515610621565b005b61027261067a565b005b341561028957600080fd5b610272600435610757565b005b34156102a157600080fd5b6101bc600160a060020a036004351661077c565b60405190815260200160405180910390f35b34156102d257600080fd5b6101bc61079b565b60405190815260200160405180910390f35b34156102f757600080fd5b6102ff6107a1565b604051600160a060020a03909116815260200160405180910390f35b341561032657600080fd5b6100fb6107b0565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101385780820151818401525b60200161011f565b50505050905090810190601f1680156101655780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103b157600080fd5b610195600160a060020a03600435166024356107e7565b604051901515815260200160405180910390f35b34156103e757600080fd5b6101bc600160a060020a03600435811690602435166108b6565b60405190815260200160405180910390f35b341561041e57600080fd5b610272600160a060020a03600435166108e3565b005b60408051908101604052601181527f4150492048656176656e20636c6f756473000000000000000000000000000000602082015281565b600160a060020a03338116600081815260046020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b6000545b90565b60025474010000000000000000000000000000000000000000900460ff1681565b600160a060020a0383166000908152600360205260408120548290108015906105505750600160a060020a0380851660009081526004602090815260408083203390941683529290522054829010155b801561055c5750600082115b80156105815750600160a060020a038316600090815260036020526040902054828101115b1561061057600160a060020a0380851660008181526003602081815260408084208054899003905560048252808420338716855282528084208054899003905594881680845291905290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001610614565b5060005b5b9392505050565b600081565b60025433600160a060020a0390811691161461063c57600080fd5b6002805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000831515021790555b5b50565b60025460009074010000000000000000000000000000000000000000900460ff1615156106a657600080fd5b60015466038d7ea4c68000345b600254600160a060020a0316600090815260036020526040902054919004919091029150819010156106e457600080fd5b600160a060020a03338116600081815260036020526040808220805486019055600280548516835291819020805486900390559054919291909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b50565b60025433600160a060020a0390811691161461077257600080fd5b60018190555b5b50565b600160a060020a0381166000908152600360205260409020545b919050565b60015481565b600254600160a060020a031681565b60408051908101604052600381527fe298810000000000000000000000000000000000000000000000000000000000602082015281565b600160a060020a0333166000908152600360205260408120548290108015906108105750600082115b80156108355750600160a060020a038316600090815260036020526040902054828101115b156108a757600160a060020a033381166000818152600360205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060016104d2565b5060006104d2565b5b92915050565b600160a060020a038083166000908152600460209081526040808320938516835292905220545b92915050565b60025433600160a060020a039081169116146108fe57600080fd5b60028054600160a060020a03908116600090815260036020526040808220548584168084528284209190915584549093168252812055815473ffffffffffffffffffffffffffffffffffffffff19161790555b5b505600a165627a7a72305820d756b8bb7758c67185b176ac0e08f78188802d87cf5b3d6b77c4619d2449905d0029

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