Contract Address Details

0xafB2354c149676774fb2bcF41932ae00211EE6D0

Contract Name
Masterchef
Creator
0xcc5beb–aa9cca at 0xfacb84–0d29db
Balance
0 CRO ( )
Tokens
Fetching tokens...
Transactions
1,579 Transactions
Transfers
3,490 Transfers
Gas Used
231,142,433
Last Balance Update
13802554
Contract name:
Masterchef




Optimization enabled
false
Compiler version
v0.8.11+commit.d7f03943




EVM Version
default




Verified at
2021-12-30T23:26:39.348418Z

Constructor Arguments

0000000000000000000000009132441e99daeaf34ddd2b9b44df1540da61c9c400000000000000000000000000000000000000000000000000000000000d2691000000000000000000000000693d38efe8b113e9a383378fce40fc2c15abd3ae

Arg [0] (address) : 0x9132441e99daeaf34ddd2b9b44df1540da61c9c4
Arg [1] (uint256) : 861841
Arg [2] (address) : 0x693d38efe8b113e9a383378fce40fc2c15abd3ae

              

Contract source code

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

/**
 * @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 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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 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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

        uint256 size;
        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");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

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

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

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

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

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

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

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

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

/**
 * @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 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'
        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) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _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
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}
 
 /**
 * @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 Contracts guidelines: functions revert
 * instead 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, Ownable, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;
    uint256 private _totalBurned;
    
    uint256 private MAXSUPPLY = 3000 ether;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override 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 this function is
     * overridden;
     *
     * 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 virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        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] + 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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This 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);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(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:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");
        require(amount != 0, "ERC20: amount must be greater than 0");

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalBurned += amount;
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(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 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 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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

contract CROLuanToken is ERC20('CROLuan', 'LUAN') {

    address public destroyer;
    address public masterchef;

    event SetContracts(address indexed newDestroyer, address indexed newMasterchef);

    constructor() {
        _mint(_msgSender(), uint256(100000000000000000000)); // 100 tokens for initial liquidity
    }

    modifier onlyDestroyer() {
        require(_msgSender() == destroyer, "destroyer: caller is not the destroyer");
        _;
    }

    modifier onlyMasterchef() {
        require(_msgSender() == masterchef, "masterchef: caller is not the masterchef");
        _;
    }

    function mint(address to, uint256 amount) external onlyMasterchef {
        _mint(to, amount);
    }

    function burn(uint256 amount) external onlyDestroyer {
        _burn(_msgSender(), amount);
    }

    function setContracts(address _destroyer, address _masterchef) public onlyOwner {
        require(destroyer == address(0) && masterchef == address(0), "set already");
        destroyer = _destroyer;
        masterchef = _masterchef;
        emit SetContracts(destroyer, masterchef);
    }
}

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

contract Masterchef is Ownable, ReentrancyGuard {
    using SafeERC20 for IERC20;

    struct UserInfo {
        uint256 amount;       
        uint256 rewardDebt;
    }

    struct PoolInfo {
        IERC20 lpToken;               
        uint256 allocPoint;            
        uint256 lastRewardperBlock;     
        uint256 accLuanPerShare;    
        uint16 depositFeeBP;
        uint256 lpSupply;
    }
    
    CROLuanToken public immutable luan;

    uint256 public startBlock;
    address public feeAdd;
    
    uint256 private immutable MAXSUPPLY;
    uint256 public luanPerBlock = 0.01 ether;
    uint256 public constant MAX_PERBLOCK = 0.1 ether;
    uint256 public constant MIN_PERBLOCK = 0.0001 ether;
    
    uint256 public totalAllocPoint = 0;
    
    PoolInfo[] public poolInfo;
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    mapping(IERC20 => bool) public poolExistence;
    
    modifier nonDuplicated(IERC20 _lpToken) {
        require(poolExistence[_lpToken] == false, "nonDuplicated: duplicated");
        _;
    }
    
    event UpdateFeeAddress(address indexed user, address indexed newAddress);
    event UpdateTreasuryAddress(address indexed user, address indexed newAddress);
    event Add(uint256 indexed pid, address lpToken, uint256 allocPoint, uint16 depositFeeBP);
    event Set(uint256 indexed pid, address lpToken, uint256 allocPoint, uint16 depositFeeBP);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event UpdateStartBlock(uint256 newStartBlock);
    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event UpdateEmissionRate(address indexed user, uint256 luanPerBlock);

    constructor(CROLuanToken _luan, uint256 _startBlock, address _feeAdd) {
        luan = _luan;
        startBlock = _startBlock;
        feeAdd = _feeAdd;
        MAXSUPPLY = _luan.maxSupply();
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }
    
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    function safeLuanTransfer(address _to, uint256 _amount) internal {
        uint256 luanBalance = luan.balanceOf(address(this));
        bool transferSuccess = false;
        if (_amount > luanBalance) {
            transferSuccess = luan.transfer(_to, luanBalance);
        } else {
            transferSuccess = luan.transfer(_to, _amount);
        }
        require(transferSuccess, "safeLuanTransfer: Transfer failed");
    }
    
    function updateEmissionRate(uint256 _luanPerBlock) external onlyOwner {
        require(_luanPerBlock >= MIN_PERBLOCK && _luanPerBlock <= MAX_PERBLOCK, "Bad Emissions per second");
        massUpdatePools();
        luanPerBlock = _luanPerBlock;
        emit UpdateEmissionRate(msg.sender, _luanPerBlock);
    }

    function add(uint256 _allocPoint, IERC20 _lpToken, uint16 _depositFeeBP, bool _withUpdate) external onlyOwner nonDuplicated(_lpToken) {
        require(_depositFeeBP <= 400, "add: invalid deposit fee basis points");
        _lpToken.balanceOf(address(this));
        if (_withUpdate) { massUpdatePools(); }
        uint256 lastRewardperBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocPoint += _allocPoint;
        poolExistence[_lpToken] = true;
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            depositFeeBP: _depositFeeBP,
            lastRewardperBlock: lastRewardperBlock,
            accLuanPerShare: 0,
            lpSupply: 0
        }));
        
        emit Add(poolInfo.length - 1, address(_lpToken), _allocPoint, _depositFeeBP);
    }

    function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, bool _withUpdate) external onlyOwner {
        require(_depositFeeBP <= 400, "set: invalid deposit fee basis points");
        if (_withUpdate) { massUpdatePools(); }
        totalAllocPoint = totalAllocPoint - poolInfo[_pid].allocPoint + _allocPoint;
        poolInfo[_pid].allocPoint = _allocPoint;
        poolInfo[_pid].depositFeeBP = _depositFeeBP;
        emit Set(_pid, address(poolInfo[_pid].lpToken), _allocPoint, _depositFeeBP);
    }

    function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) {
        if (TOTALSUPPLY() >= MAXSUPPLY) { 
            return 0; 
        }
        return _to - _from;
    }

    function pendingLuan(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accLuanPerShare = pool.accLuanPerShare;

        if (block.number > pool.lastRewardperBlock && pool.lpSupply != 0 && totalAllocPoint > 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardperBlock, block.number);
            uint256 luanReward = (multiplier * luanPerBlock * pool.allocPoint) / totalAllocPoint;
            uint256 distribution = luanReward / 10;
            if (luanReward + distribution + TOTALSUPPLY() > MAXSUPPLY) {
                luanReward = MAXSUPPLY - TOTALSUPPLY();
            }
            accLuanPerShare += luanReward * 1e18 / pool.lpSupply;
        }
        return ((user.amount * accLuanPerShare) / 1e18) - user.rewardDebt;
    }

    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        
        if (block.number <= pool.lastRewardperBlock) { 
            return;
        }
        
        uint256 multiplier = getMultiplier(pool.lastRewardperBlock, block.number);
        if (pool.lpSupply == 0 || pool.allocPoint == 0 || multiplier == 0) {
                pool.lastRewardperBlock = block.number;
                return;
        }

        uint256 luanReward = (multiplier * luanPerBlock * pool.allocPoint) / totalAllocPoint;
        uint256 toBurn = luanReward / 10;
        
        if (TOTALSUPPLY() + luanReward + toBurn <= MAXSUPPLY) {
            luan.mint(destroyerAdd(), toBurn);
            luan.mint(address(this), luanReward);
        } else {
            luanReward = MAXSUPPLY - TOTALSUPPLY();
            luan.mint(address(this), luanReward);
        }

        pool.accLuanPerShare += luanReward * 1e18 / pool.lpSupply;
        pool.lastRewardperBlock = block.number;
    }
    
    function deposit(uint256 _pid, uint256 _amount) external nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        
        if (user.amount > 0) {
            uint256 pending = ((user.amount * pool.accLuanPerShare) / 1e18) - user.rewardDebt;
            
            if (pending > 0) {
                safeLuanTransfer(msg.sender, pending);
            }
        }

        if (_amount > 0) {
            uint256 balanceBefore = pool.lpToken.balanceOf(address(this));
            pool.lpToken.safeTransferFrom(msg.sender, address(this), _amount);
            _amount = pool.lpToken.balanceOf(address(this)) - balanceBefore;
            require(_amount > 0, "We dont accept deposits of 0 size");

            if (pool.depositFeeBP > 0) {
                uint256 depositFee = (_amount * pool.depositFeeBP) / 10000;
                pool.lpToken.safeTransfer(feeAdd, depositFee);
                user.amount += _amount - depositFee;
                pool.lpSupply += _amount - depositFee;
            } else {
                user.amount += _amount;
                pool.lpSupply += _amount;
            }
        }
        user.rewardDebt = (user.amount * pool.accLuanPerShare) / 1e18;
        emit Deposit(msg.sender, _pid, _amount);
    }

    function withdraw(uint256 _pid, uint256 _amount) external nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "Withdraw: not good");
        updatePool(_pid);
        uint256 pending = ((user.amount * pool.accLuanPerShare) / 1e18) - user.rewardDebt;
        
        if (pending > 0) {
            safeLuanTransfer(msg.sender, pending);
        }
        
        if (_amount > 0) {
            user.amount -= _amount;
            pool.lpSupply -= _amount;
            pool.lpToken.safeTransfer(msg.sender, _amount);
        }
        
        user.rewardDebt = (user.amount * pool.accLuanPerShare) / 1e18;
        emit Withdraw(msg.sender, _pid, _amount);
    }

    function emergencyWithdraw(uint256 _pid) external nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 amount = user.amount;

        require(amount > 0, "emergencyWithdraw: NO amount");
        require(pool.lpSupply >= amount, "emergencyWithdraw: Pool balance not enough"); 

        user.amount = 0;
        user.rewardDebt = 0;
        pool.lpSupply -= amount;
        pool.lpToken.safeTransfer(msg.sender, amount);

        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    function TOTALSUPPLY() private view returns (uint256) {
        return luan.totalSupply();
    }

    function destroyerAdd() public view returns (address) {
        return luan.destroyer();
    }

    function updateFeeAddress(address _feeAdd) external onlyOwner {
        require(_feeAdd != address(0), "!nonzero");
        feeAdd = _feeAdd;
        emit UpdateFeeAddress(msg.sender, _feeAdd);
    }

    function updateStartBlock(uint256 _newStartBlock) external onlyOwner {
        require(block.number < startBlock, "Farm has already started");
        require(block.number < _newStartBlock, "Cannot set time in the past");
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            PoolInfo storage pool = poolInfo[pid];
            pool.lastRewardperBlock = _newStartBlock;
        }
        startBlock = _newStartBlock;
        emit UpdateStartBlock(startBlock);
    }
}
        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_luan","internalType":"contract CROLuanToken"},{"type":"uint256","name":"_startBlock","internalType":"uint256"},{"type":"address","name":"_feeAdd","internalType":"address"}]},{"type":"event","name":"Add","inputs":[{"type":"uint256","name":"pid","internalType":"uint256","indexed":true},{"type":"address","name":"lpToken","internalType":"address","indexed":false},{"type":"uint256","name":"allocPoint","internalType":"uint256","indexed":false},{"type":"uint16","name":"depositFeeBP","internalType":"uint16","indexed":false}],"anonymous":false},{"type":"event","name":"Deposit","inputs":[{"type":"address","name":"user","internalType":"address","indexed":true},{"type":"uint256","name":"pid","internalType":"uint256","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"EmergencyWithdraw","inputs":[{"type":"address","name":"user","internalType":"address","indexed":true},{"type":"uint256","name":"pid","internalType":"uint256","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Set","inputs":[{"type":"uint256","name":"pid","internalType":"uint256","indexed":true},{"type":"address","name":"lpToken","internalType":"address","indexed":false},{"type":"uint256","name":"allocPoint","internalType":"uint256","indexed":false},{"type":"uint16","name":"depositFeeBP","internalType":"uint16","indexed":false}],"anonymous":false},{"type":"event","name":"UpdateEmissionRate","inputs":[{"type":"address","name":"user","internalType":"address","indexed":true},{"type":"uint256","name":"luanPerBlock","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"UpdateFeeAddress","inputs":[{"type":"address","name":"user","internalType":"address","indexed":true},{"type":"address","name":"newAddress","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"UpdateStartBlock","inputs":[{"type":"uint256","name":"newStartBlock","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"UpdateTreasuryAddress","inputs":[{"type":"address","name":"user","internalType":"address","indexed":true},{"type":"address","name":"newAddress","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Withdraw","inputs":[{"type":"address","name":"user","internalType":"address","indexed":true},{"type":"uint256","name":"pid","internalType":"uint256","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MAX_PERBLOCK","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MIN_PERBLOCK","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"add","inputs":[{"type":"uint256","name":"_allocPoint","internalType":"uint256"},{"type":"address","name":"_lpToken","internalType":"contract IERC20"},{"type":"uint16","name":"_depositFeeBP","internalType":"uint16"},{"type":"bool","name":"_withUpdate","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"deposit","inputs":[{"type":"uint256","name":"_pid","internalType":"uint256"},{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"destroyerAdd","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"emergencyWithdraw","inputs":[{"type":"uint256","name":"_pid","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"feeAdd","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getMultiplier","inputs":[{"type":"uint256","name":"_from","internalType":"uint256"},{"type":"uint256","name":"_to","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract CROLuanToken"}],"name":"luan","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"luanPerBlock","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"massUpdatePools","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"pendingLuan","inputs":[{"type":"uint256","name":"_pid","internalType":"uint256"},{"type":"address","name":"_user","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"poolExistence","inputs":[{"type":"address","name":"","internalType":"contract IERC20"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"lpToken","internalType":"contract IERC20"},{"type":"uint256","name":"allocPoint","internalType":"uint256"},{"type":"uint256","name":"lastRewardperBlock","internalType":"uint256"},{"type":"uint256","name":"accLuanPerShare","internalType":"uint256"},{"type":"uint16","name":"depositFeeBP","internalType":"uint16"},{"type":"uint256","name":"lpSupply","internalType":"uint256"}],"name":"poolInfo","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"poolLength","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"set","inputs":[{"type":"uint256","name":"_pid","internalType":"uint256"},{"type":"uint256","name":"_allocPoint","internalType":"uint256"},{"type":"uint16","name":"_depositFeeBP","internalType":"uint16"},{"type":"bool","name":"_withUpdate","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"startBlock","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalAllocPoint","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateEmissionRate","inputs":[{"type":"uint256","name":"_luanPerBlock","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateFeeAddress","inputs":[{"type":"address","name":"_feeAdd","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updatePool","inputs":[{"type":"uint256","name":"_pid","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateStartBlock","inputs":[{"type":"uint256","name":"_newStartBlock","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"uint256","name":"rewardDebt","internalType":"uint256"}],"name":"userInfo","inputs":[{"type":"uint256","name":"","internalType":"uint256"},{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdraw","inputs":[{"type":"uint256","name":"_pid","internalType":"uint256"},{"type":"uint256","name":"_amount","internalType":"uint256"}]}]
            

Deployed ByteCode

0x608060405234801561001057600080fd5b506004361061018e5760003560e01c806359952b0d116100de578063bbcaac3811610097578063e10eafb111610071578063e10eafb114610465578063e2bbb15814610483578063f2fde38b1461049f578063fac2b9ba146104bb5761018e565b8063bbcaac38146103fd578063cbd258b514610419578063d9638422146104495761018e565b806359952b0d1461033a578063630b5ba11461035857806384e82a33146103625780638da5cb5b1461037e5780638dbb1e3a1461039c57806393f1a40b146103cc5761018e565b806333e079421161014b57806348cd4cb11161012557806348cd4cb1146102c65780634d521be7146102e457806351eb05a6146103025780635312ea8e1461031e5761018e565b806333e079421461026e57806343f9350c1461028c578063441a3e70146102aa5761018e565b8063081e3eda146101935780630ba84cd2146101b15780630e5f2c32146101cd5780631526fe27146101eb57806317caf6f11461022057806331dfc8111461023e575b600080fd5b61019b6104d7565b6040516101a89190612882565b60405180910390f35b6101cb60048036038101906101c691906128ce565b6104e4565b005b6101d561061d565b6040516101e29190612882565b60405180910390f35b610205600480360381019061020091906128ce565b610627565b60405161021796959493929190612997565b60405180910390f35b6102286106a1565b6040516102359190612882565b60405180910390f35b61025860048036038101906102539190612a36565b6106a7565b6040516102659190612882565b60405180910390f35b610276610893565b6040516102839190612882565b60405180910390f35b61029461089f565b6040516102a19190612a97565b60405180910390f35b6102c460048036038101906102bf9190612ab2565b6108c3565b005b6102ce610b44565b6040516102db9190612882565b60405180910390f35b6102ec610b4a565b6040516102f99190612b01565b60405180910390f35b61031c600480360381019061031791906128ce565b610b70565b005b610338600480360381019061033391906128ce565b610eaa565b005b6103426110df565b60405161034f9190612882565b60405180910390f35b6103606110e5565b005b61037c60048036038101906103779190612bbe565b611118565b005b6103866114e0565b6040516103939190612b01565b60405180910390f35b6103b660048036038101906103b19190612ab2565b611509565b6040516103c39190612882565b60405180910390f35b6103e660048036038101906103e19190612a36565b611557565b6040516103f4929190612c25565b60405180910390f35b61041760048036038101906104129190612c4e565b611588565b005b610433600480360381019061042e9190612c7b565b611712565b6040516104409190612cb7565b60405180910390f35b610463600480360381019061045e9190612cd2565b611732565b005b61046d61193b565b60405161047a9190612b01565b60405180910390f35b61049d60048036038101906104989190612ab2565b6119d1565b005b6104b960048036038101906104b49190612c4e565b611ec2565b005b6104d560048036038101906104d091906128ce565b611fba565b005b6000600680549050905090565b6104ec612157565b73ffffffffffffffffffffffffffffffffffffffff1661050a6114e0565b73ffffffffffffffffffffffffffffffffffffffff1614610560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055790612d96565b60405180910390fd5b655af3107a4000811015801561057e575067016345785d8a00008111155b6105bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b490612e02565b60405180910390fd5b6105c56110e5565b806004819055503373ffffffffffffffffffffffffffffffffffffffff167fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053826040516106129190612882565b60405180910390a250565b655af3107a400081565b6006818154811061063757600080fd5b90600052602060002090600602016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900461ffff16908060050154905086565b60055481565b600080600684815481106106be576106bd612e22565b5b9060005260206000209060060201905060006007600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905082600201544311801561074357506000836005015414155b801561075157506000600554115b15610856576000610766846002015443611509565b905060006005548560010154600454846107809190612e80565b61078a9190612e80565b6107949190612f09565b90506000600a826107a59190612f09565b90507f0000000000000000000000000000000000000000000000a2a15d09519be000006107d061215f565b82846107dc9190612f3a565b6107e69190612f3a565b1115610822576107f461215f565b7f0000000000000000000000000000000000000000000000a2a15d09519be0000061081f9190612f90565b91505b8560050154670de0b6b3a76400008361083b9190612e80565b6108459190612f09565b846108509190612f3a565b93505050505b8160010154670de0b6b3a76400008284600001546108749190612e80565b61087e9190612f09565b6108889190612f90565b935050505092915050565b67016345785d8a000081565b7f0000000000000000000000009132441e99daeaf34ddd2b9b44df1540da61c9c481565b60026001541415610909576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090090613010565b60405180910390fd5b600260018190555060006006838154811061092757610926612e22565b5b9060005260206000209060060201905060006007600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905082816000015410156109d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c99061307c565b60405180910390fd5b6109db84610b70565b60008160010154670de0b6b3a7640000846003015484600001546109ff9190612e80565b610a099190612f09565b610a139190612f90565b90506000811115610a2957610a2833826121f5565b5b6000841115610ab85783826000016000828254610a469190612f90565b9250508190555083836005016000828254610a619190612f90565b92505081905550610ab733858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166124299092919063ffffffff16565b5b670de0b6b3a764000083600301548360000154610ad59190612e80565b610adf9190612f09565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b56886604051610b2e9190612882565b60405180910390a3505050600180819055505050565b60025481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060068281548110610b8657610b85612e22565b5b9060005260206000209060060201905080600201544311610ba75750610ea7565b6000610bb7826002015443611509565b9050600082600501541480610bd0575060008260010154145b80610bdb5750600081145b15610bf0574382600201819055505050610ea7565b6000600554836001015460045484610c089190612e80565b610c129190612e80565b610c1c9190612f09565b90506000600a82610c2d9190612f09565b90507f0000000000000000000000000000000000000000000000a2a15d09519be000008183610c5a61215f565b610c649190612f3a565b610c6e9190612f3a565b11610d99577f0000000000000000000000009132441e99daeaf34ddd2b9b44df1540da61c9c473ffffffffffffffffffffffffffffffffffffffff166340c10f19610cb761193b565b836040518363ffffffff1660e01b8152600401610cd592919061309c565b600060405180830381600087803b158015610cef57600080fd5b505af1158015610d03573d6000803e3d6000fd5b505050507f0000000000000000000000009132441e99daeaf34ddd2b9b44df1540da61c9c473ffffffffffffffffffffffffffffffffffffffff166340c10f1930846040518363ffffffff1660e01b8152600401610d6292919061309c565b600060405180830381600087803b158015610d7c57600080fd5b505af1158015610d90573d6000803e3d6000fd5b50505050610e5c565b610da161215f565b7f0000000000000000000000000000000000000000000000a2a15d09519be00000610dcc9190612f90565b91507f0000000000000000000000009132441e99daeaf34ddd2b9b44df1540da61c9c473ffffffffffffffffffffffffffffffffffffffff166340c10f1930846040518363ffffffff1660e01b8152600401610e2992919061309c565b600060405180830381600087803b158015610e4357600080fd5b505af1158015610e57573d6000803e3d6000fd5b505050505b8360050154670de0b6b3a764000083610e759190612e80565b610e7f9190612f09565b846003016000828254610e929190612f3a565b92505081905550438460020181905550505050505b50565b60026001541415610ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee790613010565b60405180910390fd5b6002600181905550600060068281548110610f0e57610f0d612e22565b5b9060005260206000209060060201905060006007600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905060008111610fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb590613111565b60405180910390fd5b8083600501541015611005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffc906131a3565b60405180910390fd5b60008260000181905550600082600101819055508083600501600082825461102d9190612f90565b9250508190555061108333828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166124299092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040516110ca9190612882565b60405180910390a35050506001808190555050565b60045481565b6000600680549050905060005b818110156111145761110381610b70565b8061110d906131c3565b90506110f2565b5050565b611120612157565b73ffffffffffffffffffffffffffffffffffffffff1661113e6114e0565b73ffffffffffffffffffffffffffffffffffffffff1614611194576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118b90612d96565b60405180910390fd5b8260001515600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611228576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121f90613258565b60405180910390fd5b6101908361ffff161115611271576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611268906132ea565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112aa9190612b01565b602060405180830381865afa1580156112c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112eb919061331f565b5081156112fb576112fa6110e5565b5b6000600254431161130e57600254611310565b435b905085600560008282546113249190612f3a565b925050819055506001600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060066040518060c001604052808773ffffffffffffffffffffffffffffffffffffffff168152602001888152602001838152602001600081526020018661ffff1681526020016000815250908060018154018082558091505060019003906000526020600020906006020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548161ffff021916908361ffff16021790555060a082015181600501555050600160068054905061149d9190612f90565b7fe3dca48aba682ddc13d8f02ad9bf5fef0d2e71897c32507dd299954b7bee6cac8688876040516114d09392919061334c565b60405180910390a2505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f0000000000000000000000000000000000000000000000a2a15d09519be0000061153461215f565b106115425760009050611551565b828261154e9190612f90565b90505b92915050565b6007602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b611590612157565b73ffffffffffffffffffffffffffffffffffffffff166115ae6114e0565b73ffffffffffffffffffffffffffffffffffffffff1614611604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fb90612d96565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166b906133cf565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f902851878f378b5ada06366b0ecb192abf50a68836fd2862d2bc551c174a6f8a60405160405180910390a350565b60086020528060005260406000206000915054906101000a900460ff1681565b61173a612157565b73ffffffffffffffffffffffffffffffffffffffff166117586114e0565b73ffffffffffffffffffffffffffffffffffffffff16146117ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a590612d96565b60405180910390fd5b6101908261ffff1611156117f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ee90613461565b60405180910390fd5b8015611806576118056110e5565b5b826006858154811061181b5761181a612e22565b5b90600052602060002090600602016001015460055461183a9190612f90565b6118449190612f3a565b600581905550826006858154811061185f5761185e612e22565b5b906000526020600020906006020160010181905550816006858154811061188957611888612e22565b5b906000526020600020906006020160040160006101000a81548161ffff021916908361ffff160217905550837fabffcfffdbce9b6a74433ae1bb79897794bf3b7a21595e8b0aaf766e3afc67ba600686815481106118ea576118e9612e22565b5b906000526020600020906006020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16858560405161192d9392919061334c565b60405180910390a250505050565b60007f0000000000000000000000009132441e99daeaf34ddd2b9b44df1540da61c9c473ffffffffffffffffffffffffffffffffffffffff166311367b266040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119cc9190613496565b905090565b60026001541415611a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0e90613010565b60405180910390fd5b6002600181905550600060068381548110611a3557611a34612e22565b5b9060005260206000209060060201905060006007600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611aa284610b70565b600081600001541115611aff5760008160010154670de0b6b3a764000084600301548460000154611ad39190612e80565b611add9190612f09565b611ae79190612f90565b90506000811115611afd57611afc33826121f5565b5b505b6000831115611e375760008260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611b679190612b01565b602060405180830381865afa158015611b84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ba8919061331f565b9050611bfb3330868660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166124af909392919063ffffffff16565b808360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611c599190612b01565b602060405180830381865afa158015611c76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c9a919061331f565b611ca49190612f90565b935060008411611ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce090613535565b60405180910390fd5b60008360040160009054906101000a900461ffff1661ffff161115611dfe5760006127108460040160009054906101000a900461ffff1661ffff1686611d2f9190612e80565b611d399190612f09565b9050611dac600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166124299092919063ffffffff16565b8085611db89190612f90565b836000016000828254611dcb9190612f3a565b925050819055508085611dde9190612f90565b846005016000828254611df19190612f3a565b9250508190555050611e35565b83826000016000828254611e129190612f3a565b9250508190555083836005016000828254611e2d9190612f3a565b925050819055505b505b670de0b6b3a764000082600301548260000154611e549190612e80565b611e5e9190612f09565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a1585604051611ead9190612882565b60405180910390a35050600180819055505050565b611eca612157565b73ffffffffffffffffffffffffffffffffffffffff16611ee86114e0565b73ffffffffffffffffffffffffffffffffffffffff1614611f3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3590612d96565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa5906135c7565b60405180910390fd5b611fb781612538565b50565b611fc2612157565b73ffffffffffffffffffffffffffffffffffffffff16611fe06114e0565b73ffffffffffffffffffffffffffffffffffffffff1614612036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202d90612d96565b60405180910390fd5b600254431061207a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207190613633565b60405180910390fd5b8043106120bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b39061369f565b60405180910390fd5b6000600680549050905060005b81811015612112576000600682815481106120e7576120e6612e22565b5b90600052602060002090600602019050838160020181905550508061210b906131c3565b90506120c9565b50816002819055507f1ff2238e284780b094bb341b41af7e6ce294dee1da3799ae49cd0e29fbe1270960025460405161214b9190612882565b60405180910390a15050565b600033905090565b60007f0000000000000000000000009132441e99daeaf34ddd2b9b44df1540da61c9c473ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f0919061331f565b905090565b60007f0000000000000000000000009132441e99daeaf34ddd2b9b44df1540da61c9c473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016122509190612b01565b602060405180830381865afa15801561226d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612291919061331f565b9050600081831115612342577f0000000000000000000000009132441e99daeaf34ddd2b9b44df1540da61c9c473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b81526004016122f892919061309c565b6020604051808303816000875af1158015612317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233b91906136d4565b90506123e3565b7f0000000000000000000000009132441e99daeaf34ddd2b9b44df1540da61c9c473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b815260040161239d92919061309c565b6020604051808303816000875af11580156123bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123e091906136d4565b90505b80612423576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241a90613773565b60405180910390fd5b50505050565b6124aa8363a9059cbb60e01b848460405160240161244892919061309c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506125fc565b505050565b612532846323b872dd60e01b8585856040516024016124d093929190613793565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506125fc565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061265e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166126c39092919063ffffffff16565b90506000815111156126be578080602001905181019061267e91906136d4565b6126bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b49061383c565b60405180910390fd5b5b505050565b60606126d284846000856126db565b90509392505050565b606082471015612720576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612717906138ce565b60405180910390fd5b612729856127ef565b612768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275f9061393a565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161279191906139d4565b60006040518083038185875af1925050503d80600081146127ce576040519150601f19603f3d011682016040523d82523d6000602084013e6127d3565b606091505b50915091506127e3828286612802565b92505050949350505050565b600080823b905060008111915050919050565b6060831561281257829050612862565b6000835111156128255782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128599190613a40565b60405180910390fd5b9392505050565b6000819050919050565b61287c81612869565b82525050565b60006020820190506128976000830184612873565b92915050565b600080fd5b6128ab81612869565b81146128b657600080fd5b50565b6000813590506128c8816128a2565b92915050565b6000602082840312156128e4576128e361289d565b5b60006128f2848285016128b9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061294061293b612936846128fb565b61291b565b6128fb565b9050919050565b600061295282612925565b9050919050565b600061296482612947565b9050919050565b61297481612959565b82525050565b600061ffff82169050919050565b6129918161297a565b82525050565b600060c0820190506129ac600083018961296b565b6129b96020830188612873565b6129c66040830187612873565b6129d36060830186612873565b6129e06080830185612988565b6129ed60a0830184612873565b979650505050505050565b6000612a03826128fb565b9050919050565b612a13816129f8565b8114612a1e57600080fd5b50565b600081359050612a3081612a0a565b92915050565b60008060408385031215612a4d57612a4c61289d565b5b6000612a5b858286016128b9565b9250506020612a6c85828601612a21565b9150509250929050565b6000612a8182612947565b9050919050565b612a9181612a76565b82525050565b6000602082019050612aac6000830184612a88565b92915050565b60008060408385031215612ac957612ac861289d565b5b6000612ad7858286016128b9565b9250506020612ae8858286016128b9565b9150509250929050565b612afb816129f8565b82525050565b6000602082019050612b166000830184612af2565b92915050565b6000612b27826129f8565b9050919050565b612b3781612b1c565b8114612b4257600080fd5b50565b600081359050612b5481612b2e565b92915050565b612b638161297a565b8114612b6e57600080fd5b50565b600081359050612b8081612b5a565b92915050565b60008115159050919050565b612b9b81612b86565b8114612ba657600080fd5b50565b600081359050612bb881612b92565b92915050565b60008060008060808587031215612bd857612bd761289d565b5b6000612be6878288016128b9565b9450506020612bf787828801612b45565b9350506040612c0887828801612b71565b9250506060612c1987828801612ba9565b91505092959194509250565b6000604082019050612c3a6000830185612873565b612c476020830184612873565b9392505050565b600060208284031215612c6457612c6361289d565b5b6000612c7284828501612a21565b91505092915050565b600060208284031215612c9157612c9061289d565b5b6000612c9f84828501612b45565b91505092915050565b612cb181612b86565b82525050565b6000602082019050612ccc6000830184612ca8565b92915050565b60008060008060808587031215612cec57612ceb61289d565b5b6000612cfa878288016128b9565b9450506020612d0b878288016128b9565b9350506040612d1c87828801612b71565b9250506060612d2d87828801612ba9565b91505092959194509250565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612d80602083612d39565b9150612d8b82612d4a565b602082019050919050565b60006020820190508181036000830152612daf81612d73565b9050919050565b7f42616420456d697373696f6e7320706572207365636f6e640000000000000000600082015250565b6000612dec601883612d39565b9150612df782612db6565b602082019050919050565b60006020820190508181036000830152612e1b81612ddf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612e8b82612869565b9150612e9683612869565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612ecf57612ece612e51565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612f1482612869565b9150612f1f83612869565b925082612f2f57612f2e612eda565b5b828204905092915050565b6000612f4582612869565b9150612f5083612869565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612f8557612f84612e51565b5b828201905092915050565b6000612f9b82612869565b9150612fa683612869565b925082821015612fb957612fb8612e51565b5b828203905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612ffa601f83612d39565b915061300582612fc4565b602082019050919050565b6000602082019050818103600083015261302981612fed565b9050919050565b7f57697468647261773a206e6f7420676f6f640000000000000000000000000000600082015250565b6000613066601283612d39565b915061307182613030565b602082019050919050565b6000602082019050818103600083015261309581613059565b9050919050565b60006040820190506130b16000830185612af2565b6130be6020830184612873565b9392505050565b7f656d657267656e637957697468647261773a204e4f20616d6f756e7400000000600082015250565b60006130fb601c83612d39565b9150613106826130c5565b602082019050919050565b6000602082019050818103600083015261312a816130ee565b9050919050565b7f656d657267656e637957697468647261773a20506f6f6c2062616c616e63652060008201527f6e6f7420656e6f75676800000000000000000000000000000000000000000000602082015250565b600061318d602a83612d39565b915061319882613131565b604082019050919050565b600060208201905081810360008301526131bc81613180565b9050919050565b60006131ce82612869565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561320157613200612e51565b5b600182019050919050565b7f6e6f6e4475706c6963617465643a206475706c69636174656400000000000000600082015250565b6000613242601983612d39565b915061324d8261320c565b602082019050919050565b6000602082019050818103600083015261327181613235565b9050919050565b7f6164643a20696e76616c6964206465706f73697420666565206261736973207060008201527f6f696e7473000000000000000000000000000000000000000000000000000000602082015250565b60006132d4602583612d39565b91506132df82613278565b604082019050919050565b60006020820190508181036000830152613303816132c7565b9050919050565b600081519050613319816128a2565b92915050565b6000602082840312156133355761333461289d565b5b60006133438482850161330a565b91505092915050565b60006060820190506133616000830186612af2565b61336e6020830185612873565b61337b6040830184612988565b949350505050565b7f216e6f6e7a65726f000000000000000000000000000000000000000000000000600082015250565b60006133b9600883612d39565b91506133c482613383565b602082019050919050565b600060208201905081810360008301526133e8816133ac565b9050919050565b7f7365743a20696e76616c6964206465706f73697420666565206261736973207060008201527f6f696e7473000000000000000000000000000000000000000000000000000000602082015250565b600061344b602583612d39565b9150613456826133ef565b604082019050919050565b6000602082019050818103600083015261347a8161343e565b9050919050565b60008151905061349081612a0a565b92915050565b6000602082840312156134ac576134ab61289d565b5b60006134ba84828501613481565b91505092915050565b7f576520646f6e7420616363657074206465706f73697473206f6620302073697a60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b600061351f602183612d39565b915061352a826134c3565b604082019050919050565b6000602082019050818103600083015261354e81613512565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006135b1602683612d39565b91506135bc82613555565b604082019050919050565b600060208201905081810360008301526135e0816135a4565b9050919050565b7f4661726d2068617320616c726561647920737461727465640000000000000000600082015250565b600061361d601883612d39565b9150613628826135e7565b602082019050919050565b6000602082019050818103600083015261364c81613610565b9050919050565b7f43616e6e6f74207365742074696d6520696e2074686520706173740000000000600082015250565b6000613689601b83612d39565b915061369482613653565b602082019050919050565b600060208201905081810360008301526136b88161367c565b9050919050565b6000815190506136ce81612b92565b92915050565b6000602082840312156136ea576136e961289d565b5b60006136f8848285016136bf565b91505092915050565b7f736166654c75616e5472616e736665723a205472616e73666572206661696c6560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b600061375d602183612d39565b915061376882613701565b604082019050919050565b6000602082019050818103600083015261378c81613750565b9050919050565b60006060820190506137a86000830186612af2565b6137b56020830185612af2565b6137c26040830184612873565b949350505050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000613826602a83612d39565b9150613831826137ca565b604082019050919050565b6000602082019050818103600083015261385581613819565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006138b8602683612d39565b91506138c38261385c565b604082019050919050565b600060208201905081810360008301526138e7816138ab565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000613924601d83612d39565b915061392f826138ee565b602082019050919050565b6000602082019050818103600083015261395381613917565b9050919050565b600081519050919050565b600081905092915050565b60005b8381101561398e578082015181840152602081019050613973565b8381111561399d576000848401525b50505050565b60006139ae8261395a565b6139b88185613965565b93506139c8818560208601613970565b80840191505092915050565b60006139e082846139a3565b915081905092915050565b600081519050919050565b6000601f19601f8301169050919050565b6000613a12826139eb565b613a1c8185612d39565b9350613a2c818560208601613970565b613a35816139f6565b840191505092915050565b60006020820190508181036000830152613a5a8184613a07565b90509291505056fea264697066735822122082bc647e9b916b8aaed9db40c85406b6422c402166cfa398c29a748faa9cc2fd64736f6c634300080b0033