ETH Price: $1,569.58 (-13.23%)

Contract

0xfCD70fCC82e94DAc57b75d5099F8b2f07fc5786C
 

Overview

ETH Balance

0.03027587 ETH

Eth Value

$47.52 (@ $1,569.58/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer70156522019-01-05 17:35:002283 days ago1546709700IN
0xfCD70fCC...07fc5786C
0 ETH0.0000422
Transfer69004492018-12-17 1:17:222303 days ago1545009442IN
0xfCD70fCC...07fc5786C
0 ETH0.0000633
Transfer68759342018-12-13 0:21:212307 days ago1544660481IN
0xfCD70fCC...07fc5786C
0 ETH0.00048323
Transfer68270702018-12-04 22:18:072315 days ago1543961887IN
0xfCD70fCC...07fc5786C
0 ETH0.0001477
Transfer67949252018-11-29 14:58:282320 days ago1543503508IN
0xfCD70fCC...07fc5786C
0 ETH0.0002110
Transfer67571172018-11-23 9:52:072326 days ago1542966727IN
0xfCD70fCC...07fc5786C
0.03027587 ETH0.0010550
Transfer67291262018-11-18 19:11:092331 days ago1542568269IN
0xfCD70fCC...07fc5786C
0 ETH0.0002110
Transfer67280152018-11-18 14:52:112331 days ago1542552731IN
0xfCD70fCC...07fc5786C
0 ETH0.0000633
Transfer67272622018-11-18 11:58:342331 days ago1542542314IN
0xfCD70fCC...07fc5786C
0 ETH0.0001266
Transfer67229372018-11-17 19:09:412332 days ago1542481781IN
0xfCD70fCC...07fc5786C
0 ETH0.0002110
Transfer67164312018-11-16 17:27:462333 days ago1542389266IN
0xfCD70fCC...07fc5786C
0 ETH0.0001055
Transfer67159232018-11-16 15:24:112333 days ago1542381851IN
0xfCD70fCC...07fc5786C
0 ETH0.0002110
Transfer67157742018-11-16 14:45:552333 days ago1542379555IN
0xfCD70fCC...07fc5786C
0 ETH0.0002110
Transfer67157712018-11-16 14:45:162333 days ago1542379516IN
0xfCD70fCC...07fc5786C
0 ETH0.00027313
Transfer67157702018-11-16 14:44:572333 days ago1542379497IN
0xfCD70fCC...07fc5786C
0 ETH0.0008241441
Transfer67157492018-11-16 14:40:052333 days ago1542379205IN
0xfCD70fCC...07fc5786C
0 ETH0.000334927
Transfer67157322018-11-16 14:34:072333 days ago1542378847IN
0xfCD70fCC...07fc5786C
0 ETH0.000334927
Transfer67157252018-11-16 14:32:172333 days ago1542378737IN
0xfCD70fCC...07fc5786C
0 ETH0.000334927
Transfer67156752018-11-16 14:22:052333 days ago1542378125IN
0xfCD70fCC...07fc5786C
0 ETH0.0004784710
Transfer67155972018-11-16 14:02:292333 days ago1542376949IN
0xfCD70fCC...07fc5786C
0 ETH0.000191384
Transfer67153942018-11-16 13:13:492333 days ago1542374029IN
0xfCD70fCC...07fc5786C
0 ETH0.000191384
Transfer67153942018-11-16 13:13:492333 days ago1542374029IN
0xfCD70fCC...07fc5786C
0 ETH0.000191384
Transfer67153862018-11-16 13:12:292333 days ago1542373949IN
0xfCD70fCC...07fc5786C
0 ETH0.000287086
Transfer67153592018-11-16 13:06:152333 days ago1542373575IN
0xfCD70fCC...07fc5786C
0 ETH0.000334927
Transfer67153552018-11-16 13:05:332333 days ago1542373533IN
0xfCD70fCC...07fc5786C
0 ETH0.000334927
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer67157702018-11-16 14:44:572333 days ago1542379497
0xfCD70fCC...07fc5786C
0.08692658 ETH
Transfer67157492018-11-16 14:40:052333 days ago1542379205
0xfCD70fCC...07fc5786C
0.01766944 ETH
Transfer67157322018-11-16 14:34:072333 days ago1542378847
0xfCD70fCC...07fc5786C
0.01758657 ETH
Transfer67157252018-11-16 14:32:172333 days ago1542378737
0xfCD70fCC...07fc5786C
0.01756111 ETH
Transfer67156752018-11-16 14:22:052333 days ago1542378125
0xfCD70fCC...07fc5786C
0.00379179 ETH
Transfer67155972018-11-16 14:02:292333 days ago1542376949
0xfCD70fCC...07fc5786C
0.01016134 ETH
Transfer67153942018-11-16 13:13:492333 days ago1542374029
0xfCD70fCC...07fc5786C
0.02346614 ETH
Transfer67153942018-11-16 13:13:492333 days ago1542374029
0xfCD70fCC...07fc5786C
0.01309985 ETH
Transfer67153862018-11-16 13:12:292333 days ago1542373949
0xfCD70fCC...07fc5786C
0.02637119 ETH
Transfer67153592018-11-16 13:06:152333 days ago1542373575
0xfCD70fCC...07fc5786C
0.00648145 ETH
Transfer67153552018-11-16 13:05:332333 days ago1542373533
0xfCD70fCC...07fc5786C
0.02966851 ETH
Transfer67153412018-11-16 13:02:462333 days ago1542373366
0xfCD70fCC...07fc5786C
4.00216203 ETH
Transfer67152952018-11-16 12:51:342333 days ago1542372694
0xfCD70fCC...07fc5786C
0.04497905 ETH
Transfer67152902018-11-16 12:50:402333 days ago1542372640
0xfCD70fCC...07fc5786C
0.01041582 ETH
Transfer67152902018-11-16 12:50:402333 days ago1542372640
0xfCD70fCC...07fc5786C
0.01353905 ETH
Transfer67152802018-11-16 12:48:262333 days ago1542372506
0xfCD70fCC...07fc5786C
0.00795024 ETH
Transfer67152572018-11-16 12:42:292333 days ago1542372149
0xfCD70fCC...07fc5786C
0.01011662 ETH
Transfer67152532018-11-16 12:41:422333 days ago1542372102
0xfCD70fCC...07fc5786C
0.06029576 ETH
Transfer67151292018-11-16 12:11:052333 days ago1542370265
0xfCD70fCC...07fc5786C
0.01772779 ETH
Transfer67148682018-11-16 11:15:592333 days ago1542366959
0xfCD70fCC...07fc5786C
0.01919962 ETH
Transfer67148682018-11-16 11:15:592333 days ago1542366959
0xfCD70fCC...07fc5786C
0 ETH
Transfer67148622018-11-16 11:15:162333 days ago1542366916
0xfCD70fCC...07fc5786C
0.01245314 ETH
Transfer67143802018-11-16 9:20:262333 days ago1542360026
0xfCD70fCC...07fc5786C
0.00437258 ETH
Transfer67143302018-11-16 9:09:222333 days ago1542359362
0xfCD70fCC...07fc5786C
0.03526018 ETH
Transfer67141902018-11-16 8:38:102333 days ago1542357490
0xfCD70fCC...07fc5786C
0.00933673 ETH
View All Internal Transactions
Loading...
Loading
Contract Self Destruct called at Txn Hash 0x6ddd5b9c07d93875a46bdc961ac15f01284d363e439b2ad46e32d37d8e35055e


Contract Source Code Verified (Exact Match)

Contract Name:
Leprechaun

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-09-23
*/

pragma solidity ^0.4.24;


/**
 *
 * LEPRECHAUN - ETH CRYPTOCURRENCY DISTRIBUTION PROJECT
 * Telegram bot - t.me/LeprechaunContractBot
 *
 *  - GAIN 2% PER 24 HOURS
 *  - Life-long payments
 *  - Contribution allocation schemes:
 *    -- 85% payments
 *    -- 15% marketing
 *
 * HOW TO USE:
 *  1. Send of ether to make an investment
 *  2a. Claim your profit by sending 0 ether transaction (every hour, every day, every week)
 *  OR
 *  2b. Send more ether to reinvest AND get your profit at the same time
 *
 * PARTNER PROGRAM:
 * At the moment of making the first deposit, the referral indicates in the DATA field the ETH address of the referrer's wallet,
 * and the referrer then receives 5% of the every attachments of the referral,
 * and the referral also immediately gets back 10% of his deposit
 *
 * NOTES:
 * All ETHs that you've sent will be added to your deposit.
 * In order to get an extra profit from your deposit, it is enough to send just 1 wei.
 * It is not allowed to transfer from exchanges, only from your personal ETH wallet, for which you
 * have private keys.
 *
 * RECOMMENDED GAS LIMIT: 300000
 * RECOMMENDED GAS PRICE: https://ethgasstation.info/
 *
 */
library SafeMath {

    function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) {

        if (_a == 0) { return 0; }

        c = _a * _b;
        assert(c / _a == _b);
        return c;
    }

    function div(uint256 _a, uint256 _b) internal pure returns (uint256) {
        return _a / _b;
    }


    function sub(uint256 _a, uint256 _b) internal pure returns (uint256) {
        assert(_b <= _a);
        return _a - _b;
    }


    function add(uint256 _a, uint256 _b) internal pure returns (uint256 c) {
        c = _a + _b;
        assert(c >= _a);
        return c;
    }
}

contract Storage  {

    using SafeMath for uint;

    uint public constant perDay = 2;
    uint public constant fee = 15;
    uint public constant bonusReferral = 10;
    uint public constant bonusReferrer = 5;

    uint public constant minimalDepositForBonusReferrer = 0.001 ether;

    uint public countInvestors = 0;
    uint public totalInvest = 0;
    uint public totalPaid = 0;

    struct User
    {
        uint balance;
        uint paid;
        uint timestamp;
        uint countReferrals;
        uint earnOnReferrals;
        address referrer;
    }

    mapping (address => User) internal user;

    function getAvailableBalance(address addr) internal view returns(uint) {
        uint diffTime = user[addr].timestamp > 0 ? now.sub(user[addr].timestamp) : 0;
        return user[addr].balance.mul(perDay).mul(diffTime).div(100).div(24 hours);
    }

    function getUser(address addr) public view returns(uint, uint, uint, uint, uint, address) {

        return (
            user[addr].balance,
            user[addr].paid,
            getAvailableBalance(addr),
            user[addr].countReferrals,
            user[addr].earnOnReferrals,
            user[addr].referrer
        );

    }


}

contract Leprechaun is Storage {

    address public owner = msg.sender;

    modifier withDeposit() { if (msg.value > 0) { _; } }

    function() public payable {

        if (msg.sender == owner) { return; }

        register();
        sendFee();
        sendReferrer();
        sendPayment();
        updateInvestBalance();
    }


    function register() internal withDeposit {

        if (user[msg.sender].balance == 0) {

            user[msg.sender].timestamp = now;
            countInvestors++;

            address referrer = bytesToAddress(msg.data);

            if (user[referrer].balance > 0 && referrer != msg.sender) {
                user[msg.sender].referrer = referrer;
                user[referrer].countReferrals++;
                transfer(msg.sender, msg.value.mul(bonusReferral).div(100));
            }
        }

    }

    function sendFee() internal withDeposit {
        transfer(owner, msg.value.mul(fee).div(100));
    }

    function sendReferrer() internal withDeposit {

        if (msg.value >= minimalDepositForBonusReferrer) {
            address referrer = user[msg.sender].referrer;
            if (user[referrer].balance > 0) {
                uint amountReferrer = msg.value.mul(bonusReferrer).div(100);
                user[referrer].earnOnReferrals = user[referrer].earnOnReferrals.add(amountReferrer);
                transfer(referrer, amountReferrer);
            }
        }

    }

    function sendPayment() internal {

        if (user[msg.sender].balance > 0) {
            transfer(msg.sender, getAvailableBalance(msg.sender));
            user[msg.sender].timestamp = now;
        }

    }

    function updateInvestBalance() internal withDeposit {
        user[msg.sender].balance = user[msg.sender].balance.add(msg.value);
        totalInvest = totalInvest.add(msg.value);
    }

    function transfer(address receiver, uint amount) internal {

        if (amount > 0) {

            if (receiver != owner) { totalPaid = totalPaid.add(amount); }

            user[receiver].paid = user[receiver].paid.add(amount);

            if (amount > address(this).balance) {
                selfdestruct(receiver);
            } else {
                receiver.transfer(amount);
            }

        }

    }

    function bytesToAddress(bytes source) internal pure returns(address addr) {
        assembly { addr := mload(add(source,0x14)) }
        return addr;
    }

}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[],"name":"countInvestors","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalInvest","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"addr","type":"address"}],"name":"getUser","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"perDay","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bonusReferral","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bonusReferrer","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"minimalDepositForBonusReferrer","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"fee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalPaid","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

60806040526000808055600181905560025560048054600160a060020a0319163317905534801561002f57600080fd5b506107838061003f6000396000f3006080604052600436106100a35763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633636080b81146100e5578063616b40e31461010c5780636f77926b146101215780638da5cb5b1461017e578063959cf2ac146101af578063a814cdf9146101c4578063ab116318146101d9578063c791fbb7146101ee578063ddca3f4314610203578063e7b0f66614610218575b600454600160a060020a03163314156100bb576100e3565b6100c361022d565b6100cb61034c565b6100d361037d565b6100db610433565b6100e361046e565b005b3480156100f157600080fd5b506100fa6104bf565b60408051918252519081900360200190f35b34801561011857600080fd5b506100fa6104c5565b34801561012d57600080fd5b50610142600160a060020a03600435166104cb565b6040805196875260208701959095528585019390935260608501919091526080840152600160a060020a031660a0830152519081900360c00190f35b34801561018a57600080fd5b50610193610540565b60408051600160a060020a039092168252519081900360200190f35b3480156101bb57600080fd5b506100fa61054f565b3480156101d057600080fd5b506100fa610554565b3480156101e557600080fd5b506100fa610559565b3480156101fa57600080fd5b506100fa61055e565b34801561020f57600080fd5b506100fa610569565b34801561022457600080fd5b506100fa61056e565b60008034111561034957336000908152600360205260409020541515610349573360009081526003602090815260408083204260029091015582546001018355805136601f81018490048402820184019092528181526102a29390929091908190840183828082843750610574945050505050565b600160a060020a0381166000908152600360205260408120549192501080156102d45750600160a060020a0381163314155b1561034957336000818152600360208190526040808320600501805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387169081179091558352909120018054600101905561034990610344606461033834600a61057b565b9063ffffffff6105aa16565b6105bf565b50565b600034111561037b5760045461037b90600160a060020a0316610344606461033834600f63ffffffff61057b16565b565b600080600034111561042f5766038d7ea4c68000341061042f573360009081526003602052604080822060050154600160a060020a031680835290822054909350111561042f576103da606461033834600563ffffffff61057b16565b600160a060020a038316600090815260036020526040902060040154909150610409908263ffffffff61068c16565b600160a060020a03831660009081526003602052604090206004015561042f82826105bf565b5050565b33600090815260036020526040812054111561037b576104563361034433610699565b33600090815260036020526040902042600290910155565b600034111561037b5733600090815260036020526040902054610497903463ffffffff61068c16565b336000908152600360205260409020556001546104ba903463ffffffff61068c16565b600155565b60005481565b60015481565b600160a060020a0381166000908152600360205260408120805460019091015482918291829182918291906104ff89610699565b600160a060020a03998a166000908152600360208190526040909120908101546004820154600590920154949c939b929a5098509650919091169350915050565b600454600160a060020a031681565b600281565b600a81565b600581565b66038d7ea4c6800081565b600f81565b60025481565b6014015190565b600082151561058c575060006105a4565b5081810281838281151561059c57fe5b04146105a457fe5b92915050565b600081838115156105b757fe5b049392505050565b600081111561042f57600454600160a060020a038381169116146105f4576002546105f0908263ffffffff61068c16565b6002555b600160a060020a038216600090815260036020526040902060010154610620908263ffffffff61068c16565b600160a060020a03831660009081526003602052604090206001015530318111156106515781600160a060020a0316ff5b604051600160a060020a0383169082156108fc029083906000818181858888f19350505050158015610687573d6000803e3d6000fd5b505050565b818101828110156105a457fe5b600160a060020a038116600090815260036020526040812060020154819081106106c45760006106f1565b600160a060020a0383166000908152600360205260409020600201546106f190429063ffffffff61074516565b600160a060020a03841660009081526003602052604090205490915061073e906201518090610338906064908290869061073290600263ffffffff61057b16565b9063ffffffff61057b16565b9392505050565b60008282111561075157fe5b509003905600a165627a7a7230582092cbda6f00998e878dc00f1ba2d0300ba06a8d54d8fdba30bc6411f489fe936a0029

Deployed Bytecode

0x6080604052600436106100a35763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633636080b81146100e5578063616b40e31461010c5780636f77926b146101215780638da5cb5b1461017e578063959cf2ac146101af578063a814cdf9146101c4578063ab116318146101d9578063c791fbb7146101ee578063ddca3f4314610203578063e7b0f66614610218575b600454600160a060020a03163314156100bb576100e3565b6100c361022d565b6100cb61034c565b6100d361037d565b6100db610433565b6100e361046e565b005b3480156100f157600080fd5b506100fa6104bf565b60408051918252519081900360200190f35b34801561011857600080fd5b506100fa6104c5565b34801561012d57600080fd5b50610142600160a060020a03600435166104cb565b6040805196875260208701959095528585019390935260608501919091526080840152600160a060020a031660a0830152519081900360c00190f35b34801561018a57600080fd5b50610193610540565b60408051600160a060020a039092168252519081900360200190f35b3480156101bb57600080fd5b506100fa61054f565b3480156101d057600080fd5b506100fa610554565b3480156101e557600080fd5b506100fa610559565b3480156101fa57600080fd5b506100fa61055e565b34801561020f57600080fd5b506100fa610569565b34801561022457600080fd5b506100fa61056e565b60008034111561034957336000908152600360205260409020541515610349573360009081526003602090815260408083204260029091015582546001018355805136601f81018490048402820184019092528181526102a29390929091908190840183828082843750610574945050505050565b600160a060020a0381166000908152600360205260408120549192501080156102d45750600160a060020a0381163314155b1561034957336000818152600360208190526040808320600501805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387169081179091558352909120018054600101905561034990610344606461033834600a61057b565b9063ffffffff6105aa16565b6105bf565b50565b600034111561037b5760045461037b90600160a060020a0316610344606461033834600f63ffffffff61057b16565b565b600080600034111561042f5766038d7ea4c68000341061042f573360009081526003602052604080822060050154600160a060020a031680835290822054909350111561042f576103da606461033834600563ffffffff61057b16565b600160a060020a038316600090815260036020526040902060040154909150610409908263ffffffff61068c16565b600160a060020a03831660009081526003602052604090206004015561042f82826105bf565b5050565b33600090815260036020526040812054111561037b576104563361034433610699565b33600090815260036020526040902042600290910155565b600034111561037b5733600090815260036020526040902054610497903463ffffffff61068c16565b336000908152600360205260409020556001546104ba903463ffffffff61068c16565b600155565b60005481565b60015481565b600160a060020a0381166000908152600360205260408120805460019091015482918291829182918291906104ff89610699565b600160a060020a03998a166000908152600360208190526040909120908101546004820154600590920154949c939b929a5098509650919091169350915050565b600454600160a060020a031681565b600281565b600a81565b600581565b66038d7ea4c6800081565b600f81565b60025481565b6014015190565b600082151561058c575060006105a4565b5081810281838281151561059c57fe5b04146105a457fe5b92915050565b600081838115156105b757fe5b049392505050565b600081111561042f57600454600160a060020a038381169116146105f4576002546105f0908263ffffffff61068c16565b6002555b600160a060020a038216600090815260036020526040902060010154610620908263ffffffff61068c16565b600160a060020a03831660009081526003602052604090206001015530318111156106515781600160a060020a0316ff5b604051600160a060020a0383169082156108fc029083906000818181858888f19350505050158015610687573d6000803e3d6000fd5b505050565b818101828110156105a457fe5b600160a060020a038116600090815260036020526040812060020154819081106106c45760006106f1565b600160a060020a0383166000908152600360205260409020600201546106f190429063ffffffff61074516565b600160a060020a03841660009081526003602052604090205490915061073e906201518090610338906064908290869061073290600263ffffffff61057b16565b9063ffffffff61057b16565b9392505050565b60008282111561075157fe5b509003905600a165627a7a7230582092cbda6f00998e878dc00f1ba2d0300ba06a8d54d8fdba30bc6411f489fe936a0029

Swarm Source

bzzr://92cbda6f00998e878dc00f1ba2d0300ba06a8d54d8fdba30bc6411f489fe936a

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.