ETH Price: $2,284.09 (+0.15%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Cancel Agon62376592018-08-30 0:29:012714 days ago1535588941IN
0x6CB87796...6A21798c2
0 ETH0.000050892
New Agon60818562018-08-03 16:58:022740 days ago1533315482IN
0x6CB87796...6A21798c2
0.2 ETH0.000400453
Cancel Agon60626432018-07-31 10:42:272744 days ago1533033747IN
0x6CB87796...6A21798c2
0 ETH0.000025441
New Agon60625442018-07-31 10:18:102744 days ago1533032290IN
0x6CB87796...6A21798c2
0.05 ETH0.000133421
New Challenge60490182018-07-29 3:39:212746 days ago1532835561IN
0x6CB87796...6A21798c2
0.05 ETH0.0009420541
Cancel Agon60297452018-07-25 21:41:012749 days ago1532554861IN
0x6CB87796...6A21798c2
0 ETH0.000025441
New Challenge60123172018-07-22 22:17:462752 days ago1532297866IN
0x6CB87796...6A21798c2
0.05 ETH0.00009194
Fight Agon60044592018-07-21 14:42:292753 days ago1532184149IN
0x6CB87796...6A21798c2
0 ETH0.000227095
New Challenge60044572018-07-21 14:41:502753 days ago1532184110IN
0x6CB87796...6A21798c2
0.05 ETH0.000148274
New Agon59758722018-07-16 17:20:292758 days ago1531761629IN
0x6CB87796...6A21798c2
0.05 ETH0.000533684
New Agon59714112018-07-15 23:00:302759 days ago1531695630IN
0x6CB87796...6A21798c2
0.2 ETH0.000667425
Cancel Agon59709552018-07-15 21:15:002759 days ago1531689300IN
0x6CB87796...6A21798c2
0 ETH0.000203598
New Challenge59293452018-07-08 20:57:072766 days ago1531083427IN
0x6CB87796...6A21798c2
0.05 ETH0.0013786260
Fight Agon59286852018-07-08 18:20:252766 days ago1531074025IN
0x6CB87796...6A21798c2
0 ETH0.0003421313
Fight Agon59286852018-07-08 18:20:252766 days ago1531074025IN
0x6CB87796...6A21798c2
0 ETH0.0002887911
Fight Agon59286822018-07-08 18:19:472766 days ago1531073987IN
0x6CB87796...6A21798c2
0 ETH0.0002880911
Fight Agon59286792018-07-08 18:19:242766 days ago1531073964IN
0x6CB87796...6A21798c2
0 ETH0.0003684514
Fight Agon59286752018-07-08 18:18:512766 days ago1531073931IN
0x6CB87796...6A21798c2
0 ETH0.0003947715
Fight Agon59286752018-07-08 18:18:512766 days ago1531073931IN
0x6CB87796...6A21798c2
0 ETH0.0003158112
Fight Agon59286732018-07-08 18:18:452766 days ago1531073925IN
0x6CB87796...6A21798c2
0 ETH0.0003158112
Fight Agon59286662018-07-08 18:17:032766 days ago1531073823IN
0x6CB87796...6A21798c2
0 ETH0.0003947715
Fight Agon59286662018-07-08 18:17:032766 days ago1531073823IN
0x6CB87796...6A21798c2
0 ETH0.0003158112
Fight Agon59286662018-07-08 18:17:032766 days ago1531073823IN
0x6CB87796...6A21798c2
0 ETH0.0003947715
Fight Agon59286662018-07-08 18:17:032766 days ago1531073823IN
0x6CB87796...6A21798c2
0 ETH0.0003184412.1
Fight Agon59286662018-07-08 18:17:032766 days ago1531073823IN
0x6CB87796...6A21798c2
0 ETH0.0003684514
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer62376592018-08-30 0:29:012714 days ago1535588941
0x6CB87796...6A21798c2
0.2 ETH
Transfer60626432018-07-31 10:42:272744 days ago1533033747
0x6CB87796...6A21798c2
0.05 ETH
Transfer60297452018-07-25 21:41:012749 days ago1532554861
0x6CB87796...6A21798c2
0.2 ETH
Transfer60044592018-07-21 14:42:292753 days ago1532184149
0x6CB87796...6A21798c2
0.0025 ETH
Transfer60044592018-07-21 14:42:292753 days ago1532184149
0x6CB87796...6A21798c2
0.0025 ETH
Transfer60044592018-07-21 14:42:292753 days ago1532184149
0x6CB87796...6A21798c2
0.095 ETH
Transfer59709552018-07-15 21:15:002759 days ago1531689300
0x6CB87796...6A21798c2
0.2 ETH
Transfer59283052018-07-08 16:46:432766 days ago1531068403
0x6CB87796...6A21798c2
0.0025 ETH
Transfer59283052018-07-08 16:46:432766 days ago1531068403
0x6CB87796...6A21798c2
0.0025 ETH
Transfer59283052018-07-08 16:46:432766 days ago1531068403
0x6CB87796...6A21798c2
0.095 ETH
Transfer59278082018-07-08 14:41:282766 days ago1531060888
0x6CB87796...6A21798c2
0.0025 ETH
Transfer59278082018-07-08 14:41:282766 days ago1531060888
0x6CB87796...6A21798c2
0.0025 ETH
Transfer59278082018-07-08 14:41:282766 days ago1531060888
0x6CB87796...6A21798c2
0.095 ETH
Transfer59264232018-07-08 8:46:422767 days ago1531039602
0x6CB87796...6A21798c2
0.0025 ETH
Transfer59264232018-07-08 8:46:422767 days ago1531039602
0x6CB87796...6A21798c2
0.0025 ETH
Transfer59264232018-07-08 8:46:422767 days ago1531039602
0x6CB87796...6A21798c2
0.095 ETH
Transfer59259542018-07-08 6:47:382767 days ago1531032458
0x6CB87796...6A21798c2
0.0025 ETH
Transfer59259542018-07-08 6:47:382767 days ago1531032458
0x6CB87796...6A21798c2
0.0025 ETH
Transfer59259542018-07-08 6:47:382767 days ago1531032458
0x6CB87796...6A21798c2
0.095 ETH
Transfer58893862018-07-02 0:16:002773 days ago1530490560
0x6CB87796...6A21798c2
0.0025 ETH
Transfer58893862018-07-02 0:16:002773 days ago1530490560
0x6CB87796...6A21798c2
0.0025 ETH
Transfer58893862018-07-02 0:16:002773 days ago1530490560
0x6CB87796...6A21798c2
0.095 ETH
Transfer58798472018-06-30 8:55:492775 days ago1530348949
0x6CB87796...6A21798c2
0.0025 ETH
Transfer58798472018-06-30 8:55:492775 days ago1530348949
0x6CB87796...6A21798c2
0.0025 ETH
Transfer58798472018-06-30 8:55:492775 days ago1530348949
0x6CB87796...6A21798c2
0.095 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ActionAgon

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-05-28
*/

/* ==================================================================== */
/* Copyright (c) 2018 The ether.online Project.  All rights reserved.
/* 
/* https://ether.online  The first RPG game of blockchain 
/*  
/* authors [email protected]   
/*         [email protected]            
/* ==================================================================== */

pragma solidity ^0.4.20;

contract AccessAdmin {
    bool public isPaused = false;
    address public addrAdmin;  

    event AdminTransferred(address indexed preAdmin, address indexed newAdmin);

    function AccessAdmin() public {
        addrAdmin = msg.sender;
    }  


    modifier onlyAdmin() {
        require(msg.sender == addrAdmin);
        _;
    }

    modifier whenNotPaused() {
        require(!isPaused);
        _;
    }

    modifier whenPaused {
        require(isPaused);
        _;
    }

    function setAdmin(address _newAdmin) external onlyAdmin {
        require(_newAdmin != address(0));
        AdminTransferred(addrAdmin, _newAdmin);
        addrAdmin = _newAdmin;
    }

    function doPause() external onlyAdmin whenNotPaused {
        isPaused = true;
    }

    function doUnpause() external onlyAdmin whenPaused {
        isPaused = false;
    }
}

contract AccessNoWithdraw is AccessAdmin {
    address public addrService;
    address public addrFinance;

    modifier onlyService() {
        require(msg.sender == addrService);
        _;
    }

    modifier onlyFinance() {
        require(msg.sender == addrFinance);
        _;
    }

    modifier onlyManager() { 
        require(msg.sender == addrService || msg.sender == addrAdmin || msg.sender == addrFinance);
        _; 
    }
    
    function setService(address _newService) external {
        require(msg.sender == addrService || msg.sender == addrAdmin);
        require(_newService != address(0));
        addrService = _newService;
    }

    function setFinance(address _newFinance) external {
        require(msg.sender == addrFinance || msg.sender == addrAdmin);
        require(_newFinance != address(0));
        addrFinance = _newFinance;
    }
}

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
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;
    }
}

interface IAgonFight {
    function calcFight(uint64 _mFlag, uint64 _cFlag, uint256 _aSeed, uint256 _fSeed) external pure returns(uint64);
}

contract ActionAgon is AccessNoWithdraw {
    using SafeMath for uint256; 

    event CreateAgon(uint64 indexed agonId, address indexed master, uint64 indexed outFlag);
    event CancelAgon(uint64 indexed agonId, address indexed master, uint64 indexed outFlag);
    event ChallengeAgon(uint64 indexed agonId, address indexed master, uint64 indexed outFlag, address challenger);
    event ResolveAgon(uint64 indexed agonId, address indexed master, uint64 indexed outFlag, address challenger);

    struct Agon {
        address master;
        address challenger;
        uint64 agonPrice;
        uint64 outFlag;
        uint64 agonFlag;    
        uint64 result;      // 1-win, 2-lose, 99-cancel
    }

    Agon[] agonArray;
    address public poolContract;
    IAgonFight fightContract;

    mapping (address => uint64[]) public ownerToAgonIdArray;
    uint256 public maxAgonCount = 6;
    uint256 public maxResolvedAgonId = 0; 
    uint256[5] public agonValues = [0.05 ether, 0.2 ether, 0.5 ether, 1 ether, 2 ether];

    function ActionAgon() public {
        addrAdmin = msg.sender;
        addrService = msg.sender;
        addrFinance = msg.sender;

        Agon memory order = Agon(0, 0, 0, 0, 1, 1);
        agonArray.push(order);
    }

    function() external {}

    function setArenaPool(address _addr) external onlyAdmin {
        require(_addr != address(0));
        poolContract = _addr;
    }

    function setMaxAgonCount(uint256 _count) external onlyAdmin {
        require(_count > 0 && _count < 20);
        require(_count != maxAgonCount);
        maxAgonCount = _count;
    }

    function setAgonFight(address _addr) external onlyAdmin {
        fightContract = IAgonFight(_addr);
    }

    function setMaxResolvedAgonId() external {
        uint256 length = agonArray.length;
        for (uint256 i = maxResolvedAgonId; i < length; ++i) {
            if (agonArray[i].result == 0) {
                maxResolvedAgonId = i - 1;
                break;
            }
        }
    }

    function setAgonValues(uint256[5] values) external onlyAdmin {
        require(values[0] >= 0.001 ether);
        require(values[1] >= values[0]);
        require(values[2] >= values[1]);
        require(values[3] >= values[2]);
        require(values[4] >= values[3]);
        require(values[4] <= 10 ether);     // 10 ether < 2^64
        require(values[0] % 1000000000 == 0);
        require(values[1] % 1000000000 == 0);
        require(values[2] % 1000000000 == 0);
        require(values[3] % 1000000000 == 0);
        require(values[4] % 1000000000 == 0);
        agonValues[0] = values[0];
        agonValues[1] = values[1];
        agonValues[2] = values[2];
        agonValues[3] = values[3];
        agonValues[4] = values[4];
    }

    function newAgon(uint64 _outFlag, uint64 _valId) external payable whenNotPaused {
        require(ownerToAgonIdArray[msg.sender].length < maxAgonCount);
        require(_valId >= 0 && _valId <= 4);
        require(msg.value == agonValues[_valId]);
        
        uint64 newAgonId = uint64(agonArray.length);
        agonArray.length += 1;
        Agon storage agon = agonArray[newAgonId];
        agon.master = msg.sender;
        agon.agonPrice = uint64(msg.value);    // 10 ether < 2^64
        agon.outFlag = _outFlag;

        ownerToAgonIdArray[msg.sender].push(newAgonId);

        CreateAgon(uint64(newAgonId), msg.sender, _outFlag);
    } 

    function _removeAgonIdByOwner(address _owner, uint64 _agonId) internal {
        uint64[] storage agonIdArray = ownerToAgonIdArray[_owner];
        uint256 length = agonIdArray.length;
        require(length > 0);
        uint256 findIndex = 99;
        for (uint256 i = 0; i < length; ++i) {
            if (_agonId == agonIdArray[i]) {
                findIndex = i;
            }
        }
        require(findIndex != 99);
        if (findIndex != (length - 1)) {
            agonIdArray[findIndex] = agonIdArray[length - 1];
        } 
        agonIdArray.length -= 1;
    }

    function cancelAgon(uint64 _agonId) external {
        require(_agonId < agonArray.length);
        Agon storage agon = agonArray[_agonId];
        require(agon.result == 0);
        require(agon.challenger == address(0));
        require(agon.master == msg.sender);

        agon.result = 99;
        _removeAgonIdByOwner(msg.sender, _agonId);
        msg.sender.transfer(agon.agonPrice);

        CancelAgon(_agonId, msg.sender, agon.outFlag);
    }

    function cancelAgonForce(uint64 _agonId) external onlyService {
        require(_agonId < agonArray.length);
        Agon storage agon = agonArray[_agonId];
        require(agon.result == 0);
        require(agon.challenger == address(0));

        agon.result = 99;
        _removeAgonIdByOwner(agon.master, _agonId);
        agon.master.transfer(agon.agonPrice);

        CancelAgon(_agonId, agon.master, agon.outFlag);
    }

    function newChallenge(uint64 _agonId, uint64 _flag) external payable whenNotPaused {
        require(_agonId < agonArray.length);
        Agon storage agon = agonArray[_agonId];
        require(agon.result == 0);
        require(agon.master != msg.sender);
        require(uint256(agon.agonPrice) == msg.value);
        require(agon.challenger == address(0));

        agon.challenger = msg.sender;
        agon.agonFlag = _flag;
        ChallengeAgon(_agonId, agon.master, agon.outFlag, msg.sender);
    }

    function fightAgon(uint64 _agonId, uint64 _mFlag, uint256 _aSeed, uint256 _fSeed) external onlyService {
        require(_agonId < agonArray.length);
        Agon storage agon = agonArray[_agonId];
        require(agon.result == 0 && agon.challenger != address(0));
        require(fightContract != address(0));
        uint64 fRet = fightContract.calcFight(_mFlag, agon.agonFlag, _aSeed, _fSeed);
        require(fRet == 1 || fRet == 2);
        agon.result = fRet;
        _removeAgonIdByOwner(agon.master, _agonId);
        uint256 devCut = uint256(agon.agonPrice).div(10);
        uint256 winVal = uint256(agon.agonPrice).mul(2).sub(devCut);
        if (fRet == 1) {
            agon.master.transfer(winVal);
        } else {
            agon.challenger.transfer(winVal);
        }
        if (poolContract != address(0)) {
            uint256 pVal = devCut.div(2);
            poolContract.transfer(pVal);
            addrFinance.transfer(devCut.sub(pVal));
        } else {
            addrFinance.transfer(devCut);
        }
        ResolveAgon(_agonId, agon.master, agon.outFlag, agon.challenger);
    }

    function getAgon(uint256 _agonId) external view
        returns(
            address master,
            address challenger,
            uint64 agonPrice,
            uint64 outFlag,
            uint64 agonFlag,
            uint64 result
        )
    {
        require(_agonId < agonArray.length);
        Agon memory agon = agonArray[_agonId];
        master = agon.master;
        challenger = agon.challenger;
        agonPrice = agon.agonPrice;
        outFlag = agon.outFlag;
        agonFlag = agon.agonFlag;
        result = agon.result;
    }

    function getAgonArray(uint64 _startAgonId, uint64 _count) external view
        returns(
            uint64[] agonIds,
            address[] masters,
            address[] challengers,
            uint64[] agonPrices,           
            uint64[] agonOutFlags,
            uint64[] agonFlags,
            uint64[] results
        ) 
    {
        uint64 length = uint64(agonArray.length);
        require(_startAgonId < length);
        require(_startAgonId > 0);
        uint256 maxLen;
        if (_count == 0) {
            maxLen = length - _startAgonId;
        } else {
            maxLen = (length - _startAgonId) >= _count ? _count : (length - _startAgonId);
        }
        agonIds = new uint64[](maxLen);
        masters = new address[](maxLen);
        challengers = new address[](maxLen);
        agonPrices = new uint64[](maxLen);
        agonOutFlags = new uint64[](maxLen);
        agonFlags = new uint64[](maxLen);
        results = new uint64[](maxLen);
        uint256 counter = 0;
        for (uint64 i = _startAgonId; i < length; ++i) {
            Agon storage tmpAgon = agonArray[i];
            agonIds[counter] = i;
            masters[counter] = tmpAgon.master;
            challengers[counter] = tmpAgon.challenger;
            agonPrices[counter] = tmpAgon.agonPrice;
            agonOutFlags[counter] = tmpAgon.outFlag;
            agonFlags[counter] = tmpAgon.agonFlag;
            results[counter] = tmpAgon.result;
            counter += 1;
            if (counter >= maxLen) {
                break;
            }
        }
    }

    function getMaxAgonId() external view returns(uint256) {
        return agonArray.length - 1;
    }

    function getAgonIdArray(address _owner) external view returns(uint64[]) {
        return ownerToAgonIdArray[_owner];
    }
}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[{"name":"_startAgonId","type":"uint64"},{"name":"_count","type":"uint64"}],"name":"getAgonArray","outputs":[{"name":"agonIds","type":"uint64[]"},{"name":"masters","type":"address[]"},{"name":"challengers","type":"address[]"},{"name":"agonPrices","type":"uint64[]"},{"name":"agonOutFlags","type":"uint64[]"},{"name":"agonFlags","type":"uint64[]"},{"name":"results","type":"uint64[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"values","type":"uint256[5]"}],"name":"setAgonValues","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_agonId","type":"uint64"},{"name":"_flag","type":"uint64"}],"name":"newChallenge","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_addr","type":"address"}],"name":"setAgonFight","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"maxAgonCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"doUnpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"ownerToAgonIdArray","outputs":[{"name":"","type":"uint64"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_agonId","type":"uint256"}],"name":"getAgon","outputs":[{"name":"master","type":"address"},{"name":"challenger","type":"address"},{"name":"agonPrice","type":"uint64"},{"name":"outFlag","type":"uint64"},{"name":"agonFlag","type":"uint64"},{"name":"result","type":"uint64"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_agonId","type":"uint64"}],"name":"cancelAgonForce","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"doPause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"getAgonIdArray","outputs":[{"name":"","type":"uint64[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newAdmin","type":"address"}],"name":"setAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"agonValues","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"setMaxResolvedAgonId","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_addr","type":"address"}],"name":"setArenaPool","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_count","type":"uint256"}],"name":"setMaxAgonCount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"addrFinance","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxResolvedAgonId","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"poolContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newFinance","type":"address"}],"name":"setFinance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_outFlag","type":"uint64"},{"name":"_valId","type":"uint64"}],"name":"newAgon","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"isPaused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getMaxAgonId","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newService","type":"address"}],"name":"setService","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"addrAdmin","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"addrService","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_agonId","type":"uint64"}],"name":"cancelAgon","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_agonId","type":"uint64"},{"name":"_mFlag","type":"uint64"},{"name":"_aSeed","type":"uint256"},{"name":"_fSeed","type":"uint256"}],"name":"fightAgon","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":false,"stateMutability":"nonpayable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"agonId","type":"uint64"},{"indexed":true,"name":"master","type":"address"},{"indexed":true,"name":"outFlag","type":"uint64"}],"name":"CreateAgon","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"agonId","type":"uint64"},{"indexed":true,"name":"master","type":"address"},{"indexed":true,"name":"outFlag","type":"uint64"}],"name":"CancelAgon","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"agonId","type":"uint64"},{"indexed":true,"name":"master","type":"address"},{"indexed":true,"name":"outFlag","type":"uint64"},{"indexed":false,"name":"challenger","type":"address"}],"name":"ChallengeAgon","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"agonId","type":"uint64"},{"indexed":true,"name":"master","type":"address"},{"indexed":true,"name":"outFlag","type":"uint64"},{"indexed":false,"name":"challenger","type":"address"}],"name":"ResolveAgon","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"preAdmin","type":"address"},{"indexed":true,"name":"newAdmin","type":"address"}],"name":"AdminTransferred","type":"event"}]

606060409081526000805460ff19168155600660075560085560a09051908101604090815266b1a2bc2ec5000082526702c68af0bb14000060208301526706f05b59d3b2000090820152670de0b6b3a76400006060820152671bc16d674ec8000060808201526200007590600990600562000230565b5034156200008257600080fd5b6200008c6200027e565b60008054600160a060020a033316610100810261010060a860020a0319928316811790921690911790915560018054600160a060020a0319908116831790915560028054909116909117905560c06040519081016040908152600080835260208301819052908201819052606082015260016080820181905260a082018190526003805492935091908101620001238382620002b3565b6000928352602090922083916003020181518154600160a060020a031916600160a060020a03919091161781556020820151600182018054600160a060020a031916600160a060020a039290921691909117905560408201518160010160146101000a8154816001604060020a0302191690836001604060020a03160217905550606082015160028201805467ffffffffffffffff19166001604060020a039290921691909117905560808201518160020160086101000a8154816001604060020a0302191690836001604060020a0316021790555060a08201518160020160106101000a8154816001604060020a0302191690836001604060020a03160217905550505050506200036a565b82600581019282156200026c579160200282015b828111156200026c57825182906001604060020a031690559160200191906001019062000244565b506200027a929150620002e7565b5090565b60c06040519081016040908152600080835260208301819052908201819052606082018190526080820181905260a082015290565b815481835581811511620002e257600302816003028360005260206000209182019101620002e2919062000307565b505050565b6200030491905b808211156200027a5760008155600101620002ee565b90565b6200030491905b808211156200027a578054600160a060020a03191681556001810180547fffffffff00000000000000000000000000000000000000000000000000000000169055600281018054600160c060020a03191690556003016200030e565b611eff806200037a6000396000f3006060604052600436106101695763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631531076c8114610176578063165126241461038e57806326180224146103a3578063271a50db146103be57806328b6c658146103dd57806330efb8d3146104025780633407dd2414610415578063549c7b58146104545780636044ce6e146104b957806367d0661d146104d95780636d57e2a9146104ec578063704b6c021461055e578063748c350b1461057d578063750240a214610593578063752c8777146105a657806379859a78146105c557806382cb9df9146105db578063887533431461060a57806388d52ef71461061d5780639b8d306414610630578063a87e0c331461064f578063b187bd261461066a578063b9aa823614610691578063bf8bdac1146106a4578063bfae2f0e146106c3578063cdd977e0146106d6578063f0af7e65146106e9578063f696c4ed14610709575b341561017457600080fd5b005b341561018157600080fd5b61019c67ffffffffffffffff60043581169060243516610735565b604051808060200180602001806020018060200180602001806020018060200188810388528f818151815260200191508051906020019060200280838360005b838110156101f45780820151838201526020016101dc565b5050505090500188810387528e818151815260200191508051906020019060200280838360005b8381101561023357808201518382015260200161021b565b5050505090500188810386528d818151815260200191508051906020019060200280838360005b8381101561027257808201518382015260200161025a565b5050505090500188810385528c818151815260200191508051906020019060200280838360005b838110156102b1578082015183820152602001610299565b5050505090500188810384528b818151815260200191508051906020019060200280838360005b838110156102f05780820151838201526020016102d8565b5050505090500188810383528a818151815260200191508051906020019060200280838360005b8381101561032f578082015183820152602001610317565b50505050905001888103825289818151815260200191508051906020019060200280838360005b8381101561036e578082015183820152602001610356565b505050509050019e50505050505050505050505050505060405180910390f35b341561039957600080fd5b6101746004610aa1565b61017467ffffffffffffffff60043581169060243516610bcc565b34156103c957600080fd5b610174600160a060020a0360043516610d43565b34156103e857600080fd5b6103f0610d85565b60405190815260200160405180910390f35b341561040d57600080fd5b610174610d8b565b341561042057600080fd5b610437600160a060020a0360043516602435610dc8565b60405167ffffffffffffffff909116815260200160405180910390f35b341561045f57600080fd5b61046a600435610e14565b604051600160a060020a03968716815294909516602085015267ffffffffffffffff928316604080860191909152918316606085015282166080840152921660a082015260c001905180910390f35b34156104c457600080fd5b61017467ffffffffffffffff60043516610ef5565b34156104e457600080fd5b610174611077565b34156104f757600080fd5b61050b600160a060020a03600435166110b6565b60405160208082528190810183818151815260200191508051906020019060200280838360005b8381101561054a578082015183820152602001610532565b505050509050019250505060405180910390f35b341561056957600080fd5b610174600160a060020a036004351661116d565b341561058857600080fd5b6103f0600435611218565b341561059e57600080fd5b61017461122c565b34156105b157600080fd5b610174600160a060020a036004351661128d565b34156105d057600080fd5b6101746004356112e4565b34156105e657600080fd5b6105ee611333565b604051600160a060020a03909116815260200160405180910390f35b341561061557600080fd5b6103f0611342565b341561062857600080fd5b6105ee611348565b341561063b57600080fd5b610174600160a060020a0360043516611357565b61017467ffffffffffffffff600435811690602435166113c9565b341561067557600080fd5b61067d6115c6565b604051901515815260200160405180910390f35b341561069c57600080fd5b6103f06115cf565b34156106af57600080fd5b610174600160a060020a03600435166115da565b34156106ce57600080fd5b6105ee61164c565b34156106e157600080fd5b6105ee611660565b34156106f457600080fd5b61017467ffffffffffffffff6004351661166f565b341561071457600080fd5b61017467ffffffffffffffff600435811690602435166044356064356117df565b61073d611d98565b610745611d98565b61074d611d98565b610755611d98565b61075d611d98565b610765611d98565b61076d611d98565b600354600080808067ffffffffffffffff808616908f161061078e57600080fd5b600067ffffffffffffffff8f16116107a557600080fd5b67ffffffffffffffff8d1615156107ca578d850367ffffffffffffffff1693506107ff565b8c67ffffffffffffffff168e860367ffffffffffffffff1610156107f0578d85036107f2565b8c5b67ffffffffffffffff1693505b8360405180591061080d5750595b90808252806020026020018201604052509b508360405180591061082e5750595b90808252806020026020018201604052509a508360405180591061084f5750595b90808252806020026020018201604052509950836040518059106108705750595b90808252806020026020018201604052509850836040518059106108915750595b90808252806020026020018201604052509750836040518059106108b25750595b90808252806020026020018201604052509650836040518059106108d35750595b90808252806020026020018201604052509550600092508d91505b8467ffffffffffffffff168267ffffffffffffffff161015610a90576003805467ffffffffffffffff841690811061092257fe5b90600052602060002090600302019050818c848151811061093f57fe5b67ffffffffffffffff9092166020928302909101909101528054600160a060020a03168b848151811061096e57fe5b600160a060020a03928316602091820290920101526001820154168a848151811061099557fe5b600160a060020a03909216602092830290910190910152600181015467ffffffffffffffff60a060020a909104168984815181106109cf57fe5b67ffffffffffffffff928316602091820290920101526002820154168884815181106109f757fe5b67ffffffffffffffff92831660209182029092010152600282015468010000000000000000900416878481518110610a2b57fe5b67ffffffffffffffff928316602091820290920101526002820154608060020a900416868481518110610a5a57fe5b67ffffffffffffffff90921660209283029091019091015260019290920191838310610a8557610a90565b8160010191506108ee565b505050505092959891949750929550565b60005433600160a060020a039081166101009092041614610ac157600080fd5b66038d7ea4c6800081351015610ad657600080fd5b803560208201351015610ae857600080fd5b602081013560408201351015610afd57600080fd5b604081013560608201351015610b1257600080fd5b606081013560808201351015610b2757600080fd5b678ac7230489e8000060808201351115610b4057600080fd5b633b9aca0081350615610b5257600080fd5b633b9aca0060208201350615610b6757600080fd5b633b9aca0060408201350615610b7c57600080fd5b633b9aca0060608201350615610b9157600080fd5b633b9aca0060808201350615610ba657600080fd5b80356009556020810135600a556040810135600b556060810135600c5560800135600d55565b6000805460ff1615610bdd57600080fd5b60035467ffffffffffffffff841610610bf557600080fd5b6003805467ffffffffffffffff8516908110610c0d57fe5b600091825260209091206003909102016002810154909150608060020a900467ffffffffffffffff1615610c4057600080fd5b805433600160a060020a0390811691161415610c5b57600080fd5b600181015467ffffffffffffffff60a060020a909104163414610c7d57600080fd5b6001810154600160a060020a031615610c9557600080fd5b600181018054600160a060020a03191633600160a060020a03818116929092179092556002830180546fffffffffffffffff000000000000000019166801000000000000000067ffffffffffffffff87811691909102919091179182905584549181169391909216918616907fa0ba07a483585de7059c8a25a63cfb94dcf6b739d6a1be71ccfa1f18c4bd46c090604051600160a060020a03909116815260200160405180910390a4505050565b60005433600160a060020a039081166101009092041614610d6357600080fd5b60058054600160a060020a031916600160a060020a0392909216919091179055565b60075481565b60005433600160a060020a039081166101009092041614610dab57600080fd5b60005460ff161515610dbc57600080fd5b6000805460ff19169055565b600660205281600052604060002081815481101515610de357fe5b9060005260206000209060049182820401919006600802915091509054906101000a900467ffffffffffffffff1681565b600080600080600080610e25611daa565b6003548810610e3357600080fd5b6003805489908110610e4157fe5b906000526020600020906003020160c060405190810160409081528254600160a060020a0390811683526001840154908116602084015267ffffffffffffffff60a060020a909104811691830191909152600290920154808316606083015268010000000000000000810483166080830152608060020a900490911660a0820152905080519650806020015195508060400151945080606001519350806080015192508060a0015191505091939550919395565b60015460009033600160a060020a03908116911614610f1357600080fd5b60035467ffffffffffffffff831610610f2b57600080fd5b6003805467ffffffffffffffff8416908110610f4357fe5b600091825260209091206003909102016002810154909150608060020a900467ffffffffffffffff1615610f7657600080fd5b6001810154600160a060020a031615610f8e57600080fd5b60028101805477ffffffffffffffff0000000000000000000000000000000019167063000000000000000000000000000000001790558054610fd990600160a060020a031683611be9565b80546001820154600160a060020a039091169067ffffffffffffffff60a060020a9091041680156108fc0290604051600060405180830381858888f19350505050151561102557600080fd5b6002810154815467ffffffffffffffff91821691600160a060020a039091169084167ffd639d46f5f92cd862f99f96540775f8126ed3bd3d40de3e0ef958bea7a7839660405160405180910390a45050565b60005433600160a060020a03908116610100909204161461109757600080fd5b60005460ff16156110a757600080fd5b6000805460ff19166001179055565b6110be611d98565b6006600083600160a060020a0316600160a060020a0316815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561116157602002820191906000526020600020906000905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff168152602001906008019060208260070104928301926001038202915080841161111c5790505b50505050509050919050565b60005433600160a060020a03908116610100909204161461118d57600080fd5b600160a060020a03811615156111a257600080fd5b600054600160a060020a03808316916101009004167ff8ccb027dfcd135e000e9d45e6cc2d662578a8825d4c45b5e32e0adf67e79ec660405160405180910390a360008054600160a060020a039092166101000274ffffffffffffffffffffffffffffffffffffffff0019909216919091179055565b6009816005811061122557fe5b0154905081565b6003546008545b8181101561128957600380548290811061124957fe5b6000918252602090912060039091020160020154608060020a900467ffffffffffffffff161515611281576000198101600855611289565b600101611233565b5050565b60005433600160a060020a0390811661010090920416146112ad57600080fd5b600160a060020a03811615156112c257600080fd5b60048054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a03908116610100909204161461130457600080fd5b6000811180156113145750601481105b151561131f57600080fd5b60075481141561132e57600080fd5b600755565b600254600160a060020a031681565b60085481565b600454600160a060020a031681565b60025433600160a060020a0390811691161480611387575060005433600160a060020a0390811661010090920416145b151561139257600080fd5b600160a060020a03811615156113a757600080fd5b60028054600160a060020a031916600160a060020a0392909216919091179055565b60008054819060ff16156113dc57600080fd5b600754600160a060020a0333166000908152600660205260409020541061140257600080fd5b60008367ffffffffffffffff1610158015611428575060048367ffffffffffffffff1611155b151561143357600080fd5b600967ffffffffffffffff84166005811061144a57fe5b0154341461145757600080fd5b600380549250600183019061146c9082611ddf565b506003805467ffffffffffffffff841690811061148557fe5b6000918252602080832060039092029091018054600160a060020a033316600160a060020a0319909116811782556001808301805467ffffffffffffffff34811660a060020a027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff90921691909117909155600284018054918b1667ffffffffffffffff19909216919091179055908452600690925260409092208054929350919081016115338382611e10565b916000526020600020906004918282040191900660080284909190916101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550508367ffffffffffffffff1633600160a060020a03168367ffffffffffffffff167f830f27eaee75486ef7f2c13f475ee236a246d39bacfc79eff747c5d65d65cec660405160405180910390a450505050565b60005460ff1681565b600354600019015b90565b60015433600160a060020a039081169116148061160a575060005433600160a060020a0390811661010090920416145b151561161557600080fd5b600160a060020a038116151561162a57600080fd5b60018054600160a060020a031916600160a060020a0392909216919091179055565b6000546101009004600160a060020a031681565b600154600160a060020a031681565b60035460009067ffffffffffffffff83161061168a57600080fd5b6003805467ffffffffffffffff84169081106116a257fe5b600091825260209091206003909102016002810154909150608060020a900467ffffffffffffffff16156116d557600080fd5b6001810154600160a060020a0316156116ed57600080fd5b805433600160a060020a0390811691161461170757600080fd5b60028101805477ffffffffffffffff0000000000000000000000000000000019167063000000000000000000000000000000001790556117473383611be9565b6001810154600160a060020a0333169067ffffffffffffffff60a060020a9091041680156108fc0290604051600060405180830381858888f19350505050151561179057600080fd5b600281015467ffffffffffffffff90811690600160a060020a0333169084167ffd639d46f5f92cd862f99f96540775f8126ed3bd3d40de3e0ef958bea7a7839660405160405180910390a45050565b600154600090819081908190819033600160a060020a0390811691161461180557600080fd5b60035467ffffffffffffffff8a161061181d57600080fd5b6003805467ffffffffffffffff8b1690811061183557fe5b600091825260209091206003909102016002810154909550608060020a900467ffffffffffffffff1615801561187757506001850154600160a060020a031615155b151561188257600080fd5b600554600160a060020a0316151561189957600080fd5b6005546002860154600160a060020a039091169063c63c1a27908a9068010000000000000000900467ffffffffffffffff168a8a6040517c010000000000000000000000000000000000000000000000000000000063ffffffff871602815267ffffffffffffffff948516600482015292909316602483015260448201526064810191909152608401602060405180830381600087803b151561193b57600080fd5b5af1151561194857600080fd5b5050506040518051945050600167ffffffffffffffff8516148061197657508367ffffffffffffffff166002145b151561198157600080fd5b60028501805477ffffffffffffffff000000000000000000000000000000001916608060020a67ffffffffffffffff87160217905584546119cb90600160a060020a03168a611be9565b60018501546119ec9060a060020a900467ffffffffffffffff16600a611d38565b6001860154909350611a22908490611a169060a060020a900467ffffffffffffffff166002611d54565b9063ffffffff611d8616565b91508367ffffffffffffffff1660011415611a6e578454600160a060020a031682156108fc0283604051600060405180830381858888f193505050501515611a6957600080fd5b611aa3565b6001850154600160a060020a031682156108fc0283604051600060405180830381858888f193505050501515611aa357600080fd5b600454600160a060020a031615611b4457611ac583600263ffffffff611d3816565b600454909150600160a060020a031681156108fc0282604051600060405180830381858888f193505050501515611afb57600080fd5b600254600160a060020a03166108fc611b1a858463ffffffff611d8616565b9081150290604051600060405180830381858888f193505050501515611b3f57600080fd5b611b77565b600254600160a060020a031683156108fc0284604051600060405180830381858888f193505050501515611b7757600080fd5b60028501548554600187015467ffffffffffffffff92831692600160a060020a0392831692908d16917ff372819367e2d93aa2fb39fda1545cb6afc53b21d48fc6363474881a4a2cf8759116604051600160a060020a03909116815260200160405180910390a4505050505050505050565b600160a060020a03821660009081526006602052604081208054909180808311611c1257600080fd5b506063905060005b82811015611c81578381815481101515611c3057fe5b90600052602060002090600491828204019190066008029054906101000a900467ffffffffffffffff1667ffffffffffffffff168567ffffffffffffffff161415611c79578091505b600101611c1a565b6063821415611c8f57600080fd5b60001983018214611d1f578360018403815481101515611cab57fe5b90600052602060002090600491828204019190066008029054906101000a900467ffffffffffffffff168483815481101515611ce357fe5b90600052602060002090600491828204019190066008026101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b835460001901611d2f8582611e10565b50505050505050565b6000808284811515611d4657fe5b0490508091505b5092915050565b600080831515611d675760009150611d4d565b50828202828482811515611d7757fe5b0414611d7f57fe5b9392505050565b600082821115611d9257fe5b50900390565b60206040519081016040526000815290565b60c06040519081016040908152600080835260208301819052908201819052606082018190526080820181905260a082015290565b815481835581811511611e0b57600302816003028360005260206000209182019101611e0b9190611e44565b505050565b815481835581811511611e0b576003016004900481600301600490048360005260206000209182019101611e0b9190611eb9565b6115d791905b80821115611eb5578054600160a060020a03191681556001810180547fffffffff0000000000000000000000000000000000000000000000000000000016905560028101805477ffffffffffffffffffffffffffffffffffffffffffffffff19169055600301611e4a565b5090565b6115d791905b80821115611eb55760008155600101611ebf5600a165627a7a72305820c4ee1ad43da069adb42fbc83017c6bc515bc13acbcfd67ac9e5a28b198247f450029

Deployed Bytecode

0x6060604052600436106101695763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631531076c8114610176578063165126241461038e57806326180224146103a3578063271a50db146103be57806328b6c658146103dd57806330efb8d3146104025780633407dd2414610415578063549c7b58146104545780636044ce6e146104b957806367d0661d146104d95780636d57e2a9146104ec578063704b6c021461055e578063748c350b1461057d578063750240a214610593578063752c8777146105a657806379859a78146105c557806382cb9df9146105db578063887533431461060a57806388d52ef71461061d5780639b8d306414610630578063a87e0c331461064f578063b187bd261461066a578063b9aa823614610691578063bf8bdac1146106a4578063bfae2f0e146106c3578063cdd977e0146106d6578063f0af7e65146106e9578063f696c4ed14610709575b341561017457600080fd5b005b341561018157600080fd5b61019c67ffffffffffffffff60043581169060243516610735565b604051808060200180602001806020018060200180602001806020018060200188810388528f818151815260200191508051906020019060200280838360005b838110156101f45780820151838201526020016101dc565b5050505090500188810387528e818151815260200191508051906020019060200280838360005b8381101561023357808201518382015260200161021b565b5050505090500188810386528d818151815260200191508051906020019060200280838360005b8381101561027257808201518382015260200161025a565b5050505090500188810385528c818151815260200191508051906020019060200280838360005b838110156102b1578082015183820152602001610299565b5050505090500188810384528b818151815260200191508051906020019060200280838360005b838110156102f05780820151838201526020016102d8565b5050505090500188810383528a818151815260200191508051906020019060200280838360005b8381101561032f578082015183820152602001610317565b50505050905001888103825289818151815260200191508051906020019060200280838360005b8381101561036e578082015183820152602001610356565b505050509050019e50505050505050505050505050505060405180910390f35b341561039957600080fd5b6101746004610aa1565b61017467ffffffffffffffff60043581169060243516610bcc565b34156103c957600080fd5b610174600160a060020a0360043516610d43565b34156103e857600080fd5b6103f0610d85565b60405190815260200160405180910390f35b341561040d57600080fd5b610174610d8b565b341561042057600080fd5b610437600160a060020a0360043516602435610dc8565b60405167ffffffffffffffff909116815260200160405180910390f35b341561045f57600080fd5b61046a600435610e14565b604051600160a060020a03968716815294909516602085015267ffffffffffffffff928316604080860191909152918316606085015282166080840152921660a082015260c001905180910390f35b34156104c457600080fd5b61017467ffffffffffffffff60043516610ef5565b34156104e457600080fd5b610174611077565b34156104f757600080fd5b61050b600160a060020a03600435166110b6565b60405160208082528190810183818151815260200191508051906020019060200280838360005b8381101561054a578082015183820152602001610532565b505050509050019250505060405180910390f35b341561056957600080fd5b610174600160a060020a036004351661116d565b341561058857600080fd5b6103f0600435611218565b341561059e57600080fd5b61017461122c565b34156105b157600080fd5b610174600160a060020a036004351661128d565b34156105d057600080fd5b6101746004356112e4565b34156105e657600080fd5b6105ee611333565b604051600160a060020a03909116815260200160405180910390f35b341561061557600080fd5b6103f0611342565b341561062857600080fd5b6105ee611348565b341561063b57600080fd5b610174600160a060020a0360043516611357565b61017467ffffffffffffffff600435811690602435166113c9565b341561067557600080fd5b61067d6115c6565b604051901515815260200160405180910390f35b341561069c57600080fd5b6103f06115cf565b34156106af57600080fd5b610174600160a060020a03600435166115da565b34156106ce57600080fd5b6105ee61164c565b34156106e157600080fd5b6105ee611660565b34156106f457600080fd5b61017467ffffffffffffffff6004351661166f565b341561071457600080fd5b61017467ffffffffffffffff600435811690602435166044356064356117df565b61073d611d98565b610745611d98565b61074d611d98565b610755611d98565b61075d611d98565b610765611d98565b61076d611d98565b600354600080808067ffffffffffffffff808616908f161061078e57600080fd5b600067ffffffffffffffff8f16116107a557600080fd5b67ffffffffffffffff8d1615156107ca578d850367ffffffffffffffff1693506107ff565b8c67ffffffffffffffff168e860367ffffffffffffffff1610156107f0578d85036107f2565b8c5b67ffffffffffffffff1693505b8360405180591061080d5750595b90808252806020026020018201604052509b508360405180591061082e5750595b90808252806020026020018201604052509a508360405180591061084f5750595b90808252806020026020018201604052509950836040518059106108705750595b90808252806020026020018201604052509850836040518059106108915750595b90808252806020026020018201604052509750836040518059106108b25750595b90808252806020026020018201604052509650836040518059106108d35750595b90808252806020026020018201604052509550600092508d91505b8467ffffffffffffffff168267ffffffffffffffff161015610a90576003805467ffffffffffffffff841690811061092257fe5b90600052602060002090600302019050818c848151811061093f57fe5b67ffffffffffffffff9092166020928302909101909101528054600160a060020a03168b848151811061096e57fe5b600160a060020a03928316602091820290920101526001820154168a848151811061099557fe5b600160a060020a03909216602092830290910190910152600181015467ffffffffffffffff60a060020a909104168984815181106109cf57fe5b67ffffffffffffffff928316602091820290920101526002820154168884815181106109f757fe5b67ffffffffffffffff92831660209182029092010152600282015468010000000000000000900416878481518110610a2b57fe5b67ffffffffffffffff928316602091820290920101526002820154608060020a900416868481518110610a5a57fe5b67ffffffffffffffff90921660209283029091019091015260019290920191838310610a8557610a90565b8160010191506108ee565b505050505092959891949750929550565b60005433600160a060020a039081166101009092041614610ac157600080fd5b66038d7ea4c6800081351015610ad657600080fd5b803560208201351015610ae857600080fd5b602081013560408201351015610afd57600080fd5b604081013560608201351015610b1257600080fd5b606081013560808201351015610b2757600080fd5b678ac7230489e8000060808201351115610b4057600080fd5b633b9aca0081350615610b5257600080fd5b633b9aca0060208201350615610b6757600080fd5b633b9aca0060408201350615610b7c57600080fd5b633b9aca0060608201350615610b9157600080fd5b633b9aca0060808201350615610ba657600080fd5b80356009556020810135600a556040810135600b556060810135600c5560800135600d55565b6000805460ff1615610bdd57600080fd5b60035467ffffffffffffffff841610610bf557600080fd5b6003805467ffffffffffffffff8516908110610c0d57fe5b600091825260209091206003909102016002810154909150608060020a900467ffffffffffffffff1615610c4057600080fd5b805433600160a060020a0390811691161415610c5b57600080fd5b600181015467ffffffffffffffff60a060020a909104163414610c7d57600080fd5b6001810154600160a060020a031615610c9557600080fd5b600181018054600160a060020a03191633600160a060020a03818116929092179092556002830180546fffffffffffffffff000000000000000019166801000000000000000067ffffffffffffffff87811691909102919091179182905584549181169391909216918616907fa0ba07a483585de7059c8a25a63cfb94dcf6b739d6a1be71ccfa1f18c4bd46c090604051600160a060020a03909116815260200160405180910390a4505050565b60005433600160a060020a039081166101009092041614610d6357600080fd5b60058054600160a060020a031916600160a060020a0392909216919091179055565b60075481565b60005433600160a060020a039081166101009092041614610dab57600080fd5b60005460ff161515610dbc57600080fd5b6000805460ff19169055565b600660205281600052604060002081815481101515610de357fe5b9060005260206000209060049182820401919006600802915091509054906101000a900467ffffffffffffffff1681565b600080600080600080610e25611daa565b6003548810610e3357600080fd5b6003805489908110610e4157fe5b906000526020600020906003020160c060405190810160409081528254600160a060020a0390811683526001840154908116602084015267ffffffffffffffff60a060020a909104811691830191909152600290920154808316606083015268010000000000000000810483166080830152608060020a900490911660a0820152905080519650806020015195508060400151945080606001519350806080015192508060a0015191505091939550919395565b60015460009033600160a060020a03908116911614610f1357600080fd5b60035467ffffffffffffffff831610610f2b57600080fd5b6003805467ffffffffffffffff8416908110610f4357fe5b600091825260209091206003909102016002810154909150608060020a900467ffffffffffffffff1615610f7657600080fd5b6001810154600160a060020a031615610f8e57600080fd5b60028101805477ffffffffffffffff0000000000000000000000000000000019167063000000000000000000000000000000001790558054610fd990600160a060020a031683611be9565b80546001820154600160a060020a039091169067ffffffffffffffff60a060020a9091041680156108fc0290604051600060405180830381858888f19350505050151561102557600080fd5b6002810154815467ffffffffffffffff91821691600160a060020a039091169084167ffd639d46f5f92cd862f99f96540775f8126ed3bd3d40de3e0ef958bea7a7839660405160405180910390a45050565b60005433600160a060020a03908116610100909204161461109757600080fd5b60005460ff16156110a757600080fd5b6000805460ff19166001179055565b6110be611d98565b6006600083600160a060020a0316600160a060020a0316815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561116157602002820191906000526020600020906000905b82829054906101000a900467ffffffffffffffff1667ffffffffffffffff168152602001906008019060208260070104928301926001038202915080841161111c5790505b50505050509050919050565b60005433600160a060020a03908116610100909204161461118d57600080fd5b600160a060020a03811615156111a257600080fd5b600054600160a060020a03808316916101009004167ff8ccb027dfcd135e000e9d45e6cc2d662578a8825d4c45b5e32e0adf67e79ec660405160405180910390a360008054600160a060020a039092166101000274ffffffffffffffffffffffffffffffffffffffff0019909216919091179055565b6009816005811061122557fe5b0154905081565b6003546008545b8181101561128957600380548290811061124957fe5b6000918252602090912060039091020160020154608060020a900467ffffffffffffffff161515611281576000198101600855611289565b600101611233565b5050565b60005433600160a060020a0390811661010090920416146112ad57600080fd5b600160a060020a03811615156112c257600080fd5b60048054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a03908116610100909204161461130457600080fd5b6000811180156113145750601481105b151561131f57600080fd5b60075481141561132e57600080fd5b600755565b600254600160a060020a031681565b60085481565b600454600160a060020a031681565b60025433600160a060020a0390811691161480611387575060005433600160a060020a0390811661010090920416145b151561139257600080fd5b600160a060020a03811615156113a757600080fd5b60028054600160a060020a031916600160a060020a0392909216919091179055565b60008054819060ff16156113dc57600080fd5b600754600160a060020a0333166000908152600660205260409020541061140257600080fd5b60008367ffffffffffffffff1610158015611428575060048367ffffffffffffffff1611155b151561143357600080fd5b600967ffffffffffffffff84166005811061144a57fe5b0154341461145757600080fd5b600380549250600183019061146c9082611ddf565b506003805467ffffffffffffffff841690811061148557fe5b6000918252602080832060039092029091018054600160a060020a033316600160a060020a0319909116811782556001808301805467ffffffffffffffff34811660a060020a027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff90921691909117909155600284018054918b1667ffffffffffffffff19909216919091179055908452600690925260409092208054929350919081016115338382611e10565b916000526020600020906004918282040191900660080284909190916101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550508367ffffffffffffffff1633600160a060020a03168367ffffffffffffffff167f830f27eaee75486ef7f2c13f475ee236a246d39bacfc79eff747c5d65d65cec660405160405180910390a450505050565b60005460ff1681565b600354600019015b90565b60015433600160a060020a039081169116148061160a575060005433600160a060020a0390811661010090920416145b151561161557600080fd5b600160a060020a038116151561162a57600080fd5b60018054600160a060020a031916600160a060020a0392909216919091179055565b6000546101009004600160a060020a031681565b600154600160a060020a031681565b60035460009067ffffffffffffffff83161061168a57600080fd5b6003805467ffffffffffffffff84169081106116a257fe5b600091825260209091206003909102016002810154909150608060020a900467ffffffffffffffff16156116d557600080fd5b6001810154600160a060020a0316156116ed57600080fd5b805433600160a060020a0390811691161461170757600080fd5b60028101805477ffffffffffffffff0000000000000000000000000000000019167063000000000000000000000000000000001790556117473383611be9565b6001810154600160a060020a0333169067ffffffffffffffff60a060020a9091041680156108fc0290604051600060405180830381858888f19350505050151561179057600080fd5b600281015467ffffffffffffffff90811690600160a060020a0333169084167ffd639d46f5f92cd862f99f96540775f8126ed3bd3d40de3e0ef958bea7a7839660405160405180910390a45050565b600154600090819081908190819033600160a060020a0390811691161461180557600080fd5b60035467ffffffffffffffff8a161061181d57600080fd5b6003805467ffffffffffffffff8b1690811061183557fe5b600091825260209091206003909102016002810154909550608060020a900467ffffffffffffffff1615801561187757506001850154600160a060020a031615155b151561188257600080fd5b600554600160a060020a0316151561189957600080fd5b6005546002860154600160a060020a039091169063c63c1a27908a9068010000000000000000900467ffffffffffffffff168a8a6040517c010000000000000000000000000000000000000000000000000000000063ffffffff871602815267ffffffffffffffff948516600482015292909316602483015260448201526064810191909152608401602060405180830381600087803b151561193b57600080fd5b5af1151561194857600080fd5b5050506040518051945050600167ffffffffffffffff8516148061197657508367ffffffffffffffff166002145b151561198157600080fd5b60028501805477ffffffffffffffff000000000000000000000000000000001916608060020a67ffffffffffffffff87160217905584546119cb90600160a060020a03168a611be9565b60018501546119ec9060a060020a900467ffffffffffffffff16600a611d38565b6001860154909350611a22908490611a169060a060020a900467ffffffffffffffff166002611d54565b9063ffffffff611d8616565b91508367ffffffffffffffff1660011415611a6e578454600160a060020a031682156108fc0283604051600060405180830381858888f193505050501515611a6957600080fd5b611aa3565b6001850154600160a060020a031682156108fc0283604051600060405180830381858888f193505050501515611aa357600080fd5b600454600160a060020a031615611b4457611ac583600263ffffffff611d3816565b600454909150600160a060020a031681156108fc0282604051600060405180830381858888f193505050501515611afb57600080fd5b600254600160a060020a03166108fc611b1a858463ffffffff611d8616565b9081150290604051600060405180830381858888f193505050501515611b3f57600080fd5b611b77565b600254600160a060020a031683156108fc0284604051600060405180830381858888f193505050501515611b7757600080fd5b60028501548554600187015467ffffffffffffffff92831692600160a060020a0392831692908d16917ff372819367e2d93aa2fb39fda1545cb6afc53b21d48fc6363474881a4a2cf8759116604051600160a060020a03909116815260200160405180910390a4505050505050505050565b600160a060020a03821660009081526006602052604081208054909180808311611c1257600080fd5b506063905060005b82811015611c81578381815481101515611c3057fe5b90600052602060002090600491828204019190066008029054906101000a900467ffffffffffffffff1667ffffffffffffffff168567ffffffffffffffff161415611c79578091505b600101611c1a565b6063821415611c8f57600080fd5b60001983018214611d1f578360018403815481101515611cab57fe5b90600052602060002090600491828204019190066008029054906101000a900467ffffffffffffffff168483815481101515611ce357fe5b90600052602060002090600491828204019190066008026101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b835460001901611d2f8582611e10565b50505050505050565b6000808284811515611d4657fe5b0490508091505b5092915050565b600080831515611d675760009150611d4d565b50828202828482811515611d7757fe5b0414611d7f57fe5b9392505050565b600082821115611d9257fe5b50900390565b60206040519081016040526000815290565b60c06040519081016040908152600080835260208301819052908201819052606082018190526080820181905260a082015290565b815481835581811511611e0b57600302816003028360005260206000209182019101611e0b9190611e44565b505050565b815481835581811511611e0b576003016004900481600301600490048360005260206000209182019101611e0b9190611eb9565b6115d791905b80821115611eb5578054600160a060020a03191681556001810180547fffffffff0000000000000000000000000000000000000000000000000000000016905560028101805477ffffffffffffffffffffffffffffffffffffffffffffffff19169055600301611e4a565b5090565b6115d791905b80821115611eb55760008155600101611ebf5600a165627a7a72305820c4ee1ad43da069adb42fbc83017c6bc515bc13acbcfd67ac9e5a28b198247f450029

Swarm Source

bzzr://c4ee1ad43da069adb42fbc83017c6bc515bc13acbcfd67ac9e5a28b198247f45

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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.