Address Details
contract
token

0xD96A74081440C28E9a3c09a3256D6e0454c52E41

Token
Wrapped mcUSD (wmcUSD)
Creator
0x845975–fbc533 at 0xd4fe92–946e8c
Balance
0 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
0 Transactions
Transfers
2,446 Transfers
Gas Used
Fetching gas used...
Last Balance Update
14573846
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
wmcUSD




Optimization enabled
true
Compiler version
v0.8.3+commit.8d00100c




Optimization runs
200
EVM Version
istanbul




Verified at
2023-06-02T06:39:44.350603Z

project:/contracts/wrapped/moola/wmcUSD.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./WrappedMToken.sol";

contract wmcUSD is WrappedMToken {
  constructor(address _mToken, address _token, address _lendingPool, address _feeToSetter)
    WrappedMToken("Wrapped mcUSD", "wmcUSD", _mToken, _token, _lendingPool, _feeToSetter)
  {}
}
        

/_openzeppelin/contracts/token/ERC20/ERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @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, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    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;
    }

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

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

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

        _afterTokenTransfer(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);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - 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 {}
}
          

/_openzeppelin/contracts/token/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.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);
}
          

/_openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

/_openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

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

/_openzeppelin/contracts/utils/Address.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/_openzeppelin/contracts/utils/Context.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.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 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;
    }
}
          

/_openzeppelin/contracts/utils/math/SafeMath.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}
          

/project_/contracts/interfaces/ILendingPool.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface ILendingPool {
  function deposit (address _reserve, uint256 _amount, address _onBehalfOf, uint16 _referralCode) external;

  function withdraw (address _reserve, uint256 _amount, address _to) external;
}

          

/project_/contracts/interfaces/IWERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IWERC20 is IERC20 {
  function wrap(uint256 underlyingAmount) external;

  function unwrap(uint256 debtAmount) external;

  function underlyingToDebt(uint256 underlyingAmount) external view returns (uint256);

  function debtToUnderlying(uint256 debtAmount) external view returns (uint256);

  function underlyingToken() external view returns (address);

  function underlyingBalanceOf(address owner) external view returns (uint256);
}

          

/project_/contracts/wrapped/FeeBase.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

contract FeeBase {
  address public feeToSetter;
  address public feeTo;
  uint256 public feeDivisor;

  constructor(address _feeToSetter) {
    // Initialize with a 1% fee to the feeToSetter
    feeToSetter = _feeToSetter;
    feeTo = _feeToSetter;
    feeDivisor = 10;
  }

  function setFeeToSetter(address nextFeeToSetter) external {
    require(msg.sender == feeToSetter, "Sender not authorized to update feeToSetter");
    feeToSetter = nextFeeToSetter;
  }

  function setFeeTo(address nextFeeTo) external {
    require(msg.sender == feeToSetter, "Sender not authorized to update feeTo");
    feeTo = nextFeeTo;
  }

  function setFeeDivisor(uint256 nextFeeDivisor) external {
    require(msg.sender == feeToSetter, "Sender not authorized to update feeDivisor");
    feeDivisor = nextFeeDivisor;
  }

  function hasFee() public view returns (bool) {
    return feeTo != address(0) && feeDivisor > 0;
  }
}
          

/project_/contracts/wrapped/moola/WrappedMToken.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

import "../FeeBase.sol";
import "../../interfaces/ILendingPool.sol";
import "../../interfaces/IWERC20.sol";

contract WrappedMToken is ERC20, FeeBase, IWERC20 {
  using SafeERC20 for IERC20;
  using SafeMath for uint256;

  uint256 public constant MULTIPLIER = 1e18;

  IERC20 public immutable mToken;
  IERC20 public immutable token;
  ILendingPool public immutable lendingPool;

  uint256 public lastMBalance;
  uint256 public totalUnredeemedFee;

  constructor(
    string memory _name,
    string memory _symbol,
    address _mToken,
    address _token,
    address _lendingPool,
    address _feeToSetter
  ) ERC20(_name, _symbol) FeeBase(_feeToSetter) {
    mToken = IERC20(_mToken);
    token = IERC20(_token);
    lendingPool = ILendingPool(_lendingPool);
  }

  function pendingFee() public view returns (uint256) {
    if (hasFee()) {
      // Invariant: feeDivisor > 0
      uint256 currentMBalance = mToken.balanceOf(address(this));
      if (currentMBalance > lastMBalance) {
        return currentMBalance.sub(lastMBalance).div(feeDivisor);
      }
    }
    return 0;
  }

  function totalFee() public view returns (uint256) {
    return pendingFee().add(totalUnredeemedFee);
  }

  function debtToUnderlying(uint256 debtAmount) public view override returns (uint256) {
    uint256 totalDebtSupply = totalSupply();
    if (totalDebtSupply <= 0) {
      return debtAmount.div(MULTIPLIER);
    }
    return debtAmount.mul(mToken.balanceOf(address(this)).sub(totalFee())).div(totalDebtSupply);
  }

  function underlyingToDebt(uint256 underlyingAmount) public view override returns (uint256) {
    uint256 totalUnderlyingSupply = mToken.balanceOf(address(this)).sub(totalFee());
    if (totalUnderlyingSupply <= 0) {
      return underlyingAmount.mul(MULTIPLIER);
    }
    return underlyingAmount.mul(totalSupply()).div(totalUnderlyingSupply);
  }

  function takeFee() external {
    uint256 fee = totalFee();
    if (fee > 0) {
      lendingPool.withdraw(address(token), fee, feeTo);
      lastMBalance = mToken.balanceOf(address(this));
      totalUnredeemedFee = 0;
    }
  }

  function wrap(uint256 underlyingAmount) external override {
    require(underlyingAmount > 0, "underlyingAmount cannot be 0");
    uint256 toMint = underlyingToDebt(underlyingAmount);
    totalUnredeemedFee = totalUnredeemedFee.add(pendingFee());
    token.safeTransferFrom(msg.sender, address(this), underlyingAmount);
    require(token.approve(address(lendingPool), underlyingAmount), "Approve failed");
    lendingPool.deposit(address(token), underlyingAmount, address(this), 0);
    _mint(msg.sender, toMint);

    // Assign lastMBalance after we have wrapped
    lastMBalance = mToken.balanceOf(address(this));
  }

  function unwrap(uint256 debtAmount) external override {
    if (debtAmount <= 0) {
      return;
    }
    uint256 toReturn = debtToUnderlying(debtAmount);
    totalUnredeemedFee = totalUnredeemedFee.add(pendingFee());
    _burn(msg.sender, debtAmount);
    lendingPool.withdraw(address(token), toReturn, msg.sender);

    // Assign lastMBalance after we have unwrapped
    lastMBalance = mToken.balanceOf(address(this));
  }

  function underlyingToken() external override view returns (address) {
    return address(token);
  }

  function underlyingBalanceOf(address owner) external view override returns (uint256) {
    return debtToUnderlying(balanceOf(owner));
  }
}
          

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_mToken","internalType":"address"},{"type":"address","name":"_token","internalType":"address"},{"type":"address","name":"_lendingPool","internalType":"address"},{"type":"address","name":"_feeToSetter","internalType":"address"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MULTIPLIER","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"debtToUnderlying","inputs":[{"type":"uint256","name":"debtAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"feeDivisor","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"feeTo","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"feeToSetter","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"hasFee","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"lastMBalance","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract ILendingPool"}],"name":"lendingPool","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20"}],"name":"mToken","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"pendingFee","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setFeeDivisor","inputs":[{"type":"uint256","name":"nextFeeDivisor","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setFeeTo","inputs":[{"type":"address","name":"nextFeeTo","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setFeeToSetter","inputs":[{"type":"address","name":"nextFeeToSetter","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"takeFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20"}],"name":"token","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalUnredeemedFee","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"underlyingBalanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"underlyingToDebt","inputs":[{"type":"uint256","name":"underlyingAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"underlyingToken","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unwrap","inputs":[{"type":"uint256","name":"debtAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"wrap","inputs":[{"type":"uint256","name":"underlyingAmount","internalType":"uint256"}]}]
              

Contract Creation Code

0x60e06040523480156200001157600080fd5b5060405162001e3238038062001e328339810160408190526200003491620001d4565b6040518060400160405280600d81526020016c15dc985c1c1959081b58d554d1609a1b815250604051806040016040528060068152602001651ddb58d554d160d21b8152508585858580868681600390805190602001906200009892919062000111565b508051620000ae90600490602084019062000111565b5050600580546001600160a01b039093166001600160a01b0319938416811790915560068054909316179091555050600a6007556001600160601b0319606093841b811660805291831b821660a05290911b1660c052506200026d945050505050565b8280546200011f9062000230565b90600052602060002090601f0160209004810192826200014357600085556200018e565b82601f106200015e57805160ff19168380011785556200018e565b828001600101855582156200018e579182015b828111156200018e57825182559160200191906001019062000171565b506200019c929150620001a0565b5090565b5b808211156200019c5760008155600101620001a1565b80516001600160a01b0381168114620001cf57600080fd5b919050565b60008060008060808587031215620001ea578384fd5b620001f585620001b7565b93506200020560208601620001b7565b92506200021560408601620001b7565b91506200022560608601620001b7565b905092959194509250565b600181811c908216806200024557607f821691505b602082108114156200026757634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c60a05160601c60c05160601c611b236200030f600039600081816103bc0152818161074d01528181610c4601528181610df80152610f330152600081816102f6015281816104b30152818161071601528181610c1101528181610db901528181610e270152610ef7015260008181610407015281816105a3015281816107be0152818161097801528181610cb50152610fae0152611b236000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c806370a082311161011a578063a9059cbb116100ad578063de0e9a3e1161007c578063de0e9a3e14610462578063ea598cb014610475578063f46901ed14610488578063f7cc71201461049b578063fc0c546a146104ae576101fb565b8063a9059cbb146103e7578063aa948607146103fa578063c3b6f93914610402578063dd62ed3e14610429576101fb565b8063a2e74af6116100e9578063a2e74af614610391578063a457c2d7146103a4578063a59a9973146103b7578063a6d8606a146103de576101fb565b806370a0823114610344578063935a8b841461036d57806395d89b41146103805780639a36f93214610388576101fb565b806318160ddd116101925780632495a599116101615780632495a599146102f4578063313ce5671461031a5780633950935114610329578063643090bc1461033c576101fb565b806318160ddd146102c9578063181aa1fd146102d15780631df4ccfc146102d957806323b872dd146102e1576101fb565b8063059f8b16116101ce578063059f8b161461026f57806306fdde031461027e578063094b741514610293578063095ea7b3146102a6576101fb565b806301058ccc14610200578063017e7e581461021c578063043531b11461024757806304626a641461025c575b600080fd5b61020960095481565b6040519081526020015b60405180910390f35b60065461022f906001600160a01b031681565b6040516001600160a01b039091168152602001610213565b61025a610255366004611983565b6104d5565b005b61020961026a366004611983565b61054c565b610209670de0b6b3a764000081565b610286610641565b60405161021391906119cf565b60055461022f906001600160a01b031681565b6102b96102b436600461193a565b6106d4565b6040519015158152602001610213565b600254610209565b61025a6106ea565b61020961084e565b6102b96102ef3660046118ff565b610869565b7f000000000000000000000000000000000000000000000000000000000000000061022f565b60405160128152602001610213565b6102b961033736600461193a565b610915565b610209610951565b6102096103523660046118b3565b6001600160a01b031660009081526020819052604090205490565b61020961037b3660046118b3565b610a31565b610286610a59565b61020960075481565b61025a61039f3660046118b3565b610a68565b6102b96103b236600461193a565b610af8565b61022f7f000000000000000000000000000000000000000000000000000000000000000081565b61020960085481565b6102b96103f536600461193a565b610b91565b6102b9610b9e565b61022f7f000000000000000000000000000000000000000000000000000000000000000081565b6102096104373660046118cd565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61025a610470366004611983565b610bbf565b61025a610483366004611983565b610d41565b61025a6104963660046118b3565b610fe5565b6102096104a9366004611983565b61106f565b61022f7f000000000000000000000000000000000000000000000000000000000000000081565b6005546001600160a01b031633146105475760405162461bcd60e51b815260206004820152602a60248201527f53656e646572206e6f7420617574686f72697a656420746f20757064617465206044820152693332b2a234bb34b9b7b960b11b60648201526084015b60405180910390fd5b600755565b60008061055860025490565b90506000811161057c5761057483670de0b6b3a76400006110a9565b91505061063c565b6106388161063261062b61058e61084e565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b1580156105ed57600080fd5b505afa158015610601573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610625919061199b565b906110b5565b86906110c1565b906110a9565b9150505b919050565b60606003805461065090611a9c565b80601f016020809104026020016040519081016040528092919081815260200182805461067c90611a9c565b80156106c95780601f1061069e576101008083540402835291602001916106c9565b820191906000526020600020905b8154815290600101906020018083116106ac57829003601f168201915b505050505090505b90565b60006106e13384846110cd565b50600192915050565b60006106f461084e565b9050801561084b57600654604051631a4ca37b60e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820184905291821660448201527f0000000000000000000000000000000000000000000000000000000000000000909116906369328dec90606401600060405180830381600087803b15801561079357600080fd5b505af11580156107a7573d6000803e3d6000fd5b50506040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031692506370a08231915060240160206040518083038186803b15801561080a57600080fd5b505afa15801561081e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610842919061199b565b60085560006009555b50565b600061086460095461085e610951565b906111f2565b905090565b60006108768484846111fe565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156108fb5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161053e565b61090885338584036110cd565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106e191859061094c908690611a02565b6110cd565b600061095b610b9e565b15610a2b576040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b1580156109c257600080fd5b505afa1580156109d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fa919061199b565b9050600854811115610a2957610a21600754610632600854846110b590919063ffffffff16565b9150506106d1565b505b50600090565b6001600160a01b038116600090815260208190526040812054610a539061026a565b92915050565b60606004805461065090611a9c565b6005546001600160a01b03163314610ad65760405162461bcd60e51b815260206004820152602b60248201527f53656e646572206e6f7420617574686f72697a656420746f207570646174652060448201526a3332b2aa37a9b2ba3a32b960a91b606482015260840161053e565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610b7a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161053e565b610b8733858584036110cd565b5060019392505050565b60006106e13384846111fe565b6006546000906001600160a01b031615801590610864575050600754151590565b60008111610bcc5761084b565b6000610bd78261054c565b9050610bed610be4610951565b600954906111f2565b600955610bfa33836113ce565b604051631a4ca37b60e21b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018390523360448301527f000000000000000000000000000000000000000000000000000000000000000016906369328dec90606401600060405180830381600087803b158015610c8a57600080fd5b505af1158015610c9e573d6000803e3d6000fd5b50506040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031692506370a0823191506024015b60206040518083038186803b158015610d0257600080fd5b505afa158015610d16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3a919061199b565b6008555050565b60008111610d915760405162461bcd60e51b815260206004820152601c60248201527f756e6465726c79696e67416d6f756e742063616e6e6f74206265203000000000604482015260640161053e565b6000610d9c8261106f565b9050610da9610be4610951565b600955610de16001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333085611519565b60405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018490527f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b390604401602060405180830381600087803b158015610e6b57600080fd5b505af1158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190611963565b610ee05760405162461bcd60e51b815260206004820152600e60248201526d105c1c1c9bdd994819985a5b195960921b604482015260640161053e565b60405163e8eda9df60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015260248201849052306044830152600060648301527f0000000000000000000000000000000000000000000000000000000000000000169063e8eda9df90608401600060405180830381600087803b158015610f7757600080fd5b505af1158015610f8b573d6000803e3d6000fd5b50505050610f993382611573565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401610cea565b6005546001600160a01b0316331461104d5760405162461bcd60e51b815260206004820152602560248201527f53656e646572206e6f7420617574686f72697a656420746f2075706461746520604482015264666565546f60d81b606482015260840161053e565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b60008061107d61058e61084e565b9050600081116110995761057483670de0b6b3a76400006110c1565b6106388161063261062b60025490565b600061090e8284611a1a565b600061090e8284611a59565b600061090e8284611a3a565b6001600160a01b03831661112f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161053e565b6001600160a01b0382166111905760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161053e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061090e8284611a02565b6001600160a01b0383166112625760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161053e565b6001600160a01b0382166112c45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161053e565b6001600160a01b0383166000908152602081905260409020548181101561133c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161053e565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611373908490611a02565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113bf91815260200190565b60405180910390a35b50505050565b6001600160a01b03821661142e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161053e565b6001600160a01b038216600090815260208190526040902054818110156114a25760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161053e565b6001600160a01b03831660009081526020819052604081208383039055600280548492906114d1908490611a59565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016111e5565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526113c8908590611652565b6001600160a01b0382166115c95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161053e565b80600260008282546115db9190611a02565b90915550506001600160a01b03821660009081526020819052604081208054839290611608908490611a02565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60006116a7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166117249092919063ffffffff16565b80519091501561151457808060200190518101906116c59190611963565b6115145760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161053e565b6060611733848460008561173b565b949350505050565b60608247101561179c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161053e565b843b6117ea5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161053e565b600080866001600160a01b0316858760405161180691906119b3565b60006040518083038185875af1925050503d8060008114611843576040519150601f19603f3d011682016040523d82523d6000602084013e611848565b606091505b5091509150611858828286611863565b979650505050505050565b6060831561187257508161090e565b8251156118825782518084602001fd5b8160405162461bcd60e51b815260040161053e91906119cf565b80356001600160a01b038116811461063c57600080fd5b6000602082840312156118c4578081fd5b61090e8261189c565b600080604083850312156118df578081fd5b6118e88361189c565b91506118f66020840161189c565b90509250929050565b600080600060608486031215611913578081fd5b61191c8461189c565b925061192a6020850161189c565b9150604084013590509250925092565b6000806040838503121561194c578182fd5b6119558361189c565b946020939093013593505050565b600060208284031215611974578081fd5b8151801515811461090e578182fd5b600060208284031215611994578081fd5b5035919050565b6000602082840312156119ac578081fd5b5051919050565b600082516119c5818460208701611a70565b9190910192915050565b60006020825282518060208401526119ee816040850160208701611a70565b601f01601f19169190910160400192915050565b60008219821115611a1557611a15611ad7565b500190565b600082611a3557634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611a5457611a54611ad7565b500290565b600082821015611a6b57611a6b611ad7565b500390565b60005b83811015611a8b578181015183820152602001611a73565b838111156113c85750506000910152565b600181811c90821680611ab057607f821691505b60208210811415611ad157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122009005c59092e1c54ecda84f08f1f01295c505bd896bb6899eda8921230ceaaed64736f6c63430008030033000000000000000000000000918146359264c492bd6934071c6bd31c854edbc3000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000970b12522ca9b4054807a2c5b736149a5be6f67000000000000000000000000054c18437bc09ee60bcd40afe7e560010860ffc1f

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c806370a082311161011a578063a9059cbb116100ad578063de0e9a3e1161007c578063de0e9a3e14610462578063ea598cb014610475578063f46901ed14610488578063f7cc71201461049b578063fc0c546a146104ae576101fb565b8063a9059cbb146103e7578063aa948607146103fa578063c3b6f93914610402578063dd62ed3e14610429576101fb565b8063a2e74af6116100e9578063a2e74af614610391578063a457c2d7146103a4578063a59a9973146103b7578063a6d8606a146103de576101fb565b806370a0823114610344578063935a8b841461036d57806395d89b41146103805780639a36f93214610388576101fb565b806318160ddd116101925780632495a599116101615780632495a599146102f4578063313ce5671461031a5780633950935114610329578063643090bc1461033c576101fb565b806318160ddd146102c9578063181aa1fd146102d15780631df4ccfc146102d957806323b872dd146102e1576101fb565b8063059f8b16116101ce578063059f8b161461026f57806306fdde031461027e578063094b741514610293578063095ea7b3146102a6576101fb565b806301058ccc14610200578063017e7e581461021c578063043531b11461024757806304626a641461025c575b600080fd5b61020960095481565b6040519081526020015b60405180910390f35b60065461022f906001600160a01b031681565b6040516001600160a01b039091168152602001610213565b61025a610255366004611983565b6104d5565b005b61020961026a366004611983565b61054c565b610209670de0b6b3a764000081565b610286610641565b60405161021391906119cf565b60055461022f906001600160a01b031681565b6102b96102b436600461193a565b6106d4565b6040519015158152602001610213565b600254610209565b61025a6106ea565b61020961084e565b6102b96102ef3660046118ff565b610869565b7f000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a61022f565b60405160128152602001610213565b6102b961033736600461193a565b610915565b610209610951565b6102096103523660046118b3565b6001600160a01b031660009081526020819052604090205490565b61020961037b3660046118b3565b610a31565b610286610a59565b61020960075481565b61025a61039f3660046118b3565b610a68565b6102b96103b236600461193a565b610af8565b61022f7f000000000000000000000000970b12522ca9b4054807a2c5b736149a5be6f67081565b61020960085481565b6102b96103f536600461193a565b610b91565b6102b9610b9e565b61022f7f000000000000000000000000918146359264c492bd6934071c6bd31c854edbc381565b6102096104373660046118cd565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61025a610470366004611983565b610bbf565b61025a610483366004611983565b610d41565b61025a6104963660046118b3565b610fe5565b6102096104a9366004611983565b61106f565b61022f7f000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a81565b6005546001600160a01b031633146105475760405162461bcd60e51b815260206004820152602a60248201527f53656e646572206e6f7420617574686f72697a656420746f20757064617465206044820152693332b2a234bb34b9b7b960b11b60648201526084015b60405180910390fd5b600755565b60008061055860025490565b90506000811161057c5761057483670de0b6b3a76400006110a9565b91505061063c565b6106388161063261062b61058e61084e565b6040516370a0823160e01b81523060048201527f000000000000000000000000918146359264c492bd6934071c6bd31c854edbc36001600160a01b0316906370a082319060240160206040518083038186803b1580156105ed57600080fd5b505afa158015610601573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610625919061199b565b906110b5565b86906110c1565b906110a9565b9150505b919050565b60606003805461065090611a9c565b80601f016020809104026020016040519081016040528092919081815260200182805461067c90611a9c565b80156106c95780601f1061069e576101008083540402835291602001916106c9565b820191906000526020600020905b8154815290600101906020018083116106ac57829003601f168201915b505050505090505b90565b60006106e13384846110cd565b50600192915050565b60006106f461084e565b9050801561084b57600654604051631a4ca37b60e21b81526001600160a01b037f000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a811660048301526024820184905291821660448201527f000000000000000000000000970b12522ca9b4054807a2c5b736149a5be6f670909116906369328dec90606401600060405180830381600087803b15801561079357600080fd5b505af11580156107a7573d6000803e3d6000fd5b50506040516370a0823160e01b81523060048201527f000000000000000000000000918146359264c492bd6934071c6bd31c854edbc36001600160a01b031692506370a08231915060240160206040518083038186803b15801561080a57600080fd5b505afa15801561081e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610842919061199b565b60085560006009555b50565b600061086460095461085e610951565b906111f2565b905090565b60006108768484846111fe565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156108fb5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161053e565b61090885338584036110cd565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106e191859061094c908690611a02565b6110cd565b600061095b610b9e565b15610a2b576040516370a0823160e01b81523060048201526000907f000000000000000000000000918146359264c492bd6934071c6bd31c854edbc36001600160a01b0316906370a082319060240160206040518083038186803b1580156109c257600080fd5b505afa1580156109d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fa919061199b565b9050600854811115610a2957610a21600754610632600854846110b590919063ffffffff16565b9150506106d1565b505b50600090565b6001600160a01b038116600090815260208190526040812054610a539061026a565b92915050565b60606004805461065090611a9c565b6005546001600160a01b03163314610ad65760405162461bcd60e51b815260206004820152602b60248201527f53656e646572206e6f7420617574686f72697a656420746f207570646174652060448201526a3332b2aa37a9b2ba3a32b960a91b606482015260840161053e565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610b7a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161053e565b610b8733858584036110cd565b5060019392505050565b60006106e13384846111fe565b6006546000906001600160a01b031615801590610864575050600754151590565b60008111610bcc5761084b565b6000610bd78261054c565b9050610bed610be4610951565b600954906111f2565b600955610bfa33836113ce565b604051631a4ca37b60e21b81526001600160a01b037f000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a81166004830152602482018390523360448301527f000000000000000000000000970b12522ca9b4054807a2c5b736149a5be6f67016906369328dec90606401600060405180830381600087803b158015610c8a57600080fd5b505af1158015610c9e573d6000803e3d6000fd5b50506040516370a0823160e01b81523060048201527f000000000000000000000000918146359264c492bd6934071c6bd31c854edbc36001600160a01b031692506370a0823191506024015b60206040518083038186803b158015610d0257600080fd5b505afa158015610d16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3a919061199b565b6008555050565b60008111610d915760405162461bcd60e51b815260206004820152601c60248201527f756e6465726c79696e67416d6f756e742063616e6e6f74206265203000000000604482015260640161053e565b6000610d9c8261106f565b9050610da9610be4610951565b600955610de16001600160a01b037f000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a16333085611519565b60405163095ea7b360e01b81526001600160a01b037f000000000000000000000000970b12522ca9b4054807a2c5b736149a5be6f67081166004830152602482018490527f000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a169063095ea7b390604401602060405180830381600087803b158015610e6b57600080fd5b505af1158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190611963565b610ee05760405162461bcd60e51b815260206004820152600e60248201526d105c1c1c9bdd994819985a5b195960921b604482015260640161053e565b60405163e8eda9df60e01b81526001600160a01b037f000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a8116600483015260248201849052306044830152600060648301527f000000000000000000000000970b12522ca9b4054807a2c5b736149a5be6f670169063e8eda9df90608401600060405180830381600087803b158015610f7757600080fd5b505af1158015610f8b573d6000803e3d6000fd5b50505050610f993382611573565b6040516370a0823160e01b81523060048201527f000000000000000000000000918146359264c492bd6934071c6bd31c854edbc36001600160a01b0316906370a0823190602401610cea565b6005546001600160a01b0316331461104d5760405162461bcd60e51b815260206004820152602560248201527f53656e646572206e6f7420617574686f72697a656420746f2075706461746520604482015264666565546f60d81b606482015260840161053e565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b60008061107d61058e61084e565b9050600081116110995761057483670de0b6b3a76400006110c1565b6106388161063261062b60025490565b600061090e8284611a1a565b600061090e8284611a59565b600061090e8284611a3a565b6001600160a01b03831661112f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161053e565b6001600160a01b0382166111905760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161053e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061090e8284611a02565b6001600160a01b0383166112625760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161053e565b6001600160a01b0382166112c45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161053e565b6001600160a01b0383166000908152602081905260409020548181101561133c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161053e565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611373908490611a02565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516113bf91815260200190565b60405180910390a35b50505050565b6001600160a01b03821661142e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161053e565b6001600160a01b038216600090815260208190526040902054818110156114a25760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161053e565b6001600160a01b03831660009081526020819052604081208383039055600280548492906114d1908490611a59565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016111e5565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526113c8908590611652565b6001600160a01b0382166115c95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161053e565b80600260008282546115db9190611a02565b90915550506001600160a01b03821660009081526020819052604081208054839290611608908490611a02565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60006116a7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166117249092919063ffffffff16565b80519091501561151457808060200190518101906116c59190611963565b6115145760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161053e565b6060611733848460008561173b565b949350505050565b60608247101561179c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161053e565b843b6117ea5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161053e565b600080866001600160a01b0316858760405161180691906119b3565b60006040518083038185875af1925050503d8060008114611843576040519150601f19603f3d011682016040523d82523d6000602084013e611848565b606091505b5091509150611858828286611863565b979650505050505050565b6060831561187257508161090e565b8251156118825782518084602001fd5b8160405162461bcd60e51b815260040161053e91906119cf565b80356001600160a01b038116811461063c57600080fd5b6000602082840312156118c4578081fd5b61090e8261189c565b600080604083850312156118df578081fd5b6118e88361189c565b91506118f66020840161189c565b90509250929050565b600080600060608486031215611913578081fd5b61191c8461189c565b925061192a6020850161189c565b9150604084013590509250925092565b6000806040838503121561194c578182fd5b6119558361189c565b946020939093013593505050565b600060208284031215611974578081fd5b8151801515811461090e578182fd5b600060208284031215611994578081fd5b5035919050565b6000602082840312156119ac578081fd5b5051919050565b600082516119c5818460208701611a70565b9190910192915050565b60006020825282518060208401526119ee816040850160208701611a70565b601f01601f19169190910160400192915050565b60008219821115611a1557611a15611ad7565b500190565b600082611a3557634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611a5457611a54611ad7565b500290565b600082821015611a6b57611a6b611ad7565b500390565b60005b83811015611a8b578181015183820152602001611a73565b838111156113c85750506000910152565b600181811c90821680611ab057607f821691505b60208210811415611ad157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122009005c59092e1c54ecda84f08f1f01295c505bd896bb6899eda8921230ceaaed64736f6c63430008030033