ETH Price: $1,631.59 (+2.28%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Apply Signed Wit...173430822023-05-26 11:49:59689 days ago1685101799IN
0x445B774C...9a7FE6558
0 ETH0.0122305953
Apply Signed Wit...166488652023-02-17 13:55:59787 days ago1676642159IN
0x445B774C...9a7FE6558
0 ETH0.012232553
Apply Signed Wit...162715562022-12-26 21:16:35839 days ago1672089395IN
0x445B774C...9a7FE6558
0 ETH0.0122331453
Apply Signed Wit...157473732022-10-14 15:54:11913 days ago1665762851IN
0x445B774C...9a7FE6558
0 ETH0.012232553
Apply Signed Wit...152911102022-08-06 21:11:52981 days ago1659820312IN
0x445B774C...9a7FE6558
0 ETH0.0083084436
Apply Signed Wit...151845732022-07-21 7:25:52998 days ago1658388352IN
0x445B774C...9a7FE6558
0 ETH0.0033939215.42810275
Apply Signed Wit...151778402022-07-20 6:10:50999 days ago1658297450IN
0x445B774C...9a7FE6558
0 ETH0.0079193836
Apply Signed Wit...150785512022-07-04 21:42:181014 days ago1656970938IN
0x445B774C...9a7FE6558
0 ETH0.008309336
Apply Signed Wit...146652552022-04-27 7:49:581083 days ago1651045798IN
0x445B774C...9a7FE6558
0 ETH0.0081347736
Apply Signed Wit...145997322022-04-17 0:57:151093 days ago1650157035IN
0x445B774C...9a7FE6558
0 ETH0.0085396737
Apply Signed Wit...145321122022-04-06 11:35:431104 days ago1649244943IN
0x445B774C...9a7FE6558
0 ETH0.0064624528
Apply Signed Wit...145123822022-04-03 9:33:581107 days ago1648978438IN
0x445B774C...9a7FE6558
0 ETH0.0079069737
Apply Signed Wit...141386682022-02-04 9:22:161165 days ago1643966536IN
0x445B774C...9a7FE6558
0 ETH0.0212348892
Apply Signed Wit...138162402021-12-16 12:39:051215 days ago1639658345IN
0x445B774C...9a7FE6558
0 ETH0.0181636585
Apply Signed Wit...136006922021-11-12 10:04:531249 days ago1636711493IN
0x445B774C...9a7FE6558
0 ETH0.0330064143
Apply Signed Wit...134651292021-10-22 3:40:431270 days ago1634874043IN
0x445B774C...9a7FE6558
0 ETH0.0111982152.39812583
Apply Signed Wit...134650962021-10-22 3:35:091270 days ago1634873709IN
0x445B774C...9a7FE6558
0 ETH0.0119447358.8715102
Apply Signed Wit...134604202021-10-21 10:22:351271 days ago1634811755IN
0x445B774C...9a7FE6558
0 ETH0.0142715961.83481814
Transfer Ownersh...131475932021-09-02 17:21:041319 days ago1630603264IN
0x445B774C...9a7FE6558
0 ETH0.00430028149.55443784
Apply Signed Wit...126307692021-06-14 5:46:031400 days ago1623649563IN
0x445B774C...9a7FE6558
0 ETH0.0025896212
Apply Signed Wit...126120062021-06-11 7:45:351403 days ago1623397535IN
0x445B774C...9a7FE6558
0 ETH0.0023081410
Apply Signed Wit...125931372021-06-08 9:53:581406 days ago1623146038IN
0x445B774C...9a7FE6558
0 ETH0.0039928717.3
Apply Signed Wit...122265752021-04-12 17:30:481462 days ago1618248648IN
0x445B774C...9a7FE6558
0 ETH0.0253099110
Apply Signed Wit...121809572021-04-05 17:19:351469 days ago1617643175IN
0x445B774C...9a7FE6558
0 ETH0.04716845205
Apply Signed Wit...121808842021-04-05 17:04:521469 days ago1617642292IN
0x445B774C...9a7FE6558
0 ETH0.05653737263
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Everest

Compiler Version
v0.5.8+commit.23d335f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-04-24
*/

// File: contracts/lib/Context.sol

// From package @openzeppelin/[email protected]
pragma solidity 0.5.8;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: contracts/lib/Ownable.sol

// From package @openzeppelin/[email protected]
pragma solidity 0.5.8;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        _owner = _msgSender();
        emit OwnershipTransferred(address(0), _owner);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(isOwner(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _owner;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts/lib/SafeMath.sol

// From package @openzeppelin/[email protected]
pragma solidity 0.5.8;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     *
     * _Available since v2.4.0._
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: contracts/lib/lib.sol

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

/*
    Everest is using the dai contracts to mock the real dai that will be used.
    This contract lives here: https://github.com/makerdao/dss/blob/master/src/lib.sol
    Also we changed the pragma from 0.5.12 to ^0.5.8
*/

pragma solidity 0.5.8;

contract LibNote {
    event LogNote(
        bytes4   indexed  sig,
        address  indexed  usr,
        bytes32  indexed  arg1,
        bytes32  indexed  arg2,
        bytes             data
    ) anonymous;

    modifier note {
        _;
        /* solium-disable-next-line security/no-inline-assembly*/
        assembly {
            // log an 'anonymous' event with a constant 6 words of calldata
            // and four indexed topics: selector, caller, arg1 and arg2
            let mark := msize                         // end of memory ensures zero
            mstore(0x40, add(mark, 288))              // update free memory pointer
            mstore(mark, 0x20)                        // bytes type data offset
            mstore(add(mark, 0x20), 224)              // bytes size (padded)
            calldatacopy(add(mark, 0x40), 0, 224)     // bytes payload
            log4(mark, 288,                           // calldata
                 shl(224, shr(224, calldataload(0))), // msg.sig
                 caller,                              // msg.sender
                 calldataload(4),                     // arg1
                 calldataload(36)                     // arg2
                )
        }
    }
}

// File: contracts/lib/dai.sol

// Copyright (C) 2017, 2018, 2019 dbrock, rain, mrchico

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program.  If not, see <https://www.gnu.org/licenses/>.

/*
    Everest is using the dai contracts to mock the real dai that will be used.
    This contract lives here: https://github.com/makerdao/dss/blob/master/src/dai.sol
    Also we changed the pragma from 0.5.12 to ^0.5.8
*/

pragma solidity 0.5.8;


contract Dai is LibNote {
    // --- Auth ---
    mapping (address => uint) public wards;
    function rely(address guy) external note auth { wards[guy] = 1; }
    function deny(address guy) external note auth { wards[guy] = 0; }
    modifier auth {
        require(wards[msg.sender] == 1, "Dai/not-authorized");
        _;
    }

    // --- ERC20 Data ---
    string  public constant name     = "Dai Stablecoin";
    string  public constant symbol   = "DAI";
    string  public constant version  = "1";
    uint8   public constant decimals = 18;
    uint256 public totalSupply;

    mapping (address => uint)                      public balanceOf;
    mapping (address => mapping (address => uint)) public allowance;
    mapping (address => uint)                      public nonces;

    event Approval(address indexed src, address indexed guy, uint wad);
    event Transfer(address indexed src, address indexed dst, uint wad);

    // --- Math ---
    function add(uint x, uint y) internal pure returns (uint z) {
        require((z = x + y) >= x);
    }
    function sub(uint x, uint y) internal pure returns (uint z) {
        require((z = x - y) <= x);
    }

    // --- EIP712 niceties ---
    bytes32 public DOMAIN_SEPARATOR;
    // bytes32 public constant PERMIT_TYPEHASH = keccak256("Permit(address holder,address spender,uint256 nonce,uint256 expiry,bool allowed)");
    bytes32 public constant PERMIT_TYPEHASH = 0xea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb;

    constructor(uint256 chainId_) public {
        wards[msg.sender] = 1;
        DOMAIN_SEPARATOR = keccak256(abi.encode(
            keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
            keccak256(bytes(name)),
            keccak256(bytes(version)),
            chainId_,
            address(this)
        ));
    }

    // --- Token ---
    function transfer(address dst, uint wad) external returns (bool) {
        return transferFrom(msg.sender, dst, wad);
    }
    function transferFrom(address src, address dst, uint wad)
        public returns (bool)
    {
        require(balanceOf[src] >= wad, "Dai/insufficient-balance");
        if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) {
            require(allowance[src][msg.sender] >= wad, "Dai/insufficient-allowance");
            allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad);
        }
        balanceOf[src] = sub(balanceOf[src], wad);
        balanceOf[dst] = add(balanceOf[dst], wad);
        emit Transfer(src, dst, wad);
        return true;
    }
    function mint(address usr, uint wad) external auth {
        balanceOf[usr] = add(balanceOf[usr], wad);
        totalSupply    = add(totalSupply, wad);
        emit Transfer(address(0), usr, wad);
    }
    function burn(address usr, uint wad) external {
        require(balanceOf[usr] >= wad, "Dai/insufficient-balance");
        if (usr != msg.sender && allowance[usr][msg.sender] != uint(-1)) {
            require(allowance[usr][msg.sender] >= wad, "Dai/insufficient-allowance");
            allowance[usr][msg.sender] = sub(allowance[usr][msg.sender], wad);
        }
        balanceOf[usr] = sub(balanceOf[usr], wad);
        totalSupply    = sub(totalSupply, wad);
        emit Transfer(usr, address(0), wad);
    }
    function approve(address usr, uint wad) external returns (bool) {
        allowance[msg.sender][usr] = wad;
        emit Approval(msg.sender, usr, wad);
        return true;
    }

    // --- Alias ---
    function push(address usr, uint wad) external {
        transferFrom(msg.sender, usr, wad);
    }
    function pull(address usr, uint wad) external {
        transferFrom(usr, msg.sender, wad);
    }
    function move(address src, address dst, uint wad) external {
        transferFrom(src, dst, wad);
    }

    // --- Approve by signature ---
    function permit(address holder, address spender, uint256 nonce, uint256 expiry,
                    bool allowed, uint8 v, bytes32 r, bytes32 s) external
    {
        bytes32 digest =
            keccak256(abi.encodePacked(
                "\x19\x01",
                DOMAIN_SEPARATOR,
                keccak256(abi.encode(PERMIT_TYPEHASH,
                                     holder,
                                     spender,
                                     nonce,
                                     expiry,
                                     allowed))
        ));

        require(holder != address(0), "Dai/invalid-address-0");
        require(holder == ecrecover(digest, v, r, s), "Dai/invalid-permit");
        require(expiry == 0 || now <= expiry, "Dai/permit-expired");
        require(nonce == nonces[holder]++, "Dai/invalid-nonce");
        uint wad = allowed ? uint(-1) : 0;
        allowance[holder][spender] = wad;
        emit Approval(holder, spender, wad);
    }
}

// File: contracts/lib/AddressUtils.sol

// Taken from
// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Address.sol

pragma solidity 0.5.8;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUtils {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }
}

// File: contracts/ReserveBank.sol

pragma solidity 0.5.8;





/* Note, in Everest V1, the Reserve Bank is not upgradeable.
 * What will be done is when Everest V2 is deployed, all the tokens
 * stored in the Reserve Bank will be transferred to the new Reserve Bank.
 * The new Reverse Bank is likely to be upgradeable, and have more functionality.
 * However, the ownership of ReserveBank can still be transferred by the Everest owner
 *
 * Also, when the switch over happens from V1 to V2, it is okay the empty the reserve bank right
 * away. This is because all existing challenges will fail on V1, since Everest V1 will no
 * longer be the owner of the Registry, and any challenge will not be able to withdraw
 * from the Reserve Bank.
 */

contract ReserveBank is Ownable {
    using SafeMath for uint256;
    using AddressUtils for address;

    Dai public token;

    constructor(address _daiAddress) public {
        require(_daiAddress.isContract(), "The address should be a contract");
        token = Dai(_daiAddress);
    }

    /**
    @dev                Allow the owner of the contract (Everest) to withdraw the funds.
    @param _receiver    The address receiving the tokens
    @param _amount      The amount being withdrawn
    @return             True if successful
    */
    function withdraw(address _receiver, uint256 _amount)
        external
        onlyOwner
        returns (bool)
    {
        require(_receiver != address(0), "Receiver must not be 0 address");
        return token.transfer(_receiver, _amount);
    }
}

// File: contracts/Registry.sol

pragma solidity 0.5.8;


contract Registry is Ownable {
    // ------
    // STATE
    // ------

    struct Member {
        uint256 challengeID;
        uint256 memberStartTime; // Used for voting: voteWeight = sqrt(now - memberStartTime)
    }

    // Note, this address is used to map to the owner and delegates in the ERC-1056 registry
    mapping(address => Member) public members;

    // -----------------
    // GETTER FUNCTIONS
    // -----------------

    /**
    @dev                Get the challenge ID of a Member. If no challenge exists it returns 0
    @param _member      The member being checked
    @return             The challengeID
    */
    function getChallengeID(address _member) external view returns (uint256) {
        require(_member != address(0), "Can't check 0 address");
        Member memory member = members[_member];
        return member.challengeID;
    }

    /**
    @dev                Get the start time of a Member. If no time exists it returns 0
    @param _member      The member being checked
    @return             The start time
    */
    function getMemberStartTime(address _member) external view returns (uint256) {
        require(_member != address(0), "Can't check 0 address");
        Member memory member = members[_member];
        return member.memberStartTime;
    }

    // -----------------
    // SETTER FUNCTIONS
    // -----------------

    /**
    @dev                Set a member in the Registry. Only Everest can call this function.
    @param _member      The member being added
    @return             The start time of the member
    */
    function setMember(address _member) external onlyOwner returns (uint256) {
        require(_member != address(0), "Can't check 0 address");
        Member memory member = Member({
            challengeID: 0,
            /* solium-disable-next-line security/no-block-members*/
            memberStartTime: now
        });
        members[_member] = member;

        /* solium-disable-next-line security/no-block-members*/
        return now;
    }

    /**
    @dev                        Edit the challengeID. Can be used to set a challenge or remove a
                                challenge for a member. Only Everest can call.
    @param _member              The member being checked
    @param _newChallengeID      The new challenge ID. Pass in 0 to remove a challenge.
    */
    function editChallengeID(address _member, uint256 _newChallengeID) external onlyOwner {
        require(_member != address(0), "Can't check 0 address");
        Member storage member = members[_member];
        member.challengeID = _newChallengeID;
    }

    /**
    @dev                Remove a member. Only Everest can call
    @param _member      The member being removed
    */
    function deleteMember(address _member) external onlyOwner {
        require(_member != address(0), "Can't check 0 address");
        delete members[_member];
    }
}

// File: contracts/lib/EthereumDIDRegistry.sol

/*
Original Author: https://github.com/uport-project/ethr-did-registry

Pragma has been changed for this document from what is deployed on mainnet.
This shouldn"t pose a problem, but it means a lot of syntax has been changed.

This contract is only used for testing. On mainnet, we will use the existing
DID registry: https://etherscan.io/address/0xdca7ef03e98e0dc2b855be647c39abe984fcf21b#code

This contract is also deployed on all testnets, which can be found here:
https://github.com/uport-project/ethr-did-registry

This contract is included in this repository for testing purposes on ganache. For deploying
to testnets or mainnet, it will never be included in the deploy script, since we will use the
deployed versions in the above link.
*/
pragma solidity 0.5.8;

contract EthereumDIDRegistry {
    mapping(address => address) public owners;
    mapping(address => mapping(bytes32 => mapping(address => uint256))) public delegates;
    mapping(address => uint256) public changed;
    mapping(address => uint256) public nonce;

    modifier onlyOwner(address identity, address actor) {
        require(actor == identityOwner(identity), "Caller must be the identity owner");
        _;
    }

    event DIDOwnerChanged(address indexed identity, address owner, uint256 previousChange);

    event DIDDelegateChanged(
        address indexed identity,
        bytes32 delegateType,
        address delegate,
        uint256 validTo,
        uint256 previousChange
    );

    event DIDAttributeChanged(
        address indexed identity,
        bytes32 name,
        bytes value,
        uint256 validTo,
        uint256 previousChange
    );

    function identityOwner(address identity) public view returns (address) {
        address owner = owners[identity];
        if (owner != address(0)) {
            return owner;
        }
        return identity;
    }

    function checkSignature(address identity, uint8 sigV, bytes32 sigR, bytes32 sigS, bytes32 hash)
        internal
        returns (address)
    {
        address signer = ecrecover(hash, sigV, sigR, sigS);
        require(signer == identityOwner(identity), "Signer must be the identity owner");
        nonce[signer]++;
        return signer;
    }

    function validDelegate(address identity, bytes32 delegateType, address delegate)
        public
        view
        returns (bool)
    {
        uint256 validity = delegates[identity][keccak256(abi.encode(delegateType))][delegate];
        /* solium-disable-next-line security/no-block-members*/
        return (validity > now);
    }

    function changeOwner(address identity, address actor, address newOwner)
        internal
        onlyOwner(identity, actor)
    {
        owners[identity] = newOwner;
        emit DIDOwnerChanged(identity, newOwner, changed[identity]);
        changed[identity] = block.number;
    }

    function changeOwner(address identity, address newOwner) public {
        changeOwner(identity, msg.sender, newOwner);
    }

    function changeOwnerSigned(
        address identity,
        uint8 sigV,
        bytes32 sigR,
        bytes32 sigS,
        address newOwner
    ) public {
        bytes32 hash = keccak256(
            abi.encodePacked(
                bytes1(0x19),
                bytes1(0),
                this,
                nonce[identityOwner(identity)],
                identity,
                "changeOwner",
                newOwner
            )
        );
        changeOwner(identity, checkSignature(identity, sigV, sigR, sigS, hash), newOwner);
    }

    function addDelegate(
        address identity,
        address actor,
        bytes32 delegateType,
        address delegate,
        uint256 validity
    ) internal onlyOwner(identity, actor) {
        /* solium-disable-next-line security/no-block-members*/
        delegates[identity][keccak256(abi.encode(delegateType))][delegate] = now + validity;
        emit DIDDelegateChanged(
            identity,
            delegateType,
            delegate,
            /* solium-disable-next-line security/no-block-members*/
            now + validity,
            changed[identity]
        );
        changed[identity] = block.number;
    }

    function addDelegate(address identity, bytes32 delegateType, address delegate, uint256 validity)
        public
    {
        addDelegate(identity, msg.sender, delegateType, delegate, validity);
    }

    function addDelegateSigned(
        address identity,
        uint8 sigV,
        bytes32 sigR,
        bytes32 sigS,
        bytes32 delegateType,
        address delegate,
        uint256 validity
    ) public {
        bytes32 hash = keccak256(
            abi.encodePacked(
                bytes1(0x19),
                bytes1(0),
                this,
                nonce[identityOwner(identity)],
                identity,
                "addDelegate",
                delegateType,
                delegate,
                validity
            )
        );
        addDelegate(
            identity,
            checkSignature(identity, sigV, sigR, sigS, hash),
            delegateType,
            delegate,
            validity
        );
    }

    function revokeDelegate(address identity, address actor, bytes32 delegateType, address delegate)
        internal
        onlyOwner(identity, actor)
    {
        /* solium-disable-next-line security/no-block-members*/
        delegates[identity][keccak256(abi.encode(delegateType))][delegate] = now;
        /* solium-disable-next-line security/no-block-members*/
        emit DIDDelegateChanged(identity, delegateType, delegate, now, changed[identity]);
        changed[identity] = block.number;
    }

    function revokeDelegate(address identity, bytes32 delegateType, address delegate) public {
        revokeDelegate(identity, msg.sender, delegateType, delegate);
    }

    function revokeDelegateSigned(
        address identity,
        uint8 sigV,
        bytes32 sigR,
        bytes32 sigS,
        bytes32 delegateType,
        address delegate
    ) public {
        bytes32 hash = keccak256(
            abi.encodePacked(
                bytes1(0x19),
                bytes1(0),
                this,
                nonce[identityOwner(identity)],
                identity,
                "revokeDelegate",
                delegateType,
                delegate
            )
        );
        revokeDelegate(
            identity,
            checkSignature(identity, sigV, sigR, sigS, hash),
            delegateType,
            delegate
        );
    }

    function setAttribute(
        address identity,
        address actor,
        bytes32 name,
        bytes memory value,
        uint256 validity
    ) internal onlyOwner(identity, actor) {
        /* solium-disable-next-line security/no-block-members*/
        emit DIDAttributeChanged(identity, name, value, now + validity, changed[identity]);
        changed[identity] = block.number;
    }

    function setAttribute(address identity, bytes32 name, bytes memory value, uint256 validity)
        public
    {
        setAttribute(identity, msg.sender, name, value, validity);
    }

    function setAttributeSigned(
        address identity,
        uint8 sigV,
        bytes32 sigR,
        bytes32 sigS,
        bytes32 name,
        bytes memory value,
        uint256 validity
    ) public {
        bytes32 hash = keccak256(
            abi.encodePacked(
                bytes1(0x19),
                bytes1(0),
                this,
                nonce[identityOwner(identity)],
                identity,
                "setAttribute",
                name,
                value,
                validity
            )
        );
        setAttribute(
            identity,
            checkSignature(identity, sigV, sigR, sigS, hash),
            name,
            value,
            validity
        );
    }

    function revokeAttribute(address identity, address actor, bytes32 name, bytes memory value)
        internal
        onlyOwner(identity, actor)
    {
        emit DIDAttributeChanged(identity, name, value, 0, changed[identity]);
        changed[identity] = block.number;
    }

    function revokeAttribute(address identity, bytes32 name, bytes memory value) public {
        revokeAttribute(identity, msg.sender, name, value);
    }

    function revokeAttributeSigned(
        address identity,
        uint8 sigV,
        bytes32 sigR,
        bytes32 sigS,
        bytes32 name,
        bytes memory value
    ) public {
        bytes32 hash = keccak256(
            abi.encodePacked(
                bytes1(0x19),
                bytes1(0),
                this,
                nonce[identityOwner(identity)],
                identity,
                "revokeAttribute",
                name,
                value
            )
        );
        revokeAttribute(identity, checkSignature(identity, sigV, sigR, sigS, hash), name, value);
    }

}

// File: contracts/abdk-libraries-solidity/ABDKMath64x64.sol

/*
 * TheGraph is using this software as described in the README.md in this folder
 * https://github.com/abdk-consulting/abdk-libraries-solidity/tree/939f0a264f2d07a9e2c7a3a020f0db2c0885dc01
 *
 * This library has been significantly reduced to only include the functions needed for Everest
 * Please visit the library at the link above for more details
 */

/*
 * ABDK Math 64.64 Smart Contract Library.  Copyright © 2019 by ABDK Consulting.
 * Author: Mikhail Vladimirov <[email protected]>
 */
pragma solidity 0.5.8;

/**
 * Smart contract library of mathematical functions operating with signed
 * 64.64-bit fixed point numbers.  Signed 64.64-bit fixed point number is
 * basically a simple fraction whose numerator is signed 128-bit integer and
 * denominator is 2^64.  As long as denominator is always the same, there is no
 * need to store it, thus in Solidity signed 64.64-bit fixed point numbers are
 * represented by int128 type holding only the numerator.
 */
library ABDKMath64x64 {
  /**
   * Convert unsigned 256-bit integer number into signed 64.64-bit fixed point
   * number.  Revert on overflow.
   *
   * @param x unsigned 256-bit integer number
   * @return signed 64.64-bit fixed point number
   */
  function fromUInt (uint256 x) internal pure returns (int128) {
    require (x <= 0x7FFFFFFFFFFFFFFF);
    return int128 (x << 64);
  }

  /**
   * Convert signed 64.64 fixed point number into unsigned 64-bit integer
   * number rounding down.  Revert on underflow.
   *
   * @param x signed 64.64-bit fixed point number
   * @return unsigned 64-bit integer number
   */
  function toUInt (int128 x) internal pure returns (uint64) {
    require (x >= 0);
    return uint64 (x >> 64);
  }

  /**
   * Calculate sqrt (x) rounding down.  Revert if x < 0.
   *
   * @param x signed 64.64-bit fixed point number
   * @return signed 64.64-bit fixed point number
   */
  function sqrt (int128 x) internal pure returns (int128) {
    require (x >= 0);
    return int128 (sqrtu (uint256 (x) << 64, 0x10000000000000000));
  }

  /**
   * Calculate sqrt (x) rounding down, where x is unsigned 256-bit integer
   * number.
   *
   * @param x unsigned 256-bit integer number
   * @return unsigned 128-bit integer number
   */
  function sqrtu (uint256 x, uint256 r) private pure returns (uint128) {
    if (x == 0) return 0;
    else {
      require (r > 0);
      while (true) {
        uint256 rr = x / r;
        if (r == rr || r + 1 == rr) return uint128 (r);
        else if (r == rr + 1) return uint128 (rr);
        r = r + rr + 1 >> 1;
      }
    }
  }
}

// File: contracts/Everest.sol

/*
 Everest is a DAO that is designed to curate a Registry of members.

 This storage of the list is in Registry. The EthereumDIDRegistry is used to store data such
 as attributes and delegates and transfer of ownership. The only storage in the Everest contract
 is Challenges and Votes, which can be safely removed upon completion. This allows for Everest
 to be an upgradeable contract, while Registry is the persistent storage.

 The DAO is inspired by the Moloch DAO smart contracts https://github.com/MolochVentures/moloch
*/
pragma solidity 0.5.8;








contract Everest is Ownable {
    using SafeMath for uint256;
    using ABDKMath64x64 for uint256;
    using ABDKMath64x64 for int128;
    using AddressUtils for address;

    // -----------------
    // STATE
    // -----------------

    // Voting period length for a challenge (in unix seconds)
    uint256 public votingPeriodDuration;
    // Deposit that must be made in order to submit a challenge
    uint256 public challengeDeposit;
    // Application fee to become a member
    uint256 public applicationFee;
    // IPFS hash for off chain storage of the Everest Charter
    bytes32 public charter;
    // IPFS hash for off chain storage of the Everest Categories
    bytes32 public categories;
    // Challenge freeze that can prevent new challenges from being made
    bool public challengesFrozen;

    // Approved token contract reference (i.e. DAI)
    Dai public approvedToken;
    // Reserve bank contract reference
    ReserveBank public reserveBank;
    // ERC-1056 contract reference
    EthereumDIDRegistry public erc1056Registry;
    // Registry contract reference
    Registry public registry;

    // We pass in the bytes representation of the string 'everest'
    // bytes("everest") = 0x65766572657374. Then add 50 zeros to the end. The bytes32 value
    // is passed to the ERC-1056 registry, and hashed within the delegate functions
    bytes32 constant delegateType = 0x6576657265737400000000000000000000000000000000000000000000000000;

    mapping (uint256 => Challenge) public challenges;
    // Challenge counter for challenge IDs. With upgrading the contract, the latest challengeID
    // must be the last challengeID + 1 of the old version of Everest
    uint256 public challengeCounter;

    // -------
    // EVENTS
    // -------

    // Event data on delegates, owner, and offChainData are emitted from the ERC-1056 registry
    event NewMember(address indexed member, uint256 startTime, uint256 fee);
    event MemberExited(address indexed member);
    event CharterUpdated(bytes32 indexed data);
    event CategoriesUpdated(bytes32 indexed data);
    event Withdrawal(address indexed receiver, uint256 amount);
    event VotingDurationUpdated(uint256 indexed duration);
    event ChallengeDepositUpdated(uint256 indexed deposit);
    event ApplicationFeeUpdated(uint256 indexed fee);
    event ChallengesFrozen(bool isFrozen);


    event EverestDeployed(
        address owner,
        address approvedToken,
        uint256 votingPeriodDuration,
        uint256 challengeDeposit,
        uint256 applicationFee,
        bytes32 charter,
        bytes32 categories,
        address didRegistry,
        address reserveBank,
        address registry,
        uint256 startingChallengeID
    );

    event MemberChallenged(
        address indexed member,
        uint256 indexed challengeID,
        address indexed challenger,
        uint256 challengeEndTime,
        bytes32 details
    );

    event SubmitVote(
        uint256 indexed challengeID,
        address indexed submitter,      // i.e. msg.sender
        address indexed votingMember,
        VoteChoice voteChoice,
        uint256 voteWeight
    );

    event ChallengeFailed(
        address indexed member,
        uint256 indexed challengeID,
        uint256 yesVotes,
        uint256 noVotes,
        uint256 voterCount,
        uint256 resolverReward
    );

    event ChallengeSucceeded(
        address indexed member,
        uint256 indexed challengeID,
        uint256 yesVotes,
        uint256 noVotes,
        uint256 voterCount,
        uint256 challengerReward,
        uint256 resolverReward
    );

    // ------
    // STATE
    // ------

    enum VoteChoice {
        Null, // Same as not voting at all (i.e. 0 value)
        Yes,
        No
    }

    struct Challenge {
        address challenger;         // The member who submitted the challenge
        address challengee;         // The member being challenged
        uint256 yesVotes;           // The total weight of YES votes for this challenge
        uint256 noVotes;            // The total weight of NO votes for this challenge
        uint256 voterCount;         // Total count of voters participating in the challenge
        uint256 endTime;            // Ending time of the challenge
        bytes32 details;            // Challenge details - an IPFS hash, without Qm, to make bytes32
        mapping (address => VoteChoice) voteChoiceByMember;     // The choice by each member
        mapping (address => uint256) voteWeightByMember;        // The vote weight of each member
    }

    // ----------
    // MODIFIERS
    // ----------

    /**
    @dev                Modifer that allows a function to be called by the owner or delegate of a
                        member.
    @param _member      Member interacting with everest
    */
    modifier onlyMemberOwnerOrDelegate(address _member) {
        require(
            isMember(_member),
            "onlyMemberOwnerOrDelegate - Address is not a Member"
        );
        address memberOwner = erc1056Registry.identityOwner(_member);
        bool validDelegate = erc1056Registry.validDelegate(_member, delegateType, msg.sender);
        require(
            validDelegate || memberOwner == msg.sender,
            "onlyMemberOwnerOrDelegate - Caller must be delegate or owner"
        );
        _;
    }

    /**
    @dev                Modifer that allows a function to be called by owner of a member.
                        Only the member can call (no delegate permissions)
    @param _member      Member interacting with everest
    */
    modifier onlyMemberOwner(address _member) {
        require(
            isMember(_member),
            "onlyMemberOwner - Address is not a member"
        );
        address memberOwner = erc1056Registry.identityOwner(_member);
        require(
            memberOwner == msg.sender,
            "onlyMemberOwner - Caller must be the owner"
        );
        _;
    }

    // ----------
    // FUNCTIONS
    // ----------

    constructor(
        address _approvedToken,
        uint256 _votingPeriodDuration,
        uint256 _challengeDeposit,
        uint256 _applicationFee,
        bytes32 _charter,
        bytes32 _categories,
        address _DIDregistry,
        address _reserveBank,
        address _registry,
        uint256 _startingChallengeID
    ) public {
        require(_approvedToken.isContract(), "The _approvedToken address should be a contract");
        require(_DIDregistry.isContract(), "The _DIDregistry address should be a contract");
        require(_reserveBank.isContract(), "The _reserveBank address should be a contract");
        require(_registry.isContract(), "The _registry address should be a contract");
        require(_votingPeriodDuration > 0, "constructor - _votingPeriodDuration cannot be 0");
        require(_challengeDeposit > 0, "constructor - _challengeDeposit cannot be 0");
        require(_applicationFee > 0, "constructor - _applicationFee cannot be 0");
        require(_startingChallengeID != 0, "constructor - _startingChallengeID cannot be 0");

        approvedToken = Dai(_approvedToken);
        votingPeriodDuration = _votingPeriodDuration;
        challengeDeposit = _challengeDeposit;
        applicationFee = _applicationFee;
        charter = _charter;
        categories = _categories;
        erc1056Registry = EthereumDIDRegistry(_DIDregistry);
        reserveBank = ReserveBank(_reserveBank);
        registry = Registry(_registry);
        challengeCounter = _startingChallengeID;

        emit EverestDeployed(
            msg.sender,             // i.e owner
            _approvedToken,
            _votingPeriodDuration,
            _challengeDeposit,
            _applicationFee,
            _charter,
            _categories,
            _DIDregistry,
            _reserveBank,
            _registry,
            _startingChallengeID
        );
    }

    // ---------------------
    // ADD MEMBER FUNCTIONS
    // ---------------------

    /**
    @dev                            Allows a user to add a member to the Registry and
                                    add off chain data to the DID registry. The sig for
                                    changeOwner() and setAttribute() are from _newMember
                                    and for DAIS permit() it is the _owner.

                                    [0] = setAttributeSigned() signature
                                    [1] = changeOwnerSigned() signature
                                    [2] = permit() signature

    @param _newMember               The address of the new member
    @param _sigV                    V of sigs
    @param _sigR                    R of sigs
    @param _sigS                    S of sigs
    @param _memberOwner             Owner of the member (on the DID registry)
    @param _offChainDataName        Attribute name. Should be a string less than 32 bytes, converted
                                    to bytes32. example: 'ProjectData' = 0x50726f6a65637444617461,
                                    with zeros appended to make it 32 bytes
    @param _offChainDataValue       Attribute data stored offchain (IPFS)
    @param _offChainDataValidity    Length of time attribute data is valid (unix)
    */
    function applySignedWithAttributeAndPermit(
        address _newMember,
        uint8[3] calldata _sigV,
        bytes32[3] calldata _sigR,
        bytes32[3] calldata _sigS,
        address _memberOwner,
        bytes32 _offChainDataName,
        bytes calldata _offChainDataValue,
        uint256 _offChainDataValidity
    ) external {
        require(_newMember != address(0), "Member can't be 0 address");
        require(_memberOwner != address(0), "Owner can't be 0 address");
        applySignedWithAttributeAndPermitInternal(
            _newMember,
            _sigV,
            _sigR,
            _sigS,
            _memberOwner,
            _offChainDataName,
            _offChainDataValue,
            _offChainDataValidity
        );
    }

    /// @dev    Note that this internal function is created in order to avoid the
    ///         Solidity stack too deep error.
    function applySignedWithAttributeAndPermitInternal(
        address _newMember,
        uint8[3] memory _sigV,
        bytes32[3] memory _sigR,
        bytes32[3] memory _sigS,
        address _memberOwner,
        bytes32 _offChainDataName,
        bytes memory _offChainDataValue,
        uint256 _offChainDataValidity
    ) internal {
        // Approve Everest to transfer DAI on the owner's behalf
        // Expiry = 0 is infinite. true is unlimited allowance
        uint256 nonce = approvedToken.nonces(_memberOwner);
        approvedToken.permit(_memberOwner, address(this), nonce, 0, true, _sigV[2], _sigR[2], _sigS[2]);

        applySignedWithAttribute(
            _newMember,
            [_sigV[0], _sigV[1]],
            [_sigR[0], _sigR[1]],
            [_sigS[0], _sigS[1]],
            _memberOwner,
            _offChainDataName,
            _offChainDataValue,
            _offChainDataValidity
        );
    }

    /**
    @dev                            Functions the same as applySignedWithAttributeAndPermit(),
                                    except without permit(). This function should be called by
                                    any _owner that has already called permit() for Everest.

                                    [0] = setAttributeSigned() signature
                                    [1] = changeOwnerSigned() signature

    @param _newMember               The address of the new member
    @param _sigV                    V of sigs
    @param _sigR                    R of sigs
    @param _sigS                    S of sigs
    @param _memberOwner             Owner of the member application
    @param _offChainDataName        Attribute name. Should be a string less than 32 bytes, converted
                                    to bytes32. example: 'ProjectData' = 0x50726f6a65637444617461,
                                    with zeros appended to make it 32 bytes
    @param _offChainDataValue       Attribute data stored offchain (IPFS)
    @param _offChainDataValidity    Length of time attribute data is valid
    */
    function applySignedWithAttribute(
        address _newMember,
        uint8[2] memory _sigV,
        bytes32[2] memory _sigR,
        bytes32[2] memory _sigS,
        address _memberOwner,
        bytes32 _offChainDataName,
        bytes memory _offChainDataValue,
        uint256 _offChainDataValidity
    ) public {
        require(_newMember != address(0), "Member can't be 0 address");
        require(_memberOwner != address(0), "Owner can't be 0 address");
        require(
            registry.getMemberStartTime(_newMember) == 0,
            "applySignedInternal - This member already exists"
        );
        uint256 startTime = registry.setMember(_newMember);

        // This event should be emitted before changeOwnerSigned() is called. This way all events
        // in the Ethereum DID registry can start to be considered within the bounds of the event
        // event NewMember() and the end of membership with event MemberExit() or event
        // ChallengeSucceeded()
        emit NewMember(
            _newMember,
            startTime,
            applicationFee
        );

        erc1056Registry.setAttributeSigned(
            _newMember,
            _sigV[0],
            _sigR[0],
            _sigS[0],
            _offChainDataName,
            _offChainDataValue,
            _offChainDataValidity
        );

        erc1056Registry.changeOwnerSigned(_newMember, _sigV[1], _sigR[1], _sigS[1], _memberOwner);

        // Transfers tokens from owner to the reserve bank
        require(
            approvedToken.transferFrom(_memberOwner, address(reserveBank), applicationFee),
            "applySignedInternal - Token transfer failed"
        );
    }

    /**
    @dev                Allow a member to voluntarily leave. Note that this does not
                        reset ownership or delegates in the ERC-1056 registry. This must be done by
                        calling the respective functions in the registry that handle those.
    @param _member      Member exiting the list
    */
    function memberExit(
        address _member
    ) external onlyMemberOwner(_member) {
        require(_member != address(0), "Member can't be 0 address");
        require(
            !memberChallengeExists(_member),
            "memberExit - Can't exit during ongoing challenge"
        );
        registry.deleteMember(_member);
        emit MemberExited(_member);
    }

    // --------------------
    // CHALLENGE FUNCTIONS
    // --------------------

    /**
    @dev                        Starts a challenge on a member. Challenger deposits a fee.
    @param _challenger          The address of the member who is challenging another member
    @param _challengee          The address of the member being challenged
    @param _details             Extra details relevant to the challenge. (IPFS hash without Qm)
    @return                     Challenge ID for the created challenge
    */
    function challenge(
        address _challenger,
        address _challengee,
        bytes32 _details
    ) external onlyMemberOwner(_challenger) returns (uint256 challengeID) {
        require(_challenger != address(0), "Challenger can't be 0 address");
        require(isMember(_challengee), "challenge - Challengee must exist");
        require(
            _challenger != _challengee,
            "challenge - Can't challenge self"
        );
        require(challengesFrozen != true, "challenge - Cannot create challenge, frozen");
        uint256 currentChallengeID = registry.getChallengeID(_challengee);
        require(currentChallengeID == 0, "challenge - Existing challenge must be resolved first");

        uint256 newChallengeID = challengeCounter;
        Challenge memory newChallenge = Challenge({
            challenger: _challenger,
            challengee: _challengee,
            // It is okay to start counts at 0 here. submitVote() is called at the end of the func
            yesVotes: 0,
            noVotes: 0,
            voterCount: 0,
            /* solium-disable-next-line security/no-block-members*/
            endTime: now.add(votingPeriodDuration),
            details: _details
        });
        challengeCounter = challengeCounter.add(1);

        challenges[newChallengeID] = newChallenge;

        // Updates member to store most recent challenge
        registry.editChallengeID(_challengee, newChallengeID);

        // Transfer tokens from challenger to reserve bank
        require(
            approvedToken.transferFrom(msg.sender, address(reserveBank), challengeDeposit),
            "challenge - Token transfer failed"
        );

        emit MemberChallenged(
            _challengee,
            newChallengeID,
            _challenger,
            /* solium-disable-next-line security/no-block-members*/
            now.add(votingPeriodDuration),
            newChallenge.details
        );

        // Add challengers' vote into the challenge
        submitVote(newChallengeID, VoteChoice.Yes, _challenger);
        return newChallengeID;
    }

    /**
    @dev                    Submit a vote. Owner or delegate can submit
    @param _challengeID     The challenge ID
    @param _voteChoice      The vote choice (yes or no)
    @param _votingMember    The member who is voting
    */
    function submitVote(
        uint256 _challengeID,
        VoteChoice _voteChoice,
        address _votingMember
    ) public onlyMemberOwnerOrDelegate(_votingMember) {
        require(_votingMember != address(0), "Member can't be 0 address");
        require(
            _voteChoice == VoteChoice.Yes || _voteChoice == VoteChoice.No,
            "submitVote - Vote must be either Yes or No"
        );

        Challenge storage storedChallenge = challenges[_challengeID];
        require(
            storedChallenge.endTime > 0,
            "submitVote - Challenge does not exist"
        );
        require(
            !hasVotingPeriodExpired(storedChallenge.endTime),
            "submitVote - Challenge voting period has expired"
        );
        require(
            storedChallenge.voteChoiceByMember[_votingMember] == VoteChoice.Null,
            "submitVote - Member has already voted on this challenge"
        );

        require(
            storedChallenge.challengee != _votingMember,
            "submitVote - Member can't vote on their own challenge"
        );

        uint256 startTime = registry.getMemberStartTime(_votingMember);
        // The lower the member start time (i.e. the older the member) the more vote weight
        uint256 voteWeightSquared = storedChallenge.endTime.sub(startTime);

        // Here we use ABDKMath64x64 to do the square root of the vote weight
        // We have to covert it to a 64.64 fixed point number, do sqrt(), then convert it
        // back to uint256. uint256 wraps the result of toUInt(), since it returns uint64
        int128 sixtyFourBitFPInt = voteWeightSquared.fromUInt();
        int128 voteWeightInt128 = sixtyFourBitFPInt.sqrt();
        uint256 voteWeight = uint256(voteWeightInt128.toUInt());

        // Store vote with _votingMember, not msg.sender, since a delegate can vote
        storedChallenge.voteChoiceByMember[_votingMember] = _voteChoice;
        storedChallenge.voteWeightByMember[_votingMember] = voteWeight;
        storedChallenge.voterCount = storedChallenge.voterCount.add(1);

        // Count vote
        if (_voteChoice == VoteChoice.Yes) {
            storedChallenge.yesVotes = storedChallenge.yesVotes.add(voteWeight);
        } else if (_voteChoice == VoteChoice.No) {
            storedChallenge.noVotes = storedChallenge.noVotes.add(voteWeight);
        }

        emit SubmitVote(_challengeID, msg.sender, _votingMember, _voteChoice, voteWeight);
    }

    /**
    @dev                    Submit many votes from owner or delegate with multiple members they own
                            or are delegates of
    @param _challengeID     The challenge ID
    @param _voteChoices     The vote choices (yes or no)
    @param _voters          The members who are voting
    */
    function submitVotes(
        uint256 _challengeID,
        VoteChoice[] calldata _voteChoices,
        address[] calldata _voters
    ) external {
        require(
            _voteChoices.length == _voters.length,
            "submitVotes - Arrays must be equal"
        );
        require(_voteChoices.length < 90, "submitVotes - Array should be < 90 to avoid going over the block gas limit");
        for (uint256 i; i < _voteChoices.length; i++){
            submitVote(_challengeID, _voteChoices[i], _voters[i]);
        }
    }

    /**
    @dev                    Resolve a challenge A successful challenge means the member is removed.
                            Anyone can call this function. They will be rewarded with 1/10 of the
                            challenge deposit.
    @param _challengeID     The challenge ID
    */
    function resolveChallenge(uint256 _challengeID) external {
        challengeCanBeResolved(_challengeID);
        Challenge storage storedChallenge = challenges[_challengeID];

        bool didPass = storedChallenge.yesVotes > storedChallenge.noVotes;
        bool moreThanOneVote = storedChallenge.voterCount > 1;
        // Challenge reward is 1/10th the challenge deposit. This allows incentivization to
        // always resolve the challenge for the user that calls this function
        uint256 challengeRewardDivisor = 10;
        uint256 resolverReward = challengeDeposit.div(challengeRewardDivisor);

        if (didPass && moreThanOneVote) {
            address challengerOwner = erc1056Registry.identityOwner(storedChallenge.challenger);

            // The amount includes the applicationFee, which is the reward for challenging a project
            // and getting it successfully removed. Minus the resolver reward
            uint256 challengerReward = challengeDeposit.add(applicationFee).sub(resolverReward);
            require(
                reserveBank.withdraw(challengerOwner, challengerReward),
                "resolveChallenge - Rewarding challenger failed"
            );
            // Transfer resolver reward
            require(
                reserveBank.withdraw(msg.sender, resolverReward),
                "resolveChallenge - Rewarding resolver failed"
            );

            registry.deleteMember(storedChallenge.challengee);
            emit ChallengeSucceeded(
                storedChallenge.challengee,
                _challengeID,
                storedChallenge.yesVotes,
                storedChallenge.noVotes,
                storedChallenge.voterCount,
                challengerReward,
                resolverReward
            );

        } else {
            // Transfer resolver reward
            require(
                reserveBank.withdraw(msg.sender, resolverReward),
                "resolveChallenge - Rewarding resolver failed"
            );

            // Remove challenge ID from the Member in the registry
            registry.editChallengeID(storedChallenge.challengee, 0);
            emit ChallengeFailed(
                storedChallenge.challengee,
                _challengeID,
                storedChallenge.yesVotes,
                storedChallenge.noVotes,
                storedChallenge.voterCount,
                resolverReward
            );
        }

        // Delete challenge from Everest in either case
        delete challenges[_challengeID];
    }

    // ------------------------
    // EVEREST OWNER FUNCTIONS
    // ------------------------

    /**
    @dev                Allows the owner of everest to withdraw funds from the reserve bank.
    @param _receiver    The address receiving funds
    @param _amount      The amount of funds being withdrawn
    @return             True if withdrawal is successful
    */
    function withdraw(address _receiver, uint256 _amount) external onlyOwner returns (bool) {
        require(_receiver != address(0), "Receiver must not be 0 address");
        require(_amount > 0, "Amount must be greater than 0");
        emit Withdrawal(_receiver, _amount);
        return reserveBank.withdraw(_receiver, _amount);
    }

    /**
    @dev                Allows the owner of Everest to transfer the ownership of ReserveBank
    @param _newOwner    The new owner
    */
    function transferOwnershipReserveBank(address _newOwner) external onlyOwner {
        reserveBank.transferOwnership(_newOwner);
    }

    /**
    @dev                Allows the owner of Everest to transfer the ownership of Registry
    @param _newOwner    The new owner
    */
    function transferOwnershipRegistry(address _newOwner) external onlyOwner {
        registry.transferOwnership(_newOwner);
    }

    /**
    @dev                Updates the charter for Everest
    @param _newCharter  The data that point to the new charter
    */
    function updateCharter(bytes32 _newCharter) external onlyOwner {
        charter = _newCharter;
        emit CharterUpdated(charter);
    }

    /**
    @dev                Updates the categories for Everest
    @param _newCategories  The data that point to the new categories
    */
    function updateCategories(bytes32 _newCategories) external onlyOwner {
        categories = _newCategories;
        emit CategoriesUpdated(categories);
    }

    /**
    @dev                        Updates the voting duration for Everest
    @param _newVotingDuration   New voting duration in unix seconds
    */
    function updateVotingPeriodDuration(uint256 _newVotingDuration) external onlyOwner {
        votingPeriodDuration = _newVotingDuration;
        emit VotingDurationUpdated(votingPeriodDuration);
    }

    /**
    @dev                Updates the challenge deposit required
    @param _newDeposit  The new value for the challenge deposit, with decimals (10^18)
    */
    function updateChallengeDeposit(uint256 _newDeposit) external onlyOwner {
        challengeDeposit = _newDeposit;
        emit ChallengeDepositUpdated(challengeDeposit);
    }

    /**
    @dev            Updates the application fee for Everest
    @param _newFee  The new application fee, with decimals (10^18)
    */
    function updateApplicationFee(uint256 _newFee) external onlyOwner {
        applicationFee = _newFee;
        emit ApplicationFeeUpdated(applicationFee);
    }

    /**
    @dev                Freezes the ability to create challenges
    @param _isFrozen    Pass in true if challenges are to be frozen
    */
    function updateChallengeFreeze(bool _isFrozen) external onlyOwner {
        challengesFrozen = _isFrozen;
        emit ChallengesFrozen(challengesFrozen);
    }

    // -----------------
    // GETTER FUNCTIONS
    // -----------------


    /**
    @dev                Returns true if a challenge vote period has finished
    @param _endTime     The starting period of the challenge
    @return             True if voting period has expired
    */
    function hasVotingPeriodExpired(uint256 _endTime) private view returns (bool) {
        /* solium-disable-next-line security/no-block-members*/
        return now >= _endTime;
    }

    /**
    @dev            Returns true if the address is a member
    @param _member  The member name of the member whose status is to be examined
    @return         True is address is a member
    */
    function isMember(address _member) public view returns (bool){
        require(_member != address(0), "Member can't be 0 address");
        uint256 startTime = registry.getMemberStartTime(_member);
        if (startTime > 0){
            return true;
        }
        return false;
    }

    /**
    @dev            Returns true if the member has an unresolved challenge. False if the challenge
                    does not exist.
    @param _member  The member that is being checked for a challenge.
    @return         True if a challenge exists on the member
    */
    function memberChallengeExists(address _member) public view returns (bool) {
        require(_member != address(0), "Member can't be 0 address");
        uint256 challengeID = registry.getChallengeID(_member);
        return (challengeID > 0);
    }

    /**
    @dev                Determines whether voting has concluded in a challenge for a given
                        member. Throws if challenge can't be resolved
    @param _challengeID The challenge ID
    */
    function challengeCanBeResolved(uint256 _challengeID) private view {
        Challenge storage storedChallenge = challenges[_challengeID];
        require(
            challenges[_challengeID].endTime > 0,
            "challengeCanBeResolved - Challenge does not exist or was completed"
        );
        require(
            hasVotingPeriodExpired(storedChallenge.endTime),
            "challengeCanBeResolved - Current challenge is not ready to be resolved"
        );
    }
}

Contract Security Audit

Contract ABI

API
[{"constant":false,"inputs":[{"name":"_newCharter","type":"bytes32"}],"name":"updateCharter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"reserveBank","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"applicationFee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"challengeDeposit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"erc1056Registry","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newDeposit","type":"uint256"}],"name":"updateChallengeDeposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnershipReserveBank","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newFee","type":"uint256"}],"name":"updateApplicationFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_member","type":"address"}],"name":"memberChallengeExists","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_challengeID","type":"uint256"},{"name":"_voteChoices","type":"uint8[]"},{"name":"_voters","type":"address[]"}],"name":"submitVotes","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_challengeID","type":"uint256"}],"name":"resolveChallenge","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"registry","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_challenger","type":"address"},{"name":"_challengee","type":"address"},{"name":"_details","type":"bytes32"}],"name":"challenge","outputs":[{"name":"challengeID","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_challengeID","type":"uint256"},{"name":"_voteChoice","type":"uint8"},{"name":"_votingMember","type":"address"}],"name":"submitVote","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"challenges","outputs":[{"name":"challenger","type":"address"},{"name":"challengee","type":"address"},{"name":"yesVotes","type":"uint256"},{"name":"noVotes","type":"uint256"},{"name":"voterCount","type":"uint256"},{"name":"endTime","type":"uint256"},{"name":"details","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newVotingDuration","type":"uint256"}],"name":"updateVotingPeriodDuration","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_member","type":"address"}],"name":"isMember","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"votingPeriodDuration","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_member","type":"address"}],"name":"memberExit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"approvedToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newMember","type":"address"},{"name":"_sigV","type":"uint8[3]"},{"name":"_sigR","type":"bytes32[3]"},{"name":"_sigS","type":"bytes32[3]"},{"name":"_memberOwner","type":"address"},{"name":"_offChainDataName","type":"bytes32"},{"name":"_offChainDataValue","type":"bytes"},{"name":"_offChainDataValidity","type":"uint256"}],"name":"applySignedWithAttributeAndPermit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"charter","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_isFrozen","type":"bool"}],"name":"updateChallengeFreeze","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newMember","type":"address"},{"name":"_sigV","type":"uint8[2]"},{"name":"_sigR","type":"bytes32[2]"},{"name":"_sigS","type":"bytes32[2]"},{"name":"_memberOwner","type":"address"},{"name":"_offChainDataName","type":"bytes32"},{"name":"_offChainDataValue","type":"bytes"},{"name":"_offChainDataValidity","type":"uint256"}],"name":"applySignedWithAttribute","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnershipRegistry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_receiver","type":"address"},{"name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"challengeCounter","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newCategories","type":"bytes32"}],"name":"updateCategories","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"challengesFrozen","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"categories","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_approvedToken","type":"address"},{"name":"_votingPeriodDuration","type":"uint256"},{"name":"_challengeDeposit","type":"uint256"},{"name":"_applicationFee","type":"uint256"},{"name":"_charter","type":"bytes32"},{"name":"_categories","type":"bytes32"},{"name":"_DIDregistry","type":"address"},{"name":"_reserveBank","type":"address"},{"name":"_registry","type":"address"},{"name":"_startingChallengeID","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"member","type":"address"},{"indexed":false,"name":"startTime","type":"uint256"},{"indexed":false,"name":"fee","type":"uint256"}],"name":"NewMember","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"member","type":"address"}],"name":"MemberExited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"data","type":"bytes32"}],"name":"CharterUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"data","type":"bytes32"}],"name":"CategoriesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"receiver","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Withdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"duration","type":"uint256"}],"name":"VotingDurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"deposit","type":"uint256"}],"name":"ChallengeDepositUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"fee","type":"uint256"}],"name":"ApplicationFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"isFrozen","type":"bool"}],"name":"ChallengesFrozen","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"owner","type":"address"},{"indexed":false,"name":"approvedToken","type":"address"},{"indexed":false,"name":"votingPeriodDuration","type":"uint256"},{"indexed":false,"name":"challengeDeposit","type":"uint256"},{"indexed":false,"name":"applicationFee","type":"uint256"},{"indexed":false,"name":"charter","type":"bytes32"},{"indexed":false,"name":"categories","type":"bytes32"},{"indexed":false,"name":"didRegistry","type":"address"},{"indexed":false,"name":"reserveBank","type":"address"},{"indexed":false,"name":"registry","type":"address"},{"indexed":false,"name":"startingChallengeID","type":"uint256"}],"name":"EverestDeployed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"member","type":"address"},{"indexed":true,"name":"challengeID","type":"uint256"},{"indexed":true,"name":"challenger","type":"address"},{"indexed":false,"name":"challengeEndTime","type":"uint256"},{"indexed":false,"name":"details","type":"bytes32"}],"name":"MemberChallenged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"challengeID","type":"uint256"},{"indexed":true,"name":"submitter","type":"address"},{"indexed":true,"name":"votingMember","type":"address"},{"indexed":false,"name":"voteChoice","type":"uint8"},{"indexed":false,"name":"voteWeight","type":"uint256"}],"name":"SubmitVote","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"member","type":"address"},{"indexed":true,"name":"challengeID","type":"uint256"},{"indexed":false,"name":"yesVotes","type":"uint256"},{"indexed":false,"name":"noVotes","type":"uint256"},{"indexed":false,"name":"voterCount","type":"uint256"},{"indexed":false,"name":"resolverReward","type":"uint256"}],"name":"ChallengeFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"member","type":"address"},{"indexed":true,"name":"challengeID","type":"uint256"},{"indexed":false,"name":"yesVotes","type":"uint256"},{"indexed":false,"name":"noVotes","type":"uint256"},{"indexed":false,"name":"voterCount","type":"uint256"},{"indexed":false,"name":"challengerReward","type":"uint256"},{"indexed":false,"name":"resolverReward","type":"uint256"}],"name":"ChallengeSucceeded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

60806040523480156200001157600080fd5b506040516101408062003e1783398101806040526101408110156200003557600080fd5b50805160208083015160408401516060850151608086015160a087015160c088015160e08901516101008a0151610120909a01519899969895979496939592949193909290916200008a906200051b811b901c565b600080546001600160a01b0319166001600160a01b03928316178082556040519216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3620000f18a6001600160a01b03166200051f60201b620032511760201c565b62000148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018062003cb3602f913960400191505060405180910390fd5b62000167846001600160a01b03166200051f60201b620032511760201c565b620001be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d81526020018062003dc0602d913960400191505060405180910390fd5b620001dd836001600160a01b03166200051f60201b620032511760201c565b62000234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d81526020018062003d10602d913960400191505060405180910390fd5b62000253826001600160a01b03166200051f60201b620032511760201c565b620002aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018062003ded602a913960400191505060405180910390fd5b6000891162000305576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018062003d3d602f913960400191505060405180910390fd5b6000881162000360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b81526020018062003d95602b913960400191505060405180910390fd5b60008711620003bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602981526020018062003d6c6029913960400191505060405180910390fd5b8062000413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e81526020018062003ce2602e913960400191505060405180910390fd5b600680546001600160a01b03808d16610100818102610100600160a81b03199094169390931790935560018c905560028b905560038a905560048990556005889055600880548883166001600160a01b0319918216811790925560078054898516908316811790915560098054948916949092168417909155600b8690556040805133815260208101969096528581018f9052606086018e9052608086018d905260a086018c905260c086018b905260e0860192909252928401929092526101208301526101408201839052517fc0b1d41a76bdf37d9b631b9bbf66c181cef37bf30a5dde5490abbd472d3ed176918190036101600190a1505050505050505050506200055c565b3390565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906200055457508115155b949350505050565b613747806200056c6000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80638f32d59b1161011a578063cd3c2b7b116100ad578063f3fef3a31161007c578063f3fef3a3146107b9578063f7fed02c146107e5578063f8db924a146107ed578063fc98a0341461080a578063fdb330631461081257610206565b8063cd3c2b7b14610603578063d9b04e2f14610622578063ea6c4dd71461076d578063f2fde38b1461079357610206565b8063ba881ea5116100e9578063ba881ea51461052b578063bab4625914610551578063c18766c014610559578063c1aadb4d146105fb57610206565b80638f32d59b146104d8578063935ffcee146104e0578063a230c524146104fd578063b5fdb88e1461052357610206565b806341af318c1161019d5780637b1039991161016c5780637b103999146103fc5780637f3adce5146104045780638a97d4d21461043a5780638da5cb5b1461046f5780638f1d37761461047757610206565b806341af318c146102d8578063625fef2114610312578063715018a6146103d7578063761c7cfe146103df57610206565b8063262ee427116101d9578063262ee4271461027057806335928991146102785780633a8b71b0146102955780633ac46a6e146102bb57610206565b80630240a7cd1461020b578063029468041461022a57806304cbb47f1461024e5780630d13fd7b14610268575b600080fd5b6102286004803603602081101561022157600080fd5b503561081a565b005b610232610897565b604080516001600160a01b039092168252519081900360200190f35b6102566108a6565b60408051918252519081900360200190f35b6102566108ac565b6102326108b2565b6102286004803603602081101561028e57600080fd5b50356108c1565b610228600480360360208110156102ab57600080fd5b50356001600160a01b031661093e565b610228600480360360208110156102d157600080fd5b50356109f4565b6102fe600480360360208110156102ee57600080fd5b50356001600160a01b0316610a71565b604080519115158252519081900360200190f35b6102286004803603606081101561032857600080fd5b81359190810190604081016020820135600160201b81111561034957600080fd5b82018360208201111561035b57600080fd5b803590602001918460208302840111600160201b8311171561037c57600080fd5b919390929091602081019035600160201b81111561039957600080fd5b8201836020820111156103ab57600080fd5b803590602001918460208302840111600160201b831117156103cc57600080fd5b509092509050610b4a565b610228610c30565b610228600480360360208110156103f557600080fd5b5035610cc4565b610232611220565b6102566004803603606081101561041a57600080fd5b506001600160a01b0381358116916020810135909116906040013561122f565b6102286004803603606081101561045057600080fd5b50803590602081013560ff1690604001356001600160a01b0316611813565b610232611de6565b6104946004803603602081101561048d57600080fd5b5035611df5565b604080516001600160a01b039889168152969097166020870152858701949094526060850192909252608084015260a083015260c082015290519081900360e00190f35b6102fe611e3e565b610228600480360360208110156104f657600080fd5b5035611e62565b6102fe6004803603602081101561051357600080fd5b50356001600160a01b0316611edf565b610256611fc8565b6102286004803603602081101561054157600080fd5b50356001600160a01b0316611fce565b610232612218565b61022860048036036101c081101561057057600080fd5b6001600160a01b0382358116926020810192608082019260e08301926101408101359091169161016082013591908101906101a08101610180820135600160201b8111156105bd57600080fd5b8201836020820111156105cf57600080fd5b803590602001918460018302840111600160201b831117156105f057600080fd5b91935091503561222c565b610256612397565b6102286004803603602081101561061957600080fd5b5035151561239d565b610228600480360361016081101561063957600080fd5b6040805180820182526001600160a01b03843516939283019291606083019190602084019060029083908390808284376000920191909152505060408051808201825292959493818101939250906002908390839080828437600092019190915250506040805180820182529295949381810193925090600290839083908082843760009201919091525091946001600160a01b03843516946020850135949193509150606081019060400135600160201b8111156106f757600080fd5b82018360208201111561070957600080fd5b803590602001918460018302840111600160201b8311171561072a57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250612433915050565b6102286004803603602081101561078357600080fd5b50356001600160a01b0316612900565b610228600480360360208110156107a957600080fd5b50356001600160a01b031661299b565b6102fe600480360360408110156107cf57600080fd5b506001600160a01b0381351690602001356129f1565b610256612bc0565b6102286004803603602081101561080357600080fd5b5035612bc6565b6102fe612c43565b610256612c4c565b610822611e3e565b6108645760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b600481905560405181907fb15fb48110a440fe2c3d7bef86e06683757886eda0b8a8a36de9a66fb1c4e1b890600090a250565b6007546001600160a01b031681565b60035481565b60025481565b6008546001600160a01b031681565b6108c9611e3e565b61090b5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b600281905560405181907fa69c972469f9614c85c9ac818374e1031a8f45ca70b86cbef3277ddeb2ae881790600090a250565b610946611e3e565b6109885760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b60075460408051600160e01b63f2fde38b0281526001600160a01b0384811660048301529151919092169163f2fde38b91602480830192600092919082900301818387803b1580156109d957600080fd5b505af11580156109ed573d6000803e3d6000fd5b5050505050565b6109fc611e3e565b610a3e5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b600381905560405181907f278405ac6b35ec06005a67bad1cf9ce626a0ab9d57c10a129603b7f3fa69bc6d90600090a250565b60006001600160a01b038216610abf5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613477833981519152604482015290519081900360640190fd5b60095460408051600160e01b632b94ea970281526001600160a01b03858116600483015291516000939290921691632b94ea9791602480820192602092909190829003018186803b158015610b1357600080fd5b505afa158015610b27573d6000803e3d6000fd5b505050506040513d6020811015610b3d57600080fd5b505115159150505b919050565b828114610b8b57604051600160e51b62461bcd0281526004018080602001828103825260228152602001806135b46022913960400191505060405180910390fd5b605a8310610bcd57604051600160e51b62461bcd02815260040180806020018281038252604a815260200180613392604a913960600191505060405180910390fd5b60005b83811015610c2857610c2086868684818110610be857fe5b90506020020135600281118015610bfe57600080fd5b50858585818110610c0b57fe5b905060200201356001600160a01b0316611813565b600101610bd0565b505050505050565b610c38611e3e565b610c7a5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610ccd81612c52565b6000818152600a6020819052604082206003810154600280830154600484015491549395921093600190911192909190610d0d908363ffffffff612cf216565b9050838015610d195750825b1561103657600854855460408051600160e31b6310e67a9d0281526001600160a01b03928316600482015290516000939290921691638733d4e891602480820192602092909190829003018186803b158015610d7457600080fd5b505afa158015610d88573d6000803e3d6000fd5b505050506040513d6020811015610d9e57600080fd5b5051600354600254919250600091610dcd918591610dc19163ffffffff612d3b16565b9063ffffffff612d9816565b60075460408051600160e01b63f3fef3a30281526001600160a01b03868116600483015260248201859052915193945091169163f3fef3a3916044808201926020929091908290030181600087803b158015610e2857600080fd5b505af1158015610e3c573d6000803e3d6000fd5b505050506040513d6020811015610e5257600080fd5b5051610e9257604051600160e51b62461bcd02815260040180806020018281038252602e8152602001806132b9602e913960400191505060405180910390fd5b60075460408051600160e01b63f3fef3a30281523360048201526024810186905290516001600160a01b039092169163f3fef3a3916044808201926020929091908290030181600087803b158015610ee957600080fd5b505af1158015610efd573d6000803e3d6000fd5b505050506040513d6020811015610f1357600080fd5b5051610f5357604051600160e51b62461bcd02815260040180806020018281038252602c8152602001806136f0602c913960400191505060405180910390fd5b600954600188015460408051600160e21b63047fec750281526001600160a01b039283166004820152905191909216916311ffb1d491602480830192600092919082900301818387803b158015610fa957600080fd5b505af1158015610fbd573d6000803e3d6000fd5b5050506001880154600289015460038a015460048b0154604080519384526020840192909252828201526060820185905260808201879052518b93506001600160a01b03909216917f6fe8157468cbcf2ec08bdc5634cfeb6eab4b30efd8710f918ee1d460e3cbde8a9181900360a00190a350506111d0565b60075460408051600160e01b63f3fef3a30281523360048201526024810184905290516001600160a01b039092169163f3fef3a3916044808201926020929091908290030181600087803b15801561108d57600080fd5b505af11580156110a1573d6000803e3d6000fd5b505050506040513d60208110156110b757600080fd5b50516110f757604051600160e51b62461bcd02815260040180806020018281038252602c8152602001806136f0602c913960400191505060405180910390fd5b600954600186015460408051600160e21b623499330281526001600160a01b0392831660048201526000602482018190529151929093169262d264cc926044808301939282900301818387803b15801561115057600080fd5b505af1158015611164573d6000803e3d6000fd5b50505060018601546002870154600388015460048901546040805193845260208401929092528282015260608201859052518993506001600160a01b03909216917fac16885f194b0ecffcb1491584a07d23b227e8b3f1a5fc7582abb11739ba156a9181900360800190a35b50505060009283525050600a6020526040812080546001600160a01b0319908116825560018201805490911690556002810182905560038101829055600481018290556005810182905560060155565b6009546001600160a01b031681565b60008361123b81611edf565b61127957604051600160e51b62461bcd02815260040180806020018281038252602981526020018061341e6029913960400191505060405180910390fd5b60085460408051600160e31b6310e67a9d0281526001600160a01b03848116600483015291516000939290921691638733d4e891602480820192602092909190829003018186803b1580156112cd57600080fd5b505afa1580156112e1573d6000803e3d6000fd5b505050506040513d60208110156112f757600080fd5b505190506001600160a01b038116331461134557604051600160e51b62461bcd02815260040180806020018281038252602a8152602001806132e7602a913960400191505060405180910390fd5b6001600160a01b0386166113a35760408051600160e51b62461bcd02815260206004820152601d60248201527f4368616c6c656e6765722063616e277420626520302061646472657373000000604482015290519081900360640190fd5b6113ac85611edf565b6113ea57604051600160e51b62461bcd0281526004018080602001828103825260218152602001806136986021913960400191505060405180910390fd5b846001600160a01b0316866001600160a01b031614156114545760408051600160e51b62461bcd02815260206004820181905260248201527f6368616c6c656e6765202d2043616e2774206368616c6c656e67652073656c66604482015290519081900360640190fd5b60065460ff1615156001141561149e57604051600160e51b62461bcd02815260040180806020018281038252602b81526020018061328e602b913960400191505060405180910390fd5b60095460408051600160e01b632b94ea970281526001600160a01b03888116600483015291516000939290921691632b94ea9791602480820192602092909190829003018186803b1580156114f257600080fd5b505afa158015611506573d6000803e3d6000fd5b505050506040513d602081101561151c57600080fd5b50519050801561156057604051600160e51b62461bcd02815260040180806020018281038252603581526020018061363e6035913960400191505060405180910390fd5b600b5461156b6131ff565b6040518060e001604052808a6001600160a01b03168152602001896001600160a01b031681526020016000815260200160008152602001600081526020016115be60015442612d3b90919063ffffffff16565b8152602001889052600b549091506115dd90600163ffffffff612d3b16565b600b556000828152600a60209081526040808320845181546001600160a01b03199081166001600160a01b03928316178355938601516001830180549095169082161790935584820151600282015560608501516003820155608085015160048083019190915560a0860151600583015560c08601516006909201919091556009548251600160e21b623499330281528d851692810192909252602482018790529151919092169262d264cc926044808201939182900301818387803b1580156116a657600080fd5b505af11580156116ba573d6000803e3d6000fd5b505060065460075460025460408051600160e01b6323b872dd0281523360048201526001600160a01b03938416602482015260448101929092525161010090930490911693506323b872dd92506064808201926020929091908290030181600087803b15801561172957600080fd5b505af115801561173d573d6000803e3d6000fd5b505050506040513d602081101561175357600080fd5b505161179357604051600160e51b62461bcd0281526004018080602001828103825260218152602001806135936021913960400191505060405180910390fd5b886001600160a01b031682896001600160a01b03167fba98649ec7aa37c452be0ac230ba3460ee36dddc59a25ca8c0aa2d4a133144cd6117de60015442612d3b90919063ffffffff16565b60c08601516040805192835260208301919091528051918290030190a46118078260018b611813565b50979650505050505050565b8061181d81611edf565b61185b57604051600160e51b62461bcd0281526004018080602001828103825260338152602001806135d66033913960400191505060405180910390fd5b60085460408051600160e31b6310e67a9d0281526001600160a01b03848116600483015291516000939290921691638733d4e891602480820192602092909190829003018186803b1580156118af57600080fd5b505afa1580156118c3573d6000803e3d6000fd5b505050506040513d60208110156118d957600080fd5b505160085460408051600160e21b63188aca8f0281526001600160a01b038681166004830152600160ca1b66195d995c995cdd0260248301523360448301529151939450600093919092169163622b2a3c916064808301926020929190829003018186803b15801561194a57600080fd5b505afa15801561195e573d6000803e3d6000fd5b505050506040513d602081101561197457600080fd5b50519050808061198c57506001600160a01b03821633145b6119ca57604051600160e51b62461bcd02815260040180806020018281038252603c8152602001806134c7603c913960400191505060405180910390fd5b6001600160a01b038416611a165760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613477833981519152604482015290519081900360640190fd5b6001856002811115611a2457fe5b1480611a3b57506002856002811115611a3957fe5b145b611a7957604051600160e51b62461bcd02815260040180806020018281038252602a815260200180613569602a913960400191505060405180910390fd5b6000868152600a602052604090206005810154611aca57604051600160e51b62461bcd0281526004018080602001828103825260258152602001806136736025913960400191505060405180910390fd5b611ad78160050154612dda565b15611b1657604051600160e51b62461bcd0281526004018080602001828103825260308152602001806134476030913960400191505060405180910390fd5b6001600160a01b038516600090815260078201602052604081205460ff166002811115611b3f57fe5b14611b7e57604051600160e51b62461bcd0281526004018080602001828103825260378152602001806136b96037913960400191505060405180910390fd5b60018101546001600160a01b0386811691161415611bd057604051600160e51b62461bcd0281526004018080602001828103825260358152602001806136096035913960400191505060405180910390fd5b60095460408051600160e11b6321a756d90281526001600160a01b0388811660048301529151600093929092169163434eadb291602480820192602092909190829003018186803b158015611c2457600080fd5b505afa158015611c38573d6000803e3d6000fd5b505050506040513d6020811015611c4e57600080fd5b50516005830154909150600090611c6b908363ffffffff612d9816565b90506000611c7882612de0565b90506000611c8882600f0b612dfe565b90506000611c9882600f0b612e2a565b6001600160a01b038b1660009081526007880160205260409020805467ffffffffffffffff9290921692508c9160ff19166001836002811115611cd757fe5b02179055506001600160a01b038a16600090815260088701602052604090208190556004860154611d0f90600163ffffffff612d3b16565b600487015560018b6002811115611d2257fe5b1415611d47576002860154611d3d908263ffffffff612d3b16565b6002870155611d76565b60028b6002811115611d5557fe5b1415611d76576003860154611d70908263ffffffff612d3b16565b60038701555b896001600160a01b0316336001600160a01b03168d7f6e6ad7483e696b6dbe007c68057486e91f7f38a5be38c5d3d55893c9800debfc8e8560405180836002811115611dbe57fe5b60ff1681526020018281526020019250505060405180910390a4505050505050505050505050565b6000546001600160a01b031690565b600a6020526000908152604090208054600182015460028301546003840154600485015460058601546006909601546001600160a01b0395861696959094169492939192909187565b600080546001600160a01b0316611e53612e46565b6001600160a01b031614905090565b611e6a611e3e565b611eac5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b600181905560405181907f8bfdfd03860750d17bbdb52e09d863153c6b782f8b752a66ada6e614c34f4ce390600090a250565b60006001600160a01b038216611f2d5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613477833981519152604482015290519081900360640190fd5b60095460408051600160e11b6321a756d90281526001600160a01b0385811660048301529151600093929092169163434eadb291602480820192602092909190829003018186803b158015611f8157600080fd5b505afa158015611f95573d6000803e3d6000fd5b505050506040513d6020811015611fab57600080fd5b505190508015611fbf576001915050610b45565b50600092915050565b60015481565b80611fd881611edf565b61201657604051600160e51b62461bcd02815260040180806020018281038252602981526020018061341e6029913960400191505060405180910390fd5b60085460408051600160e31b6310e67a9d0281526001600160a01b03848116600483015291516000939290921691638733d4e891602480820192602092909190829003018186803b15801561206a57600080fd5b505afa15801561207e573d6000803e3d6000fd5b505050506040513d602081101561209457600080fd5b505190506001600160a01b03811633146120e257604051600160e51b62461bcd02815260040180806020018281038252602a8152602001806132e7602a913960400191505060405180910390fd5b6001600160a01b03831661212e5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613477833981519152604482015290519081900360640190fd5b61213783610a71565b1561217657604051600160e51b62461bcd0281526004018080602001828103825260308152602001806134976030913960400191505060405180910390fd5b60095460408051600160e21b63047fec750281526001600160a01b038681166004830152915191909216916311ffb1d491602480830192600092919082900301818387803b1580156121c757600080fd5b505af11580156121db573d6000803e3d6000fd5b50506040516001600160a01b03861692507f81df7148ed3a9aa51bafe04f44371e89b96f47294267fbf6ab28b7aa8c87b3869150600090a2505050565b60065461010090046001600160a01b031681565b6001600160a01b0389166122785760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613477833981519152604482015290519081900360640190fd5b6001600160a01b0385166122d65760408051600160e51b62461bcd02815260206004820152601860248201527f4f776e65722063616e2774206265203020616464726573730000000000000000604482015290519081900360640190fd5b61238c898960038060200260405190810160405280929190826003602002808284376000920191909152505060408051606081810190925291508b9060039083908390808284376000920191909152505060408051606081810190925291508b90600390839083908082843760009201919091525050604080516020601f8b018190048102820181019092528981528c92508b918b908b90819084018382808284376000920191909152508b9250612e4a915050565b505050505050505050565b60045481565b6123a5611e3e565b6123e75760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b6006805460ff191682151517908190556040805160ff90921615158252517f5ca6f03f1d6eebb097866bddb00a28e6a09ce71ecf7d6859c319f6270b76fd05916020908290030190a150565b6001600160a01b03881661247f5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613477833981519152604482015290519081900360640190fd5b6001600160a01b0384166124dd5760408051600160e51b62461bcd02815260206004820152601860248201527f4f776e65722063616e2774206265203020616464726573730000000000000000604482015290519081900360640190fd5b60095460408051600160e11b6321a756d90281526001600160a01b038b811660048301529151919092169163434eadb2916024808301926020929190829003018186803b15801561252d57600080fd5b505afa158015612541573d6000803e3d6000fd5b505050506040513d602081101561255757600080fd5b50511561259857604051600160e51b62461bcd0281526004018080602001828103825260308152602001806133376030913960400191505060405180910390fd5b60095460408051600160e01b63923e51d50281526001600160a01b038b811660048301529151600093929092169163923e51d59160248082019260209290919082900301818787803b1580156125ed57600080fd5b505af1158015612601573d6000803e3d6000fd5b505050506040513d602081101561261757600080fd5b505160035460408051838152602081019290925280519293506001600160a01b038c16927f64c0a7725c138cdfade4dd197629de852807f220b1d1e01f3b3ade43b600fd709281900390910190a26008546001600160a01b031663123b5e988a8a600060200201518a600060200201518a600060200201518989896040518863ffffffff1660e01b815260040180886001600160a01b03166001600160a01b031681526020018760ff1660ff16815260200186815260200185815260200184815260200180602001838152602001828103825284818151815260200191508051906020019080838360005b8381101561271a578181015183820152602001612702565b50505050905090810190601f1680156127475780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b15801561276c57600080fd5b505af1158015612780573d6000803e3d6000fd5b50506008546001600160a01b0316915063240cf1fa90508a8a600160200201518a600160200201518a600160200201516040805163ffffffff871660e01b81526001600160a01b03958616600482015260ff9094166024850152604484019290925260648301529189166084820152905160a480830192600092919082900301818387803b15801561281157600080fd5b505af1158015612825573d6000803e3d6000fd5b505060065460075460035460408051600160e01b6323b872dd0281526001600160a01b038c81166004830152938416602482015260448101929092525161010090930490911693506323b872dd92506064808201926020929091908290030181600087803b15801561289657600080fd5b505af11580156128aa573d6000803e3d6000fd5b505050506040513d60208110156128c057600080fd5b505161238c57604051600160e51b62461bcd02815260040180806020018281038252602b815260200180613367602b913960400191505060405180910390fd5b612908611e3e565b61294a5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b60095460408051600160e01b63f2fde38b0281526001600160a01b0384811660048301529151919092169163f2fde38b91602480830192600092919082900301818387803b1580156109d957600080fd5b6129a3611e3e565b6129e55760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b6129ee81612fee565b50565b60006129fb611e3e565b612a3d5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b6001600160a01b038316612a9b5760408051600160e51b62461bcd02815260206004820152601e60248201527f5265636569766572206d757374206e6f74206265203020616464726573730000604482015290519081900360640190fd5b60008211612af35760408051600160e51b62461bcd02815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e2030000000604482015290519081900360640190fd5b6040805183815290516001600160a01b038516917f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65919081900360200190a260075460408051600160e01b63f3fef3a30281526001600160a01b038681166004830152602482018690529151919092169163f3fef3a39160448083019260209291908290030181600087803b158015612b8b57600080fd5b505af1158015612b9f573d6000803e3d6000fd5b505050506040513d6020811015612bb557600080fd5b505190505b92915050565b600b5481565b612bce611e3e565b612c105760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b600581905560405181907f37acf836df13de4d52e5f595fd800237af45e106a57b86e8e7f5fd3e72e2d1fe90600090a250565b60065460ff1681565b60055481565b6000818152600a602052604090206005810154612ca357604051600160e51b62461bcd0281526004018080602001828103825260428152602001806133dc6042913960600191505060405180910390fd5b612cb08160050154612dda565b612cee57604051600160e51b62461bcd0281526004018080602001828103825260468152602001806135236046913960600191505060405180910390fd5b5050565b6000612d3483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613091565b9392505050565b600082820183811015612d345760408051600160e51b62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000612d3483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613136565b42101590565b6000677fffffffffffffff821115612df757600080fd5b5060401b90565b60008082600f0b1215612e1057600080fd5b612bba604083600f0b901b68010000000000000000613193565b60008082600f0b1215612e3c57600080fd5b50600f0b60401d90565b3390565b60065460408051600160e91b623f675f0281526001600160a01b0387811660048301529151600093610100900490921691637ecebe0091602480820192602092909190829003018186803b158015612ea157600080fd5b505afa158015612eb5573d6000803e3d6000fd5b505050506040513d6020811015612ecb57600080fd5b505160065460408a8101518a8201518a8301518351600160e21b6323f2ebc30281526001600160a01b038c81166004830152306024830152604482018890526000606483018190526001608484015260ff90951660a483015260c482019390935260e4810191909152925194955061010090930490921692638fcbaf0c926101048084019391929182900301818387803b158015612f6857600080fd5b505af1158015612f7c573d6000803e3d6000fd5b5050505061238c8960405180604001604052808b600060038110612f9c57fe5b6020908102919091015160ff90811683528d82015116918101919091526040805180820182528c5181528c8301518184015281518083019092528b5182528b8301519282019290925289898989612433565b6001600160a01b03811661303657604051600160e51b62461bcd0281526004018080602001828103825260268152602001806133116026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000818361312057604051600160e51b62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b838110156130e55781810151838201526020016130cd565b50505050905090810190601f1680156131125780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161312c57fe5b0495945050505050565b6000818484111561318b57604051600160e51b62461bcd0281526020600482018181528351602484015283519092839260449091019190850190808383600083156130e55781810151838201526020016130cd565b505050900390565b6000826131a257506000612bba565b600082116131af57600080fd5b60008284816131ba57fe5b049050808314806131cd57508083600101145b156131db5782915050612bba565b806001018314156131ed579050612bba565b6001818401600101901c9250506131af565b6040518060e0016040528060006001600160a01b0316815260200160006001600160a01b0316815260200160008152602001600081526020016000815260200160008152602001600080191681525090565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061328557508115155b94935050505056fe6368616c6c656e6765202d2043616e6e6f7420637265617465206368616c6c656e67652c2066726f7a656e7265736f6c76654368616c6c656e6765202d20526577617264696e67206368616c6c656e676572206661696c65646f6e6c794d656d6265724f776e6572202d2043616c6c6572206d75737420626520746865206f776e65724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573736170706c795369676e6564496e7465726e616c202d2054686973206d656d62657220616c7265616479206578697374736170706c795369676e6564496e7465726e616c202d20546f6b656e207472616e73666572206661696c65647375626d6974566f746573202d2041727261792073686f756c64206265203c20393020746f2061766f696420676f696e67206f7665722074686520626c6f636b20676173206c696d69746368616c6c656e676543616e42655265736f6c766564202d204368616c6c656e676520646f6573206e6f74206578697374206f722077617320636f6d706c657465646f6e6c794d656d6265724f776e6572202d2041646472657373206973206e6f742061206d656d6265727375626d6974566f7465202d204368616c6c656e676520766f74696e6720706572696f642068617320657870697265644d656d6265722063616e277420626520302061646472657373000000000000006d656d62657245786974202d2043616e2774206578697420647572696e67206f6e676f696e67206368616c6c656e67656f6e6c794d656d6265724f776e65724f7244656c6567617465202d2043616c6c6572206d7573742062652064656c6567617465206f72206f776e65724f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726368616c6c656e676543616e42655265736f6c766564202d2043757272656e74206368616c6c656e6765206973206e6f7420726561647920746f206265207265736f6c7665647375626d6974566f7465202d20566f7465206d7573742062652065697468657220596573206f72204e6f6368616c6c656e6765202d20546f6b656e207472616e73666572206661696c65647375626d6974566f746573202d20417272617973206d75737420626520657175616c6f6e6c794d656d6265724f776e65724f7244656c6567617465202d2041646472657373206973206e6f742061204d656d6265727375626d6974566f7465202d204d656d6265722063616e277420766f7465206f6e207468656972206f776e206368616c6c656e67656368616c6c656e6765202d204578697374696e67206368616c6c656e6765206d757374206265207265736f6c7665642066697273747375626d6974566f7465202d204368616c6c656e676520646f6573206e6f742065786973746368616c6c656e6765202d204368616c6c656e676565206d7573742065786973747375626d6974566f7465202d204d656d6265722068617320616c726561647920766f746564206f6e2074686973206368616c6c656e67657265736f6c76654368616c6c656e6765202d20526577617264696e67207265736f6c766572206661696c6564a165627a7a72305820a01ccc84b29e4cdcb9350960639c7a307b1dadcbb2b3e8280c1a6d133ed7c7730029546865205f617070726f766564546f6b656e20616464726573732073686f756c64206265206120636f6e7472616374636f6e7374727563746f72202d205f7374617274696e674368616c6c656e676549442063616e6e6f742062652030546865205f7265736572766542616e6b20616464726573732073686f756c64206265206120636f6e7472616374636f6e7374727563746f72202d205f766f74696e67506572696f644475726174696f6e2063616e6e6f742062652030636f6e7374727563746f72202d205f6170706c69636174696f6e4665652063616e6e6f742062652030636f6e7374727563746f72202d205f6368616c6c656e67654465706f7369742063616e6e6f742062652030546865205f444944726567697374727920616464726573732073686f756c64206265206120636f6e7472616374546865205f726567697374727920616464726573732073686f756c64206265206120636f6e74726163740000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000000000000000000000000000000000000002a3000000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000000000000000000000000000008ac7230489e80000144837f865218636d9869abdf0d9fa694df6561d3f80d18b61398d2faf9dde48a81a10ba116b5693526655001d5c9feb2e127e1233e5557118a1da862db1fa84000000000000000000000000dca7ef03e98e0dc2b855be647c39abe984fcf21b00000000000000000000000026e4aeb870f7e9cd8a0877f8ab672ff8113720a70000000000000000000000005baba73ba37d58ab7e17fff1fffab5719f9c32a00000000000000000000000000000000000000000000000000000000000000001

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102065760003560e01c80638f32d59b1161011a578063cd3c2b7b116100ad578063f3fef3a31161007c578063f3fef3a3146107b9578063f7fed02c146107e5578063f8db924a146107ed578063fc98a0341461080a578063fdb330631461081257610206565b8063cd3c2b7b14610603578063d9b04e2f14610622578063ea6c4dd71461076d578063f2fde38b1461079357610206565b8063ba881ea5116100e9578063ba881ea51461052b578063bab4625914610551578063c18766c014610559578063c1aadb4d146105fb57610206565b80638f32d59b146104d8578063935ffcee146104e0578063a230c524146104fd578063b5fdb88e1461052357610206565b806341af318c1161019d5780637b1039991161016c5780637b103999146103fc5780637f3adce5146104045780638a97d4d21461043a5780638da5cb5b1461046f5780638f1d37761461047757610206565b806341af318c146102d8578063625fef2114610312578063715018a6146103d7578063761c7cfe146103df57610206565b8063262ee427116101d9578063262ee4271461027057806335928991146102785780633a8b71b0146102955780633ac46a6e146102bb57610206565b80630240a7cd1461020b578063029468041461022a57806304cbb47f1461024e5780630d13fd7b14610268575b600080fd5b6102286004803603602081101561022157600080fd5b503561081a565b005b610232610897565b604080516001600160a01b039092168252519081900360200190f35b6102566108a6565b60408051918252519081900360200190f35b6102566108ac565b6102326108b2565b6102286004803603602081101561028e57600080fd5b50356108c1565b610228600480360360208110156102ab57600080fd5b50356001600160a01b031661093e565b610228600480360360208110156102d157600080fd5b50356109f4565b6102fe600480360360208110156102ee57600080fd5b50356001600160a01b0316610a71565b604080519115158252519081900360200190f35b6102286004803603606081101561032857600080fd5b81359190810190604081016020820135600160201b81111561034957600080fd5b82018360208201111561035b57600080fd5b803590602001918460208302840111600160201b8311171561037c57600080fd5b919390929091602081019035600160201b81111561039957600080fd5b8201836020820111156103ab57600080fd5b803590602001918460208302840111600160201b831117156103cc57600080fd5b509092509050610b4a565b610228610c30565b610228600480360360208110156103f557600080fd5b5035610cc4565b610232611220565b6102566004803603606081101561041a57600080fd5b506001600160a01b0381358116916020810135909116906040013561122f565b6102286004803603606081101561045057600080fd5b50803590602081013560ff1690604001356001600160a01b0316611813565b610232611de6565b6104946004803603602081101561048d57600080fd5b5035611df5565b604080516001600160a01b039889168152969097166020870152858701949094526060850192909252608084015260a083015260c082015290519081900360e00190f35b6102fe611e3e565b610228600480360360208110156104f657600080fd5b5035611e62565b6102fe6004803603602081101561051357600080fd5b50356001600160a01b0316611edf565b610256611fc8565b6102286004803603602081101561054157600080fd5b50356001600160a01b0316611fce565b610232612218565b61022860048036036101c081101561057057600080fd5b6001600160a01b0382358116926020810192608082019260e08301926101408101359091169161016082013591908101906101a08101610180820135600160201b8111156105bd57600080fd5b8201836020820111156105cf57600080fd5b803590602001918460018302840111600160201b831117156105f057600080fd5b91935091503561222c565b610256612397565b6102286004803603602081101561061957600080fd5b5035151561239d565b610228600480360361016081101561063957600080fd5b6040805180820182526001600160a01b03843516939283019291606083019190602084019060029083908390808284376000920191909152505060408051808201825292959493818101939250906002908390839080828437600092019190915250506040805180820182529295949381810193925090600290839083908082843760009201919091525091946001600160a01b03843516946020850135949193509150606081019060400135600160201b8111156106f757600080fd5b82018360208201111561070957600080fd5b803590602001918460018302840111600160201b8311171561072a57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250612433915050565b6102286004803603602081101561078357600080fd5b50356001600160a01b0316612900565b610228600480360360208110156107a957600080fd5b50356001600160a01b031661299b565b6102fe600480360360408110156107cf57600080fd5b506001600160a01b0381351690602001356129f1565b610256612bc0565b6102286004803603602081101561080357600080fd5b5035612bc6565b6102fe612c43565b610256612c4c565b610822611e3e565b6108645760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b600481905560405181907fb15fb48110a440fe2c3d7bef86e06683757886eda0b8a8a36de9a66fb1c4e1b890600090a250565b6007546001600160a01b031681565b60035481565b60025481565b6008546001600160a01b031681565b6108c9611e3e565b61090b5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b600281905560405181907fa69c972469f9614c85c9ac818374e1031a8f45ca70b86cbef3277ddeb2ae881790600090a250565b610946611e3e565b6109885760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b60075460408051600160e01b63f2fde38b0281526001600160a01b0384811660048301529151919092169163f2fde38b91602480830192600092919082900301818387803b1580156109d957600080fd5b505af11580156109ed573d6000803e3d6000fd5b5050505050565b6109fc611e3e565b610a3e5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b600381905560405181907f278405ac6b35ec06005a67bad1cf9ce626a0ab9d57c10a129603b7f3fa69bc6d90600090a250565b60006001600160a01b038216610abf5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613477833981519152604482015290519081900360640190fd5b60095460408051600160e01b632b94ea970281526001600160a01b03858116600483015291516000939290921691632b94ea9791602480820192602092909190829003018186803b158015610b1357600080fd5b505afa158015610b27573d6000803e3d6000fd5b505050506040513d6020811015610b3d57600080fd5b505115159150505b919050565b828114610b8b57604051600160e51b62461bcd0281526004018080602001828103825260228152602001806135b46022913960400191505060405180910390fd5b605a8310610bcd57604051600160e51b62461bcd02815260040180806020018281038252604a815260200180613392604a913960600191505060405180910390fd5b60005b83811015610c2857610c2086868684818110610be857fe5b90506020020135600281118015610bfe57600080fd5b50858585818110610c0b57fe5b905060200201356001600160a01b0316611813565b600101610bd0565b505050505050565b610c38611e3e565b610c7a5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610ccd81612c52565b6000818152600a6020819052604082206003810154600280830154600484015491549395921093600190911192909190610d0d908363ffffffff612cf216565b9050838015610d195750825b1561103657600854855460408051600160e31b6310e67a9d0281526001600160a01b03928316600482015290516000939290921691638733d4e891602480820192602092909190829003018186803b158015610d7457600080fd5b505afa158015610d88573d6000803e3d6000fd5b505050506040513d6020811015610d9e57600080fd5b5051600354600254919250600091610dcd918591610dc19163ffffffff612d3b16565b9063ffffffff612d9816565b60075460408051600160e01b63f3fef3a30281526001600160a01b03868116600483015260248201859052915193945091169163f3fef3a3916044808201926020929091908290030181600087803b158015610e2857600080fd5b505af1158015610e3c573d6000803e3d6000fd5b505050506040513d6020811015610e5257600080fd5b5051610e9257604051600160e51b62461bcd02815260040180806020018281038252602e8152602001806132b9602e913960400191505060405180910390fd5b60075460408051600160e01b63f3fef3a30281523360048201526024810186905290516001600160a01b039092169163f3fef3a3916044808201926020929091908290030181600087803b158015610ee957600080fd5b505af1158015610efd573d6000803e3d6000fd5b505050506040513d6020811015610f1357600080fd5b5051610f5357604051600160e51b62461bcd02815260040180806020018281038252602c8152602001806136f0602c913960400191505060405180910390fd5b600954600188015460408051600160e21b63047fec750281526001600160a01b039283166004820152905191909216916311ffb1d491602480830192600092919082900301818387803b158015610fa957600080fd5b505af1158015610fbd573d6000803e3d6000fd5b5050506001880154600289015460038a015460048b0154604080519384526020840192909252828201526060820185905260808201879052518b93506001600160a01b03909216917f6fe8157468cbcf2ec08bdc5634cfeb6eab4b30efd8710f918ee1d460e3cbde8a9181900360a00190a350506111d0565b60075460408051600160e01b63f3fef3a30281523360048201526024810184905290516001600160a01b039092169163f3fef3a3916044808201926020929091908290030181600087803b15801561108d57600080fd5b505af11580156110a1573d6000803e3d6000fd5b505050506040513d60208110156110b757600080fd5b50516110f757604051600160e51b62461bcd02815260040180806020018281038252602c8152602001806136f0602c913960400191505060405180910390fd5b600954600186015460408051600160e21b623499330281526001600160a01b0392831660048201526000602482018190529151929093169262d264cc926044808301939282900301818387803b15801561115057600080fd5b505af1158015611164573d6000803e3d6000fd5b50505060018601546002870154600388015460048901546040805193845260208401929092528282015260608201859052518993506001600160a01b03909216917fac16885f194b0ecffcb1491584a07d23b227e8b3f1a5fc7582abb11739ba156a9181900360800190a35b50505060009283525050600a6020526040812080546001600160a01b0319908116825560018201805490911690556002810182905560038101829055600481018290556005810182905560060155565b6009546001600160a01b031681565b60008361123b81611edf565b61127957604051600160e51b62461bcd02815260040180806020018281038252602981526020018061341e6029913960400191505060405180910390fd5b60085460408051600160e31b6310e67a9d0281526001600160a01b03848116600483015291516000939290921691638733d4e891602480820192602092909190829003018186803b1580156112cd57600080fd5b505afa1580156112e1573d6000803e3d6000fd5b505050506040513d60208110156112f757600080fd5b505190506001600160a01b038116331461134557604051600160e51b62461bcd02815260040180806020018281038252602a8152602001806132e7602a913960400191505060405180910390fd5b6001600160a01b0386166113a35760408051600160e51b62461bcd02815260206004820152601d60248201527f4368616c6c656e6765722063616e277420626520302061646472657373000000604482015290519081900360640190fd5b6113ac85611edf565b6113ea57604051600160e51b62461bcd0281526004018080602001828103825260218152602001806136986021913960400191505060405180910390fd5b846001600160a01b0316866001600160a01b031614156114545760408051600160e51b62461bcd02815260206004820181905260248201527f6368616c6c656e6765202d2043616e2774206368616c6c656e67652073656c66604482015290519081900360640190fd5b60065460ff1615156001141561149e57604051600160e51b62461bcd02815260040180806020018281038252602b81526020018061328e602b913960400191505060405180910390fd5b60095460408051600160e01b632b94ea970281526001600160a01b03888116600483015291516000939290921691632b94ea9791602480820192602092909190829003018186803b1580156114f257600080fd5b505afa158015611506573d6000803e3d6000fd5b505050506040513d602081101561151c57600080fd5b50519050801561156057604051600160e51b62461bcd02815260040180806020018281038252603581526020018061363e6035913960400191505060405180910390fd5b600b5461156b6131ff565b6040518060e001604052808a6001600160a01b03168152602001896001600160a01b031681526020016000815260200160008152602001600081526020016115be60015442612d3b90919063ffffffff16565b8152602001889052600b549091506115dd90600163ffffffff612d3b16565b600b556000828152600a60209081526040808320845181546001600160a01b03199081166001600160a01b03928316178355938601516001830180549095169082161790935584820151600282015560608501516003820155608085015160048083019190915560a0860151600583015560c08601516006909201919091556009548251600160e21b623499330281528d851692810192909252602482018790529151919092169262d264cc926044808201939182900301818387803b1580156116a657600080fd5b505af11580156116ba573d6000803e3d6000fd5b505060065460075460025460408051600160e01b6323b872dd0281523360048201526001600160a01b03938416602482015260448101929092525161010090930490911693506323b872dd92506064808201926020929091908290030181600087803b15801561172957600080fd5b505af115801561173d573d6000803e3d6000fd5b505050506040513d602081101561175357600080fd5b505161179357604051600160e51b62461bcd0281526004018080602001828103825260218152602001806135936021913960400191505060405180910390fd5b886001600160a01b031682896001600160a01b03167fba98649ec7aa37c452be0ac230ba3460ee36dddc59a25ca8c0aa2d4a133144cd6117de60015442612d3b90919063ffffffff16565b60c08601516040805192835260208301919091528051918290030190a46118078260018b611813565b50979650505050505050565b8061181d81611edf565b61185b57604051600160e51b62461bcd0281526004018080602001828103825260338152602001806135d66033913960400191505060405180910390fd5b60085460408051600160e31b6310e67a9d0281526001600160a01b03848116600483015291516000939290921691638733d4e891602480820192602092909190829003018186803b1580156118af57600080fd5b505afa1580156118c3573d6000803e3d6000fd5b505050506040513d60208110156118d957600080fd5b505160085460408051600160e21b63188aca8f0281526001600160a01b038681166004830152600160ca1b66195d995c995cdd0260248301523360448301529151939450600093919092169163622b2a3c916064808301926020929190829003018186803b15801561194a57600080fd5b505afa15801561195e573d6000803e3d6000fd5b505050506040513d602081101561197457600080fd5b50519050808061198c57506001600160a01b03821633145b6119ca57604051600160e51b62461bcd02815260040180806020018281038252603c8152602001806134c7603c913960400191505060405180910390fd5b6001600160a01b038416611a165760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613477833981519152604482015290519081900360640190fd5b6001856002811115611a2457fe5b1480611a3b57506002856002811115611a3957fe5b145b611a7957604051600160e51b62461bcd02815260040180806020018281038252602a815260200180613569602a913960400191505060405180910390fd5b6000868152600a602052604090206005810154611aca57604051600160e51b62461bcd0281526004018080602001828103825260258152602001806136736025913960400191505060405180910390fd5b611ad78160050154612dda565b15611b1657604051600160e51b62461bcd0281526004018080602001828103825260308152602001806134476030913960400191505060405180910390fd5b6001600160a01b038516600090815260078201602052604081205460ff166002811115611b3f57fe5b14611b7e57604051600160e51b62461bcd0281526004018080602001828103825260378152602001806136b96037913960400191505060405180910390fd5b60018101546001600160a01b0386811691161415611bd057604051600160e51b62461bcd0281526004018080602001828103825260358152602001806136096035913960400191505060405180910390fd5b60095460408051600160e11b6321a756d90281526001600160a01b0388811660048301529151600093929092169163434eadb291602480820192602092909190829003018186803b158015611c2457600080fd5b505afa158015611c38573d6000803e3d6000fd5b505050506040513d6020811015611c4e57600080fd5b50516005830154909150600090611c6b908363ffffffff612d9816565b90506000611c7882612de0565b90506000611c8882600f0b612dfe565b90506000611c9882600f0b612e2a565b6001600160a01b038b1660009081526007880160205260409020805467ffffffffffffffff9290921692508c9160ff19166001836002811115611cd757fe5b02179055506001600160a01b038a16600090815260088701602052604090208190556004860154611d0f90600163ffffffff612d3b16565b600487015560018b6002811115611d2257fe5b1415611d47576002860154611d3d908263ffffffff612d3b16565b6002870155611d76565b60028b6002811115611d5557fe5b1415611d76576003860154611d70908263ffffffff612d3b16565b60038701555b896001600160a01b0316336001600160a01b03168d7f6e6ad7483e696b6dbe007c68057486e91f7f38a5be38c5d3d55893c9800debfc8e8560405180836002811115611dbe57fe5b60ff1681526020018281526020019250505060405180910390a4505050505050505050505050565b6000546001600160a01b031690565b600a6020526000908152604090208054600182015460028301546003840154600485015460058601546006909601546001600160a01b0395861696959094169492939192909187565b600080546001600160a01b0316611e53612e46565b6001600160a01b031614905090565b611e6a611e3e565b611eac5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b600181905560405181907f8bfdfd03860750d17bbdb52e09d863153c6b782f8b752a66ada6e614c34f4ce390600090a250565b60006001600160a01b038216611f2d5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613477833981519152604482015290519081900360640190fd5b60095460408051600160e11b6321a756d90281526001600160a01b0385811660048301529151600093929092169163434eadb291602480820192602092909190829003018186803b158015611f8157600080fd5b505afa158015611f95573d6000803e3d6000fd5b505050506040513d6020811015611fab57600080fd5b505190508015611fbf576001915050610b45565b50600092915050565b60015481565b80611fd881611edf565b61201657604051600160e51b62461bcd02815260040180806020018281038252602981526020018061341e6029913960400191505060405180910390fd5b60085460408051600160e31b6310e67a9d0281526001600160a01b03848116600483015291516000939290921691638733d4e891602480820192602092909190829003018186803b15801561206a57600080fd5b505afa15801561207e573d6000803e3d6000fd5b505050506040513d602081101561209457600080fd5b505190506001600160a01b03811633146120e257604051600160e51b62461bcd02815260040180806020018281038252602a8152602001806132e7602a913960400191505060405180910390fd5b6001600160a01b03831661212e5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613477833981519152604482015290519081900360640190fd5b61213783610a71565b1561217657604051600160e51b62461bcd0281526004018080602001828103825260308152602001806134976030913960400191505060405180910390fd5b60095460408051600160e21b63047fec750281526001600160a01b038681166004830152915191909216916311ffb1d491602480830192600092919082900301818387803b1580156121c757600080fd5b505af11580156121db573d6000803e3d6000fd5b50506040516001600160a01b03861692507f81df7148ed3a9aa51bafe04f44371e89b96f47294267fbf6ab28b7aa8c87b3869150600090a2505050565b60065461010090046001600160a01b031681565b6001600160a01b0389166122785760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613477833981519152604482015290519081900360640190fd5b6001600160a01b0385166122d65760408051600160e51b62461bcd02815260206004820152601860248201527f4f776e65722063616e2774206265203020616464726573730000000000000000604482015290519081900360640190fd5b61238c898960038060200260405190810160405280929190826003602002808284376000920191909152505060408051606081810190925291508b9060039083908390808284376000920191909152505060408051606081810190925291508b90600390839083908082843760009201919091525050604080516020601f8b018190048102820181019092528981528c92508b918b908b90819084018382808284376000920191909152508b9250612e4a915050565b505050505050505050565b60045481565b6123a5611e3e565b6123e75760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b6006805460ff191682151517908190556040805160ff90921615158252517f5ca6f03f1d6eebb097866bddb00a28e6a09ce71ecf7d6859c319f6270b76fd05916020908290030190a150565b6001600160a01b03881661247f5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613477833981519152604482015290519081900360640190fd5b6001600160a01b0384166124dd5760408051600160e51b62461bcd02815260206004820152601860248201527f4f776e65722063616e2774206265203020616464726573730000000000000000604482015290519081900360640190fd5b60095460408051600160e11b6321a756d90281526001600160a01b038b811660048301529151919092169163434eadb2916024808301926020929190829003018186803b15801561252d57600080fd5b505afa158015612541573d6000803e3d6000fd5b505050506040513d602081101561255757600080fd5b50511561259857604051600160e51b62461bcd0281526004018080602001828103825260308152602001806133376030913960400191505060405180910390fd5b60095460408051600160e01b63923e51d50281526001600160a01b038b811660048301529151600093929092169163923e51d59160248082019260209290919082900301818787803b1580156125ed57600080fd5b505af1158015612601573d6000803e3d6000fd5b505050506040513d602081101561261757600080fd5b505160035460408051838152602081019290925280519293506001600160a01b038c16927f64c0a7725c138cdfade4dd197629de852807f220b1d1e01f3b3ade43b600fd709281900390910190a26008546001600160a01b031663123b5e988a8a600060200201518a600060200201518a600060200201518989896040518863ffffffff1660e01b815260040180886001600160a01b03166001600160a01b031681526020018760ff1660ff16815260200186815260200185815260200184815260200180602001838152602001828103825284818151815260200191508051906020019080838360005b8381101561271a578181015183820152602001612702565b50505050905090810190601f1680156127475780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b15801561276c57600080fd5b505af1158015612780573d6000803e3d6000fd5b50506008546001600160a01b0316915063240cf1fa90508a8a600160200201518a600160200201518a600160200201516040805163ffffffff871660e01b81526001600160a01b03958616600482015260ff9094166024850152604484019290925260648301529189166084820152905160a480830192600092919082900301818387803b15801561281157600080fd5b505af1158015612825573d6000803e3d6000fd5b505060065460075460035460408051600160e01b6323b872dd0281526001600160a01b038c81166004830152938416602482015260448101929092525161010090930490911693506323b872dd92506064808201926020929091908290030181600087803b15801561289657600080fd5b505af11580156128aa573d6000803e3d6000fd5b505050506040513d60208110156128c057600080fd5b505161238c57604051600160e51b62461bcd02815260040180806020018281038252602b815260200180613367602b913960400191505060405180910390fd5b612908611e3e565b61294a5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b60095460408051600160e01b63f2fde38b0281526001600160a01b0384811660048301529151919092169163f2fde38b91602480830192600092919082900301818387803b1580156109d957600080fd5b6129a3611e3e565b6129e55760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b6129ee81612fee565b50565b60006129fb611e3e565b612a3d5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b6001600160a01b038316612a9b5760408051600160e51b62461bcd02815260206004820152601e60248201527f5265636569766572206d757374206e6f74206265203020616464726573730000604482015290519081900360640190fd5b60008211612af35760408051600160e51b62461bcd02815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e2030000000604482015290519081900360640190fd5b6040805183815290516001600160a01b038516917f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65919081900360200190a260075460408051600160e01b63f3fef3a30281526001600160a01b038681166004830152602482018690529151919092169163f3fef3a39160448083019260209291908290030181600087803b158015612b8b57600080fd5b505af1158015612b9f573d6000803e3d6000fd5b505050506040513d6020811015612bb557600080fd5b505190505b92915050565b600b5481565b612bce611e3e565b612c105760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613503833981519152604482015290519081900360640190fd5b600581905560405181907f37acf836df13de4d52e5f595fd800237af45e106a57b86e8e7f5fd3e72e2d1fe90600090a250565b60065460ff1681565b60055481565b6000818152600a602052604090206005810154612ca357604051600160e51b62461bcd0281526004018080602001828103825260428152602001806133dc6042913960600191505060405180910390fd5b612cb08160050154612dda565b612cee57604051600160e51b62461bcd0281526004018080602001828103825260468152602001806135236046913960600191505060405180910390fd5b5050565b6000612d3483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613091565b9392505050565b600082820183811015612d345760408051600160e51b62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000612d3483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613136565b42101590565b6000677fffffffffffffff821115612df757600080fd5b5060401b90565b60008082600f0b1215612e1057600080fd5b612bba604083600f0b901b68010000000000000000613193565b60008082600f0b1215612e3c57600080fd5b50600f0b60401d90565b3390565b60065460408051600160e91b623f675f0281526001600160a01b0387811660048301529151600093610100900490921691637ecebe0091602480820192602092909190829003018186803b158015612ea157600080fd5b505afa158015612eb5573d6000803e3d6000fd5b505050506040513d6020811015612ecb57600080fd5b505160065460408a8101518a8201518a8301518351600160e21b6323f2ebc30281526001600160a01b038c81166004830152306024830152604482018890526000606483018190526001608484015260ff90951660a483015260c482019390935260e4810191909152925194955061010090930490921692638fcbaf0c926101048084019391929182900301818387803b158015612f6857600080fd5b505af1158015612f7c573d6000803e3d6000fd5b5050505061238c8960405180604001604052808b600060038110612f9c57fe5b6020908102919091015160ff90811683528d82015116918101919091526040805180820182528c5181528c8301518184015281518083019092528b5182528b8301519282019290925289898989612433565b6001600160a01b03811661303657604051600160e51b62461bcd0281526004018080602001828103825260268152602001806133116026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000818361312057604051600160e51b62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b838110156130e55781810151838201526020016130cd565b50505050905090810190601f1680156131125780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161312c57fe5b0495945050505050565b6000818484111561318b57604051600160e51b62461bcd0281526020600482018181528351602484015283519092839260449091019190850190808383600083156130e55781810151838201526020016130cd565b505050900390565b6000826131a257506000612bba565b600082116131af57600080fd5b60008284816131ba57fe5b049050808314806131cd57508083600101145b156131db5782915050612bba565b806001018314156131ed579050612bba565b6001818401600101901c9250506131af565b6040518060e0016040528060006001600160a01b0316815260200160006001600160a01b0316815260200160008152602001600081526020016000815260200160008152602001600080191681525090565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061328557508115155b94935050505056fe6368616c6c656e6765202d2043616e6e6f7420637265617465206368616c6c656e67652c2066726f7a656e7265736f6c76654368616c6c656e6765202d20526577617264696e67206368616c6c656e676572206661696c65646f6e6c794d656d6265724f776e6572202d2043616c6c6572206d75737420626520746865206f776e65724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573736170706c795369676e6564496e7465726e616c202d2054686973206d656d62657220616c7265616479206578697374736170706c795369676e6564496e7465726e616c202d20546f6b656e207472616e73666572206661696c65647375626d6974566f746573202d2041727261792073686f756c64206265203c20393020746f2061766f696420676f696e67206f7665722074686520626c6f636b20676173206c696d69746368616c6c656e676543616e42655265736f6c766564202d204368616c6c656e676520646f6573206e6f74206578697374206f722077617320636f6d706c657465646f6e6c794d656d6265724f776e6572202d2041646472657373206973206e6f742061206d656d6265727375626d6974566f7465202d204368616c6c656e676520766f74696e6720706572696f642068617320657870697265644d656d6265722063616e277420626520302061646472657373000000000000006d656d62657245786974202d2043616e2774206578697420647572696e67206f6e676f696e67206368616c6c656e67656f6e6c794d656d6265724f776e65724f7244656c6567617465202d2043616c6c6572206d7573742062652064656c6567617465206f72206f776e65724f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726368616c6c656e676543616e42655265736f6c766564202d2043757272656e74206368616c6c656e6765206973206e6f7420726561647920746f206265207265736f6c7665647375626d6974566f7465202d20566f7465206d7573742062652065697468657220596573206f72204e6f6368616c6c656e6765202d20546f6b656e207472616e73666572206661696c65647375626d6974566f746573202d20417272617973206d75737420626520657175616c6f6e6c794d656d6265724f776e65724f7244656c6567617465202d2041646472657373206973206e6f742061204d656d6265727375626d6974566f7465202d204d656d6265722063616e277420766f7465206f6e207468656972206f776e206368616c6c656e67656368616c6c656e6765202d204578697374696e67206368616c6c656e6765206d757374206265207265736f6c7665642066697273747375626d6974566f7465202d204368616c6c656e676520646f6573206e6f742065786973746368616c6c656e6765202d204368616c6c656e676565206d7573742065786973747375626d6974566f7465202d204d656d6265722068617320616c726561647920766f746564206f6e2074686973206368616c6c656e67657265736f6c76654368616c6c656e6765202d20526577617264696e67207265736f6c766572206661696c6564a165627a7a72305820a01ccc84b29e4cdcb9350960639c7a307b1dadcbb2b3e8280c1a6d133ed7c7730029

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

0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000000000000000000000000000000000000002a3000000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000000000000000000000000000008ac7230489e80000144837f865218636d9869abdf0d9fa694df6561d3f80d18b61398d2faf9dde48a81a10ba116b5693526655001d5c9feb2e127e1233e5557118a1da862db1fa84000000000000000000000000dca7ef03e98e0dc2b855be647c39abe984fcf21b00000000000000000000000026e4aeb870f7e9cd8a0877f8ab672ff8113720a70000000000000000000000005baba73ba37d58ab7e17fff1fffab5719f9c32a00000000000000000000000000000000000000000000000000000000000000001

-----Decoded View---------------
Arg [0] : _approvedToken (address): 0x6B175474E89094C44Da98b954EedeAC495271d0F
Arg [1] : _votingPeriodDuration (uint256): 172800
Arg [2] : _challengeDeposit (uint256): 10000000000000000000
Arg [3] : _applicationFee (uint256): 10000000000000000000
Arg [4] : _charter (bytes32): 0x144837f865218636d9869abdf0d9fa694df6561d3f80d18b61398d2faf9dde48
Arg [5] : _categories (bytes32): 0xa81a10ba116b5693526655001d5c9feb2e127e1233e5557118a1da862db1fa84
Arg [6] : _DIDregistry (address): 0xdCa7EF03e98e0DC2B855bE647C39ABe984fcF21B
Arg [7] : _reserveBank (address): 0x26E4AeB870F7E9cd8A0877F8Ab672FF8113720A7
Arg [8] : _registry (address): 0x5bAba73ba37d58AB7E17fff1FfFaB5719F9C32A0
Arg [9] : _startingChallengeID (uint256): 1

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f
Arg [1] : 000000000000000000000000000000000000000000000000000000000002a300
Arg [2] : 0000000000000000000000000000000000000000000000008ac7230489e80000
Arg [3] : 0000000000000000000000000000000000000000000000008ac7230489e80000
Arg [4] : 144837f865218636d9869abdf0d9fa694df6561d3f80d18b61398d2faf9dde48
Arg [5] : a81a10ba116b5693526655001d5c9feb2e127e1233e5557118a1da862db1fa84
Arg [6] : 000000000000000000000000dca7ef03e98e0dc2b855be647c39abe984fcf21b
Arg [7] : 00000000000000000000000026e4aeb870f7e9cd8a0877f8ab672ff8113720a7
Arg [8] : 0000000000000000000000005baba73ba37d58ab7e17fff1fffab5719f9c32a0
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000001


Deployed Bytecode Sourcemap

36294:29852:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36294:29852:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62057:142;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;62057:142:0;;:::i;:::-;;37255:30;;;:::i;:::-;;;;-1:-1:-1;;;;;37255:30:0;;;;;;;;;;;;;;36795:29;;;:::i;:::-;;;;;;;;;;;;;;;;36714:31;;;:::i;37328:42::-;;;:::i;63060:178::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;63060:178:0;;:::i;61492:135::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;61492:135:0;-1:-1:-1;;;;;61492:135:0;;:::i;63392:162::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;63392:162:0;;:::i;65173:253::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;65173:253:0;-1:-1:-1;;;;;65173:253:0;;:::i;:::-;;;;;;;;;;;;;;;;;;57137:547;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;57137:547:0;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;57137:547:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;57137:547:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;57137:547:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;57137:547:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;57137:547:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;57137:547:0;;-1:-1:-1;57137:547:0;-1:-1:-1;57137:547:0;:::i;2978:140::-;;;:::i;58003:2599::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;58003:2599:0;;:::i;37413:24::-;;;:::i;51881:2151::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;51881:2151:0;;;;;;;;;;;;;;;;;:::i;54287:2515::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;54287:2515:0;;;;;;;;;;;;;-1:-1:-1;;;;;54287:2515:0;;:::i;2167:79::-;;;:::i;37799:48::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37799:48:0;;:::i;:::-;;;;-1:-1:-1;;;;;37799:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2533:94;;;:::i;62681:202::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;62681:202:0;;:::i;64583:295::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;64583:295:0;-1:-1:-1;;;;;64583:295:0;;:::i;36607:35::-;;;:::i;50955:383::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50955:383:0;-1:-1:-1;;;;;50955:383:0;;:::i;37184:24::-;;;:::i;45831:776::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;45831:776:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;45831:776:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;45831:776:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;45831:776:0;;-1:-1:-1;45831:776:0;-1:-1:-1;45831:776:0;;:::i;36894:22::-;;;:::i;63714:163::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;63714:163:0;;;;:::i;48871:1730::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;48871:1730:0;;;;;;;;-1:-1:-1;;;;;48871:1730:0;;;;;;;;;;;;;;;;;;;;;;;;;;;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;;48871:1730:0;;;;;;;;;;;;;;;;;-1:-1:-1;48871:1730:0;;;;;;;;;;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;;48871:1730:0;;;;;;;;;;;;;;;;;-1:-1:-1;48871:1730:0;;;;;;;;;;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;48871:1730:0;;-1:-1:-1;;;;;48871:1730:0;;;;;;;;;;;-1:-1:-1;48871:1730:0;-1:-1:-1;48871:1730:0;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;48871:1730:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;48871:1730:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;48871:1730:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;48871:1730:0;;-1:-1:-1;;48871:1730:0;;;-1:-1:-1;48871:1730:0;;-1:-1:-1;;48871:1730:0:i;61782:129::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;61782:129:0;-1:-1:-1;;;;;61782:129:0;;:::i;3273:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3273:109:0;-1:-1:-1;;;;;3273:109:0;;:::i;60993:341::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;60993:341:0;;;;;;;;:::i;38022:31::-;;;:::i;62354:160::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;62354:160:0;;:::i;37094:28::-;;;:::i;36989:25::-;;;:::i;62057:142::-;2379:9;:7;:9::i;:::-;2371:54;;;;;-1:-1:-1;;;;;2371:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2371:54:0;;;;;;;;;;;;;;;62131:7;:21;;;62168:23;;62141:11;;62168:23;;;;;62057:142;:::o;37255:30::-;;;-1:-1:-1;;;;;37255:30:0;;:::o;36795:29::-;;;;:::o;36714:31::-;;;;:::o;37328:42::-;;;-1:-1:-1;;;;;37328:42:0;;:::o;63060:178::-;2379:9;:7;:9::i;:::-;2371:54;;;;;-1:-1:-1;;;;;2371:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2371:54:0;;;;;;;;;;;;;;;63143:16;:30;;;63189:41;;63162:11;;63189:41;;;;;63060:178;:::o;61492:135::-;2379:9;:7;:9::i;:::-;2371:54;;;;;-1:-1:-1;;;;;2371:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2371:54:0;;;;;;;;;;;;;;;61579:11;;:40;;;-1:-1:-1;;;;;61579:40:0;;-1:-1:-1;;;;;61579:40:0;;;;;;;;;:11;;;;;:29;;:40;;;;;:11;;:40;;;;;;;:11;;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;61579:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;61579:40:0;;;;61492:135;:::o;63392:162::-;2379:9;:7;:9::i;:::-;2371:54;;;;;-1:-1:-1;;;;;2371:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2371:54:0;;;;;;;;;;;;;;;63469:14;:24;;;63509:37;;63486:7;;63509:37;;;;;63392:162;:::o;65173:253::-;65242:4;-1:-1:-1;;;;;65267:21:0;;65259:59;;;;;-1:-1:-1;;;;;65259:59:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65259:59:0;;;;;;;;;;;;;;;65351:8;;:32;;;-1:-1:-1;;;;;65351:32:0;;-1:-1:-1;;;;;65351:32:0;;;;;;;;;65329:19;;65351:8;;;;;:23;;:32;;;;;;;;;;;;;;;:8;:32;;;5:2:-1;;;;30:1;27;20:12;5:2;65351:32:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;65351:32:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;65351:32:0;65402:15;;;-1:-1:-1;;65173:253:0;;;;:::o;57137:547::-;57320:37;;;57298:121;;;;-1:-1:-1;;;;;57298:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57460:2;57438:24;;57430:111;;;;-1:-1:-1;;;;;57430:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57557:9;57552:125;57568:23;;;57552:125;;;57612:53;57623:12;57637;;57650:1;57637:15;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;57637:15:0;57654:7;;57662:1;57654:10;;;;;;;;;;;;;-1:-1:-1;;;;;57654:10:0;57612;:53::i;:::-;57593:3;;57552:125;;;;57137:547;;;;;:::o;2978:140::-;2379:9;:7;:9::i;:::-;2371:54;;;;;-1:-1:-1;;;;;2371:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2371:54:0;;;;;;;;;;;;;;;3077:1;3061:6;;3040:40;;-1:-1:-1;;;;;3061:6:0;;;;3040:40;;3077:1;;3040:40;3108:1;3091:19;;-1:-1:-1;;;;;;3091:19:0;;;2978:140::o;58003:2599::-;58071:36;58094:12;58071:22;:36::i;:::-;58118:33;58154:24;;;:10;:24;;;;;;;58233:23;;;;58206:24;;;;;58290:26;;;;58574:16;;58154:24;;58206:50;-1:-1:-1;58206:50:0;58319:1;58290:30;;;;58154:10;;58118:33;58574:44;;58154:10;58574:44;:20;:44;:::i;:::-;58549:69;;58635:7;:26;;;;;58646:15;58635:26;58631:1863;;;58704:15;;58734:26;;58704:57;;;-1:-1:-1;;;;;58704:57:0;;-1:-1:-1;;;;;58734:26:0;;;58704:57;;;;;;58678:23;;58704:15;;;;;:29;;:57;;;;;;;;;;;;;;;:15;:57;;;5:2:-1;;;;30:1;27;20:12;5:2;58704:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;58704:57:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;58704:57:0;59007:14;;58986:16;;58704:57;;-1:-1:-1;58959:24:0;;58986:56;;59027:14;;58986:36;;;:20;:36;:::i;:::-;:40;:56;:40;:56;:::i;:::-;59083:11;;:55;;;-1:-1:-1;;;;;59083:55:0;;-1:-1:-1;;;;;59083:55:0;;;;;;;;;;;;;;;58959:83;;-1:-1:-1;59083:11:0;;;:20;;:55;;;;;;;;;;;;;;;:11;;:55;;;5:2:-1;;;;30:1;27;20:12;5:2;59083:55:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;59083:55:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;59083:55:0;59057:163;;;;-1:-1:-1;;;;;59057:163:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59302:11;;:48;;;-1:-1:-1;;;;;59302:48:0;;59323:10;59302:48;;;;;;;;;;;;-1:-1:-1;;;;;59302:11:0;;;;:20;;:48;;;;;;;;;;;;;;;:11;;:48;;;5:2:-1;;;;30:1;27;20:12;5:2;59302:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;59302:48:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;59302:48:0;59276:154;;;;-1:-1:-1;;;;;59276:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59447:8;;;59469:26;;;59447:49;;;-1:-1:-1;;;;;59447:49:0;;-1:-1:-1;;;;;59469:26:0;;;59447:49;;;;;;:8;;;;;:21;;:49;;;;;:8;;:49;;;;;;;:8;;:49;;;5:2:-1;;;;30:1;27;20:12;5:2;59447:49:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;;59553:26:0;;;;59629:24;;;;59672:23;;;;59714:26;;;;59516:307;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59598:12;;-1:-1:-1;;;;;;59553:26:0;;;;59516:307;;;;;;;;;58631:1863;;;;;59925:11;;:48;;;-1:-1:-1;;;;;59925:48:0;;59946:10;59925:48;;;;;;;;;;;;-1:-1:-1;;;;;59925:11:0;;;;:20;;:48;;;;;;;;;;;;;;;:11;;:48;;;5:2:-1;;;;30:1;27;20:12;5:2;59925:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;59925:48:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;59925:48:0;59899:154;;;;-1:-1:-1;;;;;59899:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60138:8;;;60163:26;;;60138:55;;;-1:-1:-1;;;;;60138:55:0;;-1:-1:-1;;;;;60163:26:0;;;60138:55;;;;:8;:55;;;;;;;;:8;;;;;:24;;:55;;;;;:8;:55;;;;;:8;;:55;;;5:2:-1;;;;30:1;27;20:12;5:2;60138:55:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;;60247:26:0;;;;60323:24;;;;60366:23;;;;60408:26;;;;60213:269;;;;;;;;;;;;;;;;;;;;;;;;60292:12;;-1:-1:-1;;;;;;60247:26:0;;;;60213:269;;;;;;;;;58631:1863;-1:-1:-1;;;60570:24:0;;;;-1:-1:-1;;60570:10:0;:24;;;;;60563:31;;-1:-1:-1;;;;;;60563:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58003:2599::o;37413:24::-;;;-1:-1:-1;;;;;37413:24:0;;:::o;51881:2151::-;52041:19;52019:11;42121:17;42130:7;42121:8;:17::i;:::-;42099:108;;;;-1:-1:-1;;;;;42099:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42240:15;;:38;;;-1:-1:-1;;;;;42240:38:0;;-1:-1:-1;;;;;42240:38:0;;;;;;;;;42218:19;;42240:15;;;;;:29;;:38;;;;;;;;;;;;;;;:15;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;42240:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42240:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42240:38:0;;-1:-1:-1;;;;;;42311:25:0;;42326:10;42311:25;42289:117;;;;-1:-1:-1;;;;;42289:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;52081:25:0;;52073:67;;;;;-1:-1:-1;;;;;52073:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;52159:21;52168:11;52159:8;:21::i;:::-;52151:67;;;;-1:-1:-1;;;;;52151:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52266:11;-1:-1:-1;;;;;52251:26:0;:11;-1:-1:-1;;;;;52251:26:0;;;52229:108;;;;;-1:-1:-1;;;;;52229:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52356:16;;;;:24;;:16;:24;;52348:80;;;;-1:-1:-1;;;;;52348:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52468:8;;:36;;;-1:-1:-1;;;;;52468:36:0;;-1:-1:-1;;;;;52468:36:0;;;;;;;;;52439:26;;52468:8;;;;;:23;;:36;;;;;;;;;;;;;;;:8;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;52468:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;52468:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52468:36:0;;-1:-1:-1;52523:23:0;;52515:89;;;;-1:-1:-1;;;;;52515:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52642:16;;52669:29;;:::i;:::-;52701:431;;;;;;;;52738:11;-1:-1:-1;;;;;52701:431:0;;;;;52776:11;-1:-1:-1;;;;;52701:431:0;;;;;52912:1;52701:431;;;;52937:1;52701:431;;;;52965:1;52701:431;;;;53059:29;53067:20;;53059:3;:7;;:29;;;;:::i;:::-;52701:431;;;;;;;53162:16;;52669:463;;-1:-1:-1;53162:23:0;;53183:1;53162:23;:20;:23;:::i;:::-;53143:16;:42;53198:26;;;;:10;:26;;;;;;;;:41;;;;-1:-1:-1;;;;;;53198:41:0;;;-1:-1:-1;;;;;53198:41:0;;;;;;;;;;-1:-1:-1;53198:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53310:8;;:53;;-1:-1:-1;;;;;53310:53:0;;;;;;;;;;;;;;;;;;;;:8;;;;;:24;;:53;;;;;;;;;;;53198:26;53310:8;:53;;;5:2:-1;;;;30:1;27;20:12;5:2;53310:53:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;53458:13:0;;53505:11;;53519:16;;53458:78;;;-1:-1:-1;;;;;53458:78:0;;53485:10;53458:78;;;;-1:-1:-1;;;;;53505:11:0;;;53458:78;;;;;;;;;;;;:13;;;;;;;;-1:-1:-1;53458:26:0;;-1:-1:-1;53458:78:0;;;;;;;;;;;;;;;-1:-1:-1;53458:13:0;:78;;;5:2:-1;;;;30:1;27;20:12;5:2;53458:78:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;53458:78:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53458:78:0;53436:161;;;;-1:-1:-1;;;;;53436:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53701:11;-1:-1:-1;;;;;53615:256:0;53672:14;53646:11;-1:-1:-1;;;;;53615:256:0;;53796:29;53804:20;;53796:3;:7;;:29;;;;:::i;:::-;53840:20;;;;53615:256;;;;;;;;;;;;;;;;;;;;;;53937:55;53948:14;53964;53980:11;53937:10;:55::i;:::-;-1:-1:-1;54010:14:0;51881:2151;-1:-1:-1;;;;;;;51881:2151:0:o;54287:2515::-;54443:13;41351:17;41360:7;41351:8;:17::i;:::-;41329:118;;;;-1:-1:-1;;;;;41329:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41480:15;;:38;;;-1:-1:-1;;;;;41480:38:0;;-1:-1:-1;;;;;41480:38:0;;;;;;;;;41458:19;;41480:15;;;;;:29;;:38;;;;;;;;;;;;;;;:15;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;41480:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;41480:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;41480:38:0;41550:15;;:64;;;-1:-1:-1;;;;;41550:64:0;;-1:-1:-1;;;;;41550:64:0;;;;;;;-1:-1:-1;;;;;41550:64:0;;;;41603:10;41550:64;;;;;;41480:38;;-1:-1:-1;41529:18:0;;41550:15;;;;;:29;;:64;;;;;41480:38;;41550:64;;;;;;;:15;:64;;;5:2:-1;;;;30:1;27;20:12;5:2;41550:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;41550:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;41550:64:0;;-1:-1:-1;41550:64:0;;41647:42;;-1:-1:-1;;;;;;41664:25:0;;41679:10;41664:25;41647:42;41625:152;;;;-1:-1:-1;;;;;41625:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;54477:27:0;;54469:65;;;;;-1:-1:-1;;;;;54469:65:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;54469:65:0;;;;;;;;;;;;;;;54582:14;54567:11;:29;;;;;;;;;:61;;;-1:-1:-1;54615:13:0;54600:11;:28;;;;;;;;;54567:61;54545:153;;;;-1:-1:-1;;;;;54545:153:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54711:33;54747:24;;;:10;:24;;;;;54804:23;;;;54782:114;;;;-1:-1:-1;;;;;54782:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54930:47;54953:15;:23;;;54930:22;:47::i;:::-;54929:48;54907:146;;;;-1:-1:-1;;;;;54907:146:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55086:49:0;;55139:15;55086:49;;;:34;;;:49;;;;;;;;:68;;;;;;;;;55064:173;;;;-1:-1:-1;;;;;55064:173:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55272:26;;;;-1:-1:-1;;;;;55272:43:0;;;:26;;:43;;55250:146;;;;-1:-1:-1;;;;;55250:146:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55429:8;;:42;;;-1:-1:-1;;;;;55429:42:0;;-1:-1:-1;;;;;55429:42:0;;;;;;;;;55409:17;;55429:8;;;;;:27;;:42;;;;;;;;;;;;;;;:8;:42;;;5:2:-1;;;;30:1;27;20:12;5:2;55429:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;55429:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;55429:42:0;55603:23;;;;55429:42;;-1:-1:-1;55575:25:0;;55603:38;;55429:42;55603:38;:27;:38;:::i;:::-;55575:66;;55915:24;55942:28;:17;:26;:28::i;:::-;55915:55;;55981:23;56007:24;:17;:22;;;:24::i;:::-;55981:50;;56042:18;56071:25;:16;:23;;;:25::i;:::-;-1:-1:-1;;;;;56195:49:0;;;;;;:34;;;:49;;;;;:63;;56063:34;;;;;;-1:-1:-1;56247:11:0;;-1:-1:-1;;56195:63:0;;56247:11;56195:63;;;;;;;;;;;;-1:-1:-1;;;;;;56269:49:0;;;;;;:34;;;:49;;;;;:62;;;56371:26;;;;:33;;56402:1;56371:33;:30;:33;:::i;:::-;56342:26;;;:62;56459:14;56444:11;:29;;;;;;;;;56440:261;;;56517:24;;;;:40;;56546:10;56517:40;:28;:40;:::i;:::-;56490:24;;;:67;56440:261;;;56594:13;56579:11;:28;;;;;;;;;56575:126;;;56650:23;;;;:39;;56678:10;56650:39;:27;:39;:::i;:::-;56624:23;;;:65;56575:126;56755:13;-1:-1:-1;;;;;56718:76:0;56743:10;-1:-1:-1;;;;;56718:76:0;56729:12;56718:76;56770:11;56783:10;56718:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41788:1;;;;;;54287:2515;;;;;;:::o;2167:79::-;2205:7;2232:6;-1:-1:-1;;;;;2232:6:0;2167:79;:::o;37799:48::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37799:48:0;;;;;;;;;;;;;;;;:::o;2533:94::-;2573:4;2613:6;;-1:-1:-1;;;;;2613:6:0;2597:12;:10;:12::i;:::-;-1:-1:-1;;;;;2597:22:0;;2590:29;;2533:94;:::o;62681:202::-;2379:9;:7;:9::i;:::-;2371:54;;;;;-1:-1:-1;;;;;2371:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2371:54:0;;;;;;;;;;;;;;;62775:20;:41;;;62832:43;;62798:18;;62832:43;;;;;62681:202;:::o;64583:295::-;64639:4;-1:-1:-1;;;;;64663:21:0;;64655:59;;;;;-1:-1:-1;;;;;64655:59:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;64655:59:0;;;;;;;;;;;;;;;64745:8;;:36;;;-1:-1:-1;;;;;64745:36:0;;-1:-1:-1;;;;;64745:36:0;;;;;;;;;64725:17;;64745:8;;;;;:27;;:36;;;;;;;;;;;;;;;:8;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;64745:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;64745:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;64745:36:0;;-1:-1:-1;64796:13:0;;64792:56;;64832:4;64825:11;;;;;64792:56;-1:-1:-1;64865:5:0;;64583:295;-1:-1:-1;;64583:295:0:o;36607:35::-;;;;:::o;50955:383::-;51033:7;42121:17;42130:7;42121:8;:17::i;:::-;42099:108;;;;-1:-1:-1;;;;;42099:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42240:15;;:38;;;-1:-1:-1;;;;;42240:38:0;;-1:-1:-1;;;;;42240:38:0;;;;;;;;;42218:19;;42240:15;;;;;:29;;:38;;;;;;;;;;;;;;;:15;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;42240:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42240:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42240:38:0;;-1:-1:-1;;;;;;42311:25:0;;42326:10;42311:25;42289:117;;;;-1:-1:-1;;;;;42289:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51061:21:0;;51053:59;;;;;-1:-1:-1;;;;;51053:59:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;51053:59:0;;;;;;;;;;;;;;;51146:30;51168:7;51146:21;:30::i;:::-;51145:31;51123:129;;;;-1:-1:-1;;;;;51123:129:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51263:8;;:30;;;-1:-1:-1;;;;;51263:30:0;;-1:-1:-1;;;;;51263:30:0;;;;;;;;;:8;;;;;:21;;:30;;;;;:8;;:30;;;;;;;:8;;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;51263:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;51309:21:0;;-1:-1:-1;;;;;51309:21:0;;;-1:-1:-1;51309:21:0;;-1:-1:-1;51309:21:0;;;50955:383;;;:::o;37184:24::-;;;;;;-1:-1:-1;;;;;37184:24:0;;:::o;45831:776::-;-1:-1:-1;;;;;46195:24:0;;46187:62;;;;;-1:-1:-1;;;;;46187:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;46187:62:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;46268:26:0;;46260:63;;;;;-1:-1:-1;;;;;46260:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;46334:265;46390:10;46415:5;46334:265;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;46334:265:0;;;;;;;;;;;-1:-1:-1;46435:5:0;;46334:265;;;;46435:5;;46334:265;46435:5;46334:265;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;;46334:265:0;;;;;;;;;;;-1:-1:-1;46455:5:0;;46334:265;;;;46455:5;;46334:265;46455:5;46334:265;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;;46334:265:0;;;;137:4:-1;46334:265:0;;;;;;;;;;;;;;;;;46475:12;;-1:-1:-1;46502:17:0;;46534:18;;;;;;46334:265;;46534:18;;;;46334:265;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;46567:21:0;;-1:-1:-1;46334:41:0;;-1:-1:-1;;46334:265:0:i;:::-;45831:776;;;;;;;;;:::o;36894:22::-;;;;:::o;63714:163::-;2379:9;:7;:9::i;:::-;2371:54;;;;;-1:-1:-1;;;;;2371:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2371:54:0;;;;;;;;;;;;;;;63791:16;:28;;-1:-1:-1;;63791:28:0;;;;;;;;;63835:34;;;63791:28;63852:16;;;63835:34;;;;;;;;;;;;;;;63714:163;:::o;48871:1730::-;-1:-1:-1;;;;;49216:24:0;;49208:62;;;;;-1:-1:-1;;;;;49208:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;49208:62:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;49289:26:0;;49281:63;;;;;-1:-1:-1;;;;;49281:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;49377:8;;:39;;;-1:-1:-1;;;;;49377:39:0;;-1:-1:-1;;;;;49377:39:0;;;;;;;;;:8;;;;;:27;;:39;;;;;;;;;;;;;;:8;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;49377:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;49377:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49377:39:0;:44;49355:142;;;;-1:-1:-1;;;;;49355:142:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49528:8;;:30;;;-1:-1:-1;;;;;49528:30:0;;-1:-1:-1;;;;;49528:30:0;;;;;;;;;49508:17;;49528:8;;;;;:18;;:30;;;;;;;;;;;;;;;49508:17;49528:8;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;49528:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;49528:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;49528:30:0;49969:14;;49896:98;;;;;;49528:30;49896:98;;;;;;;;49528:30;;-1:-1:-1;;;;;;49896:98:0;;;;;;;;;;;;;50007:15;;-1:-1:-1;;;;;50007:15:0;:34;50056:10;50081:5;50007:15;50081:8;;;;50104:5;50110:1;50104:8;;;;50127:5;50133:1;50127:8;;;;50150:17;50182:18;50215:21;50007:240;;;;;;;;;;;;;-1:-1:-1;;;;;50007:240:0;-1:-1:-1;;;;;50007:240:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;50007:240:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50007:240:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;50260:15:0;;-1:-1:-1;;;;;50260:15:0;;-1:-1:-1;50260:33:0;;-1:-1:-1;50294:10:0;50306:5;50260:15;50306:8;;;;50316:5;50322:1;50316:8;;;;50326:5;50332:1;50326:8;;;;50260:89;;;;;;;;;;-1:-1:-1;;;;;50260:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50260:89:0;;;;;;;-1:-1:-1;50260:89:0;;;;5:2:-1;;;;30:1;27;20:12;5:2;50260:89:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;50444:13:0;;50493:11;;50507:14;;50444:78;;;-1:-1:-1;;;;;50444:78:0;;-1:-1:-1;;;;;50444:78:0;;;;;;;50493:11;;;50444:78;;;;;;;;;;;;:13;;;;;;;;-1:-1:-1;50444:26:0;;-1:-1:-1;50444:78:0;;;;;;;;;;;;;;;-1:-1:-1;50444:13:0;:78;;;5:2:-1;;;;30:1;27;20:12;5:2;50444:78:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;50444:78:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50444:78:0;50422:171;;;;-1:-1:-1;;;;;50422:171:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61782:129;2379:9;:7;:9::i;:::-;2371:54;;;;;-1:-1:-1;;;;;2371:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2371:54:0;;;;;;;;;;;;;;;61866:8;;:37;;;-1:-1:-1;;;;;61866:37:0;;-1:-1:-1;;;;;61866:37:0;;;;;;;;;:8;;;;;:26;;:37;;;;;:8;;:37;;;;;;;:8;;:37;;;5:2:-1;;;;30:1;27;20:12;3273:109:0;2379:9;:7;:9::i;:::-;2371:54;;;;;-1:-1:-1;;;;;2371:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2371:54:0;;;;;;;;;;;;;;;3346:28;3365:8;3346:18;:28::i;:::-;3273:109;:::o;60993:341::-;61075:4;2379:9;:7;:9::i;:::-;2371:54;;;;;-1:-1:-1;;;;;2371:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2371:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;61100:23:0;;61092:66;;;;;-1:-1:-1;;;;;61092:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;61187:1;61177:7;:11;61169:53;;;;;-1:-1:-1;;;;;61169:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;61238:30;;;;;;;;-1:-1:-1;;;;;61238:30:0;;;;;;;;;;;;;61286:11;;:40;;;-1:-1:-1;;;;;61286:40:0;;-1:-1:-1;;;;;61286:40:0;;;;;;;;;;;;;;;:11;;;;;:20;;:40;;;;;;;;;;;;;;:11;;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;61286:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;61286:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;61286:40:0;;-1:-1:-1;2436:1:0;60993:341;;;;:::o;38022:31::-;;;;:::o;62354:160::-;2379:9;:7;:9::i;:::-;2371:54;;;;;-1:-1:-1;;;;;2371:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2371:54:0;;;;;;;;;;;;;;;62434:10;:27;;;62477:29;;62447:14;;62477:29;;;;;62354:160;:::o;37094:28::-;;;;;;:::o;36989:25::-;;;;:::o;65656:487::-;65734:33;65770:24;;;:10;:24;;;;;65827:32;;;;65805:152;;;;-1:-1:-1;;;;;65805:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65990:47;66013:15;:23;;;65990:22;:47::i;:::-;65968:167;;;;-1:-1:-1;;;;;65968:167:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65656:487;;:::o;6979:132::-;7037:7;7064:39;7068:1;7071;7064:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;7057:46;6979:132;-1:-1:-1;;;6979:132:0:o;4668:181::-;4726:7;4758:5;;;4782:6;;;;4774:46;;;;;-1:-1:-1;;;;;4774:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;5124:136;5182:7;5209:43;5213:1;5216;5209:43;;;;;;;;;;;;;;;;;:3;:43::i;64182:184::-;64343:3;-1:-1:-1;64343:15:0;;64182:184::o;34279:137::-;34332:6;34361:18;34356:1;:23;;34347:33;;;;;;-1:-1:-1;34407:2:0;34402:7;;34279:137::o;34965:154::-;35013:6;35042:1;35037;:6;;;;35028:16;;;;;;35066:46;35088:2;35082:1;35073:11;;:17;;35092:19;35066:5;:46::i;34663:117::-;34713:6;34742:1;34737;:6;;;;34728:16;;;;;;-1:-1:-1;34766:7:0;;34771:2;34766:7;;34663:117::o;890:98::-;970:10;890:98;:::o;46746:956::-;47248:13;;:34;;;-1:-1:-1;;;;;47248:34:0;;-1:-1:-1;;;;;47248:34:0;;;;;;;;;-1:-1:-1;;47248:13:0;;;;;;;:20;;:34;;;;;;;;;;;;;;;:13;:34;;;5:2:-1;;;;30:1;27;20:12;5:2;47248:34:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;47248:34:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47248:34:0;47293:13;;47359:8;;;;;47369;;;;47379;;;;47293:95;;-1:-1:-1;;;;;47293:95:0;;-1:-1:-1;;;;;47293:95:0;;;;;;;47336:4;47293:95;;;;;;;;;;-1:-1:-1;47293:95:0;;;;;;:13;:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;47248:34;;-1:-1:-1;47293:13:0;;;;;;;;:20;;:95;;;;;-1:-1:-1;;47293:95:0;;;;;;-1:-1:-1;47293:13:0;:95;;;5:2:-1;;;;30:1;27;20:12;5:2;47293:95:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;47293:95:0;;;;47401:293;47440:10;47401:293;;;;;;;;47466:5;47472:1;47466:8;;;;;;;;;;;;;;;;47401:293;;;;;;47476:8;;;;47401:293;;;;;;;;;;;;;;;;47501:8;;47401:293;;47511:8;;;;47401:293;;;;;;;;;;;;47536:8;;47401:293;;47546:8;;;;47401:293;;;;;;;47570:12;47597:17;47629:18;47662:21;47401:24;:293::i;3488:229::-;-1:-1:-1;;;;;3562:22:0;;3554:73;;;;-1:-1:-1;;;;;3554:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3664:6;;;3643:38;;-1:-1:-1;;;;;3643:38:0;;;;3664:6;;;3643:38;;;3692:6;:17;;-1:-1:-1;;;;;;3692:17:0;-1:-1:-1;;;;;3692:17:0;;;;;;;;;;3488:229::o;7641:345::-;7727:7;7829:12;7822:5;7814:28;;;;-1:-1:-1;;;;;7814:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;7814:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7853:9;7869:1;7865;:5;;;;;;;7641:345;-1:-1:-1;;;;;7641:345:0:o;5597:192::-;5683:7;5719:12;5711:6;;;;5703:29;;;;-1:-1:-1;;;;;5703:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;5703:29:0;-1:-1:-1;;;5755:5:0;;;5597:192::o;35328:344::-;35388:7;35408:6;35404:263;;-1:-1:-1;35423:1:0;35416:8;;35404:263;35458:1;35454;:5;35445:15;;;;;;35493:10;35510:1;35506;:5;;;;;;35493:18;;35531:2;35526:1;:7;:22;;;;35546:2;35537:1;35541;35537:5;:11;35526:22;35522:98;;;35566:1;35550:18;;;;;35522:98;35593:2;35598:1;35593:6;35588:1;:11;35584:36;;;35617:2;-1:-1:-1;35601:19:0;;35584:36;35649:1;35639:2;35635:1;:6;35644:1;35635:10;:15;;35631:19;;35469:191;;;36294:29852;;;;;;;;;;-1:-1:-1;;;;;36294:29852:0;;;;;;-1:-1:-1;;;;;36294:29852:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;18382:619::-;18442:4;18910:20;;18753:66;18950:23;;;;;;:42;;-1:-1:-1;18977:15:0;;;18950:42;18942:51;18382:619;-1:-1:-1;;;;18382:619:0:o

Swarm Source

bzzr://a01ccc84b29e4cdcb9350960639c7a307b1dadcbb2b3e8280c1a6d133ed7c773

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ 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.