ETH Price: $3,400.40 (+3.16%)

Contract

0x00555513Acf282B42882420E5e5bA87b44D8fA6E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00
Transaction Hash
Method
Block
From
To
Swap204534302024-08-04 6:35:23113 days ago1722753323IN
Kyber Swap: Aggregation Router 3
0.001 ETH0.000062371
Swap155877902022-09-22 8:48:47795 days ago1663836527IN
Kyber Swap: Aggregation Router 3
0.05 ETH0.0008608912.5627326
Swap153634412022-08-18 6:21:12830 days ago1660803672IN
Kyber Swap: Aggregation Router 3
0 ETH0.003522979.83416364
Swap153516002022-08-16 9:33:36832 days ago1660642416IN
Kyber Swap: Aggregation Router 3
1 ETH0.002387397.65005684
Swap153362692022-08-13 23:18:58834 days ago1660432738IN
Kyber Swap: Aggregation Router 3
0 ETH0.001988515.16238226
Swap153028912022-08-08 17:29:18839 days ago1659979758IN
Kyber Swap: Aggregation Router 3
0 ETH0.0323167926.26102503
Swap152975002022-08-07 21:00:25840 days ago1659906025IN
Kyber Swap: Aggregation Router 3
0 ETH0.002493477.59276251
Swap152964782022-08-07 17:09:50840 days ago1659892190IN
Kyber Swap: Aggregation Router 3
0 ETH0.0085021724.10330075
Swap152905882022-08-06 19:25:45841 days ago1659813945IN
Kyber Swap: Aggregation Router 3
0 ETH0.001497635.61634391
Swap152844352022-08-05 20:20:23842 days ago1659730823IN
Kyber Swap: Aggregation Router 3
0 ETH0.0043565710.75642316
Swap152787232022-08-04 23:14:38843 days ago1659654878IN
Kyber Swap: Aggregation Router 3
0 ETH0.004283157.6624873
Swap152687892022-08-03 9:47:42845 days ago1659520062IN
Kyber Swap: Aggregation Router 3
0 ETH0.0034298710.1561167
Swap152611162022-08-02 5:06:39846 days ago1659416799IN
Kyber Swap: Aggregation Router 3
0.007446 ETH0.0008053310.301795
Swap152605632022-08-02 2:59:43846 days ago1659409183IN
Kyber Swap: Aggregation Router 3
0 ETH0.009402537.35628554
Swap152481902022-07-31 4:45:06848 days ago1659242706IN
Kyber Swap: Aggregation Router 3
0.005 ETH0.000165983
Swap152418312022-07-30 4:57:53849 days ago1659157073IN
Kyber Swap: Aggregation Router 3
0 ETH0.004468145.13126798
Swap152418262022-07-30 4:56:30849 days ago1659156990IN
Kyber Swap: Aggregation Router 3
0 ETH0.003626634.72856505
Swap152418242022-07-30 4:56:27849 days ago1659156987IN
Kyber Swap: Aggregation Router 3
0 ETH0.003888214.32581449
Swap152396122022-07-29 20:43:40849 days ago1659127420IN
Kyber Swap: Aggregation Router 3
0 ETH0.0080952110.72567095
Swap152396082022-07-29 20:42:48849 days ago1659127368IN
Kyber Swap: Aggregation Router 3
0 ETH0.0101442510.46643948
Swap152215342022-07-27 1:11:45852 days ago1658884305IN
Kyber Swap: Aggregation Router 3
0.0001527 ETH0.000352875.1479509
Swap152168652022-07-26 7:45:34853 days ago1658821534IN
Kyber Swap: Aggregation Router 3
0.01 ETH0.0011531515.93794718
Swap152168652022-07-26 7:45:34853 days ago1658821534IN
Kyber Swap: Aggregation Router 3
0.02 ETH0.0012134516.77414352
Swap152168652022-07-26 7:45:34853 days ago1658821534IN
Kyber Swap: Aggregation Router 3
0.03 ETH0.000483836.68932276
Swap152166302022-07-26 6:51:50853 days ago1658818310IN
Kyber Swap: Aggregation Router 3
0 ETH0.0007432620
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
204534302024-08-04 6:35:23113 days ago1722753323
Kyber Swap: Aggregation Router 3
0.001 ETH
155877902022-09-22 8:48:47795 days ago1663836527
Kyber Swap: Aggregation Router 3
0.04985 ETH
155877902022-09-22 8:48:47795 days ago1663836527
Kyber Swap: Aggregation Router 3
0.00015 ETH
153516002022-08-16 9:33:36832 days ago1660642416
Kyber Swap: Aggregation Router 3
1 ETH
152611162022-08-02 5:06:39846 days ago1659416799
Kyber Swap: Aggregation Router 3
0.00742366 ETH
152611162022-08-02 5:06:39846 days ago1659416799
Kyber Swap: Aggregation Router 3
0.00002233 ETH
152481902022-07-31 4:45:06848 days ago1659242706
Kyber Swap: Aggregation Router 3
0.005 ETH
152215342022-07-27 1:11:45852 days ago1658884305
Kyber Swap: Aggregation Router 3
0.00015224 ETH
152215342022-07-27 1:11:45852 days ago1658884305
Kyber Swap: Aggregation Router 3
0.00000045 ETH
152168652022-07-26 7:45:34853 days ago1658821534
Kyber Swap: Aggregation Router 3
0.00997 ETH
152168652022-07-26 7:45:34853 days ago1658821534
Kyber Swap: Aggregation Router 3
0.00003 ETH
152168652022-07-26 7:45:34853 days ago1658821534
Kyber Swap: Aggregation Router 3
0.01994 ETH
152168652022-07-26 7:45:34853 days ago1658821534
Kyber Swap: Aggregation Router 3
0.00006 ETH
152168652022-07-26 7:45:34853 days ago1658821534
Kyber Swap: Aggregation Router 3
0.02991 ETH
152168652022-07-26 7:45:34853 days ago1658821534
Kyber Swap: Aggregation Router 3
0.00009 ETH
152156512022-07-26 3:11:33853 days ago1658805093
Kyber Swap: Aggregation Router 3
0.02991 ETH
152156512022-07-26 3:11:33853 days ago1658805093
Kyber Swap: Aggregation Router 3
0.00009 ETH
152153522022-07-26 2:03:47853 days ago1658801027
Kyber Swap: Aggregation Router 3
0.18943 ETH
152153522022-07-26 2:03:47853 days ago1658801027
Kyber Swap: Aggregation Router 3
0.00057 ETH
152153452022-07-26 2:02:32853 days ago1658800952
Kyber Swap: Aggregation Router 3
0.27283745 ETH
152153452022-07-26 2:02:32853 days ago1658800952
Kyber Swap: Aggregation Router 3
0.00082097 ETH
152152922022-07-26 1:52:19853 days ago1658800339
Kyber Swap: Aggregation Router 3
0.0997 ETH
152152922022-07-26 1:52:19853 days ago1658800339
Kyber Swap: Aggregation Router 3
0.0003 ETH
152152662022-07-26 1:44:39853 days ago1658799879
Kyber Swap: Aggregation Router 3
1.56 ETH
152152332022-07-26 1:34:40853 days ago1658799280
Kyber Swap: Aggregation Router 3
0.04985 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AggregationRouter

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-04-12
*/

/**
 *Submitted for verification at BscScan.com on 2022-04-06
*/

// File: contracts/interfaces/IAggregationExecutor.sol

pragma solidity >=0.6.12;

interface IAggregationExecutor {
    function callBytes(bytes calldata data) external payable;  // 0xd9c45357
    // callbytes per swap sequence
    function swapSingleSequence(
        bytes calldata data
    ) external;
    function finalTransactionProcessing(
        address tokenIn,
        address tokenOut,
        address to,
        bytes calldata destTokenFeeData
    ) external;
}

// File: contracts/AggregationRouter.sol

// SPDX-License-Identifier: MIT

// Copyright (c) 2019-2021 1inch 
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE

pragma solidity >=0.7.6;
pragma abicoder v2;

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

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

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

    function decimals() external view returns (uint8);

    function totalSupply() external view returns (uint256);

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

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

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

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

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

// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
    function safeApprove(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('approve(address,uint256)')));
        (bool success, bytes memory data) =
            token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            "TransferHelper: APPROVE_FAILED"
        );
    }

    function safeTransfer(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transfer(address,uint256)')));
        (bool success, bytes memory data) =
            token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            "TransferHelper: TRANSFER_FAILED"
        );
    }

    function safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
        (bool success, bytes memory data) =
            token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            "TransferHelper: TRANSFER_FROM_FAILED"
        );
    }

    function safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(success, "TransferHelper: ETH_TRANSFER_FAILED");
    }
}

// a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math)
library SafeMath {
    function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require((z = x + y) >= x, "ds-math-add-overflow");
    }

    function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require((z = x - y) <= x, "ds-math-sub-underflow");
    }

    function mul(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require(y == 0 || (z = x * y) / y == x, "ds-math-mul-overflow");
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256 c) {
        require(b > 0, "ds-math-division-by-zero");
        c = a / b;
    }
}

interface IERC20Permit {
    function permit(
        address owner,
        address spender,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;
}

library RevertReasonParser {
    function parse(bytes memory data, string memory prefix)
        internal
        pure
        returns (string memory)
    {
        // https://solidity.readthedocs.io/en/latest/control-structures.html#revert
        // We assume that revert reason is abi-encoded as Error(string)

        // 68 = 4-byte selector 0x08c379a0 + 32 bytes offset + 32 bytes length
        if (
            data.length >= 68 &&
            data[0] == "\x08" &&
            data[1] == "\xc3" &&
            data[2] == "\x79" &&
            data[3] == "\xa0"
        ) {
            string memory reason;
            // solhint-disable no-inline-assembly
            assembly {
                // 68 = 32 bytes data length + 4-byte selector + 32 bytes offset
                reason := add(data, 68)
            }
            /*
                revert reason is padded up to 32 bytes with ABI encoder: Error(string)
                also sometimes there is extra 32 bytes of zeros padded in the end:
                https://github.com/ethereum/solidity/issues/10170
                because of that we can't check for equality and instead check
                that string length + extra 68 bytes is less than overall data length
            */
            require(
                data.length >= 68 + bytes(reason).length,
                "Invalid revert reason"
            );
            return string(abi.encodePacked(prefix, "Error(", reason, ")"));
        }
        // 36 = 4-byte selector 0x4e487b71 + 32 bytes integer
        else if (
            data.length == 36 &&
            data[0] == "\x4e" &&
            data[1] == "\x48" &&
            data[2] == "\x7b" &&
            data[3] == "\x71"
        ) {
            uint256 code;
            // solhint-disable no-inline-assembly
            assembly {
                // 36 = 32 bytes data length + 4-byte selector
                code := mload(add(data, 36))
            }
            return
                string(abi.encodePacked(prefix, "Panic(", _toHex(code), ")"));
        }

        return string(abi.encodePacked(prefix, "Unknown(", _toHex(data), ")"));
    }

    function _toHex(uint256 value) private pure returns (string memory) {
        return _toHex(abi.encodePacked(value));
    }

    function _toHex(bytes memory data) private pure returns (string memory) {
        bytes16 alphabet = 0x30313233343536373839616263646566;
        bytes memory str = new bytes(2 + data.length * 2);
        str[0] = "0";
        str[1] = "x";
        for (uint256 i = 0; i < data.length; i++) {
            str[2 * i + 2] = alphabet[uint8(data[i] >> 4)];
            str[2 * i + 3] = alphabet[uint8(data[i] & 0x0f)];
        }
        return string(str);
    }
}

contract Permitable {
    event Error(string reason);

    function _permit(
        IERC20 token,
        uint256 amount,
        bytes calldata permit
    ) internal {
        if (permit.length == 32 * 7) {
            // solhint-disable-next-line avoid-low-level-calls
            (bool success, bytes memory result) =
                address(token).call(
                    abi.encodePacked(IERC20Permit.permit.selector, permit)
                );
            if (!success) {
                string memory reason =
                    RevertReasonParser.parse(result, "Permit call failed: ");
                if (token.allowance(msg.sender, address(this)) < amount) {
                    revert(reason);
                } else {
                    emit Error(reason);
                }
            }
        }
    }
}

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

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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


contract AggregationRouter is Permitable, Ownable {
    using SafeMath for uint256;
    address public immutable WETH;
    address private constant ETH_ADDRESS =
        address(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE);

    uint256 private constant _PARTIAL_FILL = 0x01;
    uint256 private constant _REQUIRES_EXTRA_ETH = 0x02;
    uint256 private constant _SHOULD_CLAIM = 0x04;
    uint256 private constant _BURN_FROM_MSG_SENDER = 0x08;
    uint256 private constant _BURN_FROM_TX_ORIGIN = 0x10;
    uint256 private constant _SIMPLE_SWAP = 0x20;

    struct SwapDescription {
        IERC20 srcToken;
        IERC20 dstToken;
        address[] srcReceivers;
        uint[] srcAmounts;
        address dstReceiver;
        uint256 amount;
        uint256 minReturnAmount;
        uint256 flags;
        bytes permit;
    }

    struct SimpleSwapData {
        address[] firstPools;
        uint256[] firstSwapAmounts;
        bytes[] swapDatas;
        uint256 deadline;
        bytes destTokenFeeData;
    }

    event Swapped(
        address sender,
        IERC20 srcToken,
        IERC20 dstToken,
        address dstReceiver,
        uint256 spentAmount,
        uint256 returnAmount
    );

    event ClientData(
        bytes clientData
    );

    event Exchange(address pair, uint256 amountOut, address output);

    constructor(address _WETH) public {
        WETH = _WETH;
    }

    receive() external payable {
        assert(msg.sender == WETH);
        // only accept ETH via fallback from the WETH contract
    }

    function rescueFunds(address token, uint256 amount) external onlyOwner {
        if (_isETH(IERC20(token))) {
            TransferHelper.safeTransferETH(msg.sender, amount);
        } else {
            TransferHelper.safeTransfer(token, msg.sender, amount);
        }
    }

    function swap(
        IAggregationExecutor caller,
        SwapDescription calldata desc,
        bytes calldata executorData,
        bytes calldata clientData
    ) external payable returns (uint256 returnAmount) {
        require(desc.minReturnAmount > 0, "Min return should not be 0");
        require(executorData.length > 0, "executorData should be not zero");

        uint256 flags = desc.flags;

        // simple mode swap
        if (flags & _SIMPLE_SWAP != 0) return swapSimpleMode(caller, desc, executorData, clientData);

        IERC20 srcToken = desc.srcToken;
        IERC20 dstToken = desc.dstToken;

        if (flags & _REQUIRES_EXTRA_ETH != 0) {
            require(
                msg.value > (_isETH(srcToken) ? desc.amount : 0),
                "Invalid msg.value"
            );
        } else {
            require(
                msg.value == (_isETH(srcToken) ? desc.amount : 0),
                "Invalid msg.value"
            );
        }

        require(
            desc.srcReceivers.length == desc.srcAmounts.length,
            "Invalid lengths for receiving src tokens"
        );

        if (flags & _SHOULD_CLAIM != 0) {
            require(!_isETH(srcToken), "Claim token is ETH");
            _permit(srcToken, desc.amount, desc.permit);
            for (uint i = 0; i < desc.srcReceivers.length; i++) {
                TransferHelper.safeTransferFrom(
                    address(srcToken),
                    msg.sender,
                    desc.srcReceivers[i],
                    desc.srcAmounts[i]
                );
            }
        }

        if (_isETH(srcToken)) {
            // normally in case taking fee in srcToken and srcToken is the native token
            for (uint i = 0; i < desc.srcReceivers.length; i++) {
                TransferHelper.safeTransferETH(
                    desc.srcReceivers[i],
                    desc.srcAmounts[i]
                );
            }
        }

        address dstReceiver =
            (desc.dstReceiver == address(0)) ? msg.sender : desc.dstReceiver;
        uint256 initialSrcBalance =
            (flags & _PARTIAL_FILL != 0) ? _getBalance(srcToken, msg.sender) : 0;
        uint256 initialDstBalance = _getBalance(dstToken, dstReceiver);

        _callWithEth(caller, executorData);

        uint256 spentAmount = desc.amount;
        returnAmount = _getBalance(dstToken, dstReceiver).sub(initialDstBalance);

        if (flags & _PARTIAL_FILL != 0) {
            spentAmount = initialSrcBalance.add(desc.amount).sub(
                _getBalance(srcToken, msg.sender)
            );
            require(
                returnAmount.mul(desc.amount) >=
                    desc.minReturnAmount.mul(spentAmount),
                "Return amount is not enough"
            );
        } else {
            require(
                returnAmount >= desc.minReturnAmount,
                "Return amount is not enough"
            );
        }

        emit Swapped(
            msg.sender,
            srcToken,
            dstToken,
            dstReceiver,
            spentAmount,
            returnAmount
        );
        emit Exchange(
            address(caller),
            returnAmount,
            _isETH(dstToken) ? WETH : address(dstToken)
        );
        emit ClientData(
            clientData
        );
    }

    function swapSimpleMode(
        IAggregationExecutor caller,
        SwapDescription calldata desc,
        bytes calldata executorData,
        bytes calldata clientData
    ) public returns (uint256 returnAmount) {
        IERC20 srcToken = desc.srcToken;
        IERC20 dstToken = desc.dstToken;
        require(!_isETH(srcToken), "src is eth, should use normal swap");

        _permit(srcToken, desc.amount, desc.permit);

        uint256 totalSwapAmount = desc.amount;
        if (desc.srcReceivers.length > 0) {
            // take fee in tokenIn
            require(
                desc.srcReceivers.length == 1 &&
                desc.srcReceivers.length == desc.srcAmounts.length,
                "Wrong number of src receivers"
            );
            TransferHelper.safeTransferFrom(
                address(srcToken),
                msg.sender,
                desc.srcReceivers[0],
                desc.srcAmounts[0]
            );
            require(desc.srcAmounts[0] <= totalSwapAmount, "invalid fee amount in src token");
            totalSwapAmount -= desc.srcAmounts[0];
        }

        address dstReceiver =
            (desc.dstReceiver == address(0)) ? msg.sender : desc.dstReceiver;
        uint256 initialDstBalance = _getBalance(dstToken, dstReceiver);

        _swapMultiSequencesWithSimpleMode(
            caller,
            address(srcToken),
            totalSwapAmount,
            address(dstToken),
            dstReceiver,
            executorData
        );

        returnAmount = _getBalance(dstToken, dstReceiver).sub(initialDstBalance);

        require(
            returnAmount >= desc.minReturnAmount,
            "Return amount is not enough"
        );

        emit Swapped(
            msg.sender,
            srcToken,
            dstToken,
            dstReceiver,
            desc.amount,
            returnAmount
        );
        emit Exchange(
            address(caller),
            returnAmount,
            _isETH(dstToken) ? WETH : address(dstToken)
        );
        emit ClientData(
            clientData
        );
    }

    // Only use this mode if the first pool of each sequence can receive tokenIn directly into the pool
    function _swapMultiSequencesWithSimpleMode(
        IAggregationExecutor caller,
        address tokenIn,
        uint256 totalSwapAmount,
        address tokenOut,
        address dstReceiver,
        bytes calldata executorData
    ) internal {
        SimpleSwapData memory swapData = abi.decode(executorData, (SimpleSwapData));
        require(swapData.deadline >= block.timestamp, "ROUTER: Expired");
        require(
            swapData.firstPools.length == swapData.firstSwapAmounts.length
            && swapData.firstPools.length == swapData.swapDatas.length,
            "invalid swap data length"
        );
        uint256 numberSeq = swapData.firstPools.length;
        for (uint256 i = 0; i < numberSeq; i++) {
            // collect amount to the first pool
            TransferHelper.safeTransferFrom(
                tokenIn,
                msg.sender,
                swapData.firstPools[i],
                swapData.firstSwapAmounts[i]
            );
            require(swapData.firstSwapAmounts[i] <= totalSwapAmount, "invalid swap amount");
            totalSwapAmount -= swapData.firstSwapAmounts[i];
            {
                // solhint-disable-next-line avoid-low-level-calls
                // may take some native tokens for commission fee
                (bool success, bytes memory result) =
                    address(caller).call(
                        abi.encodeWithSelector(
                            caller.swapSingleSequence.selector,
                            swapData.swapDatas[i]
                        )
                    );
                if (!success) {
                    revert(RevertReasonParser.parse(result, "swapSingleSequence failed: "));
                }
            }
        }
        {
            // solhint-disable-next-line avoid-low-level-calls
            // may take some native tokens for commission fee
            (bool success, bytes memory result) =
                address(caller).call(
                    abi.encodeWithSelector(
                        caller.finalTransactionProcessing.selector,
                        tokenIn,
                        tokenOut,
                        dstReceiver,
                        swapData.destTokenFeeData
                    )
                );
            if (!success) {
                revert(RevertReasonParser.parse(result, "finalTransactionProcessing failed: "));
            }
        }
    }

    function _getBalance(IERC20 token, address account)
        internal
        view
        returns (uint256)
    {
        if (_isETH(token)) {
            return account.balance;
        } else {
            return token.balanceOf(account);
        }
    }

    function _isETH(IERC20 token) internal pure returns (bool) {
        return (address(token) == ETH_ADDRESS);
    }

    function _callWithEth(IAggregationExecutor caller, bytes calldata executorData) internal {
        // solhint-disable-next-line avoid-low-level-calls
        // may take some native tokens for commission fee
        uint256 ethAmount = _getBalance(IERC20(ETH_ADDRESS), address(this));
        if (ethAmount > msg.value) ethAmount = msg.value;
        (bool success, bytes memory result) =
            address(caller).call{value: ethAmount}(
                abi.encodeWithSelector(caller.callBytes.selector, executorData)
            );
        if (!success) {
            revert(RevertReasonParser.parse(result, "callBytes failed: "));
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_WETH","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes","name":"clientData","type":"bytes"}],"name":"ClientData","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"reason","type":"string"}],"name":"Error","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountOut","type":"uint256"},{"indexed":false,"internalType":"address","name":"output","type":"address"}],"name":"Exchange","type":"event"},{"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":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"contract IERC20","name":"srcToken","type":"address"},{"indexed":false,"internalType":"contract IERC20","name":"dstToken","type":"address"},{"indexed":false,"internalType":"address","name":"dstReceiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"spentAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"returnAmount","type":"uint256"}],"name":"Swapped","type":"event"},{"inputs":[],"name":"WETH","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IAggregationExecutor","name":"caller","type":"address"},{"components":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"dstToken","type":"address"},{"internalType":"address[]","name":"srcReceivers","type":"address[]"},{"internalType":"uint256[]","name":"srcAmounts","type":"uint256[]"},{"internalType":"address","name":"dstReceiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturnAmount","type":"uint256"},{"internalType":"uint256","name":"flags","type":"uint256"},{"internalType":"bytes","name":"permit","type":"bytes"}],"internalType":"struct AggregationRouter.SwapDescription","name":"desc","type":"tuple"},{"internalType":"bytes","name":"executorData","type":"bytes"},{"internalType":"bytes","name":"clientData","type":"bytes"}],"name":"swap","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IAggregationExecutor","name":"caller","type":"address"},{"components":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"contract IERC20","name":"dstToken","type":"address"},{"internalType":"address[]","name":"srcReceivers","type":"address[]"},{"internalType":"uint256[]","name":"srcAmounts","type":"uint256[]"},{"internalType":"address","name":"dstReceiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturnAmount","type":"uint256"},{"internalType":"uint256","name":"flags","type":"uint256"},{"internalType":"bytes","name":"permit","type":"bytes"}],"internalType":"struct AggregationRouter.SwapDescription","name":"desc","type":"tuple"},{"internalType":"bytes","name":"executorData","type":"bytes"},{"internalType":"bytes","name":"clientData","type":"bytes"}],"name":"swapSimpleMode","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a06040523480156200001157600080fd5b506040516200304f3803806200304f8339810160408190526200003491620000a4565b600062000040620000a0565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060601b6001600160601b031916608052620000d4565b3390565b600060208284031215620000b6578081fd5b81516001600160a01b0381168114620000cd578182fd5b9392505050565b60805160601c612f4f62000100600039806091528061064e5280610bbb5280610c3f5250612f4f6000f3fe6080604052600436106100745760003560e01c8063a7f5c1041161004e578063a7f5c1041461011f578063abcffc261461014c578063ad5c46481461015f578063f2fde38b14610174576100ba565b8063715018a6146100bf57806378e3214f146100d45780638da5cb5b146100f4576100ba565b366100ba573373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146100b857fe5b005b600080fd5b3480156100cb57600080fd5b506100b8610194565b3480156100e057600080fd5b506100b86100ef36600461228a565b61027f565b34801561010057600080fd5b5061010961031e565b6040516101169190612671565b60405180910390f35b34801561012b57600080fd5b5061013f61013a3660046122d5565b61033a565b6040516101169190612668565b61013f61015a3660046122d5565b6106cd565b34801561016b57600080fd5b50610109610c3d565b34801561018057600080fd5b506100b861018f366004612267565b610c61565b61019c610dae565b73ffffffffffffffffffffffffffffffffffffffff166101ba61031e565b73ffffffffffffffffffffffffffffffffffffffff1614610210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612b3f565b60405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610287610dae565b73ffffffffffffffffffffffffffffffffffffffff166102a561031e565b73ffffffffffffffffffffffffffffffffffffffff16146102f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612b3f565b6102fb82610db2565b1561030f5761030a3382610de4565b61031a565b61031a823383610e9d565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60008061034a6020880188612267565b9050600061035e6040890160208a01612267565b905061036982610db2565b156103a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612a06565b6103bc8260a08a01356103b76101008c018c612e00565b610fc6565b60a088013560006103d060408b018b612d67565b90501115610519576103e560408a018a612d67565b9050600114801561041157506103fe60608a018a612dcc565b905061040d60408b018b612d67565b9050145b610447576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102079061285f565b61049d833361045960408d018d612d67565b600081811061046457fe5b90506020020160208101906104799190612267565b61048660608e018e612dcc565b600081811061049157fe5b905060200201356111d4565b806104ab60608b018b612dcc565b60008181106104b657fe5b9050602002013511156104f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612bab565b61050260608a018a612dcc565b600081811061050d57fe5b90506020020135810390505b60008061052c60a08c0160808d01612267565b73ffffffffffffffffffffffffffffffffffffffff161461055c5761055760a08b0160808c01612267565b61055e565b335b9050600061056c84836112f8565b905061057d8c868587868f8f6113d1565b6105918161058b86856112f8565b90611803565b95508a60c001358610156105d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612ad1565b7fd6d4f5681c246c9f42c203e287975af1601f8df8035a9251f79aab5c8f09e2f8338686858f60a001358b60405161060e969594939291906126b9565b60405180910390a17fddac40937f35385a34f721af292e5a83fc5b840f722bff57c2fc71adba708c488c8761064287610db2565b61064c578661066e565b7f00000000000000000000000000000000000000000000000000000000000000005b60405161067d93929190612798565b60405180910390a17f095e66fa4dd6a6f7b43fb8444a7bd0edb870508c7abf639bc216efb0bcff977988886040516106b69291906127c8565b60405180910390a150505050509695505050505050565b6000808660c001351161070c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612b08565b83610743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612c9c565b60e086013560208116156107675761075f88888888888861033a565b915050610c33565b60006107766020890189612267565b9050600061078a60408a0160208b01612267565b905060028316156107ec5761079e82610db2565b6107a95760006107af565b8860a001355b34116107e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612a63565b61083e565b6107f582610db2565b610800576000610806565b8860a001355b341461083e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612a63565b61084b60608a018a612dcc565b905061085a60408b018b612d67565b905014610893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612be2565b600483161561095e576108a582610db2565b156108dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610207906128cd565b6108f38260a08b01356103b76101008d018d612e00565b60005b61090360408b018b612d67565b905081101561095c57610954833361091e60408e018e612d67565b8581811061092857fe5b905060200201602081019061093d9190612267565b61094a60608f018f612dcc565b8681811061049157fe5b6001016108f6565b505b61096782610db2565b156109e15760005b61097c60408b018b612d67565b90508110156109df576109d761099560408c018c612d67565b8381811061099f57fe5b90506020020160208101906109b49190612267565b6109c160608d018d612dcc565b848181106109cb57fe5b90506020020135610de4565b60010161096f565b505b6000806109f460a08c0160808d01612267565b73ffffffffffffffffffffffffffffffffffffffff1614610a2457610a1f60a08b0160808c01612267565b610a26565b335b9050600060018516610a39576000610a43565b610a4384336112f8565b90506000610a5184846112f8565b9050610a5e8d8c8c611840565b60a08c0135610a718261058b87876112f8565b97506001871615610b0457610aa0610a8987336112f8565b61058b8f60a00135866119b790919063ffffffff16565b9050610ab060c08e0135826119f4565b610ac78e60a001358a6119f490919063ffffffff16565b1015610aff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612ad1565b610b42565b8c60c00135881015610b42576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612ad1565b7fd6d4f5681c246c9f42c203e287975af1601f8df8035a9251f79aab5c8f09e2f833878787858d604051610b7b969594939291906126b9565b60405180910390a17fddac40937f35385a34f721af292e5a83fc5b840f722bff57c2fc71adba708c488e89610baf88610db2565b610bb95787610bdb565b7f00000000000000000000000000000000000000000000000000000000000000005b604051610bea93929190612798565b60405180910390a17f095e66fa4dd6a6f7b43fb8444a7bd0edb870508c7abf639bc216efb0bcff97798a8a604051610c239291906127c8565b60405180910390a1505050505050505b9695505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610c69610dae565b73ffffffffffffffffffffffffffffffffffffffff16610c8761031e565b73ffffffffffffffffffffffffffffffffffffffff1614610cd4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612b3f565b73ffffffffffffffffffffffffffffffffffffffff8116610d21576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102079061293b565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b73ffffffffffffffffffffffffffffffffffffffff811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14919050565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff8416908390604051610e1b91906124fc565b60006040518083038185875af1925050503d8060008114610e58576040519150601f19603f3d011682016040523d82523d6000602084013e610e5d565b606091505b5050905080610e98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612c3f565b505050565b6000808473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401610ecf929190612772565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051610f1d91906124fc565b6000604051808303816000865af19150503d8060008114610f5a576040519150601f19603f3d011682016040523d82523d6000602084013e610f5f565b606091505b5091509150818015610f89575080511580610f89575080806020019051810190610f8991906122b5565b610fbf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612896565b5050505050565b60e08114156111ce576000808573ffffffffffffffffffffffffffffffffffffffff1663d505accf60e01b8585604051602001611005939291906124c0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905261103d916124fc565b6000604051808303816000865af19150503d806000811461107a576040519150601f19603f3d011682016040523d82523d6000602084013e61107f565b606091505b5091509150816111cb5760006110ca826040518060400160405280601481526020017f5065726d69742063616c6c206661696c65643a20000000000000000000000000815250611a45565b9050858773ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401611108929190612692565b60206040518083038186803b15801561112057600080fd5b505afa158015611134573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611158919061245e565b101561119257806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102079190612815565b7f08c379a0afcc32b1a39302f7cb8073359698411ab5fd6e3edb2c02c0b5fba8aa816040516111c19190612815565b60405180910390a1505b50505b50505050565b6000808573ffffffffffffffffffffffffffffffffffffffff166323b872dd86868660405160240161120893929190612741565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060405161125691906124fc565b6000604051808303816000865af19150503d8060008114611293576040519150601f19603f3d011682016040523d82523d6000602084013e611298565b606091505b50915091508180156112c25750805115806112c25750808060200190518101906112c291906122b5565b6111cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612d0a565b600061130383610db2565b15611326575073ffffffffffffffffffffffffffffffffffffffff8116316113cb565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906370a0823190611378908590600401612671565b60206040518083038186803b15801561139057600080fd5b505afa1580156113a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c8919061245e565b90505b92915050565b60006113df82840184612380565b9050428160600151101561141f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612cd3565b60208101515181515114801561143b5750604081015151815151145b611471576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612a9a565b80515160005b818110156116c1576114b989338560000151848151811061149457fe5b6020026020010151866020015185815181106114ac57fe5b60200260200101516111d4565b87836020015182815181106114ca57fe5b6020026020010151111561150a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612904565b8260200151818151811061151a57fe5b6020026020010151880397506000808b73ffffffffffffffffffffffffffffffffffffffff16638b674f5d60e01b8660400151858151811061155857fe5b60200260200101516040516024016115709190612815565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925290516115f991906124fc565b6000604051808303816000865af19150503d8060008114611636576040519150601f19603f3d011682016040523d82523d6000602084013e61163b565b606091505b5091509150816116b757611684816040518060400160405280601b81526020017f7377617053696e676c6553657175656e6365206661696c65643a200000000000815250611a45565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102079190612815565b5050600101611477565b506000808a73ffffffffffffffffffffffffffffffffffffffff1663774b6b7e60e01b8b8a8a88608001516040516024016116ff9493929190612700565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090941693909317909252905161178891906124fc565b6000604051808303816000865af19150503d80600081146117c5576040519150601f19603f3d011682016040523d82523d6000602084013e6117ca565b606091505b5091509150816117f65761168481604051806060016040528060238152602001612ef760239139611a45565b5050505050505050505050565b808203828111156113cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612828565b600061186073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee306112f8565b90503481111561186d5750345b6000808573ffffffffffffffffffffffffffffffffffffffff168363d9c4535760e01b87876040516024016118a39291906127c8565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090941693909317909252905161192c91906124fc565b60006040518083038185875af1925050503d8060008114611969576040519150601f19603f3d011682016040523d82523d6000602084013e61196e565b606091505b5091509150816111cb57611684816040518060400160405280601281526020017f63616c6c4279746573206661696c65643a200000000000000000000000000000815250611a45565b808201828110156113cb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610207906129cf565b6000811580611a0f57505080820282828281611a0c57fe5b04145b6113cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612998565b60606044835110158015611aac575082600081518110611a6157fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f0800000000000000000000000000000000000000000000000000000000000000145b8015611b0b575082600181518110611ac057fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167fc300000000000000000000000000000000000000000000000000000000000000145b8015611b6a575082600281518110611b1f57fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7900000000000000000000000000000000000000000000000000000000000000145b8015611bc9575082600381518110611b7e57fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167fa000000000000000000000000000000000000000000000000000000000000000145b15611c3f576060604484019050805160440184511015611c15576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612b74565b8281604051602001611c2892919061261c565b6040516020818303038152906040529150506113cb565b82516024148015611ca3575082600081518110611c5857fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f4e00000000000000000000000000000000000000000000000000000000000000145b8015611d02575082600181518110611cb757fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f4800000000000000000000000000000000000000000000000000000000000000145b8015611d61575082600281518110611d1657fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7b00000000000000000000000000000000000000000000000000000000000000145b8015611dc0575082600381518110611d7557fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7100000000000000000000000000000000000000000000000000000000000000145b15611de557602483015182611dd482611e17565b604051602001611c28929190612518565b81611def84611e3d565b604051602001611e0092919061259a565b604051602081830303815290604052905092915050565b60606113cb82604051602001611e2d9190612668565b6040516020818303038152906040525b80516060907f30313233343536373839616263646566000000000000000000000000000000009060009060029081020167ffffffffffffffff81118015611e8357600080fd5b506040519080825280601f01601f191660200182016040528015611eae576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611edf57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611f3c57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b845181101561207157826004868381518110611f8657fe5b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c60f81c60108110611fbc57fe5b1a60f81b828260020260020181518110611fd257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508285828151811061200e57fe5b60209101015160f81c600f166010811061202457fe5b1a60f81b82826002026003018151811061203a57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600101611f6e565b509392505050565b600082601f830112612089578081fd5b8135602061209e61209983612e87565b612e63565b82815281810190858301838502870184018810156120ba578586fd5b855b858110156120e15781356120cf81612ed1565b845292840192908401906001016120bc565b5090979650505050505050565b600082601f8301126120fe578081fd5b8135602061210e61209983612e87565b82815281810190858301855b858110156120e157612131898684358b01016121e4565b8452928401929084019060010161211a565b600082601f830112612153578081fd5b8135602061216361209983612e87565b828152818101908583018385028701840188101561217f578586fd5b855b858110156120e157813584529284019290840190600101612181565b60008083601f8401126121ae578182fd5b50813567ffffffffffffffff8111156121c5578182fd5b6020830191508360208285010111156121dd57600080fd5b9250929050565b600082601f8301126121f4578081fd5b813567ffffffffffffffff81111561220857fe5b61223960207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601612e63565b81815284602083860101111561224d578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215612278578081fd5b813561228381612ed1565b9392505050565b6000806040838503121561229c578081fd5b82356122a781612ed1565b946020939093013593505050565b6000602082840312156122c6578081fd5b81518015158114612283578182fd5b600080600080600080608087890312156122ed578182fd5b86356122f881612ed1565b9550602087013567ffffffffffffffff80821115612314578384fd5b90880190610120828b031215612328578384fd5b9095506040880135908082111561233d578384fd5b6123498a838b0161219d565b90965094506060890135915080821115612361578384fd5b5061236e89828a0161219d565b979a9699509497509295939492505050565b600060208284031215612391578081fd5b813567ffffffffffffffff808211156123a8578283fd5b9083019060a082860312156123bb578283fd5b6123c560a0612e63565b8235828111156123d3578485fd5b6123df87828601612079565b8252506020830135828111156123f3578485fd5b6123ff87828601612143565b602083015250604083013582811115612416578485fd5b612422878286016120ee565b60408301525060608301356060820152608083013582811115612443578485fd5b61244f878286016121e4565b60808301525095945050505050565b60006020828403121561246f578081fd5b5051919050565b6000815180845261248e816020860160208601612ea5565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60007fffffffff000000000000000000000000000000000000000000000000000000008516825282846004840137910160040190815292915050565b6000825161250e818460208701612ea5565b9190910192915050565b6000835161252a818460208801612ea5565b7f50616e69632800000000000000000000000000000000000000000000000000009083019081528351612564816006840160208801612ea5565b7f290000000000000000000000000000000000000000000000000000000000000060069290910191820152600701949350505050565b600083516125ac818460208801612ea5565b7f556e6b6e6f776e2800000000000000000000000000000000000000000000000090830190815283516125e6816008840160208801612ea5565b7f290000000000000000000000000000000000000000000000000000000000000060089290910191820152600901949350505050565b6000835161262e818460208801612ea5565b7f4572726f722800000000000000000000000000000000000000000000000000009083019081528351612564816006840160208801612ea5565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff92831681529116602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff96871681529486166020860152928516604085015293166060830152608082019290925260a081019190915260c00190565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015280851660408401525060806060830152610c336080830184612476565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff93841681526020810192909252909116604082015260600190565b60006020825282602083015282846040840137818301604090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101919050565b6000602082526122836020830184612476565b60208082526015908201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604082015260600190565b6020808252601d908201527f57726f6e67206e756d626572206f662073726320726563656976657273000000604082015260600190565b6020808252601f908201527f5472616e7366657248656c7065723a205452414e534645525f4641494c454400604082015260600190565b60208082526012908201527f436c61696d20746f6b656e206973204554480000000000000000000000000000604082015260600190565b60208082526013908201527f696e76616c6964207377617020616d6f756e7400000000000000000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526014908201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604082015260600190565b60208082526014908201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604082015260600190565b60208082526022908201527f737263206973206574682c2073686f756c6420757365206e6f726d616c20737760408201527f6170000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526011908201527f496e76616c6964206d73672e76616c7565000000000000000000000000000000604082015260600190565b60208082526018908201527f696e76616c696420737761702064617461206c656e6774680000000000000000604082015260600190565b6020808252601b908201527f52657475726e20616d6f756e74206973206e6f7420656e6f7567680000000000604082015260600190565b6020808252601a908201527f4d696e2072657475726e2073686f756c64206e6f742062652030000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526015908201527f496e76616c69642072657665727420726561736f6e0000000000000000000000604082015260600190565b6020808252601f908201527f696e76616c69642066656520616d6f756e7420696e2073726320746f6b656e00604082015260600190565b60208082526028908201527f496e76616c6964206c656e6774687320666f7220726563656976696e6720737260408201527f6320746f6b656e73000000000000000000000000000000000000000000000000606082015260800190565b60208082526023908201527f5472616e7366657248656c7065723a204554485f5452414e534645525f46414960408201527f4c45440000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f6578656375746f72446174612073686f756c64206265206e6f74207a65726f00604082015260600190565b6020808252600f908201527f524f555445523a20457870697265640000000000000000000000000000000000604082015260600190565b60208082526024908201527f5472616e7366657248656c7065723a205452414e534645525f46524f4d5f464160408201527f494c454400000000000000000000000000000000000000000000000000000000606082015260800190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612d9b578283fd5b83018035915067ffffffffffffffff821115612db5578283fd5b60209081019250810236038213156121dd57600080fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612d9b578182fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612e34578283fd5b83018035915067ffffffffffffffff821115612e4e578283fd5b6020019150368190038213156121dd57600080fd5b60405181810167ffffffffffffffff81118282101715612e7f57fe5b604052919050565b600067ffffffffffffffff821115612e9b57fe5b5060209081020190565b60005b83811015612ec0578181015183820152602001612ea8565b838111156111ce5750506000910152565b73ffffffffffffffffffffffffffffffffffffffff81168114612ef357600080fd5b5056fe66696e616c5472616e73616374696f6e50726f63657373696e67206661696c65643a20a2646970667358221220a9d0b1ca14b5e1986776b8e084d4767af65ebbbd1d3a8526ccc0aa534fbc7c0164736f6c63430007060033000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

Deployed Bytecode

0x6080604052600436106100745760003560e01c8063a7f5c1041161004e578063a7f5c1041461011f578063abcffc261461014c578063ad5c46481461015f578063f2fde38b14610174576100ba565b8063715018a6146100bf57806378e3214f146100d45780638da5cb5b146100f4576100ba565b366100ba573373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216146100b857fe5b005b600080fd5b3480156100cb57600080fd5b506100b8610194565b3480156100e057600080fd5b506100b86100ef36600461228a565b61027f565b34801561010057600080fd5b5061010961031e565b6040516101169190612671565b60405180910390f35b34801561012b57600080fd5b5061013f61013a3660046122d5565b61033a565b6040516101169190612668565b61013f61015a3660046122d5565b6106cd565b34801561016b57600080fd5b50610109610c3d565b34801561018057600080fd5b506100b861018f366004612267565b610c61565b61019c610dae565b73ffffffffffffffffffffffffffffffffffffffff166101ba61031e565b73ffffffffffffffffffffffffffffffffffffffff1614610210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612b3f565b60405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610287610dae565b73ffffffffffffffffffffffffffffffffffffffff166102a561031e565b73ffffffffffffffffffffffffffffffffffffffff16146102f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612b3f565b6102fb82610db2565b1561030f5761030a3382610de4565b61031a565b61031a823383610e9d565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60008061034a6020880188612267565b9050600061035e6040890160208a01612267565b905061036982610db2565b156103a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612a06565b6103bc8260a08a01356103b76101008c018c612e00565b610fc6565b60a088013560006103d060408b018b612d67565b90501115610519576103e560408a018a612d67565b9050600114801561041157506103fe60608a018a612dcc565b905061040d60408b018b612d67565b9050145b610447576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102079061285f565b61049d833361045960408d018d612d67565b600081811061046457fe5b90506020020160208101906104799190612267565b61048660608e018e612dcc565b600081811061049157fe5b905060200201356111d4565b806104ab60608b018b612dcc565b60008181106104b657fe5b9050602002013511156104f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612bab565b61050260608a018a612dcc565b600081811061050d57fe5b90506020020135810390505b60008061052c60a08c0160808d01612267565b73ffffffffffffffffffffffffffffffffffffffff161461055c5761055760a08b0160808c01612267565b61055e565b335b9050600061056c84836112f8565b905061057d8c868587868f8f6113d1565b6105918161058b86856112f8565b90611803565b95508a60c001358610156105d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612ad1565b7fd6d4f5681c246c9f42c203e287975af1601f8df8035a9251f79aab5c8f09e2f8338686858f60a001358b60405161060e969594939291906126b9565b60405180910390a17fddac40937f35385a34f721af292e5a83fc5b840f722bff57c2fc71adba708c488c8761064287610db2565b61064c578661066e565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc25b60405161067d93929190612798565b60405180910390a17f095e66fa4dd6a6f7b43fb8444a7bd0edb870508c7abf639bc216efb0bcff977988886040516106b69291906127c8565b60405180910390a150505050509695505050505050565b6000808660c001351161070c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612b08565b83610743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612c9c565b60e086013560208116156107675761075f88888888888861033a565b915050610c33565b60006107766020890189612267565b9050600061078a60408a0160208b01612267565b905060028316156107ec5761079e82610db2565b6107a95760006107af565b8860a001355b34116107e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612a63565b61083e565b6107f582610db2565b610800576000610806565b8860a001355b341461083e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612a63565b61084b60608a018a612dcc565b905061085a60408b018b612d67565b905014610893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612be2565b600483161561095e576108a582610db2565b156108dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610207906128cd565b6108f38260a08b01356103b76101008d018d612e00565b60005b61090360408b018b612d67565b905081101561095c57610954833361091e60408e018e612d67565b8581811061092857fe5b905060200201602081019061093d9190612267565b61094a60608f018f612dcc565b8681811061049157fe5b6001016108f6565b505b61096782610db2565b156109e15760005b61097c60408b018b612d67565b90508110156109df576109d761099560408c018c612d67565b8381811061099f57fe5b90506020020160208101906109b49190612267565b6109c160608d018d612dcc565b848181106109cb57fe5b90506020020135610de4565b60010161096f565b505b6000806109f460a08c0160808d01612267565b73ffffffffffffffffffffffffffffffffffffffff1614610a2457610a1f60a08b0160808c01612267565b610a26565b335b9050600060018516610a39576000610a43565b610a4384336112f8565b90506000610a5184846112f8565b9050610a5e8d8c8c611840565b60a08c0135610a718261058b87876112f8565b97506001871615610b0457610aa0610a8987336112f8565b61058b8f60a00135866119b790919063ffffffff16565b9050610ab060c08e0135826119f4565b610ac78e60a001358a6119f490919063ffffffff16565b1015610aff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612ad1565b610b42565b8c60c00135881015610b42576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612ad1565b7fd6d4f5681c246c9f42c203e287975af1601f8df8035a9251f79aab5c8f09e2f833878787858d604051610b7b969594939291906126b9565b60405180910390a17fddac40937f35385a34f721af292e5a83fc5b840f722bff57c2fc71adba708c488e89610baf88610db2565b610bb95787610bdb565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc25b604051610bea93929190612798565b60405180910390a17f095e66fa4dd6a6f7b43fb8444a7bd0edb870508c7abf639bc216efb0bcff97798a8a604051610c239291906127c8565b60405180910390a1505050505050505b9695505050505050565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b610c69610dae565b73ffffffffffffffffffffffffffffffffffffffff16610c8761031e565b73ffffffffffffffffffffffffffffffffffffffff1614610cd4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612b3f565b73ffffffffffffffffffffffffffffffffffffffff8116610d21576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102079061293b565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b73ffffffffffffffffffffffffffffffffffffffff811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14919050565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff8416908390604051610e1b91906124fc565b60006040518083038185875af1925050503d8060008114610e58576040519150601f19603f3d011682016040523d82523d6000602084013e610e5d565b606091505b5050905080610e98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612c3f565b505050565b6000808473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401610ecf929190612772565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051610f1d91906124fc565b6000604051808303816000865af19150503d8060008114610f5a576040519150601f19603f3d011682016040523d82523d6000602084013e610f5f565b606091505b5091509150818015610f89575080511580610f89575080806020019051810190610f8991906122b5565b610fbf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612896565b5050505050565b60e08114156111ce576000808573ffffffffffffffffffffffffffffffffffffffff1663d505accf60e01b8585604051602001611005939291906124c0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905261103d916124fc565b6000604051808303816000865af19150503d806000811461107a576040519150601f19603f3d011682016040523d82523d6000602084013e61107f565b606091505b5091509150816111cb5760006110ca826040518060400160405280601481526020017f5065726d69742063616c6c206661696c65643a20000000000000000000000000815250611a45565b9050858773ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401611108929190612692565b60206040518083038186803b15801561112057600080fd5b505afa158015611134573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611158919061245e565b101561119257806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102079190612815565b7f08c379a0afcc32b1a39302f7cb8073359698411ab5fd6e3edb2c02c0b5fba8aa816040516111c19190612815565b60405180910390a1505b50505b50505050565b6000808573ffffffffffffffffffffffffffffffffffffffff166323b872dd86868660405160240161120893929190612741565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060405161125691906124fc565b6000604051808303816000865af19150503d8060008114611293576040519150601f19603f3d011682016040523d82523d6000602084013e611298565b606091505b50915091508180156112c25750805115806112c25750808060200190518101906112c291906122b5565b6111cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612d0a565b600061130383610db2565b15611326575073ffffffffffffffffffffffffffffffffffffffff8116316113cb565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906370a0823190611378908590600401612671565b60206040518083038186803b15801561139057600080fd5b505afa1580156113a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c8919061245e565b90505b92915050565b60006113df82840184612380565b9050428160600151101561141f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612cd3565b60208101515181515114801561143b5750604081015151815151145b611471576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612a9a565b80515160005b818110156116c1576114b989338560000151848151811061149457fe5b6020026020010151866020015185815181106114ac57fe5b60200260200101516111d4565b87836020015182815181106114ca57fe5b6020026020010151111561150a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612904565b8260200151818151811061151a57fe5b6020026020010151880397506000808b73ffffffffffffffffffffffffffffffffffffffff16638b674f5d60e01b8660400151858151811061155857fe5b60200260200101516040516024016115709190612815565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925290516115f991906124fc565b6000604051808303816000865af19150503d8060008114611636576040519150601f19603f3d011682016040523d82523d6000602084013e61163b565b606091505b5091509150816116b757611684816040518060400160405280601b81526020017f7377617053696e676c6553657175656e6365206661696c65643a200000000000815250611a45565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102079190612815565b5050600101611477565b506000808a73ffffffffffffffffffffffffffffffffffffffff1663774b6b7e60e01b8b8a8a88608001516040516024016116ff9493929190612700565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090941693909317909252905161178891906124fc565b6000604051808303816000865af19150503d80600081146117c5576040519150601f19603f3d011682016040523d82523d6000602084013e6117ca565b606091505b5091509150816117f65761168481604051806060016040528060238152602001612ef760239139611a45565b5050505050505050505050565b808203828111156113cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612828565b600061186073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee306112f8565b90503481111561186d5750345b6000808573ffffffffffffffffffffffffffffffffffffffff168363d9c4535760e01b87876040516024016118a39291906127c8565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090941693909317909252905161192c91906124fc565b60006040518083038185875af1925050503d8060008114611969576040519150601f19603f3d011682016040523d82523d6000602084013e61196e565b606091505b5091509150816111cb57611684816040518060400160405280601281526020017f63616c6c4279746573206661696c65643a200000000000000000000000000000815250611a45565b808201828110156113cb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610207906129cf565b6000811580611a0f57505080820282828281611a0c57fe5b04145b6113cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612998565b60606044835110158015611aac575082600081518110611a6157fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f0800000000000000000000000000000000000000000000000000000000000000145b8015611b0b575082600181518110611ac057fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167fc300000000000000000000000000000000000000000000000000000000000000145b8015611b6a575082600281518110611b1f57fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7900000000000000000000000000000000000000000000000000000000000000145b8015611bc9575082600381518110611b7e57fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167fa000000000000000000000000000000000000000000000000000000000000000145b15611c3f576060604484019050805160440184511015611c15576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161020790612b74565b8281604051602001611c2892919061261c565b6040516020818303038152906040529150506113cb565b82516024148015611ca3575082600081518110611c5857fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f4e00000000000000000000000000000000000000000000000000000000000000145b8015611d02575082600181518110611cb757fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f4800000000000000000000000000000000000000000000000000000000000000145b8015611d61575082600281518110611d1657fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7b00000000000000000000000000000000000000000000000000000000000000145b8015611dc0575082600381518110611d7557fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7100000000000000000000000000000000000000000000000000000000000000145b15611de557602483015182611dd482611e17565b604051602001611c28929190612518565b81611def84611e3d565b604051602001611e0092919061259a565b604051602081830303815290604052905092915050565b60606113cb82604051602001611e2d9190612668565b6040516020818303038152906040525b80516060907f30313233343536373839616263646566000000000000000000000000000000009060009060029081020167ffffffffffffffff81118015611e8357600080fd5b506040519080825280601f01601f191660200182016040528015611eae576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611edf57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611f3c57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b845181101561207157826004868381518110611f8657fe5b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c60f81c60108110611fbc57fe5b1a60f81b828260020260020181518110611fd257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508285828151811061200e57fe5b60209101015160f81c600f166010811061202457fe5b1a60f81b82826002026003018151811061203a57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600101611f6e565b509392505050565b600082601f830112612089578081fd5b8135602061209e61209983612e87565b612e63565b82815281810190858301838502870184018810156120ba578586fd5b855b858110156120e15781356120cf81612ed1565b845292840192908401906001016120bc565b5090979650505050505050565b600082601f8301126120fe578081fd5b8135602061210e61209983612e87565b82815281810190858301855b858110156120e157612131898684358b01016121e4565b8452928401929084019060010161211a565b600082601f830112612153578081fd5b8135602061216361209983612e87565b828152818101908583018385028701840188101561217f578586fd5b855b858110156120e157813584529284019290840190600101612181565b60008083601f8401126121ae578182fd5b50813567ffffffffffffffff8111156121c5578182fd5b6020830191508360208285010111156121dd57600080fd5b9250929050565b600082601f8301126121f4578081fd5b813567ffffffffffffffff81111561220857fe5b61223960207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601612e63565b81815284602083860101111561224d578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215612278578081fd5b813561228381612ed1565b9392505050565b6000806040838503121561229c578081fd5b82356122a781612ed1565b946020939093013593505050565b6000602082840312156122c6578081fd5b81518015158114612283578182fd5b600080600080600080608087890312156122ed578182fd5b86356122f881612ed1565b9550602087013567ffffffffffffffff80821115612314578384fd5b90880190610120828b031215612328578384fd5b9095506040880135908082111561233d578384fd5b6123498a838b0161219d565b90965094506060890135915080821115612361578384fd5b5061236e89828a0161219d565b979a9699509497509295939492505050565b600060208284031215612391578081fd5b813567ffffffffffffffff808211156123a8578283fd5b9083019060a082860312156123bb578283fd5b6123c560a0612e63565b8235828111156123d3578485fd5b6123df87828601612079565b8252506020830135828111156123f3578485fd5b6123ff87828601612143565b602083015250604083013582811115612416578485fd5b612422878286016120ee565b60408301525060608301356060820152608083013582811115612443578485fd5b61244f878286016121e4565b60808301525095945050505050565b60006020828403121561246f578081fd5b5051919050565b6000815180845261248e816020860160208601612ea5565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60007fffffffff000000000000000000000000000000000000000000000000000000008516825282846004840137910160040190815292915050565b6000825161250e818460208701612ea5565b9190910192915050565b6000835161252a818460208801612ea5565b7f50616e69632800000000000000000000000000000000000000000000000000009083019081528351612564816006840160208801612ea5565b7f290000000000000000000000000000000000000000000000000000000000000060069290910191820152600701949350505050565b600083516125ac818460208801612ea5565b7f556e6b6e6f776e2800000000000000000000000000000000000000000000000090830190815283516125e6816008840160208801612ea5565b7f290000000000000000000000000000000000000000000000000000000000000060089290910191820152600901949350505050565b6000835161262e818460208801612ea5565b7f4572726f722800000000000000000000000000000000000000000000000000009083019081528351612564816006840160208801612ea5565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff92831681529116602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff96871681529486166020860152928516604085015293166060830152608082019290925260a081019190915260c00190565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015280851660408401525060806060830152610c336080830184612476565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff93841681526020810192909252909116604082015260600190565b60006020825282602083015282846040840137818301604090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101919050565b6000602082526122836020830184612476565b60208082526015908201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604082015260600190565b6020808252601d908201527f57726f6e67206e756d626572206f662073726320726563656976657273000000604082015260600190565b6020808252601f908201527f5472616e7366657248656c7065723a205452414e534645525f4641494c454400604082015260600190565b60208082526012908201527f436c61696d20746f6b656e206973204554480000000000000000000000000000604082015260600190565b60208082526013908201527f696e76616c6964207377617020616d6f756e7400000000000000000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526014908201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604082015260600190565b60208082526014908201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604082015260600190565b60208082526022908201527f737263206973206574682c2073686f756c6420757365206e6f726d616c20737760408201527f6170000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526011908201527f496e76616c6964206d73672e76616c7565000000000000000000000000000000604082015260600190565b60208082526018908201527f696e76616c696420737761702064617461206c656e6774680000000000000000604082015260600190565b6020808252601b908201527f52657475726e20616d6f756e74206973206e6f7420656e6f7567680000000000604082015260600190565b6020808252601a908201527f4d696e2072657475726e2073686f756c64206e6f742062652030000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526015908201527f496e76616c69642072657665727420726561736f6e0000000000000000000000604082015260600190565b6020808252601f908201527f696e76616c69642066656520616d6f756e7420696e2073726320746f6b656e00604082015260600190565b60208082526028908201527f496e76616c6964206c656e6774687320666f7220726563656976696e6720737260408201527f6320746f6b656e73000000000000000000000000000000000000000000000000606082015260800190565b60208082526023908201527f5472616e7366657248656c7065723a204554485f5452414e534645525f46414960408201527f4c45440000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f6578656375746f72446174612073686f756c64206265206e6f74207a65726f00604082015260600190565b6020808252600f908201527f524f555445523a20457870697265640000000000000000000000000000000000604082015260600190565b60208082526024908201527f5472616e7366657248656c7065723a205452414e534645525f46524f4d5f464160408201527f494c454400000000000000000000000000000000000000000000000000000000606082015260800190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612d9b578283fd5b83018035915067ffffffffffffffff821115612db5578283fd5b60209081019250810236038213156121dd57600080fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612d9b578182fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612e34578283fd5b83018035915067ffffffffffffffff821115612e4e578283fd5b6020019150368190038213156121dd57600080fd5b60405181810167ffffffffffffffff81118282101715612e7f57fe5b604052919050565b600067ffffffffffffffff821115612e9b57fe5b5060209081020190565b60005b83811015612ec0578181015183820152602001612ea8565b838111156111ce5750506000910152565b73ffffffffffffffffffffffffffffffffffffffff81168114612ef357600080fd5b5056fe66696e616c5472616e73616374696f6e50726f63657373696e67206661696c65643a20a2646970667358221220a9d0b1ca14b5e1986776b8e084d4767af65ebbbd1d3a8526ccc0aa534fbc7c0164736f6c63430007060033

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

000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

-----Decoded View---------------
Arg [0] : _WETH (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2


Deployed Bytecode Sourcemap

12284:11160:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13780:10;:18;13794:4;13780:18;;13773:26;;;;12284:11160;;;;;11691:148;;;;;;;;;;;;;:::i;13879:280::-;;;;;;;;;;-1:-1:-1;13879:280:0;;;;;:::i;:::-;;:::i;11040:87::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;17609:2161;;;;;;;;;;-1:-1:-1;17609:2161:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;14167:3434::-;;;;;;:::i;:::-;;:::i;12374:29::-;;;;;;;;;;;;;:::i;11994:281::-;;;;;;;;;;-1:-1:-1;11994:281:0;;;;;:::i;:::-;;:::i;11691:148::-;11271:12;:10;:12::i;:::-;11260:23;;:7;:5;:7::i;:::-;:23;;;11252:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;11798:1:::1;11782:6:::0;;11761:40:::1;::::0;::::1;11782:6:::0;;::::1;::::0;11761:40:::1;::::0;11798:1;;11761:40:::1;11829:1;11812:19:::0;;;::::1;::::0;;11691:148::o;13879:280::-;11271:12;:10;:12::i;:::-;11260:23;;:7;:5;:7::i;:::-;:23;;;11252:68;;;;;;;;;;;;:::i;:::-;13965:21:::1;13979:5;13965:6;:21::i;:::-;13961:191;;;14003:50;14034:10;14046:6;14003:30;:50::i;:::-;13961:191;;;14086:54;14114:5;14121:10;14133:6;14086:27;:54::i;:::-;13879:280:::0;;:::o;11040:87::-;11086:7;11113:6;;;11040:87;:::o;17609:2161::-;17808:20;;17859:13;;;;:4;:13;:::i;:::-;17841:31;-1:-1:-1;17883:15:0;17901:13;;;;;;;;:::i;:::-;17883:31;;17934:16;17941:8;17934:6;:16::i;:::-;17933:17;17925:64;;;;;;;;;;;;:::i;:::-;18002:43;18010:8;18020:11;;;;18033;;;;18020:4;18033:11;:::i;:::-;18002:7;:43::i;:::-;18084:11;;;;18058:23;18110:17;;;;18084:4;18110:17;:::i;:::-;:24;;:28;18106:638;;;18217:17;;;;:4;:17;:::i;:::-;:24;;18245:1;18217:29;:100;;;;-1:-1:-1;18295:15:0;;;;:4;:15;:::i;:::-;:22;-1:-1:-1;18267:17:0;;;;:4;:17;:::i;:::-;:24;;:50;18217:100;18191:191;;;;;;;;;;;;:::i;:::-;18397:187;18455:8;18483:10;18512:17;;;;:4;:17;:::i;:::-;18530:1;18512:20;;;;;;;;;;;;;;;;;;;;:::i;:::-;18551:15;;;;:4;:15;:::i;:::-;18567:1;18551:18;;;;;;;;;;;;;18397:31;:187::i;:::-;18629:15;18607;;;;:4;:15;:::i;:::-;18623:1;18607:18;;;;;;;;;;;;;:37;;18599:81;;;;;;;;;;;;:::i;:::-;18714:15;;;;:4;:15;:::i;:::-;18730:1;18714:18;;;;;;;;;;;;;18695:37;;;;18106:638;18756:19;;18792:16;;;;;;;;:::i;:::-;:30;;;18791:64;;18839:16;;;;;;;;:::i;:::-;18791:64;;;18826:10;18791:64;18756:99;;18866:25;18894:34;18906:8;18916:11;18894;:34::i;:::-;18866:62;;18941:212;18989:6;19018:8;19042:15;19080:8;19104:11;19130:12;;18941:33;:212::i;:::-;19181:57;19220:17;19181:34;19193:8;19203:11;19181;:34::i;:::-;:38;;:57::i;:::-;19166:72;;19289:4;:20;;;19273:12;:36;;19251:113;;;;;;;;;;;;:::i;:::-;19382:168;19404:10;19429:8;19452;19475:11;19501:4;:11;;;19527:12;19382:168;;;;;;;;;;;:::i;:::-;;;;;;;;19566:134;19597:6;19619:12;19646:16;19653:8;19646:6;:16::i;:::-;:43;;19680:8;19646:43;;;19665:4;19646:43;19566:134;;;;;;;;:::i;:::-;;;;;;;;19716:46;19741:10;;19716:46;;;;;;;:::i;:::-;;;;;;;;17609:2161;;;;;;;;;;;;;:::o;14167:3434::-;14366:20;14430:1;14407:4;:20;;;:24;14399:63;;;;;;;;;;;;:::i;:::-;14481:23;14473:67;;;;;;;;;;;;:::i;:::-;14569:10;;;;12839:4;14625:20;;:25;14621:92;;14659:54;14674:6;14682:4;14688:12;;14702:10;;14659:14;:54::i;:::-;14652:61;;;;;14621:92;14726:15;14744:13;;;;:4;:13;:::i;:::-;14726:31;-1:-1:-1;14768:15:0;14786:13;;;;;;;;:::i;:::-;14768:31;-1:-1:-1;12617:4:0;14816:27;;:32;14812:353;;14904:16;14911:8;14904:6;:16::i;:::-;:34;;14937:1;14904:34;;;14923:4;:11;;;14904:34;14891:9;:48;14865:127;;;;;;;;;;;;:::i;:::-;14812:353;;;15065:16;15072:8;15065:6;:16::i;:::-;:34;;15098:1;15065:34;;;15084:4;:11;;;15065:34;15051:9;:49;15025:128;;;;;;;;;;;;:::i;:::-;15227:15;;;;:4;:15;:::i;:::-;:22;-1:-1:-1;15199:17:0;;;;:4;:17;:::i;:::-;:24;;:50;15177:140;;;;;;;;;;;;:::i;:::-;12669:4;15334:21;;:26;15330:473;;15386:16;15393:8;15386:6;:16::i;:::-;15385:17;15377:48;;;;;;;;;;;;:::i;:::-;15440:43;15448:8;15458:11;;;;15471;;;;15458:4;15471:11;:::i;15440:43::-;15503:6;15498:294;15519:17;;;;:4;:17;:::i;:::-;:24;;15515:1;:28;15498:294;;;15569:207;15631:8;15663:10;15696:17;;;;:4;:17;:::i;:::-;15714:1;15696:20;;;;;;;;;;;;;;;;;;;;:::i;:::-;15739:15;;;;:4;:15;:::i;:::-;15755:1;15739:18;;;;;;15569:207;15545:3;;15498:294;;;;15330:473;15819:16;15826:8;15819:6;:16::i;:::-;15815:357;;;15946:6;15941:220;15962:17;;;;:4;:17;:::i;:::-;:24;;15958:1;:28;15941:220;;;16012:133;16065:17;;;;:4;:17;:::i;:::-;16083:1;16065:20;;;;;;;;;;;;;;;;;;;;:::i;:::-;16108:15;;;;:4;:15;:::i;:::-;16124:1;16108:18;;;;;;;;;;;;;16012:30;:133::i;:::-;15988:3;;15941:220;;;;15815:357;16184:19;;16220:16;;;;;;;;:::i;:::-;:30;;;16219:64;;16267:16;;;;;;;;:::i;:::-;16219:64;;;16254:10;16219:64;16184:99;-1:-1:-1;16294:25:0;12559:4;16336:21;;16335:68;;16402:1;16335:68;;;16366:33;16378:8;16388:10;16366:11;:33::i;:::-;16294:109;;16414:25;16442:34;16454:8;16464:11;16442;:34::i;:::-;16414:62;;16489:34;16502:6;16510:12;;16489;:34::i;:::-;16558:11;;;;16595:57;16634:17;16595:34;16607:8;16617:11;16595;:34::i;:57::-;16580:72;-1:-1:-1;12559:4:0;16669:21;;:26;16665:531;;16726:105;16783:33;16795:8;16805:10;16783:11;:33::i;:::-;16726:34;16748:4;:11;;;16726:17;:21;;:34;;;;:::i;:105::-;16712:119;-1:-1:-1;16926:37:0;:20;;;;16712:119;16926:24;:37::i;:::-;16872:29;16889:4;:11;;;16872:12;:16;;:29;;;;:::i;:::-;:91;;16846:180;;;;;;;;;;;;:::i;:::-;16665:531;;;17101:4;:20;;;17085:12;:36;;17059:125;;;;;;;;;;;;:::i;:::-;17213:168;17235:10;17260:8;17283;17306:11;17332;17358:12;17213:168;;;;;;;;;;;:::i;:::-;;;;;;;;17397:134;17428:6;17450:12;17477:16;17484:8;17477:6;:16::i;:::-;:43;;17511:8;17477:43;;;17496:4;17477:43;17397:134;;;;;;;;:::i;:::-;;;;;;;;17547:46;17572:10;;17547:46;;;;;;;:::i;:::-;;;;;;;;14167:3434;;;;;;;;;;;;;;;;:::o;12374:29::-;;;:::o;11994:281::-;11271:12;:10;:12::i;:::-;11260:23;;:7;:5;:7::i;:::-;:23;;;11252:68;;;;;;;;;;;;:::i;:::-;12097:22:::1;::::0;::::1;12075:110;;;;;;;;;;;;:::i;:::-;12222:6;::::0;;12201:38:::1;::::0;::::1;::::0;;::::1;::::0;12222:6;::::1;::::0;12201:38:::1;::::0;::::1;12250:6;:17:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;11994:281::o;9645:106::-;9733:10;9645:106;:::o;22654:116::-;22732:29;;;12466:42;22732:29;22654:116;;;:::o;4267:200::-;4380:12;;;4340;4380;;;;;;;;;4358:7;;;;4373:5;;4358:35;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4339:54;;;4412:7;4404:55;;;;;;;;;;;;:::i;:::-;4267:200;;;:::o;3305:448::-;3491:12;3505:17;3539:5;:10;;3573;3585:2;3589:5;3550:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3539:57;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3490:106;;;;3629:7;:57;;;;-1:-1:-1;3641:11:0;;:16;;:44;;;3672:4;3661:24;;;;;;;;;;;;:::i;:::-;3607:138;;;;;;;;;;;;:::i;:::-;3305:448;;;;;:::o;8312:783::-;8457:6;8440:23;;8436:652;;;8545:12;8559:19;8607:5;8599:19;;8658:28;;;8688:6;;8641:54;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;8599:115;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8544:170;;;;8734:7;8729:348;;8762:20;8806:56;8831:6;8806:56;;;;;;;;;;;;;;;;;:24;:56::i;:::-;8762:100;;8930:6;8885:5;:15;;;8901:10;8921:4;8885:42;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:51;8881:181;;;8968:6;8961:14;;;;;;;;;;;:::i;8881:181::-;9029:13;9035:6;9029:13;;;;;;:::i;:::-;;;;;;;;8729:348;;8436:652;;;8312:783;;;;:::o;3761:498::-;3986:12;4000:17;4034:5;:10;;4068;4080:4;4086:2;4090:5;4045:51;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4034:63;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3985:112;;;;4130:7;:57;;;;-1:-1:-1;4142:11:0;;:16;;:44;;;4173:4;4162:24;;;;;;;;;;;;:::i;:::-;4108:143;;;;;;;;;;;;:::i;22380:266::-;22482:7;22511:13;22518:5;22511:6;:13::i;:::-;22507:132;;;-1:-1:-1;22548:15:0;;;;22541:22;;22507:132;22603:24;;;;;:15;;;;;;:24;;22619:7;;22603:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;22596:31;;22507:132;22380:266;;;;:::o;19883:2489::-;20146:30;20179:42;;;;20190:12;20179:42;:::i;:::-;20146:75;;20261:15;20240:8;:17;;;:36;;20232:64;;;;;;;;;;;;:::i;:::-;20359:25;;;;:32;20329:19;;:26;:62;:134;;;;-1:-1:-1;20438:18:0;;;;:25;20408:19;;:26;:55;20329:134;20307:208;;;;;;;;;;;;:::i;:::-;20546:19;;:26;20526:17;20583:1086;20607:9;20603:1;:13;20583:1086;;;20687:189;20737:7;20763:10;20792:8;:19;;;20812:1;20792:22;;;;;;;;;;;;;;20833:8;:25;;;20859:1;20833:28;;;;;;;;;;;;;;20687:31;:189::i;:::-;20931:15;20899:8;:25;;;20925:1;20899:28;;;;;;;;;;;;;;:47;;20891:79;;;;;;;;;;;;:::i;:::-;21004:8;:25;;;21030:1;21004:28;;;;;;;;;;;;;;20985:47;;;;21202:12;21216:19;21268:6;21260:20;;21360:34;;;21425:8;:18;;;21444:1;21425:21;;;;;;;;;;;;;;21307:166;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21260:236;;;;21307:166;21260:236;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21201:295;;;;21520:7;21515:128;;21559:63;21584:6;21559:63;;;;;;;;;;;;;;;;;:24;:63::i;:::-;21552:71;;;;;;;;;;;:::i;21515:128::-;-1:-1:-1;;20618:3:0;;20583:1086;;;;21822:12;21836:19;21884:6;21876:20;;21968:42;;;22037:7;22071:8;22106:11;22144:8;:25;;;21919:273;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21876:335;;;;21919:273;21876:335;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21821:390;;;;22231:7;22226:128;;22266:71;22291:6;22266:71;;;;;;;;;;;;;;;;;:24;:71::i;22226:128::-;19883:2489;;;;;;;;;;;:::o;4749:138::-;4842:5;;;4837:16;;;;4829:50;;;;;;;;;;;;:::i;22778:663::-;22997:17;23017:47;12466:42;23058:4;23017:11;:47::i;:::-;22997:67;;23091:9;23079;:21;23075:48;;;-1:-1:-1;23114:9:0;23075:48;23135:12;23149:19;23193:6;23185:20;;23213:9;23265:25;;;23292:12;;23242:63;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23185:135;;;;23242:63;23185:135;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23134:186;;;;23336:7;23331:103;;23367:54;23392:6;23367:54;;;;;;;;;;;;;;;;;:24;:54::i;4604:137::-;4697:5;;;4692:16;;;;4684:49;;;;;;;;;;;;:::i;4895:151::-;4953:9;4983:6;;;:30;;-1:-1:-1;;4998:5:0;;;5012:1;5007;4998:5;5007:1;4993:15;;;;;:20;4983:30;4975:63;;;;;;;;;;;;:::i;5474:2161::-;5580:13;5884:2;5869:4;:11;:17;;:51;;;;;5903:4;5908:1;5903:7;;;;;;;;;;;;;;;:17;;5869:51;:85;;;;;5937:4;5942:1;5937:7;;;;;;;;;;;;;;;:17;;5869:85;:119;;;;;5971:4;5976:1;5971:7;;;;;;;;;;;;;;;:17;;5869:119;:153;;;;;6005:4;6010:1;6005:7;;;;;;;;;;;;;;;:17;;5869:153;5851:1694;;;6049:20;6265:2;6259:4;6255:13;6245:23;;6785:6;6779:20;6774:2;:25;6759:4;:11;:40;;6733:123;;;;;;;;;;;;:::i;:::-;6902:6;6920;6885:47;;;;;;;;;:::i;:::-;;;;;;;;;;;;;6871:62;;;;;5851:1694;7041:4;:11;7056:2;7041:17;:51;;;;;7075:4;7080:1;7075:7;;;;;;;;;;;;;;;:17;;7041:51;:85;;;;;7109:4;7114:1;7109:7;;;;;;;;;;;;;;;:17;;7041:85;:119;;;;;7143:4;7148:1;7143:7;;;;;;;;;;;;;;;:17;;7041:119;:153;;;;;7177:4;7182:1;7177:7;;;;;;;;;;;;;;;:17;;7041:153;7023:522;;;7415:2;7405:13;;7399:20;7496:6;7514:12;7399:20;7514:6;:12::i;:::-;7479:53;;;;;;;;;:::i;7023:522::-;7588:6;7608:12;7615:4;7608:6;:12::i;:::-;7571:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;7557:70;;5474:2161;;;;:::o;7643:125::-;7696:13;7729:31;7753:5;7736:23;;;;;;;;:::i;:::-;;;;;;;;;;;;;7776:467;7956:11;;7833:13;;7859:53;;:16;;7970:1;7956:15;;;7952:19;7942:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7942:30:0;;7923:49;;7983:12;:3;7987:1;7983:6;;;;;;;;;;;:12;;;;;;;;;;;8006;:3;8010:1;8006:6;;;;;;;;;;;:12;;;;;;;;;;;8034:9;8029:178;8053:4;:11;8049:1;:15;8029:178;;;8103:8;8129:1;8118:4;8123:1;8118:7;;;;;;;;;;;;;;:12;;:7;8112:19;8103:29;;;;;;;;;;8086:3;8094:1;8090;:5;8098:1;8090:9;8086:14;;;;;;;;;;;:46;;;;;;;;;;;8164:8;8179:4;8184:1;8179:7;;;;;;;;;;;;;;;8189:4;8173:21;8164:31;;;;;;;;;;8147:3;8155:1;8151;:5;8159:1;8151:9;8147:14;;;;;;;;;;;:48;;;;;;;;;;-1:-1:-1;8066:3:0;;8029:178;;;-1:-1:-1;8231:3:0;7776:467;-1:-1:-1;;;7776:467:0:o;14:782:1:-;;127:3;120:4;112:6;108:17;104:27;94:2;;149:5;142;135:20;94:2;189:6;176:20;215:4;239:65;254:49;300:2;254:49;:::i;:::-;239:65;:::i;:::-;338:15;;;369:12;;;;401:15;;;447:11;;;435:24;;431:33;;428:42;-1:-1:-1;425:2:1;;;487:5;480;473:20;425:2;513:5;527:240;541:2;538:1;535:9;527:240;;;612:3;599:17;629:33;656:5;629:33;:::i;:::-;675:18;;713:12;;;;745;;;;559:1;552:9;527:240;;;-1:-1:-1;785:5:1;;84:712;-1:-1:-1;;;;;;;84:712:1:o;801:671::-;;912:3;905:4;897:6;893:17;889:27;879:2;;934:5;927;920:20;879:2;974:6;961:20;1000:4;1024:65;1039:49;1085:2;1039:49;:::i;1024:65::-;1123:15;;;1154:12;;;;1186:15;;;1219:5;1233:210;1247:2;1244:1;1241:9;1233:210;;;1304:64;1364:3;1359:2;1352:3;1339:17;1331:6;1327:30;1323:39;1304:64;:::i;:::-;1292:77;;1389:12;;;;1421;;;;1265:1;1258:9;1233:210;;1477:705;;1590:3;1583:4;1575:6;1571:17;1567:27;1557:2;;1612:5;1605;1598:20;1557:2;1652:6;1639:20;1678:4;1702:65;1717:49;1763:2;1717:49;:::i;1702:65::-;1801:15;;;1832:12;;;;1864:15;;;1910:11;;;1898:24;;1894:33;;1891:42;-1:-1:-1;1888:2:1;;;1950:5;1943;1936:20;1888:2;1976:5;1990:163;2004:2;2001:1;1998:9;1990:163;;;2061:17;;2049:30;;2099:12;;;;2131;;;;2022:1;2015:9;1990:163;;2187:377;;;2304:3;2297:4;2289:6;2285:17;2281:27;2271:2;;2329:8;2319;2312:26;2271:2;-1:-1:-1;2359:20:1;;2402:18;2391:30;;2388:2;;;2441:8;2431;2424:26;2388:2;2485:4;2477:6;2473:17;2461:29;;2537:3;2530:4;2521:6;2513;2509:19;2505:30;2502:39;2499:2;;;2554:1;2551;2544:12;2499:2;2261:303;;;;;:::o;2569:601::-;;2666:3;2659:4;2651:6;2647:17;2643:27;2633:2;;2688:5;2681;2674:20;2633:2;2728:6;2715:20;2754:18;2750:2;2747:26;2744:2;;;2776:9;2744:2;2811:113;2918:4;2849:66;2842:4;2838:2;2834:13;2830:86;2826:97;2811:113;:::i;:::-;2949:2;2940:7;2933:19;2995:3;2988:4;2983:2;2975:6;2971:15;2967:26;2964:35;2961:2;;;3016:5;3009;3002:20;2961:2;3085;3078:4;3070:6;3066:17;3059:4;3050:7;3046:18;3033:55;3108:16;;;3126:4;3104:27;3097:42;;;;3112:7;2623:547;-1:-1:-1;;2623:547:1:o;3175:259::-;;3287:2;3275:9;3266:7;3262:23;3258:32;3255:2;;;3308:6;3300;3293:22;3255:2;3352:9;3339:23;3371:33;3398:5;3371:33;:::i;:::-;3423:5;3245:189;-1:-1:-1;;;3245:189:1:o;3439:327::-;;;3568:2;3556:9;3547:7;3543:23;3539:32;3536:2;;;3589:6;3581;3574:22;3536:2;3633:9;3620:23;3652:33;3679:5;3652:33;:::i;:::-;3704:5;3756:2;3741:18;;;;3728:32;;-1:-1:-1;;;3526:240:1:o;3771:297::-;;3891:2;3879:9;3870:7;3866:23;3862:32;3859:2;;;3912:6;3904;3897:22;3859:2;3949:9;3943:16;4002:5;3995:13;3988:21;3981:5;3978:32;3968:2;;4029:6;4021;4014:22;4073:1208;;;;;;;4335:3;4323:9;4314:7;4310:23;4306:33;4303:2;;;4357:6;4349;4342:22;4303:2;4401:9;4388:23;4420:33;4447:5;4420:33;:::i;:::-;4472:5;-1:-1:-1;4528:2:1;4513:18;;4500:32;4551:18;4581:14;;;4578:2;;;4613:6;4605;4598:22;4578:2;4641:22;;;;4697:3;4679:16;;;4675:26;4672:2;;;4719:6;4711;4704:22;4672:2;4747;;-1:-1:-1;4802:2:1;4787:18;;4774:32;;4818:16;;;4815:2;;;4852:6;4844;4837:22;4815:2;4896:62;4950:7;4939:8;4928:9;4924:24;4896:62;:::i;:::-;4977:8;;-1:-1:-1;4870:88:1;-1:-1:-1;5065:2:1;5050:18;;5037:32;;-1:-1:-1;5081:16:1;;;5078:2;;;5115:6;5107;5100:22;5078:2;;5159:62;5213:7;5202:8;5191:9;5187:24;5159:62;:::i;:::-;4293:988;;;;-1:-1:-1;4293:988:1;;-1:-1:-1;4293:988:1;;5240:8;;4293:988;-1:-1:-1;;;4293:988:1:o;5564:1312::-;;5707:2;5695:9;5686:7;5682:23;5678:32;5675:2;;;5728:6;5720;5713:22;5675:2;5773:9;5760:23;5802:18;5843:2;5835:6;5832:14;5829:2;;;5864:6;5856;5849:22;5829:2;5892:22;;;;5948:4;5930:16;;;5926:27;5923:2;;;5971:6;5963;5956:22;5923:2;6002:20;6017:4;6002:20;:::i;:::-;6060:2;6047:16;6088:2;6078:8;6075:16;6072:2;;;6109:6;6101;6094:22;6072:2;6141:62;6195:7;6184:8;6180:2;6176:17;6141:62;:::i;:::-;6134:5;6127:77;;6250:2;6246;6242:11;6229:25;6279:2;6269:8;6266:16;6263:2;;;6300:6;6292;6285:22;6263:2;6341:62;6395:7;6384:8;6380:2;6376:17;6341:62;:::i;:::-;6336:2;6329:5;6325:14;6318:86;;6450:2;6446;6442:11;6429:25;6479:2;6469:8;6466:16;6463:2;;;6500:6;6492;6485:22;6463:2;6541:60;6593:7;6582:8;6578:2;6574:17;6541:60;:::i;:::-;6536:2;6529:5;6525:14;6518:84;;6655:2;6651;6647:11;6634:25;6629:2;6622:5;6618:14;6611:49;6706:3;6702:2;6698:12;6685:26;6736:2;6726:8;6723:16;6720:2;;;6757:6;6749;6742:22;6720:2;6799:46;6837:7;6826:8;6822:2;6818:17;6799:46;:::i;:::-;6793:3;6782:15;;6775:71;-1:-1:-1;6786:5:1;5665:1211;-1:-1:-1;;;;;5665:1211:1:o;6881:194::-;;7004:2;6992:9;6983:7;6979:23;6975:32;6972:2;;;7025:6;7017;7010:22;6972:2;-1:-1:-1;7053:16:1;;6962:113;-1:-1:-1;6962:113:1:o;7080:318::-;;7161:5;7155:12;7188:6;7183:3;7176:19;7204:63;7260:6;7253:4;7248:3;7244:14;7237:4;7230:5;7226:16;7204:63;:::i;:::-;7312:2;7300:15;7317:66;7296:88;7287:98;;;;7387:4;7283:109;;7131:267;-1:-1:-1;;7131:267:1:o;7403:416::-;;7610:66;7602:6;7598:79;7593:3;7586:92;7721:6;7713;7709:1;7704:3;7700:11;7687:41;7751:16;;7769:1;7747:24;7780:15;;;7747:24;7576:243;-1:-1:-1;;7576:243:1:o;7824:274::-;;7991:6;7985:13;8007:53;8053:6;8048:3;8041:4;8033:6;8029:17;8007:53;:::i;:::-;8076:16;;;;;7961:137;-1:-1:-1;;7961:137:1:o;8103:773::-;;8522:6;8516:13;8538:53;8584:6;8579:3;8572:4;8564:6;8560:17;8538:53;:::i;:::-;8652:8;8613:16;;;8638:23;;;8686:13;;8708:65;8686:13;8760:1;8749:13;;8742:4;8730:17;;8708:65;:::i;:::-;8840:3;8836:1;8792:20;;;;8828:10;;;8821:23;8868:1;8860:10;;8492:384;-1:-1:-1;;;;8492:384:1:o;8881:775::-;;9300:6;9294:13;9316:53;9362:6;9357:3;9350:4;9342:6;9338:17;9316:53;:::i;:::-;9430:10;9391:16;;;9416:25;;;9466:13;;9488:65;9466:13;9540:1;9529:13;;9522:4;9510:17;;9488:65;:::i;:::-;9620:3;9616:1;9572:20;;;;9608:10;;;9601:23;9648:1;9640:10;;9270:386;-1:-1:-1;;;;9270:386:1:o;9661:773::-;;10080:6;10074:13;10096:53;10142:6;10137:3;10130:4;10122:6;10118:17;10096:53;:::i;:::-;10210:8;10171:16;;;10196:23;;;10244:13;;10266:65;10244:13;10318:1;10307:13;;10300:4;10288:17;;10266:65;:::i;10439:182::-;10568:19;;;10612:2;10603:12;;10558:63::o;10626:226::-;10802:42;10790:55;;;;10772:74;;10760:2;10745:18;;10727:125::o;10857:335::-;11049:42;11118:15;;;11100:34;;11170:15;;11165:2;11150:18;;11143:43;11027:2;11012:18;;10994:198::o;11197:668::-;11530:42;11599:15;;;11581:34;;11651:15;;;11646:2;11631:18;;11624:43;11703:15;;;11698:2;11683:18;;11676:43;11755:15;;11750:2;11735:18;;11728:43;11802:3;11787:19;;11780:35;;;;11846:3;11831:19;;11824:35;;;;11507:3;11492:19;;11474:391::o;11870:522::-;;12093:42;12174:2;12166:6;12162:15;12151:9;12144:34;12226:2;12218:6;12214:15;12209:2;12198:9;12194:18;12187:43;12278:2;12270:6;12266:15;12261:2;12250:9;12246:18;12239:43;;12318:3;12313:2;12302:9;12298:18;12291:31;12339:47;12381:3;12370:9;12366:19;12358:6;12339:47;:::i;12397:398::-;12609:42;12678:15;;;12660:34;;12730:15;;;;12725:2;12710:18;;12703:43;12777:2;12762:18;;12755:34;;;;12587:2;12572:18;;12554:241::o;12800:297::-;13004:42;12992:55;;;;12974:74;;13079:2;13064:18;;13057:34;12962:2;12947:18;;12929:168::o;13102:398::-;13314:42;13383:15;;;13365:34;;13430:2;13415:18;;13408:34;;;;13478:15;;;13473:2;13458:18;;13451:43;13292:2;13277:18;;13259:241::o;13505:450::-;;13662:2;13651:9;13644:21;13701:6;13696:2;13685:9;13681:18;13674:34;13758:6;13750;13745:2;13734:9;13730:18;13717:48;13785:22;;;13809:2;13781:31;;;13774:45;;;;13871:2;13859:15;;;13876:66;13855:88;13840:104;13836:113;;13634:321;-1:-1:-1;13634:321:1:o;13960:219::-;;14107:2;14096:9;14089:21;14127:46;14169:2;14158:9;14154:18;14146:6;14127:46;:::i;14410:345::-;14612:2;14594:21;;;14651:2;14631:18;;;14624:30;14690:23;14685:2;14670:18;;14663:51;14746:2;14731:18;;14584:171::o;14760:353::-;14962:2;14944:21;;;15001:2;14981:18;;;14974:30;15040:31;15035:2;15020:18;;15013:59;15104:2;15089:18;;14934:179::o;15118:355::-;15320:2;15302:21;;;15359:2;15339:18;;;15332:30;15398:33;15393:2;15378:18;;15371:61;15464:2;15449:18;;15292:181::o;15478:342::-;15680:2;15662:21;;;15719:2;15699:18;;;15692:30;15758:20;15753:2;15738:18;;15731:48;15811:2;15796:18;;15652:168::o;15825:343::-;16027:2;16009:21;;;16066:2;16046:18;;;16039:30;16105:21;16100:2;16085:18;;16078:49;16159:2;16144:18;;15999:169::o;16173:402::-;16375:2;16357:21;;;16414:2;16394:18;;;16387:30;16453:34;16448:2;16433:18;;16426:62;16524:8;16519:2;16504:18;;16497:36;16565:3;16550:19;;16347:228::o;16580:344::-;16782:2;16764:21;;;16821:2;16801:18;;;16794:30;16860:22;16855:2;16840:18;;16833:50;16915:2;16900:18;;16754:170::o;16929:344::-;17131:2;17113:21;;;17170:2;17150:18;;;17143:30;17209:22;17204:2;17189:18;;17182:50;17264:2;17249:18;;17103:170::o;17278:398::-;17480:2;17462:21;;;17519:2;17499:18;;;17492:30;17558:34;17553:2;17538:18;;17531:62;17629:4;17624:2;17609:18;;17602:32;17666:3;17651:19;;17452:224::o;17681:341::-;17883:2;17865:21;;;17922:2;17902:18;;;17895:30;17961:19;17956:2;17941:18;;17934:47;18013:2;17998:18;;17855:167::o;18027:348::-;18229:2;18211:21;;;18268:2;18248:18;;;18241:30;18307:26;18302:2;18287:18;;18280:54;18366:2;18351:18;;18201:174::o;18380:351::-;18582:2;18564:21;;;18621:2;18601:18;;;18594:30;18660:29;18655:2;18640:18;;18633:57;18722:2;18707:18;;18554:177::o;18736:350::-;18938:2;18920:21;;;18977:2;18957:18;;;18950:30;19016:28;19011:2;18996:18;;18989:56;19077:2;19062:18;;18910:176::o;19091:356::-;19293:2;19275:21;;;19312:18;;;19305:30;19371:34;19366:2;19351:18;;19344:62;19438:2;19423:18;;19265:182::o;19452:345::-;19654:2;19636:21;;;19693:2;19673:18;;;19666:30;19732:23;19727:2;19712:18;;19705:51;19788:2;19773:18;;19626:171::o;19802:355::-;20004:2;19986:21;;;20043:2;20023:18;;;20016:30;20082:33;20077:2;20062:18;;20055:61;20148:2;20133:18;;19976:181::o;20162:404::-;20364:2;20346:21;;;20403:2;20383:18;;;20376:30;20442:34;20437:2;20422:18;;20415:62;20513:10;20508:2;20493:18;;20486:38;20556:3;20541:19;;20336:230::o;20571:399::-;20773:2;20755:21;;;20812:2;20792:18;;;20785:30;20851:34;20846:2;20831:18;;20824:62;20922:5;20917:2;20902:18;;20895:33;20960:3;20945:19;;20745:225::o;20975:355::-;21177:2;21159:21;;;21216:2;21196:18;;;21189:30;21255:33;21250:2;21235:18;;21228:61;21321:2;21306:18;;21149:181::o;21335:339::-;21537:2;21519:21;;;21576:2;21556:18;;;21549:30;21615:17;21610:2;21595:18;;21588:45;21665:2;21650:18;;21509:165::o;21679:400::-;21881:2;21863:21;;;21920:2;21900:18;;;21893:30;21959:34;21954:2;21939:18;;21932:62;22030:6;22025:2;22010:18;;22003:34;22069:3;22054:19;;21853:226::o;22266:619::-;;;22425:11;22412:25;22515:66;22504:8;22488:14;22484:29;22480:102;22460:18;22456:127;22446:2;;22600:4;22594;22587:18;22446:2;22630:33;;22682:20;;;-1:-1:-1;22725:18:1;22714:30;;22711:2;;;22760:4;22754;22747:18;22711:2;22796:4;22784:17;;;;-1:-1:-1;22843:17:1;;22827:14;22823:38;22813:49;;22810:2;;;22875:1;22872;22865:12;22890:623;;;23049:11;23036:25;23139:66;23128:8;23112:14;23108:29;23104:102;23084:18;23080:127;23070:2;;23226:6;23218;23211:22;23518:592;;;23661:11;23648:25;23751:66;23740:8;23724:14;23720:29;23716:102;23696:18;23692:127;23682:2;;23836:4;23830;23823:18;23682:2;23866:33;;23918:20;;;-1:-1:-1;23961:18:1;23950:30;;23947:2;;;23996:4;23990;23983:18;23947:2;24032:4;24020:17;;-1:-1:-1;24063:14:1;24059:27;;;24049:38;;24046:2;;;24100:1;24097;24090:12;24115:242;24185:2;24179:9;24215:17;;;24262:18;24247:34;;24283:22;;;24244:62;24241:2;;;24309:9;24241:2;24336;24329:22;24159:198;;-1:-1:-1;24159:198:1:o;24362:183::-;;24461:18;24453:6;24450:30;24447:2;;;24483:9;24447:2;-1:-1:-1;24534:4:1;24515:17;;;24511:28;;24437:108::o;24550:258::-;24622:1;24632:113;24646:6;24643:1;24640:13;24632:113;;;24722:11;;;24716:18;24703:11;;;24696:39;24668:2;24661:10;24632:113;;;24763:6;24760:1;24757:13;24754:2;;;-1:-1:-1;;24798:1:1;24780:16;;24773:27;24603:205::o;24813:156::-;24901:42;24894:5;24890:54;24883:5;24880:65;24870:2;;24959:1;24956;24949:12;24870:2;24860:109;:::o

Swarm Source

ipfs://a9d0b1ca14b5e1986776b8e084d4767af65ebbbd1d3a8526ccc0aa534fbc7c01

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.