Contract 0x9186bf4f5f4b3192fbae5467758156ec479b2b50 3

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x83c849119a8e9acc3d7438d5102c8e7eb017c29ae64a45d9a31b3001912b6ae0Process Route735669592024-06-25 17:30:1713 mins ago0xd0f9d044941bb063299b1f3e3267f35e9419a902 IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000262 0.01
0x50e9f2f82a8cd4de16e2cac081da4769c757c905fb31f1770ec42a474a99eb8fProcess Route735669472024-06-25 17:29:4414 mins ago0xd0f9d044941bb063299b1f3e3267f35e9419a902 IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500.000483666057636 ETH0.00000188 0.01
0xe7aa47b8f900c928e93f66e14bbb5cb5d4e2242e471a77d9c94eae7bad100553Process Route735669032024-06-25 17:27:5316 mins ago0x8625ead100a89f9ecf79ac79656bd995760aad65 IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.0000018 0.01
0x6a128196882aa8c4c5822f2dbf498f7c88ec88c23e81faa81bf17e7bce0d1a49Process Route735668012024-06-25 17:24:1519 mins ago0x635344a86fba3a8d767444cedce9a0e668bf19ba IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000236 0.01
0xd1f6f7938383cdf1c115e424152b85dde05a17f1ba7ef1b27f73a8613878b713Process Route735667882024-06-25 17:23:2920 mins ago0x635344a86fba3a8d767444cedce9a0e668bf19ba IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500.000394175017176 ETH0.00000182 0.01
0x7beb874acdffa2a9e4e6e9ec52c9875529fdf75f2fc25d0d1090aec6d061cc55Process Route735665462024-06-25 17:14:5329 mins ago0x0452c94fa49731e8042987b65e52452079f47aac IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000181 0.01
0xff4c447d57c858e7b2c3e28ee08a3bfc22f492ab83b5930656dd899fadff82cbProcess Route735665242024-06-25 17:14:2329 mins ago0x7730a834d985e6d8f41b3af28c8780c4490c35a1 IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000185 0.01
0xb54c7b4f4fb0b2f4e3c9c030b9e2997cc485c0b96809649fd5a311de658b10ffProcess Route735665032024-06-25 17:13:5430 mins ago0x0452c94fa49731e8042987b65e52452079f47aac IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000243 0.01
0xf8689f2283112954ac24860830a7d88a0faf0761c5db706a26c6bc3c2439dea2Process Route735664822024-06-25 17:13:0930 mins ago0x7730a834d985e6d8f41b3af28c8780c4490c35a1 IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000292 0.01
0xaf21dec301ac9a27fb3a071d907b3f2b28700d22bcb57f8b6470ac5d0ae8c2b5Process Route735660902024-06-25 17:01:5641 mins ago0x7860150e3d33ca205ff04126a259ce8078965156 IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000185 0.01
0xaac3efc599b3985c7f936004ad89a05f71a6ccdeaf9f7f7a31b6648561f1acdeProcess Route735660632024-06-25 17:01:0942 mins ago0x7860150e3d33ca205ff04126a259ce8078965156 IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000292 0.01
0xc71dbe06c53a27aa50fa9512c8dcb4b6c4c4090e485876c25d6c47ec85ec55e6Process Route735660452024-06-25 17:00:4243 mins ago0x5f0853385eabb4417bb3eabeaccefc3c01485631 IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500.00025 ETH0.00000257 0.01
0x7a0a137b914b2ed1af6265a09111be5f3326c8643bdc8f4c2a106f747b4c96bbProcess Route735654172024-06-25 16:39:361 hr 4 mins ago0x0a11e6a7e0c636208b80737257a5b3b2521ba095 IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000252 0.01
0xb48d83ba88ac2813ef64d0fadd915067f6db448337761c93fcde3d1b5e1608f8Process Route735653992024-06-25 16:39:001 hr 4 mins ago0x0a11e6a7e0c636208b80737257a5b3b2521ba095 IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000314 0.01
0xf7835783d6bd0e74eea4f749150ddbecf602471219e0b0112835892b7ec98fdbProcess Route735653882024-06-25 16:38:231 hr 5 mins ago0x0a11e6a7e0c636208b80737257a5b3b2521ba095 IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000242 0.01
0x90c0b7063cd69064c1fc5d45a8811757c59a9dc3b61c5dba0789b24f7b95772cProcess Route735651372024-06-25 16:26:461 hr 17 mins ago0xe2833da83a69e00bdf3e9a8ba30e7b7635c109b3 IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000181 0.01
0xe1a759f47652fcc7b594e29e4ce6e851e07a845866f0fdca89cf0396283d6dffProcess Route735648552024-06-25 16:14:191 hr 29 mins ago0x46bccc341bda0cbd56baba02b4182fd16b9bb884 IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000264 0.01
0xad7486ee603e102481114c97ac14802c67221c305489c5ede61a632bc8f6ee30Process Route735646552024-06-25 16:05:071 hr 38 mins ago0x006bae827307b390861ce7ede9a667bb061d5d19 IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000099 0.01
0xf0529500627053800e00e4f80a82c1a9fe0f41e79cfd43bda1328f63bcef4cb4Process Route735645262024-06-25 16:00:121 hr 43 mins ago0x9d4063b4c4909341ff689a3b2401f59180e561df IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500.003 ETH0.00000197 0.01
0xefb93c833cd72528ac27ff420d870d8e9aeb6a3969e808f4ac9295327e3d961aProcess Route735627372024-06-25 15:09:462 hrs 34 mins ago0x99e56f086e5cb53d2e5e80f514fab4c81c7752a8 IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000184 0.01
0x4d92c9a314947c8ae99328c8b3ae6b44086e72428f71f060d21dad921a37a92aProcess Route735621942024-06-25 14:53:372 hrs 50 mins ago0x0a669f40b767ecc37ffb3aae80e2d3d643b5c7ac IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000184 0.01
0x71250d66ec97b48fac26db312b998eb058086d363345c345401285fc9956de5fProcess Route735621532024-06-25 14:52:252 hrs 51 mins ago0x0a669f40b767ecc37ffb3aae80e2d3d643b5c7ac IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000178 0.01
0x3e129a030949c81a664832924506c1bca80c9594f0bba29b16b147b0ac5590a4Process Route735613812024-06-25 14:31:133 hrs 12 mins ago0xe9c1a4799a0fe263c8e139f9627bc7236666d7a2 IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000095 0.01
0xd9ff9b593c3f3cb932510bfa0321abc68f5b4aa972d718489a9736f386185099Process Route735611052024-06-25 14:25:173 hrs 18 mins ago0xb482cc1caa459e42df3a5327a84db6843935fb8c IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.00000184 0.01
0xe747138cfb9f92e59fa7ba6206fc16832dec2bd198503e7bc8b45a03f22e0514Process Route735610772024-06-25 14:24:483 hrs 19 mins ago0xb482cc1caa459e42df3a5327a84db6843935fb8c IN  0x9186bf4f5f4b3192fbae5467758156ec479b2b500 ETH0.0000018 0.01
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x83c849119a8e9acc3d7438d5102c8e7eb017c29ae64a45d9a31b3001912b6ae0735669592024-06-25 17:30:1713 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b500xd52c556ecbd260cf3bf5b78f3f94d6878939adf70.000004796387904165 ETH
0x83c849119a8e9acc3d7438d5102c8e7eb017c29ae64a45d9a31b3001912b6ae0735669592024-06-25 17:30:1713 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b500xd0f9d044941bb063299b1f3e3267f35e9419a9020.000474842402512361 ETH
0x83c849119a8e9acc3d7438d5102c8e7eb017c29ae64a45d9a31b3001912b6ae0735669592024-06-25 17:30:1713 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b50 0x9186bf4f5f4b3192fbae5467758156ec479b2b500.000479638790416526 ETH
0x83c849119a8e9acc3d7438d5102c8e7eb017c29ae64a45d9a31b3001912b6ae0735669592024-06-25 17:30:1713 mins ago Wrapped Ether: WETH Token 0x9186bf4f5f4b3192fbae5467758156ec479b2b500.000479638790416526 ETH
0x50e9f2f82a8cd4de16e2cac081da4769c757c905fb31f1770ec42a474a99eb8f735669472024-06-25 17:29:4414 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b50 Wrapped Ether: WETH Token0.000483666057636469 ETH
0xe7aa47b8f900c928e93f66e14bbb5cb5d4e2242e471a77d9c94eae7bad100553735669032024-06-25 17:27:5316 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b500xd52c556ecbd260cf3bf5b78f3f94d6878939adf70.000002405337967643 ETH
0xe7aa47b8f900c928e93f66e14bbb5cb5d4e2242e471a77d9c94eae7bad100553735669032024-06-25 17:27:5316 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b500x8625ead100a89f9ecf79ac79656bd995760aad650.000238128458796726 ETH
0xe7aa47b8f900c928e93f66e14bbb5cb5d4e2242e471a77d9c94eae7bad100553735669032024-06-25 17:27:5316 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b50 0x9186bf4f5f4b3192fbae5467758156ec479b2b500.000240533796764369 ETH
0xe7aa47b8f900c928e93f66e14bbb5cb5d4e2242e471a77d9c94eae7bad100553735669032024-06-25 17:27:5316 mins ago Wrapped Ether: WETH Token 0x9186bf4f5f4b3192fbae5467758156ec479b2b500.000240533796764369 ETH
0x6a128196882aa8c4c5822f2dbf498f7c88ec88c23e81faa81bf17e7bce0d1a49735668012024-06-25 17:24:1519 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b500xd52c556ecbd260cf3bf5b78f3f94d6878939adf70.000003927688191626 ETH
0x6a128196882aa8c4c5822f2dbf498f7c88ec88c23e81faa81bf17e7bce0d1a49735668012024-06-25 17:24:1519 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b500x635344a86fba3a8d767444cedce9a0e668bf19ba0.000388841130970976 ETH
0x6a128196882aa8c4c5822f2dbf498f7c88ec88c23e81faa81bf17e7bce0d1a49735668012024-06-25 17:24:1519 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b50 0x9186bf4f5f4b3192fbae5467758156ec479b2b500.000392768819162602 ETH
0x6a128196882aa8c4c5822f2dbf498f7c88ec88c23e81faa81bf17e7bce0d1a49735668012024-06-25 17:24:1519 mins ago Wrapped Ether: WETH Token 0x9186bf4f5f4b3192fbae5467758156ec479b2b500.000392768819162602 ETH
0xd1f6f7938383cdf1c115e424152b85dde05a17f1ba7ef1b27f73a8613878b713735667882024-06-25 17:23:2920 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b50 Wrapped Ether: WETH Token0.000394175017176808 ETH
0x7beb874acdffa2a9e4e6e9ec52c9875529fdf75f2fc25d0d1090aec6d061cc55735665462024-06-25 17:14:5329 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b500xd52c556ecbd260cf3bf5b78f3f94d6878939adf70.000001327619036378 ETH
0x7beb874acdffa2a9e4e6e9ec52c9875529fdf75f2fc25d0d1090aec6d061cc55735665462024-06-25 17:14:5329 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b500x0452c94fa49731e8042987b65e52452079f47aac0.000131434284601506 ETH
0x7beb874acdffa2a9e4e6e9ec52c9875529fdf75f2fc25d0d1090aec6d061cc55735665462024-06-25 17:14:5329 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b50 0x9186bf4f5f4b3192fbae5467758156ec479b2b500.000132761903637884 ETH
0x7beb874acdffa2a9e4e6e9ec52c9875529fdf75f2fc25d0d1090aec6d061cc55735665462024-06-25 17:14:5329 mins ago Wrapped Ether: WETH Token 0x9186bf4f5f4b3192fbae5467758156ec479b2b500.000132761903637884 ETH
0xff4c447d57c858e7b2c3e28ee08a3bfc22f492ab83b5930656dd899fadff82cb735665242024-06-25 17:14:2329 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b500xd52c556ecbd260cf3bf5b78f3f94d6878939adf70.000003317927655859 ETH
0xff4c447d57c858e7b2c3e28ee08a3bfc22f492ab83b5930656dd899fadff82cb735665242024-06-25 17:14:2329 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b500x7730a834d985e6d8f41b3af28c8780c4490c35a10.000328474837930114 ETH
0xff4c447d57c858e7b2c3e28ee08a3bfc22f492ab83b5930656dd899fadff82cb735665242024-06-25 17:14:2329 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b50 0x9186bf4f5f4b3192fbae5467758156ec479b2b500.000331792765585973 ETH
0xff4c447d57c858e7b2c3e28ee08a3bfc22f492ab83b5930656dd899fadff82cb735665242024-06-25 17:14:2329 mins ago Wrapped Ether: WETH Token 0x9186bf4f5f4b3192fbae5467758156ec479b2b500.000331792765585973 ETH
0xaf21dec301ac9a27fb3a071d907b3f2b28700d22bcb57f8b6470ac5d0ae8c2b5735660902024-06-25 17:01:5641 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b500xd52c556ecbd260cf3bf5b78f3f94d6878939adf70.000002121784602393 ETH
0xaf21dec301ac9a27fb3a071d907b3f2b28700d22bcb57f8b6470ac5d0ae8c2b5735660902024-06-25 17:01:5641 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b500x7860150e3d33ca205ff04126a259ce80789651560.000210056675636998 ETH
0xaf21dec301ac9a27fb3a071d907b3f2b28700d22bcb57f8b6470ac5d0ae8c2b5735660902024-06-25 17:01:5641 mins ago 0x9186bf4f5f4b3192fbae5467758156ec479b2b50 0x9186bf4f5f4b3192fbae5467758156ec479b2b500.000212178460239391 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RouteProcessor

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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);
    }
}

File 2 of 12 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 3 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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);
}

File 4 of 12 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/IERC20Permit.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;

    /**
     * @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.encodeWithSelector(token.transfer.selector, 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.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));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    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");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to
     * 0 before setting it to a non-zero value.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

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

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }

    /**
     * @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 silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // 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 cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

File 5 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 6 of 12 : 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;
    }
}

File 7 of 12 : InputStream.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity 0.8.19;

library InputStream {
    function createStream(
        bytes memory data
    ) internal pure returns (uint256 stream) {
        assembly {
            stream := mload(0x40)
            mstore(0x40, add(stream, 64))
            mstore(stream, data)
            let length := mload(data)
            mstore(add(stream, 32), add(data, length))
        }
    }

    function isNotEmpty(uint256 stream) internal pure returns (bool) {
        uint256 pos;
        uint256 finish;
        assembly {
            pos := mload(stream)
            finish := mload(add(stream, 32))
        }
        return pos < finish;
    }

    function readUint8(uint256 stream) internal pure returns (uint8 res) {
        assembly {
            let pos := mload(stream)
            pos := add(pos, 1)
            res := mload(pos)
            mstore(stream, pos)
        }
    }

    function readUint16(uint256 stream) internal pure returns (uint16 res) {
        assembly {
            let pos := mload(stream)
            pos := add(pos, 2)
            res := mload(pos)
            mstore(stream, pos)
        }
    }

    function readUint32(uint256 stream) internal pure returns (uint32 res) {
        assembly {
            let pos := mload(stream)
            pos := add(pos, 4)
            res := mload(pos)
            mstore(stream, pos)
        }
    }

    function readUint(uint256 stream) internal pure returns (uint256 res) {
        assembly {
            let pos := mload(stream)
            pos := add(pos, 32)
            res := mload(pos)
            mstore(stream, pos)
        }
    }

    function readBytes32(uint256 stream) internal pure returns (bytes32 res) {
        assembly {
            let pos := mload(stream)
            pos := add(pos, 32)
            res := mload(pos)
            mstore(stream, pos)
        }
    }

    function readAddress(uint256 stream) internal pure returns (address res) {
        assembly {
            let pos := mload(stream)
            pos := add(pos, 20)
            res := mload(pos)
            mstore(stream, pos)
        }
    }

    function readBytes(
        uint256 stream
    ) internal pure returns (bytes memory res) {
        assembly {
            let pos := mload(stream)
            res := add(pos, 32)
            let length := mload(res)
            mstore(stream, add(res, length))
        }
    }
}

File 8 of 12 : IPool.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.5.0;
pragma experimental ABIEncoderV2;

/// @notice Trident pool interface.
interface IPool {
    /// @notice Executes a swap from one token to another.
    /// @dev The input tokens must've already been sent to the pool.
    /// @param data ABI-encoded params that the pool requires.
    /// @return finalAmountOut The amount of output tokens that were sent to the user.
    function swap(
        bytes calldata data
    ) external returns (uint256 finalAmountOut);

    /// @notice Executes a swap from one token to another with a callback.
    /// @dev This function allows borrowing the output tokens and sending the input tokens in the callback.
    /// @param data ABI-encoded params that the pool requires.
    /// @return finalAmountOut The amount of output tokens that were sent to the user.
    function flashSwap(
        bytes calldata data
    ) external returns (uint256 finalAmountOut);

    /// @notice Mints liquidity tokens.
    /// @param data ABI-encoded params that the pool requires.
    /// @return liquidity The amount of liquidity tokens that were minted for the user.
    function mint(bytes calldata data) external returns (uint256 liquidity);

    /// @notice Burns liquidity tokens.
    /// @dev The input LP tokens must've already been sent to the pool.
    /// @param data ABI-encoded params that the pool requires.
    /// @return withdrawnAmounts The amount of various output tokens that were sent to the user.
    function burn(
        bytes calldata data
    ) external returns (TokenAmount[] memory withdrawnAmounts);

    /// @notice Burns liquidity tokens for a single output token.
    /// @dev The input LP tokens must've already been sent to the pool.
    /// @param data ABI-encoded params that the pool requires.
    /// @return amountOut The amount of output tokens that were sent to the user.
    function burnSingle(
        bytes calldata data
    ) external returns (uint256 amountOut);

    /// @return A unique identifier for the pool type.
    function poolIdentifier() external pure returns (bytes32);

    /// @return An array of tokens supported by the pool.
    function getAssets() external view returns (address[] memory);

    /// @notice Simulates a trade and returns the expected output.
    /// @dev The pool does not need to include a trade simulator directly in itself - it can use a library.
    /// @param data ABI-encoded params that the pool requires.
    /// @return finalAmountOut The amount of output tokens that will be sent to the user if the trade is executed.
    function getAmountOut(
        bytes calldata data
    ) external view returns (uint256 finalAmountOut);

    /// @notice Simulates a trade and returns the expected output.
    /// @dev The pool does not need to include a trade simulator directly in itself - it can use a library.
    /// @param data ABI-encoded params that the pool requires.
    /// @return finalAmountIn The amount of input tokens that are required from the user if the trade is executed.
    function getAmountIn(
        bytes calldata data
    ) external view returns (uint256 finalAmountIn);

    /// @dev This event must be emitted on all swaps.
    event Swap(
        address indexed recipient,
        address indexed tokenIn,
        address indexed tokenOut,
        uint256 amountIn,
        uint256 amountOut
    );

    /// @dev This struct frames output tokens for burns.
    struct TokenAmount {
        address token;
        uint256 amount;
    }
}

File 9 of 12 : IUniswapV2Pair.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

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

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

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint);

    function balanceOf(address owner) external view returns (uint);

    function allowance(
        address owner,
        address spender
    ) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);

    function transfer(address to, uint value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

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

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

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

    function price0CumulativeLast() external view returns (uint);

    function price1CumulativeLast() external view returns (uint);

    function kLast() external view returns (uint);

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

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

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

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

File 10 of 12 : IUniswapV3Pool.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity 0.8.19;

interface IUniswapV3Pool {
    function token0() external returns (address);

    function token1() external returns (address);

    function swap(
        address recipient,
        bool zeroForOne,
        int256 amountSpecified,
        uint160 sqrtPriceLimitX96,
        bytes calldata data
    ) external returns (int256 amount0, int256 amount1);
}

File 11 of 12 : IWETH.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity 0.8.19;

interface IWETH {
    function deposit() external payable;

    function transfer(address to, uint256 value) external returns (bool);

    function withdraw(uint256) external;
}

File 12 of 12 : RouteProcessor.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity 0.8.19;

import "./interfaces/IUniswapV2Pair.sol";
import "./interfaces/IUniswapV3Pool.sol";
import "./interfaces/IPool.sol";
import "./interfaces/IWETH.sol";
import "./InputStream.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

address constant NATIVE_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
address constant IMPOSSIBLE_POOL_ADDRESS = 0x0000000000000000000000000000000000000001;

/// @dev The minimum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MIN_TICK)
uint160 constant MIN_SQRT_RATIO = 4295128739;
/// @dev The maximum value that can be returned from #getSqrtRatioAtTick. Equivalent to getSqrtRatioAtTick(MAX_TICK)
uint160 constant MAX_SQRT_RATIO = 1461446703485210103287273052203988822378723970342;

/// @title A route processor for the Sushi Aggregator
/// @author Ilya Lyalin
/// version 2.1
contract RouteProcessor is Ownable {
    using SafeERC20 for IERC20;
    using SafeERC20 for IERC20Permit;
    using InputStream for uint256;

    address public feeWallet;

    event Route(
        address indexed from,
        address to,
        address indexed tokenIn,
        address indexed tokenOut,
        uint amountIn,
        uint amountOutMin,
        uint amountOut
    );

    mapping(address => bool) priviledgedUsers;
    address private lastCalledPool;

    uint8 private unlocked = 1;
    uint8 private paused = 1;
    modifier lock() {
        require(unlocked == 1, "RouteProcessor is locked");
        require(paused == 1, "RouteProcessor is paused");
        unlocked = 2;
        _;
        unlocked = 1;
    }

    modifier onlyOwnerOrPriviledgedUser() {
        require(
            msg.sender == owner() || priviledgedUsers[msg.sender] == true,
            "RP: caller is not the owner or a priviledged user"
        );
        _;
    }

    constructor(address _feeWallet, address[] memory priviledgedUserList) {
        feeWallet = _feeWallet;
        lastCalledPool = IMPOSSIBLE_POOL_ADDRESS;

        for (uint i = 0; i < priviledgedUserList.length; i++) {
            priviledgedUsers[priviledgedUserList[i]] = true;
        }
    }

    function setFeeWallet(address wallet) external onlyOwnerOrPriviledgedUser {
        feeWallet = wallet;
    }

    function setPriviledge(address user, bool priviledge) external onlyOwner {
        priviledgedUsers[user] = priviledge;
    }

    function pause() external onlyOwnerOrPriviledgedUser {
        paused = 2;
    }

    function resume() external onlyOwnerOrPriviledgedUser {
        paused = 1;
    }

    /// @notice For native unwrapping
    receive() external payable {}

    /// @notice Processes the route generated off-chain. Has a lock
    /// @param tokenIn Address of the input token
    /// @param amountIn Amount of the input token
    /// @param tokenOut Address of the output token
    /// @param amountOutMin Minimum amount of the output token
    /// @return amountOut Actual amount of the output token
    function processRoute(
        address tokenIn,
        uint256 amountIn,
        address tokenOut,
        uint256 amountOutMin,
        uint256 estimatedFee,
        address to,
        bytes memory route
    ) external payable lock returns (uint256 amountOut) {
        amountOut = processRouteInternal(
            tokenIn,
            amountIn,
            tokenOut,
            amountOutMin,
            estimatedFee,
            to,
            route
        );

        emit Route(
            msg.sender,
            to,
            tokenIn,
            tokenOut,
            amountIn,
            amountOutMin,
            amountOut
        );
    }

    /// @notice Transfers some value to <transferValueTo> and then processes the route
    /// @param transferValueTo Address where the value should be transferred
    /// @param amountValueTransfer How much value to transfer
    /// @param tokenIn Address of the input token
    /// @param amountIn Amount of the input token
    /// @param tokenOut Address of the output token
    /// @param amountOutMin Minimum amount of the output token
    /// @return amountOut Actual amount of the output token
    function transferValueAndprocessRoute(
        address payable transferValueTo,
        uint256 amountValueTransfer,
        address tokenIn,
        uint256 amountIn,
        address tokenOut,
        uint256 amountOutMin,
        uint256 estimatedFee,
        address to,
        bytes memory route
    ) external payable lock returns (uint256 amountOut) {
        (bool success, bytes memory returnBytes) = transferValueTo.call{
            value: amountValueTransfer
        }("");
        require(success, string(abi.encodePacked(returnBytes)));
        amountOut = processRouteInternal(
            tokenIn,
            amountIn,
            tokenOut,
            amountOutMin,
            estimatedFee,
            to,
            route
        );

        emit Route(
            msg.sender,
            to,
            tokenIn,
            tokenOut,
            amountIn,
            amountOutMin,
            amountOut
        );
    }

    /// @notice Processes the route generated off-chain
    /// @param tokenIn Address of the input token
    /// @param amountIn Amount of the input token
    /// @param tokenOut Address of the output token
    /// @param amountOutMin Minimum amount of the output token
    /// @return amountOut Actual amount of the output token
    function processRouteInternal(
        address tokenIn,
        uint256 amountIn,
        address tokenOut,
        uint256 amountOutMin,
        uint256 estimatedFee,
        address to,
        bytes memory route
    ) private returns (uint256 amountOut) {
        uint256 balanceInInitial = tokenIn == NATIVE_ADDRESS
            ? address(this).balance
            : IERC20(tokenIn).balanceOf(msg.sender);
        uint256 balanceOutInitial = tokenOut == NATIVE_ADDRESS
            ? address(this).balance
            : IERC20(tokenOut).balanceOf(address(this));

        uint256 stream = InputStream.createStream(route);
        while (stream.isNotEmpty()) {
            uint8 commandCode = stream.readUint8();
            if (commandCode == 1) processMyERC20(stream);
            else if (commandCode == 2) processUserERC20(stream, amountIn);
            else if (commandCode == 3) processNative(stream);
            else if (commandCode == 4) processOnePool(stream);
            else if (commandCode == 5) applyPermit(tokenIn, stream);
            else revert("RouteProcessor: Unknown command code");
        }

        uint256 balanceInFinal = tokenIn == NATIVE_ADDRESS
            ? address(this).balance
            : IERC20(tokenIn).balanceOf(msg.sender);
        require(
            balanceInFinal + amountIn >= balanceInInitial,
            "RouteProcessor: Minimal imput balance violation"
        );

        uint256 balanceOutFinal = tokenOut == NATIVE_ADDRESS
            ? address(address(this)).balance
            : IERC20(tokenOut).balanceOf(address(this));

        require(
            balanceOutFinal >= balanceOutInitial + amountOutMin,
            "RouteProcessor: Minimal ouput balance violation"
        );

        amountOut = balanceOutFinal - balanceOutInitial;

        _safeTransfer(tokenOut, to, amountOut - estimatedFee);
        if (estimatedFee > 0) {
            _safeTransfer(tokenOut, feeWallet, estimatedFee);
        }
    }

    function applyPermit(address tokenIn, uint256 stream) private {
        //address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s)
        uint256 value = stream.readUint();
        uint256 deadline = stream.readUint();
        uint8 v = stream.readUint8();
        bytes32 r = stream.readBytes32();
        bytes32 s = stream.readBytes32();
        IERC20Permit(tokenIn).safePermit(
            msg.sender,
            address(this),
            value,
            deadline,
            v,
            r,
            s
        );
    }

    /// @notice Processes native coin: call swap for all pools that swap from native coin
    /// @param stream Streamed process program
    function processNative(uint256 stream) private {
        uint256 amountTotal = address(this).balance;
        distributeAndSwap(stream, address(this), NATIVE_ADDRESS, amountTotal);
    }

    /// @notice Processes ERC20 token from this contract balance:
    /// @notice Call swap for all pools that swap from this token
    /// @param stream Streamed process program
    function processMyERC20(uint256 stream) private {
        address token = stream.readAddress();
        uint256 amountTotal = IERC20(token).balanceOf(address(this));
        unchecked {
            if (amountTotal > 0) amountTotal -= 1; // slot undrain protection
        }
        distributeAndSwap(stream, address(this), token, amountTotal);
    }

    /// @notice Processes ERC20 token from msg.sender balance:
    /// @notice Call swap for all pools that swap from this token
    /// @param stream Streamed process program
    /// @param amountTotal Amount of tokens to take from msg.sender
    function processUserERC20(uint256 stream, uint256 amountTotal) private {
        address token = stream.readAddress();
        distributeAndSwap(stream, msg.sender, token, amountTotal);
    }

    /// @notice Distributes amountTotal to several pools according to their shares and calls swap for each pool
    /// @param stream Streamed process program
    /// @param from Where to take liquidity for swap
    /// @param tokenIn Input token
    /// @param amountTotal Total amount of tokenIn for swaps
    function distributeAndSwap(
        uint256 stream,
        address from,
        address tokenIn,
        uint256 amountTotal
    ) private {
        uint8 num = stream.readUint8();
        unchecked {
            for (uint256 i = 0; i < num; ++i) {
                uint16 share = stream.readUint16();
                uint256 amount = (amountTotal * share) / 65535;
                amountTotal -= amount;
                swap(stream, from, tokenIn, amount);
            }
        }
    }

    /// @notice Processes ERC20 token for cases when the token has only one output pool
    /// @notice In this case liquidity is already at pool balance. This is an optimization
    /// @notice Call swap for all pools that swap from this token
    /// @param stream Streamed process program
    function processOnePool(uint256 stream) private {
        address token = stream.readAddress();
        swap(stream, address(this), token, 0);
    }

    /// @notice Makes swap
    /// @param stream Streamed process program
    /// @param from Where to take liquidity for swap
    /// @param tokenIn Input token
    /// @param amountIn Amount of tokenIn to take for swap
    function swap(
        uint256 stream,
        address from,
        address tokenIn,
        uint256 amountIn
    ) private {
        uint8 poolType = stream.readUint8();
        if (poolType == 0) swapUniV2(stream, from, tokenIn, amountIn);
        else if (poolType == 1) swapUniV3(stream, from, tokenIn, amountIn);
        else if (poolType == 2) wrapNative(stream, from, tokenIn, amountIn);
        else revert("RouteProcessor: Unknown pool type");
    }

    /// @notice Wraps/unwraps native token
    /// @param stream [direction & fake, recipient, wrapToken?]
    /// @param from Where to take liquidity for swap
    /// @param tokenIn Input token
    /// @param amountIn Amount of tokenIn to take for swap
    function wrapNative(
        uint256 stream,
        address from,
        address tokenIn,
        uint256 amountIn
    ) private {
        uint8 directionAndFake = stream.readUint8();
        address to = stream.readAddress();

        if (directionAndFake & 1 == 1) {
            // wrap native
            address wrapToken = stream.readAddress();
            if (directionAndFake & 2 == 0)
                IWETH(wrapToken).deposit{value: amountIn}();
            if (to != address(this))
                IERC20(wrapToken).safeTransfer(to, amountIn);
        } else {
            // unwrap native
            if (directionAndFake & 2 == 0) {
                if (from != address(this))
                    IERC20(tokenIn).safeTransferFrom(
                        from,
                        address(this),
                        amountIn
                    );
                IWETH(tokenIn).withdraw(amountIn);
            }
            payable(to).transfer(address(this).balance);
        }
    }

    /// @notice UniswapV2 pool swap
    /// @param stream [pool, direction, recipient]
    /// @param from Where to take liquidity for swap
    /// @param tokenIn Input token
    /// @param amountIn Amount of tokenIn to take for swap
    function swapUniV2(
        uint256 stream,
        address from,
        address tokenIn,
        uint256 amountIn
    ) private {
        address pool = stream.readAddress();
        uint8 direction = stream.readUint8();
        address to = stream.readAddress();

        (uint256 r0, uint256 r1, ) = IUniswapV2Pair(pool).getReserves();
        require(r0 > 0 && r1 > 0, "Wrong pool reserves");
        (uint256 reserveIn, uint256 reserveOut) = direction == 1
            ? (r0, r1)
            : (r1, r0);

        if (amountIn != 0) {
            if (from == address(this))
                IERC20(tokenIn).safeTransfer(pool, amountIn);
            else IERC20(tokenIn).safeTransferFrom(from, pool, amountIn);
        } else amountIn = IERC20(tokenIn).balanceOf(pool) - reserveIn; // tokens already were transferred

        uint256 amountInWithFee = amountIn * 997;
        uint256 amountOut = (amountInWithFee * reserveOut) /
            (reserveIn * 1000 + amountInWithFee);
        (uint256 amount0Out, uint256 amount1Out) = direction == 1
            ? (uint256(0), amountOut)
            : (amountOut, uint256(0));
        IUniswapV2Pair(pool).swap(amount0Out, amount1Out, to, new bytes(0));
    }

    /// @notice UniswapV3 pool swap
    /// @param stream [pool, direction, recipient]
    /// @param from Where to take liquidity for swap
    /// @param tokenIn Input token
    /// @param amountIn Amount of tokenIn to take for swap
    function swapUniV3(
        uint256 stream,
        address from,
        address tokenIn,
        uint256 amountIn
    ) private {
        address pool = stream.readAddress();
        bool zeroForOne = stream.readUint8() > 0;
        address recipient = stream.readAddress();

        if (from != address(this)) {
            require(from == msg.sender, "swapUniV3: unexpected from address");
            IERC20(tokenIn).safeTransferFrom(
                msg.sender,
                address(this),
                uint256(amountIn)
            );
        }

        lastCalledPool = pool;
        IUniswapV3Pool(pool).swap(
            recipient,
            zeroForOne,
            int256(amountIn),
            zeroForOne ? MIN_SQRT_RATIO + 1 : MAX_SQRT_RATIO - 1,
            abi.encode(tokenIn)
        );
        require(
            lastCalledPool == IMPOSSIBLE_POOL_ADDRESS,
            "RouteProcessor.swapUniV3: unexpected"
        ); // Just to be sure
    }

    /// @notice Called to `msg.sender` after executing a swap via IUniswapV3Pool#swap.
    /// @dev In the implementation you must pay the pool tokens owed for the swap.
    /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.
    /// amount0Delta and amount1Delta can both be 0 if no tokens were swapped.
    /// @param amount0Delta The amount of token0 that was sent (negative) or must be received (positive) by the pool by
    /// the end of the swap. If positive, the callback must send that amount of token0 to the pool.
    /// @param amount1Delta The amount of token1 that was sent (negative) or must be received (positive) by the pool by
    /// the end of the swap. If positive, the callback must send that amount of token1 to the pool.
    /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#swap call
    function uniswapV3SwapCallback(
        int256 amount0Delta,
        int256 amount1Delta,
        bytes calldata data
    ) external {
        require(
            msg.sender == lastCalledPool,
            "RouteProcessor.uniswapV3SwapCallback: call from unknown source"
        );
        lastCalledPool = IMPOSSIBLE_POOL_ADDRESS;
        address tokenIn = abi.decode(data, (address));
        int256 amount = amount0Delta > 0 ? amount0Delta : amount1Delta;
        require(
            amount > 0,
            "RouteProcessor.uniswapV3SwapCallback: not positive amount"
        );

        // Normally, RouteProcessor shouldn't have any liquidity on board
        // If some liquidity exists, it is sweept by the next user that makes swap through these tokens
        IERC20(tokenIn).safeTransfer(msg.sender, uint256(amount));
    }

    function _safeTransfer(address token, address to, uint256 amount) internal {
        if (token == NATIVE_ADDRESS) {
            (bool success, ) = address(to).call{value: amount}("");
            require(success, "Transfer Helper: Failed to transfer ETH");
        } else {
            IERC20(token).safeTransfer(to, amount);
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_feeWallet","type":"address"},{"internalType":"address[]","name":"priviledgedUserList","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"address","name":"tokenIn","type":"address"},{"indexed":true,"internalType":"address","name":"tokenOut","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountOut","type":"uint256"}],"name":"Route","type":"event"},{"inputs":[],"name":"feeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"uint256","name":"estimatedFee","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes","name":"route","type":"bytes"}],"name":"processRoute","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resume","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"setFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"priviledge","type":"bool"}],"name":"setPriviledge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"transferValueTo","type":"address"},{"internalType":"uint256","name":"amountValueTransfer","type":"uint256"},{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"uint256","name":"estimatedFee","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes","name":"route","type":"bytes"}],"name":"transferValueAndprocessRoute","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"int256","name":"amount0Delta","type":"int256"},{"internalType":"int256","name":"amount1Delta","type":"int256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"uniswapV3SwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526001600360146101000a81548160ff021916908360ff1602179055506001600360156101000a81548160ff021916908360ff1602179055503480156200004957600080fd5b50604051620041a5380380620041a583398181016040528101906200006f91906200046d565b6200008f62000083620001b360201b60201c565b620001bb60201b60201c565b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060005b8151811015620001aa576001600260008484815181106200013b576200013a620004d3565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080620001a1906200053b565b91505062000115565b50505062000588565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002c08262000293565b9050919050565b620002d281620002b3565b8114620002de57600080fd5b50565b600081519050620002f281620002c7565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200034882620002fd565b810181811067ffffffffffffffff821117156200036a57620003696200030e565b5b80604052505050565b60006200037f6200027f565b90506200038d82826200033d565b919050565b600067ffffffffffffffff821115620003b057620003af6200030e565b5b602082029050602081019050919050565b600080fd5b6000620003dd620003d78462000392565b62000373565b90508083825260208201905060208402830185811115620004035762000402620003c1565b5b835b818110156200043057806200041b8882620002e1565b84526020840193505060208101905062000405565b5050509392505050565b600082601f830112620004525762000451620002f8565b5b815162000464848260208601620003c6565b91505092915050565b6000806040838503121562000487576200048662000289565b5b60006200049785828601620002e1565b925050602083015167ffffffffffffffff811115620004bb57620004ba6200028e565b5b620004c9858286016200043a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b6000620005488262000531565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036200057d576200057c62000502565b5b600182019050919050565b613c0d80620005986000396000f3fe6080604052600436106100a05760003560e01c806390d49b9d1161006457806390d49b9d1461014c5780639a1f340614610175578063eaa6062b1461019e578063f25f4b56146101ce578063f2fde38b146101f9578063fa461e3314610222576100a7565b8063046f7da2146100ac5780636d12c339146100c3578063715018a6146100f35780638456cb591461010a5780638da5cb5b14610121576100a7565b366100a757005b600080fd5b3480156100b857600080fd5b506100c161024b565b005b6100dd60048036038101906100d89190612696565b610339565b6040516100ea9190612763565b60405180910390f35b3480156100ff57600080fd5b506101086104bb565b005b34801561011657600080fd5b5061011f6104cf565b005b34801561012d57600080fd5b506101366105bd565b604051610143919061278d565b60405180910390f35b34801561015857600080fd5b50610173600480360381019061016e91906127a8565b6105e6565b005b34801561018157600080fd5b5061019c6004803603810190610197919061280d565b6106fa565b005b6101b860048036038101906101b3919061288b565b61075d565b6040516101c59190612763565b60405180910390f35b3480156101da57600080fd5b506101e36109b4565b6040516101f0919061278d565b60405180910390f35b34801561020557600080fd5b50610220600480360381019061021b91906127a8565b6109da565b005b34801561022e57600080fd5b5061024960048036038101906102449190612a07565b610a5d565b005b6102536105bd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806102dc575060011515600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b61031b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031290612afe565b60405180910390fd5b6001600360156101000a81548160ff021916908360ff160217905550565b60006001600360149054906101000a900460ff1660ff1614610390576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038790612b6a565b60405180910390fd5b6001600360159054906101000a900460ff1660ff16146103e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103dc90612bd6565b60405180910390fd5b6002600360146101000a81548160ff021916908360ff16021790555061041088888888888888610bcb565b90508573ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f2db5ddd0b42bdbca0d69ea16f234a870a485854ae0d91f16643d6f317d8b8994868b8a8760405161048c9493929190612bf6565b60405180910390a46001600360146101000a81548160ff021916908360ff160217905550979650505050505050565b6104c3611107565b6104cd6000611185565b565b6104d76105bd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610560575060011515600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b61059f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059690612afe565b60405180910390fd5b6002600360156101000a81548160ff021916908360ff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6105ee6105bd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610677575060011515600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b6106b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad90612afe565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610702611107565b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60006001600360149054906101000a900460ff1660ff16146107b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ab90612b6a565b60405180910390fd5b6001600360159054906101000a900460ff1660ff1614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080090612bd6565b60405180910390fd5b6002600360146101000a81548160ff021916908360ff1602179055506000808b73ffffffffffffffffffffffffffffffffffffffff168b60405161084c90612c6c565b60006040518083038185875af1925050503d8060008114610889576040519150601f19603f3d011682016040523d82523d6000602084013e61088e565b606091505b509150915081816040516020016108a59190612ce7565b604051602081830303815290604052906108f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ec9190612d42565b60405180910390fd5b506109058a8a8a8a8a8a8a610bcb565b92508773ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f2db5ddd0b42bdbca0d69ea16f234a870a485854ae0d91f16643d6f317d8b8994888d8c896040516109819493929190612bf6565b60405180910390a450506001600360146101000a81548160ff021916908360ff1602179055509998505050505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6109e2611107565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4890612dd6565b60405180910390fd5b610a5a81611185565b50565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae490612e68565b60405180910390fd5b6001600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008282810190610b409190612e88565b90506000808613610b515784610b53565b855b905060008113610b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8f90612f27565b60405180910390fd5b610bc333828473ffffffffffffffffffffffffffffffffffffffff166112499092919063ffffffff16565b505050505050565b60008073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee73ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614610c94578873ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610c4e919061278d565b602060405180830381865afa158015610c6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8f9190612f5c565b610c96565b475b9050600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee73ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614610d60578773ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610d1a919061278d565b602060405180830381865afa158015610d37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5b9190612f5c565b610d62565b475b90506000610d6f856112cf565b90505b610d7b816112f0565b15610e51576000610d8b8261130c565b905060018160ff1603610da657610da182611323565b610e4b565b60028160ff1603610dc057610dbb828c6113cf565b610e4a565b60038160ff1603610dd957610dd4826113ed565b610e49565b60048160ff1603610df257610ded82611416565b610e48565b60058160ff1603610e0c57610e078c83611434565b610e47565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e90612ffb565b60405180910390fd5b5b5b5b5b50610d72565b600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee73ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff1614610f19578b73ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610ed3919061278d565b602060405180830381865afa158015610ef0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f149190612f5c565b610f1b565b475b9050838b82610f2a919061304a565b1015610f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f62906130f0565b60405180910390fd5b600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee73ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff1614611033578a73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610fed919061278d565b602060405180830381865afa15801561100a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102e9190612f5c565b61104c565b3073ffffffffffffffffffffffffffffffffffffffff16315b9050898461105a919061304a565b81101561109c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109390613182565b60405180910390fd5b83816110a891906131a2565b95506110c08b898b896110bb91906131a2565b6114b3565b60008911156110f7576110f68b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168b6114b3565b5b5050505050979650505050505050565b61110f6115dd565b73ffffffffffffffffffffffffffffffffffffffff1661112d6105bd565b73ffffffffffffffffffffffffffffffffffffffff1614611183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117a90613222565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6112ca8363a9059cbb60e01b8484604051602401611268929190613242565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506115e5565b505050565b60006040519050604081016040528181528151808301602083015250919050565b6000806000835191506020840151905080821092505050919050565b600081516001810190508051915080835250919050565b600061132e826116ad565b905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161136b919061278d565b602060405180830381865afa158015611388573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ac9190612f5c565b905060008111156113be576001810390505b6113ca833084846116c4565b505050565b60006113da836116ad565b90506113e8833383856116c4565b505050565b6000479050611412823073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee846116c4565b5050565b6000611421826116ad565b9050611430823083600061172f565b5050565b600061143f826117d4565b9050600061144c836117d4565b905060006114598461130c565b90506000611466856117eb565b90506000611473866117eb565b90506114aa333087878787878e73ffffffffffffffffffffffffffffffffffffffff1661180290979695949392919063ffffffff16565b50505050505050565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115ac5760008273ffffffffffffffffffffffffffffffffffffffff168260405161152090612c6c565b60006040518083038185875af1925050503d806000811461155d576040519150601f19603f3d011682016040523d82523d6000602084013e611562565b606091505b50509050806115a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159d906132dd565b60405180910390fd5b506115d8565b6115d782828573ffffffffffffffffffffffffffffffffffffffff166112499092919063ffffffff16565b5b505050565b600033905090565b6000611647826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166119cf9092919063ffffffff16565b90506000815114806116695750808060200190518101906116689190613312565b5b6116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f906133b1565b60405180910390fd5b505050565b600081516014810190508051915080835250919050565b60006116cf8561130c565b905060005b8160ff168110156117275760006116ea876119e7565b9050600061ffff8261ffff16860281611706576117056133d1565b5b049050808503945061171a8888888461172f565b50508060010190506116d4565b505050505050565b600061173a8561130c565b905060008160ff160361175857611753858585856119fe565b6117cd565b60018160ff16036117745761176f85858585611d7f565b6117cc565b60028160ff16036117905761178b85858585612036565b6117cb565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c290613472565b60405180910390fd5b5b5b5050505050565b600081516020810190508051915080835250919050565b600081516020810190508051915080835250919050565b60008873ffffffffffffffffffffffffffffffffffffffff16637ecebe00896040518263ffffffff1660e01b815260040161183d919061278d565b602060405180830381865afa15801561185a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061187e9190612f5c565b90508873ffffffffffffffffffffffffffffffffffffffff1663d505accf898989898989896040518863ffffffff1660e01b81526004016118c597969594939291906134c7565b600060405180830381600087803b1580156118df57600080fd5b505af11580156118f3573d6000803e3d6000fd5b5050505060008973ffffffffffffffffffffffffffffffffffffffff16637ecebe008a6040518263ffffffff1660e01b8152600401611932919061278d565b602060405180830381865afa15801561194f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119739190612f5c565b9050600182611982919061304a565b81146119c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ba906135a8565b60405180910390fd5b50505050505050505050565b60606119de848460008561226a565b90509392505050565b600081516002810190508051915080835250919050565b6000611a09856116ad565b90506000611a168661130c565b90506000611a23876116ad565b90506000808473ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015611a73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a97919061364a565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff169150600082118015611acc5750600081115b611b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b02906136e9565b60405180910390fd5b60008060018660ff1614611b20578284611b23565b83835b9150915060008814611bc5573073ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff1603611b9257611b8d87898b73ffffffffffffffffffffffffffffffffffffffff166112499092919063ffffffff16565b611bc0565b611bbf8a888a8c73ffffffffffffffffffffffffffffffffffffffff16612337909392919063ffffffff16565b5b611c4d565b818973ffffffffffffffffffffffffffffffffffffffff166370a08231896040518263ffffffff1660e01b8152600401611bff919061278d565b602060405180830381865afa158015611c1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c409190612f5c565b611c4a91906131a2565b97505b60006103e589611c5d9190613709565b90506000816103e885611c709190613709565b611c7a919061304a565b8383611c869190613709565b611c90919061374b565b905060008060018a60ff1614611ca857826000611cac565b6000835b915091508a73ffffffffffffffffffffffffffffffffffffffff1663022c0d9f83838c600067ffffffffffffffff811115611cea57611ce961256b565b5b6040519080825280601f01601f191660200182016040528015611d1c5781602001600182028036833780820191505090505b506040518563ffffffff1660e01b8152600401611d3c94939291906137c6565b600060405180830381600087803b158015611d5657600080fd5b505af1158015611d6a573d6000803e3d6000fd5b50505050505050505050505050505050505050565b6000611d8a856116ad565b9050600080611d988761130c565b60ff161190506000611da9876116ad565b90503073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614611e7a573373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614611e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4390613884565b60405180910390fd5b611e793330868873ffffffffffffffffffffffffffffffffffffffff16612337909392919063ffffffff16565b5b82600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff1663128acb0882848786611f0557600173fffd8963efd1fc6a506488495d951d5263988d26611f0091906138a4565b611f18565b60016401000276a3611f1791906138ec565b5b8a604051602001611f29919061278d565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401611f58959493929190613961565b60408051808303816000875af1158015611f76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f9a91906139d0565b5050600173ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461202d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202490613a82565b60405180910390fd5b50505050505050565b60006120418561130c565b9050600061204e866116ad565b9050600180831660ff160361213f576000612068876116ad565b905060006002841660ff16036120da578073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b1580156120c057600080fd5b505af11580156120d4573d6000803e3d6000fd5b50505050505b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146121395761213882858373ffffffffffffffffffffffffffffffffffffffff166112499092919063ffffffff16565b5b50612262565b60006002831660ff160361221a573073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146121ae576121ad8530858773ffffffffffffffffffffffffffffffffffffffff16612337909392919063ffffffff16565b5b8373ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d846040518263ffffffff1660e01b81526004016121e79190612763565b600060405180830381600087803b15801561220157600080fd5b505af1158015612215573d6000803e3d6000fd5b505050505b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015612260573d6000803e3d6000fd5b505b505050505050565b6060824710156122af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a690613b14565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516122d89190612ce7565b60006040518083038185875af1925050503d8060008114612315576040519150601f19603f3d011682016040523d82523d6000602084013e61231a565b606091505b509150915061232b878383876123c0565b92505050949350505050565b6123ba846323b872dd60e01b85858560405160240161235893929190613b34565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506115e5565b50505050565b6060831561242257600083510361241a576123da85612435565b612419576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241090613bb7565b60405180910390fd5b5b82905061242d565b61242c8383612458565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008251111561246b5781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249f9190612d42565b60405180910390fd5b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006124e7826124bc565b9050919050565b6124f7816124dc565b811461250257600080fd5b50565b600081359050612514816124ee565b92915050565b6000819050919050565b61252d8161251a565b811461253857600080fd5b50565b60008135905061254a81612524565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6125a38261255a565b810181811067ffffffffffffffff821117156125c2576125c161256b565b5b80604052505050565b60006125d56124a8565b90506125e1828261259a565b919050565b600067ffffffffffffffff8211156126015761260061256b565b5b61260a8261255a565b9050602081019050919050565b82818337600083830152505050565b6000612639612634846125e6565b6125cb565b90508281526020810184848401111561265557612654612555565b5b612660848285612617565b509392505050565b600082601f83011261267d5761267c612550565b5b813561268d848260208601612626565b91505092915050565b600080600080600080600060e0888a0312156126b5576126b46124b2565b5b60006126c38a828b01612505565b97505060206126d48a828b0161253b565b96505060406126e58a828b01612505565b95505060606126f68a828b0161253b565b94505060806127078a828b0161253b565b93505060a06127188a828b01612505565b92505060c088013567ffffffffffffffff811115612739576127386124b7565b5b6127458a828b01612668565b91505092959891949750929550565b61275d8161251a565b82525050565b60006020820190506127786000830184612754565b92915050565b612787816124dc565b82525050565b60006020820190506127a2600083018461277e565b92915050565b6000602082840312156127be576127bd6124b2565b5b60006127cc84828501612505565b91505092915050565b60008115159050919050565b6127ea816127d5565b81146127f557600080fd5b50565b600081359050612807816127e1565b92915050565b60008060408385031215612824576128236124b2565b5b600061283285828601612505565b9250506020612843858286016127f8565b9150509250929050565b6000612858826124bc565b9050919050565b6128688161284d565b811461287357600080fd5b50565b6000813590506128858161285f565b92915050565b60008060008060008060008060006101208a8c0312156128ae576128ad6124b2565b5b60006128bc8c828d01612876565b99505060206128cd8c828d0161253b565b98505060406128de8c828d01612505565b97505060606128ef8c828d0161253b565b96505060806129008c828d01612505565b95505060a06129118c828d0161253b565b94505060c06129228c828d0161253b565b93505060e06129338c828d01612505565b9250506101008a013567ffffffffffffffff811115612955576129546124b7565b5b6129618c828d01612668565b9150509295985092959850929598565b6000819050919050565b61298481612971565b811461298f57600080fd5b50565b6000813590506129a18161297b565b92915050565b600080fd5b600080fd5b60008083601f8401126129c7576129c6612550565b5b8235905067ffffffffffffffff8111156129e4576129e36129a7565b5b602083019150836001820283011115612a00576129ff6129ac565b5b9250929050565b60008060008060608587031215612a2157612a206124b2565b5b6000612a2f87828801612992565b9450506020612a4087828801612992565b935050604085013567ffffffffffffffff811115612a6157612a606124b7565b5b612a6d878288016129b1565b925092505092959194509250565b600082825260208201905092915050565b7f52503a2063616c6c6572206973206e6f7420746865206f776e6572206f72206160008201527f2070726976696c65646765642075736572000000000000000000000000000000602082015250565b6000612ae8603183612a7b565b9150612af382612a8c565b604082019050919050565b60006020820190508181036000830152612b1781612adb565b9050919050565b7f526f75746550726f636573736f72206973206c6f636b65640000000000000000600082015250565b6000612b54601883612a7b565b9150612b5f82612b1e565b602082019050919050565b60006020820190508181036000830152612b8381612b47565b9050919050565b7f526f75746550726f636573736f72206973207061757365640000000000000000600082015250565b6000612bc0601883612a7b565b9150612bcb82612b8a565b602082019050919050565b60006020820190508181036000830152612bef81612bb3565b9050919050565b6000608082019050612c0b600083018761277e565b612c186020830186612754565b612c256040830185612754565b612c326060830184612754565b95945050505050565b600081905092915050565b50565b6000612c56600083612c3b565b9150612c6182612c46565b600082019050919050565b6000612c7782612c49565b9150819050919050565b600081519050919050565b60005b83811015612caa578082015181840152602081019050612c8f565b60008484015250505050565b6000612cc182612c81565b612ccb8185612c3b565b9350612cdb818560208601612c8c565b80840191505092915050565b6000612cf38284612cb6565b915081905092915050565b600081519050919050565b6000612d1482612cfe565b612d1e8185612a7b565b9350612d2e818560208601612c8c565b612d378161255a565b840191505092915050565b60006020820190508181036000830152612d5c8184612d09565b905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612dc0602683612a7b565b9150612dcb82612d64565b604082019050919050565b60006020820190508181036000830152612def81612db3565b9050919050565b7f526f75746550726f636573736f722e756e697377617056335377617043616c6c60008201527f6261636b3a2063616c6c2066726f6d20756e6b6e6f776e20736f757263650000602082015250565b6000612e52603e83612a7b565b9150612e5d82612df6565b604082019050919050565b60006020820190508181036000830152612e8181612e45565b9050919050565b600060208284031215612e9e57612e9d6124b2565b5b6000612eac84828501612876565b91505092915050565b7f526f75746550726f636573736f722e756e697377617056335377617043616c6c60008201527f6261636b3a206e6f7420706f73697469766520616d6f756e7400000000000000602082015250565b6000612f11603983612a7b565b9150612f1c82612eb5565b604082019050919050565b60006020820190508181036000830152612f4081612f04565b9050919050565b600081519050612f5681612524565b92915050565b600060208284031215612f7257612f716124b2565b5b6000612f8084828501612f47565b91505092915050565b7f526f75746550726f636573736f723a20556e6b6e6f776e20636f6d6d616e642060008201527f636f646500000000000000000000000000000000000000000000000000000000602082015250565b6000612fe5602483612a7b565b9150612ff082612f89565b604082019050919050565b6000602082019050818103600083015261301481612fd8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130558261251a565b91506130608361251a565b92508282019050808211156130785761307761301b565b5b92915050565b7f526f75746550726f636573736f723a204d696e696d616c20696d70757420626160008201527f6c616e63652076696f6c6174696f6e0000000000000000000000000000000000602082015250565b60006130da602f83612a7b565b91506130e58261307e565b604082019050919050565b60006020820190508181036000830152613109816130cd565b9050919050565b7f526f75746550726f636573736f723a204d696e696d616c206f7570757420626160008201527f6c616e63652076696f6c6174696f6e0000000000000000000000000000000000602082015250565b600061316c602f83612a7b565b915061317782613110565b604082019050919050565b6000602082019050818103600083015261319b8161315f565b9050919050565b60006131ad8261251a565b91506131b88361251a565b92508282039050818111156131d0576131cf61301b565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061320c602083612a7b565b9150613217826131d6565b602082019050919050565b6000602082019050818103600083015261323b816131ff565b9050919050565b6000604082019050613257600083018561277e565b6132646020830184612754565b9392505050565b7f5472616e736665722048656c7065723a204661696c656420746f207472616e7360008201527f6665722045544800000000000000000000000000000000000000000000000000602082015250565b60006132c7602783612a7b565b91506132d28261326b565b604082019050919050565b600060208201905081810360008301526132f6816132ba565b9050919050565b60008151905061330c816127e1565b92915050565b600060208284031215613328576133276124b2565b5b6000613336848285016132fd565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061339b602a83612a7b565b91506133a68261333f565b604082019050919050565b600060208201905081810360008301526133ca8161338e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f526f75746550726f636573736f723a20556e6b6e6f776e20706f6f6c2074797060008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b600061345c602183612a7b565b915061346782613400565b604082019050919050565b6000602082019050818103600083015261348b8161344f565b9050919050565b600060ff82169050919050565b6134a881613492565b82525050565b6000819050919050565b6134c1816134ae565b82525050565b600060e0820190506134dc600083018a61277e565b6134e9602083018961277e565b6134f66040830188612754565b6135036060830187612754565b613510608083018661349f565b61351d60a08301856134b8565b61352a60c08301846134b8565b98975050505050505050565b7f5361666545524332303a207065726d697420646964206e6f742073756363656560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000613592602183612a7b565b915061359d82613536565b604082019050919050565b600060208201905081810360008301526135c181613585565b9050919050565b60006dffffffffffffffffffffffffffff82169050919050565b6135eb816135c8565b81146135f657600080fd5b50565b600081519050613608816135e2565b92915050565b600063ffffffff82169050919050565b6136278161360e565b811461363257600080fd5b50565b6000815190506136448161361e565b92915050565b600080600060608486031215613663576136626124b2565b5b6000613671868287016135f9565b9350506020613682868287016135f9565b925050604061369386828701613635565b9150509250925092565b7f57726f6e6720706f6f6c20726573657276657300000000000000000000000000600082015250565b60006136d3601383612a7b565b91506136de8261369d565b602082019050919050565b60006020820190508181036000830152613702816136c6565b9050919050565b60006137148261251a565b915061371f8361251a565b925082820261372d8161251a565b915082820484148315176137445761374361301b565b5b5092915050565b60006137568261251a565b91506137618361251a565b925082613771576137706133d1565b5b828204905092915050565b600082825260208201905092915050565b600061379882612c81565b6137a2818561377c565b93506137b2818560208601612c8c565b6137bb8161255a565b840191505092915050565b60006080820190506137db6000830187612754565b6137e86020830186612754565b6137f5604083018561277e565b8181036060830152613807818461378d565b905095945050505050565b7f73776170556e6956333a20756e65787065637465642066726f6d20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061386e602283612a7b565b915061387982613812565b604082019050919050565b6000602082019050818103600083015261389d81613861565b9050919050565b60006138af826124bc565b91506138ba836124bc565b9250828203905073ffffffffffffffffffffffffffffffffffffffff8111156138e6576138e561301b565b5b92915050565b60006138f7826124bc565b9150613902836124bc565b9250828201905073ffffffffffffffffffffffffffffffffffffffff81111561392e5761392d61301b565b5b92915050565b61393d816127d5565b82525050565b61394c81612971565b82525050565b61395b816124bc565b82525050565b600060a082019050613976600083018861277e565b6139836020830187613934565b6139906040830186613943565b61399d6060830185613952565b81810360808301526139af818461378d565b90509695505050505050565b6000815190506139ca8161297b565b92915050565b600080604083850312156139e7576139e66124b2565b5b60006139f5858286016139bb565b9250506020613a06858286016139bb565b9150509250929050565b7f526f75746550726f636573736f722e73776170556e6956333a20756e6578706560008201527f6374656400000000000000000000000000000000000000000000000000000000602082015250565b6000613a6c602483612a7b565b9150613a7782613a10565b604082019050919050565b60006020820190508181036000830152613a9b81613a5f565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000613afe602683612a7b565b9150613b0982613aa2565b604082019050919050565b60006020820190508181036000830152613b2d81613af1565b9050919050565b6000606082019050613b49600083018661277e565b613b56602083018561277e565b613b636040830184612754565b949350505050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000613ba1601d83612a7b565b9150613bac82613b6b565b602082019050919050565b60006020820190508181036000830152613bd081613b94565b905091905056fea26469706673582212205429e06861f322f14e89ce6194ad06516227d4d3e1c33c8de152669bca6e899864736f6c63430008130033000000000000000000000000d52c556ecbd260cf3bf5b78f3f94d6878939adf700000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000d52c556ecbd260cf3bf5b78f3f94d6878939adf7000000000000000000000000367db1215bf0effdbc9a10d9fd4dd9dd896f670e

Deployed Bytecode

0x6080604052600436106100a05760003560e01c806390d49b9d1161006457806390d49b9d1461014c5780639a1f340614610175578063eaa6062b1461019e578063f25f4b56146101ce578063f2fde38b146101f9578063fa461e3314610222576100a7565b8063046f7da2146100ac5780636d12c339146100c3578063715018a6146100f35780638456cb591461010a5780638da5cb5b14610121576100a7565b366100a757005b600080fd5b3480156100b857600080fd5b506100c161024b565b005b6100dd60048036038101906100d89190612696565b610339565b6040516100ea9190612763565b60405180910390f35b3480156100ff57600080fd5b506101086104bb565b005b34801561011657600080fd5b5061011f6104cf565b005b34801561012d57600080fd5b506101366105bd565b604051610143919061278d565b60405180910390f35b34801561015857600080fd5b50610173600480360381019061016e91906127a8565b6105e6565b005b34801561018157600080fd5b5061019c6004803603810190610197919061280d565b6106fa565b005b6101b860048036038101906101b3919061288b565b61075d565b6040516101c59190612763565b60405180910390f35b3480156101da57600080fd5b506101e36109b4565b6040516101f0919061278d565b60405180910390f35b34801561020557600080fd5b50610220600480360381019061021b91906127a8565b6109da565b005b34801561022e57600080fd5b5061024960048036038101906102449190612a07565b610a5d565b005b6102536105bd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806102dc575060011515600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b61031b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031290612afe565b60405180910390fd5b6001600360156101000a81548160ff021916908360ff160217905550565b60006001600360149054906101000a900460ff1660ff1614610390576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038790612b6a565b60405180910390fd5b6001600360159054906101000a900460ff1660ff16146103e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103dc90612bd6565b60405180910390fd5b6002600360146101000a81548160ff021916908360ff16021790555061041088888888888888610bcb565b90508573ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f2db5ddd0b42bdbca0d69ea16f234a870a485854ae0d91f16643d6f317d8b8994868b8a8760405161048c9493929190612bf6565b60405180910390a46001600360146101000a81548160ff021916908360ff160217905550979650505050505050565b6104c3611107565b6104cd6000611185565b565b6104d76105bd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610560575060011515600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b61059f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059690612afe565b60405180910390fd5b6002600360156101000a81548160ff021916908360ff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6105ee6105bd565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610677575060011515600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b6106b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ad90612afe565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610702611107565b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60006001600360149054906101000a900460ff1660ff16146107b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ab90612b6a565b60405180910390fd5b6001600360159054906101000a900460ff1660ff1614610809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080090612bd6565b60405180910390fd5b6002600360146101000a81548160ff021916908360ff1602179055506000808b73ffffffffffffffffffffffffffffffffffffffff168b60405161084c90612c6c565b60006040518083038185875af1925050503d8060008114610889576040519150601f19603f3d011682016040523d82523d6000602084013e61088e565b606091505b509150915081816040516020016108a59190612ce7565b604051602081830303815290604052906108f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ec9190612d42565b60405180910390fd5b506109058a8a8a8a8a8a8a610bcb565b92508773ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f2db5ddd0b42bdbca0d69ea16f234a870a485854ae0d91f16643d6f317d8b8994888d8c896040516109819493929190612bf6565b60405180910390a450506001600360146101000a81548160ff021916908360ff1602179055509998505050505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6109e2611107565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4890612dd6565b60405180910390fd5b610a5a81611185565b50565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae490612e68565b60405180910390fd5b6001600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008282810190610b409190612e88565b90506000808613610b515784610b53565b855b905060008113610b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8f90612f27565b60405180910390fd5b610bc333828473ffffffffffffffffffffffffffffffffffffffff166112499092919063ffffffff16565b505050505050565b60008073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee73ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614610c94578873ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610c4e919061278d565b602060405180830381865afa158015610c6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8f9190612f5c565b610c96565b475b9050600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee73ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614610d60578773ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610d1a919061278d565b602060405180830381865afa158015610d37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5b9190612f5c565b610d62565b475b90506000610d6f856112cf565b90505b610d7b816112f0565b15610e51576000610d8b8261130c565b905060018160ff1603610da657610da182611323565b610e4b565b60028160ff1603610dc057610dbb828c6113cf565b610e4a565b60038160ff1603610dd957610dd4826113ed565b610e49565b60048160ff1603610df257610ded82611416565b610e48565b60058160ff1603610e0c57610e078c83611434565b610e47565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e90612ffb565b60405180910390fd5b5b5b5b5b50610d72565b600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee73ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff1614610f19578b73ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610ed3919061278d565b602060405180830381865afa158015610ef0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f149190612f5c565b610f1b565b475b9050838b82610f2a919061304a565b1015610f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f62906130f0565b60405180910390fd5b600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee73ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff1614611033578a73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610fed919061278d565b602060405180830381865afa15801561100a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102e9190612f5c565b61104c565b3073ffffffffffffffffffffffffffffffffffffffff16315b9050898461105a919061304a565b81101561109c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109390613182565b60405180910390fd5b83816110a891906131a2565b95506110c08b898b896110bb91906131a2565b6114b3565b60008911156110f7576110f68b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168b6114b3565b5b5050505050979650505050505050565b61110f6115dd565b73ffffffffffffffffffffffffffffffffffffffff1661112d6105bd565b73ffffffffffffffffffffffffffffffffffffffff1614611183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117a90613222565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6112ca8363a9059cbb60e01b8484604051602401611268929190613242565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506115e5565b505050565b60006040519050604081016040528181528151808301602083015250919050565b6000806000835191506020840151905080821092505050919050565b600081516001810190508051915080835250919050565b600061132e826116ad565b905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161136b919061278d565b602060405180830381865afa158015611388573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ac9190612f5c565b905060008111156113be576001810390505b6113ca833084846116c4565b505050565b60006113da836116ad565b90506113e8833383856116c4565b505050565b6000479050611412823073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee846116c4565b5050565b6000611421826116ad565b9050611430823083600061172f565b5050565b600061143f826117d4565b9050600061144c836117d4565b905060006114598461130c565b90506000611466856117eb565b90506000611473866117eb565b90506114aa333087878787878e73ffffffffffffffffffffffffffffffffffffffff1661180290979695949392919063ffffffff16565b50505050505050565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115ac5760008273ffffffffffffffffffffffffffffffffffffffff168260405161152090612c6c565b60006040518083038185875af1925050503d806000811461155d576040519150601f19603f3d011682016040523d82523d6000602084013e611562565b606091505b50509050806115a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159d906132dd565b60405180910390fd5b506115d8565b6115d782828573ffffffffffffffffffffffffffffffffffffffff166112499092919063ffffffff16565b5b505050565b600033905090565b6000611647826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166119cf9092919063ffffffff16565b90506000815114806116695750808060200190518101906116689190613312565b5b6116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f906133b1565b60405180910390fd5b505050565b600081516014810190508051915080835250919050565b60006116cf8561130c565b905060005b8160ff168110156117275760006116ea876119e7565b9050600061ffff8261ffff16860281611706576117056133d1565b5b049050808503945061171a8888888461172f565b50508060010190506116d4565b505050505050565b600061173a8561130c565b905060008160ff160361175857611753858585856119fe565b6117cd565b60018160ff16036117745761176f85858585611d7f565b6117cc565b60028160ff16036117905761178b85858585612036565b6117cb565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c290613472565b60405180910390fd5b5b5b5050505050565b600081516020810190508051915080835250919050565b600081516020810190508051915080835250919050565b60008873ffffffffffffffffffffffffffffffffffffffff16637ecebe00896040518263ffffffff1660e01b815260040161183d919061278d565b602060405180830381865afa15801561185a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061187e9190612f5c565b90508873ffffffffffffffffffffffffffffffffffffffff1663d505accf898989898989896040518863ffffffff1660e01b81526004016118c597969594939291906134c7565b600060405180830381600087803b1580156118df57600080fd5b505af11580156118f3573d6000803e3d6000fd5b5050505060008973ffffffffffffffffffffffffffffffffffffffff16637ecebe008a6040518263ffffffff1660e01b8152600401611932919061278d565b602060405180830381865afa15801561194f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119739190612f5c565b9050600182611982919061304a565b81146119c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ba906135a8565b60405180910390fd5b50505050505050505050565b60606119de848460008561226a565b90509392505050565b600081516002810190508051915080835250919050565b6000611a09856116ad565b90506000611a168661130c565b90506000611a23876116ad565b90506000808473ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015611a73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a97919061364a565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff169150600082118015611acc5750600081115b611b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b02906136e9565b60405180910390fd5b60008060018660ff1614611b20578284611b23565b83835b9150915060008814611bc5573073ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff1603611b9257611b8d87898b73ffffffffffffffffffffffffffffffffffffffff166112499092919063ffffffff16565b611bc0565b611bbf8a888a8c73ffffffffffffffffffffffffffffffffffffffff16612337909392919063ffffffff16565b5b611c4d565b818973ffffffffffffffffffffffffffffffffffffffff166370a08231896040518263ffffffff1660e01b8152600401611bff919061278d565b602060405180830381865afa158015611c1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c409190612f5c565b611c4a91906131a2565b97505b60006103e589611c5d9190613709565b90506000816103e885611c709190613709565b611c7a919061304a565b8383611c869190613709565b611c90919061374b565b905060008060018a60ff1614611ca857826000611cac565b6000835b915091508a73ffffffffffffffffffffffffffffffffffffffff1663022c0d9f83838c600067ffffffffffffffff811115611cea57611ce961256b565b5b6040519080825280601f01601f191660200182016040528015611d1c5781602001600182028036833780820191505090505b506040518563ffffffff1660e01b8152600401611d3c94939291906137c6565b600060405180830381600087803b158015611d5657600080fd5b505af1158015611d6a573d6000803e3d6000fd5b50505050505050505050505050505050505050565b6000611d8a856116ad565b9050600080611d988761130c565b60ff161190506000611da9876116ad565b90503073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614611e7a573373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614611e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4390613884565b60405180910390fd5b611e793330868873ffffffffffffffffffffffffffffffffffffffff16612337909392919063ffffffff16565b5b82600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff1663128acb0882848786611f0557600173fffd8963efd1fc6a506488495d951d5263988d26611f0091906138a4565b611f18565b60016401000276a3611f1791906138ec565b5b8a604051602001611f29919061278d565b6040516020818303038152906040526040518663ffffffff1660e01b8152600401611f58959493929190613961565b60408051808303816000875af1158015611f76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f9a91906139d0565b5050600173ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461202d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202490613a82565b60405180910390fd5b50505050505050565b60006120418561130c565b9050600061204e866116ad565b9050600180831660ff160361213f576000612068876116ad565b905060006002841660ff16036120da578073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b1580156120c057600080fd5b505af11580156120d4573d6000803e3d6000fd5b50505050505b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146121395761213882858373ffffffffffffffffffffffffffffffffffffffff166112499092919063ffffffff16565b5b50612262565b60006002831660ff160361221a573073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146121ae576121ad8530858773ffffffffffffffffffffffffffffffffffffffff16612337909392919063ffffffff16565b5b8373ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d846040518263ffffffff1660e01b81526004016121e79190612763565b600060405180830381600087803b15801561220157600080fd5b505af1158015612215573d6000803e3d6000fd5b505050505b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015612260573d6000803e3d6000fd5b505b505050505050565b6060824710156122af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a690613b14565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516122d89190612ce7565b60006040518083038185875af1925050503d8060008114612315576040519150601f19603f3d011682016040523d82523d6000602084013e61231a565b606091505b509150915061232b878383876123c0565b92505050949350505050565b6123ba846323b872dd60e01b85858560405160240161235893929190613b34565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506115e5565b50505050565b6060831561242257600083510361241a576123da85612435565b612419576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241090613bb7565b60405180910390fd5b5b82905061242d565b61242c8383612458565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008251111561246b5781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249f9190612d42565b60405180910390fd5b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006124e7826124bc565b9050919050565b6124f7816124dc565b811461250257600080fd5b50565b600081359050612514816124ee565b92915050565b6000819050919050565b61252d8161251a565b811461253857600080fd5b50565b60008135905061254a81612524565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6125a38261255a565b810181811067ffffffffffffffff821117156125c2576125c161256b565b5b80604052505050565b60006125d56124a8565b90506125e1828261259a565b919050565b600067ffffffffffffffff8211156126015761260061256b565b5b61260a8261255a565b9050602081019050919050565b82818337600083830152505050565b6000612639612634846125e6565b6125cb565b90508281526020810184848401111561265557612654612555565b5b612660848285612617565b509392505050565b600082601f83011261267d5761267c612550565b5b813561268d848260208601612626565b91505092915050565b600080600080600080600060e0888a0312156126b5576126b46124b2565b5b60006126c38a828b01612505565b97505060206126d48a828b0161253b565b96505060406126e58a828b01612505565b95505060606126f68a828b0161253b565b94505060806127078a828b0161253b565b93505060a06127188a828b01612505565b92505060c088013567ffffffffffffffff811115612739576127386124b7565b5b6127458a828b01612668565b91505092959891949750929550565b61275d8161251a565b82525050565b60006020820190506127786000830184612754565b92915050565b612787816124dc565b82525050565b60006020820190506127a2600083018461277e565b92915050565b6000602082840312156127be576127bd6124b2565b5b60006127cc84828501612505565b91505092915050565b60008115159050919050565b6127ea816127d5565b81146127f557600080fd5b50565b600081359050612807816127e1565b92915050565b60008060408385031215612824576128236124b2565b5b600061283285828601612505565b9250506020612843858286016127f8565b9150509250929050565b6000612858826124bc565b9050919050565b6128688161284d565b811461287357600080fd5b50565b6000813590506128858161285f565b92915050565b60008060008060008060008060006101208a8c0312156128ae576128ad6124b2565b5b60006128bc8c828d01612876565b99505060206128cd8c828d0161253b565b98505060406128de8c828d01612505565b97505060606128ef8c828d0161253b565b96505060806129008c828d01612505565b95505060a06129118c828d0161253b565b94505060c06129228c828d0161253b565b93505060e06129338c828d01612505565b9250506101008a013567ffffffffffffffff811115612955576129546124b7565b5b6129618c828d01612668565b9150509295985092959850929598565b6000819050919050565b61298481612971565b811461298f57600080fd5b50565b6000813590506129a18161297b565b92915050565b600080fd5b600080fd5b60008083601f8401126129c7576129c6612550565b5b8235905067ffffffffffffffff8111156129e4576129e36129a7565b5b602083019150836001820283011115612a00576129ff6129ac565b5b9250929050565b60008060008060608587031215612a2157612a206124b2565b5b6000612a2f87828801612992565b9450506020612a4087828801612992565b935050604085013567ffffffffffffffff811115612a6157612a606124b7565b5b612a6d878288016129b1565b925092505092959194509250565b600082825260208201905092915050565b7f52503a2063616c6c6572206973206e6f7420746865206f776e6572206f72206160008201527f2070726976696c65646765642075736572000000000000000000000000000000602082015250565b6000612ae8603183612a7b565b9150612af382612a8c565b604082019050919050565b60006020820190508181036000830152612b1781612adb565b9050919050565b7f526f75746550726f636573736f72206973206c6f636b65640000000000000000600082015250565b6000612b54601883612a7b565b9150612b5f82612b1e565b602082019050919050565b60006020820190508181036000830152612b8381612b47565b9050919050565b7f526f75746550726f636573736f72206973207061757365640000000000000000600082015250565b6000612bc0601883612a7b565b9150612bcb82612b8a565b602082019050919050565b60006020820190508181036000830152612bef81612bb3565b9050919050565b6000608082019050612c0b600083018761277e565b612c186020830186612754565b612c256040830185612754565b612c326060830184612754565b95945050505050565b600081905092915050565b50565b6000612c56600083612c3b565b9150612c6182612c46565b600082019050919050565b6000612c7782612c49565b9150819050919050565b600081519050919050565b60005b83811015612caa578082015181840152602081019050612c8f565b60008484015250505050565b6000612cc182612c81565b612ccb8185612c3b565b9350612cdb818560208601612c8c565b80840191505092915050565b6000612cf38284612cb6565b915081905092915050565b600081519050919050565b6000612d1482612cfe565b612d1e8185612a7b565b9350612d2e818560208601612c8c565b612d378161255a565b840191505092915050565b60006020820190508181036000830152612d5c8184612d09565b905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612dc0602683612a7b565b9150612dcb82612d64565b604082019050919050565b60006020820190508181036000830152612def81612db3565b9050919050565b7f526f75746550726f636573736f722e756e697377617056335377617043616c6c60008201527f6261636b3a2063616c6c2066726f6d20756e6b6e6f776e20736f757263650000602082015250565b6000612e52603e83612a7b565b9150612e5d82612df6565b604082019050919050565b60006020820190508181036000830152612e8181612e45565b9050919050565b600060208284031215612e9e57612e9d6124b2565b5b6000612eac84828501612876565b91505092915050565b7f526f75746550726f636573736f722e756e697377617056335377617043616c6c60008201527f6261636b3a206e6f7420706f73697469766520616d6f756e7400000000000000602082015250565b6000612f11603983612a7b565b9150612f1c82612eb5565b604082019050919050565b60006020820190508181036000830152612f4081612f04565b9050919050565b600081519050612f5681612524565b92915050565b600060208284031215612f7257612f716124b2565b5b6000612f8084828501612f47565b91505092915050565b7f526f75746550726f636573736f723a20556e6b6e6f776e20636f6d6d616e642060008201527f636f646500000000000000000000000000000000000000000000000000000000602082015250565b6000612fe5602483612a7b565b9150612ff082612f89565b604082019050919050565b6000602082019050818103600083015261301481612fd8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130558261251a565b91506130608361251a565b92508282019050808211156130785761307761301b565b5b92915050565b7f526f75746550726f636573736f723a204d696e696d616c20696d70757420626160008201527f6c616e63652076696f6c6174696f6e0000000000000000000000000000000000602082015250565b60006130da602f83612a7b565b91506130e58261307e565b604082019050919050565b60006020820190508181036000830152613109816130cd565b9050919050565b7f526f75746550726f636573736f723a204d696e696d616c206f7570757420626160008201527f6c616e63652076696f6c6174696f6e0000000000000000000000000000000000602082015250565b600061316c602f83612a7b565b915061317782613110565b604082019050919050565b6000602082019050818103600083015261319b8161315f565b9050919050565b60006131ad8261251a565b91506131b88361251a565b92508282039050818111156131d0576131cf61301b565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061320c602083612a7b565b9150613217826131d6565b602082019050919050565b6000602082019050818103600083015261323b816131ff565b9050919050565b6000604082019050613257600083018561277e565b6132646020830184612754565b9392505050565b7f5472616e736665722048656c7065723a204661696c656420746f207472616e7360008201527f6665722045544800000000000000000000000000000000000000000000000000602082015250565b60006132c7602783612a7b565b91506132d28261326b565b604082019050919050565b600060208201905081810360008301526132f6816132ba565b9050919050565b60008151905061330c816127e1565b92915050565b600060208284031215613328576133276124b2565b5b6000613336848285016132fd565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061339b602a83612a7b565b91506133a68261333f565b604082019050919050565b600060208201905081810360008301526133ca8161338e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f526f75746550726f636573736f723a20556e6b6e6f776e20706f6f6c2074797060008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b600061345c602183612a7b565b915061346782613400565b604082019050919050565b6000602082019050818103600083015261348b8161344f565b9050919050565b600060ff82169050919050565b6134a881613492565b82525050565b6000819050919050565b6134c1816134ae565b82525050565b600060e0820190506134dc600083018a61277e565b6134e9602083018961277e565b6134f66040830188612754565b6135036060830187612754565b613510608083018661349f565b61351d60a08301856134b8565b61352a60c08301846134b8565b98975050505050505050565b7f5361666545524332303a207065726d697420646964206e6f742073756363656560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000613592602183612a7b565b915061359d82613536565b604082019050919050565b600060208201905081810360008301526135c181613585565b9050919050565b60006dffffffffffffffffffffffffffff82169050919050565b6135eb816135c8565b81146135f657600080fd5b50565b600081519050613608816135e2565b92915050565b600063ffffffff82169050919050565b6136278161360e565b811461363257600080fd5b50565b6000815190506136448161361e565b92915050565b600080600060608486031215613663576136626124b2565b5b6000613671868287016135f9565b9350506020613682868287016135f9565b925050604061369386828701613635565b9150509250925092565b7f57726f6e6720706f6f6c20726573657276657300000000000000000000000000600082015250565b60006136d3601383612a7b565b91506136de8261369d565b602082019050919050565b60006020820190508181036000830152613702816136c6565b9050919050565b60006137148261251a565b915061371f8361251a565b925082820261372d8161251a565b915082820484148315176137445761374361301b565b5b5092915050565b60006137568261251a565b91506137618361251a565b925082613771576137706133d1565b5b828204905092915050565b600082825260208201905092915050565b600061379882612c81565b6137a2818561377c565b93506137b2818560208601612c8c565b6137bb8161255a565b840191505092915050565b60006080820190506137db6000830187612754565b6137e86020830186612754565b6137f5604083018561277e565b8181036060830152613807818461378d565b905095945050505050565b7f73776170556e6956333a20756e65787065637465642066726f6d20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061386e602283612a7b565b915061387982613812565b604082019050919050565b6000602082019050818103600083015261389d81613861565b9050919050565b60006138af826124bc565b91506138ba836124bc565b9250828203905073ffffffffffffffffffffffffffffffffffffffff8111156138e6576138e561301b565b5b92915050565b60006138f7826124bc565b9150613902836124bc565b9250828201905073ffffffffffffffffffffffffffffffffffffffff81111561392e5761392d61301b565b5b92915050565b61393d816127d5565b82525050565b61394c81612971565b82525050565b61395b816124bc565b82525050565b600060a082019050613976600083018861277e565b6139836020830187613934565b6139906040830186613943565b61399d6060830185613952565b81810360808301526139af818461378d565b90509695505050505050565b6000815190506139ca8161297b565b92915050565b600080604083850312156139e7576139e66124b2565b5b60006139f5858286016139bb565b9250506020613a06858286016139bb565b9150509250929050565b7f526f75746550726f636573736f722e73776170556e6956333a20756e6578706560008201527f6374656400000000000000000000000000000000000000000000000000000000602082015250565b6000613a6c602483612a7b565b9150613a7782613a10565b604082019050919050565b60006020820190508181036000830152613a9b81613a5f565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000613afe602683612a7b565b9150613b0982613aa2565b604082019050919050565b60006020820190508181036000830152613b2d81613af1565b9050919050565b6000606082019050613b49600083018661277e565b613b56602083018561277e565b613b636040830184612754565b949350505050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000613ba1601d83612a7b565b9150613bac82613b6b565b602082019050919050565b60006020820190508181036000830152613bd081613b94565b905091905056fea26469706673582212205429e06861f322f14e89ce6194ad06516227d4d3e1c33c8de152669bca6e899864736f6c63430008130033

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

000000000000000000000000d52c556ecbd260cf3bf5b78f3f94d6878939adf700000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000d52c556ecbd260cf3bf5b78f3f94d6878939adf7000000000000000000000000367db1215bf0effdbc9a10d9fd4dd9dd896f670e

-----Decoded View---------------
Arg [0] : _feeWallet (address): 0xd52c556EcBd260CF3BF5B78F3F94d6878939ADf7
Arg [1] : priviledgedUserList (address[]): 0xd52c556EcBd260CF3BF5B78F3F94d6878939ADf7,0x367db1215Bf0eFfdBc9a10d9Fd4dD9dD896f670e

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000d52c556ecbd260cf3bf5b78f3f94d6878939adf7
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [3] : 000000000000000000000000d52c556ecbd260cf3bf5b78f3f94d6878939adf7
Arg [4] : 000000000000000000000000367db1215bf0effdbc9a10d9fd4dd9dd896f670e


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.