POL Price: $0.363884 (-2.32%)
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 POL

POL Value

$0.00

Token Holdings

Sponsored

Transaction Hash
Method
Block
From
To
Approve471818002023-09-05 17:00:07403 days ago1693933207IN
0x22e16E5D...2B04A2335
0 POL0.00614151131.71868163
Approve366942262022-12-11 9:22:07672 days ago1670750527IN
0x22e16E5D...2B04A2335
0 POL0.0025885855.51807879
Approve364783372022-12-06 2:14:38677 days ago1670292878IN
0x22e16E5D...2B04A2335
0 POL0.0015461133.16002637
Approve353251072022-11-07 19:06:42705 days ago1667848002IN
0x22e16E5D...2B04A2335
0 POL0.00965891207.15718015
Approve299077402022-06-23 13:25:45843 days ago1655990745IN
0x22e16E5D...2B04A2335
0 POL0.0016785336.00001285
Approve187645082021-09-05 5:52:241134 days ago1630821144IN
0x22e16E5D...2B04A2335
0 POL0.000163193.5
Approve181944732021-08-20 12:43:451150 days ago1629463425IN
0x22e16E5D...2B04A2335
0 POL0.000014571
Approve181343502021-08-18 21:30:251151 days ago1629322225IN
0x22e16E5D...2B04A2335
0 POL0.000046621
Approve181342212021-08-18 21:25:591151 days ago1629321959IN
0x22e16E5D...2B04A2335
0 POL0.000048951.04999999
Approve181308222021-08-18 19:17:121151 days ago1629314232IN
0x22e16E5D...2B04A2335
0 POL0.0002646210
Approve181308192021-08-18 19:17:061151 days ago1629314226IN
0x22e16E5D...2B04A2335
0 POL0.0002926210
Approve181308152021-08-18 19:16:541151 days ago1629314214IN
0x22e16E5D...2B04A2335
0 POL0.0002926210
Approve181299102021-08-18 18:43:401151 days ago1629312220IN
0x22e16E5D...2B04A2335
0 POL0.0002646210
Approve181298812021-08-18 18:42:421151 days ago1629312162IN
0x22e16E5D...2B04A2335
0 POL0.0004636210
Approve181295502021-08-18 18:31:201151 days ago1629311480IN
0x22e16E5D...2B04A2335
0 POL0.0002646210
Approve181294802021-08-18 18:28:561151 days ago1629311336IN
0x22e16E5D...2B04A2335
0 POL0.0002646210
Approve181293732021-08-18 18:25:141151 days ago1629311114IN
0x22e16E5D...2B04A2335
0 POL0.0002926210
Approve180819642021-08-17 12:01:221153 days ago1629201682IN
0x22e16E5D...2B04A2335
0 POL0.000233135
Approve180531142021-08-16 17:26:551153 days ago1629134815IN
0x22e16E5D...2B04A2335
0 POL0.000048951.05000999
Approve180507492021-08-16 16:03:051154 days ago1629129785IN
0x22e16E5D...2B04A2335
0 POL0.0032171969
Approve180493462021-08-16 15:12:471154 days ago1629126767IN
0x22e16E5D...2B04A2335
0 POL0.0002926210
Approve180444042021-08-16 12:07:361154 days ago1629115656IN
0x22e16E5D...2B04A2335
0 POL0.000442949.5
Approve180415572021-08-16 10:19:051154 days ago1629109145IN
0x22e16E5D...2B04A2335
0 POL0.000093252
Approve180415212021-08-16 10:17:491154 days ago1629109069IN
0x22e16E5D...2B04A2335
0 POL0.000162223.5
Approve180414262021-08-16 10:14:351154 days ago1629108875IN
0x22e16E5D...2B04A2335
0 POL0.000233135
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x82d17e1C...9966a0F9E
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
PolyZeroDawn

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-08-08
*/

/**
 *Submitted for verification at polygonscan.com on 2021-06-13
*/

/*
 __   __           __  ___  __   __  
|__) /  \ |    \ /  / |__  |__) /  \ 
|    \__/ |___  |  /_ |___ |  \ \__/ 
                                     
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;

interface IUniswapV2Factory { 
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);  

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @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].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

/**
 * @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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the token symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the token name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

    /**
     * @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);
}

/*
 * @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.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

/**
 * @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.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * 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.
 */
abstract contract Ownable is Context {
    address private _owner;
    address private _operator;
    
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    event OperatorshipTransferred(address indexed previousOperator, address indexed newOperator);
    
    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        _operator = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
        emit OperatorshipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Returns the address of the current operator.
     */
    function operator() public view returns (address) {
        return _operator;
    }
    
    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Throws if called by any account other than the operator.
     */
    modifier onlyOperator() {
        require(_operator == _msgSender(), "Ownable: caller is not the operator");
        _;
    }
    
    /**
     * @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 virtual 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 virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
    
    /**
     * @dev Transfers operatorship of the contract to a new account (`newOperator`).
     * Can only be called by the current operator.
     */
    function transferOperatorship(address newOperator) public virtual onlyOperator {
        require(newOperator != address(0), "Ownable: new operator is the zero address");
        emit OperatorshipTransferred(_operator, newOperator);
        _operator = newOperator;
    }
}

/**
 * @dev Implementation of the {IBEP20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of BEP20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IBEP20-approve}.
 */
contract BEP20 is Context, IBEP20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;
    string private _name;
    string private _symbol;
    uint8 private _decimals;
    
    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external override view returns (address) {
        return owner();
    }

    /**
     * @dev Returns the token name.
     */
    function name() public override view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the token symbol.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {BEP20-totalSupply}.
     */
    function totalSupply() public override view returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {BEP20-balanceOf}.
     */
    function balanceOf(address account) public override view returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {BEP20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {BEP20-allowance}.
     */
    function allowance(address owner, address spender) public override view returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {BEP20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {BEP20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {BEP20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for `sender`'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(amount, "BEP20: transfer amount exceeds allowance")
        );
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {BEP20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {BEP20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(subtractedValue, "BEP20: decreased allowance below zero")
        );
        return true;
    }

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
     */
    function mint(uint256 amount) public onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.   
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "BEP20: transfer from the zero address");
        require(recipient != address(0), "BEP20: transfer to the zero address");
        
        _balances[sender] = _balances[sender].sub(amount, "BEP20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal {
        require(account != address(0), "BEP20: mint to the zero address");

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal {
        require(account != address(0), "BEP20: burn from the zero address");

        _balances[account] = _balances[account].sub(amount, "BEP20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "BEP20: approve from the zero address");  
        require(spender != address(0), "BEP20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(
            account,
            _msgSender(),
            _allowances[account][_msgSender()].sub(amount, "BEP20: burn amount exceeds allowance")
        );
    }
}

// PolyZero with Governance.
contract PolyZeroDawn is BEP20 {
    // Transfer tax rate in basis points. (default 5%)
    uint16 public transferTaxRate = 0;
    // Burn rate % of transfer tax. (default 20% x 5% = 1% of total amount).
    uint16 public burnRate = 0;
    // Max transfer tax rate: 10%.
    uint16 public constant MAXIMUM_TRANSFER_TAX_RATE = 0;
    // Burn address
    address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD;

    // Max transfer amount rate in basis points. (default is 0.5% of total supply)
    uint16 public maxTransferAmountRate = 1000;
    // Addresses that excluded from antiWhale
    mapping(address => bool) private _excludedFromAntiWhale; 
    // Automatic swap and liquify enabled
    bool public swapAndLiquifyEnabled = false;
    // Min amount to liquify. (default 500 Zero)
    uint256 public minAmountToLiquify = 500 ether;
    // The swap router, modifiable. Will be changed to PolyZero's router when our own AMM release
    IUniswapV2Router02 public uniswapRouter;
    // The trading pair
    address public uniswapPair;
    // In swap and liquify
    bool private _inSwapAndLiquify;

    // The operator can only update the transfer tax rate
    address private _operator;

    // @dev anti bot
    uint public constant MINIMUM_DELAY = 0 seconds;
    uint public constant MAXIMUM_DELAY = 1 days;
    mapping(address => uint256) public _addressToLastSwaptime;
    uint256 public _lockedTimeSender;
    uint256 public _lockedTimeRecipient;
    
    // Events
    event OperatorTransferred(address indexed previousOperator, address indexed newOperator);
    event TransferTaxRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate);
    event BurnRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate);
    event MaxTransferAmountRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate);
    event SwapAndLiquifyEnabledUpdated(address indexed operator, bool enabled);
    event MinAmountToLiquifyUpdated(address indexed operator, uint256 previousAmount, uint256 newAmount);
    event UniswapRouterUpdated(address indexed operator, address indexed router, address indexed pair);
    event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity);
    event OperatorshipTransferred(address indexed previousOperator, address indexed newOperator);

    modifier antiWhale(address sender, address recipient, uint256 amount) {
        if (maxTransferAmount() > 0) {
            if (
                _excludedFromAntiWhale[sender] == false
                && _excludedFromAntiWhale[recipient] == false
            ) {
                require(amount <= maxTransferAmount(), "TOKEN INFOR::antiWhale: Transfer amount exceeds the maxTransferAmount");
            }
        }
        _;
    }

    modifier lockTheSwap {
        _inSwapAndLiquify = true;
        _;
        _inSwapAndLiquify = false;
    }

    modifier transferTaxFree {
        uint16 _transferTaxRate = transferTaxRate;
        transferTaxRate = 0;
        _;
        transferTaxRate = _transferTaxRate;
    }

    /**
     * @notice Constructs the PolyZero Token contract.
     */
    constructor(string memory name, string memory symbol) public BEP20(name, symbol) {
        _operator = _msgSender();
        emit OperatorTransferred(address(0), _operator);
        
        _excludedFromAntiWhale[msg.sender] = true;
        _excludedFromAntiWhale[address(0)] = true;
        _excludedFromAntiWhale[address(this)] = true;
        _excludedFromAntiWhale[BURN_ADDRESS] = true;
    }

    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }
    
    /// @dev overrides transfer function to meet tokenomics of Zero
    function _transfer(address sender, address recipient, uint256 amount) internal virtual override antiWhale(sender, recipient, amount) {
        uint256 lastSwapTimeR = _addressToLastSwaptime[recipient];
        require(
            block.timestamp - lastSwapTimeR >= _lockedTimeRecipient,
            "Lock time has not been released from last swap"
        );
        uint256 lastSwapTimeS = _addressToLastSwaptime[sender];
        require(
            block.timestamp - lastSwapTimeS >= _lockedTimeSender,
            "Lock time has not been released from last swap - sender"
        );
        
        // swap and liquify  
        if (
            swapAndLiquifyEnabled == true 
            && _inSwapAndLiquify == false
            && address(uniswapRouter) != address(0)
            && uniswapPair != address(0)
            && sender != uniswapPair
            && sender != owner()
        ) {
            swapAndLiquify();
        }

        if (recipient == BURN_ADDRESS || transferTaxRate == 0) {
            super._transfer(sender, recipient, amount);
        } else {
            // default tax is 5% of every transfer
            uint256 taxAmount = amount.mul(transferTaxRate).div(10000);
            uint256 burnAmount = taxAmount.mul(burnRate).div(100);
            uint256 liquidityAmount = taxAmount.sub(burnAmount);
            require(taxAmount == burnAmount + liquidityAmount, "TOKEN INFOR::transfer: Burn value invalid");

            // default 95% of transfer sent to recipient
            uint256 sendAmount = amount.sub(taxAmount);
            require(amount == sendAmount + taxAmount, "TOKEN INFOR::transfer: Tax value invalid");

            super._transfer(sender, BURN_ADDRESS, burnAmount);
            super._transfer(sender, address(this), liquidityAmount);
            super._transfer(sender, recipient, sendAmount);
            amount = sendAmount;
        }
        _addressToLastSwaptime[sender] = block.timestamp;
        _addressToLastSwaptime[recipient] = block.timestamp;
    }

    /// @dev Swap and liquify
    function swapAndLiquify() private lockTheSwap transferTaxFree {
        uint256 contractTokenBalance = balanceOf(address(this));
        uint256 maxTransferAmount = maxTransferAmount();
        contractTokenBalance = contractTokenBalance > maxTransferAmount ? maxTransferAmount : contractTokenBalance;

        if (contractTokenBalance >= minAmountToLiquify) {
            // only min amount to liquify
            uint256 liquifyAmount = minAmountToLiquify;

            // split the liquify amount into halves
            uint256 half = liquifyAmount.div(2);
            uint256 otherHalf = liquifyAmount.sub(half);

            // capture the contract's current ETH balance.
            // this is so that we can capture exactly the amount of ETH that the
            // swap creates, and not make the liquidity event include any ETH that
            // has been manually sent to the contract
            uint256 initialBalance = address(this).balance;

            // swap tokens for ETH
            swapTokensForEth(half);

            // how much ETH did we just swap into?
            uint256 newBalance = address(this).balance.sub(initialBalance);

            // add liquidity
            addLiquidity(otherHalf, newBalance);

            emit SwapAndLiquify(half, newBalance, otherHalf);
        }
    }

    /// @dev Swap tokens for eth
    function swapTokensForEth(uint256 tokenAmount) private {
        // generate the swap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapRouter.WETH();

        _approve(address(this), address(uniswapRouter), tokenAmount);

        // make the swap
        uniswapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    /// @dev Add liquidity
    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapRouter), tokenAmount);

        // add the liquidity
        uniswapRouter.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            operator(),
            block.timestamp
        );
    }

    function setLockTimeSenderSwap(uint256 _seconds) external onlyOperator {
        require(_seconds>=MINIMUM_DELAY && _seconds<=MAXIMUM_DELAY, "OPERATION:the _seconds is invalid!");
        _lockedTimeSender = _seconds;
    }
    
    function setLockTimeRecipientSwap(uint256 _seconds) external onlyOperator {
        require(_seconds>=MINIMUM_DELAY && _seconds<=MAXIMUM_DELAY, "OPERATION:the _seconds is invalid!");
        _lockedTimeRecipient = _seconds;
    }

    /**
     * @dev Returns the max transfer amount.
     */
    function maxTransferAmount() public view returns (uint256) {
        return totalSupply().mul(maxTransferAmountRate).div(10000);
    }

    /**
     * @dev Returns the address is excluded from antiWhale or not.
     */
    function isExcludedFromAntiWhale(address _account) public view returns (bool) {
        return _excludedFromAntiWhale[_account];
    }

    // To receive MATIC from QuickSwapRouter when swapping
    receive() external payable {}
    
    /**
     * @dev Update the max transfer amount rate.
     * Can only be called by the current operator.
     */
    function updateMaxTransferAmountRate(uint16 _maxTransferAmountRate) public onlyOperator {
        require(_maxTransferAmountRate <= 10000, "TOKENINFOR::updateMaxTransferAmountRate: Max transfer amount rate must not exceed the maximum rate.");
        emit MaxTransferAmountRateUpdated(msg.sender, maxTransferAmountRate, _maxTransferAmountRate);
        maxTransferAmountRate = _maxTransferAmountRate;
    }

    /**
     * @dev Update the min amount to liquify.
     * Can only be called by the current operator.
     */
    function updateMinAmountToLiquify(uint256 _minAmount) public onlyOperator {
        emit MinAmountToLiquifyUpdated(msg.sender, minAmountToLiquify, _minAmount);
        minAmountToLiquify = _minAmount;
    }

    /**
     * @dev Exclude or include an address from antiWhale.
     * Can only be called by the current operator.
     */
    function setExcludedFromAntiWhale(address _account, bool _excluded) public onlyOperator {
        _excludedFromAntiWhale[_account] = _excluded;
    }

    /**
     * @dev Update the swapAndLiquifyEnabled.
     * Can only be called by the current operator.
     */
    function updateSwapAndLiquifyEnabled(bool _enabled) public onlyOperator {
        emit SwapAndLiquifyEnabledUpdated(msg.sender, _enabled);
        swapAndLiquifyEnabled = _enabled;
    }

    /**
     * @dev Update the swap router.
     * Can only be called by the current operator.
     */
    function updateUniswapRouter(address _router) public onlyOperator {
        uniswapRouter = IUniswapV2Router02(_router);
        uniswapPair = IUniswapV2Factory(uniswapRouter.factory()).getPair(address(this), uniswapRouter.WETH());
        require(uniswapPair != address(0), "TOKENINFOR::updateUniswapRouter: Invalid pair address.");
        emit UniswapRouterUpdated(msg.sender, address(uniswapRouter), uniswapPair);
    }

    /**
     * @dev Transfers operator of the contract to a new account (`newOperator`).
     * Can only be called by the current operator.
     */
    function transferOperator(address newOperator) public onlyOperator {
        require(newOperator != address(0), "TOKENINFOR::transferOperator: new operator is the zero address");
        emit OperatorTransferred(_operator, newOperator);
        _operator = newOperator;
    }

    // Copied and modified from YAM code:
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
    // Which is copied and modified from COMPOUND:
    // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

    /// @dev A record of each accounts delegate
    mapping (address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

      /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
        external
        view
        returns (address)
    {
        return _delegates[delegator];
    }

   /**
    * @notice Delegate votes from `msg.sender` to `delegatee`
    * @param delegatee The address to delegate votes to
    */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "TOKENINFOR::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "TOKENINFOR::delegateBySig: invalid nonce");
        require(now <= expiry, "TOKENINFOR::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
        external
        view
        returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "TOKENINFOR::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee) internal {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying Zero (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
        internal
    {
        uint32 blockNumber = safe32(block.number, "TOKENINFOR::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

/**
 * @title SafeBEP20
 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

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

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

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IBEP20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IBEP20 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),
            "SafeBEP20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IBEP20 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(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(
            value,
            "SafeBEP20: 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(IBEP20 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. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeBEP20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeBEP20: BEP20 operation did not succeed");
        }
    }
}


// MasterChef is the master of TOKEN. He can make TOKEN and he is a fair guy.
//
// Note that it's ownable and the owner wields tremendous power. The ownership
// will be transferred to a governance smart contract once TOKEN is sufficiently
// distributed and the community can show to govern itself.
//
// Have fun reading it. Hopefully it's bug-free. God bless.
contract MasterChef is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;

    // Info of each user.
    struct UserInfo {
        uint256 amount;         // How many LP tokens the user has provided.
        uint256 rewardDebtDark;     // Reward debt. See explanation below.
        uint256 rewardDebtSpark;     // Reward debt. See explanation below.
        uint256 rewardDebtGlow;     // Reward debt. See explanation below.
        uint256 rewardLockedUpDark;  // Reward locked up.
        uint256 rewardLockedUpSpark;  // Reward locked up.
        uint256 rewardLockedUpGlow;  // Reward locked up.
        uint256 nextHarvestUntil; // When can the user harvest again.
        //
        // We do some fancy math here. Basically, any point in time, the amount of TOKENs
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accTokenPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accTokenPerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }

    // Info of each pool.
    struct PoolInfo {
        IBEP20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. TOKENs to distribute per block.
        uint256 lastRewardBlockDark;  // Last block number that TOKENs distribution occurs.
        uint256 lastRewardBlockSpark;  // Last block number that TOKENs distribution occurs.
        uint256 lastRewardBlockGlow;  // Last block number that TOKENs distribution occurs.
        uint256 accTokenPerShareDark;   // Accumulated TOKENs per share, times 1e12. See below.
        uint256 accTokenPerShareSpark;   // Accumulated TOKENs per share, times 1e12. See below.
        uint256 accTokenPerShareGlow;   // Accumulated TOKENs per share, times 1e12. See below.
        uint16 depositFeeBP;      // Deposit fee in basis points
        uint256 harvestInterval;  // Harvest interval in seconds
    }

    // The TOKEN!
    PolyZeroDawn public tokenDark;
    PolyZeroDawn public tokenSpark;
    PolyZeroDawn public tokenGlow;

    // Dev address.
    address public devAddress;
    // Deposit Fee address
    address public feeAddress;
    // Zero tokens created per block.
    uint256 public tokenPerBlock;
    // Bonus muliplier for early token makers.
    uint256 public constant BONUS_MULTIPLIER = 1;
    // Max harvest interval: 14 days.
    uint256 public constant MAXIMUM_HARVEST_INTERVAL = 14 days;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when TOKEN mining starts.
    uint256 public startBlockDark;
    uint256 public startBlockSpark;
    uint256 public startBlockGlow;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmissionRateUpdated(address indexed caller, uint256 previousAmount, uint256 newAmount);
    event RewardLockedUp(address indexed user, uint256 indexed pid, uint256 amountLockedUp);

    constructor(
        PolyZeroDawn _tokenDark,
        PolyZeroDawn _tokenSpark,
        PolyZeroDawn _tokenGlow,
        uint256 _startBlockDark,
        uint256 _startBlockSpark,
        uint256 _startBlockGlow,
        uint256 _tokenPerBlock
    ) public {
        tokenDark = _tokenDark;
        tokenSpark = _tokenSpark;
        tokenGlow = _tokenGlow;
        startBlockDark = _startBlockDark;
        startBlockSpark = _startBlockSpark;
        startBlockGlow = _startBlockGlow;
        tokenPerBlock = _tokenPerBlock;

        devAddress = msg.sender;
        feeAddress = msg.sender;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    function add(uint256 _allocPoint, IBEP20 _lpToken, uint16 _depositFeeBP, uint256 _harvestInterval, bool _withUpdate) public onlyOwner {
        require(_depositFeeBP <= 10000, "add: invalid deposit fee basis points");
        require(_harvestInterval <= MAXIMUM_HARVEST_INTERVAL, "add: invalid harvest interval");
        if (_withUpdate) {
            massUpdatePools();
        }
        
        uint256 lastRewardBlockDark = block.number > startBlockDark ? block.number : startBlockDark;
        uint256 lastRewardBlockSpark = block.number > startBlockSpark ? block.number : startBlockSpark;
        uint256 lastRewardBlockGlow = block.number > startBlockGlow ? block.number : startBlockGlow;
        
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardBlockDark: lastRewardBlockDark,
            lastRewardBlockSpark: lastRewardBlockSpark,
            lastRewardBlockGlow: lastRewardBlockGlow,
            accTokenPerShareDark: 0,
            accTokenPerShareSpark: 0,
            accTokenPerShareGlow: 0,
            depositFeeBP: _depositFeeBP,
            harvestInterval: _harvestInterval
        }));
    }

    // Update the given pool's TOKEN allocation point and deposit fee. Can only be called by the owner.
    function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, uint256 _harvestInterval, bool _withUpdate) public onlyOwner {
        require(_depositFeeBP <= 10000, "set: invalid deposit fee basis points");
        require(_harvestInterval <= MAXIMUM_HARVEST_INTERVAL, "set: invalid harvest interval");
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;
        poolInfo[_pid].depositFeeBP = _depositFeeBP;
        poolInfo[_pid].harvestInterval = _harvestInterval;
    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to) public pure returns (uint256) {
        return _to.sub(_from).mul(BONUS_MULTIPLIER);
    }



    // View function to see pending TOKENs on frontend.
    function pendingTokenDark(uint256 _pid, address _user) public view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];

        uint256 accTokenPerShare = pool.accTokenPerShareDark;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlockDark && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlockDark, block.number);
            uint256 tokenReward = multiplier.mul(tokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accTokenPerShare = accTokenPerShare.add(tokenReward.mul(1e12).div(lpSupply));
        }
        uint256 pending = user.amount.mul(accTokenPerShare).div(1e12).sub(user.rewardDebtDark);
        return pending.add(user.rewardLockedUpDark);
    }
    function pendingTokenSpark(uint256 _pid, address _user) public view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];

        uint256 accTokenPerShare = pool.accTokenPerShareSpark;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlockSpark && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlockSpark, block.number);
            uint256 tokenReward = multiplier.mul(tokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accTokenPerShare = accTokenPerShare.add(tokenReward.mul(1e12).div(lpSupply));
        }
        uint256 pending = user.amount.mul(accTokenPerShare).div(1e12).sub(user.rewardDebtSpark);
        return pending.add(user.rewardLockedUpSpark);
    }
    function pendingTokenGlow(uint256 _pid, address _user) public view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];

        uint256 accTokenPerShare = pool.accTokenPerShareGlow;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlockGlow && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlockGlow, block.number);
            uint256 tokenReward = multiplier.mul(tokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accTokenPerShare = accTokenPerShare.add(tokenReward.mul(1e12).div(lpSupply));
        }
        uint256 pending = user.amount.mul(accTokenPerShare).div(1e12).sub(user.rewardDebtGlow);
        return pending.add(user.rewardLockedUpGlow);
    }

    // View function to see pending TOKENs on frontend.
    function pendingToken(uint256 _pid, address _user) external view returns (uint256) {
        return pendingTokenDark(_pid, _user) + pendingTokenSpark(_pid, _user) + pendingTokenGlow(_pid, _user);
    }
    
    // View function to see if user can harvest TOKENs.
    function canHarvest(uint256 _pid, address _user) public view returns (bool) {
        UserInfo storage user = userInfo[_pid][_user];
        return block.timestamp >= user.nextHarvestUntil;
    }

    // Update reward variables for all pools. Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        updatePoolDark(_pid);
        updatePoolSpark(_pid);
        updatePoolGlow(_pid);
    }
    function updatePoolDark(uint256 _pid) internal {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlockDark) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0 || pool.allocPoint == 0) {
            pool.lastRewardBlockDark = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlockDark, block.number);
        uint256 tokenReward = multiplier.mul(tokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        tokenDark.mint(devAddress, tokenReward.div(10));
        tokenDark.mint(address(this), tokenReward);
        pool.accTokenPerShareDark = pool.accTokenPerShareDark.add(tokenReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlockDark = block.number;
    }
    function updatePoolSpark(uint256 _pid) internal {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlockSpark) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0 || pool.allocPoint == 0) {
            pool.lastRewardBlockSpark = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlockSpark, block.number);
        uint256 tokenReward = multiplier.mul(tokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        tokenSpark.mint(devAddress, tokenReward.div(10));
        tokenSpark.mint(address(this), tokenReward);
        pool.accTokenPerShareSpark = pool.accTokenPerShareSpark.add(tokenReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlockSpark = block.number;
    }
    function updatePoolGlow(uint256 _pid) internal {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlockGlow) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0 || pool.allocPoint == 0) {
            pool.lastRewardBlockGlow = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlockGlow, block.number);
        uint256 tokenReward = multiplier.mul(tokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        tokenGlow.mint(devAddress, tokenReward.div(10));
        tokenGlow.mint(address(this), tokenReward);
        pool.accTokenPerShareGlow = pool.accTokenPerShareGlow.add(tokenReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlockGlow = block.number;
    }
    

    // Deposit LP tokens to MasterChef for TOKEN allocation.
    function deposit(uint256 _pid, uint256 _amount) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);

        payOrLockupPendingToken(_pid);
        if (_amount > 0) {

            uint256 beforeDeposit = pool.lpToken.balanceOf(address(this));
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
            uint256 afterDeposit = pool.lpToken.balanceOf(address(this));

            _amount = afterDeposit.sub(beforeDeposit);

            if (pool.depositFeeBP > 0) {
                uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000);
                pool.lpToken.safeTransfer(feeAddress, depositFee);
                user.amount = user.amount.add(_amount).sub(depositFee);
            } else {
                user.amount = user.amount.add(_amount);
            }
        }
        user.rewardDebtDark = user.amount.mul(pool.accTokenPerShareDark).div(1e12);
        user.rewardDebtSpark = user.amount.mul(pool.accTokenPerShareSpark).div(1e12);
        user.rewardDebtGlow = user.amount.mul(pool.accTokenPerShareGlow).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        payOrLockupPendingToken(_pid);
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebtDark = user.amount.mul(pool.accTokenPerShareDark).div(1e12);
        user.rewardDebtSpark = user.amount.mul(pool.accTokenPerShareSpark).div(1e12);
        user.rewardDebtGlow = user.amount.mul(pool.accTokenPerShareGlow).div(1e12);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 amount = user.amount;
        user.amount = 0;
        user.rewardDebtDark = 0;
        user.rewardDebtSpark = 0;
        user.rewardDebtGlow = 0;
        user.rewardLockedUpDark = 0;
        user.rewardLockedUpSpark = 0;
        user.rewardLockedUpGlow = 0;
        user.nextHarvestUntil = 0;
        pool.lpToken.safeTransfer(address(msg.sender), amount);
        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    // Pay or lockup pending TOKEN.
    function payOrLockupPendingToken(uint256 _pid) internal {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        if (user.nextHarvestUntil == 0) {
            user.nextHarvestUntil = block.timestamp.add(pool.harvestInterval);
        }

        uint256 pendingDark = user.amount.mul(pool.accTokenPerShareDark).div(1e12).sub(user.rewardDebtDark);
        uint256 pendingSpark = user.amount.mul(pool.accTokenPerShareSpark).div(1e12).sub(user.rewardDebtSpark);
        uint256 pendingGlow = user.amount.mul(pool.accTokenPerShareGlow).div(1e12).sub(user.rewardDebtGlow);

        if (canHarvest(_pid, msg.sender)) {
            if (pendingDark > 0 || user.rewardLockedUpDark > 0) {
                uint256 totalRewards = pendingDark.add(user.rewardLockedUpDark);

                // reset lockup
                user.rewardLockedUpDark = 0;
                
                // send rewards
                safeTokenTransferDark(msg.sender, totalRewards);
            }
            if (pendingSpark > 0 || user.rewardLockedUpSpark > 0) {
                uint256 totalRewards = pendingSpark.add(user.rewardLockedUpSpark);

                // reset lockup
                user.rewardLockedUpSpark = 0;
                
                // send rewards
                safeTokenTransferSpark(msg.sender, totalRewards);
            }
            if (pendingGlow > 0 || user.rewardLockedUpGlow > 0) {
                uint256 totalRewards = pendingGlow.add(user.rewardLockedUpGlow);

                // reset lockup
                user.rewardLockedUpGlow = 0;
                
                // send rewards
                safeTokenTransferGlow(msg.sender, totalRewards);
            }
            user.nextHarvestUntil = block.timestamp.add(pool.harvestInterval);

        } else {
            if (pendingDark > 0) {
                user.rewardLockedUpDark = user.rewardLockedUpDark.add(pendingDark);
                emit RewardLockedUp(msg.sender, _pid, pendingDark);
            }
            if (pendingSpark > 0) {
                user.rewardLockedUpSpark = user.rewardLockedUpSpark.add(pendingSpark);
                emit RewardLockedUp(msg.sender, _pid, pendingSpark);
            }
            if (pendingGlow > 0) {
                user.rewardLockedUpGlow = user.rewardLockedUpGlow.add(pendingGlow);
                emit RewardLockedUp(msg.sender, _pid, pendingGlow);
            }
        }
    }

    // Safe token transfer function, just in case if rounding error causes pool to not have enough TOKEN.
    function safeTokenTransferDark(address _to, uint256 _amount) internal {
        uint256 tokenBal = tokenDark.balanceOf(address(this));
        if (_amount > tokenBal) {
            tokenDark.transfer(_to, tokenBal);
        } else {
            tokenDark.transfer(_to, _amount);
        }
    }
    function safeTokenTransferSpark(address _to, uint256 _amount) internal {
        uint256 tokenBal = tokenSpark.balanceOf(address(this));
        if (_amount > tokenBal) {
            tokenSpark.transfer(_to, tokenBal);
        } else {
            tokenSpark.transfer(_to, _amount);
        }
    }
    function safeTokenTransferGlow(address _to, uint256 _amount) internal {
        uint256 tokenBal = tokenGlow.balanceOf(address(this));
        if (_amount > tokenBal) {
            tokenGlow.transfer(_to, tokenBal);
        } else {
            tokenGlow.transfer(_to, _amount);
        }
    }


    // Update dev address by the previous dev.
    function setDevAddress(address _devAddress) public {
        require(msg.sender == devAddress, "setDevAddress: FORBIDDEN");
        require(_devAddress != address(0), "setDevAddress: ZERO"); 
        devAddress = _devAddress;
    }

    function setFeeAddress(address _feeAddress) public {
        require(msg.sender == feeAddress, "setFeeAddress: FORBIDDEN");
        require(_feeAddress != address(0), "setFeeAddress: ZERO");
        feeAddress = _feeAddress;
    }

    // PolyZero has to add hidden dummy pools in order to alter the emission, here we make it simple and transparent to all.
    function updateEmissionRate(uint256 _tokenPerBlock) public onlyOwner {
        massUpdatePools();
        emit EmissionRateUpdated(msg.sender, tokenPerBlock, _tokenPerBlock);
        tokenPerBlock = _tokenPerBlock;
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"BurnRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"MaxTransferAmountRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"MinAmountToLiquifyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorshipTransferred","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":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"TransferTaxRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"router","type":"address"},{"indexed":true,"internalType":"address","name":"pair","type":"address"}],"name":"UniswapRouterUpdated","type":"event"},{"inputs":[],"name":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_TRANSFER_TAX_RATE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINIMUM_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_addressToLastSwaptime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_lockedTimeRecipient","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_lockedTimeSender","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isExcludedFromAntiWhale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferAmountRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minAmountToLiquify","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_excluded","type":"bool"}],"name":"setExcludedFromAntiWhale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_seconds","type":"uint256"}],"name":"setLockTimeRecipientSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_seconds","type":"uint256"}],"name":"setLockTimeSenderSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator","type":"address"}],"name":"transferOperatorship","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferTaxRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_maxTransferAmountRate","type":"uint16"}],"name":"updateMaxTransferAmountRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minAmount","type":"uint256"}],"name":"updateMinAmountToLiquify","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"updateSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"name":"updateUniswapRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

Deployed Bytecode

0x60806040526004361061031e5760003560e01c8063782d6fe1116101ab578063b1b43ae5116100f7578063d824835811610095578063e7a324dc1161006f578063e7a324dc1461123f578063f1127ed81461126a578063f2fde38b146112ec578063fccc28131461133d57610325565b8063d82483581461112a578063db83e99a14611155578063dd62ed3e146111ba57610325565b8063bed99850116100d1578063bed9985014610fd7578063c3cda52014611006578063c7f59a671461108c578063c816841b146110e957610325565b8063b1b43ae514610f18578063b4b5ea5714610f43578063b65d08b014610fa857610325565b806395d89b4111610164578063a392e6741161013e578063a392e67414610dd0578063a457c2d714610e0b578063a9059cbb14610e7c578063a9e7572314610eed57610325565b806395d89b4114610cb25780639f9a4e7f14610d42578063a0712d6814610d7f57610325565b8063782d6fe114610ae05780637d645fab14610b4f5780637ecebe0014610b7a578063893d20e814610bdf5780638da5cb5b14610c20578063908bb2ae14610c6157610325565b806340c10f191161026a5780635c19a95c116102235780636fcfff45116101fd5780636fcfff45146109b857806370a0823114610a23578063715018a614610a88578063735de9f714610a9f57610325565b80635c19a95c146108ed5780636a141e2c1461093e5780636f67a15e1461097d57610325565b806340c10f191461072d5780634a6a42d8146107885780634a74bb02146107d95780634f7f02e014610806578063570ca73514610831578063587cde1e1461087257610325565b8063229ce262116102d757806329605e77116102b157806329605e771461060e578063313ce5671461065f578063395093511461068d5780633ff8bf2e146106fe57610325565b8063229ce262146104db57806323b872dd14610516578063269f534c146105a757610325565b806306fdde031461032a578063095ea7b3146103ba57806318160ddd1461042b5780631ad9339a14610456578063205d26b21461048557806320606b70146104b057610325565b3661032557005b600080fd5b34801561033657600080fd5b5061033f61137e565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561037f578082015181840152602081019050610364565b50505050905090810190601f1680156103ac5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103c657600080fd5b50610413600480360360408110156103dd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611420565b60405180821515815260200191505060405180910390f35b34801561043757600080fd5b5061044061143e565b6040518082815260200191505060405180910390f35b34801561046257600080fd5b5061046b611448565b604051808261ffff16815260200191505060405180910390f35b34801561049157600080fd5b5061049a61144d565b6040518082815260200191505060405180910390f35b3480156104bc57600080fd5b506104c5611453565b6040518082815260200191505060405180910390f35b3480156104e757600080fd5b50610514600480360360208110156104fe57600080fd5b8101908080359060200190929190505050611477565b005b34801561052257600080fd5b5061058f6004803603606081101561053957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611597565b60405180821515815260200191505060405180910390f35b3480156105b357600080fd5b506105f6600480360360208110156105ca57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611670565b60405180821515815260200191505060405180910390f35b34801561061a57600080fd5b5061065d6004803603602081101561063157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116c6565b005b34801561066b57600080fd5b506106746118b9565b604051808260ff16815260200191505060405180910390f35b34801561069957600080fd5b506106e6600480360360408110156106b057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506118d0565b60405180821515815260200191505060405180910390f35b34801561070a57600080fd5b50610713611983565b604051808261ffff16815260200191505060405180910390f35b34801561073957600080fd5b506107866004803603604081101561075057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611997565b005b34801561079457600080fd5b506107d7600480360360208110156107ab57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611abf565b005b3480156107e557600080fd5b506107ee611cb2565b60405180821515815260200191505060405180910390f35b34801561081257600080fd5b5061081b611cc5565b6040518082815260200191505060405180910390f35b34801561083d57600080fd5b50610846611ccb565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561087e57600080fd5b506108c16004803603602081101561089557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611cf5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156108f957600080fd5b5061093c6004803603602081101561091057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d5e565b005b34801561094a57600080fd5b5061097b6004803603602081101561096157600080fd5b81019080803561ffff169060200190929190505050611d6b565b005b34801561098957600080fd5b506109b6600480360360208110156109a057600080fd5b8101908080359060200190929190505050611f05565b005b3480156109c457600080fd5b50610a07600480360360208110156109db57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612025565b604051808263ffffffff16815260200191505060405180910390f35b348015610a2f57600080fd5b50610a7260048036036020811015610a4657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612048565b6040518082815260200191505060405180910390f35b348015610a9457600080fd5b50610a9d612091565b005b348015610aab57600080fd5b50610ab46121fe565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610aec57600080fd5b50610b3960048036036040811015610b0357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612224565b6040518082815260200191505060405180910390f35b348015610b5b57600080fd5b50610b646125e5565b6040518082815260200191505060405180910390f35b348015610b8657600080fd5b50610bc960048036036020811015610b9d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506125ec565b6040518082815260200191505060405180910390f35b348015610beb57600080fd5b50610bf4612604565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610c2c57600080fd5b50610c35612613565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610c6d57600080fd5b50610cb060048036036020811015610c8457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061263c565b005b348015610cbe57600080fd5b50610cc7612ace565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610d07578082015181840152602081019050610cec565b50505050905090810190601f168015610d345780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610d4e57600080fd5b50610d7d60048036036020811015610d6557600080fd5b81019080803515159060200190929190505050612b70565b005b348015610d8b57600080fd5b50610db860048036036020811015610da257600080fd5b8101908080359060200190929190505050612c8a565b60405180821515815260200191505060405180910390f35b348015610ddc57600080fd5b50610e0960048036036020811015610df357600080fd5b8101908080359060200190929190505050612d55565b005b348015610e1757600080fd5b50610e6460048036036040811015610e2e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612e64565b60405180821515815260200191505060405180910390f35b348015610e8857600080fd5b50610ed560048036036040811015610e9f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612f31565b60405180821515815260200191505060405180910390f35b348015610ef957600080fd5b50610f02612f4f565b6040518082815260200191505060405180910390f35b348015610f2457600080fd5b50610f2d612f98565b6040518082815260200191505060405180910390f35b348015610f4f57600080fd5b50610f9260048036036020811015610f6657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612f9d565b6040518082815260200191505060405180910390f35b348015610fb457600080fd5b50610fbd613073565b604051808261ffff16815260200191505060405180910390f35b348015610fe357600080fd5b50610fec613087565b604051808261ffff16815260200191505060405180910390f35b34801561101257600080fd5b5061108a600480360360c081101561102957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803560ff169060200190929190803590602001909291908035906020019092919050505061309b565b005b34801561109857600080fd5b506110e7600480360360408110156110af57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291905050506133ff565b005b3480156110f557600080fd5b506110fe613507565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561113657600080fd5b5061113f61352d565b6040518082815260200191505060405180910390f35b34801561116157600080fd5b506111a46004803603602081101561117857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613533565b6040518082815260200191505060405180910390f35b3480156111c657600080fd5b50611229600480360360408110156111dd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061354b565b6040518082815260200191505060405180910390f35b34801561124b57600080fd5b506112546135d2565b6040518082815260200191505060405180910390f35b34801561127657600080fd5b506112c96004803603604081101561128d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803563ffffffff1690602001909291905050506135f6565b604051808363ffffffff1681526020018281526020019250505060405180910390f35b3480156112f857600080fd5b5061133b6004803603602081101561130f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613637565b005b34801561134957600080fd5b50611352613829565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b606060058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156114165780601f106113eb57610100808354040283529160200191611416565b820191906000526020600020905b8154815290600101906020018083116113f957829003601f168201915b5050505050905090565b600061143461142d61382f565b8484613837565b6001905092915050565b6000600454905090565b600081565b600f5481565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b61147f61382f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611524576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806158d46023913960400191505060405180910390fd5b600081101580156115385750620151808111155b61158d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806155fb6022913960400191505060405180910390fd5b80600f8190555050565b60006115a4848484613a2e565b611665846115b061382f565b6116608560405180606001604052806028815260200161566260289139600360008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061161661382f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546140ae9092919063ffffffff16565b613837565b600190509392505050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6116ce61382f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611773576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806158d46023913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603e8152602001806158f7603e913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed60405160405180910390a380600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600760009054906101000a900460ff16905090565b60006119796118dd61382f565b8461197485600360006118ee61382f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461416890919063ffffffff16565b613837565b6001905092915050565b600760059054906101000a900461ffff1681565b61199f61382f565b73ffffffffffffffffffffffffffffffffffffffff166119bd612613565b73ffffffffffffffffffffffffffffffffffffffff1614611a46576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611a5082826141f0565b611abb6000601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836143ad565b5050565b611ac761382f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b6c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806158d46023913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bf2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806157986029913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fb37ff92c23eca455dbbd028d9cb869f69e16485d5ef15286fc394c721a5d5dc160405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600960009054906101000a900460ff1681565b60105481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b611d68338261464a565b50565b611d7361382f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e18576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806158d46023913960400191505060405180910390fd5b6127108161ffff161115611e77576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260638152602001806155466063913960800191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167fb62a50fc861a770636e85357becb3b82a32e911106609d4985871eaf29011e08600760059054906101000a900461ffff1683604051808361ffff1681526020018261ffff1681526020019250505060405180910390a280600760056101000a81548161ffff021916908361ffff16021790555050565b611f0d61382f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611fb2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806158d46023913960400191505060405180910390fd5b60008110158015611fc65750620151808111155b61201b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806155fb6022913960400191505060405180910390fd5b8060108190555050565b60136020528060005260406000206000915054906101000a900463ffffffff1681565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61209961382f565b73ffffffffffffffffffffffffffffffffffffffff166120b7612613565b73ffffffffffffffffffffffffffffffffffffffff1614612140576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600043821061227e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180615885602d913960400191505060405180910390fd5b6000601360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff16905060008163ffffffff1614156122eb5760009150506125df565b82601260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001840363ffffffff1663ffffffff16815260200190815260200160002060000160009054906101000a900463ffffffff1663ffffffff16116123d557601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001830363ffffffff1663ffffffff168152602001908152602001600020600101549150506125df565b82601260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008063ffffffff16815260200190815260200160002060000160009054906101000a900463ffffffff1663ffffffff1611156124565760009150506125df565b6000806001830390505b8163ffffffff168163ffffffff161115612579576000600283830363ffffffff168161248857fe5b04820390506124956154dc565b601260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008363ffffffff1663ffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff168152602001600182015481525050905086816000015163ffffffff161415612551578060200151955050505050506125df565b86816000015163ffffffff16101561256b57819350612572565b6001820392505b5050612460565b601260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008363ffffffff1663ffffffff1681526020019081526020016000206001015493505050505b92915050565b6201518081565b60146020528060005260406000206000915090505481565b600061260e612613565b905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61264461382f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146126e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806158d46023913960400191505060405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561279257600080fd5b505afa1580156127a6573d6000803e3d6000fd5b505050506040513d60208110156127bc57600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff1663e6a4390530600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561285157600080fd5b505afa158015612865573d6000803e3d6000fd5b505050506040513d602081101561287b57600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156128f357600080fd5b505afa158015612907573d6000803e3d6000fd5b505050506040513d602081101561291d57600080fd5b8101908080519060200190929190505050600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612a16576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806156b36036913960400191505060405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f3b6afb21858c9c2a6ad3c68db3b4864b3da74e0ac4a0c58348356b639b61bee960405160405180910390a450565b606060068054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612b665780601f10612b3b57610100808354040283529160200191612b66565b820191906000526020600020905b815481529060010190602001808311612b4957829003601f168201915b5050505050905090565b612b7861382f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612c1d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806158d46023913960400191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f3ca65588b29182880283bc8778fea5f01b351e01d874839a39a99e1c281a21138260405180821515815260200191505060405180910390a280600960006101000a81548160ff02191690831515021790555050565b6000612c9461382f565b73ffffffffffffffffffffffffffffffffffffffff16612cb2612613565b73ffffffffffffffffffffffffffffffffffffffff1614612d3b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b612d4c612d4661382f565b836141f0565b60019050919050565b612d5d61382f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612e02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806158d46023913960400191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f54c7a13ff01698e4ed3550a23216585f8472c7b1515a932eac98c9a6d48990c5600a5483604051808381526020018281526020019250505060405180910390a280600a8190555050565b6000612f27612e7161382f565b84612f22856040518060600160405280602581526020016158386025913960036000612e9b61382f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546140ae9092919063ffffffff16565b613837565b6001905092915050565b6000612f45612f3e61382f565b8484613a2e565b6001905092915050565b6000612f93612710612f85600760059054906101000a900461ffff1661ffff16612f7761143e565b6147bb90919063ffffffff16565b61484190919063ffffffff16565b905090565b600081565b600080601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff16905060008163ffffffff161161300757600061306b565b601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001830363ffffffff1663ffffffff168152602001908152602001600020600101545b915050919050565b600760019054906101000a900461ffff1681565b600760039054906101000a900461ffff1681565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666130c661137e565b805190602001206130d56148ca565b30604051602001808581526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200194505050505060405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf888888604051602001808581526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281526020019450505050506040516020818303038152906040528051906020012090506000828260405160200180807f190100000000000000000000000000000000000000000000000000000000000081525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015613259573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156132eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806155cf602c913960400191505060405180910390fd5b601460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600101919050558914613390576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602881526020018061585d6028913960400191505060405180910390fd5b874211156133e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c81526020018061576c602c913960400191505060405180910390fd5b6133f3818b61464a565b50505050505050505050565b61340761382f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146134ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806158d46023913960400191505060405180910390fd5b80600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b600e6020528060005260406000206000915090505481565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6012602052816000526040600020602052806000526040600020600091509150508060000160009054906101000a900463ffffffff16908060010154905082565b61363f61382f565b73ffffffffffffffffffffffffffffffffffffffff1661365d612613565b73ffffffffffffffffffffffffffffffffffffffff16146136e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561376c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806155a96026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61dead81565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806155226024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613943576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806158b26022913960400191505060405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b8282826000613a3b612f4f565b1115613b585760001515600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515148015613af1575060001515600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b15613b5757613afe612f4f565b811115613b56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252604581526020018061561d6045913960600191505060405180910390fd5b5b5b6000600e60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506010548142031015613bf9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e81526020018061580a602e913960400191505060405180910390fd5b6000600e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600f548142031015613c9a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260378152602001806159356037913960400191505060405180910390fd5b60011515600960009054906101000a900460ff161515148015613cd0575060001515600c60149054906101000a900460ff161515145b8015613d2b5750600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b8015613d865750600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b8015613de05750600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614155b8015613e1f5750613def612613565b73ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614155b15613e2d57613e2c6148d7565b5b61dead73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161480613e7d57506000600760019054906101000a900461ffff1661ffff16145b15613e9257613e8d888888614a47565b61401c565b6000613ecf612710613ec1600760019054906101000a900461ffff1661ffff168a6147bb90919063ffffffff16565b61484190919063ffffffff16565b90506000613f0d6064613eff600760039054906101000a900461ffff1661ffff16856147bb90919063ffffffff16565b61484190919063ffffffff16565b90506000613f248284614d0190919063ffffffff16565b90508082018314613f80576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602981526020018061568a6029913960400191505060405180910390fd5b6000613f95848b614d0190919063ffffffff16565b90508381018a14613ff1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806157236028913960400191505060405180910390fd5b613ffe8c61dead85614a47565b6140098c3084614a47565b6140148c8c83614a47565b809950505050505b42600e60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050505050505050565b600083831115829061415b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614120578082015181840152602081019050614105565b50505050905090810190601f16801561414d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082840390509392505050565b6000808284019050838110156141e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614293576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f42455032303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b6142a88160045461416890919063ffffffff16565b60048190555061430081600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461416890919063ffffffff16565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156143e95750600081115b1561464557600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614614519576000601360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff1690506000808263ffffffff161161448c5760006144f0565b601260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001840363ffffffff1663ffffffff168152602001908152602001600020600101545b905060006145078483614d0190919063ffffffff16565b905061451586848484614d84565b5050505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614614644576000601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900463ffffffff1690506000808263ffffffff16116145b757600061461b565b601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001840363ffffffff1663ffffffff168152602001908152602001600020600101545b90506000614632848361416890919063ffffffff16565b905061464085848484614d84565b5050505b5b505050565b6000601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060006146b984612048565b905082601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f60405160405180910390a46147b58284836143ad565b50505050565b6000808314156147ce576000905061483b565b60008284029050828482816147df57fe5b0414614836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061574b6021913960400191505060405180910390fd5b809150505b92915050565b60008082116148b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816148c157fe5b04905092915050565b6000804690508091505090565b6001600c60146101000a81548160ff0219169083151502179055506000600760019054906101000a900461ffff1690506000600760016101000a81548161ffff021916908361ffff160217905550600061493030612048565b9050600061493c612f4f565b905080821161494b578161494d565b805b9150600a548210614a0a576000600a549050600061497560028361484190919063ffffffff16565b9050600061498c8284614d0190919063ffffffff16565b9050600047905061499c83615018565b60006149b18247614d0190919063ffffffff16565b90506149bd83826152cc565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb56184828560405180848152602001838152602001828152602001935050505060405180910390a150505050505b505080600760016101000a81548161ffff021916908361ffff160217905550506000600c60146101000a81548160ff021916908315150217905550565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415614acd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806154fd6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614b53576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806157e76023913960400191505060405180910390fd5b614bbf816040518060600160405280602681526020016157c160269139600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546140ae9092919063ffffffff16565b600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550614c5481600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461416890919063ffffffff16565b600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b600082821115614d79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6000614da8436040518060600160405280603a81526020016156e9603a9139615421565b905060008463ffffffff16118015614e3d57508063ffffffff16601260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001870363ffffffff1663ffffffff16815260200190815260200160002060000160009054906101000a900463ffffffff1663ffffffff16145b15614eae5781601260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001870363ffffffff1663ffffffff16815260200190815260200160002060010181905550614fbb565b60405180604001604052808263ffffffff16815260200183815250601260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008663ffffffff1663ffffffff16815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff1602179055506020820151816001015590505060018401601360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548163ffffffff021916908363ffffffff1602179055505b8473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248484604051808381526020018281526020019250505060405180910390a25050505050565b6060600267ffffffffffffffff8111801561503257600080fd5b506040519080825280602002602001820160405280156150615781602001602082028036833780820191505090505b509050308160008151811061507257fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561511457600080fd5b505afa158015615128573d6000803e3d6000fd5b505050506040513d602081101561513e57600080fd5b81019080805190602001909291905050508160018151811061515c57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506151c330600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684613837565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b8381101561528757808201518184015260208101905061526c565b505050509050019650505050505050600060405180830381600087803b1580156152b057600080fd5b505af11580156152c4573d6000803e3d6000fd5b505050505050565b6152f930600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684613837565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d719823085600080615345611ccb565b426040518863ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200196505050505050506060604051808303818588803b1580156153ca57600080fd5b505af11580156153de573d6000803e3d6000fd5b50505050506040513d60608110156153f557600080fd5b810190808051906020019092919080519060200190929190805190602001909291905050505050505050565b6000640100000000831082906154d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561549757808201518184015260208101905061547c565b50505050905090810190601f1680156154c45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082905092915050565b6040518060400160405280600063ffffffff16815260200160008152509056fe42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f2061646472657373544f4b454e494e464f523a3a7570646174654d61785472616e73666572416d6f756e74526174653a204d6178207472616e7366657220616d6f756e742072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373544f4b454e494e464f523a3a64656c656761746542795369673a20696e76616c6964207369676e61747572654f5045524154494f4e3a746865205f7365636f6e647320697320696e76616c696421544f4b454e20494e464f523a3a616e74695768616c653a205472616e7366657220616d6f756e74206578636565647320746865206d61785472616e73666572416d6f756e7442455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365544f4b454e20494e464f523a3a7472616e736665723a204275726e2076616c756520696e76616c6964544f4b454e494e464f523a3a757064617465556e6973776170526f757465723a20496e76616c6964207061697220616464726573732e544f4b454e494e464f523a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473544f4b454e20494e464f523a3a7472616e736665723a205461782076616c756520696e76616c6964536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77544f4b454e494e464f523a3a64656c656761746542795369673a207369676e617475726520657870697265644f776e61626c653a206e6577206f70657261746f7220697320746865207a65726f206164647265737342455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f20616464726573734c6f636b2074696d6520686173206e6f74206265656e2072656c65617365642066726f6d206c617374207377617042455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f544f4b454e494e464f523a3a64656c656761746542795369673a20696e76616c6964206e6f6e6365544f4b454e494e464f523a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656442455032303a20617070726f766520746f20746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f70657261746f72544f4b454e494e464f523a3a7472616e736665724f70657261746f723a206e6577206f70657261746f7220697320746865207a65726f20616464726573734c6f636b2074696d6520686173206e6f74206265656e2072656c65617365642066726f6d206c6173742073776170202d2073656e646572a2646970667358221220c8fe2051b93b3f62e05b61dc3c7aa14e5d47827260e9a0f6081f23b8d840760b64736f6c634300060c0033

Deployed Bytecode Sourcemap

41083:20698:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33178:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34665:161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33654:100;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41364:52;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;42522:32;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;54188:122;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;49708:226;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35297:397;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;50480:136;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;52894:279;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;33337:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;36102:210;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41618:42;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;44845:162;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30642:274;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;41820:41;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;42561:35;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29046:85;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;55171:149;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;55464:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;50845:410;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;49946:232;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;54066:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33816:119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29927:148;;;;;;;;;;;;;:::i;:::-;;42069:39;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;58085:1259;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42408:43;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;54602:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33021:94;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;28875:87;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;52306:428;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;33494:96;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52002:189;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;37343:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;51380:209;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36814:311;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;34147:167;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;50250:136;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42355:46;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;57399:255;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41177:33;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41295:26;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;56002:1196;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51726:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;42140:26;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41918:45;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42458:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34376:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;54404:117;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;53927:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;30230:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;41444:81;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33178:92;33224:13;33257:5;33250:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33178:92;:::o;34665:161::-;34740:4;34757:39;34766:12;:10;:12::i;:::-;34780:7;34789:6;34757:8;:39::i;:::-;34814:4;34807:11;;34665:161;;;;:::o;33654:100::-;33707:7;33734:12;;33727:19;;33654:100;:::o;41364:52::-;41415:1;41364:52;:::o;42522:32::-;;;;:::o;54188:122::-;54230:80;54188:122;:::o;49708:226::-;29500:12;:10;:12::i;:::-;29487:25;;:9;;;;;;;;;;;:25;;;29479:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42392:9:::1;49798:8;:23;;:50;;;;;42445:6;49825:8;:23;;49798:50;49790:97;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49918:8;49898:17;:28;;;;49708:226:::0;:::o;35297:397::-;35429:4;35446:36;35456:6;35464:9;35475:6;35446:9;:36::i;:::-;35493:171;35516:6;35537:12;:10;:12::i;:::-;35564:89;35602:6;35564:89;;;;;;;;;;;;;;;;;:11;:19;35576:6;35564:19;;;;;;;;;;;;;;;:33;35584:12;:10;:12::i;:::-;35564:33;;;;;;;;;;;;;;;;:37;;:89;;;;;:::i;:::-;35493:8;:171::i;:::-;35682:4;35675:11;;35297:397;;;;;:::o;50480:136::-;50552:4;50576:22;:32;50599:8;50576:32;;;;;;;;;;;;;;;;;;;;;;;;;50569:39;;50480:136;;;:::o;52894:279::-;29500:12;:10;:12::i;:::-;29487:25;;:9;;;;;;;;;;;:25;;;29479:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53003:1:::1;52980:25;;:11;:25;;;;52972:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53119:11;53088:43;;53108:9;;;;;;;;;;;53088:43;;;;;;;;;;;;53154:11;53142:9;;:23;;;;;;;;;;;;;;;;;;52894:279:::0;:::o;33337:92::-;33387:5;33412:9;;;;;;;;;;;33405:16;;33337:92;:::o;36102:210::-;36182:4;36199:83;36208:12;:10;:12::i;:::-;36222:7;36231:50;36270:10;36231:11;:25;36243:12;:10;:12::i;:::-;36231:25;;;;;;;;;;;;;;;:34;36257:7;36231:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;36199:8;:83::i;:::-;36300:4;36293:11;;36102:210;;;;:::o;41618:42::-;;;;;;;;;;;;;:::o;44845:162::-;29279:12;:10;:12::i;:::-;29268:23;;:7;:5;:7::i;:::-;:23;;;29260:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44917:19:::1;44923:3;44928:7;44917:5;:19::i;:::-;44947:52;44970:1;44974:10;:15;44985:3;44974:15;;;;;;;;;;;;;;;;;;;;;;;;;44991:7;44947:14;:52::i;:::-;44845:162:::0;;:::o;30642:274::-;29500:12;:10;:12::i;:::-;29487:25;;:9;;;;;;;;;;;:25;;;29479:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30763:1:::1;30740:25;;:11;:25;;;;30732:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30862:11;30827:47;;30851:9;;;;;;;;;;;30827:47;;;;;;;;;;;;30897:11;30885:9;;:23;;;;;;;;;;;;;;;;;;30642:274:::0;:::o;41820:41::-;;;;;;;;;;;;;:::o;42561:35::-;;;;:::o;29046:85::-;29087:7;29114:9;;;;;;;;;;;29107:16;;29046:85;:::o;55171:149::-;55259:7;55291:10;:21;55302:9;55291:21;;;;;;;;;;;;;;;;;;;;;;;;;55284:28;;55171:149;;;:::o;55464:104::-;55528:32;55538:10;55550:9;55528;:32::i;:::-;55464:104;:::o;50845:410::-;29500:12;:10;:12::i;:::-;29487:25;;:9;;;;;;;;;;;:25;;;29479:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50978:5:::1;50952:22;:31;;;;50944:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51132:10;51103:87;;;51144:21;;;;;;;;;;;51167:22;51103:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;51225:22;51201:21;;:46;;;;;;;;;;;;;;;;;;50845:410:::0;:::o;49946:232::-;29500:12;:10;:12::i;:::-;29487:25;;:9;;;;;;;;;;;:25;;;29479:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42392:9:::1;50039:8;:23;;:50;;;;;42445:6;50066:8;:23;;50039:50;50031:97;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50162:8;50139:20;:31;;;;49946:232:::0;:::o;54066:49::-;;;;;;;;;;;;;;;;;;;;;;:::o;33816:119::-;33882:7;33909:9;:18;33919:7;33909:18;;;;;;;;;;;;;;;;33902:25;;33816:119;;;:::o;29927:148::-;29279:12;:10;:12::i;:::-;29268:23;;:7;:5;:7::i;:::-;:23;;;29260:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30034:1:::1;29997:40;;30018:6;::::0;::::1;;;;;;;;29997:40;;;;;;;;;;;;30065:1;30048:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;29927:148::o:0;42069:39::-;;;;;;;;;;;;;:::o;58085:1259::-;58193:7;58240:12;58226:11;:26;58218:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58315:19;58337:14;:23;58352:7;58337:23;;;;;;;;;;;;;;;;;;;;;;;;;58315:45;;58391:1;58375:12;:17;;;58371:58;;;58416:1;58409:8;;;;;58371:58;58541:11;58489;:20;58501:7;58489:20;;;;;;;;;;;;;;;:38;58525:1;58510:12;:16;58489:38;;;;;;;;;;;;;;;:48;;;;;;;;;;;;:63;;;58485:147;;58576:11;:20;58588:7;58576:20;;;;;;;;;;;;;;;:38;58612:1;58597:12;:16;58576:38;;;;;;;;;;;;;;;:44;;;58569:51;;;;;58485:147;58729:11;58693;:20;58705:7;58693:20;;;;;;;;;;;;;;;:23;58714:1;58693:23;;;;;;;;;;;;;:33;;;;;;;;;;;;:47;;;58689:88;;;58764:1;58757:8;;;;;58689:88;58789:12;58816;58846:1;58831:12;:16;58816:31;;58858:428;58873:5;58865:13;;:5;:13;;;58858:428;;;58895:13;58937:1;58928:5;58920;:13;58919:19;;;;;;;;58911:5;:27;58895:43;;58980:20;;:::i;:::-;59003:11;:20;59015:7;59003:20;;;;;;;;;;;;;;;:28;59024:6;59003:28;;;;;;;;;;;;;;;58980:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59066:11;59050:2;:12;;;:27;;;59046:229;;;59105:2;:8;;;59098:15;;;;;;;;;59046:229;59154:11;59139:2;:12;;;:26;;;59135:140;;;59194:6;59186:14;;59135:140;;;59258:1;59249:6;:10;59241:18;;59135:140;58858:428;;;;;59303:11;:20;59315:7;59303:20;;;;;;;;;;;;;;;:27;59324:5;59303:27;;;;;;;;;;;;;;;:33;;;59296:40;;;;;58085:1259;;;;;:::o;42408:43::-;42445:6;42408:43;:::o;54602:39::-;;;;;;;;;;;;;;;;;:::o;33021:94::-;33073:7;33100;:5;:7::i;:::-;33093:14;;33021:94;:::o;28875:87::-;28921:7;28948:6;;;;;;;;;;;28941:13;;28875:87;:::o;52306:428::-;29500:12;:10;:12::i;:::-;29487:25;;:9;;;;;;;;;;;:25;;;29479:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52418:7:::1;52383:13;;:43;;;;;;;;;;;;;;;;;;52469:13;;;;;;;;;;;:21;;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;52451:50;;;52510:4;52517:13;;;;;;;;;;;:18;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;52451:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;52437:11;;:101;;;;;;;;;;;;;;;;;;52580:1;52557:25;;:11;;;;;;;;;;;:25;;;;52549:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52714:11;;;;;;;;;;;52657:69;;52698:13;;;;;;;;;;;52657:69;;52678:10;52657:69;;;;;;;;;;;;52306:428:::0;:::o;33494:96::-;33542:13;33575:7;33568:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33494:96;:::o;52002:189::-;29500:12;:10;:12::i;:::-;29487:25;;:9;;;;;;;;;;;:25;;;29479:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52119:10:::1;52090:50;;;52131:8;52090:50;;;;;;;;;;;;;;;;;;;;52175:8;52151:21;;:32;;;;;;;;;;;;;;;;;;52002:189:::0;:::o;37343:130::-;37399:4;29279:12;:10;:12::i;:::-;29268:23;;:7;:5;:7::i;:::-;:23;;;29260:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37416:27:::1;37422:12;:10;:12::i;:::-;37436:6;37416:5;:27::i;:::-;37461:4;37454:11;;37343:130:::0;;;:::o;51380:209::-;29500:12;:10;:12::i;:::-;29487:25;;:9;;;;;;;;;;;:25;;;29479:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51496:10:::1;51470:69;;;51508:18;;51528:10;51470:69;;;;;;;;;;;;;;;;;;;;;;;;51571:10;51550:18;:31;;;;51380:209:::0;:::o;36814:311::-;36899:4;36916:179;36939:12;:10;:12::i;:::-;36966:7;36988:96;37027:15;36988:96;;;;;;;;;;;;;;;;;:11;:25;37000:12;:10;:12::i;:::-;36988:25;;;;;;;;;;;;;;;:34;37014:7;36988:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;36916:8;:179::i;:::-;37113:4;37106:11;;36814:311;;;;:::o;34147:167::-;34225:4;34242:42;34252:12;:10;:12::i;:::-;34266:9;34277:6;34242:9;:42::i;:::-;34302:4;34295:11;;34147:167;;;;:::o;50250:136::-;50300:7;50327:51;50372:5;50327:40;50345:21;;;;;;;;;;;50327:40;;:13;:11;:13::i;:::-;:17;;:40;;;;:::i;:::-;:44;;:51;;;;:::i;:::-;50320:58;;50250:136;:::o;42355:46::-;42392:9;42355:46;:::o;57399:255::-;57491:7;57516:19;57538:14;:23;57553:7;57538:23;;;;;;;;;;;;;;;;;;;;;;;;;57516:45;;57594:1;57579:12;:16;;;:67;;57645:1;57579:67;;;57598:11;:20;57610:7;57598:20;;;;;;;;;;;;;;;:38;57634:1;57619:12;:16;57598:38;;;;;;;;;;;;;;;:44;;;57579:67;57572:74;;;57399:255;;;:::o;41177:33::-;;;;;;;;;;;;;:::o;41295:26::-;;;;;;;;;;;;;:::o;56002:1196::-;56195:23;54230:80;56324:6;:4;:6::i;:::-;56308:24;;;;;;56351:12;:10;:12::i;:::-;56390:4;56245:165;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56221:200;;;;;;56195:226;;56434:18;54450:71;56546:9;56574:5;56598:6;56479:140;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56455:175;;;;;;56434:196;;56643:14;56748:15;56782:10;56684:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56660:158;;;;;;56643:175;;56831:17;56851:26;56861:6;56869:1;56872;56875;56851:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56831:46;;56917:1;56896:23;;:9;:23;;;;56888:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56996:6;:17;57003:9;56996:17;;;;;;;;;;;;;;;;:19;;;;;;;;;;;;56987:5;:28;56979:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57086:6;57079:3;:13;;57071:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57159:31;57169:9;57180;57159;:31::i;:::-;57152:38;;;;56002:1196;;;;;;:::o;51726:151::-;29500:12;:10;:12::i;:::-;29487:25;;:9;;;;;;;;;;;:25;;;29479:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51860:9:::1;51825:22;:32;51848:8;51825:32;;;;;;;;;;;;;;;;:44;;;;;;;;;;;;;;;;;;51726:151:::0;;:::o;42140:26::-;;;;;;;;;;;;;:::o;41918:45::-;;;;:::o;42458:57::-;;;;;;;;;;;;;;;;;:::o;34376:143::-;34457:7;34484:11;:18;34496:5;34484:18;;;;;;;;;;;;;;;:27;34503:7;34484:27;;;;;;;;;;;;;;;;34477:34;;34376:143;;;;:::o;54404:117::-;54450:71;54404:117;:::o;53927:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30230:244::-;29279:12;:10;:12::i;:::-;29268:23;;:7;:5;:7::i;:::-;:23;;;29260:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30339:1:::1;30319:22;;:8;:22;;;;30311:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30429:8;30400:38;;30421:6;::::0;::::1;;;;;;;;30400:38;;;;;;;;;;;;30458:8;30449:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;30230:244:::0;:::o;41444:81::-;41483:42;41444:81;:::o;27270:106::-;27323:15;27358:10;27351:17;;27270:106;:::o;40196:382::-;40349:1;40332:19;;:5;:19;;;;40324:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40432:1;40413:21;;:7;:21;;;;40405:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40516:6;40486:11;:18;40498:5;40486:18;;;;;;;;;;;;;;;:27;40505:7;40486:27;;;;;;;;;;;;;;;:36;;;;40554:7;40538:32;;40547:5;40538:32;;;40563:6;40538:32;;;;;;;;;;;;;;;;;;40196:382;;;:::o;45088:2060::-;45194:6;45202:9;45213:6;43618:1;43596:19;:17;:19::i;:::-;:23;43592:341;;;43692:5;43658:39;;:22;:30;43681:6;43658:30;;;;;;;;;;;;;;;;;;;;;;;;;:39;;;:102;;;;;43755:5;43718:42;;:22;:33;43741:9;43718:33;;;;;;;;;;;;;;;;;;;;;;;;;:42;;;43658:102;43636:286;;;43813:19;:17;:19::i;:::-;43803:6;:29;;43795:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43636:286;43592:341;45232:21:::1;45256:22;:33;45279:9;45256:33;;;;;;;;;;;;;;;;45232:57;;45357:20;;45340:13;45322:15;:31;:55;;45300:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45462:21;45486:22;:30;45509:6;45486:30;;;;;;;;;;;;;;;;45462:54;;45584:17;;45567:13;45549:15;:31;:52;;45527:157;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45779:4;45754:29;;:21;;;;;;;;;;;:29;;;:73;;;;;45822:5;45801:26;;:17;;;;;;;;;;;:26;;;45754:73;:126;;;;;45878:1;45844:36;;45852:13;;;;;;;;;;;45844:36;;;;45754:126;:168;;;;;45920:1;45897:25;;:11;;;;;;;;;;;:25;;;;45754:168;:206;;;;;45949:11;;;;;;;;;;;45939:21;;:6;:21;;;;45754:206;:240;;;;;45987:7;:5;:7::i;:::-;45977:17;;:6;:17;;;;45754:240;45736:313;;;46021:16;:14;:16::i;:::-;45736:313;41483:42;46065:25;;:9;:25;;;:49;;;;46113:1;46094:15;;;;;;;;;;;:20;;;46065:49;46061:959;;;46131:42;46147:6;46155:9;46166:6;46131:15;:42::i;:::-;46061:959;;;46258:17;46278:38;46310:5;46278:27;46289:15;;;;;;;;;;;46278:27;;:6;:10;;:27;;;;:::i;:::-;:31;;:38;;;;:::i;:::-;46258:58;;46331:18;46352:32;46380:3;46352:23;46366:8;;;;;;;;;;;46352:23;;:9;:13;;:23;;;;:::i;:::-;:27;;:32;;;;:::i;:::-;46331:53;;46399:23;46425:25;46439:10;46425:9;:13;;:25;;;;:::i;:::-;46399:51;;46499:15;46486:10;:28;46473:9;:41;46465:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46635:18;46656:21;46667:9;46656:6;:10;;:21;;;;:::i;:::-;46635:42;;46723:9;46710:10;:22;46700:6;:32;46692:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46794:49;46810:6;41483:42;46832:10;46794:15;:49::i;:::-;46858:55;46874:6;46890:4;46897:15;46858;:55::i;:::-;46928:46;46944:6;46952:9;46963:10;46928:15;:46::i;:::-;46998:10;46989:19;;46061:959;;;;;47063:15;47030:22;:30;47053:6;47030:30;;;;;;;;;;;;;;;:48;;;;47125:15;47089:22;:33;47112:9;47089:33;;;;;;;;;;;;;;;:51;;;;43943:1;;45088:2060:::0;;;;;;:::o;21738:166::-;21824:7;21857:1;21852;:6;;21860:12;21844:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21895:1;21891;:5;21884:12;;21738:166;;;;;:::o;18911:179::-;18969:7;18989:9;19005:1;19001;:5;18989:17;;19030:1;19025;:6;;19017:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19081:1;19074:8;;;18911:179;;;;:::o;38768:308::-;38863:1;38844:21;;:7;:21;;;;38836:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38929:24;38946:6;38929:12;;:16;;:24;;;;:::i;:::-;38914:12;:39;;;;38985:30;39008:6;38985:9;:18;38995:7;38985:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;38964:9;:18;38974:7;38964:18;;;;;;;;;;;;;;;:51;;;;39052:7;39031:37;;39048:1;39031:37;;;39061:6;39031:37;;;;;;;;;;;;;;;;;;38768:308;;:::o;59783:947::-;59889:6;59879:16;;:6;:16;;;;:30;;;;;59908:1;59899:6;:10;59879:30;59875:848;;;59948:1;59930:20;;:6;:20;;;59926:385;;60019:16;60038:14;:22;60053:6;60038:22;;;;;;;;;;;;;;;;;;;;;;;;;60019:41;;60079:17;60111:1;60099:9;:13;;;:60;;60158:1;60099:60;;;60115:11;:19;60127:6;60115:19;;;;;;;;;;;;;;;:34;60147:1;60135:9;:13;60115:34;;;;;;;;;;;;;;;:40;;;60099:60;60079:80;;60178:17;60198:21;60212:6;60198:9;:13;;:21;;;;:::i;:::-;60178:41;;60238:57;60255:6;60263:9;60274;60285;60238:16;:57::i;:::-;59926:385;;;;60349:1;60331:20;;:6;:20;;;60327:385;;60420:16;60439:14;:22;60454:6;60439:22;;;;;;;;;;;;;;;;;;;;;;;;;60420:41;;60480:17;60512:1;60500:9;:13;;;:60;;60559:1;60500:60;;;60516:11;:19;60528:6;60516:19;;;;;;;;;;;;;;;:34;60548:1;60536:9;:13;60516:34;;;;;;;;;;;;;;;:40;;;60500:60;60480:80;;60579:17;60599:21;60613:6;60599:9;:13;;:21;;;;:::i;:::-;60579:41;;60639:57;60656:6;60664:9;60675;60686;60639:16;:57::i;:::-;60327:385;;;;59875:848;59783:947;;;:::o;59352:423::-;59429:23;59455:10;:21;59466:9;59455:21;;;;;;;;;;;;;;;;;;;;;;;;;59429:47;;59487:24;59514:20;59524:9;59514;:20::i;:::-;59487:47;;59613:9;59589:10;:21;59600:9;59589:21;;;;;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;59684:9;59640:54;;59667:15;59640:54;;59656:9;59640:54;;;;;;;;;;;;59707:60;59722:15;59739:9;59750:16;59707:14;:60::i;:::-;59352:423;;;;:::o;19790:220::-;19848:7;19877:1;19872;:6;19868:20;;;19887:1;19880:8;;;;19868:20;19899:9;19915:1;19911;:5;19899:17;;19944:1;19939;19935;:5;;;;;;:10;19927:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20001:1;19994:8;;;19790:220;;;;;:::o;20488:153::-;20546:7;20578:1;20574;:5;20566:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20632:1;20628;:5;;;;;;20621:12;;20488:153;;;;:::o;61625:::-;61670:4;61687:15;61735:9;61724:20;;61763:7;61756:14;;;61625:153;:::o;47187:1343::-;44012:4;43992:17;;:24;;;;;;;;;;;;;;;;;;44116:23:::1;44142:15;;;;;;;;;;;44116:41;;44186:1;44168:15;;:19;;;;;;;;;;;;;;;;;;47260:28:::2;47291:24;47309:4;47291:9;:24::i;:::-;47260:55;;47326:25;47354:19;:17;:19::i;:::-;47326:47;;47430:17;47407:20;:40;:83;;47470:20;47407:83;;;47450:17;47407:83;47384:106;;47531:18;;47507:20;:42;47503:1020;;47609:21;47633:18;;47609:42;;47721:12;47736:20;47754:1;47736:13;:17;;:20;;;;:::i;:::-;47721:35;;47771:17;47791:23;47809:4;47791:13;:17;;:23;;;;:::i;:::-;47771:43;;48112:22;48137:21;48112:46;;48211:22;48228:4;48211:16;:22::i;:::-;48302:18;48323:41;48349:14;48323:21;:25;;:41;;;;:::i;:::-;48302:62;;48411:35;48424:9;48435:10;48411:12;:35::i;:::-;48468:43;48483:4;48489:10;48501:9;48468:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47503:1020;;;;;;44198:1;;44228:16:::1;44210:15;;:34;;;;;;;;;;;;;;;;;;44027:1;44059:5:::0;44039:17;;:25;;;;;;;;;;;;;;;;;;47187:1343::o;37966:521::-;38124:1;38106:20;;:6;:20;;;;38098:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38208:1;38187:23;;:9;:23;;;;38179:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38291;38313:6;38291:71;;;;;;;;;;;;;;;;;:9;:17;38301:6;38291:17;;;;;;;;;;;;;;;;:21;;:71;;;;;:::i;:::-;38271:9;:17;38281:6;38271:17;;;;;;;;;;;;;;;:91;;;;38396:32;38421:6;38396:9;:20;38406:9;38396:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;38373:9;:20;38383:9;38373:20;;;;;;;;;;;;;;;:55;;;;38461:9;38444:35;;38453:6;38444:35;;;38472:6;38444:35;;;;;;;;;;;;;;;;;;37966:521;;;:::o;19373:158::-;19431:7;19464:1;19459;:6;;19451:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19522:1;19518;:5;19511:12;;19373:158;;;;:::o;60738:710::-;60917:18;60938:82;60945:12;60938:82;;;;;;;;;;;;;;;;;:6;:82::i;:::-;60917:103;;61052:1;61037:12;:16;;;:85;;;;;61111:11;61057:65;;:11;:22;61069:9;61057:22;;;;;;;;;;;;;;;:40;61095:1;61080:12;:16;61057:40;;;;;;;;;;;;;;;:50;;;;;;;;;;;;:65;;;61037:85;61033:339;;;61188:8;61139:11;:22;61151:9;61139:22;;;;;;;;;;;;;;;:40;61177:1;61162:12;:16;61139:40;;;;;;;;;;;;;;;:46;;:57;;;;61033:339;;;61268:33;;;;;;;;61279:11;61268:33;;;;;;61292:8;61268:33;;;61229:11;:22;61241:9;61229:22;;;;;;;;;;;;;;;:36;61252:12;61229:36;;;;;;;;;;;;;;;:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61359:1;61344:12;:16;61316:14;:25;61331:9;61316:25;;;;;;;;;;;;;;;;:44;;;;;;;;;;;;;;;;;;61033:339;61410:9;61389:51;;;61421:8;61431;61389:51;;;;;;;;;;;;;;;;;;;;;;;;60738:710;;;;;:::o;48572:580::-;48695:21;48733:1;48719:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48695:40;;48764:4;48746;48751:1;48746:7;;;;;;;;;;;;;:23;;;;;;;;;;;48790:13;;;;;;;;;;;:18;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48780:4;48785:1;48780:7;;;;;;;;;;;;;:30;;;;;;;;;;;48823:60;48840:4;48855:13;;;;;;;;;;;48871:11;48823:8;:60::i;:::-;48922:13;;;;;;;;;;;:64;;;49001:11;49027:1;49071:4;49098;49118:15;48922:222;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48572:580;;:::o;49188:512::-;49336:60;49353:4;49368:13;;;;;;;;;;;49384:11;49336:8;:60::i;:::-;49439:13;;;;;;;;;;;:29;;;49476:9;49509:4;49529:11;49555:1;49598;49641:10;:8;:10::i;:::-;49666:15;49439:253;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49188:512;;:::o;61456:161::-;61531:6;61562:5;61558:1;:9;61569:12;61550:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61607:1;61593:16;;61456:161;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://c8fe2051b93b3f62e05b61dc3c7aa14e5d47827260e9a0f6081f23b8d840760b

Block Transaction Gas Used Reward
view all blocks produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

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