ETH Price: $2,601.13 (-2.23%)
Gas: 1 Gwei

Contract

0xEf1eCdB17C7D4adBb4DB5c4A8068ab66f3dd0902
 
Transaction Hash
Method
Block
From
To
Withdraw173258432023-05-24 1:39:23444 days ago1684892363IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0080473931.63122256
Emergency Withdr...165466522023-02-03 7:05:47553 days ago1675407947IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0013392522
Withdraw162243302022-12-20 7:11:35598 days ago1671520295IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0028045112.11795868
Withdraw160440142022-11-25 2:27:35624 days ago1669343255IN
0xEf1eCdB1...6f3dd0902
0 ETH0.002275210.54007831
Deposit137143592021-11-30 10:55:27983 days ago1638269727IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0246925890.31833817
Withdraw126746272021-06-21 0:57:411146 days ago1624237061IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0024793810
Withdraw124935822021-05-23 23:36:511174 days ago1621813011IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0094694445
Burn Equal As Fe...124881582021-05-23 3:28:531175 days ago1621740533IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0092042335
Withdraw124881192021-05-23 3:20:231175 days ago1621740023IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0073868132
Withdraw124851782021-05-22 16:27:481175 days ago1621700868IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0106149645
Deposit123505242021-05-01 20:38:391196 days ago1619901519IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0107250841.8
Withdraw123488292021-05-01 14:25:011196 days ago1619879101IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0069439933
Burn Equal As Fe...123463462021-05-01 5:10:491196 days ago1619845849IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0067716825.75
Withdraw123463182021-05-01 5:04:551196 days ago1619845495IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0063145126
Withdraw119960322021-03-08 5:37:401250 days ago1615181860IN
0xEf1eCdB1...6f3dd0902
0 ETH0.002676874
Withdraw119960322021-03-08 5:37:401250 days ago1615181860IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0207074274
Burn Equal As Fe...119872442021-03-06 21:11:051252 days ago1615065065IN
0xEf1eCdB1...6f3dd0902
0 ETH0.02799354106
Withdraw119871742021-03-06 20:55:021252 days ago1615064102IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0198005581.4
Withdraw118790342021-02-18 5:49:251268 days ago1613627365IN
0xEf1eCdB1...6f3dd0902
0 ETH0.03153163122.00000145
Withdraw118251092021-02-09 22:56:561277 days ago1612911416IN
0xEf1eCdB1...6f3dd0902
0 ETH0.02274958119
Burn Equal As Fe...117747512021-02-02 4:46:591284 days ago1612241219IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0289109100
Withdraw116468742021-01-13 13:29:161304 days ago1610544556IN
0xEf1eCdB1...6f3dd0902
0 ETH0.015639361
Withdraw116049862021-01-07 2:58:531311 days ago1609988333IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0176442770
Withdraw116044202021-01-07 0:55:551311 days ago1609980955IN
0xEf1eCdB1...6f3dd0902
0 ETH0.0200623100
Withdraw115991122021-01-06 5:26:441311 days ago1609910804IN
0xEf1eCdB1...6f3dd0902
0 ETH0.03056298105
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:
Equalizer

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 9999 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

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

pragma solidity ^0.6.0;

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

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


pragma solidity ^0.6.0;

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

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    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;
    }
}

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


pragma solidity ^0.6.2;

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

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


pragma solidity ^0.6.0;


/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for 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");
        }
    }
}

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


pragma solidity ^0.6.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

// File: @openzeppelin/contracts/GSN/Context.sol


pragma solidity ^0.6.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

// File: @openzeppelin/contracts/access/Ownable.sol


pragma solidity ^0.6.0;

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

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

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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


pragma solidity ^0.6.0;

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

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

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

// File: contracts/ReentrancyGuardPausable.sol


pragma solidity ^0.6.0;


/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Reuse openzeppelin's ReentrancyGuard with Pausable feature
 */
contract ReentrancyGuardPausable {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

    function _pause() internal {
        _status = _ENTERED_OR_PAUSED;
    }

    function _unpause() internal {
        _status = _NOT_ENTERED;
    }
}

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


pragma solidity ^0.6.0;


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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

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

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

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

        _beforeTokenTransfer(address(0), account, amount);

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

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

        _beforeTokenTransfer(account, address(0), amount);

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

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

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

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

// File: contracts/EqualToken.sol

pragma solidity 0.6.12;


// EqualToken with Governance.
contract EqualToken is ERC20("Equalizer", "EQL"), Ownable {
    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    function burn(uint256 _amount) public {
        _burn(msg.sender, _amount);
        _moveDelegates(_delegates[msg.sender], address(0), _amount);
    }

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

    /// @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
    /* solium-disable-next-line  */
    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
    /* solium-disable-next-line  */
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

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

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

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

    /**
     * @notice Transfer `amount` tokens from `msg.sender` to `dst`
     * @param dst The address of the destination account
     * @param amount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transfer(address dst, uint256 amount) public override returns (bool) {
        bool success = super.transfer(dst, amount);
        if (success) {
            _moveDelegates(_delegates[msg.sender], _delegates[dst], amount);
        }
        return success;
    }

    /**
     * @notice Transfer `amount` tokens from `src` to `dst`
     * @param src The address of the source account
     * @param dst The address of the destination account
     * @param amount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transferFrom(address src, address dst, uint256 amount) public override returns (bool) {
        bool success = super.transferFrom(src, dst, amount);
        if (success) {
            _moveDelegates(_delegates[src], _delegates[dst], amount);
        }
        return success;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

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

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

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

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

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

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

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        /* solium-disable-next-line  */
        assembly { chainId := chainid() }
        return chainId;
    }
}

// File: contracts/uniswapv2/interfaces/IUniswapV2Pair.sol

pragma solidity >=0.5.0;

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.sol

pragma solidity >=0.5.0;

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

    // SMARTXXX: function feeTo() external view returns (address);
    // SMARTXXX: function feeToSetter() external view returns (address);
    function feeInfoSetter() external view returns (address);

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

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

    // SMARTXXX: function setFeeTo(address) external;
    function setFeeInfo(address, uint32, uint32) external;
    // SMARTXXX: function setFeeToSetter(address) external;
    function setFeeInfoSetter(address) external;

    // SMARTXXX: fee info getter
    function getFeeInfo() external view returns (address, uint32, uint32);
}

// File: contracts/EqualBurner.sol

pragma solidity 0.6.12;


contract EqualBurner is Ownable {

    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    address public equal;
    address public weth;
    address public master;
    IUniswapV2Factory public factory;
    bool public noFrontRun = false;

    constructor (address _equal, address _weth, address _master, IUniswapV2Factory _factory) public {
        equal = _equal;
        weth = _weth;
        master = _master;
        factory = _factory;
    }

    function setNoFrontRun(bool _noFrontRun) public onlyOwner {
        noFrontRun = _noFrontRun;
    }

    /*
     * @dev Convert the fee of trading-pair token0/token1 to EQUAL and
     * return the value.  The fee will be locked in the contract forever.
     */
    function burn(
        address _tokenA,
        address _tokenB
    )
        external
        returns (uint256 equalAmount)
    {
        if (noFrontRun) {
            // solium-disable-next-line
            require(msg.sender == tx.origin, "must burn from a user tx");
        }

        require(msg.sender == master, "only master can burn");
        (address token0, address token1) = _tokenA < _tokenB ? (_tokenA, _tokenB) : (_tokenB, _tokenA);

        IUniswapV2Pair pair = IUniswapV2Pair(factory.getPair(token0, token1));
        uint256 bal = pair.balanceOf(address(this));
        if (bal == 0) {
            return 0;
        }
        pair.transfer(address(pair), bal);
        uint256 amount0;
        uint256 amount1;
        (amount0, amount1) = pair.burn(address(this));
        uint256 wethAmount = 0;
        equalAmount = 0;
        if (token0 == address(equal)) {
            equalAmount = equalAmount.add(amount0);
        } else {
            wethAmount = wethAmount.add(_toWETH(token0, amount0));
        }

        if (token1 == address(equal)) {
            equalAmount = equalAmount.add(amount1);
        } else {
            wethAmount = wethAmount.add(_toWETH(token1, amount1));
        }

        equalAmount = equalAmount.add(_toEQUALFromWETH(wethAmount));
        EqualToken(equal).burn(equalAmount);
    }

    function _toWETH(address token, uint256 amountIn) internal returns (uint256) {
        if (token == weth) {
            IERC20(token).safeTransfer(factory.getPair(weth, address(equal)), amountIn);
            return amountIn;
        }
        IUniswapV2Pair pair = IUniswapV2Pair(factory.getPair(token, weth));
        if (address(pair) == address(0)) {
            return 0;
        }
        uint256 reserveIn;
        uint256 reserveOut;
        address token0 = pair.token0();
        {
        (uint reserve0, uint reserve1,) = pair.getReserves();
        (reserveIn, reserveOut) = token0 == token ? (reserve0, reserve1) : (reserve1, reserve0);
        }
        uint amountInWithFee = amountIn.mul(997);
        uint numerator = amountInWithFee.mul(reserveOut);
        uint denominator = reserveIn.mul(1000).add(amountInWithFee);
        uint amountOut = numerator / denominator;
        (uint amount0Out, uint amount1Out) = token0 == token ? (uint(0), amountOut) : (amountOut, uint(0));
        IERC20(token).safeTransfer(address(pair), amountIn);
        pair.swap(amount0Out, amount1Out, factory.getPair(weth, address(equal)), new bytes(0));
        return amountOut;
    }

    function _toEQUALFromWETH(uint256 amountIn) internal returns (uint256) {
        IUniswapV2Pair pair = IUniswapV2Pair(factory.getPair(weth, address(equal)));
        (uint reserve0, uint reserve1,) = pair.getReserves();
        address token0 = pair.token0();
        (uint reserveIn, uint reserveOut) = token0 == weth ? (reserve0, reserve1) : (reserve1, reserve0);
        uint amountInWithFee = amountIn.mul(997);
        uint numerator = amountInWithFee.mul(reserveOut);
        uint denominator = reserveIn.mul(1000).add(amountInWithFee);
        uint amountOut = numerator / denominator;
        (uint amount0Out, uint amount1Out) = token0 == weth ? (uint(0), amountOut) : (amountOut, uint(0));
        pair.swap(amount0Out, amount1Out, address(this), new bytes(0));
        return amountOut;
    }
}

// File: contracts/uniswapv2/libraries/SafeMath.sol

pragma solidity =0.6.12;

// a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math)

library SafeMathUniswap {
    function add(uint x, uint y) internal pure returns (uint z) {
        require((z = x + y) >= x, 'ds-math-add-overflow');
    }

    function sub(uint x, uint y) internal pure returns (uint z) {
        require((z = x - y) <= x, 'ds-math-sub-underflow');
    }

    function mul(uint x, uint y) internal pure returns (uint z) {
        require(y == 0 || (z = x * y) / y == x, 'ds-math-mul-overflow');
    }
}

// File: contracts/uniswapv2/libraries/UniswapV2Library.sol

pragma solidity >=0.5.0;



library UniswapV2Library {
    using SafeMathUniswap for uint;

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

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

    // fetches and sorts the reserves for a pair
    function getReserves(address factory, address tokenA, address tokenB) internal view returns (uint reserveA, uint reserveB) {
        (address token0,) = sortTokens(tokenA, tokenB);
        (uint reserve0, uint reserve1,) = IUniswapV2Pair(pairFor(factory, tokenA, tokenB)).getReserves();
        (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0);
    }

    // given some amount of an asset and pair reserves, returns an equivalent amount of the other asset
    function quote(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB) {
        require(amountA > 0, 'UniswapV2Library: INSUFFICIENT_AMOUNT');
        require(reserveA > 0 && reserveB > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        amountB = amountA.mul(reserveB) / reserveA;
    }

    // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset
    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;
    }

    // given an output amount of an asset and pair reserves, returns a required input amount of the other asset
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) internal pure returns (uint amountIn) {
        require(amountOut > 0, 'UniswapV2Library: INSUFFICIENT_OUTPUT_AMOUNT');
        require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: INSUFFICIENT_LIQUIDITY');
        uint numerator = reserveIn.mul(amountOut).mul(1000);
        uint denominator = reserveOut.sub(amountOut).mul(997);
        amountIn = (numerator / denominator).add(1);
    }

    // performs chained getAmountOut calculations on any number of pairs
    function getAmountsOut(address factory, uint amountIn, address[] memory path) internal view returns (uint[] memory amounts) {
        require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[0] = amountIn;
        for (uint i; i < path.length - 1; i++) {
            (uint reserveIn, uint reserveOut) = getReserves(factory, path[i], path[i + 1]);
            amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut);
        }
    }

    // performs chained getAmountIn calculations on any number of pairs
    function getAmountsIn(address factory, uint amountOut, address[] memory path) internal view returns (uint[] memory amounts) {
        require(path.length >= 2, 'UniswapV2Library: INVALID_PATH');
        amounts = new uint[](path.length);
        amounts[amounts.length - 1] = amountOut;
        for (uint i = path.length - 1; i > 0; i--) {
            (uint reserveIn, uint reserveOut) = getReserves(factory, path[i - 1], path[i]);
            amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut);
        }
    }
}

// File: contracts/Equalizer.sol

pragma solidity 0.6.12;


// Note that it's ownable and the owner wields tremendous power. The ownership
// will be transferred to a governance equal contract once EQUAL is sufficiently
// distributed and the community can show to govern itself.
//
// Have fun reading it. Hopefully it's bug-free. God bless.
contract Equalizer is ReentrancyGuardPausable, Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using SafeERC20 for EqualToken;

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

    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken;           // Address of LP token contract.
        uint256 lastRewardBlock;  // Last block number that EQUALs distribution occurs.
        uint256 lastRewardRound;  // Last adjust round
        uint256 accEqualPerShare; // Accumulated EQUALs per share, times 1e12. See below.
        uint256 allocPointGain;   // Extra gain of the pool.
        mapping (uint256 => uint256) allocPoints; // roundNumber => allocPoint mapping via EQUAL burn
        mapping (address => UserInfo) userInfo; // Info of each user that stakes LP tokens.
    }

    // Allocation adjust round.
    struct AllocAdjustRound {
        uint256 allocPointDecayNumerator;
        uint256 totalAllocPoint;
        uint256 endBlock; // inclusive
    }

    // The EQUAL TOKEN!
    EqualToken public equal;
    // Dev address.
    address public devaddr;
    // EQUAL tokens created per block.
    uint256 public genesisEqualPerBlock;
    // The block number when EQUAL mining starts.
    uint256 public startBlock;
    // The number of blocks per weight adjust ment
    uint256 public allocAdjustBlocks;
    // All rounds of allocation
    AllocAdjustRound[] public rounds;
    // Mapping of trading-pair to pool info.
    mapping (address => mapping (address => PoolInfo)) public poolInfo;
    // The number of blocks per epoch.
    uint256 public blocksInGenesisEpoch;
    // Uniswap factory.
    IUniswapV2Factory public factory;
    address weth;
    // Burner that burns trading fee in the unit of EQUAL.
    EqualBurner burner;
    // Global alloc point decay numerator (denom is 1e12)
    uint256 public allocPointDecayNumerator;
    // Burn equal directly efficiency (denom is 1e12)
    uint256 public burnEqualEfficiency = 1e12;

    event Deposit(address indexed user, address indexed lpToken, uint256 amount);
    event Withdraw(address indexed user, address indexed lpToken, uint256 amount);
    event EmergencyWithdraw(address indexed user, address indexed lpToken, uint256 amount);
    event NewRound(uint256 number, uint256 prevTotalAllocPoint, uint256 endBlock);
    event Burn(address indexed initiator, address indexed lpToken, uint256 amount);

    constructor(
        EqualToken _equal,
        address _devaddr,
        uint256 _genesisEqualPerBlock,
        uint256 _startBlock,
        uint256 _blocksInGenesisEpoch,
        uint256 _allocAdjustBlocks,
        address _weth,
        IUniswapV2Factory _factory
    ) public {
        equal = _equal;
        devaddr = _devaddr;
        genesisEqualPerBlock = _genesisEqualPerBlock;
        startBlock = _startBlock;
        blocksInGenesisEpoch = _blocksInGenesisEpoch;
        allocAdjustBlocks = _allocAdjustBlocks;

        // We allow genesis round to setup alloc by owner.
        rounds.push(AllocAdjustRound({
            allocPointDecayNumerator: 0,
            totalAllocPoint: 0,
            endBlock: _startBlock - 1
        }));
        factory = _factory;
        weth = _weth;
    }

    function _getOrInitPool(address _tokenA, address _tokenB) internal returns (PoolInfo storage) {
        (address token0, address token1) = _tokenA < _tokenB ? (_tokenA, _tokenB) : (_tokenB, _tokenA);
        PoolInfo storage pool = poolInfo[token0][token1];

        if (pool.lpToken == IERC20(0x0)) {
            pool.lpToken = IERC20(factory.getPair(token0, token1));
            require(pool.lpToken != IERC20(0x0), "lp token not exist");
        }
        return pool;
    }

    function _getPool(address _tokenA, address _tokenB) internal view returns (PoolInfo storage) {
        PoolInfo storage pool = _getPoolSafe(_tokenA, _tokenB);
        require(pool.lpToken != IERC20(0x0), "lp token not exist");
        return pool;
    }

    function _getPoolSafe(address _tokenA, address _tokenB) internal view returns (PoolInfo storage) {
        (address token0, address token1) = _tokenA < _tokenB ? (_tokenA, _tokenB) : (_tokenB, _tokenA);
        PoolInfo storage pool = poolInfo[token0][token1];
        return pool;
    }

    function _setPoolGenesisAlloc(
        address _token0,
        address _token1,
        uint256 _allocPoint,
        uint256 _blockNumber
    )
        internal
    {
        require(_blockNumber < startBlock, "cannot change alloc after startBlock");
        PoolInfo storage pool = _getOrInitPool(_token0, _token1);

        rounds[0].totalAllocPoint = rounds[0].totalAllocPoint.sub(pool.allocPoints[0]).add(_allocPoint);
        pool.allocPoints[0] = _allocPoint;
    }

    /****************************************************
     * Owner's public methods
     ****************************************************/
    function setCorePairAllocPointMultiplier(uint256 _m) external onlyOwner {
        PoolInfo storage pool = _getOrInitPool(weth, address(equal));
        pool.allocPointGain = _m;
        // Will be applied to next trade fee calculation.
    }

    function setAllocAdjustBlocks(uint256 _blocks) external onlyOwner {
        allocAdjustBlocks = _blocks;
        // Will be applied to next round.
    }

    function setAllocPointDecayNumerator(uint256 _decay) external onlyOwner {
        require(_decay < 1e12, "decay must < 1.0");
        allocPointDecayNumerator = _decay;
        // Will be applied to next round.
    }

    function setPoolAllocPointGain(address _token0, address _token1, uint256 _gain) external onlyOwner {
        PoolInfo storage pool = _getOrInitPool(_token0, _token1);
        pool.allocPointGain = _gain;
        // Will be applied to next trade fee calculation.
    }

    // Setup pool allocation for genesis round.
    function setPoolGenesisAlloc(
        address _token0,
        address _token1,
        uint256 _allocPoint) external onlyOwner
    {
        _setPoolGenesisAlloc(_token0, _token1, _allocPoint, block.number);
    }

    // Setup burner that converts the trading fee to EQUAL.
    function setBurner(EqualBurner _burner) external onlyOwner {
        burner = _burner;
    }

    // Setup burn efficiency of equal directly.
    function setBurnEqualEfficiency(uint256 _eff) external onlyOwner {
        burnEqualEfficiency = _eff;
    }

    // Only applies to deposit/withdraw/burn, but not emergency withdraw.
    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }

    /*
     * Get the EQUAL block reward according to quasi-fixed-supply block distribution model,
     * where after each epoch, reward per block halves and # of blocks in the epoch doubles.
     */
    function getEqualBlockReward(uint256 _from, uint256 _to) public view returns (uint256) {
        if (_from > _to) {
            return 0;
        }

        uint256 blocksPerEpoch = blocksInGenesisEpoch;
        uint256 epochBegin = startBlock;
        uint256 epochEnd = epochBegin + blocksPerEpoch - 1;
        uint256 rewardPerBlock = genesisEqualPerBlock;
        uint256 totalRewards = 0;
        while (_to >= epochBegin) {
            uint256 left = Math.max(epochBegin, _from);
            uint256 right = Math.min(epochEnd, _to);
            if (right >= left) {
                totalRewards += (right - left + 1) * rewardPerBlock;
            }

            rewardPerBlock = rewardPerBlock / 2;
            blocksPerEpoch = blocksPerEpoch * 2;
            epochBegin = epochEnd + 1;
            epochEnd = epochBegin + blocksPerEpoch - 1;
        }
        return totalRewards;
    }

    /*
     * Get the number of EQUAL reward of the pool with the blocks starting
     * from lastRewardBlock to _blockNumber.  If the number of rounds exceed _maxIter, it will stop
     * and return the corresponding rewards, and block and round visited.
     *
     * If the alloc point of some rounds of the pool is zero, it will automatically apply
     * exponential-moving-average (EMA) algorithm to evaulate the decayed alloc point.
     *
     * A couple of invariants we will maintain
     *
     * - rounds[rounds.length - 2].endBlock < block.Number <= rounds[rounds.length - 1].endBlock
     *   This is achieved by calling _updateRounds() for _updatePool().
     *
     * - rounds[lastRewardRound - 1].endBlock < lastRewardBlock <= rounds[lastRewardRound].endBlock
     *   This is achieved by updating lastRewardBlock and lastRewardRound atomically.
     *
     * - sum(pool.allocPoints[i] of all pools) <= rounds.totalAllocPoint[i] for all i
     *   This is achieved by EMA calculation in _getEqualReward() and _burnEqual().
     */
    function _getEqualReward(
        PoolInfo storage _pool,
        uint256 _maxIter,
        uint256 _blockNumber
    )
        internal
        view
        returns (uint256 equalReward, uint256 lastRewardBlock, uint256 lastRewardRound, bool updatePrevAllocPoint, uint256 prevAllocPoint)
    {
        equalReward = 0;
        lastRewardBlock = _pool.lastRewardBlock;
        lastRewardRound = _pool.lastRewardRound;
        updatePrevAllocPoint = false;
        // No need to set prevAllocPoint

        uint256 startRound = _pool.lastRewardRound;
        // If prevAllocPoint happens to be zero for the startRound, we will use decay * pprevAllocPoint,
        // which is still zero.
        uint256 pprevAllocPoint = 0;
        uint256 roundLen = rounds.length;

        for (uint256 round = startRound; round < roundLen; round++) {
            if (round == 0) {
                continue;
            }

            uint256 endBlock = rounds[round].endBlock;
            if (endBlock > _blockNumber) {
                endBlock = _blockNumber;
            }

            // If no EQUAL is burned in the round, then no EQUAL will be distributed.
            prevAllocPoint = 0;
            updatePrevAllocPoint = false;
            uint256 prevTotalAllocPoint = rounds[round - 1].totalAllocPoint;
            if (prevTotalAllocPoint != 0) {
                if (round <= startRound + 1) {
                    prevAllocPoint = _pool.allocPoints[round - 1];
                } // gas saving.  prevAllocPoint will be zero for  > startRound + 1.

                // If prevAllocPoint is zero, use decayed allocPoint from previous previous round.
                // Otherwise, the decayed allocPoint should be already counted (A1).
                // For users that have not called _updatePool() for a while, to save gas,
                // we allow some alloc points to be zero as long as the prev alloc point of
                // last reward round is correct and stored so that they can be used by
                // the next call of _getEqualReward().
                // This means that the caller MUST update the previous alloc point
                // otherwise assumption A1 will be broken.
                if (prevAllocPoint == 0) {
                    prevAllocPoint = pprevAllocPoint.mul(rounds[round - 1].allocPointDecayNumerator).div(1e12);
                    updatePrevAllocPoint = true;
                }

                uint256 roundReward = getEqualBlockReward(lastRewardBlock + 1, endBlock)
                    .mul(prevAllocPoint)
                    .div(prevTotalAllocPoint);
                equalReward = equalReward.add(roundReward);

                // If round reward is < 1e12, will terminate all calculation and break.
                // Note that round must > startRound to make sure the alloc point of startRound is applied.
                // After startRound + 1, the rest rounds will only have the decayed alloc points.
                // This means that the rest roundReward will <= current roundReward.
                // Since the number is too small, all rewards are discarded to save gas.
                if (roundReward < 1e12 && round >= startRound + 1 && round != roundLen - 1) {
                    lastRewardBlock = _blockNumber;
                    lastRewardRound = roundLen - 1;
                    updatePrevAllocPoint = false;  // set prev alloc of roundLen - 1 as 0
                    break;
                }
            }
            lastRewardBlock = endBlock;
            lastRewardRound = round;
            pprevAllocPoint = prevAllocPoint;

            if (lastRewardBlock == _blockNumber || round.sub(startRound) >= _maxIter) {
                break;
            }
        }
    }

    /*
     * Start a new round for new alloc points.  Will evaluate the totalAllocPoint using EMA.
     */
    function _startNewRound(
        uint256 _prevEndBlock,
        uint256 _blockNumber
    )
        internal
    {
        uint256 roundNumber = rounds.length - 1;
        uint256 prevTotalAllocPoint = rounds[roundNumber].totalAllocPoint;
        uint256 decay = allocPointDecayNumerator;

        AllocAdjustRound memory newRound = AllocAdjustRound({
            allocPointDecayNumerator: decay,
            totalAllocPoint: prevTotalAllocPoint.mul(decay).div(1e12),
            endBlock: Math.max(_prevEndBlock + allocAdjustBlocks, _blockNumber)
        });
        rounds.push(newRound);
        emit NewRound(roundNumber + 1, prevTotalAllocPoint, newRound.endBlock);
    }

    /* Check if a new round is needed to make sure the endBlock of last round >= _blockNumber */
    function _updateRounds(uint256 _blockNumber) internal {
        uint256 roundNumber = rounds.length - 1;
        if (rounds[roundNumber].endBlock < _blockNumber) {
            _startNewRound(rounds[roundNumber].endBlock, _blockNumber);
        }
    }

    /*
     * Convert burned EQUAL to alloc point of the current round.  It will automatically update the
     * pool to make sure the pool's alloc points are up-to-date so that we could correctly evaluate
     * current round alloc point based on EMA.
     */
    function _burnEqual(
        PoolInfo storage _pool,
        uint256 _amount,
        uint256 _blockNumber
    )
        internal
    {
        _updatePool(_pool, 255, _blockNumber);

        // Make sure allocPoint[roundNumber - 1] is valid, i.e., it is evaluated by EMA.
        require(_blockNumber == _pool.lastRewardBlock, "need to updatePool() manually");

        uint256 roundNumber = rounds.length - 1;
        uint256 num = _pool.allocPointGain.add(1e12);

        uint256 allocPoint = _pool.allocPoints[roundNumber];
        if (allocPoint == 0) {
            // First set, need to add decayed alloc point from previous round.
            allocPoint = _pool.allocPoints[roundNumber - 1]
                .mul(rounds[roundNumber].allocPointDecayNumerator).div(1e12);
        }
        _pool.allocPoints[roundNumber] = allocPoint.add(_amount.mul(num).div(1e12));
        rounds[roundNumber].totalAllocPoint = rounds[roundNumber].totalAllocPoint.add(_amount.mul(num).div(1e12));
        emit Burn(msg.sender, address(_pool.lpToken), _amount);
    }

    // View function to see pending EQUALs on frontend.
    function _pendingEqual(
        address _token0,
        address _token1,
        address _user,
        uint256 _maxIter,
        uint256 _blockNumber
    )
        internal
        view
        returns (uint256)
    {
        PoolInfo storage pool = _getPool(_token0, _token1);
        UserInfo storage user = pool.userInfo[_user];

        uint256 accEqualPerShare = pool.accEqualPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (_blockNumber > pool.lastRewardBlock && lpSupply != 0) {
            (uint256 equalReward,,,,) = _getEqualReward(pool, _maxIter, _blockNumber);
            accEqualPerShare = accEqualPerShare.add(equalReward.mul(9e11).div(lpSupply));
        }
        return user.amount.mul(accEqualPerShare).div(1e12).sub(user.rewardDebt);
    }

    function pendingEqual(
        address _token0,
        address _token1,
        address _user,
        uint256 _maxIter
    )
        external
        view
        returns (uint256)
    {
        return _pendingEqual(_token0, _token1, _user, _maxIter, block.number);
    }

    function _updatePool(PoolInfo storage _pool, uint256 _maxIter, uint256 _blockNumber) internal {
        if (_blockNumber <= _pool.lastRewardBlock) {
            return;
        }

        _updateRounds(_blockNumber);

        uint256 equalReward;
        uint256 prevAllocPoint;
        bool updatePrevAllocPoint;
        (
            equalReward,
            _pool.lastRewardBlock,
            _pool.lastRewardRound,
            updatePrevAllocPoint,
            prevAllocPoint
        ) = _getEqualReward(_pool, _maxIter, _blockNumber);
        if (updatePrevAllocPoint) {
            _pool.allocPoints[_pool.lastRewardRound - 1] = prevAllocPoint;
        }

        uint256 lpSupply = _pool.lpToken.balanceOf(address(this));
        if (equalReward == 0 || lpSupply == 0) {
            return;
        }

        equal.mint(devaddr, equalReward.div(10));
        uint256 lpReward = equalReward.sub(equalReward.div(10));
        equal.mint(address(this), lpReward);
        _pool.accEqualPerShare = _pool.accEqualPerShare.add(lpReward.mul(1e12).div(lpSupply));
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(address _token0, address _token1, uint256 _maxIter) public nonReentrantAndUnpaused {
        PoolInfo storage pool = _getOrInitPool(_token0, _token1);
        _updatePool(pool, _maxIter, block.number);
    }

    // Deposit LP tokens to Equalizer for EQUAL allocation.
    function _deposit(
        address _token0,
        address _token1,
        uint256 _amount,
        address _to,
        bool _burnFee,
        uint256 _blockNumber
    )
        internal
    {
        PoolInfo storage pool = _getOrInitPool(_token0, _token1);
        UserInfo storage user = pool.userInfo[_to];

        // TODO: Optimize round iterations
        _updatePool(pool, 255, _blockNumber);

        if (_burnFee) {
            uint256 amount = burner.burn(
                _token0,
                _token1
            );
            _burnEqual(pool, amount, _blockNumber);
        }

        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accEqualPerShare).div(1e12).sub(user.rewardDebt);
            if (pending > 0) {
                safeEqualTransfer(_to, pending);
            }
        }

        if (_amount > 0) {
            pool.lpToken.safeTransferFrom(msg.sender, address(this), _amount);
            user.amount = user.amount.add(_amount);
        }
        user.rewardDebt = user.amount.mul(pool.accEqualPerShare).div(1e12);
        emit Deposit(_to, address(pool.lpToken), _amount);
    }

    // Deposit LP tokens to Equalizer for EQUAL allocation.
    function depositTo(
        address _token0,
        address _token1,
        uint256 _amount,
        address _to,
        bool _burnFee
    )
        public
        nonReentrantAndUnpaused
    {
        _deposit(_token0, _token1, _amount, _to, _burnFee, block.number);
    }

    function deposit(
        address _token0,
        address _token1,
        uint256 _amount,
        bool _burnFee
    )
        public
        nonReentrantAndUnpaused
    {
        _deposit(_token0, _token1, _amount, msg.sender, _burnFee, block.number);
    }

    // Withdraw LP tokens from Master.
    function _withdraw(
        address _token0,
        address _token1,
        uint256 _amount,
        bool _burnFee,
        uint256 _blockNumber
    )
        internal
    {
        PoolInfo storage pool = _getOrInitPool(_token0, _token1);
        UserInfo storage user = pool.userInfo[msg.sender];
        require(user.amount >= _amount, "withdraw: not good");

        // TODO: Optimize round iterations
        _updatePool(pool, 255, _blockNumber);

        if (_burnFee) {
            uint256 amount = burner.burn(
                _token0,
                _token1
            );
            _burnEqual(pool, amount, _blockNumber);
        }

        uint256 pending = user.amount.mul(pool.accEqualPerShare).div(1e12).sub(user.rewardDebt);
        if (pending > 0) {
            safeEqualTransfer(msg.sender, pending);
        }
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accEqualPerShare).div(1e12);
        emit Withdraw(msg.sender, address(pool.lpToken), _amount);
    }

    function withdraw(address _token0, address _token1, uint256 _amount, bool _burnFee) public nonReentrantAndUnpaused {
        _withdraw(_token0, _token1, _amount, _burnFee, block.number);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(address _token0, address _token1) public {
        PoolInfo storage pool = _getOrInitPool(_token0, _token1);
        UserInfo storage user = pool.userInfo[msg.sender];
        uint256 amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;
        pool.lpToken.safeTransfer(address(msg.sender), amount);
        emit EmergencyWithdraw(msg.sender, address(pool.lpToken), amount);
    }

    // Safe equal transfer function, just in case if rounding error causes pool to not have enough EQUALs.
    function safeEqualTransfer(address _to, uint256 _amount) internal {
        uint256 equalBal = equal.balanceOf(address(this));
        if (_amount > equalBal) {
            equal.transfer(_to, equalBal);
        } else {
            equal.transfer(_to, _amount);
        }
    }

    // Update dev address by the previous dev.
    function dev(address _devaddr) public {
        require(msg.sender == devaddr, "dev: wut?");
        require(_devaddr != address(0x0), "_devaddr cannot be 0x0");
        devaddr = _devaddr;
    }

    /*
     * @dev Convert the tokens of the pair to EQUAL via ETH/EQUAL pair.
    *  Use burned EQUAL as alloc points.
     */
    function _buyBackAndBurn(
        address _tokenA,
        address _tokenB,
        uint256 _blockNumber
    )
        internal
    {
        // Convert to EQUAL via swap.
        uint256 amount = burner.burn(
            _tokenA,
            _tokenB
        );

        // Burn
        PoolInfo storage pool = _getOrInitPool(_tokenA, _tokenB);
        _burnEqual(pool, amount, _blockNumber);
    }

    function buyBackAndBurn(address _tokenA, address _tokenB) external nonReentrantAndUnpaused {
        _buyBackAndBurn(_tokenA, _tokenB, block.number);
    }

    function _burnEqualAsFee(
        address _token0,
        address _token1,
        uint256 _amount,
        uint256 _blockNumber
    )
        internal
    {
        equal.safeTransferFrom(msg.sender, address(this), _amount);
        equal.burn(_amount);

        PoolInfo storage pool = _getOrInitPool(_token0, _token1);
        _burnEqual(pool, _amount.mul(burnEqualEfficiency).div(1e12), _blockNumber);
    }

    function burnEqualAsFee(address _token0, address _token1, uint256 _amount) external nonReentrantAndUnpaused {
        _burnEqualAsFee(_token0, _token1, _amount, block.number);
    }

    function getLastRoundAllocPoint(
        address _token0,
        address _token1
    )
        public
        view
        returns (uint256 prevAllocPoint)
    {
        PoolInfo storage pool = _getPool(_token0, _token1);

        uint256 roundLen = rounds.length;
        uint256 startRound = pool.lastRewardRound;

        if (startRound == 0) {
            startRound = 1;
        }

        prevAllocPoint = 0;
        for (uint256 round = startRound; round < roundLen; round++) {
            if (pool.allocPoints[round - 1] != 0) {
                prevAllocPoint = pool.allocPoints[round - 1];
            } else {
                prevAllocPoint = prevAllocPoint.mul(rounds[round - 1].allocPointDecayNumerator).div(1e12);
            }
        }
    }

    /****************************************************
     * View only external methods (for display purpose)
     ****************************************************/

    function getCurrentRoundAllocPoint(
        address _token0,
        address _token1
    )
        public
        view
        returns (uint256 allocPoint)
    {
        PoolInfo storage pool = _getPool(_token0, _token1);

        uint256 roundLen = rounds.length;
        uint256 startRound = pool.lastRewardRound;

        if (startRound != 0) {
            allocPoint = pool.allocPoints[startRound - 1];
        }
        for (uint256 round = startRound; round < roundLen; round++) {
            if (pool.allocPoints[round] != 0) {
                allocPoint = pool.allocPoints[round];
            } else {
                allocPoint = allocPoint.mul(rounds[round].allocPointDecayNumerator).div(1e12);
            }
        }
    }

    function getRoundLengthAndLastEndBlock() external view returns (
        uint256 length,
        uint256 endBlock
    )
    {
        length = rounds.length;
        endBlock = rounds[length - 1].endBlock;
    }

    function getPoolAndUserInfo(address token0, address token1, address user) external view returns (
        uint256 lastAllocPoint,
        uint256 currentAllocPoint,
        uint256 userInfoAmount,
        uint256 pending,
        uint256 allocPointGain
    )
    {
        PoolInfo storage info = _getPoolSafe(token0, token1);
        if (info.lpToken != IERC20(0x0)) {
            lastAllocPoint = getLastRoundAllocPoint(token0, token1);
            currentAllocPoint = getCurrentRoundAllocPoint(token0, token1);
            userInfoAmount = info.userInfo[user].amount;
            pending = _pendingEqual(token0, token1, user, 255, block.number);
            allocPointGain = info.allocPointGain;
        }
    }

    function getAPY(address token0, address token1) external view returns (uint256) {
        PoolInfo storage pool = _getPoolSafe(token0, token1);
        if (pool.lpToken == IERC20(0x0)) {
            return 0;
        }
        if (token0 == weth || token1 == weth) {
            // token - eth pair
            address token = token0 == weth ? token1 : token0;
            (uint reserve0, uint reserve1) = UniswapV2Library.getReserves(address(factory), token, weth);
            if (reserve0 == 0 || reserve1 == 0) {
                return 0;
            }
            uint256 totalSupply = pool.lpToken.totalSupply() == 0 ? 1 : pool.lpToken.totalSupply();
            // 1 lp token price
            uint256 totalEth = reserve1.mul(2 * 1e18).div(totalSupply);
            return _getTokenAPY(pool, totalEth, token0, token1);
        } else if (factory.getPair(token0, weth) != address(0x0) && factory.getPair(token1, weth) != address(0x0)) {
            // token0-token1 and have token0-eth eth-token1
            (uint256 reserve0, uint256 reserve1) = UniswapV2Library.getReserves(address(factory), token0, token1);
            if (reserve0 == 0 || reserve1 == 0) {
                return 0;
            }
            uint256 totalSupply = pool.lpToken.totalSupply() == 0 ? 1 : pool.lpToken.totalSupply();
            // 1 lp token price
            // token0-eth
            (uint256 reToken, uint256 reEth) = UniswapV2Library.getReserves(address(factory), token0, weth);
            if (reToken == 0 || reEth == 0) {
                return 0;
            }
            uint256 totalEth = UniswapV2Library.quote(reserve0.mul(1e18).div(totalSupply), reToken, reEth);
            // eth-token1
            (reToken, reEth) = UniswapV2Library.getReserves(address(factory), token1, weth);
            if (reToken == 0 || reEth == 0) {
                return 0;
            }
            totalEth = totalEth.add(UniswapV2Library.quote(reserve1.mul(1e18).div(totalSupply), reToken, reEth));
            return _getTokenAPY(pool, totalEth, token0, token1);
        }
        return 0;
    }

    function _getTokenAPY(PoolInfo memory pool,uint256 stakeTotalEth, address token0, address token1)
        internal
        view
        returns (uint256)
    {
        if (stakeTotalEth == 0) {
            return 0;
        }
        // 1 lp token earned
        uint256 totalAllocPoint = rounds[rounds.length - 1].totalAllocPoint;
        uint256 blockEarned = totalAllocPoint == 0 ? 0 :
            getEqualBlockReward(block.number, block.number)
            .mul(1e18).mul(9).div(10)
            .mul(getLastRoundAllocPoint(token0, token1))
            .div(totalAllocPoint);
        uint256 lpSupply = Math.max(pool.lpToken.balanceOf(address(this)), 1);
        uint256 perTokenEarned = blockEarned.div(lpSupply);
        if (perTokenEarned == 0) {
            return 0;
        }
        (uint256 reEqual, uint256 reEqualETH) = UniswapV2Library.getReserves(address(factory), address(equal), weth);
        if (reEqual == 0 || reEqualETH == 0) {
            return 0;
        }
        uint256 earnedETH = UniswapV2Library.quote(perTokenEarned, reEqual, reEqualETH);
        // apy
        return earnedETH.mul(1e18).div(stakeTotalEth).mul(4 * 60 * 24 * 365);
    }

    function getUserInfoAmount(address _tokenA, address _tokenB) external view returns (uint256) {
        PoolInfo storage info = _getPoolSafe(_tokenA, _tokenB);
        if (info.lpToken != IERC20(0x0)) {
            return info.userInfo[msg.sender].amount;
        }
        return 0;
    }

    function getPool(address _tokenA, address _tokenB)
        external
        view
        returns (
            address lpToken,
            uint256 lastRewardBlock,
            uint256 lastRewardRound,
            uint256 accEqualPerShare,
            uint256 allocPointGain
        )
    {
        PoolInfo storage pool = _getPoolSafe(_tokenA, _tokenB);
        lpToken = address(pool.lpToken);
        lastRewardBlock = pool.lastRewardBlock;
        lastRewardRound = pool.lastRewardRound;
        accEqualPerShare = pool.accEqualPerShare;
        allocPointGain = pool.allocPointGain;
    }

    function getPoolAllocPoint(address _tokenA, address _tokenB, uint256 index)
        external
        view
        returns (uint256)
    {
        PoolInfo storage pool = _getPoolSafe(_tokenA, _tokenB);
        return pool.allocPoints[index];
    }

    function getPoolUserInfo(address _tokenA, address _tokenB, address _address)
        external
        view
        returns (uint256 amount, uint256 rewardDebt)
    {
        PoolInfo storage pool = _getPoolSafe(_tokenA, _tokenB);
        UserInfo memory userInfo = pool.userInfo[_address];
        amount = userInfo.amount;
        rewardDebt = userInfo.rewardDebt;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract EqualToken","name":"_equal","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"uint256","name":"_genesisEqualPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_blocksInGenesisEpoch","type":"uint256"},{"internalType":"uint256","name":"_allocAdjustBlocks","type":"uint256"},{"internalType":"address","name":"_weth","type":"address"},{"internalType":"contract IUniswapV2Factory","name":"_factory","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"initiator","type":"address"},{"indexed":true,"internalType":"address","name":"lpToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"lpToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"lpToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"number","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"prevTotalAllocPoint","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endBlock","type":"uint256"}],"name":"NewRound","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"lpToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"allocAdjustBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allocPointDecayNumerator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blocksInGenesisEpoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnEqualAsFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnEqualEfficiency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenA","type":"address"},{"internalType":"address","name":"_tokenB","type":"address"}],"name":"buyBackAndBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_burnFee","type":"bool"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"bool","name":"_burnFee","type":"bool"}],"name":"depositTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"equal","outputs":[{"internalType":"contract EqualToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"genesisEqualPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"}],"name":"getAPY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"}],"name":"getCurrentRoundAllocPoint","outputs":[{"internalType":"uint256","name":"allocPoint","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getEqualBlockReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"}],"name":"getLastRoundAllocPoint","outputs":[{"internalType":"uint256","name":"prevAllocPoint","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenA","type":"address"},{"internalType":"address","name":"_tokenB","type":"address"}],"name":"getPool","outputs":[{"internalType":"address","name":"lpToken","type":"address"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"lastRewardRound","type":"uint256"},{"internalType":"uint256","name":"accEqualPerShare","type":"uint256"},{"internalType":"uint256","name":"allocPointGain","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenA","type":"address"},{"internalType":"address","name":"_tokenB","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getPoolAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"address","name":"user","type":"address"}],"name":"getPoolAndUserInfo","outputs":[{"internalType":"uint256","name":"lastAllocPoint","type":"uint256"},{"internalType":"uint256","name":"currentAllocPoint","type":"uint256"},{"internalType":"uint256","name":"userInfoAmount","type":"uint256"},{"internalType":"uint256","name":"pending","type":"uint256"},{"internalType":"uint256","name":"allocPointGain","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenA","type":"address"},{"internalType":"address","name":"_tokenB","type":"address"},{"internalType":"address","name":"_address","type":"address"}],"name":"getPoolUserInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRoundLengthAndLastEndBlock","outputs":[{"internalType":"uint256","name":"length","type":"uint256"},{"internalType":"uint256","name":"endBlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenA","type":"address"},{"internalType":"address","name":"_tokenB","type":"address"}],"name":"getUserInfoAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"},{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_maxIter","type":"uint256"}],"name":"pendingEqual","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"lastRewardRound","type":"uint256"},{"internalType":"uint256","name":"accEqualPerShare","type":"uint256"},{"internalType":"uint256","name":"allocPointGain","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rounds","outputs":[{"internalType":"uint256","name":"allocPointDecayNumerator","type":"uint256"},{"internalType":"uint256","name":"totalAllocPoint","type":"uint256"},{"internalType":"uint256","name":"endBlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_blocks","type":"uint256"}],"name":"setAllocAdjustBlocks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_decay","type":"uint256"}],"name":"setAllocPointDecayNumerator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_eff","type":"uint256"}],"name":"setBurnEqualEfficiency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract EqualBurner","name":"_burner","type":"address"}],"name":"setBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_m","type":"uint256"}],"name":"setCorePairAllocPointMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"},{"internalType":"uint256","name":"_gain","type":"uint256"}],"name":"setPoolAllocPointGain","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"setPoolGenesisAlloc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"},{"internalType":"uint256","name":"_maxIter","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_burnFee","type":"bool"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405264e8d4a51000600e553480156200001a57600080fd5b50604051620040373803806200403783398181016040526101008110156200004157600080fd5b508051602082015160408301516060840151608085015160a086015160c087015160e0909701516001600090815596979596949593949293919262000085620001e7565b600180546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600280546001600160a01b03998a166001600160a01b03199182161790915560038054988a1698821698909817885560049690965560058590556009939093556006919091556040805160608101825260008082526020820181815260001996909601928201928352600780546001810182559152905196027fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68881019690965592517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68986015591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a90940193909355600a805493851693831693909317909255600b8054929093169116179055620001eb565b3390565b613e3c80620001fb6000396000f3fe608060405234801561001057600080fd5b50600436106102de5760003560e01c8063a996d6ce11610186578063d9058a86116100e3578063f1a5ab6211610097578063f776935411610071578063f7769354146108e0578063f887c5a0146108e8578063fb72d795146108f0576102de565b8063f1a5ab6214610846578063f2fde38b1461087c578063f4d770e4146108a2576102de565b8063e1b7cebd116100c8578063e1b7cebd146107de578063e434576f1461080c578063e9106f5f14610829576102de565b8063d9058a861461078b578063e1702739146107c1576102de565b8063c45a01551161013a578063d1b392241161011f578063d1b3922414610735578063d49e77cd1461077b578063d745cd8b14610783576102de565b8063c45a0155146106ca578063c828c65e146106d2576102de565b8063afcfe18e1161016b578063afcfe18e14610654578063b03dfcd11461065c578063b66bcb8d14610679576102de565b8063a996d6ce14610626578063acc71d8f1461064c576102de565b80636382d9ad1161023f5780638456cb59116101f35780638d88a90e116101cd5780638d88a90e146105ba5780638da5cb5b146105e0578063934785b7146105e8576102de565b80638456cb591461054157806389f42489146105495780638c65c81f1461057f576102de565b80636f18e441116102245780636f18e441146104e0578063715018a6146105165780637803bb0a1461051e576102de565b80636382d9ad146104845780636d551a6d146104b2576102de565b80633f4ba83a116102965780635000f5311161027b5780635000f531146103c5578063531aa03e146103f3578063542c194014610456576102de565b80633f4ba83a146103b557806348cd4cb1146103bd576102de565b80632ff48c93116102c75780632ff48c93146103375780633917cc831461037757806339b8c17c1461037f576102de565b80631e228514146102e35780632f84611514610307575b600080fd5b6102eb61092c565b604080516001600160a01b039092168252519081900360200190f35b6103356004803603604081101561031d57600080fd5b506001600160a01b038135811691602001351661093b565b005b6103656004803603604081101561034d57600080fd5b506001600160a01b0381358116916020013516610996565b60408051918252519081900360200190f35b610365610a52565b6103356004803603606081101561039557600080fd5b506001600160a01b03813581169160208101359091169060400135610a58565b610335610ac3565b610365610b37565b610365600480360360408110156103db57600080fd5b506001600160a01b0381358116916020013516610b3d565b6104216004803603604081101561040957600080fd5b506001600160a01b038135811691602001351661119a565b604080516001600160a01b03909616865260208601949094528484019290925260608401526080830152519081900360a00190f35b6103656004803603604081101561046c57600080fd5b506001600160a01b03813581169160200135166111e1565b6103356004803603604081101561049a57600080fd5b506001600160a01b038135811691602001351661121b565b610365600480360360408110156104c857600080fd5b506001600160a01b03813581169160200135166112ac565b610335600480360360608110156104f657600080fd5b506001600160a01b0381358116916020810135909116906040013561133b565b6103356113bd565b6103656004803603604081101561053457600080fd5b5080359060200135611489565b61033561150c565b6103656004803603606081101561055f57600080fd5b506001600160a01b0381358116916020810135909116906040013561157e565b61059c6004803603602081101561059557600080fd5b50356115a3565b60408051938452602084019290925282820152519081900360600190f35b610335600480360360208110156105d057600080fd5b50356001600160a01b03166115d3565b6102eb6116c7565b610335600480360360808110156105fe57600080fd5b506001600160a01b0381358116916020810135909116906040810135906060013515156116d6565b6103356004803603602081101561063c57600080fd5b50356001600160a01b031661172a565b6103656117ce565b6103656117d4565b6103356004803603602081101561067257600080fd5b50356117da565b6106b16004803603606081101561068f57600080fd5b506001600160a01b0381358116916020810135821691604090910135166118a2565b6040805192835260208301919091528051918290030190f35b6102eb611901565b61070a600480360360608110156106e857600080fd5b506001600160a01b038135811691602081013582169160409091013516611910565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b610335600480360360a081101561074b57600080fd5b506001600160a01b0381358116916020810135821691604082013591606081013590911690608001351515611990565b6102eb6119f1565b610365611a00565b610335600480360360608110156107a157600080fd5b506001600160a01b03813581169160208101359091169060400135611a06565b610335600480360360208110156107d757600080fd5b5035611a81565b610421600480360360408110156107f457600080fd5b506001600160a01b0381358116916020013516611b14565b6103356004803603602081101561082257600080fd5b5035611b58565b6103356004803603602081101561083f57600080fd5b5035611bc7565b6103356004803603606081101561085c57600080fd5b506001600160a01b03813581169160208101359091169060400135611c36565b6103356004803603602081101561089257600080fd5b50356001600160a01b0316611c93565b610335600480360360808110156108b857600080fd5b506001600160a01b038135811691602081013590911690604081013590606001351515611db6565b6106b1611e0b565b610365611e39565b6103656004803603608081101561090657600080fd5b506001600160a01b03813581169160208101358216916040820135169060600135611e3f565b6002546001600160a01b031681565b6002600054141561097d5760405162461bcd60e51b8152600401808060200182810382526029815260200180613d8f6029913960400191505060405180910390fd5b600260005561098d828243611e59565b50506001600055565b6000806109a38484611f1a565b60075460028201549192509080156109ce576000198101600090815260058401602052604090205493505b805b82811015610a4857600081815260058501602052604090205415610a065760008181526005850160205260409020549450610a40565b610a3d64e8d4a51000610a3760078481548110610a1f57fe5b60009182526020909120600390910201548890611f8d565b90611fe6565b94505b6001016109d0565b5050505092915050565b600e5481565b60026000541415610a9a5760405162461bcd60e51b8152600401808060200182810382526029815260200180613d8f6029913960400191505060405180910390fd5b60026000908155610aab8484612028565b9050610ab88183436121ad565b505060016000555050565b610acb61241d565b6001546001600160a01b03908116911614610b2d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610b35612421565b565b60055481565b600080610b4a8484612428565b80549091506001600160a01b0316610b66576000915050611194565b600b546001600160a01b0385811691161480610b8f5750600b546001600160a01b038481169116145b15610d9357600b546000906001600160a01b03868116911614610bb25784610bb4565b835b600a54600b549192506000918291610bda916001600160a01b0391821691869116612480565b915091508160001480610beb575080155b15610bfd576000945050505050611194565b8354604080517f18160ddd00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b158015610c5a57600080fd5b505afa158015610c6e573d6000803e3d6000fd5b505050506040513d6020811015610c8457600080fd5b505115610d19578454604080517f18160ddd00000000000000000000000000000000000000000000000000000000815290516001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b158015610ce857600080fd5b505afa158015610cfc573d6000803e3d6000fd5b505050506040513d6020811015610d1257600080fd5b5051610d1c565b60015b90506000610d3682610a3785671bc16d674ec80000611f8d565b6040805160a08101825288546001600160a01b03168152600189015460208201526002890154918101919091526003880154606082015260048801546080820152909150610d8690828b8b61254e565b9650505050505050611194565b600a54600b54604080517fe6a439050000000000000000000000000000000000000000000000000000000081526001600160a01b038881166004830152928316602482015290516000939092169163e6a4390591604480820192602092909190829003018186803b158015610e0757600080fd5b505afa158015610e1b573d6000803e3d6000fd5b505050506040513d6020811015610e3157600080fd5b50516001600160a01b031614801590610ef15750600a54600b54604080517fe6a439050000000000000000000000000000000000000000000000000000000081526001600160a01b038781166004830152928316602482015290516000939092169163e6a4390591604480820192602092909190829003018186803b158015610eb957600080fd5b505afa158015610ecd573d6000803e3d6000fd5b505050506040513d6020811015610ee357600080fd5b50516001600160a01b031614155b1561118e57600a546000908190610f12906001600160a01b03168787612480565b915091508160001480610f23575080155b15610f345760009350505050611194565b8254604080517f18160ddd00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b158015610f9157600080fd5b505afa158015610fa5573d6000803e3d6000fd5b505050506040513d6020811015610fbb57600080fd5b505115611050578354604080517f18160ddd00000000000000000000000000000000000000000000000000000000815290516001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b15801561101f57600080fd5b505afa158015611033573d6000803e3d6000fd5b505050506040513d602081101561104957600080fd5b5051611053565b60015b600a54600b549192506000918291611079916001600160a01b03918216918c9116612480565b91509150816000148061108a575080155b1561109e5760009650505050505050611194565b60006110c06110b985610a3789670de0b6b3a7640000611f8d565b8484612706565b600a54600b549192506110e1916001600160a01b03918216918c9116612480565b90935091508215806110f1575081155b15611106576000975050505050505050611194565b61113061112961112286610a3789670de0b6b3a7640000611f8d565b8585612706565b82906127ac565b6040805160a08101825289546001600160a01b0316815260018a0154602082015260028a015491810191909152600389015460608201526004890154608082015290915061118090828c8c61254e565b975050505050505050611194565b60009150505b92915050565b6000806000806000806111ad8888612428565b80546001820154600283015460038401546004909401546001600160a01b039093169c919b50995091975095509350505050565b6000806111ee8484612428565b80549091506001600160a01b03161561118e57336000908152600690910160205260409020549050611194565b60006112278383612028565b3360008181526006830160205260408120805482825560018201929092558354939450929091611261916001600160a01b03169083612806565b82546040805183815290516001600160a01b039092169133917ff24ef89f38eadc1bde50701ad6e4d6d11a2dc24f7cf834a486991f3883328504919081900360200190a35050505050565b6000806112b98484611f1a565b600754600282015491925090806112ce575060015b60009350805b82811015610a4857600019810160009081526005850160205260409020541561131457600019810160009081526005850160205260409020549450611333565b61133064e8d4a51000610a3760076001850381548110610a1f57fe5b94505b6001016112d4565b61134361241d565b6001546001600160a01b039081169116146113a5576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60006113b18484612028565b60040191909155505050565b6113c561241d565b6001546001600160a01b03908116911614611427576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60008183111561149b57506000611194565b600954600554600454600019828401019060005b8387106115015760006114c2858a612886565b905060006114d0858a61289d565b90508181106114e6578382820360010102830192505b505060029485029460018401945092850192909104906114af565b979650505050505050565b61151461241d565b6001546001600160a01b03908116911614611576576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610b356128ac565b60008061158b8585612428565b60009384526005016020525050604090205492915050565b600781815481106115b057fe5b600091825260209091206003909102018054600182015460029092015490925083565b6003546001600160a01b03163314611632576040805162461bcd60e51b815260206004820152600960248201527f6465763a207775743f0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6001600160a01b03811661168d576040805162461bcd60e51b815260206004820152601660248201527f5f646576616464722063616e6e6f742062652030783000000000000000000000604482015290519081900360640190fd5b600380547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6001546001600160a01b031690565b600260005414156117185760405162461bcd60e51b8152600401808060200182810382526029815260200180613d8f6029913960400191505060405180910390fd5b6002600055610ab884848484436128b3565b61173261241d565b6001546001600160a01b03908116911614611794576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600c80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600d5481565b60095481565b6117e261241d565b6001546001600160a01b03908116911614611844576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b64e8d4a51000811061189d576040805162461bcd60e51b815260206004820152601060248201527f6465636179206d757374203c20312e3000000000000000000000000000000000604482015290519081900360640190fd5b600d55565b60008060006118b18686612428565b90506118bb613c9b565b506001600160a01b039093166000908152600690930160209081526040938490208451808601909552805480865260019091015494909101849052959294509192505050565b600a546001600160a01b031681565b6000806000806000806119238989612428565b80549091506001600160a01b0316156119845761194089896112ac565b955061194c8989610996565b6001600160a01b0388166000908152600683016020526040902054909550935061197a89898960ff43612ac8565b9250806004015491505b50939792965093509350565b600260005414156119d25760405162461bcd60e51b8152600401808060200182810382526029815260200180613d8f6029913960400191505060405180910390fd5b60026000556119e5858585858543612c0d565b50506001600055505050565b6003546001600160a01b031681565b60045481565b611a0e61241d565b6001546001600160a01b03908116911614611a70576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b611a7c83838343612dda565b505050565b611a8961241d565b6001546001600160a01b03908116911614611aeb576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600b54600254600091611b0a916001600160a01b039182169116612028565b6004019190915550565b6008602090815260009283526040808420909152908252902080546001820154600283015460038401546004909401546001600160a01b0390931693919290919085565b611b6061241d565b6001546001600160a01b03908116911614611bc2576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600655565b611bcf61241d565b6001546001600160a01b03908116911614611c31576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600e55565b60026000541415611c785760405162461bcd60e51b8152600401808060200182810382526029815260200180613d8f6029913960400191505060405180910390fd5b6002600055611c8983838343612eb8565b5050600160005550565b611c9b61241d565b6001546001600160a01b03908116911614611cfd576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116611d425760405162461bcd60e51b8152600401808060200182810382526026815260200180613cd76026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b60026000541415611df85760405162461bcd60e51b8152600401808060200182810382526029815260200180613d8f6029913960400191505060405180910390fd5b6002600055610ab8848484338543612c0d565b60078054906000906000198301838110611e2157fe5b90600052602060002090600302016002015490509091565b60065481565b6000611e4e8585858543612ac8565b90505b949350505050565b600c54604080517f27fc84a30000000000000000000000000000000000000000000000000000000081526001600160a01b0386811660048301528581166024830152915160009392909216916327fc84a39160448082019260209290919082900301818787803b158015611ecc57600080fd5b505af1158015611ee0573d6000803e3d6000fd5b505050506040513d6020811015611ef657600080fd5b505190506000611f068585612028565b9050611f13818385612f80565b5050505050565b600080611f278484612428565b80549091506001600160a01b0316611f86576040805162461bcd60e51b815260206004820152601260248201527f6c7020746f6b656e206e6f742065786973740000000000000000000000000000604482015290519081900360640190fd5b9392505050565b600082611f9c57506000611194565b82820282848281611fa957fe5b0414611f865760405162461bcd60e51b8152600401808060200182810382526021815260200180613d6e6021913960400191505060405180910390fd5b6000611f8683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613141565b6000806000836001600160a01b0316856001600160a01b03161061204d578385612050565b84845b6001600160a01b0380831660009081526008602090815260408083208486168452909152902080549395509193509091166121a457600a54604080517fe6a439050000000000000000000000000000000000000000000000000000000081526001600160a01b03868116600483015285811660248301529151919092169163e6a43905916044808301926020929190829003018186803b1580156120f357600080fd5b505afa158015612107573d6000803e3d6000fd5b505050506040513d602081101561211d57600080fd5b505181547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0391821617808355166121a4576040805162461bcd60e51b815260206004820152601260248201527f6c7020746f6b656e206e6f742065786973740000000000000000000000000000604482015290519081900360640190fd5b95945050505050565b826001015481116121bd57611a7c565b6121c6816131e3565b60008060006121d686868661323d565b60028b019290925560018a01929092559194509092509050801561221157600286015460001901600090815260058701602052604090208290555b8554604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561227457600080fd5b505afa158015612288573d6000803e3d6000fd5b505050506040513d602081101561229e57600080fd5b505190508315806122ad575080155b156122bb5750505050611a7c565b6002546003546001600160a01b03918216916340c10f1991166122df87600a611fe6565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561232557600080fd5b505af1158015612339573d6000803e3d6000fd5b50505050600061235d612356600a87611fe690919063ffffffff16565b86906133c7565b600254604080517f40c10f190000000000000000000000000000000000000000000000000000000081523060048201526024810184905290519293506001600160a01b03909116916340c10f199160448082019260009290919082900301818387803b1580156123cc57600080fd5b505af11580156123e0573d6000803e3d6000fd5b5050505061240e61240383610a3764e8d4a5100085611f8d90919063ffffffff16565b60038a0154906127ac565b60038901555050505050505050565b3390565b6001600055565b6000806000836001600160a01b0316856001600160a01b03161061244d578385612450565b84845b6001600160a01b039182166000908152600860209081526040808320939094168252919091522095945050505050565b600080600061248f8585613409565b5090506000806124a08888886134e7565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156124d857600080fd5b505afa1580156124ec573d6000803e3d6000fd5b505050506040513d606081101561250257600080fd5b5080516020909101516dffffffffffffffffffffffffffff91821693501690506001600160a01b038781169084161461253c57808261253f565b81815b90999098509650505050505050565b60008361255d57506000611e51565b6007805460009190600019810190811061257357fe5b90600052602060002090600302016001015490506000816000146125cd576125c882610a376125a288886112ac565b6125c2600a610a3760096125c2670de0b6b3a76400006125c24343611489565b90611f8d565b6125d0565b60005b9050600061265b88600001516001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561262857600080fd5b505afa15801561263c573d6000803e3d6000fd5b505050506040513d602081101561265257600080fd5b50516001612886565b905060006126698383611fe6565b90508061267d576000945050505050611e51565b600a54600254600b5460009283926126a5926001600160a01b03928316929182169116612480565b9150915081600014806126b6575080155b156126ca5760009650505050505050611e51565b60006126d7848484612706565b90506126f6622014806125c28d610a3785670de0b6b3a7640000611f8d565b9c9b505050505050505050505050565b60008084116127465760405162461bcd60e51b8152600401808060200182810382526025815260200180613db86025913960400191505060405180910390fd5b6000831180156127565750600082115b6127915760405162461bcd60e51b8152600401808060200182810382526028815260200180613d466028913960400191505060405180910390fd5b8261279c85846135d2565b816127a357fe5b04949350505050565b600082820183811015611f86576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052611a7c90849061363e565b6000818310156128965781611f86565b5090919050565b60008183106128965781611f86565b6002600055565b60006128bf8686612028565b336000908152600682016020526040902080549192509085111561292a576040805162461bcd60e51b815260206004820152601260248201527f77697468647261773a206e6f7420676f6f640000000000000000000000000000604482015290519081900360640190fd5b6129368260ff856121ad565b83156129ea57600c54604080517f27fc84a30000000000000000000000000000000000000000000000000000000081526001600160a01b038a811660048301528981166024830152915160009392909216916327fc84a39160448082019260209290919082900301818787803b1580156129af57600080fd5b505af11580156129c3573d6000803e3d6000fd5b505050506040513d60208110156129d957600080fd5b505190506129e8838286612f80565b505b6000612a1e8260010154612a1864e8d4a51000610a3787600301548760000154611f8d90919063ffffffff16565b906133c7565b90508015612a3057612a3033826136ef565b8515612a5a578154612a4290876133c7565b82558254612a5a906001600160a01b03163388612806565b60038301548254612a759164e8d4a5100091610a3791611f8d565b600183015582546040805188815290516001600160a01b039092169133917f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb919081900360200190a35050505050505050565b600080612ad58787611f1a565b6001600160a01b03808716600090815260068301602090815260408083206003860154865483517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015293519798509196909591909116926370a082319260248082019391829003018186803b158015612b5457600080fd5b505afa158015612b68573d6000803e3d6000fd5b505050506040513d6020811015612b7e57600080fd5b5051600185015490915086118015612b9557508015155b15612bd7576000612ba785898961323d565b505050509050612bd3612bcc83610a3764d18c2e280085611f8d90919063ffffffff16565b84906127ac565b9250505b612bff8360010154612a1864e8d4a51000610a37868860000154611f8d90919063ffffffff16565b9a9950505050505050505050565b6000612c198787612028565b6001600160a01b03851660009081526006820160205260409020909150612c428260ff856121ad565b8315612cf657600c54604080517f27fc84a30000000000000000000000000000000000000000000000000000000081526001600160a01b038b811660048301528a81166024830152915160009392909216916327fc84a39160448082019260209290919082900301818787803b158015612cbb57600080fd5b505af1158015612ccf573d6000803e3d6000fd5b505050506040513d6020811015612ce557600080fd5b50519050612cf4838286612f80565b505b805415612d3f576000612d2b8260010154612a1864e8d4a51000610a3787600301548760000154611f8d90919063ffffffff16565b90508015612d3d57612d3d86826136ef565b505b8515612d6b578154612d5c906001600160a01b03163330896138c3565b8054612d6890876127ac565b81555b60038201548154612d869164e8d4a5100091610a3791611f8d565b600182015581546040805188815290516001600160a01b03928316928816917f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f62919081900360200190a35050505050505050565b6005548110612e1a5760405162461bcd60e51b8152600401808060200182810382526024815260200180613d226024913960400191505060405180910390fd5b6000612e268585612028565b9050612e7983612e73836005016000808152602001908152602001600020546007600081548110612e5357fe5b9060005260206000209060030201600101546133c790919063ffffffff16565b906127ac565b6007600081548110612e8757fe5b6000918252602080832060016003909302019190910192909255808052600590920190526040902091909155505050565b600254612ed0906001600160a01b03163330856138c3565b600254604080517f42966c680000000000000000000000000000000000000000000000000000000081526004810185905290516001600160a01b03909216916342966c689160248082019260009290919082900301818387803b158015612f3657600080fd5b505af1158015612f4a573d6000803e3d6000fd5b505050506000612f5a8585612028565b9050611f1381612f7e64e8d4a51000610a37600e5488611f8d90919063ffffffff16565b845b612f8c8360ff836121ad565b82600101548114612fe4576040805162461bcd60e51b815260206004820152601d60248201527f6e65656420746f20757064617465506f6f6c2829206d616e75616c6c79000000604482015290519081900360640190fd5b6007546004840154600019909101906000906130059064e8d4a510006127ac565b6000838152600587016020526040902054909150806130675761306464e8d4a51000610a376007868154811061303757fe5b600091825260208083206003909202909101546000198901835260058c0190915260409091205490611f8d565b90505b61307d61112964e8d4a51000610a378886611f8d565b60008481526005880160205260409020556130d16130a464e8d4a51000610a378886611f8d565b600785815481106130b157fe5b9060005260206000209060030201600101546127ac90919063ffffffff16565b600784815481106130de57fe5b60009182526020918290206001600390920201019190915586546040805188815290516001600160a01b039092169233927fbac40739b0d4ca32fa2d82fc91630465ba3eddd1598da6fca393b26fb63b94539281900390910190a3505050505050565b600081836131cd5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561319257818101518382015260200161317a565b50505050905090810190601f1680156131bf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816131d957fe5b0495945050505050565b600780546000198101918391839081106131f957fe5b9060005260206000209060030201600201541015613239576132396007828154811061322157fe5b90600052602060002090600302016002015483613951565b5050565b6001830154600284015460075460009291908390819083908290825b818110156133b8578061326b576133b0565b60006007828154811061327a57fe5b90600052602060002090600302016002015490508a8111156132995750895b60009550600096506000600760018403815481106132b357fe5b906000526020600020906003020160010154905080600014613381578560010183116132f2576000198301600090815260058f01602052604090205496505b8661331a5761331364e8d4a51000610a3760076001870381548110610a1f57fe5b9650600197505b600061333182610a378a6125c28f60010188611489565b905061333d8c826127ac565b9b5064e8d4a51000811080156133565750866001018410155b80156133655750600185038414155b1561337f578c9a50600185039950600098505050506133b8565b505b8199508298508694508b8a14806133a157508c61339e84886133c7565b10155b156133ad5750506133b8565b50505b600101613259565b50505050939792965093509350565b6000611f8683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613aa6565b600080826001600160a01b0316846001600160a01b0316141561345d5760405162461bcd60e51b8152600401808060200182810382526025815260200180613cfd6025913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b03161061347d578284613480565b83835b90925090506001600160a01b0382166134e0576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604482015290519081900360640190fd5b9250929050565b60008060006134f68585613409565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff0000000000000000000000000000000000000000000000000000000000000060688401529a90941b9093166069840152607d8301989098527f1c879dcd3af04306445addd2c308bd4d26010c7ca84c959c3564d4f6957ab20c609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b60008115806135ed575050808202828282816135ea57fe5b04145b611194576040805162461bcd60e51b815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b6060613693826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613b009092919063ffffffff16565b805190915015611a7c578080602001905160208110156136b257600080fd5b5051611a7c5760405162461bcd60e51b815260040180806020018281038252602a815260200180613ddd602a913960400191505060405180910390fd5b600254604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561375357600080fd5b505afa158015613767573d6000803e3d6000fd5b505050506040513d602081101561377d57600080fd5b505190508082111561382a57600254604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156137f857600080fd5b505af115801561380c573d6000803e3d6000fd5b505050506040513d602081101561382257600080fd5b50611a7c9050565b600254604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561389957600080fd5b505af11580156138ad573d6000803e3d6000fd5b505050506040513d6020811015611f1357600080fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905261394b90859061363e565b50505050565b600780546000198101916000918390811061396857fe5b90600052602060002090600302016001015490506000600d54905061398b613cb5565b6040805160608101909152828152602081016139b064e8d4a51000610a378787611f8d565b81526020016139c3600654890188612886565b90526007805460018181018355600092909252825160039091027fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6888101919091556020808401517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6898301556040808501517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a9093018390558051938901845290830187905282810191909152519192507f5aec57d81928b24d30b1a2aec0d23d693412c37d7ec106b5d8259413716bb1f4919081900360600190a1505050505050565b60008184841115613af85760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561319257818101518382015260200161317a565b505050900390565b6060611e5184846000856060613b1585613c95565b613b66576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310613bc357805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613b86565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613c25576040519150601f19603f3d011682016040523d82523d6000602084013e613c2a565b606091505b50915091508115613c3e579150611e519050565b805115613c4e5780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561319257818101518382015260200161317a565b3b151590565b604051806040016040528060008152602001600081525090565b6040518060600160405280600081526020016000815260200160008152509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373556e697377617056324c6962726172793a204944454e544943414c5f41444452455353455363616e6e6f74206368616e676520616c6c6f63206166746572207374617274426c6f636b556e697377617056324c6962726172793a20494e53554646494349454e545f4c4951554944495459536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775265656e7472616e637947756172643a207265656e7472616e742063616c6c206f7220706175736564556e697377617056324c6962726172793a20494e53554646494349454e545f414d4f554e545361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220f8484ff41bc4f55ddbb4e8751a53bd6792519f6377de6451630d711c7413286064736f6c634300060c003300000000000000000000000081428a8047cca11177a4e15789e368d6806da376000000000000000000000000be4b98abe5982ac6e453307c81cb47a316b78d890000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000000000000000000000000000000000000000a744500000000000000000000000000000000000000000000000000000000000004e2000000000000000000000000000000000000000000000000000000000000005a0000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000f14421f0bcf9401d8930872c2d44d8e67e40529a

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102de5760003560e01c8063a996d6ce11610186578063d9058a86116100e3578063f1a5ab6211610097578063f776935411610071578063f7769354146108e0578063f887c5a0146108e8578063fb72d795146108f0576102de565b8063f1a5ab6214610846578063f2fde38b1461087c578063f4d770e4146108a2576102de565b8063e1b7cebd116100c8578063e1b7cebd146107de578063e434576f1461080c578063e9106f5f14610829576102de565b8063d9058a861461078b578063e1702739146107c1576102de565b8063c45a01551161013a578063d1b392241161011f578063d1b3922414610735578063d49e77cd1461077b578063d745cd8b14610783576102de565b8063c45a0155146106ca578063c828c65e146106d2576102de565b8063afcfe18e1161016b578063afcfe18e14610654578063b03dfcd11461065c578063b66bcb8d14610679576102de565b8063a996d6ce14610626578063acc71d8f1461064c576102de565b80636382d9ad1161023f5780638456cb59116101f35780638d88a90e116101cd5780638d88a90e146105ba5780638da5cb5b146105e0578063934785b7146105e8576102de565b80638456cb591461054157806389f42489146105495780638c65c81f1461057f576102de565b80636f18e441116102245780636f18e441146104e0578063715018a6146105165780637803bb0a1461051e576102de565b80636382d9ad146104845780636d551a6d146104b2576102de565b80633f4ba83a116102965780635000f5311161027b5780635000f531146103c5578063531aa03e146103f3578063542c194014610456576102de565b80633f4ba83a146103b557806348cd4cb1146103bd576102de565b80632ff48c93116102c75780632ff48c93146103375780633917cc831461037757806339b8c17c1461037f576102de565b80631e228514146102e35780632f84611514610307575b600080fd5b6102eb61092c565b604080516001600160a01b039092168252519081900360200190f35b6103356004803603604081101561031d57600080fd5b506001600160a01b038135811691602001351661093b565b005b6103656004803603604081101561034d57600080fd5b506001600160a01b0381358116916020013516610996565b60408051918252519081900360200190f35b610365610a52565b6103356004803603606081101561039557600080fd5b506001600160a01b03813581169160208101359091169060400135610a58565b610335610ac3565b610365610b37565b610365600480360360408110156103db57600080fd5b506001600160a01b0381358116916020013516610b3d565b6104216004803603604081101561040957600080fd5b506001600160a01b038135811691602001351661119a565b604080516001600160a01b03909616865260208601949094528484019290925260608401526080830152519081900360a00190f35b6103656004803603604081101561046c57600080fd5b506001600160a01b03813581169160200135166111e1565b6103356004803603604081101561049a57600080fd5b506001600160a01b038135811691602001351661121b565b610365600480360360408110156104c857600080fd5b506001600160a01b03813581169160200135166112ac565b610335600480360360608110156104f657600080fd5b506001600160a01b0381358116916020810135909116906040013561133b565b6103356113bd565b6103656004803603604081101561053457600080fd5b5080359060200135611489565b61033561150c565b6103656004803603606081101561055f57600080fd5b506001600160a01b0381358116916020810135909116906040013561157e565b61059c6004803603602081101561059557600080fd5b50356115a3565b60408051938452602084019290925282820152519081900360600190f35b610335600480360360208110156105d057600080fd5b50356001600160a01b03166115d3565b6102eb6116c7565b610335600480360360808110156105fe57600080fd5b506001600160a01b0381358116916020810135909116906040810135906060013515156116d6565b6103356004803603602081101561063c57600080fd5b50356001600160a01b031661172a565b6103656117ce565b6103656117d4565b6103356004803603602081101561067257600080fd5b50356117da565b6106b16004803603606081101561068f57600080fd5b506001600160a01b0381358116916020810135821691604090910135166118a2565b6040805192835260208301919091528051918290030190f35b6102eb611901565b61070a600480360360608110156106e857600080fd5b506001600160a01b038135811691602081013582169160409091013516611910565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b610335600480360360a081101561074b57600080fd5b506001600160a01b0381358116916020810135821691604082013591606081013590911690608001351515611990565b6102eb6119f1565b610365611a00565b610335600480360360608110156107a157600080fd5b506001600160a01b03813581169160208101359091169060400135611a06565b610335600480360360208110156107d757600080fd5b5035611a81565b610421600480360360408110156107f457600080fd5b506001600160a01b0381358116916020013516611b14565b6103356004803603602081101561082257600080fd5b5035611b58565b6103356004803603602081101561083f57600080fd5b5035611bc7565b6103356004803603606081101561085c57600080fd5b506001600160a01b03813581169160208101359091169060400135611c36565b6103356004803603602081101561089257600080fd5b50356001600160a01b0316611c93565b610335600480360360808110156108b857600080fd5b506001600160a01b038135811691602081013590911690604081013590606001351515611db6565b6106b1611e0b565b610365611e39565b6103656004803603608081101561090657600080fd5b506001600160a01b03813581169160208101358216916040820135169060600135611e3f565b6002546001600160a01b031681565b6002600054141561097d5760405162461bcd60e51b8152600401808060200182810382526029815260200180613d8f6029913960400191505060405180910390fd5b600260005561098d828243611e59565b50506001600055565b6000806109a38484611f1a565b60075460028201549192509080156109ce576000198101600090815260058401602052604090205493505b805b82811015610a4857600081815260058501602052604090205415610a065760008181526005850160205260409020549450610a40565b610a3d64e8d4a51000610a3760078481548110610a1f57fe5b60009182526020909120600390910201548890611f8d565b90611fe6565b94505b6001016109d0565b5050505092915050565b600e5481565b60026000541415610a9a5760405162461bcd60e51b8152600401808060200182810382526029815260200180613d8f6029913960400191505060405180910390fd5b60026000908155610aab8484612028565b9050610ab88183436121ad565b505060016000555050565b610acb61241d565b6001546001600160a01b03908116911614610b2d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610b35612421565b565b60055481565b600080610b4a8484612428565b80549091506001600160a01b0316610b66576000915050611194565b600b546001600160a01b0385811691161480610b8f5750600b546001600160a01b038481169116145b15610d9357600b546000906001600160a01b03868116911614610bb25784610bb4565b835b600a54600b549192506000918291610bda916001600160a01b0391821691869116612480565b915091508160001480610beb575080155b15610bfd576000945050505050611194565b8354604080517f18160ddd00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b158015610c5a57600080fd5b505afa158015610c6e573d6000803e3d6000fd5b505050506040513d6020811015610c8457600080fd5b505115610d19578454604080517f18160ddd00000000000000000000000000000000000000000000000000000000815290516001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b158015610ce857600080fd5b505afa158015610cfc573d6000803e3d6000fd5b505050506040513d6020811015610d1257600080fd5b5051610d1c565b60015b90506000610d3682610a3785671bc16d674ec80000611f8d565b6040805160a08101825288546001600160a01b03168152600189015460208201526002890154918101919091526003880154606082015260048801546080820152909150610d8690828b8b61254e565b9650505050505050611194565b600a54600b54604080517fe6a439050000000000000000000000000000000000000000000000000000000081526001600160a01b038881166004830152928316602482015290516000939092169163e6a4390591604480820192602092909190829003018186803b158015610e0757600080fd5b505afa158015610e1b573d6000803e3d6000fd5b505050506040513d6020811015610e3157600080fd5b50516001600160a01b031614801590610ef15750600a54600b54604080517fe6a439050000000000000000000000000000000000000000000000000000000081526001600160a01b038781166004830152928316602482015290516000939092169163e6a4390591604480820192602092909190829003018186803b158015610eb957600080fd5b505afa158015610ecd573d6000803e3d6000fd5b505050506040513d6020811015610ee357600080fd5b50516001600160a01b031614155b1561118e57600a546000908190610f12906001600160a01b03168787612480565b915091508160001480610f23575080155b15610f345760009350505050611194565b8254604080517f18160ddd00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b158015610f9157600080fd5b505afa158015610fa5573d6000803e3d6000fd5b505050506040513d6020811015610fbb57600080fd5b505115611050578354604080517f18160ddd00000000000000000000000000000000000000000000000000000000815290516001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b15801561101f57600080fd5b505afa158015611033573d6000803e3d6000fd5b505050506040513d602081101561104957600080fd5b5051611053565b60015b600a54600b549192506000918291611079916001600160a01b03918216918c9116612480565b91509150816000148061108a575080155b1561109e5760009650505050505050611194565b60006110c06110b985610a3789670de0b6b3a7640000611f8d565b8484612706565b600a54600b549192506110e1916001600160a01b03918216918c9116612480565b90935091508215806110f1575081155b15611106576000975050505050505050611194565b61113061112961112286610a3789670de0b6b3a7640000611f8d565b8585612706565b82906127ac565b6040805160a08101825289546001600160a01b0316815260018a0154602082015260028a015491810191909152600389015460608201526004890154608082015290915061118090828c8c61254e565b975050505050505050611194565b60009150505b92915050565b6000806000806000806111ad8888612428565b80546001820154600283015460038401546004909401546001600160a01b039093169c919b50995091975095509350505050565b6000806111ee8484612428565b80549091506001600160a01b03161561118e57336000908152600690910160205260409020549050611194565b60006112278383612028565b3360008181526006830160205260408120805482825560018201929092558354939450929091611261916001600160a01b03169083612806565b82546040805183815290516001600160a01b039092169133917ff24ef89f38eadc1bde50701ad6e4d6d11a2dc24f7cf834a486991f3883328504919081900360200190a35050505050565b6000806112b98484611f1a565b600754600282015491925090806112ce575060015b60009350805b82811015610a4857600019810160009081526005850160205260409020541561131457600019810160009081526005850160205260409020549450611333565b61133064e8d4a51000610a3760076001850381548110610a1f57fe5b94505b6001016112d4565b61134361241d565b6001546001600160a01b039081169116146113a5576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60006113b18484612028565b60040191909155505050565b6113c561241d565b6001546001600160a01b03908116911614611427576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60008183111561149b57506000611194565b600954600554600454600019828401019060005b8387106115015760006114c2858a612886565b905060006114d0858a61289d565b90508181106114e6578382820360010102830192505b505060029485029460018401945092850192909104906114af565b979650505050505050565b61151461241d565b6001546001600160a01b03908116911614611576576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610b356128ac565b60008061158b8585612428565b60009384526005016020525050604090205492915050565b600781815481106115b057fe5b600091825260209091206003909102018054600182015460029092015490925083565b6003546001600160a01b03163314611632576040805162461bcd60e51b815260206004820152600960248201527f6465763a207775743f0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6001600160a01b03811661168d576040805162461bcd60e51b815260206004820152601660248201527f5f646576616464722063616e6e6f742062652030783000000000000000000000604482015290519081900360640190fd5b600380547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6001546001600160a01b031690565b600260005414156117185760405162461bcd60e51b8152600401808060200182810382526029815260200180613d8f6029913960400191505060405180910390fd5b6002600055610ab884848484436128b3565b61173261241d565b6001546001600160a01b03908116911614611794576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600c80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600d5481565b60095481565b6117e261241d565b6001546001600160a01b03908116911614611844576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b64e8d4a51000811061189d576040805162461bcd60e51b815260206004820152601060248201527f6465636179206d757374203c20312e3000000000000000000000000000000000604482015290519081900360640190fd5b600d55565b60008060006118b18686612428565b90506118bb613c9b565b506001600160a01b039093166000908152600690930160209081526040938490208451808601909552805480865260019091015494909101849052959294509192505050565b600a546001600160a01b031681565b6000806000806000806119238989612428565b80549091506001600160a01b0316156119845761194089896112ac565b955061194c8989610996565b6001600160a01b0388166000908152600683016020526040902054909550935061197a89898960ff43612ac8565b9250806004015491505b50939792965093509350565b600260005414156119d25760405162461bcd60e51b8152600401808060200182810382526029815260200180613d8f6029913960400191505060405180910390fd5b60026000556119e5858585858543612c0d565b50506001600055505050565b6003546001600160a01b031681565b60045481565b611a0e61241d565b6001546001600160a01b03908116911614611a70576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b611a7c83838343612dda565b505050565b611a8961241d565b6001546001600160a01b03908116911614611aeb576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600b54600254600091611b0a916001600160a01b039182169116612028565b6004019190915550565b6008602090815260009283526040808420909152908252902080546001820154600283015460038401546004909401546001600160a01b0390931693919290919085565b611b6061241d565b6001546001600160a01b03908116911614611bc2576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600655565b611bcf61241d565b6001546001600160a01b03908116911614611c31576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600e55565b60026000541415611c785760405162461bcd60e51b8152600401808060200182810382526029815260200180613d8f6029913960400191505060405180910390fd5b6002600055611c8983838343612eb8565b5050600160005550565b611c9b61241d565b6001546001600160a01b03908116911614611cfd576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116611d425760405162461bcd60e51b8152600401808060200182810382526026815260200180613cd76026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b60026000541415611df85760405162461bcd60e51b8152600401808060200182810382526029815260200180613d8f6029913960400191505060405180910390fd5b6002600055610ab8848484338543612c0d565b60078054906000906000198301838110611e2157fe5b90600052602060002090600302016002015490509091565b60065481565b6000611e4e8585858543612ac8565b90505b949350505050565b600c54604080517f27fc84a30000000000000000000000000000000000000000000000000000000081526001600160a01b0386811660048301528581166024830152915160009392909216916327fc84a39160448082019260209290919082900301818787803b158015611ecc57600080fd5b505af1158015611ee0573d6000803e3d6000fd5b505050506040513d6020811015611ef657600080fd5b505190506000611f068585612028565b9050611f13818385612f80565b5050505050565b600080611f278484612428565b80549091506001600160a01b0316611f86576040805162461bcd60e51b815260206004820152601260248201527f6c7020746f6b656e206e6f742065786973740000000000000000000000000000604482015290519081900360640190fd5b9392505050565b600082611f9c57506000611194565b82820282848281611fa957fe5b0414611f865760405162461bcd60e51b8152600401808060200182810382526021815260200180613d6e6021913960400191505060405180910390fd5b6000611f8683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613141565b6000806000836001600160a01b0316856001600160a01b03161061204d578385612050565b84845b6001600160a01b0380831660009081526008602090815260408083208486168452909152902080549395509193509091166121a457600a54604080517fe6a439050000000000000000000000000000000000000000000000000000000081526001600160a01b03868116600483015285811660248301529151919092169163e6a43905916044808301926020929190829003018186803b1580156120f357600080fd5b505afa158015612107573d6000803e3d6000fd5b505050506040513d602081101561211d57600080fd5b505181547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0391821617808355166121a4576040805162461bcd60e51b815260206004820152601260248201527f6c7020746f6b656e206e6f742065786973740000000000000000000000000000604482015290519081900360640190fd5b95945050505050565b826001015481116121bd57611a7c565b6121c6816131e3565b60008060006121d686868661323d565b60028b019290925560018a01929092559194509092509050801561221157600286015460001901600090815260058701602052604090208290555b8554604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561227457600080fd5b505afa158015612288573d6000803e3d6000fd5b505050506040513d602081101561229e57600080fd5b505190508315806122ad575080155b156122bb5750505050611a7c565b6002546003546001600160a01b03918216916340c10f1991166122df87600a611fe6565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561232557600080fd5b505af1158015612339573d6000803e3d6000fd5b50505050600061235d612356600a87611fe690919063ffffffff16565b86906133c7565b600254604080517f40c10f190000000000000000000000000000000000000000000000000000000081523060048201526024810184905290519293506001600160a01b03909116916340c10f199160448082019260009290919082900301818387803b1580156123cc57600080fd5b505af11580156123e0573d6000803e3d6000fd5b5050505061240e61240383610a3764e8d4a5100085611f8d90919063ffffffff16565b60038a0154906127ac565b60038901555050505050505050565b3390565b6001600055565b6000806000836001600160a01b0316856001600160a01b03161061244d578385612450565b84845b6001600160a01b039182166000908152600860209081526040808320939094168252919091522095945050505050565b600080600061248f8585613409565b5090506000806124a08888886134e7565b6001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156124d857600080fd5b505afa1580156124ec573d6000803e3d6000fd5b505050506040513d606081101561250257600080fd5b5080516020909101516dffffffffffffffffffffffffffff91821693501690506001600160a01b038781169084161461253c57808261253f565b81815b90999098509650505050505050565b60008361255d57506000611e51565b6007805460009190600019810190811061257357fe5b90600052602060002090600302016001015490506000816000146125cd576125c882610a376125a288886112ac565b6125c2600a610a3760096125c2670de0b6b3a76400006125c24343611489565b90611f8d565b6125d0565b60005b9050600061265b88600001516001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561262857600080fd5b505afa15801561263c573d6000803e3d6000fd5b505050506040513d602081101561265257600080fd5b50516001612886565b905060006126698383611fe6565b90508061267d576000945050505050611e51565b600a54600254600b5460009283926126a5926001600160a01b03928316929182169116612480565b9150915081600014806126b6575080155b156126ca5760009650505050505050611e51565b60006126d7848484612706565b90506126f6622014806125c28d610a3785670de0b6b3a7640000611f8d565b9c9b505050505050505050505050565b60008084116127465760405162461bcd60e51b8152600401808060200182810382526025815260200180613db86025913960400191505060405180910390fd5b6000831180156127565750600082115b6127915760405162461bcd60e51b8152600401808060200182810382526028815260200180613d466028913960400191505060405180910390fd5b8261279c85846135d2565b816127a357fe5b04949350505050565b600082820183811015611f86576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052611a7c90849061363e565b6000818310156128965781611f86565b5090919050565b60008183106128965781611f86565b6002600055565b60006128bf8686612028565b336000908152600682016020526040902080549192509085111561292a576040805162461bcd60e51b815260206004820152601260248201527f77697468647261773a206e6f7420676f6f640000000000000000000000000000604482015290519081900360640190fd5b6129368260ff856121ad565b83156129ea57600c54604080517f27fc84a30000000000000000000000000000000000000000000000000000000081526001600160a01b038a811660048301528981166024830152915160009392909216916327fc84a39160448082019260209290919082900301818787803b1580156129af57600080fd5b505af11580156129c3573d6000803e3d6000fd5b505050506040513d60208110156129d957600080fd5b505190506129e8838286612f80565b505b6000612a1e8260010154612a1864e8d4a51000610a3787600301548760000154611f8d90919063ffffffff16565b906133c7565b90508015612a3057612a3033826136ef565b8515612a5a578154612a4290876133c7565b82558254612a5a906001600160a01b03163388612806565b60038301548254612a759164e8d4a5100091610a3791611f8d565b600183015582546040805188815290516001600160a01b039092169133917f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb919081900360200190a35050505050505050565b600080612ad58787611f1a565b6001600160a01b03808716600090815260068301602090815260408083206003860154865483517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015293519798509196909591909116926370a082319260248082019391829003018186803b158015612b5457600080fd5b505afa158015612b68573d6000803e3d6000fd5b505050506040513d6020811015612b7e57600080fd5b5051600185015490915086118015612b9557508015155b15612bd7576000612ba785898961323d565b505050509050612bd3612bcc83610a3764d18c2e280085611f8d90919063ffffffff16565b84906127ac565b9250505b612bff8360010154612a1864e8d4a51000610a37868860000154611f8d90919063ffffffff16565b9a9950505050505050505050565b6000612c198787612028565b6001600160a01b03851660009081526006820160205260409020909150612c428260ff856121ad565b8315612cf657600c54604080517f27fc84a30000000000000000000000000000000000000000000000000000000081526001600160a01b038b811660048301528a81166024830152915160009392909216916327fc84a39160448082019260209290919082900301818787803b158015612cbb57600080fd5b505af1158015612ccf573d6000803e3d6000fd5b505050506040513d6020811015612ce557600080fd5b50519050612cf4838286612f80565b505b805415612d3f576000612d2b8260010154612a1864e8d4a51000610a3787600301548760000154611f8d90919063ffffffff16565b90508015612d3d57612d3d86826136ef565b505b8515612d6b578154612d5c906001600160a01b03163330896138c3565b8054612d6890876127ac565b81555b60038201548154612d869164e8d4a5100091610a3791611f8d565b600182015581546040805188815290516001600160a01b03928316928816917f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f62919081900360200190a35050505050505050565b6005548110612e1a5760405162461bcd60e51b8152600401808060200182810382526024815260200180613d226024913960400191505060405180910390fd5b6000612e268585612028565b9050612e7983612e73836005016000808152602001908152602001600020546007600081548110612e5357fe5b9060005260206000209060030201600101546133c790919063ffffffff16565b906127ac565b6007600081548110612e8757fe5b6000918252602080832060016003909302019190910192909255808052600590920190526040902091909155505050565b600254612ed0906001600160a01b03163330856138c3565b600254604080517f42966c680000000000000000000000000000000000000000000000000000000081526004810185905290516001600160a01b03909216916342966c689160248082019260009290919082900301818387803b158015612f3657600080fd5b505af1158015612f4a573d6000803e3d6000fd5b505050506000612f5a8585612028565b9050611f1381612f7e64e8d4a51000610a37600e5488611f8d90919063ffffffff16565b845b612f8c8360ff836121ad565b82600101548114612fe4576040805162461bcd60e51b815260206004820152601d60248201527f6e65656420746f20757064617465506f6f6c2829206d616e75616c6c79000000604482015290519081900360640190fd5b6007546004840154600019909101906000906130059064e8d4a510006127ac565b6000838152600587016020526040902054909150806130675761306464e8d4a51000610a376007868154811061303757fe5b600091825260208083206003909202909101546000198901835260058c0190915260409091205490611f8d565b90505b61307d61112964e8d4a51000610a378886611f8d565b60008481526005880160205260409020556130d16130a464e8d4a51000610a378886611f8d565b600785815481106130b157fe5b9060005260206000209060030201600101546127ac90919063ffffffff16565b600784815481106130de57fe5b60009182526020918290206001600390920201019190915586546040805188815290516001600160a01b039092169233927fbac40739b0d4ca32fa2d82fc91630465ba3eddd1598da6fca393b26fb63b94539281900390910190a3505050505050565b600081836131cd5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561319257818101518382015260200161317a565b50505050905090810190601f1680156131bf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816131d957fe5b0495945050505050565b600780546000198101918391839081106131f957fe5b9060005260206000209060030201600201541015613239576132396007828154811061322157fe5b90600052602060002090600302016002015483613951565b5050565b6001830154600284015460075460009291908390819083908290825b818110156133b8578061326b576133b0565b60006007828154811061327a57fe5b90600052602060002090600302016002015490508a8111156132995750895b60009550600096506000600760018403815481106132b357fe5b906000526020600020906003020160010154905080600014613381578560010183116132f2576000198301600090815260058f01602052604090205496505b8661331a5761331364e8d4a51000610a3760076001870381548110610a1f57fe5b9650600197505b600061333182610a378a6125c28f60010188611489565b905061333d8c826127ac565b9b5064e8d4a51000811080156133565750866001018410155b80156133655750600185038414155b1561337f578c9a50600185039950600098505050506133b8565b505b8199508298508694508b8a14806133a157508c61339e84886133c7565b10155b156133ad5750506133b8565b50505b600101613259565b50505050939792965093509350565b6000611f8683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613aa6565b600080826001600160a01b0316846001600160a01b0316141561345d5760405162461bcd60e51b8152600401808060200182810382526025815260200180613cfd6025913960400191505060405180910390fd5b826001600160a01b0316846001600160a01b03161061347d578284613480565b83835b90925090506001600160a01b0382166134e0576040805162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f414444524553530000604482015290519081900360640190fd5b9250929050565b60008060006134f68585613409565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff0000000000000000000000000000000000000000000000000000000000000060688401529a90941b9093166069840152607d8301989098527f1c879dcd3af04306445addd2c308bd4d26010c7ca84c959c3564d4f6957ab20c609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b60008115806135ed575050808202828282816135ea57fe5b04145b611194576040805162461bcd60e51b815260206004820152601460248201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604482015290519081900360640190fd5b6060613693826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613b009092919063ffffffff16565b805190915015611a7c578080602001905160208110156136b257600080fd5b5051611a7c5760405162461bcd60e51b815260040180806020018281038252602a815260200180613ddd602a913960400191505060405180910390fd5b600254604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561375357600080fd5b505afa158015613767573d6000803e3d6000fd5b505050506040513d602081101561377d57600080fd5b505190508082111561382a57600254604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156137f857600080fd5b505af115801561380c573d6000803e3d6000fd5b505050506040513d602081101561382257600080fd5b50611a7c9050565b600254604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561389957600080fd5b505af11580156138ad573d6000803e3d6000fd5b505050506040513d6020811015611f1357600080fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905261394b90859061363e565b50505050565b600780546000198101916000918390811061396857fe5b90600052602060002090600302016001015490506000600d54905061398b613cb5565b6040805160608101909152828152602081016139b064e8d4a51000610a378787611f8d565b81526020016139c3600654890188612886565b90526007805460018181018355600092909252825160039091027fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6888101919091556020808401517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6898301556040808501517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a9093018390558051938901845290830187905282810191909152519192507f5aec57d81928b24d30b1a2aec0d23d693412c37d7ec106b5d8259413716bb1f4919081900360600190a1505050505050565b60008184841115613af85760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561319257818101518382015260200161317a565b505050900390565b6060611e5184846000856060613b1585613c95565b613b66576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310613bc357805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613b86565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613c25576040519150601f19603f3d011682016040523d82523d6000602084013e613c2a565b606091505b50915091508115613c3e579150611e519050565b805115613c4e5780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561319257818101518382015260200161317a565b3b151590565b604051806040016040528060008152602001600081525090565b6040518060600160405280600081526020016000815260200160008152509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373556e697377617056324c6962726172793a204944454e544943414c5f41444452455353455363616e6e6f74206368616e676520616c6c6f63206166746572207374617274426c6f636b556e697377617056324c6962726172793a20494e53554646494349454e545f4c4951554944495459536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775265656e7472616e637947756172643a207265656e7472616e742063616c6c206f7220706175736564556e697377617056324c6962726172793a20494e53554646494349454e545f414d4f554e545361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220f8484ff41bc4f55ddbb4e8751a53bd6792519f6377de6451630d711c7413286064736f6c634300060c0033

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

00000000000000000000000081428a8047cca11177a4e15789e368d6806da376000000000000000000000000be4b98abe5982ac6e453307c81cb47a316b78d890000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000000000000000000000000000000000000000a744500000000000000000000000000000000000000000000000000000000000004e2000000000000000000000000000000000000000000000000000000000000005a0000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000f14421f0bcf9401d8930872c2d44d8e67e40529a

-----Decoded View---------------
Arg [0] : _equal (address): 0x81428A8047Cca11177A4E15789e368D6806da376
Arg [1] : _devaddr (address): 0xBe4B98ABE5982AC6E453307c81CB47A316b78d89
Arg [2] : _genesisEqualPerBlock (uint256): 10000000000000000000
Arg [3] : _startBlock (uint256): 10962000
Arg [4] : _blocksInGenesisEpoch (uint256): 20000
Arg [5] : _allocAdjustBlocks (uint256): 1440
Arg [6] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [7] : _factory (address): 0xF14421F0BCf9401d8930872C2d44d8e67e40529a

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 00000000000000000000000081428a8047cca11177a4e15789e368d6806da376
Arg [1] : 000000000000000000000000be4b98abe5982ac6e453307c81cb47a316b78d89
Arg [2] : 0000000000000000000000000000000000000000000000008ac7230489e80000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000a74450
Arg [4] : 0000000000000000000000000000000000000000000000000000000000004e20
Arg [5] : 00000000000000000000000000000000000000000000000000000000000005a0
Arg [6] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [7] : 000000000000000000000000f14421f0bcf9401d8930872c2d44d8e67e40529a


Deployed Bytecode Sourcemap

67231:32087:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69067:23;;;:::i;:::-;;;;-1:-1:-1;;;;;69067:23:0;;;;;;;;;;;;;;90930:157;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;90930:157:0;;;;;;;;;;:::i;:::-;;92687:757;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;92687:757:0;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;70004:41;;;:::i;85665:230::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;85665:230:0;;;;;;;;;;;;;;;;;:::i;74698:67::-;;;:::i;69280:25::-;;;:::i;94416:2125::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;94416:2125:0;;;;;;;;;;:::i;98055:610::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;98055:610:0;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;98055:610:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97753:294;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;97753:294:0;;;;;;;;;;:::i;89273:439::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;89273:439:0;;;;;;;;;;:::i;91719:782::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;91719:782:0;;;;;;;;;;:::i;73666:271::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;73666:271:0;;;;;;;;;;;;;;;;;:::i;28723:148::-;;;:::i;74977:916::-;;;;;;;;;;;;;;;;-1:-1:-1;74977:916:0;;;;;;;:::i;74627:63::-;;;:::i;98673:254::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;98673:254:0;;;;;;;;;;;;;;;;;:::i;69436:32::-;;;;;;;;;;;;;;;;-1:-1:-1;69436:32:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;90169:199;;;;;;;;;;;;;;;;-1:-1:-1;90169:199:0;-1:-1:-1;;;;;90169:199:0;;:::i;28081:79::-;;;:::i;89008:194::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;89008:194:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;74283:94::-;;;;;;;;;;;;;;;;-1:-1:-1;74283:94:0;-1:-1:-1;;;;;74283:94:0;;:::i;69903:39::-;;;:::i;69634:35::-;;;:::i;73438:220::-;;;;;;;;;;;;;;;;-1:-1:-1;73438:220:0;;:::i;98935:380::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;98935:380:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;69701:32;;;:::i;93678:730::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;93678:730:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87213:287;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;87213:287:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;69118:22::-;;;:::i;69187:35::-;;;:::i;73994:220::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;73994:220:0;;;;;;;;;;;;;;;;;:::i;73022:245::-;;;;;;;;;;;;;;;;-1:-1:-1;73022:245:0;;:::i;69521:66::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;69521:66:0;;;;;;;;;;:::i;73275:155::-;;;;;;;;;;;;;;;;-1:-1:-1;73275:155:0;;:::i;74434:110::-;;;;;;;;;;;;;;;;-1:-1:-1;74434:110:0;;:::i;91528:183::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;91528:183:0;;;;;;;;;;;;;;;;;:::i;29026:244::-;;;;;;;;;;;;;;;;-1:-1:-1;29026:244:0;-1:-1:-1;;;;;29026:244:0;;:::i;87508:270::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;87508:270:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;93452:218::-;;;:::i;69364:32::-;;;:::i;84198:284::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;84198:284:0;;;;;;;;;;;;;;;;;;;;;;:::i;69067:23::-;;;-1:-1:-1;;;;;69067:23:0;;:::o;90930:157::-;31254:1;31871:7;;:29;;31863:83;;;;-1:-1:-1;;;31863:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31254:1;32024:7;:28;91032:47:::1;91048:7:::0;91057;91066:12:::1;91032:15;:47::i;:::-;-1:-1:-1::0;;31200:1:0;32213:7;:22;90930:157::o;92687:757::-;92829:18;92865:21;92889:26;92898:7;92907;92889:8;:26::i;:::-;92947:6;:13;92992:20;;;;92865:50;;-1:-1:-1;92947:13:0;93029:15;;93025:93;;-1:-1:-1;;93091:14:0;;93074:32;;;;:16;;;:32;;;;;;;-1:-1:-1;93025:93:0;93149:10;93128:309;93169:8;93161:5;:16;93128:309;;;93207:23;;;;:16;;;:23;;;;;;:28;93203:223;;93269:23;;;;:16;;;:23;;;;;;;-1:-1:-1;93203:223:0;;;93346:64;93405:4;93346:54;93361:6;93368:5;93361:13;;;;;;;;;;;;;;;;;;;;;:38;93346:10;;:14;:54::i;:::-;:58;;:64::i;:::-;93333:77;;93203:223;93179:7;;93128:309;;;;92687:757;;;;;;;:::o;70004:41::-;;;;:::o;85665:230::-;31254:1;31871:7;;:29;;31863:83;;;;-1:-1:-1;;;31863:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31254:1;32024:7;:28;;;85803:32:::1;85818:7:::0;85827;85803:14:::1;:32::i;:::-;85779:56;;85846:41;85858:4;85864:8;85874:12;85846:11;:41::i;:::-;-1:-1:-1::0;;31200:1:0;32213:7;:22;-1:-1:-1;;85665:230:0:o;74698:67::-;28303:12;:10;:12::i;:::-;28293:6;;-1:-1:-1;;;;;28293:6:0;;;:22;;;28285:67;;;;;-1:-1:-1;;;28285:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74747:10:::1;:8;:10::i;:::-;74698:67::o:0;69280:25::-;;;;:::o;94416:2125::-;94487:7;94507:21;94531:28;94544:6;94552;94531:12;:28::i;:::-;94574:12;;94507:52;;-1:-1:-1;;;;;;94574:12:0;94570:68;;94625:1;94618:8;;;;;94570:68;94662:4;;-1:-1:-1;;;;;94652:14:0;;;94662:4;;94652:14;;:32;;-1:-1:-1;94680:4:0;;-1:-1:-1;;;;;94670:14:0;;;94680:4;;94670:14;94652:32;94648:1867;;;94760:4;;94734:13;;-1:-1:-1;;;;;94750:14:0;;;94760:4;;94750:14;:32;;94776:6;94750:32;;;94767:6;94750:32;94867:7;;94884:4;;94734:48;;-1:-1:-1;94798:13:0;;;;94830:59;;-1:-1:-1;;;;;94867:7:0;;;;94734:48;;94884:4;94830:28;:59::i;:::-;94797:92;;;;94908:8;94920:1;94908:13;:30;;;-1:-1:-1;94925:13:0;;94908:30;94904:79;;;94966:1;94959:8;;;;;;;;94904:79;95019:12;;:26;;;;;;;;94997:19;;-1:-1:-1;;;;;95019:12:0;;:24;;:26;;;;;;;;;;;;;;:12;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;95019:26:0;:31;:64;;95057:12;;:26;;;;;;;;-1:-1:-1;;;;;95057:12:0;;;;:24;;:26;;;;;;;;;;;;;;;:12;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;95057:26:0;95019:64;;;95053:1;95019:64;94997:86;-1:-1:-1;95131:16:0;95150:39;94997:86;95150:22;:8;95163;95150:12;:22::i;:39::-;95211:44;;;;;;;;;;-1:-1:-1;;;;;95211:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95131:58;;-1:-1:-1;95211:44:0;;95131:58;95240:6;95248;95211:12;:44::i;:::-;95204:51;;;;;;;;;;94648:1867;95277:7;;95301:4;;95277:29;;;;;;-1:-1:-1;;;;;95277:29:0;;;;;;;95301:4;;;95277:29;;;;;;95318:3;;95277:7;;;;:15;;:29;;;;;;;;;;;;;;;:7;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;95277:29:0;-1:-1:-1;;;;;95277:45:0;;;;;:94;;-1:-1:-1;95326:7:0;;95350:4;;95326:29;;;;;;-1:-1:-1;;;;;95326:29:0;;;;;;;95350:4;;;95326:29;;;;;;95367:3;;95326:7;;;;:15;;:29;;;;;;;;;;;;;;;:7;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;95326:29:0;-1:-1:-1;;;;;95326:45:0;;;95277:94;95273:1242;;;95525:7;;95450:16;;;;95488:62;;-1:-1:-1;;;;;95525:7:0;95535:6;95543;95488:28;:62::i;:::-;95449:101;;;;95569:8;95581:1;95569:13;:30;;;-1:-1:-1;95586:13:0;;95569:30;95565:79;;;95627:1;95620:8;;;;;;;95565:79;95680:12;;:26;;;;;;;;95658:19;;-1:-1:-1;;;;;95680:12:0;;:24;;:26;;;;;;;;;;;;;;:12;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;95680:26:0;:31;:64;;95718:12;;:26;;;;;;;;-1:-1:-1;;;;;95718:12:0;;;;:24;;:26;;;;;;;;;;;;;;;:12;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;95718:26:0;95680:64;;;95714:1;95680:64;95891:7;;95909:4;;95658:86;;-1:-1:-1;95820:15:0;;;;95854:60;;-1:-1:-1;;;;;95891:7:0;;;;95901:6;;95909:4;95854:28;:60::i;:::-;95819:95;;;;95933:7;95944:1;95933:12;:26;;;-1:-1:-1;95949:10:0;;95933:26;95929:75;;;95987:1;95980:8;;;;;;;;;;95929:75;96018:16;96037:75;96060:35;96083:11;96060:18;:8;96073:4;96060:12;:18::i;:35::-;96097:7;96106:5;96037:22;:75::i;:::-;96210:7;;96228:4;;96018:94;;-1:-1:-1;96173:60:0;;-1:-1:-1;;;;;96210:7:0;;;;96220:6;;96228:4;96173:28;:60::i;:::-;96154:79;;-1:-1:-1;96154:79:0;-1:-1:-1;96252:12:0;;;:26;;-1:-1:-1;96268:10:0;;96252:26;96248:75;;;96306:1;96299:8;;;;;;;;;;;96248:75;96348:89;96361:75;96384:35;96407:11;96384:18;:8;96397:4;96384:12;:18::i;:35::-;96421:7;96430:5;96361:22;:75::i;:::-;96348:8;;:12;:89::i;:::-;96459:44;;;;;;;;;;-1:-1:-1;;;;;96459:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96337:100;;-1:-1:-1;96459:44:0;;96337:100;96488:6;96496;96459:12;:44::i;:::-;96452:51;;;;;;;;;;;95273:1242;96532:1;96525:8;;;94416:2125;;;;;:::o;98055:610::-;98170:15;98200:23;98238;98276:24;98315:22;98365:21;98389:30;98402:7;98411;98389:12;:30::i;:::-;98448:12;;;98490:20;;;98539;;;;98589:21;;;;98638:19;;;;;-1:-1:-1;;;;;98448:12:0;;;;98490:20;;-1:-1:-1;98539:20:0;-1:-1:-1;98589:21:0;;-1:-1:-1;98638:19:0;-1:-1:-1;98055:610:0;-1:-1:-1;;;;98055:610:0:o;97753:294::-;97837:7;97857:21;97881:30;97894:7;97903;97881:12;:30::i;:::-;97926:12;;97857:54;;-1:-1:-1;;;;;;97926:12:0;:27;97922:99;;97991:10;97977:25;;;;:13;;;;:25;;;;;:32;;-1:-1:-1;97970:39:0;;89273:439;89352:21;89376:32;89391:7;89400;89376:14;:32::i;:::-;89457:10;89419:21;89443:25;;;:13;;;:25;;;;;89496:11;;89518:15;;;-1:-1:-1;89544:15:0;;:19;;;;89574:12;;89352:56;;-1:-1:-1;89443:25:0;89496:11;;89574:54;;-1:-1:-1;;;;;89574:12:0;;89496:11;89574:25;:54::i;:::-;89682:12;;89644:60;;;;;;;;-1:-1:-1;;;;;89682:12:0;;;;89662:10;;89644:60;;;;;;;;;;89273:439;;;;;:::o;91719:782::-;91858:22;91898:21;91922:26;91931:7;91940;91922:8;:26::i;:::-;91980:6;:13;92025:20;;;;91898:50;;-1:-1:-1;91980:13:0;92062:15;92058:62;;-1:-1:-1;92107:1:0;92058:62;92149:1;;-1:-1:-1;92182:10:0;92161:333;92202:8;92194:5;:16;92161:333;;;-1:-1:-1;;92257:9:0;;92240:27;;;;:16;;;:27;;;;;;:32;92236:247;;-1:-1:-1;;92327:9:0;;92310:27;;;;:16;;;:27;;;;;;;-1:-1:-1;92236:247:0;;;92395:72;92462:4;92395:62;92414:6;92429:1;92421:5;:9;92414:17;;;;;;;92395:72;92378:89;;92236:247;92212:7;;92161:333;;73666:271;28303:12;:10;:12::i;:::-;28293:6;;-1:-1:-1;;;;;28293:6:0;;;:22;;;28285:67;;;;;-1:-1:-1;;;28285:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73776:21:::1;73800:32;73815:7;73824;73800:14;:32::i;:::-;73843:19;;:27:::0;;;;-1:-1:-1;;;73666:271:0:o;28723:148::-;28303:12;:10;:12::i;:::-;28293:6;;-1:-1:-1;;;;;28293:6:0;;;:22;;;28285:67;;;;;-1:-1:-1;;;28285:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28814:6:::1;::::0;28793:40:::1;::::0;28830:1:::1;::::0;-1:-1:-1;;;;;28814:6:0::1;::::0;28793:40:::1;::::0;28830:1;;28793:40:::1;28844:6;:19:::0;;;::::1;::::0;;28723:148::o;74977:916::-;75055:7;75087:3;75079:5;:11;75075:52;;;-1:-1:-1;75114:1:0;75107:8;;75075:52;75164:20;;75216:10;;75323:20;;-1:-1:-1;;75256:27:0;;;:31;;75139:22;75389:467;75403:10;75396:3;:17;75389:467;;75430:12;75445:27;75454:10;75466:5;75445:8;:27::i;:::-;75430:42;;75487:13;75503:23;75512:8;75522:3;75503:8;:23::i;:::-;75487:39;;75554:4;75545:5;:13;75541:105;;75616:14;75604:4;75596:5;:12;75611:1;75596:16;75595:35;75579:51;;;;75541:105;-1:-1:-1;;75696:1:0;75729:18;;;;75786:1;75775:12;;;-1:-1:-1;75813:27:0;;;;75679:18;;;;75389:467;;;75873:12;74977:916;-1:-1:-1;;;;;;;74977:916:0:o;74627:63::-;28303:12;:10;:12::i;:::-;28293:6;;-1:-1:-1;;;;;28293:6:0;;;:22;;;28285:67;;;;;-1:-1:-1;;;28285:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74674:8:::1;:6;:8::i;98673:254::-:0;98799:7;98824:21;98848:30;98861:7;98870;98848:12;:30::i;:::-;98896:23;;;;:16;;:23;;-1:-1:-1;;98896:23:0;;;;;98673:254;-1:-1:-1;;98673:254:0:o;69436:32::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69436:32:0;:::o;90169:199::-;90240:7;;-1:-1:-1;;;;;90240:7:0;90226:10;:21;90218:43;;;;;-1:-1:-1;;;90218:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;90280:24:0;;90272:59;;;;;-1:-1:-1;;;90272:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;90342:7;:18;;;;-1:-1:-1;;;;;90342:18:0;;;;;;;;;;90169:199::o;28081:79::-;28146:6;;-1:-1:-1;;;;;28146:6:0;28081:79;:::o;89008:194::-;31254:1;31871:7;;:29;;31863:83;;;;-1:-1:-1;;;31863:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31254:1;32024:7;:28;89134:60:::1;89144:7:::0;89153;89162;89171:8;89181:12:::1;89134:9;:60::i;74283:94::-:0;28303:12;:10;:12::i;:::-;28293:6;;-1:-1:-1;;;;;28293:6:0;;;:22;;;28285:67;;;;;-1:-1:-1;;;28285:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74353:6:::1;:16:::0;;;::::1;-1:-1:-1::0;;;;;74353:16:0;;;::::1;::::0;;;::::1;::::0;;74283:94::o;69903:39::-;;;;:::o;69634:35::-;;;;:::o;73438:220::-;28303:12;:10;:12::i;:::-;28293:6;;-1:-1:-1;;;;;28293:6:0;;;:22;;;28285:67;;;;;-1:-1:-1;;;28285:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73538:4:::1;73529:6;:13;73521:42;;;::::0;;-1:-1:-1;;;73521:42:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;73574:24;:33:::0;73438:220::o;98935:380::-;99062:14;99078:18;99114:21;99138:30;99151:7;99160;99138:12;:30::i;:::-;99114:54;;99179:24;;:::i;:::-;-1:-1:-1;;;;;;99206:23:0;;;;;;;:13;;;;:23;;;;;;;;;99179:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;98935:380:0;;-1:-1:-1;;;98935:380:0:o;69701:32::-;;;-1:-1:-1;;;;;69701:32:0;;:::o;93678:730::-;93785:22;93818:25;93854:22;93887:15;93913:22;93959:21;93983:28;93996:6;94004;93983:12;:28::i;:::-;94026:12;;93959:52;;-1:-1:-1;;;;;;94026:12:0;:27;94022:379;;94087:38;94110:6;94118;94087:22;:38::i;:::-;94070:55;;94160:41;94186:6;94194;94160:25;:41::i;:::-;-1:-1:-1;;;;;94233:19:0;;;;;;:13;;;:19;;;;;:26;94140:61;;-1:-1:-1;94233:26:0;-1:-1:-1;94284:54:0;94298:6;94306;94247:4;94320:3;94325:12;94284:13;:54::i;:::-;94274:64;;94370:4;:19;;;94353:36;;94022:379;93678:730;;;;;;;;;;:::o;87213:287::-;31254:1;31871:7;;:29;;31863:83;;;;-1:-1:-1;;;31863:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31254:1;32024:7;:28;87428:64:::1;87437:7:::0;87446;87455;87464:3;87469:8;87479:12:::1;87428:8;:64::i;:::-;-1:-1:-1::0;;31200:1:0;32213:7;:22;-1:-1:-1;;;87213:287:0:o;69118:22::-;;;-1:-1:-1;;;;;69118:22:0;;:::o;69187:35::-;;;;:::o;73994:220::-;28303:12;:10;:12::i;:::-;28293:6;;-1:-1:-1;;;;;28293:6:0;;;:22;;;28285:67;;;;;-1:-1:-1;;;28285:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74141:65:::1;74162:7;74171;74180:11;74193:12;74141:20;:65::i;:::-;73994:220:::0;;;:::o;73022:245::-;28303:12;:10;:12::i;:::-;28293:6;;-1:-1:-1;;;;;28293:6:0;;;:22;;;28285:67;;;;;-1:-1:-1;;;28285:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73144:4:::1;::::0;73158:5:::1;::::0;73105:21:::1;::::0;73129:36:::1;::::0;-1:-1:-1;;;;;73144:4:0;;::::1;::::0;73158:5:::1;73129:14;:36::i;:::-;73176:19;;:24:::0;;;;-1:-1:-1;73022:245:0:o;69521:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;69521:66:0;;;;;;;;;;:::o;73275:155::-;28303:12;:10;:12::i;:::-;28293:6;;-1:-1:-1;;;;;28293:6:0;;;:22;;;28285:67;;;;;-1:-1:-1;;;28285:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73352:17:::1;:27:::0;73275:155::o;74434:110::-;28303:12;:10;:12::i;:::-;28293:6;;-1:-1:-1;;;;;28293:6:0;;;:22;;;28285:67;;;;;-1:-1:-1;;;28285:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74510:19:::1;:26:::0;74434:110::o;91528:183::-;31254:1;31871:7;;:29;;31863:83;;;;-1:-1:-1;;;31863:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31254:1;32024:7;:28;91647:56:::1;91663:7:::0;91672;91681;91690:12:::1;91647:15;:56::i;:::-;-1:-1:-1::0;;31200:1:0;32213:7;:22;-1:-1:-1;91528:183:0:o;29026:244::-;28303:12;:10;:12::i;:::-;28293:6;;-1:-1:-1;;;;;28293:6:0;;;:22;;;28285:67;;;;;-1:-1:-1;;;28285:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29115:22:0;::::1;29107:73;;;;-1:-1:-1::0;;;29107:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29217:6;::::0;29196:38:::1;::::0;-1:-1:-1;;;;;29196:38:0;;::::1;::::0;29217:6:::1;::::0;29196:38:::1;::::0;29217:6:::1;::::0;29196:38:::1;29245:6;:17:::0;;;::::1;-1:-1:-1::0;;;;;29245:17:0;;;::::1;::::0;;;::::1;::::0;;29026:244::o;87508:270::-;31254:1;31871:7;;:29;;31863:83;;;;-1:-1:-1;;;31863:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31254:1;32024:7;:28;87699:71:::1;87708:7:::0;87717;87726;87735:10:::1;87747:8:::0;87757:12:::1;87699:8;:71::i;93452:218::-:0;93600:6;:13;;;93526:14;;-1:-1:-1;;93642:10:0;;93635:18;;;;;;;;;;;;;;;;;:27;;;93624:38;;93452:218;;:::o;69364:32::-;;;;:::o;84198:284::-;84380:7;84412:62;84426:7;84435;84444:5;84451:8;84461:12;84412:13;:62::i;:::-;84405:69;;84198:284;;;;;;;:::o;90508:414::-;90713:6;;:66;;;;;;-1:-1:-1;;;;;90713:66:0;;;;;;;;;;;;;;;;90696:14;;90713:6;;;;;:11;;:66;;;;;;;;;;;;;;;90696:14;90713:6;:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;90713:66:0;;-1:-1:-1;90809:21:0;90833:32;90848:7;90857;90833:14;:32::i;:::-;90809:56;;90876:38;90887:4;90893:6;90901:12;90876:10;:38::i;:::-;90508:414;;;;;:::o;71815:257::-;71890:16;71919:21;71943:30;71956:7;71965;71943:12;:30::i;:::-;71992:12;;71919:54;;-1:-1:-1;;;;;;71992:12:0;71984:58;;;;;-1:-1:-1;;;71984:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;72060:4;71815:257;-1:-1:-1;;;71815:257:0:o;5076:471::-;5134:7;5379:6;5375:47;;-1:-1:-1;5409:1:0;5402:8;;5375:47;5446:5;;;5450:1;5446;:5;:1;5470:5;;;;;:10;5462:56;;;;-1:-1:-1;;;5462:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6023:132;6081:7;6108:39;6112:1;6115;6108:39;;;;;;;;;;;;;;;;;:3;:39::i;71320:487::-;71396:16;71426:14;71442;71470:7;-1:-1:-1;;;;;71460:17:0;:7;-1:-1:-1;;;;;71460:17:0;;:59;;71502:7;71511;71460:59;;;71481:7;71490;71460:59;-1:-1:-1;;;;;71554:16:0;;;71530:21;71554:16;;;:8;:16;;;;;;;;:24;;;;;;;;;;71595:12;;71425:94;;-1:-1:-1;71425:94:0;;-1:-1:-1;71554:24:0;;71595:12;71591:187;;71661:7;;:31;;;;;;-1:-1:-1;;;;;71661:31:0;;;;;;;;;;;;;;;;:7;;;;;:15;;:31;;;;;;;;;;;;;;:7;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71661:31:0;71639:54;;;;-1:-1:-1;;;;;71639:54:0;;;;;;;71716:12;71708:58;;;;;-1:-1:-1;;;71708:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;71795:4;71320:487;-1:-1:-1;;;;;71320:487:0:o;84490:1099::-;84615:5;:21;;;84599:12;:37;84595:76;;84653:7;;84595:76;84683:27;84697:12;84683:13;:27::i;:::-;84723:19;84753:22;84786:25;84998:46;85014:5;85021:8;85031:12;84998:15;:46::i;:::-;84899:21;;;84822:222;;;;84863:21;;;84822:222;;;;;;-1:-1:-1;84822:222:0;;-1:-1:-1;84822:222:0;-1:-1:-1;85055:114:0;;;;85114:21;;;;-1:-1:-1;;85114:25:0;85096:44;;;;:17;;;:44;;;;;:61;;;85055:114;85200:13;;:38;;;;;;85232:4;85200:38;;;;;;85181:16;;-1:-1:-1;;;;;85200:13:0;;:23;;:38;;;;;;;;;;;;;;:13;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;85200:38:0;;-1:-1:-1;85253:16:0;;;:33;;-1:-1:-1;85273:13:0;;85253:33;85249:72;;;85303:7;;;;;;85249:72;85333:5;;85344:7;;-1:-1:-1;;;;;85333:5:0;;;;:10;;85344:7;85353:19;:11;85369:2;85353:15;:19::i;:::-;85333:40;;;;;;;;;;;;;-1:-1:-1;;;;;85333:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85384:16;85403:36;85419:19;85435:2;85419:11;:15;;:19;;;;:::i;:::-;85403:11;;:15;:36::i;:::-;85450:5;;:35;;;;;;85469:4;85450:35;;;;;;;;;;;;85384:55;;-1:-1:-1;;;;;;85450:5:0;;;;:10;;:35;;;;;:5;;:35;;;;;;;;:5;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85521:60;85548:32;85571:8;85548:18;85561:4;85548:8;:12;;:18;;;;:::i;:32::-;85521:22;;;;;:26;:60::i;:::-;85496:22;;;:85;-1:-1:-1;;;;;84490:1099:0;;;:::o;26635:106::-;26723:10;26635:106;:::o;32333:70::-;31200:1;32373:7;:22;32333:70::o;72080:291::-;72159:16;72189:14;72205;72233:7;-1:-1:-1;;;;;72223:17:0;:7;-1:-1:-1;;;;;72223:17:0;;:59;;72265:7;72274;72223:59;;;72244:7;72253;72223:59;-1:-1:-1;;;;;72317:16:0;;;72293:21;72317:16;;;:8;:16;;;;;;;;:24;;;;;;;;;;;;72080:291;-1:-1:-1;;;;;72080:291:0:o;63608:391::-;63701:13;63716;63743:14;63762:26;63773:6;63781;63762:10;:26::i;:::-;63742:46;;;63800:13;63815;63848:32;63856:7;63865:6;63873;63848:7;:32::i;:::-;-1:-1:-1;;;;;63833:60:0;;:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63833:62:0;;;;;;;63799:96;;;;;-1:-1:-1;63799:96:0;;-1:-1:-1;;;;;;63929:16:0;;;;;;;:62;;63972:8;63982;63929:62;;;63949:8;63959;63929:62;63906:85;;;;-1:-1:-1;63608:391:0;-1:-1:-1;;;;;;;63608:391:0:o;96549:1196::-;96697:7;96726:18;96722:59;;-1:-1:-1;96768:1:0;96761:8;;96722:59;96847:6;96854:13;;96821:23;;96847:6;-1:-1:-1;;96854:17:0;;;96847:25;;;;;;;;;;;;;;;;:41;;;96821:67;;96899:19;96921:15;96940:1;96921:20;:219;;96961:179;97124:15;96961:144;97066:38;97089:6;97097;97066:22;:38::i;:::-;96961:86;97044:2;96961:78;97037:1;96961:71;97027:4;96961:47;96981:12;96995;96961:19;:47::i;:::-;:65;;:71::i;:179::-;96921:219;;;96944:1;96921:219;96899:241;;97151:16;97170:50;97179:4;:12;;;-1:-1:-1;;;;;97179:22:0;;97210:4;97179:37;;;;;;;;;;;;;-1:-1:-1;;;;;97179:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;97179:37:0;97218:1;97170:8;:50::i;:::-;97151:69;-1:-1:-1;97231:22:0;97256:25;:11;97151:69;97256:15;:25::i;:::-;97231:50;-1:-1:-1;97296:19:0;97292:60;;97339:1;97332:8;;;;;;;;97292:60;97439:7;;97457:5;;97465:4;;97363:15;;;;97402:68;;-1:-1:-1;;;;;97439:7:0;;;;97457:5;;;;97465:4;97402:28;:68::i;:::-;97362:108;;;;97485:7;97496:1;97485:12;:31;;;-1:-1:-1;97501:15:0;;97485:31;97481:72;;;97540:1;97533:8;;;;;;;;;;97481:72;97563:17;97583:59;97606:14;97622:7;97631:10;97583:22;:59::i;:::-;97563:79;-1:-1:-1;97676:61:0;97719:17;97676:38;97700:13;97676:19;97563:79;97690:4;97676:13;:19::i;:61::-;97669:68;96549:1196;-1:-1:-1;;;;;;;;;;;;96549:1196:0:o;64112:321::-;64194:12;64237:1;64227:7;:11;64219:61;;;;-1:-1:-1;;;64219:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64310:1;64299:8;:12;:28;;;;;64326:1;64315:8;:12;64299:28;64291:81;;;;-1:-1:-1;;;64291:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64417:8;64393:21;:7;64405:8;64393:11;:21::i;:::-;:32;;;;;;;64112:321;-1:-1:-1;;;;64112:321:0:o;3722:181::-;3780:7;3812:5;;;3836:6;;;;3828:46;;;;;-1:-1:-1;;;3828:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;14879:177;14989:58;;;-1:-1:-1;;;;;14989:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15012:23;14989:58;;;14962:86;;14982:5;;14962:19;:86::i;29520:107::-;29578:7;29610:1;29605;:6;;:14;;29618:1;29605:14;;;-1:-1:-1;29614:1:0;;29520:107;-1:-1:-1;29520:107:0:o;29703:106::-;29761:7;29792:1;29788;:5;:13;;29800:1;29788:13;;32251:74;31254:1;32289:7;:28;32251:74::o;87826:1174::-;88019:21;88043:32;88058:7;88067;88043:14;:32::i;:::-;88124:10;88086:21;88110:25;;;:13;;;:25;;;;;88154:11;;88019:56;;-1:-1:-1;88110:25:0;88154:22;-1:-1:-1;88154:22:0;88146:53;;;;;-1:-1:-1;;;88146:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;88256:36;88268:4;88274:3;88279:12;88256:11;:36::i;:::-;88309:8;88305:189;;;88351:6;;:78;;;;;;-1:-1:-1;;;;;88351:78:0;;;;;;;;;;;;;;;;88334:14;;88351:6;;;;;:11;;:78;;;;;;;;;;;;;;;88334:14;88351:6;:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;88351:78:0;;-1:-1:-1;88444:38:0;88455:4;88351:78;88469:12;88444:10;:38::i;:::-;88305:189;;88506:15;88524:69;88577:4;:15;;;88524:48;88567:4;88524:38;88540:4;:21;;;88524:4;:11;;;:15;;:38;;;;:::i;:48::-;:52;;:69::i;:::-;88506:87;-1:-1:-1;88608:11:0;;88604:82;;88636:38;88654:10;88666:7;88636:17;:38::i;:::-;88700:11;;88696:152;;88742:11;;:24;;88758:7;88742:15;:24::i;:::-;88728:38;;88781:12;;:55;;-1:-1:-1;;;;;88781:12:0;88815:10;88828:7;88781:25;:55::i;:::-;88892:21;;;;88876:11;;:48;;88919:4;;88876:38;;:15;:38::i;:48::-;88858:15;;;:66;88969:12;;88940:52;;;;;;;;-1:-1:-1;;;;;88969:12:0;;;;88949:10;;88940:52;;;;;;;;;;87826:1174;;;;;;;;:::o;83369:821::-;83583:7;83608:21;83632:26;83641:7;83650;83632:8;:26::i;:::-;-1:-1:-1;;;;;83693:20:0;;;83669:21;83693:20;;;:13;;;:20;;;;;;;;83753:21;;;;83804:12;;:37;;;;;83835:4;83804:37;;;;;;83608:50;;-1:-1:-1;83693:20:0;;83753:21;;83804:12;;;;;:22;;:37;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;83804:37:0;83871:20;;;;83804:37;;-1:-1:-1;83856:35:0;;:52;;;;-1:-1:-1;83895:13:0;;;83856:52;83852:249;;;83926:19;83953:45;83969:4;83975:8;83985:12;83953:15;:45::i;:::-;83925:73;;;;;;84032:57;84053:35;84079:8;84053:21;84069:4;84053:11;:15;;:21;;;;:::i;:35::-;84032:16;;:20;:57::i;:::-;84013:76;;83852:249;;84118:64;84166:4;:15;;;84118:43;84156:4;84118:33;84134:16;84118:4;:11;;;:15;;:33;;;;:::i;:64::-;84111:71;83369:821;-1:-1:-1;;;;;;;;;;83369:821:0:o;85964:1180::-;86178:21;86202:32;86217:7;86226;86202:14;:32::i;:::-;-1:-1:-1;;;;;86269:18:0;;86245:21;86269:18;;;:13;;;:18;;;;;86178:56;;-1:-1:-1;86344:36:0;86178:56;86362:3;86367:12;86344:11;:36::i;:::-;86397:8;86393:189;;;86439:6;;:78;;;;;;-1:-1:-1;;;;;86439:78:0;;;;;;;;;;;;;;;;86422:14;;86439:6;;;;;:11;;:78;;;;;;;;;;;;;;;86422:14;86439:6;:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86439:78:0;;-1:-1:-1;86532:38:0;86543:4;86439:78;86557:12;86532:10;:38::i;:::-;86393:189;;86598:11;;:15;86594:232;;86630:15;86648:69;86701:4;:15;;;86648:48;86691:4;86648:38;86664:4;:21;;;86648:4;:11;;;:15;;:38;;;;:::i;:69::-;86630:87;-1:-1:-1;86736:11:0;;86732:83;;86768:31;86786:3;86791:7;86768:17;:31::i;:::-;86594:232;;86842:11;;86838:162;;86870:12;;:65;;-1:-1:-1;;;;;86870:12:0;86900:10;86920:4;86927:7;86870:29;:65::i;:::-;86964:11;;:24;;86980:7;86964:15;:24::i;:::-;86950:38;;86838:162;87044:21;;;;87028:11;;:48;;87071:4;;87028:38;;:15;:38::i;:48::-;87010:15;;;:66;87113:12;;87092:44;;;;;;;;-1:-1:-1;;;;;87113:12:0;;;;87092:44;;;;;;;;;;;;;85964:1180;;;;;;;;:::o;72379:485::-;72586:10;;72571:12;:25;72563:74;;;;-1:-1:-1;;;72563:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72648:21;72672:32;72687:7;72696;72672:14;:32::i;:::-;72648:56;;72745:67;72800:11;72745:50;72775:4;:16;;:19;72792:1;72775:19;;;;;;;;;;;;72745:6;72752:1;72745:9;;;;;;;;;;;;;;;;;;:25;;;:29;;:50;;;;:::i;:::-;:54;;:67::i;:::-;72717:6;72724:1;72717:9;;;;;;;;;;;;;;;;:25;:9;;;;;:25;;;;:95;;;;72823:19;;;:16;;;;:19;;;;;:33;;;;-1:-1:-1;;;72379:485:0:o;91095:425::-;91270:5;;:58;;-1:-1:-1;;;;;91270:5:0;91293:10;91313:4;91320:7;91270:22;:58::i;:::-;91339:5;;:19;;;;;;;;;;;;;;-1:-1:-1;;;;;91339:5:0;;;;:10;;:19;;;;;:5;;:19;;;;;;;;:5;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91371:21;91395:32;91410:7;91419;91395:14;:32::i;:::-;91371:56;;91438:74;91449:4;91455:42;91492:4;91455:32;91467:19;;91455:7;:11;;:32;;;;:::i;:42::-;91499:12;82225:1079;82376:37;82388:5;82395:3;82400:12;82376:11;:37::i;:::-;82540:5;:21;;;82524:12;:37;82516:79;;;;;-1:-1:-1;;;82516:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;82630:6;:13;82672:20;;;;-1:-1:-1;;82630:17:0;;;;82608:19;;82672:30;;82697:4;82672:24;:30::i;:::-;82715:18;82736:30;;;:17;;;:30;;;;;;82658:44;;-1:-1:-1;82781:15:0;82777:253;;82906:112;83013:4;82906:102;82963:6;82970:11;82963:19;;;;;;;;;;;;;;;;;;;;;;;:44;-1:-1:-1;;82924:15:0;;82906:34;;:17;;;:34;;;;;;;;;:56;:102::i;:112::-;82893:125;;82777:253;83073:42;83088:26;83109:4;83088:16;:7;83100:3;83088:11;:16::i;83073:42::-;83040:30;;;;:17;;;:30;;;;;:75;83164:67;83204:26;83225:4;83204:16;:7;83216:3;83204:11;:16::i;:26::-;83164:6;83171:11;83164:19;;;;;;;;;;;;;;;;;;:35;;;:39;;:67;;;;:::i;:::-;83126:6;83133:11;83126:19;;;;;;;;;;;;;;;;;:35;:19;;;;;:35;:105;;;;83272:13;;83247:49;;;;;;;;-1:-1:-1;;;;;83272:13:0;;;;83252:10;;83247:49;;;;;;;;;;82225:1079;;;;;;:::o;6651:278::-;6737:7;6772:12;6765:5;6757:28;;;;-1:-1:-1;;;6757:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6796:9;6812:1;6808;:5;;;;;;;6651:278;-1:-1:-1;;;;;6651:278:0:o;81695:256::-;81782:6;:13;;-1:-1:-1;;81782:17:0;;;81845:12;;81782:17;;81814:19;;;;;;;;;;;;;;;;:28;;;:43;81810:134;;;81874:58;81889:6;81896:11;81889:19;;;;;;;;;;;;;;;;;;:28;;;81919:12;81874:14;:58::i;:::-;81695:256;;:::o;76968:3810::-;77323:21;;;;77373;;;;77737:6;:13;77141:19;;77323:21;77373;77141:19;;;;77373:21;;77141:19;;77373:21;77763:3008;77804:8;77796:5;:16;77763:3008;;;77842:10;77838:59;;77873:8;;77838:59;77913:16;77932:6;77939:5;77932:13;;;;;;;;;;;;;;;;;;:22;;;77913:41;;77984:12;77973:8;:23;77969:87;;;-1:-1:-1;78028:12:0;77969:87;78176:1;78159:18;;78215:5;78192:28;;78235:27;78265:6;78280:1;78272:5;:9;78265:17;;;;;;;;;;;;;;;;;;:33;;;78235:63;;78317:19;78340:1;78317:24;78313:2191;;78375:10;78388:1;78375:14;78366:5;:23;78362:117;;-1:-1:-1;;78449:9:0;;78431:28;;;;:17;;;:28;;;;;;;-1:-1:-1;78362:117:0;79228:19;79224:208;;79289:73;79357:4;79289:63;79309:6;79324:1;79316:5;:9;79309:17;;;;;;;79289:73;79272:90;;79408:4;79385:27;;79224:208;79452:19;79474:139;79593:19;79474:92;79551:14;79474:50;79494:15;79512:1;79494:19;79515:8;79474:19;:50::i;:139::-;79452:161;-1:-1:-1;79646:28:0;:11;79452:161;79646:15;:28::i;:::-;79632:42;;80186:4;80172:11;:18;:45;;;;;80203:10;80216:1;80203:14;80194:5;:23;;80172:45;:70;;;;;80241:1;80230:8;:12;80221:5;:21;;80172:70;80168:321;;;80285:12;80267:30;;80349:1;80338:8;:12;80320:30;;80396:5;80373:28;;80464:5;;;;;80168:321;78313:2191;;80536:8;80518:26;;80577:5;80559:23;;80615:14;80597:32;;80669:12;80650:15;:31;:68;;;-1:-1:-1;80710:8:0;80685:21;:5;80695:10;80685:9;:21::i;:::-;:33;;80650:68;80646:114;;;80739:5;;;;80646:114;77763:3008;;;77814:7;;77763:3008;;;;76968:3810;;;;;;;;;;;;:::o;4186:136::-;4244:7;4271:43;4275:1;4278;4271:43;;;;;;;;;;;;;;;;;:3;:43::i;62631:349::-;62706:14;62722;62767:6;-1:-1:-1;;;;;62757:16:0;:6;-1:-1:-1;;;;;62757:16:0;;;62749:66;;;;-1:-1:-1;;;62749:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62854:6;-1:-1:-1;;;;;62845:15:0;:6;-1:-1:-1;;;;;62845:15:0;;:53;;62883:6;62891;62845:53;;;62864:6;62872;62845:53;62826:72;;-1:-1:-1;62826:72:0;-1:-1:-1;;;;;;62917:20:0;;62909:63;;;;;-1:-1:-1;;;62909:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;62631:349;;;;;:::o;63072:478::-;63161:12;63187:14;63203;63221:26;63232:6;63240;63221:10;:26::i;:::-;63385:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63375:43;;;;;;63288:251;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63278:262;;;;;;;;;63072:478;-1:-1:-1;;;;;63072:478:0:o;62215:142::-;62267:6;62294;;;:30;;-1:-1:-1;;62309:5:0;;;62323:1;62318;62309:5;62318:1;62304:15;;;;;:20;62294:30;62286:63;;;;;-1:-1:-1;;;62286:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;17184:761;17608:23;17634:69;17662:4;17634:69;;;;;;;;;;;;;;;;;17642:5;-1:-1:-1;;;;;17634:27:0;;;:69;;;;;:::i;:::-;17718:17;;17608:95;;-1:-1:-1;17718:21:0;17714:224;;17860:10;17849:30;;;;;;;;;;;;;;;-1:-1:-1;17849:30:0;17841:85;;;;-1:-1:-1;;;17841:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89828:285;89924:5;;:30;;;;;;89948:4;89924:30;;;;;;89905:16;;-1:-1:-1;;;;;89924:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;89924:30:0;;-1:-1:-1;89969:18:0;;;89965:141;;;90004:5;;:29;;;;;;-1:-1:-1;;;;;90004:29:0;;;;;;;;;;;;;;;:5;;;;;:14;;:29;;;;;;;;;;;;;;:5;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;89965:141:0;;-1:-1:-1;89965:141:0;;90066:5;;:28;;;;;;-1:-1:-1;;;;;90066:28:0;;;;;;;;;;;;;;;:5;;;;;:14;;:28;;;;;;;;;;;;;;:5;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15064:205;15192:68;;;-1:-1:-1;;;;;15192:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15215:27;15192:68;;;15165:96;;15185:5;;15165:19;:96::i;:::-;15064:205;;;;:::o;80897:692::-;81047:6;:13;;-1:-1:-1;;81047:17:0;;;81025:19;;81047:17;;81105:19;;;;;;;;;;;;;;;;:35;;;81075:65;;81151:13;81167:24;;81151:40;;81204:32;;:::i;:::-;81239:229;;;;;;;;;;;;;;;81334:40;81369:4;81334:30;:19;81297:5;81334:23;:30::i;:40::-;81239:229;;;;81399:57;81424:17;;81408:13;:33;81443:12;81399:8;:57::i;:::-;81239:229;;81479:6;:21;;;;;;;;-1:-1:-1;81479:21:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81516:65;;81525:15;;;81516:65;;;;;;;;;;;;;;;;81204:264;;-1:-1:-1;81516:65:0;;;;;;;;;;80897:692;;;;;;:::o;4625:192::-;4711:7;4747:12;4739:6;;;;4731:29;;;;-1:-1:-1;;;4731:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4783:5:0;;;4625:192::o;11864:196::-;11967:12;11999:53;12022:6;12030:4;12036:1;12039:12;13371;13404:18;13415:6;13404:10;:18::i;:::-;13396:60;;;;;-1:-1:-1;;;13396:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13530:12;13544:23;13571:6;-1:-1:-1;;;;;13571:11:0;13591:8;13602:4;13571:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13529:78;;;;13622:7;13618:595;;;13653:10;-1:-1:-1;13646:17:0;;-1:-1:-1;13646:17:0;13618:595;13767:17;;:21;13763:439;;14030:10;14024:17;14091:15;14078:10;14074:2;14070:19;14063:44;13978:148;14166:20;;-1:-1:-1;;;14166:20:0;;;;;;;;;;;;;;;;;14173:12;;14166:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8946:422;9313:20;9352:8;;;8946:422::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://f8484ff41bc4f55ddbb4e8751a53bd6792519f6377de6451630d711c74132860

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.