Contract Overview
Balance: 2 wei
Ether Value: Less Than $0.01 (@ $119.49/ETH)
Transactions: 73 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0xec2826b432ad473606aaa4c85f95510f31590fdeat txn 0x2820a670a4fae0477da354fc359880cad1356388aa219b32dc885199d5a04cba
Token Balance:
 Latest 25 transactions from a total of 73 transactions

TxHash Age From To Value [TxFee]
0xc396be0197d7ed95174e13699a3e34ad5e31fbfd24d8ed1742a953cf8b434645189 days 6 hrs ago0xa394dbef85d5eecbffdbcb3da05aeb962f2747fe  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430 Ether0.000045898
0x0de6e62ef674e1f2fe600f2fe94c8fad38c036cdc8ebd919a6896e38ca29c969189 days 6 hrs ago0x5b23a6e0d436a58c59ac9a8b231a5bcc9c959106  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430 Ether0.000045898
0xbeb951e35f221c6f843fc4ee83a597da85137225bb6c1ef1750d555184c69dba189 days 6 hrs ago0xf696d24331d1bb34c39ba344ddef0e8c33add3bd  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430 Ether0.000045898
0x59c953b0d7419c68d5fb4ae458ed0da5227f54d2bd38172f2ea299d971fb094c189 days 6 hrs ago0xec2826b432ad473606aaa4c85f95510f31590fde  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430 Ether0.000260346
0x9fe7b026f93852e88ff75a7e1f04cd2666a454bc38da4c49bc1925938234a429223 days 52 mins ago0x3aa4e55ef7cbf1bbf408b5e775a983fb0d22b447  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.05 Ether0.000137852
0x1cf0b34a14e272c3a5d9c3e6a16c7559c3f7c4e0182911ddf1628552bab54563223 days 54 mins ago0x3aa4e55ef7cbf1bbf408b5e775a983fb0d22b447  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.05 Ether0.000137852
0x1e832e55ed20570a42a6603977aa752928ccc49423606c200efd03844eee95b1223 days 7 hrs ago0xbebe34f1b98f313a57539eaf95890ccd1cf92c1f  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.03 Ether0.00034463
0xb5482296c7e7c7959e061e208d99449b7722407efabe4b7ffc80213687726ef7223 days 7 hrs ago0xbebe34f1b98f313a57539eaf95890ccd1cf92c1f  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.06 Ether0.00034463
0xe1e2fd38df68d1f168f1d2cbbf70a7138533d78d8e5dcfe26e62104a90d819c6226 days 5 hrs ago0xd73ebc97df6a89a8ad98b491064a4558672363cb  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.1 Ether0.000206778
0x81ee2df9d260983af31c4cb31db5033b2ecfba9f3dc8b9f5270ec04ce35b82e7269 days 6 hrs ago0xffa64d3929d66fb69cb924ad018895563358ea34  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.18 Ether0.000275704
0x1f6dfef420fda585e028a7a5f61362162680f10308dc8105eaa455610a9ed6e5276 days 2 hrs ago0xac1e5b33159ffce1f6d1a3e11d68edfd8d0baa40  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.01 Ether0.000068926
0x2b00211140f04239fc2bbef477bb74e3ebe5943d8d8c5927fdecbd578e5618d5276 days 2 hrs ago0xac1e5b33159ffce1f6d1a3e11d68edfd8d0baa40  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.03 Ether0.000068926
0xa90cc2e46a70dfe2d7c54d57885c9a2e7345c03aae7f0b595c186fdb52e97650276 days 2 hrs ago0xa394dbef85d5eecbffdbcb3da05aeb962f2747fe  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.1 Ether0.000068926
0xfc9ae2de6de7cff638c868a470ab41aa8786d70eb26609aded257af369319e51276 days 2 hrs ago0xf696d24331d1bb34c39ba344ddef0e8c33add3bd  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.08 Ether0.000053926
0x5f4e062bee9b1e9068b692ddc822707716e91c682b366eb30aac7abf745fbd0a276 days 2 hrs ago0xa394dbef85d5eecbffdbcb3da05aeb962f2747fe  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.19 Ether0.000068926
0xc84bfc50fc516d40936b9d7f7f6b0b4b14871cdac11a5c37c90e727f122a6f12276 days 2 hrs ago0xa394dbef85d5eecbffdbcb3da05aeb962f2747fe  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.19 Ether0.000068926
0xf3cfdc6485929ba9280da77c665f8efb76a7a4c4e6a25ad0603c3750926e4587276 days 2 hrs ago0xa394dbef85d5eecbffdbcb3da05aeb962f2747fe  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.1 Ether0.000068926
0x1c9ec5eee3051ea929db3c6d73166bf2622991235aafe9fc7244ffe29531cf17276 days 2 hrs ago0xa394dbef85d5eecbffdbcb3da05aeb962f2747fe  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.19 Ether0.000068926
0xda8d43627d732a35f620997cd4d62df8d2b77e13d9ac1d62fdb6cfa6a2d63125277 days 3 hrs ago0x205f9cb8b8a7a827d7fc51a914dd359815b094ce  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.01 Ether0.000068926
0x5015438a19c506c12255614febbc2a6b0401582744c28ab4f13d2b5b4d5fe3cb277 days 8 hrs ago0x5b23a6e0d436a58c59ac9a8b231a5bcc9c959106  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.08 Ether0.000206778
0x3d204a2029f6aa149a813ea2a91bf873ff0148d2e4dece55c75c07ff95b2d633277 days 8 hrs ago0x5b23a6e0d436a58c59ac9a8b231a5bcc9c959106  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.04 Ether0.000206778
0x3c0faf6a655c55f77b1e9ffb9d39da17b7878f049628c3255fdee93d24cb00ac277 days 8 hrs ago0x5b23a6e0d436a58c59ac9a8b231a5bcc9c959106  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.06 Ether0.000206778
0x1e01185a0222ef9bb02ad847527cc2bd70161ae58f61bb7381817d2b63aee648277 days 9 hrs ago0x6320d43fe9939efad4d48bfcdc63c06bafc2fe3d  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.09 Ether0.000206778
0xc868da9d60f8b2b048c63a077068c7aa311cff6102e383fe0abf8772d3dd1597277 days 9 hrs ago0x6320d43fe9939efad4d48bfcdc63c06bafc2fe3d  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.03 Ether0.000206778
0xb8301eef124c158c571c3a9c5def178708e16b6f8a8843d98d9bd1968e439b6d277 days 9 hrs ago0x5d03dd367b8d4f6c114ddb5faa02995a7d67d3d3  IN   0x8fa5eea1900b958791d8d42e2b341fea9c33b8430.09 Ether0.000206778
[ 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
0xc396be0197d7ed95174e13699a3e34ad5e31fbfd24d8ed1742a953cf8b4346455981957189 days 6 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xa394dbef85d5eecbffdbcb3da05aeb962f2747fe0.979891658653846153 Ether
0x0de6e62ef674e1f2fe600f2fe94c8fad38c036cdc8ebd919a6896e38ca29c9695981926189 days 6 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430x5b23a6e0d436a58c59ac9a8b231a5bcc9c9591060.206292980769230769 Ether
0xbeb951e35f221c6f843fc4ee83a597da85137225bb6c1ef1750d555184c69dba5981888189 days 6 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xf696d24331d1bb34c39ba344ddef0e8c33add3bd0.422900610576923076 Ether
0x9fe7b026f93852e88ff75a7e1f04cd2666a454bc38da4c49bc1925938234a4295784407223 days 52 mins ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.0125 Ether
0x1cf0b34a14e272c3a5d9c3e6a16c7559c3f7c4e0182911ddf1628552bab545635784394223 days 54 mins ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.0125 Ether
0x1e832e55ed20570a42a6603977aa752928ccc49423606c200efd03844eee95b15782825223 days 7 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.0075 Ether
0xb5482296c7e7c7959e061e208d99449b7722407efabe4b7ffc80213687726ef75782788223 days 7 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.015 Ether
0xe1e2fd38df68d1f168f1d2cbbf70a7138533d78d8e5dcfe26e62104a90d819c65766090226 days 5 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.025 Ether
0x81ee2df9d260983af31c4cb31db5033b2ecfba9f3dc8b9f5270ec04ce35b82e75521913269 days 6 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.045 Ether
0x1f6dfef420fda585e028a7a5f61362162680f10308dc8105eaa455610a9ed6e55482450276 days 2 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.0025 Ether
0x2b00211140f04239fc2bbef477bb74e3ebe5943d8d8c5927fdecbd578e5618d55482427276 days 2 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.0075 Ether
0xa90cc2e46a70dfe2d7c54d57885c9a2e7345c03aae7f0b595c186fdb52e976505482385276 days 2 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.025 Ether
0xfc9ae2de6de7cff638c868a470ab41aa8786d70eb26609aded257af369319e515482327276 days 2 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.02 Ether
0x5f4e062bee9b1e9068b692ddc822707716e91c682b366eb30aac7abf745fbd0a5482301276 days 2 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.0475 Ether
0xc84bfc50fc516d40936b9d7f7f6b0b4b14871cdac11a5c37c90e727f122a6f125482299276 days 2 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.0475 Ether
0xf3cfdc6485929ba9280da77c665f8efb76a7a4c4e6a25ad0603c3750926e45875482299276 days 2 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.025 Ether
0x1c9ec5eee3051ea929db3c6d73166bf2622991235aafe9fc7244ffe29531cf175482297276 days 2 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.0475 Ether
0xda8d43627d732a35f620997cd4d62df8d2b77e13d9ac1d62fdb6cfa6a2d631255476218277 days 3 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.0025 Ether
0x5015438a19c506c12255614febbc2a6b0401582744c28ab4f13d2b5b4d5fe3cb5475022277 days 8 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.02 Ether
0x3d204a2029f6aa149a813ea2a91bf873ff0148d2e4dece55c75c07ff95b2d6335475002277 days 8 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.01 Ether
0x3c0faf6a655c55f77b1e9ffb9d39da17b7878f049628c3255fdee93d24cb00ac5475001277 days 8 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.015 Ether
0x1e01185a0222ef9bb02ad847527cc2bd70161ae58f61bb7381817d2b63aee6485474916277 days 9 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.0225 Ether
0xc868da9d60f8b2b048c63a077068c7aa311cff6102e383fe0abf8772d3dd15975474899277 days 9 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.0075 Ether
0xb8301eef124c158c571c3a9c5def178708e16b6f8a8843d98d9bd1968e439b6d5474857277 days 9 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.0225 Ether
0x932bab7e3fcd172bc7b8ff3fc8bce9b4d6c2dd71c7e40dc22dccca0d49f86aaf5474857277 days 9 hrs ago0x8fa5eea1900b958791d8d42e2b341fea9c33b8430xec2826b432ad473606aaa4c85f95510f31590fde0.025 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: Better
Compiler Text: v0.4.21+commit.dfe3193c
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.11;


contract Better{
    event Bet(address indexed _from, uint team, uint _value);
    event Claim(address indexed _from, uint _value);
    event Transfer(address indexed _from, address indexed _to, uint _value);
    event LogManualWinnerUpdated(uint winner);

    //only informative states
    uint public constant STATE_BET_ENABLED=0;
    uint public constant STATE_BET_DISABLED=1;
    uint public constant  STATE_CLAIM_ENABLED=2;
    
    uint private constant NO_TEAM=0;
    uint[33] private _pools;  //pools[0] is reserved
    
    uint public DEV_TAX_DIVISOR;    //example 1/4 = 25%
    uint public  _startTime;    //example=1522983600;   //when WC starts and bets close
    uint public  _endTime;  //example=1522985400;  //when WC ends and claims open

    uint private _totalPrize;
    uint private _winnerTeam;
    uint private _numberBets;
    
    address public creatorAddr;
    
    
    mapping (address => mapping (uint => uint)) private _bets;
    
    function Better(uint passDevTaxDivisor, uint passStartTime, uint passEndTime) public {
        creatorAddr=msg.sender;
        DEV_TAX_DIVISOR=passDevTaxDivisor;
        _startTime=passStartTime;
        _endTime=passEndTime;
        
        _winnerTeam=NO_TEAM;

        _totalPrize=0;
        _numberBets=0;
        for(uint i =0; i<33; i++)_pools[i]=0; //set all pool to 0
    }
    
    
    modifier onlyCreator {
        require(msg.sender == creatorAddr);
        _;
    }
    
    modifier onlyBeforeWinner {
        require(_winnerTeam == NO_TEAM);
        _;
    }
    
    modifier onlyAfterWinner {
        require(_winnerTeam != NO_TEAM);
        _;
    }
    
    modifier onlyAfterEndTime() {
        require(now >= _endTime);
        _;
    }
    
    modifier onlyBeforeStartTime() {
        require(now <= _startTime);
        _;
    }

    function setWinnerManually(uint winnerTeam) public onlyCreator onlyBeforeWinner returns (bool){
         _winnerTeam = winnerTeam;
         emit LogManualWinnerUpdated(winnerTeam);
    }
    
    function updateEndTimeManually(uint passEndTime) public onlyCreator onlyBeforeWinner returns (bool){
        _endTime=passEndTime;
    }
    
    function updateStartTimeManually(uint passStartTime) public onlyCreator onlyBeforeWinner returns (bool){
        _startTime=passStartTime;
    }
    
    function bet(uint team) public onlyBeforeWinner onlyBeforeStartTime payable returns (bool)  {
        require(msg.value>0);
        require(team >0);
        
        uint devTax= SafeMath.div(msg.value,DEV_TAX_DIVISOR);
        uint finalValue=SafeMath.sub(msg.value,devTax);
        
        assert(finalValue>0 && devTax>0);
        
        creatorAddr.transfer(devTax);
        
        _pools[team]=SafeMath.add(_pools[team],finalValue);
        _bets[msg.sender][team]=SafeMath.add(_bets[msg.sender][team],finalValue);
        _totalPrize=SafeMath.add(_totalPrize,finalValue);
        
        _numberBets++;
        emit Bet(msg.sender,team,msg.value);
        return true;
    }
    
    function claim() public onlyAfterWinner onlyAfterEndTime returns (bool){
        uint moneyInvested= _bets[msg.sender][_winnerTeam];
        require(moneyInvested>0);
        
        uint moneyTeam= _pools[_winnerTeam];
        

        uint aux= SafeMath.mul(_totalPrize,moneyInvested);
        uint wonAmmount= SafeMath.div(aux,moneyTeam);
        
        _bets[msg.sender][_winnerTeam]=0;
        msg.sender.transfer(wonAmmount);
        
        emit Claim(msg.sender,wonAmmount);
        return true;
    }

    function getMyBet(uint teamNumber) public constant returns (uint teamBet) {
       return (_bets[msg.sender][teamNumber]);
    }
    
    function getPools() public constant returns (uint[33] pools) {
        return _pools;
    }
    
    function getTotalPrize() public constant returns (uint prize){
        return _totalPrize;
    }
    
    function getNumberOfBets() public constant returns (uint numberBets){
        return _numberBets;
    }
    
    function getWinnerTeam() public constant returns (uint winnerTeam){
        return _winnerTeam;
    }
    

    function getState() public constant returns (uint state){
        if(now<_startTime)return STATE_BET_ENABLED;
        if(now<_endTime)return STATE_BET_DISABLED;
        else return STATE_CLAIM_ENABLED;
    }
    
    function getDev() public constant returns (string signature){
        return 'chelinho139';
    }
    function () public payable {
        throw;
    }
    

// EgyptEgypt 1
// MoroccoMorocco 2
// NigeriaNigeria 3
// SenegalSenegal 4
// TunisiaTunisia 5
// AustraliaAustralia 6
// IR IranIR Iran 7
// JapanJapan 8
// Korea RepublicKorea Republic 9
// Saudi ArabiaSaudi Arabia 10
// BelgiumBelgium 11
// CroatiaCroatia 12 
// DenmarkDenmark 13 
// EnglandEngland 14 
// FranceFrance 15 
// GermanyGermany 16 
// IcelandIceland 17 
// PolandPoland 18 
// PortugalPortugal 19 
// RussiaRussia 20
// SerbiaSerbia 21 
// SpainSpain 22 
// SwedenSweden 23 
// SwitzerlandSwitzerland 24 
// Costa RicaCosta Rica 25 
// MexicoMexico 26 
// PanamaPanama 27 
// ArgentinaArgentina 28 
// BrazilBrazil 29 
// ColombiaColombia 30 
// PeruPeru 31 
// UruguayUruguay 32
}


library SafeMath {

    /**
    * @dev Multiplies two numbers, throws on overflow.
    */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }
        uint256 c = a * b;
        assert(c / a == b);
        return c;
    }

    /**
    * @dev Integer division of two numbers, truncating the quotient.
    */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        // assert(b > 0); // Solidity automatically throws when dividing by 0
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold
        return c;
    }

    /**
    * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
    */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        assert(b <= a);
        return a - b;
    }

    /**
    * @dev Adds two numbers, throws on overflow.
    */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        assert(c >= a);
        return c;
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"getDev","outputs":[{"name":"signature","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"creatorAddr","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getState","outputs":[{"name":"state","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DEV_TAX_DIVISOR","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"STATE_BET_ENABLED","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"winnerTeam","type":"uint256"}],"name":"setWinnerManually","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"_endTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claim","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"teamNumber","type":"uint256"}],"name":"getMyBet","outputs":[{"name":"teamBet","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getPools","outputs":[{"name":"pools","type":"uint256[33]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"team","type":"uint256"}],"name":"bet","outputs":[{"name":"","type":"bool"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"STATE_CLAIM_ENABLED","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"passEndTime","type":"uint256"}],"name":"updateEndTimeManually","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"passStartTime","type":"uint256"}],"name":"updateStartTimeManually","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getTotalPrize","outputs":[{"name":"prize","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"STATE_BET_DISABLED","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getWinnerTeam","outputs":[{"name":"winnerTeam","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getNumberOfBets","outputs":[{"name":"numberBets","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"passDevTaxDivisor","type":"uint256"},{"name":"passStartTime","type":"uint256"},{"name":"passEndTime","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":false,"name":"team","type":"uint256"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Bet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"winner","type":"uint256"}],"name":"LogManualWinnerUpdated","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b604051606080610e1183398101604052808051906020019091908051906020019091908051906020019091905050600033602760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550836021819055508260228190555081602381905550600060258190555060006024819055506000602681905550600090505b60218110156100dd57600080826021811015156100cb57fe5b018190555080806001019150506100b2565b50505050610d21806100f06000396000f300606060405260043610610107576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806309bb92671461010c578063165523931461019a5780631865c57d146101ef578063259c05f51461021857806328fe549a1461024157806331ca6b671461026a57806340d48958146102a55780634e71d92d146102ce578063508bb866146102fb578063673a2a1f146103325780637365870b1461038357806382a3e5df146103b3578063951b73b1146103dc578063a88fa4b414610417578063adeaa85114610452578063d3ddebce1461047b578063de7a5956146104a4578063f222d0b9146104cd578063fa1acb5c146104f6575b600080fd5b341561011757600080fd5b61011f61051f565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561015f578082015181840152602081019050610144565b50505050905090810190601f16801561018c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101a557600080fd5b6101ad610562565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156101fa57600080fd5b610202610588565b6040518082815260200191505060405180910390f35b341561022357600080fd5b61022b6105b8565b6040518082815260200191505060405180910390f35b341561024c57600080fd5b6102546105be565b6040518082815260200191505060405180910390f35b341561027557600080fd5b61028b60048080359060200190919050506105c3565b604051808215151515815260200191505060405180910390f35b34156102b057600080fd5b6102b8610675565b6040518082815260200191505060405180910390f35b34156102d957600080fd5b6102e161067b565b604051808215151515815260200191505060405180910390f35b341561030657600080fd5b61031c6004808035906020019091905050610829565b6040518082815260200191505060405180910390f35b341561033d57600080fd5b610345610883565b6040518082602160200280838360005b83811015610370578082015181840152602081019050610355565b5050505090500191505060405180910390f35b61039960048080359060200190919050506108ce565b604051808215151515815260200191505060405180910390f35b34156103be57600080fd5b6103c6610b07565b6040518082815260200191505060405180910390f35b34156103e757600080fd5b6103fd6004808035906020019091905050610b0c565b604051808215151515815260200191505060405180910390f35b341561042257600080fd5b6104386004808035906020019091905050610b87565b604051808215151515815260200191505060405180910390f35b341561045d57600080fd5b610465610c02565b6040518082815260200191505060405180910390f35b341561048657600080fd5b61048e610c0c565b6040518082815260200191505060405180910390f35b34156104af57600080fd5b6104b7610c11565b6040518082815260200191505060405180910390f35b34156104d857600080fd5b6104e0610c1b565b6040518082815260200191505060405180910390f35b341561050157600080fd5b610509610c25565b6040518082815260200191505060405180910390f35b610527610cb8565b6040805190810160405280600b81526020017f6368656c696e686f313339000000000000000000000000000000000000000000815250905090565b602760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060225442101561059d57600090506105b5565b6023544210156105b057600190506105b5565b600290505b90565b60215481565b600081565b6000602760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561062157600080fd5b600060255414151561063257600080fd5b816025819055507fde5ca4ea7666521abeaba82a6303efca82b03a04ca0a45a3a97c1acd2f02f4bb826040518082815260200191505060405180910390a1919050565b60235481565b6000806000806000806025541415151561069457600080fd5b60235442101515156106a557600080fd5b602860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000602554815260200190815260200160002054935060008411151561070957600080fd5b600060255460218110151561071a57fe5b0154925061072a60245485610c2b565b91506107368284610c66565b90506000602860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006025548152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015156107d057600080fd5b3373ffffffffffffffffffffffffffffffffffffffff167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4826040518082815260200191505060405180910390a2600194505050505090565b6000602860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020549050919050565b61088b610ccc565b60006021806020026040519081016040528092919082602180156108c4576020028201915b8154815260200190600101908083116108b0575b5050505050905090565b6000806000806025541415156108e357600080fd5b60225442111515156108f457600080fd5b60003411151561090357600080fd5b60008411151561091257600080fd5b61091e34602154610c66565b915061092a3483610c81565b905060008111801561093c5750600082115b151561094457fe5b602760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015156109a657600080fd5b6109c06000856021811015156109b857fe5b015482610c9a565b6000856021811015156109cf57fe5b0181905550610a2e602860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008681526020019081526020016000205482610c9a565b602860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086815260200190815260200160002081905550610a8e60245482610c9a565b6024819055506026600081548092919060010191905055503373ffffffffffffffffffffffffffffffffffffffff167ff41b7910e085d0992d604fd470931728fd77cc8eb504d99e50e51a0a30fcfd1a8534604051808381526020018281526020019250505060405180910390a2600192505050919050565b600281565b6000602760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610b6a57600080fd5b6000602554141515610b7b57600080fd5b81602381905550919050565b6000602760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610be557600080fd5b6000602554141515610bf657600080fd5b81602281905550919050565b6000602454905090565b600181565b6000602554905090565b6000602654905090565b60225481565b6000806000841415610c405760009150610c5f565b8284029050828482811515610c5157fe5b04141515610c5b57fe5b8091505b5092915050565b6000808284811515610c7457fe5b0490508091505092915050565b6000828211151515610c8f57fe5b818303905092915050565b6000808284019050838110151515610cae57fe5b8091505092915050565b602060405190810160405280600081525090565b610420604051908101604052806021905b6000815260200190600190039081610cdd57905050905600a165627a7a72305820239a6b3b826f07c3b5dc3babb446b4ffa41a46eccdb4adb2161db57111a4e9b600290000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000005b21afc4000000000000000000000000000000000000000000000000000000005b4dbe20

    Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000005b21afc4000000000000000000000000000000000000000000000000000000005b4dbe20

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [1] : 000000000000000000000000000000000000000000000000000000005b21afc4
Arg [2] : 000000000000000000000000000000000000000000000000000000005b4dbe20


   Swarm Source:
bzzr://239a6b3b826f07c3b5dc3babb446b4ffa41a46eccdb4adb2161db57111a4e9b6

 

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.