ETH Price: $3,611.92 (-3.00%)

Contract

0x034F1cC9c69b5C5974105E8D3FdDa303A5c29A3B
 

Overview

ETH Balance

0.075 ETH

Eth Value

$270.89 (@ $3,611.92/ETH)

Multichain Info

No addresses found
Amount:Between 1-10
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

Update your filters to view other transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
210282542024-10-23 12:21:4740 days ago1729686107
0x034F1cC9...3A5c29A3B
0.00009995 ETH
210282542024-10-23 12:21:4740 days ago1729686107
0x034F1cC9...3A5c29A3B
0 ETH
210282542024-10-23 12:21:4740 days ago1729686107
0x034F1cC9...3A5c29A3B
0 ETH
210282542024-10-23 12:21:4740 days ago1729686107
0x034F1cC9...3A5c29A3B
0.00000004 ETH
210211862024-10-22 12:41:4741 days ago1729600907
0x034F1cC9...3A5c29A3B
0.0009995 ETH
210211862024-10-22 12:41:4741 days ago1729600907
0x034F1cC9...3A5c29A3B
0.00000005 ETH
210211862024-10-22 12:41:4741 days ago1729600907
0x034F1cC9...3A5c29A3B
0.00000005 ETH
210211862024-10-22 12:41:4741 days ago1729600907
0x034F1cC9...3A5c29A3B
0.0000004 ETH
209807682024-10-16 21:19:5947 days ago1729113599
0x034F1cC9...3A5c29A3B
0.09995 ETH
209807682024-10-16 21:19:5947 days ago1729113599
0x034F1cC9...3A5c29A3B
0.000005 ETH
209807682024-10-16 21:19:5947 days ago1729113599
0x034F1cC9...3A5c29A3B
0.000005 ETH
209807682024-10-16 21:19:5947 days ago1729113599
0x034F1cC9...3A5c29A3B
0.00004 ETH
209784262024-10-16 13:29:2347 days ago1729085363
0x034F1cC9...3A5c29A3B
0.00000999 ETH
209784262024-10-16 13:29:2347 days ago1729085363
0x034F1cC9...3A5c29A3B
0 ETH
209784262024-10-16 13:29:2347 days ago1729085363
0x034F1cC9...3A5c29A3B
0 ETH
209784262024-10-16 13:29:2347 days ago1729085363
0x034F1cC9...3A5c29A3B
0 ETH
209604032024-10-14 1:03:2349 days ago1728867803
0x034F1cC9...3A5c29A3B
0.01999 ETH
209604032024-10-14 1:03:2349 days ago1728867803
0x034F1cC9...3A5c29A3B
0.000001 ETH
209604032024-10-14 1:03:2349 days ago1728867803
0x034F1cC9...3A5c29A3B
0.000001 ETH
209604032024-10-14 1:03:2349 days ago1728867803
0x034F1cC9...3A5c29A3B
0.000008 ETH
209542912024-10-13 4:30:2350 days ago1728793823
0x034F1cC9...3A5c29A3B
0.049975 ETH
209542912024-10-13 4:30:2350 days ago1728793823
0x034F1cC9...3A5c29A3B
0.0000025 ETH
209542912024-10-13 4:30:2350 days ago1728793823
0x034F1cC9...3A5c29A3B
0.0000025 ETH
209542912024-10-13 4:30:2350 days ago1728793823
0x034F1cC9...3A5c29A3B
0.00002 ETH
209410462024-10-11 7:59:5952 days ago1728633599
0x034F1cC9...3A5c29A3B
0.01799099 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DxDexAggregator

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-08-21
*/

// SPDX-License-Identifier: MIT
pragma solidity =0.8.19;

// Fun DxAggregator Contract --> visit https://www.base.fun/ for full experience
// Powered by DX --> https://www.dx.app/

// lib/openzeppelin-contracts/contracts/security/ReentrancyGuard.sol

// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

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

// lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol

// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

// lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol

// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol)

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     *
     * CAUTION: See Security Considerations above.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

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

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

// lib/openzeppelin-contracts/contracts/utils/Address.sol

// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

// lib/openzeppelin-contracts/contracts/utils/Context.sol

// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// src/interfaces/IUniswapFactory.sol

interface IUniswapV2Factory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint
    );

    function getPair(
        address tokenA,
        address tokenB
    ) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function createPair(
        address tokenA,
        address tokenB
    ) external returns (address pair);
}

// src/interfaces/IUniswapRouter02.sol

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    )
        external
        payable
        returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable returns (uint[] memory amounts);
    function swapTokensForExactETH(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactTokensForETH(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapETHForExactTokens(
        uint amountOut,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable returns (uint[] memory amounts);

    function quote(
        uint amountA,
        uint reserveA,
        uint reserveB
    ) external pure returns (uint amountB);
    function getAmountOut(
        uint amountIn,
        uint reserveIn,
        uint reserveOut
    ) external pure returns (uint amountOut);
    function getAmountIn(
        uint amountOut,
        uint reserveIn,
        uint reserveOut
    ) external pure returns (uint amountIn);
    function getAmountsOut(
        uint amountIn,
        address[] calldata path
    ) external view returns (uint[] memory amounts);
    function getAmountsIn(
        uint amountOut,
        address[] calldata path
    ) external view returns (uint[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

// lib/openzeppelin-contracts/contracts/access/Ownable.sol

// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol

// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)

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

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

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

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

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

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

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

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

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

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

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

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

// src/DxDexAggregator.sol
// Fun DxAggregator Contract --> visit https://www.base.fun/ for full experience
// Powered by DX --> https://www.dx.app/

struct SwapParams {
    address router;
    address token0;
    address token1;
    uint256 amountIn;
    uint256 amountOutMin;
    address payable dev;
    address payable affiliate;
}

contract DxDexAggregator is Ownable, ReentrancyGuard {
    using SafeERC20 for IERC20;
    using Address for address;
    using Address for address payable;

    uint256 MAX_BPS = 10000;
    // swap fee
    uint256 public swapFeePercent = 5; // 0.05%
    uint256 public devFeePercent = 1000; // 10% of swap fee
    uint256 public affiliateFeePercent = 1000; // 10% of swap fee
    // routers => whitelisted
    mapping(address => bool) public whitelistedRouters;
    // treasury address
    address payable public treasury;

    constructor(address payable _treasury) {
        treasury = _treasury;
    }

    modifier onlyWhitelisted(address _router) {
        require(whitelistedRouters[_router], "Invalid DEX");
        _;
    }

    // swap token0 -> token1 only
    function swapTokens(
        SwapParams memory swap // to avoid stack too deep compile error
    )
        external
        payable
        nonReentrant
        onlyWhitelisted(swap.router)
        returns (uint256[] memory)
    {
        require(swap.amountIn > 0, "Invalid amount");
        require(
            swap.token0 != swap.token1 &&
                swap.token0 != address(0) &&
                swap.token1 != address(0),
            "Invalid addresses"
        );
        require(
            getPair(swap.router, swap.token0, swap.token1) != address(0),
            "Invalid pair"
        ); // only swap.token0 -> swap.token1 path allowed
        require(
            swap.dev != address(0) &&
            swap.affiliate != address(0),
            "Invalid address"
        );
        require(
            getAmountOut(
                swap.router,
                swap.token0,
                swap.token1,
                swap.amountIn
            ) >= swap.amountOutMin,
            "Invalid amount"
        );

        uint256 swapFee = (swap.amountIn * swapFeePercent) / MAX_BPS;
        uint256 devFee = (swapFee * devFeePercent) / MAX_BPS;
        uint256 affiliateFee = (swapFee * affiliateFeePercent) / MAX_BPS;
        unchecked {
            swap.amountIn -= swapFee;
        }

        IUniswapV2Router02 router = IUniswapV2Router02(swap.router);
        IERC20 token0_ = IERC20(swap.token0);
        address weth = router.WETH();

        address[] memory path = new address[](2);
        path[0] = swap.token0;
        path[1] = swap.token1;

        if (swap.token0 == weth) {
            require(msg.value == swap.amountIn + swapFee, "Invalid ETH");

            treasury.sendValue(swapFee - devFee - affiliateFee);
            swap.dev.sendValue(devFee);
            swap.affiliate.sendValue(affiliateFee);
            return
                router.swapExactETHForTokens{value: swap.amountIn}(
                    swap.amountOutMin,
                    path,
                    msg.sender,
                    block.timestamp + 300
                );
        } else {
            require(msg.value == 0, "Invalid ETH");

            token0_.safeTransferFrom(
                msg.sender,
                treasury,
                swapFee - devFee - affiliateFee
            );
            token0_.safeTransferFrom(msg.sender, swap.dev, devFee);
            token0_.safeTransferFrom(msg.sender, swap.affiliate, affiliateFee);
            token0_.safeTransferFrom(msg.sender, address(this), swap.amountIn);

            if (token0_.allowance(address(this), swap.router) == 0) {
                token0_.safeApprove(swap.router, type(uint).max); // aggregator approving router, not users
            }

            if (swap.token1 == weth) {
                return
                    router.swapExactTokensForETH(
                        swap.amountIn,
                        swap.amountOutMin,
                        path,
                        msg.sender,
                        block.timestamp + 300
                    );
            } else {
                return
                    router.swapExactTokensForTokens(
                        swap.amountIn,
                        swap.amountOutMin,
                        path,
                        msg.sender,
                        block.timestamp + 300
                    );
            }
        }
    }

    // Getter methods

    // check if pair exist
    function getPair(
        address _router,
        address token0,
        address token1
    ) public view onlyWhitelisted(_router) returns (address) {
        IUniswapV2Router02 router = IUniswapV2Router02(_router);
        IUniswapV2Factory factory = IUniswapV2Factory(router.factory());
        return factory.getPair(token0, token1);
    }

    // get amounts out
    function getAmountOut(
        address _router,
        address token0,
        address token1,
        uint amountIn
    ) public view onlyWhitelisted(_router) returns (uint256) {
        IUniswapV2Router02 router = IUniswapV2Router02(_router);
        uint swapFee = (amountIn * swapFeePercent) / MAX_BPS;
        unchecked {
            amountIn -= swapFee;
        }

        address[] memory path = new address[](2);
        path[0] = token0;
        path[1] = token1;

        uint[] memory amounts = router.getAmountsOut(amountIn, path);
        return amounts[1];
    }

    // get amounts in
    function getAmountIn(
        address _router,
        address token0,
        address token1,
        uint amountOut
    ) public view onlyWhitelisted(_router) returns (uint256) {
        IUniswapV2Router02 router = IUniswapV2Router02(_router);
        uint swapFee = (amountOut * swapFeePercent) / MAX_BPS;
        unchecked {
            amountOut -= swapFee;
        }

        address[] memory path = new address[](2);
        path[0] = token0;
        path[1] = token1;

        uint[] memory amounts = router.getAmountsIn(amountOut, path);
        return amounts[0];
    }

    // admin methods

    function setSwapFeePercent(uint _fee) external onlyOwner {
        require(_fee <= 1000, "Invalid fee");
        swapFeePercent = _fee;
    }

    function setDevFeePercent(uint _fee) external onlyOwner {
        require(_fee <= 10000, "Invalid fee");
        devFeePercent = _fee;
    }

    function setAffiliateFeePercent(uint _fee) external onlyOwner {
        require(_fee <= 10000, "Invalid fee");
        affiliateFeePercent = _fee;
    }

    function setTreasury(address payable _treasury) external onlyOwner {
        require(_treasury != address(0), "Invalid treasury");
        treasury = _treasury;
    }

    function whitelistDEX(address _router) external onlyOwner {
        require(_router != address(0), "Address(0)");
        require(!whitelistedRouters[_router], "Whitelisted");
        whitelistedRouters[_router] = true;
    }

    function blacklistDEX(address _router) external onlyOwner {
        require(_router != address(0), "Address(0)");
        require(whitelistedRouters[_router], "Blacklisted");
        whitelistedRouters[_router] = false;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"affiliateFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"name":"blacklistDEX","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"uint256","name":"amountOut","type":"uint256"}],"name":"getAmountIn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"name":"getAmountOut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"}],"name":"getPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setAffiliateFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setDevFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setSwapFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"router","type":"address"},{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address payable","name":"dev","type":"address"},{"internalType":"address payable","name":"affiliate","type":"address"}],"internalType":"struct SwapParams","name":"swap","type":"tuple"}],"name":"swapTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"name":"whitelistDEX","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedRouters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

608060405261271060025560056003556103e86004556103e86005553480156200002857600080fd5b5060405162001e7b38038062001e7b8339810160408190526200004b91620000d0565b620000563362000080565b60018055600780546001600160a01b0319166001600160a01b039290921691909117905562000102565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215620000e357600080fd5b81516001600160a01b0381168114620000fb57600080fd5b9392505050565b611d6980620001126000396000f3fe6080604052600436106101095760003560e01c8063814eb02911610095578063d21f8e2411610064578063d21f8e24146102d0578063d7176ca9146102f0578063ec27830914610310578063f0f4426014610330578063f2fde38b1461035057600080fd5b8063814eb029146102665780638da5cb5b146102865780638fb9085b146102a4578063ae0a8530146102ba57600080fd5b8063436d98dc116100dc578063436d98dc146101b957806361d027b3146101d957806361e0b77f14610211578063715018a6146102315780637573141b1461024657600080fd5b8063069588341461010e5780630f874a1314610130578063379e2919146101755780633f64a7ab14610195575b600080fd5b34801561011a57600080fd5b5061012e6101293660046117fe565b610370565b005b34801561013c57600080fd5b5061016061014b3660046117fe565b60066020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561018157600080fd5b5061012e610190366004611822565b61043b565b3480156101a157600080fd5b506101ab60045481565b60405190815260200161016c565b3480156101c557600080fd5b5061012e6101d43660046117fe565b61046a565b3480156101e557600080fd5b506007546101f9906001600160a01b031681565b6040516001600160a01b03909116815260200161016c565b34801561021d57600080fd5b506101f961022c36600461183b565b61052c565b34801561023d57600080fd5b5061012e610650565b34801561025257600080fd5b5061012e610261366004611822565b610664565b6102796102743660046118d8565b610693565b60405161016c9190611984565b34801561029257600080fd5b506000546001600160a01b03166101f9565b3480156102b057600080fd5b506101ab60035481565b3480156102c657600080fd5b506101ab60055481565b3480156102dc57600080fd5b5061012e6102eb366004611822565b610df1565b3480156102fc57600080fd5b506101ab61030b3660046119c8565b610e20565b34801561031c57600080fd5b506101ab61032b3660046119c8565b610f9c565b34801561033c57600080fd5b5061012e61034b3660046117fe565b611101565b34801561035c57600080fd5b5061012e61036b3660046117fe565b611174565b6103786111ed565b6001600160a01b0381166103c05760405162461bcd60e51b815260206004820152600a6024820152694164647265737328302960b01b60448201526064015b60405180910390fd5b6001600160a01b03811660009081526006602052604090205460ff16156104175760405162461bcd60e51b815260206004820152600b60248201526a15da1a5d195b1a5cdd195960aa1b60448201526064016103b7565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6104436111ed565b6127108111156104655760405162461bcd60e51b81526004016103b790611a19565b600455565b6104726111ed565b6001600160a01b0381166104b55760405162461bcd60e51b815260206004820152600a6024820152694164647265737328302960b01b60448201526064016103b7565b6001600160a01b03811660009081526006602052604090205460ff1661050b5760405162461bcd60e51b815260206004820152600b60248201526a109b1858dadb1a5cdd195960aa1b60448201526064016103b7565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6001600160a01b038316600090815260066020526040812054849060ff166105665760405162461bcd60e51b81526004016103b790611a3e565b60008590506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105cf9190611a63565b60405163e6a4390560e01b81526001600160a01b03888116600483015287811660248301529192509082169063e6a4390590604401602060405180830381865afa158015610621573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106459190611a63565b979650505050505050565b6106586111ed565b6106626000611247565b565b61066c6111ed565b6103e881111561068e5760405162461bcd60e51b81526004016103b790611a19565b600355565b606061069d611297565b81516001600160a01b03811660009081526006602052604090205460ff166106d75760405162461bcd60e51b81526004016103b790611a3e565b600083606001511161071c5760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016103b7565b82604001516001600160a01b031683602001516001600160a01b031614158015610752575060208301516001600160a01b031615155b801561076a575060408301516001600160a01b031615155b6107aa5760405162461bcd60e51b8152602060048201526011602482015270496e76616c69642061646472657373657360781b60448201526064016103b7565b60006001600160a01b03166107cc84600001518560200151866040015161052c565b6001600160a01b0316036108115760405162461bcd60e51b815260206004820152600c60248201526b24b73b30b634b2103830b4b960a11b60448201526064016103b7565b60a08301516001600160a01b031615801590610839575060c08301516001600160a01b031615155b6108775760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016103b7565b82608001516108988460000151856020015186604001518760600151610e20565b10156108d75760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016103b7565b600060025460035485606001516108ee9190611a96565b6108f89190611ab3565b905060006002546004548361090d9190611a96565b6109179190611ab3565b905060006002546005548461092c9190611a96565b6109369190611ab3565b60608701805185900390528651602080890151604080516315ab88c960e31b81529051949550929390926000926001600160a01b0386169263ad5c46489260048082019392918290030181865afa158015610995573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b99190611a63565b60408051600280825260608201835292935060009290916020830190803683370190505090508960200151816000815181106109f7576109f7611ad5565b60200260200101906001600160a01b031690816001600160a01b031681525050896040015181600181518110610a2f57610a2f611ad5565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b03168a602001516001600160a01b031603610baf57868a60600151610a7c9190611aeb565b3414610ab85760405162461bcd60e51b815260206004820152600b60248201526a092dcecc2d8d2c8408aa8960ab1b60448201526064016103b7565b610ae285610ac6888a611afe565b610ad09190611afe565b6007546001600160a01b0316906112f0565b60a08a0151610afa906001600160a01b0316876112f0565b60c08a0151610b12906001600160a01b0316866112f0565b836001600160a01b0316637ff36ab58b606001518c6080015184334261012c610b3b9190611aeb565b6040518663ffffffff1660e01b8152600401610b5a9493929190611b55565b60006040518083038185885af1158015610b78573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052610ba19190810190611b8a565b985050505050505050610de2565b3415610beb5760405162461bcd60e51b815260206004820152600b60248201526a092dcecc2d8d2c8408aa8960ab1b60448201526064016103b7565b600754610c249033906001600160a01b031687610c088a8c611afe565b610c129190611afe565b6001600160a01b03871692919061140e565b60a08a0151610c40906001600160a01b0385169033908961140e565b60c08a0151610c5c906001600160a01b0385169033908861140e565b60608a0151610c79906001600160a01b038516903390309061140e565b8951604051636eb1769f60e11b81523060048201526001600160a01b0391821660248201529084169063dd62ed3e90604401602060405180830381865afa158015610cc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cec9190611c30565b600003610d0c578951610d0c906001600160a01b0385169060001961147f565b816001600160a01b03168a604001516001600160a01b031603610db957836001600160a01b03166318cbafe58b606001518c6080015184334261012c610d529190611aeb565b6040518663ffffffff1660e01b8152600401610d72959493929190611c49565b6000604051808303816000875af1158015610d91573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ba19190810190611b8a565b836001600160a01b03166338ed17398b606001518c6080015184334261012c610d529190611aeb565b50610dec60018055565b919050565b610df96111ed565b612710811115610e1b5760405162461bcd60e51b81526004016103b790611a19565b600555565b6001600160a01b038416600090815260066020526040812054859060ff16610e5a5760405162461bcd60e51b81526004016103b790611a3e565b6002546003548791600091610e6f9087611a96565b610e799190611ab3565b604080516002808252606082018352978390039792935060009290916020830190803683370190505090508781600081518110610eb857610eb8611ad5565b60200260200101906001600160a01b031690816001600160a01b0316815250508681600181518110610eec57610eec611ad5565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b815260009185169063d06ca61f90610f2b908a908690600401611c85565b600060405180830381865afa158015610f48573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f709190810190611b8a565b905080600181518110610f8557610f85611ad5565b602002602001015195505050505050949350505050565b6001600160a01b038416600090815260066020526040812054859060ff16610fd65760405162461bcd60e51b81526004016103b790611a3e565b6002546003548791600091610feb9087611a96565b610ff59190611ab3565b60408051600280825260608201835297839003979293506000929091602083019080368337019050509050878160008151811061103457611034611ad5565b60200260200101906001600160a01b031690816001600160a01b031681525050868160018151811061106857611068611ad5565b6001600160a01b0392831660209182029290920101526040516307c0329d60e21b8152600091851690631f00ca74906110a7908a908690600401611c85565b600060405180830381865afa1580156110c4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110ec9190810190611b8a565b905080600081518110610f8557610f85611ad5565b6111096111ed565b6001600160a01b0381166111525760405162461bcd60e51b815260206004820152601060248201526f496e76616c696420747265617375727960801b60448201526064016103b7565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b61117c6111ed565b6001600160a01b0381166111e15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103b7565b6111ea81611247565b50565b6000546001600160a01b031633146106625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103b7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6002600154036112e95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103b7565b6002600155565b804710156113405760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016103b7565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461138d576040519150601f19603f3d011682016040523d82523d6000602084013e611392565b606091505b50509050806114095760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016103b7565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526114799085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611594565b50505050565b8015806114f95750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa1580156114d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f79190611c30565b155b6115645760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b60648201526084016103b7565b6040516001600160a01b03831660248201526044810182905261140990849063095ea7b360e01b90606401611442565b60006115e9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116699092919063ffffffff16565b905080516000148061160a57508080602001905181019061160a9190611c9e565b6114095760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103b7565b60606116788484600085611680565b949350505050565b6060824710156116e15760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103b7565b600080866001600160a01b031685876040516116fd9190611ce4565b60006040518083038185875af1925050503d806000811461173a576040519150601f19603f3d011682016040523d82523d6000602084013e61173f565b606091505b509150915061064587838387606083156117ba5782516000036117b3576001600160a01b0385163b6117b35760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103b7565b5081611678565b61167883838151156117cf5781518083602001fd5b8060405162461bcd60e51b81526004016103b79190611d00565b6001600160a01b03811681146111ea57600080fd5b60006020828403121561181057600080fd5b813561181b816117e9565b9392505050565b60006020828403121561183457600080fd5b5035919050565b60008060006060848603121561185057600080fd5b833561185b816117e9565b9250602084013561186b816117e9565b9150604084013561187b816117e9565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156118c5576118c5611886565b604052919050565b8035610dec816117e9565b600060e082840312156118ea57600080fd5b60405160e0810181811067ffffffffffffffff8211171561190d5761190d611886565b604052823561191b816117e9565b8152602083013561192b816117e9565b6020820152604083013561193e816117e9565b80604083015250606083013560608201526080830135608082015260a0830135611967816117e9565b60a082015261197860c084016118cd565b60c08201529392505050565b6020808252825182820181905260009190848201906040850190845b818110156119bc578351835292840192918401916001016119a0565b50909695505050505050565b600080600080608085870312156119de57600080fd5b84356119e9816117e9565b935060208501356119f9816117e9565b92506040850135611a09816117e9565b9396929550929360600135925050565b6020808252600b908201526a496e76616c69642066656560a81b604082015260600190565b6020808252600b908201526a092dcecc2d8d2c840888ab60ab1b604082015260600190565b600060208284031215611a7557600080fd5b815161181b816117e9565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417611aad57611aad611a80565b92915050565b600082611ad057634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b80820180821115611aad57611aad611a80565b81810381811115611aad57611aad611a80565b600081518084526020808501945080840160005b83811015611b4a5781516001600160a01b031687529582019590820190600101611b25565b509495945050505050565b848152608060208201526000611b6e6080830186611b11565b6001600160a01b03949094166040830152506060015292915050565b60006020808385031215611b9d57600080fd5b825167ffffffffffffffff80821115611bb557600080fd5b818501915085601f830112611bc957600080fd5b815181811115611bdb57611bdb611886565b8060051b9150611bec84830161189c565b8181529183018401918481019088841115611c0657600080fd5b938501935b83851015611c2457845182529385019390850190611c0b565b98975050505050505050565b600060208284031215611c4257600080fd5b5051919050565b85815284602082015260a060408201526000611c6860a0830186611b11565b6001600160a01b0394909416606083015250608001529392505050565b8281526040602082015260006116786040830184611b11565b600060208284031215611cb057600080fd5b8151801515811461181b57600080fd5b60005b83811015611cdb578181015183820152602001611cc3565b50506000910152565b60008251611cf6818460208701611cc0565b9190910192915050565b6020815260008251806020840152611d1f816040850160208701611cc0565b601f01601f1916919091016040019291505056fea2646970667358221220ab92ebb2da490fc531fd259678d8b32538704560b223f3470154625ff282974c64736f6c634300081300330000000000000000000000001d6ebf29de04e80f3aace5a9422f9d45efb6d826

Deployed Bytecode

0x6080604052600436106101095760003560e01c8063814eb02911610095578063d21f8e2411610064578063d21f8e24146102d0578063d7176ca9146102f0578063ec27830914610310578063f0f4426014610330578063f2fde38b1461035057600080fd5b8063814eb029146102665780638da5cb5b146102865780638fb9085b146102a4578063ae0a8530146102ba57600080fd5b8063436d98dc116100dc578063436d98dc146101b957806361d027b3146101d957806361e0b77f14610211578063715018a6146102315780637573141b1461024657600080fd5b8063069588341461010e5780630f874a1314610130578063379e2919146101755780633f64a7ab14610195575b600080fd5b34801561011a57600080fd5b5061012e6101293660046117fe565b610370565b005b34801561013c57600080fd5b5061016061014b3660046117fe565b60066020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561018157600080fd5b5061012e610190366004611822565b61043b565b3480156101a157600080fd5b506101ab60045481565b60405190815260200161016c565b3480156101c557600080fd5b5061012e6101d43660046117fe565b61046a565b3480156101e557600080fd5b506007546101f9906001600160a01b031681565b6040516001600160a01b03909116815260200161016c565b34801561021d57600080fd5b506101f961022c36600461183b565b61052c565b34801561023d57600080fd5b5061012e610650565b34801561025257600080fd5b5061012e610261366004611822565b610664565b6102796102743660046118d8565b610693565b60405161016c9190611984565b34801561029257600080fd5b506000546001600160a01b03166101f9565b3480156102b057600080fd5b506101ab60035481565b3480156102c657600080fd5b506101ab60055481565b3480156102dc57600080fd5b5061012e6102eb366004611822565b610df1565b3480156102fc57600080fd5b506101ab61030b3660046119c8565b610e20565b34801561031c57600080fd5b506101ab61032b3660046119c8565b610f9c565b34801561033c57600080fd5b5061012e61034b3660046117fe565b611101565b34801561035c57600080fd5b5061012e61036b3660046117fe565b611174565b6103786111ed565b6001600160a01b0381166103c05760405162461bcd60e51b815260206004820152600a6024820152694164647265737328302960b01b60448201526064015b60405180910390fd5b6001600160a01b03811660009081526006602052604090205460ff16156104175760405162461bcd60e51b815260206004820152600b60248201526a15da1a5d195b1a5cdd195960aa1b60448201526064016103b7565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6104436111ed565b6127108111156104655760405162461bcd60e51b81526004016103b790611a19565b600455565b6104726111ed565b6001600160a01b0381166104b55760405162461bcd60e51b815260206004820152600a6024820152694164647265737328302960b01b60448201526064016103b7565b6001600160a01b03811660009081526006602052604090205460ff1661050b5760405162461bcd60e51b815260206004820152600b60248201526a109b1858dadb1a5cdd195960aa1b60448201526064016103b7565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6001600160a01b038316600090815260066020526040812054849060ff166105665760405162461bcd60e51b81526004016103b790611a3e565b60008590506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105cf9190611a63565b60405163e6a4390560e01b81526001600160a01b03888116600483015287811660248301529192509082169063e6a4390590604401602060405180830381865afa158015610621573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106459190611a63565b979650505050505050565b6106586111ed565b6106626000611247565b565b61066c6111ed565b6103e881111561068e5760405162461bcd60e51b81526004016103b790611a19565b600355565b606061069d611297565b81516001600160a01b03811660009081526006602052604090205460ff166106d75760405162461bcd60e51b81526004016103b790611a3e565b600083606001511161071c5760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016103b7565b82604001516001600160a01b031683602001516001600160a01b031614158015610752575060208301516001600160a01b031615155b801561076a575060408301516001600160a01b031615155b6107aa5760405162461bcd60e51b8152602060048201526011602482015270496e76616c69642061646472657373657360781b60448201526064016103b7565b60006001600160a01b03166107cc84600001518560200151866040015161052c565b6001600160a01b0316036108115760405162461bcd60e51b815260206004820152600c60248201526b24b73b30b634b2103830b4b960a11b60448201526064016103b7565b60a08301516001600160a01b031615801590610839575060c08301516001600160a01b031615155b6108775760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016103b7565b82608001516108988460000151856020015186604001518760600151610e20565b10156108d75760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b60448201526064016103b7565b600060025460035485606001516108ee9190611a96565b6108f89190611ab3565b905060006002546004548361090d9190611a96565b6109179190611ab3565b905060006002546005548461092c9190611a96565b6109369190611ab3565b60608701805185900390528651602080890151604080516315ab88c960e31b81529051949550929390926000926001600160a01b0386169263ad5c46489260048082019392918290030181865afa158015610995573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b99190611a63565b60408051600280825260608201835292935060009290916020830190803683370190505090508960200151816000815181106109f7576109f7611ad5565b60200260200101906001600160a01b031690816001600160a01b031681525050896040015181600181518110610a2f57610a2f611ad5565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b03168a602001516001600160a01b031603610baf57868a60600151610a7c9190611aeb565b3414610ab85760405162461bcd60e51b815260206004820152600b60248201526a092dcecc2d8d2c8408aa8960ab1b60448201526064016103b7565b610ae285610ac6888a611afe565b610ad09190611afe565b6007546001600160a01b0316906112f0565b60a08a0151610afa906001600160a01b0316876112f0565b60c08a0151610b12906001600160a01b0316866112f0565b836001600160a01b0316637ff36ab58b606001518c6080015184334261012c610b3b9190611aeb565b6040518663ffffffff1660e01b8152600401610b5a9493929190611b55565b60006040518083038185885af1158015610b78573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052610ba19190810190611b8a565b985050505050505050610de2565b3415610beb5760405162461bcd60e51b815260206004820152600b60248201526a092dcecc2d8d2c8408aa8960ab1b60448201526064016103b7565b600754610c249033906001600160a01b031687610c088a8c611afe565b610c129190611afe565b6001600160a01b03871692919061140e565b60a08a0151610c40906001600160a01b0385169033908961140e565b60c08a0151610c5c906001600160a01b0385169033908861140e565b60608a0151610c79906001600160a01b038516903390309061140e565b8951604051636eb1769f60e11b81523060048201526001600160a01b0391821660248201529084169063dd62ed3e90604401602060405180830381865afa158015610cc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cec9190611c30565b600003610d0c578951610d0c906001600160a01b0385169060001961147f565b816001600160a01b03168a604001516001600160a01b031603610db957836001600160a01b03166318cbafe58b606001518c6080015184334261012c610d529190611aeb565b6040518663ffffffff1660e01b8152600401610d72959493929190611c49565b6000604051808303816000875af1158015610d91573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ba19190810190611b8a565b836001600160a01b03166338ed17398b606001518c6080015184334261012c610d529190611aeb565b50610dec60018055565b919050565b610df96111ed565b612710811115610e1b5760405162461bcd60e51b81526004016103b790611a19565b600555565b6001600160a01b038416600090815260066020526040812054859060ff16610e5a5760405162461bcd60e51b81526004016103b790611a3e565b6002546003548791600091610e6f9087611a96565b610e799190611ab3565b604080516002808252606082018352978390039792935060009290916020830190803683370190505090508781600081518110610eb857610eb8611ad5565b60200260200101906001600160a01b031690816001600160a01b0316815250508681600181518110610eec57610eec611ad5565b6001600160a01b03928316602091820292909201015260405163d06ca61f60e01b815260009185169063d06ca61f90610f2b908a908690600401611c85565b600060405180830381865afa158015610f48573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f709190810190611b8a565b905080600181518110610f8557610f85611ad5565b602002602001015195505050505050949350505050565b6001600160a01b038416600090815260066020526040812054859060ff16610fd65760405162461bcd60e51b81526004016103b790611a3e565b6002546003548791600091610feb9087611a96565b610ff59190611ab3565b60408051600280825260608201835297839003979293506000929091602083019080368337019050509050878160008151811061103457611034611ad5565b60200260200101906001600160a01b031690816001600160a01b031681525050868160018151811061106857611068611ad5565b6001600160a01b0392831660209182029290920101526040516307c0329d60e21b8152600091851690631f00ca74906110a7908a908690600401611c85565b600060405180830381865afa1580156110c4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110ec9190810190611b8a565b905080600081518110610f8557610f85611ad5565b6111096111ed565b6001600160a01b0381166111525760405162461bcd60e51b815260206004820152601060248201526f496e76616c696420747265617375727960801b60448201526064016103b7565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b61117c6111ed565b6001600160a01b0381166111e15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103b7565b6111ea81611247565b50565b6000546001600160a01b031633146106625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103b7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6002600154036112e95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016103b7565b6002600155565b804710156113405760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016103b7565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461138d576040519150601f19603f3d011682016040523d82523d6000602084013e611392565b606091505b50509050806114095760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016103b7565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526114799085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611594565b50505050565b8015806114f95750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa1580156114d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f79190611c30565b155b6115645760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b60648201526084016103b7565b6040516001600160a01b03831660248201526044810182905261140990849063095ea7b360e01b90606401611442565b60006115e9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116699092919063ffffffff16565b905080516000148061160a57508080602001905181019061160a9190611c9e565b6114095760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103b7565b60606116788484600085611680565b949350505050565b6060824710156116e15760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103b7565b600080866001600160a01b031685876040516116fd9190611ce4565b60006040518083038185875af1925050503d806000811461173a576040519150601f19603f3d011682016040523d82523d6000602084013e61173f565b606091505b509150915061064587838387606083156117ba5782516000036117b3576001600160a01b0385163b6117b35760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103b7565b5081611678565b61167883838151156117cf5781518083602001fd5b8060405162461bcd60e51b81526004016103b79190611d00565b6001600160a01b03811681146111ea57600080fd5b60006020828403121561181057600080fd5b813561181b816117e9565b9392505050565b60006020828403121561183457600080fd5b5035919050565b60008060006060848603121561185057600080fd5b833561185b816117e9565b9250602084013561186b816117e9565b9150604084013561187b816117e9565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156118c5576118c5611886565b604052919050565b8035610dec816117e9565b600060e082840312156118ea57600080fd5b60405160e0810181811067ffffffffffffffff8211171561190d5761190d611886565b604052823561191b816117e9565b8152602083013561192b816117e9565b6020820152604083013561193e816117e9565b80604083015250606083013560608201526080830135608082015260a0830135611967816117e9565b60a082015261197860c084016118cd565b60c08201529392505050565b6020808252825182820181905260009190848201906040850190845b818110156119bc578351835292840192918401916001016119a0565b50909695505050505050565b600080600080608085870312156119de57600080fd5b84356119e9816117e9565b935060208501356119f9816117e9565b92506040850135611a09816117e9565b9396929550929360600135925050565b6020808252600b908201526a496e76616c69642066656560a81b604082015260600190565b6020808252600b908201526a092dcecc2d8d2c840888ab60ab1b604082015260600190565b600060208284031215611a7557600080fd5b815161181b816117e9565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417611aad57611aad611a80565b92915050565b600082611ad057634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b80820180821115611aad57611aad611a80565b81810381811115611aad57611aad611a80565b600081518084526020808501945080840160005b83811015611b4a5781516001600160a01b031687529582019590820190600101611b25565b509495945050505050565b848152608060208201526000611b6e6080830186611b11565b6001600160a01b03949094166040830152506060015292915050565b60006020808385031215611b9d57600080fd5b825167ffffffffffffffff80821115611bb557600080fd5b818501915085601f830112611bc957600080fd5b815181811115611bdb57611bdb611886565b8060051b9150611bec84830161189c565b8181529183018401918481019088841115611c0657600080fd5b938501935b83851015611c2457845182529385019390850190611c0b565b98975050505050505050565b600060208284031215611c4257600080fd5b5051919050565b85815284602082015260a060408201526000611c6860a0830186611b11565b6001600160a01b0394909416606083015250608001529392505050565b8281526040602082015260006116786040830184611b11565b600060208284031215611cb057600080fd5b8151801515811461181b57600080fd5b60005b83811015611cdb578181015183820152602001611cc3565b50506000910152565b60008251611cf6818460208701611cc0565b9190910192915050565b6020815260008251806020840152611d1f816040850160208701611cc0565b601f01601f1916919091016040019291505056fea2646970667358221220ab92ebb2da490fc531fd259678d8b32538704560b223f3470154625ff282974c64736f6c63430008130033

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

0000000000000000000000001d6ebf29de04e80f3aace5a9422f9d45efb6d826

-----Decoded View---------------
Arg [0] : _treasury (address): 0x1d6EBF29de04E80f3AacE5a9422F9D45EFb6d826

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000001d6ebf29de04e80f3aace5a9422f9d45efb6d826


Deployed Bytecode Sourcemap

36715:7108:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43354:229;;;;;;;;;;-1:-1:-1;43354:229:0;;;;;:::i;:::-;;:::i;:::-;;37137:50;;;;;;;;;;-1:-1:-1;37137:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;567:14:1;;560:22;542:41;;530:2;515:18;37137:50:0;;;;;;;;42863:143;;;;;;;;;;-1:-1:-1;42863:143:0;;;;;:::i;:::-;;:::i;36978:35::-;;;;;;;;;;;;;;;;;;;925:25:1;;;913:2;898:18;36978:35:0;779:177:1;43591:229:0;;;;;;;;;;-1:-1:-1;43591:229:0;;;;;:::i;:::-;;:::i;37219:31::-;;;;;;;;;;-1:-1:-1;37219:31:0;;;;-1:-1:-1;;;;;37219:31:0;;;;;;-1:-1:-1;;;;;1141:32:1;;;1123:51;;1111:2;1096:18;37219:31:0;961:219:1;41072:352:0;;;;;;;;;;-1:-1:-1;41072:352:0;;;;;:::i;:::-;;:::i;28558:103::-;;;;;;;;;;;;;:::i;42711:144::-;;;;;;;;;;-1:-1:-1;42711:144:0;;;;;:::i;:::-;;:::i;37512:3499::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;27917:87::-;;;;;;;;;;-1:-1:-1;27963:7:0;27990:6;-1:-1:-1;;;;;27990:6:0;27917:87;;36929:33;;;;;;;;;;;;;;;;37039:41;;;;;;;;;;;;;;;;43014:155;;;;;;;;;;-1:-1:-1;43014:155:0;;;;;:::i;:::-;;:::i;41456:595::-;;;;;;;;;;-1:-1:-1;41456:595:0;;;;;:::i;:::-;;:::i;42082:597::-;;;;;;;;;;-1:-1:-1;42082:597:0;;;;;:::i;:::-;;:::i;43177:169::-;;;;;;;;;;-1:-1:-1;43177:169:0;;;;;:::i;:::-;;:::i;28816:201::-;;;;;;;;;;-1:-1:-1;28816:201:0;;;;;:::i;:::-;;:::i;43354:229::-;27803:13;:11;:13::i;:::-;-1:-1:-1;;;;;43431:21:0;::::1;43423:44;;;::::0;-1:-1:-1;;;43423:44:0;;5338:2:1;43423:44:0::1;::::0;::::1;5320:21:1::0;5377:2;5357:18;;;5350:30;-1:-1:-1;;;5396:18:1;;;5389:40;5446:18;;43423:44:0::1;;;;;;;;;-1:-1:-1::0;;;;;43487:27:0;::::1;;::::0;;;:18:::1;:27;::::0;;;;;::::1;;43486:28;43478:52;;;::::0;-1:-1:-1;;;43478:52:0;;5677:2:1;43478:52:0::1;::::0;::::1;5659:21:1::0;5716:2;5696:18;;;5689:30;-1:-1:-1;;;5735:18:1;;;5728:41;5786:18;;43478:52:0::1;5475:335:1::0;43478:52:0::1;-1:-1:-1::0;;;;;43541:27:0::1;;::::0;;;:18:::1;:27;::::0;;;;:34;;-1:-1:-1;;43541:34:0::1;43571:4;43541:34;::::0;;43354:229::o;42863:143::-;27803:13;:11;:13::i;:::-;42946:5:::1;42938:4;:13;;42930:37;;;;-1:-1:-1::0;;;42930:37:0::1;;;;;;;:::i;:::-;42978:13;:20:::0;42863:143::o;43591:229::-;27803:13;:11;:13::i;:::-;-1:-1:-1;;;;;43668:21:0;::::1;43660:44;;;::::0;-1:-1:-1;;;43660:44:0;;5338:2:1;43660:44:0::1;::::0;::::1;5320:21:1::0;5377:2;5357:18;;;5350:30;-1:-1:-1;;;5396:18:1;;;5389:40;5446:18;;43660:44:0::1;5136:334:1::0;43660:44:0::1;-1:-1:-1::0;;;;;43723:27:0;::::1;;::::0;;;:18:::1;:27;::::0;;;;;::::1;;43715:51;;;::::0;-1:-1:-1;;;43715:51:0;;6357:2:1;43715:51:0::1;::::0;::::1;6339:21:1::0;6396:2;6376:18;;;6369:30;-1:-1:-1;;;6415:18:1;;;6408:41;6466:18;;43715:51:0::1;6155:335:1::0;43715:51:0::1;-1:-1:-1::0;;;;;43777:27:0::1;43807:5;43777:27:::0;;;:18:::1;:27;::::0;;;;:35;;-1:-1:-1;;43777:35:0::1;::::0;;43591:229::o;41072:352::-;-1:-1:-1;;;;;37406:27:0;;41218:7;37406:27;;;:18;:27;;;;;;41200:7;;37406:27;;37398:51;;;;-1:-1:-1;;;37398:51:0;;;;;;;:::i;:::-;41238:25:::1;41285:7;41238:55;;41304:25;41350:6;-1:-1:-1::0;;;;;41350:14:0::1;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;41385:31;::::0;-1:-1:-1;;;41385:31:0;;-1:-1:-1;;;;;7321:15:1;;;41385:31:0::1;::::0;::::1;7303:34:1::0;7373:15;;;7353:18;;;7346:43;41304:63:0;;-1:-1:-1;41385:15:0;;::::1;::::0;::::1;::::0;7238:18:1;;41385:31:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;41378:38:::0;41072:352;-1:-1:-1;;;;;;;41072:352:0:o;28558:103::-;27803:13;:11;:13::i;:::-;28623:30:::1;28650:1;28623:18;:30::i;:::-;28558:103::o:0;42711:144::-;27803:13;:11;:13::i;:::-;42795:4:::1;42787;:12;;42779:36;;;;-1:-1:-1::0;;;42779:36:0::1;;;;;;;:::i;:::-;42826:14;:21:::0;42711:144::o;37512:3499::-;37726:16;2510:21;:19;:21::i;:::-;37695:11;;-1:-1:-1;;;;;37406:27:0;::::1;37695:11;37406:27:::0;;;:18:::1;:27;::::0;;;;;::::1;;37398:51;;;;-1:-1:-1::0;;;37398:51:0::1;;;;;;;:::i;:::-;37784:1:::2;37768:4;:13;;;:17;37760:44;;;::::0;-1:-1:-1;;;37760:44:0;;7602:2:1;37760:44:0::2;::::0;::::2;7584:21:1::0;7641:2;7621:18;;;7614:30;-1:-1:-1;;;7660:18:1;;;7653:44;7714:18;;37760:44:0::2;7400:338:1::0;37760:44:0::2;37852:4;:11;;;-1:-1:-1::0;;;;;37837:26:0::2;:4;:11;;;-1:-1:-1::0;;;;;37837:26:0::2;;;:72;;;;-1:-1:-1::0;37884:11:0::2;::::0;::::2;::::0;-1:-1:-1;;;;;37884:25:0::2;::::0;::::2;37837:72;:118;;;;-1:-1:-1::0;37930:11:0::2;::::0;::::2;::::0;-1:-1:-1;;;;;37930:25:0::2;::::0;::::2;37837:118;37815:185;;;::::0;-1:-1:-1;;;37815:185:0;;7945:2:1;37815:185:0::2;::::0;::::2;7927:21:1::0;7984:2;7964:18;;;7957:30;-1:-1:-1;;;8003:18:1;;;7996:47;8060:18;;37815:185:0::2;7743:341:1::0;37815:185:0::2;38091:1;-1:-1:-1::0;;;;;38033:60:0::2;:46;38041:4;:11;;;38054:4;:11;;;38067:4;:11;;;38033:7;:46::i;:::-;-1:-1:-1::0;;;;;38033:60:0::2;::::0;38011:122:::2;;;::::0;-1:-1:-1;;;38011:122:0;;8291:2:1;38011:122:0::2;::::0;::::2;8273:21:1::0;8330:2;8310:18;;;8303:30;-1:-1:-1;;;8349:18:1;;;8342:42;8401:18;;38011:122:0::2;8089:336:1::0;38011:122:0::2;38214:8;::::0;::::2;::::0;-1:-1:-1;;;;;38214:22:0::2;::::0;;::::2;::::0;:67:::2;;-1:-1:-1::0;38253:14:0::2;::::0;::::2;::::0;-1:-1:-1;;;;;38253:28:0::2;::::0;::::2;38214:67;38192:132;;;::::0;-1:-1:-1;;;38192:132:0;;8632:2:1;38192:132:0::2;::::0;::::2;8614:21:1::0;8671:2;8651:18;;;8644:30;-1:-1:-1;;;8690:18:1;;;8683:45;8745:18;;38192:132:0::2;8430:339:1::0;38192:132:0::2;38510:4;:17;;;38357:149;38388:4;:11;;;38418:4;:11;;;38448:4;:11;;;38478:4;:13;;;38357:12;:149::i;:::-;:170;;38335:234;;;::::0;-1:-1:-1;;;38335:234:0;;7602:2:1;38335:234:0::2;::::0;::::2;7584:21:1::0;7641:2;7621:18;;;7614:30;-1:-1:-1;;;7660:18:1;;;7653:44;7714:18;;38335:234:0::2;7400:338:1::0;38335:234:0::2;38582:15;38635:7;;38617:14;;38601:4;:13;;;:30;;;;:::i;:::-;38600:42;;;;:::i;:::-;38582:60;;38653:14;38698:7;;38681:13;;38671:7;:23;;;;:::i;:::-;38670:35;;;;:::i;:::-;38653:52;;38716:20;38773:7;;38750:19;;38740:7;:29;;;;:::i;:::-;38739:41;;;;:::i;:::-;38816:13;::::0;::::2;:24:::0;;;;::::2;::::0;;38911:11;;38958::::2;::::0;;::::2;::::0;38996:13:::2;::::0;;-1:-1:-1;;;38996:13:0;;;;38716:64;;-1:-1:-1;38911:11:0;;38958;;-1:-1:-1;;;;;;;38996:11:0;::::2;::::0;::::2;::::0;:13:::2;::::0;;::::2;::::0;38958:11;38996:13;;;;;;:11;:13:::2;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;39046:16;::::0;;39060:1:::2;39046:16:::0;;;;;::::2;::::0;;38981:28;;-1:-1:-1;39022:21:0::2;::::0;39046:16;;::::2;::::0;::::2;::::0;;::::2;::::0;::::2;;::::0;-1:-1:-1;39046:16:0::2;39022:40;;39083:4;:11;;;39073:4;39078:1;39073:7;;;;;;;;:::i;:::-;;;;;;:21;-1:-1:-1::0;;;;;39073:21:0::2;;;-1:-1:-1::0;;;;;39073:21:0::2;;;::::0;::::2;39115:4;:11;;;39105:4;39110:1;39105:7;;;;;;;;:::i;:::-;;;;;;:21;-1:-1:-1::0;;;;;39105:21:0::2;;;-1:-1:-1::0;;;;;39105:21:0::2;;;::::0;::::2;39158:4;-1:-1:-1::0;;;;;39143:19:0::2;:4;:11;;;-1:-1:-1::0;;;;;39143:19:0::2;::::0;39139:1865:::2;;39216:7;39200:4;:13;;;:23;;;;:::i;:::-;39187:9;:36;39179:60;;;::::0;-1:-1:-1;;;39179:60:0;;9765:2:1;39179:60:0::2;::::0;::::2;9747:21:1::0;9804:2;9784:18;;;9777:30;-1:-1:-1;;;9823:18:1;;;9816:41;9874:18;;39179:60:0::2;9563:335:1::0;39179:60:0::2;39256:51;39294:12:::0;39275:16:::2;39285:6:::0;39275:7;:16:::2;:::i;:::-;:31;;;;:::i;:::-;39256:8;::::0;-1:-1:-1;;;;;39256:8:0::2;::::0;:18:::2;:51::i;:::-;39322:8;::::0;::::2;::::0;:26:::2;::::0;-1:-1:-1;;;;;39322:18:0::2;39341:6:::0;39322:18:::2;:26::i;:::-;39363:14;::::0;::::2;::::0;:38:::2;::::0;-1:-1:-1;;;;;39363:24:0::2;39388:12:::0;39363:24:::2;:38::i;:::-;39440:6;-1:-1:-1::0;;;;;39440:28:0::2;;39476:4;:13;;;39513:4;:17;;;39553:4;39580:10;39613:15;39631:3;39613:21;;;;:::i;:::-;39440:213;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;::::0;;::::2;-1:-1:-1::0;;39440:213:0::2;::::0;::::2;;::::0;::::2;::::0;;;::::2;::::0;::::2;:::i;:::-;39416:237;;;;;;;;;;;39139:1865;39694:9;:14:::0;39686:38:::2;;;::::0;-1:-1:-1;;;39686:38:0;;9765:2:1;39686:38:0::2;::::0;::::2;9747:21:1::0;9804:2;9784:18;;;9777:30;-1:-1:-1;;;9823:18:1;;;9816:41;9874:18;;39686:38:0::2;9563:335:1::0;39686:38:0::2;39813:8;::::0;39741:145:::2;::::0;39784:10:::2;::::0;-1:-1:-1;;;;;39813:8:0::2;39859:12:::0;39840:16:::2;39850:6:::0;39840:7;:16:::2;:::i;:::-;:31;;;;:::i;:::-;-1:-1:-1::0;;;;;39741:24:0;::::2;::::0;:145;;:24:::2;:145::i;:::-;39938:8;::::0;::::2;::::0;39901:54:::2;::::0;-1:-1:-1;;;;;39901:24:0;::::2;::::0;39926:10:::2;::::0;39948:6;39901:24:::2;:54::i;:::-;40007:14;::::0;::::2;::::0;39970:66:::2;::::0;-1:-1:-1;;;;;39970:24:0;::::2;::::0;39995:10:::2;::::0;40023:12;39970:24:::2;:66::i;:::-;40103:13;::::0;::::2;::::0;40051:66:::2;::::0;-1:-1:-1;;;;;40051:24:0;::::2;::::0;40076:10:::2;::::0;40096:4:::2;::::0;40051:24:::2;:66::i;:::-;40171:11:::0;;40138:45:::2;::::0;-1:-1:-1;;;40138:45:0;;40164:4:::2;40138:45;::::0;::::2;7303:34:1::0;-1:-1:-1;;;;;7373:15:1;;;7353:18;;;7346:43;40138:17:0;;::::2;::::0;::::2;::::0;7238:18:1;;40138:45:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;40187:1;40138:50:::0;40134:181:::2;;40229:11:::0;;40209:48:::2;::::0;-1:-1:-1;;;;;40209:19:0;::::2;::::0;-1:-1:-1;;40209:19:0::2;:48::i;:::-;40350:4;-1:-1:-1::0;;;;;40335:19:0::2;:4;:11;;;-1:-1:-1::0;;;;;40335:19:0::2;::::0;40331:662:::2;;40403:6;-1:-1:-1::0;;;;;40403:28:0::2;;40458:4;:13;;;40498:4;:17;;;40542:4;40573:10;40610:15;40628:3;40610:21;;;;:::i;:::-;40403:251;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;::::0;;::::2;-1:-1:-1::0;;40403:251:0::2;::::0;::::2;;::::0;::::2;::::0;;;::::2;::::0;::::2;:::i;40331:662::-;40723:6;-1:-1:-1::0;;;;;40723:31:0::2;;40781:4;:13;;;40821:4;:17;;;40865:4;40896:10;40933:15;40951:3;40933:21;;;;:::i;37460:1::-;2542::::1;2554:20:::0;1948:1;3074:22;;2891:213;2554:20;37512:3499;;;:::o;43014:155::-;27803:13;:11;:13::i;:::-;43103:5:::1;43095:4;:13;;43087:37;;;;-1:-1:-1::0;;;43087:37:0::1;;;;;;;:::i;:::-;43135:19;:26:::0;43014:155::o;41456:595::-;-1:-1:-1;;;;;37406:27:0;;41631:7;37406:27;;;:18;:27;;;;;;41613:7;;37406:27;;37398:51;;;;-1:-1:-1;;;37398:51:0;;;;;;;:::i;:::-;41762:7:::1;::::0;41744:14:::1;::::0;41698:7;;41651:25:::1;::::0;41733::::1;::::0;:8;:25:::1;:::i;:::-;41732:37;;;;:::i;:::-;41872:16;::::0;;41886:1:::1;41872:16:::0;;;;;::::1;::::0;;41805:19;;;::::1;::::0;;;-1:-1:-1;41848:21:0::1;::::0;41872:16;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;;::::0;-1:-1:-1;41872:16:0::1;41848:40;;41909:6;41899:4;41904:1;41899:7;;;;;;;;:::i;:::-;;;;;;:16;-1:-1:-1::0;;;;;41899:16:0::1;;;-1:-1:-1::0;;;;;41899:16:0::1;;;::::0;::::1;41936:6;41926:4;41931:1;41926:7;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;41926:16:0;;::::1;:7;::::0;;::::1;::::0;;;;;:16;41979:36:::1;::::0;-1:-1:-1;;;41979:36:0;;41955:21:::1;::::0;41979:20;::::1;::::0;::::1;::::0;:36:::1;::::0;42000:8;;42010:4;;41979:36:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;-1:-1:-1::0;;41979:36:0::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;41955:60;;42033:7;42041:1;42033:10;;;;;;;;:::i;:::-;;;;;;;42026:17;;;;;;41456:595:::0;;;;;;;:::o;42082:597::-;-1:-1:-1;;;;;37406:27:0;;42257:7;37406:27;;;:18;:27;;;;;;42239:7;;37406:27;;37398:51;;;;-1:-1:-1;;;37398:51:0;;;;;;;:::i;:::-;42389:7:::1;::::0;42371:14:::1;::::0;42324:7;;42277:25:::1;::::0;42359:26:::1;::::0;:9;:26:::1;:::i;:::-;42358:38;;;;:::i;:::-;42500:16;::::0;;42514:1:::1;42500:16:::0;;;;;::::1;::::0;;42432:20;;;::::1;::::0;;;-1:-1:-1;42476:21:0::1;::::0;42500:16;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;;::::0;-1:-1:-1;42500:16:0::1;42476:40;;42537:6;42527:4;42532:1;42527:7;;;;;;;;:::i;:::-;;;;;;:16;-1:-1:-1::0;;;;;42527:16:0::1;;;-1:-1:-1::0;;;;;42527:16:0::1;;;::::0;::::1;42564:6;42554:4;42559:1;42554:7;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;42554:16:0;;::::1;:7;::::0;;::::1;::::0;;;;;:16;42607:36:::1;::::0;-1:-1:-1;;;42607:36:0;;42583:21:::1;::::0;42607:19;::::1;::::0;::::1;::::0;:36:::1;::::0;42627:9;;42638:4;;42607:36:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;-1:-1:-1::0;;42607:36:0::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;42583:60;;42661:7;42669:1;42661:10;;;;;;;;:::i;43177:169::-:0;27803:13;:11;:13::i;:::-;-1:-1:-1;;;;;43263:23:0;::::1;43255:52;;;::::0;-1:-1:-1;;;43255:52:0;;13257:2:1;43255:52:0::1;::::0;::::1;13239:21:1::0;13296:2;13276:18;;;13269:30;-1:-1:-1;;;13315:18:1;;;13308:46;13371:18;;43255:52:0::1;13055:340:1::0;43255:52:0::1;43318:8;:20:::0;;-1:-1:-1;;;;;;43318:20:0::1;-1:-1:-1::0;;;;;43318:20:0;;;::::1;::::0;;;::::1;::::0;;43177:169::o;28816:201::-;27803:13;:11;:13::i;:::-;-1:-1:-1;;;;;28905:22:0;::::1;28897:73;;;::::0;-1:-1:-1;;;28897:73:0;;13602:2:1;28897:73:0::1;::::0;::::1;13584:21:1::0;13641:2;13621:18;;;13614:30;13680:34;13660:18;;;13653:62;-1:-1:-1;;;13731:18:1;;;13724:36;13777:19;;28897:73:0::1;13400:402:1::0;28897:73:0::1;28981:28;29000:8;28981:18;:28::i;:::-;28816:201:::0;:::o;28082:132::-;27963:7;27990:6;-1:-1:-1;;;;;27990:6:0;20508:10;28146:23;28138:68;;;;-1:-1:-1;;;28138:68:0;;14009:2:1;28138:68:0;;;13991:21:1;;;14028:18;;;14021:30;14087:34;14067:18;;;14060:62;14139:18;;28138:68:0;13807:356:1;29177:191:0;29251:16;29270:6;;-1:-1:-1;;;;;29287:17:0;;;-1:-1:-1;;;;;;29287:17:0;;;;;;29320:40;;29270:6;;;;;;;29320:40;;29251:16;29320:40;29240:128;29177:191;:::o;2590:293::-;1992:1;2724:7;;:19;2716:63;;;;-1:-1:-1;;;2716:63:0;;14370:2:1;2716:63:0;;;14352:21:1;14409:2;14389:18;;;14382:30;14448:33;14428:18;;;14421:61;14499:18;;2716:63:0;14168:355:1;2716:63:0;1992:1;2857:7;:18;2590:293::o;12856:317::-;12971:6;12946:21;:31;;12938:73;;;;-1:-1:-1;;;12938:73:0;;14730:2:1;12938:73:0;;;14712:21:1;14769:2;14749:18;;;14742:30;14808:31;14788:18;;;14781:59;14857:18;;12938:73:0;14528:353:1;12938:73:0;13025:12;13043:9;-1:-1:-1;;;;;13043:14:0;13065:6;13043:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13024:52;;;13095:7;13087:78;;;;-1:-1:-1;;;13087:78:0;;15298:2:1;13087:78:0;;;15280:21:1;15337:2;15317:18;;;15310:30;15376:34;15356:18;;;15349:62;15447:28;15427:18;;;15420:56;15493:19;;13087:78:0;15096:422:1;13087:78:0;12927:246;12856:317;;:::o;30671:205::-;30799:68;;-1:-1:-1;;;;;15781:15:1;;;30799:68:0;;;15763:34:1;15833:15;;15813:18;;;15806:43;15865:18;;;15858:34;;;30772:96:0;;30792:5;;-1:-1:-1;;;30822:27:0;15698:18:1;;30799:68:0;;;;-1:-1:-1;;30799:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;30799:68:0;-1:-1:-1;;;;;;30799:68:0;;;;;;;;;;30772:19;:96::i;:::-;30671:205;;;;:::o;31145:582::-;31475:10;;;31474:62;;-1:-1:-1;31491:39:0;;-1:-1:-1;;;31491:39:0;;31515:4;31491:39;;;7303:34:1;-1:-1:-1;;;;;7373:15:1;;;7353:18;;;7346:43;31491:15:0;;;;;7238:18:1;;31491:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;31474:62;31452:166;;;;-1:-1:-1;;;31452:166:0;;16105:2:1;31452:166:0;;;16087:21:1;16144:2;16124:18;;;16117:30;16183:34;16163:18;;;16156:62;-1:-1:-1;;;16234:18:1;;;16227:52;16296:19;;31452:166:0;15903:418:1;31452:166:0;31656:62;;-1:-1:-1;;;;;16518:32:1;;31656:62:0;;;16500:51:1;16567:18;;;16560:34;;;31629:90:0;;31649:5;;-1:-1:-1;;;31679:22:0;16473:18:1;;31656:62:0;16326:274:1;34595:649:0;35019:23;35045:69;35073:4;35045:69;;;;;;;;;;;;;;;;;35053:5;-1:-1:-1;;;;;35045:27:0;;;:69;;;;;:::i;:::-;35019:95;;35133:10;:17;35154:1;35133:22;:56;;;;35170:10;35159:30;;;;;;;;;;;;:::i;:::-;35125:111;;;;-1:-1:-1;;;35125:111:0;;17089:2:1;35125:111:0;;;17071:21:1;17128:2;17108:18;;;17101:30;17167:34;17147:18;;;17140:62;-1:-1:-1;;;17218:18:1;;;17211:40;17268:19;;35125:111:0;16887:406:1;14352:229:0;14489:12;14521:52;14543:6;14551:4;14557:1;14560:12;14521:21;:52::i;:::-;14514:59;14352:229;-1:-1:-1;;;;14352:229:0:o;15438:455::-;15608:12;15666:5;15641:21;:30;;15633:81;;;;-1:-1:-1;;;15633:81:0;;17500:2:1;15633:81:0;;;17482:21:1;17539:2;17519:18;;;17512:30;17578:34;17558:18;;;17551:62;-1:-1:-1;;;17629:18:1;;;17622:36;17675:19;;15633:81:0;17298:402:1;15633:81:0;15726:12;15740:23;15767:6;-1:-1:-1;;;;;15767:11:0;15786:5;15793:4;15767:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15725:73;;;;15816:69;15843:6;15851:7;15860:10;15872:12;18196;18225:7;18221:427;;;18253:10;:17;18274:1;18253:22;18249:290;;-1:-1:-1;;;;;11892:19:0;;;18463:60;;;;-1:-1:-1;;;18463:60:0;;18454:2:1;18463:60:0;;;18436:21:1;18493:2;18473:18;;;18466:30;18532:31;18512:18;;;18505:59;18581:18;;18463:60:0;18252:353:1;18463:60:0;-1:-1:-1;18560:10:0;18553:17;;18221:427;18603:33;18611:10;18623:12;19358:17;;:21;19354:388;;19590:10;19584:17;19647:15;19634:10;19630:2;19626:19;19619:44;19354:388;19717:12;19710:20;;-1:-1:-1;;;19710:20:0;;;;;;;;:::i;14:131:1:-;-1:-1:-1;;;;;89:31:1;;79:42;;69:70;;135:1;132;125:12;150:247;209:6;262:2;250:9;241:7;237:23;233:32;230:52;;;278:1;275;268:12;230:52;317:9;304:23;336:31;361:5;336:31;:::i;:::-;386:5;150:247;-1:-1:-1;;;150:247:1:o;594:180::-;653:6;706:2;694:9;685:7;681:23;677:32;674:52;;;722:1;719;712:12;674:52;-1:-1:-1;745:23:1;;594:180;-1:-1:-1;594:180:1:o;1185:529::-;1262:6;1270;1278;1331:2;1319:9;1310:7;1306:23;1302:32;1299:52;;;1347:1;1344;1337:12;1299:52;1386:9;1373:23;1405:31;1430:5;1405:31;:::i;:::-;1455:5;-1:-1:-1;1512:2:1;1497:18;;1484:32;1525:33;1484:32;1525:33;:::i;:::-;1577:7;-1:-1:-1;1636:2:1;1621:18;;1608:32;1649:33;1608:32;1649:33;:::i;:::-;1701:7;1691:17;;;1185:529;;;;;:::o;1927:127::-;1988:10;1983:3;1979:20;1976:1;1969:31;2019:4;2016:1;2009:15;2043:4;2040:1;2033:15;2059:275;2130:2;2124:9;2195:2;2176:13;;-1:-1:-1;;2172:27:1;2160:40;;2230:18;2215:34;;2251:22;;;2212:62;2209:88;;;2277:18;;:::i;:::-;2313:2;2306:22;2059:275;;-1:-1:-1;2059:275:1:o;2339:142::-;2415:20;;2444:31;2415:20;2444:31;:::i;2486:1145::-;2573:6;2626:3;2614:9;2605:7;2601:23;2597:33;2594:53;;;2643:1;2640;2633:12;2594:53;2676:2;2670:9;2718:3;2710:6;2706:16;2788:6;2776:10;2773:22;2752:18;2740:10;2737:34;2734:62;2731:88;;;2799:18;;:::i;:::-;2835:2;2828:22;2872:23;;2904:31;2872:23;2904:31;:::i;:::-;2944:21;;3017:2;3002:18;;2989:32;3030:33;2989:32;3030:33;:::i;:::-;3091:2;3079:15;;3072:32;3156:2;3141:18;;3128:32;3169:33;3128:32;3169:33;:::i;:::-;3235:7;3230:2;3222:6;3218:15;3211:32;;3304:2;3293:9;3289:18;3276:32;3271:2;3263:6;3259:15;3252:57;3371:3;3360:9;3356:19;3343:33;3337:3;3329:6;3325:16;3318:59;3429:3;3418:9;3414:19;3401:33;3443;3468:7;3443:33;:::i;:::-;3504:3;3492:16;;3485:33;3552:47;3594:3;3579:19;;3552:47;:::i;:::-;3546:3;3534:16;;3527:73;3538:6;2486:1145;-1:-1:-1;;;2486:1145:1:o;3636:632::-;3807:2;3859:21;;;3929:13;;3832:18;;;3951:22;;;3778:4;;3807:2;4030:15;;;;4004:2;3989:18;;;3778:4;4073:169;4087:6;4084:1;4081:13;4073:169;;;4148:13;;4136:26;;4217:15;;;;4182:12;;;;4109:1;4102:9;4073:169;;;-1:-1:-1;4259:3:1;;3636:632;-1:-1:-1;;;;;;3636:632:1:o;4273:598::-;4359:6;4367;4375;4383;4436:3;4424:9;4415:7;4411:23;4407:33;4404:53;;;4453:1;4450;4443:12;4404:53;4492:9;4479:23;4511:31;4536:5;4511:31;:::i;:::-;4561:5;-1:-1:-1;4618:2:1;4603:18;;4590:32;4631:33;4590:32;4631:33;:::i;:::-;4683:7;-1:-1:-1;4742:2:1;4727:18;;4714:32;4755:33;4714:32;4755:33;:::i;:::-;4273:598;;;;-1:-1:-1;4807:7:1;;4861:2;4846:18;4833:32;;-1:-1:-1;;4273:598:1:o;5815:335::-;6017:2;5999:21;;;6056:2;6036:18;;;6029:30;-1:-1:-1;;;6090:2:1;6075:18;;6068:41;6141:2;6126:18;;5815:335::o;6495:::-;6697:2;6679:21;;;6736:2;6716:18;;;6709:30;-1:-1:-1;;;6770:2:1;6755:18;;6748:41;6821:2;6806:18;;6495:335::o;6835:251::-;6905:6;6958:2;6946:9;6937:7;6933:23;6929:32;6926:52;;;6974:1;6971;6964:12;6926:52;7006:9;7000:16;7025:31;7050:5;7025:31;:::i;8774:127::-;8835:10;8830:3;8826:20;8823:1;8816:31;8866:4;8863:1;8856:15;8890:4;8887:1;8880:15;8906:168;8979:9;;;9010;;9027:15;;;9021:22;;9007:37;8997:71;;9048:18;;:::i;:::-;8906:168;;;;:::o;9079:217::-;9119:1;9145;9135:132;;9189:10;9184:3;9180:20;9177:1;9170:31;9224:4;9221:1;9214:15;9252:4;9249:1;9242:15;9135:132;-1:-1:-1;9281:9:1;;9079:217::o;9301:127::-;9362:10;9357:3;9353:20;9350:1;9343:31;9393:4;9390:1;9383:15;9417:4;9414:1;9407:15;9433:125;9498:9;;;9519:10;;;9516:36;;;9532:18;;:::i;9903:128::-;9970:9;;;9991:11;;;9988:37;;;10005:18;;:::i;10036:461::-;10089:3;10127:5;10121:12;10154:6;10149:3;10142:19;10180:4;10209:2;10204:3;10200:12;10193:19;;10246:2;10239:5;10235:14;10267:1;10277:195;10291:6;10288:1;10285:13;10277:195;;;10356:13;;-1:-1:-1;;;;;10352:39:1;10340:52;;10412:12;;;;10447:15;;;;10388:1;10306:9;10277:195;;;-1:-1:-1;10488:3:1;;10036:461;-1:-1:-1;;;;;10036:461:1:o;10502:502::-;10765:6;10754:9;10747:25;10808:3;10803:2;10792:9;10788:18;10781:31;10728:4;10829:57;10881:3;10870:9;10866:19;10858:6;10829:57;:::i;:::-;-1:-1:-1;;;;;10922:32:1;;;;10917:2;10902:18;;10895:60;-1:-1:-1;10986:2:1;10971:18;10964:34;10821:65;10502:502;-1:-1:-1;;10502:502:1:o;11009:936::-;11104:6;11135:2;11178;11166:9;11157:7;11153:23;11149:32;11146:52;;;11194:1;11191;11184:12;11146:52;11227:9;11221:16;11256:18;11297:2;11289:6;11286:14;11283:34;;;11313:1;11310;11303:12;11283:34;11351:6;11340:9;11336:22;11326:32;;11396:7;11389:4;11385:2;11381:13;11377:27;11367:55;;11418:1;11415;11408:12;11367:55;11447:2;11441:9;11469:2;11465;11462:10;11459:36;;;11475:18;;:::i;:::-;11521:2;11518:1;11514:10;11504:20;;11544:28;11568:2;11564;11560:11;11544:28;:::i;:::-;11606:15;;;11676:11;;;11672:20;;;11637:12;;;;11704:19;;;11701:39;;;11736:1;11733;11726:12;11701:39;11760:11;;;;11780:135;11796:6;11791:3;11788:15;11780:135;;;11862:10;;11850:23;;11813:12;;;;11893;;;;11780:135;;;11934:5;11009:936;-1:-1:-1;;;;;;;;11009:936:1:o;11950:184::-;12020:6;12073:2;12061:9;12052:7;12048:23;12044:32;12041:52;;;12089:1;12086;12079:12;12041:52;-1:-1:-1;12112:16:1;;11950:184;-1:-1:-1;11950:184:1:o;12139:574::-;12430:6;12419:9;12412:25;12473:6;12468:2;12457:9;12453:18;12446:34;12516:3;12511:2;12500:9;12496:18;12489:31;12393:4;12537:57;12589:3;12578:9;12574:19;12566:6;12537:57;:::i;:::-;-1:-1:-1;;;;;12630:32:1;;;;12625:2;12610:18;;12603:60;-1:-1:-1;12694:3:1;12679:19;12672:35;12529:65;12139:574;-1:-1:-1;;;12139:574:1:o;12718:332::-;12925:6;12914:9;12907:25;12968:2;12963;12952:9;12948:18;12941:30;12888:4;12988:56;13040:2;13029:9;13025:18;13017:6;12988:56;:::i;16605:277::-;16672:6;16725:2;16713:9;16704:7;16700:23;16696:32;16693:52;;;16741:1;16738;16731:12;16693:52;16773:9;16767:16;16826:5;16819:13;16812:21;16805:5;16802:32;16792:60;;16848:1;16845;16838:12;17705:250;17790:1;17800:113;17814:6;17811:1;17808:13;17800:113;;;17890:11;;;17884:18;17871:11;;;17864:39;17836:2;17829:10;17800:113;;;-1:-1:-1;;17947:1:1;17929:16;;17922:27;17705:250::o;17960:287::-;18089:3;18127:6;18121:13;18143:66;18202:6;18197:3;18190:4;18182:6;18178:17;18143:66;:::i;:::-;18225:16;;;;;17960:287;-1:-1:-1;;17960:287:1:o;18610:396::-;18759:2;18748:9;18741:21;18722:4;18791:6;18785:13;18834:6;18829:2;18818:9;18814:18;18807:34;18850:79;18922:6;18917:2;18906:9;18902:18;18897:2;18889:6;18885:15;18850:79;:::i;:::-;18990:2;18969:15;-1:-1:-1;;18965:29:1;18950:45;;;;18997:2;18946:54;;18610:396;-1:-1:-1;;18610:396:1:o

Swarm Source

ipfs://ab92ebb2da490fc531fd259678d8b32538704560b223f3470154625ff282974c

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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.