false
true
0

Contract Address Details

0x1475b48d7D234F1e086106D409440C74Ccf2D462

Contract Name
PlaygroundsRouter
Creator
0x35d360–f01292 at 0x253a10–7aaa54
Balance
0 PLS ( )
Tokens
Fetching tokens...
Transactions
829 Transactions
Transfers
1,806 Transfers
Gas Used
197,974,862
Last Balance Update
25964472
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
PlaygroundsRouter




Optimization enabled
false
Compiler version
v0.8.20+commit.a1b79de6




EVM Version
shanghai




Verified at
2026-01-22T18:21:21.742094Z

contracts/PlaygroundRouter.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

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

/**
 * @title IPulseXRouter
 * @dev Interface for PulseXRouter (Uniswap V2 style)
 */
interface IPulseXRouter {
    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity);

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
}

/**
 * @title IPlaygroundFeeVault
 * @dev Interface for PlaygroundFeeVault contract
 */
interface IPlaygroundFeeVault {
    function deposit(address playground) external payable;
}

/**
 * @title PlaygroundsRouter
 * @dev Router contract that wraps PulseXRouter swap and liquidity operations with 1000 PLS fee
 * @notice Collects 1000 PLS fee for every swap and liquidity operation, routed per-playground
 */
contract PlaygroundsRouter is ReentrancyGuard {
    using SafeERC20 for IERC20;

    /// @dev Fixed fee for all operations (1000 PLS)
    uint256 public constant FEE = 1000 ether;

    /// @dev PlaygroundFeeVault for per-playground fee tracking
    IPlaygroundFeeVault public constant feeVault =
        IPlaygroundFeeVault(0xcd1e0f80E101f51d02d4F4037C60F2DCd4cae400);

    /// @dev PulseXRouter address
    IPulseXRouter public constant router =
        IPulseXRouter(0x165C3410fC91EF562C50559f7d2289fEbed552d9);

    /// @dev Wrapped PLS address
    address public constant WPLS = 0xA1077a294dDE1B09bB078844df40758a5D0f9a27;

    /**
     * @dev Event emitted when a swap is executed
     */
    event SwapExecuted(
        address indexed user,
        address indexed tokenIn,
        address indexed tokenOut,
        uint256 amountIn,
        uint256 amountOut,
        uint256 fee
    );

    /**
     * @dev Event emitted when liquidity is added
     */
    event LiquidityAdded(
        address indexed user,
        address indexed tokenA,
        address indexed tokenB,
        uint256 amountA,
        uint256 amountB,
        uint256 liquidity,
        uint256 fee
    );

    /**
     * @dev Swap exact ETH/PLS for tokens
     * @param amountOutMin Minimum output amount
     * @param path Token path for swap
     * @param to Recipient address
     * @param deadline Transaction deadline
     * @param baseToken Base token address for fee routing (playground identifier)
     */
    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline,
        address baseToken
    ) external payable nonReentrant returns (uint256[] memory amounts) {
        require(msg.value > FEE, "PlaygroundsRouter: Insufficient PLS for fee");

        // Calculate swap amount (msg.value - fee)
        uint256 swapAmount = msg.value - FEE;

        // Deposit fee to vault with playground tracking
        feeVault.deposit{value: FEE}(baseToken);

        // Execute swap with remaining PLS
        amounts = router.swapExactETHForTokens{value: swapAmount}(
            amountOutMin,
            path,
            to,
            deadline
        );

        emit SwapExecuted(
            msg.sender,
            address(0), // ETH/PLS
            path[path.length - 1],
            swapAmount,
            amounts[amounts.length - 1],
            FEE
        );

        return amounts;
    }

    /**
     * @dev Swap exact tokens for ETH/PLS
     * @param amountIn Input token amount
     * @param amountOutMin Minimum output amount
     * @param path Token path for swap
     * @param to Recipient address
     * @param deadline Transaction deadline
     * @param baseToken Base token address for fee routing (playground identifier)
     */
    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline,
        address baseToken
    ) external payable nonReentrant returns (uint256[] memory amounts) {
        require(
            msg.value >= FEE,
            "PlaygroundsRouter: Insufficient PLS for fee"
        );

        // Deposit fee to vault with playground tracking
        feeVault.deposit{value: FEE}(baseToken);

        // Transfer input tokens from user
        IERC20(path[0]).safeTransferFrom(msg.sender, address(this), amountIn);

        // Approve router to spend tokens
        IERC20(path[0]).approve(address(router), amountIn);

        // Execute swap
        amounts = router.swapExactTokensForETH(
            amountIn,
            amountOutMin,
            path,
            to,
            deadline
        );

        emit SwapExecuted(
            msg.sender,
            path[0],
            address(0), // ETH/PLS
            amountIn,
            amounts[amounts.length - 1],
            FEE
        );

        // Refund excess PLS if any
        if (msg.value > FEE) {
            (bool refundSuccess, ) = payable(msg.sender).call{
                value: msg.value - FEE
            }("");
            require(refundSuccess, "PlaygroundsRouter: Refund failed");
        }

        return amounts;
    }

    /**
     * @dev Swap exact tokens for tokens
     * @param amountIn Input token amount
     * @param amountOutMin Minimum output amount
     * @param path Token path for swap
     * @param to Recipient address
     * @param deadline Transaction deadline
     * @param baseToken Base token address for fee routing (playground identifier)
     */
    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline,
        address baseToken
    ) external payable nonReentrant returns (uint256[] memory amounts) {
        require(
            msg.value >= FEE,
            "PlaygroundsRouter: Insufficient PLS for fee"
        );

        // Deposit fee to vault with playground tracking
        feeVault.deposit{value: FEE}(baseToken);

        // Transfer input tokens from user
        IERC20(path[0]).safeTransferFrom(msg.sender, address(this), amountIn);

        // Approve router to spend tokens
        IERC20(path[0]).approve(address(router), amountIn);

        // Execute swap
        amounts = router.swapExactTokensForTokens(
            amountIn,
            amountOutMin,
            path,
            to,
            deadline
        );

        emit SwapExecuted(
            msg.sender,
            path[0],
            path[path.length - 1],
            amountIn,
            amounts[amounts.length - 1],
            FEE
        );

        // Refund excess PLS if any
        if (msg.value > FEE) {
            (bool refundSuccess, ) = payable(msg.sender).call{
                value: msg.value - FEE
            }("");
            require(refundSuccess, "PlaygroundsRouter: Refund failed");
        }

        return amounts;
    }

    /**
     * @dev Add liquidity with ETH/PLS
     * @param token ERC20 token address
     * @param amountTokenDesired Desired token amount
     * @param amountTokenMin Minimum token amount
     * @param amountETHMin Minimum ETH/PLS amount
     * @param to LP token recipient
     * @param deadline Transaction deadline
     * @param baseToken Base token address for fee routing (playground identifier)
     */
    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        address baseToken
    )
        external
        payable
        nonReentrant
        returns (uint256 amountToken, uint256 amountETH, uint256 liquidity)
    {
        require(msg.value > FEE, "PlaygroundsRouter: Insufficient PLS for fee");

        // Calculate ETH amount for liquidity (msg.value - fee)
        uint256 ethAmount = msg.value - FEE;

        // Deposit fee to vault with playground tracking
        feeVault.deposit{value: FEE}(baseToken);

        // Transfer tokens from user
        IERC20(token).safeTransferFrom(
            msg.sender,
            address(this),
            amountTokenDesired
        );

        // Approve router to spend tokens
        IERC20(token).approve(address(router), amountTokenDesired);

        // Add liquidity
        (amountToken, amountETH, liquidity) = router.addLiquidityETH{
            value: ethAmount
        }(
            token,
            amountTokenDesired,
            amountTokenMin,
            amountETHMin,
            to,
            deadline
        );

        emit LiquidityAdded(
            msg.sender,
            token,
            address(0), // ETH/PLS
            amountToken,
            amountETH,
            liquidity,
            FEE
        );

        // Refund unused tokens
        uint256 tokenBalance = IERC20(token).balanceOf(address(this));
        if (tokenBalance > 0) {
            IERC20(token).safeTransfer(msg.sender, tokenBalance);
        }

        // Refund unused ETH
        uint256 ethBalance = address(this).balance;
        if (ethBalance > 0) {
            (bool refundSuccess, ) = payable(msg.sender).call{
                value: ethBalance
            }("");
            require(refundSuccess, "PlaygroundsRouter: ETH refund failed");
        }

        return (amountToken, amountETH, liquidity);
    }

    /**
     * @dev Add liquidity with two ERC20 tokens
     * @param tokenA First token address
     * @param tokenB Second token address
     * @param amountADesired Desired amount of tokenA
     * @param amountBDesired Desired amount of tokenB
     * @param amountAMin Minimum amount of tokenA
     * @param amountBMin Minimum amount of tokenB
     * @param to LP token recipient
     * @param deadline Transaction deadline
     * @param baseToken Base token address for fee routing (playground identifier)
     */
    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        address baseToken
    )
        external
        payable
        nonReentrant
        returns (uint256 amountA, uint256 amountB, uint256 liquidity)
    {
        require(
            msg.value >= FEE,
            "PlaygroundsRouter: Insufficient PLS for fee"
        );

        // Deposit fee to vault with playground tracking
        feeVault.deposit{value: FEE}(baseToken);

        // Transfer tokens from user
        IERC20(tokenA).safeTransferFrom(
            msg.sender,
            address(this),
            amountADesired
        );
        IERC20(tokenB).safeTransferFrom(
            msg.sender,
            address(this),
            amountBDesired
        );

        // Approve router to spend tokens
        IERC20(tokenA).approve(address(router), amountADesired);
        IERC20(tokenB).approve(address(router), amountBDesired);

        // Add liquidity
        (amountA, amountB, liquidity) = router.addLiquidity(
            tokenA,
            tokenB,
            amountADesired,
            amountBDesired,
            amountAMin,
            amountBMin,
            to,
            deadline
        );

        emit LiquidityAdded(
            msg.sender,
            tokenA,
            tokenB,
            amountA,
            amountB,
            liquidity,
            FEE
        );

        // Refund unused tokens
        uint256 tokenABalance = IERC20(tokenA).balanceOf(address(this));
        if (tokenABalance > 0) {
            IERC20(tokenA).safeTransfer(msg.sender, tokenABalance);
        }

        uint256 tokenBBalance = IERC20(tokenB).balanceOf(address(this));
        if (tokenBBalance > 0) {
            IERC20(tokenB).safeTransfer(msg.sender, tokenBBalance);
        }

        // Refund excess PLS if any
        if (msg.value > FEE) {
            (bool refundSuccess, ) = payable(msg.sender).call{
                value: msg.value - FEE
            }("");
            require(refundSuccess, "PlaygroundsRouter: Refund failed");
        }

        return (amountA, amountB, liquidity);
    }

    /**
     * @dev Receive function to accept PLS refunds from router
     */
    receive() external payable {}
}
        

/IERC165.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)

pragma solidity >=0.4.16;

/**
 * @dev Interface of the ERC-165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[ERC].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
          

/

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)

pragma solidity >=0.4.16;

import {IERC20} from "../token/ERC20/IERC20.sol";
          

/

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)

pragma solidity >=0.4.16;

import {IERC165} from "../utils/introspection/IERC165.sol";
          

/

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)

pragma solidity >=0.6.2;

import {IERC20} from "./IERC20.sol";
import {IERC165} from "./IERC165.sol";

/**
 * @title IERC1363
 * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
 *
 * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
 * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
 */
interface IERC1363 is IERC20, IERC165 {
    /*
     * Note: the ERC-165 identifier for this interface is 0xb0202a11.
     * 0xb0202a11 ===
     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^
     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
     */

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @param data Additional data with no specified format, sent in call to `spender`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}
          

/IERC20.sol

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

pragma solidity >=0.4.16;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}
          

/utils/SafeERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";
import {IERC1363} from "../../../interfaces/IERC1363.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC-20 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 {
    /**
     * @dev An operation with an ERC-20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.
     */
    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {
        return _callOptionalReturnBool(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.
     */
    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {
        return _callOptionalReturnBool(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     *
     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function
     * only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being
     * set here.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            safeTransfer(token, to, value);
        } else if (!token.transferAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
     * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferFromAndCallRelaxed(
        IERC1363 token,
        address from,
        address to,
        uint256 value,
        bytes memory data
    ) internal {
        if (to.code.length == 0) {
            safeTransferFrom(token, from, to, value);
        } else if (!token.transferFromAndCall(from, to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
     * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
     * once without retrying, and relies on the returned value to be true.
     *
     * Reverts if the returned value is other than `true`.
     */
    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            forceApprove(token, to, value);
        } else if (!token.approveAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @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).
     *
     * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            // bubble errors
            if iszero(success) {
                let ptr := mload(0x40)
                returndatacopy(ptr, 0, returndatasize())
                revert(ptr, returndatasize())
            }
            returnSize := returndatasize()
            returnValue := mload(0)
        }

        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @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).
     *
     * This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        bool success;
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            returnSize := returndatasize()
            returnValue := mload(0)
        }
        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);
    }
}
          

/

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

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

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

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}
          

Compiler Settings

{"remappings":[],"optimizer":{"runs":200,"enabled":false},"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"evmVersion":"shanghai","compilationTarget":{"contracts/PlaygroundRouter.sol":"PlaygroundsRouter"}}
              

Contract ABI

[{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"type":"address","name":"token","internalType":"address"}]},{"type":"event","name":"LiquidityAdded","inputs":[{"type":"address","name":"user","internalType":"address","indexed":true},{"type":"address","name":"tokenA","internalType":"address","indexed":true},{"type":"address","name":"tokenB","internalType":"address","indexed":true},{"type":"uint256","name":"amountA","internalType":"uint256","indexed":false},{"type":"uint256","name":"amountB","internalType":"uint256","indexed":false},{"type":"uint256","name":"liquidity","internalType":"uint256","indexed":false},{"type":"uint256","name":"fee","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SwapExecuted","inputs":[{"type":"address","name":"user","internalType":"address","indexed":true},{"type":"address","name":"tokenIn","internalType":"address","indexed":true},{"type":"address","name":"tokenOut","internalType":"address","indexed":true},{"type":"uint256","name":"amountIn","internalType":"uint256","indexed":false},{"type":"uint256","name":"amountOut","internalType":"uint256","indexed":false},{"type":"uint256","name":"fee","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"FEE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"WPLS","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[{"type":"uint256","name":"amountA","internalType":"uint256"},{"type":"uint256","name":"amountB","internalType":"uint256"},{"type":"uint256","name":"liquidity","internalType":"uint256"}],"name":"addLiquidity","inputs":[{"type":"address","name":"tokenA","internalType":"address"},{"type":"address","name":"tokenB","internalType":"address"},{"type":"uint256","name":"amountADesired","internalType":"uint256"},{"type":"uint256","name":"amountBDesired","internalType":"uint256"},{"type":"uint256","name":"amountAMin","internalType":"uint256"},{"type":"uint256","name":"amountBMin","internalType":"uint256"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"deadline","internalType":"uint256"},{"type":"address","name":"baseToken","internalType":"address"}]},{"type":"function","stateMutability":"payable","outputs":[{"type":"uint256","name":"amountToken","internalType":"uint256"},{"type":"uint256","name":"amountETH","internalType":"uint256"},{"type":"uint256","name":"liquidity","internalType":"uint256"}],"name":"addLiquidityETH","inputs":[{"type":"address","name":"token","internalType":"address"},{"type":"uint256","name":"amountTokenDesired","internalType":"uint256"},{"type":"uint256","name":"amountTokenMin","internalType":"uint256"},{"type":"uint256","name":"amountETHMin","internalType":"uint256"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"deadline","internalType":"uint256"},{"type":"address","name":"baseToken","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IPlaygroundFeeVault"}],"name":"feeVault","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IPulseXRouter"}],"name":"router","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[{"type":"uint256[]","name":"amounts","internalType":"uint256[]"}],"name":"swapExactETHForTokens","inputs":[{"type":"uint256","name":"amountOutMin","internalType":"uint256"},{"type":"address[]","name":"path","internalType":"address[]"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"deadline","internalType":"uint256"},{"type":"address","name":"baseToken","internalType":"address"}]},{"type":"function","stateMutability":"payable","outputs":[{"type":"uint256[]","name":"amounts","internalType":"uint256[]"}],"name":"swapExactTokensForETH","inputs":[{"type":"uint256","name":"amountIn","internalType":"uint256"},{"type":"uint256","name":"amountOutMin","internalType":"uint256"},{"type":"address[]","name":"path","internalType":"address[]"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"deadline","internalType":"uint256"},{"type":"address","name":"baseToken","internalType":"address"}]},{"type":"function","stateMutability":"payable","outputs":[{"type":"uint256[]","name":"amounts","internalType":"uint256[]"}],"name":"swapExactTokensForTokens","inputs":[{"type":"uint256","name":"amountIn","internalType":"uint256"},{"type":"uint256","name":"amountOutMin","internalType":"uint256"},{"type":"address[]","name":"path","internalType":"address[]"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"deadline","internalType":"uint256"},{"type":"address","name":"baseToken","internalType":"address"}]},{"type":"receive","stateMutability":"payable"}]
              

Contract Creation Code

0x608060405234801561000f575f80fd5b5060015f81905550612792806100245f395ff3fe608060405260043610610089575f3560e01c806370629c891161005857806370629c891461014e578063a648ec7a14610180578063c57981b5146101b2578063ef8ef56f146101dc578063f887ea401461020657610090565b806305a1450d146100945780632232ea43146100c4578063344933be146100f4578063478222c21461012457610090565b3661009057005b5f80fd5b6100ae60048036038101906100a99190611acb565b610230565b6040516100bb9190611c2c565b60405180910390f35b6100de60048036038101906100d99190611acb565b6106a1565b6040516100eb9190611c2c565b60405180910390f35b61010e60048036038101906101099190611c4c565b610adc565b60405161011b9190611c2c565b60405180910390f35b34801561012f575f80fd5b50610138610d63565b6040516101459190611d3d565b60405180910390f35b61016860048036038101906101639190611d56565b610d7b565b60405161017793929190611e02565b60405180910390f35b61019a60048036038101906101959190611e37565b6111d8565b6040516101a993929190611e02565b60405180910390f35b3480156101bd575f80fd5b506101c66117a6565b6040516101d39190611efb565b60405180910390f35b3480156101e7575f80fd5b506101f06117b3565b6040516101fd9190611f23565b60405180910390f35b348015610211575f80fd5b5061021a6117cb565b6040516102279190611f5c565b60405180910390f35b606061023a6117e3565b683635c9adc5dea00000341015610286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027d90611ff5565b60405180910390fd5b73cd1e0f80e101f51d02d4f4037c60f2dcd4cae40073ffffffffffffffffffffffffffffffffffffffff1663f340fa01683635c9adc5dea00000846040518363ffffffff1660e01b81526004016102dd9190611f23565b5f604051808303818588803b1580156102f4575f80fd5b505af1158015610306573d5f803e3d5ffd5b505050505061035f33308a89895f81811061032457610323612013565b5b90506020020160208101906103399190612040565b73ffffffffffffffffffffffffffffffffffffffff16611827909392919063ffffffff16565b85855f81811061037257610371612013565b5b90506020020160208101906103879190612040565b73ffffffffffffffffffffffffffffffffffffffff1663095ea7b373165c3410fc91ef562c50559f7d2289febed552d98a6040518363ffffffff1660e01b81526004016103d592919061206b565b6020604051808303815f875af11580156103f1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061041591906120c7565b5073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff166338ed17398989898989896040518763ffffffff1660e01b815260040161046d969594939291906121ae565b5f604051808303815f875af1158015610488573d5f803e3d5ffd5b505050506040513d5f823e3d601f19601f820116820180604052508101906104b09190612364565b905085856001888890506104c491906123d8565b8181106104d4576104d3612013565b5b90506020020160208101906104e99190612040565b73ffffffffffffffffffffffffffffffffffffffff1686865f81811061051257610511612013565b5b90506020020160208101906105279190612040565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fad671c9d50262b75ba17bdf7e330ae0d7da971800b2526584a85f83d23296b158b856001875161058591906123d8565b8151811061059657610595612013565b5b6020026020010151683635c9adc5dea000006040516105b793929190611e02565b60405180910390a4683635c9adc5dea0000034111561068e575f3373ffffffffffffffffffffffffffffffffffffffff16683635c9adc5dea00000346105fd91906123d8565b60405161060990612438565b5f6040518083038185875af1925050503d805f8114610643576040519150601f19603f3d011682016040523d82523d5f602084013e610648565b606091505b505090508061068c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068390612496565b60405180910390fd5b505b6106966118a9565b979650505050505050565b60606106ab6117e3565b683635c9adc5dea000003410156106f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ee90611ff5565b60405180910390fd5b73cd1e0f80e101f51d02d4f4037c60f2dcd4cae40073ffffffffffffffffffffffffffffffffffffffff1663f340fa01683635c9adc5dea00000846040518363ffffffff1660e01b815260040161074e9190611f23565b5f604051808303818588803b158015610765575f80fd5b505af1158015610777573d5f803e3d5ffd5b50505050506107d033308a89895f81811061079557610794612013565b5b90506020020160208101906107aa9190612040565b73ffffffffffffffffffffffffffffffffffffffff16611827909392919063ffffffff16565b85855f8181106107e3576107e2612013565b5b90506020020160208101906107f89190612040565b73ffffffffffffffffffffffffffffffffffffffff1663095ea7b373165c3410fc91ef562c50559f7d2289febed552d98a6040518363ffffffff1660e01b815260040161084692919061206b565b6020604051808303815f875af1158015610862573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088691906120c7565b5073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff166318cbafe58989898989896040518763ffffffff1660e01b81526004016108de969594939291906121ae565b5f604051808303815f875af11580156108f9573d5f803e3d5ffd5b505050506040513d5f823e3d601f19601f820116820180604052508101906109219190612364565b90505f73ffffffffffffffffffffffffffffffffffffffff1686865f81811061094d5761094c612013565b5b90506020020160208101906109629190612040565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fad671c9d50262b75ba17bdf7e330ae0d7da971800b2526584a85f83d23296b158b85600187516109c091906123d8565b815181106109d1576109d0612013565b5b6020026020010151683635c9adc5dea000006040516109f293929190611e02565b60405180910390a4683635c9adc5dea00000341115610ac9575f3373ffffffffffffffffffffffffffffffffffffffff16683635c9adc5dea0000034610a3891906123d8565b604051610a4490612438565b5f6040518083038185875af1925050503d805f8114610a7e576040519150601f19603f3d011682016040523d82523d5f602084013e610a83565b606091505b5050905080610ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abe90612496565b60405180910390fd5b505b610ad16118a9565b979650505050505050565b6060610ae66117e3565b683635c9adc5dea000003411610b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2890611ff5565b60405180910390fd5b5f683635c9adc5dea0000034610b4791906123d8565b905073cd1e0f80e101f51d02d4f4037c60f2dcd4cae40073ffffffffffffffffffffffffffffffffffffffff1663f340fa01683635c9adc5dea00000856040518363ffffffff1660e01b8152600401610ba09190611f23565b5f604051808303818588803b158015610bb7575f80fd5b505af1158015610bc9573d5f803e3d5ffd5b505050505073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff16637ff36ab5828a8a8a8a8a6040518763ffffffff1660e01b8152600401610c249594939291906124b4565b5f6040518083038185885af1158015610c3f573d5f803e3d5ffd5b50505050506040513d5f823e3d601f19601f82011682018060405250810190610c689190612364565b91508686600189899050610c7c91906123d8565b818110610c8c57610c8b612013565b5b9050602002016020810190610ca19190612040565b73ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fad671c9d50262b75ba17bdf7e330ae0d7da971800b2526584a85f83d23296b15848660018851610d1691906123d8565b81518110610d2757610d26612013565b5b6020026020010151683635c9adc5dea00000604051610d4893929190611e02565b60405180910390a450610d596118a9565b9695505050505050565b73cd1e0f80e101f51d02d4f4037c60f2dcd4cae40081565b5f805f610d866117e3565b683635c9adc5dea000003411610dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc890611ff5565b60405180910390fd5b5f683635c9adc5dea0000034610de791906123d8565b905073cd1e0f80e101f51d02d4f4037c60f2dcd4cae40073ffffffffffffffffffffffffffffffffffffffff1663f340fa01683635c9adc5dea00000876040518363ffffffff1660e01b8152600401610e409190611f23565b5f604051808303818588803b158015610e57575f80fd5b505af1158015610e69573d5f803e3d5ffd5b5050505050610e9b33308c8e73ffffffffffffffffffffffffffffffffffffffff16611827909392919063ffffffff16565b8a73ffffffffffffffffffffffffffffffffffffffff1663095ea7b373165c3410fc91ef562c50559f7d2289febed552d98c6040518363ffffffff1660e01b8152600401610eea92919061206b565b6020604051808303815f875af1158015610f06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f2a91906120c7565b5073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff1663f305d719828d8d8d8d8d8d6040518863ffffffff1660e01b8152600401610f8396959493929190612500565b60606040518083038185885af1158015610f9f573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610fc4919061255f565b8094508195508296505050505f73ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fa0f0db586a2f0c2d74b358a03070427de39bb6895ab47557e77ea4cbf1f84f2e878787683635c9adc5dea0000060405161105394939291906125af565b60405180910390a45f8b73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016110959190611f23565b602060405180830381865afa1580156110b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d491906125f2565b90505f81111561110a5761110933828e73ffffffffffffffffffffffffffffffffffffffff166118b29092919063ffffffff16565b5b5f4790505f8111156111c0575f3373ffffffffffffffffffffffffffffffffffffffff168260405161113b90612438565b5f6040518083038185875af1925050503d805f8114611175576040519150601f19603f3d011682016040523d82523d5f602084013e61117a565b606091505b50509050806111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b59061268d565b60405180910390fd5b505b5050506111cb6118a9565b9750975097945050505050565b5f805f6111e36117e3565b683635c9adc5dea0000034101561122f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122690611ff5565b60405180910390fd5b73cd1e0f80e101f51d02d4f4037c60f2dcd4cae40073ffffffffffffffffffffffffffffffffffffffff1663f340fa01683635c9adc5dea00000866040518363ffffffff1660e01b81526004016112869190611f23565b5f604051808303818588803b15801561129d575f80fd5b505af11580156112af573d5f803e3d5ffd5b50505050506112e133308c8f73ffffffffffffffffffffffffffffffffffffffff16611827909392919063ffffffff16565b61130e33308b8e73ffffffffffffffffffffffffffffffffffffffff16611827909392919063ffffffff16565b8b73ffffffffffffffffffffffffffffffffffffffff1663095ea7b373165c3410fc91ef562c50559f7d2289febed552d98c6040518363ffffffff1660e01b815260040161135d92919061206b565b6020604051808303815f875af1158015611379573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139d91906120c7565b508a73ffffffffffffffffffffffffffffffffffffffff1663095ea7b373165c3410fc91ef562c50559f7d2289febed552d98b6040518363ffffffff1660e01b81526004016113ed92919061206b565b6020604051808303815f875af1158015611409573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061142d91906120c7565b5073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff1663e8e337008d8d8d8d8d8d8d8d6040518963ffffffff1660e01b81526004016114899897969594939291906126ab565b6060604051808303815f875af11580156114a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c9919061255f565b8093508194508295505050508a73ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fa0f0db586a2f0c2d74b358a03070427de39bb6895ab47557e77ea4cbf1f84f2e868686683635c9adc5dea0000060405161155894939291906125af565b60405180910390a45f8c73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161159a9190611f23565b602060405180830381865afa1580156115b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115d991906125f2565b90505f81111561160f5761160e33828f73ffffffffffffffffffffffffffffffffffffffff166118b29092919063ffffffff16565b5b5f8c73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016116499190611f23565b602060405180830381865afa158015611664573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061168891906125f2565b90505f8111156116be576116bd33828f73ffffffffffffffffffffffffffffffffffffffff166118b29092919063ffffffff16565b5b683635c9adc5dea0000034111561178d575f3373ffffffffffffffffffffffffffffffffffffffff16683635c9adc5dea00000346116fc91906123d8565b60405161170890612438565b5f6040518083038185875af1925050503d805f8114611742576040519150601f19603f3d011682016040523d82523d5f602084013e611747565b606091505b505090508061178b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178290612496565b60405180910390fd5b505b50506117976118a9565b99509950999650505050505050565b683635c9adc5dea0000081565b73a1077a294dde1b09bb078844df40758a5d0f9a2781565b73165c3410fc91ef562c50559f7d2289febed552d981565b60025f540361181e576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60025f81905550565b6118a3848573ffffffffffffffffffffffffffffffffffffffff166323b872dd86868660405160240161185c93929190612727565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611931565b50505050565b60015f81905550565b61192c838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040516024016118e592919061206b565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611931565b505050565b5f8060205f8451602086015f885af180611950576040513d5f823e3d81fd5b3d92505f519150505f8214611969576001811415611984565b5f8473ffffffffffffffffffffffffffffffffffffffff163b145b156119c657836040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016119bd9190611f23565b60405180910390fd5b50505050565b5f604051905090565b5f80fd5b5f80fd5b5f819050919050565b6119ef816119dd565b81146119f9575f80fd5b50565b5f81359050611a0a816119e6565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112611a3157611a30611a10565b5b8235905067ffffffffffffffff811115611a4e57611a4d611a14565b5b602083019150836020820283011115611a6a57611a69611a18565b5b9250929050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611a9a82611a71565b9050919050565b611aaa81611a90565b8114611ab4575f80fd5b50565b5f81359050611ac581611aa1565b92915050565b5f805f805f805f60c0888a031215611ae657611ae56119d5565b5b5f611af38a828b016119fc565b9750506020611b048a828b016119fc565b965050604088013567ffffffffffffffff811115611b2557611b246119d9565b5b611b318a828b01611a1c565b95509550506060611b448a828b01611ab7565b9350506080611b558a828b016119fc565b92505060a0611b668a828b01611ab7565b91505092959891949750929550565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b611ba7816119dd565b82525050565b5f611bb88383611b9e565b60208301905092915050565b5f602082019050919050565b5f611bda82611b75565b611be48185611b7f565b9350611bef83611b8f565b805f5b83811015611c1f578151611c068882611bad565b9750611c1183611bc4565b925050600181019050611bf2565b5085935050505092915050565b5f6020820190508181035f830152611c448184611bd0565b905092915050565b5f805f805f8060a08789031215611c6657611c656119d5565b5b5f611c7389828a016119fc565b965050602087013567ffffffffffffffff811115611c9457611c936119d9565b5b611ca089828a01611a1c565b95509550506040611cb389828a01611ab7565b9350506060611cc489828a016119fc565b9250506080611cd589828a01611ab7565b9150509295509295509295565b5f819050919050565b5f611d05611d00611cfb84611a71565b611ce2565b611a71565b9050919050565b5f611d1682611ceb565b9050919050565b5f611d2782611d0c565b9050919050565b611d3781611d1d565b82525050565b5f602082019050611d505f830184611d2e565b92915050565b5f805f805f805f60e0888a031215611d7157611d706119d5565b5b5f611d7e8a828b01611ab7565b9750506020611d8f8a828b016119fc565b9650506040611da08a828b016119fc565b9550506060611db18a828b016119fc565b9450506080611dc28a828b01611ab7565b93505060a0611dd38a828b016119fc565b92505060c0611de48a828b01611ab7565b91505092959891949750929550565b611dfc816119dd565b82525050565b5f606082019050611e155f830186611df3565b611e226020830185611df3565b611e2f6040830184611df3565b949350505050565b5f805f805f805f805f6101208a8c031215611e5557611e546119d5565b5b5f611e628c828d01611ab7565b9950506020611e738c828d01611ab7565b9850506040611e848c828d016119fc565b9750506060611e958c828d016119fc565b9650506080611ea68c828d016119fc565b95505060a0611eb78c828d016119fc565b94505060c0611ec88c828d01611ab7565b93505060e0611ed98c828d016119fc565b925050610100611eeb8c828d01611ab7565b9150509295985092959850929598565b5f602082019050611f0e5f830184611df3565b92915050565b611f1d81611a90565b82525050565b5f602082019050611f365f830184611f14565b92915050565b5f611f4682611d0c565b9050919050565b611f5681611f3c565b82525050565b5f602082019050611f6f5f830184611f4d565b92915050565b5f82825260208201905092915050565b7f506c617967726f756e6473526f757465723a20496e73756666696369656e74205f8201527f504c5320666f7220666565000000000000000000000000000000000000000000602082015250565b5f611fdf602b83611f75565b9150611fea82611f85565b604082019050919050565b5f6020820190508181035f83015261200c81611fd3565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f60208284031215612055576120546119d5565b5b5f61206284828501611ab7565b91505092915050565b5f60408201905061207e5f830185611f14565b61208b6020830184611df3565b9392505050565b5f8115159050919050565b6120a681612092565b81146120b0575f80fd5b50565b5f815190506120c18161209d565b92915050565b5f602082840312156120dc576120db6119d5565b5b5f6120e9848285016120b3565b91505092915050565b5f82825260208201905092915050565b5f819050919050565b61211481611a90565b82525050565b5f612125838361210b565b60208301905092915050565b5f61213f6020840184611ab7565b905092915050565b5f602082019050919050565b5f61215e83856120f2565b935061216982612102565b805f5b858110156121a15761217e8284612131565b612188888261211a565b975061219383612147565b92505060018101905061216c565b5085925050509392505050565b5f60a0820190506121c15f830189611df3565b6121ce6020830188611df3565b81810360408301526121e1818688612153565b90506121f06060830185611f14565b6121fd6080830184611df3565b979650505050505050565b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61224e82612208565b810181811067ffffffffffffffff8211171561226d5761226c612218565b5b80604052505050565b5f61227f6119cc565b905061228b8282612245565b919050565b5f67ffffffffffffffff8211156122aa576122a9612218565b5b602082029050602081019050919050565b5f815190506122c9816119e6565b92915050565b5f6122e16122dc84612290565b612276565b9050808382526020820190506020840283018581111561230457612303611a18565b5b835b8181101561232d578061231988826122bb565b845260208401935050602081019050612306565b5050509392505050565b5f82601f83011261234b5761234a611a10565b5b815161235b8482602086016122cf565b91505092915050565b5f60208284031215612379576123786119d5565b5b5f82015167ffffffffffffffff811115612396576123956119d9565b5b6123a284828501612337565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6123e2826119dd565b91506123ed836119dd565b9250828203905081811115612405576124046123ab565b5b92915050565b5f81905092915050565b50565b5f6124235f8361240b565b915061242e82612415565b5f82019050919050565b5f61244282612418565b9150819050919050565b7f506c617967726f756e6473526f757465723a20526566756e64206661696c65645f82015250565b5f612480602083611f75565b915061248b8261244c565b602082019050919050565b5f6020820190508181035f8301526124ad81612474565b9050919050565b5f6080820190506124c75f830188611df3565b81810360208301526124da818688612153565b90506124e96040830185611f14565b6124f66060830184611df3565b9695505050505050565b5f60c0820190506125135f830189611f14565b6125206020830188611df3565b61252d6040830187611df3565b61253a6060830186611df3565b6125476080830185611f14565b61255460a0830184611df3565b979650505050505050565b5f805f60608486031215612576576125756119d5565b5b5f612583868287016122bb565b9350506020612594868287016122bb565b92505060406125a5868287016122bb565b9150509250925092565b5f6080820190506125c25f830187611df3565b6125cf6020830186611df3565b6125dc6040830185611df3565b6125e96060830184611df3565b95945050505050565b5f60208284031215612607576126066119d5565b5b5f612614848285016122bb565b91505092915050565b7f506c617967726f756e6473526f757465723a2045544820726566756e642066615f8201527f696c656400000000000000000000000000000000000000000000000000000000602082015250565b5f612677602483611f75565b91506126828261261d565b604082019050919050565b5f6020820190508181035f8301526126a48161266b565b9050919050565b5f610100820190506126bf5f83018b611f14565b6126cc602083018a611f14565b6126d96040830189611df3565b6126e66060830188611df3565b6126f36080830187611df3565b61270060a0830186611df3565b61270d60c0830185611f14565b61271a60e0830184611df3565b9998505050505050505050565b5f60608201905061273a5f830186611f14565b6127476020830185611f14565b6127546040830184611df3565b94935050505056fea2646970667358221220e2db6f5200c26449e55fc250d09e2cefeb5c8c9df411722463c320c00ee2d7d964736f6c63430008140033

Deployed ByteCode

0x608060405260043610610089575f3560e01c806370629c891161005857806370629c891461014e578063a648ec7a14610180578063c57981b5146101b2578063ef8ef56f146101dc578063f887ea401461020657610090565b806305a1450d146100945780632232ea43146100c4578063344933be146100f4578063478222c21461012457610090565b3661009057005b5f80fd5b6100ae60048036038101906100a99190611acb565b610230565b6040516100bb9190611c2c565b60405180910390f35b6100de60048036038101906100d99190611acb565b6106a1565b6040516100eb9190611c2c565b60405180910390f35b61010e60048036038101906101099190611c4c565b610adc565b60405161011b9190611c2c565b60405180910390f35b34801561012f575f80fd5b50610138610d63565b6040516101459190611d3d565b60405180910390f35b61016860048036038101906101639190611d56565b610d7b565b60405161017793929190611e02565b60405180910390f35b61019a60048036038101906101959190611e37565b6111d8565b6040516101a993929190611e02565b60405180910390f35b3480156101bd575f80fd5b506101c66117a6565b6040516101d39190611efb565b60405180910390f35b3480156101e7575f80fd5b506101f06117b3565b6040516101fd9190611f23565b60405180910390f35b348015610211575f80fd5b5061021a6117cb565b6040516102279190611f5c565b60405180910390f35b606061023a6117e3565b683635c9adc5dea00000341015610286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027d90611ff5565b60405180910390fd5b73cd1e0f80e101f51d02d4f4037c60f2dcd4cae40073ffffffffffffffffffffffffffffffffffffffff1663f340fa01683635c9adc5dea00000846040518363ffffffff1660e01b81526004016102dd9190611f23565b5f604051808303818588803b1580156102f4575f80fd5b505af1158015610306573d5f803e3d5ffd5b505050505061035f33308a89895f81811061032457610323612013565b5b90506020020160208101906103399190612040565b73ffffffffffffffffffffffffffffffffffffffff16611827909392919063ffffffff16565b85855f81811061037257610371612013565b5b90506020020160208101906103879190612040565b73ffffffffffffffffffffffffffffffffffffffff1663095ea7b373165c3410fc91ef562c50559f7d2289febed552d98a6040518363ffffffff1660e01b81526004016103d592919061206b565b6020604051808303815f875af11580156103f1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061041591906120c7565b5073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff166338ed17398989898989896040518763ffffffff1660e01b815260040161046d969594939291906121ae565b5f604051808303815f875af1158015610488573d5f803e3d5ffd5b505050506040513d5f823e3d601f19601f820116820180604052508101906104b09190612364565b905085856001888890506104c491906123d8565b8181106104d4576104d3612013565b5b90506020020160208101906104e99190612040565b73ffffffffffffffffffffffffffffffffffffffff1686865f81811061051257610511612013565b5b90506020020160208101906105279190612040565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fad671c9d50262b75ba17bdf7e330ae0d7da971800b2526584a85f83d23296b158b856001875161058591906123d8565b8151811061059657610595612013565b5b6020026020010151683635c9adc5dea000006040516105b793929190611e02565b60405180910390a4683635c9adc5dea0000034111561068e575f3373ffffffffffffffffffffffffffffffffffffffff16683635c9adc5dea00000346105fd91906123d8565b60405161060990612438565b5f6040518083038185875af1925050503d805f8114610643576040519150601f19603f3d011682016040523d82523d5f602084013e610648565b606091505b505090508061068c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068390612496565b60405180910390fd5b505b6106966118a9565b979650505050505050565b60606106ab6117e3565b683635c9adc5dea000003410156106f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ee90611ff5565b60405180910390fd5b73cd1e0f80e101f51d02d4f4037c60f2dcd4cae40073ffffffffffffffffffffffffffffffffffffffff1663f340fa01683635c9adc5dea00000846040518363ffffffff1660e01b815260040161074e9190611f23565b5f604051808303818588803b158015610765575f80fd5b505af1158015610777573d5f803e3d5ffd5b50505050506107d033308a89895f81811061079557610794612013565b5b90506020020160208101906107aa9190612040565b73ffffffffffffffffffffffffffffffffffffffff16611827909392919063ffffffff16565b85855f8181106107e3576107e2612013565b5b90506020020160208101906107f89190612040565b73ffffffffffffffffffffffffffffffffffffffff1663095ea7b373165c3410fc91ef562c50559f7d2289febed552d98a6040518363ffffffff1660e01b815260040161084692919061206b565b6020604051808303815f875af1158015610862573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088691906120c7565b5073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff166318cbafe58989898989896040518763ffffffff1660e01b81526004016108de969594939291906121ae565b5f604051808303815f875af11580156108f9573d5f803e3d5ffd5b505050506040513d5f823e3d601f19601f820116820180604052508101906109219190612364565b90505f73ffffffffffffffffffffffffffffffffffffffff1686865f81811061094d5761094c612013565b5b90506020020160208101906109629190612040565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fad671c9d50262b75ba17bdf7e330ae0d7da971800b2526584a85f83d23296b158b85600187516109c091906123d8565b815181106109d1576109d0612013565b5b6020026020010151683635c9adc5dea000006040516109f293929190611e02565b60405180910390a4683635c9adc5dea00000341115610ac9575f3373ffffffffffffffffffffffffffffffffffffffff16683635c9adc5dea0000034610a3891906123d8565b604051610a4490612438565b5f6040518083038185875af1925050503d805f8114610a7e576040519150601f19603f3d011682016040523d82523d5f602084013e610a83565b606091505b5050905080610ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abe90612496565b60405180910390fd5b505b610ad16118a9565b979650505050505050565b6060610ae66117e3565b683635c9adc5dea000003411610b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2890611ff5565b60405180910390fd5b5f683635c9adc5dea0000034610b4791906123d8565b905073cd1e0f80e101f51d02d4f4037c60f2dcd4cae40073ffffffffffffffffffffffffffffffffffffffff1663f340fa01683635c9adc5dea00000856040518363ffffffff1660e01b8152600401610ba09190611f23565b5f604051808303818588803b158015610bb7575f80fd5b505af1158015610bc9573d5f803e3d5ffd5b505050505073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff16637ff36ab5828a8a8a8a8a6040518763ffffffff1660e01b8152600401610c249594939291906124b4565b5f6040518083038185885af1158015610c3f573d5f803e3d5ffd5b50505050506040513d5f823e3d601f19601f82011682018060405250810190610c689190612364565b91508686600189899050610c7c91906123d8565b818110610c8c57610c8b612013565b5b9050602002016020810190610ca19190612040565b73ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fad671c9d50262b75ba17bdf7e330ae0d7da971800b2526584a85f83d23296b15848660018851610d1691906123d8565b81518110610d2757610d26612013565b5b6020026020010151683635c9adc5dea00000604051610d4893929190611e02565b60405180910390a450610d596118a9565b9695505050505050565b73cd1e0f80e101f51d02d4f4037c60f2dcd4cae40081565b5f805f610d866117e3565b683635c9adc5dea000003411610dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc890611ff5565b60405180910390fd5b5f683635c9adc5dea0000034610de791906123d8565b905073cd1e0f80e101f51d02d4f4037c60f2dcd4cae40073ffffffffffffffffffffffffffffffffffffffff1663f340fa01683635c9adc5dea00000876040518363ffffffff1660e01b8152600401610e409190611f23565b5f604051808303818588803b158015610e57575f80fd5b505af1158015610e69573d5f803e3d5ffd5b5050505050610e9b33308c8e73ffffffffffffffffffffffffffffffffffffffff16611827909392919063ffffffff16565b8a73ffffffffffffffffffffffffffffffffffffffff1663095ea7b373165c3410fc91ef562c50559f7d2289febed552d98c6040518363ffffffff1660e01b8152600401610eea92919061206b565b6020604051808303815f875af1158015610f06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f2a91906120c7565b5073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff1663f305d719828d8d8d8d8d8d6040518863ffffffff1660e01b8152600401610f8396959493929190612500565b60606040518083038185885af1158015610f9f573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610fc4919061255f565b8094508195508296505050505f73ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fa0f0db586a2f0c2d74b358a03070427de39bb6895ab47557e77ea4cbf1f84f2e878787683635c9adc5dea0000060405161105394939291906125af565b60405180910390a45f8b73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016110959190611f23565b602060405180830381865afa1580156110b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d491906125f2565b90505f81111561110a5761110933828e73ffffffffffffffffffffffffffffffffffffffff166118b29092919063ffffffff16565b5b5f4790505f8111156111c0575f3373ffffffffffffffffffffffffffffffffffffffff168260405161113b90612438565b5f6040518083038185875af1925050503d805f8114611175576040519150601f19603f3d011682016040523d82523d5f602084013e61117a565b606091505b50509050806111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b59061268d565b60405180910390fd5b505b5050506111cb6118a9565b9750975097945050505050565b5f805f6111e36117e3565b683635c9adc5dea0000034101561122f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122690611ff5565b60405180910390fd5b73cd1e0f80e101f51d02d4f4037c60f2dcd4cae40073ffffffffffffffffffffffffffffffffffffffff1663f340fa01683635c9adc5dea00000866040518363ffffffff1660e01b81526004016112869190611f23565b5f604051808303818588803b15801561129d575f80fd5b505af11580156112af573d5f803e3d5ffd5b50505050506112e133308c8f73ffffffffffffffffffffffffffffffffffffffff16611827909392919063ffffffff16565b61130e33308b8e73ffffffffffffffffffffffffffffffffffffffff16611827909392919063ffffffff16565b8b73ffffffffffffffffffffffffffffffffffffffff1663095ea7b373165c3410fc91ef562c50559f7d2289febed552d98c6040518363ffffffff1660e01b815260040161135d92919061206b565b6020604051808303815f875af1158015611379573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139d91906120c7565b508a73ffffffffffffffffffffffffffffffffffffffff1663095ea7b373165c3410fc91ef562c50559f7d2289febed552d98b6040518363ffffffff1660e01b81526004016113ed92919061206b565b6020604051808303815f875af1158015611409573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061142d91906120c7565b5073165c3410fc91ef562c50559f7d2289febed552d973ffffffffffffffffffffffffffffffffffffffff1663e8e337008d8d8d8d8d8d8d8d6040518963ffffffff1660e01b81526004016114899897969594939291906126ab565b6060604051808303815f875af11580156114a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c9919061255f565b8093508194508295505050508a73ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fa0f0db586a2f0c2d74b358a03070427de39bb6895ab47557e77ea4cbf1f84f2e868686683635c9adc5dea0000060405161155894939291906125af565b60405180910390a45f8c73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161159a9190611f23565b602060405180830381865afa1580156115b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115d991906125f2565b90505f81111561160f5761160e33828f73ffffffffffffffffffffffffffffffffffffffff166118b29092919063ffffffff16565b5b5f8c73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016116499190611f23565b602060405180830381865afa158015611664573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061168891906125f2565b90505f8111156116be576116bd33828f73ffffffffffffffffffffffffffffffffffffffff166118b29092919063ffffffff16565b5b683635c9adc5dea0000034111561178d575f3373ffffffffffffffffffffffffffffffffffffffff16683635c9adc5dea00000346116fc91906123d8565b60405161170890612438565b5f6040518083038185875af1925050503d805f8114611742576040519150601f19603f3d011682016040523d82523d5f602084013e611747565b606091505b505090508061178b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178290612496565b60405180910390fd5b505b50506117976118a9565b99509950999650505050505050565b683635c9adc5dea0000081565b73a1077a294dde1b09bb078844df40758a5d0f9a2781565b73165c3410fc91ef562c50559f7d2289febed552d981565b60025f540361181e576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60025f81905550565b6118a3848573ffffffffffffffffffffffffffffffffffffffff166323b872dd86868660405160240161185c93929190612727565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611931565b50505050565b60015f81905550565b61192c838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040516024016118e592919061206b565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611931565b505050565b5f8060205f8451602086015f885af180611950576040513d5f823e3d81fd5b3d92505f519150505f8214611969576001811415611984565b5f8473ffffffffffffffffffffffffffffffffffffffff163b145b156119c657836040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016119bd9190611f23565b60405180910390fd5b50505050565b5f604051905090565b5f80fd5b5f80fd5b5f819050919050565b6119ef816119dd565b81146119f9575f80fd5b50565b5f81359050611a0a816119e6565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112611a3157611a30611a10565b5b8235905067ffffffffffffffff811115611a4e57611a4d611a14565b5b602083019150836020820283011115611a6a57611a69611a18565b5b9250929050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611a9a82611a71565b9050919050565b611aaa81611a90565b8114611ab4575f80fd5b50565b5f81359050611ac581611aa1565b92915050565b5f805f805f805f60c0888a031215611ae657611ae56119d5565b5b5f611af38a828b016119fc565b9750506020611b048a828b016119fc565b965050604088013567ffffffffffffffff811115611b2557611b246119d9565b5b611b318a828b01611a1c565b95509550506060611b448a828b01611ab7565b9350506080611b558a828b016119fc565b92505060a0611b668a828b01611ab7565b91505092959891949750929550565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b611ba7816119dd565b82525050565b5f611bb88383611b9e565b60208301905092915050565b5f602082019050919050565b5f611bda82611b75565b611be48185611b7f565b9350611bef83611b8f565b805f5b83811015611c1f578151611c068882611bad565b9750611c1183611bc4565b925050600181019050611bf2565b5085935050505092915050565b5f6020820190508181035f830152611c448184611bd0565b905092915050565b5f805f805f8060a08789031215611c6657611c656119d5565b5b5f611c7389828a016119fc565b965050602087013567ffffffffffffffff811115611c9457611c936119d9565b5b611ca089828a01611a1c565b95509550506040611cb389828a01611ab7565b9350506060611cc489828a016119fc565b9250506080611cd589828a01611ab7565b9150509295509295509295565b5f819050919050565b5f611d05611d00611cfb84611a71565b611ce2565b611a71565b9050919050565b5f611d1682611ceb565b9050919050565b5f611d2782611d0c565b9050919050565b611d3781611d1d565b82525050565b5f602082019050611d505f830184611d2e565b92915050565b5f805f805f805f60e0888a031215611d7157611d706119d5565b5b5f611d7e8a828b01611ab7565b9750506020611d8f8a828b016119fc565b9650506040611da08a828b016119fc565b9550506060611db18a828b016119fc565b9450506080611dc28a828b01611ab7565b93505060a0611dd38a828b016119fc565b92505060c0611de48a828b01611ab7565b91505092959891949750929550565b611dfc816119dd565b82525050565b5f606082019050611e155f830186611df3565b611e226020830185611df3565b611e2f6040830184611df3565b949350505050565b5f805f805f805f805f6101208a8c031215611e5557611e546119d5565b5b5f611e628c828d01611ab7565b9950506020611e738c828d01611ab7565b9850506040611e848c828d016119fc565b9750506060611e958c828d016119fc565b9650506080611ea68c828d016119fc565b95505060a0611eb78c828d016119fc565b94505060c0611ec88c828d01611ab7565b93505060e0611ed98c828d016119fc565b925050610100611eeb8c828d01611ab7565b9150509295985092959850929598565b5f602082019050611f0e5f830184611df3565b92915050565b611f1d81611a90565b82525050565b5f602082019050611f365f830184611f14565b92915050565b5f611f4682611d0c565b9050919050565b611f5681611f3c565b82525050565b5f602082019050611f6f5f830184611f4d565b92915050565b5f82825260208201905092915050565b7f506c617967726f756e6473526f757465723a20496e73756666696369656e74205f8201527f504c5320666f7220666565000000000000000000000000000000000000000000602082015250565b5f611fdf602b83611f75565b9150611fea82611f85565b604082019050919050565b5f6020820190508181035f83015261200c81611fd3565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f60208284031215612055576120546119d5565b5b5f61206284828501611ab7565b91505092915050565b5f60408201905061207e5f830185611f14565b61208b6020830184611df3565b9392505050565b5f8115159050919050565b6120a681612092565b81146120b0575f80fd5b50565b5f815190506120c18161209d565b92915050565b5f602082840312156120dc576120db6119d5565b5b5f6120e9848285016120b3565b91505092915050565b5f82825260208201905092915050565b5f819050919050565b61211481611a90565b82525050565b5f612125838361210b565b60208301905092915050565b5f61213f6020840184611ab7565b905092915050565b5f602082019050919050565b5f61215e83856120f2565b935061216982612102565b805f5b858110156121a15761217e8284612131565b612188888261211a565b975061219383612147565b92505060018101905061216c565b5085925050509392505050565b5f60a0820190506121c15f830189611df3565b6121ce6020830188611df3565b81810360408301526121e1818688612153565b90506121f06060830185611f14565b6121fd6080830184611df3565b979650505050505050565b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61224e82612208565b810181811067ffffffffffffffff8211171561226d5761226c612218565b5b80604052505050565b5f61227f6119cc565b905061228b8282612245565b919050565b5f67ffffffffffffffff8211156122aa576122a9612218565b5b602082029050602081019050919050565b5f815190506122c9816119e6565b92915050565b5f6122e16122dc84612290565b612276565b9050808382526020820190506020840283018581111561230457612303611a18565b5b835b8181101561232d578061231988826122bb565b845260208401935050602081019050612306565b5050509392505050565b5f82601f83011261234b5761234a611a10565b5b815161235b8482602086016122cf565b91505092915050565b5f60208284031215612379576123786119d5565b5b5f82015167ffffffffffffffff811115612396576123956119d9565b5b6123a284828501612337565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6123e2826119dd565b91506123ed836119dd565b9250828203905081811115612405576124046123ab565b5b92915050565b5f81905092915050565b50565b5f6124235f8361240b565b915061242e82612415565b5f82019050919050565b5f61244282612418565b9150819050919050565b7f506c617967726f756e6473526f757465723a20526566756e64206661696c65645f82015250565b5f612480602083611f75565b915061248b8261244c565b602082019050919050565b5f6020820190508181035f8301526124ad81612474565b9050919050565b5f6080820190506124c75f830188611df3565b81810360208301526124da818688612153565b90506124e96040830185611f14565b6124f66060830184611df3565b9695505050505050565b5f60c0820190506125135f830189611f14565b6125206020830188611df3565b61252d6040830187611df3565b61253a6060830186611df3565b6125476080830185611f14565b61255460a0830184611df3565b979650505050505050565b5f805f60608486031215612576576125756119d5565b5b5f612583868287016122bb565b9350506020612594868287016122bb565b92505060406125a5868287016122bb565b9150509250925092565b5f6080820190506125c25f830187611df3565b6125cf6020830186611df3565b6125dc6040830185611df3565b6125e96060830184611df3565b95945050505050565b5f60208284031215612607576126066119d5565b5b5f612614848285016122bb565b91505092915050565b7f506c617967726f756e6473526f757465723a2045544820726566756e642066615f8201527f696c656400000000000000000000000000000000000000000000000000000000602082015250565b5f612677602483611f75565b91506126828261261d565b604082019050919050565b5f6020820190508181035f8301526126a48161266b565b9050919050565b5f610100820190506126bf5f83018b611f14565b6126cc602083018a611f14565b6126d96040830189611df3565b6126e66060830188611df3565b6126f36080830187611df3565b61270060a0830186611df3565b61270d60c0830185611f14565b61271a60e0830184611df3565b9998505050505050505050565b5f60608201905061273a5f830186611f14565b6127476020830185611f14565b6127546040830184611df3565b94935050505056fea2646970667358221220e2db6f5200c26449e55fc250d09e2cefeb5c8c9df411722463c320c00ee2d7d964736f6c63430008140033