ETH Price: $2,555.56 (+4.84%)

Contract

0xeeC92c01c5BA99620cC801F8c3D50Af7DdEffd49
 

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mass Update Pool...140739702022-01-25 9:29:48946 days ago1643102988IN
0xeeC92c01...7DdEffd49
0 ETH0.0170785256.67790548
Deposit2137826382021-12-11 7:59:58991 days ago1639209598IN
0xeeC92c01...7DdEffd49
0 ETH0.0107334154
Withdraw2135490222021-11-04 7:59:311028 days ago1636012771IN
0xeeC92c01...7DdEffd49
0 ETH0.02170184133.77291239
Deposit2135488442021-11-04 7:18:561028 days ago1636010336IN
0xeeC92c01...7DdEffd49
0 ETH0.01843565111.68792596
Withdraw2134952192021-10-26 20:55:141037 days ago1635281714IN
0xeeC92c01...7DdEffd49
0 ETH0.0248448194
Deposit2134952142021-10-26 20:53:211037 days ago1635281601IN
0xeeC92c01...7DdEffd49
0 ETH0.01852527131.7615538
Deposit1134747702021-10-23 16:08:271040 days ago1635005307IN
0xeeC92c01...7DdEffd49
0 ETH0.008727251.02406006
Withdraw1134031952021-10-12 10:53:011051 days ago1634035981IN
0xeeC92c01...7DdEffd49
0 ETH0.0079126759.56858898
Withdraw1133817992021-10-09 2:03:021055 days ago1633744982IN
0xeeC92c01...7DdEffd49
0 ETH0.02635586119.87293325
Withdraw1132410692021-09-17 4:23:521077 days ago1631852632IN
0xeeC92c01...7DdEffd49
0 ETH0.0127467478.8262
Withdraw1132407852021-09-17 3:14:371077 days ago1631848477IN
0xeeC92c01...7DdEffd49
0 ETH0.0129960369.9927244
Deposit1132348282021-09-16 5:18:491078 days ago1631769529IN
0xeeC92c01...7DdEffd49
0 ETH0.0096691354.86223469
Withdraw2132335372021-09-16 0:28:361078 days ago1631752116IN
0xeeC92c01...7DdEffd49
0 ETH0.0131616265.07150852
Withdraw2132081642021-09-12 2:10:471082 days ago1631412647IN
0xeeC92c01...7DdEffd49
0 ETH0.0059041833.11711037
Withdraw2132024802021-09-11 5:06:081083 days ago1631336768IN
0xeeC92c01...7DdEffd49
0 ETH0.0125151564.69015443
Withdraw2131250852021-08-30 5:49:021095 days ago1630302542IN
0xeeC92c01...7DdEffd49
0 ETH0.0153234176.48974407
Withdraw1131238412021-08-30 1:17:211095 days ago1630286241IN
0xeeC92c01...7DdEffd49
0 ETH0.0132364671.2876
Deposit1131235672021-08-30 0:13:251095 days ago1630282405IN
0xeeC92c01...7DdEffd49
0 ETH0.0126137582.5
Withdraw2131235452021-08-30 0:08:391095 days ago1630282119IN
0xeeC92c01...7DdEffd49
0 ETH0.0159841287.251
Deposit2131234172021-08-29 23:37:371095 days ago1630280257IN
0xeeC92c01...7DdEffd49
0 ETH0.0187944996
Withdraw2131184262021-08-29 5:08:051096 days ago1630213685IN
0xeeC92c01...7DdEffd49
0 ETH0.0113695952.3067
Withdraw1130872502021-08-24 9:39:531100 days ago1629797993IN
0xeeC92c01...7DdEffd49
0 ETH0.0065750736.7719
Withdraw2130802292021-08-23 7:31:311101 days ago1629703891IN
0xeeC92c01...7DdEffd49
0 ETH0.0090805744.9
Deposit1130666702021-08-21 5:04:551104 days ago1629522295IN
0xeeC92c01...7DdEffd49
0 ETH0.0038739225.33733882
Withdraw1130646672021-08-20 21:46:491104 days ago1629496009IN
0xeeC92c01...7DdEffd49
0 ETH0.0064706229.4284
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:
RoseMaster

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-12-13
*/

// 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/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/RoseToken.sol

pragma solidity 0.6.12;



// RoseToken with Governance.
contract RoseToken is ERC20("RoseToken", "ROSE"), Ownable {
    // @notice Creates `_amount` token to `_to`. Must only be called by the owner (RoseMain).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }
}

// File: contracts/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/RoseMaster.sol

pragma solidity 0.6.12;








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

    // 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 ROSEs
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accRosePerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accRosePerShare` (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 PoolInfo1 {
        IERC20 lpToken; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. ROSEs to distribute per block.
        uint256 lastRewardBlock; // Last block number that ROSEs distribution occurs.
        uint256 accRosePerShare; // Accumulated ROSEs per share, times 1e12. See below.
        // Lock LP, until the end of mining.
        uint256 totalAmount;
    }

    // Info of each pool.
    struct PoolInfo2 {
        uint256 allocPoint; // How many allocation points assigned to this pool. ROSEs to distribute per block.
        uint256 lastRewardBlock; // Last block number that ROSEs distribution occurs.
        uint256 accRosePerShare; // Accumulated ROSEs per share, times 1e12. See below.
        uint256 lastUnlockedBlock; // Last block number that pool to renovate.
        // Lock LP, until the pool update.
        uint256 lockedAmount;
        uint256 freeAmount;
        uint256 maxLockAmount;
        uint256 unlockIntervalBlock;
        uint256 feeAmount;
        uint256 sharedFeeAmount;
    }

    // Info of each period.
    struct PeriodInfo {
        uint256 endBlock;
        uint256 blockReward;
    }

    // The ROSE TOKEN!
    RoseToken public rose;
    // Dev address.
    address public devaddr;
    // Rank address .
    address public rankAddr;
    // Autonomous communities address.
    address public communityAddr;
    // Sunflower address.
    address public sfr;
    // UnisawpV2Pair SFR-ROSE.
    IUniswapV2Pair public sfr2rose;

    // Info of each pool.
    PoolInfo1[] public poolInfo1;
    // Info of each pool.
    PoolInfo2[] public poolInfo2;
    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo1;
    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo2;
    // Total allocation points. Must be the sum of all allocation points in all pool1s.
    uint256 public allocPointPool1 = 0;
    // Total allocation points. Must be the sum of all allocation points in all pool2s.
    uint256 public allocPointPool2 = 0;
    // The block number when ROSE mining starts.
    uint256 public startBlock;
    // User address to referrer address.
    mapping(address => address) public referrers;
    mapping(address => address[]) referreds1;
    mapping(address => address[]) referreds2;

    // Mint period info.
    PeriodInfo[] public periodInfo;

    event Deposit1(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw1(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw1(
        address indexed user,
        uint256 indexed pid,
        uint256 amount
    );
    event Deposit2(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw2(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw2(
        address indexed user,
        uint256 indexed pid,
        uint256 amount
    );

    constructor(
        RoseToken _rose,
        address _sfr,
        address _devaddr,
        address _topReferrer,
        uint256 _startBlock,
        uint256 _firstBlockReward,
        uint256 _supplyPeriod,
        uint256 _maxSupply
    ) public {
        rose = _rose;
        sfr = _sfr;
        devaddr = _devaddr;
        startBlock = _startBlock;

        // the block rewards and the block at the end of the period.
        uint256 _supplyPerPeriod = _maxSupply / _supplyPeriod;
        uint256 lastPeriodEndBlock = _startBlock;
        for (uint256 i = 0; i < _supplyPeriod; i++) {
            lastPeriodEndBlock = lastPeriodEndBlock.add(
                _supplyPerPeriod.div(_firstBlockReward) << i
            );
            periodInfo.push(
                PeriodInfo({
                    endBlock: lastPeriodEndBlock,
                    blockReward: _firstBlockReward >> i
                })
            );
        }

        referrers[_topReferrer] = _topReferrer;
    }

    function pool1Length() external view returns (uint256) {
        return poolInfo1.length;
    }

    function pool2Length() external view returns (uint256) {
        return poolInfo2.length;
    }

    function setStartBlock(uint256 _startBlock) public onlyOwner {
        require(block.number < startBlock);
        startBlock = _startBlock;
    }

    function setSfr2rose(address _sfr2rose) external onlyOwner {
        sfr2rose = IUniswapV2Pair(_sfr2rose);
    }

    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    function add1(
        uint256 _allocPoint,
        IERC20 _lpToken,
        bool _withUpdate
    ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePool1s();
        }
        uint256 firstBlock = block.number > startBlock
            ? block.number
            : startBlock;
        allocPointPool1 = allocPointPool1.add(_allocPoint);
        poolInfo1.push(
            PoolInfo1({
                lpToken: _lpToken,
                allocPoint: _allocPoint,
                lastRewardBlock: firstBlock,
                accRosePerShare: 0,
                totalAmount: 0
            })
        );
    }

    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    function add2(
        uint256 _allocPoint,
        bool _withUpdate,
        uint256 _maxLockAmount,
        uint256 _unlockIntervalBlock
    ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePool2s();
        }
        uint256 firstBlock = block.number > startBlock
            ? block.number
            : startBlock;
        allocPointPool2 = allocPointPool2.add(_allocPoint);
        poolInfo2.push(
            PoolInfo2({
                allocPoint: _allocPoint,
                lastRewardBlock: firstBlock,
                accRosePerShare: 0,
                lastUnlockedBlock: 0,
                lockedAmount: 0,
                freeAmount: 0,
                maxLockAmount: _maxLockAmount,
                unlockIntervalBlock: _unlockIntervalBlock,
                feeAmount: 0,
                sharedFeeAmount: 0
            })
        );
    }

    // Update the given pool's ROSE allocation point. Can only be called by the owner.
    function set1(
        uint256 _pid,
        uint256 _allocPoint,
        bool _withUpdate
    ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePool1s();
        }
        allocPointPool1 = allocPointPool1.sub(poolInfo1[_pid].allocPoint).add(
            _allocPoint
        );
        poolInfo1[_pid].allocPoint = _allocPoint;
    }

    // Update the given pool's ROSE allocation point. Can only be called by the owner.
    function set2(
        uint256 _pid,
        uint256 _allocPoint,
        bool _withUpdate
    ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePool2s();
        }
        allocPointPool2 = allocPointPool2.sub(poolInfo2[_pid].allocPoint).add(
            _allocPoint
        );
        poolInfo2[_pid].allocPoint = _allocPoint;
    }

    function setMaxLockAmount(uint256 _pid, uint256 _maxLockAmount)
        external
        onlyOwner
    {
        poolInfo2[_pid].maxLockAmount = _maxLockAmount;
    }

    function setUnlockIntervalBlock(uint256 _pid, uint256 _unlockIntervalBlock)
        external
        onlyOwner
    {
        poolInfo2[_pid].unlockIntervalBlock = _unlockIntervalBlock;
    }

    function getBlockRewardNow() public view returns (uint256) {
        return getBlockRewards(block.number, block.number + 1);
    }

    function getBlockRewards(uint256 from, uint256 to)
        public
        view
        returns (uint256 rewards)
    {
        if (from < startBlock) {
            from = startBlock;
        }
        if (from >= to) {
            return 0;
        }

        for (uint256 i = 0; i < periodInfo.length; i++) {
            if (periodInfo[i].endBlock >= to) {
                return to.sub(from).mul(periodInfo[i].blockReward).add(rewards);
            } else if (periodInfo[i].endBlock <= from) {
                continue;
            } else {
                rewards = rewards.add(
                    periodInfo[i].endBlock.sub(from).mul(
                        periodInfo[i].blockReward
                    )
                );
                from = periodInfo[i].endBlock;
            }
        }
    }

    // View function to see pending ROSEs on frontend.
    function pendingRose1(uint256 _pid, address _user)
        public
        view
        returns (uint256)
    {
        PoolInfo1 storage pool = poolInfo1[_pid];
        UserInfo storage user = userInfo1[_pid][_user];
        uint256 accRosePerShare = pool.accRosePerShare;
        uint256 lpSupply = pool.totalAmount;
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 blockRewards = getBlockRewards(
                pool.lastRewardBlock,
                block.number
            );
            // pool1 hold 70% rewards.
            blockRewards = blockRewards.mul(7).div(10);
            uint256 roseReward = blockRewards.mul(pool.allocPoint).div(
                allocPointPool1
            );
            accRosePerShare = accRosePerShare.add(
                roseReward.mul(1e12).div(lpSupply)
            );
        }
        return user.amount.mul(accRosePerShare).div(1e12).sub(user.rewardDebt);
    }

    // View function to see pending ROSEs on frontend.
    function pendingRose2(uint256 _pid, address _user)
        public
        view
        returns (uint256)
    {
        PoolInfo2 storage pool = poolInfo2[_pid];
        UserInfo storage user = userInfo2[_pid][_user];
        uint256 accRosePerShare = pool.accRosePerShare;
        uint256 lpSupply = pool.lockedAmount.add(pool.freeAmount);
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 blockRewards = getBlockRewards(
                pool.lastRewardBlock,
                block.number
            );
            // pool2 hold 30% rewards.
            blockRewards = blockRewards.mul(3).div(10);
            uint256 roseReward = blockRewards.mul(pool.allocPoint).div(
                allocPointPool2
            );
            accRosePerShare = accRosePerShare.add(
                roseReward.mul(1e12).div(lpSupply)
            );
        }
        return user.amount.mul(accRosePerShare).div(1e12).sub(user.rewardDebt);
    }

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

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

    // Update reward variables of the given pool to be up-to-date.
    function updatePool1(uint256 _pid) public {
        PoolInfo1 storage pool = poolInfo1[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.totalAmount;
        if (lpSupply == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 blockRewards = getBlockRewards(
            pool.lastRewardBlock,
            block.number
        );
        // pool1 hold 70% rewards.
        blockRewards = blockRewards.mul(7).div(10);
        uint256 roseReward = blockRewards.mul(pool.allocPoint).div(
            allocPointPool1
        );
        rose.mint(devaddr, roseReward.div(10));
        if (rankAddr != address(0)) {
            rose.mint(rankAddr, roseReward.mul(9).div(100));
        }
        if (communityAddr != address(0)) {
            rose.mint(communityAddr, roseReward.div(100));
        }
        rose.mint(address(this), roseReward);
        pool.accRosePerShare = pool.accRosePerShare.add(
            roseReward.mul(1e12).div(lpSupply)
        );
        pool.lastRewardBlock = block.number;
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool2(uint256 _pid) public {
        PoolInfo2 storage pool = poolInfo2[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lockedAmount.add(pool.freeAmount);
        if (lpSupply == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 blockRewards = getBlockRewards(
            pool.lastRewardBlock,
            block.number
        );
        // pool2 hold 30% rewards
        blockRewards = blockRewards.mul(3).div(10);
        uint256 roseReward = blockRewards.mul(pool.allocPoint).div(
            allocPointPool2
        );
        rose.mint(devaddr, roseReward.div(10));
        if (rankAddr != address(0)) {
            rose.mint(rankAddr, roseReward.mul(9).div(100));
        }
        if (communityAddr != address(0)) {
            rose.mint(communityAddr, roseReward.div(100));
        }
        rose.mint(address(this), roseReward);
        pool.accRosePerShare = pool.accRosePerShare.add(
            roseReward.mul(1e12).div(lpSupply)
        );
        pool.lastRewardBlock = block.number;
    }

    // Deposit LP tokens to RoseMain for ROSE allocation.
    function deposit1(uint256 _pid, uint256 _amount) public {
        PoolInfo1 storage pool = poolInfo1[_pid];
        UserInfo storage user = userInfo1[_pid][msg.sender];
        updatePool1(_pid);
        if (user.amount > 0) {
            uint256 pending = user.amount
                .mul(pool.accRosePerShare)
                .div(1e12)
                .sub(user.rewardDebt);
            if (pending > 0) {
                safeRoseTransfer(msg.sender, pending);
                mintReferralReward(pending);
            }
        }
        if (_amount > 0) {
            pool.lpToken.safeTransferFrom(
                address(msg.sender),
                address(this),
                _amount
            );
            user.amount = user.amount.add(_amount);
            pool.totalAmount = pool.totalAmount.add(_amount);
        }
        user.rewardDebt = user.amount.mul(pool.accRosePerShare).div(1e12);
        emit Deposit1(msg.sender, _pid, _amount);
    }

    // Deposit LP tokens to RoseMaster for ROSE allocation.
    function deposit2(uint256 _pid, uint256 _amount) public {
        PoolInfo2 storage pool = poolInfo2[_pid];
        UserInfo storage user = userInfo2[_pid][msg.sender];
        updatePool2(_pid);
        if (user.amount > 0) {
            uint256 pending = user.amount
                .mul(pool.accRosePerShare)
                .div(1e12)
                .sub(user.rewardDebt);
            if (pending > 0) {
                safeRoseTransfer(msg.sender, pending);
                mintReferralReward(pending);
            }
        }
        if (_amount > 0) {
            _safeTransferFrom(sfr, address(msg.sender), address(this), _amount);
            user.amount = user.amount.add(_amount);
            pool.lockedAmount = pool.lockedAmount.add(_amount);
        }
        updateLockedAmount(pool);
        user.rewardDebt = user.amount.mul(pool.accRosePerShare).div(1e12);
        emit Deposit2(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from RoseMain.
    function withdraw1(uint256 _pid, uint256 _amount) public {
        PoolInfo1 storage pool = poolInfo1[_pid];
        UserInfo storage user = userInfo1[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool1(_pid);
        uint256 pending = user.amount.mul(pool.accRosePerShare).div(1e12).sub(
            user.rewardDebt
        );
        if (pending > 0) {
            safeRoseTransfer(msg.sender, pending);
            mintReferralReward(pending);
        }
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.totalAmount = pool.totalAmount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accRosePerShare).div(1e12);
        emit Withdraw1(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from RoseMaster.
    function withdraw2(uint256 _pid, uint256 _amount) public {
        UserInfo storage user = userInfo2[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        PoolInfo2 storage pool = poolInfo2[_pid];
        updateLockedAmount(pool);
        require(
            _amount <= pool.freeAmount,
            "withdraw: insufficient free balance in pool"
        );
        updatePool2(_pid);
        uint256 pending = user.amount.mul(pool.accRosePerShare).div(1e12).sub(
            user.rewardDebt
        );
        if (pending > 0) {
            safeRoseTransfer(msg.sender, pending);
            mintReferralReward(pending);
        }
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.freeAmount = pool.freeAmount.sub(_amount);
            // reduce the fee of 0.3%
            uint256 fee = _amount.mul(3).div(1000);
            pool.feeAmount = pool.feeAmount.add(fee);
            _safeTransfer(sfr, address(msg.sender), _amount.sub(fee));
        }
        user.rewardDebt = user.amount.mul(pool.accRosePerShare).div(1e12);
        emit Withdraw2(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw1(uint256 _pid) public {
        PoolInfo1 storage pool = poolInfo1[_pid];
        UserInfo storage user = userInfo1[_pid][msg.sender];
        uint256 amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;
        pool.lpToken.safeTransfer(address(msg.sender), amount);
        emit EmergencyWithdraw1(msg.sender, _pid, amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw2(uint256 _pid) public {
        PoolInfo2 storage pool = poolInfo2[_pid];
        UserInfo storage user = userInfo2[_pid][msg.sender];
        require(user.amount <= pool.freeAmount);
        _safeTransfer(sfr, address(msg.sender), user.amount);
        emit EmergencyWithdraw2(msg.sender, _pid, user.amount);
        user.amount = 0;
        user.rewardDebt = 0;
    }

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

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

    // Update dev address by the owner.
    function rank(address _addr) public onlyOwner {
        rankAddr = _addr;
    }

    // Update dev address by the owner.
    function community(address _addr) public onlyOwner {
        communityAddr = _addr;
    }

    // Fill _user in as referrer.
    function refer(address _user) external {
        require(_user != msg.sender && referrers[_user] != address(0));
        // No modification.
        require(referrers[msg.sender] == address(0));
        referrers[msg.sender] = _user;
        // Record two levels of refer relationship。
        referreds1[_user].push(msg.sender);
        address referrer2 = referrers[_user];
        if (_user != referrer2) {
            referreds2[referrer2].push(msg.sender);
        }
    }

    // Query the first referred user.
    function getReferreds1(address addr, uint256 startPos)
        external
        view
        returns (uint256 length, address[] memory data)
    {
        address[] memory referreds = referreds1[addr];
        length = referreds.length;
        data = new address[](length);
        for (uint256 i = 0; i < 5 && i + startPos < length; i++) {
            data[i] = referreds[startPos + i];
        }
    }

    // Query the second referred user.
    function getReferreds2(address addr, uint256 startPos)
        external
        view
        returns (uint256 length, address[] memory data)
    {
        address[] memory referreds = referreds2[addr];
        length = referreds.length;
        data = new address[](length);
        for (uint256 i = 0; i < 5 && i + startPos < length; i++) {
            data[i] = referreds[startPos + i];
        }
    }

    // Query user all rewards
    function allPendingRose(address _user)
        external
        view
        returns (uint256 pending)
    {
        for (uint256 i = 0; i < poolInfo1.length; i++) {
            pending = pending.add(pendingRose1(i, _user));
        }
        for (uint256 i = 0; i < poolInfo2.length; i++) {
            pending = pending.add(pendingRose2(i, _user));
        }
    }

    // Mint for referrers.
    function mintReferralReward(uint256 _amount) internal {
        address referrer = referrers[msg.sender];
        // no referrer.
        if (address(0) == referrer) {
            return;
        }
        // mint for user and the first level referrer.
        rose.mint(msg.sender, _amount.div(100));
        rose.mint(referrer, _amount.mul(2).div(100));

        // only the referrer of the top person is himself.
        if (referrers[referrer] == referrer) {
            return;
        }
        // mint for the second level referrer.
        rose.mint(referrers[referrer], _amount.mul(2).div(100));
    }

    // Update the locked amount that meet the conditions
    function updateLockedAmount(PoolInfo2 storage pool) internal {
        uint256 passedBlock = block.number - pool.lastUnlockedBlock;
        if (passedBlock >= pool.unlockIntervalBlock) {
            // case 2 and more than 2 period have passed.
            pool.lastUnlockedBlock = pool.lastUnlockedBlock.add(
                pool.unlockIntervalBlock.mul(
                    passedBlock.div(pool.unlockIntervalBlock)
                )
            );
            uint256 lockedAmount = pool.lockedAmount;
            pool.lockedAmount = 0;
            pool.freeAmount = pool.freeAmount.add(lockedAmount);
        } else if (pool.lockedAmount >= pool.maxLockAmount) {
            // Free 75% to freeAmont from lockedAmount.
            uint256 freeAmount = pool.lockedAmount.mul(75).div(100);
            pool.lockedAmount = pool.lockedAmount.sub(freeAmount);
            pool.freeAmount = pool.freeAmount.add(freeAmount);
        }
    }

    // Using feeAmount to buy back ROSE and share every holder.
    function convert(uint256 _pid) external {
        PoolInfo2 storage pool = poolInfo2[_pid];
        uint256 lpSupply = pool.freeAmount.add(pool.lockedAmount);
        if (address(sfr2rose) != address(0) && pool.feeAmount > 0) {
            uint256 amountOut = swapSFRForROSE(pool.feeAmount);
            if (amountOut > 0) {
                pool.feeAmount = 0;
                pool.sharedFeeAmount = pool.sharedFeeAmount.add(amountOut);
                pool.accRosePerShare = pool.accRosePerShare.add(
                    amountOut.mul(1e12).div(lpSupply)
                );
            }
        }
    }

    function swapSFRForROSE(uint256 _amount)
        internal
        returns (uint256 amountOut)
    {
        (uint256 reserve0, uint256 reserve1, ) = sfr2rose.getReserves();
        address token0 = sfr2rose.token0();
        (uint256 reserveIn, uint256 reserveOut) = token0 == sfr
            ? (reserve0, reserve1)
            : (reserve1, reserve0);
        // Calculate information required to swap
        uint256 amountInWithFee = _amount.mul(997);
        uint256 numerator = amountInWithFee.mul(reserveOut);
        uint256 denominator = reserveIn.mul(1000).add(amountInWithFee);
        amountOut = numerator / denominator;
        if (amountOut == 0) {
            return 0;
        }
        (uint256 amount0Out, uint256 amount1Out) = token0 == sfr
            ? (uint256(0), amountOut)
            : (amountOut, uint256(0));
        _safeTransfer(sfr, address(sfr2rose), _amount);
        sfr2rose.swap(amount0Out, amount1Out, address(this), new bytes(0));
    }

    // Wrapper for safeTransferFrom
    function _safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 amount
    ) internal {
        IERC20(token).safeTransferFrom(from, to, amount);
    }

    // Wrapper for safeTransfer
    function _safeTransfer(
        address token,
        address to,
        uint256 amount
    ) internal {
        IERC20(token).safeTransfer(to, amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract RoseToken","name":"_rose","type":"address"},{"internalType":"address","name":"_sfr","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"address","name":"_topReferrer","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_firstBlockReward","type":"uint256"},{"internalType":"uint256","name":"_supplyPeriod","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit1","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit2","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw1","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw2","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":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw1","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw2","type":"event"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint256","name":"_maxLockAmount","type":"uint256"},{"internalType":"uint256","name":"_unlockIntervalBlock","type":"uint256"}],"name":"add2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"allPendingRose","outputs":[{"internalType":"uint256","name":"pending","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allocPointPool1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allocPointPool2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"community","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"communityAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"convert","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit2","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":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getBlockRewardNow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"from","type":"uint256"},{"internalType":"uint256","name":"to","type":"uint256"}],"name":"getBlockRewards","outputs":[{"internalType":"uint256","name":"rewards","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"startPos","type":"uint256"}],"name":"getReferreds1","outputs":[{"internalType":"uint256","name":"length","type":"uint256"},{"internalType":"address[]","name":"data","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"startPos","type":"uint256"}],"name":"getReferreds2","outputs":[{"internalType":"uint256","name":"length","type":"uint256"},{"internalType":"address[]","name":"data","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePool1s","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePool2s","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingRose1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingRose2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"periodInfo","outputs":[{"internalType":"uint256","name":"endBlock","type":"uint256"},{"internalType":"uint256","name":"blockReward","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pool1Length","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pool2Length","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo1","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accRosePerShare","type":"uint256"},{"internalType":"uint256","name":"totalAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo2","outputs":[{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accRosePerShare","type":"uint256"},{"internalType":"uint256","name":"lastUnlockedBlock","type":"uint256"},{"internalType":"uint256","name":"lockedAmount","type":"uint256"},{"internalType":"uint256","name":"freeAmount","type":"uint256"},{"internalType":"uint256","name":"maxLockAmount","type":"uint256"},{"internalType":"uint256","name":"unlockIntervalBlock","type":"uint256"},{"internalType":"uint256","name":"feeAmount","type":"uint256"},{"internalType":"uint256","name":"sharedFeeAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"rank","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rankAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"refer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"referrers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rose","outputs":[{"internalType":"contract RoseToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_maxLockAmount","type":"uint256"}],"name":"setMaxLockAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sfr2rose","type":"address"}],"name":"setSfr2rose","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"name":"setStartBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_unlockIntervalBlock","type":"uint256"}],"name":"setUnlockIntervalBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sfr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sfr2rose","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo1","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo2","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw2","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600b556000600c553480156200001b57600080fd5b5060405162003b6838038062003b6883398181016040526101008110156200004257600080fd5b508051602082015160408301516060840151608085015160a086015160c087015160e09097015195969495939492939192909160006200008162000222565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b03808b166001600160a01b031992831617909255600580548a84169083161790556002805492891692909116919091179055600d84905560008282816200011957fe5b0490508460005b84811015620001e7576200015f816200014888866200022660201b62002a621790919060201c565b901b836200027760201b62002aab1790919060201c565b6040805180820190915281815287831c60208201908152601180546001808201835560009290925292517f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c6860029094029384015590517f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c69909201919091559092500162000120565b5050506001600160a01b039094166000818152600e6020526040902080546001600160a01b0319169091179055506200037995505050505050565b3390565b60006200027083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620002d260201b60201c565b9392505050565b60008282018381101562000270576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008183620003625760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620003265781810151838201526020016200030c565b50505050905090810190601f168015620003545780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816200036f57fe5b0495945050505050565b6137df80620003896000396000f3fe608060405234801561001057600080fd5b50600436106102d65760003560e01c806384a76be911610182578063b80c3b6e116100e9578063cf622e33116100a2578063ea3713461161007c578063ea37134614610900578063f2fde38b14610908578063f35e4a6e1461092e578063f8f88dc21461094b576102d6565b8063cf622e33146108af578063d49e77cd146108d2578063e875cb0c146108da576102d6565b8063b80c3b6e146107d9578063bd75a423146107ff578063c0da73f814610851578063c5ba3a2b1461087c578063c6ff073814610884578063cf518e111461088c576102d6565b806397344f8e1161013b57806397344f8e146107415780639f782d9214610749578063a3908e1b1461077a578063a4d8008614610797578063a4fae672146107b4578063a664d02c146107bc576102d6565b806384a76be9146106905780638d88a90e146106985780638da5cb5b146106be5780638f8f24ea146106c65780639042d7bb146106e9578063953d074214610715576102d6565b80635f2086811161024157806376b46aa1116101fa5780637c1a842b116101d45780637c1a842b146105f05780637cb49539146105f85780637f6064ea1461060057806383614a771461066d576102d6565b806376b46aa114610590578063797183a1146105bc578063798915f0146105c4576102d6565b80635f20868114610493578063666dffbc146104b95780636ace7c9b146104c15780636df02c6a146104de578063715018a614610565578063765c95241461056d576102d6565b80633860af92116102935780633860af921461039a578063481b8cf5146103df57806348cd4cb1146104025780634a3b68cc1461041c578063520cb1ef1461044257806359fbfd4814610476576102d6565b80630fcfb24a146102db57806311c4d4f41461030857806314a0f1ea1461032c5780631d509afd14610349578063277c18a71461036f5780633003bb0514610377575b600080fd5b610306600480360360608110156102f157600080fd5b50803590602081013590604001351515610971565b005b610310610a42565b604080516001600160a01b039092168252519081900360200190f35b6103066004803603602081101561034257600080fd5b5035610a51565b6103066004803603602081101561035f57600080fd5b50356001600160a01b0316610d5a565b610306610e5c565b6103066004803603604081101561038d57600080fd5b5080359060200135610e7b565b6103c6600480360360408110156103b057600080fd5b50803590602001356001600160a01b0316610ff1565b6040805192835260208301919091528051918290030190f35b610306600480360360408110156103f557600080fd5b5080359060200135611015565b61040a611094565b60408051918252519081900360200190f35b6103106004803603602081101561043257600080fd5b50356001600160a01b031661109a565b6103066004803603606081101561045857600080fd5b508035906001600160a01b03602082013516906040013515156110b5565b6103066004803603602081101561048c57600080fd5b503561125d565b610306600480360360208110156104a957600080fd5b50356001600160a01b0316611308565b61040a611382565b610306600480360360208110156104d757600080fd5b5035611396565b61050a600480360360408110156104f457600080fd5b506001600160a01b038135169060200135611432565b6040518083815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015610550578181015183820152602001610538565b50505050905001935050505060405180910390f35b610306611552565b6103066004803603604081101561058357600080fd5b50803590602001356115f4565b6103c6600480360360408110156105a657600080fd5b50803590602001356001600160a01b0316611673565b61040a611697565b61050a600480360360408110156105da57600080fd5b506001600160a01b03813516906020013561169d565b61040a6117b4565b6103106117ba565b61061d6004803603602081101561061657600080fd5b50356117c9565b604080519a8b5260208b0199909952898901979097526060890195909552608088019390935260a087019190915260c086015260e085015261010084015261012083015251908190036101400190f35b6103066004803603604081101561068357600080fd5b508035906020013561182a565b610306611a1d565b610306600480360360208110156106ae57600080fd5b50356001600160a01b0316611a3c565b610310611aa9565b610306600480360360408110156106dc57600080fd5b5080359060200135611ab8565b61040a600480360360408110156106ff57600080fd5b50803590602001356001600160a01b0316611be7565b61040a6004803603604081101561072b57600080fd5b50803590602001356001600160a01b0316611ce9565b610310611da4565b6103066004803603608081101561075f57600080fd5b50803590602081013515159060408101359060600135611db3565b6103066004803603602081101561079057600080fd5b5035612023565b6103c6600480360360208110156107ad57600080fd5b50356120e5565b61040a612110565b610306600480360360208110156107d257600080fd5b5035612116565b610306600480360360208110156107ef57600080fd5b50356001600160a01b03166123fe565b61081c6004803603602081101561081557600080fd5b5035612478565b604080516001600160a01b03909616865260208601949094528484019290925260608401526080830152519081900360a00190f35b6103066004803603606081101561086757600080fd5b508035906020810135906040013515156124c0565b61031061257e565b61031061258d565b61040a600480360360408110156108a257600080fd5b508035906020013561259c565b610306600480360360408110156108c557600080fd5b50803590602001356126e7565b610310612820565b61040a600480360360208110156108f057600080fd5b50356001600160a01b031661282f565b61040a61287f565b6103066004803603602081101561091e57600080fd5b50356001600160a01b0316612885565b6103066004803603602081101561094457600080fd5b503561297d565b6103066004803603602081101561096157600080fd5b50356001600160a01b03166129e8565b610979612b05565b6000546001600160a01b039081169116146109c9576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b80156109d7576109d7610e5c565b610a1482610a0e600786815481106109eb57fe5b906000526020600020906005020160010154600b54612b0990919063ffffffff16565b90612aab565b600b819055508160078481548110610a2857fe5b906000526020600020906005020160010181905550505050565b6004546001600160a01b031681565b600060088281548110610a6057fe5b90600052602060002090600a0201905080600101544311610a815750610d57565b6000610a9e82600501548360040154612aab90919063ffffffff16565b905080610ab2575043600190910155610d57565b6000610ac283600101544361259c565b9050610ada600a610ad4836003612b4b565b90612a62565b90506000610afb600c54610ad4866000015485612b4b90919063ffffffff16565b6001546002549192506001600160a01b03908116916340c10f199116610b2284600a612a62565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610b6857600080fd5b505af1158015610b7c573d6000803e3d6000fd5b50506003546001600160a01b0316159150610c1b9050576001546003546001600160a01b03918216916340c10f199116610bbc6064610ad4866009612b4b565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610c0257600080fd5b505af1158015610c16573d6000803e3d6000fd5b505050505b6004546001600160a01b031615610caf576001546004546001600160a01b03918216916340c10f199116610c50846064612a62565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610c9657600080fd5b505af1158015610caa573d6000803e3d6000fd5b505050505b600154604080516340c10f1960e01b81523060048201526024810184905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b158015610d0257600080fd5b505af1158015610d16573d6000803e3d6000fd5b50505050610d44610d3984610ad464e8d4a5100085612b4b90919063ffffffff16565b600286015490612aab565b6002850155505043600190920191909155505b50565b6001600160a01b0381163314801590610d8c57506001600160a01b038181166000908152600e60205260409020541615155b610d9557600080fd5b336000908152600e60205260409020546001600160a01b031615610db857600080fd5b336000818152600e6020818152604080842080546001600160a01b03199081166001600160a01b03898116918217909355808752600f855283872080546001810182559088528588200180549092169097179055858552929091529091205416908114610e58576001600160a01b03811660009081526010602090815260408220805460018101825590835291200180546001600160a01b031916331790555b5050565b60075460005b81811015610e5857610e7381612116565b600101610e62565b600060078381548110610e8a57fe5b600091825260208083208684526009825260408085203386529092529220805460059092029092019250831115610efd576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b610f0684612116565b6000610f3a8260010154610f3464e8d4a51000610ad487600301548760000154612b4b90919063ffffffff16565b90612b09565b90508015610f5557610f4c3382612ba4565b610f5581612d34565b8315610f93578154610f679085612b09565b82556004830154610f789085612b09565b60048401558254610f93906001600160a01b03163386612f18565b60038301548254610fae9164e8d4a5100091610ad491612b4b565b6001830155604080518581529051869133917ff3184301b3e337dfbeb9976020a7a5c2b619e9bbed16496592d144621652472d9181900360200190a35050505050565b60096020908152600092835260408084209091529082529020805460019091015482565b61101d612b05565b6000546001600160a01b0390811691161461106d576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b806008838154811061107b57fe5b90600052602060002090600a0201600701819055505050565b600d5481565b600e602052600090815260409020546001600160a01b031681565b6110bd612b05565b6000546001600160a01b0390811691161461110d576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b801561111b5761111b610e5c565b6000600d54431161112e57600d54611130565b435b600b549091506111409085612aab565b600b556040805160a0810182526001600160a01b039485168152602081019586529081019182526000606082018181526080830182815260078054600181018255935292517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600590930292830180546001600160a01b031916919097161790955594517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68986015590517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a85015591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b84015550517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68c90910155565b60006008828154811061126c57fe5b60009182526020808320858452600a80835260408086203387529093529190932091029091016005810154825491935010156112a757600080fd5b60055481546112c1916001600160a01b0316903390612f6a565b80546040805191825251849133917fad256e873654cca1780c15c59cb8f8775e51d6a7dbb5df79ea7e76a7c9a8d9e19181900360200190a360008082556001909101555050565b611310612b05565b6000546001600160a01b03908116911614611360576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000611391434360010161259c565b905090565b6000600782815481106113a557fe5b6000918252602080832085845260098252604080852033808752935284208054858255600182019590955560059093020180549094509192916113f5916001600160a01b03919091169083612f18565b604080518281529051859133917fd071e2162c250a8c322c588108a9e830b725bcf1096beec789670406b1c2f9bf9181900360200190a350505050565b6001600160a01b0382166000908152600f602090815260408083208054825181850281018501909352808352606093849392919083018282801561149f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611481575b50505050509050805192508267ffffffffffffffff811180156114c157600080fd5b506040519080825280602002602001820160405280156114eb578160200160208202803683370190505b50915060005b600581108015611502575083858201105b1561154957818186018151811061151557fe5b602002602001015183828151811061152957fe5b6001600160a01b03909216602092830291909101909101526001016114f1565b50509250929050565b61155a612b05565b6000546001600160a01b039081169116146115aa576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6115fc612b05565b6000546001600160a01b0390811691161461164c576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b806008838154811061165a57fe5b90600052602060002090600a0201600601819055505050565b600a6020908152600092835260408084209091529082529020805460019091015482565b600c5481565b6001600160a01b03821660009081526010602090815260408083208054825181850281018501909352808352606093849392919083018282801561170a57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116116ec575b50505050509050805192508267ffffffffffffffff8111801561172c57600080fd5b50604051908082528060200260200182016040528015611756578160200160208202803683370190505b50915060005b60058110801561176d575083858201105b1561154957818186018151811061178057fe5b602002602001015183828151811061179457fe5b6001600160a01b039092166020928302919091019091015260010161175c565b60075490565b6005546001600160a01b031681565b600881815481106117d657fe5b90600052602060002090600a0201600091509050806000015490806001015490806002015490806003015490806004015490806005015490806006015490806007015490806008015490806009015490508a565b6000828152600a602090815260408083203384529091529020805482111561188e576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b60006008848154811061189d57fe5b90600052602060002090600a020190506118b681612f7e565b80600501548311156118f95760405162461bcd60e51b815260040180806020018281038252602b815260200180613714602b913960400191505060405180910390fd5b61190284610a51565b60006119308360010154610f3464e8d4a51000610ad486600201548860000154612b4b90919063ffffffff16565b9050801561194b576119423382612ba4565b61194b81612d34565b83156119bf57825461195d9085612b09565b8355600582015461196e9085612b09565b600583015560006119866103e8610ad4876003612b4b565b60088401549091506119989082612aab565b60088401556005546119bd906001600160a01b0316336119b88885612b09565b612f6a565b505b600282015483546119da9164e8d4a5100091610ad491612b4b565b6001840155604080518581529051869133917f811c17f4256972cec4c2174cf0856a4fb0627b8a0b1b4f7713daa819ffa8d51d9181900360200190a35050505050565b60085460005b81811015610e5857611a3481610a51565b600101611a23565b6002546001600160a01b03163314611a87576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b600060078381548110611ac757fe5b60009182526020808320868452600982526040808520338652909252922060059091029091019150611af884612116565b805415611b4a576000611b2d8260010154610f3464e8d4a51000610ad487600301548760000154612b4b90919063ffffffff16565b90508015611b4857611b3f3382612ba4565b611b4881612d34565b505b8215611b8a578154611b67906001600160a01b031633308661304f565b8054611b739084612aab565b81556004820154611b849084612aab565b60048301555b60038201548154611ba59164e8d4a5100091610ad491612b4b565b6001820155604080518481529051859133917f338a4880216a71995559f67d34c05cc62597c867bbab18b3b1524f7c79f864549181900360200190a350505050565b60008060078481548110611bf757fe5b600091825260208083208784526009825260408085206001600160a01b03891686529092529220600360059092029092019081015460048201546002830154929450909143118015611c4857508015155b15611cb4576000611c5d85600201544361259c565b9050611c6f600a610ad4836007612b4b565b90506000611c90600b54610ad4886001015485612b4b90919063ffffffff16565b9050611caf611ca884610ad48464e8d4a51000612b4b565b8590612aab565b935050505b611cdc8360010154610f3464e8d4a51000610ad4868860000154612b4b90919063ffffffff16565b9450505050505b92915050565b60008060088481548110611cf957fe5b60009182526020808320878452600a80835260408086206001600160a01b038a1687529093529184209290910201600281015460058201546004830154929550929390929091611d4891612aab565b9050836001015443118015611d5c57508015155b15611cb4576000611d7185600101544361259c565b9050611d83600a610ad4836003612b4b565b90506000611c90600c54610ad4886000015485612b4b90919063ffffffff16565b6006546001600160a01b031681565b611dbb612b05565b6000546001600160a01b03908116911614611e0b576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b8215611e1957611e19611a1d565b6000600d544311611e2c57600d54611e2e565b435b600c54909150611e3e9086612aab565b600c556040805161014081018252958652602086019182526000908601818152606087018281526080880183815260a0890184815260c08a0197885260e08a019687526101008a018581526101208b018681526008805460018101825597529a517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3600a9097029687015595517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee486015592517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee585015590517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee6840155517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee7830155517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee882015592517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee984015590517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636eea830155517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636eeb82015591517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636eec9092019190915550565b60006008828154811061203257fe5b90600052602060002090600a02019050600061205f82600401548360050154612aab90919063ffffffff16565b6006549091506001600160a01b031615801590612080575060008260080154115b156120e057600061209483600801546130a9565b905080156120de576000600884015560098301546120b29082612aab565b60098401556120d86120cd83610ad48464e8d4a51000612b4b565b600285015490612aab565b60028401555b505b505050565b601181815481106120f257fe5b60009182526020909120600290910201805460019091015490915082565b60085490565b60006007828154811061212557fe5b90600052602060002090600502019050806002015443116121465750610d57565b60048101548061215d575043600290910155610d57565b600061216d83600201544361259c565b905061217f600a610ad4836007612b4b565b905060006121a0600b54610ad4866001015485612b4b90919063ffffffff16565b6001546002549192506001600160a01b03908116916340c10f1991166121c784600a612a62565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561220d57600080fd5b505af1158015612221573d6000803e3d6000fd5b50506003546001600160a01b03161591506122c09050576001546003546001600160a01b03918216916340c10f1991166122616064610ad4866009612b4b565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156122a757600080fd5b505af11580156122bb573d6000803e3d6000fd5b505050505b6004546001600160a01b031615612354576001546004546001600160a01b03918216916340c10f1991166122f5846064612a62565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561233b57600080fd5b505af115801561234f573d6000803e3d6000fd5b505050505b600154604080516340c10f1960e01b81523060048201526024810184905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b1580156123a757600080fd5b505af11580156123bb573d6000803e3d6000fd5b505050506123e96123de84610ad464e8d4a5100085612b4b90919063ffffffff16565b600386015490612aab565b60038501555050436002909201919091555050565b612406612b05565b6000546001600160a01b03908116911614612456576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6007818154811061248557fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909185565b6124c8612b05565b6000546001600160a01b03908116911614612518576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b801561252657612526611a1d565b61255482610a0e6008868154811061253a57fe5b60009182526020909120600a9091020154600c5490612b09565b600c81905550816008848154811061256857fe5b60009182526020909120600a9091020155505050565b6003546001600160a01b031681565b6001546001600160a01b031681565b6000600d548310156125ae57600d5492505b8183106125bd57506000611ce3565b60005b6011548110156126e05782601182815481106125d857fe5b906000526020600020906002020160000154106126365761262e82610a0e6011848154811061260357fe5b9060005260206000209060020201600101546126288888612b0990919063ffffffff16565b90612b4b565b915050611ce3565b836011828154811061264457fe5b90600052602060002090600202016000015411612660576126d8565b6126b46126ad6011838154811061267357fe5b906000526020600020906002020160010154612628876011868154811061269657fe5b600091825260209091206002909102015490612b09565b8390612aab565b9150601181815481106126c357fe5b90600052602060002090600202016000015493505b6001016125c0565b5092915050565b6000600883815481106126f657fe5b60009182526020808320868452600a8083526040808620338752909352919093209102909101915061272784610a51565b80541561277957600061275c8260010154610f3464e8d4a51000610ad487600201548760000154612b4b90919063ffffffff16565b905080156127775761276e3382612ba4565b61277781612d34565b505b82156127ba57600554612797906001600160a01b03163330866133a1565b80546127a39084612aab565b815560048201546127b49084612aab565b60048301555b6127c382612f7e565b600282015481546127de9164e8d4a5100091610ad491612b4b565b6001820155604080518481529051859133917f86cff7580bc6140b67ff5bccff40648d71cafe6459cb7680722af56b17a4585c9181900360200190a350505050565b6002546001600160a01b031681565b6000805b6007548110156128545761284a6126ad8285611be7565b9150600101612833565b5060005b6008548110156128795761286f6126ad8285611ce9565b9150600101612858565b50919050565b600b5481565b61288d612b05565b6000546001600160a01b039081169116146128dd576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b6001600160a01b0381166129225760405162461bcd60e51b81526004018080602001828103825260268152602001806136ee6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b612985612b05565b6000546001600160a01b039081169116146129d5576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b600d5443106129e357600080fd5b600d55565b6129f0612b05565b6000546001600160a01b03908116911614612a40576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000612aa483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506133b6565b9392505050565b600082820183811015612aa4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b6000612aa483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613458565b600082612b5a57506000611ce3565b82820282848281612b6757fe5b0414612aa45760405162461bcd60e51b815260040180806020018281038252602181526020018061373f6021913960400191505060405180910390fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015612bef57600080fd5b505afa158015612c03573d6000803e3d6000fd5b505050506040513d6020811015612c1957600080fd5b5051905080821115612cad576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015612c7b57600080fd5b505af1158015612c8f573d6000803e3d6000fd5b505050506040513d6020811015612ca557600080fd5b506120e09050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015612d0357600080fd5b505af1158015612d17573d6000803e3d6000fd5b505050506040513d6020811015612d2d57600080fd5b5050505050565b336000908152600e60205260409020546001600160a01b031680612d585750610d57565b6001546001600160a01b03166340c10f1933612d75856064612a62565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612dbb57600080fd5b505af1158015612dcf573d6000803e3d6000fd5b50506001546001600160a01b031691506340c10f19905082612df76064610ad4876002612b4b565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612e3d57600080fd5b505af1158015612e51573d6000803e3d6000fd5b505050506001600160a01b038181166000818152600e60205260409020549091161415612e7e5750610d57565b6001546001600160a01b038281166000908152600e6020526040902054918116916340c10f199116612eb66064610ad4876002612b4b565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612efc57600080fd5b505af1158015612f10573d6000803e3d6000fd5b505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526120e09084906134b2565b6120e06001600160a01b0384168383612f18565b600081600301544303905081600701548110612ff157612fc7612fbc612fb1846007015484612a6290919063ffffffff16565b600785015490612b4b565b600384015490612aab565b600383015560048201805460009091556005830154612fe69082612aab565b600584015550610e58565b8160060154826004015410610e5857600061301f6064610ad4604b8660040154612b4b90919063ffffffff16565b60048401549091506130319082612b09565b600484015560058301546130459082612aab565b6005840155505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526120de9085906134b2565b6000806000600660009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156130fc57600080fd5b505afa158015613110573d6000803e3d6000fd5b505050506040513d606081101561312657600080fd5b50805160209182015160065460408051630dfe168160e01b815290516dffffffffffffffffffffffffffff94851697509390921694506000936001600160a01b0390911692630dfe1681926004808201939291829003018186803b15801561318d57600080fd5b505afa1580156131a1573d6000803e3d6000fd5b505050506040513d60208110156131b757600080fd5b505160055490915060009081906001600160a01b038085169116146131dd5783856131e0565b84845b909250905060006131f3886103e5612b4b565b905060006132018284612b4b565b9050600061321583610a0e876103e8612b4b565b905080828161322057fe5b049850886132395760009850505050505050505061339c565b60055460009081906001600160a01b0389811691161461325b578a600061325f565b60008b5b600554600654929450909250613282916001600160a01b0391821691168e612f6a565b6006546001600160a01b031663022c0d9f83833060006040519080825280601f01601f1916602001820160405280156132c2576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561332a578181015183820152602001613312565b50505050905090810190601f1680156133575780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561337957600080fd5b505af115801561338d573d6000803e3d6000fd5b50505050505050505050505050505b919050565b6120de6001600160a01b03851684848461304f565b600081836134425760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156134075781810151838201526020016133ef565b50505050905090810190601f1680156134345780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161344e57fe5b0495945050505050565b600081848411156134aa5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156134075781810151838201526020016133ef565b505050900390565b6060613507826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166135639092919063ffffffff16565b8051909150156120e05780806020019051602081101561352657600080fd5b50516120e05760405162461bcd60e51b815260040180806020018281038252602a815260200180613780602a913960400191505060405180910390fd5b6060613572848460008561357a565b949350505050565b6060613585856136e7565b6135d6576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106136155780518252601f1990920191602091820191016135f6565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613677576040519150601f19603f3d011682016040523d82523d6000602084013e61367c565b606091505b509150915081156136905791506135729050565b8051156136a05780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156134075781810151838201526020016133ef565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737377697468647261773a20696e73756666696369656e7420667265652062616c616e636520696e20706f6f6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212205c237022f3d2d54d7165000ba58d82ddda4ed377031042a438dc81ab3e6caefb64736f6c634300060c0033000000000000000000000000c24ee3a1b395c600eb74eb8293c203c123abf71f0000000000000000000000008ab98c28295ea3bd2db6ac8b3ca57a625c054bd10000000000000000000000002d2e288135f99425174b84a8112dd1cf7f752a480000000000000000000000007376065b48c564031386c546f81ac6436574ea830000000000000000000000000000000000000000000000000000000000aebd66000000000000000000000000000000000000000000000000002a16039ff46310000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000034b447bbd3783e20000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102d65760003560e01c806384a76be911610182578063b80c3b6e116100e9578063cf622e33116100a2578063ea3713461161007c578063ea37134614610900578063f2fde38b14610908578063f35e4a6e1461092e578063f8f88dc21461094b576102d6565b8063cf622e33146108af578063d49e77cd146108d2578063e875cb0c146108da576102d6565b8063b80c3b6e146107d9578063bd75a423146107ff578063c0da73f814610851578063c5ba3a2b1461087c578063c6ff073814610884578063cf518e111461088c576102d6565b806397344f8e1161013b57806397344f8e146107415780639f782d9214610749578063a3908e1b1461077a578063a4d8008614610797578063a4fae672146107b4578063a664d02c146107bc576102d6565b806384a76be9146106905780638d88a90e146106985780638da5cb5b146106be5780638f8f24ea146106c65780639042d7bb146106e9578063953d074214610715576102d6565b80635f2086811161024157806376b46aa1116101fa5780637c1a842b116101d45780637c1a842b146105f05780637cb49539146105f85780637f6064ea1461060057806383614a771461066d576102d6565b806376b46aa114610590578063797183a1146105bc578063798915f0146105c4576102d6565b80635f20868114610493578063666dffbc146104b95780636ace7c9b146104c15780636df02c6a146104de578063715018a614610565578063765c95241461056d576102d6565b80633860af92116102935780633860af921461039a578063481b8cf5146103df57806348cd4cb1146104025780634a3b68cc1461041c578063520cb1ef1461044257806359fbfd4814610476576102d6565b80630fcfb24a146102db57806311c4d4f41461030857806314a0f1ea1461032c5780631d509afd14610349578063277c18a71461036f5780633003bb0514610377575b600080fd5b610306600480360360608110156102f157600080fd5b50803590602081013590604001351515610971565b005b610310610a42565b604080516001600160a01b039092168252519081900360200190f35b6103066004803603602081101561034257600080fd5b5035610a51565b6103066004803603602081101561035f57600080fd5b50356001600160a01b0316610d5a565b610306610e5c565b6103066004803603604081101561038d57600080fd5b5080359060200135610e7b565b6103c6600480360360408110156103b057600080fd5b50803590602001356001600160a01b0316610ff1565b6040805192835260208301919091528051918290030190f35b610306600480360360408110156103f557600080fd5b5080359060200135611015565b61040a611094565b60408051918252519081900360200190f35b6103106004803603602081101561043257600080fd5b50356001600160a01b031661109a565b6103066004803603606081101561045857600080fd5b508035906001600160a01b03602082013516906040013515156110b5565b6103066004803603602081101561048c57600080fd5b503561125d565b610306600480360360208110156104a957600080fd5b50356001600160a01b0316611308565b61040a611382565b610306600480360360208110156104d757600080fd5b5035611396565b61050a600480360360408110156104f457600080fd5b506001600160a01b038135169060200135611432565b6040518083815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015610550578181015183820152602001610538565b50505050905001935050505060405180910390f35b610306611552565b6103066004803603604081101561058357600080fd5b50803590602001356115f4565b6103c6600480360360408110156105a657600080fd5b50803590602001356001600160a01b0316611673565b61040a611697565b61050a600480360360408110156105da57600080fd5b506001600160a01b03813516906020013561169d565b61040a6117b4565b6103106117ba565b61061d6004803603602081101561061657600080fd5b50356117c9565b604080519a8b5260208b0199909952898901979097526060890195909552608088019390935260a087019190915260c086015260e085015261010084015261012083015251908190036101400190f35b6103066004803603604081101561068357600080fd5b508035906020013561182a565b610306611a1d565b610306600480360360208110156106ae57600080fd5b50356001600160a01b0316611a3c565b610310611aa9565b610306600480360360408110156106dc57600080fd5b5080359060200135611ab8565b61040a600480360360408110156106ff57600080fd5b50803590602001356001600160a01b0316611be7565b61040a6004803603604081101561072b57600080fd5b50803590602001356001600160a01b0316611ce9565b610310611da4565b6103066004803603608081101561075f57600080fd5b50803590602081013515159060408101359060600135611db3565b6103066004803603602081101561079057600080fd5b5035612023565b6103c6600480360360208110156107ad57600080fd5b50356120e5565b61040a612110565b610306600480360360208110156107d257600080fd5b5035612116565b610306600480360360208110156107ef57600080fd5b50356001600160a01b03166123fe565b61081c6004803603602081101561081557600080fd5b5035612478565b604080516001600160a01b03909616865260208601949094528484019290925260608401526080830152519081900360a00190f35b6103066004803603606081101561086757600080fd5b508035906020810135906040013515156124c0565b61031061257e565b61031061258d565b61040a600480360360408110156108a257600080fd5b508035906020013561259c565b610306600480360360408110156108c557600080fd5b50803590602001356126e7565b610310612820565b61040a600480360360208110156108f057600080fd5b50356001600160a01b031661282f565b61040a61287f565b6103066004803603602081101561091e57600080fd5b50356001600160a01b0316612885565b6103066004803603602081101561094457600080fd5b503561297d565b6103066004803603602081101561096157600080fd5b50356001600160a01b03166129e8565b610979612b05565b6000546001600160a01b039081169116146109c9576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b80156109d7576109d7610e5c565b610a1482610a0e600786815481106109eb57fe5b906000526020600020906005020160010154600b54612b0990919063ffffffff16565b90612aab565b600b819055508160078481548110610a2857fe5b906000526020600020906005020160010181905550505050565b6004546001600160a01b031681565b600060088281548110610a6057fe5b90600052602060002090600a0201905080600101544311610a815750610d57565b6000610a9e82600501548360040154612aab90919063ffffffff16565b905080610ab2575043600190910155610d57565b6000610ac283600101544361259c565b9050610ada600a610ad4836003612b4b565b90612a62565b90506000610afb600c54610ad4866000015485612b4b90919063ffffffff16565b6001546002549192506001600160a01b03908116916340c10f199116610b2284600a612a62565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610b6857600080fd5b505af1158015610b7c573d6000803e3d6000fd5b50506003546001600160a01b0316159150610c1b9050576001546003546001600160a01b03918216916340c10f199116610bbc6064610ad4866009612b4b565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610c0257600080fd5b505af1158015610c16573d6000803e3d6000fd5b505050505b6004546001600160a01b031615610caf576001546004546001600160a01b03918216916340c10f199116610c50846064612a62565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610c9657600080fd5b505af1158015610caa573d6000803e3d6000fd5b505050505b600154604080516340c10f1960e01b81523060048201526024810184905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b158015610d0257600080fd5b505af1158015610d16573d6000803e3d6000fd5b50505050610d44610d3984610ad464e8d4a5100085612b4b90919063ffffffff16565b600286015490612aab565b6002850155505043600190920191909155505b50565b6001600160a01b0381163314801590610d8c57506001600160a01b038181166000908152600e60205260409020541615155b610d9557600080fd5b336000908152600e60205260409020546001600160a01b031615610db857600080fd5b336000818152600e6020818152604080842080546001600160a01b03199081166001600160a01b03898116918217909355808752600f855283872080546001810182559088528588200180549092169097179055858552929091529091205416908114610e58576001600160a01b03811660009081526010602090815260408220805460018101825590835291200180546001600160a01b031916331790555b5050565b60075460005b81811015610e5857610e7381612116565b600101610e62565b600060078381548110610e8a57fe5b600091825260208083208684526009825260408085203386529092529220805460059092029092019250831115610efd576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b610f0684612116565b6000610f3a8260010154610f3464e8d4a51000610ad487600301548760000154612b4b90919063ffffffff16565b90612b09565b90508015610f5557610f4c3382612ba4565b610f5581612d34565b8315610f93578154610f679085612b09565b82556004830154610f789085612b09565b60048401558254610f93906001600160a01b03163386612f18565b60038301548254610fae9164e8d4a5100091610ad491612b4b565b6001830155604080518581529051869133917ff3184301b3e337dfbeb9976020a7a5c2b619e9bbed16496592d144621652472d9181900360200190a35050505050565b60096020908152600092835260408084209091529082529020805460019091015482565b61101d612b05565b6000546001600160a01b0390811691161461106d576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b806008838154811061107b57fe5b90600052602060002090600a0201600701819055505050565b600d5481565b600e602052600090815260409020546001600160a01b031681565b6110bd612b05565b6000546001600160a01b0390811691161461110d576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b801561111b5761111b610e5c565b6000600d54431161112e57600d54611130565b435b600b549091506111409085612aab565b600b556040805160a0810182526001600160a01b039485168152602081019586529081019182526000606082018181526080830182815260078054600181018255935292517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600590930292830180546001600160a01b031916919097161790955594517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68986015590517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a85015591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b84015550517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68c90910155565b60006008828154811061126c57fe5b60009182526020808320858452600a80835260408086203387529093529190932091029091016005810154825491935010156112a757600080fd5b60055481546112c1916001600160a01b0316903390612f6a565b80546040805191825251849133917fad256e873654cca1780c15c59cb8f8775e51d6a7dbb5df79ea7e76a7c9a8d9e19181900360200190a360008082556001909101555050565b611310612b05565b6000546001600160a01b03908116911614611360576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000611391434360010161259c565b905090565b6000600782815481106113a557fe5b6000918252602080832085845260098252604080852033808752935284208054858255600182019590955560059093020180549094509192916113f5916001600160a01b03919091169083612f18565b604080518281529051859133917fd071e2162c250a8c322c588108a9e830b725bcf1096beec789670406b1c2f9bf9181900360200190a350505050565b6001600160a01b0382166000908152600f602090815260408083208054825181850281018501909352808352606093849392919083018282801561149f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611481575b50505050509050805192508267ffffffffffffffff811180156114c157600080fd5b506040519080825280602002602001820160405280156114eb578160200160208202803683370190505b50915060005b600581108015611502575083858201105b1561154957818186018151811061151557fe5b602002602001015183828151811061152957fe5b6001600160a01b03909216602092830291909101909101526001016114f1565b50509250929050565b61155a612b05565b6000546001600160a01b039081169116146115aa576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6115fc612b05565b6000546001600160a01b0390811691161461164c576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b806008838154811061165a57fe5b90600052602060002090600a0201600601819055505050565b600a6020908152600092835260408084209091529082529020805460019091015482565b600c5481565b6001600160a01b03821660009081526010602090815260408083208054825181850281018501909352808352606093849392919083018282801561170a57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116116ec575b50505050509050805192508267ffffffffffffffff8111801561172c57600080fd5b50604051908082528060200260200182016040528015611756578160200160208202803683370190505b50915060005b60058110801561176d575083858201105b1561154957818186018151811061178057fe5b602002602001015183828151811061179457fe5b6001600160a01b039092166020928302919091019091015260010161175c565b60075490565b6005546001600160a01b031681565b600881815481106117d657fe5b90600052602060002090600a0201600091509050806000015490806001015490806002015490806003015490806004015490806005015490806006015490806007015490806008015490806009015490508a565b6000828152600a602090815260408083203384529091529020805482111561188e576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b60006008848154811061189d57fe5b90600052602060002090600a020190506118b681612f7e565b80600501548311156118f95760405162461bcd60e51b815260040180806020018281038252602b815260200180613714602b913960400191505060405180910390fd5b61190284610a51565b60006119308360010154610f3464e8d4a51000610ad486600201548860000154612b4b90919063ffffffff16565b9050801561194b576119423382612ba4565b61194b81612d34565b83156119bf57825461195d9085612b09565b8355600582015461196e9085612b09565b600583015560006119866103e8610ad4876003612b4b565b60088401549091506119989082612aab565b60088401556005546119bd906001600160a01b0316336119b88885612b09565b612f6a565b505b600282015483546119da9164e8d4a5100091610ad491612b4b565b6001840155604080518581529051869133917f811c17f4256972cec4c2174cf0856a4fb0627b8a0b1b4f7713daa819ffa8d51d9181900360200190a35050505050565b60085460005b81811015610e5857611a3481610a51565b600101611a23565b6002546001600160a01b03163314611a87576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b600060078381548110611ac757fe5b60009182526020808320868452600982526040808520338652909252922060059091029091019150611af884612116565b805415611b4a576000611b2d8260010154610f3464e8d4a51000610ad487600301548760000154612b4b90919063ffffffff16565b90508015611b4857611b3f3382612ba4565b611b4881612d34565b505b8215611b8a578154611b67906001600160a01b031633308661304f565b8054611b739084612aab565b81556004820154611b849084612aab565b60048301555b60038201548154611ba59164e8d4a5100091610ad491612b4b565b6001820155604080518481529051859133917f338a4880216a71995559f67d34c05cc62597c867bbab18b3b1524f7c79f864549181900360200190a350505050565b60008060078481548110611bf757fe5b600091825260208083208784526009825260408085206001600160a01b03891686529092529220600360059092029092019081015460048201546002830154929450909143118015611c4857508015155b15611cb4576000611c5d85600201544361259c565b9050611c6f600a610ad4836007612b4b565b90506000611c90600b54610ad4886001015485612b4b90919063ffffffff16565b9050611caf611ca884610ad48464e8d4a51000612b4b565b8590612aab565b935050505b611cdc8360010154610f3464e8d4a51000610ad4868860000154612b4b90919063ffffffff16565b9450505050505b92915050565b60008060088481548110611cf957fe5b60009182526020808320878452600a80835260408086206001600160a01b038a1687529093529184209290910201600281015460058201546004830154929550929390929091611d4891612aab565b9050836001015443118015611d5c57508015155b15611cb4576000611d7185600101544361259c565b9050611d83600a610ad4836003612b4b565b90506000611c90600c54610ad4886000015485612b4b90919063ffffffff16565b6006546001600160a01b031681565b611dbb612b05565b6000546001600160a01b03908116911614611e0b576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b8215611e1957611e19611a1d565b6000600d544311611e2c57600d54611e2e565b435b600c54909150611e3e9086612aab565b600c556040805161014081018252958652602086019182526000908601818152606087018281526080880183815260a0890184815260c08a0197885260e08a019687526101008a018581526101208b018681526008805460018101825597529a517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3600a9097029687015595517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee486015592517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee585015590517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee6840155517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee7830155517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee882015592517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee984015590517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636eea830155517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636eeb82015591517ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636eec9092019190915550565b60006008828154811061203257fe5b90600052602060002090600a02019050600061205f82600401548360050154612aab90919063ffffffff16565b6006549091506001600160a01b031615801590612080575060008260080154115b156120e057600061209483600801546130a9565b905080156120de576000600884015560098301546120b29082612aab565b60098401556120d86120cd83610ad48464e8d4a51000612b4b565b600285015490612aab565b60028401555b505b505050565b601181815481106120f257fe5b60009182526020909120600290910201805460019091015490915082565b60085490565b60006007828154811061212557fe5b90600052602060002090600502019050806002015443116121465750610d57565b60048101548061215d575043600290910155610d57565b600061216d83600201544361259c565b905061217f600a610ad4836007612b4b565b905060006121a0600b54610ad4866001015485612b4b90919063ffffffff16565b6001546002549192506001600160a01b03908116916340c10f1991166121c784600a612a62565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561220d57600080fd5b505af1158015612221573d6000803e3d6000fd5b50506003546001600160a01b03161591506122c09050576001546003546001600160a01b03918216916340c10f1991166122616064610ad4866009612b4b565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156122a757600080fd5b505af11580156122bb573d6000803e3d6000fd5b505050505b6004546001600160a01b031615612354576001546004546001600160a01b03918216916340c10f1991166122f5846064612a62565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561233b57600080fd5b505af115801561234f573d6000803e3d6000fd5b505050505b600154604080516340c10f1960e01b81523060048201526024810184905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b1580156123a757600080fd5b505af11580156123bb573d6000803e3d6000fd5b505050506123e96123de84610ad464e8d4a5100085612b4b90919063ffffffff16565b600386015490612aab565b60038501555050436002909201919091555050565b612406612b05565b6000546001600160a01b03908116911614612456576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6007818154811061248557fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909185565b6124c8612b05565b6000546001600160a01b03908116911614612518576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b801561252657612526611a1d565b61255482610a0e6008868154811061253a57fe5b60009182526020909120600a9091020154600c5490612b09565b600c81905550816008848154811061256857fe5b60009182526020909120600a9091020155505050565b6003546001600160a01b031681565b6001546001600160a01b031681565b6000600d548310156125ae57600d5492505b8183106125bd57506000611ce3565b60005b6011548110156126e05782601182815481106125d857fe5b906000526020600020906002020160000154106126365761262e82610a0e6011848154811061260357fe5b9060005260206000209060020201600101546126288888612b0990919063ffffffff16565b90612b4b565b915050611ce3565b836011828154811061264457fe5b90600052602060002090600202016000015411612660576126d8565b6126b46126ad6011838154811061267357fe5b906000526020600020906002020160010154612628876011868154811061269657fe5b600091825260209091206002909102015490612b09565b8390612aab565b9150601181815481106126c357fe5b90600052602060002090600202016000015493505b6001016125c0565b5092915050565b6000600883815481106126f657fe5b60009182526020808320868452600a8083526040808620338752909352919093209102909101915061272784610a51565b80541561277957600061275c8260010154610f3464e8d4a51000610ad487600201548760000154612b4b90919063ffffffff16565b905080156127775761276e3382612ba4565b61277781612d34565b505b82156127ba57600554612797906001600160a01b03163330866133a1565b80546127a39084612aab565b815560048201546127b49084612aab565b60048301555b6127c382612f7e565b600282015481546127de9164e8d4a5100091610ad491612b4b565b6001820155604080518481529051859133917f86cff7580bc6140b67ff5bccff40648d71cafe6459cb7680722af56b17a4585c9181900360200190a350505050565b6002546001600160a01b031681565b6000805b6007548110156128545761284a6126ad8285611be7565b9150600101612833565b5060005b6008548110156128795761286f6126ad8285611ce9565b9150600101612858565b50919050565b600b5481565b61288d612b05565b6000546001600160a01b039081169116146128dd576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b6001600160a01b0381166129225760405162461bcd60e51b81526004018080602001828103825260268152602001806136ee6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b612985612b05565b6000546001600160a01b039081169116146129d5576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b600d5443106129e357600080fd5b600d55565b6129f0612b05565b6000546001600160a01b03908116911614612a40576040805162461bcd60e51b81526020600482018190526024820152600080516020613760833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000612aa483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506133b6565b9392505050565b600082820183811015612aa4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b6000612aa483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613458565b600082612b5a57506000611ce3565b82820282848281612b6757fe5b0414612aa45760405162461bcd60e51b815260040180806020018281038252602181526020018061373f6021913960400191505060405180910390fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015612bef57600080fd5b505afa158015612c03573d6000803e3d6000fd5b505050506040513d6020811015612c1957600080fd5b5051905080821115612cad576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015612c7b57600080fd5b505af1158015612c8f573d6000803e3d6000fd5b505050506040513d6020811015612ca557600080fd5b506120e09050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015612d0357600080fd5b505af1158015612d17573d6000803e3d6000fd5b505050506040513d6020811015612d2d57600080fd5b5050505050565b336000908152600e60205260409020546001600160a01b031680612d585750610d57565b6001546001600160a01b03166340c10f1933612d75856064612a62565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612dbb57600080fd5b505af1158015612dcf573d6000803e3d6000fd5b50506001546001600160a01b031691506340c10f19905082612df76064610ad4876002612b4b565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612e3d57600080fd5b505af1158015612e51573d6000803e3d6000fd5b505050506001600160a01b038181166000818152600e60205260409020549091161415612e7e5750610d57565b6001546001600160a01b038281166000908152600e6020526040902054918116916340c10f199116612eb66064610ad4876002612b4b565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015612efc57600080fd5b505af1158015612f10573d6000803e3d6000fd5b505050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526120e09084906134b2565b6120e06001600160a01b0384168383612f18565b600081600301544303905081600701548110612ff157612fc7612fbc612fb1846007015484612a6290919063ffffffff16565b600785015490612b4b565b600384015490612aab565b600383015560048201805460009091556005830154612fe69082612aab565b600584015550610e58565b8160060154826004015410610e5857600061301f6064610ad4604b8660040154612b4b90919063ffffffff16565b60048401549091506130319082612b09565b600484015560058301546130459082612aab565b6005840155505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526120de9085906134b2565b6000806000600660009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156130fc57600080fd5b505afa158015613110573d6000803e3d6000fd5b505050506040513d606081101561312657600080fd5b50805160209182015160065460408051630dfe168160e01b815290516dffffffffffffffffffffffffffff94851697509390921694506000936001600160a01b0390911692630dfe1681926004808201939291829003018186803b15801561318d57600080fd5b505afa1580156131a1573d6000803e3d6000fd5b505050506040513d60208110156131b757600080fd5b505160055490915060009081906001600160a01b038085169116146131dd5783856131e0565b84845b909250905060006131f3886103e5612b4b565b905060006132018284612b4b565b9050600061321583610a0e876103e8612b4b565b905080828161322057fe5b049850886132395760009850505050505050505061339c565b60055460009081906001600160a01b0389811691161461325b578a600061325f565b60008b5b600554600654929450909250613282916001600160a01b0391821691168e612f6a565b6006546001600160a01b031663022c0d9f83833060006040519080825280601f01601f1916602001820160405280156132c2576020820181803683370190505b506040518563ffffffff1660e01b815260040180858152602001848152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561332a578181015183820152602001613312565b50505050905090810190601f1680156133575780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561337957600080fd5b505af115801561338d573d6000803e3d6000fd5b50505050505050505050505050505b919050565b6120de6001600160a01b03851684848461304f565b600081836134425760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156134075781810151838201526020016133ef565b50505050905090810190601f1680156134345780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161344e57fe5b0495945050505050565b600081848411156134aa5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156134075781810151838201526020016133ef565b505050900390565b6060613507826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166135639092919063ffffffff16565b8051909150156120e05780806020019051602081101561352657600080fd5b50516120e05760405162461bcd60e51b815260040180806020018281038252602a815260200180613780602a913960400191505060405180910390fd5b6060613572848460008561357a565b949350505050565b6060613585856136e7565b6135d6576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106136155780518252601f1990920191602091820191016135f6565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613677576040519150601f19603f3d011682016040523d82523d6000602084013e61367c565b606091505b509150915081156136905791506135729050565b8051156136a05780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156134075781810151838201526020016133ef565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737377697468647261773a20696e73756666696369656e7420667265652062616c616e636520696e20706f6f6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212205c237022f3d2d54d7165000ba58d82ddda4ed377031042a438dc81ab3e6caefb64736f6c634300060c0033

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

000000000000000000000000c24ee3a1b395c600eb74eb8293c203c123abf71f0000000000000000000000008ab98c28295ea3bd2db6ac8b3ca57a625c054bd10000000000000000000000002d2e288135f99425174b84a8112dd1cf7f752a480000000000000000000000007376065b48c564031386c546f81ac6436574ea830000000000000000000000000000000000000000000000000000000000aebd66000000000000000000000000000000000000000000000000002a16039ff46310000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000034b447bbd3783e20000

-----Decoded View---------------
Arg [0] : _rose (address): 0xc24EE3a1b395c600EB74eb8293c203c123AbF71F
Arg [1] : _sfr (address): 0x8ab98C28295Ea3BD2DB6aC8b3CA57A625C054BD1
Arg [2] : _devaddr (address): 0x2D2e288135F99425174B84a8112DD1CF7F752a48
Arg [3] : _topReferrer (address): 0x7376065B48C564031386C546F81ac6436574Ea83
Arg [4] : _startBlock (uint256): 11451750
Arg [5] : _firstBlockReward (uint256): 11846153846154000
Arg [6] : _supplyPeriod (uint256): 2
Arg [7] : _maxSupply (uint256): 15555540000000000000000

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 000000000000000000000000c24ee3a1b395c600eb74eb8293c203c123abf71f
Arg [1] : 0000000000000000000000008ab98c28295ea3bd2db6ac8b3ca57a625c054bd1
Arg [2] : 0000000000000000000000002d2e288135f99425174b84a8112dd1cf7f752a48
Arg [3] : 0000000000000000000000007376065b48c564031386c546f81ac6436574ea83
Arg [4] : 0000000000000000000000000000000000000000000000000000000000aebd66
Arg [5] : 000000000000000000000000000000000000000000000000002a16039ff46310
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [7] : 00000000000000000000000000000000000000000000034b447bbd3783e20000


Deployed Bytecode Sourcemap

43615:26603:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51191:366;;;;;;;;;;;;;;;;-1:-1:-1;51191:366:0;;;;;;;;;;;;;;:::i;:::-;;46010:28;;;:::i;:::-;;;;-1:-1:-1;;;;;46010:28:0;;;;;;;;;;;;;;57308:1173;;;;;;;;;;;;;;;;-1:-1:-1;57308:1173:0;;:::i;64553:490::-;;;;;;;;;;;;;;;;-1:-1:-1;64553:490:0;-1:-1:-1;;;;;64553:490:0;;:::i;55555:183::-;;;:::i;60609:877::-;;;;;;;;;;;;;;;;-1:-1:-1;60609:877:0;;;;;;;:::i;46341:65::-;;;;;;;;;;;;;;;;-1:-1:-1;46341:65:0;;;;;;-1:-1:-1;;;;;46341:65:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;52206:195;;;;;;;;;;;;;;;;-1:-1:-1;52206:195:0;;;;;;;:::i;46844:25::-;;;:::i;:::-;;;;;;;;;;;;;;;;46918:44;;;;;;;;;;;;;;;;-1:-1:-1;46918:44:0;-1:-1:-1;;;;;46918:44:0;;:::i;49380:644::-;;;;;;;;;;;;;;;;-1:-1:-1;49380:644:0;;;-1:-1:-1;;;;;49380:644:0;;;;;;;;;;;;:::i;63259:404::-;;;;;;;;;;;;;;;;-1:-1:-1;63259:404:0;;:::i;64419:91::-;;;;;;;;;;;;;;;;-1:-1:-1;64419:91:0;-1:-1:-1;;;;;64419:91:0;;:::i;52409:132::-;;;:::i;62798:390::-;;;;;;;;;;;;;;;;-1:-1:-1;62798:390:0;;:::i;65090:415::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;65090:415:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28729:148;;;:::i;52027:171::-;;;;;;;;;;;;;;;;-1:-1:-1;52027:171:0;;;;;;;:::i;46462:65::-;;;;;;;;;;;;;;;;-1:-1:-1;46462:65:0;;;;;;-1:-1:-1;;;;;46462:65:0;;:::i;46753:34::-;;;:::i;65553:415::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;65553:415:0;;;;;;;;:::i;48730:97::-;;;:::i;46072:18::-;;;:::i;46257:28::-;;;;;;;;;;;;;;;;-1:-1:-1;46257:28:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61538:1189;;;;;;;;;;;;;;;;-1:-1:-1;61538:1189:0;;;;;;;:::i;55821:183::-;;;:::i;64111:129::-;;;;;;;;;;;;;;;;-1:-1:-1;64111:129:0;-1:-1:-1;;;;;64111:129:0;;:::i;28087:79::-;;;:::i;58548:989::-;;;;;;;;;;;;;;;;-1:-1:-1;58548:989:0;;;;;;;:::i;53446:970::-;;;;;;;;;;;;;;;;-1:-1:-1;53446:970:0;;;;;;-1:-1:-1;;;;;53446:970:0;;:::i;54480:992::-;;;;;;;;;;;;;;;;-1:-1:-1;54480:992:0;;;;;;-1:-1:-1;;;;;54480:992:0;;:::i;46129:30::-;;;:::i;50193:902::-;;;;;;;;;;;;;;;;-1:-1:-1;50193:902:0;;;;;;;;;;;;;;;;;;;:::i;68140:617::-;;;;;;;;;;;;;;;;-1:-1:-1;68140:617:0;;:::i;47091:30::-;;;;;;;;;;;;;;;;-1:-1:-1;47091:30:0;;:::i;48835:97::-;;;:::i;56080:1152::-;;;;;;;;;;;;;;;;-1:-1:-1;56080:1152:0;;:::i;49097:114::-;;;;;;;;;;;;;;;;-1:-1:-1;49097:114:0;-1:-1:-1;;;;;49097:114:0;;:::i;46195:28::-;;;;;;;;;;;;;;;;-1:-1:-1;46195:28:0;;:::i;:::-;;;;-1:-1:-1;;;;;46195:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51653:366;;;;;;;;;;;;;;;;-1:-1:-1;51653:366:0;;;;;;;;;;;;;;:::i;45940:23::-;;;:::i;45839:21::-;;;:::i;52549:833::-;;;;;;;;;;;;;;;;-1:-1:-1;52549:833:0;;;;;;;:::i;59606:953::-;;;;;;;;;;;;;;;;-1:-1:-1;59606:953:0;;;;;;;:::i;45888:22::-;;;:::i;66007:377::-;;;;;;;;;;;;;;;;-1:-1:-1;66007:377:0;-1:-1:-1;;;;;66007:377:0;;:::i;46623:34::-;;;:::i;29032:244::-;;;;;;;;;;;;;;;;-1:-1:-1;29032:244:0;-1:-1:-1;;;;;29032:244:0;;:::i;48940:149::-;;;;;;;;;;;;;;;;-1:-1:-1;48940:149:0;;:::i;64289:81::-;;;;;;;;;;;;;;;;-1:-1:-1;64289:81:0;-1:-1:-1;;;;;64289:81:0;;:::i;51191:366::-;28309:12;:10;:12::i;:::-;28299:6;;-1:-1:-1;;;;;28299:6:0;;;:22;;;28291:67;;;;;-1:-1:-1;;;28291:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28291:67:0;;;;;;;;;;;;;;;51324:11:::1;51320:62;;;51352:18;:16;:18::i;:::-;51410:88;51476:11;51410:47;51430:9;51440:4;51430:15;;;;;;;;;;;;;;;;;;:26;;;51410:15;;:19;;:47;;;;:::i;:::-;:51:::0;::::1;:88::i;:::-;51392:15;:106;;;;51538:11;51509:9;51519:4;51509:15;;;;;;;;;;;;;;;;;;:26;;:40;;;;51191:366:::0;;;:::o;46010:28::-;;;-1:-1:-1;;;;;46010:28:0;;:::o;57308:1173::-;57361:22;57386:9;57396:4;57386:15;;;;;;;;;;;;;;;;;;57361:40;;57432:4;:20;;;57416:12;:36;57412:75;;57469:7;;;57412:75;57497:16;57516:38;57538:4;:15;;;57516:4;:17;;;:21;;:38;;;;:::i;:::-;57497:57;-1:-1:-1;57569:13:0;57565:102;;-1:-1:-1;57622:12:0;57599:20;;;;:35;57649:7;;57565:102;57677:20;57700:88;57730:4;:20;;;57765:12;57700:15;:88::i;:::-;57677:111;-1:-1:-1;57849:27:0;57873:2;57849:19;57677:111;57866:1;57849:16;:19::i;:::-;:23;;:27::i;:::-;57834:42;;57887:18;57908:78;57960:15;;57908:33;57925:4;:15;;;57908:12;:16;;:33;;;;:::i;:78::-;57997:4;;58007:7;;57887:99;;-1:-1:-1;;;;;;57997:4:0;;;;:9;;58007:7;58016:18;57887:99;58031:2;58016:14;:18::i;:::-;57997:38;;;;;;;;;;;;;-1:-1:-1;;;;;57997:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;58050:8:0;;-1:-1:-1;;;;;58050:8:0;:22;;-1:-1:-1;58046:102:0;;-1:-1:-1;58046:102:0;58089:4;;58099:8;;-1:-1:-1;;;;;58089:4:0;;;;:9;;58099:8;58109:26;58131:3;58109:17;:10;58124:1;58109:14;:17::i;:26::-;58089:47;;;;;;;;;;;;;-1:-1:-1;;;;;58089:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58046:102;58162:13;;-1:-1:-1;;;;;58162:13:0;:27;58158:105;;58206:4;;58216:13;;-1:-1:-1;;;;;58206:4:0;;;;:9;;58216:13;58231:19;:10;58246:3;58231:14;:19::i;:::-;58206:45;;;;;;;;;;;;;-1:-1:-1;;;;;58206:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58158:105;58273:4;;:36;;;-1:-1:-1;;;58273:36:0;;58291:4;58273:36;;;;;;;;;;;;-1:-1:-1;;;;;58273:4:0;;;;:9;;:36;;;;;:4;;:36;;;;;;;;:4;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58343:84;58382:34;58407:8;58382:20;58397:4;58382:10;:14;;:20;;;;:::i;:34::-;58343:20;;;;;:24;:84::i;:::-;58320:20;;;:107;-1:-1:-1;;58461:12:0;58438:20;;;;:35;;;;-1:-1:-1;57308:1173:0;;:::o;64553:490::-;-1:-1:-1;;;;;64611:19:0;;64620:10;64611:19;;;;:53;;-1:-1:-1;;;;;;64634:16:0;;;64662:1;64634:16;;;:9;:16;;;;;;;:30;;64611:53;64603:62;;;;;;64723:10;64746:1;64713:21;;;:9;:21;;;;;;-1:-1:-1;;;;;64713:21:0;:35;64705:44;;;;;;64770:10;64760:21;;;;:9;:21;;;;;;;;:29;;-1:-1:-1;;;;;;64760:29:0;;;-1:-1:-1;;;;;64760:29:0;;;;;;;;;64855:17;;;:10;:17;;;;;:34;;-1:-1:-1;64855:34:0;;;;;;;;;;;;;;;;;;;;;64920:16;;;;;;;;;;;;;64951:18;;64947:89;;-1:-1:-1;;;;;64986:21:0;;;;;;:10;:21;;;;;;;:38;;;;;;;;;;;;;;;-1:-1:-1;;;;;;64986:38:0;65013:10;64986:38;;;64947:89;64553:490;;:::o;55555:183::-;55618:9;:16;55601:14;55645:86;55673:6;55667:3;:12;55645:86;;;55703:16;55715:3;55703:11;:16::i;:::-;55681:5;;55645:86;;60609:877;60677:22;60702:9;60712:4;60702:15;;;;;;;;;;;;;;;;60752;;;:9;:15;;;;;;60768:10;60752:27;;;;;;;60798:11;;60702:15;;;;;;;;-1:-1:-1;60798:22:0;-1:-1:-1;60798:22:0;60790:53;;;;;-1:-1:-1;;;60790:53:0;;;;;;;;;;;;-1:-1:-1;;;60790:53:0;;;;;;;;;;;;;;;60854:17;60866:4;60854:11;:17::i;:::-;60882:15;60900:92;60966:4;:15;;;60900:47;60942:4;60900:37;60916:4;:20;;;60900:4;:11;;;:15;;:37;;;;:::i;:47::-;:51;;:92::i;:::-;60882:110;-1:-1:-1;61007:11:0;;61003:123;;61035:37;61052:10;61064:7;61035:16;:37::i;:::-;61087:27;61106:7;61087:18;:27::i;:::-;61140:11;;61136:215;;61182:11;;:24;;61198:7;61182:15;:24::i;:::-;61168:38;;61240:16;;;;:29;;61261:7;61240:20;:29::i;:::-;61221:16;;;:48;61284:12;;:55;;-1:-1:-1;;;;;61284:12:0;61318:10;61331:7;61284:25;:55::i;:::-;61395:20;;;;61379:11;;:47;;61421:4;;61379:37;;:15;:37::i;:47::-;61361:15;;;:65;61442:36;;;;;;;;61464:4;;61452:10;;61442:36;;;;;;;;;60609:877;;;;;:::o;46341:65::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;52206:195::-;28309:12;:10;:12::i;:::-;28299:6;;-1:-1:-1;;;;;28299:6:0;;;:22;;;28291:67;;;;;-1:-1:-1;;;28291:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28291:67:0;;;;;;;;;;;;;;;52373:20:::1;52335:9;52345:4;52335:15;;;;;;;;;;;;;;;;;;:35;;:58;;;;52206:195:::0;;:::o;46844:25::-;;;;:::o;46918:44::-;;;;;;;;;;;;-1:-1:-1;;;;;46918:44:0;;:::o;49380:644::-;28309:12;:10;:12::i;:::-;28299:6;;-1:-1:-1;;;;;28299:6:0;;;:22;;;28291:67;;;;;-1:-1:-1;;;28291:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28291:67:0;;;;;;;;;;;;;;;49516:11:::1;49512:62;;;49544:18;:16;:18::i;:::-;49584;49620:10;;49605:12;:25;:79;;49674:10;;49605:79;;;49646:12;49605:79;49713:15;::::0;49584:100;;-1:-1:-1;49713:32:0::1;::::0;49733:11;49713:19:::1;:32::i;:::-;49695:15;:50:::0;49785:220:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;49785:220:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;49785:220:0;;;;;;;;;;;;49756:9:::1;:260:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;49756:260:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49756:260:0;;;;;;49380:644::o;63259:404::-;63319:22;63344:9;63354:4;63344:15;;;;;;;;;;;;;;;;63394;;;63344;63394;;;;;;;63410:10;63394:27;;;;;;;;;63344:15;;;;;63455;;;;63440:11;;63344:15;;-1:-1:-1;;63440:30:0;63432:39;;;;;;63496:3;;63522:11;;63482:52;;-1:-1:-1;;;;;63496:3:0;;63509:10;;63482:13;:52::i;:::-;63587:11;;63550:49;;;;;;;63581:4;;63569:10;;63550:49;;;;;;;;;63624:1;63610:15;;;63636;;;;:19;-1:-1:-1;;63259:404:0:o;64419:91::-;28309:12;:10;:12::i;:::-;28299:6;;-1:-1:-1;;;;;28299:6:0;;;:22;;;28291:67;;;;;-1:-1:-1;;;28291:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28291:67:0;;;;;;;;;;;;;;;64481:13:::1;:21:::0;;-1:-1:-1;;;;;;64481:21:0::1;-1:-1:-1::0;;;;;64481:21:0;;;::::1;::::0;;;::::1;::::0;;64419:91::o;52409:132::-;52459:7;52486:47;52502:12;52516;52531:1;52516:16;52486:15;:47::i;:::-;52479:54;;52409:132;:::o;62798:390::-;62858:22;62883:9;62893:4;62883:15;;;;;;;;;;;;;;;;62933;;;:9;:15;;;;;;62949:10;62933:27;;;;;;;62988:11;;63010:15;;;-1:-1:-1;63036:15:0;;:19;;;;62883:15;;;;;63066:12;;62883:15;;-1:-1:-1;62933:27:0;;62988:11;63066:54;;-1:-1:-1;;;;;63066:12:0;;;;;62988:11;63066:25;:54::i;:::-;63136:44;;;;;;;;63167:4;;63155:10;;63136:44;;;;;;;;;62798:390;;;;:::o;65090:415::-;-1:-1:-1;;;;;65279:16:0;;65195:14;65279:16;;;:10;:16;;;;;;;;65250:45;;;;;;;;;;;;;;;;;65211:21;;;;65250:45;65279:16;65250:45;;;65279:16;65250:45;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;65250:45:0;;;;;;;;;;;;;;;;;;;;;;;65315:9;:16;65306:25;;65363:6;65349:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65349:21:0;;65342:28;;65386:9;65381:117;65405:1;65401;:5;:30;;;;;65425:6;65414:8;65410:1;:12;:21;65401:30;65381:117;;;65463:9;65484:1;65473:8;:12;65463:23;;;;;;;;;;;;;;65453:4;65458:1;65453:7;;;;;;;;-1:-1:-1;;;;;65453:33:0;;;:7;;;;;;;;;;;:33;65433:3;;65381:117;;;;65090:415;;;;;;:::o;28729:148::-;28309:12;:10;:12::i;:::-;28299:6;;-1:-1:-1;;;;;28299:6:0;;;:22;;;28291:67;;;;;-1:-1:-1;;;28291:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28291:67:0;;;;;;;;;;;;;;;28836:1:::1;28820:6:::0;;28799:40:::1;::::0;-1:-1:-1;;;;;28820:6:0;;::::1;::::0;28799:40:::1;::::0;28836:1;;28799:40:::1;28867:1;28850:19:::0;;-1:-1:-1;;;;;;28850:19:0::1;::::0;;28729:148::o;52027:171::-;28309:12;:10;:12::i;:::-;28299:6;;-1:-1:-1;;;;;28299:6:0;;;:22;;;28291:67;;;;;-1:-1:-1;;;28291:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28291:67:0;;;;;;;;;;;;;;;52176:14:::1;52144:9;52154:4;52144:15;;;;;;;;;;;;;;;;;;:29;;:46;;;;52027:171:::0;;:::o;46462:65::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;46753:34::-;;;;:::o;65553:415::-;-1:-1:-1;;;;;65742:16:0;;65658:14;65742:16;;;:10;:16;;;;;;;;65713:45;;;;;;;;;;;;;;;;;65674:21;;;;65713:45;65742:16;65713:45;;;65742:16;65713:45;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;65713:45:0;;;;;;;;;;;;;;;;;;;;;;;65778:9;:16;65769:25;;65826:6;65812:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65812:21:0;;65805:28;;65849:9;65844:117;65868:1;65864;:5;:30;;;;;65888:6;65877:8;65873:1;:12;:21;65864:30;65844:117;;;65926:9;65947:1;65936:8;:12;65926:23;;;;;;;;;;;;;;65916:4;65921:1;65916:7;;;;;;;;-1:-1:-1;;;;;65916:33:0;;;:7;;;;;;;;;;;:33;65896:3;;65844:117;;48730:97;48803:9;:16;48730:97;:::o;46072:18::-;;;-1:-1:-1;;;;;46072:18:0;;:::o;46257:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;61538:1189::-;61606:21;61630:15;;;:9;:15;;;;;;;;61646:10;61630:27;;;;;;;61676:11;;:22;-1:-1:-1;61676:22:0;61668:53;;;;;-1:-1:-1;;;61668:53:0;;;;;;;;;;;;-1:-1:-1;;;61668:53:0;;;;;;;;;;;;;;;61732:22;61757:9;61767:4;61757:15;;;;;;;;;;;;;;;;;;61732:40;;61783:24;61802:4;61783:18;:24::i;:::-;61851:4;:15;;;61840:7;:26;;61818:119;;;;-1:-1:-1;;;61818:119:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61948:17;61960:4;61948:11;:17::i;:::-;61976:15;61994:92;62060:4;:15;;;61994:47;62036:4;61994:37;62010:4;:20;;;61994:4;:11;;;:15;;:37;;;;:::i;:92::-;61976:110;-1:-1:-1;62101:11:0;;62097:123;;62129:37;62146:10;62158:7;62129:16;:37::i;:::-;62181:27;62200:7;62181:18;:27::i;:::-;62234:11;;62230:362;;62276:11;;:24;;62292:7;62276:15;:24::i;:::-;62262:38;;62333:15;;;;:28;;62353:7;62333:19;:28::i;:::-;62315:15;;;:46;62415:11;62429:24;62448:4;62429:14;:7;62441:1;62429:11;:14::i;:24::-;62485:14;;;;62415:38;;-1:-1:-1;62485:23:0;;62415:38;62485:18;:23::i;:::-;62468:14;;;:40;62537:3;;62523:57;;-1:-1:-1;;;;;62537:3:0;62550:10;62563:16;:7;62575:3;62563:11;:16::i;:::-;62523:13;:57::i;:::-;62230:362;;62636:20;;;;62620:11;;:47;;62662:4;;62620:37;;:15;:37::i;:47::-;62602:15;;;:65;62683:36;;;;;;;;62705:4;;62693:10;;62683:36;;;;;;;;;61538:1189;;;;;:::o;55821:183::-;55884:9;:16;55867:14;55911:86;55939:6;55933:3;:12;55911:86;;;55969:16;55981:3;55969:11;:16::i;:::-;55947:5;;55911:86;;64111:129;64182:7;;-1:-1:-1;;;;;64182:7:0;64168:10;:21;64160:43;;;;;-1:-1:-1;;;64160:43:0;;;;;;;;;;;;-1:-1:-1;;;64160:43:0;;;;;;;;;;;;;;;64214:7;:18;;-1:-1:-1;;;;;;64214:18:0;-1:-1:-1;;;;;64214:18:0;;;;;;;;;;64111:129::o;28087:79::-;28125:7;28152:6;-1:-1:-1;;;;;28152:6:0;28087:79;:::o;58548:989::-;58615:22;58640:9;58650:4;58640:15;;;;;;;;;;;;;;;;58690;;;:9;:15;;;;;;58706:10;58690:27;;;;;;;58640:15;;;;;;;;-1:-1:-1;58728:17:0;58700:4;58728:11;:17::i;:::-;58760:11;;:15;58756:337;;58792:15;58810:122;58916:4;:15;;;58810:83;58888:4;58810:55;58844:4;:20;;;58810:4;:11;;;:33;;:55;;;;:::i;:122::-;58792:140;-1:-1:-1;58951:11:0;;58947:135;;58983:37;59000:10;59012:7;58983:16;:37::i;:::-;59039:27;59058:7;59039:18;:27::i;:::-;58756:337;;59107:11;;59103:300;;59135:12;;:140;;-1:-1:-1;;;;;59135:12:0;59191:10;59229:4;59253:7;59135:29;:140::i;:::-;59304:11;;:24;;59320:7;59304:15;:24::i;:::-;59290:38;;59362:16;;;;:29;;59383:7;59362:20;:29::i;:::-;59343:16;;;:48;59103:300;59447:20;;;;59431:11;;:47;;59473:4;;59431:37;;:15;:37::i;:47::-;59413:15;;;:65;59494:35;;;;;;;;59515:4;;59503:10;;59494:35;;;;;;;;;58548:989;;;;:::o;53446:970::-;53545:7;53570:22;53595:9;53605:4;53595:15;;;;;;;;;;;;;;;;53645;;;:9;:15;;;;;;-1:-1:-1;;;;;53645:22:0;;;;;;;;;53704:20;53595:15;;;;;;;53704:20;;;;53754:16;;;;53800:20;;;;53595:15;;-1:-1:-1;53704:20:0;;53785:12;:35;:52;;;;-1:-1:-1;53824:13:0;;;53785:52;53781:547;;;53854:20;53877:100;53911:4;:20;;;53950:12;53877:15;:100::i;:::-;53854:123;-1:-1:-1;54047:27:0;54071:2;54047:19;53854:123;54064:1;54047:16;:19::i;:27::-;54032:42;;54089:18;54110:86;54166:15;;54110:33;54127:4;:15;;;54110:12;:16;;:33;;;;:::i;:86::-;54089:107;-1:-1:-1;54229:87:0;54267:34;54292:8;54267:20;54089:107;54282:4;54267:14;:20::i;:34::-;54229:15;;:19;:87::i;:::-;54211:105;;53781:547;;;54345:63;54392:4;:15;;;54345:42;54382:4;54345:32;54361:15;54345:4;:11;;;:15;;:32;;;;:::i;:63::-;54338:70;;;;;;53446:970;;;;;:::o;54480:992::-;54579:7;54604:22;54629:9;54639:4;54629:15;;;;;;;;;;;;;;;;54679;;;54629;54679;;;;;;;-1:-1:-1;;;;;54679:22:0;;;;;;;;;;54629:15;;;;;54738:20;;;;54810:15;;;;54788:17;;;;54629:15;;-1:-1:-1;54679:22:0;;54738:20;;54629:15;;54788:38;;:21;:38::i;:::-;54769:57;;54856:4;:20;;;54841:12;:35;:52;;;;-1:-1:-1;54880:13:0;;;54841:52;54837:547;;;54910:20;54933:100;54967:4;:20;;;55006:12;54933:15;:100::i;:::-;54910:123;-1:-1:-1;55103:27:0;55127:2;55103:19;54910:123;55120:1;55103:16;:19::i;:27::-;55088:42;;55145:18;55166:86;55222:15;;55166:33;55183:4;:15;;;55166:12;:16;;:33;;;;:::i;46129:30::-;;;-1:-1:-1;;;;;46129:30:0;;:::o;50193:902::-;28309:12;:10;:12::i;:::-;28299:6;;-1:-1:-1;;;;;28299:6:0;;;:22;;;28291:67;;;;;-1:-1:-1;;;28291:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28291:67:0;;;;;;;;;;;;;;;50375:11:::1;50371:62;;;50403:18;:16;:18::i;:::-;50443;50479:10;;50464:12;:25;:79;;50533:10;;50464:79;;;50505:12;50464:79;50572:15;::::0;50443:100;;-1:-1:-1;50572:32:0::1;::::0;50592:11;50572:19:::1;:32::i;:::-;50554:15;:50:::0;50644:432:::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;-1:-1:-1;50644:432:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50615:9:::1;:472:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50193:902:0:o;68140:617::-;68191:22;68216:9;68226:4;68216:15;;;;;;;;;;;;;;;;;;68191:40;;68242:16;68261:38;68281:4;:17;;;68261:4;:15;;;:19;;:38;;;;:::i;:::-;68322:8;;68242:57;;-1:-1:-1;;;;;;68322:8:0;68314:31;;;;:53;;;68366:1;68349:4;:14;;;:18;68314:53;68310:440;;;68384:17;68404:30;68419:4;:14;;;68404;:30::i;:::-;68384:50;-1:-1:-1;68453:13:0;;68449:290;;68504:1;68487:14;;;:18;68547:20;;;;:35;;68572:9;68547:24;:35::i;:::-;68524:20;;;:58;68624:99;68671:33;68695:8;68671:19;:9;68685:4;68671:13;:19::i;:33::-;68624:20;;;;;:24;:99::i;:::-;68601:20;;;:122;68449:290;68310:440;;68140:617;;;:::o;47091:30::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47091:30:0;:::o;48835:97::-;48908:9;:16;48835:97;:::o;56080:1152::-;56133:22;56158:9;56168:4;56158:15;;;;;;;;;;;;;;;;;;56133:40;;56204:4;:20;;;56188:12;:36;56184:75;;56241:7;;;56184:75;56288:16;;;;56319:13;56315:102;;-1:-1:-1;56372:12:0;56349:20;;;;:35;56399:7;;56315:102;56427:20;56450:88;56480:4;:20;;;56515:12;56450:15;:88::i;:::-;56427:111;-1:-1:-1;56600:27:0;56624:2;56600:19;56427:111;56617:1;56600:16;:19::i;:27::-;56585:42;;56638:18;56659:78;56711:15;;56659:33;56676:4;:15;;;56659:12;:16;;:33;;;;:::i;:78::-;56748:4;;56758:7;;56638:99;;-1:-1:-1;;;;;;56748:4:0;;;;:9;;56758:7;56767:18;56638:99;56782:2;56767:14;:18::i;:::-;56748:38;;;;;;;;;;;;;-1:-1:-1;;;;;56748:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;56801:8:0;;-1:-1:-1;;;;;56801:8:0;:22;;-1:-1:-1;56797:102:0;;-1:-1:-1;56797:102:0;56840:4;;56850:8;;-1:-1:-1;;;;;56840:4:0;;;;:9;;56850:8;56860:26;56882:3;56860:17;:10;56875:1;56860:14;:17::i;:26::-;56840:47;;;;;;;;;;;;;-1:-1:-1;;;;;56840:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56797:102;56913:13;;-1:-1:-1;;;;;56913:13:0;:27;56909:105;;56957:4;;56967:13;;-1:-1:-1;;;;;56957:4:0;;;;:9;;56967:13;56982:19;:10;56997:3;56982:14;:19::i;:::-;56957:45;;;;;;;;;;;;;-1:-1:-1;;;;;56957:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56909:105;57024:4;;:36;;;-1:-1:-1;;;57024:36:0;;57042:4;57024:36;;;;;;;;;;;;-1:-1:-1;;;;;57024:4:0;;;;:9;;:36;;;;;:4;;:36;;;;;;;;:4;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57094:84;57133:34;57158:8;57133:20;57148:4;57133:10;:14;;:20;;;;:::i;:34::-;57094:20;;;;;:24;:84::i;:::-;57071:20;;;:107;-1:-1:-1;;57212:12:0;57189:20;;;;:35;;;;-1:-1:-1;56080:1152:0;:::o;49097:114::-;28309:12;:10;:12::i;:::-;28299:6;;-1:-1:-1;;;;;28299:6:0;;;:22;;;28291:67;;;;;-1:-1:-1;;;28291:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28291:67:0;;;;;;;;;;;;;;;49167:8:::1;:36:::0;;-1:-1:-1;;;;;;49167:36:0::1;-1:-1:-1::0;;;;;49167:36:0;;;::::1;::::0;;;::::1;::::0;;49097:114::o;46195:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46195:28:0;;;;-1:-1:-1;46195:28:0;;;;;:::o;51653:366::-;28309:12;:10;:12::i;:::-;28299:6;;-1:-1:-1;;;;;28299:6:0;;;:22;;;28291:67;;;;;-1:-1:-1;;;28291:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28291:67:0;;;;;;;;;;;;;;;51786:11:::1;51782:62;;;51814:18;:16;:18::i;:::-;51872:88;51938:11;51872:47;51892:9;51902:4;51892:15;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:26:::0;51872:15:::1;::::0;;:19:::1;:47::i;:88::-;51854:15;:106;;;;52000:11;51971:9;51981:4;51971:15;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:40:::0;-1:-1:-1;;;51653:366:0:o;45940:23::-;;;-1:-1:-1;;;;;45940:23:0;;:::o;45839:21::-;;;-1:-1:-1;;;;;45839:21:0;;:::o;52549:833::-;52648:15;52692:10;;52685:4;:17;52681:67;;;52726:10;;52719:17;;52681:67;52770:2;52762:4;:10;52758:51;;-1:-1:-1;52796:1:0;52789:8;;52758:51;52826:9;52821:554;52845:10;:17;52841:21;;52821:554;;;52914:2;52888:10;52899:1;52888:13;;;;;;;;;;;;;;;;;;:22;;;:28;52884:480;;52944:56;52992:7;52944:43;52961:10;52972:1;52961:13;;;;;;;;;;;;;;;;;;:25;;;52944:12;52951:4;52944:2;:6;;:12;;;;:::i;:::-;:16;;:43::i;:56::-;52937:63;;;;;52884:480;53052:4;53026:10;53037:1;53026:13;;;;;;;;;;;;;;;;;;:22;;;:30;53022:342;;53077:8;;53022:342;53136:164;53170:111;53233:10;53244:1;53233:13;;;;;;;;;;;;;;;;;;:25;;;53170:32;53197:4;53170:10;53181:1;53170:13;;;;;;;;;;;;;;;;;;;;;:22;;:26;:32::i;:111::-;53136:7;;:11;:164::i;:::-;53126:174;;53326:10;53337:1;53326:13;;;;;;;;;;;;;;;;;;:22;;;53319:29;;53022:342;52864:3;;52821:554;;;;52549:833;;;;:::o;59606:953::-;59673:22;59698:9;59708:4;59698:15;;;;;;;;;;;;;;;;59748;;;59698;59748;;;;;;;59764:10;59748:27;;;;;;;;;59698:15;;;;;;-1:-1:-1;59786:17:0;59758:4;59786:11;:17::i;:::-;59818:11;;:15;59814:337;;59850:15;59868:122;59974:4;:15;;;59868:83;59946:4;59868:55;59902:4;:20;;;59868:4;:11;;;:33;;:55;;;;:::i;:122::-;59850:140;-1:-1:-1;60009:11:0;;60005:135;;60041:37;60058:10;60070:7;60041:16;:37::i;:::-;60097:27;60116:7;60097:18;:27::i;:::-;59814:337;;60165:11;;60161:229;;60211:3;;60193:67;;-1:-1:-1;;;;;60211:3:0;60224:10;60245:4;60252:7;60193:17;:67::i;:::-;60289:11;;:24;;60305:7;60289:15;:24::i;:::-;60275:38;;60348:17;;;;:30;;60370:7;60348:21;:30::i;:::-;60328:17;;;:50;60161:229;60400:24;60419:4;60400:18;:24::i;:::-;60469:20;;;;60453:11;;:47;;60495:4;;60453:37;;:15;:37::i;:47::-;60435:15;;;:65;60516:35;;;;;;;;60537:4;;60525:10;;60516:35;;;;;;;;;59606:953;;;;:::o;45888:22::-;;;-1:-1:-1;;;;;45888:22:0;;:::o;66007:377::-;66096:15;;66129:119;66153:9;:16;66149:20;;66129:119;;;66201:35;66213:22;66226:1;66229:5;66213:12;:22::i;66201:35::-;66191:45;-1:-1:-1;66171:3:0;;66129:119;;;;66263:9;66258:119;66282:9;:16;66278:20;;66258:119;;;66330:35;66342:22;66355:1;66358:5;66342:12;:22::i;66330:35::-;66320:45;-1:-1:-1;66300:3:0;;66258:119;;;;66007:377;;;:::o;46623:34::-;;;;:::o;29032:244::-;28309:12;:10;:12::i;:::-;28299:6;;-1:-1:-1;;;;;28299:6:0;;;:22;;;28291:67;;;;;-1:-1:-1;;;28291:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28291:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;29121:22:0;::::1;29113:73;;;;-1:-1:-1::0;;;29113:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29223:6;::::0;;29202:38:::1;::::0;-1:-1:-1;;;;;29202:38:0;;::::1;::::0;29223:6;::::1;::::0;29202:38:::1;::::0;::::1;29251:6;:17:::0;;-1:-1:-1;;;;;;29251:17:0::1;-1:-1:-1::0;;;;;29251:17:0;;;::::1;::::0;;;::::1;::::0;;29032:244::o;48940:149::-;28309:12;:10;:12::i;:::-;28299:6;;-1:-1:-1;;;;;28299:6:0;;;:22;;;28291:67;;;;;-1:-1:-1;;;28291:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28291:67:0;;;;;;;;;;;;;;;49035:10:::1;;49020:12;:25;49012:34;;;::::0;::::1;;49057:10;:24:::0;48940:149::o;64289:81::-;28309:12;:10;:12::i;:::-;28299:6;;-1:-1:-1;;;;;28299:6:0;;;:22;;;28291:67;;;;;-1:-1:-1;;;28291:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;28291:67:0;;;;;;;;;;;;;;;64346:8:::1;:16:::0;;-1:-1:-1;;;;;;64346:16:0::1;-1:-1:-1::0;;;;;64346:16:0;;;::::1;::::0;;;::::1;::::0;;64289:81::o;6025:132::-;6083:7;6110:39;6114:1;6117;6110:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;6103:46;6025:132;-1:-1:-1;;;6025:132:0:o;3724:181::-;3782:7;3814:5;;;3838:6;;;;3830:46;;;;;-1:-1:-1;;;3830:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;26641:106;26729:10;26641:106;:::o;4188:136::-;4246:7;4273:43;4277:1;4280;4273:43;;;;;;;;;;;;;;;;;:3;:43::i;5078:471::-;5136:7;5381:6;5377:47;;-1:-1:-1;5411:1:0;5404:8;;5377:47;5448:5;;;5452:1;5448;:5;:1;5472:5;;;;;:10;5464:56;;;;-1:-1:-1;;;5464:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63777:278;63871:4;;:29;;;-1:-1:-1;;;63871:29:0;;63894:4;63871:29;;;;;;63853:15;;-1:-1:-1;;;;;63871:4:0;;:14;;:29;;;;;;;;;;;;;;:4;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63871:29:0;;-1:-1:-1;63915:17:0;;;63911:137;;;63949:4;;:27;;;-1:-1:-1;;;63949:27:0;;-1:-1:-1;;;;;63949:27:0;;;;;;;;;;;;;;;:4;;;;;:13;;:27;;;;;;;;;;;;;;:4;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63911:137:0;;-1:-1:-1;63911:137:0;;64009:4;;:27;;;-1:-1:-1;;;64009:27:0;;-1:-1:-1;;;;;64009:27:0;;;;;;;;;;;;;;;:4;;;;;:13;;:27;;;;;;;;;;;;;;:4;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;63777:278:0;;;:::o;66420:626::-;66514:10;66485:16;66504:21;;;:9;:21;;;;;;-1:-1:-1;;;;;66504:21:0;66565:22;66561:61;;66604:7;;;66561:61;66688:4;;-1:-1:-1;;;;;66688:4:0;:9;66698:10;66710:16;:7;66722:3;66710:11;:16::i;:::-;66688:39;;;;;;;;;;;;;-1:-1:-1;;;;;66688:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;66738:4:0;;-1:-1:-1;;;;;66738:4:0;;-1:-1:-1;66738:9:0;;-1:-1:-1;66748:8:0;66758:23;66777:3;66758:14;:7;66770:1;66758:11;:14::i;:23::-;66738:44;;;;;;;;;;;;;-1:-1:-1;;;;;66738:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;66859:31:0;;;:19;;;;:9;:19;;;;;;;;;:31;66855:70;;;66907:7;;;66855:70;66983:4;;-1:-1:-1;;;;;66993:19:0;;;66983:4;66993:19;;;:9;:19;;;;;;66983:4;;;;:9;;66993:19;67014:23;67033:3;67014:14;:7;67026:1;67014:11;:14::i;:23::-;66983:55;;;;;;;;;;;;;-1:-1:-1;;;;;66983:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66420:626;;:::o;14885:177::-;14995:58;;;-1:-1:-1;;;;;14995:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14995:58:0;-1:-1:-1;;;14995:58:0;;;14968:86;;14988:5;;14968:19;:86::i;70049:166::-;70169:38;-1:-1:-1;;;;;70169:26:0;;70196:2;70200:6;70169:26;:38::i;67112:955::-;67184:19;67221:4;:22;;;67206:12;:37;67184:59;;67273:4;:24;;;67258:11;:39;67254:806;;67398:171;67443:111;67494:41;67510:4;:24;;;67494:11;:15;;:41;;;;:::i;:::-;67443:24;;;;;:28;:111::i;:::-;67398:22;;;;;:26;:171::i;:::-;67373:22;;;:196;67607:17;;;;;67584:20;67639:21;;;67693:15;;;;:33;;67607:17;67693:19;:33::i;:::-;67675:15;;;:51;-1:-1:-1;67254:806:0;;;67769:4;:18;;;67748:4;:17;;;:39;67744:316;;67861:18;67882:34;67912:3;67882:25;67904:2;67882:4;:17;;;:21;;:25;;;;:::i;:34::-;67951:17;;;;67861:55;;-1:-1:-1;67951:33:0;;67861:55;67951:21;:33::i;:::-;67931:17;;;:53;68017:15;;;;:31;;68037:10;68017:19;:31::i;:::-;67999:15;;;:49;-1:-1:-1;67112:955:0;;:::o;15070:205::-;15198:68;;;-1:-1:-1;;;;;15198:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15198:68:0;-1:-1:-1;;;15198:68:0;;;15171:96;;15191:5;;15171:19;:96::i;68765:995::-;68842:17;68878:16;68896;68918:8;;;;;;;;;-1:-1:-1;;;;;68918:8:0;-1:-1:-1;;;;;68918:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68918:22:0;;;;;;;68968:8;;68918:22;68968:17;;-1:-1:-1;;;68968:17:0;;;;68877:63;;;;;-1:-1:-1;68877:63:0;;;;;-1:-1:-1;68951:14:0;;-1:-1:-1;;;;;68968:8:0;;;;:15;;:17;;;;;68918:22;68968:17;;;;;;:8;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68968:17:0;69048:3;;68968:17;;-1:-1:-1;68997:17:0;;;;-1:-1:-1;;;;;69038:13:0;;;69048:3;;69038:13;:85;;69104:8;69114;69038:85;;;69068:8;69078;69038:85;68996:127;;-1:-1:-1;68996:127:0;-1:-1:-1;69185:23:0;69211:16;:7;69223:3;69211:11;:16::i;:::-;69185:42;-1:-1:-1;69238:17:0;69258:31;69185:42;69278:10;69258:19;:31::i;:::-;69238:51;-1:-1:-1;69300:19:0;69322:40;69346:15;69322:19;:9;69336:4;69322:13;:19::i;:40::-;69300:62;;69397:11;69385:9;:23;;;;;;;-1:-1:-1;69423:14:0;69419:55;;69461:1;69454:8;;;;;;;;;;;;69419:55;69537:3;;69485:18;;;;-1:-1:-1;;;;;69527:13:0;;;69537:3;;69527:13;:91;;69596:9;69615:1;69527:91;;;69565:1;69569:9;69527:91;69643:3;;69656:8;;69484:134;;-1:-1:-1;69484:134:0;;-1:-1:-1;69629:46:0;;-1:-1:-1;;;;;69643:3:0;;;;69656:8;69667:7;69629:13;:46::i;:::-;69686:8;;-1:-1:-1;;;;;69686:8:0;:13;69700:10;69712;69732:4;69686:8;69739:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69739:12:0;;69686:66;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;69686:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68765:995;;;;;;;;;;;;;;:::o;69805:203::-;69952:48;-1:-1:-1;;;;;69952:30:0;;69983:4;69989:2;69993:6;69952:30;:48::i;6653:278::-;6739:7;6774:12;6767:5;6759:28;;;;-1:-1:-1;;;6759:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6798:9;6814:1;6810;:5;;;;;;;6653:278;-1:-1:-1;;;;;6653:278:0:o;4627:192::-;4713:7;4749:12;4741:6;;;;4733:29;;;;-1:-1:-1;;;4733:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4785:5:0;;;4627:192::o;17190:761::-;17614:23;17640:69;17668:4;17640:69;;;;;;;;;;;;;;;;;17648:5;-1:-1:-1;;;;;17640:27:0;;;:69;;;;;:::i;:::-;17724:17;;17614:95;;-1:-1:-1;17724:21:0;17720:224;;17866:10;17855:30;;;;;;;;;;;;;;;-1:-1:-1;17855:30:0;17847:85;;;;-1:-1:-1;;;17847:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11866:196;11969:12;12001:53;12024:6;12032:4;12038:1;12041:12;12001:22;:53::i;:::-;11994:60;11866:196;-1:-1:-1;;;;11866:196:0:o;13243:979::-;13373:12;13406:18;13417:6;13406:10;:18::i;:::-;13398:60;;;;;-1:-1:-1;;;13398:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13532:12;13546:23;13573:6;-1:-1:-1;;;;;13573:11:0;13593:8;13604:4;13573:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13573:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13531:78;;;;13624:7;13620:595;;;13655:10;-1:-1:-1;13648:17:0;;-1:-1:-1;13648:17:0;13620:595;13769:17;;:21;13765:439;;14032:10;14026:17;14093:15;14080:10;14076:2;14072:19;14065:44;13980:148;14168:20;;-1:-1:-1;;;14168:20:0;;;;;;;;;;;;;;;;;14175:12;;14168:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8948:422;9315:20;9354:8;;;8948:422::o

Swarm Source

ipfs://5c237022f3d2d54d7165000ba58d82ddda4ed377031042a438dc81ab3e6caefb

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.