Contract 0xBa37B002AbaFDd8E89a1995dA52740bbC013D992 6

 

Contract Overview

Ygov.finance: Governance Staking
Balance:
0 Ether

EtherValue:
$0.00

Token:
Txn Hash
Method
Block
From
To
Value
0x66fb8c5ff99cbfcbf34b1ff562f99414fced88c238174483fcb4a859ab93948aGet Reward153081092022-08-09 12:55:521 day 9 hrs ago0xf2ead986ad8efab75db76bfb62a24531e065c1ff IN  Ygov.finance: Governance Staking0 Ether0.00102899 11.97356605
0xc5e886bcda366b15e0e50b6c8b730d1bf8c171f51bc812bf794cb751dacea97aGet Reward153081032022-08-09 12:54:091 day 9 hrs ago0xad128857e59a11ac345d40c6fb0c0832d7c31c56 IN  Ygov.finance: Governance Staking0 Ether0.00051478 10.71310009
0xd346c48f01402a107c41a18ddc85f57d882c41883cfc7df4acb26a71260713baGet Reward152669842022-08-03 3:05:357 days 19 hrs ago0xe22b5192aaf2c2a84aff9ecb85cea1afa4bb2767 IN  Ygov.finance: Governance Staking0 Ether0.0013302216
0x7021d0bfeb327516c6cf6632b8e961a1f3d995413f58e046eb3c81683af83415Withdraw152655462022-08-02 21:35:248 days 1 hr ago0xe114ba7d5bf9f6cef399c7b079f135ced23d826a IN  Ygov.finance: Governance Staking0 Ether0.00490602 70
0x692878bfda1cb4ca87b90e74019a869a3748569a5430380a024f61f9816d2624Withdraw152595222022-08-01 23:08:388 days 23 hrs ago0xc8e776331d3dd3e50d465ff9c6c57977fea97fa3 IN  Ygov.finance: Governance Staking0 Ether0.0053172 70
0xd6ffa2545656a8ecd051529442cbef51e6648c8e5876b5c9e49fdf5e12ec3efaRegister152582202022-08-01 18:13:539 days 4 hrs ago0xc8e776331d3dd3e50d465ff9c6c57977fea97fa3 IN  Ygov.finance: Governance Staking0 Ether0.00528241 70
0xe4f84501282c09b3e4a6072180b8be4f96dd7ee7c6cb927aaa17c298a798ee7cStake152567242022-08-01 12:46:109 days 10 hrs ago0xc8e776331d3dd3e50d465ff9c6c57977fea97fa3 IN  Ygov.finance: Governance Staking0 Ether0.0081991 70
0xb82c8a035bbae4acedc10778a236d83a0c2e461f20d8bde9c63cb8511db10245Withdraw152520852022-07-31 19:15:4110 days 3 hrs ago0xa101f0538f7faa9646c46a5ef565255ae74e8574 IN  Ygov.finance: Governance Staking0 Ether0.00027478 5.70312939
0x31f25a809a837889413829d9bc888b309cdc363725f86de6db35700e2bf45db1Withdraw152520792022-07-31 19:14:1410 days 3 hrs ago0xa101f0538f7faa9646c46a5ef565255ae74e8574 IN  Ygov.finance: Governance Staking0 Ether0.00045568 6
0x465b6316dba7f178286d0c1fe8b80799ca2888db05e39c3a4acc93cd2aff6a90Register152516682022-07-31 17:46:2710 days 5 hrs ago0xa101f0538f7faa9646c46a5ef565255ae74e8574 IN  Ygov.finance: Governance Staking0 Ether0.00075571 10.01436533
0xadacf70238e0408643372ae81fe860128afe220393374c7b4553b54aa0b75154Stake152516452022-07-31 17:42:0710 days 5 hrs ago0xa101f0538f7faa9646c46a5ef565255ae74e8574 IN  Ygov.finance: Governance Staking0 Ether0.00138545 11.82954911
0xd11efc0ccc10278f06db8e7066a0a44f3b74f4a83c6f18d5ea9954e9e63ec3b6Exit152504342022-07-31 13:13:1210 days 9 hrs agoENS Name rushab.eth IN  Ygov.finance: Governance Staking0 Ether0.00086731 11
0x6239063f6df2bb92a6ed4eabd31069c3fe7e9bd94a0120d6af17142ff4899d7fGet Reward152456982022-07-30 19:33:1111 days 3 hrs ago0xe524d6514f5c6c91796d223c3310ce211bc749c0 IN  Ygov.finance: Governance Staking0 Ether0.00098219 11.81393715
0xb8c620518a4eaca95fb7d95a8bcaf0e8473e0b7dd56c1ea29ea6fb4d6522d41cGet Reward152444152022-07-30 14:48:2411 days 7 hrs agoENS Name 0xmcfly.eth IN  Ygov.finance: Governance Staking0 Ether0.00096106 11.18308752
0x7bdae61bc5b3e8aef6c365cc35c052f3852696eeca980b673b1c63c697513c3bStake152388122022-07-29 17:46:4512 days 5 hrs ago0xa20e4e4d8a806e01c56f6eef5f9a4a69a5440968 IN  Ygov.finance: Governance Staking0 Ether0.00819826 70
0xe37f825fad9aba2d5c1e0ee7275763c9a4a872969b2d83b7f95502f92942ee2aWithdraw152347382022-07-29 2:33:0112 days 20 hrs agoENS Name aristos.eth IN  Ygov.finance: Governance Staking0 Ether0.00598836 70
0xc46eb2273ef742459be38de84d129f714035a04cec85f9d85606b879e6e1caf8Exit152326792022-07-28 18:41:0713 days 4 hrs agoWhat The Func?: Deployer IN  Ygov.finance: Governance Staking0 Ether0.00171711 20.27366968
0x3c0a0d7b124967c67cfba970da94bb400f7f24f3060b273221f82f027f60261cStake152298282022-07-28 8:01:0613 days 14 hrs agoWhat The Func?: Deployer IN  Ygov.finance: Governance Staking0 Ether0.00058035 6.40575387
0xbda852d2028744edaf2c3244fc3305f999f11a8ad974052abc5677a0dbb5a3eaRegister152298072022-07-28 7:57:4713 days 14 hrs agoWhat The Func?: Deployer IN  Ygov.finance: Governance Staking0 Ether0.00528241 70
0x438e69130f8dad4fc003a47a6ab1272323952bfdf618ae31290e80f03b3663c8Stake152157852022-07-26 3:45:2415 days 19 hrs agoENS Name aristos.eth IN  Ygov.finance: Governance Staking0 Ether0.00873264 70
0x5781b5ecee9d96c183770ebeed2256d28dd9ffa10785110ed0ba7165fbd43760Register151709552022-07-19 4:36:0522 days 18 hrs ago0x96b901da81e7f8d45a297615bc32717f837b8a4e IN  Ygov.finance: Governance Staking0 Ether0.00528241 70
0xbdfcd863253bf6139db56b776333663dede397469104b114fc45c6a6b9346d25Stake151708692022-07-19 4:16:3222 days 18 hrs ago0x96b901da81e7f8d45a297615bc32717f837b8a4e IN  Ygov.finance: Governance Staking0 Ether0.00819826 70
0xd21ea7d8fdb3933034371732bfae1d703e956b34ca6aa68fd514785c88a454b0Withdraw151671002022-07-18 14:10:1823 days 8 hrs ago0x3377e10e6b3a3effd0e9c6a0a4e02fa1e428e485 IN  Ygov.finance: Governance Staking0 Ether0.0053172 70
0x22f9eca976c31a94a431507ff38e0c82130ad577f9586cb7a5abc2967f334555Register151466302022-07-15 10:08:4326 days 12 hrs ago0x536d253011f8e48f577bc8a8cf51c6605f70a13f IN  Ygov.finance: Governance Staking0 Ether0.0008787 11.64416434
0x3913d5d29afb221cf70e44bb984fd0648b17310450226c3dd82e62ba75882192Withdraw151349912022-07-13 15:14:4228 days 7 hrs ago0xa4afdfa7d1becef5cf0c5bf49a52c6abe34e5ced IN  Ygov.finance: Governance Staking0 Ether0.00444472 45.54118691
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
YearnGovernance

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-07-29
*/

/*
   ____            __   __        __   _
  / __/__ __ ___  / /_ / /  ___  / /_ (_)__ __
 _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ /
/___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\
     /___/

* Synthetix: YFIRewards.sol
*
* Docs: https://docs.synthetix.io/
*
*
* MIT License
* ===========
*
* Copyright (c) 2020 Synthetix
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
*/

// File: @openzeppelin/contracts/math/Math.sol

pragma solidity ^0.5.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

// File: @openzeppelin/contracts/math/SafeMath.sol

pragma solidity ^0.5.0;

/**
 * @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: @openzeppelin/contracts/GSN/Context.sol

pragma solidity ^0.5.0;

/*
 * @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: @openzeppelin/contracts/ownership/Ownable.sol

pragma solidity ^0.5.0;

/**
 * @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: @openzeppelin/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: @openzeppelin/contracts/utils/Address.sol

pragma solidity ^0.5.5;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * This test is non-exhaustive, and there may be false-negatives: during the
     * execution of a contract's constructor, its address will be reported as
     * not containing 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.
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        // 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 != 0x0 && codehash != accountHash);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-call-value
        (bool success, ) = recipient.call.value(amount)("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
}

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol

pragma solidity ^0.5.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: contracts/IRewardDistributionRecipient.sol

pragma solidity ^0.5.0;



contract IRewardDistributionRecipient is Ownable {
    address rewardDistribution;

    function notifyRewardAmount(uint256 reward) external;

    modifier onlyRewardDistribution() {
        require(_msgSender() == rewardDistribution, "Caller is not reward distribution");
        _;
    }

    function setRewardDistribution(address _rewardDistribution)
        external
        onlyOwner
    {
        rewardDistribution = _rewardDistribution;
    }
}

// File: contracts/CurveRewards.sol

pragma solidity ^0.5.0;






contract LPTokenWrapper {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    IERC20 public vote = IERC20(0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e);

    uint256 private _totalSupply;
    mapping(address => uint256) private _balances;

    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    function stake(uint256 amount) public {
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        vote.safeTransferFrom(msg.sender, address(this), amount);
    }

    function withdraw(uint256 amount) public {
        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);
        vote.safeTransfer(msg.sender, amount);
    }
}

interface Executor {
    function execute(uint, uint, uint, uint) external;
}

contract YearnGovernance is LPTokenWrapper, IRewardDistributionRecipient {
    
    /* Fee collection for any other token */
    
    function seize(IERC20 _token, uint amount) external {
        require(msg.sender == governance, "!governance");
        require(_token != token, "reward");
        require(_token != vote, "vote");
        _token.safeTransfer(governance, amount);
    }
    
    /* Fees breaker, to protect withdraws if anything ever goes wrong */
    
    bool public breaker = false;
    
    function setBreaker(bool _breaker) external {
        require(msg.sender == governance, "!governance");
        breaker = _breaker;
    }
    
    /* Modifications for proposals */
    
    mapping(address => uint) public voteLock; // period that your sake it locked to keep it for voting
    
    struct Proposal {
        uint id;
        address proposer;
        mapping(address => uint) forVotes;
        mapping(address => uint) againstVotes;
        uint totalForVotes;
        uint totalAgainstVotes;
        uint start; // block start;
        uint end; // start + period
        address executor;
        string hash;
        uint totalVotesAvailable;
        uint quorum;
        uint quorumRequired;
        bool open;
    }
    
    mapping (uint => Proposal) public proposals;
    uint public proposalCount;
    uint public period = 17280; // voting period in blocks ~ 17280 3 days for 15s/block
    uint public lock = 17280; // vote lock in blocks ~ 17280 3 days for 15s/block
    uint public minimum = 1e18;
    uint public quorum = 2000;
    bool public config = true;
    
    
    address public governance;
    
    function setGovernance(address _governance) public {
        require(msg.sender == governance, "!governance");
        governance = _governance;
    }
    
    function setQuorum(uint _quorum) public {
        require(msg.sender == governance, "!governance");
        quorum = _quorum;
    }
    
    function setMinimum(uint _minimum) public {
        require(msg.sender == governance, "!governance");
        minimum = _minimum;
    }
    
    function setPeriod(uint _period) public {
        require(msg.sender == governance, "!governance");
        period = _period;
    }
    
    function setLock(uint _lock) public {
        require(msg.sender == governance, "!governance");
        lock = _lock;
    }
    
    function initialize(uint id) public {
        require(config == true, "!config");
        config = false;
        proposalCount = id;
        governance = 0xFEB4acf3df3cDEA7399794D0869ef76A6EfAff52;
    }
    
    event NewProposal(uint id, address creator, uint start, uint duration, address executor);
    event Vote(uint indexed id, address indexed voter, bool vote, uint weight);
    
    function propose(address executor, string memory hash) public {
        require(votesOf(msg.sender) > minimum, "<minimum");
        proposals[proposalCount++] = Proposal({
            id: proposalCount,
            proposer: msg.sender,
            totalForVotes: 0,
            totalAgainstVotes: 0,
            start: block.number,
            end: period.add(block.number),
            executor: executor,
            hash: hash,
            totalVotesAvailable: totalVotes,
            quorum: 0,
            quorumRequired: quorum,
            open: true
        });
        
        emit NewProposal(proposalCount, msg.sender, block.number, period, executor);
        voteLock[msg.sender] = lock.add(block.number);
    }
    
    function execute(uint id) public {
        (uint _for, uint _against, uint _quorum) = getStats(id);
        require(proposals[id].quorumRequired < _quorum, "!quorum");
        require(proposals[id].end < block.number , "!end");
        if (proposals[id].open == true) {
            tallyVotes(id);
        }
        Executor(proposals[id].executor).execute(id, _for, _against, _quorum);
    }
    
    function getStats(uint id) public view returns (uint _for, uint _against, uint _quorum) {
        _for = proposals[id].totalForVotes;
        _against = proposals[id].totalAgainstVotes;
        
        uint _total = _for.add(_against);
        _for = _for.mul(10000).div(_total);
        _against = _against.mul(10000).div(_total);
        
        _quorum = _total.mul(10000).div(proposals[id].totalVotesAvailable);
    }
    
    event ProposalFinished(uint indexed id, uint _for, uint _against, bool quorumReached);
    
    function tallyVotes(uint id) public {
        require(proposals[id].open == true, "!open");
        require(proposals[id].end < block.number, "!end");
        
        (uint _for, uint _against,) = getStats(id);
        bool _quorum = false;
        if (proposals[id].quorum >= proposals[id].quorumRequired) {
            _quorum = true;
        }
        proposals[id].open = false;
        emit ProposalFinished(id, _for, _against, _quorum);
    }
    
    function votesOf(address voter) public view returns (uint) {
        return votes[voter];
    }
    
    uint public totalVotes;
    mapping(address => uint) public votes;
    event RegisterVoter(address voter, uint votes, uint totalVotes);
    event RevokeVoter(address voter, uint votes, uint totalVotes);
    
    function register() public {
        require(voters[msg.sender] == false, "voter");
        voters[msg.sender] = true;
        votes[msg.sender] = balanceOf(msg.sender);
        totalVotes = totalVotes.add(votes[msg.sender]);
        emit RegisterVoter(msg.sender, votes[msg.sender], totalVotes);
    }
    
    
    function revoke() public {
        require(voters[msg.sender] == true, "!voter");
        voters[msg.sender] = false;
        if (totalVotes < votes[msg.sender]) {
            //edge case, should be impossible, but this is defi
            totalVotes = 0;
        } else {
            totalVotes = totalVotes.sub(votes[msg.sender]);
        }
        emit RevokeVoter(msg.sender, votes[msg.sender], totalVotes);
        votes[msg.sender] = 0;
    }
    
    mapping(address => bool) public voters;
    
    function voteFor(uint id) public {
        require(proposals[id].start < block.number , "<start");
        require(proposals[id].end > block.number , ">end");
        
        uint _against = proposals[id].againstVotes[msg.sender];
        if (_against > 0) {
            proposals[id].totalAgainstVotes = proposals[id].totalAgainstVotes.sub(_against);
            proposals[id].againstVotes[msg.sender] = 0;
        }
        
        uint vote = votesOf(msg.sender).sub(proposals[id].forVotes[msg.sender]);
        proposals[id].totalForVotes = proposals[id].totalForVotes.add(vote);
        proposals[id].forVotes[msg.sender] = votesOf(msg.sender);
        
        proposals[id].totalVotesAvailable = totalVotes;
        uint _votes = proposals[id].totalForVotes.add(proposals[id].totalAgainstVotes);
        proposals[id].quorum = _votes.mul(10000).div(totalVotes);
        
        voteLock[msg.sender] = lock.add(block.number);
        
        emit Vote(id, msg.sender, true, vote);
    }
    
    function voteAgainst(uint id) public {
        require(proposals[id].start < block.number , "<start");
        require(proposals[id].end > block.number , ">end");
        
        uint _for = proposals[id].forVotes[msg.sender];
        if (_for > 0) {
            proposals[id].totalForVotes = proposals[id].totalForVotes.sub(_for);
            proposals[id].forVotes[msg.sender] = 0;
        }
        
        uint vote = votesOf(msg.sender).sub(proposals[id].againstVotes[msg.sender]);
        proposals[id].totalAgainstVotes = proposals[id].totalAgainstVotes.add(vote);
        proposals[id].againstVotes[msg.sender] = votesOf(msg.sender);
        
        proposals[id].totalVotesAvailable = totalVotes;
        uint _votes = proposals[id].totalForVotes.add(proposals[id].totalAgainstVotes);
        proposals[id].quorum = _votes.mul(10000).div(totalVotes);
        
        voteLock[msg.sender] = lock.add(block.number);
        
        emit Vote(id, msg.sender, false, vote);
    }
    
    /* Default rewards contract */
    
    IERC20 public token = IERC20(0xdF5e0e81Dff6FAF3A7e52BA697820c5e32D806A8);
    
    uint256 public constant DURATION = 7 days;

    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;
    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;

    event RewardAdded(uint256 reward);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);

    modifier updateReward(address account) {
        rewardPerTokenStored = rewardPerToken();
        lastUpdateTime = lastTimeRewardApplicable();
        if (account != address(0)) {
            rewards[account] = earned(account);
            userRewardPerTokenPaid[account] = rewardPerTokenStored;
        }
        _;
    }

    function lastTimeRewardApplicable() public view returns (uint256) {
        return Math.min(block.timestamp, periodFinish);
    }

    function rewardPerToken() public view returns (uint256) {
        if (totalSupply() == 0) {
            return rewardPerTokenStored;
        }
        return
            rewardPerTokenStored.add(
                lastTimeRewardApplicable()
                    .sub(lastUpdateTime)
                    .mul(rewardRate)
                    .mul(1e18)
                    .div(totalSupply())
            );
    }

    function earned(address account) public view returns (uint256) {
        return
            balanceOf(account)
                .mul(rewardPerToken().sub(userRewardPerTokenPaid[account]))
                .div(1e18)
                .add(rewards[account]);
    }

    // stake visibility is public as overriding LPTokenWrapper's stake() function
    function stake(uint256 amount) public updateReward(msg.sender) {
        require(amount > 0, "Cannot stake 0");
        if (voters[msg.sender] == true) {
            votes[msg.sender] = votes[msg.sender].add(amount);
            totalVotes = totalVotes.add(amount);
        }
        super.stake(amount);
        emit Staked(msg.sender, amount);
    }

    function withdraw(uint256 amount) public updateReward(msg.sender) {
        require(amount > 0, "Cannot withdraw 0");
        if (voters[msg.sender] == true) {
            votes[msg.sender] = votes[msg.sender].sub(amount);
            totalVotes = totalVotes.sub(amount);
        }
        if (breaker == false) {
            require(voteLock[msg.sender] < block.number,"!locked");
        }
        super.withdraw(amount);
        emit Withdrawn(msg.sender, amount);
    }

    function exit() external {
        withdraw(balanceOf(msg.sender));
        getReward();
    }

    function getReward() public updateReward(msg.sender) {
        if (breaker == false) {
            require(voteLock[msg.sender] > block.number,"!voted");
        }
        uint256 reward = earned(msg.sender);
        if (reward > 0) {
            rewards[msg.sender] = 0;
            token.safeTransfer(msg.sender, reward);
            emit RewardPaid(msg.sender, reward);
        }
    }

    function notifyRewardAmount(uint256 reward)
        external
        onlyRewardDistribution
        updateReward(address(0))
    {
        IERC20(token).safeTransferFrom(msg.sender, address(this), reward);
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(DURATION);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(DURATION);
        }
        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(DURATION);
        emit RewardAdded(reward);
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"address","name":"creator","type":"address"},{"indexed":false,"internalType":"uint256","name":"start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"},{"indexed":false,"internalType":"address","name":"executor","type":"address"}],"name":"NewProposal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_for","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_against","type":"uint256"},{"indexed":false,"internalType":"bool","name":"quorumReached","type":"bool"}],"name":"ProposalFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"voter","type":"address"},{"indexed":false,"internalType":"uint256","name":"votes","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalVotes","type":"uint256"}],"name":"RegisterVoter","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"voter","type":"address"},{"indexed":false,"internalType":"uint256","name":"votes","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalVotes","type":"uint256"}],"name":"RevokeVoter","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"voter","type":"address"},{"indexed":false,"internalType":"bool","name":"vote","type":"bool"},{"indexed":false,"internalType":"uint256","name":"weight","type":"uint256"}],"name":"Vote","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"constant":true,"inputs":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"breaker","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"config","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"execute","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"getReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getStats","outputs":[{"internalType":"uint256","name":"_for","type":"uint256"},{"internalType":"uint256","name":"_against","type":"uint256"},{"internalType":"uint256","name":"_quorum","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"minimum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"period","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"proposalCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"proposals","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"proposer","type":"address"},{"internalType":"uint256","name":"totalForVotes","type":"uint256"},{"internalType":"uint256","name":"totalAgainstVotes","type":"uint256"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"},{"internalType":"address","name":"executor","type":"address"},{"internalType":"string","name":"hash","type":"string"},{"internalType":"uint256","name":"totalVotesAvailable","type":"uint256"},{"internalType":"uint256","name":"quorum","type":"uint256"},{"internalType":"uint256","name":"quorumRequired","type":"uint256"},{"internalType":"bool","name":"open","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"executor","type":"address"},{"internalType":"string","name":"hash","type":"string"}],"name":"propose","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"quorum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"register","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"revoke","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"seize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"_breaker","type":"bool"}],"name":"setBreaker","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_lock","type":"uint256"}],"name":"setLock","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_minimum","type":"uint256"}],"name":"setMinimum","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_period","type":"uint256"}],"name":"setPeriod","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_quorum","type":"uint256"}],"name":"setQuorum","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardDistribution","type":"address"}],"name":"setRewardDistribution","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tallyVotes","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"vote","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"voteAgainst","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"voteFor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"voteLock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"voters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"votes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"voter","type":"address"}],"name":"votesOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

6080604052730bc529c00c6401aef6d220be8c6ea1667f6ad93e6000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600460146101000a81548160ff021916908315150217905550614380600855614380600955670de0b6b3a7640000600a556107d0600b556001600c60006101000a81548160ff02191690831515021790555073df5e0e81dff6faf3a7e52ba697820c5e32d806a8601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600060115560006012556200011b620001de60201b60201c565b600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3620001e6565b600033905090565b614ef880620001f66000396000f3fe608060405234801561001057600080fd5b50600436106103415760003560e01c80637b303965116101b8578063d3e1574711610104578063ebe2b12b116100a2578063f83d08ba1161007c578063f83d08ba14610e97578063fc0c546a14610eb5578063fe0d94c114610eff578063fe4b84df14610f2d57610341565b8063ebe2b12b14610e17578063ef78d4fd14610e35578063f2fde38b14610e5357610341565b8063da35c664116100de578063da35c66414610d83578063df136d6514610da1578063e9fad8ee14610dbf578063eb9253c014610dc957610341565b8063d3e1574714610c22578063d6f0948c14610c50578063d8bff5a514610d2b57610341565b8063a3ec138d11610171578063b6549f751161014b578063b6549f7514610bae578063c1ba4e5914610bb8578063c8f33c9114610be6578063cd3daf9d14610c0457610341565b8063a3ec138d14610ae0578063a694fc3a14610b3c578063ab033ea914610b6a57610341565b80637b3039651461098057806380faa57d146109d057806386a50535146109ee5780638b87634714610a1c5780638da5cb5b14610a745780638f32d59b14610abe57610341565b80633c6b16ab11610292578063632a9a5211610230578063750e443a1161020a578063750e443a146108ba57806379502c55146108e857806379ec5d3a1461090a5780637b0a47ee1461096257610341565b8063632a9a521461080e57806370a0823114610858578063715018a6146108b057610341565b80634e27e9161161026c5780634e27e9161461071e57806352d6804d146107765780635aa6e675146107945780635c0aeb0e146107de57610341565b80633c6b16ab146106b85780633d18b912146106e65780634d318b0e146106f057610341565b80630f41e0d2116102ff5780631aa3a008116102d95780631aa3a008146106345780631be052891461063e5780632e1a7d4d1461065c5780633209e9e61461068a57610341565b80630f41e0d2146105d65780631703a018146105f857806318160ddd1461061657610341565b80628cc26214610346578063013cf08b1461039e5780630700037d146104ee5780630d15fd77146105465780630d68b761146105645780630f3a9f65146105a8575b600080fd5b6103886004803603602081101561035c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f5b565b6040518082815260200191505060405180910390f35b6103ca600480360360208110156103b457600080fd5b8101908080359060200190929190505050611042565b604051808d81526020018c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018b81526020018a81526020018981526020018881526020018773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018060200186815260200185815260200184815260200183151515158152602001828103825287818151815260200191508051906020019080838360005b838110156104a857808201518184015260208101905061048d565b50505050905090810190601f1680156104d55780820380516001836020036101000a031916815260200191505b509d505050505050505050505050505060405180910390f35b6105306004803603602081101561050457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611187565b6040518082815260200191505060405180910390f35b61054e61119f565b6040518082815260200191505060405180910390f35b6105a66004803603602081101561057a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111a5565b005b6105d4600480360360208110156105be57600080fd5b8101908080359060200190929190505050611263565b005b6105de611330565b604051808215151515815260200191505060405180910390f35b610600611343565b6040518082815260200191505060405180910390f35b61061e611349565b6040518082815260200191505060405180910390f35b61063c611353565b005b6106466115cd565b6040518082815260200191505060405180910390f35b6106886004803603602081101561067257600080fd5b81019080803590602001909291905050506115d4565b005b6106b6600480360360208110156106a057600080fd5b8101908080359060200190929190505050611964565b005b6106e4600480360360208110156106ce57600080fd5b8101908080359060200190929190505050611a31565b005b6106ee611cfd565b005b61071c6004803603602081101561070657600080fd5b8101908080359060200190929190505050611fad565b005b6107606004803603602081101561073457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506121a4565b6040518082815260200191505060405180910390f35b61077e6121bc565b6040518082815260200191505060405180910390f35b61079c6121c2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61080c600480360360208110156107f457600080fd5b810190808035151590602001909291905050506121e8565b005b6108166122c8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61089a6004803603602081101561086e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506122ed565b6040518082815260200191505060405180910390f35b6108b8612336565b005b6108e6600480360360208110156108d057600080fd5b8101908080359060200190929190505050612471565b005b6108f06128f7565b604051808215151515815260200191505060405180910390f35b61094c6004803603602081101561092057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061290a565b6040518082815260200191505060405180910390f35b61096a612953565b6040518082815260200191505060405180910390f35b6109ac6004803603602081101561099657600080fd5b8101908080359060200190929190505050612959565b60405180848152602001838152602001828152602001935050505060405180910390f35b6109d8612a40565b6040518082815260200191505060405180910390f35b610a1a60048036036020811015610a0457600080fd5b8101908080359060200190929190505050612a53565b005b610a5e60048036036020811015610a3257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612ed9565b6040518082815260200191505060405180910390f35b610a7c612ef1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610ac6612f1b565b604051808215151515815260200191505060405180910390f35b610b2260048036036020811015610af657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612f7a565b604051808215151515815260200191505060405180910390f35b610b6860048036036020811015610b5257600080fd5b8101908080359060200190929190505050612f9a565b005b610bac60048036036020811015610b8057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613259565b005b610bb6613360565b005b610be460048036036020811015610bce57600080fd5b8101908080359060200190929190505050613629565b005b610bee6136f6565b6040518082815260200191505060405180910390f35b610c0c6136fc565b6040518082815260200191505060405180910390f35b610c4e60048036036020811015610c3857600080fd5b8101908080359060200190929190505050613794565b005b610d2960048036036040811015610c6657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190640100000000811115610ca357600080fd5b820183602082011115610cb557600080fd5b80359060200191846001830284011164010000000083111715610cd757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050613861565b005b610d6d60048036036020811015610d4157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613bd2565b6040518082815260200191505060405180910390f35b610d8b613bea565b6040518082815260200191505060405180910390f35b610da9613bf0565b6040518082815260200191505060405180910390f35b610dc7613bf6565b005b610e1560048036036040811015610ddf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613c11565b005b610e1f613eac565b6040518082815260200191505060405180910390f35b610e3d613eb2565b6040518082815260200191505060405180910390f35b610e9560048036036020811015610e6957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613eb8565b005b610e9f613f3e565b6040518082815260200191505060405180910390f35b610ebd613f44565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610f2b60048036036020811015610f1557600080fd5b8101908080359060200190929190505050613f6a565b005b610f5960048036036020811015610f4357600080fd5b810190808035906020019092919050505061418d565b005b600061103b601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461102d670de0b6b3a764000061101f611008601560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ffa6136fc565b61429090919063ffffffff16565b611011886122ed565b6142da90919063ffffffff16565b61436090919063ffffffff16565b6143aa90919063ffffffff16565b9050919050565b60066020528060005260406000206000915090508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060040154908060050154908060060154908060070154908060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806009018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111585780601f1061112d57610100808354040283529160200191611158565b820191906000526020600020905b81548152906001019060200180831161113b57829003601f168201915b50505050509080600a01549080600b01549080600c01549080600d0160009054906101000a900460ff1690508c565b60166020528060005260406000206000915090505481565b600d5481565b6111ad612f1b565b61121f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f21676f7665726e616e636500000000000000000000000000000000000000000081525060200191505060405180910390fd5b8060088190555050565b600460149054906101000a900460ff1681565b600b5481565b6000600154905090565b60001515600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611419576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f766f74657200000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061147a336122ed565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611511600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d546143aa90919063ffffffff16565b600d819055507f42bd0b21218b5114f60361fe686fe499033f14f22cb728a08cf9df9b4e60f8cc33600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d54604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390a1565b62093a8081565b336115dd6136fc565b6014819055506115eb612a40565b601381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116b85761162e81610f5b565b601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601454601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000821161172e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b60011515600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415611838576117d982600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461429090919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061183182600d5461429090919063ffffffff16565b600d819055505b60001515600460149054906101000a900460ff16151514156119095743600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260078152602001807f216c6f636b65640000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b5b61191282614432565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f21676f7665726e616e636500000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600a8190555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611a72614531565b73ffffffffffffffffffffffffffffffffffffffff1614611ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614e796021913960400191505060405180910390fd5b6000611ae86136fc565b601481905550611af6612a40565b601381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611bc357611b3981610f5b565b601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601454601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b611c12333084601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16614539909392919063ffffffff16565b6011544210611c3c57611c3162093a808361436090919063ffffffff16565b601281905550611c9f565b6000611c534260115461429090919063ffffffff16565b90506000611c6c601254836142da90919063ffffffff16565b9050611c9662093a80611c8883876143aa90919063ffffffff16565b61436090919063ffffffff16565b60128190555050505b42601381905550611cbc62093a80426143aa90919063ffffffff16565b6011819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d826040518082815260200191505060405180910390a15050565b33611d066136fc565b601481905550611d14612a40565b601381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611de157611d5781610f5b565b601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601454601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60001515600460149054906101000a900460ff1615151415611eb25743600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611eb1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f21766f746564000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b5b6000611ebd33610f5b565b90506000811115611fa9576000601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611f5a3382601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661463f9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b5050565b6001151560066000838152602001908152602001600020600d0160009054906101000a900460ff1615151461204a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216f70656e00000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b436006600083815260200190815260200160002060070154106120d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260048152602001807f21656e640000000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000806120e183612959565b5091509150600080905060066000858152602001908152602001600020600c015460066000868152602001908152602001600020600b01541061212357600190505b600060066000868152602001908152602001600020600d0160006101000a81548160ff021916908315150217905550837f66ab4d2a1f6db1c01d1d46ab61a9c333b5a4de5e75cc7a68e1495b4badbd009b8484846040518084815260200183815260200182151515158152602001935050505060405180910390a250505050565b60056020528060005260406000206000915090505481565b600a5481565b600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f21676f7665726e616e636500000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600460146101000a81548160ff02191690831515021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61233e612f1b565b6123b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b436006600083815260200190815260200160002060060154106124fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f3c7374617274000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b43600660008381526020019081526020016000206007015411612587576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260048152602001807f3e656e640000000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60006006600083815260200190815260200160002060020160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111156126855761261181600660008581526020019081526020016000206004015461429090919063ffffffff16565b600660008481526020019081526020016000206004018190555060006006600084815260200190815260200160002060020160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60006126f56006600085815260200190815260200160002060030160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126e73361290a565b61429090919063ffffffff16565b90506127208160066000868152602001908152602001600020600501546143aa90919063ffffffff16565b60066000858152602001908152602001600020600501819055506127433361290a565b6006600085815260200190815260200160002060030160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600d5460066000858152602001908152602001600020600a018190555060006127f8600660008681526020019081526020016000206005015460066000878152602001908152602001600020600401546143aa90919063ffffffff16565b9050612823600d54612815612710846142da90919063ffffffff16565b61436090919063ffffffff16565b60066000868152602001908152602001600020600b0181905550612852436009546143aa90919063ffffffff16565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff16847f88d35328232823f54954b6627e9f732371656f6daa40cb1b01b27dc7875a7b4760008560405180831515151581526020018281526020019250505060405180910390a350505050565b600c60009054906101000a900460ff1681565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60125481565b6000806000600660008581526020019081526020016000206004015492506006600085815260200190815260200160002060050154915060006129a583856143aa90919063ffffffff16565b90506129ce816129c0612710876142da90919063ffffffff16565b61436090919063ffffffff16565b93506129f7816129e9612710866142da90919063ffffffff16565b61436090919063ffffffff16565b9250612a3660066000878152602001908152602001600020600a0154612a28612710846142da90919063ffffffff16565b61436090919063ffffffff16565b9150509193909250565b6000612a4e42601154614710565b905090565b43600660008381526020019081526020016000206006015410612ade576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f3c7374617274000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b43600660008381526020019081526020016000206007015411612b69576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260048152602001807f3e656e640000000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60006006600083815260200190815260200160002060030160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115612c6757612bf381600660008581526020019081526020016000206005015461429090919063ffffffff16565b600660008481526020019081526020016000206005018190555060006006600084815260200190815260200160002060030160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000612cd76006600085815260200190815260200160002060020160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cc93361290a565b61429090919063ffffffff16565b9050612d028160066000868152602001908152602001600020600401546143aa90919063ffffffff16565b6006600085815260200190815260200160002060040181905550612d253361290a565b6006600085815260200190815260200160002060020160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600d5460066000858152602001908152602001600020600a01819055506000612dda600660008681526020019081526020016000206005015460066000878152602001908152602001600020600401546143aa90919063ffffffff16565b9050612e05600d54612df7612710846142da90919063ffffffff16565b61436090919063ffffffff16565b60066000868152602001908152602001600020600b0181905550612e34436009546143aa90919063ffffffff16565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff16847f88d35328232823f54954b6627e9f732371656f6daa40cb1b01b27dc7875a7b4760018560405180831515151581526020018281526020019250505060405180910390a350505050565b60156020528060005260406000206000915090505481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612f5e614531565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600f6020528060005260406000206000915054906101000a900460ff1681565b33612fa36136fc565b601481905550612fb1612a40565b601381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461307e57612ff481610f5b565b601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601454601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600082116130f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b60011515600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514156131fe5761319f82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546143aa90919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506131f782600d546143aa90919063ffffffff16565b600d819055505b61320782614729565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040518082815260200191505060405180910390a25050565b600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461331c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f21676f7665726e616e636500000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600c60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60011515600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514613426576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f21766f746572000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d5410156134d4576000600d8190555061352f565b613528600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d5461429090919063ffffffff16565b600d819055505b7e330fa0724b41c0d187cfad0aa7ff5fa2ff7e742995886f55fda6f5909914b833600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d54604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390a16000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146136ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f21676f7665726e616e636500000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600b8190555050565b60135481565b600080613707611349565b1415613717576014549050613791565b61378e61377d613725611349565b61376f670de0b6b3a7640000613761601254613753601354613745612a40565b61429090919063ffffffff16565b6142da90919063ffffffff16565b6142da90919063ffffffff16565b61436090919063ffffffff16565b6014546143aa90919063ffffffff16565b90505b90565b600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f21676f7665726e616e636500000000000000000000000000000000000000000081525060200191505060405180910390fd5b8060098190555050565b600a5461386d3361290a565b116138e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260088152602001807f3c6d696e696d756d00000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60405180610180016040528060075481526020013373ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001438152602001613939436008546143aa90919063ffffffff16565b81526020018373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001600d54815260200160008152602001600b5481526020016001151581525060066000600760008154809291906001019190505581526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160040155606082015181600501556080820151816006015560a0820151816007015560c08201518160080160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060e0820151816009019080519060200190613a7d929190614d8c565b5061010082015181600a015561012082015181600b015561014082015181600c015561016082015181600d0160006101000a81548160ff0219169083151502179055509050507ff3aa81c2323a935a3e72c018c519b8d8b432eeebaa15cbbe5c8305f0f9df6f4d600754334360085486604051808681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019550505050505060405180910390a1613b8b436009546143aa90919063ffffffff16565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b600e6020528060005260406000206000915090505481565b60075481565b60145481565b613c07613c02336122ed565b6115d4565b613c0f611cfd565b565b600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613cd4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f21676f7665726e616e636500000000000000000000000000000000000000000081525060200191505060405180910390fd5b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613d98576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f726577617264000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613e5b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260048152602001807f766f74650000000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b613ea8600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff1661463f9092919063ffffffff16565b5050565b60115481565b60085481565b613ec0612f1b565b613f32576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b613f3b8161482a565b50565b60095481565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000613f7884612959565b9250925092508060066000868152602001908152602001600020600c015410614009576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260078152602001807f2171756f72756d0000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b43600660008681526020019081526020016000206007015410614094576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260048152602001807f21656e640000000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6001151560066000868152602001908152602001600020600d0160009054906101000a900460ff16151514156140ce576140cd84611fad565b5b6006600085815260200190815260200160002060080160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c0137f7a858585856040518563ffffffff1660e01b815260040180858152602001848152602001838152602001828152602001945050505050600060405180830381600087803b15801561416f57600080fd5b505af1158015614183573d6000803e3d6000fd5b5050505050505050565b60011515600c60009054906101000a900460ff16151514614216576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260078152602001807f21636f6e6669670000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600c60006101000a81548160ff0219169083151502179055508060078190555073feb4acf3df3cdea7399794d0869ef76a6efaff52600c60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006142d283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614970565b905092915050565b6000808314156142ed576000905061435a565b60008284029050828482816142fe57fe5b0414614355576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614e586021913960400191505060405180910390fd5b809150505b92915050565b60006143a283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250614a30565b905092915050565b600080828401905083811015614428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6144478160015461429090919063ffffffff16565b60018190555061449f81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461429090919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061452e33826000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661463f9092919063ffffffff16565b50565b600033905090565b614639848573ffffffffffffffffffffffffffffffffffffffff166323b872dd905060e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614af6565b50505050565b61470b838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614af6565b505050565b600081831061471f5781614721565b825b905092915050565b61473e816001546143aa90919063ffffffff16565b60018190555061479681600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546143aa90919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506148273330836000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16614539909392919063ffffffff16565b50565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156148b0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614e326026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000838311158290614a1d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156149e25780820151818401526020810190506149c7565b50505050905090810190601f168015614a0f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290614adc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614aa1578082015181840152602081019050614a86565b50505050905090810190601f168015614ace5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581614ae857fe5b049050809150509392505050565b614b158273ffffffffffffffffffffffffffffffffffffffff16614d41565b614b87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b60208310614bd65780518252602082019150602081019050602083039250614bb3565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114614c38576040519150601f19603f3d011682016040523d82523d6000602084013e614c3d565b606091505b509150915081614cb5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b600081511115614d3b57808060200190516020811015614cd457600080fd5b8101908080519060200190929190505050614d3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614e9a602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91506000801b8214158015614d835750808214155b92505050919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10614dcd57805160ff1916838001178555614dfb565b82800160010185558215614dfb579182015b82811115614dfa578251825591602001919060010190614ddf565b5b509050614e089190614e0c565b5090565b614e2e91905b80821115614e2a576000816000905550600101614e12565b5090565b9056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820680f7ed0e83278e06da2eeb29b506cf99f4820f82c461c844e4f46a4fbe4a5cf64736f6c63430005110032

Deployed ByteCode Sourcemap

22929:12217:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22929:12217:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32753:265;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;32753:265:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24227:43;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24227:43:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;24227:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31577:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;31577:42:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28068:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21656:161;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21656:161:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;25089:134;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;25089:134:0;;;;;;;;;;;;;;;;;:::i;:::-;;23415:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;24514:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22168:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28285:308;;;:::i;:::-;;31311:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33476:484;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;33476:484:0;;;;;;;;;;;;;;;;;:::i;:::-;;24939:138;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24939:138:0;;;;;;;;;;;;;;;;;:::i;:::-;;34479:664;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;34479:664:0;;;;;;;;;;;;;;;;;:::i;:::-;;34073:398;;;:::i;:::-;;27487:460;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;27487:460:0;;;;;;;;;;;;;;;;;:::i;:::-;;23652:40;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23652:40:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24481:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24590:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;23455:140;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23455:140:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;21999:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;22267:110;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;22267:110:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10689:140;;;:::i;:::-;;30162:1010;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;30162:1010:0;;;;;;;;;;;;;;;;;:::i;:::-;;24546:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;27959:97;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;27959:97:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31399:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26945:432;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;26945:432:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32186:131;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29133:1017;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;29133:1017:0;;;;;;;;;;;;;;;;;:::i;:::-;;31513:57;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;31513:57:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9878:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;10244:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;29082:38;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;29082:38:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;33109:359;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;33109:359:0;;;;;;;;;;;;;;;;;:::i;:::-;;24628:153;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24628:153:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;28611:459;;;:::i;:::-;;24793:134;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24793:134:0;;;;;;;;;;;;;;;;;:::i;:::-;;31435:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32325:420;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25235:126;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;25235:126:0;;;;;;;;;;;;;;;;;:::i;:::-;;25776:745;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;25776:745:0;;;;;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;25776:745:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;25776:745:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;25776:745:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;25776:745:0;;;;;;;;;;;;;;;:::i;:::-;;28097:37;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;28097:37:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24277:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31471:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33968:97;;;:::i;:::-;;23067:256;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23067:256:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;31361:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24309:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10984:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;10984:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;24398:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31226:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;26533:400;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;26533:400:0;;;;;;;;;;;;;;;;;:::i;:::-;;25373:209;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;25373:209:0;;;;;;;;;;;;;;;;;:::i;:::-;;32753:265;32807:7;32847:163;32993:7;:16;33001:7;32993:16;;;;;;;;;;;;;;;;32847:123;32965:4;32847:95;32888:53;32909:22;:31;32932:7;32909:31;;;;;;;;;;;;;;;;32888:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;32847:18;32857:7;32847:9;:18::i;:::-;:40;;:95;;;;:::i;:::-;:117;;:123;;;;:::i;:::-;:145;;:163;;;;:::i;:::-;32827:183;;32753:265;;;:::o;24227:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;31577:42::-;;;;;;;;;;;;;;;;;:::o;28068:22::-;;;;:::o;21656:161::-;10090:9;:7;:9::i;:::-;10082:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21790:19;21769:18;;:40;;;;;;;;;;;;;;;;;;21656:161;:::o;25089:134::-;25162:10;;;;;;;;;;;25148:24;;:10;:24;;;25140:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25208:7;25199:6;:16;;;;25089:134;:::o;23415:27::-;;;;;;;;;;;;;:::o;24514:25::-;;;;:::o;22168:91::-;22212:7;22239:12;;22232:19;;22168:91;:::o;28285:308::-;28353:5;28331:27;;:6;:18;28338:10;28331:18;;;;;;;;;;;;;;;;;;;;;;;;;:27;;;28323:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28400:4;28379:6;:18;28386:10;28379:18;;;;;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;28435:21;28445:10;28435:9;:21::i;:::-;28415:5;:17;28421:10;28415:17;;;;;;;;;;;;;;;:41;;;;28480:33;28495:5;:17;28501:10;28495:17;;;;;;;;;;;;;;;;28480:10;;:14;;:33;;;;:::i;:::-;28467:10;:46;;;;28529:56;28543:10;28555:5;:17;28561:10;28555:17;;;;;;;;;;;;;;;;28574:10;;28529:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28285:308::o;31311:41::-;31346:6;31311:41;:::o;33476:484::-;33530:10;31921:16;:14;:16::i;:::-;31898:20;:39;;;;31965:26;:24;:26::i;:::-;31948:14;:43;;;;32025:1;32006:21;;:7;:21;;;32002:157;;32063:15;32070:7;32063:6;:15::i;:::-;32044:7;:16;32052:7;32044:16;;;;;;;;;;;;;;;:34;;;;32127:20;;32093:22;:31;32116:7;32093:31;;;;;;;;;;;;;;;:54;;;;32002:157;33570:1;33561:6;:10;33553:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33630:4;33608:26;;:6;:18;33615:10;33608:18;;;;;;;;;;;;;;;;;;;;;;;;;:26;;;33604:158;;;33671:29;33693:6;33671:5;:17;33677:10;33671:17;;;;;;;;;;;;;;;;:21;;:29;;;;:::i;:::-;33651:5;:17;33657:10;33651:17;;;;;;;;;;;;;;;:49;;;;33728:22;33743:6;33728:10;;:14;;:22;;;;:::i;:::-;33715:10;:35;;;;33604:158;33787:5;33776:16;;:7;;;;;;;;;;;:16;;;33772:103;;;33840:12;33817:8;:20;33826:10;33817:20;;;;;;;;;;;;;;;;:35;33809:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33772:103;33885:22;33900:6;33885:14;:22::i;:::-;33933:10;33923:29;;;33945:6;33923:29;;;;;;;;;;;;;;;;;;33476:484;;:::o;24939:138::-;25014:10;;;;;;;;;;;25000:24;;:10;:24;;;24992:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25061:8;25051:7;:18;;;;24939:138;:::o;34479:664::-;21572:18;;;;;;;;;;;21556:34;;:12;:10;:12::i;:::-;:34;;;21548:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34603:1;31921:16;:14;:16::i;:::-;31898:20;:39;;;;31965:26;:24;:26::i;:::-;31948:14;:43;;;;32025:1;32006:21;;:7;:21;;;32002:157;;32063:15;32070:7;32063:6;:15::i;:::-;32044:7;:16;32052:7;32044:16;;;;;;;;;;;;;;;:34;;;;32127:20;;32093:22;:31;32116:7;32093:31;;;;;;;;;;;;;;;:54;;;;32002:157;34623:65;34654:10;34674:4;34681:6;34630:5;;;;;;;;;;;34623:30;;;;:65;;;;;;:::i;:::-;34722:12;;34703:15;:31;34699:304;;34764:20;31346:6;34764;:10;;:20;;;;:::i;:::-;34751:10;:33;;;;34699:304;;;34817:17;34837:33;34854:15;34837:12;;:16;;:33;;;;:::i;:::-;34817:53;;34885:16;34904:25;34918:10;;34904:9;:13;;:25;;;;:::i;:::-;34885:44;;34957:34;31346:6;34957:20;34968:8;34957:6;:10;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;34944:10;:47;;;;34699:304;;;35030:15;35013:14;:32;;;;35071:29;31346:6;35071:15;:19;;:29;;;;:::i;:::-;35056:12;:44;;;;35116:19;35128:6;35116:19;;;;;;;;;;;;;;;;;;21639:1;34479:664;:::o;34073:398::-;34114:10;31921:16;:14;:16::i;:::-;31898:20;:39;;;;31965:26;:24;:26::i;:::-;31948:14;:43;;;;32025:1;32006:21;;:7;:21;;;32002:157;;32063:15;32070:7;32063:6;:15::i;:::-;32044:7;:16;32052:7;32044:16;;;;;;;;;;;;;;;:34;;;;32127:20;;32093:22;:31;32116:7;32093:31;;;;;;;;;;;;;;;:54;;;;32002:157;34152:5;34141:16;;:7;;;;;;;;;;;:16;;;34137:102;;;34205:12;34182:8;:20;34191:10;34182:20;;;;;;;;;;;;;;;;:35;34174:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34137:102;34249:14;34266:18;34273:10;34266:6;:18::i;:::-;34249:35;;34308:1;34299:6;:10;34295:169;;;34348:1;34326:7;:19;34334:10;34326:19;;;;;;;;;;;;;;;:23;;;;34364:38;34383:10;34395:6;34364:5;;;;;;;;;;;:18;;;;:38;;;;;:::i;:::-;34433:10;34422:30;;;34445:6;34422:30;;;;;;;;;;;;;;;;;;34295:169;32169:1;34073:398;:::o;27487:460::-;27564:4;27542:26;;:9;:13;27552:2;27542:13;;;;;;;;;;;:18;;;;;;;;;;;;:26;;;27534:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27617:12;27597:9;:13;27607:2;27597:13;;;;;;;;;;;:17;;;:32;27589:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27660:9;27671:13;27689:12;27698:2;27689:8;:12::i;:::-;27659:42;;;;;27712:12;27727:5;27712:20;;27771:9;:13;27781:2;27771:13;;;;;;;;;;;:28;;;27747:9;:13;27757:2;27747:13;;;;;;;;;;;:20;;;:52;27743:99;;27826:4;27816:14;;27743:99;27873:5;27852:9;:13;27862:2;27852:13;;;;;;;;;;;:18;;;:26;;;;;;;;;;;;;;;;;;27911:2;27894:45;27915:4;27921:8;27931:7;27894:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27487:460;;;;:::o;23652:40::-;;;;;;;;;;;;;;;;;:::o;24481:26::-;;;;:::o;24590:25::-;;;;;;;;;;;;;:::o;23455:140::-;23532:10;;;;;;;;;;;23518:24;;:10;:24;;;23510:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23579:8;23569:7;;:18;;;;;;;;;;;;;;;;;;23455:140;:::o;21999:71::-;;;;;;;;;;;;;:::o;22267:110::-;22324:7;22351:9;:18;22361:7;22351:18;;;;;;;;;;;;;;;;22344:25;;22267:110;;;:::o;10689:140::-;10090:9;:7;:9::i;:::-;10082:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10788:1;10751:40;;10772:6;;;;;;;;;;;10751:40;;;;;;;;;;;;10819:1;10802:6;;:19;;;;;;;;;;;;;;;;;;10689:140::o;30162:1010::-;30240:12;30218:9;:13;30228:2;30218:13;;;;;;;;;;;:19;;;:34;30210:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30303:12;30283:9;:13;30293:2;30283:13;;;;;;;;;;;:17;;;:32;30275:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30346:9;30358;:13;30368:2;30358:13;;;;;;;;;;;:22;;:34;30381:10;30358:34;;;;;;;;;;;;;;;;30346:46;;30414:1;30407:4;:8;30403:161;;;30462:37;30494:4;30462:9;:13;30472:2;30462:13;;;;;;;;;;;:27;;;:31;;:37;;;;:::i;:::-;30432:9;:13;30442:2;30432:13;;;;;;;;;;;:27;;:67;;;;30551:1;30514:9;:13;30524:2;30514:13;;;;;;;;;;;:22;;:34;30537:10;30514:34;;;;;;;;;;;;;;;:38;;;;30403:161;30584:9;30596:63;30620:9;:13;30630:2;30620:13;;;;;;;;;;;:26;;:38;30647:10;30620:38;;;;;;;;;;;;;;;;30596:19;30604:10;30596:7;:19::i;:::-;:23;;:63;;;;:::i;:::-;30584:75;;30704:41;30740:4;30704:9;:13;30714:2;30704:13;;;;;;;;;;;:31;;;:35;;:41;;;;:::i;:::-;30670:9;:13;30680:2;30670:13;;;;;;;;;;;:31;;:75;;;;30797:19;30805:10;30797:7;:19::i;:::-;30756:9;:13;30766:2;30756:13;;;;;;;;;;;:26;;:38;30783:10;30756:38;;;;;;;;;;;;;;;:60;;;;30873:10;;30837:9;:13;30847:2;30837:13;;;;;;;;;;;:33;;:46;;;;30894:11;30908:64;30940:9;:13;30950:2;30940:13;;;;;;;;;;;:31;;;30908:9;:13;30918:2;30908:13;;;;;;;;;;;:27;;;:31;;:64;;;;:::i;:::-;30894:78;;31006:33;31028:10;;31006:17;31017:5;31006:6;:10;;:17;;;;:::i;:::-;:21;;:33;;;;:::i;:::-;30983:9;:13;30993:2;30983:13;;;;;;;;;;;:20;;:56;;;;31083:22;31092:12;31083:4;;:8;;:22;;;;:::i;:::-;31060:8;:20;31069:10;31060:20;;;;;;;;;;;;;;;:45;;;;31140:10;31131:33;;31136:2;31131:33;31152:5;31159:4;31131:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;30162:1010;;;;:::o;24546:25::-;;;;;;;;;;;;;:::o;27959:97::-;28012:4;28036:5;:12;28042:5;28036:12;;;;;;;;;;;;;;;;28029:19;;27959:97;;;:::o;31399:29::-;;;;:::o;26945:432::-;26993:9;27004:13;27019:12;27051:9;:13;27061:2;27051:13;;;;;;;;;;;:27;;;27044:34;;27100:9;:13;27110:2;27100:13;;;;;;;;;;;:31;;;27089:42;;27152:11;27166:18;27175:8;27166:4;:8;;:18;;;;:::i;:::-;27152:32;;27202:27;27222:6;27202:15;27211:5;27202:4;:8;;:15;;;;:::i;:::-;:19;;:27;;;;:::i;:::-;27195:34;;27251:31;27275:6;27251:19;27264:5;27251:8;:12;;:19;;;;:::i;:::-;:23;;:31;;;;:::i;:::-;27240:42;;27313:56;27335:9;:13;27345:2;27335:13;;;;;;;;;;;:33;;;27313:17;27324:5;27313:6;:10;;:17;;;;:::i;:::-;:21;;:56;;;;:::i;:::-;27303:66;;26945:432;;;;;;:::o;32186:131::-;32243:7;32270:39;32279:15;32296:12;;32270:8;:39::i;:::-;32263:46;;32186:131;:::o;29133:1017::-;29207:12;29185:9;:13;29195:2;29185:13;;;;;;;;;;;:19;;;:34;29177:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29270:12;29250:9;:13;29260:2;29250:13;;;;;;;;;;;:17;;;:32;29242:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29313:13;29329:9;:13;29339:2;29329:13;;;;;;;;;;;:26;;:38;29356:10;29329:38;;;;;;;;;;;;;;;;29313:54;;29393:1;29382:8;:12;29378:181;;;29445:45;29481:8;29445:9;:13;29455:2;29445:13;;;;;;;;;;;:31;;;:35;;:45;;;;:::i;:::-;29411:9;:13;29421:2;29411:13;;;;;;;;;;;:31;;:79;;;;29546:1;29505:9;:13;29515:2;29505:13;;;;;;;;;;;:26;;:38;29532:10;29505:38;;;;;;;;;;;;;;;:42;;;;29378:181;29579:9;29591:59;29615:9;:13;29625:2;29615:13;;;;;;;;;;;:22;;:34;29638:10;29615:34;;;;;;;;;;;;;;;;29591:19;29599:10;29591:7;:19::i;:::-;:23;;:59;;;;:::i;:::-;29579:71;;29691:37;29723:4;29691:9;:13;29701:2;29691:13;;;;;;;;;;;:27;;;:31;;:37;;;;:::i;:::-;29661:9;:13;29671:2;29661:13;;;;;;;;;;;:27;;:67;;;;29776:19;29784:10;29776:7;:19::i;:::-;29739:9;:13;29749:2;29739:13;;;;;;;;;;;:22;;:34;29762:10;29739:34;;;;;;;;;;;;;;;:56;;;;29852:10;;29816:9;:13;29826:2;29816:13;;;;;;;;;;;:33;;:46;;;;29873:11;29887:64;29919:9;:13;29929:2;29919:13;;;;;;;;;;;:31;;;29887:9;:13;29897:2;29887:13;;;;;;;;;;;:27;;;:31;;:64;;;;:::i;:::-;29873:78;;29985:33;30007:10;;29985:17;29996:5;29985:6;:10;;:17;;;;:::i;:::-;:21;;:33;;;;:::i;:::-;29962:9;:13;29972:2;29962:13;;;;;;;;;;;:20;;:56;;;;30062:22;30071:12;30062:4;;:8;;:22;;;;:::i;:::-;30039:8;:20;30048:10;30039:20;;;;;;;;;;;;;;;:45;;;;30119:10;30110:32;;30115:2;30110:32;30131:4;30137;30110:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;29133:1017;;;;:::o;31513:57::-;;;;;;;;;;;;;;;;;:::o;9878:79::-;9916:7;9943:6;;;;;;;;;;;9936:13;;9878:79;:::o;10244:94::-;10284:4;10324:6;;;;;;;;;;;10308:22;;:12;:10;:12::i;:::-;:22;;;10301:29;;10244:94;:::o;29082:38::-;;;;;;;;;;;;;;;;;;;;;;:::o;33109:359::-;33160:10;31921:16;:14;:16::i;:::-;31898:20;:39;;;;31965:26;:24;:26::i;:::-;31948:14;:43;;;;32025:1;32006:21;;:7;:21;;;32002:157;;32063:15;32070:7;32063:6;:15::i;:::-;32044:7;:16;32052:7;32044:16;;;;;;;;;;;;;;;:34;;;;32127:20;;32093:22;:31;32116:7;32093:31;;;;;;;;;;;;;;;:54;;;;32002:157;33200:1;33191:6;:10;33183:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33257:4;33235:26;;:6;:18;33242:10;33235:18;;;;;;;;;;;;;;;;;;;;;;;;;:26;;;33231:158;;;33298:29;33320:6;33298:5;:17;33304:10;33298:17;;;;;;;;;;;;;;;;:21;;:29;;;;:::i;:::-;33278:5;:17;33284:10;33278:17;;;;;;;;;;;;;;;:49;;;;33355:22;33370:6;33355:10;;:14;;:22;;;;:::i;:::-;33342:10;:35;;;;33231:158;33399:19;33411:6;33399:11;:19::i;:::-;33441:10;33434:26;;;33453:6;33434:26;;;;;;;;;;;;;;;;;;33109:359;;:::o;24628:153::-;24712:10;;;;;;;;;;;24698:24;;:10;:24;;;24690:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24762:11;24749:10;;:24;;;;;;;;;;;;;;;;;;24628:153;:::o;28611:459::-;28677:4;28655:26;;:6;:18;28662:10;28655:18;;;;;;;;;;;;;;;;;;;;;;;;;:26;;;28647:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28724:5;28703:6;:18;28710:10;28703:18;;;;;;;;;;;;;;;;:26;;;;;;;;;;;;;;;;;;28757:5;:17;28763:10;28757:17;;;;;;;;;;;;;;;;28744:10;;:30;28740:221;;;28869:1;28856:10;:14;;;;28740:221;;;28916:33;28931:5;:17;28937:10;28931:17;;;;;;;;;;;;;;;;28916:10;;:14;;:33;;;;:::i;:::-;28903:10;:46;;;;28740:221;28976:54;28988:10;29000:5;:17;29006:10;29000:17;;;;;;;;;;;;;;;;29019:10;;28976:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29061:1;29041:5;:17;29047:10;29041:17;;;;;;;;;;;;;;;:21;;;;28611:459::o;24793:134::-;24866:10;;;;;;;;;;;24852:24;;:10;:24;;;24844:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24912:7;24903:6;:16;;;;24793:134;:::o;31435:29::-;;;;:::o;32325:420::-;32372:7;32413:1;32396:13;:11;:13::i;:::-;:18;32392:78;;;32438:20;;32431:27;;;;32392:78;32500:237;32543:179;32708:13;:11;:13::i;:::-;32543:138;32676:4;32543:106;32638:10;;32543:68;32596:14;;32543:26;:24;:26::i;:::-;:52;;:68;;;;:::i;:::-;:94;;:106;;;;:::i;:::-;:132;;:138;;;;:::i;:::-;:164;;:179;;;;:::i;:::-;32500:20;;:24;;:237;;;;:::i;:::-;32480:257;;32325:420;;:::o;25235:126::-;25304:10;;;;;;;;;;;25290:24;;:10;:24;;;25282:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25348:5;25341:4;:12;;;;25235:126;:::o;25776:745::-;25879:7;;25857:19;25865:10;25857:7;:19::i;:::-;:29;25849:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25939:422;;;;;;;;25967:13;;25939:422;;;;26005:10;25939:422;;;;;;26045:1;25939:422;;;;26080:1;25939:422;;;;26103:12;25939:422;;;;26135:24;26146:12;26135:6;;:10;;:24;;;;:::i;:::-;25939:422;;;;26184:8;25939:422;;;;;;26213:4;25939:422;;;;26253:10;;25939:422;;;;26286:1;25939:422;;;;26318:6;;25939:422;;;;26345:4;25939:422;;;;;25910:9;:26;25920:13;;:15;;;;;;;;;;;;25910:26;;;;;;;;;;;:451;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26387:70;26399:13;;26414:10;26426:12;26440:6;;26448:8;26387:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26491:22;26500:12;26491:4;;:8;;:22;;;;:::i;:::-;26468:8;:20;26477:10;26468:20;;;;;;;;;;;;;;;:45;;;;25776:745;;:::o;28097:37::-;;;;;;;;;;;;;;;;;:::o;24277:25::-;;;;:::o;31471:35::-;;;;:::o;33968:97::-;34004:31;34013:21;34023:10;34013:9;:21::i;:::-;34004:8;:31::i;:::-;34046:11;:9;:11::i;:::-;33968:97::o;23067:256::-;23152:10;;;;;;;;;;;23138:24;;:10;:24;;;23130:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23207:5;;;;;;;;;;;23197:15;;:6;:15;;;;23189:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23252:4;;;;;;;;;;;23242:14;;:6;:14;;;;23234:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23276:39;23296:10;;;;;;;;;;;23308:6;23276;:19;;;;:39;;;;;:::i;:::-;23067:256;;:::o;31361:31::-;;;;:::o;24309:26::-;;;;:::o;10984:109::-;10090:9;:7;:9::i;:::-;10082:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11057:28;11076:8;11057:18;:28::i;:::-;10984:109;:::o;24398:24::-;;;;:::o;31226:72::-;;;;;;;;;;;;;:::o;26533:400::-;26578:9;26589:13;26604:12;26620;26629:2;26620:8;:12::i;:::-;26577:55;;;;;;26682:7;26651:9;:13;26661:2;26651:13;;;;;;;;;;;:28;;;:38;26643:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26740:12;26720:9;:13;26730:2;26720:13;;;;;;;;;;;:17;;;:32;26712:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26799:4;26777:26;;:9;:13;26787:2;26777:13;;;;;;;;;;;:18;;;;;;;;;;;;:26;;;26773:73;;;26820:14;26831:2;26820:10;:14::i;:::-;26773:73;26865:9;:13;26875:2;26865:13;;;;;;;;;;;:22;;;;;;;;;;;;26856:40;;;26897:2;26901:4;26907:8;26917:7;26856:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26856:69:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26856:69:0;;;;26533:400;;;;:::o;25373:209::-;25438:4;25428:14;;:6;;;;;;;;;;;:14;;;25420:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25474:5;25465:6;;:14;;;;;;;;;;;;;;;;;;25506:2;25490:13;:18;;;;25532:42;25519:10;;:55;;;;;;;;;;;;;;;;;;25373:209;:::o;3628:136::-;3686:7;3713:43;3717:1;3720;3713:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;3706:50;;3628:136;;;;:::o;4544:471::-;4602:7;4852:1;4847;:6;4843:47;;;4877:1;4870:8;;;;4843:47;4902:9;4918:1;4914;:5;4902:17;;4947:1;4942;4938;:5;;;;;;:10;4930:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5006:1;4999:8;;;4544:471;;;;;:::o;5483:132::-;5541:7;5568:39;5572:1;5575;5568:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;5561:46;;5483:132;;;;:::o;3172:181::-;3230:7;3250:9;3266:1;3262;:5;3250:17;;3291:1;3286;:6;;3278:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3344:1;3337:8;;;3172:181;;;;:::o;22624:215::-;22691:24;22708:6;22691:12;;:16;;:24;;;;:::i;:::-;22676:12;:39;;;;22750:33;22776:6;22750:9;:21;22760:10;22750:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;22726:9;:21;22736:10;22726:21;;;;;;;;;;;;;;;:57;;;;22794:37;22812:10;22824:6;22794:4;;;;;;;;;;;:17;;;;:37;;;;;:::i;:::-;22624:215;:::o;8627:98::-;8672:15;8707:10;8700:17;;8627:98;:::o;18289:204::-;18390:95;18409:5;18439;:18;;;:27;;;;18468:4;18474:2;18478:5;18416:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;18416:68:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;18416:68:0;18390:18;:95::i;:::-;18289:204;;;;:::o;18105:176::-;18188:85;18207:5;18237;:14;;;:23;;;;18262:2;18266:5;18214:58;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;18214:58:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;18214:58:0;18188:18;:85::i;:::-;18105:176;;;:::o;1834:106::-;1892:7;1923:1;1919;:5;:13;;1931:1;1919:13;;;1927:1;1919:13;1912:20;;1834:106;;;;:::o;22385:231::-;22449:24;22466:6;22449:12;;:16;;:24;;;;:::i;:::-;22434:12;:39;;;;22508:33;22534:6;22508:9;:21;22518:10;22508:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;22484:9;:21;22494:10;22484:21;;;;;;;;;;;;;;;:57;;;;22552:56;22574:10;22594:4;22601:6;22552:4;;;;;;;;;;;:21;;;;:56;;;;;;:::i;:::-;22385:231;:::o;11199:229::-;11293:1;11273:22;;:8;:22;;;;11265:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11383:8;11354:38;;11375:6;;;;;;;;;;;11354:38;;;;;;;;;;;;11412:8;11403:6;;:17;;;;;;;;;;;;;;;;;;11199:229;:::o;4101:192::-;4187:7;4220:1;4215;:6;;4223:12;4207:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;4207:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4247:9;4263:1;4259;:5;4247:17;;4284:1;4277:8;;;4101:192;;;;;:::o;6145:345::-;6231:7;6330:1;6326;:5;6333:12;6318:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;6318:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6357:9;6373:1;6369;:5;;;;;;6357:17;;6481:1;6474:8;;;6145:345;;;;;:::o;20144:1114::-;20748:27;20756:5;20748:25;;;:27::i;:::-;20740:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20885:12;20899:23;20934:5;20926:19;;20946:4;20926:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;20926:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;20884:67:0;;;;20970:7;20962:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21051:1;21031:10;:17;:21;21027:224;;;21173:10;21162:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21162:30:0;;;;;;;;;;;;;;;;21154:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21027:224;20144:1114;;;;:::o;14943:810::-;15003:4;15456:16;15483:19;15505:66;15483:88;;;;15674:7;15662:20;15650:32;;15714:3;15702:15;;:8;:15;;:42;;;;;15733:11;15721:8;:23;;15702:42;15694:51;;;;14943:810;;;:::o;22929:12217::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

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

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.