Contract 0xbeefd8fb3b5778f99e021afa2e41e0614af6af11

 

Contract Overview

Ethersmart
Balance:
0.000171218270216915 Ether

EtherValue:
$0.03 (@ $146.90/ETH)
TxHash Block Age From To Value [TxFee]
0x6544abc9ffaf211b0d900c4d6ebb6836326ee2e6b409c06ee4afdad74d78ad84719800111 days 12 hrs ago0x18879789163cd41a011fdd85641a72cf82b7942a IN  Ethersmart0 Ether0.000181488
0x8c71cfb51d6fdfc711630fce099dd404f93d370a374eff71bfd9138e77ba06b4701032447 days 7 hrs ago0x141653338f2da736fa613aae50db4aea74a583a1 IN  Ethersmart0 Ether0.000030248
0x33d3d2261a2d67ea25bc7feb4e0f2c1d0c90098887e847810395fdb057eb59a7700543148 days 4 hrs ago0xfd52f2816f077f179d1e37d1f01264e6ca3ed2fb IN  Ethersmart0 Ether0.000030248
0x830555f9eb8a57ed36367fc2ed2266a899f9cc151bd564bffdb66db002e1b54a698323451 days 23 hrs ago0x73e6fdae7abb673025499180ff7ddc78ee29546a IN  Ethersmart0 Ether0.0000635208
0xe30b584778ccc7dc96c09457cbadedabd51edd72c5b100b85db78e89a02dab97698323251 days 23 hrs ago0x73e6fdae7abb673025499180ff7ddc78ee29546a IN  Ethersmart0 Ether0.000060496
0x18f11752b909deb8942b278707a776273cdbdb520be4ccf9a265ec17fc06fc39698321952 days 2 mins ago0x73e6fdae7abb673025499180ff7ddc78ee29546a IN  Ethersmart0 Ether0.0001683
0x4688cfd7f6102ff6e7cd2eb563a9ed26ede45cb32dc6e58415000bce9e5c6235698321952 days 2 mins ago0x73e6fdae7abb673025499180ff7ddc78ee29546a IN  Ethersmart0 Ether0.000120992
0x74f5d49ae3b6947c0de0bdbc60192bcddc719e88c3245dfc32a12adf6007d2b7698321952 days 2 mins ago0x73e6fdae7abb673025499180ff7ddc78ee29546a IN  Ethersmart0 Ether0.0000030248
0xe8c361e6198c1a3ff851a709d371d5799559c27bfc0d5c63b03cd0a5ece57dd9686834171 days 7 hrs ago0x1f79429f372fd33bae25e19619c40667496fe514 IN  Ethersmart0 Ether0.000090744
0x5fcb0d7955898d7366dd0c53777f3bd5a7a98e62f5368606790e9de0e73fc210686827771 days 8 hrs ago0x1f79429f372fd33bae25e19619c40667496fe514 IN  Ethersmart0 Ether0.000063
0xbd1142ef07159814efef0e8af0b5189dab4403948b61fed56d7326862344f1fb681157880 days 17 hrs ago0x864d34e52d7506c4c65b9d344b8519d9becbf689 IN  Ethersmart0 Ether0.00015124
0x4d53e6d66592a0f763730779d944288b73f254ee562bcb037e2339aa13365089680654681 days 13 hrs ago0xf200d8cafbac679f84cc12f888384b3dfaf547b5 IN  Ethersmart0 Ether0.000126
0x9694d29da7bf390ff91b40371535d48f25091e0a79e42df60b61079240d46496676753487 days 23 hrs ago0x864d34e52d7506c4c65b9d344b8519d9becbf689 IN  Ethersmart0 Ether0.00015124
0x451d6a49d9f513ad58ad68ec4161b79566cc4b585e759604733bf29aefcc3201675269290 days 9 hrs ago0x5fc7033bcf856a696db68d958faab463c5deb833 IN  Ethersmart0 Ether0.000090744
0x5d95cb7b7d6b29ad0ddb707542b2db9752bd6ad309d939e15419d80d8ea94d95675269190 days 9 hrs ago0x5fc7033bcf856a696db68d958faab463c5deb833 IN  Ethersmart0 Ether0.000090744
0xc5f5052d7f1a231e51ecb21e2456742085bd98a77714417b022399297bee20fa675269190 days 9 hrs ago0x5fc7033bcf856a696db68d958faab463c5deb833 IN  Ethersmart0 Ether0.000090744
0xc521ad9b73d20259fd8a0f50877943b40a5841cc92172b7167c489df802fbd61675268690 days 9 hrs ago0x5fc7033bcf856a696db68d958faab463c5deb833 IN  Ethersmart0 Ether0.00015124
0xfd0de891221cd56394f0ebadfac7abe692c23c2a12ea257cee36b77cf7295b5f674724491 days 6 hrs ago0x5a73fb20449ec8db060fe4520f71ab78443e01b2 IN  Ethersmart0 Ether0.000861
0x438e3a22620b027985fbda244742a48cfc0cc2dbd0682673642716d629a36212674381791 days 20 hrs ago0xfdba533ff0481b63b68cdfa712dc8492401d7172 IN  Ethersmart0 Ether0.00015124
0x69c818d028fe7994630407a9e87d8cd1162f0e557684cad79d50e4866e927504674378191 days 20 hrs ago0xfdba533ff0481b63b68cdfa712dc8492401d7172 IN  Ethersmart0 Ether0.000084
0x8fa2071d1c4b3d4e22ed1624410c35a899a0c620c7be1a7bdee5ed85c3cdca80674119692 days 6 hrs ago0x2527f91c5b969d341ba781688b42cc85f168335a IN  Ethersmart0 Ether0.000060496
0xec8cbf7413b1ae6c8d2bc4654a04dd23a42c4f25f06cc848f68110870fdb8136674004092 days 11 hrs ago0x84a46db3a01e70e7db7e42a7cb019093b0c935ca IN  Ethersmart0 Ether0.000725952
0x10e37b5e5bff049708121beb422d6be218490197311db84c5ad32aefaffa794c673491693 days 7 hrs ago0x7990965c6abd831b3e2e9da06552d39c96220e2a IN  Ethersmart0 Ether0.000120992
0xf8a9b303264801e9d5c19ee8cd2ff68be51630cc9274b138bdecf36fccdea591673302093 days 15 hrs ago0xcb8c716312e72bca453082ed4ce33751150ff41c IN  Ethersmart0 Ether0.000861
0x883f69b511f13cde5f9c51b709e57c564a3cd8d9cec2a09cb9b21a9d03e14c73673168093 days 20 hrs ago0xd15f8f5075cf0861bcba4e25a3429e5c2ed38164 IN  Ethersmart0 Ether0.000063
[ Download CSV Export 

Latest 25 Internal Transaction, Click here to view more Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0x67164ce4110374b1f1d881f5921f151a49a5463555fd12f4487ef882e324cfcc6686170101 days 7 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110xd787acc2545947c239dd9534f3e3c6f0346177a30.001920491803278688 Ether
0xabc64f41bd89e0ad5c535d257325ec33b1c1a7ca20458dc6608927ac97f546526686151101 days 7 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110x265e74ebb4afe433111dcc4859a681e0e6e9d6780.000567581967213114 Ether
0xb774b6ba6be208e4383fba089630e84512c002ec5b2632126f23edd8ba0bf8ca6686080101 days 7 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110xb728746e1e2b0cfcdb12a26bf136cde607741f5a0.002830930327868852 Ether
0x490e417e2d4fb49816478454118e5067558e2692f66c0a7dbd4b35a67153551e6686079101 days 7 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110xaf56d44b483c9d4f9e6c178893cef6fc962ca5e70.000086967213114754 Ether
0x090ba452fd4b166e1f720dae9cd211ebb578cd377afef0f96245af7ddd65cdf06686076101 days 7 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110x42b780e21853845cd54f8df1fa83aaeb36aea4ff0.002051803278688524 Ether
0x47071032723227f845c800a685718c452e2d9c033863b396db3c95aa7eca29b96686069101 days 7 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110xdb28477969799910b622dd19c49548020bef31e80.000786065573770491 Ether
0xf3e277d7ca1d91fd8c0f69f76f3cbea49b3880d297736b579a1866f077b4f80b6686030101 days 7 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110x85ccc0a2b30402454be9505d3bfa240748bc5c3a0.000340573770491803 Ether
0xbc46955c73110ee1600361e2f6b9d9176e967733406f5131e2cc54632690f36d6686029101 days 7 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110xf79981345c539d7f88728986c1909996a7e706360.005027770694754098 Ether
0x23ccd818a2773894bfafda8023bca660a040e1ba0faa1fcb86cc524fae2d89586686021101 days 7 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110xda35961e80f19d0e389db2674e562277ca4d31f20.0003 Ether
0x23ccd818a2773894bfafda8023bca660a040e1ba0faa1fcb86cc524fae2d89586686021101 days 7 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110x8464e6613f87fa5f744ebfc0db4b9c7cc1f97a070.00105 Ether
0x23ccd818a2773894bfafda8023bca660a040e1ba0faa1fcb86cc524fae2d89586686021101 days 7 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110x88507e53d2d5348abd5155e47ef694acf4b140d00.0003 Ether
0x7d4bbdbcb0fb6512a90a6ec3a42f762e7e35a224bf0c4c60db54a61f5adbf5ef6685989101 days 8 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110x220746855b9fcf283dbe99f21d094d4fdda571110.00052561475409836 Ether
0xb6d0c45155fa8ff245e1d6355c808b1f03ab15f4aec4f8608c4311829f1817ab6685405101 days 10 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110x7f1bb7ea14ea63cf5dc4189f5ad19bda76623afe0.000318852459016393 Ether
0x32efcab8e8b0870516851d821b963b9b521bdd1d500fa0f62b0f197dae23d5496685266101 days 10 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110xcf82d7fcc1d888ab07f1928326a9d94a51b73a750.001539221311475409 Ether
0x140cbea49efcbedb5b95605daa2e970a112c240c5c949426fc5a81992a1134706685265101 days 10 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110x11ef2073b97a1ece41d44e1b5c2feb0d893e611f0.002074180327868852 Ether
0x8762ed8b27ad3fa9941c0e03a638bc3b8945a226202dbb866bdc72b59a162ce66685265101 days 10 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110x04058baad620e9c6f306567911c0453c32c2f4e90.005185647540983606 Ether
0xe02c5afeb9f696a0e9964616635e607a6f2db44310931e711b93c33f18aa99aa6685256101 days 11 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110xd290bb791a4a41aec646b3b54901a5d3c103b73a0.000270696721311475 Ether
0x14e0319d7ae59516ae0fd9049e740a699b6ba7fa4f2f2d3b27ed4365708055776685250101 days 11 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110xf3de45000d2f578f7e1ea22ce7bb4835358bbfe00.000356210805393102 Ether
0x42b138d6cf1fad84b8abd929c04a76882daa56a004fb6a070c18918c13fad22e6685250101 days 11 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110x8e1370b3bb58ff4c0cc27d23b69767e10c5abd980.000770491803278688 Ether
0xca72199def81e35ad93c3a8910ad9d78cf8b4890e4eb801c7f924c45d7d39a936685250101 days 11 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110xd7720b2f04ed96cf3d447b35d674942128bb92040.004093442622950819 Ether
0x6f403881f829b00cd54f017c88baa1469ceaf32e3e56beb44d651d0960e795646685247101 days 11 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110xa06536cf888ebfe0351ef3fdf1b4aa1199c6cddf0.006061475409836065 Ether
0x9cdc8fdd4c03691d57c6ddb53a154dd221667f4865583360680bc5540feb3bbe6685242101 days 11 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110x02a4a9426a1c8b130e7836f1d9cdce5c858a3c760.00371311475409836 Ether
0x524d94e1e73898982d2b183a2080673d522684e297ee3696c35c28303b578e946685238101 days 11 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110xbddfe19af611ed119a97c5ca55235925376731e70.000192213114754098 Ether
0xa205d73e05f05a3f22208deec353a05d27059f3f85efa0c507fea51d32d85e396685227101 days 11 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110x06e40e4072f34a75ed303ea90acabaac499db6150.012908196721311475 Ether
0xce1603f968a329fd2d70626611f37473d0ba23be89257e5aa63b4715af89827d6685223101 days 11 hrs ago0xbeefd8fb3b5778f99e021afa2e41e0614af6af110x84b814c8c57fd419c3a58ff4004228cbf2ea5f4c0.000177100556173913 Ether
[ Download CSV Export 
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) Solidity Compiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: EtherSmart
Compiler Version: v0.4.23+commit.124ca40d
Optimization Enabled: No
Runs (Optimizer):  200


Contract Source Code
pragma solidity ^0.4.23;

contract EtherSmart {

    mapping (address => uint256) public invested;
    mapping (address => uint256) public atBlock;
    address techSupport = 0x88507e53d2D5348AbD5155E47EF694ACf4b140D0;
    uint techSupportPercent = 2;
    address advertising = 0x8464E6613F87Fa5F744Ebfc0db4B9C7Cc1f97a07;
    uint advertisingPercent = 7;
    address defaultReferrer = 0xDa35961E80f19D0e389db2674E562277CA4d31f2;
    uint refPercent = 2;
    uint refBack = 2;

    // calculation of the percentage of profit depending on the balance sheet
    // returns the percentage times 10
    function calculateProfitPercent(uint bal) private pure returns (uint) {
        if (bal >= 1e22) { // balance >= 10000 ETH
            return 50;
        }
        if (bal >= 7e21) { // balance >= 7000 ETH
            return 47;
        }
        if (bal >= 5e21) { // balance >= 5000 ETH
            return 45;
        }
        if (bal >= 3e21) { // balance >= 3000 ETH
            return 42;
        }
        if (bal >= 1e21) { // balance >= 1000 ETH
            return 40;
        }
        if (bal >= 5e20) { // balance >= 500 ETH
            return 35;
        }
        if (bal >= 2e20) { // balance >= 200 ETH
            return 30;
        }
        if (bal >= 1e20) { // balance >= 100 ETH
            return 27;
        } else {
            return 25;
        }
    }

    // transfer default percents of invested
    function transferDefaultPercentsOfInvested(uint value) private {
        techSupport.transfer(value * techSupportPercent / 100);
        advertising.transfer(value * advertisingPercent / 100);
    }

    // convert bytes to eth address 
    function bytesToAddress(bytes bys) private pure returns (address addr) {
        assembly {
            addr := mload(add(bys, 20))
        }
    }

    // transfer default refback and referrer percents of invested
    function transferRefPercents(uint value, address sender) private {
        if (msg.data.length != 0) {
            address referrer = bytesToAddress(msg.data);
            if(referrer != sender) {
                sender.transfer(value * refBack / 100);
                referrer.transfer(value * refPercent / 100);
            } else {
                defaultReferrer.transfer(value * refPercent / 100);
            }
        } else {
            defaultReferrer.transfer(value * refPercent / 100);
        }
    }

    // calculate profit amount as such:
    // amount = (amount invested) * ((percent * 10)/ 1000) * (blocks since last transaction) / 6100
    // percent is multiplied by 10 to calculate fractional percentages and then divided by 1000 instead of 100
    // 6100 is an average block count per day produced by Ethereum blockchain
    function () external payable {
        if (invested[msg.sender] != 0) {
            
            uint thisBalance = address(this).balance;
            uint amount = invested[msg.sender] * calculateProfitPercent(thisBalance) / 1000 * (block.number - atBlock[msg.sender]) / 6100;

            address sender = msg.sender;
            sender.transfer(amount);
        }
        if (msg.value > 0) {
            transferDefaultPercentsOfInvested(msg.value);
            transferRefPercents(msg.value, msg.sender);
        }
        atBlock[msg.sender] = block.number;
        invested[msg.sender] += (msg.value);
    }
}

Contract ABI
[{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"invested","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"atBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

Contract Creation Code
60806040527388507e53d2d5348abd5155e47ef694acf4b140d0600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506002600355738464e6613f87fa5f744ebfc0db4b9c7cc1f97a07600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600760055573da35961e80f19d0e389db2674e562277ca4d31f2600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506002600755600260085534801561012357600080fd5b5061077e806101336000396000f30060806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806366b3f6bf146102575780638aac1362146102ae575b6000806000806000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415156101a5573073ffffffffffffffffffffffffffffffffffffffff163192506117d4600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205443036103e861010386610305565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020540281151561014c57fe5b040281151561015757fe5b0491503390508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156101a3573d6000803e3d6000fd5b505b60003411156101c2576101b7346103ec565b6101c134336104e1565b5b43600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550346000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550505050005b34801561026357600080fd5b50610298600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610714565b6040518082815260200191505060405180910390f35b3480156102ba57600080fd5b506102ef600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061072c565b6040518082815260200191505060405180910390f35b600069021e19e0c9bab24000008210151561032357603290506103e7565b69017b7883c069166000008210151561033f57602f90506103e7565b69010f0cf064dd592000008210151561035b57602d90506103e7565b68a2a15d09519be000008210151561037657602a90506103e7565b683635c9adc5dea000008210151561039157602890506103e7565b681b1ae4d6e2ef500000821015156103ac57602390506103e7565b680ad78ebc5ac6200000821015156103c757601e90506103e7565b68056bc75e2d63100000821015156103e257601b90506103e7565b601990505b919050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6064600354840281151561043857fe5b049081150290604051600060405180830381858888f19350505050158015610464573d6000803e3d6000fd5b50600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc606460055484028115156104b157fe5b049081150290604051600060405180830381858888f193505050501580156104dd573d6000803e3d6000fd5b5050565b60008060003690501415156106955761052c6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050610744565b90508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515610616578173ffffffffffffffffffffffffffffffffffffffff166108fc6064600854860281151561058d57fe5b049081150290604051600060405180830381858888f193505050501580156105b9573d6000803e3d6000fd5b508073ffffffffffffffffffffffffffffffffffffffff166108fc606460075486028115156105e457fe5b049081150290604051600060405180830381858888f19350505050158015610610573d6000803e3d6000fd5b50610690565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6064600754860281151561066257fe5b049081150290604051600060405180830381858888f1935050505015801561068e573d6000803e3d6000fd5b505b61070f565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc606460075486028115156106e157fe5b049081150290604051600060405180830381858888f1935050505015801561070d573d6000803e3d6000fd5b505b505050565b60006020528060005260406000206000915090505481565b60016020528060005260406000206000915090505481565b6000601482015190509190505600a165627a7a72305820010aa969daeaf50548d6115ef3acd2a86c197c6c77fd3d0b534c750a61948bee0029


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