ETH Price: $1,600.04 (+1.43%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Transaction Hash
Method
Block
From
To
Swap ETH For Tok...202303462024-07-04 3:04:35287 days ago1720062275IN
0x1d2E50Ea...DA2052513
0.00243355 ETH0.002112425.63958512
Swap ETH For Tok...201465652024-06-22 10:11:23299 days ago1719051083IN
0x1d2E50Ea...DA2052513
0.00684599 ETH0.00114213.04832456
Swap ETH For Tok...200573192024-06-09 22:42:11311 days ago1717972931IN
0x1d2E50Ea...DA2052513
0.05443186 ETH0.00227346.11925261
Swap ETH For Tok...199440622024-05-25 2:58:35327 days ago1716605915IN
0x1d2E50Ea...DA2052513
0.8405867 ETH0.001748754.15887107
Swap ETH For Tok...199397362024-05-24 12:26:47328 days ago1716553607IN
0x1d2E50Ea...DA2052513
0.01057054 ETH0.003326476.6000766
Swap ETH For Tok...199393702024-05-24 11:13:35328 days ago1716549215IN
0x1d2E50Ea...DA2052513
0.02857882 ETH0.003037886.02793517
Swap ETH For Tok...199365132024-05-24 1:39:23328 days ago1716514763IN
0x1d2E50Ea...DA2052513
0.11164286 ETH0.002893545.74020235
Swap ETH For Tok...199309202024-05-23 6:53:59329 days ago1716447239IN
0x1d2E50Ea...DA2052513
0.01057984 ETH0.002957255.86786465
Swap ETH For Tok...199073302024-05-19 23:41:59332 days ago1716162119IN
0x1d2E50Ea...DA2052513
0.00979911 ETH0.001703153.37813698
Swap ETH For Tok...199059042024-05-19 18:55:23332 days ago1716144923IN
0x1d2E50Ea...DA2052513
0.00590277 ETH0.001164633.07963637
Direct Deposit198785812024-05-15 23:11:23336 days ago1715814683IN
0x1d2E50Ea...DA2052513
0.00091658 ETH0.000987913.87363715
Swap ETH For Tok...198715212024-05-14 23:33:11337 days ago1715729591IN
0x1d2E50Ea...DA2052513
0.21093385 ETH0.0018963.76280833
Swap ETH For Tok...198709582024-05-14 21:39:35337 days ago1715722775IN
0x1d2E50Ea...DA2052513
0.00592976 ETH0.002336656.17938194
Swap ETH For Tok...198646122024-05-14 0:15:47338 days ago1715645747IN
0x1d2E50Ea...DA2052513
0.04088676 ETH0.001911843.79287542
Swap ETH For Tok...198638252024-05-13 21:37:23338 days ago1715636243IN
0x1d2E50Ea...DA2052513
0.11090508 ETH0.002059065.70164011
Swap ETH For Tok...198429582024-05-10 23:36:35341 days ago1715384195IN
0x1d2E50Ea...DA2052513
0.15103598 ETH0.002128285.19232903
Swap ETH For Tok...198374332024-05-10 5:05:11342 days ago1715317511IN
0x1d2E50Ea...DA2052513
0.01402889 ETH0.002046655.51016721
Direct Deposit198321712024-05-09 11:25:11343 days ago1715253911IN
0x1d2E50Ea...DA2052513
0.00102888 ETH0.000975723.89867274
Swap ETH For Tok...198250052024-05-08 11:20:11344 days ago1715167211IN
0x1d2E50Ea...DA2052513
0.00602153 ETH0.001483413.99287338
Swap ETH For Tok...197991022024-05-04 20:23:35347 days ago1714854215IN
0x1d2E50Ea...DA2052513
0.0040555 ETH0.002100685.50280989
Swap ETH For Tok...197969622024-05-04 13:12:23347 days ago1714828343IN
0x1d2E50Ea...DA2052513
0.01004875 ETH0.002707037.28692203
Swap ETH For Tok...197959882024-05-04 9:56:35348 days ago1714816595IN
0x1d2E50Ea...DA2052513
0.06105777 ETH0.002075965.74843485
Swap ETH For Tok...197922002024-05-03 21:13:59348 days ago1714770839IN
0x1d2E50Ea...DA2052513
1.0510523 ETH0.002340936.48214768
Direct Deposit197881542024-05-03 7:39:35349 days ago1714721975IN
0x1d2E50Ea...DA2052513
0.00106753 ETH0.001785357.13434327
Swap ETH For Tok...197820042024-05-02 11:00:59350 days ago1714647659IN
0x1d2E50Ea...DA2052513
0.0110519 ETH0.002684587.43496378
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Deposit202303462024-07-04 3:04:35287 days ago1720062275
0x1d2E50Ea...DA2052513
0.00043355 ETH
0x93849c8f202303462024-07-04 3:04:35287 days ago1720062275
0x1d2E50Ea...DA2052513
0.002 ETH
Deposit201465652024-06-22 10:11:23299 days ago1719051083
0x1d2E50Ea...DA2052513
0.00044599 ETH
0x93849c8f201465652024-06-22 10:11:23299 days ago1719051083
0x1d2E50Ea...DA2052513
0.0064 ETH
Deposit200573192024-06-09 22:42:11311 days ago1717972931
0x1d2E50Ea...DA2052513
0.00043186 ETH
0x93849c8f200573192024-06-09 22:42:11311 days ago1717972931
0x1d2E50Ea...DA2052513
0.054 ETH
Deposit199440622024-05-25 2:58:35327 days ago1716605915
0x1d2E50Ea...DA2052513
0.0005867 ETH
0x93849c8f199440622024-05-25 2:58:35327 days ago1716605915
0x1d2E50Ea...DA2052513
0.84 ETH
Deposit199397362024-05-24 12:26:47328 days ago1716553607
0x1d2E50Ea...DA2052513
0.00057054 ETH
0x93849c8f199397362024-05-24 12:26:47328 days ago1716553607
0x1d2E50Ea...DA2052513
0.01 ETH
Deposit199393702024-05-24 11:13:35328 days ago1716549215
0x1d2E50Ea...DA2052513
0.00057882 ETH
0x93849c8f199393702024-05-24 11:13:35328 days ago1716549215
0x1d2E50Ea...DA2052513
0.028 ETH
Deposit199365132024-05-24 1:39:23328 days ago1716514763
0x1d2E50Ea...DA2052513
0.00054286 ETH
0x93849c8f199365132024-05-24 1:39:23328 days ago1716514763
0x1d2E50Ea...DA2052513
0.1111 ETH
Deposit199309202024-05-23 6:53:59329 days ago1716447239
0x1d2E50Ea...DA2052513
0.00057984 ETH
0x93849c8f199309202024-05-23 6:53:59329 days ago1716447239
0x1d2E50Ea...DA2052513
0.01 ETH
Deposit199073302024-05-19 23:41:59332 days ago1716162119
0x1d2E50Ea...DA2052513
0.00089911 ETH
0x93849c8f199073302024-05-19 23:41:59332 days ago1716162119
0x1d2E50Ea...DA2052513
0.0089 ETH
Deposit199059042024-05-19 18:55:23332 days ago1716144923
0x1d2E50Ea...DA2052513
0.00090277 ETH
0x93849c8f199059042024-05-19 18:55:23332 days ago1716144923
0x1d2E50Ea...DA2052513
0.005 ETH
Deposit198785812024-05-15 23:11:23336 days ago1715814683
0x1d2E50Ea...DA2052513
0.00091658 ETH
Deposit198715212024-05-14 23:33:11337 days ago1715729591
0x1d2E50Ea...DA2052513
0.00093385 ETH
0x93849c8f198715212024-05-14 23:33:11337 days ago1715729591
0x1d2E50Ea...DA2052513
0.21 ETH
Deposit198709582024-05-14 21:39:35337 days ago1715722775
0x1d2E50Ea...DA2052513
0.00092976 ETH
0x93849c8f198709582024-05-14 21:39:35337 days ago1715722775
0x1d2E50Ea...DA2052513
0.005 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
VenomGetV3

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 11 : VenomGetV3.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.18;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

import "./IDexTaxV3.sol";
import "./IEverscale.sol";
import "./IMultiVault.sol";

/// Data for swap ERC20 to ERC20 or ETH, and swap ETH to ERC20
/// @param swapData Data object for swap calls
/// @param signature SwapData object in EIP712 format, signed by the backend
struct DataSwap {
    IDexTaxV3.SwapData swapData;
    bytes signature;
}

/// Data for deposit
/// @param recipient address in Venom who receive for bridging
/// @param token ERC20 address token which depositing
/// @param amount amount of ERC20 token to deposit
/// @param expected_evers amount of Venom tokens will be expect
/// @param payload  data for swaping in Venom network
struct DepositData {
    IEverscale.EverscaleAddress recipient;
    address token;
    uint256 amount;
    uint256 expected_evers;
    bytes payload;
}

/// @title Contract for swap and depositing to Venom
contract VenomGetV3 is Ownable, ReentrancyGuard {
    using SafeERC20 for IERC20;
    using Address for address payable;

    receive() external payable {}

    struct EverscaleAddress {
        int8 wid;
        uint256 addr;
    }

    /// DexTaxV3 contract address for swap
    address public dexTax;
    /// MultiVault contract address for bridging to Venom
    address public multiVault;

    // Events

    /// Withdraw ETH event
    event WithdrawETH(address recipient, uint256 amount);

    /// Withdraw ERC20 event
    event WithdrawERC20(IERC20 token, address recipient, uint256 amount);

    /// Set DexTax address
    event SetDexTax(address dexTax);

    /// Set Multi Vault address
    event SetMultivault(address multiVault);

    constructor(address _dexTax, address _multiVault) {
        dexTax = _dexTax;
        multiVault = _multiVault;
    }

    /// Transfer ETH held by this contrat to the sender/owner
    /// @param amount How many ETH to transfer
    function withdrawETH(uint256 amount) external onlyOwner {
        payable(msg.sender).sendValue(amount);
        emit WithdrawETH(msg.sender, amount);
    }

    /// Transfer ERC20 held by this contrat to the sender/owner
    /// @param amount How many ERC20 to transfer
    function withdrawERC20(IERC20 token, uint256 amount) external onlyOwner {
        token.safeTransfer(msg.sender, amount);
        emit WithdrawERC20(token, msg.sender, amount);
    }

    /// Set DexTaxV3 address
    /// @param _dexTax New address for swap
    function setDexTax(address _dexTax) public onlyOwner {
        dexTax = _dexTax;
        emit SetDexTax(_dexTax);
    }

    /// Set MultiVault address
    /// @param _multiVault New address for bridging
    function setMultiVault(address _multiVault) public onlyOwner {
        multiVault = _multiVault;
        emit SetMultivault(_multiVault);
    }

    // Swap ERC20 token to ERC20 token then deposit
    /// @param dataSwap swap params for DexTaxV3
    /// @param depositData params for depositing
    function swapTokensForTokens(
        DataSwap calldata dataSwap,
        IMultiVault.DepositData memory depositData
    ) external payable nonReentrant {
        uint256 contractBalanceBefore = address(this).balance - msg.value;
        uint256 sellTokenBalanceBefore = dataSwap.swapData.sellToken.balanceOf(
            address(this)
        );
        dataSwap.swapData.sellToken.safeTransferFrom(
            msg.sender,
            address(this),
            dataSwap.swapData.amountIn
        );
        approve(
            dataSwap.swapData.sellToken,
            dexTax,
            dataSwap.swapData.amountIn
        );
        IDexTaxV3(dexTax).swapTokensForTokens(
            dataSwap.swapData,
            dataSwap.signature
        );
        uint256 depositValue = address(this).balance - contractBalanceBefore;
        deposit(depositData, depositValue);
        uint256 remainderOfToken = dataSwap.swapData.sellToken.balanceOf(
            address(this)
        ) - sellTokenBalanceBefore;

        if (remainderOfToken > 0) {
            dataSwap.swapData.sellToken.safeTransfer(
                msg.sender,
                remainderOfToken
            );
        }
    }

    // Swap ETH token to ERC20 token then deposit
    /// @param dataSwap swap params for DexTaxV3
    /// @param depositData params for depositing
    /// @param depositValue value for deposit
    function swapETHForTokens(
        DataSwap calldata dataSwap,
        IMultiVault.DepositData memory depositData,
        uint256 depositValue
    ) external payable nonReentrant {
        uint256 contractBalanceBefore = address(this).balance - msg.value;
        IDexTaxV3(dexTax).swapETHForTokens{value: dataSwap.swapData.amountIn}(
            dataSwap.swapData,
            dataSwap.signature
        );
        deposit(depositData, depositValue);
        uint256 remainderOfToken = address(this).balance -
            contractBalanceBefore;

        if (remainderOfToken > 0) {
            payable(msg.sender).sendValue(remainderOfToken);
        }
    }

    // Swap ERC20 token to ETH token then deposit
    /// @param dataSwap swap params for DexTaxV3
    /// @param depositData params for depositing
    function swapTokensForETH(
        DataSwap calldata dataSwap,
        IMultiVault.DepositByNativeTokenData memory depositData
    ) external payable nonReentrant {
        uint256 contractBalanceBefore = address(this).balance - msg.value;
        uint256 sellTokenBalanceBefore = dataSwap.swapData.sellToken.balanceOf(
            address(this)
        );
        dataSwap.swapData.sellToken.safeTransferFrom(
            msg.sender,
            address(this),
            dataSwap.swapData.amountIn
        );
        approve(
            dataSwap.swapData.sellToken,
            dexTax,
            dataSwap.swapData.amountIn
        );
        IDexTaxV3(dexTax).swapTokensForETH(
            dataSwap.swapData,
            dataSwap.signature
        );

        uint256 depositValue = address(this).balance - contractBalanceBefore;
        depositNative(depositData, depositValue);
        uint256 remainderOfToken = dataSwap.swapData.sellToken.balanceOf(
            address(this)
        ) - sellTokenBalanceBefore;

        if (remainderOfToken > 0) {
            dataSwap.swapData.sellToken.safeTransfer(
                msg.sender,
                remainderOfToken
            );
        }
    }

    // Direct depositing ERC20 token
    /// @param data params for depositing
    /// @param amount amount of depositing token
    function directDeposit(
        IMultiVault.DepositData memory data,
        uint256 amount
    ) external payable nonReentrant {
        IERC20(data.token).safeTransferFrom(msg.sender, address(this), amount);
        approve(IERC20(data.token), dexTax, amount);
        IDexTaxV3(dexTax).collectBeneficiaryFee(
            IERC20(data.token),
            amount,
            address(this)
        );
        approve(IERC20(data.token), multiVault, data.amount);
        IMultiVault(multiVault).deposit{value: msg.value}(data);
    }

    // Direct depositing ETH token
    /// @param data params for depositing
    function directDepositNative(
        IMultiVault.DepositByNativeTokenData memory data
    ) external payable nonReentrant {
        IDexTaxV3(dexTax).collectBeneficiaryFeeETH{value: msg.value}(
            payable(this)
        );
        depositNative(data, data.amount);
    }

    // Give the allowance
    /// @param token ERC20 token
    /// @param spender spender address
    /// @param amount amount to approve
    function approve(IERC20 token, address spender, uint amount) internal {
        uint256 allowed = token.allowance(address(this), spender);
        if (allowed < amount) {
            token.safeApprove(spender, 0);
            token.safeApprove(spender, amount);
        }
    }

    // Depositing ERC20 token
    /// @param data params for depositing
    /// @param depositValue amount of ETH token for deposit
    function deposit(
        IMultiVault.DepositData memory data,
        uint256 depositValue
    ) internal {
        uint256 amount = IERC20(data.token).balanceOf(address(this));
        approve(IERC20(data.token), multiVault, amount);
        IMultiVault(multiVault).deposit{value: depositValue}(data);
    }

    // Depositing ETH token
    /// @param data params for depositing
    /// @param depositValue amount of ETH token for deposit
    function depositNative(
        IMultiVault.DepositByNativeTokenData memory data,
        uint256 depositValue
    ) internal {
        IMultiVault(multiVault).depositByNativeToken{value: depositValue}(data);
    }
}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

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

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

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

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

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

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

File 3 of 11 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

File 4 of 11 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

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

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

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

File 5 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 6 of 11 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";

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

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

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

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

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

    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");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    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");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 7 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [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://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 9 of 11 : IDexTaxV3.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.18;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IDexTaxV3 {
    struct SwapData {
        IERC20 sellToken;
        IERC20 buyToken;
        address payable swapTarget;
        address spender;
        bytes swapCallData;
        uint256 amountIn;
    }

    function swapTokensForTokens(
        SwapData calldata swapData,
        bytes calldata signature
    ) external;

    function swapETHForTokens(
        SwapData calldata swapData,
        bytes calldata signature
    ) external payable;

    function swapTokensForETH(
        SwapData calldata swapData,
        bytes calldata signature
    ) external;

    function collectBeneficiaryFee(
        IERC20 token,
        uint256 amount,
        address receiver
    ) external;

    function collectBeneficiaryFeeETH(
        address payable receiver
    ) external payable;
}

File 10 of 11 : IEverscale.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;

interface IEverscale {
    struct EverscaleAddress {
        int8 wid;
        uint256 addr;
    }

    struct EverscaleEvent {
        uint64 eventTransactionLt;
        uint32 eventTimestamp;
        bytes eventData;
        int8 configurationWid;
        uint256 configurationAddress;
        int8 eventContractWid;
        uint256 eventContractAddress;
        address proxy;
        uint32 round;
    }
}

File 11 of 11 : IMultiVault.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.18;

import "./IEverscale.sol";

interface IMultiVault is IEverscale {
    struct DepositData {
        IEverscale.EverscaleAddress recipient;
        address token;
        uint256 amount;
        uint256 expected_evers;
        bytes payload;
    }

    struct DepositByNativeTokenData {
        IEverscale.EverscaleAddress recipient;
        uint256 amount;
        uint256 expected_evers;
        bytes payload;
    }

    function deposit(DepositData memory data) external payable;

    function depositByNativeToken(
        DepositByNativeTokenData memory data
    ) external payable;
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_dexTax","type":"address"},{"internalType":"address","name":"_multiVault","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"dexTax","type":"address"}],"name":"SetDexTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"multiVault","type":"address"}],"name":"SetMultivault","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawERC20","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawETH","type":"event"},{"inputs":[],"name":"dexTax","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"int8","name":"wid","type":"int8"},{"internalType":"uint256","name":"addr","type":"uint256"}],"internalType":"struct IEverscale.EverscaleAddress","name":"recipient","type":"tuple"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"expected_evers","type":"uint256"},{"internalType":"bytes","name":"payload","type":"bytes"}],"internalType":"struct IMultiVault.DepositData","name":"data","type":"tuple"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"directDeposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"int8","name":"wid","type":"int8"},{"internalType":"uint256","name":"addr","type":"uint256"}],"internalType":"struct IEverscale.EverscaleAddress","name":"recipient","type":"tuple"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"expected_evers","type":"uint256"},{"internalType":"bytes","name":"payload","type":"bytes"}],"internalType":"struct IMultiVault.DepositByNativeTokenData","name":"data","type":"tuple"}],"name":"directDepositNative","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"multiVault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_dexTax","type":"address"}],"name":"setDexTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_multiVault","type":"address"}],"name":"setMultiVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"contract IERC20","name":"sellToken","type":"address"},{"internalType":"contract IERC20","name":"buyToken","type":"address"},{"internalType":"address payable","name":"swapTarget","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"bytes","name":"swapCallData","type":"bytes"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"internalType":"struct IDexTaxV3.SwapData","name":"swapData","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"internalType":"struct DataSwap","name":"dataSwap","type":"tuple"},{"components":[{"components":[{"internalType":"int8","name":"wid","type":"int8"},{"internalType":"uint256","name":"addr","type":"uint256"}],"internalType":"struct IEverscale.EverscaleAddress","name":"recipient","type":"tuple"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"expected_evers","type":"uint256"},{"internalType":"bytes","name":"payload","type":"bytes"}],"internalType":"struct IMultiVault.DepositData","name":"depositData","type":"tuple"},{"internalType":"uint256","name":"depositValue","type":"uint256"}],"name":"swapETHForTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"contract IERC20","name":"sellToken","type":"address"},{"internalType":"contract IERC20","name":"buyToken","type":"address"},{"internalType":"address payable","name":"swapTarget","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"bytes","name":"swapCallData","type":"bytes"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"internalType":"struct IDexTaxV3.SwapData","name":"swapData","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"internalType":"struct DataSwap","name":"dataSwap","type":"tuple"},{"components":[{"components":[{"internalType":"int8","name":"wid","type":"int8"},{"internalType":"uint256","name":"addr","type":"uint256"}],"internalType":"struct IEverscale.EverscaleAddress","name":"recipient","type":"tuple"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"expected_evers","type":"uint256"},{"internalType":"bytes","name":"payload","type":"bytes"}],"internalType":"struct IMultiVault.DepositByNativeTokenData","name":"depositData","type":"tuple"}],"name":"swapTokensForETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"contract IERC20","name":"sellToken","type":"address"},{"internalType":"contract IERC20","name":"buyToken","type":"address"},{"internalType":"address payable","name":"swapTarget","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"bytes","name":"swapCallData","type":"bytes"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"internalType":"struct IDexTaxV3.SwapData","name":"swapData","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"internalType":"struct DataSwap","name":"dataSwap","type":"tuple"},{"components":[{"components":[{"internalType":"int8","name":"wid","type":"int8"},{"internalType":"uint256","name":"addr","type":"uint256"}],"internalType":"struct IEverscale.EverscaleAddress","name":"recipient","type":"tuple"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"expected_evers","type":"uint256"},{"internalType":"bytes","name":"payload","type":"bytes"}],"internalType":"struct IMultiVault.DepositData","name":"depositData","type":"tuple"}],"name":"swapTokensForTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080346100c757601f61190a38819003918201601f19168301916001600160401b038311848410176100cc5780849260409485528339810103126100c757610052602061004b836100e2565b92016100e2565b60008054336001600160a01b0319808316821784556040519590946001600160a01b03949093859391908416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a360018055168360025416176002551690600354161760035561181390816100f78239f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036100c75756fe60406080815260049081361015610020575b5050361561001e57600080fd5b005b600091823560e01c80631252b63414610abb5780632f35cdab14610922578381633d4564591461086a57508063400cbb89146105de578063715018a6146105775780638c3ecc451461054f5780638da5cb5b14610529578063a1db9782146104b857838163a930684b1461033b57508063cbca0b1714610313578063de7803d51461029b578063ed50d91c1461021f578063f14210a6146101b75763f2fde38b146100cb5750610011565b346101b35760203660031901126101b3576100e4610c86565b906100ed610df9565b6001600160a01b0380921692831561014a5750506000548273ffffffffffffffffffffffffffffffffffffffff19821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b8280fd5b50346101b35760203660031901126101b3577f566e45b1c8057e725bf62796a7f1d37ae294393cab069725a09daddd1af98b79916102199135906101f9610df9565b6102038233610e81565b5133815260208101919091529081906040820190565b0390a180f35b5050346102975760203660031901126102975760207f8afee0baa440e5327af06cb8c3dd98c2cc7212152e50df3413be20b59b54eccb916001600160a01b03610266610c86565b61026e610df9565b16908173ffffffffffffffffffffffffffffffffffffffff19600354161760035551908152a180f35b5080fd5b5050346102975760203660031901126102975760207f1c50ecfa6f7a18b9830ee86a101a5ebbbb7654795412ab7e51a1dbe4b1fd44df916001600160a01b036102e2610c86565b6102ea610df9565b16908173ffffffffffffffffffffffffffffffffffffffff19600254161760025551908152a180f35b5050346102975781600319360112610297576020906001600160a01b03600254169051908152f35b928091506003193601126104b457813567ffffffffffffffff81116104af576103679036908401610d13565b91602435610373611307565b602084016001600160a01b039161039181848451163090339061135c565b6103a48184845116856002541690611428565b8260025416908383511690823b156104ab576064899283895195869485937fd3629d900000000000000000000000000000000000000000000000000000000085528b85015260248401523060448401525af180156104a15783918891610486575b505061041c91511682600354168587015191611428565b6003541692833b156104825761044793859284518096819482936322a8c22760e01b845283016113cb565b039134905af19081156104795750610462575b506001805580f35b61046b90610bf6565b61047657803861045a565b80fd5b513d84823e3d90fd5b8480fd5b610491919250610bf6565b61049d57818638610405565b8580fd5b85513d89823e3d90fd5b8880fd5b505050fd5b5050fd5b50503461029757806003193601126102975760607f33c35f9541201e342d5e7467016e65a0a06182eb12a5f17103f71cec95b6cb29916104f6610c86565b9060243590610503610df9565b61050e823385610f58565b6001600160a01b03815193168352336020840152820152a180f35b5050346102975781600319360112610297576001600160a01b0360209254169051908152f35b5050346102975781600319360112610297576020906001600160a01b03600354169051908152f35b8334610476578060031936011261047657610590610df9565b60006001600160a01b03815473ffffffffffffffffffffffffffffffffffffffff1981168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b508260031992808436011261029757823567ffffffffffffffff808211610866578282860196833603011261086657602435908111610866576106249036908601610d91565b9361062d611307565b61063734476111a8565b906001600160a01b038061065361064e8a806111cb565b6111e0565b169685519687956370a0823160e01b998a885230868901528760246020998a935afa98891561082857908b91839a610832575b506106af61069761064e84806111cb565b60a06106a385806111cb565b0135903090339061135c565b6106d86106bf61064e84806111cb565b866002541660a06106d086806111cb565b013591611428565b6106f460246106ec876002541694806111cb565b92018d6111f4565b92803b1561048257849283896107368e51978896879586947f73da48dc0000000000000000000000000000000000000000000000000000000086528501611248565b03925af180156108285790879594939291610809575b5050610766906107606024949596476111a8565b9061174a565b61077361064e8a806111cb565b169685519788938492835230908301525afa918215610800575085916107cb575b5061079f92506111a8565b806107ad575b826001805580f35b6107c4916107bf61064e3392806111cb565b610f58565b38806107a5565b905082813d83116107f9575b6107e18183610c20565b810103126107f45761079f915138610794565b600080fd5b503d6107d7565b513d87823e3d90fd5b6108169192949550610bf6565b610824578492918a3861074c565b8980fd5b88513d84823e3d90fd5b92509850508581813d831161085f575b61084c8183610c20565b810103126107f457898b91519838610686565b503d610842565b8380fd5b919050602036600319011261029757803567ffffffffffffffff81116101b3576108979036908301610d91565b926108a0611307565b6001600160a01b036002541691823b1561086657839060248351809581937f48dd40d9000000000000000000000000000000000000000000000000000000008352309083015234905af1908115610479575061090e575b506109078260208101519061174a565b6001805580f35b61091790610bf6565b6102975781386108f7565b508260031992808436011261029757823567ffffffffffffffff808211610866578282860196833603011261086657602435908111610866576109689036908601610d13565b93610971611307565b61097b34476111a8565b906001600160a01b038061099261064e8a806111cb565b169685519687956370a0823160e01b998a885230868901528760246020998a935afa98891561082857908b91839a610a87575b506109d661069761064e84806111cb565b6109e66106bf61064e84806111cb565b6109fa60246106ec876002541694806111cb565b92803b156104825784928389610a3c8e51978896879586947f69bd34a60000000000000000000000000000000000000000000000000000000086528501611248565b03925af180156108285790879594939291610a6c575b505061076690610a666024949596476111a8565b9061166e565b610a799192949550610bf6565b610824578492918a38610a52565b92509850508581813d8311610ab4575b610aa18183610c20565b810103126107f457898b915198386109c5565b503d610a97565b5091906003196060368201126101b35783359167ffffffffffffffff80841161048257818487019385360301126104825760243590811161048257610b039036908701610d13565b94610b0c611307565b610b1634476111a8565b936001600160a01b036002541690610b4a60a0610b3387806111cb565b0135956024610b4282806111cb565b9301906111f4565b959093833b156104ab57908894939291610b908751988996879586947f93849c8f0000000000000000000000000000000000000000000000000000000086528501611248565b03925af1908115610bed5750610bd6575b50610bb3610bb992936044359061166e565b476111a8565b80610bc657506001805580f35b610bd09033610e81565b3861045a565b610bb992610be6610bb392610bf6565b9250610ba1565b513d85823e3d90fd5b67ffffffffffffffff8111610c0a57604052565b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff821117610c0a57604052565b91908260409103126107f4576040516040810181811067ffffffffffffffff821117610c0a57604052809280358060000b81036107f4578252602090810135910152565b600435906001600160a01b03821682036107f457565b35906001600160a01b03821682036107f457565b67ffffffffffffffff8111610c0a57601f01601f191660200190565b81601f820112156107f457803590610ce382610cb0565b92610cf16040519485610c20565b828452602083830101116107f457816000926020809301838601378301015290565b91909160c0818403126107f4576040519067ffffffffffffffff9060a0830182811184821017610c0a576040528294610d4c8183610c42565b8452610d5a60408301610c9c565b6020850152606082013560408501526080820135606085015260a08201359283116107f457608092610d8c9201610ccc565b910152565b91909160a0818403126107f4576040519067ffffffffffffffff906080830182811184821017610c0a576040528294610dca8183610c42565b8452604082013560208501526060820135604085015260808201359283116107f457606092610d8c9201610ccc565b6001600160a01b03600054163303610e0d57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b3d15610e7c573d90610e6282610cb0565b91610e706040519384610c20565b82523d6000602084013e565b606090565b814710610f145760008080936001600160a01b038294165af1610ea2610e51565b5015610eaa57565b608460405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152fd5b606460405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152fd5b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000060208201526001600160a01b0390921660248301526044820192909252610fb991610fb482606481015b03601f198101845283610c20565b610fbb565b565b6001600160a01b031690604051604081019080821067ffffffffffffffff831117610c0a5761102e916040526020938482527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564858301526000808587829751910182855af1611028610e51565b916110cc565b80518061103c575b50505050565b818491810103126102975782015190811591821503610476575061106257808080611036565b6084906040519062461bcd60e51b82526004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152fd5b9192901561112d57508151156110e0575090565b3b156110e95790565b606460405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152fd5b8251909150156111405750805190602001fd5b6111649060405191829162461bcd60e51b8352602060048401526024830190611168565b0390fd5b919082519283825260005b848110611194575050826000602080949584010152601f8019910116010190565b602081830181015184830182015201611173565b919082039182116111b557565b634e487b7160e01b600052601160045260246000fd5b90359060be19813603018212156107f4570190565b356001600160a01b03811681036107f45790565b903590601e19813603018212156107f4570180359067ffffffffffffffff82116107f4576020019181360383136107f457565b908060209392818452848401376000828201840152601f01601f1916010190565b929091604084526001600160a01b038061126185610c9c565b1660408601528061127460208601610c9c565b16606086015260408401358181168091036107f457608086015261129a60608501610c9c565b1660a08501526080830135601e19843603018112156107f45783019360208535950167ffffffffffffffff86116107f45785360381136107f4576112ef60a0916113049760c080860152610100850191611227565b94013560e08201526020818503910152611227565b90565b600260015414611318576002600155565b606460405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152fd5b9290604051927f23b872dd0000000000000000000000000000000000000000000000000000000060208501526001600160a01b03809216602485015216604483015260648201526064815260a081019181831067ffffffffffffffff841117610c0a57610fb992604052610fbb565b60e0608061130493602084526113f260208501825160208091805160000b84520151910152565b6001600160a01b036020820151166060850152604081015182850152606081015160a085015201519160c0808201520190611168565b604080517fdd62ed3e000000000000000000000000000000000000000000000000000000008082523060048301526001600160a01b038581166024840152929695929460209392909190858716908581604481855afa8015611663578591600091611633575b50106114a0575b505050505050509050565b88517f095ea7b300000000000000000000000000000000000000000000000000000000978887830152841660248201526000604482015260448152608081019080821067ffffffffffffffff831117610c0a576114ff918b5287610fbb565b8484159283156115bc575b5050501561155357610fb49291610fa69161154697985196879485015260248401602090939291936001600160a01b0360408201951681520152565b8038808080808080611495565b60848388519062461bcd60e51b82526004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000006064820152fd5b8a519081523060048201526001600160a01b0385166024820152925090829060449082905afa908115611628576000916115fb575b501538848161150a565b908482813d8311611621575b6116118183610c20565b81010312610476575051386115f1565b503d611607565b88513d6000823e3d90fd5b91508682813d831161165c575b61164a8183610c20565b8101031261047657508490513861148e565b503d611640565b8a513d6000823e3d90fd5b602081016001600160a01b03906024602083835116604051928380926370a0823160e01b82523060048301525afa908115611708578390600092611714575b506116bf925116836003541690611428565b6003541690813b156107f4576000916116ee916040519485809481936322a8c22760e01b8352600483016113cb565b03925af18015611708576116ff5750565b610fb990610bf6565b6040513d6000823e3d90fd5b9190506020823d8211611742575b8161172f60209383610c20565b81010312610476575051826116bf6116ad565b3d9150611722565b6001600160a01b036003541691823b156107f4576116ee926000926060926040518096819582947f26d3bc4e000000000000000000000000000000000000000000000000000000008452602060048501526117b660248501825160208091805160000b84520151910152565b6020810151606485015260408101516084850152015160a060a484015260c483019061116856fea26469706673582212200b883eede317cad47b0411aadab45cc3ab01e2e41990b9b2e8e16fc05dceffda64736f6c634300081200330000000000000000000000000211c3f15741a6a4de6b9ee630928bc8eab633000000000000000000000000004ab740157721105ae503fbad756a578171512525

Deployed Bytecode

0x60406080815260049081361015610020575b5050361561001e57600080fd5b005b600091823560e01c80631252b63414610abb5780632f35cdab14610922578381633d4564591461086a57508063400cbb89146105de578063715018a6146105775780638c3ecc451461054f5780638da5cb5b14610529578063a1db9782146104b857838163a930684b1461033b57508063cbca0b1714610313578063de7803d51461029b578063ed50d91c1461021f578063f14210a6146101b75763f2fde38b146100cb5750610011565b346101b35760203660031901126101b3576100e4610c86565b906100ed610df9565b6001600160a01b0380921692831561014a5750506000548273ffffffffffffffffffffffffffffffffffffffff19821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b8280fd5b50346101b35760203660031901126101b3577f566e45b1c8057e725bf62796a7f1d37ae294393cab069725a09daddd1af98b79916102199135906101f9610df9565b6102038233610e81565b5133815260208101919091529081906040820190565b0390a180f35b5050346102975760203660031901126102975760207f8afee0baa440e5327af06cb8c3dd98c2cc7212152e50df3413be20b59b54eccb916001600160a01b03610266610c86565b61026e610df9565b16908173ffffffffffffffffffffffffffffffffffffffff19600354161760035551908152a180f35b5080fd5b5050346102975760203660031901126102975760207f1c50ecfa6f7a18b9830ee86a101a5ebbbb7654795412ab7e51a1dbe4b1fd44df916001600160a01b036102e2610c86565b6102ea610df9565b16908173ffffffffffffffffffffffffffffffffffffffff19600254161760025551908152a180f35b5050346102975781600319360112610297576020906001600160a01b03600254169051908152f35b928091506003193601126104b457813567ffffffffffffffff81116104af576103679036908401610d13565b91602435610373611307565b602084016001600160a01b039161039181848451163090339061135c565b6103a48184845116856002541690611428565b8260025416908383511690823b156104ab576064899283895195869485937fd3629d900000000000000000000000000000000000000000000000000000000085528b85015260248401523060448401525af180156104a15783918891610486575b505061041c91511682600354168587015191611428565b6003541692833b156104825761044793859284518096819482936322a8c22760e01b845283016113cb565b039134905af19081156104795750610462575b506001805580f35b61046b90610bf6565b61047657803861045a565b80fd5b513d84823e3d90fd5b8480fd5b610491919250610bf6565b61049d57818638610405565b8580fd5b85513d89823e3d90fd5b8880fd5b505050fd5b5050fd5b50503461029757806003193601126102975760607f33c35f9541201e342d5e7467016e65a0a06182eb12a5f17103f71cec95b6cb29916104f6610c86565b9060243590610503610df9565b61050e823385610f58565b6001600160a01b03815193168352336020840152820152a180f35b5050346102975781600319360112610297576001600160a01b0360209254169051908152f35b5050346102975781600319360112610297576020906001600160a01b03600354169051908152f35b8334610476578060031936011261047657610590610df9565b60006001600160a01b03815473ffffffffffffffffffffffffffffffffffffffff1981168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b508260031992808436011261029757823567ffffffffffffffff808211610866578282860196833603011261086657602435908111610866576106249036908601610d91565b9361062d611307565b61063734476111a8565b906001600160a01b038061065361064e8a806111cb565b6111e0565b169685519687956370a0823160e01b998a885230868901528760246020998a935afa98891561082857908b91839a610832575b506106af61069761064e84806111cb565b60a06106a385806111cb565b0135903090339061135c565b6106d86106bf61064e84806111cb565b866002541660a06106d086806111cb565b013591611428565b6106f460246106ec876002541694806111cb565b92018d6111f4565b92803b1561048257849283896107368e51978896879586947f73da48dc0000000000000000000000000000000000000000000000000000000086528501611248565b03925af180156108285790879594939291610809575b5050610766906107606024949596476111a8565b9061174a565b61077361064e8a806111cb565b169685519788938492835230908301525afa918215610800575085916107cb575b5061079f92506111a8565b806107ad575b826001805580f35b6107c4916107bf61064e3392806111cb565b610f58565b38806107a5565b905082813d83116107f9575b6107e18183610c20565b810103126107f45761079f915138610794565b600080fd5b503d6107d7565b513d87823e3d90fd5b6108169192949550610bf6565b610824578492918a3861074c565b8980fd5b88513d84823e3d90fd5b92509850508581813d831161085f575b61084c8183610c20565b810103126107f457898b91519838610686565b503d610842565b8380fd5b919050602036600319011261029757803567ffffffffffffffff81116101b3576108979036908301610d91565b926108a0611307565b6001600160a01b036002541691823b1561086657839060248351809581937f48dd40d9000000000000000000000000000000000000000000000000000000008352309083015234905af1908115610479575061090e575b506109078260208101519061174a565b6001805580f35b61091790610bf6565b6102975781386108f7565b508260031992808436011261029757823567ffffffffffffffff808211610866578282860196833603011261086657602435908111610866576109689036908601610d13565b93610971611307565b61097b34476111a8565b906001600160a01b038061099261064e8a806111cb565b169685519687956370a0823160e01b998a885230868901528760246020998a935afa98891561082857908b91839a610a87575b506109d661069761064e84806111cb565b6109e66106bf61064e84806111cb565b6109fa60246106ec876002541694806111cb565b92803b156104825784928389610a3c8e51978896879586947f69bd34a60000000000000000000000000000000000000000000000000000000086528501611248565b03925af180156108285790879594939291610a6c575b505061076690610a666024949596476111a8565b9061166e565b610a799192949550610bf6565b610824578492918a38610a52565b92509850508581813d8311610ab4575b610aa18183610c20565b810103126107f457898b915198386109c5565b503d610a97565b5091906003196060368201126101b35783359167ffffffffffffffff80841161048257818487019385360301126104825760243590811161048257610b039036908701610d13565b94610b0c611307565b610b1634476111a8565b936001600160a01b036002541690610b4a60a0610b3387806111cb565b0135956024610b4282806111cb565b9301906111f4565b959093833b156104ab57908894939291610b908751988996879586947f93849c8f0000000000000000000000000000000000000000000000000000000086528501611248565b03925af1908115610bed5750610bd6575b50610bb3610bb992936044359061166e565b476111a8565b80610bc657506001805580f35b610bd09033610e81565b3861045a565b610bb992610be6610bb392610bf6565b9250610ba1565b513d85823e3d90fd5b67ffffffffffffffff8111610c0a57604052565b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff821117610c0a57604052565b91908260409103126107f4576040516040810181811067ffffffffffffffff821117610c0a57604052809280358060000b81036107f4578252602090810135910152565b600435906001600160a01b03821682036107f457565b35906001600160a01b03821682036107f457565b67ffffffffffffffff8111610c0a57601f01601f191660200190565b81601f820112156107f457803590610ce382610cb0565b92610cf16040519485610c20565b828452602083830101116107f457816000926020809301838601378301015290565b91909160c0818403126107f4576040519067ffffffffffffffff9060a0830182811184821017610c0a576040528294610d4c8183610c42565b8452610d5a60408301610c9c565b6020850152606082013560408501526080820135606085015260a08201359283116107f457608092610d8c9201610ccc565b910152565b91909160a0818403126107f4576040519067ffffffffffffffff906080830182811184821017610c0a576040528294610dca8183610c42565b8452604082013560208501526060820135604085015260808201359283116107f457606092610d8c9201610ccc565b6001600160a01b03600054163303610e0d57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b3d15610e7c573d90610e6282610cb0565b91610e706040519384610c20565b82523d6000602084013e565b606090565b814710610f145760008080936001600160a01b038294165af1610ea2610e51565b5015610eaa57565b608460405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152fd5b606460405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152fd5b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000060208201526001600160a01b0390921660248301526044820192909252610fb991610fb482606481015b03601f198101845283610c20565b610fbb565b565b6001600160a01b031690604051604081019080821067ffffffffffffffff831117610c0a5761102e916040526020938482527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564858301526000808587829751910182855af1611028610e51565b916110cc565b80518061103c575b50505050565b818491810103126102975782015190811591821503610476575061106257808080611036565b6084906040519062461bcd60e51b82526004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152fd5b9192901561112d57508151156110e0575090565b3b156110e95790565b606460405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152fd5b8251909150156111405750805190602001fd5b6111649060405191829162461bcd60e51b8352602060048401526024830190611168565b0390fd5b919082519283825260005b848110611194575050826000602080949584010152601f8019910116010190565b602081830181015184830182015201611173565b919082039182116111b557565b634e487b7160e01b600052601160045260246000fd5b90359060be19813603018212156107f4570190565b356001600160a01b03811681036107f45790565b903590601e19813603018212156107f4570180359067ffffffffffffffff82116107f4576020019181360383136107f457565b908060209392818452848401376000828201840152601f01601f1916010190565b929091604084526001600160a01b038061126185610c9c565b1660408601528061127460208601610c9c565b16606086015260408401358181168091036107f457608086015261129a60608501610c9c565b1660a08501526080830135601e19843603018112156107f45783019360208535950167ffffffffffffffff86116107f45785360381136107f4576112ef60a0916113049760c080860152610100850191611227565b94013560e08201526020818503910152611227565b90565b600260015414611318576002600155565b606460405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152fd5b9290604051927f23b872dd0000000000000000000000000000000000000000000000000000000060208501526001600160a01b03809216602485015216604483015260648201526064815260a081019181831067ffffffffffffffff841117610c0a57610fb992604052610fbb565b60e0608061130493602084526113f260208501825160208091805160000b84520151910152565b6001600160a01b036020820151166060850152604081015182850152606081015160a085015201519160c0808201520190611168565b604080517fdd62ed3e000000000000000000000000000000000000000000000000000000008082523060048301526001600160a01b038581166024840152929695929460209392909190858716908581604481855afa8015611663578591600091611633575b50106114a0575b505050505050509050565b88517f095ea7b300000000000000000000000000000000000000000000000000000000978887830152841660248201526000604482015260448152608081019080821067ffffffffffffffff831117610c0a576114ff918b5287610fbb565b8484159283156115bc575b5050501561155357610fb49291610fa69161154697985196879485015260248401602090939291936001600160a01b0360408201951681520152565b8038808080808080611495565b60848388519062461bcd60e51b82526004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000006064820152fd5b8a519081523060048201526001600160a01b0385166024820152925090829060449082905afa908115611628576000916115fb575b501538848161150a565b908482813d8311611621575b6116118183610c20565b81010312610476575051386115f1565b503d611607565b88513d6000823e3d90fd5b91508682813d831161165c575b61164a8183610c20565b8101031261047657508490513861148e565b503d611640565b8a513d6000823e3d90fd5b602081016001600160a01b03906024602083835116604051928380926370a0823160e01b82523060048301525afa908115611708578390600092611714575b506116bf925116836003541690611428565b6003541690813b156107f4576000916116ee916040519485809481936322a8c22760e01b8352600483016113cb565b03925af18015611708576116ff5750565b610fb990610bf6565b6040513d6000823e3d90fd5b9190506020823d8211611742575b8161172f60209383610c20565b81010312610476575051826116bf6116ad565b3d9150611722565b6001600160a01b036003541691823b156107f4576116ee926000926060926040518096819582947f26d3bc4e000000000000000000000000000000000000000000000000000000008452602060048501526117b660248501825160208091805160000b84520151910152565b6020810151606485015260408101516084850152015160a060a484015260c483019061116856fea26469706673582212200b883eede317cad47b0411aadab45cc3ab01e2e41990b9b2e8e16fc05dceffda64736f6c63430008120033

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

0000000000000000000000000211c3f15741a6a4de6b9ee630928bc8eab633000000000000000000000000004ab740157721105ae503fbad756a578171512525

-----Decoded View---------------
Arg [0] : _dexTax (address): 0x0211C3F15741a6a4de6b9EE630928BC8EaB63300
Arg [1] : _multiVault (address): 0x4aB740157721105aE503fbad756a578171512525

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000211c3f15741a6a4de6b9ee630928bc8eab63300
Arg [1] : 0000000000000000000000004ab740157721105ae503fbad756a578171512525


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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