AVAX Price: $22.03 (+1.86%)
Gas: 1 nAVAX
 

Overview

AVAX Balance

Avalanche C-Chain LogoAvalanche C-Chain LogoAvalanche C-Chain Logo0 AVAX

AVAX Value

$0.00

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
0x32464be8229458202022-11-28 10:26:34877 days ago1669631194IN
Kyber Swap: Aggregation Router 2
1.55 AVAX0.02486521108.76172016
0x32464be8229458192022-11-28 10:26:33877 days ago1669631193IN
Kyber Swap: Aggregation Router 2
1.5 AVAX0.02567858109.45783619
0x32464be8175942572022-07-21 0:04:571007 days ago1658361897IN
Kyber Swap: Aggregation Router 2
2 AVAX0.005144625
0x32464be8172260802022-07-12 10:32:351016 days ago1657621955IN
Kyber Swap: Aggregation Router 2
6 AVAX0.0054021225
0x32464be8171917372022-07-11 15:17:531017 days ago1657552673IN
Kyber Swap: Aggregation Router 2
7 AVAX0.0063990225
0x32464be8171273482022-07-10 3:08:591018 days ago1657422539IN
Kyber Swap: Aggregation Router 2
3 AVAX0.005572725
0x32464be8171232332022-07-10 0:50:401018 days ago1657414240IN
Kyber Swap: Aggregation Router 2
2.5 AVAX0.005270925
0x32464be8170653262022-07-08 16:22:111019 days ago1657297331IN
Kyber Swap: Aggregation Router 2
4 AVAX0.0106791525
0x32464be8170553262022-07-08 10:48:011020 days ago1657277281IN
Kyber Swap: Aggregation Router 2
1.5 AVAX0.0076408725
0x32464be8170351002022-07-07 23:29:211020 days ago1657236561IN
Kyber Swap: Aggregation Router 2
5.4 AVAX0.0053142225
0x32464be8170244432022-07-07 17:32:441020 days ago1657215164IN
Kyber Swap: Aggregation Router 2
2.2 AVAX0.0072540225
0x32464be8169905192022-07-06 22:36:071021 days ago1657146967IN
Kyber Swap: Aggregation Router 2
2.7 AVAX0.0102204725
0x32464be8169830792022-07-06 18:28:231021 days ago1657132103IN
Kyber Swap: Aggregation Router 2
8.83191503 AVAX0.0147800725
0x32464be8169437572022-07-05 20:32:381022 days ago1657053158IN
Kyber Swap: Aggregation Router 2
2.5 AVAX0.0047603725
0x32464be8168486452022-07-03 15:22:391025 days ago1656861759IN
Kyber Swap: Aggregation Router 2
1.57649753 AVAX0.005037825
0x32464be8168215612022-07-03 0:16:371025 days ago1656807397IN
Kyber Swap: Aggregation Router 2
6.24174076 AVAX0.0051872725
0x32464be8168206822022-07-02 23:47:131025 days ago1656805633IN
Kyber Swap: Aggregation Router 2
2.1 AVAX0.0047603725
0x32464be8168005182022-07-02 12:32:041026 days ago1656765124IN
Kyber Swap: Aggregation Router 2
3 AVAX0.005572725
0x32464be8168003932022-07-02 12:27:521026 days ago1656764872IN
Kyber Swap: Aggregation Router 2
1.51508 AVAX0.00557325
0x32464be8168003252022-07-02 12:25:371026 days ago1656764737IN
Kyber Swap: Aggregation Router 2
1.517871 AVAX0.005572725
0x32464be8167404632022-07-01 3:03:261027 days ago1656644606IN
Kyber Swap: Aggregation Router 2
1.83 AVAX0.0072531225
0x32464be8167322882022-06-30 22:31:521027 days ago1656628312IN
Kyber Swap: Aggregation Router 2
6 AVAX0.0054701725
0x32464be8167008132022-06-30 5:02:381028 days ago1656565358IN
Kyber Swap: Aggregation Router 2
5.754 AVAX0.0132616225
0x32464be8166660222022-06-29 9:41:101029 days ago1656495670IN
Kyber Swap: Aggregation Router 2
6 AVAX0.010675225
0x32464be8166347932022-06-28 16:19:471029 days ago1656433187IN
Kyber Swap: Aggregation Router 2
3.38810218 AVAX0.0047609725
VIEW ADVANCED FILTER

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
229458202022-11-28 10:26:34877 days ago1669631194
Kyber Swap: Aggregation Router 2
1.54535 AVAX
229458202022-11-28 10:26:34877 days ago1669631194
Kyber Swap: Aggregation Router 2
0.00465 AVAX
229458192022-11-28 10:26:33877 days ago1669631193
Kyber Swap: Aggregation Router 2
1.5 AVAX
192328572022-08-28 14:31:45969 days ago1661697105
Kyber Swap: Aggregation Router 2
1.9984 AVAX
192328572022-08-28 14:31:45969 days ago1661697105
Kyber Swap: Aggregation Router 2
1.9984 AVAX
192328342022-08-28 14:30:59969 days ago1661697059
Kyber Swap: Aggregation Router 2
0.559552 AVAX
192328342022-08-28 14:30:59969 days ago1661697059
Kyber Swap: Aggregation Router 2
0.559552 AVAX
192325272022-08-28 14:20:42969 days ago1661696442
Kyber Swap: Aggregation Router 2
2.9976 AVAX
192325272022-08-28 14:20:42969 days ago1661696442
Kyber Swap: Aggregation Router 2
2.9976 AVAX
190497432022-08-24 7:27:24973 days ago1661326044
Kyber Swap: Aggregation Router 2
0.0009992 AVAX
190497432022-08-24 7:27:24973 days ago1661326044
Kyber Swap: Aggregation Router 2
0.0009992 AVAX
186705852022-08-15 9:52:49982 days ago1660557169
Kyber Swap: Aggregation Router 2
0.09992 AVAX
186705852022-08-15 9:52:49982 days ago1660557169
Kyber Swap: Aggregation Router 2
0.09992 AVAX
185395072022-08-12 8:28:20985 days ago1660292900
Kyber Swap: Aggregation Router 2
0.009992 AVAX
185395072022-08-12 8:28:20985 days ago1660292900
Kyber Swap: Aggregation Router 2
0.009992 AVAX
185149292022-08-11 18:43:16985 days ago1660243396
Kyber Swap: Aggregation Router 2
0.0619504 AVAX
185149292022-08-11 18:43:16985 days ago1660243396
Kyber Swap: Aggregation Router 2
0.0619504 AVAX
185147492022-08-11 18:37:13985 days ago1660243033
Kyber Swap: Aggregation Router 2
0.0619504 AVAX
185147492022-08-11 18:37:13985 days ago1660243033
Kyber Swap: Aggregation Router 2
0.0619504 AVAX
180836942022-08-01 16:38:14995 days ago1659371894
Kyber Swap: Aggregation Router 2
1.4988 AVAX
180836942022-08-01 16:38:14995 days ago1659371894
Kyber Swap: Aggregation Router 2
1.4988 AVAX
180058752022-07-30 19:47:27997 days ago1659210447
Kyber Swap: Aggregation Router 2
0.159872 AVAX
180058752022-07-30 19:47:27997 days ago1659210447
Kyber Swap: Aggregation Router 2
0.159872 AVAX
179062032022-07-28 10:31:231000 days ago1659004283
Kyber Swap: Aggregation Router 2
878.2968 AVAX
179062032022-07-28 10:31:231000 days ago1659004283
Kyber Swap: Aggregation Router 2
878.2968 AVAX
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 snowscan.xyz on 2022-03-21
*/

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

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

// 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 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 data
    ) external payable returns (uint256 returnAmount) {
        require(desc.minReturnAmount > 0, "Min return should not be 0");
        require(data.length > 0, "data should be not zero");

        uint256 flags = desc.flags;

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

        uint256 amount = desc.amount;
        IERC20 srcToken = desc.srcToken;
        IERC20 dstToken = desc.dstToken;

        if (flags & _REQUIRES_EXTRA_ETH != 0) {
            require(
                msg.value > (_isETH(srcToken) ? amount : 0),
                "Invalid msg.value"
            );
        } else {
            require(
                msg.value == (_isETH(srcToken) ? 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, 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);

        {
            // 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, data)
                );
            if (!success) {
                revert(RevertReasonParser.parse(result, "callBytes failed: "));
            }
        }

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

        if (flags & _PARTIAL_FILL != 0) {
            spentAmount = initialSrcBalance.add(amount).sub(
                _getBalance(srcToken, msg.sender)
            );
            require(
                returnAmount.mul(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)
        );
    }

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

        _permit(srcToken, amount, desc.permit);

        uint256 totalSwapAmount = 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,
            data
        );

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

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

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

    // 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 data
    ) internal {
        SimpleSwapData memory swapData = abi.decode(data, (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);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_WETH","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"data","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":"data","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"}]

60a06040523480156200001157600080fd5b5060405162002f6c38038062002f6c8339810160408190526200003491620000a4565b600062000040620000a0565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060601b6001600160601b031916608052620000d4565b3390565b600060208284031215620000b6578081fd5b81516001600160a01b0381168114620000cd578182fd5b9392505050565b60805160601c612e6c62000100600039806091528061081f5280610b5d5280610d415250612e6c6000f3fe6080604052600436106100745760003560e01c806378e3214f1161004e57806378e3214f1461011d5780638da5cb5b1461013d578063ad5c46481461015f578063f2fde38b14610174576100ba565b806332464be8146100bf5780636245a759146100e8578063715018a614610108576100ba565b366100ba573373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146100b857fe5b005b600080fd5b6100d26100cd3660046121e6565b610194565b6040516100df9190612574565b60405180910390f35b3480156100f457600080fd5b506100d26101033660046121e6565b610867565b34801561011457600080fd5b506100b8610ba2565b34801561012957600080fd5b506100b861013836600461219b565b610c84565b34801561014957600080fd5b50610152610d23565b6040516100df919061257d565b34801561016b57600080fd5b50610152610d3f565b34801561018057600080fd5b506100b861018f366004612178565b610d63565b6000808460c00135116101dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612a1e565b60405180910390fd5b81610213576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612a8a565b60e084013560208116156102355761022d86868686610867565b91505061085f565b60a085013560006102496020880188612178565b9050600061025d6040890160208a01612178565b905060028416156102bb5761027182610eb0565b61027c57600061027e565b825b34116102b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612979565b610309565b6102c482610eb0565b6102cf5760006102d1565b825b3414610309576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612979565b6103166060890189612ce9565b905061032560408a018a612c7d565b90501461035e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612b2f565b60048416156104365761037082610eb0565b156103a7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3906127e3565b6103bf82846103ba6101008c018c612d1d565b610ee2565b60005b6103cf60408a018a612c7d565b90508110156104345761042c83336103ea60408d018d612c7d565b858181106103f457fe5b90506020020160208101906104099190612178565b61041660608e018e612ce9565b8681811061042057fe5b905060200201356110f0565b6001016103c2565b505b61043f82610eb0565b156104b95760005b61045460408a018a612c7d565b90508110156104b7576104af61046d60408b018b612c7d565b8381811061047757fe5b905060200201602081019061048c9190612178565b61049960608c018c612ce9565b848181106104a357fe5b90506020020135611214565b600101610447565b505b6000806104cc60a08b0160808c01612178565b73ffffffffffffffffffffffffffffffffffffffff16146104fc576104f760a08a0160808b01612178565b6104fe565b335b905060006001861661051157600061051b565b61051b84336112cd565b9050600061052984846112cd565b9050600061054b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee306112cd565b9050348111156105585750345b6000808e73ffffffffffffffffffffffffffffffffffffffff168363d9c4535760e01b8f8f60405160240161058e9291906126de565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925290516106179190612408565b60006040518083038185875af1925050503d8060008114610654576040519150601f19603f3d011682016040523d82523d6000602084013e610659565b606091505b5091509150816106d5576106a2816040518060400160405280601281526020017f63616c6c4279746573206661696c65643a2000000000000000000000000000008152506113a6565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3919061272b565b508791506106ef9050826106e987876112cd565b90611778565b985060018816156107685761071161070787336112cd565b6106e9858a6117b5565b905061072160c08d0135826117f2565b61072b8a896117f2565b1015610763576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3906129e7565b6107a6565b8b60c001358910156107a6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3906129e7565b7fd6d4f5681c246c9f42c203e287975af1601f8df8035a9251f79aab5c8f09e2f833878787858e6040516107df969594939291906125c5565b60405180910390a17fddac40937f35385a34f721af292e5a83fc5b840f722bff57c2fc71adba708c488d8a61081388610eb0565b61081d578761083f565b7f00000000000000000000000000000000000000000000000000000000000000005b60405161084e939291906126ae565b60405180910390a150505050505050505b949350505050565b600060a08401358161087c6020870187612178565b905060006108906040880160208901612178565b905061089b82610eb0565b156108d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d39061291c565b6108e582846103ba6101008b018b612d1d565b8260006108f560408a018a612c7d565b90501115610a325761090a6040890189612c7d565b9050600114801561093657506109236060890189612ce9565b905061093260408a018a612c7d565b9050145b61096c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612775565b6109b6833361097e60408c018c612c7d565b600081811061098957fe5b905060200201602081019061099e9190612178565b6109ab60608d018d612ce9565b600081811061042057fe5b806109c460608a018a612ce9565b60008181106109cf57fe5b905060200201351115610a0e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612af8565b610a1b6060890189612ce9565b6000818110610a2657fe5b90506020020135810390505b600080610a4560a08b0160808c01612178565b73ffffffffffffffffffffffffffffffffffffffff1614610a7557610a7060a08a0160808b01612178565b610a77565b335b90506000610a8584836112cd565b9050610a968b868587868e8e611843565b610aa4816106e986856112cd565b96508960c00135871015610ae4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3906129e7565b7fd6d4f5681c246c9f42c203e287975af1601f8df8035a9251f79aab5c8f09e2f8338686858a8c604051610b1d969594939291906125c5565b60405180910390a17fddac40937f35385a34f721af292e5a83fc5b840f722bff57c2fc71adba708c488b88610b5187610eb0565b610b5b5786610b7d565b7f00000000000000000000000000000000000000000000000000000000000000005b604051610b8c939291906126ae565b60405180910390a1505050505050949350505050565b610baa611c42565b73ffffffffffffffffffffffffffffffffffffffff16610bc8610d23565b73ffffffffffffffffffffffffffffffffffffffff1614610c15576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612a55565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610c8c611c42565b73ffffffffffffffffffffffffffffffffffffffff16610caa610d23565b73ffffffffffffffffffffffffffffffffffffffff1614610cf7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612a55565b610d0082610eb0565b15610d1457610d0f3382611214565b610d1f565b610d1f823383611c46565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b7f000000000000000000000000000000000000000000000000000000000000000081565b610d6b611c42565b73ffffffffffffffffffffffffffffffffffffffff16610d89610d23565b73ffffffffffffffffffffffffffffffffffffffff1614610dd6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612a55565b73ffffffffffffffffffffffffffffffffffffffff8116610e23576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612851565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14919050565b60e08114156110ea576000808573ffffffffffffffffffffffffffffffffffffffff1663d505accf60e01b8585604051602001610f21939291906123cc565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815290829052610f5991612408565b6000604051808303816000865af19150503d8060008114610f96576040519150601f19603f3d011682016040523d82523d6000602084013e610f9b565b606091505b5091509150816110e7576000610fe6826040518060400160405280601481526020017f5065726d69742063616c6c206661696c65643a200000000000000000000000008152506113a6565b9050858773ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b815260040161102492919061259e565b60206040518083038186803b15801561103c57600080fd5b505afa158015611050573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611074919061236a565b10156110ae57806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3919061272b565b7f08c379a0afcc32b1a39302f7cb8073359698411ab5fd6e3edb2c02c0b5fba8aa816040516110dd919061272b565b60405180910390a1505b50505b50505050565b6000808573ffffffffffffffffffffffffffffffffffffffff166323b872dd86868660405160240161112493929190612657565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516111729190612408565b6000604051808303816000865af19150503d80600081146111af576040519150601f19603f3d011682016040523d82523d6000602084013e6111b4565b606091505b50915091508180156111de5750805115806111de5750808060200190518101906111de91906121c6565b6110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612c20565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff841690839060405161124b9190612408565b60006040518083038185875af1925050503d8060008114611288576040519150601f19603f3d011682016040523d82523d6000602084013e61128d565b606091505b50509050806112c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612b8c565b505050565b60006112d883610eb0565b156112fb575073ffffffffffffffffffffffffffffffffffffffff8116316113a0565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906370a082319061134d90859060040161257d565b60206040518083038186803b15801561136557600080fd5b505afa158015611379573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139d919061236a565b90505b92915050565b6060604483511015801561140d5750826000815181106113c257fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f0800000000000000000000000000000000000000000000000000000000000000145b801561146c57508260018151811061142157fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167fc300000000000000000000000000000000000000000000000000000000000000145b80156114cb57508260028151811061148057fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7900000000000000000000000000000000000000000000000000000000000000145b801561152a5750826003815181106114df57fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167fa000000000000000000000000000000000000000000000000000000000000000145b156115a0576060604484019050805160440184511015611576576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612ac1565b8281604051602001611589929190612528565b6040516020818303038152906040529150506113a0565b825160241480156116045750826000815181106115b957fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f4e00000000000000000000000000000000000000000000000000000000000000145b801561166357508260018151811061161857fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f4800000000000000000000000000000000000000000000000000000000000000145b80156116c257508260028151811061167757fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7b00000000000000000000000000000000000000000000000000000000000000145b80156117215750826003815181106116d657fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7100000000000000000000000000000000000000000000000000000000000000145b156117465760248301518261173582611d6f565b604051602001611589929190612424565b8161175084611d95565b6040516020016117619291906124a6565b604051602081830303815290604052905092915050565b808203828111156113a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d39061273e565b808201828110156113a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3906128e5565b600081158061180d5750508082028282828161180a57fe5b04145b6113a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3906128ae565b60006118518284018461228c565b90504281606001511015611891576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612be9565b6020810151518151511480156118ad5750604081015151815151145b6118e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3906129b0565b80515160005b81811015611b005761192b89338560000151848151811061190657fe5b60200260200101518660200151858151811061191e57fe5b60200260200101516110f0565b878360200151828151811061193c57fe5b6020026020010151111561197c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d39061281a565b8260200151818151811061198c57fe5b6020026020010151880397506000808b73ffffffffffffffffffffffffffffffffffffffff16638b674f5d60e01b866040015185815181106119ca57fe5b60200260200101516040516024016119e2919061272b565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909416939093179092529051611a6b9190612408565b6000604051808303816000865af19150503d8060008114611aa8576040519150601f19603f3d011682016040523d82523d6000602084013e611aad565b606091505b509150915081611af6576106a2816040518060400160405280601b81526020017f7377617053696e676c6553657175656e6365206661696c65643a2000000000008152506113a6565b50506001016118e9565b506000808a73ffffffffffffffffffffffffffffffffffffffff1663774b6b7e60e01b8b8a8a8860800151604051602401611b3e949392919061260c565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909416939093179092529051611bc79190612408565b6000604051808303816000865af19150503d8060008114611c04576040519150601f19603f3d011682016040523d82523d6000602084013e611c09565b606091505b509150915081611c35576106a281604051806060016040528060238152602001612e14602391396113a6565b5050505050505050505050565b3390565b6000808473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401611c78929190612688565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051611cc69190612408565b6000604051808303816000865af19150503d8060008114611d03576040519150601f19603f3d011682016040523d82523d6000602084013e611d08565b606091505b5091509150818015611d32575080511580611d32575080806020019051810190611d3291906121c6565b611d68576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3906127ac565b5050505050565b60606113a082604051602001611d859190612574565b6040516020818303038152906040525b80516060907f30313233343536373839616263646566000000000000000000000000000000009060009060029081020167ffffffffffffffff81118015611ddb57600080fd5b506040519080825280601f01601f191660200182016040528015611e06576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611e3757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611e9457fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b8451811015611fc957826004868381518110611ede57fe5b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c60f81c60108110611f1457fe5b1a60f81b828260020260020181518110611f2a57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535082858281518110611f6657fe5b60209101015160f81c600f1660108110611f7c57fe5b1a60f81b828260020260030181518110611f9257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600101611ec6565b509392505050565b600082601f830112611fe1578081fd5b81356020611ff6611ff183612da4565b612d80565b8281528181019085830183850287018401881015612012578586fd5b855b8581101561203957813561202781612dee565b84529284019290840190600101612014565b5090979650505050505050565b600082601f830112612056578081fd5b81356020612066611ff183612da4565b82815281810190858301855b8581101561203957612089898684358b01016120f5565b84529284019290840190600101612072565b600082601f8301126120ab578081fd5b813560206120bb611ff183612da4565b82815281810190858301838502870184018810156120d7578586fd5b855b85811015612039578135845292840192908401906001016120d9565b600082601f830112612105578081fd5b813567ffffffffffffffff81111561211957fe5b61214a60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601612d80565b81815284602083860101111561215e578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215612189578081fd5b813561219481612dee565b9392505050565b600080604083850312156121ad578081fd5b82356121b881612dee565b946020939093013593505050565b6000602082840312156121d7578081fd5b81518015158114612194578182fd5b600080600080606085870312156121fb578182fd5b843561220681612dee565b9350602085013567ffffffffffffffff80821115612222578384fd5b908601906101208289031215612236578384fd5b9093506040860135908082111561224b578384fd5b818701915087601f83011261225e578384fd5b81358181111561226c578485fd5b88602082850101111561227d578485fd5b95989497505060200194505050565b60006020828403121561229d578081fd5b813567ffffffffffffffff808211156122b4578283fd5b9083019060a082860312156122c7578283fd5b6122d160a0612d80565b8235828111156122df578485fd5b6122eb87828601611fd1565b8252506020830135828111156122ff578485fd5b61230b8782860161209b565b602083015250604083013582811115612322578485fd5b61232e87828601612046565b6040830152506060830135606082015260808301358281111561234f578485fd5b61235b878286016120f5565b60808301525095945050505050565b60006020828403121561237b578081fd5b5051919050565b6000815180845261239a816020860160208601612dc2565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60007fffffffff000000000000000000000000000000000000000000000000000000008516825282846004840137910160040190815292915050565b6000825161241a818460208701612dc2565b9190910192915050565b60008351612436818460208801612dc2565b7f50616e69632800000000000000000000000000000000000000000000000000009083019081528351612470816006840160208801612dc2565b7f290000000000000000000000000000000000000000000000000000000000000060069290910191820152600701949350505050565b600083516124b8818460208801612dc2565b7f556e6b6e6f776e2800000000000000000000000000000000000000000000000090830190815283516124f2816008840160208801612dc2565b7f290000000000000000000000000000000000000000000000000000000000000060089290910191820152600901949350505050565b6000835161253a818460208801612dc2565b7f4572726f722800000000000000000000000000000000000000000000000000009083019081528351612470816006840160208801612dc2565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff92831681529116602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff96871681529486166020860152928516604085015293166060830152608082019290925260a081019190915260c00190565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401528085166040840152506080606083015261264d6080830184612382565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff93841681526020810192909252909116604082015260600190565b60006020825282602083015282846040840137818301604090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101919050565b6000602082526121946020830184612382565b60208082526015908201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604082015260600190565b6020808252601d908201527f57726f6e67206e756d626572206f662073726320726563656976657273000000604082015260600190565b6020808252601f908201527f5472616e7366657248656c7065723a205452414e534645525f4641494c454400604082015260600190565b60208082526012908201527f436c61696d20746f6b656e206973204554480000000000000000000000000000604082015260600190565b60208082526013908201527f696e76616c6964207377617020616d6f756e7400000000000000000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526014908201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604082015260600190565b60208082526014908201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604082015260600190565b60208082526022908201527f737263206973206574682c2073686f756c6420757365206e6f726d616c20737760408201527f6170000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526011908201527f496e76616c6964206d73672e76616c7565000000000000000000000000000000604082015260600190565b60208082526018908201527f696e76616c696420737761702064617461206c656e6774680000000000000000604082015260600190565b6020808252601b908201527f52657475726e20616d6f756e74206973206e6f7420656e6f7567680000000000604082015260600190565b6020808252601a908201527f4d696e2072657475726e2073686f756c64206e6f742062652030000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526017908201527f646174612073686f756c64206265206e6f74207a65726f000000000000000000604082015260600190565b60208082526015908201527f496e76616c69642072657665727420726561736f6e0000000000000000000000604082015260600190565b6020808252601f908201527f696e76616c69642066656520616d6f756e7420696e2073726320746f6b656e00604082015260600190565b60208082526028908201527f496e76616c6964206c656e6774687320666f7220726563656976696e6720737260408201527f6320746f6b656e73000000000000000000000000000000000000000000000000606082015260800190565b60208082526023908201527f5472616e7366657248656c7065723a204554485f5452414e534645525f46414960408201527f4c45440000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252600f908201527f524f555445523a20457870697265640000000000000000000000000000000000604082015260600190565b60208082526024908201527f5472616e7366657248656c7065723a205452414e534645525f46524f4d5f464160408201527f494c454400000000000000000000000000000000000000000000000000000000606082015260800190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612cb1578283fd5b83018035915067ffffffffffffffff821115612ccb578283fd5b6020908101925081023603821315612ce257600080fd5b9250929050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612cb1578182fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612d51578283fd5b83018035915067ffffffffffffffff821115612d6b578283fd5b602001915036819003821315612ce257600080fd5b60405181810167ffffffffffffffff81118282101715612d9c57fe5b604052919050565b600067ffffffffffffffff821115612db857fe5b5060209081020190565b60005b83811015612ddd578181015183820152602001612dc5565b838111156110ea5750506000910152565b73ffffffffffffffffffffffffffffffffffffffff81168114612e1057600080fd5b5056fe66696e616c5472616e73616374696f6e50726f63657373696e67206661696c65643a20a2646970667358221220d98902019abbc8df14c19c5db3e00e8550710c343e37b1e8211caac4f9cf6c3364736f6c63430007060033000000000000000000000000b31f66aa3c1e785363f0875a1b74e27b85fd66c7

Deployed Bytecode

0x6080604052600436106100745760003560e01c806378e3214f1161004e57806378e3214f1461011d5780638da5cb5b1461013d578063ad5c46481461015f578063f2fde38b14610174576100ba565b806332464be8146100bf5780636245a759146100e8578063715018a614610108576100ba565b366100ba573373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000b31f66aa3c1e785363f0875a1b74e27b85fd66c716146100b857fe5b005b600080fd5b6100d26100cd3660046121e6565b610194565b6040516100df9190612574565b60405180910390f35b3480156100f457600080fd5b506100d26101033660046121e6565b610867565b34801561011457600080fd5b506100b8610ba2565b34801561012957600080fd5b506100b861013836600461219b565b610c84565b34801561014957600080fd5b50610152610d23565b6040516100df919061257d565b34801561016b57600080fd5b50610152610d3f565b34801561018057600080fd5b506100b861018f366004612178565b610d63565b6000808460c00135116101dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612a1e565b60405180910390fd5b81610213576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612a8a565b60e084013560208116156102355761022d86868686610867565b91505061085f565b60a085013560006102496020880188612178565b9050600061025d6040890160208a01612178565b905060028416156102bb5761027182610eb0565b61027c57600061027e565b825b34116102b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612979565b610309565b6102c482610eb0565b6102cf5760006102d1565b825b3414610309576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612979565b6103166060890189612ce9565b905061032560408a018a612c7d565b90501461035e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612b2f565b60048416156104365761037082610eb0565b156103a7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3906127e3565b6103bf82846103ba6101008c018c612d1d565b610ee2565b60005b6103cf60408a018a612c7d565b90508110156104345761042c83336103ea60408d018d612c7d565b858181106103f457fe5b90506020020160208101906104099190612178565b61041660608e018e612ce9565b8681811061042057fe5b905060200201356110f0565b6001016103c2565b505b61043f82610eb0565b156104b95760005b61045460408a018a612c7d565b90508110156104b7576104af61046d60408b018b612c7d565b8381811061047757fe5b905060200201602081019061048c9190612178565b61049960608c018c612ce9565b848181106104a357fe5b90506020020135611214565b600101610447565b505b6000806104cc60a08b0160808c01612178565b73ffffffffffffffffffffffffffffffffffffffff16146104fc576104f760a08a0160808b01612178565b6104fe565b335b905060006001861661051157600061051b565b61051b84336112cd565b9050600061052984846112cd565b9050600061054b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee306112cd565b9050348111156105585750345b6000808e73ffffffffffffffffffffffffffffffffffffffff168363d9c4535760e01b8f8f60405160240161058e9291906126de565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925290516106179190612408565b60006040518083038185875af1925050503d8060008114610654576040519150601f19603f3d011682016040523d82523d6000602084013e610659565b606091505b5091509150816106d5576106a2816040518060400160405280601281526020017f63616c6c4279746573206661696c65643a2000000000000000000000000000008152506113a6565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3919061272b565b508791506106ef9050826106e987876112cd565b90611778565b985060018816156107685761071161070787336112cd565b6106e9858a6117b5565b905061072160c08d0135826117f2565b61072b8a896117f2565b1015610763576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3906129e7565b6107a6565b8b60c001358910156107a6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3906129e7565b7fd6d4f5681c246c9f42c203e287975af1601f8df8035a9251f79aab5c8f09e2f833878787858e6040516107df969594939291906125c5565b60405180910390a17fddac40937f35385a34f721af292e5a83fc5b840f722bff57c2fc71adba708c488d8a61081388610eb0565b61081d578761083f565b7f000000000000000000000000b31f66aa3c1e785363f0875a1b74e27b85fd66c75b60405161084e939291906126ae565b60405180910390a150505050505050505b949350505050565b600060a08401358161087c6020870187612178565b905060006108906040880160208901612178565b905061089b82610eb0565b156108d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d39061291c565b6108e582846103ba6101008b018b612d1d565b8260006108f560408a018a612c7d565b90501115610a325761090a6040890189612c7d565b9050600114801561093657506109236060890189612ce9565b905061093260408a018a612c7d565b9050145b61096c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612775565b6109b6833361097e60408c018c612c7d565b600081811061098957fe5b905060200201602081019061099e9190612178565b6109ab60608d018d612ce9565b600081811061042057fe5b806109c460608a018a612ce9565b60008181106109cf57fe5b905060200201351115610a0e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612af8565b610a1b6060890189612ce9565b6000818110610a2657fe5b90506020020135810390505b600080610a4560a08b0160808c01612178565b73ffffffffffffffffffffffffffffffffffffffff1614610a7557610a7060a08a0160808b01612178565b610a77565b335b90506000610a8584836112cd565b9050610a968b868587868e8e611843565b610aa4816106e986856112cd565b96508960c00135871015610ae4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3906129e7565b7fd6d4f5681c246c9f42c203e287975af1601f8df8035a9251f79aab5c8f09e2f8338686858a8c604051610b1d969594939291906125c5565b60405180910390a17fddac40937f35385a34f721af292e5a83fc5b840f722bff57c2fc71adba708c488b88610b5187610eb0565b610b5b5786610b7d565b7f000000000000000000000000b31f66aa3c1e785363f0875a1b74e27b85fd66c75b604051610b8c939291906126ae565b60405180910390a1505050505050949350505050565b610baa611c42565b73ffffffffffffffffffffffffffffffffffffffff16610bc8610d23565b73ffffffffffffffffffffffffffffffffffffffff1614610c15576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612a55565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610c8c611c42565b73ffffffffffffffffffffffffffffffffffffffff16610caa610d23565b73ffffffffffffffffffffffffffffffffffffffff1614610cf7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612a55565b610d0082610eb0565b15610d1457610d0f3382611214565b610d1f565b610d1f823383611c46565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b7f000000000000000000000000b31f66aa3c1e785363f0875a1b74e27b85fd66c781565b610d6b611c42565b73ffffffffffffffffffffffffffffffffffffffff16610d89610d23565b73ffffffffffffffffffffffffffffffffffffffff1614610dd6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612a55565b73ffffffffffffffffffffffffffffffffffffffff8116610e23576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612851565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14919050565b60e08114156110ea576000808573ffffffffffffffffffffffffffffffffffffffff1663d505accf60e01b8585604051602001610f21939291906123cc565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815290829052610f5991612408565b6000604051808303816000865af19150503d8060008114610f96576040519150601f19603f3d011682016040523d82523d6000602084013e610f9b565b606091505b5091509150816110e7576000610fe6826040518060400160405280601481526020017f5065726d69742063616c6c206661696c65643a200000000000000000000000008152506113a6565b9050858773ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b815260040161102492919061259e565b60206040518083038186803b15801561103c57600080fd5b505afa158015611050573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611074919061236a565b10156110ae57806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3919061272b565b7f08c379a0afcc32b1a39302f7cb8073359698411ab5fd6e3edb2c02c0b5fba8aa816040516110dd919061272b565b60405180910390a1505b50505b50505050565b6000808573ffffffffffffffffffffffffffffffffffffffff166323b872dd86868660405160240161112493929190612657565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516111729190612408565b6000604051808303816000865af19150503d80600081146111af576040519150601f19603f3d011682016040523d82523d6000602084013e6111b4565b606091505b50915091508180156111de5750805115806111de5750808060200190518101906111de91906121c6565b6110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612c20565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff841690839060405161124b9190612408565b60006040518083038185875af1925050503d8060008114611288576040519150601f19603f3d011682016040523d82523d6000602084013e61128d565b606091505b50509050806112c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612b8c565b505050565b60006112d883610eb0565b156112fb575073ffffffffffffffffffffffffffffffffffffffff8116316113a0565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906370a082319061134d90859060040161257d565b60206040518083038186803b15801561136557600080fd5b505afa158015611379573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139d919061236a565b90505b92915050565b6060604483511015801561140d5750826000815181106113c257fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f0800000000000000000000000000000000000000000000000000000000000000145b801561146c57508260018151811061142157fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167fc300000000000000000000000000000000000000000000000000000000000000145b80156114cb57508260028151811061148057fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7900000000000000000000000000000000000000000000000000000000000000145b801561152a5750826003815181106114df57fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167fa000000000000000000000000000000000000000000000000000000000000000145b156115a0576060604484019050805160440184511015611576576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612ac1565b8281604051602001611589929190612528565b6040516020818303038152906040529150506113a0565b825160241480156116045750826000815181106115b957fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f4e00000000000000000000000000000000000000000000000000000000000000145b801561166357508260018151811061161857fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f4800000000000000000000000000000000000000000000000000000000000000145b80156116c257508260028151811061167757fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7b00000000000000000000000000000000000000000000000000000000000000145b80156117215750826003815181106116d657fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7100000000000000000000000000000000000000000000000000000000000000145b156117465760248301518261173582611d6f565b604051602001611589929190612424565b8161175084611d95565b6040516020016117619291906124a6565b604051602081830303815290604052905092915050565b808203828111156113a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d39061273e565b808201828110156113a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3906128e5565b600081158061180d5750508082028282828161180a57fe5b04145b6113a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3906128ae565b60006118518284018461228c565b90504281606001511015611891576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d390612be9565b6020810151518151511480156118ad5750604081015151815151145b6118e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3906129b0565b80515160005b81811015611b005761192b89338560000151848151811061190657fe5b60200260200101518660200151858151811061191e57fe5b60200260200101516110f0565b878360200151828151811061193c57fe5b6020026020010151111561197c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d39061281a565b8260200151818151811061198c57fe5b6020026020010151880397506000808b73ffffffffffffffffffffffffffffffffffffffff16638b674f5d60e01b866040015185815181106119ca57fe5b60200260200101516040516024016119e2919061272b565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909416939093179092529051611a6b9190612408565b6000604051808303816000865af19150503d8060008114611aa8576040519150601f19603f3d011682016040523d82523d6000602084013e611aad565b606091505b509150915081611af6576106a2816040518060400160405280601b81526020017f7377617053696e676c6553657175656e6365206661696c65643a2000000000008152506113a6565b50506001016118e9565b506000808a73ffffffffffffffffffffffffffffffffffffffff1663774b6b7e60e01b8b8a8a8860800151604051602401611b3e949392919061260c565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909416939093179092529051611bc79190612408565b6000604051808303816000865af19150503d8060008114611c04576040519150601f19603f3d011682016040523d82523d6000602084013e611c09565b606091505b509150915081611c35576106a281604051806060016040528060238152602001612e14602391396113a6565b5050505050505050505050565b3390565b6000808473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401611c78929190612688565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051611cc69190612408565b6000604051808303816000865af19150503d8060008114611d03576040519150601f19603f3d011682016040523d82523d6000602084013e611d08565b606091505b5091509150818015611d32575080511580611d32575080806020019051810190611d3291906121c6565b611d68576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d3906127ac565b5050505050565b60606113a082604051602001611d859190612574565b6040516020818303038152906040525b80516060907f30313233343536373839616263646566000000000000000000000000000000009060009060029081020167ffffffffffffffff81118015611ddb57600080fd5b506040519080825280601f01601f191660200182016040528015611e06576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611e3757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611e9457fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b8451811015611fc957826004868381518110611ede57fe5b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c60f81c60108110611f1457fe5b1a60f81b828260020260020181518110611f2a57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535082858281518110611f6657fe5b60209101015160f81c600f1660108110611f7c57fe5b1a60f81b828260020260030181518110611f9257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600101611ec6565b509392505050565b600082601f830112611fe1578081fd5b81356020611ff6611ff183612da4565b612d80565b8281528181019085830183850287018401881015612012578586fd5b855b8581101561203957813561202781612dee565b84529284019290840190600101612014565b5090979650505050505050565b600082601f830112612056578081fd5b81356020612066611ff183612da4565b82815281810190858301855b8581101561203957612089898684358b01016120f5565b84529284019290840190600101612072565b600082601f8301126120ab578081fd5b813560206120bb611ff183612da4565b82815281810190858301838502870184018810156120d7578586fd5b855b85811015612039578135845292840192908401906001016120d9565b600082601f830112612105578081fd5b813567ffffffffffffffff81111561211957fe5b61214a60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601612d80565b81815284602083860101111561215e578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215612189578081fd5b813561219481612dee565b9392505050565b600080604083850312156121ad578081fd5b82356121b881612dee565b946020939093013593505050565b6000602082840312156121d7578081fd5b81518015158114612194578182fd5b600080600080606085870312156121fb578182fd5b843561220681612dee565b9350602085013567ffffffffffffffff80821115612222578384fd5b908601906101208289031215612236578384fd5b9093506040860135908082111561224b578384fd5b818701915087601f83011261225e578384fd5b81358181111561226c578485fd5b88602082850101111561227d578485fd5b95989497505060200194505050565b60006020828403121561229d578081fd5b813567ffffffffffffffff808211156122b4578283fd5b9083019060a082860312156122c7578283fd5b6122d160a0612d80565b8235828111156122df578485fd5b6122eb87828601611fd1565b8252506020830135828111156122ff578485fd5b61230b8782860161209b565b602083015250604083013582811115612322578485fd5b61232e87828601612046565b6040830152506060830135606082015260808301358281111561234f578485fd5b61235b878286016120f5565b60808301525095945050505050565b60006020828403121561237b578081fd5b5051919050565b6000815180845261239a816020860160208601612dc2565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60007fffffffff000000000000000000000000000000000000000000000000000000008516825282846004840137910160040190815292915050565b6000825161241a818460208701612dc2565b9190910192915050565b60008351612436818460208801612dc2565b7f50616e69632800000000000000000000000000000000000000000000000000009083019081528351612470816006840160208801612dc2565b7f290000000000000000000000000000000000000000000000000000000000000060069290910191820152600701949350505050565b600083516124b8818460208801612dc2565b7f556e6b6e6f776e2800000000000000000000000000000000000000000000000090830190815283516124f2816008840160208801612dc2565b7f290000000000000000000000000000000000000000000000000000000000000060089290910191820152600901949350505050565b6000835161253a818460208801612dc2565b7f4572726f722800000000000000000000000000000000000000000000000000009083019081528351612470816006840160208801612dc2565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff92831681529116602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff96871681529486166020860152928516604085015293166060830152608082019290925260a081019190915260c00190565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401528085166040840152506080606083015261264d6080830184612382565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff93841681526020810192909252909116604082015260600190565b60006020825282602083015282846040840137818301604090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101919050565b6000602082526121946020830184612382565b60208082526015908201527f64732d6d6174682d7375622d756e646572666c6f770000000000000000000000604082015260600190565b6020808252601d908201527f57726f6e67206e756d626572206f662073726320726563656976657273000000604082015260600190565b6020808252601f908201527f5472616e7366657248656c7065723a205452414e534645525f4641494c454400604082015260600190565b60208082526012908201527f436c61696d20746f6b656e206973204554480000000000000000000000000000604082015260600190565b60208082526013908201527f696e76616c6964207377617020616d6f756e7400000000000000000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526014908201527f64732d6d6174682d6d756c2d6f766572666c6f77000000000000000000000000604082015260600190565b60208082526014908201527f64732d6d6174682d6164642d6f766572666c6f77000000000000000000000000604082015260600190565b60208082526022908201527f737263206973206574682c2073686f756c6420757365206e6f726d616c20737760408201527f6170000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526011908201527f496e76616c6964206d73672e76616c7565000000000000000000000000000000604082015260600190565b60208082526018908201527f696e76616c696420737761702064617461206c656e6774680000000000000000604082015260600190565b6020808252601b908201527f52657475726e20616d6f756e74206973206e6f7420656e6f7567680000000000604082015260600190565b6020808252601a908201527f4d696e2072657475726e2073686f756c64206e6f742062652030000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526017908201527f646174612073686f756c64206265206e6f74207a65726f000000000000000000604082015260600190565b60208082526015908201527f496e76616c69642072657665727420726561736f6e0000000000000000000000604082015260600190565b6020808252601f908201527f696e76616c69642066656520616d6f756e7420696e2073726320746f6b656e00604082015260600190565b60208082526028908201527f496e76616c6964206c656e6774687320666f7220726563656976696e6720737260408201527f6320746f6b656e73000000000000000000000000000000000000000000000000606082015260800190565b60208082526023908201527f5472616e7366657248656c7065723a204554485f5452414e534645525f46414960408201527f4c45440000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252600f908201527f524f555445523a20457870697265640000000000000000000000000000000000604082015260600190565b60208082526024908201527f5472616e7366657248656c7065723a205452414e534645525f46524f4d5f464160408201527f494c454400000000000000000000000000000000000000000000000000000000606082015260800190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612cb1578283fd5b83018035915067ffffffffffffffff821115612ccb578283fd5b6020908101925081023603821315612ce257600080fd5b9250929050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612cb1578182fd5b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612d51578283fd5b83018035915067ffffffffffffffff821115612d6b578283fd5b602001915036819003821315612ce257600080fd5b60405181810167ffffffffffffffff81118282101715612d9c57fe5b604052919050565b600067ffffffffffffffff821115612db857fe5b5060209081020190565b60005b83811015612ddd578181015183820152602001612dc5565b838111156110ea5750506000910152565b73ffffffffffffffffffffffffffffffffffffffff81168114612e1057600080fd5b5056fe66696e616c5472616e73616374696f6e50726f63657373696e67206661696c65643a20a2646970667358221220d98902019abbc8df14c19c5db3e00e8550710c343e37b1e8211caac4f9cf6c3364736f6c63430007060033

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

000000000000000000000000b31f66aa3c1e785363f0875a1b74e27b85fd66c7

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

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


Deployed Bytecode Sourcemap

12119:10770:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13556:10;:18;13570:4;13556:18;;13549:26;;;;12119:10770;;;;;13943:3880;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;17831:2071;;;;;;;;;;-1:-1:-1;17831:2071:0;;;;;:::i;:::-;;:::i;11526:148::-;;;;;;;;;;;;;:::i;13655:280::-;;;;;;;;;;-1:-1:-1;13655:280:0;;;;;:::i;:::-;;:::i;10875:87::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;12209:29::-;;;;;;;;;;;;;:::i;11829:281::-;;;;;;;;;;-1:-1:-1;11829:281:0;;;;;:::i;:::-;;:::i;13943:3880::-;14098:20;14162:1;14139:4;:20;;;:24;14131:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;14213:15;14205:51;;;;;;;;;;;;:::i;:::-;14285:10;;;;12674:4;14341:20;;:25;14337:72;;14375:34;14390:6;14398:4;14404;;14375:14;:34::i;:::-;14368:41;;;;;14337:72;14439:11;;;;14422:14;14479:13;;;;14439:4;14479:13;:::i;:::-;14461:31;-1:-1:-1;14503:15:0;14521:13;;;;;;;;:::i;:::-;14503:31;-1:-1:-1;12452:4:0;14551:27;;:32;14547:343;;14639:16;14646:8;14639:6;:16::i;:::-;:29;;14667:1;14639:29;;;14658:6;14639:29;14626:9;:43;14600:122;;;;;;;;;;;;:::i;:::-;14547:343;;;14795:16;14802:8;14795:6;:16::i;:::-;:29;;14823:1;14795:29;;;14814:6;14795:29;14781:9;:44;14755:123;;;;;;;;;;;;:::i;:::-;14952:15;;;;:4;:15;:::i;:::-;:22;-1:-1:-1;14924:17:0;;;;:4;:17;:::i;:::-;:24;;:50;14902:140;;;;;;;;;;;;:::i;:::-;12504:4;15059:21;;:26;15055:468;;15111:16;15118:8;15111:6;:16::i;:::-;15110:17;15102:48;;;;;;;;;;;;:::i;:::-;15165:38;15173:8;15183:6;15191:11;;;;:4;:11;:::i;:::-;15165:7;:38::i;:::-;15223:6;15218:294;15239:17;;;;:4;:17;:::i;:::-;:24;;15235:1;:28;15218:294;;;15289:207;15351:8;15383:10;15416:17;;;;:4;:17;:::i;:::-;15434:1;15416:20;;;;;;;;;;;;;;;;;;;;:::i;:::-;15459:15;;;;:4;:15;:::i;:::-;15475:1;15459:18;;;;;;;;;;;;;15289:31;:207::i;:::-;15265:3;;15218:294;;;;15055:468;15539:16;15546:8;15539:6;:16::i;:::-;15535:357;;;15666:6;15661:220;15682:17;;;;:4;:17;:::i;:::-;:24;;15678:1;:28;15661:220;;;15732:133;15785:17;;;;:4;:17;:::i;:::-;15803:1;15785:20;;;;;;;;;;;;;;;;;;;;:::i;:::-;15828:15;;;;:4;:15;:::i;:::-;15844:1;15828:18;;;;;;;;;;;;;15732:30;:133::i;:::-;15708:3;;15661:220;;;;15535:357;15904:19;;15940:16;;;;;;;;:::i;:::-;:30;;;15939:64;;15987:16;;;;;;;;:::i;:::-;15939:64;;;15974:10;15939:64;15904:99;-1:-1:-1;16014:25:0;12394:4;16056:21;;16055:68;;16122:1;16055:68;;;16086:33;16098:8;16108:10;16086:11;:33::i;:::-;16014:109;;16134:25;16162:34;16174:8;16184:11;16162;:34::i;:::-;16134:62;;16351:17;16371:47;12301:42;16412:4;16371:11;:47::i;:::-;16351:67;;16449:9;16437;:21;16433:48;;;-1:-1:-1;16472:9:0;16433:48;16497:12;16511:19;16559:6;16551:20;;16579:9;16635:25;;;16662:4;;16612:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16551:135;;;;16612:55;16551:135;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16496:190;;;;16706:7;16701:111;;16741:54;16766:6;16741:54;;;;;;;;;;;;;;;;;:24;:54::i;:::-;16734:62;;;;;;;;;;;:::i;16701:111::-;-1:-1:-1;16857:6:0;;-1:-1:-1;16889:57:0;;-1:-1:-1;16928:17:0;16889:34;16901:8;16911:11;16889;:34::i;:::-;:38;;:57::i;:::-;16874:72;-1:-1:-1;12394:4:0;16963:21;;:26;16959:521;;17020:100;17072:33;17084:8;17094:10;17072:11;:33::i;:::-;17020:29;:17;17042:6;17020:21;:29::i;:100::-;17006:114;-1:-1:-1;17210:37:0;:20;;;;17006:114;17210:24;:37::i;:::-;17161:24;:12;17178:6;17161:16;:24::i;:::-;:86;;17135:175;;;;;;;;;;;;:::i;:::-;16959:521;;;17385:4;:20;;;17369:12;:36;;17343:125;;;;;;;;;;;;:::i;:::-;17497:168;17519:10;17544:8;17567;17590:11;17616;17642:12;17497:168;;;;;;;;;;;:::i;:::-;;;;;;;;17681:134;17712:6;17734:12;17761:16;17768:8;17761:6;:16::i;:::-;:43;;17795:8;17761:43;;;17780:4;17761:43;17681:134;;;;;;;;:::i;:::-;;;;;;;;13943:3880;;;;;;;;;;;;;;;:::o;17831:2071::-;17986:20;18036:11;;;;17986:20;18076:13;;;;18036:4;18076:13;:::i;:::-;18058:31;-1:-1:-1;18100:15:0;18118:13;;;;;;;;:::i;:::-;18100:31;;18151:16;18158:8;18151:6;:16::i;:::-;18150:17;18142:64;;;;;;;;;;;;:::i;:::-;18219:38;18227:8;18237:6;18245:11;;;;:4;:11;:::i;18219:38::-;18296:6;18270:23;18317:17;;;;:4;:17;:::i;:::-;:24;;:28;18313:638;;;18424:17;;;;:4;:17;:::i;:::-;:24;;18452:1;18424:29;:100;;;;-1:-1:-1;18502:15:0;;;;:4;:15;:::i;:::-;:22;-1:-1:-1;18474:17:0;;;;:4;:17;:::i;:::-;:24;;:50;18424:100;18398:191;;;;;;;;;;;;:::i;:::-;18604:187;18662:8;18690:10;18719:17;;;;:4;:17;:::i;:::-;18737:1;18719:20;;;;;;;;;;;;;;;;;;;;:::i;:::-;18758:15;;;;:4;:15;:::i;:::-;18774:1;18758:18;;;;;;18604:187;18836:15;18814;;;;:4;:15;:::i;:::-;18830:1;18814:18;;;;;;;;;;;;;:37;;18806:81;;;;;;;;;;;;:::i;:::-;18921:15;;;;:4;:15;:::i;:::-;18937:1;18921:18;;;;;;;;;;;;;18902:37;;;;18313:638;18963:19;;18999:16;;;;;;;;:::i;:::-;:30;;;18998:64;;19046:16;;;;;;;;:::i;:::-;18998:64;;;19033:10;18998:64;18963:99;;19073:25;19101:34;19113:8;19123:11;19101;:34::i;:::-;19073:62;;19148:204;19196:6;19225:8;19249:15;19287:8;19311:11;19337:4;;19148:33;:204::i;:::-;19380:57;19419:17;19380:34;19392:8;19402:11;19380;:34::i;:57::-;19365:72;;19488:4;:20;;;19472:12;:36;;19450:113;;;;;;;;;;;;:::i;:::-;19581:163;19603:10;19628:8;19651;19674:11;19700:6;19721:12;19581:163;;;;;;;;;;;:::i;:::-;;;;;;;;19760:134;19791:6;19813:12;19840:16;19847:8;19840:6;:16::i;:::-;:43;;19874:8;19840:43;;;19859:4;19840:43;19760:134;;;;;;;;:::i;:::-;;;;;;;;17831:2071;;;;;;;;;;;;:::o;11526:148::-;11106:12;:10;:12::i;:::-;11095:23;;:7;:5;:7::i;:::-;:23;;;11087:68;;;;;;;;;;;;:::i;:::-;11633:1:::1;11617:6:::0;;11596:40:::1;::::0;::::1;11617:6:::0;;::::1;::::0;11596:40:::1;::::0;11633:1;;11596:40:::1;11664:1;11647:19:::0;;;::::1;::::0;;11526:148::o;13655:280::-;11106:12;:10;:12::i;:::-;11095:23;;:7;:5;:7::i;:::-;:23;;;11087:68;;;;;;;;;;;;:::i;:::-;13741:21:::1;13755:5;13741:6;:21::i;:::-;13737:191;;;13779:50;13810:10;13822:6;13779:30;:50::i;:::-;13737:191;;;13862:54;13890:5;13897:10;13909:6;13862:27;:54::i;:::-;13655:280:::0;;:::o;10875:87::-;10921:7;10948:6;;;10875:87;:::o;12209:29::-;;;:::o;11829:281::-;11106:12;:10;:12::i;:::-;11095:23;;:7;:5;:7::i;:::-;:23;;;11087:68;;;;;;;;;;;;:::i;:::-;11932:22:::1;::::0;::::1;11910:110;;;;;;;;;;;;:::i;:::-;12057:6;::::0;;12036:38:::1;::::0;::::1;::::0;;::::1;::::0;12057:6;::::1;::::0;12036:38:::1;::::0;::::1;12085:6;:17:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;11829:281::o;22770:116::-;22848:29;;;12301:42;22848:29;22770:116;;;:::o;8147:783::-;8292:6;8275:23;;8271:652;;;8380:12;8394:19;8442:5;8434:19;;8493:28;;;8523:6;;8476:54;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;8434:115;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8379:170;;;;8569:7;8564:348;;8597:20;8641:56;8666:6;8641:56;;;;;;;;;;;;;;;;;:24;:56::i;:::-;8597:100;;8765:6;8720:5;:15;;;8736:10;8756:4;8720:42;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:51;8716:181;;;8803:6;8796:14;;;;;;;;;;;:::i;8716:181::-;8864:13;8870:6;8864:13;;;;;;:::i;:::-;;;;;;;;8564:348;;8271:652;;;8147:783;;;;:::o;3596:498::-;3821:12;3835:17;3869:5;:10;;3903;3915:4;3921:2;3925:5;3880:51;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3869:63;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3820:112;;;;3965:7;:57;;;;-1:-1:-1;3977:11:0;;:16;;:44;;;4008:4;3997:24;;;;;;;;;;;;:::i;:::-;3943:143;;;;;;;;;;;;:::i;4102:200::-;4215:12;;;4175;4215;;;;;;;;;4193:7;;;;4208:5;;4193:35;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4174:54;;;4247:7;4239:55;;;;;;;;;;;;:::i;:::-;4102:200;;;:::o;22496:266::-;22598:7;22627:13;22634:5;22627:6;:13::i;:::-;22623:132;;;-1:-1:-1;22664:15:0;;;;22657:22;;22623:132;22719:24;;;;;:15;;;;;;:24;;22735:7;;22719:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;22712:31;;22623:132;22496:266;;;;:::o;5309:2161::-;5415:13;5719:2;5704:4;:11;:17;;:51;;;;;5738:4;5743:1;5738:7;;;;;;;;;;;;;;;:17;;5704:51;:85;;;;;5772:4;5777:1;5772:7;;;;;;;;;;;;;;;:17;;5704:85;:119;;;;;5806:4;5811:1;5806:7;;;;;;;;;;;;;;;:17;;5704:119;:153;;;;;5840:4;5845:1;5840:7;;;;;;;;;;;;;;;:17;;5704:153;5686:1694;;;5884:20;6100:2;6094:4;6090:13;6080:23;;6620:6;6614:20;6609:2;:25;6594:4;:11;:40;;6568:123;;;;;;;;;;;;:::i;:::-;6737:6;6755;6720:47;;;;;;;;;:::i;:::-;;;;;;;;;;;;;6706:62;;;;;5686:1694;6876:4;:11;6891:2;6876:17;:51;;;;;6910:4;6915:1;6910:7;;;;;;;;;;;;;;;:17;;6876:51;:85;;;;;6944:4;6949:1;6944:7;;;;;;;;;;;;;;;:17;;6876:85;:119;;;;;6978:4;6983:1;6978:7;;;;;;;;;;;;;;;:17;;6876:119;:153;;;;;7012:4;7017:1;7012:7;;;;;;;;;;;;;;;:17;;6876:153;6858:522;;;7250:2;7240:13;;7234:20;7331:6;7349:12;7234:20;7349:6;:12::i;:::-;7314:53;;;;;;;;;:::i;6858:522::-;7423:6;7443:12;7450:4;7443:6;:12::i;:::-;7406:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;7392:70;;5309:2161;;;;:::o;4584:138::-;4677:5;;;4672:16;;;;4664:50;;;;;;;;;;;;:::i;4439:137::-;4532:5;;;4527:16;;;;4519:49;;;;;;;;;;;;:::i;4730:151::-;4788:9;4818:6;;;:30;;-1:-1:-1;;4833:5:0;;;4847:1;4842;4833:5;4842:1;4828:15;;;;;:20;4818:30;4810:63;;;;;;;;;;;;:::i;20015:2473::-;20270:30;20303:34;;;;20314:4;20303:34;:::i;:::-;20270:67;;20377:15;20356:8;:17;;;:36;;20348:64;;;;;;;;;;;;:::i;:::-;20475:25;;;;:32;20445:19;;:26;:62;:134;;;;-1:-1:-1;20554:18:0;;;;:25;20524:19;;:26;:55;20445:134;20423:208;;;;;;;;;;;;:::i;:::-;20662:19;;:26;20642:17;20699:1086;20723:9;20719:1;:13;20699:1086;;;20803:189;20853:7;20879:10;20908:8;:19;;;20928:1;20908:22;;;;;;;;;;;;;;20949:8;:25;;;20975:1;20949:28;;;;;;;;;;;;;;20803:31;:189::i;:::-;21047:15;21015:8;:25;;;21041:1;21015:28;;;;;;;;;;;;;;:47;;21007:79;;;;;;;;;;;;:::i;:::-;21120:8;:25;;;21146:1;21120:28;;;;;;;;;;;;;;21101:47;;;;21318:12;21332:19;21384:6;21376:20;;21476:34;;;21541:8;:18;;;21560:1;21541:21;;;;;;;;;;;;;;21423:166;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21376:236;;;;21423:166;21376:236;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21317:295;;;;21636:7;21631:128;;21675:63;21700:6;21675:63;;;;;;;;;;;;;;;;;:24;:63::i;21631:128::-;-1:-1:-1;;20734:3:0;;20699:1086;;;;21938:12;21952:19;22000:6;21992:20;;22084:42;;;22153:7;22187:8;22222:11;22260:8;:25;;;22035:273;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21992:335;;;;22035:273;21992:335;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21937:390;;;;22347:7;22342:128;;22382:71;22407:6;22382:71;;;;;;;;;;;;;;;;;:24;:71::i;22342:128::-;20015:2473;;;;;;;;;;;:::o;9480:106::-;9568:10;9480:106;:::o;3140:448::-;3326:12;3340:17;3374:5;:10;;3408;3420:2;3424:5;3385:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3374:57;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3325:106;;;;3464:7;:57;;;;-1:-1:-1;3476:11:0;;:16;;:44;;;3507:4;3496:24;;;;;;;;;;;;:::i;:::-;3442:138;;;;;;;;;;;;:::i;:::-;3140:448;;;;;:::o;7478:125::-;7531:13;7564:31;7588:5;7571:23;;;;;;;;:::i;:::-;;;;;;;;;;;;;7611:467;7791:11;;7668:13;;7694:53;;:16;;7805:1;7791:15;;;7787:19;7777:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7777:30:0;;7758:49;;7818:12;:3;7822:1;7818:6;;;;;;;;;;;:12;;;;;;;;;;;7841;:3;7845:1;7841:6;;;;;;;;;;;:12;;;;;;;;;;;7869:9;7864:178;7888:4;:11;7884:1;:15;7864:178;;;7938:8;7964:1;7953:4;7958:1;7953:7;;;;;;;;;;;;;;:12;;:7;7947:19;7938:29;;;;;;;;;;7921:3;7929:1;7925;:5;7933:1;7925:9;7921:14;;;;;;;;;;;:46;;;;;;;;;;;7999:8;8014:4;8019:1;8014:7;;;;;;;;;;;;;;;8024:4;8008:21;7999:31;;;;;;;;;;7982:3;7990:1;7986;:5;7994:1;7986:9;7982:14;;;;;;;;;;;:48;;;;;;;;;;-1:-1:-1;7901:3:0;;7864:178;;;-1:-1:-1;8066:3:0;7611:467;-1:-1:-1;;;7611: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:601;;2284:3;2277:4;2269:6;2265:17;2261:27;2251:2;;2306:5;2299;2292:20;2251:2;2346:6;2333:20;2372:18;2368:2;2365:26;2362:2;;;2394:9;2362:2;2429:113;2536:4;2467:66;2460:4;2456:2;2452:13;2448:86;2444:97;2429:113;:::i;:::-;2567:2;2558:7;2551:19;2613:3;2606:4;2601:2;2593:6;2589:15;2585:26;2582:35;2579:2;;;2634:5;2627;2620:20;2579:2;2703;2696:4;2688:6;2684:17;2677:4;2668:7;2664:18;2651:55;2726:16;;;2744:4;2722:27;2715:42;;;;2730:7;2241:547;-1:-1:-1;;2241:547:1:o;2793:259::-;;2905:2;2893:9;2884:7;2880:23;2876:32;2873:2;;;2926:6;2918;2911:22;2873:2;2970:9;2957:23;2989:33;3016:5;2989:33;:::i;:::-;3041:5;2863:189;-1:-1:-1;;;2863:189:1:o;3057:327::-;;;3186:2;3174:9;3165:7;3161:23;3157:32;3154:2;;;3207:6;3199;3192:22;3154:2;3251:9;3238:23;3270:33;3297:5;3270:33;:::i;:::-;3322:5;3374:2;3359:18;;;;3346:32;;-1:-1:-1;;;3144:240:1:o;3389:297::-;;3509:2;3497:9;3488:7;3484:23;3480:32;3477:2;;;3530:6;3522;3515:22;3477:2;3567:9;3561:16;3620:5;3613:13;3606:21;3599:5;3596:32;3586:2;;3647:6;3639;3632:22;3691:1098;;;;;3918:2;3906:9;3897:7;3893:23;3889:32;3886:2;;;3939:6;3931;3924:22;3886:2;3983:9;3970:23;4002:33;4029:5;4002:33;:::i;:::-;4054:5;-1:-1:-1;4110:2:1;4095:18;;4082:32;4133:18;4163:14;;;4160:2;;;4195:6;4187;4180:22;4160:2;4223:22;;;;4279:3;4261:16;;;4257:26;4254:2;;;4301:6;4293;4286:22;4254:2;4329;;-1:-1:-1;4384:2:1;4369:18;;4356:32;;4400:16;;;4397:2;;;4434:6;4426;4419:22;4397:2;4477:8;4466:9;4462:24;4452:34;;4524:7;4517:4;4513:2;4509:13;4505:27;4495:2;;4551:6;4543;4536:22;4495:2;4596;4583:16;4622:2;4614:6;4611:14;4608:2;;;4643:6;4635;4628:22;4608:2;4693:7;4688:2;4679:6;4675:2;4671:15;4667:24;4664:37;4661:2;;;4719:6;4711;4704:22;4661:2;3876:913;;;;-1:-1:-1;;4755:2:1;4747:11;;-1:-1:-1;;;3876:913:1:o;5071:1312::-;;5214:2;5202:9;5193:7;5189:23;5185:32;5182:2;;;5235:6;5227;5220:22;5182:2;5280:9;5267:23;5309:18;5350:2;5342:6;5339:14;5336:2;;;5371:6;5363;5356:22;5336:2;5399:22;;;;5455:4;5437:16;;;5433:27;5430:2;;;5478:6;5470;5463:22;5430:2;5509:20;5524:4;5509:20;:::i;:::-;5567:2;5554:16;5595:2;5585:8;5582:16;5579:2;;;5616:6;5608;5601:22;5579:2;5648:62;5702:7;5691:8;5687:2;5683:17;5648:62;:::i;:::-;5641:5;5634:77;;5757:2;5753;5749:11;5736:25;5786:2;5776:8;5773:16;5770:2;;;5807:6;5799;5792:22;5770:2;5848:62;5902:7;5891:8;5887:2;5883:17;5848:62;:::i;:::-;5843:2;5836:5;5832:14;5825:86;;5957:2;5953;5949:11;5936:25;5986:2;5976:8;5973:16;5970:2;;;6007:6;5999;5992:22;5970:2;6048:60;6100:7;6089:8;6085:2;6081:17;6048:60;:::i;:::-;6043:2;6036:5;6032:14;6025:84;;6162:2;6158;6154:11;6141:25;6136:2;6129:5;6125:14;6118:49;6213:3;6209:2;6205:12;6192:26;6243:2;6233:8;6230:16;6227:2;;;6264:6;6256;6249:22;6227:2;6306:46;6344:7;6333:8;6329:2;6325:17;6306:46;:::i;:::-;6300:3;6289:15;;6282:71;-1:-1:-1;6293:5:1;5172:1211;-1:-1:-1;;;;;5172:1211:1:o;6388:194::-;;6511:2;6499:9;6490:7;6486:23;6482:32;6479:2;;;6532:6;6524;6517:22;6479:2;-1:-1:-1;6560:16:1;;6469:113;-1:-1:-1;6469:113:1:o;6587:318::-;;6668:5;6662:12;6695:6;6690:3;6683:19;6711:63;6767:6;6760:4;6755:3;6751:14;6744:4;6737:5;6733:16;6711:63;:::i;:::-;6819:2;6807:15;6824:66;6803:88;6794:98;;;;6894:4;6790:109;;6638:267;-1:-1:-1;;6638:267:1:o;6910:416::-;;7117:66;7109:6;7105:79;7100:3;7093:92;7228:6;7220;7216:1;7211:3;7207:11;7194:41;7258:16;;7276:1;7254:24;7287:15;;;7254:24;7083:243;-1:-1:-1;;7083:243:1:o;7331:274::-;;7498:6;7492:13;7514:53;7560:6;7555:3;7548:4;7540:6;7536:17;7514:53;:::i;:::-;7583:16;;;;;7468:137;-1:-1:-1;;7468:137:1:o;7610:773::-;;8029:6;8023:13;8045:53;8091:6;8086:3;8079:4;8071:6;8067:17;8045:53;:::i;:::-;8159:8;8120:16;;;8145:23;;;8193:13;;8215:65;8193:13;8267:1;8256:13;;8249:4;8237:17;;8215:65;:::i;:::-;8347:3;8343:1;8299:20;;;;8335:10;;;8328:23;8375:1;8367:10;;7999:384;-1:-1:-1;;;;7999:384:1:o;8388:775::-;;8807:6;8801:13;8823:53;8869:6;8864:3;8857:4;8849:6;8845:17;8823:53;:::i;:::-;8937:10;8898:16;;;8923:25;;;8973:13;;8995:65;8973:13;9047:1;9036:13;;9029:4;9017:17;;8995:65;:::i;:::-;9127:3;9123:1;9079:20;;;;9115:10;;;9108:23;9155:1;9147:10;;8777:386;-1:-1:-1;;;;8777:386:1:o;9168:773::-;;9587:6;9581:13;9603:53;9649:6;9644:3;9637:4;9629:6;9625:17;9603:53;:::i;:::-;9717:8;9678:16;;;9703:23;;;9751:13;;9773:65;9751:13;9825:1;9814:13;;9807:4;9795:17;;9773:65;:::i;9946:182::-;10075:19;;;10119:2;10110:12;;10065:63::o;10133:226::-;10309:42;10297:55;;;;10279:74;;10267:2;10252:18;;10234:125::o;10364:335::-;10556:42;10625:15;;;10607:34;;10677:15;;10672:2;10657:18;;10650:43;10534:2;10519:18;;10501:198::o;10704:666::-;11035:42;11104:15;;;11086:34;;11156:15;;;11151:2;11136:18;;11129:43;11208:15;;;11203:2;11188:18;;11181:43;11260:15;;11255:2;11240:18;;11233:43;11307:3;11292:19;;11285:35;;;;11351:3;11336:19;;11329:35;;;;11012:3;10997:19;;10979:391::o;11375:522::-;;11598:42;11679:2;11671:6;11667:15;11656:9;11649:34;11731:2;11723:6;11719:15;11714:2;11703:9;11699:18;11692:43;11783:2;11775:6;11771:15;11766:2;11755:9;11751:18;11744:43;;11823:3;11818:2;11807:9;11803:18;11796:31;11844:47;11886:3;11875:9;11871:19;11863:6;11844:47;:::i;:::-;11836:55;11578:319;-1:-1:-1;;;;;;11578:319:1:o;11902:398::-;12114:42;12183:15;;;12165:34;;12235:15;;;;12230:2;12215:18;;12208:43;12282:2;12267:18;;12260:34;;;;12092:2;12077:18;;12059:241::o;12305:297::-;12509:42;12497:55;;;;12479:74;;12584:2;12569:18;;12562:34;12467:2;12452:18;;12434:168::o;12607:398::-;12819:42;12888:15;;;12870:34;;12935:2;12920:18;;12913:34;;;;12983:15;;;12978:2;12963:18;;12956:43;12797:2;12782:18;;12764:241::o;13010:450::-;;13167:2;13156:9;13149:21;13206:6;13201:2;13190:9;13186:18;13179:34;13263:6;13255;13250:2;13239:9;13235:18;13222:48;13290:22;;;13314:2;13286:31;;;13279:45;;;;13376:2;13364:15;;;13381:66;13360:88;13345:104;13341:113;;13139:321;-1:-1:-1;13139:321:1:o;13465:219::-;;13612:2;13601:9;13594:21;13632:46;13674:2;13663:9;13659:18;13651:6;13632:46;:::i;13915:345::-;14117:2;14099:21;;;14156:2;14136:18;;;14129:30;14195:23;14190:2;14175:18;;14168:51;14251:2;14236:18;;14089:171::o;14265:353::-;14467:2;14449:21;;;14506:2;14486:18;;;14479:30;14545:31;14540:2;14525:18;;14518:59;14609:2;14594:18;;14439:179::o;14623:355::-;14825:2;14807:21;;;14864:2;14844:18;;;14837:30;14903:33;14898:2;14883:18;;14876:61;14969:2;14954:18;;14797:181::o;14983:342::-;15185:2;15167:21;;;15224:2;15204:18;;;15197:30;15263:20;15258:2;15243:18;;15236:48;15316:2;15301:18;;15157:168::o;15330:343::-;15532:2;15514:21;;;15571:2;15551:18;;;15544:30;15610:21;15605:2;15590:18;;15583:49;15664:2;15649:18;;15504:169::o;15678:402::-;15880:2;15862:21;;;15919:2;15899:18;;;15892:30;15958:34;15953:2;15938:18;;15931:62;16029:8;16024:2;16009:18;;16002:36;16070:3;16055:19;;15852:228::o;16085:344::-;16287:2;16269:21;;;16326:2;16306:18;;;16299:30;16365:22;16360:2;16345:18;;16338:50;16420:2;16405:18;;16259:170::o;16434:344::-;16636:2;16618:21;;;16675:2;16655:18;;;16648:30;16714:22;16709:2;16694:18;;16687:50;16769:2;16754:18;;16608:170::o;16783:398::-;16985:2;16967:21;;;17024:2;17004:18;;;16997:30;17063:34;17058:2;17043:18;;17036:62;17134:4;17129:2;17114:18;;17107:32;17171:3;17156:19;;16957:224::o;17186:341::-;17388:2;17370:21;;;17427:2;17407:18;;;17400:30;17466:19;17461:2;17446:18;;17439:47;17518:2;17503:18;;17360:167::o;17532:348::-;17734:2;17716:21;;;17773:2;17753:18;;;17746:30;17812:26;17807:2;17792:18;;17785:54;17871:2;17856:18;;17706:174::o;17885:351::-;18087:2;18069:21;;;18126:2;18106:18;;;18099:30;18165:29;18160:2;18145:18;;18138:57;18227:2;18212:18;;18059:177::o;18241:350::-;18443:2;18425:21;;;18482:2;18462:18;;;18455:30;18521:28;18516:2;18501:18;;18494:56;18582:2;18567:18;;18415:176::o;18596:356::-;18798:2;18780:21;;;18817:18;;;18810:30;18876:34;18871:2;18856:18;;18849:62;18943:2;18928:18;;18770:182::o;18957:347::-;19159:2;19141:21;;;19198:2;19178:18;;;19171:30;19237:25;19232:2;19217:18;;19210:53;19295:2;19280:18;;19131:173::o;19309:345::-;19511:2;19493:21;;;19550:2;19530:18;;;19523:30;19589:23;19584:2;19569:18;;19562:51;19645:2;19630:18;;19483:171::o;19659:355::-;19861:2;19843:21;;;19900:2;19880:18;;;19873:30;19939:33;19934:2;19919:18;;19912:61;20005:2;19990:18;;19833:181::o;20019:404::-;20221:2;20203:21;;;20260:2;20240:18;;;20233:30;20299:34;20294:2;20279:18;;20272:62;20370:10;20365:2;20350:18;;20343:38;20413:3;20398:19;;20193:230::o;20428:399::-;20630:2;20612:21;;;20669:2;20649:18;;;20642:30;20708:34;20703:2;20688:18;;20681:62;20779:5;20774:2;20759:18;;20752:33;20817:3;20802:19;;20602:225::o;20832:339::-;21034:2;21016:21;;;21073:2;21053:18;;;21046:30;21112:17;21107:2;21092:18;;21085:45;21162:2;21147:18;;21006:165::o;21176:400::-;21378:2;21360:21;;;21417:2;21397:18;;;21390:30;21456:34;21451:2;21436:18;;21429:62;21527:6;21522:2;21507:18;;21500:34;21566:3;21551:19;;21350:226::o;21763:619::-;;;21922:11;21909:25;22012:66;22001:8;21985:14;21981:29;21977:102;21957:18;21953:127;21943:2;;22097:4;22091;22084:18;21943:2;22127:33;;22179:20;;;-1:-1:-1;22222:18:1;22211:30;;22208:2;;;22257:4;22251;22244:18;22208:2;22293:4;22281:17;;;;-1:-1:-1;22340:17:1;;22324:14;22320:38;22310:49;;22307:2;;;22372:1;22369;22362:12;22307:2;21873:509;;;;;:::o;22387:623::-;;;22546:11;22533:25;22636:66;22625:8;22609:14;22605:29;22601:102;22581:18;22577:127;22567:2;;22723:6;22715;22708:22;23015:592;;;23158:11;23145:25;23248:66;23237:8;23221:14;23217:29;23213:102;23193:18;23189:127;23179:2;;23333:4;23327;23320:18;23179:2;23363:33;;23415:20;;;-1:-1:-1;23458:18:1;23447:30;;23444:2;;;23493:4;23487;23480:18;23444:2;23529:4;23517:17;;-1:-1:-1;23560:14:1;23556:27;;;23546:38;;23543:2;;;23597:1;23594;23587:12;23612:242;23682:2;23676:9;23712:17;;;23759:18;23744:34;;23780:22;;;23741:62;23738:2;;;23806:9;23738:2;23833;23826:22;23656:198;;-1:-1:-1;23656:198:1:o;23859:183::-;;23958:18;23950:6;23947:30;23944:2;;;23980:9;23944:2;-1:-1:-1;24031:4:1;24012:17;;;24008:28;;23934:108::o;24047:258::-;24119:1;24129:113;24143:6;24140:1;24137:13;24129:113;;;24219:11;;;24213:18;24200:11;;;24193:39;24165:2;24158:10;24129:113;;;24260:6;24257:1;24254:13;24251:2;;;-1:-1:-1;;24295:1:1;24277:16;;24270:27;24100:205::o;24310:156::-;24398:42;24391:5;24387:54;24380:5;24377:65;24367:2;;24456:1;24453;24446:12;24367:2;24357:109;:::o

Swarm Source

ipfs://d98902019abbc8df14c19c5db3e00e8550710c343e37b1e8211caac4f9cf6c33

Block Transaction 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
[ 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.