Overview
ETH Balance
0.03027587 ETH
Eth Value
$47.52 (@ $1,569.58/ETH)More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 794 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 7015652 | 2283 days ago | IN | 0 ETH | 0.000042 | ||||
Transfer | 6900449 | 2303 days ago | IN | 0 ETH | 0.000063 | ||||
Transfer | 6875934 | 2307 days ago | IN | 0 ETH | 0.000483 | ||||
Transfer | 6827070 | 2315 days ago | IN | 0 ETH | 0.000147 | ||||
Transfer | 6794925 | 2320 days ago | IN | 0 ETH | 0.00021 | ||||
Transfer | 6757117 | 2326 days ago | IN | 0.03027587 ETH | 0.00105 | ||||
Transfer | 6729126 | 2331 days ago | IN | 0 ETH | 0.00021 | ||||
Transfer | 6728015 | 2331 days ago | IN | 0 ETH | 0.000063 | ||||
Transfer | 6727262 | 2331 days ago | IN | 0 ETH | 0.000126 | ||||
Transfer | 6722937 | 2332 days ago | IN | 0 ETH | 0.00021 | ||||
Transfer | 6716431 | 2333 days ago | IN | 0 ETH | 0.000105 | ||||
Transfer | 6715923 | 2333 days ago | IN | 0 ETH | 0.00021 | ||||
Transfer | 6715774 | 2333 days ago | IN | 0 ETH | 0.00021 | ||||
Transfer | 6715771 | 2333 days ago | IN | 0 ETH | 0.000273 | ||||
Transfer | 6715770 | 2333 days ago | IN | 0 ETH | 0.00082414 | ||||
Transfer | 6715749 | 2333 days ago | IN | 0 ETH | 0.00033492 | ||||
Transfer | 6715732 | 2333 days ago | IN | 0 ETH | 0.00033492 | ||||
Transfer | 6715725 | 2333 days ago | IN | 0 ETH | 0.00033492 | ||||
Transfer | 6715675 | 2333 days ago | IN | 0 ETH | 0.00047847 | ||||
Transfer | 6715597 | 2333 days ago | IN | 0 ETH | 0.00019138 | ||||
Transfer | 6715394 | 2333 days ago | IN | 0 ETH | 0.00019138 | ||||
Transfer | 6715394 | 2333 days ago | IN | 0 ETH | 0.00019138 | ||||
Transfer | 6715386 | 2333 days ago | IN | 0 ETH | 0.00028708 | ||||
Transfer | 6715359 | 2333 days ago | IN | 0 ETH | 0.00033492 | ||||
Transfer | 6715355 | 2333 days ago | IN | 0 ETH | 0.00033492 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Method | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|---|
Transfer | 6715770 | 2333 days ago | 0.08692658 ETH | ||||
Transfer | 6715749 | 2333 days ago | 0.01766944 ETH | ||||
Transfer | 6715732 | 2333 days ago | 0.01758657 ETH | ||||
Transfer | 6715725 | 2333 days ago | 0.01756111 ETH | ||||
Transfer | 6715675 | 2333 days ago | 0.00379179 ETH | ||||
Transfer | 6715597 | 2333 days ago | 0.01016134 ETH | ||||
Transfer | 6715394 | 2333 days ago | 0.02346614 ETH | ||||
Transfer | 6715394 | 2333 days ago | 0.01309985 ETH | ||||
Transfer | 6715386 | 2333 days ago | 0.02637119 ETH | ||||
Transfer | 6715359 | 2333 days ago | 0.00648145 ETH | ||||
Transfer | 6715355 | 2333 days ago | 0.02966851 ETH | ||||
Transfer | 6715341 | 2333 days ago | 4.00216203 ETH | ||||
Transfer | 6715295 | 2333 days ago | 0.04497905 ETH | ||||
Transfer | 6715290 | 2333 days ago | 0.01041582 ETH | ||||
Transfer | 6715290 | 2333 days ago | 0.01353905 ETH | ||||
Transfer | 6715280 | 2333 days ago | 0.00795024 ETH | ||||
Transfer | 6715257 | 2333 days ago | 0.01011662 ETH | ||||
Transfer | 6715253 | 2333 days ago | 0.06029576 ETH | ||||
Transfer | 6715129 | 2333 days ago | 0.01772779 ETH | ||||
Transfer | 6714868 | 2333 days ago | 0.01919962 ETH | ||||
Transfer | 6714868 | 2333 days ago | 0 ETH | ||||
Transfer | 6714862 | 2333 days ago | 0.01245314 ETH | ||||
Transfer | 6714380 | 2333 days ago | 0.00437258 ETH | ||||
Transfer | 6714330 | 2333 days ago | 0.03526018 ETH | ||||
Transfer | 6714190 | 2333 days ago | 0.00933673 ETH |
Loading...
Loading
Contract Self Destruct called at Txn Hash 0x6ddd5b9c07d93875a46bdc961ac15f01284d363e439b2ad46e32d37d8e35055e
Contract Name:
Leprechaun
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
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"}]
Contract Creation Code
60806040526000808055600181905560025560048054600160a060020a0319163317905534801561002f57600080fd5b506107838061003f6000396000f3006080604052600436106100a35763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633636080b81146100e5578063616b40e31461010c5780636f77926b146101215780638da5cb5b1461017e578063959cf2ac146101af578063a814cdf9146101c4578063ab116318146101d9578063c791fbb7146101ee578063ddca3f4314610203578063e7b0f66614610218575b600454600160a060020a03163314156100bb576100e3565b6100c361022d565b6100cb61034c565b6100d361037d565b6100db610433565b6100e361046e565b005b3480156100f157600080fd5b506100fa6104bf565b60408051918252519081900360200190f35b34801561011857600080fd5b506100fa6104c5565b34801561012d57600080fd5b50610142600160a060020a03600435166104cb565b6040805196875260208701959095528585019390935260608501919091526080840152600160a060020a031660a0830152519081900360c00190f35b34801561018a57600080fd5b50610193610540565b60408051600160a060020a039092168252519081900360200190f35b3480156101bb57600080fd5b506100fa61054f565b3480156101d057600080fd5b506100fa610554565b3480156101e557600080fd5b506100fa610559565b3480156101fa57600080fd5b506100fa61055e565b34801561020f57600080fd5b506100fa610569565b34801561022457600080fd5b506100fa61056e565b60008034111561034957336000908152600360205260409020541515610349573360009081526003602090815260408083204260029091015582546001018355805136601f81018490048402820184019092528181526102a29390929091908190840183828082843750610574945050505050565b600160a060020a0381166000908152600360205260408120549192501080156102d45750600160a060020a0381163314155b1561034957336000818152600360208190526040808320600501805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387169081179091558352909120018054600101905561034990610344606461033834600a61057b565b9063ffffffff6105aa16565b6105bf565b50565b600034111561037b5760045461037b90600160a060020a0316610344606461033834600f63ffffffff61057b16565b565b600080600034111561042f5766038d7ea4c68000341061042f573360009081526003602052604080822060050154600160a060020a031680835290822054909350111561042f576103da606461033834600563ffffffff61057b16565b600160a060020a038316600090815260036020526040902060040154909150610409908263ffffffff61068c16565b600160a060020a03831660009081526003602052604090206004015561042f82826105bf565b5050565b33600090815260036020526040812054111561037b576104563361034433610699565b33600090815260036020526040902042600290910155565b600034111561037b5733600090815260036020526040902054610497903463ffffffff61068c16565b336000908152600360205260409020556001546104ba903463ffffffff61068c16565b600155565b60005481565b60015481565b600160a060020a0381166000908152600360205260408120805460019091015482918291829182918291906104ff89610699565b600160a060020a03998a166000908152600360208190526040909120908101546004820154600590920154949c939b929a5098509650919091169350915050565b600454600160a060020a031681565b600281565b600a81565b600581565b66038d7ea4c6800081565b600f81565b60025481565b6014015190565b600082151561058c575060006105a4565b5081810281838281151561059c57fe5b04146105a457fe5b92915050565b600081838115156105b757fe5b049392505050565b600081111561042f57600454600160a060020a038381169116146105f4576002546105f0908263ffffffff61068c16565b6002555b600160a060020a038216600090815260036020526040902060010154610620908263ffffffff61068c16565b600160a060020a03831660009081526003602052604090206001015530318111156106515781600160a060020a0316ff5b604051600160a060020a0383169082156108fc029083906000818181858888f19350505050158015610687573d6000803e3d6000fd5b505050565b818101828110156105a457fe5b600160a060020a038116600090815260036020526040812060020154819081106106c45760006106f1565b600160a060020a0383166000908152600360205260409020600201546106f190429063ffffffff61074516565b600160a060020a03841660009081526003602052604090205490915061073e906201518090610338906064908290869061073290600263ffffffff61057b16565b9063ffffffff61057b16565b9392505050565b60008282111561075157fe5b509003905600a165627a7a7230582092cbda6f00998e878dc00f1ba2d0300ba06a8d54d8fdba30bc6411f489fe936a0029
Deployed Bytecode
0x6080604052600436106100a35763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633636080b81146100e5578063616b40e31461010c5780636f77926b146101215780638da5cb5b1461017e578063959cf2ac146101af578063a814cdf9146101c4578063ab116318146101d9578063c791fbb7146101ee578063ddca3f4314610203578063e7b0f66614610218575b600454600160a060020a03163314156100bb576100e3565b6100c361022d565b6100cb61034c565b6100d361037d565b6100db610433565b6100e361046e565b005b3480156100f157600080fd5b506100fa6104bf565b60408051918252519081900360200190f35b34801561011857600080fd5b506100fa6104c5565b34801561012d57600080fd5b50610142600160a060020a03600435166104cb565b6040805196875260208701959095528585019390935260608501919091526080840152600160a060020a031660a0830152519081900360c00190f35b34801561018a57600080fd5b50610193610540565b60408051600160a060020a039092168252519081900360200190f35b3480156101bb57600080fd5b506100fa61054f565b3480156101d057600080fd5b506100fa610554565b3480156101e557600080fd5b506100fa610559565b3480156101fa57600080fd5b506100fa61055e565b34801561020f57600080fd5b506100fa610569565b34801561022457600080fd5b506100fa61056e565b60008034111561034957336000908152600360205260409020541515610349573360009081526003602090815260408083204260029091015582546001018355805136601f81018490048402820184019092528181526102a29390929091908190840183828082843750610574945050505050565b600160a060020a0381166000908152600360205260408120549192501080156102d45750600160a060020a0381163314155b1561034957336000818152600360208190526040808320600501805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387169081179091558352909120018054600101905561034990610344606461033834600a61057b565b9063ffffffff6105aa16565b6105bf565b50565b600034111561037b5760045461037b90600160a060020a0316610344606461033834600f63ffffffff61057b16565b565b600080600034111561042f5766038d7ea4c68000341061042f573360009081526003602052604080822060050154600160a060020a031680835290822054909350111561042f576103da606461033834600563ffffffff61057b16565b600160a060020a038316600090815260036020526040902060040154909150610409908263ffffffff61068c16565b600160a060020a03831660009081526003602052604090206004015561042f82826105bf565b5050565b33600090815260036020526040812054111561037b576104563361034433610699565b33600090815260036020526040902042600290910155565b600034111561037b5733600090815260036020526040902054610497903463ffffffff61068c16565b336000908152600360205260409020556001546104ba903463ffffffff61068c16565b600155565b60005481565b60015481565b600160a060020a0381166000908152600360205260408120805460019091015482918291829182918291906104ff89610699565b600160a060020a03998a166000908152600360208190526040909120908101546004820154600590920154949c939b929a5098509650919091169350915050565b600454600160a060020a031681565b600281565b600a81565b600581565b66038d7ea4c6800081565b600f81565b60025481565b6014015190565b600082151561058c575060006105a4565b5081810281838281151561059c57fe5b04146105a457fe5b92915050565b600081838115156105b757fe5b049392505050565b600081111561042f57600454600160a060020a038381169116146105f4576002546105f0908263ffffffff61068c16565b6002555b600160a060020a038216600090815260036020526040902060010154610620908263ffffffff61068c16565b600160a060020a03831660009081526003602052604090206001015530318111156106515781600160a060020a0316ff5b604051600160a060020a0383169082156108fc029083906000818181858888f19350505050158015610687573d6000803e3d6000fd5b505050565b818101828110156105a457fe5b600160a060020a038116600090815260036020526040812060020154819081106106c45760006106f1565b600160a060020a0383166000908152600360205260409020600201546106f190429063ffffffff61074516565b600160a060020a03841660009081526003602052604090205490915061073e906201518090610338906064908290869061073290600263ffffffff61057b16565b9063ffffffff61057b16565b9392505050565b60008282111561075157fe5b509003905600a165627a7a7230582092cbda6f00998e878dc00f1ba2d0300ba06a8d54d8fdba30bc6411f489fe936a0029
Swarm Source
bzzr://92cbda6f00998e878dc00f1ba2d0300ba06a8d54d8fdba30bc6411f489fe936a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $1,567.47 | 0.0303 | $47.46 |
Loading...
Loading
Loading...
Loading
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.