ETH Price: $3,779.92 (+4.61%)
Gas: 9 Gwei

Contract

0x1fB361f274f316d383B94D761832AB68099A7B00
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Rebase112425032020-11-12 11:21:361286 days ago1605180096IN
Yam.Finance: Rebaser
0 ETH0.0008620832
Rebase112418552020-11-12 8:53:051286 days ago1605171185IN
Yam.Finance: Rebaser
0 ETH0.000711625.00000123
Rebase112418512020-11-12 8:52:011286 days ago1605171121IN
Yam.Finance: Rebaser
0 ETH0.005835226
Rebase112385412020-11-11 20:42:401287 days ago1605127360IN
Yam.Finance: Rebaser
0 ETH0.0053863424
Rebase112351422020-11-11 8:11:241287 days ago1605082284IN
Yam.Finance: Rebaser
0 ETH0.0044886220
Rebase112319892020-11-10 20:41:521288 days ago1605040912IN
Yam.Finance: Rebaser
0 ETH0.0033664615
Rebase112223212020-11-09 8:56:031289 days ago1604912163IN
Yam.Finance: Rebaser
0 ETH0.0071817932
Rebase112190052020-11-08 20:40:291290 days ago1604868029IN
Yam.Finance: Rebaser
0 ETH0.0032916514.66666666
Rebase112156962020-11-08 8:30:381290 days ago1604824238IN
Yam.Finance: Rebaser
0 ETH0.005835226.00000156
Rebase112091122020-11-07 8:03:521291 days ago1604736232IN
Yam.Finance: Rebaser
0 ETH0.0044886220.00000156
Rebase111954232020-11-05 5:56:391293 days ago1604555799IN
Yam.Finance: Rebaser
0 ETH0.0006054225
Rebase111936332020-11-04 23:12:101293 days ago1604531530IN
Yam.Finance: Rebaser
0 ETH0.0006492524.1
Rebase111928682020-11-04 20:31:131294 days ago1604521873IN
Yam.Finance: Rebaser
0 ETH0.005835226
Rebase111896462020-11-04 8:38:261294 days ago1604479106IN
Yam.Finance: Rebaser
0 ETH0.0042641819.00000145
Rebase111862392020-11-03 20:05:461295 days ago1604433946IN
Yam.Finance: Rebaser
0 ETH0.0038377717.1
Rebase111858672020-11-03 18:50:381295 days ago1604429438IN
Yam.Finance: Rebaser
0 ETH0.0006393226.4
Rebase111832672020-11-03 9:03:271295 days ago1604394207IN
Yam.Finance: Rebaser
0 ETH0.0013205849.01945454
Rebase111765062020-11-02 8:17:131296 days ago1604305033IN
Yam.Finance: Rebaser
0 ETH0.008752839.00000145
Rebase111761932020-11-02 7:03:451296 days ago1604300625IN
Yam.Finance: Rebaser
0 ETH0.0007991633
Rebase111742332020-11-01 23:38:031296 days ago1604273883IN
Yam.Finance: Rebaser
0 ETH0.0005771121.42210148
Rebase111737272020-11-01 21:54:221297 days ago1604267662IN
Yam.Finance: Rebaser
0 ETH0.000538820
Rebase111705742020-11-01 10:15:111297 days ago1604225711IN
Yam.Finance: Rebaser
0 ETH0.0004283415.9
Rebase111668692020-10-31 20:40:051298 days ago1604176805IN
Yam.Finance: Rebaser
0 ETH0.0051619123
Rebase111641702020-10-31 10:48:351298 days ago1604141315IN
Yam.Finance: Rebaser
0 ETH0.0004310416
Rebase111635662020-10-31 8:34:151298 days ago1604133255IN
Yam.Finance: Rebaser
0 ETH0.0044886220
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
YAMRebaser

Compiler Version
v0.5.15+commit.6a57276f

Optimization Enabled:
Yes with 50000 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-09-18
*/

pragma solidity 0.5.15;
pragma experimental ABIEncoderV2;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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


/**
 * @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 in 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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call.value(weiValue)(data);
        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);
            }
        }
    }
}


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

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

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

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. 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, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

interface BAL {
  function gulp(address token) external;
}

interface UniswapPair {
    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;
}

// computes square roots using the babylonian method
// https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method
library Babylonian {
    function sqrt(uint y) internal pure returns (uint z) {
        if (y > 3) {
            z = y;
            uint x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
        // else z = 0
    }
}

// a library for handling binary fixed point numbers (https://en.wikipedia.org/wiki/Q_(number_format))
library FixedPoint {
    // range: [0, 2**112 - 1]
    // resolution: 1 / 2**112
    struct uq112x112 {
        uint224 _x;
    }

    // range: [0, 2**144 - 1]
    // resolution: 1 / 2**112
    struct uq144x112 {
        uint _x;
    }

    uint8 private constant RESOLUTION = 112;
    uint private constant Q112 = uint(1) << RESOLUTION;
    uint private constant Q224 = Q112 << RESOLUTION;

    // encode a uint112 as a UQ112x112
    function encode(uint112 x) internal pure returns (uq112x112 memory) {
        return uq112x112(uint224(x) << RESOLUTION);
    }

    // encodes a uint144 as a UQ144x112
    function encode144(uint144 x) internal pure returns (uq144x112 memory) {
        return uq144x112(uint256(x) << RESOLUTION);
    }

    // divide a UQ112x112 by a uint112, returning a UQ112x112
    function div(uq112x112 memory self, uint112 x) internal pure returns (uq112x112 memory) {
        require(x != 0, 'FixedPoint: DIV_BY_ZERO');
        return uq112x112(self._x / uint224(x));
    }

    // multiply a UQ112x112 by a uint, returning a UQ144x112
    // reverts on overflow
    function mul(uq112x112 memory self, uint y) internal pure returns (uq144x112 memory) {
        uint z;
        require(y == 0 || (z = uint(self._x) * y) / y == uint(self._x), "FixedPoint: MULTIPLICATION_OVERFLOW");
        return uq144x112(z);
    }

    // returns a UQ112x112 which represents the ratio of the numerator to the denominator
    // equivalent to encode(numerator).div(denominator)
    function fraction(uint112 numerator, uint112 denominator) internal pure returns (uq112x112 memory) {
        require(denominator > 0, "FixedPoint: DIV_BY_ZERO");
        return uq112x112((uint224(numerator) << RESOLUTION) / denominator);
    }

    // decode a UQ112x112 into a uint112 by truncating after the radix point
    function decode(uq112x112 memory self) internal pure returns (uint112) {
        return uint112(self._x >> RESOLUTION);
    }

    // decode a UQ144x112 into a uint144 by truncating after the radix point
    function decode144(uq144x112 memory self) internal pure returns (uint144) {
        return uint144(self._x >> RESOLUTION);
    }

    // take the reciprocal of a UQ112x112
    function reciprocal(uq112x112 memory self) internal pure returns (uq112x112 memory) {
        require(self._x != 0, 'FixedPoint: ZERO_RECIPROCAL');
        return uq112x112(uint224(Q224 / self._x));
    }

    // square root of a UQ112x112
    function sqrt(uq112x112 memory self) internal pure returns (uq112x112 memory) {
        return uq112x112(uint224(Babylonian.sqrt(uint256(self._x)) << 56));
    }
}

// library with helper methods for oracles that are concerned with computing average prices
library UniswapV2OracleLibrary {
    using FixedPoint for *;

    // helper function that returns the current block timestamp within the range of uint32, i.e. [0, 2**32 - 1]
    function currentBlockTimestamp() internal view returns (uint32) {
        return uint32(block.timestamp % 2 ** 32);
    }

    // produces the cumulative price using counterfactuals to save gas and avoid a call to sync.
    function currentCumulativePrices(
        address pair,
        bool isToken0
    ) internal view returns (uint priceCumulative, uint32 blockTimestamp) {
        blockTimestamp = currentBlockTimestamp();
        (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast) = UniswapPair(pair).getReserves();
        if (isToken0) {
          priceCumulative = UniswapPair(pair).price0CumulativeLast();

          // if time has elapsed since the last update on the pair, mock the accumulated price values
          if (blockTimestampLast != blockTimestamp) {
              // subtraction overflow is desired
              uint32 timeElapsed = blockTimestamp - blockTimestampLast;
              // addition overflow is desired
              // counterfactual
              priceCumulative += uint(FixedPoint.fraction(reserve1, reserve0)._x) * timeElapsed;
          }
        } else {
          priceCumulative = UniswapPair(pair).price1CumulativeLast();
          // if time has elapsed since the last update on the pair, mock the accumulated price values
          if (blockTimestampLast != blockTimestamp) {
              // subtraction overflow is desired
              uint32 timeElapsed = blockTimestamp - blockTimestampLast;
              // addition overflow is desired
              // counterfactual
              priceCumulative += uint(FixedPoint.fraction(reserve0, reserve1)._x) * timeElapsed;
          }
        }

    }
}

// Storage for a YAM token
contract YAMTokenStorage {

    using SafeMath for uint256;

    /**
     * @dev Guard variable for re-entrancy checks. Not currently used
     */
    bool internal _notEntered;

    /**
     * @notice EIP-20 token name for this token
     */
    string public name;

    /**
     * @notice EIP-20 token symbol for this token
     */
    string public symbol;

    /**
     * @notice EIP-20 token decimals for this token
     */
    uint8 public decimals;

    /**
     * @notice Governor for this contract
     */
    address public gov;

    /**
     * @notice Pending governance for this contract
     */
    address public pendingGov;

    /**
     * @notice Approved rebaser for this contract
     */
    address public rebaser;

    /**
     * @notice Approved migrator for this contract
     */
    address public migrator;

    /**
     * @notice Incentivizer address of YAM protocol
     */
    address public incentivizer;

    /**
     * @notice Total supply of YAMs
     */
    uint256 public totalSupply;

    /**
     * @notice Internal decimals used to handle scaling factor
     */
    uint256 public constant internalDecimals = 10**24;

    /**
     * @notice Used for percentage maths
     */
    uint256 public constant BASE = 10**18;

    /**
     * @notice Scaling factor that adjusts everyone's balances
     */
    uint256 public yamsScalingFactor;

    mapping (address => uint256) internal _yamBalances;

    mapping (address => mapping (address => uint256)) internal _allowedFragments;

    uint256 public initSupply;


    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;
    bytes32 public DOMAIN_SEPARATOR;
}

/* Copyright 2020 Compound Labs, Inc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */


contract YAMGovernanceStorage {
    /// @notice 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;
}


contract YAMTokenInterface is YAMTokenStorage, YAMGovernanceStorage {

    /// @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 Event emitted when tokens are rebased
     */
    event Rebase(uint256 epoch, uint256 prevYamsScalingFactor, uint256 newYamsScalingFactor);

    /*** Gov Events ***/

    /**
     * @notice Event emitted when pendingGov is changed
     */
    event NewPendingGov(address oldPendingGov, address newPendingGov);

    /**
     * @notice Event emitted when gov is changed
     */
    event NewGov(address oldGov, address newGov);

    /**
     * @notice Sets the rebaser contract
     */
    event NewRebaser(address oldRebaser, address newRebaser);

    /**
     * @notice Sets the migrator contract
     */
    event NewMigrator(address oldMigrator, address newMigrator);

    /**
     * @notice Sets the incentivizer contract
     */
    event NewIncentivizer(address oldIncentivizer, address newIncentivizer);

    /* - ERC20 Events - */

    /**
     * @notice EIP20 Transfer event
     */
    event Transfer(address indexed from, address indexed to, uint amount);

    /**
     * @notice EIP20 Approval event
     */
    event Approval(address indexed owner, address indexed spender, uint amount);

    /* - Extra Events - */
    /**
     * @notice Tokens minted event
     */
    event Mint(address to, uint256 amount);

    // Public functions
    function transfer(address to, uint256 value) external returns(bool);
    function transferFrom(address from, address to, uint256 value) external returns(bool);
    function balanceOf(address who) external view returns(uint256);
    function balanceOfUnderlying(address who) external view returns(uint256);
    function allowance(address owner_, address spender) external view returns(uint256);
    function approve(address spender, uint256 value) external returns (bool);
    function increaseAllowance(address spender, uint256 addedValue) external returns (bool);
    function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool);
    function maxScalingFactor() external view returns (uint256);
    function yamToFragment(uint256 yam) external view returns (uint256);
    function fragmentToYam(uint256 value) external view returns (uint256);

    /* - Governance Functions - */
    function getPriorVotes(address account, uint blockNumber) external view returns (uint256);
    function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s) external;
    function delegate(address delegatee) external;
    function delegates(address delegator) external view returns (address);
    function getCurrentVotes(address account) external view returns (uint256);

    /* - Permissioned/Governance functions - */
    function mint(address to, uint256 amount) external returns (bool);
    function rebase(uint256 epoch, uint256 indexDelta, bool positive) external returns (uint256);
    function _setRebaser(address rebaser_) external;
    function _setIncentivizer(address incentivizer_) external;
    function _setPendingGov(address pendingGov_) external;
    function _acceptGov() external;
}
contract YAMRebaser {

    using SafeMath for uint256;

    modifier onlyGov() {
        require(msg.sender == gov);
        _;
    }

    struct Transaction {
        bool enabled;
        address destination;
        bytes data;
    }

    struct UniVars {
      uint256 yamsToUni;
      uint256 amountFromReserves;
      uint256 mintToReserves;
    }

    /// @notice an event emitted when a transaction fails
    event TransactionFailed(address indexed destination, uint index, bytes data);

    /// @notice an event emitted when maxSlippageFactor is changed
    event NewMaxSlippageFactor(uint256 oldSlippageFactor, uint256 newSlippageFactor);

    /// @notice an event emitted when deviationThreshold is changed
    event NewDeviationThreshold(uint256 oldDeviationThreshold, uint256 newDeviationThreshold);

    /**
     * @notice Sets the treasury mint percentage of rebase
     */
    event NewRebaseMintPercent(uint256 oldRebaseMintPerc, uint256 newRebaseMintPerc);


    /**
     * @notice Sets the reserve contract
     */
    event NewReserveContract(address oldReserveContract, address newReserveContract);

    /**
     * @notice Sets the reserve contract
     */
    event TreasuryIncreased(uint256 reservesAdded, uint256 yamsSold, uint256 yamsFromReserves, uint256 yamsToReserves);


    /**
     * @notice Event emitted when pendingGov is changed
     */
    event NewPendingGov(address oldPendingGov, address newPendingGov);

    /**
     * @notice Event emitted when gov is changed
     */
    event NewGov(address oldGov, address newGov);

    // Stable ordering is not guaranteed.
    Transaction[] public transactions;


    /// @notice Governance address
    address public gov;

    /// @notice Pending Governance address
    address public pendingGov;

    /// @notice Spreads out getting to the target price
    uint256 public rebaseLag;

    /// @notice Peg target
    uint256 public targetRate;

    /// @notice Percent of rebase that goes to minting for treasury building
    uint256 public rebaseMintPerc;

    // If the current exchange rate is within this fractional distance from the target, no supply
    // update is performed. Fixed point number--same format as the rate.
    // (ie) abs(rate - targetRate) / targetRate < deviationThreshold, then no supply change.
    uint256 public deviationThreshold;

    /// @notice More than this much time must pass between rebase operations.
    uint256 public minRebaseTimeIntervalSec;

    /// @notice Block timestamp of last rebase operation
    uint256 public lastRebaseTimestampSec;

    /// @notice The rebase window begins this many seconds into the minRebaseTimeInterval period.
    // For example if minRebaseTimeInterval is 24hrs, it represents the time of day in seconds.
    uint256 public rebaseWindowOffsetSec;

    /// @notice The length of the time window where a rebase operation is allowed to execute, in seconds.
    uint256 public rebaseWindowLengthSec;

    /// @notice The number of rebase cycles since inception
    uint256 public epoch;

    // rebasing is not active initially. It can be activated at T+12 hours from
    // deployment time
    ///@notice boolean showing rebase activation status
    bool public rebasingActive;

    /// @notice delays rebasing activation to facilitate liquidity
    uint256 public constant rebaseDelay = 12 hours;

    /// @notice Time of TWAP initialization
    uint256 public timeOfTWAPInit;

    /// @notice YAM token address
    address public yamAddress;

    /// @notice reserve token
    address public reserveToken;

    /// @notice Reserves vault contract
    address public reservesContract;

    /// @notice pair for reserveToken <> YAM
    address public uniswap_pair;

    /// @notice list of uniswap pairs to sync
    address[] public uniSyncPairs;

    /// @notice list of balancer pairs to gulp
    address[] public balGulpPairs;

    /// @notice last TWAP update time
    uint32 public blockTimestampLast;

    /// @notice last TWAP cumulative price;
    uint256 public priceCumulativeLast;


    /// @notice address to send part of treasury to
    address public public_goods;

    /// @notice percentage of treasury to send to public goods address
    uint256 public public_goods_perc;

    // Max slippage factor when buying reserve token. Magic number based on
    // the fact that uniswap is a constant product. Therefore,
    // targeting a % max slippage can be achieved by using a single precomputed
    // number. i.e. 2.5% slippage is always equal to some f(maxSlippageFactor, reserves)
    /// @notice the maximum slippage factor when buying reserve token
    uint256 public maxSlippageFactor;

    /// @notice Whether or not this token is first in uniswap YAM<>Reserve pair
    bool public isToken0;


    uint256 public constant BASE = 10**18;

    uint256 public constant MAX_SLIPPAGE_PARAM = 1180339 * 10**11; // max ~20% market impact

    uint256 public constant MAX_MINT_PERC_PARAM = 25 * 10**16; // max 25% of rebase can go to treasury

    uint256 public constant MIN_TIME_FIRST_REBASE = 1600718400; // Monday, September 21, 2020 8:00:00 PM

    constructor(
        address yamAddress_,
        address reserveToken_,
        address uniswap_factory,
        address reservesContract_,
        address public_goods_,
        uint256 public_goods_perc_
    )
        public
    {
          minRebaseTimeIntervalSec = 12 hours;
          rebaseWindowOffsetSec = 28800; // 8am/8pm UTC rebases

          (address token0, address token1) = sortTokens(yamAddress_, reserveToken_);

          // used for interacting with uniswap
          if (token0 == yamAddress_) {
              isToken0 = true;
          } else {
              isToken0 = false;
          }
          // uniswap YAM<>Reserve pair
          uniswap_pair = pairFor(uniswap_factory, token0, token1);

          uniSyncPairs.push(uniswap_pair);

          // Reserves contract is mutable
          reservesContract = reservesContract_;

          // Reserve token is not mutable. Must deploy a new rebaser to update it
          reserveToken = reserveToken_;

          yamAddress = yamAddress_;

          public_goods = public_goods_;
          public_goods_perc = public_goods_perc_;

          // target 10% slippage
          // 5.4%
          maxSlippageFactor = 5409258 * 10**10;

          // 1 YYCRV
          targetRate = BASE;

          // twice daily rebase, with targeting reaching peg in 5 days
          rebaseLag = 10;

          // 10%
          rebaseMintPerc = 10**17;

          // 5%
          deviationThreshold = 5 * 10**16;

          // 60 minutes
          rebaseWindowLengthSec = 60 * 60;

          // Changed in deployment scripts to facilitate protocol initiation
          gov = msg.sender;

    }


    function removeUniPair(uint256 index) public onlyGov {
        if (index >= uniSyncPairs.length) return;

        for (uint i = index; i < uniSyncPairs.length-1; i++){
            uniSyncPairs[i] = uniSyncPairs[i+1];
        }
        uniSyncPairs.length--;
    }

    function removeBalPair(uint256 index) public onlyGov {
        if (index >= balGulpPairs.length) return;

        for (uint i = index; i < balGulpPairs.length-1; i++){
            balGulpPairs[i] = balGulpPairs[i+1];
        }
        balGulpPairs.length--;
    }

    /**
    @notice Adds pairs to sync
    *
    */
    function addSyncPairs(address[] memory uniSyncPairs_, address[] memory balGulpPairs_)
        public
        onlyGov
    {
        for (uint256 i = 0; i < uniSyncPairs_.length; i++) {
            uniSyncPairs.push(uniSyncPairs_[i]);
        }

        for (uint256 i = 0; i < balGulpPairs_.length; i++) {
            balGulpPairs.push(balGulpPairs_[i]);
        }
    }

    /**
    @notice Uniswap synced pairs
    *
    */
    function getUniSyncPairs()
        public
        view
        returns (address[] memory)
    {
        address[] memory pairs = uniSyncPairs;
        return pairs;
    }

    /**
    @notice Uniswap synced pairs
    *
    */
    function getBalGulpPairs()
        public
        view
        returns (address[] memory)
    {
        address[] memory pairs = balGulpPairs;
        return pairs;
    }



    /**
    @notice Updates slippage factor
    @param maxSlippageFactor_ the new slippage factor
    *
    */
    function setMaxSlippageFactor(uint256 maxSlippageFactor_)
        public
        onlyGov
    {
        require(maxSlippageFactor_ < MAX_SLIPPAGE_PARAM);
        uint256 oldSlippageFactor = maxSlippageFactor;
        maxSlippageFactor = maxSlippageFactor_;
        emit NewMaxSlippageFactor(oldSlippageFactor, maxSlippageFactor_);
    }

    /**
    @notice Updates rebase mint percentage
    @param rebaseMintPerc_ the new rebase mint percentage
    *
    */
    function setRebaseMintPerc(uint256 rebaseMintPerc_)
        public
        onlyGov
    {
        require(rebaseMintPerc_ < MAX_MINT_PERC_PARAM);
        uint256 oldPerc = rebaseMintPerc;
        rebaseMintPerc = rebaseMintPerc_;
        emit NewRebaseMintPercent(oldPerc, rebaseMintPerc_);
    }


    /**
    @notice Updates reserve contract
    @param reservesContract_ the new reserve contract
    *
    */
    function setReserveContract(address reservesContract_)
        public
        onlyGov
    {
        address oldReservesContract = reservesContract;
        reservesContract = reservesContract_;
        emit NewReserveContract(oldReservesContract, reservesContract_);
    }


    /** @notice sets the pendingGov
     * @param pendingGov_ The address of the rebaser contract to use for authentication.
     */
    function _setPendingGov(address pendingGov_)
        external
        onlyGov
    {
        address oldPendingGov = pendingGov;
        pendingGov = pendingGov_;
        emit NewPendingGov(oldPendingGov, pendingGov_);
    }

    /** @notice lets msg.sender accept governance
     *
     */
    function _acceptGov()
        external
    {
        require(msg.sender == pendingGov, "!pending");
        address oldGov = gov;
        gov = pendingGov;
        pendingGov = address(0);
        emit NewGov(oldGov, gov);
    }

    /** @notice Initializes TWAP start point, starts countdown to first rebase
    *
    */
    function init_twap()
        public
    {
        require(timeOfTWAPInit == 0, "already activated");
        (uint priceCumulative, uint32 blockTimestamp) =
           UniswapV2OracleLibrary.currentCumulativePrices(uniswap_pair, isToken0);
        require(blockTimestamp > 0, "no trades");
        blockTimestampLast = blockTimestamp;
        priceCumulativeLast = priceCumulative;
        timeOfTWAPInit = blockTimestamp;
    }

    /** @notice Activates rebasing
    *   @dev One way function, cannot be undone, callable by anyone
    */
    function activate_rebasing()
        public
    {
        require(timeOfTWAPInit > 0, "twap wasnt intitiated, call init_twap()");
        // ensure rebase activation is allowed
        require(now >= MIN_TIME_FIRST_REBASE, "!first_rebase");
        // cannot enable prior to end of rebaseDelay
        require(now >= timeOfTWAPInit + rebaseDelay, "!end_delay");

        rebasingActive = true;
    }

    /**
     * @notice Initiates a new rebase operation, provided the minimum time period has elapsed.
     *
     * @dev The supply adjustment equals (_totalSupply * DeviationFromTargetRate) / rebaseLag
     *      Where DeviationFromTargetRate is (MarketOracleRate - targetRate) / targetRate
     *      and targetRate is 1e18
     */
    function rebase()
        public
    {
        // EOA only or gov
        require(msg.sender == tx.origin);
        // ensure rebasing at correct time
        _inRebaseWindow();

        // This comparison also ensures there is no reentrancy.
        require(lastRebaseTimestampSec.add(minRebaseTimeIntervalSec) < now);

        // Snap the rebase time to the start of this window.
        lastRebaseTimestampSec = now.sub(
            now.mod(minRebaseTimeIntervalSec)).add(rebaseWindowOffsetSec);

        epoch = epoch.add(1);

        // get twap from uniswap v2;
        uint256 exchangeRate = getTWAP();

        // calculates % change to supply
        (uint256 offPegPerc, bool positive) = computeOffPegPerc(exchangeRate);

        uint256 indexDelta = offPegPerc;

        // Apply the Dampening factor.
        indexDelta = indexDelta.div(rebaseLag);

        YAMTokenInterface yam = YAMTokenInterface(yamAddress);

        if (positive) {
            require(yam.yamsScalingFactor().mul(BASE.add(indexDelta)).div(BASE) < yam.maxScalingFactor(), "new scaling factor will be too big");
        }


        uint256 currSupply = yam.totalSupply();

        uint256 mintAmount;
        // reduce indexDelta to account for minting
        if (positive) {
            uint256 mintPerc = indexDelta.mul(rebaseMintPerc).div(BASE);
            indexDelta = indexDelta.sub(mintPerc);
            mintAmount = currSupply.mul(mintPerc).div(BASE);
        }

        // rebase
        // ignore returned var
        yam.rebase(epoch, indexDelta, positive);

        // perform actions after rebase
        afterRebase(mintAmount, offPegPerc);
    }


    function uniswapV2Call(
        address sender,
        uint256 amount0,
        uint256 amount1,
        bytes memory data
    )
        public
    {
        // enforce that it is coming from uniswap
        require(msg.sender == uniswap_pair, "bad msg.sender");
        // enforce that this contract called uniswap
        require(sender == address(this), "bad origin");
        (UniVars memory uniVars) = abi.decode(data, (UniVars));

        YAMTokenInterface yam = YAMTokenInterface(yamAddress);

        if (uniVars.amountFromReserves > 0) {
            // transfer from reserves and mint to uniswap
            yam.transferFrom(reservesContract, uniswap_pair, uniVars.amountFromReserves);
            if (uniVars.amountFromReserves < uniVars.yamsToUni) {
                // if the amount from reserves > yamsToUni, we have fully paid for the yCRV tokens
                // thus this number would be 0 so no need to mint
                yam.mint(uniswap_pair, uniVars.yamsToUni.sub(uniVars.amountFromReserves));
            }
        } else {
            // mint to uniswap
            yam.mint(uniswap_pair, uniVars.yamsToUni);
        }

        // mint unsold to mintAmount
        if (uniVars.mintToReserves > 0) {
            yam.mint(reservesContract, uniVars.mintToReserves);
        }

        // transfer reserve token to reserves
        if (isToken0) {
            if (public_goods != address(0) && public_goods_perc > 0) {
              uint256 amount_to_public_goods = amount1.mul(public_goods_perc).div(BASE);
              SafeERC20.safeTransfer(IERC20(reserveToken), reservesContract, amount1.sub(amount_to_public_goods));
              SafeERC20.safeTransfer(IERC20(reserveToken), public_goods, amount_to_public_goods);
              emit TreasuryIncreased(amount1.sub(amount_to_public_goods), uniVars.yamsToUni, uniVars.amountFromReserves, uniVars.mintToReserves);
            } else {
              SafeERC20.safeTransfer(IERC20(reserveToken), reservesContract, amount1);
              emit TreasuryIncreased(amount1, uniVars.yamsToUni, uniVars.amountFromReserves, uniVars.mintToReserves);
            }
        } else {
          if (public_goods != address(0) && public_goods_perc > 0) {
            uint256 amount_to_public_goods = amount0.mul(public_goods_perc).div(BASE);
            SafeERC20.safeTransfer(IERC20(reserveToken), reservesContract, amount0.sub(amount_to_public_goods));
            SafeERC20.safeTransfer(IERC20(reserveToken), public_goods, amount_to_public_goods);
            emit TreasuryIncreased(amount0.sub(amount_to_public_goods), uniVars.yamsToUni, uniVars.amountFromReserves, uniVars.mintToReserves);
          } else {
            SafeERC20.safeTransfer(IERC20(reserveToken), reservesContract, amount0);
            emit TreasuryIncreased(amount0, uniVars.yamsToUni, uniVars.amountFromReserves, uniVars.mintToReserves);
          }
        }
    }

    function buyReserveAndTransfer(
        uint256 mintAmount,
        uint256 offPegPerc
    )
        internal
    {
        UniswapPair pair = UniswapPair(uniswap_pair);

        YAMTokenInterface yam = YAMTokenInterface(yamAddress);

        // get reserves
        (uint256 token0Reserves, uint256 token1Reserves, ) = pair.getReserves();

        // check if protocol has excess yam in the reserve
        uint256 excess = yam.balanceOf(reservesContract);


        uint256 tokens_to_max_slippage = uniswapMaxSlippage(token0Reserves, token1Reserves, offPegPerc);

        UniVars memory uniVars = UniVars({
          yamsToUni: tokens_to_max_slippage, // how many yams uniswap needs
          amountFromReserves: excess, // how much of yamsToUni comes from reserves
          mintToReserves: 0 // how much yams protocol mints to reserves
        });

        // tries to sell all mint + excess
        // falls back to selling some of mint and all of excess
        // if all else fails, sells portion of excess
        // upon pair.swap, `uniswapV2Call` is called by the uniswap pair contract
        if (isToken0) {
            if (tokens_to_max_slippage > mintAmount.add(excess)) {
                // we already have performed a safemath check on mintAmount+excess
                // so we dont need to continue using it in this code path

                // can handle selling all of reserves and mint
                uint256 buyTokens = getAmountOut(mintAmount + excess, token0Reserves, token1Reserves);
                uniVars.yamsToUni = mintAmount + excess;
                uniVars.amountFromReserves = excess;
                // call swap using entire mint amount and excess; mint 0 to reserves
                pair.swap(0, buyTokens, address(this), abi.encode(uniVars));
            } else {
                if (tokens_to_max_slippage > excess) {
                    // uniswap can handle entire reserves
                    uint256 buyTokens = getAmountOut(tokens_to_max_slippage, token0Reserves, token1Reserves);

                    // swap up to slippage limit, taking entire yam reserves, and minting part of total
                    uniVars.mintToReserves = mintAmount.sub((tokens_to_max_slippage - excess));
                    pair.swap(0, buyTokens, address(this), abi.encode(uniVars));
                } else {
                    // uniswap cant handle all of excess
                    uint256 buyTokens = getAmountOut(tokens_to_max_slippage, token0Reserves, token1Reserves);
                    uniVars.amountFromReserves = tokens_to_max_slippage;
                    uniVars.mintToReserves = mintAmount;
                    // swap up to slippage limit, taking excess - remainingExcess from reserves, and minting full amount
                    // to reserves
                    pair.swap(0, buyTokens, address(this), abi.encode(uniVars));
                }
            }
        } else {
            if (tokens_to_max_slippage > mintAmount.add(excess)) {
                // can handle all of reserves and mint
                uint256 buyTokens = getAmountOut(mintAmount + excess, token1Reserves, token0Reserves);
                uniVars.yamsToUni = mintAmount + excess;
                uniVars.amountFromReserves = excess;
                // call swap using entire mint amount and excess; mint 0 to reserves
                pair.swap(buyTokens, 0, address(this), abi.encode(uniVars));
            } else {
                if (tokens_to_max_slippage > excess) {
                    // uniswap can handle entire reserves
                    uint256 buyTokens = getAmountOut(tokens_to_max_slippage, token1Reserves, token0Reserves);

                    // swap up to slippage limit, taking entire yam reserves, and minting part of total
                    uniVars.mintToReserves = mintAmount.sub( (tokens_to_max_slippage - excess));
                    // swap up to slippage limit, taking entire yam reserves, and minting part of total
                    pair.swap(buyTokens, 0, address(this), abi.encode(uniVars));
                } else {
                    // uniswap cant handle all of excess
                    uint256 buyTokens = getAmountOut(tokens_to_max_slippage, token1Reserves, token0Reserves);
                    uniVars.amountFromReserves = tokens_to_max_slippage;
                    uniVars.mintToReserves = mintAmount;
                    // swap up to slippage limit, taking excess - remainingExcess from reserves, and minting full amount
                    // to reserves
                    pair.swap(buyTokens, 0, address(this), abi.encode(uniVars));
                }
            }
        }
    }

    function uniswapMaxSlippage(
        uint256 token0,
        uint256 token1,
        uint256 offPegPerc
    )
      internal
      view
      returns (uint256)
    {
        if (isToken0) {
          if (offPegPerc >= 10**17) {
              // cap slippage
              return token0.mul(maxSlippageFactor).div(BASE);
          } else {
              // in the 5-10% off peg range, slippage is essentially 2*x (where x is percentage of pool to buy).
              // all we care about is not pushing below the peg, so underestimate
              // the amount we can sell by dividing by 3. resulting price impact
              // should be ~= offPegPerc * 2 / 3, which will keep us above the peg
              //
              // this is a conservative heuristic
              return token0.mul(offPegPerc).div(3 * BASE);
          }
        } else {
            if (offPegPerc >= 10**17) {
                return token1.mul(maxSlippageFactor).div(BASE);
            } else {
                return token1.mul(offPegPerc).div(3 * BASE);
            }
        }
    }

    /**
     * @notice given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset
     *
     * @param amountIn input amount of the asset
     * @param reserveIn reserves of the asset being sold
     * @param reserveOut reserves if the asset being purchased
     */

   function getAmountOut(
        uint amountIn,
        uint reserveIn,
        uint reserveOut
    )
        internal
        pure
        returns (uint amountOut)
    {
       require(amountIn > 0, 'UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT');
       require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
       uint amountInWithFee = amountIn.mul(997);
       uint numerator = amountInWithFee.mul(reserveOut);
       uint denominator = reserveIn.mul(1000).add(amountInWithFee);
       amountOut = numerator / denominator;
   }


    function afterRebase(
        uint256 mintAmount,
        uint256 offPegPerc
    )
        internal
    {
        // update uniswap pairs
        for (uint256 i = 0; i < uniSyncPairs.length; i++) {
            UniswapPair(uniSyncPairs[i]).sync();
        }

        // update balancer pairs
        for (uint256 i = 0; i < balGulpPairs.length; i++) {
            BAL(balGulpPairs[i]).gulp(yamAddress);
        }


        if (mintAmount > 0) {
            buyReserveAndTransfer(
                mintAmount,
                offPegPerc
            );
        }

        // call any extra functions
        for (uint i = 0; i < transactions.length; i++) {
            Transaction storage t = transactions[i];
            if (t.enabled) {
                bool result =
                    externalCall(t.destination, t.data);
                if (!result) {
                    emit TransactionFailed(t.destination, i, t.data);
                    revert("Transaction Failed");
                }
            }
        }
    }


    /**
     * @notice Calculates TWAP from uniswap
     *
     * @dev When liquidity is low, this can be manipulated by an end of block -> next block
     *      attack. We delay the activation of rebases 12 hours after liquidity incentives
     *      to reduce this attack vector. Additional there is very little supply
     *      to be able to manipulate this during that time period of highest vuln.
     */
    function getTWAP()
        internal
        returns (uint256)
    {
        (uint priceCumulative, uint32 blockTimestamp) =
            UniswapV2OracleLibrary.currentCumulativePrices(uniswap_pair, isToken0);
        uint32 timeElapsed = blockTimestamp - blockTimestampLast; // overflow is desired

        // no period check as is done in isRebaseWindow


        // overflow is desired
        uint256 priceAverage = uint256(uint224((priceCumulative - priceCumulativeLast) / timeElapsed));

        priceCumulativeLast = priceCumulative;
        blockTimestampLast = blockTimestamp;

        // BASE is on order of 1e18, which takes 2^60 bits
        // multiplication will revert if priceAverage > 2^196
        // (which it can because it overflows intentially)
        if (priceAverage > uint192(-1)) {
           // eat loss of precision
           // effectively: (x / 2**112) * 1e18
           return (priceAverage >> 112) * BASE;
        }
        // cant overflow
        // effectively: (x * 1e18 / 2**112)
        return (priceAverage * BASE) >> 112;
    }

    /**
     * @notice Calculates current TWAP from uniswap
     *
     */
    function getCurrentTWAP()
        public
        view
        returns (uint256)
    {
      (uint priceCumulative, uint32 blockTimestamp) =
         UniswapV2OracleLibrary.currentCumulativePrices(uniswap_pair, isToken0);
       uint32 timeElapsed = blockTimestamp - blockTimestampLast; // overflow is desired

       // no period check as is done in isRebaseWindow

       // overflow is desired
        uint256 priceAverage = uint256(uint224((priceCumulative - priceCumulativeLast) / timeElapsed));

        // BASE is on order of 1e18, which takes 2^60 bits
        // multiplication will revert if priceAverage > 2^196
        // (which it can because it overflows intentially)
        if (priceAverage > uint192(-1)) {
            // eat loss of precision
            // effectively: (x / 2**112) * 1e18
            return (priceAverage >> 112) * BASE;
        }
        // cant overflow
        // effectively: (x * 1e18 / 2**112)
        return (priceAverage * BASE) >> 112;
    }

    /**
     * @notice Sets the deviation threshold fraction. If the exchange rate given by the market
     *         oracle is within this fractional distance from the targetRate, then no supply
     *         modifications are made.
     * @param deviationThreshold_ The new exchange rate threshold fraction.
     */
    function setDeviationThreshold(uint256 deviationThreshold_)
        external
        onlyGov
    {
        require(deviationThreshold > 0);
        uint256 oldDeviationThreshold = deviationThreshold;
        deviationThreshold = deviationThreshold_;
        emit NewDeviationThreshold(oldDeviationThreshold, deviationThreshold_);
    }

    /**
     * @notice Sets the rebase lag parameter.
               It is used to dampen the applied supply adjustment by 1 / rebaseLag
               If the rebase lag R, equals 1, the smallest value for R, then the full supply
               correction is applied on each rebase cycle.
               If it is greater than 1, then a correction of 1/R of is applied on each rebase.
     * @param rebaseLag_ The new rebase lag parameter.
     */
    function setRebaseLag(uint256 rebaseLag_)
        external
        onlyGov
    {
        require(rebaseLag_ > 0);
        rebaseLag = rebaseLag_;
    }

    /**
     * @notice Sets the targetRate parameter.
     * @param targetRate_ The new target rate parameter.
     */
    function setTargetRate(uint256 targetRate_)
        external
        onlyGov
    {
        require(targetRate_ > 0);
        targetRate = targetRate_;
    }

    /**
     * @notice Sets the parameters which control the timing and frequency of
     *         rebase operations.
     *         a) the minimum time period that must elapse between rebase cycles.
     *         b) the rebase window offset parameter.
     *         c) the rebase window length parameter.
     * @param minRebaseTimeIntervalSec_ More than this much time must pass between rebase
     *        operations, in seconds.
     * @param rebaseWindowOffsetSec_ The number of seconds from the beginning of
              the rebase interval, where the rebase window begins.
     * @param rebaseWindowLengthSec_ The length of the rebase window in seconds.
     */
    function setRebaseTimingParameters(
        uint256 minRebaseTimeIntervalSec_,
        uint256 rebaseWindowOffsetSec_,
        uint256 rebaseWindowLengthSec_)
        external
        onlyGov
    {
        require(minRebaseTimeIntervalSec_ > 0);
        require(rebaseWindowOffsetSec_ < minRebaseTimeIntervalSec_);
        require(rebaseWindowOffsetSec_ + rebaseWindowLengthSec_ < minRebaseTimeIntervalSec_);
        minRebaseTimeIntervalSec = minRebaseTimeIntervalSec_;
        rebaseWindowOffsetSec = rebaseWindowOffsetSec_;
        rebaseWindowLengthSec = rebaseWindowLengthSec_;
    }

    /**
     * @return If the latest block timestamp is within the rebase time window it, returns true.
     *         Otherwise, returns false.
     */
    function inRebaseWindow() public view returns (bool) {

        // rebasing is delayed until there is a liquid market
        _inRebaseWindow();
        return true;
    }

    function _inRebaseWindow() internal view {

        // rebasing is delayed until there is a liquid market
        require(rebasingActive, "rebasing not active");

        require(now.mod(minRebaseTimeIntervalSec) >= rebaseWindowOffsetSec, "too early");
        require(now.mod(minRebaseTimeIntervalSec) < (rebaseWindowOffsetSec.add(rebaseWindowLengthSec)), "too late");
    }

    /**
     * @return Computes in % how far off market is from peg
     */
    function computeOffPegPerc(uint256 rate)
        private
        view
        returns (uint256, bool)
    {
        if (withinDeviationThreshold(rate)) {
            return (0, false);
        }

        // indexDelta =  (rate - targetRate) / targetRate
        if (rate > targetRate) {
            return (rate.sub(targetRate).mul(BASE).div(targetRate), true);
        } else {
            return (targetRate.sub(rate).mul(BASE).div(targetRate), false);
        }
    }

    /**
     * @param rate The current exchange rate, an 18 decimal fixed point number.
     * @return If the rate is within the deviation threshold from the target rate, returns true.
     *         Otherwise, returns false.
     */
    function withinDeviationThreshold(uint256 rate)
        private
        view
        returns (bool)
    {
        uint256 absoluteDeviationThreshold = targetRate.mul(deviationThreshold)
            .div(10 ** 18);

        return (rate >= targetRate && rate.sub(targetRate) < absoluteDeviationThreshold)
            || (rate < targetRate && targetRate.sub(rate) < absoluteDeviationThreshold);
    }

    /* - Constructor Helpers - */

    // calculates the CREATE2 address for a pair without making any external calls
    function pairFor(
        address factory,
        address token0,
        address token1
    )
        internal
        pure
        returns (address pair)
    {
        pair = address(uint(keccak256(abi.encodePacked(
                hex'ff',
                factory,
                keccak256(abi.encodePacked(token0, token1)),
                hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' // init code hash
            ))));
    }

    // returns sorted token addresses, used to handle return values from pairs sorted in this order
    function sortTokens(
        address tokenA,
        address tokenB
    )
        internal
        pure
        returns (address token0, address token1)
    {
        require(tokenA != tokenB, 'UniswapV2Library: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'UniswapV2Library: ZERO_ADDRESS');
    }

    /* -- Rebase helpers -- */

    /**
     * @notice Adds a transaction that gets called for a downstream receiver of rebases
     * @param destination Address of contract destination
     * @param data Transaction data payload
     */
    function addTransaction(address destination, bytes calldata data)
        external
        onlyGov
    {
        transactions.push(Transaction({
            enabled: true,
            destination: destination,
            data: data
        }));
    }


    /**
     * @param index Index of transaction to remove.
     *              Transaction ordering may have changed since adding.
     */
    function removeTransaction(uint index)
        external
        onlyGov
    {
        require(index < transactions.length, "index out of bounds");

        if (index < transactions.length - 1) {
            transactions[index] = transactions[transactions.length - 1];
        }

        transactions.length--;
    }

    /**
     * @param index Index of transaction. Transaction ordering may have changed since adding.
     * @param enabled True for enabled, false for disabled.
     */
    function setTransactionEnabled(uint index, bool enabled)
        external
        onlyGov
    {
        require(index < transactions.length, "index must be in range of stored tx list");
        transactions[index].enabled = enabled;
    }

    /**
     * @dev wrapper to call the encoded transactions on downstream consumers.
     * @param destination Address of destination contract.
     * @param data The encoded data payload.
     * @return True on success
     */
    function externalCall(address destination, bytes memory data)
        internal
        returns (bool)
    {
        bool result;
        assembly {  // solhint-disable-line no-inline-assembly
            // "Allocate" memory for output
            // (0x40 is where "free memory" pointer is stored by convention)
            let outputAddress := mload(0x40)

            // First 32 bytes are the padded length of data, so exclude that
            let dataAddress := add(data, 32)

            result := call(
                // 34710 is the value that solidity is currently emitting
                // It includes callGas (700) + callVeryLow (3, to pay for SUB)
                // + callValueTransferGas (9000) + callNewAccountGas
                // (25000, in case the destination address does not exist and needs creating)
                sub(gas, 34710),


                destination,
                0, // transfer value in wei
                dataAddress,
                mload(data),  // Size of the input, in bytes. Stored in position 0 of the array.
                outputAddress,
                0  // Output is ignored, therefore the output size is zero
            )
        }
        return result;
    }


    // Rescue tokens
    function rescueTokens(
        address token,
        address to,
        uint256 amount
    )
        external
        onlyGov
        returns (bool)
    {
        // transfer to
        SafeERC20.safeTransfer(IERC20(token), to, amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"yamAddress_","type":"address"},{"internalType":"address","name":"reserveToken_","type":"address"},{"internalType":"address","name":"uniswap_factory","type":"address"},{"internalType":"address","name":"reservesContract_","type":"address"},{"internalType":"address","name":"public_goods_","type":"address"},{"internalType":"uint256","name":"public_goods_perc_","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldDeviationThreshold","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newDeviationThreshold","type":"uint256"}],"name":"NewDeviationThreshold","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldGov","type":"address"},{"indexed":false,"internalType":"address","name":"newGov","type":"address"}],"name":"NewGov","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldSlippageFactor","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newSlippageFactor","type":"uint256"}],"name":"NewMaxSlippageFactor","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldPendingGov","type":"address"},{"indexed":false,"internalType":"address","name":"newPendingGov","type":"address"}],"name":"NewPendingGov","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldRebaseMintPerc","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRebaseMintPerc","type":"uint256"}],"name":"NewRebaseMintPercent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldReserveContract","type":"address"},{"indexed":false,"internalType":"address","name":"newReserveContract","type":"address"}],"name":"NewReserveContract","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"destination","type":"address"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"TransactionFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reservesAdded","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"yamsSold","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"yamsFromReserves","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"yamsToReserves","type":"uint256"}],"name":"TreasuryIncreased","type":"event"},{"constant":true,"inputs":[],"name":"BASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_MINT_PERC_PARAM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_SLIPPAGE_PARAM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MIN_TIME_FIRST_REBASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"_acceptGov","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"pendingGov_","type":"address"}],"name":"_setPendingGov","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"activate_rebasing","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"uniSyncPairs_","type":"address[]"},{"internalType":"address[]","name":"balGulpPairs_","type":"address[]"}],"name":"addSyncPairs","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"destination","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"addTransaction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"balGulpPairs","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"blockTimestampLast","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"deviationThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"epoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getBalGulpPairs","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getCurrentTWAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getUniSyncPairs","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"inRebaseWindow","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"init_twap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isToken0","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastRebaseTimestampSec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxSlippageFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"minRebaseTimeIntervalSec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingGov","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"priceCumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"public_goods","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"public_goods_perc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"rebase","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rebaseDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rebaseLag","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rebaseMintPerc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rebaseWindowLengthSec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rebaseWindowOffsetSec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rebasingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"removeBalPair","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"removeTransaction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"removeUniPair","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"reserveToken","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"reservesContract","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"deviationThreshold_","type":"uint256"}],"name":"setDeviationThreshold","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"maxSlippageFactor_","type":"uint256"}],"name":"setMaxSlippageFactor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"rebaseLag_","type":"uint256"}],"name":"setRebaseLag","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"rebaseMintPerc_","type":"uint256"}],"name":"setRebaseMintPerc","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"minRebaseTimeIntervalSec_","type":"uint256"},{"internalType":"uint256","name":"rebaseWindowOffsetSec_","type":"uint256"},{"internalType":"uint256","name":"rebaseWindowLengthSec_","type":"uint256"}],"name":"setRebaseTimingParameters","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"reservesContract_","type":"address"}],"name":"setReserveContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"targetRate_","type":"uint256"}],"name":"setTargetRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setTransactionEnabled","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"targetRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"timeOfTWAPInit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"transactions","outputs":[{"internalType":"bool","name":"enabled","type":"bool"},{"internalType":"address","name":"destination","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uniSyncPairs","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"uniswapV2Call","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"uniswap_pair","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"yamAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200514c3803806200514c8339810160408190526200003491620002be565b61a8c06007556170806009556000806200005888886001600160e01b03620001a216565b91509150876001600160a01b0316826001600160a01b031614156200008a576019805460ff1916600117905562000095565b6019805460ff191690555b620000ab8683836001600160e01b036200023d16565b601180546001600160a01b03199081166001600160a01b03938416179182905560128054600181810183556000929092527fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec34440180549385169383169390931790925560108054821698841698909817909755600f8054881699831699909917909855600e8054871699821699909917909855505060168054841692909616919091179094556017939093555066c02cea37e26800601855670de0b6b3a7640000600455600a600381905567016345785d8a000060055566b1a2bc2ec50000600655610e109055805433921691909117905562000573565b600080826001600160a01b0316846001600160a01b03161415620001e35760405162461bcd60e51b8152600401620001da90620004ec565b60405180910390fd5b826001600160a01b0316846001600160a01b0316106200020557828462000208565b83835b90925090506001600160a01b038216620002365760405162461bcd60e51b8152600401620001da90620004fe565b9250929050565b6000838383604051602001620002559291906200047c565b604051602081830303815290604052805190602001206040516020016200027e929190620004a6565b60408051601f198184030181529190528051602090910120949350505050565b8051620002ab816200054e565b92915050565b8051620002ab8162000568565b60008060008060008060c08789031215620002d857600080fd5b6000620002e689896200029e565b9650506020620002f989828a016200029e565b95505060406200030c89828a016200029e565b94505060606200031f89828a016200029e565b93505060806200033289828a016200029e565b92505060a06200034589828a01620002b1565b9150509295509295509295565b6200036762000361826200051e565b6200053a565b82525050565b620003676200037c826200052b565b6200052b565b60006200039160258362000510565b7f556e697377617056324c6962726172793a204944454e544943414c5f41444452815264455353455360d81b602082015260400192915050565b6000620003da60208362000519565b7f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f815260200192915050565b60006200041560018362000519565b7fff00000000000000000000000000000000000000000000000000000000000000815260010192915050565b600062000450601e8362000510565b7f556e697377617056324c6962726172793a205a45524f5f414444524553530000815260200192915050565b60006200048a828562000352565b6014820191506200049c828462000352565b5060140192915050565b6000620004b38262000406565b9150620004c1828562000352565b601482019150620004d382846200036d565b602082019150620004e482620003cb565b949350505050565b60208082528101620002ab8162000382565b60208082528101620002ab8162000441565b90815260200190565b919050565b6000620002ab826200052e565b90565b6001600160a01b031690565b6000620002ab826000620002ab8260601b90565b62000559816200051e565b81146200056557600080fd5b50565b62000559816200052b565b614bc980620005836000396000f3fe608060405234801561001057600080fd5b506004361061036d5760003560e01c80636e9dde99116101d3578063cc8fd39311610104578063dcf93f32116100a2578063ec342ad01161007c578063ec342ad014610636578063f12b83b91461063e578063f4325d6714610646578063fb0ce7d21461064e5761036d565b8063dcf93f321461061e578063dfebe32814610626578063e4751f7c1461062e5761036d565b8063cea9d26f116100de578063cea9d26f146105f3578063cf1b927e14610606578063d72cdafc1461060e578063d94ad837146106165761036d565b8063cc8fd393146105d0578063cd877826146105d8578063cdabdaac146105e05761036d565b80639671ecff11610171578063b532be181161014b578063b532be181461058b578063b60e1e3e146105a0578063c4c6eaad146105b3578063c5700a02146105bb5761036d565b80639671ecff1461054e5780639ace38c214610561578063af14052c146105835761036d565b8063832a3035116101ad578063832a30351461052e5780638d76a5bb14610536578063900cf0cf1461053e5780639466120f146105465761036d565b80636e9dde99146105005780637052b9021461051357806373f03dff1461051b5761036d565b80632f43c1bc116102ad5780634f2b96291161024b57806357466c8b1161022557806357466c8b146104d557806363f6d4c8146104dd5780636406ca5f146104e55780636bf9ace7146104ed5761036d565b80634f2b96291461049c578063527a52c8146104af57806353a15edc146104c25761036d565b806346c3bd1f1161028757806346c3bd1f146104715780634bda2e20146104845780634dc95de11461048c5780634e66f8ae146104945761036d565b80632f43c1bc146104595780633a68eaf6146104615780633a93069b146104695761036d565b806316250fd41161031a5780631cab801c116102f45780631cab801c146104235780631e0cd44e1461042b57806320ce83891461043e57806325240810146104515761036d565b806316250fd4146103f557806318412e34146104085780631b58ac4a146104105761036d565b8063126e19be1161034b578063126e19be146103ba57806312d43a51146103cd57806314eb3f24146103e25761036d565b8063021018991461037257806310d1e85c14610390578063111d0498146103a5575b600080fd5b61037a610656565b604051610387919061492a565b60405180910390f35b6103a361039e366004613cbf565b61065c565b005b6103ad610d52565b6040516103879190614723565b6103a36103c8366004613c69565b610d63565b6103d5610ea5565b60405161038791906146a6565b6103d56103f0366004613e20565b610ec1565b6103a3610403366004613e8c565b610ef5565b61037a610f4e565b6103a361041e366004613e20565b610f56565b61037a611086565b6103d5610439366004613e20565b61108c565b6103a361044c366004613e20565b611099565b6103d56110cf565b61037a6110eb565b6103d56110f1565b61037a61110d565b6103a361047f366004613e20565b611113565b6103a36112f0565b6103ad6113d3565b6103a36113dc565b6103a36104aa366004613e20565b6114c3565b6103a36104bd366004613bfe565b6115ee565b6103a36104d0366004613e20565b611696565b6103a3611703565b61037a6117ee565b61037a6117f4565b6103a36104fb366004613e20565b6117fa565b6103a361050e366004613e5c565b61186c565b61037a61191a565b6103a3610529366004613bfe565b611920565b61037a6119bc565b61037a611aa4565b61037a611ab0565b61037a611ab6565b6103a361055c366004613d38565b611abc565b61057461056f366004613e20565b611bee565b60405161038793929190614731565b6103a3611cde565b6105936120ae565b6040516103879190614712565b6103a36105ae366004613e20565b612120565b6103d5612192565b6105c36121ae565b60405161038791906149de565b61037a6121ba565b61037a6121c0565b6103a36105ee366004613e20565b6121c6565b6103ad610601366004613c1c565b6121fc565b61037a612235565b6103d561223b565b61037a612257565b6103ad61225d565b6103d5612266565b61037a612282565b61037a61228e565b61059361229a565b6103d561230a565b61037a612326565b60075481565b60115473ffffffffffffffffffffffffffffffffffffffff1633146106b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906148ac565b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff84163014610705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061490c565b61070d61381f565b818060200190516107219190810190613dbf565b600e54602082015191925073ffffffffffffffffffffffffffffffffffffffff1690156108bc5760105460115460208401516040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808616946323b872dd946107ab94918316939216916004016146cf565b602060405180830381600087803b1580156107c557600080fd5b505af11580156107d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506107fd9190810190613da1565b508151602083015110156108b7576011546020830151835173ffffffffffffffffffffffffffffffffffffffff808516936340c10f19939116916108469163ffffffff61232c16565b6040518363ffffffff1660e01b81526004016108639291906146f7565b602060405180830381600087803b15801561087d57600080fd5b505af1158015610891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506108b59190810190613da1565b505b61096b565b60115482516040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116936340c10f19936109179392909116916004016146f7565b602060405180830381600087803b15801561093157600080fd5b505af1158015610945573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506109699190810190613da1565b505b604082015115610a275760105460408381015190517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116936340c10f19936109d39392909116916004016146f7565b602060405180830381600087803b1580156109ed57600080fd5b505af1158015610a01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610a259190810190613da1565b505b60195460ff1615610bc95760165473ffffffffffffffffffffffffffffffffffffffff1615801590610a5b57506000601754115b15610b50576000610a8f670de0b6b3a7640000610a836017548861237790919063ffffffff16565b9063ffffffff6123cb16565b600f54601054919250610acb9173ffffffffffffffffffffffffffffffffffffffff9182169116610ac6888563ffffffff61232c16565b61240d565b600f54601654610af59173ffffffffffffffffffffffffffffffffffffffff90811691168361240d565b7fb335015c214ae37ed112cc5eb042235c0ea40a7617987e1bd847839143872350610b26868363ffffffff61232c16565b845160208601516040808801519051610b4294939291906149a9565b60405180910390a150610bc4565b600f54601054610b7a9173ffffffffffffffffffffffffffffffffffffffff90811691168661240d565b7fb335015c214ae37ed112cc5eb042235c0ea40a7617987e1bd84783914387235084836000015184602001518560400151604051610bbb94939291906149a9565b60405180910390a15b610d4a565b60165473ffffffffffffffffffffffffffffffffffffffff1615801590610bf257506000601754115b15610cd6576000610c1a670de0b6b3a7640000610a836017548961237790919063ffffffff16565b600f54601054919250610c519173ffffffffffffffffffffffffffffffffffffffff9182169116610ac6898563ffffffff61232c16565b600f54601654610c7b9173ffffffffffffffffffffffffffffffffffffffff90811691168361240d565b7fb335015c214ae37ed112cc5eb042235c0ea40a7617987e1bd847839143872350610cac878363ffffffff61232c16565b845160208601516040808801519051610cc894939291906149a9565b60405180910390a150610d4a565b600f54601054610d009173ffffffffffffffffffffffffffffffffffffffff90811691168761240d565b7fb335015c214ae37ed112cc5eb042235c0ea40a7617987e1bd84783914387235085836000015184602001518560400151604051610d4194939291906149a9565b60405180910390a15b505050505050565b6000610d5c6124ca565b5060015b90565b60015473ffffffffffffffffffffffffffffffffffffffff163314610d8757600080fd5b600060405180606001604052806001151581526020018573ffffffffffffffffffffffffffffffffffffffff16815260200184848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525093909452505083546001818101808755958352602092839020855160029093020180548487015173ffffffffffffffffffffffffffffffffffffffff16610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff9415157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00909216919091179390931692909217825560408501518051929450610e9c9391850192910190613840565b50505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60128181548110610ece57fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60015473ffffffffffffffffffffffffffffffffffffffff163314610f1957600080fd5b60008311610f2657600080fd5b828210610f3257600080fd5b8281830110610f4057600080fd5b600792909255600955600a55565b635f69064081565b60015473ffffffffffffffffffffffffffffffffffffffff163314610f7a57600080fd5b6013548110610f8857611083565b805b6013547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0181101561104f5760138160010181548110610fc657fe5b6000918252602090912001546013805473ffffffffffffffffffffffffffffffffffffffff9092169183908110610ff957fe5b600091825260209091200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055600101610f8a565b506013805490611081907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83016138be565b505b50565b60055481565b60138181548110610ece57fe5b60015473ffffffffffffffffffffffffffffffffffffffff1633146110bd57600080fd5b600081116110ca57600080fd5b600355565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b60155481565b60105473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b60015473ffffffffffffffffffffffffffffffffffffffff16331461113757600080fd5b6000548110611172576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906148dc565b6000547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018110156112bf57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81019081106111ce57fe5b9060005260206000209060020201600082815481106111e957fe5b600091825260209091208254600292830290910180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff90921615159190911780825583547fffffffffffffffffffffff0000000000000000000000000000000000000000ff9091166101009182900473ffffffffffffffffffffffffffffffffffffffff1682021782556001808501805493946112bb948387019492938116159092027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01909116046138e2565b5050505b6000805490611081907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301613957565b60025473ffffffffffffffffffffffffffffffffffffffff163314611341576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061483c565b60018054600280547fffffffffffffffffffffffff000000000000000000000000000000000000000080841673ffffffffffffffffffffffffffffffffffffffff83811691909117958690559116909155604051918116927f1f14cfc03e486d23acee577b07bc0b3b23f4888c91fcdba5e0fef5a2549d5523926113c892859216906146b4565b60405180910390a150565b600c5460ff1681565b6000600d5411611418576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906147bc565b635f690640421015611456576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061485c565b61a8c0600d5401421015611496576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906147fc565b600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b60015473ffffffffffffffffffffffffffffffffffffffff1633146114e757600080fd5b60125481106114f557611083565b805b6012547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018110156115bc576012816001018154811061153357fe5b6000918252602090912001546012805473ffffffffffffffffffffffffffffffffffffffff909216918390811061156657fe5b600091825260209091200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff929092169190911790556001016114f7565b506012805490611081907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83016138be565b60015473ffffffffffffffffffffffffffffffffffffffff16331461161257600080fd5b6010805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff00000000000000000000000000000000000000008316179092556040519116907fce840d2205f08f33375689943da5da9fdfde146fcbb5553b17910a60c8284a209061168a90839085906146b4565b60405180910390a15050565b60015473ffffffffffffffffffffffffffffffffffffffff1633146116ba57600080fd5b6000600654116116c957600080fd5b60068054908290556040517f2a5cda4d16fba415b52d90b59ee30d4cb16494da9fd1ee51c4d5bac4a1f75bbe9061168a9083908590614973565b600d541561173d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906148cc565b601154601954600091829161176b9173ffffffffffffffffffffffffffffffffffffffff169060ff166125b7565b9150915060008163ffffffff16116117af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906147ec565b6014805463ffffffff9092167fffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000090921682179055601591909155600d55565b60035481565b61a8c081565b60015473ffffffffffffffffffffffffffffffffffffffff16331461181e57600080fd5b6703782dace9d90000811061183257600080fd5b60058054908290556040517f59b3ffce759ec92c629beee27554d8fbc2ca1a05020fa0cf500c890c172094be9061168a9083908590614973565b60015473ffffffffffffffffffffffffffffffffffffffff16331461189057600080fd5b60005482106118cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906147dc565b80600083815481106118d957fe5b6000918252602090912060029091020180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790555050565b60095481565b60015473ffffffffffffffffffffffffffffffffffffffff16331461194457600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff00000000000000000000000000000000000000008316179092556040519116907f6163d5b9efd962645dd649e6e48a61bcb0f9df00997a2398b80d135a9ab0c61e9061168a90839085906146b4565b601154601954600091829182916119ee9173ffffffffffffffffffffffffffffffffffffffff9091169060ff166125b7565b60145460155492945090925063ffffffff908116830391600091831690850381611a1457fe5b047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1690507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff77ffffffffffffffffffffffffffffffffffffffffffffffff16811115611a8f5760701c670de0b6b3a7640000029350610d6092505050565b670de0b6b3a76400000260701c935050505090565b6701a35734e8f4380081565b600b5481565b600a5481565b60015473ffffffffffffffffffffffffffffffffffffffff163314611ae057600080fd5b60005b8251811015611b64576012838281518110611afa57fe5b60209081029190910181015182546001808201855560009485529290932090920180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9093169290921790915501611ae3565b5060005b8151811015611be9576013828281518110611b7f57fe5b60209081029190910181015182546001808201855560009485529290932090920180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9093169290921790915501611b68565b505050565b60008181548110611bfb57fe5b6000918252602091829020600291820201805460018083018054604080516101009483161585027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190921696909604601f810188900488028201880190965285815260ff841697509190920473ffffffffffffffffffffffffffffffffffffffff169492939092830182828015611cd45780601f10611ca957610100808354040283529160200191611cd4565b820191906000526020600020905b815481529060010190602001808311611cb757829003601f168201915b5050505050905083565b333214611cea57600080fd5b611cf26124ca565b42611d0a6007546008546127fe90919063ffffffff16565b10611d1457600080fd5b611d4b600954611d3f611d326007544261283d90919063ffffffff16565b429063ffffffff61232c16565b9063ffffffff6127fe16565b600855600b54611d6290600163ffffffff6127fe16565b600b556000611d6f61287f565b9050600080611d7d83612965565b60035491935091508290611d9890829063ffffffff6123cb16565b600e5490915073ffffffffffffffffffffffffffffffffffffffff168215611f18578073ffffffffffffffffffffffffffffffffffffffff166311d3e6c46040518163ffffffff1660e01b815260040160206040518083038186803b158015611e0057600080fd5b505afa158015611e14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611e389190810190613e3e565b611ee1670de0b6b3a7640000610a83611e57828763ffffffff6127fe16565b8573ffffffffffffffffffffffffffffffffffffffff1663b6fa85766040518163ffffffff1660e01b815260040160206040518083038186803b158015611e9d57600080fd5b505afa158015611eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611ed59190810190613e3e565b9063ffffffff61237716565b10611f18576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061481c565b60008173ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611f6057600080fd5b505afa158015611f74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611f989190810190613e3e565b905060008415611ff9576000611fc5670de0b6b3a7640000610a836005548861237790919063ffffffff16565b9050611fd7858263ffffffff61232c16565b9450611ff5670de0b6b3a7640000610a83858463ffffffff61237716565b9150505b600b546040517f7af548c100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851691637af548c191612051919088908a90600401614981565b602060405180830381600087803b15801561206b57600080fd5b505af115801561207f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506120a39190810190613e3e565b50610e9c81876129e8565b606080601280548060200260200160405190810160405280929190818152602001828054801561211457602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116120e9575b50939550505050505090565b60015473ffffffffffffffffffffffffffffffffffffffff16331461214457600080fd5b6701a35734e8f43800811061215857600080fd5b60188054908290556040517fe21b25c4eda0340cd924f3247795d0acde6c304b68ae77657bb2d4e840198bf89061168a9083908590614973565b60115473ffffffffffffffffffffffffffffffffffffffff1681565b60145463ffffffff1681565b60045481565b600d5481565b60015473ffffffffffffffffffffffffffffffffffffffff1633146121ea57600080fd5b600081116121f757600080fd5b600455565b60015460009073ffffffffffffffffffffffffffffffffffffffff16331461222357600080fd5b61222e84848461240d565b9392505050565b60185481565b600e5473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b60195460ff1681565b60165473ffffffffffffffffffffffffffffffffffffffff1681565b6703782dace9d9000081565b670de0b6b3a764000081565b60608060138054806020026020016040519081016040528092919081815260200182805480156121145760200282019190600052602060002090815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116120e95750939550505050505090565b600f5473ffffffffffffffffffffffffffffffffffffffff1681565b60175481565b600061236e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612d0f565b90505b92915050565b60008261238657506000612371565b8282028284828161239357fe5b041461236e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061482c565b600061236e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612d55565b604051611be99084907fa9059cbb000000000000000000000000000000000000000000000000000000009061244890869086906024016146f7565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152612da6565b600c5460ff16612506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061484c565b60095460075461251d90429063ffffffff61283d16565b1015612555576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061487c565b600a5460095461256a9163ffffffff6127fe16565b60075461257e90429063ffffffff61283d16565b106125b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061488c565b565b6000806125c2612e5c565b905060008060008673ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561260f57600080fd5b505afa158015612623573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506126479190810190613ddd565b9250925092508515612726578673ffffffffffffffffffffffffffffffffffffffff16635909c0d56040518163ffffffff1660e01b815260040160206040518083038186803b15801561269957600080fd5b505afa1580156126ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506126d19190810190613e3e565b94508363ffffffff168163ffffffff16146127215780840363ffffffff81166126fa8486612e66565b517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16029590950194505b6127f4565b8673ffffffffffffffffffffffffffffffffffffffff16635a3d54936040518163ffffffff1660e01b815260040160206040518083038186803b15801561276c57600080fd5b505afa158015612780573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506127a49190810190613e3e565b94508363ffffffff168163ffffffff16146127f45780840363ffffffff81166127cd8585612e66565b517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16029590950194505b5050509250929050565b60008282018381101561236e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906147cc565b600061236e83836040518060400160405280601881526020017f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000815250612f29565b601154601954600091829182916128b19173ffffffffffffffffffffffffffffffffffffffff9091169060ff166125b7565b60145460155492945090925063ffffffff9081168303916000918316908503816128d757fe5b6015869055601480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff8716179055047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16905077ffffffffffffffffffffffffffffffffffffffffffffffff811115611a8f5760701c670de0b6b3a7640000029350610d6092505050565b60008061297183612f77565b15612981575060009050806129e3565b6004548311156129b9576004546129ae90610a83670de0b6b3a7640000611ed5878463ffffffff61232c16565b6001915091506129e3565b6004546129dc90610a83670de0b6b3a7640000611ed5838863ffffffff61232c16565b6000915091505b915091565b60005b601254811015612a945760128181548110612a0257fe5b6000918252602082200154604080517ffff6cae9000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9092169263fff6cae99260048084019382900301818387803b158015612a7057600080fd5b505af1158015612a84573d6000803e3d6000fd5b5050600190920191506129eb9050565b5060005b601354811015612b505760138181548110612aaf57fe5b600091825260209091200154600e546040517f8c28cbe800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff92831692638c28cbe892612b12929116906004016146a6565b600060405180830381600087803b158015612b2c57600080fd5b505af1158015612b40573d6000803e3d6000fd5b505060019092019150612a989050565b508115612b6157612b618282612ff3565b60005b600054811015611be9576000808281548110612b7c57fe5b60009182526020909120600290910201805490915060ff1615612d065780546001808301805460408051602060026101009685161587027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152600095612c6f95900473ffffffffffffffffffffffffffffffffffffffff16939092909190830182828015612c655780601f10612c3a57610100808354040283529160200191612c65565b820191906000526020600020905b815481529060010190602001808311612c4857829003601f168201915b5050505050613553565b905080612d0457815460405161010090910473ffffffffffffffffffffffffffffffffffffffff16907f8091ecaaa54ebb82e02d36c2c336528e0fcb9b3430fc1291ac88295032b9c26390612cca9086906001870190614938565b60405180910390a26040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906148ec565b505b50600101612b64565b60008184841115612d4d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad91906147ab565b505050900390565b60008183612d90576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad91906147ab565b506000838581612d9c57fe5b0495945050505050565b6060612e08826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166135769092919063ffffffff16565b805190915015611be95780806020019051612e269190810190613da1565b611be9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061489c565b63ffffffff421690565b612e6e613983565b6000826dffffffffffffffffffffffffffff1611612eb8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906148fc565b6040805160208101909152806dffffffffffffffffffffffffffff84167bffffffffffffffffffffffffffff0000000000000000000000000000607087901b1681612eff57fe5b047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16815250905092915050565b60008183612f64576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad91906147ab565b50828481612f6e57fe5b06949350505050565b600080612f9d670de0b6b3a7640000610a8360065460045461237790919063ffffffff16565b90506004548310158015612fc4575080612fc26004548561232c90919063ffffffff16565b105b8061222e57506004548310801561222e57506004548190612feb908563ffffffff61232c16565b109392505050565b601154600e54604080517f0902f1ac000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416939092169160009182918591630902f1ac916004808301926060929190829003018186803b15801561306b57600080fd5b505afa15801561307f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506130a39190810190613ddd565b506010546040517f70a082310000000000000000000000000000000000000000000000000000000081526dffffffffffffffffffffffffffff938416955091909216925060009173ffffffffffffffffffffffffffffffffffffffff808716926370a08231926131179216906004016146a6565b60206040518083038186803b15801561312f57600080fd5b505afa158015613143573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506131679190810190613e3e565b9050600061317684848961358d565b905061318061381f565b50604080516060810182528281526020810184905260009181019190915260195460ff1615613397576131b9898463ffffffff6127fe16565b8211156132795760006131cf848b01878761363a565b8a85018352602080840186905260405191925073ffffffffffffffffffffffffffffffffffffffff8a169163022c0d9f91600091859130916132139189910161491c565b6040516020818303038152906040526040518563ffffffff1660e01b81526004016132419493929190614767565b600060405180830381600087803b15801561325b57600080fd5b505af115801561326f573d6000803e3d6000fd5b5050505050613392565b828211156132dc57600061328e83878761363a565b90506132a28a85850363ffffffff61232c16565b8260400181815250508773ffffffffffffffffffffffffffffffffffffffff1663022c0d9f6000833086604051602001613213919061491c565b60006132e983878761363a565b905082826020018181525050898260400181815250508773ffffffffffffffffffffffffffffffffffffffff1663022c0d9f6000833086604051602001613330919061491c565b6040516020818303038152906040526040518563ffffffff1660e01b815260040161335e9493929190614767565b600060405180830381600087803b15801561337857600080fd5b505af115801561338c573d6000803e3d6000fd5b50505050505b613548565b6133a7898463ffffffff6127fe16565b82111561342f5760006133bd848b01868861363a565b8a85018352602080840186905260405191925073ffffffffffffffffffffffffffffffffffffffff8a169163022c0d9f91849160009130916134019189910161491c565b6040516020818303038152906040526040518563ffffffff1660e01b815260040161335e9493929190614958565b8282111561349257600061344483868861363a565b90506134588a85850363ffffffff61232c16565b8260400181815250508773ffffffffffffffffffffffffffffffffffffffff1663022c0d9f8260003086604051602001613401919061491c565b600061349f83868861363a565b905082826020018181525050898260400181815250508773ffffffffffffffffffffffffffffffffffffffff1663022c0d9f82600030866040516020016134e6919061491c565b6040516020818303038152906040526040518563ffffffff1660e01b81526004016135149493929190614958565b600060405180830381600087803b15801561352e57600080fd5b505af1158015613542573d6000803e3d6000fd5b50505050505b505050505050505050565b6000806040516020840160008286518360008a6187965a03f19695505050505050565b60606135858484600085613714565b949350505050565b60195460009060ff16156135ee5767016345785d8a000082106135d2576135cb670de0b6b3a7640000610a836018548761237790919063ffffffff16565b905061222e565b6135cb6729a2241af62c0000610a83868563ffffffff61237716565b67016345785d8a0000821061361e576135cb670de0b6b3a7640000610a836018548661237790919063ffffffff16565b6135cb6729a2241af62c0000610a83858563ffffffff61237716565b6000808411613675576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906148bc565b6000831180156136855750600082115b6136bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061480c565b60006136cf856103e563ffffffff61237716565b905060006136e3828563ffffffff61237716565b905060006136fd83611d3f886103e863ffffffff61237716565b905080828161370857fe5b04979650505050505050565b606061371f85613819565b613755576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061486c565b600060608673ffffffffffffffffffffffffffffffffffffffff16858760405161377f919061469a565b60006040518083038185875af1925050503d80600081146137bc576040519150601f19603f3d011682016040523d82523d6000602084013e6137c1565b606091505b509150915081156137d55791506135859050565b8051156137e55780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad91906147ab565b3b151590565b60405180606001604052806000815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061388157805160ff19168380011785556138ae565b828001600101855582156138ae579182015b828111156138ae578251825591602001919060010190613893565b506138ba929150613995565b5090565b815481835581811115611be957600083815260209020611be9918101908301613995565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061391b57805485556138ae565b828001600101855582156138ae57600052602060002091601f016020900482015b828111156138ae57825482559160010191906001019061393c565b815481835581811115611be957600202816002028360005260206000209182019101611be991906139af565b60408051602081019091526000815290565b610d6091905b808211156138ba576000815560010161399b565b610d6091905b808211156138ba5780547fffffffffffffffffffffff00000000000000000000000000000000000000000016815560006139f260018301826139fb565b506002016139b5565b50805460018160011615610100020316600290046000825580601f10613a215750611083565b601f0160209004906000526020600020908101906110839190613995565b803561237181614b4e565b600082601f830112613a5b57600080fd5b8135613a6e613a6982614a13565b6149ec565b91508181835260208401935060208101905083856020840282011115613a9357600080fd5b60005b83811015613abf5781613aa98882613a3f565b8452506020928301929190910190600101613a96565b5050505092915050565b803561237181614b62565b805161237181614b62565b60008083601f840112613af157600080fd5b50813567ffffffffffffffff811115613b0957600080fd5b602083019150836001820283011115613b2157600080fd5b9250929050565b600082601f830112613b3957600080fd5b8135613b47613a6982614a34565b91508082526020830160208301858383011115613b6357600080fd5b613b6e838284614aee565b50505092915050565b600060608284031215613b8957600080fd5b613b9360606149ec565b90506000613ba18484613be8565b8252506020613bb284848301613be8565b6020830152506040613bc684828501613be8565b60408301525092915050565b805161237181614b6b565b803561237181614b74565b805161237181614b74565b805161237181614b7d565b600060208284031215613c1057600080fd5b60006135858484613a3f565b600080600060608486031215613c3157600080fd5b6000613c3d8686613a3f565b9350506020613c4e86828701613a3f565b9250506040613c5f86828701613bdd565b9150509250925092565b600080600060408486031215613c7e57600080fd5b6000613c8a8686613a3f565b935050602084013567ffffffffffffffff811115613ca757600080fd5b613cb386828701613adf565b92509250509250925092565b60008060008060808587031215613cd557600080fd5b6000613ce18787613a3f565b9450506020613cf287828801613bdd565b9350506040613d0387828801613bdd565b925050606085013567ffffffffffffffff811115613d2057600080fd5b613d2c87828801613b28565b91505092959194509250565b60008060408385031215613d4b57600080fd5b823567ffffffffffffffff811115613d6257600080fd5b613d6e85828601613a4a565b925050602083013567ffffffffffffffff811115613d8b57600080fd5b613d9785828601613a4a565b9150509250929050565b600060208284031215613db357600080fd5b60006135858484613ad4565b600060608284031215613dd157600080fd5b60006135858484613b77565b600080600060608486031215613df257600080fd5b6000613dfe8686613bd2565b9350506020613e0f86828701613bd2565b9250506040613c5f86828701613bf3565b600060208284031215613e3257600080fd5b60006135858484613bdd565b600060208284031215613e5057600080fd5b60006135858484613be8565b60008060408385031215613e6f57600080fd5b6000613e7b8585613bdd565b9250506020613d9785828601613ac9565b600080600060608486031215613ea157600080fd5b6000613ead8686613bdd565b9350506020613c4e86828701613bdd565b6000613eca8383613ed2565b505060200190565b613edb81614a9e565b82525050565b6000613eec82614a8c565b613ef68185614a90565b9350613f0183614a7a565b8060005b83811015613f2f578151613f198882613ebe565b9750613f2483614a7a565b925050600101613f05565b509495945050505050565b613edb81614aa9565b6000613f4e82614a8c565b613f588185614a90565b9350613f68818560208601614afa565b613f7181614b26565b9093019392505050565b6000613f8682614a8c565b613f908185614a99565b9350613fa0818560208601614afa565b9290920192915050565b600081546001811660008114613fc7576001811461400b5761404a565b607f6002830416613fd88187614a90565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008416815295505060208501925061404a565b600282046140198187614a90565b955061402485614a80565b60005b8281101561404357815488820152600190910190602001614027565b8701945050505b505092915050565b613edb81614ae3565b6000614068602783614a90565b7f74776170207761736e7420696e74697469617465642c2063616c6c20696e697481527f5f74776170282900000000000000000000000000000000000000000000000000602082015260400192915050565b60006140c7601b83614a90565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815260200192915050565b6000614100602883614a90565b7f696e646578206d75737420626520696e2072616e6765206f662073746f72656481527f207478206c697374000000000000000000000000000000000000000000000000602082015260400192915050565b600061415f600983614a90565b7f6e6f207472616465730000000000000000000000000000000000000000000000815260200192915050565b6000614198600a83614a90565b7f21656e645f64656c617900000000000000000000000000000000000000000000815260200192915050565b60006141d1602883614a90565b7f556e697377617056324c6962726172793a20494e53554646494349454e545f4c81527f4951554944495459000000000000000000000000000000000000000000000000602082015260400192915050565b6000614230602283614a90565b7f6e6577207363616c696e6720666163746f722077696c6c20626520746f6f206281527f6967000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b600061428f602183614a90565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f81527f7700000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b60006142ee600883614a90565b7f2170656e64696e67000000000000000000000000000000000000000000000000815260200192915050565b6000614327601383614a90565b7f7265626173696e67206e6f742061637469766500000000000000000000000000815260200192915050565b6000614360600d83614a90565b7f2166697273745f72656261736500000000000000000000000000000000000000815260200192915050565b6000614399601d83614a90565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000815260200192915050565b60006143d2600983614a90565b7f746f6f206561726c790000000000000000000000000000000000000000000000815260200192915050565b600061440b600883614a90565b7f746f6f206c617465000000000000000000000000000000000000000000000000815260200192915050565b6000614444602a83614a90565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e81527f6f74207375636365656400000000000000000000000000000000000000000000602082015260400192915050565b60006144a3600e83614a90565b7f626164206d73672e73656e646572000000000000000000000000000000000000815260200192915050565b60006144dc602b83614a90565b7f556e697377617056324c6962726172793a20494e53554646494349454e545f4981527f4e5055545f414d4f554e54000000000000000000000000000000000000000000602082015260400192915050565b600061453b601183614a90565b7f616c726561647920616374697661746564000000000000000000000000000000815260200192915050565b6000614574601383614a90565b7f696e646578206f7574206f6620626f756e647300000000000000000000000000815260200192915050565b60006145ad601283614a90565b7f5472616e73616374696f6e204661696c65640000000000000000000000000000815260200192915050565b60006145e6601783614a90565b7f4669786564506f696e743a204449565f42595f5a45524f000000000000000000815260200192915050565b600061461f600a83614a90565b7f626164206f726967696e00000000000000000000000000000000000000000000815260200192915050565b8051606083019061465c8482614688565b50602082015161466f6020850182614688565b5060408201516146826040850182614688565b50505050565b613edb81610d60565b613edb81614ada565b600061222e8284613f7b565b602081016123718284613ed2565b604081016146c28285613ed2565b61222e6020830184613ed2565b606081016146dd8286613ed2565b6146ea6020830185613ed2565b6135856040830184614688565b604081016147058285613ed2565b61222e6020830184614688565b6020808252810161236e8184613ee1565b602081016123718284613f3a565b6060810161473f8286613f3a565b61474c6020830185613ed2565b818103604083015261475e8184613f43565b95945050505050565b608081016147758287614052565b6147826020830186614688565b61478f6040830185613ed2565b81810360608301526147a18184613f43565b9695505050505050565b6020808252810161236e8184613f43565b602080825281016123718161405b565b60208082528101612371816140ba565b60208082528101612371816140f3565b6020808252810161237181614152565b602080825281016123718161418b565b60208082528101612371816141c4565b6020808252810161237181614223565b6020808252810161237181614282565b60208082528101612371816142e1565b602080825281016123718161431a565b6020808252810161237181614353565b602080825281016123718161438c565b60208082528101612371816143c5565b60208082528101612371816143fe565b6020808252810161237181614437565b6020808252810161237181614496565b60208082528101612371816144cf565b602080825281016123718161452e565b6020808252810161237181614567565b60208082528101612371816145a0565b60208082528101612371816145d9565b6020808252810161237181614612565b60608101612371828461464b565b602081016123718284614688565b604081016149468285614688565b81810360208301526135858184613faa565b608081016149668287614688565b6147826020830186614052565b604081016147058285614688565b6060810161498f8286614688565b61499c6020830185614688565b6135856040830184613f3a565b608081016149b78287614688565b6149c46020830186614688565b6149d16040830185614688565b61475e6060830184614688565b602081016123718284614691565b60405181810167ffffffffffffffff81118282101715614a0b57600080fd5b604052919050565b600067ffffffffffffffff821115614a2a57600080fd5b5060209081020190565b600067ffffffffffffffff821115614a4b57600080fd5b506020601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160190565b60200190565b60009081526020902090565b5190565b90815260200190565b919050565b600061237182614ac1565b151590565b6dffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1690565b63ffffffff1690565b600061237182610d60565b82818337506000910152565b60005b83811015614b15578181015183820152602001614afd565b838111156146825750506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b614b5781614a9e565b811461108357600080fd5b614b5781614aa9565b614b5781614aae565b614b5781610d60565b614b5781614ada56fea365627a7a72315820f25cc23a75c86f455dd77d67aba96d3a3fbe62f97b044b48f2793aca761d83b86c6578706572696d656e74616cf564736f6c634300050f00400000000000000000000000000aacfbec6a24756c20d41914f2caba817c0d85210000000000000000000000005dbcf33d8c2e976c6b560249878e6f1491bca25c0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000cf27ca116dd5c7b4201c75b46489d1c075362087000000000000000000000000de21f729137c5af1b01d73af1dc21effa2b8a0d6000000000000000000000000000000000000000000000000002386f26fc10000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061036d5760003560e01c80636e9dde99116101d3578063cc8fd39311610104578063dcf93f32116100a2578063ec342ad01161007c578063ec342ad014610636578063f12b83b91461063e578063f4325d6714610646578063fb0ce7d21461064e5761036d565b8063dcf93f321461061e578063dfebe32814610626578063e4751f7c1461062e5761036d565b8063cea9d26f116100de578063cea9d26f146105f3578063cf1b927e14610606578063d72cdafc1461060e578063d94ad837146106165761036d565b8063cc8fd393146105d0578063cd877826146105d8578063cdabdaac146105e05761036d565b80639671ecff11610171578063b532be181161014b578063b532be181461058b578063b60e1e3e146105a0578063c4c6eaad146105b3578063c5700a02146105bb5761036d565b80639671ecff1461054e5780639ace38c214610561578063af14052c146105835761036d565b8063832a3035116101ad578063832a30351461052e5780638d76a5bb14610536578063900cf0cf1461053e5780639466120f146105465761036d565b80636e9dde99146105005780637052b9021461051357806373f03dff1461051b5761036d565b80632f43c1bc116102ad5780634f2b96291161024b57806357466c8b1161022557806357466c8b146104d557806363f6d4c8146104dd5780636406ca5f146104e55780636bf9ace7146104ed5761036d565b80634f2b96291461049c578063527a52c8146104af57806353a15edc146104c25761036d565b806346c3bd1f1161028757806346c3bd1f146104715780634bda2e20146104845780634dc95de11461048c5780634e66f8ae146104945761036d565b80632f43c1bc146104595780633a68eaf6146104615780633a93069b146104695761036d565b806316250fd41161031a5780631cab801c116102f45780631cab801c146104235780631e0cd44e1461042b57806320ce83891461043e57806325240810146104515761036d565b806316250fd4146103f557806318412e34146104085780631b58ac4a146104105761036d565b8063126e19be1161034b578063126e19be146103ba57806312d43a51146103cd57806314eb3f24146103e25761036d565b8063021018991461037257806310d1e85c14610390578063111d0498146103a5575b600080fd5b61037a610656565b604051610387919061492a565b60405180910390f35b6103a361039e366004613cbf565b61065c565b005b6103ad610d52565b6040516103879190614723565b6103a36103c8366004613c69565b610d63565b6103d5610ea5565b60405161038791906146a6565b6103d56103f0366004613e20565b610ec1565b6103a3610403366004613e8c565b610ef5565b61037a610f4e565b6103a361041e366004613e20565b610f56565b61037a611086565b6103d5610439366004613e20565b61108c565b6103a361044c366004613e20565b611099565b6103d56110cf565b61037a6110eb565b6103d56110f1565b61037a61110d565b6103a361047f366004613e20565b611113565b6103a36112f0565b6103ad6113d3565b6103a36113dc565b6103a36104aa366004613e20565b6114c3565b6103a36104bd366004613bfe565b6115ee565b6103a36104d0366004613e20565b611696565b6103a3611703565b61037a6117ee565b61037a6117f4565b6103a36104fb366004613e20565b6117fa565b6103a361050e366004613e5c565b61186c565b61037a61191a565b6103a3610529366004613bfe565b611920565b61037a6119bc565b61037a611aa4565b61037a611ab0565b61037a611ab6565b6103a361055c366004613d38565b611abc565b61057461056f366004613e20565b611bee565b60405161038793929190614731565b6103a3611cde565b6105936120ae565b6040516103879190614712565b6103a36105ae366004613e20565b612120565b6103d5612192565b6105c36121ae565b60405161038791906149de565b61037a6121ba565b61037a6121c0565b6103a36105ee366004613e20565b6121c6565b6103ad610601366004613c1c565b6121fc565b61037a612235565b6103d561223b565b61037a612257565b6103ad61225d565b6103d5612266565b61037a612282565b61037a61228e565b61059361229a565b6103d561230a565b61037a612326565b60075481565b60115473ffffffffffffffffffffffffffffffffffffffff1633146106b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906148ac565b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff84163014610705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061490c565b61070d61381f565b818060200190516107219190810190613dbf565b600e54602082015191925073ffffffffffffffffffffffffffffffffffffffff1690156108bc5760105460115460208401516040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808616946323b872dd946107ab94918316939216916004016146cf565b602060405180830381600087803b1580156107c557600080fd5b505af11580156107d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506107fd9190810190613da1565b508151602083015110156108b7576011546020830151835173ffffffffffffffffffffffffffffffffffffffff808516936340c10f19939116916108469163ffffffff61232c16565b6040518363ffffffff1660e01b81526004016108639291906146f7565b602060405180830381600087803b15801561087d57600080fd5b505af1158015610891573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506108b59190810190613da1565b505b61096b565b60115482516040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116936340c10f19936109179392909116916004016146f7565b602060405180830381600087803b15801561093157600080fd5b505af1158015610945573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506109699190810190613da1565b505b604082015115610a275760105460408381015190517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116936340c10f19936109d39392909116916004016146f7565b602060405180830381600087803b1580156109ed57600080fd5b505af1158015610a01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610a259190810190613da1565b505b60195460ff1615610bc95760165473ffffffffffffffffffffffffffffffffffffffff1615801590610a5b57506000601754115b15610b50576000610a8f670de0b6b3a7640000610a836017548861237790919063ffffffff16565b9063ffffffff6123cb16565b600f54601054919250610acb9173ffffffffffffffffffffffffffffffffffffffff9182169116610ac6888563ffffffff61232c16565b61240d565b600f54601654610af59173ffffffffffffffffffffffffffffffffffffffff90811691168361240d565b7fb335015c214ae37ed112cc5eb042235c0ea40a7617987e1bd847839143872350610b26868363ffffffff61232c16565b845160208601516040808801519051610b4294939291906149a9565b60405180910390a150610bc4565b600f54601054610b7a9173ffffffffffffffffffffffffffffffffffffffff90811691168661240d565b7fb335015c214ae37ed112cc5eb042235c0ea40a7617987e1bd84783914387235084836000015184602001518560400151604051610bbb94939291906149a9565b60405180910390a15b610d4a565b60165473ffffffffffffffffffffffffffffffffffffffff1615801590610bf257506000601754115b15610cd6576000610c1a670de0b6b3a7640000610a836017548961237790919063ffffffff16565b600f54601054919250610c519173ffffffffffffffffffffffffffffffffffffffff9182169116610ac6898563ffffffff61232c16565b600f54601654610c7b9173ffffffffffffffffffffffffffffffffffffffff90811691168361240d565b7fb335015c214ae37ed112cc5eb042235c0ea40a7617987e1bd847839143872350610cac878363ffffffff61232c16565b845160208601516040808801519051610cc894939291906149a9565b60405180910390a150610d4a565b600f54601054610d009173ffffffffffffffffffffffffffffffffffffffff90811691168761240d565b7fb335015c214ae37ed112cc5eb042235c0ea40a7617987e1bd84783914387235085836000015184602001518560400151604051610d4194939291906149a9565b60405180910390a15b505050505050565b6000610d5c6124ca565b5060015b90565b60015473ffffffffffffffffffffffffffffffffffffffff163314610d8757600080fd5b600060405180606001604052806001151581526020018573ffffffffffffffffffffffffffffffffffffffff16815260200184848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525093909452505083546001818101808755958352602092839020855160029093020180548487015173ffffffffffffffffffffffffffffffffffffffff16610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff9415157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00909216919091179390931692909217825560408501518051929450610e9c9391850192910190613840565b50505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60128181548110610ece57fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b60015473ffffffffffffffffffffffffffffffffffffffff163314610f1957600080fd5b60008311610f2657600080fd5b828210610f3257600080fd5b8281830110610f4057600080fd5b600792909255600955600a55565b635f69064081565b60015473ffffffffffffffffffffffffffffffffffffffff163314610f7a57600080fd5b6013548110610f8857611083565b805b6013547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0181101561104f5760138160010181548110610fc657fe5b6000918252602090912001546013805473ffffffffffffffffffffffffffffffffffffffff9092169183908110610ff957fe5b600091825260209091200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055600101610f8a565b506013805490611081907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83016138be565b505b50565b60055481565b60138181548110610ece57fe5b60015473ffffffffffffffffffffffffffffffffffffffff1633146110bd57600080fd5b600081116110ca57600080fd5b600355565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b60155481565b60105473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b60015473ffffffffffffffffffffffffffffffffffffffff16331461113757600080fd5b6000548110611172576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906148dc565b6000547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018110156112bf57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81019081106111ce57fe5b9060005260206000209060020201600082815481106111e957fe5b600091825260209091208254600292830290910180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff90921615159190911780825583547fffffffffffffffffffffff0000000000000000000000000000000000000000ff9091166101009182900473ffffffffffffffffffffffffffffffffffffffff1682021782556001808501805493946112bb948387019492938116159092027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01909116046138e2565b5050505b6000805490611081907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301613957565b60025473ffffffffffffffffffffffffffffffffffffffff163314611341576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061483c565b60018054600280547fffffffffffffffffffffffff000000000000000000000000000000000000000080841673ffffffffffffffffffffffffffffffffffffffff83811691909117958690559116909155604051918116927f1f14cfc03e486d23acee577b07bc0b3b23f4888c91fcdba5e0fef5a2549d5523926113c892859216906146b4565b60405180910390a150565b600c5460ff1681565b6000600d5411611418576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906147bc565b635f690640421015611456576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061485c565b61a8c0600d5401421015611496576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906147fc565b600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b60015473ffffffffffffffffffffffffffffffffffffffff1633146114e757600080fd5b60125481106114f557611083565b805b6012547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018110156115bc576012816001018154811061153357fe5b6000918252602090912001546012805473ffffffffffffffffffffffffffffffffffffffff909216918390811061156657fe5b600091825260209091200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff929092169190911790556001016114f7565b506012805490611081907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83016138be565b60015473ffffffffffffffffffffffffffffffffffffffff16331461161257600080fd5b6010805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff00000000000000000000000000000000000000008316179092556040519116907fce840d2205f08f33375689943da5da9fdfde146fcbb5553b17910a60c8284a209061168a90839085906146b4565b60405180910390a15050565b60015473ffffffffffffffffffffffffffffffffffffffff1633146116ba57600080fd5b6000600654116116c957600080fd5b60068054908290556040517f2a5cda4d16fba415b52d90b59ee30d4cb16494da9fd1ee51c4d5bac4a1f75bbe9061168a9083908590614973565b600d541561173d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906148cc565b601154601954600091829161176b9173ffffffffffffffffffffffffffffffffffffffff169060ff166125b7565b9150915060008163ffffffff16116117af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906147ec565b6014805463ffffffff9092167fffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000090921682179055601591909155600d55565b60035481565b61a8c081565b60015473ffffffffffffffffffffffffffffffffffffffff16331461181e57600080fd5b6703782dace9d90000811061183257600080fd5b60058054908290556040517f59b3ffce759ec92c629beee27554d8fbc2ca1a05020fa0cf500c890c172094be9061168a9083908590614973565b60015473ffffffffffffffffffffffffffffffffffffffff16331461189057600080fd5b60005482106118cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906147dc565b80600083815481106118d957fe5b6000918252602090912060029091020180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790555050565b60095481565b60015473ffffffffffffffffffffffffffffffffffffffff16331461194457600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff00000000000000000000000000000000000000008316179092556040519116907f6163d5b9efd962645dd649e6e48a61bcb0f9df00997a2398b80d135a9ab0c61e9061168a90839085906146b4565b601154601954600091829182916119ee9173ffffffffffffffffffffffffffffffffffffffff9091169060ff166125b7565b60145460155492945090925063ffffffff908116830391600091831690850381611a1457fe5b047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1690507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff77ffffffffffffffffffffffffffffffffffffffffffffffff16811115611a8f5760701c670de0b6b3a7640000029350610d6092505050565b670de0b6b3a76400000260701c935050505090565b6701a35734e8f4380081565b600b5481565b600a5481565b60015473ffffffffffffffffffffffffffffffffffffffff163314611ae057600080fd5b60005b8251811015611b64576012838281518110611afa57fe5b60209081029190910181015182546001808201855560009485529290932090920180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9093169290921790915501611ae3565b5060005b8151811015611be9576013828281518110611b7f57fe5b60209081029190910181015182546001808201855560009485529290932090920180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9093169290921790915501611b68565b505050565b60008181548110611bfb57fe5b6000918252602091829020600291820201805460018083018054604080516101009483161585027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190921696909604601f810188900488028201880190965285815260ff841697509190920473ffffffffffffffffffffffffffffffffffffffff169492939092830182828015611cd45780601f10611ca957610100808354040283529160200191611cd4565b820191906000526020600020905b815481529060010190602001808311611cb757829003601f168201915b5050505050905083565b333214611cea57600080fd5b611cf26124ca565b42611d0a6007546008546127fe90919063ffffffff16565b10611d1457600080fd5b611d4b600954611d3f611d326007544261283d90919063ffffffff16565b429063ffffffff61232c16565b9063ffffffff6127fe16565b600855600b54611d6290600163ffffffff6127fe16565b600b556000611d6f61287f565b9050600080611d7d83612965565b60035491935091508290611d9890829063ffffffff6123cb16565b600e5490915073ffffffffffffffffffffffffffffffffffffffff168215611f18578073ffffffffffffffffffffffffffffffffffffffff166311d3e6c46040518163ffffffff1660e01b815260040160206040518083038186803b158015611e0057600080fd5b505afa158015611e14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611e389190810190613e3e565b611ee1670de0b6b3a7640000610a83611e57828763ffffffff6127fe16565b8573ffffffffffffffffffffffffffffffffffffffff1663b6fa85766040518163ffffffff1660e01b815260040160206040518083038186803b158015611e9d57600080fd5b505afa158015611eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611ed59190810190613e3e565b9063ffffffff61237716565b10611f18576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061481c565b60008173ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611f6057600080fd5b505afa158015611f74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611f989190810190613e3e565b905060008415611ff9576000611fc5670de0b6b3a7640000610a836005548861237790919063ffffffff16565b9050611fd7858263ffffffff61232c16565b9450611ff5670de0b6b3a7640000610a83858463ffffffff61237716565b9150505b600b546040517f7af548c100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851691637af548c191612051919088908a90600401614981565b602060405180830381600087803b15801561206b57600080fd5b505af115801561207f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506120a39190810190613e3e565b50610e9c81876129e8565b606080601280548060200260200160405190810160405280929190818152602001828054801561211457602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116120e9575b50939550505050505090565b60015473ffffffffffffffffffffffffffffffffffffffff16331461214457600080fd5b6701a35734e8f43800811061215857600080fd5b60188054908290556040517fe21b25c4eda0340cd924f3247795d0acde6c304b68ae77657bb2d4e840198bf89061168a9083908590614973565b60115473ffffffffffffffffffffffffffffffffffffffff1681565b60145463ffffffff1681565b60045481565b600d5481565b60015473ffffffffffffffffffffffffffffffffffffffff1633146121ea57600080fd5b600081116121f757600080fd5b600455565b60015460009073ffffffffffffffffffffffffffffffffffffffff16331461222357600080fd5b61222e84848461240d565b9392505050565b60185481565b600e5473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b60195460ff1681565b60165473ffffffffffffffffffffffffffffffffffffffff1681565b6703782dace9d9000081565b670de0b6b3a764000081565b60608060138054806020026020016040519081016040528092919081815260200182805480156121145760200282019190600052602060002090815473ffffffffffffffffffffffffffffffffffffffff1681526001909101906020018083116120e95750939550505050505090565b600f5473ffffffffffffffffffffffffffffffffffffffff1681565b60175481565b600061236e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612d0f565b90505b92915050565b60008261238657506000612371565b8282028284828161239357fe5b041461236e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061482c565b600061236e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612d55565b604051611be99084907fa9059cbb000000000000000000000000000000000000000000000000000000009061244890869086906024016146f7565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152612da6565b600c5460ff16612506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061484c565b60095460075461251d90429063ffffffff61283d16565b1015612555576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061487c565b600a5460095461256a9163ffffffff6127fe16565b60075461257e90429063ffffffff61283d16565b106125b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061488c565b565b6000806125c2612e5c565b905060008060008673ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561260f57600080fd5b505afa158015612623573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506126479190810190613ddd565b9250925092508515612726578673ffffffffffffffffffffffffffffffffffffffff16635909c0d56040518163ffffffff1660e01b815260040160206040518083038186803b15801561269957600080fd5b505afa1580156126ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506126d19190810190613e3e565b94508363ffffffff168163ffffffff16146127215780840363ffffffff81166126fa8486612e66565b517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16029590950194505b6127f4565b8673ffffffffffffffffffffffffffffffffffffffff16635a3d54936040518163ffffffff1660e01b815260040160206040518083038186803b15801561276c57600080fd5b505afa158015612780573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506127a49190810190613e3e565b94508363ffffffff168163ffffffff16146127f45780840363ffffffff81166127cd8585612e66565b517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16029590950194505b5050509250929050565b60008282018381101561236e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906147cc565b600061236e83836040518060400160405280601881526020017f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000815250612f29565b601154601954600091829182916128b19173ffffffffffffffffffffffffffffffffffffffff9091169060ff166125b7565b60145460155492945090925063ffffffff9081168303916000918316908503816128d757fe5b6015869055601480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff8716179055047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16905077ffffffffffffffffffffffffffffffffffffffffffffffff811115611a8f5760701c670de0b6b3a7640000029350610d6092505050565b60008061297183612f77565b15612981575060009050806129e3565b6004548311156129b9576004546129ae90610a83670de0b6b3a7640000611ed5878463ffffffff61232c16565b6001915091506129e3565b6004546129dc90610a83670de0b6b3a7640000611ed5838863ffffffff61232c16565b6000915091505b915091565b60005b601254811015612a945760128181548110612a0257fe5b6000918252602082200154604080517ffff6cae9000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff9092169263fff6cae99260048084019382900301818387803b158015612a7057600080fd5b505af1158015612a84573d6000803e3d6000fd5b5050600190920191506129eb9050565b5060005b601354811015612b505760138181548110612aaf57fe5b600091825260209091200154600e546040517f8c28cbe800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff92831692638c28cbe892612b12929116906004016146a6565b600060405180830381600087803b158015612b2c57600080fd5b505af1158015612b40573d6000803e3d6000fd5b505060019092019150612a989050565b508115612b6157612b618282612ff3565b60005b600054811015611be9576000808281548110612b7c57fe5b60009182526020909120600290910201805490915060ff1615612d065780546001808301805460408051602060026101009685161587027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f8101849004840282018401909252818152600095612c6f95900473ffffffffffffffffffffffffffffffffffffffff16939092909190830182828015612c655780601f10612c3a57610100808354040283529160200191612c65565b820191906000526020600020905b815481529060010190602001808311612c4857829003601f168201915b5050505050613553565b905080612d0457815460405161010090910473ffffffffffffffffffffffffffffffffffffffff16907f8091ecaaa54ebb82e02d36c2c336528e0fcb9b3430fc1291ac88295032b9c26390612cca9086906001870190614938565b60405180910390a26040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906148ec565b505b50600101612b64565b60008184841115612d4d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad91906147ab565b505050900390565b60008183612d90576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad91906147ab565b506000838581612d9c57fe5b0495945050505050565b6060612e08826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166135769092919063ffffffff16565b805190915015611be95780806020019051612e269190810190613da1565b611be9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061489c565b63ffffffff421690565b612e6e613983565b6000826dffffffffffffffffffffffffffff1611612eb8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906148fc565b6040805160208101909152806dffffffffffffffffffffffffffff84167bffffffffffffffffffffffffffff0000000000000000000000000000607087901b1681612eff57fe5b047bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16815250905092915050565b60008183612f64576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad91906147ab565b50828481612f6e57fe5b06949350505050565b600080612f9d670de0b6b3a7640000610a8360065460045461237790919063ffffffff16565b90506004548310158015612fc4575080612fc26004548561232c90919063ffffffff16565b105b8061222e57506004548310801561222e57506004548190612feb908563ffffffff61232c16565b109392505050565b601154600e54604080517f0902f1ac000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff938416939092169160009182918591630902f1ac916004808301926060929190829003018186803b15801561306b57600080fd5b505afa15801561307f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506130a39190810190613ddd565b506010546040517f70a082310000000000000000000000000000000000000000000000000000000081526dffffffffffffffffffffffffffff938416955091909216925060009173ffffffffffffffffffffffffffffffffffffffff808716926370a08231926131179216906004016146a6565b60206040518083038186803b15801561312f57600080fd5b505afa158015613143573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506131679190810190613e3e565b9050600061317684848961358d565b905061318061381f565b50604080516060810182528281526020810184905260009181019190915260195460ff1615613397576131b9898463ffffffff6127fe16565b8211156132795760006131cf848b01878761363a565b8a85018352602080840186905260405191925073ffffffffffffffffffffffffffffffffffffffff8a169163022c0d9f91600091859130916132139189910161491c565b6040516020818303038152906040526040518563ffffffff1660e01b81526004016132419493929190614767565b600060405180830381600087803b15801561325b57600080fd5b505af115801561326f573d6000803e3d6000fd5b5050505050613392565b828211156132dc57600061328e83878761363a565b90506132a28a85850363ffffffff61232c16565b8260400181815250508773ffffffffffffffffffffffffffffffffffffffff1663022c0d9f6000833086604051602001613213919061491c565b60006132e983878761363a565b905082826020018181525050898260400181815250508773ffffffffffffffffffffffffffffffffffffffff1663022c0d9f6000833086604051602001613330919061491c565b6040516020818303038152906040526040518563ffffffff1660e01b815260040161335e9493929190614767565b600060405180830381600087803b15801561337857600080fd5b505af115801561338c573d6000803e3d6000fd5b50505050505b613548565b6133a7898463ffffffff6127fe16565b82111561342f5760006133bd848b01868861363a565b8a85018352602080840186905260405191925073ffffffffffffffffffffffffffffffffffffffff8a169163022c0d9f91849160009130916134019189910161491c565b6040516020818303038152906040526040518563ffffffff1660e01b815260040161335e9493929190614958565b8282111561349257600061344483868861363a565b90506134588a85850363ffffffff61232c16565b8260400181815250508773ffffffffffffffffffffffffffffffffffffffff1663022c0d9f8260003086604051602001613401919061491c565b600061349f83868861363a565b905082826020018181525050898260400181815250508773ffffffffffffffffffffffffffffffffffffffff1663022c0d9f82600030866040516020016134e6919061491c565b6040516020818303038152906040526040518563ffffffff1660e01b81526004016135149493929190614958565b600060405180830381600087803b15801561352e57600080fd5b505af1158015613542573d6000803e3d6000fd5b50505050505b505050505050505050565b6000806040516020840160008286518360008a6187965a03f19695505050505050565b60606135858484600085613714565b949350505050565b60195460009060ff16156135ee5767016345785d8a000082106135d2576135cb670de0b6b3a7640000610a836018548761237790919063ffffffff16565b905061222e565b6135cb6729a2241af62c0000610a83868563ffffffff61237716565b67016345785d8a0000821061361e576135cb670de0b6b3a7640000610a836018548661237790919063ffffffff16565b6135cb6729a2241af62c0000610a83858563ffffffff61237716565b6000808411613675576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad906148bc565b6000831180156136855750600082115b6136bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061480c565b60006136cf856103e563ffffffff61237716565b905060006136e3828563ffffffff61237716565b905060006136fd83611d3f886103e863ffffffff61237716565b905080828161370857fe5b04979650505050505050565b606061371f85613819565b613755576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad9061486c565b600060608673ffffffffffffffffffffffffffffffffffffffff16858760405161377f919061469a565b60006040518083038185875af1925050503d80600081146137bc576040519150601f19603f3d011682016040523d82523d6000602084013e6137c1565b606091505b509150915081156137d55791506135859050565b8051156137e55780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad91906147ab565b3b151590565b60405180606001604052806000815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061388157805160ff19168380011785556138ae565b828001600101855582156138ae579182015b828111156138ae578251825591602001919060010190613893565b506138ba929150613995565b5090565b815481835581811115611be957600083815260209020611be9918101908301613995565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061391b57805485556138ae565b828001600101855582156138ae57600052602060002091601f016020900482015b828111156138ae57825482559160010191906001019061393c565b815481835581811115611be957600202816002028360005260206000209182019101611be991906139af565b60408051602081019091526000815290565b610d6091905b808211156138ba576000815560010161399b565b610d6091905b808211156138ba5780547fffffffffffffffffffffff00000000000000000000000000000000000000000016815560006139f260018301826139fb565b506002016139b5565b50805460018160011615610100020316600290046000825580601f10613a215750611083565b601f0160209004906000526020600020908101906110839190613995565b803561237181614b4e565b600082601f830112613a5b57600080fd5b8135613a6e613a6982614a13565b6149ec565b91508181835260208401935060208101905083856020840282011115613a9357600080fd5b60005b83811015613abf5781613aa98882613a3f565b8452506020928301929190910190600101613a96565b5050505092915050565b803561237181614b62565b805161237181614b62565b60008083601f840112613af157600080fd5b50813567ffffffffffffffff811115613b0957600080fd5b602083019150836001820283011115613b2157600080fd5b9250929050565b600082601f830112613b3957600080fd5b8135613b47613a6982614a34565b91508082526020830160208301858383011115613b6357600080fd5b613b6e838284614aee565b50505092915050565b600060608284031215613b8957600080fd5b613b9360606149ec565b90506000613ba18484613be8565b8252506020613bb284848301613be8565b6020830152506040613bc684828501613be8565b60408301525092915050565b805161237181614b6b565b803561237181614b74565b805161237181614b74565b805161237181614b7d565b600060208284031215613c1057600080fd5b60006135858484613a3f565b600080600060608486031215613c3157600080fd5b6000613c3d8686613a3f565b9350506020613c4e86828701613a3f565b9250506040613c5f86828701613bdd565b9150509250925092565b600080600060408486031215613c7e57600080fd5b6000613c8a8686613a3f565b935050602084013567ffffffffffffffff811115613ca757600080fd5b613cb386828701613adf565b92509250509250925092565b60008060008060808587031215613cd557600080fd5b6000613ce18787613a3f565b9450506020613cf287828801613bdd565b9350506040613d0387828801613bdd565b925050606085013567ffffffffffffffff811115613d2057600080fd5b613d2c87828801613b28565b91505092959194509250565b60008060408385031215613d4b57600080fd5b823567ffffffffffffffff811115613d6257600080fd5b613d6e85828601613a4a565b925050602083013567ffffffffffffffff811115613d8b57600080fd5b613d9785828601613a4a565b9150509250929050565b600060208284031215613db357600080fd5b60006135858484613ad4565b600060608284031215613dd157600080fd5b60006135858484613b77565b600080600060608486031215613df257600080fd5b6000613dfe8686613bd2565b9350506020613e0f86828701613bd2565b9250506040613c5f86828701613bf3565b600060208284031215613e3257600080fd5b60006135858484613bdd565b600060208284031215613e5057600080fd5b60006135858484613be8565b60008060408385031215613e6f57600080fd5b6000613e7b8585613bdd565b9250506020613d9785828601613ac9565b600080600060608486031215613ea157600080fd5b6000613ead8686613bdd565b9350506020613c4e86828701613bdd565b6000613eca8383613ed2565b505060200190565b613edb81614a9e565b82525050565b6000613eec82614a8c565b613ef68185614a90565b9350613f0183614a7a565b8060005b83811015613f2f578151613f198882613ebe565b9750613f2483614a7a565b925050600101613f05565b509495945050505050565b613edb81614aa9565b6000613f4e82614a8c565b613f588185614a90565b9350613f68818560208601614afa565b613f7181614b26565b9093019392505050565b6000613f8682614a8c565b613f908185614a99565b9350613fa0818560208601614afa565b9290920192915050565b600081546001811660008114613fc7576001811461400b5761404a565b607f6002830416613fd88187614a90565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008416815295505060208501925061404a565b600282046140198187614a90565b955061402485614a80565b60005b8281101561404357815488820152600190910190602001614027565b8701945050505b505092915050565b613edb81614ae3565b6000614068602783614a90565b7f74776170207761736e7420696e74697469617465642c2063616c6c20696e697481527f5f74776170282900000000000000000000000000000000000000000000000000602082015260400192915050565b60006140c7601b83614a90565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000815260200192915050565b6000614100602883614a90565b7f696e646578206d75737420626520696e2072616e6765206f662073746f72656481527f207478206c697374000000000000000000000000000000000000000000000000602082015260400192915050565b600061415f600983614a90565b7f6e6f207472616465730000000000000000000000000000000000000000000000815260200192915050565b6000614198600a83614a90565b7f21656e645f64656c617900000000000000000000000000000000000000000000815260200192915050565b60006141d1602883614a90565b7f556e697377617056324c6962726172793a20494e53554646494349454e545f4c81527f4951554944495459000000000000000000000000000000000000000000000000602082015260400192915050565b6000614230602283614a90565b7f6e6577207363616c696e6720666163746f722077696c6c20626520746f6f206281527f6967000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b600061428f602183614a90565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f81527f7700000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b60006142ee600883614a90565b7f2170656e64696e67000000000000000000000000000000000000000000000000815260200192915050565b6000614327601383614a90565b7f7265626173696e67206e6f742061637469766500000000000000000000000000815260200192915050565b6000614360600d83614a90565b7f2166697273745f72656261736500000000000000000000000000000000000000815260200192915050565b6000614399601d83614a90565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000815260200192915050565b60006143d2600983614a90565b7f746f6f206561726c790000000000000000000000000000000000000000000000815260200192915050565b600061440b600883614a90565b7f746f6f206c617465000000000000000000000000000000000000000000000000815260200192915050565b6000614444602a83614a90565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e81527f6f74207375636365656400000000000000000000000000000000000000000000602082015260400192915050565b60006144a3600e83614a90565b7f626164206d73672e73656e646572000000000000000000000000000000000000815260200192915050565b60006144dc602b83614a90565b7f556e697377617056324c6962726172793a20494e53554646494349454e545f4981527f4e5055545f414d4f554e54000000000000000000000000000000000000000000602082015260400192915050565b600061453b601183614a90565b7f616c726561647920616374697661746564000000000000000000000000000000815260200192915050565b6000614574601383614a90565b7f696e646578206f7574206f6620626f756e647300000000000000000000000000815260200192915050565b60006145ad601283614a90565b7f5472616e73616374696f6e204661696c65640000000000000000000000000000815260200192915050565b60006145e6601783614a90565b7f4669786564506f696e743a204449565f42595f5a45524f000000000000000000815260200192915050565b600061461f600a83614a90565b7f626164206f726967696e00000000000000000000000000000000000000000000815260200192915050565b8051606083019061465c8482614688565b50602082015161466f6020850182614688565b5060408201516146826040850182614688565b50505050565b613edb81610d60565b613edb81614ada565b600061222e8284613f7b565b602081016123718284613ed2565b604081016146c28285613ed2565b61222e6020830184613ed2565b606081016146dd8286613ed2565b6146ea6020830185613ed2565b6135856040830184614688565b604081016147058285613ed2565b61222e6020830184614688565b6020808252810161236e8184613ee1565b602081016123718284613f3a565b6060810161473f8286613f3a565b61474c6020830185613ed2565b818103604083015261475e8184613f43565b95945050505050565b608081016147758287614052565b6147826020830186614688565b61478f6040830185613ed2565b81810360608301526147a18184613f43565b9695505050505050565b6020808252810161236e8184613f43565b602080825281016123718161405b565b60208082528101612371816140ba565b60208082528101612371816140f3565b6020808252810161237181614152565b602080825281016123718161418b565b60208082528101612371816141c4565b6020808252810161237181614223565b6020808252810161237181614282565b60208082528101612371816142e1565b602080825281016123718161431a565b6020808252810161237181614353565b602080825281016123718161438c565b60208082528101612371816143c5565b60208082528101612371816143fe565b6020808252810161237181614437565b6020808252810161237181614496565b60208082528101612371816144cf565b602080825281016123718161452e565b6020808252810161237181614567565b60208082528101612371816145a0565b60208082528101612371816145d9565b6020808252810161237181614612565b60608101612371828461464b565b602081016123718284614688565b604081016149468285614688565b81810360208301526135858184613faa565b608081016149668287614688565b6147826020830186614052565b604081016147058285614688565b6060810161498f8286614688565b61499c6020830185614688565b6135856040830184613f3a565b608081016149b78287614688565b6149c46020830186614688565b6149d16040830185614688565b61475e6060830184614688565b602081016123718284614691565b60405181810167ffffffffffffffff81118282101715614a0b57600080fd5b604052919050565b600067ffffffffffffffff821115614a2a57600080fd5b5060209081020190565b600067ffffffffffffffff821115614a4b57600080fd5b506020601f919091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160190565b60200190565b60009081526020902090565b5190565b90815260200190565b919050565b600061237182614ac1565b151590565b6dffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff1690565b63ffffffff1690565b600061237182610d60565b82818337506000910152565b60005b83811015614b15578181015183820152602001614afd565b838111156146825750506000910152565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b614b5781614a9e565b811461108357600080fd5b614b5781614aa9565b614b5781614aae565b614b5781610d60565b614b5781614ada56fea365627a7a72315820f25cc23a75c86f455dd77d67aba96d3a3fbe62f97b044b48f2793aca761d83b86c6578706572696d656e74616cf564736f6c634300050f0040

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

0000000000000000000000000aacfbec6a24756c20d41914f2caba817c0d85210000000000000000000000005dbcf33d8c2e976c6b560249878e6f1491bca25c0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000cf27ca116dd5c7b4201c75b46489d1c075362087000000000000000000000000de21f729137c5af1b01d73af1dc21effa2b8a0d6000000000000000000000000000000000000000000000000002386f26fc10000

-----Decoded View---------------
Arg [0] : yamAddress_ (address): 0x0AaCfbeC6a24756c20D41914F2caba817C0d8521
Arg [1] : reserveToken_ (address): 0x5dbcF33D8c2E976c6b560249878e6F1491Bca25c
Arg [2] : uniswap_factory (address): 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
Arg [3] : reservesContract_ (address): 0xCF27cA116dd5C7b4201c75B46489D1c075362087
Arg [4] : public_goods_ (address): 0xde21F729137C5Af1b01d73aF1dC21eFfa2B8a0d6
Arg [5] : public_goods_perc_ (uint256): 10000000000000000

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000aacfbec6a24756c20d41914f2caba817c0d8521
Arg [1] : 0000000000000000000000005dbcf33d8c2e976c6b560249878e6f1491bca25c
Arg [2] : 0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
Arg [3] : 000000000000000000000000cf27ca116dd5c7b4201c75b46489d1c075362087
Arg [4] : 000000000000000000000000de21f729137c5af1b01d73af1dc21effa2b8a0d6
Arg [5] : 000000000000000000000000000000000000000000000000002386f26fc10000


Deployed Bytecode Sourcemap

33508:36164:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33508:36164:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36013:39;;;:::i;:::-;;;;;;;;;;;;;;;;47110:2958;;;;;;;;;:::i;:::-;;63563:176;;;:::i;:::-;;;;;;;;66725:260;;;;;;;;;:::i;35252:18::-;;;:::i;:::-;;;;;;;;37397:29;;;;;;;;;:::i;62797:601::-;;;;;;;;;:::i;38677:58::-;;;:::i;40778:270::-;;;;;;;;;:::i;35587:29::-;;;:::i;37483:::-;;;;;;;;;:::i;61653:157::-;;;;;;;;;:::i;35323:25::-;;;:::i;37646:34::-;;;:::i;37228:31::-;;;:::i;36119:37::-;;;:::i;67139:326::-;;;;;;;;;:::i;43745:236::-;;;:::i;36810:26::-;;;:::i;44643:409::-;;;:::i;40500:270::-;;;;;;;;;:::i;43014:279::-;;;;;;;;;:::i;60847:343::-;;;;;;;;;:::i;44084:438::-;;;:::i;35414:24::-;;;:::i;36913:46::-;;;:::i;42584:303::-;;;;;;;;;:::i;67647:244::-;;;;;;;;;:::i;36361:36::-;;;:::i;43439:230::-;;;;;;;;;:::i;59503:1011::-;;;:::i;38475:61::-;;;:::i;36619:20::-;;;:::i;36513:36::-;;;:::i;41112:380::-;;;;;;;;;:::i;35172:33::-;;;;;;;;;:::i;:::-;;;;;;;;;;45404:1696;;;:::i;41558:177::-;;;:::i;:::-;;;;;;;;42106:343;;;;;;;;;:::i;37314:27::-;;;:::i;37560:32::-;;;:::i;:::-;;;;;;;;35475:25;;;:::i;37013:29::-;;;:::i;61941:162::-;;;;;;;;;:::i;69414:255::-;;;;;;;;;:::i;38276:32::-;;;:::i;37086:25::-;;;:::i;35892:33::-;;;:::i;38398:20::-;;;:::i;37744:27::-;;;:::i;38571:57::-;;;:::i;38429:37::-;;;:::i;41801:177::-;;;:::i;37151:27::-;;;:::i;37852:32::-;;;:::i;36013:39::-;;;;:::o;47110:2958::-;47350:12;;;;47336:10;:26;47328:53;;;;;;;;;;;;;;;;;;;;;;47454:23;;;47472:4;47454:23;47446:46;;;;;;;;;;;;;;47504:22;;:::i;:::-;47541:4;47530:27;;;;;;;;;;;;;;47612:10;;47640:26;;;;47503:54;;-1:-1:-1;47612:10:0;;;47640:30;47636:645;;47763:16;;47781:12;;47795:26;;;;47746:76;;;;;:16;;;;;;;:76;;47763:16;;;;47781:12;;;47746:76;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;47746:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;47746:76:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;47746:76:0;;;;;;;;;-1:-1:-1;47870:17:0;;47841:26;;;;:46;47837:327;;;48084:12;;48120:26;;;;48098:17;;48075:8;;;;;;;48084:12;;;48098:49;;;:21;:49;:::i;:::-;48075:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48075:73:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;48075:73:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;48075:73:0;;;;;;;;;;47837:327;47636:645;;;48237:12;;48251:17;;48228:41;;;;;:8;;;;;;;:41;;48237:12;;;;;48228:41;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48228:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;48228:41:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;48228:41:0;;;;;;;;;;47636:645;48335:22;;;;:26;48331:109;;48387:16;;48405:22;;;;;48378:50;;;;;:8;;;;;;;:50;;48387:16;;;;;48378:50;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48378:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;48378:50:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;48378:50:0;;;;;;;;;;48331:109;48503:8;;;;48499:1562;;;48532:12;;:26;:12;:26;;;;:51;;;48582:1;48562:17;;:21;48532:51;48528:754;;;48602:30;48635:40;38460:6;48635:30;48647:17;;48635:7;:11;;:30;;;;:::i;:::-;:34;:40;:34;:40;:::i;:::-;48722:12;;48737:16;;48602:73;;-1:-1:-1;48692:99:0;;48722:12;;;;;48737:16;48755:35;:7;48602:73;48755:35;:11;:35;:::i;:::-;48692:22;:99::i;:::-;48838:12;;48853;;48808:82;;48838:12;;;;;48853;48867:22;48808;:82::i;:::-;48912:125;48930:35;:7;48942:22;48930:35;:11;:35;:::i;:::-;48967:17;;48986:26;;;;49014:22;;;;;48912:125;;;;;48967:17;48986:26;49014:22;48912:125;;;;;;;;;;48528:754;;;;49106:12;;49121:16;;49076:71;;49106:12;;;;;49121:16;49139:7;49076:22;:71::i;:::-;49169:97;49187:7;49196;:17;;;49215:7;:26;;;49243:7;:22;;;49169:97;;;;;;;;;;;;;;;;;;48528:754;48499:1562;;;49316:12;;:26;:12;:26;;;;:51;;;49366:1;49346:17;;:21;49316:51;49312:738;;;49384:30;49417:40;38460:6;49417:30;49429:17;;49417:7;:11;;:30;;;;:::i;:40::-;49502:12;;49517:16;;49384:73;;-1:-1:-1;49472:99:0;;49502:12;;;;;49517:16;49535:35;:7;49384:73;49535:35;:11;:35;:::i;49472:99::-;49616:12;;49631;;49586:82;;49616:12;;;;;49631;49645:22;49586;:82::i;:::-;49688:125;49706:35;:7;49718:22;49706:35;:11;:35;:::i;:::-;49743:17;;49762:26;;;;49790:22;;;;;49688:125;;;;;49743:17;49762:26;49790:22;49688:125;;;;;;;;;;49312:738;;;;49878:12;;49893:16;;49848:71;;49878:12;;;;;49893:16;49911:7;49848:22;:71::i;:::-;49939:97;49957:7;49966;:17;;;49985:7;:26;;;50013:7;:22;;;49939:97;;;;;;;;;;;;;;;;;;49312:738;47110:2958;;;;;;:::o;63563:176::-;63610:4;63692:17;:15;:17::i;:::-;-1:-1:-1;63727:4:0;63563:176;;:::o;66725:260::-;33624:3;;;;33610:10;:17;33602:26;;;;;;66842:12;66860:116;;;;;;;;66896:4;66860:116;;;;;;66928:11;66860:116;;;;;;66960:4;;66860:116;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;-1:-1;66860:116:0;;;;-1:-1:-1;;27:10;;39:1;23:18;;;45:23;;;66842:135:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66842:135:0;;;;;;;;;;:::i;:::-;;;;;66725:260;;;:::o;35252:18::-;;;;;;:::o;37397:29::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37397:29:0;:::o;62797:601::-;33624:3;;;;33610:10;:17;33602:26;;;;;;63046:1;63018:25;:29;63010:38;;;;;;63092:25;63067:22;:50;63059:59;;;;;;63187:25;63162:22;63137;:47;:75;63129:84;;;;;;63224:24;:52;;;;63287:21;:46;63344:21;:46;62797:601::o;38677:58::-;38725:10;38677:58;:::o;40778:270::-;33624:3;;;;33610:10;:17;33602:26;;;;;;40855:12;:19;40846:28;;40842:41;;40876:7;;40842:41;40909:5;40895:114;40920:12;:19;:21;;40916:25;;40895:114;;;40980:12;40993:1;40995;40993:3;40980:17;;;;;;;;;;;;;;;;;;40962:12;:15;;40980:17;;;;;40975:1;;40962:15;;;;;;;;;;;;;;;:35;;;;;;;;;;;;;;;-1:-1:-1;40943:3:0;40895:114;;;-1:-1:-1;41019:12:0;:21;;;;;;;;;:::i;:::-;;33639:1;40778:270;:::o;35587:29::-;;;;:::o;37483:::-;;;;;;;;;;61653:157;33624:3;;;;33610:10;:17;33602:26;;;;;;61767:1;61754:10;:14;61746:23;;;;;;61780:9;:22;61653:157::o;35323:25::-;;;;;;:::o;37646:34::-;;;;:::o;37228:31::-;;;;;;:::o;36119:37::-;;;;:::o;67139:326::-;33624:3;;;;33610:10;:17;33602:26;;;;;;67245:12;:19;67237:27;;67229:59;;;;;;;;;;;;;;67313:12;:19;:23;;67305:31;;67301:123;;;67375:12;67388:19;;:23;;;;67375:37;;;;;;;;;;;;;;;;67353:12;67366:5;67353:19;;;;;;;;;;;;;;;;:59;;:19;;;;;;;:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67353:59:0;;;;;:19;;:59;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;67301:123:0;67436:12;:21;;;;;;;;;:::i;43745:236::-;43823:10;;;;43809;:24;43801:45;;;;;;;;;;;;;;43874:3;;;43894:10;;;43888:16;;;;43874:3;43894:10;;;43888:16;;;;;;;;43915:23;;;;;43954:19;;43874:3;;;;43954:19;;;;43874:3;;43969;;43954:19;;;;;;;;;;43745:236;:::o;36810:26::-;;;;;;:::o;44643:409::-;44729:1;44712:14;;:18;44704:70;;;;;;;;;;;;;;38725:10;44841:3;:28;;44833:54;;;;;;;;;;;;;;36951:8;44967:14;;:28;44960:3;:35;;44952:58;;;;;;;;;;;;;;45023:14;:21;;;;45040:4;45023:21;;;44643:409::o;40500:270::-;33624:3;;;;33610:10;:17;33602:26;;;;;;40577:12;:19;40568:28;;40564:41;;40598:7;;40564:41;40631:5;40617:114;40642:12;:19;:21;;40638:25;;40617:114;;;40702:12;40715:1;40717;40715:3;40702:17;;;;;;;;;;;;;;;;;;40684:12;:15;;40702:17;;;;;40697:1;;40684:15;;;;;;;;;;;;;;;:35;;;;;;;;;;;;;;;-1:-1:-1;40665:3:0;40617:114;;;-1:-1:-1;40741:12:0;:21;;;;;;;;;:::i;43014:279::-;33624:3;;;;33610:10;:17;33602:26;;;;;;43148:16;;;;43175:36;;;;;;;;;;43227:58;;43148:16;;;43227:58;;;;43148:16;;43194:17;;43227:58;;;;;;;;;;33639:1;43014:279;:::o;60847:343::-;33624:3;;;;33610:10;:17;33602:26;;;;;;60987:1;60966:18;;:22;60958:31;;;;;;61032:18;;;61061:40;;;;61117:65;;;;;;61032:18;;61082:19;;61117:65;;44084:438;44145:14;;:19;44137:49;;;;;;;;;;;;;;44304:12;;44318:8;;44198:20;;;;44257:70;;44304:12;;;44318:8;;44257:46;:70::i;:::-;44197:130;;;;44363:1;44346:14;:18;;;44338:40;;;;;;;;;;;;;;44389:18;:35;;;;;;;;;;;;;;44435:19;:37;;;;44483:14;:31;44084:438::o;35414:24::-;;;;:::o;36913:46::-;36951:8;36913:46;:::o;42584:303::-;33624:3;;;;33610:10;:17;33602:26;;;;;;38617:11;42693:15;:37;42685:46;;;;;;42760:14;;;42785:32;;;;42833:46;;;;;;42760:14;;42802:15;;42833:46;;67647:244;33624:3;;;;33610:10;:17;33602:26;;;;;;67771:12;:19;67763:27;;67755:80;;;;;;;;;;;;;;67876:7;67846:12;67859:5;67846:19;;;;;;;;;;;;;;;;;;;;;:37;;;;;;;;;;;;;-1:-1:-1;;67647:244:0:o;36361:36::-;;;;:::o;43439:230::-;33624:3;;;;33610:10;:17;33602:26;;;;;;43559:10;;;;43580:24;;;;;;;;;;43620:41;;43559:10;;;43620:41;;;;43559:10;;43593:11;;43620:41;;59503:1011;59705:12;;59719:8;;59577:7;;;;;;59658:70;;59705:12;;;;;59719:8;;59658:46;:70::i;:::-;59776:18;;59977:19;;59600:128;;-1:-1:-1;59600:128:0;;-1:-1:-1;59776:18:0;;;;59759:35;;;59738:18;;59958:53;;;59959:37;;59958:53;;;;;;59942:71;;59919:94;;60236:2;60213:26;;:12;:26;60209:181;;;60367:3;60351:19;38460:6;60350:28;;-1:-1:-1;60343:35:0;;-1:-1:-1;;;60343:35:0;60209:181;38460:6;60479:19;60503:3;60478:28;;-1:-1:-1;;;;59503:1011:0;:::o;38475:61::-;38520:16;38475:61;:::o;36619:20::-;;;;:::o;36513:36::-;;;;:::o;41112:380::-;33624:3;;;;33610:10;:17;33602:26;;;;;;41252:9;41247:113;41271:13;:20;41267:1;:24;41247:113;;;41313:12;41331:13;41345:1;41331:16;;;;;;;;;;;;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;-1:-1;41313:35:0;;;;;;;;;;;;;;;;;;;;;;;;;41293:3;41247:113;;;-1:-1:-1;41377:9:0;41372:113;41396:13;:20;41392:1;:24;41372:113;;;41438:12;41456:13;41470:1;41456:16;;;;;;;;;;;;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;-1:-1;41438:35:0;;;;;;;;;;;;;;;;;;;;;;;;;41418:3;41372:113;;;;41112:380;;:::o;35172:33::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35172:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;45404:1696::-;45490:10;45504:9;45490:23;45482:32;;;;;;45569:17;:15;:17::i;:::-;45727:3;45672:52;45699:24;;45672:22;;:26;;:52;;;;:::i;:::-;:58;45664:67;;;;;;45831:83;45892:21;;45831:56;45853:33;45861:24;;45853:3;:7;;:33;;;;:::i;:::-;45831:3;;:56;:7;:56;:::i;:::-;:60;:83;:60;:83;:::i;:::-;45806:22;:108;45935:5;;:12;;45945:1;45935:12;:9;:12;:::i;:::-;45927:5;:20;45998;46021:9;:7;:9::i;:::-;45998:32;;46086:18;46106:13;46123:31;46141:12;46123:17;:31::i;:::-;46279:9;;46085:69;;-1:-1:-1;46085:69:0;-1:-1:-1;46085:69:0;;46264:25;;46085:69;;46264:25;:14;:25;:::i;:::-;46344:10;;46251:38;;-1:-1:-1;46344:10:0;;46368:172;;;;46467:3;:20;;;:22;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46467:22:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46467:22:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;46467:22:0;;;;;;;;;46405:59;38460:6;46405:49;46433:20;38460:6;46442:10;46433:20;:8;:20;:::i;:::-;46405:3;:21;;;:23;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46405:23:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46405:23:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;46405:23:0;;;;;;;;;:27;:49;:27;:49;:::i;:59::-;:84;46397:131;;;;;;;;;;;;;;46554:18;46575:3;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46575:17:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46575:17:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;46575:17:0;;;;;;;;;46554:38;;46605:18;46691:8;46687:214;;;46716:16;46735:40;38460:6;46735:30;46750:14;;46735:10;:14;;:30;;;;:::i;:40::-;46716:59;-1:-1:-1;46803:24:0;:10;46716:59;46803:24;:14;:24;:::i;:::-;46790:37;-1:-1:-1;46855:34:0;38460:6;46855:24;:10;46870:8;46855:24;:14;:24;:::i;:34::-;46842:47;;46687:214;;46975:5;;46964:39;;;;;:10;;;;;;:39;;46975:5;46982:10;;46994:8;;46964:39;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;46964:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;46964:39:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;46964:39:0;;;;;;;;;;47057:35;47069:10;47081;47057:11;:35::i;41558:177::-;41633:16;41667:22;41692:12;41667:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41667:37:0;;-1:-1:-1;;;;;;41558:177:0;:::o;42106:343::-;33624:3;;;;33610:10;:17;33602:26;;;;;;38520:16;42221:18;:39;42213:48;;;;;;42300:17;;;42328:38;;;;42382:59;;;;;;42300:17;;42348:18;;42382:59;;37314:27;;;;;;:::o;37560:32::-;;;;;;:::o;35475:25::-;;;;:::o;37013:29::-;;;;:::o;61941:162::-;33624:3;;;;33610:10;:17;33602:26;;;;;;62058:1;62044:11;:15;62036:24;;;;;;62071:10;:24;61941:162::o;69414:255::-;33624:3;;69566:4;;33624:3;;33610:10;:17;33602:26;;;;;;69612:49;69642:5;69650:2;69654:6;69612:22;:49::i;:::-;69414:255;;;;;:::o;38276:32::-;;;;:::o;37086:25::-;;;;;;:::o;35892:33::-;;;;:::o;38398:20::-;;;;;;:::o;37744:27::-;;;;;;:::o;38571:57::-;38617:11;38571:57;:::o;38429:37::-;38460:6;38429:37;:::o;41801:177::-;41876:16;41910:22;41935:12;41910:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41910:37:0;;-1:-1:-1;;;;;;41801:177:0;:::o;37151:27::-;;;;;;:::o;37852:32::-;;;;:::o;1366:136::-;1424:7;1451:43;1455:1;1458;1451:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1444:50;;1366:136;;;;;:::o;2256:471::-;2314:7;2559:6;2555:47;;-1:-1:-1;2589:1:0;2582:8;;2555:47;2626:5;;;2630:1;2626;:5;:1;2650:5;;;;;:10;2642:56;;;;;;;;;;;;;3203:132;3261:7;3288:39;3292:1;3295;3288:39;;;;;;;;;;;;;;;;;:3;:39::i;14594:177::-;14704:58;;14677:86;;14697:5;;14727:23;;14704:58;;14752:2;;14756:5;;14704:58;;;;;;;;22:32:-1;26:21;;;22:32;6:49;;14704:58:0;;;49:4:-1;25:18;;61:17;;14704:58:0;182:15:-1;14704:58:0;;;;179:29:-1;;;;160:49;;;14677:19:0;:86::i;63747:382::-;63872:14;;;;63864:46;;;;;;;;;;;;;;63968:21;;63939:24;;63931:33;;:3;;:33;:7;:33;:::i;:::-;:58;;63923:80;;;;;;;;;;;;;;64085:21;;64059;;:48;;;:25;:48;:::i;:::-;64030:24;;64022:33;;:3;;:33;:7;:33;:::i;:::-;:86;64014:107;;;;;;;;;;;;;;63747:382::o;23971:1466::-;24081:20;24103:21;24154:23;:21;:23::i;:::-;24137:40;;24189:16;24207;24225:25;24266:4;24254:29;;;:31;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24254:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;24254:31:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;24254:31:0;;;;;;;;;24188:97;;;;;;24300:8;24296:1132;;;24353:4;24341:38;;;:40;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24341:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;24341:40:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;24341:40:0;;;;;;;;;24323:58;;24525:14;24503:36;;:18;:36;;;24499:357;;24629:35;;;24780:62;;;24785:39;24805:8;24815;24785:19;:39::i;:::-;:42;24780:48;;:62;24761:81;;;;;-1:-1:-1;24499:357:0;24296:1132;;;24916:4;24904:38;;;:40;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24904:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;24904:40:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;24904:40:0;;;;;;;;;24886:58;;25086:14;25064:36;;:18;:36;;;25060:357;;25190:35;;;25341:62;;;25346:39;25366:8;25376;25346:19;:39::i;:::-;:42;25341:48;;:62;25322:81;;;;;-1:-1:-1;25060:357:0;23971:1466;;;;;;;;:::o;902:181::-;960:7;992:5;;;1016:6;;;;1008:46;;;;;;;;;;;;;4574:130;4632:7;4659:37;4663:1;4666;4659:37;;;;;;;;;;;;;;;;;:3;:37::i;58321:1095::-;58509:12;;58523:8;;58376:7;;;;;;58462:70;;58509:12;;;;;58523:8;;58462:46;:70::i;:::-;58581:18;;58786:19;;58401:131;;-1:-1:-1;58401:131:0;;-1:-1:-1;58581:18:0;;;;58564:35;;;58543:18;;58767:53;;;58768:37;;58767:53;;;;;58835:19;:37;;;58883:18;:35;;;;;;;;;;58767:53;58751:71;;;-1:-1:-1;59118:26:0;;;59114:178;;;59269:3;59253:19;38460:6;59252:28;;-1:-1:-1;59245:35:0;;-1:-1:-1;;;59245:35:0;64216:485;64306:7;64315:4;64341:30;64366:4;64341:24;:30::i;:::-;64337:80;;;-1:-1:-1;64396:1:0;;-1:-1:-1;64396:1:0;64388:17;;64337:80;64499:10;;64492:4;:17;64488:206;;;64569:10;;64534:46;;:30;38460:6;64534:20;:4;64569:10;64534:20;:8;:20;:::i;:46::-;64582:4;64526:61;;;;;;64488:206;64663:10;;64628:46;;:30;38460:6;64628:20;64663:10;64643:4;64628:20;:14;:20;:::i;:46::-;64676:5;64620:62;;;;64488:206;64216:485;;;:::o;56833:1056::-;56991:9;56986:112;57010:12;:19;57006:23;;56986:112;;;57063:12;57076:1;57063:15;;;;;;;;;;;;;;;;;57051:35;;;;;;;;57063:15;;;;;57051:33;;:35;;;;;;;;;;57063:15;;57051:35;;;5:2:-1;;;;30:1;27;20:12;5:2;57051:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;57031:3:0;;;;;-1:-1:-1;56986:112:0;;-1:-1:-1;56986:112:0;;-1:-1:-1;57149:9:0;57144:114;57168:12;:19;57164:23;;57144:114;;;57213:12;57226:1;57213:15;;;;;;;;;;;;;;;;;;57235:10;;57209:37;;;;;57213:15;;;;;57209:25;;:37;;57235:10;;;57209:37;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;57209:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;57189:3:0;;;;;-1:-1:-1;57144:114:0;;-1:-1:-1;57144:114:0;;-1:-1:-1;57276:14:0;;57272:141;;57307:94;57347:10;57376;57307:21;:94::i;:::-;57467:6;57462:420;57483:12;:19;57479:23;;57462:420;;;57524:21;57548:12;57561:1;57548:15;;;;;;;;;;;;;;;;;;;;;57582:9;;57548:15;;-1:-1:-1;57582:9:0;;57578:293;;;57660:13;;;57675:6;;;57647:35;;;;;;;57660:13;57647:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;57647:35:0;;57660:13;;;;;57647:35;;57675:6;;57647:35;;;57675:6;57647:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:12;:35::i;:::-;57612:70;;57706:6;57701:155;;57760:13;;57742:43;;57760:13;;;;;;;57742:43;;;;57775:1;;57760:13;57778:6;;;57742:43;;;;;;;;;;57808:28;;;;;;;;;;;57701:155;57578:293;;-1:-1:-1;57504:3:0;;57462:420;;1805:192;1891:7;1927:12;1919:6;;;;1911:29;;;;;;;;;;;;;;;-1:-1:-1;;;1963:5:0;;;1805:192::o;3831:278::-;3917:7;3952:12;3945:5;3937:28;;;;;;;;;;;;;;;;3976:9;3992:1;3988;:5;;;;;;;3831:278;-1:-1:-1;;;;;3831:278:0:o;16899:761::-;17323:23;17349:69;17377:4;17349:69;;;;;;;;;;;;;;;;;17357:5;17349:27;;;;:69;;;;;:::i;:::-;17433:17;;17323:95;;-1:-1:-1;17433:21:0;17429:224;;17575:10;17564:30;;;;;;;;;;;;;;17556:85;;;;;;;;;;;;;23742:123;23831:25;:15;:25;;23742:123::o;22321:246::-;22402:16;;:::i;:::-;22453:1;22439:11;:15;;;22431:51;;;;;;;;;;;;;;22500:59;;;;;;;;;;22510:48;;;22511:32;21072:3;22511:32;;;;22510:48;;;;;;22500:59;;;;;22493:66;;22321:246;;;;:::o;5189:166::-;5275:7;5311:12;5303:6;5295:29;;;;;;;;;;;;;;;;5346:1;5342;:5;;;;;;;5189:166;-1:-1:-1;;;;5189:166:0:o;64948:408::-;65045:4;65067:34;65104:62;65157:8;65104:34;65119:18;;65104:10;;:14;;:34;;;;:::i;:62::-;65067:99;;65195:10;;65187:4;:18;;:71;;;;;65232:26;65209:20;65218:10;;65209:4;:8;;:20;;;;:::i;:::-;:49;65187:71;65186:162;;;;65284:10;;65277:4;:17;:70;;;;-1:-1:-1;65298:10:0;;65321:26;;65298:20;;65313:4;65298:20;:14;:20;:::i;:::-;:49;65179:169;64948:408;-1:-1:-1;;;64948:408:0:o;50076:4737::-;50237:12;;50305:10;;50407:18;;;;;;;;50237:12;;;;;50305:10;;;;50206:16;;;;50237:12;;50407:16;;:18;;;;;;;;;;;;;;50237:12;50407:18;;;5:2:-1;;;;30:1;27;20:12;5:2;50407:18:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;50407:18:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;50407:18:0;;;;;;;;;-1:-1:-1;50529:16:0;;50515:31;;;;;50354:71;;;;;-1:-1:-1;50354:71:0;;;;;-1:-1:-1;50498:14:0;;50515:13;;;;;;;:31;;50529:16;;50515:31;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50515:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;50515:31:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;50515:31:0;;;;;;;;;50498:48;;50561:30;50594:62;50613:14;50629;50645:10;50594:18;:62::i;:::-;50561:95;;50669:22;;:::i;:::-;-1:-1:-1;50694:255:0;;;;;;;;;;;;;;;;;-1:-1:-1;50694:255:0;;;;;;;51213:8;;;;51209:3597;;;51267:22;:10;51282:6;51267:22;:14;:22;:::i;:::-;51242;:47;51238:1794;;;51535:17;51555:65;51581:6;51568:10;:19;51589:14;51605;51555:12;:65::i;:::-;51659:19;;;51639:39;;51697:26;;;;:35;;;51876:19;;51535:85;;-1:-1:-1;51837:9:0;;;;;;51639:17;;51535:85;;51869:4;;51876:19;;51639:7;;51876:19;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;51876:19:0;;;51837:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51837:59:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;51837:59:0;;;;51238:1794;;;;51966:6;51941:22;:31;51937:1080;;;52056:17;52076:68;52089:22;52113:14;52129;52076:12;:68::i;:::-;52056:88;-1:-1:-1;52299:49:0;:10;52315:31;;;52299:49;:14;:49;:::i;:::-;52274:7;:22;;:74;;;;;52371:4;:9;;;52381:1;52384:9;52403:4;52421:7;52410:19;;;;;;;;;51937:1080;52537:17;52557:68;52570:22;52594:14;52610;52557:12;:68::i;:::-;52537:88;;52677:22;52648:7;:26;;:51;;;;;52747:10;52722:7;:22;;:35;;;;;52938:4;:9;;;52948:1;52951:9;52970:4;52988:7;52977:19;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;52977:19:0;;;52938:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;52938:59:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;52938:59:0;;;;51937:1080;;51209:3597;;;53093:22;:10;53108:6;53093:22;:14;:22;:::i;:::-;53068;:47;53064:1731;;;53192:17;53212:65;53238:6;53225:10;:19;53246:14;53262;53212:12;:65::i;:::-;53316:19;;;53296:39;;53354:26;;;;:35;;;53533:19;;53192:85;;-1:-1:-1;53494:9:0;;;;;;53192:85;;53296:17;;53526:4;;53533:19;;53296:7;;53533:19;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;53533:19:0;;;53494:59;;;;;;;;;;;;;;;;;;;53064:1731;53623:6;53598:22;:31;53594:1186;;;53713:17;53733:68;53746:22;53770:14;53786;53733:12;:68::i;:::-;53713:88;-1:-1:-1;53956:50:0;:10;53973:31;;;53956:50;:14;:50;:::i;:::-;53931:7;:22;;:75;;;;;54134:4;:9;;;54144;54155:1;54166:4;54184:7;54173:19;;;;;;;;;53594:1186;54300:17;54320:68;54333:22;54357:14;54373;54320:12;:68::i;:::-;54300:88;;54440:22;54411:7;:26;;:51;;;;;54510:10;54485:7;:22;;:35;;;;;54701:4;:9;;;54711;54722:1;54733:4;54751:7;54740:19;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;54740:19:0;;;54701:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54701:59:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;54701:59:0;;;;53594:1186;;50076:4737;;;;;;;;;:::o;68134:1248::-;68232:4;68254:11;68494:4;68488:11;68622:2;68616:4;68612:13;69267:1;69235:13;69143:4;69137:11;69107;69062:1;69032:11;69003:5;68998:3;68994:15;68651:689;68641:699;68134:1248;-1:-1:-1;;;;;;68134:1248:0:o;11673:196::-;11776:12;11808:53;11831:6;11839:4;11845:1;11848:12;11808:22;:53::i;:::-;11801:60;11673:196;-1:-1:-1;;;;11673:196:0:o;54821:1097::-;55008:8;;54979:7;;55008:8;;55004:907;;;55049:6;55035:10;:20;55031:646;;55112:39;38460:6;55112:29;55123:17;;55112:6;:10;;:29;;;;:::i;:39::-;55105:46;;;;55031:646;55627:36;55654:8;55627:22;:6;55638:10;55627:22;:10;:22;:::i;55004:907::-;55727:6;55713:10;:20;55709:191;;55761:39;38460:6;55761:29;55772:17;;55761:6;:10;;:29;;;;:::i;55709:191::-;55848:36;55875:8;55848:22;:6;55859:10;55848:22;:10;:22;:::i;56247:576::-;56401:14;56451:1;56440:8;:12;56432:68;;;;;;;;;;;;;;56530:1;56518:9;:13;:31;;;;;56548:1;56535:10;:14;56518:31;56510:84;;;;;;;;;;;;;;56604:20;56627:17;:8;56640:3;56627:17;:12;:17;:::i;:::-;56604:40;-1:-1:-1;56654:14:0;56671:31;56604:40;56691:10;56671:31;:19;:31;:::i;:::-;56654:48;-1:-1:-1;56712:16:0;56731:40;56755:15;56731:19;:9;56745:4;56731:19;:13;:19;:::i;:40::-;56712:59;;56805:11;56793:9;:23;;;;;;;56247:576;-1:-1:-1;;;;;;;56247:576:0:o;13050:976::-;13180:12;13213:18;13224:6;13213:10;:18::i;:::-;13205:60;;;;;;;;;;;;;;13339:12;13353:23;13380:6;:11;;13398:8;13408:4;13380:33;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;13338:75:0;;;;13428:7;13424:595;;;13459:10;-1:-1:-1;13452:17:0;;-1:-1:-1;13452:17:0;13424:595;13573:17;;:21;13569:439;;13836:10;13830:17;13897:15;13884:10;13880:2;13876:19;13869:44;13784:148;13979:12;13972:20;;;;;;;;;;;;8758:422;9125:20;9164:8;;;8758:422::o;33508:36164::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33508:36164:0;;;-1:-1:-1;33508:36164:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;33508:36164:0;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;5:130:-1:-;72:20;;97:33;72:20;97:33;;160:707;;277:3;270:4;262:6;258:17;254:27;244:2;;295:1;292;285:12;244:2;332:6;319:20;354:80;369:64;426:6;369:64;;;354:80;;;345:89;;451:5;476:6;469:5;462:21;506:4;498:6;494:17;484:27;;528:4;523:3;519:14;512:21;;581:6;628:3;620:4;612:6;608:17;603:3;599:27;596:36;593:2;;;645:1;642;635:12;593:2;670:1;655:206;680:6;677:1;674:13;655:206;;;738:3;760:37;793:3;781:10;760:37;;;748:50;;-1:-1;821:4;812:14;;;;840;;;;;702:1;695:9;655:206;;;659:14;237:630;;;;;;;;875:124;939:20;;964:30;939:20;964:30;;1006:128;1081:13;;1099:30;1081:13;1099:30;;1155:336;;;1269:3;1262:4;1254:6;1250:17;1246:27;1236:2;;1287:1;1284;1277:12;1236:2;-1:-1;1307:20;;1347:18;1336:30;;1333:2;;;1379:1;1376;1369:12;1333:2;1413:4;1405:6;1401:17;1389:29;;1464:3;1456:4;1448:6;1444:17;1434:8;1430:32;1427:41;1424:2;;;1481:1;1478;1471:12;1424:2;1229:262;;;;;;1500:440;;1601:3;1594:4;1586:6;1582:17;1578:27;1568:2;;1619:1;1616;1609:12;1568:2;1656:6;1643:20;1678:64;1693:48;1734:6;1693:48;;1678:64;1669:73;;1762:6;1755:5;1748:21;1798:4;1790:6;1786:17;1831:4;1824:5;1820:16;1866:3;1857:6;1852:3;1848:16;1845:25;1842:2;;;1883:1;1880;1873:12;1842:2;1893:41;1927:6;1922:3;1917;1893:41;;;1561:379;;;;;;;;1980:680;;2101:4;2089:9;2084:3;2080:19;2076:30;2073:2;;;2119:1;2116;2109:12;2073:2;2137:20;2152:4;2137:20;;;2128:29;-1:-1;2212:1;2244:60;2300:3;2280:9;2244:60;;;2219:86;;-1:-1;2380:2;2413:60;2469:3;2445:22;;;2413:60;;;2406:4;2399:5;2395:16;2388:86;2326:159;2545:2;2578:60;2634:3;2625:6;2614:9;2610:22;2578:60;;;2571:4;2564:5;2560:16;2553:86;2495:155;2067:593;;;;;2667:134;2745:13;;2763:33;2745:13;2763:33;;2808:130;2875:20;;2900:33;2875:20;2900:33;;2945:134;3023:13;;3041:33;3023:13;3041:33;;3086:132;3163:13;;3181:32;3163:13;3181:32;;3225:241;;3329:2;3317:9;3308:7;3304:23;3300:32;3297:2;;;3345:1;3342;3335:12;3297:2;3380:1;3397:53;3442:7;3422:9;3397:53;;3473:491;;;;3611:2;3599:9;3590:7;3586:23;3582:32;3579:2;;;3627:1;3624;3617:12;3579:2;3662:1;3679:53;3724:7;3704:9;3679:53;;;3669:63;;3641:97;3769:2;3787:53;3832:7;3823:6;3812:9;3808:22;3787:53;;;3777:63;;3748:98;3877:2;3895:53;3940:7;3931:6;3920:9;3916:22;3895:53;;;3885:63;;3856:98;3573:391;;;;;;3971:490;;;;4111:2;4099:9;4090:7;4086:23;4082:32;4079:2;;;4127:1;4124;4117:12;4079:2;4162:1;4179:53;4224:7;4204:9;4179:53;;;4169:63;;4141:97;4297:2;4286:9;4282:18;4269:32;4321:18;4313:6;4310:30;4307:2;;;4353:1;4350;4343:12;4307:2;4381:64;4437:7;4428:6;4417:9;4413:22;4381:64;;;4371:74;;;;4248:203;4073:388;;;;;;4468:721;;;;;4632:3;4620:9;4611:7;4607:23;4603:33;4600:2;;;4649:1;4646;4639:12;4600:2;4684:1;4701:53;4746:7;4726:9;4701:53;;;4691:63;;4663:97;4791:2;4809:53;4854:7;4845:6;4834:9;4830:22;4809:53;;;4799:63;;4770:98;4899:2;4917:53;4962:7;4953:6;4942:9;4938:22;4917:53;;;4907:63;;4878:98;5035:2;5024:9;5020:18;5007:32;5059:18;5051:6;5048:30;5045:2;;;5091:1;5088;5081:12;5045:2;5111:62;5165:7;5156:6;5145:9;5141:22;5111:62;;;5101:72;;4986:193;4594:595;;;;;;;;5196:638;;;5367:2;5355:9;5346:7;5342:23;5338:32;5335:2;;;5383:1;5380;5373:12;5335:2;5418:31;;5469:18;5458:30;;5455:2;;;5501:1;5498;5491:12;5455:2;5521:78;5591:7;5582:6;5571:9;5567:22;5521:78;;;5511:88;;5397:208;5664:2;5653:9;5649:18;5636:32;5688:18;5680:6;5677:30;5674:2;;;5720:1;5717;5710:12;5674:2;5740:78;5810:7;5801:6;5790:9;5786:22;5740:78;;;5730:88;;5615:209;5329:505;;;;;;5841:257;;5953:2;5941:9;5932:7;5928:23;5924:32;5921:2;;;5969:1;5966;5959:12;5921:2;6004:1;6021:61;6074:7;6054:9;6021:61;;6105:305;;6241:2;6229:9;6220:7;6216:23;6212:32;6209:2;;;6257:1;6254;6247:12;6209:2;6292:1;6309:85;6386:7;6366:9;6309:85;;6417:533;;;;6565:2;6553:9;6544:7;6540:23;6536:32;6533:2;;;6581:1;6578;6571:12;6533:2;6616:1;6633:64;6689:7;6669:9;6633:64;;;6623:74;;6595:108;6734:2;6752:64;6808:7;6799:6;6788:9;6784:22;6752:64;;;6742:74;;6713:109;6853:2;6871:63;6926:7;6917:6;6906:9;6902:22;6871:63;;6957:241;;7061:2;7049:9;7040:7;7036:23;7032:32;7029:2;;;7077:1;7074;7067:12;7029:2;7112:1;7129:53;7174:7;7154:9;7129:53;;7205:263;;7320:2;7308:9;7299:7;7295:23;7291:32;7288:2;;;7336:1;7333;7326:12;7288:2;7371:1;7388:64;7444:7;7424:9;7388:64;;7475:360;;;7593:2;7581:9;7572:7;7568:23;7564:32;7561:2;;;7609:1;7606;7599:12;7561:2;7644:1;7661:53;7706:7;7686:9;7661:53;;;7651:63;;7623:97;7751:2;7769:50;7811:7;7802:6;7791:9;7787:22;7769:50;;7842:491;;;;7980:2;7968:9;7959:7;7955:23;7951:32;7948:2;;;7996:1;7993;7986:12;7948:2;8031:1;8048:53;8093:7;8073:9;8048:53;;;8038:63;;8010:97;8138:2;8156:53;8201:7;8192:6;8181:9;8177:22;8156:53;;8341:173;;8428:46;8470:3;8462:6;8428:46;;;-1:-1;;8503:4;8494:14;;8421:93;8522:103;8595:24;8613:5;8595:24;;;8590:3;8583:37;8577:48;;;8783:690;;8928:54;8976:5;8928:54;;;8995:86;9074:6;9069:3;8995:86;;;8988:93;;9102:56;9152:5;9102:56;;;9178:7;9206:1;9191:260;9216:6;9213:1;9210:13;9191:260;;;9283:6;9277:13;9304:63;9363:3;9348:13;9304:63;;;9297:70;;9384:60;9437:6;9384:60;;;9374:70;-1:-1;;9238:1;9231:9;9191:260;;;-1:-1;9464:3;;8907:566;-1:-1;;;;;8907:566;9481:104;9558:21;9573:5;9558:21;;9592:343;;9702:38;9734:5;9702:38;;;9752:70;9815:6;9810:3;9752:70;;;9745:77;;9827:52;9872:6;9867:3;9860:4;9853:5;9849:16;9827:52;;;9900:29;9922:6;9900:29;;;9891:39;;;;9682:253;-1:-1;;;9682:253;9942:356;;10070:38;10102:5;10070:38;;;10120:88;10201:6;10196:3;10120:88;;;10113:95;;10213:52;10258:6;10253:3;10246:4;10239:5;10235:16;10213:52;;;10277:16;;;;;10050:248;-1:-1;;10050:248;10670:818;;10787:5;10781:12;10821:1;10810:9;10806:17;10834:1;10829:247;;;;11087:1;11082:400;;;;10799:683;;10829:247;10907:4;10903:1;10892:9;10888:17;10884:28;10926:70;10989:6;10984:3;10926:70;;;11030:9;11015:25;;11003:38;;10919:77;-1:-1;;11064:4;11055:14;;;-1:-1;10829:247;;11082:400;11151:1;11140:9;11136:17;11167:70;11230:6;11225:3;11167:70;;;11160:77;;11259:37;11290:5;11259:37;;;11312:1;11320:130;11334:6;11331:1;11328:13;11320:130;;;11393:14;;11380:11;;;11373:35;11440:1;11427:15;;;;11356:4;11349:12;11320:130;;;11464:11;;;-1:-1;;;10799:683;;10757:731;;;;;;11496:142;11587:45;11626:5;11587:45;;12000:376;;12160:67;12224:2;12219:3;12160:67;;;12260:34;12240:55;;12329:9;12324:2;12315:12;;12308:31;12367:2;12358:12;;12146:230;-1:-1;;12146:230;12385:327;;12545:67;12609:2;12604:3;12545:67;;;12645:29;12625:50;;12703:2;12694:12;;12531:181;-1:-1;;12531:181;12721:377;;12881:67;12945:2;12940:3;12881:67;;;12981:34;12961:55;;13050:10;13045:2;13036:12;;13029:32;13089:2;13080:12;;12867:231;-1:-1;;12867:231;13107:308;;13267:66;13331:1;13326:3;13267:66;;;13366:11;13346:32;;13406:2;13397:12;;13253:162;-1:-1;;13253:162;13424:310;;13584:67;13648:2;13643:3;13584:67;;;13684:12;13664:33;;13725:2;13716:12;;13570:164;-1:-1;;13570:164;13743:377;;13903:67;13967:2;13962:3;13903:67;;;14003:34;13983:55;;14072:10;14067:2;14058:12;;14051:32;14111:2;14102:12;;13889:231;-1:-1;;13889:231;14129:371;;14289:67;14353:2;14348:3;14289:67;;;14389:34;14369:55;;14458:4;14453:2;14444:12;;14437:26;14491:2;14482:12;;14275:225;-1:-1;;14275:225;14509:370;;14669:67;14733:2;14728:3;14669:67;;;14769:34;14749:55;;14838:3;14833:2;14824:12;;14817:25;14870:2;14861:12;;14655:224;-1:-1;;14655:224;14888:307;;15048:66;15112:1;15107:3;15048:66;;;15147:10;15127:31;;15186:2;15177:12;;15034:161;-1:-1;;15034:161;15204:319;;15364:67;15428:2;15423:3;15364:67;;;15464:21;15444:42;;15514:2;15505:12;;15350:173;-1:-1;;15350:173;15532:313;;15692:67;15756:2;15751:3;15692:67;;;15792:15;15772:36;;15836:2;15827:12;;15678:167;-1:-1;;15678:167;15854:329;;16014:67;16078:2;16073:3;16014:67;;;16114:31;16094:52;;16174:2;16165:12;;16000:183;-1:-1;;16000:183;16192:308;;16352:66;16416:1;16411:3;16352:66;;;16451:11;16431:32;;16491:2;16482:12;;16338:162;-1:-1;;16338:162;16509:307;;16669:66;16733:1;16728:3;16669:66;;;16768:10;16748:31;;16807:2;16798:12;;16655:161;-1:-1;;16655:161;16825:379;;16985:67;17049:2;17044:3;16985:67;;;17085:34;17065:55;;17154:12;17149:2;17140:12;;17133:34;17195:2;17186:12;;16971:233;-1:-1;;16971:233;17213:314;;17373:67;17437:2;17432:3;17373:67;;;17473:16;17453:37;;17518:2;17509:12;;17359:168;-1:-1;;17359:168;17536:380;;17696:67;17760:2;17755:3;17696:67;;;17796:34;17776:55;;17865:13;17860:2;17851:12;;17844:35;17907:2;17898:12;;17682:234;-1:-1;;17682:234;17925:317;;18085:67;18149:2;18144:3;18085:67;;;18185:19;18165:40;;18233:2;18224:12;;18071:171;-1:-1;;18071:171;18251:319;;18411:67;18475:2;18470:3;18411:67;;;18511:21;18491:42;;18561:2;18552:12;;18397:173;-1:-1;;18397:173;18579:318;;18739:67;18803:2;18798:3;18739:67;;;18839:20;18819:41;;18888:2;18879:12;;18725:172;-1:-1;;18725:172;18906:323;;19066:67;19130:2;19125:3;19066:67;;;19166:25;19146:46;;19220:2;19211:12;;19052:177;-1:-1;;19052:177;19238:310;;19398:67;19462:2;19457:3;19398:67;;;19498:12;19478:33;;19539:2;19530:12;;19384:164;-1:-1;;19384:164;19617:659;19831:23;;19760:4;19751:14;;;19860:63;19755:3;19831:23;19860:63;;;19780:149;20016:4;20009:5;20005:16;19999:23;20028:63;20085:4;20080:3;20076:14;20062:12;20028:63;;;19939:158;20180:4;20173:5;20169:16;20163:23;20192:63;20249:4;20244:3;20240:14;20226:12;20192:63;;;20107:154;19733:543;;;;20283:103;20356:24;20374:5;20356:24;;20513:110;20594:23;20611:5;20594:23;;20630:262;;20774:93;20863:3;20854:6;20774:93;;20899:213;21017:2;21002:18;;21031:71;21006:9;21075:6;21031:71;;21119:324;21265:2;21250:18;;21279:71;21254:9;21323:6;21279:71;;;21361:72;21429:2;21418:9;21414:18;21405:6;21361:72;;21450:435;21624:2;21609:18;;21638:71;21613:9;21682:6;21638:71;;;21720:72;21788:2;21777:9;21773:18;21764:6;21720:72;;;21803;21871:2;21860:9;21856:18;21847:6;21803:72;;21892:324;22038:2;22023:18;;22052:71;22027:9;22096:6;22052:71;;;22134:72;22202:2;22191:9;22187:18;22178:6;22134:72;;22223:361;22391:2;22405:47;;;22376:18;;22466:108;22376:18;22560:6;22466:108;;22591:201;22703:2;22688:18;;22717:65;22692:9;22755:6;22717:65;;22799:499;22981:2;22966:18;;22995:65;22970:9;23033:6;22995:65;;;23071:72;23139:2;23128:9;23124:18;23115:6;23071:72;;;23191:9;23185:4;23181:20;23176:2;23165:9;23161:18;23154:48;23216:72;23283:4;23274:6;23216:72;;;23208:80;22952:346;-1:-1;;;;;22952:346;23305:647;23533:3;23518:19;;23548:79;23522:9;23600:6;23548:79;;;23638:72;23706:2;23695:9;23691:18;23682:6;23638:72;;;23721;23789:2;23778:9;23774:18;23765:6;23721:72;;;23841:9;23835:4;23831:20;23826:2;23815:9;23811:18;23804:48;23866:76;23937:4;23928:6;23866:76;;;23858:84;23504:448;-1:-1;;;;;;23504:448;23959:301;24097:2;24111:47;;;24082:18;;24172:78;24082:18;24236:6;24172:78;;24267:407;24458:2;24472:47;;;24443:18;;24533:131;24443:18;24533:131;;24681:407;24872:2;24886:47;;;24857:18;;24947:131;24857:18;24947:131;;25095:407;25286:2;25300:47;;;25271:18;;25361:131;25271:18;25361:131;;25509:407;25700:2;25714:47;;;25685:18;;25775:131;25685:18;25775:131;;25923:407;26114:2;26128:47;;;26099:18;;26189:131;26099:18;26189:131;;26337:407;26528:2;26542:47;;;26513:18;;26603:131;26513:18;26603:131;;26751:407;26942:2;26956:47;;;26927:18;;27017:131;26927:18;27017:131;;27165:407;27356:2;27370:47;;;27341:18;;27431:131;27341:18;27431:131;;27579:407;27770:2;27784:47;;;27755:18;;27845:131;27755:18;27845:131;;27993:407;28184:2;28198:47;;;28169:18;;28259:131;28169:18;28259:131;;28407:407;28598:2;28612:47;;;28583:18;;28673:131;28583:18;28673:131;;28821:407;29012:2;29026:47;;;28997:18;;29087:131;28997:18;29087:131;;29235:407;29426:2;29440:47;;;29411:18;;29501:131;29411:18;29501:131;;29649:407;29840:2;29854:47;;;29825:18;;29915:131;29825:18;29915:131;;30063:407;30254:2;30268:47;;;30239:18;;30329:131;30239:18;30329:131;;30477:407;30668:2;30682:47;;;30653:18;;30743:131;30653:18;30743:131;;30891:407;31082:2;31096:47;;;31067:18;;31157:131;31067:18;31157:131;;31305:407;31496:2;31510:47;;;31481:18;;31571:131;31481:18;31571:131;;31719:407;31910:2;31924:47;;;31895:18;;31985:131;31895:18;31985:131;;32133:407;32324:2;32338:47;;;32309:18;;32399:131;32309:18;32399:131;;32547:407;32738:2;32752:47;;;32723:18;;32813:131;32723:18;32813:131;;32961:407;33152:2;33166:47;;;33137:18;;33227:131;33137:18;33227:131;;33375:313;33543:2;33528:18;;33557:121;33532:9;33651:6;33557:121;;33695:213;33813:2;33798:18;;33827:71;33802:9;33871:6;33827:71;;33915:402;34076:2;34061:18;;34090:71;34065:9;34134:6;34090:71;;;34209:9;34203:4;34199:20;34194:2;34183:9;34179:18;34172:48;34234:73;34302:4;34293:6;34234:73;;34324:647;34552:3;34537:19;;34567:71;34541:9;34611:6;34567:71;;;34649:80;34725:2;34714:9;34710:18;34701:6;34649:80;;34978:324;35124:2;35109:18;;35138:71;35113:9;35182:6;35138:71;;35309:423;35477:2;35462:18;;35491:71;35466:9;35535:6;35491:71;;;35573:72;35641:2;35630:9;35626:18;35617:6;35573:72;;;35656:66;35718:2;35707:9;35703:18;35694:6;35656:66;;35739:547;35941:3;35926:19;;35956:71;35930:9;36000:6;35956:71;;;36038:72;36106:2;36095:9;36091:18;36082:6;36038:72;;;36121;36189:2;36178:9;36174:18;36165:6;36121:72;;;36204;36272:2;36261:9;36257:18;36248:6;36204:72;;36293:209;36409:2;36394:18;;36423:69;36398:9;36465:6;36423:69;;36509:256;36571:2;36565:9;36597:17;;;36672:18;36657:34;;36693:22;;;36654:62;36651:2;;;36729:1;36726;36719:12;36651:2;36745;36738:22;36549:216;;-1:-1;36549:216;36772:304;;36931:18;36923:6;36920:30;36917:2;;;36963:1;36960;36953:12;36917:2;-1:-1;36998:4;36986:17;;;37051:15;;36854:222;37083:321;;37226:18;37218:6;37215:30;37212:2;;;37258:1;37255;37248:12;37212:2;-1:-1;37389:4;37325;37302:17;;;;37321:9;37298:33;37379:15;;37149:255;37411:151;37535:4;37526:14;;37483:79;37569:157;;37663:14;;;37705:4;37692:18;;;37622:104;37733:137;37836:12;;37807:63;38374:178;38492:19;;;38541:4;38532:14;;38485:67;38732:144;38867:3;38845:31;-1:-1;38845:31;39056:91;;39118:24;39136:5;39118:24;;39154:85;39220:13;39213:21;;39196:43;39246:109;39319:30;39308:42;;39291:64;39362:121;39435:42;39424:54;;39407:76;39569:88;39641:10;39630:22;;39613:44;39664:116;;39751:24;39769:5;39751:24;;39788:145;39869:6;39864:3;39859;39846:30;-1:-1;39925:1;39907:16;;39900:27;39839:94;39942:268;40007:1;40014:101;40028:6;40025:1;40022:13;40014:101;;;40095:11;;;40089:18;40076:11;;;40069:39;40050:2;40043:10;40014:101;;;40130:6;40127:1;40124:13;40121:2;;;-1:-1;;40195:1;40177:16;;40170:27;39991:219;40218:97;40306:2;40286:14;40302:7;40282:28;;40266:49;40323:117;40392:24;40410:5;40392:24;;;40385:5;40382:35;40372:2;;40431:1;40428;40421:12;40447:111;40513:21;40528:5;40513:21;;40565:117;40634:24;40652:5;40634:24;;40689:117;40758:24;40776:5;40758:24;;40813:115;40881:23;40898:5;40881:23;

Swarm Source

bzzr://f25cc23a75c86f455dd77d67aba96d3a3fbe62f97b044b48f2793aca761d83b8

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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