Contract 0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe8

 

TxHash Block Age From To Value [TxFee]
0xf32fb281f689637885e28f9eea8a35c33d1da62862e7159255901b36a2a1657e72336283 days 11 hrs ago0x11e42297b0e4378cb97f1f705d0d9a2ce91abd6a IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.000022146
0x77fd8eb81372d66ea79111e5b06cfad3d980b6d97f5c62530a1b926812c7074c700455448 days 16 hrs ago0x2af98ae36bdf0a56a1f78b42ff7231c65aa81daf IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.000022146
0xa441d3a078ff6f1160a371e39b3823638dded77207d9f089c46591a5360075746678232102 days 22 hrs ago0xebf8d422beb9ab0058f1b624a142834522ad665b IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.000199314
0x4397c4e74d2900e0992715a9301fd7545dc1480d060076cb119587886acafa326276737168 days 19 hrs ago0xa7a6f84603c98485f90311b9495d166a192d6b7e IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.000011073
0xbdf1137e0a7ea14842ff4141af2f493a4c5f1df2d046b93153c447a213aff5a26265441170 days 16 hrs ago0x2fae2a67c941809778e3ed3b50568d4c6054e2b7 IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.000066438
0xdcd9f3304df327078491c66f055771fcf2fd55d8f883355bf34b6112507887a46265434170 days 16 hrs ago0x2fae2a67c941809778e3ed3b50568d4c6054e2b7 IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.000066
0xb3017cf4a2ac0de9c7cb1a73387628475a00f61c23cd76a8c96820961c7a8f0f6237525175 days 9 hrs ago0xbe4fc22ec30e7b1bada5451735d54272273c1aac IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.000044292
0x8ebd9ae95e109433a695f8940ba12f9fe319cf9500e6df9ae5afc622810163266237202175 days 11 hrs ago0xbe4fc22ec30e7b1bada5451735d54272273c1aac IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.00022146
0x1cbe8f805a39c524a25bdf47656e0fa62c89f8b04a54b51da3613565ea5afdd36201503181 days 11 hrs ago0x2d8717d2bb153dc7e69e04b3b78b3a948a94c005 IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.000042
0xd91a9edc39c86ab4d7927bb45119d678ee03b6c07af06aeb5ad21a512b155c836201480181 days 11 hrs ago0xf3806b94a566efce82b12b8bb6a02e09638198d9 IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.0001852
0xa89f38d4129b80a0c6d40b8418a61df3031de71d8270726aa1154c9ca24a034a6200541181 days 15 hrs ago0x165ef84eddd841810affb70640605e64b5709c1d IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.0001852
0x9242f61b2c1126346408f0feaf7a189323d69f6306817422838f0c346f912aef6196367182 days 8 hrs ago0xea3b37cded8f7990d61e401a45ddc3da5de72fe3 IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.000152
0x965f32a73ddbe3577882176e61d38e6ee5f53d8be60b3d960a4360683610671a6193826182 days 19 hrs ago0x64501e237a65a48a346d5f314d8acafb9a1f464e IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.000128519999
0x1635f0062e5c21fc19fe6531c65aca7ef3f5f73c7d9b5f403cd0286673887b006181515184 days 20 hrs ago0xc6479d743bd7fdb1105edd0cc5c06c71a6b4b61f IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.0001852
0x46cd57637e3501a2bb00261c6e23b5fcf161fe02beef466fc78c3199133dcbe16179752185 days 3 hrs ago0x076e55e20a74e95b6d4cec54dd1438793e0aaac2 IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.0003704
0x8c5dad1a16125f5b5c9f2d69f8d3cdf6c99959562c7bbb6921dc79b5458449746175627185 days 20 hrs ago0xf10a1473ecb6ed8106fabb27abd69db5d35a805b IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.00099
0xa23e4fff111ab5d71d3d07543425141f88341c53d41b6f98424cd9632dfc8a766175397185 days 21 hrs ago0x6c44c3913959be744ae1d8974d8f5d0a8693985c IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.0001852
0xb16116a62887ca6279377c5b671ef80d1b1c532408621e7b6dea0b356d3879f36173841186 days 3 hrs ago0xc91a5f075a95bf62f107e99c1aae6e8fc105e00a IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.00004347
0x4037e3b7355d68c30e3f868be8f9a99fa6dd0066b486c0ec8e3edfa6600e0b266173824186 days 3 hrs ago0xc91a5f075a95bf62f107e99c1aae6e8fc105e00a IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.0001852
0x7f041c82da87db3ac2a7a9bc2f525b259aba46e2d5bc3ae1c1063f1a5197cc216173375186 days 5 hrs ago0xaef143b919f4d5ceabaf8fb7618cdf6d9cf5fe71 IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.00014816
0xd9bc2c71bb332e18dc96b87d1edd11f20dabd1260e2d6b802fb583db30e362aa6173322186 days 5 hrs ago0xc0ce9878e22e822dff5fb4494d889f7cae863cfb IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.00014816
0x7ff19604894c3ce157eea08ebeae0407219ef5b79f9a7012fb12f7a3bcf811236173060186 days 7 hrs ago0xc7888ddb93a58565c10470dc50f416c89b53a222 IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.000108675
0x96e921abc3fce7f452bb51bcae724c938027e0a52e250e12c139a34b59bda4946173049186 days 7 hrs ago0xc7888ddb93a58565c10470dc50f416c89b53a222 IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.00004347
0xa528a466771ae908cdca82a64ab8f264fbd153770d988279cc53550f5272ac5a6172860186 days 7 hrs ago0xaaed75455ee838075d9751994735751a82b5aa41 IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.00005292
0xb3a4e34dc0dd4eedc4b652953106c0f3ee6871b09afbb34366790fcd58b11f4d6172832186 days 7 hrs ago0x4dfbefe04dba39f7399e56e2068be5daebc0ece6 IN  0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80 Ether0.0001852
[ Download CSV Export 

Latest 1 Internal Transaction Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0xb1987be5b4e9b84a920a0221f013120c65210b269f71f9eb496220924df004385266790341 days 16 hrs ago0xa1e4608ff6b4b9324c6472eee2efebd20a20bbe80x7223e76b2871a3c41202472fb2cec92ad76ee7670.130577841262747036 Ether
[ Download CSV Export 
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) Solidity Compiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: KittenSelfDrop
Compiler Version: v0.4.19+commit.c4cbbb05
Optimization Enabled: Yes
Runs (Optimizer):  200


Contract Source Code
pragma solidity ^0.4.19;

/* Functions from Kitten Coin main contract to be used by sale contract */
contract KittenCoin {
    function balanceOf(address who) public constant returns (uint256);
    function transfer(address to, uint256 value) public returns (bool);
}

contract Ownable {
  address public owner;

  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
  
  function Ownable() {
    owner = msg.sender;
  }


  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }


  function transferOwnership(address newOwner) onlyOwner public {
    require(newOwner != address(0));
    OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }

}

contract KittenSelfDrop is Ownable {
    KittenCoin public kittenContract;
    uint8 public dropNumber;
    uint256 public kittensDroppedToTheWorld;
    uint256 public kittensRemainingToDrop;
    uint256 public holderAmount;
    uint256 public basicReward;
    uint256 public donatorReward;
    uint256 public holderReward;
    uint8 public totalDropTransactions;
    mapping (address => uint8) participants;
    
    
    // Initialize the cutest contract in the world
    function KittenSelfDrop () {
        address c = 0xac2BD14654BBf22F9d8f20c7b3a70e376d3436B4; // set Kitten Coin contract address
        kittenContract = KittenCoin(c); 
        dropNumber = 1;
        kittensDroppedToTheWorld = 0;
        kittensRemainingToDrop = 0;
        basicReward = 50000000000; // set initial basic reward to 500 Kitten Coins
        donatorReward = 50000000000; // set initial donator reward to 500 Kitten Coins
        holderReward = 50000000000; // set initial holder reward to 500 Kitten Coins
        holderAmount = 5000000000000; // set initial hold amount to 50000 Kitten Coins for extra reward
        totalDropTransactions = 0;
    }
    
    
    // Drop some wonderful cutest Kitten Coins to sender every time contract is called without function
    function() payable {
        require (participants[msg.sender] < dropNumber && kittensRemainingToDrop > basicReward);
        uint256 tokensIssued = basicReward;
        // Send extra Kitten Coins bonus if participant is donating Ether
        if (msg.value > 0)
            tokensIssued += donatorReward;
        // Send extra Kitten Coins bonus if participant holds at least holderAmount
        if (kittenContract.balanceOf(msg.sender) >= holderAmount)
            tokensIssued += holderReward;
        // Check if number of Kitten Coins to issue is higher than coins remaining for airdrop (last transaction of airdrop)
        if (tokensIssued > kittensRemainingToDrop)
            tokensIssued = kittensRemainingToDrop;
        
        // Give away these so cute Kitten Coins to contributor
        kittenContract.transfer(msg.sender, tokensIssued);
        participants[msg.sender] = dropNumber;
        kittensRemainingToDrop -= tokensIssued;
        kittensDroppedToTheWorld += tokensIssued;
        totalDropTransactions += 1;
    }
    
    
    function participant(address part) public constant returns (uint8 participationCount) {
        return participants[part];
    }
    
    
    // Increase the airdrop count to allow sweet humans asking for more beautiful Kitten Coins
    function setDropNumber(uint8 dropN) public onlyOwner {
        dropNumber = dropN;
        kittensRemainingToDrop = kittenContract.balanceOf(this);
    }
    
    
    // Define amount of Kitten Coins to hold in order to get holder reward
    function setHolderAmount(uint256 amount) public onlyOwner {
        holderAmount = amount;
    }
    
    
    // Define how many wonderful Kitten Coins contributors will receive for participating the selfdrop
    function setRewards(uint256 basic, uint256 donator, uint256 holder) public onlyOwner {
        basicReward = basic;
        donatorReward = donator;
        holderReward = holder;
    }
    
    
    // Sends all ETH contributions to lovely kitten owner
    function withdrawAll() public onlyOwner {
        owner.transfer(this.balance);
    }
    
    
    // Sends all remaining Kitten Coins to owner, just in case of emergency
    function withdrawKittenCoins() public onlyOwner {
        kittenContract.transfer(owner, kittenContract.balanceOf(this));
        kittensRemainingToDrop = 0;
    }
    
    
    // Update number of Kitten Coins remaining for drop, just in case it is needed
    function updateKittenCoinsRemainingToDrop() public {
        kittensRemainingToDrop = kittenContract.balanceOf(this);
    }
    
}

Contract ABI
[{"constant":true,"inputs":[],"name":"basicReward","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"part","type":"address"}],"name":"participant","outputs":[{"name":"participationCount","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdrawKittenCoins","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"donatorReward","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"dropNumber","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"updateKittenCoinsRemainingToDrop","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalDropTransactions","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"kittensDroppedToTheWorld","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"kittensRemainingToDrop","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"dropN","type":"uint8"}],"name":"setDropNumber","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdrawAll","outputs":[],"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":"holderAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"holderReward","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"setHolderAmount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"basic","type":"uint256"},{"name":"donator","type":"uint256"},{"name":"holder","type":"uint256"}],"name":"setRewards","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"kittenContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

Contract Creation Code
6060604052341561000f57600080fd5b60008054600160a060020a033316600160a060020a03199182161782556001805460a060020a60ff0219921673ac2bd14654bbf22f9d8f20c7b3a70e376d3436b41791909116740100000000000000000000000000000000000000001790556002819055600355640ba43b74006005819055600681905560075565048c273950006004556008805460ff1916905561088c806100ac6000396000f3006060604052600436106100e25763ffffffff60e060020a6000350416631f98394d81146102a45780632605b3c7146102c9578063316cb1b4146102fe578063334191f7146103135780634a35035a146103265780635adf292f14610339578063604e7af61461034c57806365db63d01461035f5780636bcc28a9146103725780637be2d5a214610385578063853828b61461039e5780638da5cb5b146103b157806398f9724f146103e0578063a2558ee2146103f3578063b2b158e814610406578063f2fde38b1461041c578063f36d1e4e1461043b578063ff757d5914610457575b600154600160a060020a033316600090815260096020526040812054909160ff60a060020a9091048116911610801561011e5750600554600354115b151561012957600080fd5b50600554600034111561013b57600654015b600454600154600160a060020a03166370a082313360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561019757600080fd5b6102c65a03f115156101a857600080fd5b505050604051805190501015156101be57600754015b6003548111156101cd57506003545b600154600160a060020a031663a9059cbb338360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561022c57600080fd5b6102c65a03f1151561023d57600080fd5b5050506040518051505060018054600160a060020a0333166000908152600960205260409020805460ff1990811660ff60a060020a909404841617909155600380548590039055600280549094019093556008805480831690930190911691909216179055005b34156102af57600080fd5b6102b761046a565b60405190815260200160405180910390f35b34156102d457600080fd5b6102e8600160a060020a0360043516610470565b60405160ff909116815260200160405180910390f35b341561030957600080fd5b61031161048e565b005b341561031e57600080fd5b6102b761059d565b341561033157600080fd5b6102e86105a3565b341561034457600080fd5b6103116105b3565b341561035757600080fd5b6102e861062b565b341561036a57600080fd5b6102b7610634565b341561037d57600080fd5b6102b761063a565b341561039057600080fd5b61031160ff60043516610640565b34156103a957600080fd5b6103116106fc565b34156103bc57600080fd5b6103c4610752565b604051600160a060020a03909116815260200160405180910390f35b34156103eb57600080fd5b6102b7610761565b34156103fe57600080fd5b6102b7610767565b341561041157600080fd5b61031160043561076d565b341561042757600080fd5b610311600160a060020a036004351661078d565b341561044657600080fd5b610311600435602435604435610828565b341561046257600080fd5b6103c4610851565b60055481565b600160a060020a031660009081526009602052604090205460ff1690565b60005433600160a060020a039081169116146104a957600080fd5b60015460008054600160a060020a039283169263a9059cbb9291169083906370a082319030906040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561051457600080fd5b6102c65a03f1151561052557600080fd5b5050506040518051905060006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561057b57600080fd5b6102c65a03f1151561058c57600080fd5b505050604051805150506000600355565b60065481565b60015460a060020a900460ff1681565b600154600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561060c57600080fd5b6102c65a03f1151561061d57600080fd5b505050604051805160035550565b60085460ff1681565b60025481565b60035481565b60005433600160a060020a0390811691161461065b57600080fd5b6001805474ff0000000000000000000000000000000000000000191660a060020a60ff8416021790819055600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156106dc57600080fd5b6102c65a03f115156106ed57600080fd5b50505060405180516003555050565b60005433600160a060020a0390811691161461071757600080fd5b600054600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19350505050151561075057600080fd5b565b600054600160a060020a031681565b60045481565b60075481565b60005433600160a060020a0390811691161461078857600080fd5b600455565b60005433600160a060020a039081169116146107a857600080fd5b600160a060020a03811615156107bd57600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60005433600160a060020a0390811691161461084357600080fd5b600592909255600655600755565b600154600160a060020a0316815600a165627a7a7230582096c89f9e3d02649af78d2056cbb30ffb3526108a5096e961c4f24bdc3e0db07e0029


   Swarm Source:
bzzr://96c89f9e3d02649af78d2056cbb30ffb3526108a5096e961c4f24bdc3e0db07e
Block Age transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.