Contract 0x9492e713775d54e9CC1C89a9703C470af41EBAb8 1

 

Contract Overview

Balance:
0.‍000504550383722589 Ether

EtherValue:
$0.94 (@ $1,868.05/ETH)

Token:
 
Txn Hash
Method
Block
From
To
Value
0xccc45211af0189099f7f71395e2b0c71ae083eb19db643b78a2c6a7168062143Payout53851202018-04-05 12:49:271596 days 9 hrs ago0x07d37ef9704ab8c0f3d9ef2681d235b658ad21e0 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80 Ether0.‍000021891
0x1dbd8c0f0cc0aa77d6e64d5578d51c260154dc4f0d84e30950d7a3f2a42ab219Payout53048122018-03-23 3:11:281609 days 19 hrs ago0x4f0d861281161f39c62b790995fb1e7a0b81b07b IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80 Ether0.‍000043792
0x6b7d132796d20d9c3224f16339c2666071c93f1a70853a41772b683d9d97b4a2Payout53047672018-03-23 3:00:491609 days 19 hrs ago0x4f0d861281161f39c62b790995fb1e7a0b81b07b IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80 Ether0.‍00010571
0x824650094a5a569108b1f414d9422b6c4ef6e4704d361fd213a02521391c741dBuy53042472018-03-23 0:51:351609 days 21 hrs ago0x4f0d861281161f39c62b790995fb1e7a0b81b07b IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍001 Ether0.‍000124082
0xbca04183c63dbff9686c9f8d51ae8b0c747170c5f45cd61b0f2c8c5c1c062890Payout53042072018-03-23 0:42:491609 days 21 hrs agoENS Name 5533.ismymooncat.eth IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80 Ether0.‍00045142
0x2d7a40dcc3e36bac8b418a2789047521ef14f78abb61656b7c54e2949977145dBuy53034062018-03-22 21:31:151610 days 55 mins ago0xde01a8e2f3b5f24c4c907acab50b5bad5363be07 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍016 Ether0.‍000081271
0xfba0acc727d7b3746ed8de8fe6d1629cab99d10e87a0fe8634b05a213c1d63f0Buy53034052018-03-22 21:31:101610 days 55 mins ago0xde01a8e2f3b5f24c4c907acab50b5bad5363be07 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍016 Ether0.‍00008121
0x8a59a06c5b5c76972487c3e7e2ba0d421515a65d5313a698883c682eb33bf2feBuy53033952018-03-22 21:29:421610 days 56 mins ago0x86b0b5bb83d18ffdae6b6e377971fadf4f9ae6c0 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍004 Ether0.‍000070553
0xc1d9ff0c332f5915a1a7bcc8284e67fa7c03a3ffb2237cd535b799ab795b4f4cBuy53033952018-03-22 21:29:421610 days 56 mins ago0x86b0b5bb83d18ffdae6b6e377971fadf4f9ae6c0 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍004 Ether0.‍000070553
0x77398fc27640f812f3e74e050e79b6be7b96879468bda2c9fad191494f84d780Buy53033952018-03-22 21:29:421610 days 56 mins ago0x86b0b5bb83d18ffdae6b6e377971fadf4f9ae6c0 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍008 Ether0.‍00022113
0x0ccfe0d3a17bc646bce2d708d5e1f17486a9155232e8c2271a49b1ab60a1950eBuy53033952018-03-22 21:29:421610 days 56 mins ago0x86b0b5bb83d18ffdae6b6e377971fadf4f9ae6c0 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍004 Ether0.‍000070553
0xe32081f2924d205780d5ca245f132929a3a7e7b5631e3d8f262b4735aa02a722Buy53033952018-03-22 21:29:421610 days 56 mins ago0x86b0b5bb83d18ffdae6b6e377971fadf4f9ae6c0 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍008 Ether0.‍000243813
0x8b1f521e075c608002cd54e9b8c292480055d2a19913519e726a1faff5b8a60fBuy53033952018-03-22 21:29:421610 days 56 mins ago0x08f4ae96b647b30177cc15b21195960625ba4163 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍004 Ether0.‍00022113
0x2935025c35beb3d2dc3647912a120bd737da262e65053156cc7c9a8c3290ac5eBuy53033952018-03-22 21:29:421610 days 56 mins ago0x86b0b5bb83d18ffdae6b6e377971fadf4f9ae6c0 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍008 Ether0.‍00022113
0x86b858bd55fce958270beec26fa254cd7bc71860977967a5465344b4ed8af0a7Buy53033932018-03-22 21:29:091610 days 57 mins ago0x86b0b5bb83d18ffdae6b6e377971fadf4f9ae6c0 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍008 Ether0.‍000243813
0x75981451adc86baaa5e61239c653fc5503b0ab08d6f95316ea6dbfef98582225Buy53033932018-03-22 21:29:091610 days 57 mins ago0x1eb695d7575eda1f2c8a0aa6edf871b5fc73ea6d IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍004 Ether0.‍0007370210
0x698402c4c6ed15e6a51e51e6993b42d5a7b33cb5fd831377a667e2c7f9d39bacBuy53033892018-03-22 21:28:201610 days 58 mins ago0x8537aa2911b193e5b377938a723d805bb0865670 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍002 Ether0.‍000049382.‍1
0x8b5a73f1b99ca53054bb9892bcdbf5bbb865c2d07b4a7722ff4be83460085c41Buy53033892018-03-22 21:28:201610 days 58 mins ago0x08f4ae96b647b30177cc15b21195960625ba4163 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍002 Ether0.‍000070553
0xbdeb0c117bc16e290a94d0a968432a56330dd6a0b8791152629b57abc4d973eaBuy53033892018-03-22 21:28:201610 days 58 mins ago0x08f4ae96b647b30177cc15b21195960625ba4163 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍002 Ether0.‍000070553
0xcedfc5e2ff29dc37e5b4f1696ffe6a9ef9d0d98a44d51bb82fa4c7e0ed513219Buy53033882018-03-22 21:28:111610 days 58 mins ago0x86b0b5bb83d18ffdae6b6e377971fadf4f9ae6c0 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍008 Ether0.‍000243813
0x7628e8f48f4bea4d7034fe4ec956d8a005ecd8765b54f8356bd9aea71c44a6adBuy53033882018-03-22 21:28:111610 days 58 mins ago0x86b0b5bb83d18ffdae6b6e377971fadf4f9ae6c0 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍008 Ether0.‍000243623
0x011c255501437fa0416e40a550cc20b6b0936b608c214e20f930b953771f3f05Buy53033882018-03-22 21:28:111610 days 58 mins ago0x183febd8828a9ac6c70c0e27fbf441b93004fc05 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍004 Ether0.‍000325094
0x893c4d94c2645642d081b5322f3f920d80f8a08319bef6e0d04a621ba7fd6403Buy53033882018-03-22 21:28:111610 days 58 mins ago0x183febd8828a9ac6c70c0e27fbf441b93004fc05 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍004 Ether0.‍00029484
0xd40ceb145e5f3fa590bacffb0834175239c3000b0f3c9b27570596186629f4a3Buy53033882018-03-22 21:28:111610 days 58 mins ago0x183febd8828a9ac6c70c0e27fbf441b93004fc05 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍004 Ether0.‍00029484
0x143a2dda812cb5aab96ccae989da5dc0133d43a8f6ee109478841465aa3a6111Buy53033872018-03-22 21:27:261610 days 59 mins ago0x08f4ae96b647b30177cc15b21195960625ba4163 IN  0x9492e713775d54e9cc1c89a9703c470af41ebab80.‍002 Ether0.‍00029484
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x6b7d132796d20d9c3224f16339c2666071c93f1a70853a41772b683d9d97b4a253047672018-03-23 3:00:491609 days 19 hrs ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x4f0d861281161f39c62b790995fb1e7a0b81b07b0.‍00454095 Ether
0x824650094a5a569108b1f414d9422b6c4ef6e4704d361fd213a02521391c741d53042472018-03-23 0:51:351609 days 21 hrs ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x30b3e09d9a81d6b265a573edc7cc4c4fbc0b05860.‍000007 Ether
0x824650094a5a569108b1f414d9422b6c4ef6e4704d361fd213a02521391c741d53042472018-03-23 0:51:351609 days 21 hrs ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x690f34053ddc11bdff95d44bdfeb6b0b83cbab580.‍000028 Ether
0xbca04183c63dbff9686c9f8d51ae8b0c747170c5f45cd61b0f2c8c5c1c06289053042072018-03-23 0:42:491609 days 21 hrs ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80xde01a8e2f3b5f24c4c907acab50b5bad5363be070.‍03672453 Ether
0x2d7a40dcc3e36bac8b418a2789047521ef14f78abb61656b7c54e2949977145d53034062018-03-22 21:31:151610 days 55 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x86b0b5bb83d18ffdae6b6e377971fadf4f9ae6c00.‍005018 Ether
0x2d7a40dcc3e36bac8b418a2789047521ef14f78abb61656b7c54e2949977145d53034062018-03-22 21:31:151610 days 55 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x30b3e09d9a81d6b265a573edc7cc4c4fbc0b05860.‍000056 Ether
0x2d7a40dcc3e36bac8b418a2789047521ef14f78abb61656b7c54e2949977145d53034062018-03-22 21:31:151610 days 55 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x690f34053ddc11bdff95d44bdfeb6b0b83cbab580.‍000224 Ether
0x2d7a40dcc3e36bac8b418a2789047521ef14f78abb61656b7c54e2949977145d53034062018-03-22 21:31:151610 days 55 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80xde01a8e2f3b5f24c4c907acab50b5bad5363be070.‍008 Ether
0xfba0acc727d7b3746ed8de8fe6d1629cab99d10e87a0fe8634b05a213c1d63f053034052018-03-22 21:31:101610 days 55 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x86b0b5bb83d18ffdae6b6e377971fadf4f9ae6c00.‍005018 Ether
0xfba0acc727d7b3746ed8de8fe6d1629cab99d10e87a0fe8634b05a213c1d63f053034052018-03-22 21:31:101610 days 55 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x30b3e09d9a81d6b265a573edc7cc4c4fbc0b05860.‍000056 Ether
0xfba0acc727d7b3746ed8de8fe6d1629cab99d10e87a0fe8634b05a213c1d63f053034052018-03-22 21:31:101610 days 55 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x690f34053ddc11bdff95d44bdfeb6b0b83cbab580.‍000224 Ether
0xfba0acc727d7b3746ed8de8fe6d1629cab99d10e87a0fe8634b05a213c1d63f053034052018-03-22 21:31:101610 days 55 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80xde01a8e2f3b5f24c4c907acab50b5bad5363be070.‍008 Ether
0x77398fc27640f812f3e74e050e79b6be7b96879468bda2c9fad191494f84d78053033952018-03-22 21:29:421610 days 56 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x183febd8828a9ac6c70c0e27fbf441b93004fc050.‍005018 Ether
0x77398fc27640f812f3e74e050e79b6be7b96879468bda2c9fad191494f84d78053033952018-03-22 21:29:421610 days 56 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x30b3e09d9a81d6b265a573edc7cc4c4fbc0b05860.‍000056 Ether
0x77398fc27640f812f3e74e050e79b6be7b96879468bda2c9fad191494f84d78053033952018-03-22 21:29:421610 days 56 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x690f34053ddc11bdff95d44bdfeb6b0b83cbab580.‍000224 Ether
0xe32081f2924d205780d5ca245f132929a3a7e7b5631e3d8f262b4735aa02a72253033952018-03-22 21:29:421610 days 56 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x183febd8828a9ac6c70c0e27fbf441b93004fc050.‍002509 Ether
0xe32081f2924d205780d5ca245f132929a3a7e7b5631e3d8f262b4735aa02a72253033952018-03-22 21:29:421610 days 56 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x30b3e09d9a81d6b265a573edc7cc4c4fbc0b05860.‍000028 Ether
0xe32081f2924d205780d5ca245f132929a3a7e7b5631e3d8f262b4735aa02a72253033952018-03-22 21:29:421610 days 56 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x690f34053ddc11bdff95d44bdfeb6b0b83cbab580.‍000112 Ether
0xe32081f2924d205780d5ca245f132929a3a7e7b5631e3d8f262b4735aa02a72253033952018-03-22 21:29:421610 days 56 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x86b0b5bb83d18ffdae6b6e377971fadf4f9ae6c00.‍004 Ether
0x8b1f521e075c608002cd54e9b8c292480055d2a19913519e726a1faff5b8a60f53033952018-03-22 21:29:421610 days 56 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x183febd8828a9ac6c70c0e27fbf441b93004fc050.‍002509 Ether
0x8b1f521e075c608002cd54e9b8c292480055d2a19913519e726a1faff5b8a60f53033952018-03-22 21:29:421610 days 56 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x30b3e09d9a81d6b265a573edc7cc4c4fbc0b05860.‍000028 Ether
0x8b1f521e075c608002cd54e9b8c292480055d2a19913519e726a1faff5b8a60f53033952018-03-22 21:29:421610 days 56 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x690f34053ddc11bdff95d44bdfeb6b0b83cbab580.‍000112 Ether
0x2935025c35beb3d2dc3647912a120bd737da262e65053156cc7c9a8c3290ac5e53033952018-03-22 21:29:421610 days 56 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x1eb695d7575eda1f2c8a0aa6edf871b5fc73ea6d0.‍005018 Ether
0x2935025c35beb3d2dc3647912a120bd737da262e65053156cc7c9a8c3290ac5e53033952018-03-22 21:29:421610 days 56 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x30b3e09d9a81d6b265a573edc7cc4c4fbc0b05860.‍000056 Ether
0x2935025c35beb3d2dc3647912a120bd737da262e65053156cc7c9a8c3290ac5e53033952018-03-22 21:29:421610 days 56 mins ago 0x9492e713775d54e9cc1c89a9703c470af41ebab80x690f34053ddc11bdff95d44bdfeb6b0b83cbab580.‍000224 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LasVegas

Compiler Version
v0.4.21+commit.dfe3193c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-03-17
*/

pragma solidity ^0.4.21;

// Simple formulas;
// Need MORE than this prevPayment to make previous owners get profit;

// Note: Increase of 100% in contract is the number 2 here (doubles price)

// PreviousFee = 1 / (Increase(1-devFee));
// Profit calculation if someone buys item;
// Profit = Increase(1-devFee)*previousOwner - 1; (in %)

// RULES 
// First item all money goes into pot. 
// First item: No previous fee.  
// After buy item: Timer reset, price increase, winner changes to new buyer,
// part of amount goes to previous owner 
// After timer is gone: 
// Payout pot to winner, there will stay a small amount in pot 
// Timer will reset, but now increase with TimerResetTime, 
// This means next round will start with timer a bit longer than normal
// This is a cooldown period.
// After buy, timer will increase to start time. 
// Timer cannot decrease 

// HOW TO MAKE PROFIT 
// Biggest way to make profit is usually to win game 
// Losers: bag holders of items @ win 
// Winners: everyone who sells bag or wins game 
// There are some exception to win game, if you buy 
// an expensive item while cheaper ones are around then
// you might still lose 
// Buy cheapest items (sounds logical)

// HOW TO CHECK IF YOU MAKE PROFIT 
// If the current pot win is HIGHER than item you want to buy 
// You will make profit if you win pot 
// You will ALWAYS make profit if someone buys your item 
// If the game is won and no one has bought your item, you have LOST



contract LasVegas{
    address owner;
    address helper=0x30B3E09d9A81D6B265A573edC7Cc4C4fBc0B0586;

    uint256 public TimeFinish = 0;
    uint256 TimerResetTime = 7200; // 2 hours cooldown @ new game 
    uint256 TimerStartTime = 3600; 
    uint256 public Pot = 0;
    // Price increase in percent divided (10k = 100% = 2x increase.)
    uint16 PIncr = 10000; // % 100%
    // part of left amount going to previous
    uint16 DIVP = 6500; // 
    // part of left amount going to pot 
    uint16 POTP = 3500; // DIVP and POTP are both 100; scaled to dev factor.
    // part of pot going to winner 
    uint16 WPOTPART = 9000; // % in pot part going to owner.
    
    // Dev fee 
    uint16 public DEVP = 350;
    // Helper factor fee 
    uint16 public HVAL = 2000;
    uint256 BasicPrice = 1 finney;
    struct Item{
        address owner;
        uint256 CPrice;
        bool reset;
    }
    uint8 constant SIZE = 9;
    Item[SIZE] public ItemList;
    
    address public PotOwner;
    
    
    event ItemBought(address owner, uint256 newPrice, uint256 newPot, uint256 Timer, string says, uint8 id);
    // owner wins paid , new pot is npot
    event GameWon(address owner, uint256 paid, uint256 npot);
    
    modifier OnlyOwner(){
        if (msg.sender == owner){
            _;
        }
        else{
            revert();
        }
    }
    
    function SetDevFee(uint16 tfee) public OnlyOwner{
        require(tfee <= 500);
        DEVP = tfee;
    }
    
    // allows to change helper fee. minimum is 10%, max 100%. 
    function SetHFee(uint16 hfee) public OnlyOwner {
        require(hfee <= 10000);
        require(hfee >= 1000);
        HVAL = hfee;
    
    }
    
    
    // constructor 
    function LasVegas() public {
        // create items ;
        
        // clone ??? 
        var ITM = Item(msg.sender, BasicPrice, true );
        ItemList[0] = ITM; // blackjack 
        ItemList[1] = ITM; // roulette 
        ItemList[2] = ITM; // poker 
        ItemList[3] = ITM; // slots 
        ItemList[4] = ITM; // 
        ItemList[5] = ITM; // other weird items 
        ItemList[6] = ITM;
        ItemList[7] = ITM;
        ItemList[8] = ITM;
        owner=msg.sender;
    }
    
    function Payout() public {
        require(TimeFinish < block.timestamp);
        require(TimeFinish > 1);
        uint256 pay = (Pot * WPOTPART)/10000;
        Pot = Pot - pay;
        PotOwner.transfer(pay);
        TimeFinish = 1; // extra setting time never 1 due miners. reset count
        // too much gas
        for (uint8 i = 0; i <SIZE; i++ ){
           ItemList[i].reset= true;
        }
        emit GameWon(PotOwner, pay, Pot);
    }
    
    function Buy(uint8 ID, string says) public payable {
        require(ID < SIZE);
        var ITM = ItemList[ID];
        if (TimeFinish == 0){
            // start game condition.
            TimeFinish = block.timestamp; 
        }
        else if (TimeFinish == 1){
            TimeFinish =block.timestamp + TimerResetTime;
        }
            
        uint256 price = ITM.CPrice;
        
        if (ITM.reset){
            price = BasicPrice;
            
        }
        
        if (TimeFinish < block.timestamp){
            // game done 
           Payout();
           msg.sender.transfer(msg.value);
        }
        else if (msg.value >= price){
            if (!ITM.reset){
                require(msg.sender != ITM.owner); // do not buy own item
            }
            if ((msg.value - price) > 0){
                // pay excess back. 
                msg.sender.transfer(msg.value - price);
            }
            uint256 LEFT = DoDev(price);
            uint256 prev_val = 0;
            // first item all LEFT goes to POT 
            // not previous owner small fee .
            uint256 pot_val = LEFT;
            if (!ITM.reset){
                prev_val = (DIVP * LEFT)  / 10000;
                pot_val = (POTP * LEFT) / 10000;
            }
            
            Pot = Pot + pot_val;
            ITM.owner.transfer(prev_val);
            ITM.owner = msg.sender;
            uint256 incr = PIncr; // weird way of passing other types to new types.
            ITM.CPrice = (price * (10000 + incr)) / 10000;

            // check if TimeFinish > block.timestamp; and not 0 otherwise not started
            uint256 TimeLeft = TimeFinish - block.timestamp;
            
            if (TimeLeft< TimerStartTime){
                
                TimeFinish = block.timestamp + TimerStartTime;
            }
            if (ITM.reset){
                ITM.reset=false;
            }
            PotOwner = msg.sender;
            // says is for later, for quotes in log. no gas used to save
            emit ItemBought(msg.sender, ITM.CPrice, Pot, TimeFinish, says, ID);
        }  
        else{
            revert(); // user knows fail.
        }
    }
    
    
    function DoDev(uint256 val) internal returns (uint256){
        uint256 tval = (val * DEVP / 10000);
        uint256 hval = (tval * HVAL) / 10000;
        uint256 dval = tval - hval; 
        
        owner.transfer(dval);
        helper.transfer(hval);
        return (val-tval);
    }
    
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"hfee","type":"uint16"}],"name":"SetHFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"HVAL","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"Payout","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"TimeFinish","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PotOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DEVP","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"ItemList","outputs":[{"name":"owner","type":"address"},{"name":"CPrice","type":"uint256"},{"name":"reset","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"Pot","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tfee","type":"uint16"}],"name":"SetDevFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"ID","type":"uint8"},{"name":"says","type":"string"}],"name":"Buy","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"owner","type":"address"},{"indexed":false,"name":"newPrice","type":"uint256"},{"indexed":false,"name":"newPot","type":"uint256"},{"indexed":false,"name":"Timer","type":"uint256"},{"indexed":false,"name":"says","type":"string"},{"indexed":false,"name":"id","type":"uint8"}],"name":"ItemBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"owner","type":"address"},{"indexed":false,"name":"paid","type":"uint256"},{"indexed":false,"name":"npot","type":"uint256"}],"name":"GameWon","type":"event"}]

6060604052600180547330b3e09d9a81d6b265a573edc7cc4c4fbc0b0586600160a060020a031990911617905560006002819055611c20600355610e106004556005556006805461271061ffff199091161763ffff0000191663196400001765ffff000000001916650dac000000001767ffff000000000000191667232800000000000017604060020a61ffff02191669015e000000000000000017605060020a61ffff0219166b07d00000000000000000000017905566038d7ea4c6800060075534156100cc57600080fd5b6100d461038b565b6060604051908101604090815233600160a060020a031682526007546020830152600190820152905080600881518154600160a060020a031916600160a060020a0391909116178155602082015181600101556040820151600291909101805460ff19169115159190911790555080600b81518154600160a060020a031916600160a060020a0391909116178155602082015181600101556040820151600291909101805460ff19169115159190911790555080600e81518154600160a060020a031916600160a060020a0391909116178155602082015181600101556040820151600291909101805460ff19169115159190911790555080601181518154600160a060020a031916600160a060020a0391909116178155602082015181600101556040820151600291909101805460ff19169115159190911790555080601481518154600160a060020a031916600160a060020a0391909116178155602082015181600101556040820151600291909101805460ff19169115159190911790555080601781518154600160a060020a031916600160a060020a0391909116178155602082015181600101556040820151600291909101805460ff19169115159190911790555080601a81518154600160a060020a031916600160a060020a0391909116178155602082015181600101556040820151600291909101805460ff19169115159190911790555080601d81518154600160a060020a031916600160a060020a0391909116178155602082015181600101556040820151600291909101805460ff19169115159190911790555080602081518154600160a060020a031916600160a060020a0391909116178155602082015181600101556040820151600291909101805460ff1916911515919091179055505060008054600160a060020a03191633600160a060020a03161790556103ab565b606060405190810160409081526000808352602083018190529082015290565b610892806103ba6000396000f3006060604052600436106100a35763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663244f828a81146100a85780632ccf8d40146100c4578063354d7e40146100ee578063670c314e1461010157806389c9e80f146101265780639c2f409214610155578063ba2a22d414610168578063c77810a4146101ae578063c7990f70146101c1578063c7dfabcc146101db575b600080fd5b34156100b357600080fd5b6100c261ffff60043516610229565b005b34156100cf57600080fd5b6100d7610292565b60405161ffff909116815260200160405180910390f35b34156100f957600080fd5b6100c26102aa565b341561010c57600080fd5b6101146103dc565b60405190815260200160405180910390f35b341561013157600080fd5b6101396103e2565b604051600160a060020a03909116815260200160405180910390f35b341561016057600080fd5b6100d76103f1565b341561017357600080fd5b61017e600435610407565b604051600160a060020a039093168352602083019190915215156040808301919091526060909101905180910390f35b34156101b957600080fd5b610114610438565b34156101cc57600080fd5b6100c261ffff6004351661043e565b6100c26004803560ff169060446024803590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061049195505050505050565b60005433600160a060020a03908116911614156100a35761271061ffff8216111561025357600080fd5b6103e861ffff8216101561026657600080fd5b600680546bffff0000000000000000000019166a010000000000000000000061ffff8416021790555b50565b6006546a0100000000000000000000900461ffff1681565b600080426002541015156102bd57600080fd5b600254600190116102cd57600080fd5b600654600554612710916601000000000000900461ffff16026005805492909104918290039055602354909250600160a060020a031682156108fc0283604051600060405180830381858888f19350505050151561032a57600080fd5b50600160025560005b600960ff8216101561036f576001600860ff83166009811061035157fe5b60030201600201805460ff1916911515919091179055600101610333565b6023546005547f2ffb5e4748e43f6ca515f554cade99a469e03fa57973c54c2cb30d8d4cb788d991600160a060020a03169084906040518084600160a060020a0316600160a060020a03168152602001838152602001828152602001935050505060405180910390a15050565b60025481565b602354600160a060020a031681565b60065468010000000000000000900461ffff1681565b6008816009811061041457fe5b6003020180546001820154600290920154600160a060020a03909116925060ff1683565b60055481565b60005433600160a060020a03908116911614156100a3576101f461ffff8216111561046857600080fd5b6006805469ffff000000000000000019166801000000000000000061ffff84160217905561028f565b6000808080808080600960ff8a16106104a957600080fd5b600860ff8a16600981106104b957fe5b600302019650600254600014156104d357426002556104e7565b600254600114156104e75760035442016002555b6001870154600288015490965060ff16156105025760075495505b42600254101561054b576105146102aa565b600160a060020a0333163480156108fc0290604051600060405180830381858888f19350505050151561054657600080fd5b6107b3565b348690106100a357600287015460ff16151561057c57865433600160a060020a039081169116141561057c57600080fd5b600086340311156105bc5733600160a060020a03166108fc8734039081150290604051600060405180830381858888f1935050505015156105bc57600080fd5b6105c5866107be565b60028801549095506000945085935060ff1615156106075760065461271061ffff62010000830481168802829004965064010000000090920490911686020492505b60058054840190558654600160a060020a031684156108fc0285604051600060405180830381858888f19350505050151561064157600080fd5b865473ffffffffffffffffffffffffffffffffffffffff191633600160a060020a031617875560065461ffff169150612710808301870204600188015550600254600454429091039081101561069a5760045442016002555b600287015460ff16156106b45760028701805460ff191690555b33602360006101000a815481600160a060020a030219169083600160a060020a031602179055507f7a1d0cc5533d727b8af03b23fa0f138bd507274fcc1ff1b24ca5d21f6fb407ca3388600101546005546002548c8e604051600160a060020a038716815260208101869052604081018590526060810184905260ff821660a082015260c06080820181815290820184818151815260200191508051906020019080838360005b8381101561077357808201518382015260200161075b565b50505050905090810190601f1680156107a05780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390a15b505050505050505050565b60065460008054909161271061ffff68010000000000000000830481168602829004936a0100000000000000000000909304168302049081830390600160a060020a03166108fc82150282604051600060405180830381858888f19350505050151561082957600080fd5b600154600160a060020a031682156108fc0283604051600060405180830381858888f19350505050151561085c57600080fd5b50509091039190505600a165627a7a72305820e23275743cca4f5098814319b126d3419fb1826f572de830fbb3c64dd9387ccf0029

Swarm Source

bzzr://e23275743cca4f5098814319b126d3419fb1826f572de830fbb3c64dd9387ccf
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.