Contract Overview
Balance: 0.023813333430590562 Ether
Ether Value: $2.27 (@ $95.33/ETH)
Transactions: 592 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0x0b0efad4ae088a88ffdc50bce5fb63c6936b9220at txn 0x8fa7a71eb0b1bd32f6f15de7fc052bd0eff451cff678bb924e0a5f2afd609ce9
Token Balance:
 Latest 25 transactions from a total of 592 transactions

TxHash Age From To Value [TxFee]
0xe6f03ea1d59f6c53cba1dc1b139587de74940fe95379cd7f5590cedaab2d91f45 days 10 hrs ago0xdb88f36a85742a03ebc185933881dca1e83e6a80  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.001102596
0xacc0321c82a4ea3bae30fd8071f599ab592d473e975351174bf23cb486e0246124 days 17 hrs ago0x7692a4436f8252f34258c2bfa846ec5e840d5e55  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.000348372
0x2ecb5e8cbb85ebeaf1a59e5b958bb8c8f5a1e76943a3faad77bf2a2357919cfd27 days 5 hrs ago0x7692a4436f8252f34258c2bfa846ec5e840d5e55  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.000551298
0x4d98dc0f4bd7ebced8e1b2a93c395fbfc1d974533f9cbef99291851d401ed85f27 days 6 hrs ago0x7692a4436f8252f34258c2bfa846ec5e840d5e55  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0 Ether0.000693942
0xe1e78772a60707b96e4b35a2b5d4002d98e089fe361a264cbd0b2a2699ea07fb27 days 6 hrs ago0x7692a4436f8252f34258c2bfa846ec5e840d5e55  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0 Ether0.00045
0x8babd151d229ceb60e89bb6e7f52ca00403a6676fb8d4ab45c7be89ae1018cbc27 days 6 hrs ago0x7692a4436f8252f34258c2bfa846ec5e840d5e55  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0 Ether0.000070677
0x25d4be55ef9ed57a39efdeddfe674544af8f10b4a8d176d19c646eb4963d3af627 days 7 hrs ago0x7692a4436f8252f34258c2bfa846ec5e840d5e55  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.000675064
0x1bb6faa243c67a561ef394e0ac9c5c98916aab232e452924aa5c0abec3f391a530 days 17 hrs ago0x4edeb56e0a46258d01b41225f82a5b90dd7904dd  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.0005399766
0x9b9dcfd1143acc82f5c29fbb1f6af5e37dd11583ddc68802a5a9d8385adee69531 days 12 hrs ago0xe67f800c4cd4fe30d96de416dca6c2d73d5f383e  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.000230256
0xb0485462ed1eb484607282a1fcc94575e4ebee15e6a4ec91aec5df893e942ad331 days 13 hrs ago0xe67f800c4cd4fe30d96de416dca6c2d73d5f383e  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.00028782
0xda7aee99bb7f806f130c3d87483a5965e525d75b7389e290c530f6b44ed0851d31 days 13 hrs ago0xe67f800c4cd4fe30d96de416dca6c2d73d5f383e  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.000230256
0x2516ae1a5b73824abb1a074bed4e6372d749791daab633ddf1451b106ecb60f131 days 13 hrs ago0xe67f800c4cd4fe30d96de416dca6c2d73d5f383e  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.000703948
0xc33d47eb17dcc5bdf25671aec241ebc0fd2359aa111aea457b95f77c78f742a831 days 13 hrs ago0xe67f800c4cd4fe30d96de416dca6c2d73d5f383e  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.000816744
0x1e3505637e87daca4db7261210a574c6e2c09339563557a5a215e087d63e26f232 days 15 hrs ago0x4edeb56e0a46258d01b41225f82a5b90dd7904dd  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.0007141626
0xb66f0f1976f4d31d2366676afbbbdb8e8a5ac4458d74416f6edefe5c7ddf34a251 days 18 hrs ago0xa39334d8363d6aaf50372313efaa4cf8bdd50a30  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.000567558
0x796a5e9cc216427f438a00bcf565631c0e811f1471e71c965a0d8cc4e5725e0a54 days 10 hrs ago0x0b0efad4ae088a88ffdc50bce5fb63c6936b9220  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.001393488
0xcb64135b62a884a123f885019bf840172252e1d6f1902ff721b6289452b3e22955 days 17 hrs ago0xb2d1d8280ca1940d80fd762bdb52bc7680de620a  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.000567558
0xd7c51fad860d2b13bd4c9cdda7154138774b05219384d40b46eefc33a7b884f655 days 19 hrs ago0xa215f1b06e7945d331f2df30961027123947a40d  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0 Ether0.0002182696
0xf85f97c308884571e5755d5fb44b7b5ce4b295f1df622a96c35c3a6b75f0f70555 days 20 hrs ago0xa215f1b06e7945d331f2df30961027123947a40d  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.00015599844
0xb00d15c9a220ed4bc721fd08dd513df1e8b57f85dc3bb64719239b9b1c8e8a8055 days 21 hrs ago0x277f386100f963cca6347ad4a8e9837e22334186  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.001135116
0x4bfd0f422d8f394bb707182f8a2791a244ce262961e3e82e40c08687569a04c956 days 3 hrs ago0xa215f1b06e7945d331f2df30961027123947a40d  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0 Ether0.00028549638
0x5e4bdad0a01c5a71ac23555e519807e696ec510a5188dcd27769bf7792a5122056 days 3 hrs ago0xa215f1b06e7945d331f2df30961027123947a40d  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.00066404286
0xa80ba7c02fc6e798e226d84e430d2f37d3b52b1c742b59a2b6b8a712b8d4dede56 days 21 hrs ago0x4edeb56e0a46258d01b41225f82a5b90dd7904dd  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0.001 Ether0.0005399766
0x87e1cdebba8db3aae7000915f45310380520bc9f807600df5dcc055c5afafb6859 days 13 hrs ago0x9d3f10f5d553dda3f36e09ab0c3c757ba99e8894  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0 Ether0.000137148
0xf276828b3538fe4048a133b70afedd0e205080fc811586c5f2a52cda8e242f6e59 days 14 hrs ago0x668b782d3ae02350fada013541bec8bcd534de98  IN   0x628a419592d62cbde91e8d584ee8dae753f973ad0 Ether0.000274296
[ 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
0xe6f03ea1d59f6c53cba1dc1b139587de74940fe95379cd7f5590cedaab2d91f468776375 days 10 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0x7692a4436f8252f34258c2bfa846ec5e840d5e550.000871785766697195 Ether
0xe6f03ea1d59f6c53cba1dc1b139587de74940fe95379cd7f5590cedaab2d91f468776375 days 10 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.000174357153339439 Ether
0xacc0321c82a4ea3bae30fd8071f599ab592d473e975351174bf23cb486e02461676092224 days 17 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0x7692a4436f8252f34258c2bfa846ec5e840d5e550.00092946441674299 Ether
0xacc0321c82a4ea3bae30fd8071f599ab592d473e975351174bf23cb486e02461676092224 days 17 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.000185892883348598 Ether
0x2ecb5e8cbb85ebeaf1a59e5b958bb8c8f5a1e76943a3faad77bf2a2357919cfd674550927 days 5 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0x7692a4436f8252f34258c2bfa846ec5e840d5e550.00107366104185747 Ether
0x2ecb5e8cbb85ebeaf1a59e5b958bb8c8f5a1e76943a3faad77bf2a2357919cfd674550927 days 5 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.000214732208371494 Ether
0x25d4be55ef9ed57a39efdeddfe674544af8f10b4a8d176d19c646eb4963d3af6674511827 days 7 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0x4edeb56e0a46258d01b41225f82a5b90dd7904dd0.00143415260464368 Ether
0x25d4be55ef9ed57a39efdeddfe674544af8f10b4a8d176d19c646eb4963d3af6674511827 days 7 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.000286830520928736 Ether
0x1bb6faa243c67a561ef394e0ac9c5c98916aab232e452924aa5c0abec3f391a5672441230 days 17 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xe67f800c4cd4fe30d96de416dca6c2d73d5f383e0.0023353815116092 Ether
0x1bb6faa243c67a561ef394e0ac9c5c98916aab232e452924aa5c0abec3f391a5672441230 days 17 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.00046707630232184 Ether
0x2516ae1a5b73824abb1a074bed4e6372d749791daab633ddf1451b106ecb60f1671911631 days 13 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xe67f800c4cd4fe30d96de416dca6c2d73d5f383e0.000838453779022995 Ether
0x2516ae1a5b73824abb1a074bed4e6372d749791daab633ddf1451b106ecb60f1671911631 days 13 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.000167690755804599 Ether
0xc33d47eb17dcc5bdf25671aec241ebc0fd2359aa111aea457b95f77c78f742a8671910731 days 13 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0x4edeb56e0a46258d01b41225f82a5b90dd7904dd0.000846134447557485 Ether
0xc33d47eb17dcc5bdf25671aec241ebc0fd2359aa111aea457b95f77c78f742a8671910731 days 13 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.000169226889511497 Ether
0x1e3505637e87daca4db7261210a574c6e2c09339563557a5a215e087d63e26f2671250432 days 15 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xa39334d8363d6aaf50372313efaa4cf8bdd50a300.00086533611889372 Ether
0x1e3505637e87daca4db7261210a574c6e2c09339563557a5a215e087d63e26f2671250432 days 15 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.000173067223778744 Ether
0xb66f0f1976f4d31d2366676afbbbdb8e8a5ac4458d74416f6edefe5c7ddf34a2659583451 days 18 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0x0b0efad4ae088a88ffdc50bce5fb63c6936b92200.000913340297234295 Ether
0xb66f0f1976f4d31d2366676afbbbdb8e8a5ac4458d74416f6edefe5c7ddf34a2659583451 days 18 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.000182668059446859 Ether
0x796a5e9cc216427f438a00bcf565631c0e811f1471e71c965a0d8cc4e5725e0a657952954 days 10 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xb2d1d8280ca1940d80fd762bdb52bc7680de620a0.001033350743085735 Ether
0x796a5e9cc216427f438a00bcf565631c0e811f1471e71c965a0d8cc4e5725e0a657952954 days 10 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.000206670148617147 Ether
0xcb64135b62a884a123f885019bf840172252e1d6f1902ff721b6289452b3e229657176555 days 17 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xa215f1b06e7945d331f2df30961027123947a40d0.00133337685771434 Ether
0xcb64135b62a884a123f885019bf840172252e1d6f1902ff721b6289452b3e229657176555 days 17 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.000266675371542868 Ether
0xb00d15c9a220ed4bc721fd08dd513df1e8b57f85dc3bb64719239b9b1c8e8a80657063055 days 21 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xa215f1b06e7945d331f2df30961027123947a40d0.000833442144285855 Ether
0xb00d15c9a220ed4bc721fd08dd513df1e8b57f85dc3bb64719239b9b1c8e8a80657063055 days 21 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.000166688428857171 Ether
0x5e4bdad0a01c5a71ac23555e519807e696ec510a5188dcd27769bf7792a51220656900056 days 3 hrs ago0x628a419592d62cbde91e8d584ee8dae753f973ad0x4edeb56e0a46258d01b41225f82a5b90dd7904dd0.00083360536071463 Ether
[ Download CSV Export  ] 
Contract Source Code Verified (Exact Match)
Contract Name: Spud3D
Compiler Text: v0.4.25+commit.59dbf8f1
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.25;
// First Spielley and Dav collab on creating a Hot potato take for P3D
// pass the spud, 
// each time you have the spud you can win the jackpot, 
// first player has most chance of hitting jackpot and slowly the chances of winning decrease. 
// if someone doesn't take over the spud within 256 blocks you auto win
// each time you play you get a spudcoin
// spudcoin reward for UI devs
// spudcoins can be traded in for a part of the contracts divs
// dependant on totalsupply and how many coins you trade in
// you can also trade in spudcoin for spots in the MN rotator when the contract buys P3D
// 

contract Spud3D {
    using SafeMath for uint;
    
    HourglassInterface constant p3dContract = HourglassInterface(0xB3775fB83F7D12A36E0475aBdD1FCA35c091efBe);
    SPASMInterface constant SPASM_ = SPASMInterface(0xfaAe60F2CE6491886C9f7C9356bd92F688cA66a1);//spielley's profit sharing payout
    
    struct State {
        
        uint256 blocknumber;
        address player;
        
        
    }
    
    mapping(uint256 =>  State) public Spudgame;
    mapping(address => uint256) public playerVault;
    mapping(address => uint256) public SpudCoin;
    mapping(uint256 => address) public Rotator;
    
    uint256 public totalsupply;//spud totalsupply
    uint256 public Pot; // pot that get's filled from entry mainly
    uint256 public SpudPot; // divpot spucoins can be traded for
    uint256 public round; //roundnumber
    
    uint256 public RNGdeterminator; // variable upon gameprogress
    uint256 public nextspotnr; // next spot in rotator
    
    mapping(address => string) public Vanity;
    
    event Withdrawn(address indexed player, uint256 indexed amount);
    event SpudRnG(address indexed player, uint256 indexed outcome);
    event payout(address indexed player, uint256 indexed amount);
    
    function harvestabledivs()
        view
        public
        returns(uint256)
    {
        return ( p3dContract.myDividends(true))  ;
    }
    function contractownsthismanyP3D()
        public
        view
        returns(uint256)
    {
        
        return (p3dContract.balanceOf(address(this)));
    }
    function getthismuchethforyourspud(uint256 amount)
        public
        view
        returns(uint256)
    {
        uint256 dividends = p3dContract.myDividends(true);
            
            uint256 amt = dividends.div(100);
            
            uint256 thepot = SpudPot.add(dividends.sub(amt));
            
        uint256 payouts = thepot.mul(amount).div(totalsupply);
        return (payouts);
    }
    function thismanyblockstillthspudholderwins()
        public
        view
        returns(uint256)
    {
        uint256 value;
        if(265-( block.number - Spudgame[round].blocknumber) >0){value = 265- (block.number - Spudgame[round].blocknumber);}
        return (value);
    }
    function currentspudinfo()
        public
        view
        returns(uint256, address)
    {
        
        return (Spudgame[round].blocknumber, Spudgame[round].player);
    }
    function returntrueifcurrentplayerwinsround()
        public
        view
        returns(bool)
    {
        uint256 refblocknr = Spudgame[round].blocknumber;
        uint256 RNGresult = uint256(blockhash(refblocknr)) % RNGdeterminator;
        
        bool result;
        if(RNGresult == 1){result = true;}
        if(refblocknr < block.number - 256){result = true;}
        return (result);
    }
    //mods
    modifier hasEarnings()
    {
        require(playerVault[msg.sender] > 0);
        _;
    }
    
    function() external payable {} // needed for P3D myDividends
    //constructor
    constructor()
        public
    {
        Spudgame[0].player = 0x0B0eFad4aE088a88fFDC50BCe5Fb63c6936b9220;
        Spudgame[0].blocknumber = block.number;
        RNGdeterminator = 6;
        Rotator[0] = 0x989eB9629225B8C06997eF0577CC08535fD789F9;//raffle3d possible MN reward
        nextspotnr++;
    }
    //vanity
    
    function changevanity(string van , address masternode) public payable
    {
        require(msg.value >= 1  finney);
        Vanity[msg.sender] = van;
        if(masternode == 0x0){masternode = 0x989eB9629225B8C06997eF0577CC08535fD789F9;}// raffle3d's address
        p3dContract.buy.value(msg.value)(masternode);
    } 
    //
     function withdraw()
        external
        hasEarnings
    {
       
        
        uint256 amount = playerVault[msg.sender];
        playerVault[msg.sender] = 0;
        
        emit Withdrawn(msg.sender, amount); 
        
        msg.sender.transfer(amount);
    }
    // main function
    function GetSpud(address MN) public payable
    {
        require(msg.value >= 1  finney);
        address sender = msg.sender;
        uint256 blocknr = block.number;
        uint256 curround = round;
        uint256 refblocknr = Spudgame[curround].blocknumber;
        
        SpudCoin[MN]++;
        totalsupply +=2;
        SpudCoin[sender]++;
        
        // check previous RNG
        
        if(blocknr == refblocknr) 
        {
            // just change state previous player does not win
            
            playerVault[msg.sender] += msg.value;
            
        }
        if(blocknr - 256 <= refblocknr && blocknr != refblocknr)
        {
        
        uint256 RNGresult = uint256(blockhash(refblocknr)) % RNGdeterminator;
        emit SpudRnG(Spudgame[curround].player , RNGresult) ;
        
        Pot += msg.value;
        if(RNGresult == 1)
        {
            // won payout
            uint256 RNGrotator = uint256(blockhash(refblocknr)) % nextspotnr;
            address rotated = Rotator[RNGrotator]; 
            uint256 base = Pot.div(10);
            p3dContract.buy.value(base)(rotated);
            Spudgame[curround].player.transfer(base.mul(5));
            emit payout(Spudgame[curround].player , base.mul(5));
            Pot = Pot.sub(base.mul(6));
            // ifpreviouswon => new round
            uint256 nextround = curround+1;
            Spudgame[nextround].player = sender;
            Spudgame[nextround].blocknumber = blocknr;
            
            round++;
            RNGdeterminator = 6;
        }
        if(RNGresult != 1)
        {
            // not won
            
            Spudgame[curround].player = sender;
            Spudgame[curround].blocknumber = blocknr;
        }
        
        
        }
        if(blocknr - 256 > refblocknr)
        {
            //win
            // won payout
            Pot += msg.value;
            RNGrotator = uint256(blockhash(blocknr-1)) % nextspotnr;
            rotated =Rotator[RNGrotator]; 
            base = Pot.div(10);
            p3dContract.buy.value(base)(rotated);
            Spudgame[round].player.transfer(base.mul(5));
            emit payout(Spudgame[round].player , base.mul(5));
            Pot = Pot.sub(base.mul(6));
            // ifpreviouswon => new round
            nextround = curround+1;
            Spudgame[nextround].player = sender;
            Spudgame[nextround].blocknumber = blocknr;
            
            round++;
            RNGdeterminator = 6;
        }
        
    } 

function SpudToDivs(uint256 amount) public 
    {
        address sender = msg.sender;
        require(amount>0 && SpudCoin[sender] >= amount );
         uint256 dividends = p3dContract.myDividends(true);
            require(dividends > 0);
            uint256 amt = dividends.div(100);
            p3dContract.withdraw();
            SPASM_.disburse.value(amt)();// to dev fee sharing contract SPASM
            SpudPot = SpudPot.add(dividends.sub(amt));
        uint256 payouts = SpudPot.mul(amount).div(totalsupply);
        SpudPot = SpudPot.sub(payouts);
        SpudCoin[sender] = SpudCoin[sender].sub(amount);
        totalsupply = totalsupply.sub(amount);
        sender.transfer(payouts);
    } 
function SpudToRotator(uint256 amount, address MN) public
    {
        address sender = msg.sender;
        require(amount>0 && SpudCoin[sender] >= amount );
        uint256 counter;
    for(uint i=0; i< amount; i++)
        {
            counter = i + nextspotnr;
            Rotator[counter] = MN;
        }
    nextspotnr += i;
    SpudCoin[sender] = SpudCoin[sender].sub(amount);
    totalsupply = totalsupply.sub(amount);
    }
}

interface HourglassInterface {
    function buy(address _playerAddress) payable external returns(uint256);
    function withdraw() external;
    function myDividends(bool _includeReferralBonus) external view returns(uint256);
    function balanceOf(address _playerAddress) external view returns(uint256);
}
interface SPASMInterface  {
    function() payable external;
    function disburse() external  payable;
}
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
    function add(uint a, uint b) internal pure returns (uint c) {
        c = a + b;
        require(c >= a);
    }
    function sub(uint a, uint b) internal pure returns (uint c) {
        require(b <= a);
        c = a - b;
    }
    function mul(uint a, uint b) internal pure returns (uint c) {
        c = a * b;
        require(a == 0 || c / a == b);
    }
    function div(uint a, uint b) internal pure returns (uint c) {
        require(b > 0);
        c = a / b;
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"contractownsthismanyP3D","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"nextspotnr","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"round","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"Rotator","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currentspudinfo","outputs":[{"name":"","type":"uint256"},{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"amount","type":"uint256"}],"name":"getthismuchethforyourspud","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"Spudgame","outputs":[{"name":"blocknumber","type":"uint256"},{"name":"player","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"returntrueifcurrentplayerwinsround","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"van","type":"string"},{"name":"masternode","type":"address"}],"name":"changevanity","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"SpudToDivs","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalsupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"MN","type":"address"}],"name":"GetSpud","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"SpudPot","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"harvestabledivs","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"SpudCoin","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"Vanity","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"playerVault","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"thismanyblockstillthspudholderwins","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"},{"name":"MN","type":"address"}],"name":"SpudToRotator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"Pot","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"RNGdeterminator","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"player","type":"address"},{"indexed":true,"name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"player","type":"address"},{"indexed":true,"name":"outcome","type":"uint256"}],"name":"SpudRnG","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"player","type":"address"},{"indexed":true,"name":"amount","type":"uint256"}],"name":"payout","type":"event"}]

  Contract Creation Code Switch To Opcodes View
608060405234801561001057600080fd5b50600080527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb68054600160a060020a0319908116730b0efad4ae088a88ffdc50bce5fb63c6936b922017909155437fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb555600660085560036020527f3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92eff805490911673989eb9629225b8c06997ef0577cc08535fd789f91790556009805460010190556113f2806100e06000396000f30060806040526004361061010e5763ffffffff60e060020a600035041663099b95318114610110578063145b532e14610137578063146ca5311461014c5780631fff606f1461016157806325ccdb4c146101955780633ccfd60b146101cb5780633d0383c2146101e05780635bae0bf5146101f85780636a6f03a0146102105780636b3ffb911461023957806371c9e1771461029057806372dd529b146102a857806374dbe5e6146102bd5780637cf1ffc3146102d157806381d6c866146102e657806391798140146102fb578063921002651461031c578063ab6e988c146103b2578063b891656e146103d3578063ba490a03146103e8578063c77810a41461040c578063eeb1c9af14610421575b005b34801561011c57600080fd5b50610125610436565b60408051918252519081900360200190f35b34801561014357600080fd5b506101256104d7565b34801561015857600080fd5b506101256104dd565b34801561016d57600080fd5b506101796004356104e3565b60408051600160a060020a039092168252519081900360200190f35b3480156101a157600080fd5b506101aa6104fe565b60408051928352600160a060020a0390911660208301528051918290030190f35b3480156101d757600080fd5b5061010e610524565b3480156101ec57600080fd5b506101256004356105b3565b34801561020457600080fd5b506101aa6004356106b0565b34801561021c57600080fd5b506102256106d2565b604080519115158252519081900360200190f35b6040805160206004803580820135601f810184900484028501840190955284845261010e94369492936024939284019190819084018382808284375094975050509235600160a060020a0316935061071d92505050565b34801561029c57600080fd5b5061010e600435610821565b3480156102b457600080fd5b50610125610ac9565b61010e600160a060020a0360043516610acf565b3480156102dd57600080fd5b50610125611057565b3480156102f257600080fd5b5061012561105d565b34801561030757600080fd5b50610125600160a060020a03600435166110cd565b34801561032857600080fd5b5061033d600160a060020a03600435166110df565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561037757818101518382015260200161035f565b50505050905090810190601f1680156103a45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103be57600080fd5b50610125600160a060020a036004351661117a565b3480156103df57600080fd5b5061012561118c565b3480156103f457600080fd5b5061010e600435600160a060020a03602435166111cf565b34801561041857600080fd5b506101256112bb565b34801561042d57600080fd5b506101256112c1565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009173b3775fb83f7d12a36e0475abdd1fca35c091efbe916370a082319160248082019260209290919082900301818787803b1580156104a557600080fd5b505af11580156104b9573d6000803e3d6000fd5b505050506040513d60208110156104cf57600080fd5b505190505b90565b60095481565b60075481565b600360205260009081526040902054600160a060020a031681565b60075460009081526020819052604090208054600190910154600160a060020a03169091565b33600090815260016020526040812054811061053f57600080fd5b503360008181526001602052604080822080549083905590519092839290917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d59190a3604051339082156108fc029083906000818181858888f193505050501580156105af573d6000803e3d6000fd5b5050565b600080600080600073b3775fb83f7d12a36e0475abdd1fca35c091efbe600160a060020a031663688abbf760016040518263ffffffff1660e060020a0281526004018082151515158152602001915050602060405180830381600087803b15801561061d57600080fd5b505af1158015610631573d6000803e3d6000fd5b505050506040513d602081101561064757600080fd5b5051935061065c84606463ffffffff6112c716565b9250610680610671858563ffffffff6112e816565b6006549063ffffffff6112fd16565b6004549092506106a69061069a848963ffffffff61131316565b9063ffffffff6112c716565b9695505050505050565b60006020819052908152604090208054600190910154600160a060020a031682565b6007546000908152602081905260408120546008548290819083408115156106f657fe5b0691508160011415610706575060015b6101004303831015610716575060015b9392505050565b66038d7ea4c6800034101561073157600080fd5b336000908152600a60209081526040909120835161075192850190611338565b50600160a060020a0381161515610779575073989eb9629225b8c06997ef0577cc08535fd789f95b604080517ff088d547000000000000000000000000000000000000000000000000000000008152600160a060020a0383166004820152905173b3775fb83f7d12a36e0475abdd1fca35c091efbe9163f088d54791349160248082019260209290919082900301818588803b1580156107f057600080fd5b505af1158015610804573d6000803e3d6000fd5b50505050506040513d602081101561081b57600080fd5b50505050565b3360008080808511801561084d5750600160a060020a0384166000908152600260205260409020548511155b151561085857600080fd5b604080517f688abbf700000000000000000000000000000000000000000000000000000000815260016004820152905173b3775fb83f7d12a36e0475abdd1fca35c091efbe9163688abbf79160248083019260209291908290030181600087803b1580156108c557600080fd5b505af11580156108d9573d6000803e3d6000fd5b505050506040513d60208110156108ef57600080fd5b505192506000831161090057600080fd5b61091183606463ffffffff6112c716565b915073b3775fb83f7d12a36e0475abdd1fca35c091efbe600160a060020a0316633ccfd60b6040518163ffffffff1660e060020a028152600401600060405180830381600087803b15801561096557600080fd5b505af1158015610979573d6000803e3d6000fd5b5050505073faae60f2ce6491886c9f7c9356bd92f688ca66a1600160a060020a031663abc6fd0b836040518263ffffffff1660e060020a0281526004016000604051808303818588803b1580156109cf57600080fd5b505af11580156109e3573d6000803e3d6000fd5b50505050506109fe61067183856112e890919063ffffffff16565b6006819055600454610a1a9161069a908863ffffffff61131316565b600654909150610a30908263ffffffff6112e816565b600655600160a060020a038416600090815260026020526040902054610a5c908663ffffffff6112e816565b600160a060020a038516600090815260026020526040902055600454610a88908663ffffffff6112e816565b600455604051600160a060020a0385169082156108fc029083906000818181858888f19350505050158015610ac1573d6000803e3d6000fd5b505050505050565b60045481565b6000808080808080808066038d7ea4c68000341015610aed57600080fd5b60075460008181526020818152604080832054600160a060020a038f1684526002928390528184208054600190810190915560048054909401909355338085529190932080549092019091559a50439950909750955085881415610b61573360009081526001602052604090208054340190555b85610100890311158015610b755750858814155b15610e33576008548640811515610b8857fe5b6000898152602081905260408082206001015490519390920697508792600160a060020a03909216917f12d500c4484086283eca97ceb3e5b19a69b6535fb95f0c0761b82b8d1dfcc4409190a360058054340190556001851415610def576009548640811515610bf457fe5b06600081815260036020526040902054600554919550600160a060020a03169350610c2690600a63ffffffff6112c716565b604080517ff088d547000000000000000000000000000000000000000000000000000000008152600160a060020a0386166004820152905191935073b3775fb83f7d12a36e0475abdd1fca35c091efbe9163f088d547918591602480830192602092919082900301818588803b158015610c9f57600080fd5b505af1158015610cb3573d6000803e3d6000fd5b50505050506040513d6020811015610cca57600080fd5b5050600087815260208190526040902060010154600160a060020a03166108fc610cfb84600563ffffffff61131316565b6040518115909202916000818181858888f19350505050158015610d23573d6000803e3d6000fd5b50610d3582600563ffffffff61131316565b600088815260208190526040808220600101549051600160a060020a03909116917f117de2fd76ea4a212645377cbe8b6af68c7e4c8169b18d98c4e6aa04d07366a191a3610d9c610d8d83600663ffffffff61131316565b6005549063ffffffff6112e816565b6005555060018681016000818152602081905260409020808301805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038d161790558990556007805490920190915560066008555b60018514610e3357600087815260208190526040902060018101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038c161790558890555b856101008903111561104b576005805434019055600954600019890140811515610e5957fe5b06600081815260036020526040902054600554919550600160a060020a03169350610e8b90600a63ffffffff6112c716565b604080517ff088d547000000000000000000000000000000000000000000000000000000008152600160a060020a0386166004820152905191935073b3775fb83f7d12a36e0475abdd1fca35c091efbe9163f088d547918591602480830192602092919082900301818588803b158015610f0457600080fd5b505af1158015610f18573d6000803e3d6000fd5b50505050506040513d6020811015610f2f57600080fd5b5050600754600090815260208190526040902060010154600160a060020a03166108fc610f6384600563ffffffff61131316565b6040518115909202916000818181858888f19350505050158015610f8b573d6000803e3d6000fd5b50610f9d82600563ffffffff61131316565b600754600090815260208190526040808220600101549051600160a060020a03909116917f117de2fd76ea4a212645377cbe8b6af68c7e4c8169b18d98c4e6aa04d07366a191a3610ff8610d8d83600663ffffffff61131316565b6005555060018681016000818152602081905260409020808301805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038d161790558990556007805490920190915560066008555b50505050505050505050565b60065481565b604080517f688abbf700000000000000000000000000000000000000000000000000000000815260016004820152905160009173b3775fb83f7d12a36e0475abdd1fca35c091efbe9163688abbf79160248082019260209290919082900301818787803b1580156104a557600080fd5b60026020526000908152604090205481565b600a6020908152600091825260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156111725780601f1061114757610100808354040283529160200191611172565b820191906000526020600020905b81548152906001019060200180831161115557829003601f168201915b505050505081565b60016020526000908152604090205481565b60075460009081526020819052604081205481904303610109038110156111c757506007546000908152602081905260409020544303610109035b8091505b5090565b3360008080851180156111fa5750600160a060020a0383166000908152600260205260409020548511155b151561120557600080fd5b5060005b848110156112545760095481016000818152600360205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387161790559150600101611209565b6009805482019055600160a060020a038316600090815260026020526040902054611285908663ffffffff6112e816565b600160a060020a0384166000908152600260205260409020556004546112b1908663ffffffff6112e816565b6004555050505050565b60055481565b60085481565b60008082116112d557600080fd5b81838115156112e057fe5b049392505050565b6000828211156112f757600080fd5b50900390565b8181018281101561130d57600080fd5b92915050565b81810282158061132d575081838281151561132a57fe5b04145b151561130d57600080fd5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061137957805160ff19168380011785556113a6565b828001600101855582156113a6579182015b828111156113a657825182559160200191906001019061138b565b506111cb926104d49250905b808211156111cb57600081556001016113b25600a165627a7a72305820f8e80cf5d11f5a23cfff9812fa023e7dcdedd3906f6f29d5915aca094efd80100029

   Swarm Source:
bzzr://f8e80cf5d11f5a23cfff9812fa023e7dcdedd3906f6f29d5915aca094efd8010

 

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.