POL Price: $0.125632 (-3.28%)
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo1 POL

POL Value

$0.13 (@ $0.13/POL)

Token Holdings

More Info

Private Name Tags

Multichain Info

Transaction Hash
Block
From
To
Swap680796832025-02-18 15:57:51339 days ago1739894271IN
1inch: V3
0 POL0.0014871647.41632369
Swap680792032025-02-18 15:40:19340 days ago1739893219IN
1inch: V3
0 POL0.0023623575.43614004
Swap680790642025-02-18 15:35:23340 days ago1739892923IN
1inch: V3
0 POL0.0022411258.04809587
Swap680789052025-02-18 15:29:45340 days ago1739892585IN
1inch: V3
0 POL0.0027651672.07697242
Swap680788682025-02-18 15:28:27340 days ago1739892507IN
1inch: V3
0 POL0.0032580582.24088079
Unoswap680788312025-02-18 15:27:07340 days ago1739892427IN
1inch: V3
0 POL0.0013298558.33733186
Unoswap680788012025-02-18 15:26:05340 days ago1739892365IN
1inch: V3
0 POL0.0013119957.55372043
Unoswap677160782025-02-09 9:05:12349 days ago1739091912IN
1inch: V3
40 POL0.0006678828.60064957
Unoswap675678402025-02-05 12:56:25353 days ago1738760185IN
1inch: V3
9.4 POL0.0006710728.75233257
Unoswap675675882025-02-05 12:47:29353 days ago1738759649IN
1inch: V3
9.4 POL0.0006823629.23591475
Unoswap672589352025-01-28 19:10:15360 days ago1738091415IN
1inch: V3
99.74128225 POL0.0006379327.77000005
Unoswap672219082025-01-27 21:09:10361 days ago1738012150IN
1inch: V3
40 POL0.0006656229.57278784
Unoswap672217992025-01-27 21:05:18361 days ago1738011918IN
1inch: V3
36 POL0.0006617329.40000004
Unoswap672217552025-01-27 21:03:44361 days ago1738011824IN
1inch: V3
36 POL0.0006617329.40000004
Unoswap672216702025-01-27 21:00:44361 days ago1738011644IN
1inch: V3
35 POL0.0006617329.40000004
Unoswap667398912025-01-15 19:33:22373 days ago1736969602IN
1inch: V3
25.26981846 POL0.0006533828.4722934
Unoswap667393962025-01-15 19:15:46373 days ago1736968546IN
1inch: V3
25.27045999 POL0.0006415328.47229336
Swap666765222025-01-14 5:30:31375 days ago1736832631IN
1inch: V3
0 POL0.0006845626.93001079
Unoswap666604192025-01-13 19:45:02375 days ago1736797502IN
1inch: V3
0.11118754 POL0.0006902230.66561558
Unoswap660733022024-12-29 18:40:04390 days ago1735497604IN
1inch: V3
102.6 POL0.0006449528.5936029
Unoswap660732192024-12-29 18:37:08390 days ago1735497428IN
1inch: V3
102.7 POL0.0006678729.65697875
Unoswap660709732024-12-29 17:13:48390 days ago1735492428IN
1inch: V3
102 POL0.0007304232.43437867
Unoswap660709412024-12-29 17:12:40390 days ago1735492360IN
1inch: V3
102 POL0.000714731.73647035
Unoswap660229492024-12-28 11:53:07392 days ago1735386787IN
1inch: V3
15 POL0.0012171854.10673341
Swap659603952024-12-26 21:14:03393 days ago1735247643IN
1inch: V3
0 POL0.0006052126.69085994
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
729660692025-06-19 15:51:34219 days ago1750348294
1inch: V3
1 POL
569457052024-05-14 4:16:37620 days ago1715660197
1inch: V3
0.0106 POL
569068182024-05-13 4:27:38621 days ago1715574458
1inch: V3
6.51573889 POL
569068182024-05-13 4:27:38621 days ago1715574458
1inch: V3
6.51573889 POL
568590212024-05-11 22:52:18622 days ago1715467938
1inch: V3
2.26015938 POL
568590212024-05-11 22:52:18622 days ago1715467938
1inch: V3
2.26015938 POL
568590182024-05-11 22:52:12622 days ago1715467932
1inch: V3
1.69526568 POL
568590182024-05-11 22:52:12622 days ago1715467932
1inch: V3
1.69526568 POL
568589812024-05-11 22:50:54622 days ago1715467854
1inch: V3
0.00207009 POL
568589812024-05-11 22:50:54622 days ago1715467854
1inch: V3
0.00207009 POL
568589782024-05-11 22:50:48622 days ago1715467848
1inch: V3
2.26025688 POL
568589782024-05-11 22:50:48622 days ago1715467848
1inch: V3
2.26025688 POL
568327362024-05-11 7:10:54623 days ago1715411454
1inch: V3
0.73054727 POL
568327362024-05-11 7:10:54623 days ago1715411454
1inch: V3
0.73054727 POL
567144192024-05-08 7:31:28626 days ago1715153488
1inch: V3
3.01699946 POL
566946502024-05-07 19:35:38626 days ago1715110538
1inch: V3
0.00135254 POL
566946502024-05-07 19:35:38626 days ago1715110538
1inch: V3
0.00135254 POL
566681442024-05-07 3:17:34627 days ago1715051854
1inch: V3
0.40922632 POL
566513892024-05-06 16:56:48627 days ago1715014608
1inch: V3
0.07932687 POL
566428272024-05-06 11:25:09628 days ago1714994709
1inch: V3
1.32560536 POL
566428272024-05-06 11:25:09628 days ago1714994709
1inch: V3
1.32560536 POL
566427472024-05-06 11:21:47628 days ago1714994507
1inch: V3
4 POL
566163902024-05-05 18:49:10628 days ago1714934950
1inch: V3
0.33268879 POL
565937442024-05-05 4:54:41629 days ago1714884881
1inch: V3
55.01467355 POL
565754102024-05-04 17:23:31629 days ago1714843411
1inch: V3
0.57098945 POL
View All Internal Transactions
Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AggregationRouterV3

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at polygonscan.com on 2021-06-10
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transa ctions 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;
    }
}


// File @openzeppelin/contracts/access/[email protected]


pragma solidity >=0.6.0 <0.8.0;

/**
 * @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;
    }
}


// File @openzeppelin/contracts/token/ERC20/[email protected]


pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}


// File @openzeppelin/contracts/math/[email protected]


pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}


// File @openzeppelin/contracts/utils/[email protected]


pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


// File @openzeppelin/contracts/token/ERC20/[email protected]


pragma solidity >=0.6.0 <0.8.0;



/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}


// File contracts/helpers/UniERC20.sol


pragma solidity ^0.6.12;


library UniERC20 {
    using SafeMath for uint256;

    IERC20 private constant _ETH_ADDRESS = IERC20(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE);
    IERC20 private constant _ZERO_ADDRESS = IERC20(0);

    function isETH(IERC20 token) internal pure returns (bool) {
        return (token == _ZERO_ADDRESS || token == _ETH_ADDRESS);
    }

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

    function uniTransfer(IERC20 token, address payable to, uint256 amount) internal {
        if (amount > 0) {
            if (isETH(token)) {
                to.transfer(amount);
            } else {
                _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, amount));
            }
        }
    }

    function uniApprove(IERC20 token, address to, uint256 amount) internal {
        require(!isETH(token), "Approve called on ETH");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(abi.encodeWithSelector(token.approve.selector, to, amount));

        if (!success || (returndata.length > 0 && !abi.decode(returndata, (bool)))) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, to, 0));
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, to, amount));
        }
    }

    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "low-level call failed");

        if (returndata.length > 0) { // Return data is optional
            require(abi.decode(returndata, (bool)), "ERC20 operation did not succeed");
        }
    }
}


// File contracts/interfaces/IChi.sol


pragma solidity ^0.6.12;

interface IChi is IERC20 {
    function mint(uint256 value) external;
    function free(uint256 value) external returns (uint256 freed);
    function freeFromUpTo(address from, uint256 value) external returns (uint256 freed);
}


// File contracts/interfaces/IGasDiscountExtension.sol


pragma solidity ^0.6.12;

interface IGasDiscountExtension {
    function calculateGas(uint256 gasUsed, uint256 flags, uint256 calldataLength) external view returns (IChi, uint256);
}


// File contracts/interfaces/IAggregationExecutor.sol


pragma solidity ^0.6.12;

interface IAggregationExecutor is IGasDiscountExtension {
    function callBytes(bytes calldata data) external payable;  // 0xd9c45357
}


// File contracts/helpers/RevertReasonParser.sol


pragma solidity ^0.6.12;


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


// File contracts/interfaces/IERC20Permit.sol


pragma solidity ^0.6.12;


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


// File contracts/helpers/Permitable.sol


pragma solidity ^0.6.12;



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


// File contracts/UnoswapRouter.sol


pragma solidity ^0.6.12;

contract UnoswapRouter is Permitable {
    uint256 private constant _TRANSFER_FROM_CALL_SELECTOR_32 = 0x23b872dd00000000000000000000000000000000000000000000000000000000;
    uint256 private constant _WETH_DEPOSIT_CALL_SELECTOR_32 = 0xd0e30db000000000000000000000000000000000000000000000000000000000;
    uint256 private constant _WETH_WITHDRAW_CALL_SELECTOR_32 = 0x2e1a7d4d00000000000000000000000000000000000000000000000000000000;
    uint256 private constant _ERC20_TRANSFER_CALL_SELECTOR_32 = 0xa9059cbb00000000000000000000000000000000000000000000000000000000;
    uint256 private constant _ADDRESS_MASK =   0x000000000000000000000000ffffffffffffffffffffffffffffffffffffffff;
    uint256 private constant _REVERSE_MASK =   0x8000000000000000000000000000000000000000000000000000000000000000;
    uint256 private constant _WETH_MASK =      0x4000000000000000000000000000000000000000000000000000000000000000;
    uint256 private constant _NUMERATOR_MASK = 0x0000000000000000ffffffff0000000000000000000000000000000000000000;
    uint256 private constant _WETH = 0x0000000000000000000000000d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270;
    uint256 private constant _UNISWAP_PAIR_RESERVES_CALL_SELECTOR_32 = 0x0902f1ac00000000000000000000000000000000000000000000000000000000;
    uint256 private constant _UNISWAP_PAIR_SWAP_CALL_SELECTOR_32 = 0x022c0d9f00000000000000000000000000000000000000000000000000000000;
    uint256 private constant _DENOMINATOR = 1000000000;
    uint256 private constant _NUMERATOR_OFFSET = 160;

    receive() external payable {
        // solhint-disable-next-line avoid-tx-origin
        require(msg.sender != tx.origin, "ETH deposit rejected");
    }

    function unoswapWithPermit(
        IERC20 srcToken,
        uint256 amount,
        uint256 minReturn,
        bytes32[] calldata pools,
        bytes calldata permit
    ) external payable returns(uint256 returnAmount) {
        _permit(srcToken, amount, permit);
        return unoswap(srcToken, amount, minReturn, pools);
    }

    function unoswap(
        IERC20 srcToken,
        uint256 amount,
        uint256 minReturn,
        bytes32[] calldata /* pools */
    ) public payable returns(uint256 returnAmount) {
        assembly {  // solhint-disable-line no-inline-assembly
            function reRevert() {
                returndatacopy(0, 0, returndatasize())
                revert(0, returndatasize())
            }

            function revertWithReason(m, len) {
                mstore(0, 0x08c379a000000000000000000000000000000000000000000000000000000000)
                mstore(0x20, 0x0000002000000000000000000000000000000000000000000000000000000000)
                mstore(0x40, m)
                revert(0, len)
            }

            function swap(emptyPtr, swapAmount, pair, reversed, numerator, dst) -> ret {
                mstore(emptyPtr, _UNISWAP_PAIR_RESERVES_CALL_SELECTOR_32)
                if iszero(staticcall(gas(), pair, emptyPtr, 0x4, emptyPtr, 0x40)) {
                    reRevert()
                }

                let reserve0 := mload(emptyPtr)
                let reserve1 := mload(add(emptyPtr, 0x20))
                if reversed {
                    let tmp := reserve0
                    reserve0 := reserve1
                    reserve1 := tmp
                }
                ret := mul(swapAmount, numerator)
                ret := div(mul(ret, reserve1), add(ret, mul(reserve0, _DENOMINATOR)))

                mstore(emptyPtr, _UNISWAP_PAIR_SWAP_CALL_SELECTOR_32)
                switch reversed
                case 0 {
                    mstore(add(emptyPtr, 0x04), 0)
                    mstore(add(emptyPtr, 0x24), ret)
                }
                default {
                    mstore(add(emptyPtr, 0x04), ret)
                    mstore(add(emptyPtr, 0x24), 0)
                }
                mstore(add(emptyPtr, 0x44), dst)
                mstore(add(emptyPtr, 0x64), 0x80)
                mstore(add(emptyPtr, 0x84), 0)
                if iszero(call(gas(), pair, 0, emptyPtr, 0xa4, 0, 0)) {
                    reRevert()
                }
            }

            let emptyPtr := mload(0x40)
            mstore(0x40, add(emptyPtr, 0xc0))

            let poolsOffset := add(calldataload(0x64), 0x4)
            let poolsEndOffset := calldataload(poolsOffset)
            poolsOffset := add(poolsOffset, 0x20)
            poolsEndOffset := add(poolsOffset, mul(0x20, poolsEndOffset))
            let rawPair := calldataload(poolsOffset)
            switch srcToken
            case 0 {
                if iszero(eq(amount, callvalue())) {
                    revertWithReason(0x00000011696e76616c6964206d73672e76616c75650000000000000000000000, 0x55)  // "invalid msg.value"
                }

                mstore(emptyPtr, _WETH_DEPOSIT_CALL_SELECTOR_32)
                if iszero(call(gas(), _WETH, amount, emptyPtr, 0x4, 0, 0)) {
                    reRevert()
                }

                mstore(emptyPtr, _ERC20_TRANSFER_CALL_SELECTOR_32)
                mstore(add(emptyPtr, 0x4), and(rawPair, _ADDRESS_MASK))
                mstore(add(emptyPtr, 0x24), amount)
                if iszero(call(gas(), _WETH, 0, emptyPtr, 0x44, 0, 0)) {
                    reRevert()
                }
            }
            default {
                if callvalue() {
                    revertWithReason(0x00000011696e76616c6964206d73672e76616c75650000000000000000000000, 0x55)  // "invalid msg.value"
                }

                mstore(emptyPtr, _TRANSFER_FROM_CALL_SELECTOR_32)
                mstore(add(emptyPtr, 0x4), caller())
                mstore(add(emptyPtr, 0x24), and(rawPair, _ADDRESS_MASK))
                mstore(add(emptyPtr, 0x44), amount)
                if iszero(call(gas(), srcToken, 0, emptyPtr, 0x64, 0, 0)) {
                    reRevert()
                }
            }

            returnAmount := amount

            for {let i := add(poolsOffset, 0x20)} lt(i, poolsEndOffset) {i := add(i, 0x20)} {
                let nextRawPair := calldataload(i)

                returnAmount := swap(
                    emptyPtr,
                    returnAmount,
                    and(rawPair, _ADDRESS_MASK),
                    and(rawPair, _REVERSE_MASK),
                    shr(_NUMERATOR_OFFSET, and(rawPair, _NUMERATOR_MASK)),
                    and(nextRawPair, _ADDRESS_MASK)
                )

                rawPair := nextRawPair
            }

            switch and(rawPair, _WETH_MASK)
            case 0 {
                returnAmount := swap(
                    emptyPtr,
                    returnAmount,
                    and(rawPair, _ADDRESS_MASK),
                    and(rawPair, _REVERSE_MASK),
                    shr(_NUMERATOR_OFFSET, and(rawPair, _NUMERATOR_MASK)),
                    caller()
                )
            }
            default {
                returnAmount := swap(
                    emptyPtr,
                    returnAmount,
                    and(rawPair, _ADDRESS_MASK),
                    and(rawPair, _REVERSE_MASK),
                    shr(_NUMERATOR_OFFSET, and(rawPair, _NUMERATOR_MASK)),
                    address()
                )

                mstore(emptyPtr, _WETH_WITHDRAW_CALL_SELECTOR_32)
                mstore(add(emptyPtr, 0x04), returnAmount)
                if iszero(call(gas(), _WETH, 0, emptyPtr, 0x24, 0, 0)) {
                    reRevert()
                }

                if iszero(call(gas(), caller(), returnAmount, 0, 0, 0, 0)) {
                    reRevert()
                }
            }

            if lt(returnAmount, minReturn) {
                revertWithReason(0x000000164d696e2072657475726e206e6f742072656163686564000000000000, 0x5a)  // "Min return not reached"
            }
        }
    }
}


// File contracts/AggregationRouterV3.sol


pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;






contract AggregationRouterV3 is Ownable, UnoswapRouter {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using UniERC20 for IERC20;

    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;

    struct SwapDescription {
        IERC20 srcToken;
        IERC20 dstToken;
        address srcReceiver;
        address dstReceiver;
        uint256 amount;
        uint256 minReturnAmount;
        uint256 flags;
        bytes permit;
    }

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

    function discountedSwap(
        IAggregationExecutor caller,
        SwapDescription calldata desc,
        bytes calldata data
    )
        external
        payable
        returns (uint256 returnAmount, uint256 gasLeft, uint256 chiSpent)
    {
        uint256 initialGas = gasleft();

        address chiSource = address(0);
        if (desc.flags & _BURN_FROM_MSG_SENDER != 0) {
            chiSource = msg.sender;
        } else if (desc.flags & _BURN_FROM_TX_ORIGIN != 0) {
            chiSource = tx.origin; // solhint-disable-line avoid-tx-origin
        } else {
            revert("Incorrect CHI burn flags");
        }

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returnData) = address(this).delegatecall(abi.encodeWithSelector(this.swap.selector, caller, desc, data));
        if (success) {
            (returnAmount,) = abi.decode(returnData, (uint256, uint256));
        } else {
            if (msg.value > 0) {
                msg.sender.transfer(msg.value);
            }
            emit Error(RevertReasonParser.parse(returnData, "Swap failed: "));
        }

        (IChi chi, uint256 amount) = caller.calculateGas(initialGas.sub(gasleft()), desc.flags, msg.data.length);
        if (amount > 0) {
            chiSpent = chi.freeFromUpTo(chiSource, amount);
        }
        gasLeft = gasleft();
    }

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

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

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

        if (flags & _SHOULD_CLAIM != 0) {
            require(!srcToken.isETH(), "Claim token is ETH");
            _permit(srcToken, desc.amount, desc.permit);
            srcToken.safeTransferFrom(msg.sender, desc.srcReceiver, desc.amount);
        }

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

        {
            // solhint-disable-next-line avoid-low-level-calls
            (bool success, bytes memory result) = address(caller).call{value: msg.value}(abi.encodePacked(caller.callBytes.selector, data));
            if (!success) {
                revert(RevertReasonParser.parse(result, "callBytes failed: "));
            }
        }

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

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

        emit Swapped(
            msg.sender,
            srcToken,
            dstToken,
            dstReceiver,
            spentAmount,
            returnAmount
        );

        gasLeft = gasleft();
    }

    function rescueFunds(IERC20 token, uint256 amount) external onlyOwner {
        token.uniTransfer(msg.sender, amount);
    }

    function destroy() external onlyOwner {
        selfdestruct(msg.sender);
    }
}

Contract Security Audit

Contract ABI

API
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"reason","type":"string"}],"name":"Error","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":"destroy","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":"srcReceiver","type":"address"},{"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 AggregationRouterV3.SwapDescription","name":"desc","type":"tuple"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"discountedSwap","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"},{"internalType":"uint256","name":"gasLeft","type":"uint256"},{"internalType":"uint256","name":"chiSpent","type":"uint256"}],"stateMutability":"payable","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":"contract IERC20","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":"srcReceiver","type":"address"},{"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 AggregationRouterV3.SwapDescription","name":"desc","type":"tuple"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swap","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"},{"internalType":"uint256","name":"gasLeft","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"name":"unoswap","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"srcToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturn","type":"uint256"},{"internalType":"bytes32[]","name":"pools","type":"bytes32[]"},{"internalType":"bytes","name":"permit","type":"bytes"}],"name":"unoswapWithPermit","outputs":[{"internalType":"uint256","name":"returnAmount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50600061001b61006a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061006e565b3390565b612fa8806200007e6000396000f3fe60806040526004361061009a5760003560e01c80637c025200116100695780638da5cb5b1161004e5780638da5cb5b1461019f578063a1251d75146101c1578063f2fde38b146101d4576100e4565b80637c0252001461016957806383197ef01461018a576100e4565b80632e95b6c8146100e95780636c4a483e14610112578063715018a61461013457806378e3214f14610149576100e4565b366100e457333214156100e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612a81565b60405180910390fd5b005b600080fd5b6100fc6100f736600461244f565b6101f4565b604051610109919061278f565b60405180910390f35b610125610120366004612379565b610715565b60405161010993929190612e38565b34801561014057600080fd5b506100e2610ab6565b34801561015557600080fd5b506100e2610164366004612424565b610b98565b61017c610177366004612379565b610c30565b604051610109929190612e2a565b34801561019657600080fd5b506100e2611190565b3480156101ab57600080fd5b506101b4611206565b6040516101099190612798565b6100fc6101cf3660046124b7565b611222565b3480156101e057600080fd5b506100e26101ef36600461233d565b611249565b600061032f565b3d6000803e3d6000fd5b7f08c379a0000000000000000000000000000000000000000000000000000000006000527c200000000000000000000000000000000000000000000000000000000060205280604052816000fd5b60007f0902f1ac000000000000000000000000000000000000000000000000000000008252604082600484875afa61028d5761028d6101fb565b81516020830151861561029c57905b7f022c0d9f000000000000000000000000000000000000000000000000000000008452878502633b9aca0092909202820191020490508480156102eb57816004840152600060248401526102f9565b600060048401528160248401525b50866044830152608060648301526000608483015260008060a4846000885af1610325576103256101fb565b9695505050505050565b60405160c0810160405260046064350180356020820191508060200282019050813589600081146103ef5734156103885761038860557c11696e76616c6964206d73672e76616c75650000000000000000000000610205565b7f23b872dd00000000000000000000000000000000000000000000000000000000855233600486015273ffffffffffffffffffffffffffffffffffffffff8216602486015289604486015260008060648760008f5af16103ea576103ea6101fb565b6104db565b348a1461041e5761041e60557c11696e76616c6964206d73672e76616c75650000000000000000000000610205565b7fd0e30db00000000000000000000000000000000000000000000000000000000085526000806004878d730d500b1d8e8ef31e21c99d1db9a6444d3adf12705af161046b5761046b6101fb565b7fa9059cbb00000000000000000000000000000000000000000000000000000000855273ffffffffffffffffffffffffffffffffffffffff821660048601528960248601526000806044876000730d500b1d8e8ef31e21c99d1db9a6444d3adf12705af16104db576104db6101fb565b50889450602083015b8281101561057357803561056773ffffffffffffffffffffffffffffffffffffffff821677ffffffff0000000000000000000000000000000000000000851660a01c7f8000000000000000000000000000000000000000000000000000000000000000861673ffffffffffffffffffffffffffffffffffffffff87168b8b610253565b965091506020016104e4565b507f400000000000000000000000000000000000000000000000000000000000000081168015610671576106003077ffffffff0000000000000000000000000000000000000000841660a01c7f8000000000000000000000000000000000000000000000000000000000000000851673ffffffffffffffffffffffffffffffffffffffff86168a8a610253565b95507f2e1a7d4d0000000000000000000000000000000000000000000000000000000085528560048601526000806024876000730d500b1d8e8ef31e21c99d1db9a6444d3adf12705af1610656576106566101fb565b60008060008089335af161066c5761066c6101fb565b6106d7565b6106d43377ffffffff0000000000000000000000000000000000000000841660a01c7f8000000000000000000000000000000000000000000000000000000000000000851673ffffffffffffffffffffffffffffffffffffffff86168a8a610253565b95505b50505050508381101561070c5761070c605a7c164d696e2072657475726e206e6f742072656163686564000000000000610205565b95945050505050565b6000806000805a9050600060c08801356008161561073457503361077a565b60c08801356010161561074857503261077a565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612b83565b600060603073ffffffffffffffffffffffffffffffffffffffff16637c02520060e01b8c8c8c8c6040516024016107b4949392919061287e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090941693909317909252905161083d9190612623565b600060405180830381855af49150503d8060008114610878576040519150601f19603f3d011682016040523d82523d6000602084013e61087d565b606091505b509150915081156108a4578080602001905181019061089c9190612562565b50965061094e565b34156108d85760405133903480156108fc02916000818181858888f193505050501580156108d6573d6000803e3d6000fd5b505b7f08c379a0afcc32b1a39302f7cb8073359698411ab5fd6e3edb2c02c0b5fba8aa610938826040518060400160405280600d81526020017f53776170206661696c65643a2000000000000000000000000000000000000000815250611396565b6040516109459190612965565b60405180910390a15b6000808c73ffffffffffffffffffffffffffffffffffffffff16631d97832e6109785a8990611769565b8e60c0013560003690506040518463ffffffff1660e01b81526004016109a093929190612e38565b604080518083038186803b1580156109b757600080fd5b505afa1580156109cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ef91906123f7565b90925090508015610aa3576040517f079d229f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83169063079d229f90610a4e9088908590600401612827565b602060405180830381600087803b158015610a6857600080fd5b505af1158015610a7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa0919061254a565b96505b5a97505050505050509450945094915050565b610abe6117ab565b73ffffffffffffffffffffffffffffffffffffffff16610adc611206565b73ffffffffffffffffffffffffffffffffffffffff1614610b29576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612c85565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610ba06117ab565b73ffffffffffffffffffffffffffffffffffffffff16610bbe611206565b73ffffffffffffffffffffffffffffffffffffffff1614610c0b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612c85565b610c2c73ffffffffffffffffffffffffffffffffffffffff831633836117af565b5050565b60008060008560a0013511610c71576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612bf1565b82610ca8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612cf1565b60c08501356000610cbc602088018861233d565b90506000610cd06040890160208a0161233d565b90506002831615610d4857610cfa8273ffffffffffffffffffffffffffffffffffffffff166118b2565b610d05576000610d0b565b87608001355b3411610d43576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612ab8565b610db0565b610d678273ffffffffffffffffffffffffffffffffffffffff166118b2565b610d72576000610d78565b87608001355b3414610db0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612ab8565b6004831615610e6157610dd88273ffffffffffffffffffffffffffffffffffffffff166118b2565b15610e0f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d9906129b6565b610e2a8260808a0135610e2560e08c018c612e4e565b611905565b610e6133610e3e60608b0160408c0161233d565b73ffffffffffffffffffffffffffffffffffffffff8516919060808c0135611b14565b600080610e7460808b0160608c0161233d565b73ffffffffffffffffffffffffffffffffffffffff1614610ea457610e9f60808a0160608b0161233d565b610ea6565b335b9050600060018516610eb9576000610ed9565b610ed973ffffffffffffffffffffffffffffffffffffffff851633611bb7565b90506000610efd73ffffffffffffffffffffffffffffffffffffffff851684611bb7565b9050600060608d73ffffffffffffffffffffffffffffffffffffffff163463d9c4535760e01b8e8e604051602001610f37939291906125e7565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815290829052610f6f91612623565b60006040518083038185875af1925050503d8060008114610fac576040519150601f19603f3d011682016040523d82523d6000602084013e610fb1565b606091505b50915091508161102d57610ffa816040518060400160405280601281526020017f63616c6c4279746573206661696c65643a200000000000000000000000000000815250611396565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d99190612965565b505060808b013561105e8261105873ffffffffffffffffffffffffffffffffffffffff881687611bb7565b90611769565b985060018716156110fe576110a361108c73ffffffffffffffffffffffffffffffffffffffff881633611bb7565b6110588e6080013586611c8e90919063ffffffff16565b90506110b360a08d013582611cd4565b6110c18a60808f0135611cd4565b10156110f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612bba565b61113c565b8b60a0013589101561113c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612bba565b7fd6d4f5681c246c9f42c203e287975af1601f8df8035a9251f79aab5c8f09e2f833878787858e604051611175969594939291906127e0565b60405180910390a15a97505050505050505094509492505050565b6111986117ab565b73ffffffffffffffffffffffffffffffffffffffff166111b6611206565b73ffffffffffffffffffffffffffffffffffffffff1614611203576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612c85565b33ff5b60005473ffffffffffffffffffffffffffffffffffffffff1690565b600061123088888585611905565b61123d88888888886101f4565b98975050505050505050565b6112516117ab565b73ffffffffffffffffffffffffffffffffffffffff1661126f611206565b73ffffffffffffffffffffffffffffffffffffffff16146112bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612c85565b73ffffffffffffffffffffffffffffffffffffffff8116611309576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d9906129ed565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b606060448351101580156113fd5750826000815181106113b257fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f0800000000000000000000000000000000000000000000000000000000000000145b801561145c57508260018151811061141157fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167fc300000000000000000000000000000000000000000000000000000000000000145b80156114bb57508260028151811061147057fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7900000000000000000000000000000000000000000000000000000000000000145b801561151a5750826003815181106114cf57fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167fa000000000000000000000000000000000000000000000000000000000000000145b15611590576060604484019050805160440184511015611566576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612d28565b8281604051602001611579929190612743565b604051602081830303815290604052915050611763565b825160241480156115f45750826000815181106115a957fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f4e00000000000000000000000000000000000000000000000000000000000000145b801561165357508260018151811061160857fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f4800000000000000000000000000000000000000000000000000000000000000145b80156116b257508260028151811061166757fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7b00000000000000000000000000000000000000000000000000000000000000145b80156117115750826003815181106116c657fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7100000000000000000000000000000000000000000000000000000000000000145b156117365760248301518261172582611d28565b60405160200161157992919061263f565b8161174084611d4e565b6040516020016117519291906126c1565b60405160208183030381529060405290505b92915050565b6000828211156117a5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612aef565b50900390565b3390565b80156118ad576117be836118b2565b1561180c5760405173ffffffffffffffffffffffffffffffffffffffff83169082156108fc029083906000818181858888f19350505050158015611806573d6000803e3d6000fd5b506118ad565b6118ad8363a9059cbb60e01b848460405160240161182b929190612827565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611f89565b505050565b600073ffffffffffffffffffffffffffffffffffffffff82161580611763575073ffffffffffffffffffffffffffffffffffffffff821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1492915050565b60e0811415611b0e57600060608573ffffffffffffffffffffffffffffffffffffffff1663d505accf60e01b8585604051602001611945939291906125e7565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905261197d91612623565b6000604051808303816000865af19150503d80600081146119ba576040519150601f19603f3d011682016040523d82523d6000602084013e6119bf565b606091505b509150915081611b0b576060611a0a826040518060400160405280601481526020017f5065726d69742063616c6c206661696c65643a20000000000000000000000000815250611396565b9050858773ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401611a489291906127b9565b60206040518083038186803b158015611a6057600080fd5b505afa158015611a74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a98919061254a565b1015611ad257806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d99190612965565b7f08c379a0afcc32b1a39302f7cb8073359698411ab5fd6e3edb2c02c0b5fba8aa81604051611b019190612965565b60405180910390a1505b50505b50505050565b611b0e846323b872dd60e01b858585604051602401611b359392919061284d565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152612081565b6000611bc2836118b2565b15611be5575073ffffffffffffffffffffffffffffffffffffffff811631611763565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906370a0823190611c37908590600401612798565b60206040518083038186803b158015611c4f57600080fd5b505afa158015611c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c87919061254a565b9050611763565b600082820183811015611ccd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612a4a565b9392505050565b600082611ce357506000611763565b82820282848281611cf057fe5b0414611ccd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612c28565b606061176382604051602001611d3e919061278f565b6040516020818303038152906040525b80516060907f303132333435363738396162636465660000000000000000000000000000000090829060029081020167ffffffffffffffff81118015611d9357600080fd5b506040519080825280601f01601f191660200182016040528015611dbe576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611def57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611e4c57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b8451811015611f8157826004868381518110611e9657fe5b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c60f81c60108110611ecc57fe5b1a60f81b828260020260020181518110611ee257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535082858281518110611f1e57fe5b60209101015160f81c600f1660108110611f3457fe5b1a60f81b828260020260030181518110611f4a57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600101611e7e565b509392505050565b600060608373ffffffffffffffffffffffffffffffffffffffff1683604051611fb29190612623565b6000604051808303816000865af19150503d8060008114611fef576040519150601f19603f3d011682016040523d82523d6000602084013e611ff4565b606091505b509150915081612030576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612d5f565b805115611b0e578080602001905181019061204b9190612359565b611b0e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612cba565b60606120e3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166121379092919063ffffffff16565b8051909150156118ad57808060200190518101906121019190612359565b6118ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612dcd565b6060612146848460008561214e565b949350505050565b60608247101561218a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612b26565b61219385612250565b6121c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612d96565b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040516121f39190612623565b60006040518083038185875af1925050503d8060008114612230576040519150601f19603f3d011682016040523d82523d6000602084013e612235565b606091505b5091509150612245828286612256565b979650505050505050565b3b151590565b60608315612265575081611ccd565b8251156122755782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d99190612965565b60008083601f8401126122ba578182fd5b50813567ffffffffffffffff8111156122d1578182fd5b60208301915083602080830285010111156122eb57600080fd5b9250929050565b60008083601f840112612303578182fd5b50813567ffffffffffffffff81111561231a578182fd5b6020830191508360208285010111156122eb57600080fd5b803561176381612f4d565b60006020828403121561234e578081fd5b8135611ccd81612f4d565b60006020828403121561236a578081fd5b81518015158114611ccd578182fd5b6000806000806060858703121561238e578283fd5b843561239981612f4d565b9350602085013567ffffffffffffffff808211156123b5578485fd5b9086019061010082890312156123c9578485fd5b909350604086013590808211156123de578384fd5b506123eb878288016122f2565b95989497509550505050565b60008060408385031215612409578182fd5b825161241481612f4d565b6020939093015192949293505050565b60008060408385031215612436578182fd5b823561244181612f4d565b946020939093013593505050565b600080600080600060808688031215612466578081fd5b853561247181612f4d565b94506020860135935060408601359250606086013567ffffffffffffffff81111561249a578182fd5b6124a6888289016122a9565b969995985093965092949392505050565b600080600080600080600060a0888a0312156124d1578182fd5b87356124dc81612f4d565b96506020880135955060408801359450606088013567ffffffffffffffff80821115612506578384fd5b6125128b838c016122a9565b909650945060808a013591508082111561252a578384fd5b506125378a828b016122f2565b989b979a50959850939692959293505050565b60006020828403121561255b578081fd5b5051919050565b60008060408385031215612574578182fd5b505080516020909101519092909150565b73ffffffffffffffffffffffffffffffffffffffff169052565b600082845282826020860137806020848601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f85011685010190509392505050565b60007fffffffff000000000000000000000000000000000000000000000000000000008516825282846004840137910160040190815292915050565b60008251612635818460208701612f21565b9190910192915050565b60008351612651818460208801612f21565b7f50616e6963280000000000000000000000000000000000000000000000000000908301908152835161268b816006840160208801612f21565b7f290000000000000000000000000000000000000000000000000000000000000060069290910191820152600701949350505050565b600083516126d3818460208801612f21565b7f556e6b6e6f776e28000000000000000000000000000000000000000000000000908301908152835161270d816008840160208801612f21565b7f290000000000000000000000000000000000000000000000000000000000000060089290910191820152600901949350505050565b60008351612755818460208801612f21565b7f4572726f72280000000000000000000000000000000000000000000000000000908301908152835161268b816006840160208801612f21565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff92831681529116602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff96871681529486166020860152928516604085015293166060830152608082019290925260a081019190915260c00190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b600073ffffffffffffffffffffffffffffffffffffffff8616825260606020830152602085016128ba606084016128b58389612332565b612585565b6128c48187612eb1565b90506128d36080840182612585565b506128e16040860186612eb1565b6128ee60a0840182612585565b506128fc6060860186612eb1565b61290960c0840182612585565b50608085013560e083015261010060a08601358184015260c086013561012084015261293860e0870187612ebe565b8261014086015261294e6101608601828461259f565b92505050828103604084015261224581858761259f565b6000602082528251806020840152612984816040850160208701612f21565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60208082526012908201527f436c61696d20746f6b656e206973204554480000000000000000000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526014908201527f455448206465706f7369742072656a6563746564000000000000000000000000604082015260600190565b60208082526011908201527f496e76616c6964206d73672e76616c7565000000000000000000000000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60408201527f722063616c6c0000000000000000000000000000000000000000000000000000606082015260800190565b60208082526018908201527f496e636f727265637420434849206275726e20666c6167730000000000000000604082015260600190565b6020808252601b908201527f52657475726e20616d6f756e74206973206e6f7420656e6f7567680000000000604082015260600190565b6020808252601a908201527f4d696e2072657475726e2073686f756c64206e6f742062652030000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60408201527f7700000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f4552433230206f7065726174696f6e20646964206e6f74207375636365656400604082015260600190565b60208082526017908201527f646174612073686f756c64206265206e6f74207a65726f000000000000000000604082015260600190565b60208082526015908201527f496e76616c69642072657665727420726561736f6e0000000000000000000000604082015260600190565b60208082526015908201527f6c6f772d6c6576656c2063616c6c206661696c65640000000000000000000000604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60408201527f6f74207375636365656400000000000000000000000000000000000000000000606082015260800190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612e82578283fd5b83018035915067ffffffffffffffff821115612e9c578283fd5b6020019150368190038213156122eb57600080fd5b60008235611ccd81612f4d565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612ef2578283fd5b830160208101925035905067ffffffffffffffff811115612f1257600080fd5b8036038313156122eb57600080fd5b60005b83811015612f3c578181015183820152602001612f24565b83811115611b0e5750506000910152565b73ffffffffffffffffffffffffffffffffffffffff81168114612f6f57600080fd5b5056fea2646970667358221220feeb741eab22366472b671c990b8d9f00980994ef47fc987ed6f27933c7a4f4564736f6c634300060c0033

Deployed Bytecode

0x60806040526004361061009a5760003560e01c80637c025200116100695780638da5cb5b1161004e5780638da5cb5b1461019f578063a1251d75146101c1578063f2fde38b146101d4576100e4565b80637c0252001461016957806383197ef01461018a576100e4565b80632e95b6c8146100e95780636c4a483e14610112578063715018a61461013457806378e3214f14610149576100e4565b366100e457333214156100e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612a81565b60405180910390fd5b005b600080fd5b6100fc6100f736600461244f565b6101f4565b604051610109919061278f565b60405180910390f35b610125610120366004612379565b610715565b60405161010993929190612e38565b34801561014057600080fd5b506100e2610ab6565b34801561015557600080fd5b506100e2610164366004612424565b610b98565b61017c610177366004612379565b610c30565b604051610109929190612e2a565b34801561019657600080fd5b506100e2611190565b3480156101ab57600080fd5b506101b4611206565b6040516101099190612798565b6100fc6101cf3660046124b7565b611222565b3480156101e057600080fd5b506100e26101ef36600461233d565b611249565b600061032f565b3d6000803e3d6000fd5b7f08c379a0000000000000000000000000000000000000000000000000000000006000527c200000000000000000000000000000000000000000000000000000000060205280604052816000fd5b60007f0902f1ac000000000000000000000000000000000000000000000000000000008252604082600484875afa61028d5761028d6101fb565b81516020830151861561029c57905b7f022c0d9f000000000000000000000000000000000000000000000000000000008452878502633b9aca0092909202820191020490508480156102eb57816004840152600060248401526102f9565b600060048401528160248401525b50866044830152608060648301526000608483015260008060a4846000885af1610325576103256101fb565b9695505050505050565b60405160c0810160405260046064350180356020820191508060200282019050813589600081146103ef5734156103885761038860557c11696e76616c6964206d73672e76616c75650000000000000000000000610205565b7f23b872dd00000000000000000000000000000000000000000000000000000000855233600486015273ffffffffffffffffffffffffffffffffffffffff8216602486015289604486015260008060648760008f5af16103ea576103ea6101fb565b6104db565b348a1461041e5761041e60557c11696e76616c6964206d73672e76616c75650000000000000000000000610205565b7fd0e30db00000000000000000000000000000000000000000000000000000000085526000806004878d730d500b1d8e8ef31e21c99d1db9a6444d3adf12705af161046b5761046b6101fb565b7fa9059cbb00000000000000000000000000000000000000000000000000000000855273ffffffffffffffffffffffffffffffffffffffff821660048601528960248601526000806044876000730d500b1d8e8ef31e21c99d1db9a6444d3adf12705af16104db576104db6101fb565b50889450602083015b8281101561057357803561056773ffffffffffffffffffffffffffffffffffffffff821677ffffffff0000000000000000000000000000000000000000851660a01c7f8000000000000000000000000000000000000000000000000000000000000000861673ffffffffffffffffffffffffffffffffffffffff87168b8b610253565b965091506020016104e4565b507f400000000000000000000000000000000000000000000000000000000000000081168015610671576106003077ffffffff0000000000000000000000000000000000000000841660a01c7f8000000000000000000000000000000000000000000000000000000000000000851673ffffffffffffffffffffffffffffffffffffffff86168a8a610253565b95507f2e1a7d4d0000000000000000000000000000000000000000000000000000000085528560048601526000806024876000730d500b1d8e8ef31e21c99d1db9a6444d3adf12705af1610656576106566101fb565b60008060008089335af161066c5761066c6101fb565b6106d7565b6106d43377ffffffff0000000000000000000000000000000000000000841660a01c7f8000000000000000000000000000000000000000000000000000000000000000851673ffffffffffffffffffffffffffffffffffffffff86168a8a610253565b95505b50505050508381101561070c5761070c605a7c164d696e2072657475726e206e6f742072656163686564000000000000610205565b95945050505050565b6000806000805a9050600060c08801356008161561073457503361077a565b60c08801356010161561074857503261077a565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612b83565b600060603073ffffffffffffffffffffffffffffffffffffffff16637c02520060e01b8c8c8c8c6040516024016107b4949392919061287e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090941693909317909252905161083d9190612623565b600060405180830381855af49150503d8060008114610878576040519150601f19603f3d011682016040523d82523d6000602084013e61087d565b606091505b509150915081156108a4578080602001905181019061089c9190612562565b50965061094e565b34156108d85760405133903480156108fc02916000818181858888f193505050501580156108d6573d6000803e3d6000fd5b505b7f08c379a0afcc32b1a39302f7cb8073359698411ab5fd6e3edb2c02c0b5fba8aa610938826040518060400160405280600d81526020017f53776170206661696c65643a2000000000000000000000000000000000000000815250611396565b6040516109459190612965565b60405180910390a15b6000808c73ffffffffffffffffffffffffffffffffffffffff16631d97832e6109785a8990611769565b8e60c0013560003690506040518463ffffffff1660e01b81526004016109a093929190612e38565b604080518083038186803b1580156109b757600080fd5b505afa1580156109cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ef91906123f7565b90925090508015610aa3576040517f079d229f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83169063079d229f90610a4e9088908590600401612827565b602060405180830381600087803b158015610a6857600080fd5b505af1158015610a7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa0919061254a565b96505b5a97505050505050509450945094915050565b610abe6117ab565b73ffffffffffffffffffffffffffffffffffffffff16610adc611206565b73ffffffffffffffffffffffffffffffffffffffff1614610b29576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612c85565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610ba06117ab565b73ffffffffffffffffffffffffffffffffffffffff16610bbe611206565b73ffffffffffffffffffffffffffffffffffffffff1614610c0b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612c85565b610c2c73ffffffffffffffffffffffffffffffffffffffff831633836117af565b5050565b60008060008560a0013511610c71576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612bf1565b82610ca8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612cf1565b60c08501356000610cbc602088018861233d565b90506000610cd06040890160208a0161233d565b90506002831615610d4857610cfa8273ffffffffffffffffffffffffffffffffffffffff166118b2565b610d05576000610d0b565b87608001355b3411610d43576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612ab8565b610db0565b610d678273ffffffffffffffffffffffffffffffffffffffff166118b2565b610d72576000610d78565b87608001355b3414610db0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612ab8565b6004831615610e6157610dd88273ffffffffffffffffffffffffffffffffffffffff166118b2565b15610e0f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d9906129b6565b610e2a8260808a0135610e2560e08c018c612e4e565b611905565b610e6133610e3e60608b0160408c0161233d565b73ffffffffffffffffffffffffffffffffffffffff8516919060808c0135611b14565b600080610e7460808b0160608c0161233d565b73ffffffffffffffffffffffffffffffffffffffff1614610ea457610e9f60808a0160608b0161233d565b610ea6565b335b9050600060018516610eb9576000610ed9565b610ed973ffffffffffffffffffffffffffffffffffffffff851633611bb7565b90506000610efd73ffffffffffffffffffffffffffffffffffffffff851684611bb7565b9050600060608d73ffffffffffffffffffffffffffffffffffffffff163463d9c4535760e01b8e8e604051602001610f37939291906125e7565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815290829052610f6f91612623565b60006040518083038185875af1925050503d8060008114610fac576040519150601f19603f3d011682016040523d82523d6000602084013e610fb1565b606091505b50915091508161102d57610ffa816040518060400160405280601281526020017f63616c6c4279746573206661696c65643a200000000000000000000000000000815250611396565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d99190612965565b505060808b013561105e8261105873ffffffffffffffffffffffffffffffffffffffff881687611bb7565b90611769565b985060018716156110fe576110a361108c73ffffffffffffffffffffffffffffffffffffffff881633611bb7565b6110588e6080013586611c8e90919063ffffffff16565b90506110b360a08d013582611cd4565b6110c18a60808f0135611cd4565b10156110f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612bba565b61113c565b8b60a0013589101561113c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612bba565b7fd6d4f5681c246c9f42c203e287975af1601f8df8035a9251f79aab5c8f09e2f833878787858e604051611175969594939291906127e0565b60405180910390a15a97505050505050505094509492505050565b6111986117ab565b73ffffffffffffffffffffffffffffffffffffffff166111b6611206565b73ffffffffffffffffffffffffffffffffffffffff1614611203576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612c85565b33ff5b60005473ffffffffffffffffffffffffffffffffffffffff1690565b600061123088888585611905565b61123d88888888886101f4565b98975050505050505050565b6112516117ab565b73ffffffffffffffffffffffffffffffffffffffff1661126f611206565b73ffffffffffffffffffffffffffffffffffffffff16146112bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612c85565b73ffffffffffffffffffffffffffffffffffffffff8116611309576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d9906129ed565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b606060448351101580156113fd5750826000815181106113b257fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f0800000000000000000000000000000000000000000000000000000000000000145b801561145c57508260018151811061141157fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167fc300000000000000000000000000000000000000000000000000000000000000145b80156114bb57508260028151811061147057fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7900000000000000000000000000000000000000000000000000000000000000145b801561151a5750826003815181106114cf57fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167fa000000000000000000000000000000000000000000000000000000000000000145b15611590576060604484019050805160440184511015611566576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612d28565b8281604051602001611579929190612743565b604051602081830303815290604052915050611763565b825160241480156115f45750826000815181106115a957fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f4e00000000000000000000000000000000000000000000000000000000000000145b801561165357508260018151811061160857fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f4800000000000000000000000000000000000000000000000000000000000000145b80156116b257508260028151811061166757fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7b00000000000000000000000000000000000000000000000000000000000000145b80156117115750826003815181106116c657fe5b6020910101517fff00000000000000000000000000000000000000000000000000000000000000167f7100000000000000000000000000000000000000000000000000000000000000145b156117365760248301518261172582611d28565b60405160200161157992919061263f565b8161174084611d4e565b6040516020016117519291906126c1565b60405160208183030381529060405290505b92915050565b6000828211156117a5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612aef565b50900390565b3390565b80156118ad576117be836118b2565b1561180c5760405173ffffffffffffffffffffffffffffffffffffffff83169082156108fc029083906000818181858888f19350505050158015611806573d6000803e3d6000fd5b506118ad565b6118ad8363a9059cbb60e01b848460405160240161182b929190612827565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611f89565b505050565b600073ffffffffffffffffffffffffffffffffffffffff82161580611763575073ffffffffffffffffffffffffffffffffffffffff821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1492915050565b60e0811415611b0e57600060608573ffffffffffffffffffffffffffffffffffffffff1663d505accf60e01b8585604051602001611945939291906125e7565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905261197d91612623565b6000604051808303816000865af19150503d80600081146119ba576040519150601f19603f3d011682016040523d82523d6000602084013e6119bf565b606091505b509150915081611b0b576060611a0a826040518060400160405280601481526020017f5065726d69742063616c6c206661696c65643a20000000000000000000000000815250611396565b9050858773ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401611a489291906127b9565b60206040518083038186803b158015611a6057600080fd5b505afa158015611a74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a98919061254a565b1015611ad257806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d99190612965565b7f08c379a0afcc32b1a39302f7cb8073359698411ab5fd6e3edb2c02c0b5fba8aa81604051611b019190612965565b60405180910390a1505b50505b50505050565b611b0e846323b872dd60e01b858585604051602401611b359392919061284d565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152612081565b6000611bc2836118b2565b15611be5575073ffffffffffffffffffffffffffffffffffffffff811631611763565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416906370a0823190611c37908590600401612798565b60206040518083038186803b158015611c4f57600080fd5b505afa158015611c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c87919061254a565b9050611763565b600082820183811015611ccd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612a4a565b9392505050565b600082611ce357506000611763565b82820282848281611cf057fe5b0414611ccd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612c28565b606061176382604051602001611d3e919061278f565b6040516020818303038152906040525b80516060907f303132333435363738396162636465660000000000000000000000000000000090829060029081020167ffffffffffffffff81118015611d9357600080fd5b506040519080825280601f01601f191660200182016040528015611dbe576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611def57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611e4c57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b8451811015611f8157826004868381518110611e9657fe5b01602001517fff0000000000000000000000000000000000000000000000000000000000000016901c60f81c60108110611ecc57fe5b1a60f81b828260020260020181518110611ee257fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535082858281518110611f1e57fe5b60209101015160f81c600f1660108110611f3457fe5b1a60f81b828260020260030181518110611f4a57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600101611e7e565b509392505050565b600060608373ffffffffffffffffffffffffffffffffffffffff1683604051611fb29190612623565b6000604051808303816000865af19150503d8060008114611fef576040519150601f19603f3d011682016040523d82523d6000602084013e611ff4565b606091505b509150915081612030576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612d5f565b805115611b0e578080602001905181019061204b9190612359565b611b0e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612cba565b60606120e3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166121379092919063ffffffff16565b8051909150156118ad57808060200190518101906121019190612359565b6118ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612dcd565b6060612146848460008561214e565b949350505050565b60608247101561218a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612b26565b61219385612250565b6121c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d990612d96565b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040516121f39190612623565b60006040518083038185875af1925050503d8060008114612230576040519150601f19603f3d011682016040523d82523d6000602084013e612235565b606091505b5091509150612245828286612256565b979650505050505050565b3b151590565b60608315612265575081611ccd565b8251156122755782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100d99190612965565b60008083601f8401126122ba578182fd5b50813567ffffffffffffffff8111156122d1578182fd5b60208301915083602080830285010111156122eb57600080fd5b9250929050565b60008083601f840112612303578182fd5b50813567ffffffffffffffff81111561231a578182fd5b6020830191508360208285010111156122eb57600080fd5b803561176381612f4d565b60006020828403121561234e578081fd5b8135611ccd81612f4d565b60006020828403121561236a578081fd5b81518015158114611ccd578182fd5b6000806000806060858703121561238e578283fd5b843561239981612f4d565b9350602085013567ffffffffffffffff808211156123b5578485fd5b9086019061010082890312156123c9578485fd5b909350604086013590808211156123de578384fd5b506123eb878288016122f2565b95989497509550505050565b60008060408385031215612409578182fd5b825161241481612f4d565b6020939093015192949293505050565b60008060408385031215612436578182fd5b823561244181612f4d565b946020939093013593505050565b600080600080600060808688031215612466578081fd5b853561247181612f4d565b94506020860135935060408601359250606086013567ffffffffffffffff81111561249a578182fd5b6124a6888289016122a9565b969995985093965092949392505050565b600080600080600080600060a0888a0312156124d1578182fd5b87356124dc81612f4d565b96506020880135955060408801359450606088013567ffffffffffffffff80821115612506578384fd5b6125128b838c016122a9565b909650945060808a013591508082111561252a578384fd5b506125378a828b016122f2565b989b979a50959850939692959293505050565b60006020828403121561255b578081fd5b5051919050565b60008060408385031215612574578182fd5b505080516020909101519092909150565b73ffffffffffffffffffffffffffffffffffffffff169052565b600082845282826020860137806020848601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f85011685010190509392505050565b60007fffffffff000000000000000000000000000000000000000000000000000000008516825282846004840137910160040190815292915050565b60008251612635818460208701612f21565b9190910192915050565b60008351612651818460208801612f21565b7f50616e6963280000000000000000000000000000000000000000000000000000908301908152835161268b816006840160208801612f21565b7f290000000000000000000000000000000000000000000000000000000000000060069290910191820152600701949350505050565b600083516126d3818460208801612f21565b7f556e6b6e6f776e28000000000000000000000000000000000000000000000000908301908152835161270d816008840160208801612f21565b7f290000000000000000000000000000000000000000000000000000000000000060089290910191820152600901949350505050565b60008351612755818460208801612f21565b7f4572726f72280000000000000000000000000000000000000000000000000000908301908152835161268b816006840160208801612f21565b90815260200190565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff92831681529116602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff96871681529486166020860152928516604085015293166060830152608082019290925260a081019190915260c00190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b600073ffffffffffffffffffffffffffffffffffffffff8616825260606020830152602085016128ba606084016128b58389612332565b612585565b6128c48187612eb1565b90506128d36080840182612585565b506128e16040860186612eb1565b6128ee60a0840182612585565b506128fc6060860186612eb1565b61290960c0840182612585565b50608085013560e083015261010060a08601358184015260c086013561012084015261293860e0870187612ebe565b8261014086015261294e6101608601828461259f565b92505050828103604084015261224581858761259f565b6000602082528251806020840152612984816040850160208701612f21565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60208082526012908201527f436c61696d20746f6b656e206973204554480000000000000000000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526014908201527f455448206465706f7369742072656a6563746564000000000000000000000000604082015260600190565b60208082526011908201527f496e76616c6964206d73672e76616c7565000000000000000000000000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60408201527f722063616c6c0000000000000000000000000000000000000000000000000000606082015260800190565b60208082526018908201527f496e636f727265637420434849206275726e20666c6167730000000000000000604082015260600190565b6020808252601b908201527f52657475726e20616d6f756e74206973206e6f7420656e6f7567680000000000604082015260600190565b6020808252601a908201527f4d696e2072657475726e2073686f756c64206e6f742062652030000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60408201527f7700000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f4552433230206f7065726174696f6e20646964206e6f74207375636365656400604082015260600190565b60208082526017908201527f646174612073686f756c64206265206e6f74207a65726f000000000000000000604082015260600190565b60208082526015908201527f496e76616c69642072657665727420726561736f6e0000000000000000000000604082015260600190565b60208082526015908201527f6c6f772d6c6576656c2063616c6c206661696c65640000000000000000000000604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60408201527f6f74207375636365656400000000000000000000000000000000000000000000606082015260800190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612e82578283fd5b83018035915067ffffffffffffffff821115612e9c578283fd5b6020019150368190038213156122eb57600080fd5b60008235611ccd81612f4d565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112612ef2578283fd5b830160208101925035905067ffffffffffffffff811115612f1257600080fd5b8036038313156122eb57600080fd5b60005b83811015612f3c578181015183820152602001612f24565b83811115611b0e5750506000910152565b73ffffffffffffffffffffffffffffffffffffffff81168114612f6f57600080fd5b5056fea2646970667358221220feeb741eab22366472b671c990b8d9f00980994ef47fc987ed6f27933c7a4f4564736f6c634300060c0033

Deployed Bytecode Sourcemap

40138:4938:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33673:10;33687:9;33673:23;;33665:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;40138:4938;;;;;34085:5924;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;41037:1412;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;2736:148::-;;;;;;;;;;;;;:::i;44858:126::-;;;;;;;;;;-1:-1:-1;44858:126:0;;;;;:::i;:::-;;:::i;42457:2393::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;44992:81::-;;;;;;;;;;;;;:::i;2085:87::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33737:340::-;;;;;;:::i;:::-;;:::i;3039:244::-;;;;;;;;;;-1:-1:-1;3039:244:0;;;;;:::i;:::-;;:::i;34085:5924::-;34252:20;34353:137;;;34413:16;34410:1;34407;34392:38;34458:16;34455:1;34448:27;34506:308;34569:66;34566:1;34559:77;34667:66;34661:4;34654:80;34765:1;34759:4;34752:15;34795:3;34792:1;34785:14;34830:1403;;34941:39;34931:8;34924:57;35058:4;35048:8;35043:3;35033:8;35027:4;35020:5;35009:54;34999:2;;35088:10;;:::i;:::-;35159:8;35153:15;35222:4;35212:8;35208:19;35202:26;35249:8;35246:2;;;35334:8;35246:2;35573:35;35556:53;;35423:26;;;35521:12;35507:27;;;;35498:37;;35478:18;;35474:62;;-1:-1:-1;35634:8:0;35660:133;;;;35870:3;35863:4;35853:8;35849:19;35842:32;35924:1;35917:4;35907:8;35903:19;35896:30;35627:318;;35660:133;35718:1;35711:4;35701:8;35697:19;35690:30;35770:3;35763:4;35753:8;35749:19;35742:32;35627:318;;35991:3;35984:4;35974:8;35970:19;35963:32;36041:4;36034;36024:8;36020:19;36013:33;36092:1;36085:4;36075:8;36071:19;36064:30;36162:1;36159;36153:4;36143:8;36140:1;36134:4;36127:5;36122:42;36112:2;;36189:10;;:::i;:::-;34905:1328;;;;;;;;:::o;:::-;36271:4;36265:11;36317:4;36307:8;36303:19;36297:4;36290:33;36382:3;36375:4;36362:18;36358:28;36435:11;36422:25;36493:4;36480:11;36476:22;36461:37;;36557:14;36551:4;36547:25;36534:11;36530:43;36512:61;;36615:11;36602:25;36648:8;36675:1;36670:750;;;;37464:11;37461:2;;;37499:90;37584:4;37516:66;37499:90;:::i;:::-;37669:31;37659:8;37652:49;37746:8;37740:3;37730:8;37726:18;37719:36;37814:13;37805:7;37801:27;37794:4;37784:8;37780:19;37773:56;37875:6;37868:4;37858:8;37854:19;37847:35;37954:1;37951;37945:4;37935:8;37932:1;37922:8;37915:5;37910:46;37900:2;;37981:10;;:::i;:::-;36641:1384;;36670:750;36717:11;36709:6;36706:23;36696:2;;36754:90;36839:4;36771:66;36754:90;:::i;:::-;36924:30;36914:8;36907:48;37028:1;37025;37020:3;37010:8;37002:6;36995:5;36988;36983:47;36973:2;;37055:10;;:::i;:::-;37121:32;37111:8;37104:50;37212:13;37203:7;37199:27;37193:3;37183:8;37179:18;37172:55;37273:6;37266:4;37256:8;37252:19;37245:35;37349:1;37346;37340:4;37330:8;37327:1;37320:5;37313;37308:43;37298:2;;37376:10;;:::i;:::-;36641:1384;38057:6;38041:22;;38110:4;38097:11;38093:22;38079:545;38123:14;38120:1;38117:21;38079:545;;;38210:1;38197:15;38248:319;38534:13;38521:11;38517:31;38477:15;38468:7;38464:29;38445:17;38441:53;38404:13;38395:7;38391:27;38354:13;38345:7;38341:27;38306:12;38275:8;38248:319;:::i;:::-;38232:335;-1:-1:-1;38598:11:0;-1:-1:-1;38152:4:0;38145:12;38079:545;;;-1:-1:-1;38660:10:0;38647:24;;38685:353;;;;39095:297;39364:9;39324:15;39315:7;39311:29;39292:17;39288:53;39251:13;39242:7;39238:27;39201:13;39192:7;39188:27;39153:12;39122:8;39095:297;:::i;:::-;39079:313;;39429:31;39419:8;39412:49;39507:12;39500:4;39490:8;39486:19;39479:41;39589:1;39586;39580:4;39570:8;39567:1;39560:5;39553;39548:43;39538:2;;39616:10;;:::i;:::-;39720:1;39717;39714;39711;39697:12;39687:8;39680:5;39675:47;39665:2;;39747:10;;:::i;:::-;38640:1151;;38685:353;38727:296;38996:8;38956:15;38947:7;38943:29;38924:17;38920:53;38883:13;38874:7;38870:27;38833:13;38824:7;38820:27;38785:12;38754:8;38727:296;:::i;:::-;38711:312;;38640:1151;;;;;;39827:9;39813:12;39810:27;39807:2;;;39857:90;39942:4;39874:66;39857:90;:::i;:::-;34294:5708;;;;;;;:::o;41037:1412::-;41229:20;41251:15;41268:16;41302:18;41323:9;41302:30;-1:-1:-1;41345:17:0;41390:10;;;;40511:4;41390:34;:39;41386:299;;-1:-1:-1;41458:10:0;41386:299;;;41490:10;;;;40570:4;41490:33;:38;41486:199;;-1:-1:-1;41557:9:0;41486:199;;;41639:34;;;;;;;;;;:::i;41486:199::-;41758:12;41772:23;41807:4;41799:26;;41849:18;;;41869:6;41877:4;41883;;41826:62;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41799:90;;;;41826:62;41799:90;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41757:132;;;;41904:7;41900:296;;;41957:10;41946:42;;;;;;;;;;;;:::i;:::-;-1:-1:-1;41928:60:0;-1:-1:-1;41900:296:0;;;42025:9;:13;42021:84;;42059:30;;:10;;42079:9;42059:30;;;;;;;;;42079:9;42059:10;:30;;;;;;;;;;;;;;;;;;;;;42021:84;42124:60;42130:53;42155:10;42130:53;;;;;;;;;;;;;;;;;:24;:53::i;:::-;42124:60;;;;;;:::i;:::-;;;;;;;;41900:296;42209:8;42219:14;42237:6;:19;;;42257:25;42272:9;42257:10;;:14;:25::i;:::-;42284:4;:10;;;42296:8;;:15;;42237:75;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;42208:104;;-1:-1:-1;42208:104:0;-1:-1:-1;42327:10:0;;42323:89;;42365:35;;;;;:16;;;;;;:35;;42382:9;;42393:6;;42365:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;42354:46;;42323:89;42432:9;42422:19;;41037:1412;;;;;;;;;;;;;;:::o;2736:148::-;2316:12;:10;:12::i;:::-;2305:23;;:7;:5;:7::i;:::-;:23;;;2297:68;;;;;;;;;;;;:::i;:::-;2843:1:::1;2827:6:::0;;2806:40:::1;::::0;::::1;2827:6:::0;;::::1;::::0;2806:40:::1;::::0;2843:1;;2806:40:::1;2874:1;2857:19:::0;;;::::1;::::0;;2736:148::o;44858:126::-;2316:12;:10;:12::i;:::-;2305:23;;:7;:5;:7::i;:::-;:23;;;2297:68;;;;;;;;;;;;:::i;:::-;44939:37:::1;:17;::::0;::::1;44957:10;44969:6:::0;44939:17:::1;:37::i;:::-;44858:126:::0;;:::o;42457:2393::-;42639:20;42661:15;42725:1;42702:4;:20;;;:24;42694:63;;;;;;;;;;;;:::i;:::-;42776:15;42768:51;;;;;;;;;;;;:::i;:::-;42848:10;;;;42832:13;42887;;;;42848:4;42887:13;:::i;:::-;42869:31;-1:-1:-1;42911:15:0;42929:13;;;;;;;;:::i;:::-;42911:31;-1:-1:-1;40399:4:0;42959:27;;:32;42955:255;;43029:16;:8;:14;;;:16::i;:::-;:34;;43062:1;43029:34;;;43048:4;:11;;;43029:34;43016:9;:48;43008:78;;;;;;;;;;;;:::i;:::-;42955:255;;;43141:16;:8;:14;;;:16::i;:::-;:34;;43174:1;43141:34;;;43160:4;:11;;;43141:34;43127:9;:49;43119:79;;;;;;;;;;;;:::i;:::-;40451:4;43226:21;;:26;43222:248;;43278:16;:8;:14;;;:16::i;:::-;43277:17;43269:48;;;;;;;;;;;;:::i;:::-;43332:43;43340:8;43350:11;;;;43363;;;;43350:4;43363:11;:::i;:::-;43332:7;:43::i;:::-;43390:68;43416:10;43428:16;;;;;;;;:::i;:::-;43390:25;;;;:68;43446:11;;;;43390:25;:68::i;:::-;43482:19;;43505:16;;;;;;;;:::i;:::-;:30;;;43504:64;;43552:16;;;;;;;;:::i;:::-;43504:64;;;43539:10;43504:64;43482:86;-1:-1:-1;43579:25:0;40341:4;43608:21;;43607:68;;43674:1;43607:68;;;43638:33;:21;;;43660:10;43638:21;:33::i;:::-;43579:96;-1:-1:-1;43686:25:0;43714:34;:21;;;43736:11;43714:21;:34::i;:::-;43686:62;;43841:12;43855:19;43886:6;43878:20;;43906:9;43934:25;;;43961:4;;43917:49;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;43878:89;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43840:127;;;;43987:7;43982:111;;44022:54;44047:6;44022:54;;;;;;;;;;;;;;;;;:24;:54::i;:::-;44015:62;;;;;;;;;;;:::i;43982:111::-;-1:-1:-1;;44138:11:0;;;;44175:57;44214:17;44175:34;:21;;;44197:11;44175:21;:34::i;:::-;:38;;:57::i;:::-;44160:72;-1:-1:-1;40341:4:0;44249:21;;:26;44245:380;;44306:73;44345:33;:21;;;44367:10;44345:21;:33::i;:::-;44306:34;44328:4;:11;;;44306:17;:21;;:34;;;;:::i;:73::-;44292:87;-1:-1:-1;44435:37:0;:20;;;;44292:87;44435:24;:37::i;:::-;44402:29;:12;44419:11;;;;44402:16;:29::i;:::-;:70;;44394:110;;;;;;;;;;;;:::i;:::-;44245:380;;;44561:4;:20;;;44545:12;:36;;44537:76;;;;;;;;;;;;:::i;:::-;44642:168;44664:10;44689:8;44712;44735:11;44761;44787:12;44642:168;;;;;;;;;;;:::i;:::-;;;;;;;;44833:9;44823:19;;42457:2393;;;;;;;;;;;;;;:::o;44992:81::-;2316:12;:10;:12::i;:::-;2305:23;;:7;:5;:7::i;:::-;:23;;;2297:68;;;;;;;;;;;;:::i;:::-;45054:10:::1;45041:24;2085:87:::0;2131:7;2158:6;;;2085:87;:::o;33737:340::-;33942:20;33975:33;33983:8;33993:6;34001;;33975:7;:33::i;:::-;34026:43;34034:8;34044:6;34052:9;34063:5;;34026:7;:43::i;:::-;34019:50;33737:340;-1:-1:-1;;;;;;;;33737:340:0:o;3039:244::-;2316:12;:10;:12::i;:::-;2305:23;;:7;:5;:7::i;:::-;:23;;;2297:68;;;;;;;;;;;;:::i;:::-;3128:22:::1;::::0;::::1;3120:73;;;;;;;;;;;;:::i;:::-;3230:6;::::0;;3209:38:::1;::::0;::::1;::::0;;::::1;::::0;3230:6;::::1;::::0;3209:38:::1;::::0;::::1;3258:6;:17:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;3039:244::o;28368:1911::-;28447:13;28732:2;28717:4;:11;:17;;:38;;;;;28738:4;28743:1;28738:7;;;;;;;;;;;;;;;:17;;28717:38;:59;;;;;28759:4;28764:1;28759:7;;;;;;;;;;;;;;;:17;;28717:59;:80;;;;;28780:4;28785:1;28780:7;;;;;;;;;;;;;;;:17;;28717:80;:101;;;;;28801:4;28806:1;28801:7;;;;;;;;;;;;;;;:17;;28717:101;28713:1476;;;28835:20;29051:2;29045:4;29041:13;29031:23;;29553:6;29547:20;29542:2;:25;29527:4;:11;:40;;29519:74;;;;;;;;;;;;:::i;:::-;29639:6;29657;29622:47;;;;;;;;;:::i;:::-;;;;;;;;;;;;;29608:62;;;;;28713:1476;29764:4;:11;29779:2;29764:17;:38;;;;;29785:4;29790:1;29785:7;;;;;;;;;;;;;;;:17;;29764:38;:59;;;;;29806:4;29811:1;29806:7;;;;;;;;;;;;;;;:17;;29764:59;:80;;;;;29827:4;29832:1;29827:7;;;;;;;;;;;;;;;:17;;29764:80;:101;;;;;29848:4;29853:1;29848:7;;;;;;;;;;;;;;;:17;;29764:101;29760:429;;;30076:2;30066:13;;30060:20;30140:6;30158:12;30060:20;30158:6;:12::i;:::-;30123:53;;;;;;;;;:::i;29760:429::-;30232:6;30252:12;30259:4;30252:6;:12::i;:::-;30215:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;30201:70;;28368:1911;;;;;:::o;9372:158::-;9430:7;9463:1;9458;:6;;9450:49;;;;;;;;;;;;:::i;:::-;-1:-1:-1;9517:5:0;;;9372:158::o;614:106::-;702:10;614:106;:::o;26031:340::-;26126:10;;26122:242;;26157:12;26163:5;26157;:12::i;:::-;26153:200;;;26190:19;;:11;;;;:19;;;;;26202:6;;26190:19;;;;26202:6;26190:11;:19;;;;;;;;;;;;;;;;;;;;;26153:200;;;26250:87;26270:5;26300:23;;;26325:2;26329:6;26277:59;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26250:19;:87::i;:::-;26031:340;;;:::o;25648:133::-;25700:4;25725:22;;;;;:47;;-1:-1:-1;25751:21:0;;;25540:42;25751:21;25717:56;25648:133;-1:-1:-1;;25648:133:0:o;31292:671::-;31403:6;31386:23;;31382:574;;;31491:12;31505:19;31536:5;31528:19;;31565:28;;;31595:6;;31548:54;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;31528:75;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31490:113;;;;31623:7;31618:327;;31651:20;31674:56;31699:6;31674:56;;;;;;;;;;;;;;;;;:24;:56::i;:::-;31651:79;;31798:6;31753:5;:15;;;31769:10;31789:4;31753:42;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:51;31749:181;;;31836:6;31829:14;;;;;;;;;;;:::i;31749:181::-;31897:13;31903:6;31897:13;;;;;;:::i;:::-;;;;;;;;31618:327;;31382:574;;;31292:671;;;;:::o;22471:205::-;22572:96;22592:5;22622:27;;;22651:4;22657:2;22661:5;22599:68;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22572:19;:96::i;25789:234::-;25865:7;25889:12;25895:5;25889;:12::i;:::-;25885:131;;;-1:-1:-1;25925:15:0;;;;25918:22;;25885:131;25980:24;;;;;:15;;;;;;:24;;25996:7;;25980:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;25973:31;;;;8910:179;8968:7;9000:5;;;9024:6;;;;9016:46;;;;;;;;;;;;:::i;:::-;9080:1;8910:179;-1:-1:-1;;;8910:179:0:o;9789:220::-;9847:7;9871:6;9867:20;;-1:-1:-1;9886:1:0;9879:8;;9867:20;9910:5;;;9914:1;9910;:5;:1;9934:5;;;;;:10;9926:56;;;;;;;;;;;;:::i;30287:124::-;30339:13;30372:31;30396:5;30379:23;;;;;;;;:::i;:::-;;;;;;;;;;;;;30419:466;30598:11;;30475:13;;30501:53;;30475:13;;30612:1;30598:15;;;30594:19;30584:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30584:30:0;;30565:49;;30625:12;:3;30629:1;30625:6;;;;;;;;;;;:12;;;;;;;;;;;30648;:3;30652:1;30648:6;;;;;;;;;;;:12;;;;;;;;;;;30676:9;30671:178;30695:4;:11;30691:1;:15;30671:178;;;30745:8;30771:1;30760:4;30765:1;30760:7;;;;;;;;;;;;;;:12;;:7;30754:19;30745:29;;;;;;;;;;30728:3;30736:1;30732;:5;30740:1;30732:9;30728:14;;;;;;;;;;;:46;;;;;;;;;;;30806:8;30821:4;30826:1;30821:7;;;;;;;;;;;;;;;30831:4;30815:21;30806:31;;;;;;;;;;30789:3;30797:1;30793;:5;30801:1;30793:9;30789:14;;;;;;;;;;;:48;;;;;;;;;;-1:-1:-1;30708:3:0;;30671:178;;;-1:-1:-1;30873:3:0;30419:466;-1:-1:-1;;;30419:466:0:o;27015:435::-;27157:12;27171:23;27206:5;27198:19;;27218:4;27198:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27156:67;;;;27242:7;27234:41;;;;;;;;;;;;:::i;:::-;27292:17;;:21;27288:155;;27376:10;27365:30;;;;;;;;;;;;:::i;:::-;27357:74;;;;;;;;;;;;:::i;24591:761::-;25015:23;25041:69;25069:4;25041:69;;;;;;;;;;;;;;;;;25049:5;25041:27;;;;:69;;;;;:::i;:::-;25125:17;;25015:95;;-1:-1:-1;25125:21:0;25121:224;;25267:10;25256:30;;;;;;;;;;;;:::i;:::-;25248:85;;;;;;;;;;;;:::i;17275:195::-;17378:12;17410:52;17432:6;17440:4;17446:1;17449:12;17410:21;:52::i;:::-;17403:59;17275:195;-1:-1:-1;;;;17275:195:0:o;18327:530::-;18454:12;18512:5;18487:21;:30;;18479:81;;;;;;;;;;;;:::i;:::-;18579:18;18590:6;18579:10;:18::i;:::-;18571:60;;;;;;;;;;;;:::i;:::-;18705:12;18719:23;18746:6;:11;;18766:5;18774:4;18746:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18704:75;;;;18797:52;18815:7;18824:10;18836:12;18797:17;:52::i;:::-;18790:59;18327:530;-1:-1:-1;;;;;;;18327:530:0:o;14357:422::-;14724:20;14763:8;;;14357:422::o;20867:742::-;20982:12;21011:7;21007:595;;;-1:-1:-1;21042:10:0;21035:17;;21007:595;21156:17;;:21;21152:439;;21419:10;21413:17;21480:15;21467:10;21463:2;21459:19;21452:44;21367:148;21562:12;21555:20;;;;;;;;;;;:::i;160:352:-1:-;;;290:3;283:4;275:6;271:17;267:27;257:2;;-1:-1;;298:12;257:2;-1:-1;328:20;;368:18;357:30;;354:2;;;-1:-1;;390:12;354:2;434:4;426:6;422:17;410:29;;485:3;434:4;;469:6;465:17;426:6;451:32;;448:41;445:2;;;502:1;;492:12;445:2;250:262;;;;;:::o;669:336::-;;;783:3;776:4;768:6;764:17;760:27;750:2;;-1:-1;;791:12;750:2;-1:-1;821:20;;861:18;850:30;;847:2;;;-1:-1;;883:12;847:2;927:4;919:6;915:17;903:29;;978:3;927:4;958:17;919:6;944:32;;941:41;938:2;;;995:1;;985:12;1375:158;1456:20;;1481:47;1456:20;1481:47;:::i;2043:241::-;;2147:2;2135:9;2126:7;2122:23;2118:32;2115:2;;;-1:-1;;2153:12;2115:2;85:6;72:20;97:33;124:5;97:33;:::i;2291:257::-;;2403:2;2391:9;2382:7;2378:23;2374:32;2371:2;;;-1:-1;;2409:12;2371:2;601:6;595:13;41898:5;39268:13;39261:21;41876:5;41873:32;41863:2;;-1:-1;;41909:12;2555:829;;;;;2776:2;2764:9;2755:7;2751:23;2747:32;2744:2;;;-1:-1;;2782:12;2744:2;1122:6;1109:20;1134:62;1190:5;1134:62;:::i;:::-;2834:92;-1:-1;2991:2;2976:18;;2963:32;3015:18;3004:30;;;3001:2;;;-1:-1;;3037:12;3001:2;3123:22;;;;1710:3;1692:16;;;1688:26;1685:2;;;-1:-1;;1717:12;1685:2;3057:98;;-1:-1;3220:2;3205:18;;3192:32;;3233:30;;;3230:2;;;-1:-1;;3266:12;3230:2;;3304:64;3360:7;3351:6;3340:9;3336:22;3304:64;:::i;:::-;2738:646;;;;-1:-1;3286:82;-1:-1;;;;2738:646::o;3391:425::-;;;3536:2;3524:9;3515:7;3511:23;3507:32;3504:2;;;-1:-1;;3542:12;3504:2;1305:6;1299:13;1317:46;1357:5;1317:46;:::i;:::-;3718:2;3768:22;;;;1980:13;3594:87;;1980:13;;-1:-1;;;3498:318::o;4099:394::-;;;4234:2;4222:9;4213:7;4209:23;4205:32;4202:2;;;-1:-1;;4240:12;4202:2;1469:6;1456:20;1481:47;1522:5;1481:47;:::i;:::-;4292:77;4406:2;4445:22;;;;1832:20;;-1:-1;;;4196:297::o;4500:801::-;;;;;;4704:3;4692:9;4683:7;4679:23;4675:33;4672:2;;;-1:-1;;4711:12;4672:2;1469:6;1456:20;1481:47;1522:5;1481:47;:::i;:::-;4763:77;-1:-1;4877:2;4916:22;;1832:20;;-1:-1;4985:2;5024:22;;1832:20;;-1:-1;5121:2;5106:18;;5093:32;5145:18;5134:30;;5131:2;;;-1:-1;;5167:12;5131:2;5205:80;5277:7;5268:6;5257:9;5253:22;5205:80;:::i;:::-;4666:635;;;;-1:-1;4666:635;;-1:-1;5187:98;;;4666:635;-1:-1;;;4666:635::o;5308:1051::-;;;;;;;;5548:3;5536:9;5527:7;5523:23;5519:33;5516:2;;;-1:-1;;5555:12;5516:2;1469:6;1456:20;1481:47;1522:5;1481:47;:::i;:::-;5607:77;-1:-1;5721:2;5760:22;;1832:20;;-1:-1;5829:2;5868:22;;1832:20;;-1:-1;5965:2;5950:18;;5937:32;5989:18;5978:30;;;5975:2;;;-1:-1;;6011:12;5975:2;6049:80;6121:7;6112:6;6101:9;6097:22;6049:80;:::i;:::-;6031:98;;-1:-1;6031:98;-1:-1;6194:3;6179:19;;6166:33;;-1:-1;6208:30;;;6205:2;;;-1:-1;;6241:12;6205:2;;6279:64;6335:7;6326:6;6315:9;6311:22;6279:64;:::i;:::-;5510:849;;;;-1:-1;5510:849;;-1:-1;5510:849;;;;6261:82;;-1:-1;;;5510:849::o;6366:263::-;;6481:2;6469:9;6460:7;6456:23;6452:32;6449:2;;;-1:-1;;6487:12;6449:2;-1:-1;1980:13;;6443:186;-1:-1;6443:186::o;6636:399::-;;;6768:2;6756:9;6747:7;6743:23;6739:32;6736:2;;;-1:-1;;6774:12;6736:2;-1:-1;;1980:13;;6937:2;6987:22;;;1980:13;;;;;-1:-1;6730:305::o;7191:137::-;39868:42;39857:54;7278:45;;7272:56::o;7743:277::-;;37370:6;37365:3;37358:19;41078:6;41073:3;37407:4;37402:3;37398:14;41055:30;-1:-1;37407:4;41125:6;37402:3;41116:16;;41109:27;37407:4;41672:7;41676:2;8006:6;41656:14;41652:28;37402:3;7975:39;;7968:46;;7833:187;;;;;:::o;20239:425::-;;39366:66;7700:5;39355:78;7659:3;7652:56;41078:6;41073:3;20516:1;20511:3;20507:11;41055:30;41116:16;;20516:1;41116:16;41109:27;;;41116:16;20409:255;-1:-1;;20409:255::o;20671:271::-;;8857:5;37095:12;8968:52;9013:6;9008:3;9001:4;8994:5;8990:16;8968:52;:::i;:::-;9032:16;;;;;20805:137;-1:-1;;20805:137::o;20949:970::-;;8857:5;37095:12;8968:52;9013:6;9008:3;9001:4;8994:5;8990:16;8968:52;:::i;:::-;13682:8;9032:16;;;13662:29;;;37095:12;;8968:52;37095:12;13647:1;13710:11;;9001:4;8990:16;;8968:52;:::i;:::-;13005:3;13647:1;9032:16;;;;;;;12985:24;13028:11;;;21335:584;-1:-1;;;;21335:584::o;21926:970::-;;8857:5;37095:12;8968:52;9013:6;9008:3;9001:4;8994:5;8990:16;8968:52;:::i;:::-;15081:10;9032:16;;;15061:31;;;37095:12;;8968:52;37095:12;15046:1;15111:11;;9001:4;8990:16;;8968:52;:::i;:::-;13005:3;15046:1;9032:16;;;;;;;12985:24;13028:11;;;22312:584;-1:-1;;;;22312:584::o;22903:970::-;;8857:5;37095:12;8968:52;9013:6;9008:3;9001:4;8994:5;8990:16;8968:52;:::i;:::-;17831:8;9032:16;;;17811:29;;;37095:12;;8968:52;37095:12;17796:1;17859:11;;9001:4;8990:16;;8968:52;:::i;23880:253::-;19911:37;;;24105:2;24096:12;;23996:137::o;24140:222::-;39868:42;39857:54;;;;7278:45;;24267:2;24252:18;;24238:124::o;24369:349::-;39868:42;39857:54;;;7121:58;;39857:54;;24704:2;24689:18;;7278:45;24532:2;24517:18;;24503:215::o;24725:852::-;39868:42;39857:54;;;7121:58;;39857:54;;;25215:2;25200:18;;9160:79;39857:54;;;25312:2;25297:18;;9160:79;39857:54;;25395:2;25380:18;;7278:45;25478:3;25463:19;;19911:37;;;;25562:3;25547:19;;19911:37;;;;25028:3;25013:19;;24999:578::o;25584:365::-;39868:42;39857:54;;;;7278:45;;25935:2;25920:18;;19911:37;25755:2;25740:18;;25726:223::o;25956:444::-;39868:42;39857:54;;;7278:45;;39857:54;;;;26303:2;26288:18;;7278:45;26386:2;26371:18;;19911:37;;;;26139:2;26124:18;;26110:290::o;26747:790::-;;39868:42;9232:5;39857:54;9167:3;9160:79;27055:2;27202;27191:9;27187:18;27180:48;27202:2;18267:16;38843:12;18290:77;27055:2;27044:9;27040:18;38803:53;38843:12;18267:16;38803:53;:::i;:::-;18290:77;:::i;:::-;18433:64;18480:16;18473:5;18433:64;:::i;:::-;18413:84;;18503:77;18565:14;27044:9;18565:14;18551:12;18503:77;:::i;:::-;;18649:50;18693:4;18686:5;18682:16;18675:5;18649:50;:::i;:::-;18705:63;18753:14;27044:9;18753:14;18739:12;18705:63;:::i;:::-;;18837:50;27055:2;18874:5;18870:16;18863:5;18837:50;:::i;:::-;18893:63;18941:14;27044:9;18941:14;18927:12;18893:63;:::i;:::-;;18565:14;19057:5;19053:16;1832:20;19124:14;27044:9;19124:14;19911:37;18148:6;18753:14;19249:5;19245:16;1832:20;18148:6;27044:9;19316:14;19911:37;18941:14;19431:5;19427:16;1832:20;19498:14;27044:9;19498:14;19911:37;19591:61;19124:14;19639:5;19635:16;19628:5;19591:61;:::i;:::-;18148:6;19672:14;27044:9;19672:14;19665:38;19718:87;18139:16;27044:9;18139:16;19786:12;19772;19718:87;:::i;:::-;19827:11;;;;27416:9;27410:4;27406:20;18693:4;27390:9;27386:18;27379:48;27441:86;27522:4;27513:6;27505;27441:86;:::i;27544:310::-;;27691:2;27712:17;27705:47;9708:5;37095:12;37370:6;27691:2;27680:9;27676:18;37358:19;9802:52;9847:6;37398:14;27680:9;37398:14;27691:2;9828:5;9824:16;9802:52;:::i;:::-;41676:2;41656:14;41672:7;41652:28;9866:39;;;;37398:14;9866:39;;27662:192;-1:-1;;27662:192::o;27861:416::-;28061:2;28075:47;;;10509:2;28046:18;;;37358:19;10545:20;37398:14;;;10525:41;10585:12;;;28032:245::o;28284:416::-;28484:2;28498:47;;;10836:2;28469:18;;;37358:19;10872:34;37398:14;;;10852:55;10941:8;10927:12;;;10920:30;10969:12;;;28455:245::o;28707:416::-;28907:2;28921:47;;;11220:2;28892:18;;;37358:19;11256:29;37398:14;;;11236:50;11305:12;;;28878:245::o;29130:416::-;29330:2;29344:47;;;11556:2;29315:18;;;37358:19;11592:22;37398:14;;;11572:43;11634:12;;;29301:245::o;29553:416::-;29753:2;29767:47;;;11885:2;29738:18;;;37358:19;11921;37398:14;;;11901:40;11960:12;;;29724:245::o;29976:416::-;30176:2;30190:47;;;12211:2;30161:18;;;37358:19;12247:32;37398:14;;;12227:53;12299:12;;;30147:245::o;30399:416::-;30599:2;30613:47;;;12550:2;30584:18;;;37358:19;12586:34;37398:14;;;12566:55;12655:8;12641:12;;;12634:30;12683:12;;;30570:245::o;30822:416::-;31022:2;31036:47;;;13278:2;31007:18;;;37358:19;13314:26;37398:14;;;13294:47;13360:12;;;30993:245::o;31245:416::-;31445:2;31459:47;;;13960:2;31430:18;;;37358:19;13996:29;37398:14;;;13976:50;14045:12;;;31416:245::o;31668:416::-;31868:2;31882:47;;;14296:2;31853:18;;;37358:19;14332:28;37398:14;;;14312:49;14380:12;;;31839:245::o;32091:416::-;32291:2;32305:47;;;14631:2;32276:18;;;37358:19;14667:34;37398:14;;;14647:55;14736:3;14722:12;;;14715:25;14759:12;;;32262:245::o;32514:416::-;32714:2;32728:47;;;32699:18;;;37358:19;15397:34;37398:14;;;15377:55;15451:12;;;32685:245::o;32937:416::-;33137:2;33151:47;;;15702:2;33122:18;;;37358:19;15738:33;37398:14;;;15718:54;15791:12;;;33108:245::o;33360:416::-;33560:2;33574:47;;;16042:2;33545:18;;;37358:19;16078:25;37398:14;;;16058:46;16123:12;;;33531:245::o;33783:416::-;33983:2;33997:47;;;16374:2;33968:18;;;37358:19;16410:23;37398:14;;;16390:44;16453:12;;;33954:245::o;34206:416::-;34406:2;34420:47;;;16704:2;34391:18;;;37358:19;16740:23;37398:14;;;16720:44;16783:12;;;34377:245::o;34629:416::-;34829:2;34843:47;;;17034:2;34814:18;;;37358:19;17070:31;37398:14;;;17050:52;17121:12;;;34800:245::o;35052:416::-;35252:2;35266:47;;;17372:2;35237:18;;;37358:19;17408:34;37398:14;;;17388:55;17477:12;17463;;;17456:34;17509:12;;;35223:245::o;35704:333::-;19911:37;;;36023:2;36008:18;;19911:37;35859:2;35844:18;;35830:207::o;36044:444::-;19911:37;;;36391:2;36376:18;;19911:37;;;;36474:2;36459:18;;19911:37;36227:2;36212:18;;36198:290::o;36495:506::-;;;36630:11;36617:25;36681:48;36705:8;36689:14;36685:29;36681:48;36661:18;36657:73;36647:2;;-1:-1;;36734:12;36647:2;36761:33;;36815:18;;;-1:-1;36853:18;36842:30;;36839:2;;;-1:-1;;36875:12;36839:2;36720:4;36903:13;;-1:-1;36689:14;36935:38;;;36925:49;;36922:2;;;36987:1;;36977:12;38077:119;;85:6;72:20;97:33;124:5;97:33;:::i;38205:501::-;;;38329:3;38316:17;38373:48;38397:8;38381:14;38377:29;38373:48;38353:18;38349:73;38339:2;;-1:-1;;38426:12;38339:2;38455:33;;38412:4;38544:16;;;-1:-1;38510:19;;-1:-1;38580:18;38569:30;;38566:2;;;38612:1;;38602:12;38566:2;38659:17;38381:14;38639:38;38629:8;38625:53;38622:2;;;38691:1;;38681:12;41151:268;41216:1;41223:101;41237:6;41234:1;41231:13;41223:101;;;41304:11;;;41298:18;41285:11;;;41278:39;41259:2;41252:10;41223:101;;;41339:6;41336:1;41333:13;41330:2;;;-1:-1;;41216:1;41386:16;;41379:27;41200:219::o;41693:117::-;39868:42;41780:5;39857:54;41755:5;41752:35;41742:2;;41801:1;;41791:12;41742:2;41736:74;:::o

Swarm Source

ipfs://feeb741eab22366472b671c990b8d9f00980994ef47fc987ed6f27933c7a4f45

Block Transaction Gas Used Reward
view all blocks produced

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

OVERVIEW

The DeFi ecosystem building financial freedom for everyone. 1inch products make it easier for users and builders to trade, hold and track digital assets - and 1inch protocols and APIs provide core infrastructure for the DeFi industry and beyond.

Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
0x11111112542D85B3EF69AE05771c2dCCff4fAa26
Net Worth in USD
$6,548.39

Net Worth in POL
Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo 52,123.757632

Token Allocations
FLOKI 22.13%
OHM 17.87%
GOHM 15.47%
Others 44.53%
Chain Token Portfolio % Price Amount Value
ETH22.13%$0.00004333,774,229.4745$1,448.91
ETH17.87%$119.999.7534$1,170.31
ETH15.47%$5,427.320.1866$1,012.87
ETH9.42%$0.998491618$617.07
ETH6.36%$0.998508416.8379$416.22
ETH4.04%$9.4428.0454$264.75
ETH4.03%$0.999531263.73$263.61
ETH0.07%$4.841.0001$4.84
ETH0.04%$0.025725100$2.57
ETH0.04%$0.000022110,000$2.41
ETH0.03%$0.003982420.1689$1.67
ETH0.01%$0.01424264$0.9115
ETH0.01%$0.0000011,141,596$0.7184
BSC12.45%$0.998496816.7477$815.52
BSC4.81%$887.960.355$315.26
BSC0.83%<$0.000001235,748,532,288.9432$54.21
BSC0.23%$1.927.8221$15.02
BSC0.21%$2,955.850.00468817$13.86
BSC0.19%$89,314.170.00013635$12.18
BSC0.18%$0.1438283.4109$12
BSC0.15%$0.86774711.6823$10.14
BSC0.15%<$0.00000142,245,471,655.7477$9.75
BSC0.14%$0.9995299.1008$9.1
BSC0.12%<$0.00000112,994,881,117.2397$7.74
BSC0.06%$0.9998534.1596$4.16
BSC0.03%$0.00020110,000$2.01
BSC0.03%$0.00020110,000$2.01
BSC<0.01%$0.0001761,000$0.1762
GNO0.65%$0.99932442.4281$42.4
ARB0.15%$0.99868410$9.99
BASE0.09%$2,953.390.00200001$5.91
POL
Polygon (POL)
<0.01%$0.125561$0.12556
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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