Sponsored:   VC, TLDR and CoinBene Funded "TEMCO: Bitcoin Network (RSK) Suppy Chain! Whitelist KYC Starts Now!!"
Contract Overview
Balance: 33.140197122375718206 Ether
Ether Value: $3,192.06 (@ $96.32/ETH)
Transactions: 175 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0x9517b9ba35513b9e345c72b27f4e1bf745284ea3at txn 0x532742b178a29dac599191e172eb58bd55a2edb30860e7be15f5b7baad59d8e0
Token Balance:
 Latest 25 transactions from a total of 175 transactions

TxHash Age From To Value [TxFee]
0x30ae76478d697bf7fc8dde2d2385b1a13c22cfe9db5a17fee4fca6c419000aec113 days 1 hr ago0x9517b9ba35513b9e345c72b27f4e1bf745284ea3  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.0000595324
0xfa913fe92a51b5d4874a63984aaec327f7f218095773effc340e99a470d96929120 days 18 hrs ago0xf00991dfefacb35290e0a8ae57a9b6ffa62c152f  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.000027504
0x0e0589c5e2c27524c5f4e220082b6f71add578df22d412f239340e04a7e55e4b140 days 3 hrs ago0x9be96a6e861d2e5aff1fe0738bed664b6f0b543e  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.000019204
0xa9106872aa0850e64d80d673f1900ea3d29438de07e6ab69f06cf12e5aa0c0dd158 days 18 hrs ago0x66d4bacfe61df23be813089a7a6d1a749a5c936a  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.000403284
0xe360fb9d35ca69ed0605c1128d1492d60cf8eb21f662a299cca7d0e6b28c0690158 days 20 hrs ago0xf00991dfefacb35290e0a8ae57a9b6ffa62c152f  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.000326468
0x75b4b70b4a7152da4f1bf52e7b8e9c2dbdf837239f1dc8e233b0eaefa4f01e5c160 days 23 hrs ago0xcc55a426d4221d299a4586aaa0cef6e5c12783a4  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.000230448
0xc1884b7d5d36dff138eaaeff1aa867e6eca8af8578018c8863c13894053f7571162 days 19 hrs ago0xa53de515e868ce0b20af00237d019e5881dc81ef  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.00019204
0xa365bf8ba8422d468590f8dd9243e20dd7d2b5390ebb597cdd2131f39ae7e180162 days 23 hrs ago0x9c2ce25922dc592ffdf7f2c6b0a8678b21682116  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.00151272
0x05b45c5b269bbd03cfc0821c8b7da58717fcd8b47bed35dedecd04d7cf15b79c162 days 23 hrs ago0x9c2ce25922dc592ffdf7f2c6b0a8678b21682116  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.0027504
0xf1a647fa3c8496a7cd46cb3de7a1083d0d8add040f99cfef717816595ffce254162 days 23 hrs ago0x9c2ce25922dc592ffdf7f2c6b0a8678b21682116  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.00192528
0x6532cde382a73a1b72e0ffbb861b466fd01605ee58447e215502642f9af8044a162 days 23 hrs ago0x9c2ce25922dc592ffdf7f2c6b0a8678b21682116  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.0013752
0x0f3001f120bb58c281698813e12a3d98c16000c85e583672339363334de41acf162 days 23 hrs ago0x9c2ce25922dc592ffdf7f2c6b0a8678b21682116  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.000426312
0xbfd2fae8b4a7a9a29f7897e4a60632990b9310b3ba87488f6f9786c02a357c8d162 days 23 hrs ago0x9c2ce25922dc592ffdf7f2c6b0a8678b21682116  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.0013752
0xca00b41a448995e3a92c933ffbfa27c54c83c07e037011c42e9241993dfc9a68162 days 23 hrs ago0x9c2ce25922dc592ffdf7f2c6b0a8678b21682116  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.00057612
0xcdc780114c69f47ba09501f4b8ba068231a5627d793fd938c24eb03a9b176d88167 days 4 hrs ago0x3d17726a1f1705aee177dc38d90187ca60f6ed44  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.001401892
0xaa208489a4260b21540f4e27772452ff21437971bffecab283d6bbd2f4f1638c168 days 16 hrs ago0x75bcbfc394aa6cb1220be15df12ef7911fc3298b  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.0009602
0x801f9a514eb1ffa2eba2b183beb85caa5c4025fa12ed8b085424269de5138773168 days 22 hrs ago0xfcb1755200fd582b8db4ae1dc2a3521392f22db6  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.00460896
0x3c0eb4418bc44141548face078209a1a59b3a2ac00ace5e84ea71038b56418b0171 days 16 hrs ago0x4de2769420ac9e19617be0ba516b7ee36cca4957  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.000057612
0x21a7fc17cf7383d5fc8310766c74d9dc458ce217771218251474eddc76812f8c171 days 18 hrs ago0xe703f231ab056ecb99c92a1232cc1020acfc72f8  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.000057612
0x5670f0b0bb1f3192ebb53bca91756ed9a8072cedaccf8de25b90346934fbe8e6172 days 6 hrs ago0xcb6f1665d134a1dc8f59ca786cce5d6a2573cd50  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.000057612
0x4991ab90585f5f070acefee085847153323c9538c19cf578b728ec114676d3ab172 days 13 hrs ago0x6382e454b839d528136bc49523710ca284383877  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.000019204
0xf590d9e25935c77638d218319667a7ae3f9872841b04db0085b85e624284e95f172 days 16 hrs ago0x8fd30d792d7bfb8955d7cfbfa1ccc878b04a39ec  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.000153632
0x8ec533e37929e9dcb1b166232cae453415db857321b0138b430695710bd38f42172 days 17 hrs ago0xdb6f1298961e7e00522fca5a8cc60d6d00c97151  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.0000403284
0x73e35100e97aceea95d6c0a79b49bdd51e4b35720940b1ca33495a951f3e477f172 days 18 hrs ago0xb1af2ec3d3d790de7668058b2f5ceb795f140f01  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.000038408
0x12f775a165d6fb0f563dc4257ab5856e11923bf106dcb02e46109eaaf754505a172 days 18 hrs ago0x5b2726f2b3d4efad8cec3a72d6a3f6cba5867c42  IN   0x6103281b7d1f7862d692fda42dc06ece61a405470 Ether0.000038408
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here To View More View All
ParentTxHash Block Age From To Value
0x30ae76478d697bf7fc8dde2d2385b1a13c22cfe9db5a17fee4fca6c419000aec6222900113 days 1 hr ago0x6103281b7d1f7862d692fda42dc06ece61a405470x9517b9ba35513b9e345c72b27f4e1bf745284ea30.41611514174678324 Ether
0x0e0589c5e2c27524c5f4e220082b6f71add578df22d412f239340e04a7e55e4b6062451140 days 3 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470x9be96a6e861d2e5aff1fe0738bed664b6f0b543e0.052014392718347905 Ether
0xa9106872aa0850e64d80d673f1900ea3d29438de07e6ab69f06cf12e5aa0c0dd5952555158 days 18 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470x66d4bacfe61df23be813089a7a6d1a749a5c936a0.302113937801549164 Ether
0xe360fb9d35ca69ed0605c1128d1492d60cf8eb21f662a299cca7d0e6b28c06905951894158 days 20 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470xf00991dfefacb35290e0a8ae57a9b6ffa62c152f0.052014392718347905 Ether
0x75b4b70b4a7152da4f1bf52e7b8e9c2dbdf837239f1dc8e233b0eaefa4f01e5c5939464160 days 23 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470xcc55a426d4221d299a4586aaa0cef6e5c12783a40.052014392718347905 Ether
0xc1884b7d5d36dff138eaaeff1aa867e6eca8af8578018c8863c13894053f75715928823162 days 19 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470xa53de515e868ce0b20af00237d019e5881dc81ef0.052014392718347905 Ether
0xca00b41a448995e3a92c933ffbfa27c54c83c07e037011c42e9241993dfc9a685927775162 days 23 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470x9c2ce25922dc592ffdf7f2c6b0a8678b216821160.052014392718347905 Ether
0xcdc780114c69f47ba09501f4b8ba068231a5627d793fd938c24eb03a9b176d885903367167 days 4 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470x3d17726a1f1705aee177dc38d90187ca60f6ed440.633811006608719092 Ether
0xaa208489a4260b21540f4e27772452ff21437971bffecab283d6bbd2f4f1638c5894546168 days 16 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470x75bcbfc394aa6cb1220be15df12ef7911fc3298b0.052014392718347905 Ether
0x801f9a514eb1ffa2eba2b183beb85caa5c4025fa12ed8b085424269de51387735893134168 days 22 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470xfcb1755200fd582b8db4ae1dc2a3521392f22db60.62417271262017486 Ether
0x3c0eb4418bc44141548face078209a1a59b3a2ac00ace5e84ea71038b56418b05877075171 days 16 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470x4de2769420ac9e19617be0ba516b7ee36cca49570.052014392718347905 Ether
0x21a7fc17cf7383d5fc8310766c74d9dc458ce217771218251474eddc76812f8c5876538171 days 18 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470xe703f231ab056ecb99c92a1232cc1020acfc72f80.052014392718347905 Ether
0x5670f0b0bb1f3192ebb53bca91756ed9a8072cedaccf8de25b90346934fbe8e65873528172 days 6 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470xcb6f1665d134a1dc8f59ca786cce5d6a2573cd500.052014392718347905 Ether
0x4991ab90585f5f070acefee085847153323c9538c19cf578b728ec114676d3ab5872015172 days 13 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470x6382e454b839d528136bc49523710ca2843838770.052014392718347905 Ether
0xf590d9e25935c77638d218319667a7ae3f9872841b04db0085b85e624284e95f5871195172 days 16 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470x8fd30d792d7bfb8955d7cfbfa1ccc878b04a39ec0.269446841116895446 Ether
0x8ec533e37929e9dcb1b166232cae453415db857321b0138b430695710bd38f425870936172 days 17 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470xdb6f1298961e7e00522fca5a8cc60d6d00c971510.052014392718347905 Ether
0x73e35100e97aceea95d6c0a79b49bdd51e4b35720940b1ca33495a951f3e477f5870688172 days 18 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470xb1af2ec3d3d790de7668058b2f5ceb795f140f010.052014392718347905 Ether
0x12f775a165d6fb0f563dc4257ab5856e11923bf106dcb02e46109eaaf754505a5870684172 days 18 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470x5b2726f2b3d4efad8cec3a72d6a3f6cba5867c420.052014392718347905 Ether
0x6af7afe5efb2089ae908e06860d8301b11fb2ed2f5d130c43e9e912ba4cda5315870463172 days 19 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470x993805e6f041fb438cb2c89e9e03103ee408df5a0.052014392718347905 Ether
0x193f1f41bf1fe0cf69f2c2fff0574e9c344563abcf510a23fb698dedd6dd98ad5870452172 days 19 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470x20957b8436d2c6a5b822375081cf8ca70514357e26.917448231745041228 Ether
0xa84621734a0240d63464f26f2eab7bd1db894e5faa92c02a6f7f374a5e3cb2ae5869427172 days 23 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470x2c679f2fcc130bc136fe043454e80b406b22e81d0.052014392718347905 Ether
0x1d1a891cc949fde2762aac2c02f88ceae08dc1d02c3dc773839abb2e8fcad0ae5868812173 days 2 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470x0b40937664dd2f39a2c16fa56afa3ce546e005250.052014392718347905 Ether
0xeca3f0884305fabc1c6e53f765adb20e36ba2db6e2ffdd2654115bbd365f19525864912173 days 18 hrs ago0x6103281b7d1f7862d692fda42dc06ece61a405470xdb6f1298961e7e00522fca5a8cc60d6d00c971510.044330448339501056 Ether
0x5e660056884a47939169fb3bcd10a87131232ac1e2bb0970457130f57ac815b65863478174 days 18 mins ago0x6103281b7d1f7862d692fda42dc06ece61a405470xcb6f1665d134a1dc8f59ca786cce5d6a2573cd500.301759881381210579 Ether
0xb64e654ec32c6f8c90116db3759014afc9bde53e16ed6ab65d1ead53458883e25863475174 days 19 mins ago0x6103281b7d1f7862d692fda42dc06ece61a405470x9517b9ba35513b9e345c72b27f4e1bf745284ea32.428333844921384752 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: OneSingleCoin
Compiler Text: v0.4.24+commit.e67f0147
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.24;

contract OneSingleCoin {
    uint256 public currentHodlerId;
    address public currentHodler;
    address[] public previousHodlers;
    
    string[] public messages;
    uint256 public price;
    
    event Purchased(
        uint indexed _buyerId,
        address _buyer
    );

    mapping (address => uint) public balance;

    constructor() public {
        currentHodler = msg.sender;
        currentHodlerId = 0;
        messages.push("One coin to rule them all");
        price = 8 finney;
        emit Purchased(currentHodlerId, currentHodler);
    }

    function buy(string message) public payable returns (bool) {
        require (msg.value >= price);
        
        if (msg.value > price) {
            balance[msg.sender] += msg.value - price;
        }
        uint256 previousHodlersCount = previousHodlers.length;
        for (uint256 i = 0; i < previousHodlersCount; i++) {
            balance[previousHodlers[i]] += (price * 8 / 100) / previousHodlersCount;
        }
        balance[currentHodler] += price * 92 / 100;

        price = price * 120 / 100;  
        previousHodlers.push(currentHodler);
        messages.push(message);
        
        currentHodler = msg.sender;
        currentHodlerId = previousHodlersCount + 1;
        emit Purchased(currentHodlerId, currentHodler);
    }

    function withdraw() public {
        uint amount = balance[msg.sender];
        balance[msg.sender] = 0;
        msg.sender.transfer(amount);
    }
}

    Contract ABI  
[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"messages","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"message","type":"string"}],"name":"buy","outputs":[{"name":"","type":"bool"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"previousHodlers","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currentHodlerId","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currentHodler","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"price","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_buyerId","type":"uint256"},{"indexed":false,"name":"_buyer","type":"address"}],"name":"Purchased","type":"event"}]

  Contract Creation Code Switch To Opcodes View
608060405234801561001057600080fd5b5060018054600160a060020a0319163317815560008080556003805492830180825591526040805180820190915260198082527f4f6e6520636f696e20746f2072756c65207468656d20616c6c00000000000000602092909201918252919261009e927fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b90910191906100f2565b5050661c6bf52634000060045560005460015460408051600160a060020a039092168252517fb47c52a971a941c629c2f7690d2a3bd407390d3c8eabc35473c70883a3d5da169181900360200190a261018d565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061013357805160ff1916838001178555610160565b82800160010185558215610160579182015b82811115610160578251825591602001919060010190610145565b5061016c929150610170565b5090565b61018a91905b8082111561016c5760008155600101610176565b90565b61062b8061019c6000396000f30060806040526004361061008d5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630d80fefd81146100925780633ccfd60b1461011f578063492cc7691461013657806355872813146101965780635a75b8d5146101ca5780636776ddd0146101f1578063a035b1fe14610206578063e3d670d71461021b575b600080fd5b34801561009e57600080fd5b506100aa60043561023c565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100e45781810151838201526020016100cc565b50505050905090810190601f1680156101115780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561012b57600080fd5b506101346102e3565b005b6040805160206004803580820135601f81018490048402850184019095528484526101829436949293602493928401919081908401838280828437509497506103289650505050505050565b604080519115158252519081900360200190f35b3480156101a257600080fd5b506101ae60043561050f565b60408051600160a060020a039092168252519081900360200190f35b3480156101d657600080fd5b506101df610537565b60408051918252519081900360200190f35b3480156101fd57600080fd5b506101ae61053d565b34801561021257600080fd5b506101df61054c565b34801561022757600080fd5b506101df600160a060020a0360043516610552565b600380548290811061024a57fe5b600091825260209182902001805460408051601f60026000196101006001871615020190941693909304928301859004850281018501909152818152935090918301828280156102db5780601f106102b0576101008083540402835291602001916102db565b820191906000526020600020905b8154815290600101906020018083116102be57829003601f168201915b505050505081565b33600081815260056020526040808220805490839055905190929183156108fc02918491818181858888f19350505050158015610324573d6000803e3d6000fd5b5050565b6000806000600454341015151561033e57600080fd5b600454341115610367576004543360009081526005602052604090208054349290920390910190555b505060025460005b818110156103d35760045482906064906008020481151561038c57fe5b04600560006002848154811015156103a057fe5b6000918252602080832090910154600160a060020a0316835282019290925260400190208054909101905560010161036f565b6004805460018054600160a060020a039081166000908152600560209081526040822080546064605c9097028790040190558554607802949094049094558154600280548085019091557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805473ffffffffffffffffffffffffffffffffffffffff191691909216179055600380549182018082559352865161049e927fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b90920191880190610564565b50506001805473ffffffffffffffffffffffffffffffffffffffff19163317808255908301600081905560408051600160a060020a039390931683525190917fb47c52a971a941c629c2f7690d2a3bd407390d3c8eabc35473c70883a3d5da16919081900360200190a25050919050565b600280548290811061051d57fe5b600091825260209091200154600160a060020a0316905081565b60005481565b600154600160a060020a031681565b60045481565b60056020526000908152604090205481565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106105a557805160ff19168380011785556105d2565b828001600101855582156105d2579182015b828111156105d25782518255916020019190600101906105b7565b506105de9291506105e2565b5090565b6105fc91905b808211156105de57600081556001016105e8565b905600a165627a7a7230582018b7c87ea7fbd4d7f3de405dc3d50aebc249e9eaa50db293bd0c829d7cb9cb6f0029

   Swarm Source:
bzzr://18b7c87ea7fbd4d7f3de405dc3d50aebc249e9eaa50db293bd0c829d7cb9cb6f

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.