Sponsored Link:    Chronologic - Self-Mining Ethereum token based on Proof of Time. Join the Contribution.
Contract Overview
ETH Balance: 0.347 Ether
ETH USD Value: $99.00 (@ $285.29/ETH)
No Of Transactions: 157 txns
  Latest 25 txns from a total Of 157 transactions View All

TxHash Age From To Value [TxFee]
0x0e59d7fe8a067176a6e0da138d1c4a8e9e9052c03ed4c1fb09738292d97a549f3 days 18 hrs ago0xcf3cc20132d3275015b4ed701c48293b61a6b430  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000455343
0xfca0748fb8c3db5ef345e87818fcab1c71bfa1c420242a42dd5c665d764ac17c9 days 5 hrs ago0x6335528edfac3962f7e4e0f7922e83bfe34fd931  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000770343
0x9b297622308023636ea130cfdef567753d028cb848e57adeb9b0415029acf67a15 days 9 hrs ago0x114f7a44cd8b68ca3841340f1ea54dcece073f5f  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000771687
0x12ca124fbb58e538d80879e3619c8f7f340dfd98a6c70d6ababec20a3f77236d23 days 11 hrs ago0x6a25d4f60cbd4e23596795cdb5b04cf62735306f  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000458031
0xb520fe91713f929c09793ffac4a6e0b9a5b5749daed4dabede30bfef685b1c2124 days 22 hrs ago0x1d3af865a39753f48a4529e45deb19352905582b  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80.009 Ether0.001059849
0x9ddbb8018f8f911e2ffef67fb5a27901d0596061ee7f28530714430b524ab19e25 days 12 hrs ago0x009aeb0afdc4d774b1fafaca14a9b7f7d587e151  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000570234
0x7024fd22bd6078c4d6f92d0c552f4b356dab6caef40f839f9f055d4119eb607325 days 12 hrs ago0x009aeb0afdc4d774b1fafaca14a9b7f7d587e151  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.001083999
0x1a8ef937e79d5337c11ec33e0a0ebc45da1ce939277bedb5829366effb41b1c425 days 17 hrs ago0x4d41fb6bac936938f03c3cef33d77ed1889320c5  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80.2 Ether0.000744849
0x7fd674b0b2f1329dfb43dd2d0006228b876a82012c59c75baabef57fdc163d6c25 days 18 hrs ago0x009aeb0afdc4d774b1fafaca14a9b7f7d587e151  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000571578
0x818e329609315831fc33a5fffb941e219eb6ab8695f1f8591365be32bf3ca92026 days 2 hrs ago0x192a2c9ae6fc9a04bb696dbf547e695e8b8ee235  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80.01 Ether0.000744849
0xcf9ef24accce3505b98f55d6f6c77aac63cc2e7168a0007907875a722398905726 days 4 hrs ago0xbcac7e0c34b4d2a032a1bafc1f74aff1d8d020d1  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80.01 Ether0.001059849
0xd1ae8ae924f320fd591b2b108e9e5fbed9538b7f819a195c7151da387775510b26 days 5 hrs ago0xa9d4a2bcbe5b9e0869d70f0fe2e1d6aacd45edc5  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80.01 Ether0.00074487
0xf802b30bd73533369c9722b7b376f0b185121eec9d2eec4b26014fc87f0a45d326 days 5 hrs ago0x70dd0d4691604c8f9fe6db40b957f6978a063f41  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80.04 Ether0.001059849
0x914f23033700214a18f893b3e4fb719da07311d88e2b2929da4f847e51c684fb26 days 5 hrs ago0x8f57a7801963c702ec833de0888eb53a56d5a142  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80.03 Ether0.001059849
0x9829fd941250e8cb0e4cefbddebeb4341599cf5b1b710588f84a14a12e3f142e26 days 6 hrs ago0x80331ffcdc0b304b772f4c0dbbf5844ef8266446  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.000477198443
0x69e24be0bd536068ee195e1217fe93e310459cd73aa0c7cdc68cbd6dd93c61a026 days 6 hrs ago0x80331ffcdc0b304b772f4c0dbbf5844ef8266446  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.001131454593
0x5a805989a6a46e06203f73f08b456d5929de303af295b66d8db288d7a3a5bda826 days 6 hrs ago0x80331ffcdc0b304b772f4c0dbbf5844ef8266446  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.001130056954
0xad158b8c00206b975e309626186b4267779a79cdeff2c41591a6473a1cc1d27226 days 6 hrs ago0x80331ffcdc0b304b772f4c0dbbf5844ef8266446  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.001128659314
0x0133c23cc34ad83b66b0f5058313893b604cf3a6002f67434254e406ea76c11226 days 6 hrs ago0x80331ffcdc0b304b772f4c0dbbf5844ef8266446  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.001130056954
0x5b8cbe10ac29f7302bceef5fded7fb9027ead40237304a4a236a470a0121352226 days 6 hrs ago0x80331ffcdc0b304b772f4c0dbbf5844ef8266446  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.001131454593
0xee43300a88978a77ae918be145d9d140e8ddd68e4f6496f4e32ba9141c74898626 days 6 hrs ago0x80331ffcdc0b304b772f4c0dbbf5844ef8266446  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.001130056954
0x0a64425730ef46331cf7f4bc986720311e52e3d1ae7a4c6e3a301766a6008c4626 days 6 hrs ago0x80331ffcdc0b304b772f4c0dbbf5844ef8266446  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.001130056954
0xd670ed7ef90695d41022254d1ada34f974f962382c090a76c1e9f5bc5364b6c226 days 6 hrs ago0x80331ffcdc0b304b772f4c0dbbf5844ef8266446  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.001128659314
0xc4197183f0a0b5136e70e363270ba886cdf904bd2570ab8c65f15f32f2a9619526 days 6 hrs ago0x80331ffcdc0b304b772f4c0dbbf5844ef8266446  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.001130056954
0x3c1d217606006ea7c0cb9bf2dea4f2f12615083ad80d15818adf2820161276a526 days 6 hrs ago0x80331ffcdc0b304b772f4c0dbbf5844ef8266446  IN   0x3c07b3f4a6e253915d83c86707f0af07521d1cd80 Ether0.001128659314
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
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.