Latest 25 transactions from a total of 55 transactions

TxHash Age From To Value [TxFee]
0x07bf8bacf76f3596f2f016e169d060dc7a2fc5c57e22a5203000b00963fc4c632 days 22 hrs ago0x7218499764f2bf3cf9ddcabfcf0552ac94d31ad3  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.00154038
0x8ee6f39663653b52b6b6481e996173725bc7a301019a4cb93fed1e48e5d0b6d52 days 22 hrs ago0x7218499764f2bf3cf9ddcabfcf0552ac94d31ad3  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.00154482
0x0aa2d8ec96b84b29ac4915e1ad7140783c544c39f7fe32f627285590e12689207 days 1 hr ago0x7a5643f0468833fc68ad184a39f1a51c22f3f03f  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.0013313
0xe8a997616474a6f3df3ceca715acae6122ab4e5f608280d07f7c5a8d79930f5c7 days 1 hr ago0x7a5643f0468833fc68ad184a39f1a51c22f3f03f  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.00194688
0xfdcc240c00b250466864231818b4b68998974d99a0a03a03271afdfc1170494a9 days 21 hrs ago0x4e77642b6c5d7c8ecdb809c60123e911ad1a2267  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.00145326
0xa6fde0614242099294e5a382157321fee3ba200817a6d793e70a6923fcd0593b9 days 23 hrs ago0x7218499764f2bf3cf9ddcabfcf0552ac94d31ad3  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.0015537
0xdb78b413ef7af1ef8dbe293c9555a8b98bdc2f15d74359f7feccbebb6068034615 days 14 hrs ago0x7218499764f2bf3cf9ddcabfcf0552ac94d31ad3  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.0014577
0x59558ee31058c517bda5c8431c5d754291441b7196d288bc8494253eabf78aa215 days 15 hrs ago0x7218499764f2bf3cf9ddcabfcf0552ac94d31ad3  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.0016526
0x5d69b1d3ec30accd9ba79cfbb40286d83a05818c4422329744adbeb76026f7c215 days 15 hrs ago0x7218499764f2bf3cf9ddcabfcf0552ac94d31ad3  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.00195448
0xdead692feb08f07f5d59280334ebaef65f35df3b8e47b3bb9470196c622ac57c23 days 12 hrs ago0x4e77642b6c5d7c8ecdb809c60123e911ad1a2267  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.00155814
0xa1fc2040007f67a3e9fa2ed082d1a53e340a5b4acf9b453715a9e5e35b89cee323 days 12 hrs ago0x4e77642b6c5d7c8ecdb809c60123e911ad1a2267  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.00155242
0x1e7f9ed6b5f29b50f41419b7d61f06bb7549ccbe7db36c95c6898b98f0e6d73c23 days 12 hrs ago0x4e77642b6c5d7c8ecdb809c60123e911ad1a2267  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.0015537
0xeeae2ecc5d858060384adb57a63a30a618f36bee6636214ba58ef24223fe6ab030 days 7 hrs ago0x45b152b732dd81fb6049738d1e742d9a3b7f783d  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.000077241
0x99f333e00adab3606e854b8629ae6f925c87e1738672f7fc08e63d426e62bc0c31 days 2 hrs ago0x45b152b732dd81fb6049738d1e742d9a3b7f783d  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.00133002
0x92af8a0c29f7d7da916ff4c93ab4092fefe6ca0777f6de42160120122a7e0ba431 days 2 hrs ago0x45b152b732dd81fb6049738d1e742d9a3b7f783d  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.000087535
0x55f513e873de54a18bbb975cd362368ab9524cc03eb48cb793cbdc6fb0689f7a31 days 2 hrs ago0x45b152b732dd81fb6049738d1e742d9a3b7f783d  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.000077772
0x7035c7785b1ebf7a4826246173f37768a5cb819888220936805f78decdd3d9ad31 days 2 hrs ago0x45b152b732dd81fb6049738d1e742d9a3b7f783d  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.000077772
0xbf94e1d2a9b8eda0f79ce6b1afcb5c353bfe49513df0df59ab4931549984b7ea31 days 2 hrs ago0x45b152b732dd81fb6049738d1e742d9a3b7f783d  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.000077772
0x6f44af1f116512298177d80570f1076fd89755567f145a6be08188304959f60a31 days 3 hrs ago0x45b152b732dd81fb6049738d1e742d9a3b7f783d  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.00155544
0x201d97f13f725f55614511e57618eb745fb315ddfa770836bd08e60b44fa047d31 days 4 hrs ago0x45b152b732dd81fb6049738d1e742d9a3b7f783d  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.00115688
0xce68882120ab420e384c2b880fb5317e54af325db5ea704bb17438dece7a701031 days 4 hrs ago0x45b152b732dd81fb6049738d1e742d9a3b7f783d  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.00155544
0xa1d8a576b9155c01660b112e888841adb9f0624b17ad7abb003c41015b80e0df31 days 4 hrs ago0x45b152b732dd81fb6049738d1e742d9a3b7f783d  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.00155544
0x8b2849cde246df06f5f834f3874c3e347bed42f4b839c4fdae0851bcff2c76cd31 days 4 hrs ago0x45b152b732dd81fb6049738d1e742d9a3b7f783d  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.00155416
0x8118d298fc164508680bd8281eba902b57bd0583fa0fe9875c18949ff8b981da31 days 4 hrs ago0x45b152b732dd81fb6049738d1e742d9a3b7f783d  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.00155544
0xf1df44853309d910068b0a42580ca41ed06dca2f3de96ea66d4acfe2b1d5d57e31 days 4 hrs ago0x45b152b732dd81fb6049738d1e742d9a3b7f783d  IN   0xcd602de18ef419253da7be962d3f1d05da3dea330 Ether0.00155544
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
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: PlayerScore
Compiler Version: v0.4.24-nightly.2018.5.11+commit.43803b1a
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.10;

contract PlayerScore {
    
    uint maxTopScores = 40;
    address owner;

    struct TopScore{
        address addr;
        int score;
    }
    
    function PlayerScore(){
        owner = msg.sender;
    }

    TopScore[] public topScores;

    mapping (address=>int) public userTopScores;
    
    function setTopScore(int256 score, uint8 v, bytes32 r, bytes32 s) {
        var hash = sha3(msg.sender, owner, score);
        var addressCheck = ecrecover(hash, v, r, s);
        
        if(addressCheck != owner) throw;
        
        var currentTopScore = userTopScores[msg.sender];
        if(currentTopScore < score){
            userTopScores[msg.sender] = score;
        }

        if(topScores.length < maxTopScores){
            var topScore = TopScore(msg.sender, score);
            topScores.push(topScore);
        }else{
            int lowestScore = 0;
            uint lowestScoreIndex = 0; 
            for (uint i = 0; i < topScores.length; i++)
            {
                TopScore currentScore = topScores[i];
                if(i == 0){
                    lowestScore = currentScore.score;
                    lowestScoreIndex = i;
                }else{
                    if(lowestScore > currentScore.score){
                        lowestScore = currentScore.score;
                        lowestScoreIndex = i;
                    }
                }
            }
            if(score > lowestScore){
                var newtopScore = TopScore(msg.sender, score);
                topScores[lowestScoreIndex] = newtopScore;
            }
        }
    }

    function getCountTopScores() returns(uint) {
        return topScores.length;
    }
}

    Contract ABI  
[{"constant":false,"inputs":[{"name":"score","type":"int256"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"}],"name":"setTopScore","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"topScores","outputs":[{"name":"addr","type":"address"},{"name":"score","type":"int256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"getCountTopScores","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"userTopScores","outputs":[{"name":"","type":"int256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

  Contract Creation Code Switch To Opcodes View
6080604052602860005534801561001557600080fd5b5033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506106c1806100666000396000f300608060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806330fa7fa8146100675780635112711a146100bd5780635eb164c414610131578063ffb8df831461015c575b600080fd5b34801561007357600080fd5b506100bb60048036038101908080359060200190929190803560ff169060200190929190803560001916906020019092919080356000191690602001909291905050506101b3565b005b3480156100c957600080fd5b506100e8600480360381019080803590602001909291905050506105ed565b604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390f35b34801561013d57600080fd5b50610146610640565b6040518082815260200191505060405180910390f35b34801561016857600080fd5b5061019d600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061064d565b6040518082815260200191505060405180910390f35b60008060006101c0610665565b6000806000806101ce610665565b33600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168e604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166c010000000000000000000000000281526014018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166c010000000000000000000000000281526014018281526020019350505050604051809103902098506001898d8d8d604051600081526020016040526040518085600019166000191681526020018460ff1660ff1681526020018360001916600019168152602001826000191660001916815260200194505050505060206040516020810390808403906000865af1158015610305573d6000803e3d6000fd5b505050602060405103519750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614151561036d57600080fd5b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205496508c8712156103fc578c600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60005460028054905010156104bf5760408051908101604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018e81525095506002869080600181540180825580915050906001820390600052602060002090600202016000909192909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101555050506105de565b6000945060009350600092505b600280549050831015610535576002838154811015156104e857fe5b9060005260206000209060020201915060008314156105105781600101549450829350610528565b816001015485131561052757816001015494508293505b5b82806001019350506104cc565b848d13156105dd5760408051908101604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018e81525090508060028581548110151561057a57fe5b906000526020600020906002020160008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101559050505b5b50505050505050505050505050565b6002818154811015156105fc57fe5b90600052602060002090600202016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b6000600280549050905090565b60036020528060005260406000206000915090505481565b6040805190810160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815250905600a165627a7a723058209138f6cb76bbf82bd96b9efc235b076f1aadd6aa1e9e2e98efbaf867ba75c08b0029

   Swarm Source:
bzzr://9138f6cb76bbf82bd96b9efc235b076f1aadd6aa1e9e2e98efbaf867ba75c08b

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward