false

Contract Address Details

0x1e385b1BbED0FD2dfaA9108577BDe9b376038C45

Contract Name
MoneyMaker
Creator
0x32c2b2–e25fd3 at 0xbb07df–06a3ca
Balance
1.999999999999 ASTR ( )
Tokens
Fetching tokens...
Transactions
233 Transactions
Transfers
45,173 Transfers
Gas Used
767,295,862
Last Balance Update
2841250
Contract name:
MoneyMaker




Optimization enabled
true
Compiler version
v0.8.9+commit.e5eed63a




Optimization runs
999999
Verified at
2022-06-28T08:29:51.941392Z

Constructor Arguments

000000000000000000000000a9473608514457b4bf083f9045fa63ae5810a03e00000000000000000000000042d175a498cb517ad29d055ea7dcfd3d99045404000000000000000000000000de2578edec4669ba7f41c5d5d2386300bcea4678000000000000000000000000aeaaf0e2c81af264101b9129c00f4440ccf0f720

Arg [0] (address) : 0xa9473608514457b4bf083f9045fa63ae5810a03e
Arg [1] (address) : 0x42d175a498cb517ad29d055ea7dcfd3d99045404
Arg [2] (address) : 0xde2578edec4669ba7f41c5d5d2386300bcea4678
Arg [3] (address) : 0xaeaaf0e2c81af264101b9129c00f4440ccf0f720

              

contracts/MoneyMaker.sol

Sol2uml
new
// SPDX-License-Identifier: MIT

pragma solidity 0.8.9;

import "./interfaces/IArswPair.sol";
import "./interfaces/IArswFactory.sol";

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

/// @title Money Maker
/// @notice MoneyMaker receives 0.05% of the swaps done on ArthSwap in the form of an LP. It swaps those LPs
/// to a token of choice and sends it to the staking contract
contract MoneyMaker is Ownable {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    struct Remitted {
        uint256 amount;
        uint256 blockNumber;
    }

    Remitted[7] private _remittedAmount;
    uint256 private _index = 0;
    IArswFactory public immutable factory;

    address public immutable staking;
    address private immutable wastr;
    /// @notice Any ERC20
    address public tokenTo;
    /// @notice In basis points aka parts per 10,000 so 5000 is 50%, cap of 50%, default is 0
    uint256 public devCut = 0;
    address public devAddr;

    /// @dev Maps a token `token` to another token `bridge` so that it uses `token/bridge` pair to convert token
    mapping(address => address) internal _bridges;

    event SetDevAddr(address _addr);
    event SetDevCut(uint256 _amount);
    event SetTokenTo(address _tokenTo);
    event LogBridgeSet(
        address indexed token,
        address indexed oldBridge,
        address indexed bridge
    );
    event LogConvert(
        address indexed server,
        address indexed token0,
        address indexed token1,
        uint256 amount0,
        uint256 amount1,
        uint256 amountTOKEN
    );

    /// @notice Constructor
    /// @param _factory The address of ArswFactory
    /// @param _staking The address of staking contract
    /// @param _tokenTo The address of the token we want to convert to
    /// @param _wastr The address of wastr
    constructor(
        address _factory,
        address _staking,
        address _tokenTo,
        address _wastr
    ) {
        require(
            _factory != address(0),
            "MoneyMaker: factory can't be address(0)"
        );
        require(
            _staking != address(0),
            "MoneyMaker: staking can't be address(0)"
        );
        require(
            _tokenTo != address(0),
            "MoneyMaker: token can't be address(0)"
        );
        require(_wastr != address(0), "MoneyMaker: wastr can't be address(0)");
        factory = IArswFactory(_factory);
        staking = _staking;
        tokenTo = _tokenTo;
        wastr = _wastr;
        devAddr = _msgSender();
    }

    /// @notice Force using `pair/bridge` pair to convert `token`
    /// @param token The address of the tokenFrom
    /// @param bridge The address of the tokenTo
    function setBridge(address token, address bridge) external onlyOwner {
        // Checks
        require(
            token != tokenTo && token != wastr && token != bridge,
            "MoneyMaker: Invalid bridge"
        );

        // Effects
        address oldBridge = _bridges[token];
        _bridges[token] = bridge;
        emit LogBridgeSet(token, oldBridge, bridge);
    }

    /// @notice Sets dev cut, which will be sent to `devAddr`, can't be greater than 50%
    /// @param _amount The new devCut value
    function setDevCut(uint256 _amount) external onlyOwner {
        require(_amount <= 5000, "setDevCut: cut too high");
        devCut = _amount;

        emit SetDevCut(_amount);
    }

    /// @notice Sets `devAddr`, the address that will receive the `devCut`
    /// @param _addr The new dev address
    function setDevAddr(address _addr) external onlyOwner {
        require(
            _addr != address(0),
            "setDevAddr, address cannot be zero address"
        );
        devAddr = _addr;

        emit SetDevAddr(_addr);
    }

    /// @notice Sets token that we're buying back
    /// @param _tokenTo The new token address
    function setTokenToAddress(address _tokenTo) external onlyOwner {
        require(
            _tokenTo != address(0),
            "setTokenToAddress, address cannot be zero address"
        );
        tokenTo = _tokenTo;

        emit SetTokenTo(_tokenTo);
    }

    /// @notice Returns the `bridge` of a `token`
    /// @param token The tokenFrom address
    /// @return bridge The tokenTo address
    function bridgeFor(address token) public view returns (address bridge) {
        bridge = _bridges[token];
        if (bridge == address(0)) {
            bridge = wastr;
        }
    }

    // C6: It's not a fool proof solution, but it prevents flash loans, so here it's ok to use tx.origin
    modifier onlyEOA() {
        // Try to make flash-loan exploit harder to do by only allowing externally owned addresses.
        require(_msgSender() == tx.origin, "MoneyMaker: must use EOA");
        _;
    }

    function _pushToRemitted(uint256 remitted, bool addToRemitted) internal {
        if (!addToRemitted) {
            _index = (_index + 1) % 7;
            _remittedAmount[_index].amount = 0;
        }
        _remittedAmount[_index].amount += remitted;
        _remittedAmount[_index].blockNumber = block.number;
    }

    function remittedTokens1d() external view returns (Remitted memory) {
        return _remittedAmount[_index];
    }

    function remittedTokens7d()
        external
        view
        returns (Remitted[7] memory remitted)
    {
        // Sort from the oldest to recent one
        uint256 indexOffset = _index + 1;
        for (uint256 i = 0; i < 7; ++i) {
            remitted[i] = _remittedAmount[(i + indexOffset) % 7];
        }
    }

    /// @notice Converts a pair of tokens to tokenTo
    /// @dev _convert is separate to save gas by only checking the 'onlyEOA' modifier once in case of convertMultiple
    /// @param token0 The address of the first token of the pair that will be converted
    /// @param token1 The address of the second token of the pair that will be converted
    /// @param slippage The accepted slippage, in basis points aka parts per 10,000 so 5000 is 50%
    function convert(
        address token0,
        address token1,
        uint256 slippage,
        bool addToRemitted
    ) external onlyEOA onlyOwner {
        require(
            slippage < 5_000,
            "MoneyMaker: slippage needs to be lower than 50%"
        );
        _pushToRemitted(_convert(token0, token1, slippage), addToRemitted);
    }

    /// @notice Converts a list of pairs of tokens to tokenTo
    /// @dev _convert is separate to save gas by only checking the 'onlyEOA' modifier once in case of convertMultiple
    /// @param token0 The list of addresses of the first token of the pairs that will be converted
    /// @param token1 The list of addresses of the second token of the pairs that will be converted
    /// @param slippage The accepted slippage, in basis points aka parts per 10,000 so 5000 is 50%
    function convertMultiple(
        address[] calldata token0,
        address[] calldata token1,
        uint256 slippage,
        bool addToRemitted
    ) external onlyEOA onlyOwner {
        // TODO: This can be optimized a fair bit, but this is safer and simpler for now
        require(
            slippage < 5_000,
            "MoneyMaker: slippage needs to be lower than 50%"
        );
        require(
            token0.length == token1.length,
            "MoneyMaker: arrays length don't match"
        );

        uint256 len = token0.length;
        uint256 tokenRemitted = 0;
        for (uint256 i = 0; i < len; i++) {
            tokenRemitted += _convert(token0[i], token1[i], slippage);
        }
        _pushToRemitted(tokenRemitted, addToRemitted);
    }

    /// @notice Converts a pair of tokens to tokenTo
    /// @dev _convert is separate to save gas by only checking the 'onlyEOA' modifier once in case of convertMultiple
    /// @param token0 The address of the first token of the pair that is currently being converted
    /// @param token1 The address of the second token of the pair that is currently being converted
    /// @param slippage The accepted slippage, in basis points aka parts per 10,000 so 5000 is 50%
    /// @return tokenOut The amount of token
    function _convert(
        address token0,
        address token1,
        uint256 slippage
    ) internal returns (uint256 tokenOut) {
        uint256 amount0;
        uint256 amount1;

        // handle case where non-LP tokens need to be converted
        if (token0 == token1) {
            amount0 = _devCut(
                IERC20(token0),
                IERC20(token0).balanceOf(address(this))
            );
            amount1 = 0;
        } else {
            IArswPair pair = IArswPair(factory.getPair(token0, token1));
            require(address(pair) != address(0), "MoneyMaker: Invalid pair");

            IERC20(pair).safeTransfer(
                address(pair),
                _devCut(pair, pair.balanceOf(address(this)))
            );

            // take balance of tokens in this contract before burning the pair, incase there are already some here
            uint256 tok0bal = IERC20(token0).balanceOf(address(this));
            uint256 tok1bal = IERC20(token1).balanceOf(address(this));

            pair.burn(address(this));

            // subtract old balance of tokens from new balance
            // the return values of pair.burn cant be trusted due to transfer tax tokens
            amount0 = IERC20(token0).balanceOf(address(this)).sub(tok0bal);
            amount1 = IERC20(token1).balanceOf(address(this)).sub(tok1bal);
        }
        tokenOut = _convertStep(token0, token1, amount0, amount1, slippage);
        emit LogConvert(
            _msgSender(),
            token0,
            token1,
            amount0,
            amount1,
            tokenOut
        );
    }

    /// @notice Used to convert two tokens to `tokenTo`, step by step, called recursively
    /// @param token0 The address of the first token
    /// @param token1 The address of the second token
    /// @param amount0 The amount of the `token0`
    /// @param amount1 The amount of the `token1`
    /// @param slippage The accepted slippage, in basis points aka parts per 10,000 so 5000 is 50%
    /// @return tokenOut The amount of token
    function _convertStep(
        address token0,
        address token1,
        uint256 amount0,
        uint256 amount1,
        uint256 slippage
    ) internal returns (uint256 tokenOut) {
        // Interactions
        if (token0 == token1) {
            uint256 amount = amount0.add(amount1);
            if (token0 == tokenTo) {
                IERC20(tokenTo).safeTransfer(staking, amount);
                tokenOut = amount;
            } else if (token0 == wastr) {
                tokenOut = _toToken(wastr, amount, slippage);
            } else {
                address bridge = bridgeFor(token0);
                amount = _swap(token0, bridge, amount, address(this), slippage);
                tokenOut = _convertStep(bridge, bridge, amount, 0, slippage);
            }
        } else if (token0 == tokenTo) {
            // eg. TOKEN - ASTR
            IERC20(tokenTo).safeTransfer(staking, amount0);
            tokenOut = _toToken(token1, amount1, slippage).add(amount0);
        } else if (token1 == tokenTo) {
            // eg. USDT - TOKEN
            IERC20(tokenTo).safeTransfer(staking, amount1);
            tokenOut = _toToken(token0, amount0, slippage).add(amount1);
        } else if (token0 == wastr) {
            // eg. ASTR - USDC
            tokenOut = _toToken(
                wastr,
                _swap(token1, wastr, amount1, address(this), slippage).add(
                    amount0
                ),
                slippage
            );
        } else if (token1 == wastr) {
            // eg. USDT - ASTR
            tokenOut = _toToken(
                wastr,
                _swap(token0, wastr, amount0, address(this), slippage).add(
                    amount1
                ),
                slippage
            );
        } else {
            // eg. MIC - USDT
            address bridge0 = bridgeFor(token0);
            address bridge1 = bridgeFor(token1);
            if (bridge0 == token1) {
                // eg. MIC - USDT - and bridgeFor(MIC) = USDT
                tokenOut = _convertStep(
                    bridge0,
                    token1,
                    _swap(token0, bridge0, amount0, address(this), slippage),
                    amount1,
                    slippage
                );
            } else if (bridge1 == token0) {
                // eg. WBTC - DSD - and bridgeFor(DSD) = WBTC
                tokenOut = _convertStep(
                    token0,
                    bridge1,
                    amount0,
                    _swap(token1, bridge1, amount1, address(this), slippage),
                    slippage
                );
            } else {
                tokenOut = _convertStep(
                    bridge0,
                    bridge1, // eg. USDT - DSD - and bridgeFor(DSD) = WBTC
                    _swap(token0, bridge0, amount0, address(this), slippage),
                    _swap(token1, bridge1, amount1, address(this), slippage),
                    slippage
                );
            }
        }
    }

    /// @notice Swaps `amountIn` `fromToken` to `toToken` and sends it to `to`, `amountOut` is required to be greater
    /// than allowed `slippage`
    /// @param fromToken The address of token that will be swapped
    /// @param toToken The address of the token that will be received
    /// @param amountIn The amount of the `fromToken`
    /// @param to The address that will receive the `toToken`
    /// @param slippage The accepted slippage, in basis points aka parts per 10,000 so 5000 is 50%
    /// @return amountOut The amount of `toToken` sent to `to`
    function _swap(
        address fromToken,
        address toToken,
        uint256 amountIn,
        address to,
        uint256 slippage
    ) internal returns (uint256 amountOut) {
        // Checks
        // X1 - X5: OK
        IArswPair pair = IArswPair(factory.getPair(fromToken, toToken));
        require(address(pair) != address(0), "MoneyMaker: Cannot convert");

        (uint256 reserve0, uint256 reserve1, ) = pair.getReserves();
        (uint256 reserveInput, uint256 reserveOutput) = fromToken ==
            pair.token0()
            ? (reserve0, reserve1)
            : (reserve1, reserve0);
        IERC20(fromToken).safeTransfer(address(pair), amountIn);
        uint256 amountInput = IERC20(fromToken).balanceOf(address(pair)).sub(
            reserveInput
        ); // calculate amount that was transferred, this accounts for transfer taxes

        amountOut = getAmountOut(amountInput, reserveInput, reserveOutput);

        {
            uint256 rest = uint256(10_000).sub(slippage);
            /// @dev We simulate the amount received if we did a swapIn and swapOut without updating the reserves,
            /// hence why we do rest^2, i.e. calculating the slippage twice cause we actually do two swaps.
            /// This allows us to catch if a pair has low liquidity
            require(
                getAmountOut(amountOut, reserveOutput, reserveInput) >=
                    amountInput.mul(rest).mul(rest).div(100_000_000),
                "MoneyMaker: Slippage caught"
            );
        }

        (uint256 amount0Out, uint256 amount1Out) = fromToken == pair.token0()
            ? (uint256(0), amountOut)
            : (amountOut, uint256(0));
        pair.swap(amount0Out, amount1Out, to, new bytes(0));
    }

    /// @notice Swaps an amount of token to another token, `tokenTo`
    /// @dev `amountOut` is required to be greater after slippage
    /// @param token The address of token that will be swapped
    /// @param amount The amount of the `token`
    /// @param slippage The accepted slippage, in basis points aka parts per 10,000 so 5000 is 50%
    /// @return amountOut The amount of `toToken` sent to staking contract
    function _toToken(
        address token,
        uint256 amount,
        uint256 slippage
    ) internal returns (uint256 amountOut) {
        amountOut = _swap(token, tokenTo, amount, staking, slippage);
    }

    function _devCut(IERC20 token, uint256 amountIn)
        internal
        returns (uint256 amount)
    {
        amount = amountIn;
        if (devCut > 0) {
            amount = amountIn.mul(devCut).div(10000);
            token.safeTransfer(devAddr, amount);
            amount = amountIn.sub(amount);
        }
    }

    receive() external payable {}

    // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset
    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) internal pure returns (uint256 amountOut) {
        require(amountIn > 0, "ArswLibrary: INSUFFICIENT_INPUT_AMOUNT");
        require(
            reserveIn > 0 && reserveOut > 0,
            "ArswLibrary: INSUFFICIENT_LIQUIDITY"
        );
        uint256 amountInWithFee = amountIn.mul(997);
        uint256 numerator = amountInWithFee.mul(reserveOut);
        uint256 denominator = reserveIn.mul(1000).add(amountInWithFee);
        amountOut = numerator / denominator;
    }
}
        

@openzeppelin/contracts/access/Ownable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @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 Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _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);
    }
}
          

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}
          

@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

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
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

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 generally not needed starting with Solidity 0.8, since 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 subtraction 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;
        }
    }
}
          

contracts/interfaces/IArswFactory.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.8.9;

interface IArswFactory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint256
    );

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}
          

contracts/interfaces/IArswPair.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.8.9;

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

interface IArswPair is IERC20 {
    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}
          

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_factory","internalType":"address"},{"type":"address","name":"_staking","internalType":"address"},{"type":"address","name":"_tokenTo","internalType":"address"},{"type":"address","name":"_wastr","internalType":"address"}]},{"type":"event","name":"LogBridgeSet","inputs":[{"type":"address","name":"token","internalType":"address","indexed":true},{"type":"address","name":"oldBridge","internalType":"address","indexed":true},{"type":"address","name":"bridge","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"LogConvert","inputs":[{"type":"address","name":"server","internalType":"address","indexed":true},{"type":"address","name":"token0","internalType":"address","indexed":true},{"type":"address","name":"token1","internalType":"address","indexed":true},{"type":"uint256","name":"amount0","internalType":"uint256","indexed":false},{"type":"uint256","name":"amount1","internalType":"uint256","indexed":false},{"type":"uint256","name":"amountTOKEN","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":"SetDevAddr","inputs":[{"type":"address","name":"_addr","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"SetDevCut","inputs":[{"type":"uint256","name":"_amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SetTokenTo","inputs":[{"type":"address","name":"_tokenTo","internalType":"address","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"bridge","internalType":"address"}],"name":"bridgeFor","inputs":[{"type":"address","name":"token","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"convert","inputs":[{"type":"address","name":"token0","internalType":"address"},{"type":"address","name":"token1","internalType":"address"},{"type":"uint256","name":"slippage","internalType":"uint256"},{"type":"bool","name":"addToRemitted","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"convertMultiple","inputs":[{"type":"address[]","name":"token0","internalType":"address[]"},{"type":"address[]","name":"token1","internalType":"address[]"},{"type":"uint256","name":"slippage","internalType":"uint256"},{"type":"bool","name":"addToRemitted","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"devAddr","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"devCut","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IArswFactory"}],"name":"factory","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple","name":"","internalType":"struct MoneyMaker.Remitted","components":[{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"uint256","name":"blockNumber","internalType":"uint256"}]}],"name":"remittedTokens1d","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[7]","name":"remitted","internalType":"struct MoneyMaker.Remitted[7]","components":[{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"uint256","name":"blockNumber","internalType":"uint256"}]}],"name":"remittedTokens7d","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBridge","inputs":[{"type":"address","name":"token","internalType":"address"},{"type":"address","name":"bridge","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setDevAddr","inputs":[{"type":"address","name":"_addr","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setDevCut","inputs":[{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTokenToAddress","inputs":[{"type":"address","name":"_tokenTo","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"staking","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"tokenTo","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"receive","stateMutability":"payable"}]
              

Contract Creation Code

0x60e06040526000600f5560006011553480156200001b57600080fd5b5060405162003211380380620032118339810160408190526200003e91620002b6565b620000493362000249565b6001600160a01b038416620000b55760405162461bcd60e51b815260206004820152602760248201527f4d6f6e65794d616b65723a20666163746f72792063616e2774206265206164646044820152667265737328302960c81b60648201526084015b60405180910390fd5b6001600160a01b0383166200011d5760405162461bcd60e51b815260206004820152602760248201527f4d6f6e65794d616b65723a207374616b696e672063616e2774206265206164646044820152667265737328302960c81b6064820152608401620000ac565b6001600160a01b038216620001835760405162461bcd60e51b815260206004820152602560248201527f4d6f6e65794d616b65723a20746f6b656e2063616e2774206265206164647265604482015264737328302960d81b6064820152608401620000ac565b6001600160a01b038116620001e95760405162461bcd60e51b815260206004820152602560248201527f4d6f6e65794d616b65723a2077617374722063616e2774206265206164647265604482015264737328302960d81b6064820152608401620000ac565b6001600160a01b0384811660805283811660a052601080546001600160a01b031916848316179055811660c0526200021e3390565b601280546001600160a01b0319166001600160a01b0392909216919091179055506200031392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114620002b157600080fd5b919050565b60008060008060808587031215620002cd57600080fd5b620002d88562000299565b9350620002e86020860162000299565b9250620002f86040860162000299565b9150620003086060860162000299565b905092959194509250565b60805160a05160c051612e65620003ac60003960008181610c5a01528181610e0001528181611a7b01528181611ad201528181611c2e01528181611c8501528181611cae01528181611cdd01528181611d340152611d5d01526000818161015201528181611a4c01528181611b7501528181611bf80152611fc2015260008181610303015281816112a301526120410152612e656000f3fe6080604052600436106101125760003560e01c80639d22ae8c116100a5578063c45a015511610074578063dbcc106d11610059578063dbcc106d14610352578063f2fde38b14610372578063fedf126f1461039257600080fd5b8063c45a0155146102f1578063da09c72c1461032557600080fd5b80639d22ae8c14610262578063a761a93914610282578063b354c749146102a2578063c17b7326146102c457600080fd5b8063715018a6116100e1578063715018a6146101de5780637640379e146101f35780638da5cb5b146102135780639c2868371461023e57600080fd5b80631d380d3f1461011e5780634cf088d914610140578063548f416c1461019e5780636ebb64a2146101be57600080fd5b3661011957005b600080fd5b34801561012a57600080fd5b5061013e610139366004612900565b6103b4565b005b34801561014c57600080fd5b506101747f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101aa57600080fd5b5061013e6101b9366004612977565b610557565b3480156101ca57600080fd5b5061013e6101d9366004612900565b6107f8565b3480156101ea57600080fd5b5061013e61098f565b3480156101ff57600080fd5b5061013e61020e366004612a03565b610a1c565b34801561021f57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610174565b34801561024a57600080fd5b5061025460115481565b604051908152602001610195565b34801561026e57600080fd5b5061013e61027d366004612a56565b610bb1565b34801561028e57600080fd5b5061017461029d366004612900565b610dd0565b3480156102ae57600080fd5b506102b7610e25565b6040516101959190612a8f565b3480156102d057600080fd5b506010546101749073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102fd57600080fd5b506101747f000000000000000000000000000000000000000000000000000000000000000081565b34801561033157600080fd5b506012546101749073ffffffffffffffffffffffffffffffffffffffff1681565b34801561035e57600080fd5b5061013e61036d366004612aa6565b610e76565b34801561037e57600080fd5b5061013e61038d366004612900565b610f98565b34801561039e57600080fd5b506103a76110c8565b6040516101959190612abf565b60005473ffffffffffffffffffffffffffffffffffffffff16331461043a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166104dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f736574546f6b656e546f416464726573732c20616464726573732063616e6e6f60448201527f74206265207a65726f20616464726573730000000000000000000000000000006064820152608401610431565b601080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527fbf32c8b1124ae0b6584a5354b035cdfbcfbbba82075e3c7bffc9bf655dc5376e906020015b60405180910390a150565b3332146105c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4d6f6e65794d616b65723a206d7573742075736520454f4100000000000000006044820152606401610431565b60005473ffffffffffffffffffffffffffffffffffffffff163314610641576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610431565b61138882106106d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4d6f6e65794d616b65723a20736c697070616765206e6565647320746f20626560448201527f206c6f776572207468616e2035302500000000000000000000000000000000006064820152608401610431565b848314610761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d6f6e65794d616b65723a20617272617973206c656e67746820646f6e27742060448201527f6d617463680000000000000000000000000000000000000000000000000000006064820152608401610431565b846000805b828110156107e3576107c589898381811061078357610783612b06565b90506020020160208101906107989190612900565b8888848181106107aa576107aa612b06565b90506020020160208101906107bf9190612900565b87611166565b6107cf9083612b64565b9150806107db81612b7c565b915050610766565b506107ee81846117b3565b5050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610879576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610431565b73ffffffffffffffffffffffffffffffffffffffff811661091c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f736574446576416464722c20616464726573732063616e6e6f74206265207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610431565b601280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f45c73fc162405abe4471c4228f0797176ac32cb9f7be4a25a67cbd1dda6d007e9060200161054c565b60005473ffffffffffffffffffffffffffffffffffffffff163314610a10576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610431565b610a1a600061184a565b565b333214610a85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4d6f6e65794d616b65723a206d7573742075736520454f4100000000000000006044820152606401610431565b60005473ffffffffffffffffffffffffffffffffffffffff163314610b06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610431565b6113888210610b97576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4d6f6e65794d616b65723a20736c697070616765206e6565647320746f20626560448201527f206c6f776572207468616e2035302500000000000000000000000000000000006064820152608401610431565b610bab610ba5858585611166565b826117b3565b50505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610c32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610431565b60105473ffffffffffffffffffffffffffffffffffffffff838116911614801590610ca957507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015610ce157508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b610d47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4d6f6e65794d616b65723a20496e76616c6964206272696467650000000000006044820152606401610431565b73ffffffffffffffffffffffffffffffffffffffff80831660008181526013602052604080822080548686167fffffffffffffffffffffffff0000000000000000000000000000000000000000821681179092559151919094169392849290917f15e77ca45c8933ccd9fb9c909fd297b4ff5f8b931ba6e5d9df3edbc88f172c149190a4505050565b73ffffffffffffffffffffffffffffffffffffffff8082166000908152601360205260409020541680610e2057507f00000000000000000000000000000000000000000000000000000000000000005b919050565b60408051808201909152600080825260208201526001600f5460078110610e4e57610e4e612b06565b6002020160405180604001604052908160008201548152602001600182015481525050905090565b60005473ffffffffffffffffffffffffffffffffffffffff163314610ef7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610431565b611388811115610f63576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f7365744465764375743a2063757420746f6f20686967680000000000000000006044820152606401610431565b60118190556040518181527f914990c75916d406c148e7fca9308486d7806a77c0ef66119c9329add5885d2e9060200161054c565b60005473ffffffffffffffffffffffffffffffffffffffff163314611019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610431565b73ffffffffffffffffffffffffffffffffffffffff81166110bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610431565b6110c58161184a565b50565b6110d06128a5565b6000600f5460016110e19190612b64565b905060005b600781101561116157600160076110fd8484612b64565b6111079190612be4565b6007811061111757611117612b06565b600202016040518060400160405290816000820154815260200160018201548152505083826007811061114c5761114c612b06565b602002015261115a81612b7c565b90506110e6565b505090565b60008060008473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415611253576040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015261124890879073ffffffffffffffffffffffffffffffffffffffff8216906370a08231906024015b60206040518083038186803b15801561120b57600080fd5b505afa15801561121f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112439190612bf8565b6118bf565b91506000905061170b565b6040517fe6a4390500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015286811660248301526000917f00000000000000000000000000000000000000000000000000000000000000009091169063e6a439059060440160206040518083038186803b1580156112e757600080fd5b505afa1580156112fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131f9190612c11565b905073ffffffffffffffffffffffffffffffffffffffff811661139e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4d6f6e65794d616b65723a20496e76616c6964207061697200000000000000006044820152606401610431565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015261141a9082906113fc90829073ffffffffffffffffffffffffffffffffffffffff8216906370a08231906024016111f3565b73ffffffffffffffffffffffffffffffffffffffff84169190611927565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8916906370a082319060240160206040518083038186803b15801561148257600080fd5b505afa158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba9190612bf8565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290915060009073ffffffffffffffffffffffffffffffffffffffff8916906370a082319060240160206040518083038186803b15801561152557600080fd5b505afa158015611539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155d9190612bf8565b6040517f89afcb4400000000000000000000000000000000000000000000000000000000815230600482015290915073ffffffffffffffffffffffffffffffffffffffff8416906389afcb44906024016040805180830381600087803b1580156115c657600080fd5b505af11580156115da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115fe9190612c2e565b50506040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526116aa90839073ffffffffffffffffffffffffffffffffffffffff8c16906370a08231906024015b60206040518083038186803b15801561166c57600080fd5b505afa158015611680573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a49190612bf8565b906119b9565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290955061170590829073ffffffffffffffffffffffffffffffffffffffff8b16906370a0823190602401611654565b93505050505b61171886868484886119c5565b92508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1661174f3390565b604080518681526020810186905290810187905273ffffffffffffffffffffffffffffffffffffffff91909116907fd06b1d7ed79b664d17472c6f6997b929f1abe463ccccb4e5b6a0038f2f730c159060600160405180910390a450509392505050565b806117f4576007600f5460016117c99190612b64565b6117d39190612be4565b600f819055600090600190600781106117ee576117ee612b06565b60020201555b816001600f546007811061180a5761180a612b06565b60020201805460009061181e908490612b64565b92505081905550436001600f546007811061183b5761183b612b06565b60020201600101819055505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b601154819015611921576118ea6127106118e460115485611e6d90919063ffffffff16565b90611e79565b6012549091506119149073ffffffffffffffffffffffffffffffffffffffff858116911683611927565b61191e82826119b9565b90505b92915050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526119b4908490611e85565b505050565b600061191e8284612c52565b60008473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415611b33576000611a078585611f91565b60105490915073ffffffffffffffffffffffffffffffffffffffff88811691161415611a7957601054611a719073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000083611927565b809150611b2d565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161415611aff57611af87f00000000000000000000000000000000000000000000000000000000000000008285611f9d565b9150611b2d565b6000611b0a88610dd0565b9050611b198882843088611fef565b9150611b298182846000886119c5565b9250505b50611e64565b60105473ffffffffffffffffffffffffffffffffffffffff87811691161415611bb657601054611b9a9073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000086611927565b611baf84611ba9878686611f9d565b90611f91565b9050611e64565b60105473ffffffffffffffffffffffffffffffffffffffff86811691161415611c2c57601054611c1d9073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000085611927565b611baf83611ba9888786611f9d565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415611cdb57611baf7f0000000000000000000000000000000000000000000000000000000000000000611cd586611ba9897f000000000000000000000000000000000000000000000000000000000000000089308a611fef565b84611f9d565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611d8457611baf7f0000000000000000000000000000000000000000000000000000000000000000611cd585611ba98a7f00000000000000000000000000000000000000000000000000000000000000008a308a611fef565b6000611d8f87610dd0565b90506000611d9c87610dd0565b90508673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611df257611deb8288611de48b868b308b611fef565b88886119c5565b9250611e61565b8773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e3f57611deb888288611e398b868b308c611fef565b886119c5565b611e5e8282611e518b868b308b611fef565b611e398b868b308c611fef565b92505b50505b95945050505050565b600061191e8284612c69565b600061191e8284612ca6565b6000611ee7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166125429092919063ffffffff16565b8051909150156119b45780806020019051810190611f059190612cba565b6119b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610431565b600061191e8284612b64565b601054600090611fe790859073ffffffffffffffffffffffffffffffffffffffff16857f000000000000000000000000000000000000000000000000000000000000000086611fef565b949350505050565b6040517fe6a4390500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152858116602483015260009182917f0000000000000000000000000000000000000000000000000000000000000000169063e6a439059060440160206040518083038186803b15801561208357600080fd5b505afa158015612097573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120bb9190612c11565b905073ffffffffffffffffffffffffffffffffffffffff811661213a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4d6f6e65794d616b65723a2043616e6e6f7420636f6e766572740000000000006044820152606401610431565b6000808273ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561218357600080fd5b505afa158015612197573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121bb9190612cf5565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff1691506000808473ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561222957600080fd5b505afa15801561223d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122619190612c11565b73ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff161461229a57828461229d565b83835b90925090506122c373ffffffffffffffffffffffffffffffffffffffff8c16868b611927565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152600091612321918591908f16906370a0823190602401611654565b905061232e818484612558565b9650600061233e6127108a6119b9565b905061235c6305f5e1006118e4836123568682611e6d565b90611e6d565b612367898587612558565b10156123cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4d6f6e65794d616b65723a20536c6970706167652063617567687400000000006044820152606401610431565b506000808773ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561241957600080fd5b505afa15801561242d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124519190612c11565b73ffffffffffffffffffffffffffffffffffffffff168e73ffffffffffffffffffffffffffffffffffffffff161461248b5788600061248f565b6000895b909250905073ffffffffffffffffffffffffffffffffffffffff881663022c0d9f83838e60006040519080825280601f01601f1916602001820160405280156124df576020820181803683370190505b506040518563ffffffff1660e01b81526004016124ff9493929190612dbb565b600060405180830381600087803b15801561251957600080fd5b505af115801561252d573d6000803e3d6000fd5b50505050505050505050505095945050505050565b6060611fe784846000856126cc565b9392505050565b60008084116125e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f417273774c6962726172793a20494e53554646494349454e545f494e5055545f60448201527f414d4f554e5400000000000000000000000000000000000000000000000000006064820152608401610431565b6000831180156125f95750600082115b612685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f417273774c6962726172793a20494e53554646494349454e545f4c495155494460448201527f49545900000000000000000000000000000000000000000000000000000000006064820152608401610431565b6000612693856103e5611e6d565b905060006126a18285611e6d565b905060006126b583611ba9886103e8611e6d565b90506126c18183612ca6565b979650505050505050565b60608247101561275e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610431565b73ffffffffffffffffffffffffffffffffffffffff85163b6127dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610431565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516128059190612e00565b60006040518083038185875af1925050503d8060008114612842576040519150601f19603f3d011682016040523d82523d6000602084013e612847565b606091505b50915091506126c182828660608315612861575081612551565b8251156128715782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104319190612e1c565b6040518060e001604052806007905b60408051808201909152600080825260208201528152602001906001900390816128b45790505090565b73ffffffffffffffffffffffffffffffffffffffff811681146110c557600080fd5b60006020828403121561291257600080fd5b8135612551816128de565b60008083601f84011261292f57600080fd5b50813567ffffffffffffffff81111561294757600080fd5b6020830191508360208260051b850101111561296257600080fd5b9250929050565b80151581146110c557600080fd5b6000806000806000806080878903121561299057600080fd5b863567ffffffffffffffff808211156129a857600080fd5b6129b48a838b0161291d565b909850965060208901359150808211156129cd57600080fd5b506129da89828a0161291d565b9095509350506040870135915060608701356129f581612969565b809150509295509295509295565b60008060008060808587031215612a1957600080fd5b8435612a24816128de565b93506020850135612a34816128de565b9250604085013591506060850135612a4b81612969565b939692955090935050565b60008060408385031215612a6957600080fd5b8235612a74816128de565b91506020830135612a84816128de565b809150509250929050565b815181526020808301519082015260408101611921565b600060208284031215612ab857600080fd5b5035919050565b6101c08101818360005b6007811015612afd57612ae783835180518252602090810151910152565b6040929092019160209190910190600101612ac9565b50505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115612b7757612b77612b35565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612bae57612bae612b35565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612bf357612bf3612bb5565b500690565b600060208284031215612c0a57600080fd5b5051919050565b600060208284031215612c2357600080fd5b8151612551816128de565b60008060408385031215612c4157600080fd5b505080516020909101519092909150565b600082821015612c6457612c64612b35565b500390565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612ca157612ca1612b35565b500290565b600082612cb557612cb5612bb5565b500490565b600060208284031215612ccc57600080fd5b815161255181612969565b80516dffffffffffffffffffffffffffff81168114610e2057600080fd5b600080600060608486031215612d0a57600080fd5b612d1384612cd7565b9250612d2160208501612cd7565b9150604084015163ffffffff81168114612d3a57600080fd5b809150509250925092565b60005b83811015612d60578181015183820152602001612d48565b83811115610bab5750506000910152565b60008151808452612d89816020860160208601612d45565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b84815283602082015273ffffffffffffffffffffffffffffffffffffffff83166040820152608060608201526000612df66080830184612d71565b9695505050505050565b60008251612e12818460208701612d45565b9190910192915050565b60208152600061191e6020830184612d7156fea2646970667358221220a9c7ec20013f8f9705e788f68b0c75ae35183087df84c2df78cbd62f8f5d1f8f64736f6c63430008090033000000000000000000000000a9473608514457b4bf083f9045fa63ae5810a03e00000000000000000000000042d175a498cb517ad29d055ea7dcfd3d99045404000000000000000000000000de2578edec4669ba7f41c5d5d2386300bcea4678000000000000000000000000aeaaf0e2c81af264101b9129c00f4440ccf0f720

Deployed ByteCode

0x6080604052600436106101125760003560e01c80639d22ae8c116100a5578063c45a015511610074578063dbcc106d11610059578063dbcc106d14610352578063f2fde38b14610372578063fedf126f1461039257600080fd5b8063c45a0155146102f1578063da09c72c1461032557600080fd5b80639d22ae8c14610262578063a761a93914610282578063b354c749146102a2578063c17b7326146102c457600080fd5b8063715018a6116100e1578063715018a6146101de5780637640379e146101f35780638da5cb5b146102135780639c2868371461023e57600080fd5b80631d380d3f1461011e5780634cf088d914610140578063548f416c1461019e5780636ebb64a2146101be57600080fd5b3661011957005b600080fd5b34801561012a57600080fd5b5061013e610139366004612900565b6103b4565b005b34801561014c57600080fd5b506101747f00000000000000000000000042d175a498cb517ad29d055ea7dcfd3d9904540481565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101aa57600080fd5b5061013e6101b9366004612977565b610557565b3480156101ca57600080fd5b5061013e6101d9366004612900565b6107f8565b3480156101ea57600080fd5b5061013e61098f565b3480156101ff57600080fd5b5061013e61020e366004612a03565b610a1c565b34801561021f57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610174565b34801561024a57600080fd5b5061025460115481565b604051908152602001610195565b34801561026e57600080fd5b5061013e61027d366004612a56565b610bb1565b34801561028e57600080fd5b5061017461029d366004612900565b610dd0565b3480156102ae57600080fd5b506102b7610e25565b6040516101959190612a8f565b3480156102d057600080fd5b506010546101749073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102fd57600080fd5b506101747f000000000000000000000000a9473608514457b4bf083f9045fa63ae5810a03e81565b34801561033157600080fd5b506012546101749073ffffffffffffffffffffffffffffffffffffffff1681565b34801561035e57600080fd5b5061013e61036d366004612aa6565b610e76565b34801561037e57600080fd5b5061013e61038d366004612900565b610f98565b34801561039e57600080fd5b506103a76110c8565b6040516101959190612abf565b60005473ffffffffffffffffffffffffffffffffffffffff16331461043a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166104dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f736574546f6b656e546f416464726573732c20616464726573732063616e6e6f60448201527f74206265207a65726f20616464726573730000000000000000000000000000006064820152608401610431565b601080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527fbf32c8b1124ae0b6584a5354b035cdfbcfbbba82075e3c7bffc9bf655dc5376e906020015b60405180910390a150565b3332146105c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4d6f6e65794d616b65723a206d7573742075736520454f4100000000000000006044820152606401610431565b60005473ffffffffffffffffffffffffffffffffffffffff163314610641576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610431565b61138882106106d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4d6f6e65794d616b65723a20736c697070616765206e6565647320746f20626560448201527f206c6f776572207468616e2035302500000000000000000000000000000000006064820152608401610431565b848314610761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4d6f6e65794d616b65723a20617272617973206c656e67746820646f6e27742060448201527f6d617463680000000000000000000000000000000000000000000000000000006064820152608401610431565b846000805b828110156107e3576107c589898381811061078357610783612b06565b90506020020160208101906107989190612900565b8888848181106107aa576107aa612b06565b90506020020160208101906107bf9190612900565b87611166565b6107cf9083612b64565b9150806107db81612b7c565b915050610766565b506107ee81846117b3565b5050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610879576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610431565b73ffffffffffffffffffffffffffffffffffffffff811661091c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f736574446576416464722c20616464726573732063616e6e6f74206265207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610431565b601280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f45c73fc162405abe4471c4228f0797176ac32cb9f7be4a25a67cbd1dda6d007e9060200161054c565b60005473ffffffffffffffffffffffffffffffffffffffff163314610a10576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610431565b610a1a600061184a565b565b333214610a85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4d6f6e65794d616b65723a206d7573742075736520454f4100000000000000006044820152606401610431565b60005473ffffffffffffffffffffffffffffffffffffffff163314610b06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610431565b6113888210610b97576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4d6f6e65794d616b65723a20736c697070616765206e6565647320746f20626560448201527f206c6f776572207468616e2035302500000000000000000000000000000000006064820152608401610431565b610bab610ba5858585611166565b826117b3565b50505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610c32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610431565b60105473ffffffffffffffffffffffffffffffffffffffff838116911614801590610ca957507f000000000000000000000000aeaaf0e2c81af264101b9129c00f4440ccf0f72073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015610ce157508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b610d47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4d6f6e65794d616b65723a20496e76616c6964206272696467650000000000006044820152606401610431565b73ffffffffffffffffffffffffffffffffffffffff80831660008181526013602052604080822080548686167fffffffffffffffffffffffff0000000000000000000000000000000000000000821681179092559151919094169392849290917f15e77ca45c8933ccd9fb9c909fd297b4ff5f8b931ba6e5d9df3edbc88f172c149190a4505050565b73ffffffffffffffffffffffffffffffffffffffff8082166000908152601360205260409020541680610e2057507f000000000000000000000000aeaaf0e2c81af264101b9129c00f4440ccf0f7205b919050565b60408051808201909152600080825260208201526001600f5460078110610e4e57610e4e612b06565b6002020160405180604001604052908160008201548152602001600182015481525050905090565b60005473ffffffffffffffffffffffffffffffffffffffff163314610ef7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610431565b611388811115610f63576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f7365744465764375743a2063757420746f6f20686967680000000000000000006044820152606401610431565b60118190556040518181527f914990c75916d406c148e7fca9308486d7806a77c0ef66119c9329add5885d2e9060200161054c565b60005473ffffffffffffffffffffffffffffffffffffffff163314611019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610431565b73ffffffffffffffffffffffffffffffffffffffff81166110bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610431565b6110c58161184a565b50565b6110d06128a5565b6000600f5460016110e19190612b64565b905060005b600781101561116157600160076110fd8484612b64565b6111079190612be4565b6007811061111757611117612b06565b600202016040518060400160405290816000820154815260200160018201548152505083826007811061114c5761114c612b06565b602002015261115a81612b7c565b90506110e6565b505090565b60008060008473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415611253576040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015261124890879073ffffffffffffffffffffffffffffffffffffffff8216906370a08231906024015b60206040518083038186803b15801561120b57600080fd5b505afa15801561121f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112439190612bf8565b6118bf565b91506000905061170b565b6040517fe6a4390500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015286811660248301526000917f000000000000000000000000a9473608514457b4bf083f9045fa63ae5810a03e9091169063e6a439059060440160206040518083038186803b1580156112e757600080fd5b505afa1580156112fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131f9190612c11565b905073ffffffffffffffffffffffffffffffffffffffff811661139e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4d6f6e65794d616b65723a20496e76616c6964207061697200000000000000006044820152606401610431565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015261141a9082906113fc90829073ffffffffffffffffffffffffffffffffffffffff8216906370a08231906024016111f3565b73ffffffffffffffffffffffffffffffffffffffff84169190611927565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8916906370a082319060240160206040518083038186803b15801561148257600080fd5b505afa158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba9190612bf8565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290915060009073ffffffffffffffffffffffffffffffffffffffff8916906370a082319060240160206040518083038186803b15801561152557600080fd5b505afa158015611539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155d9190612bf8565b6040517f89afcb4400000000000000000000000000000000000000000000000000000000815230600482015290915073ffffffffffffffffffffffffffffffffffffffff8416906389afcb44906024016040805180830381600087803b1580156115c657600080fd5b505af11580156115da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115fe9190612c2e565b50506040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526116aa90839073ffffffffffffffffffffffffffffffffffffffff8c16906370a08231906024015b60206040518083038186803b15801561166c57600080fd5b505afa158015611680573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a49190612bf8565b906119b9565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290955061170590829073ffffffffffffffffffffffffffffffffffffffff8b16906370a0823190602401611654565b93505050505b61171886868484886119c5565b92508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1661174f3390565b604080518681526020810186905290810187905273ffffffffffffffffffffffffffffffffffffffff91909116907fd06b1d7ed79b664d17472c6f6997b929f1abe463ccccb4e5b6a0038f2f730c159060600160405180910390a450509392505050565b806117f4576007600f5460016117c99190612b64565b6117d39190612be4565b600f819055600090600190600781106117ee576117ee612b06565b60020201555b816001600f546007811061180a5761180a612b06565b60020201805460009061181e908490612b64565b92505081905550436001600f546007811061183b5761183b612b06565b60020201600101819055505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b601154819015611921576118ea6127106118e460115485611e6d90919063ffffffff16565b90611e79565b6012549091506119149073ffffffffffffffffffffffffffffffffffffffff858116911683611927565b61191e82826119b9565b90505b92915050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526119b4908490611e85565b505050565b600061191e8284612c52565b60008473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415611b33576000611a078585611f91565b60105490915073ffffffffffffffffffffffffffffffffffffffff88811691161415611a7957601054611a719073ffffffffffffffffffffffffffffffffffffffff167f00000000000000000000000042d175a498cb517ad29d055ea7dcfd3d9904540483611927565b809150611b2d565b7f000000000000000000000000aeaaf0e2c81af264101b9129c00f4440ccf0f72073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161415611aff57611af87f000000000000000000000000aeaaf0e2c81af264101b9129c00f4440ccf0f7208285611f9d565b9150611b2d565b6000611b0a88610dd0565b9050611b198882843088611fef565b9150611b298182846000886119c5565b9250505b50611e64565b60105473ffffffffffffffffffffffffffffffffffffffff87811691161415611bb657601054611b9a9073ffffffffffffffffffffffffffffffffffffffff167f00000000000000000000000042d175a498cb517ad29d055ea7dcfd3d9904540486611927565b611baf84611ba9878686611f9d565b90611f91565b9050611e64565b60105473ffffffffffffffffffffffffffffffffffffffff86811691161415611c2c57601054611c1d9073ffffffffffffffffffffffffffffffffffffffff167f00000000000000000000000042d175a498cb517ad29d055ea7dcfd3d9904540485611927565b611baf83611ba9888786611f9d565b7f000000000000000000000000aeaaf0e2c81af264101b9129c00f4440ccf0f72073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415611cdb57611baf7f000000000000000000000000aeaaf0e2c81af264101b9129c00f4440ccf0f720611cd586611ba9897f000000000000000000000000aeaaf0e2c81af264101b9129c00f4440ccf0f72089308a611fef565b84611f9d565b7f000000000000000000000000aeaaf0e2c81af264101b9129c00f4440ccf0f72073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611d8457611baf7f000000000000000000000000aeaaf0e2c81af264101b9129c00f4440ccf0f720611cd585611ba98a7f000000000000000000000000aeaaf0e2c81af264101b9129c00f4440ccf0f7208a308a611fef565b6000611d8f87610dd0565b90506000611d9c87610dd0565b90508673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611df257611deb8288611de48b868b308b611fef565b88886119c5565b9250611e61565b8773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e3f57611deb888288611e398b868b308c611fef565b886119c5565b611e5e8282611e518b868b308b611fef565b611e398b868b308c611fef565b92505b50505b95945050505050565b600061191e8284612c69565b600061191e8284612ca6565b6000611ee7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166125429092919063ffffffff16565b8051909150156119b45780806020019051810190611f059190612cba565b6119b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610431565b600061191e8284612b64565b601054600090611fe790859073ffffffffffffffffffffffffffffffffffffffff16857f00000000000000000000000042d175a498cb517ad29d055ea7dcfd3d9904540486611fef565b949350505050565b6040517fe6a4390500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152858116602483015260009182917f000000000000000000000000a9473608514457b4bf083f9045fa63ae5810a03e169063e6a439059060440160206040518083038186803b15801561208357600080fd5b505afa158015612097573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120bb9190612c11565b905073ffffffffffffffffffffffffffffffffffffffff811661213a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4d6f6e65794d616b65723a2043616e6e6f7420636f6e766572740000000000006044820152606401610431565b6000808273ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561218357600080fd5b505afa158015612197573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121bb9190612cf5565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff1691506000808473ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561222957600080fd5b505afa15801561223d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122619190612c11565b73ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff161461229a57828461229d565b83835b90925090506122c373ffffffffffffffffffffffffffffffffffffffff8c16868b611927565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152600091612321918591908f16906370a0823190602401611654565b905061232e818484612558565b9650600061233e6127108a6119b9565b905061235c6305f5e1006118e4836123568682611e6d565b90611e6d565b612367898587612558565b10156123cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4d6f6e65794d616b65723a20536c6970706167652063617567687400000000006044820152606401610431565b506000808773ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561241957600080fd5b505afa15801561242d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124519190612c11565b73ffffffffffffffffffffffffffffffffffffffff168e73ffffffffffffffffffffffffffffffffffffffff161461248b5788600061248f565b6000895b909250905073ffffffffffffffffffffffffffffffffffffffff881663022c0d9f83838e60006040519080825280601f01601f1916602001820160405280156124df576020820181803683370190505b506040518563ffffffff1660e01b81526004016124ff9493929190612dbb565b600060405180830381600087803b15801561251957600080fd5b505af115801561252d573d6000803e3d6000fd5b50505050505050505050505095945050505050565b6060611fe784846000856126cc565b9392505050565b60008084116125e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f417273774c6962726172793a20494e53554646494349454e545f494e5055545f60448201527f414d4f554e5400000000000000000000000000000000000000000000000000006064820152608401610431565b6000831180156125f95750600082115b612685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f417273774c6962726172793a20494e53554646494349454e545f4c495155494460448201527f49545900000000000000000000000000000000000000000000000000000000006064820152608401610431565b6000612693856103e5611e6d565b905060006126a18285611e6d565b905060006126b583611ba9886103e8611e6d565b90506126c18183612ca6565b979650505050505050565b60608247101561275e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610431565b73ffffffffffffffffffffffffffffffffffffffff85163b6127dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610431565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516128059190612e00565b60006040518083038185875af1925050503d8060008114612842576040519150601f19603f3d011682016040523d82523d6000602084013e612847565b606091505b50915091506126c182828660608315612861575081612551565b8251156128715782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104319190612e1c565b6040518060e001604052806007905b60408051808201909152600080825260208201528152602001906001900390816128b45790505090565b73ffffffffffffffffffffffffffffffffffffffff811681146110c557600080fd5b60006020828403121561291257600080fd5b8135612551816128de565b60008083601f84011261292f57600080fd5b50813567ffffffffffffffff81111561294757600080fd5b6020830191508360208260051b850101111561296257600080fd5b9250929050565b80151581146110c557600080fd5b6000806000806000806080878903121561299057600080fd5b863567ffffffffffffffff808211156129a857600080fd5b6129b48a838b0161291d565b909850965060208901359150808211156129cd57600080fd5b506129da89828a0161291d565b9095509350506040870135915060608701356129f581612969565b809150509295509295509295565b60008060008060808587031215612a1957600080fd5b8435612a24816128de565b93506020850135612a34816128de565b9250604085013591506060850135612a4b81612969565b939692955090935050565b60008060408385031215612a6957600080fd5b8235612a74816128de565b91506020830135612a84816128de565b809150509250929050565b815181526020808301519082015260408101611921565b600060208284031215612ab857600080fd5b5035919050565b6101c08101818360005b6007811015612afd57612ae783835180518252602090810151910152565b6040929092019160209190910190600101612ac9565b50505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115612b7757612b77612b35565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612bae57612bae612b35565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612bf357612bf3612bb5565b500690565b600060208284031215612c0a57600080fd5b5051919050565b600060208284031215612c2357600080fd5b8151612551816128de565b60008060408385031215612c4157600080fd5b505080516020909101519092909150565b600082821015612c6457612c64612b35565b500390565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612ca157612ca1612b35565b500290565b600082612cb557612cb5612bb5565b500490565b600060208284031215612ccc57600080fd5b815161255181612969565b80516dffffffffffffffffffffffffffff81168114610e2057600080fd5b600080600060608486031215612d0a57600080fd5b612d1384612cd7565b9250612d2160208501612cd7565b9150604084015163ffffffff81168114612d3a57600080fd5b809150509250925092565b60005b83811015612d60578181015183820152602001612d48565b83811115610bab5750506000910152565b60008151808452612d89816020860160208601612d45565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b84815283602082015273ffffffffffffffffffffffffffffffffffffffff83166040820152608060608201526000612df66080830184612d71565b9695505050505050565b60008251612e12818460208701612d45565b9190910192915050565b60208152600061191e6020830184612d7156fea2646970667358221220a9c7ec20013f8f9705e788f68b0c75ae35183087df84c2df78cbd62f8f5d1f8f64736f6c63430008090033