ETH Price: $1,976.24 (+0.71%)
 

Overview

ETH Balance

0.464577133469373282 ETH

Eth Value

$918.11 (@ $1,976.24/ETH)

Token Holdings

More Info

Private Name Tags

Multichain Info

Transaction Hash
Method
Block
From
To
Transfer226252902025-06-03 16:22:35263 days ago1748967755IN
0x92e929d8...78BB2b786
0.00005 ETH0.000208089.90897017
Transfer226202232025-06-02 23:21:35264 days ago1748906495IN
0x92e929d8...78BB2b786
0.0001 ETH0.000043542.07339817
Transfer226075242025-06-01 4:38:59266 days ago1748752739IN
0x92e929d8...78BB2b786
0.00996772 ETH0.000016930.8064745
Transfer226073762025-06-01 4:08:59266 days ago1748750939IN
0x92e929d8...78BB2b786
0.00005 ETH0.000016070.76560645
Transfer225833442025-05-28 19:28:23269 days ago1748460503IN
0x92e929d8...78BB2b786
0.00005 ETH0.000092184.37853196
Transfer225657982025-05-26 8:32:47271 days ago1748248367IN
0x92e929d8...78BB2b786
0.00005 ETH0.0005263725
Withdraw216230082025-01-14 13:25:11403 days ago1736861111IN
0x92e929d8...78BB2b786
0 ETH0.000485099.52523951
Swap215571682025-01-05 8:45:23412 days ago1736066723IN
0x92e929d8...78BB2b786
0 ETH0.000340945.69784281
Swap215571582025-01-05 8:43:23412 days ago1736066603IN
0x92e929d8...78BB2b786
0 ETH0.000340945.69784281
Swap215571492025-01-05 8:41:35412 days ago1736066495IN
0x92e929d8...78BB2b786
0 ETH0.000340945.69784281
Swap215571422025-01-05 8:40:11412 days ago1736066411IN
0x92e929d8...78BB2b786
0 ETH0.000340945.69784281
Swap215571352025-01-05 8:38:47412 days ago1736066327IN
0x92e929d8...78BB2b786
0 ETH0.000340945.69784281
Swap215571292025-01-05 8:37:23412 days ago1736066243IN
0x92e929d8...78BB2b786
0 ETH0.000340945.69784281
Swap215569532025-01-05 8:01:35412 days ago1736064095IN
0x92e929d8...78BB2b786
0 ETH0.000334925.59723369
Swap215569392025-01-05 7:58:47412 days ago1736063927IN
0x92e929d8...78BB2b786
0 ETH0.000334925.59723369
Swap215569292025-01-05 7:56:47412 days ago1736063807IN
0x92e929d8...78BB2b786
0 ETH0.000334925.59723369
Swap215569202025-01-05 7:54:59412 days ago1736063699IN
0x92e929d8...78BB2b786
0 ETH0.000334925.59723369
Swap215569122025-01-05 7:53:23412 days ago1736063603IN
0x92e929d8...78BB2b786
0 ETH0.000334925.59723369
Swap215569022025-01-05 7:51:11413 days ago1736063471IN
0x92e929d8...78BB2b786
0 ETH0.000334925.59723369
Swap215568902025-01-05 7:48:47413 days ago1736063327IN
0x92e929d8...78BB2b786
0 ETH0.000334925.59723369
Swap215568822025-01-05 7:47:11413 days ago1736063231IN
0x92e929d8...78BB2b786
0 ETH0.000334925.59723369
Swap215568742025-01-05 7:45:35413 days ago1736063135IN
0x92e929d8...78BB2b786
0 ETH0.000334925.59723369
Swap215568652025-01-05 7:43:47413 days ago1736063027IN
0x92e929d8...78BB2b786
0 ETH0.000334925.59723369
Swap215568552025-01-05 7:41:47413 days ago1736062907IN
0x92e929d8...78BB2b786
0 ETH0.000334855.59723369
Swap215568442025-01-05 7:39:35413 days ago1736062775IN
0x92e929d8...78BB2b786
0 ETH0.000334925.59723369
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Swap Eth231292712025-08-13 2:54:11193 days ago1755053651
0x92e929d8...78BB2b786
0.04731488 ETH
Swap Eth231292512025-08-13 2:50:11193 days ago1755053411
0x92e929d8...78BB2b786
0.04829988 ETH
Swap Eth228988012025-07-11 22:05:35225 days ago1752271535
0x92e929d8...78BB2b786
0.00997 ETH
Swap Eth228935492025-07-11 4:27:47226 days ago1752208067
0x92e929d8...78BB2b786
0.00997 ETH
Swap Eth228716622025-07-08 3:03:11229 days ago1751943791
0x92e929d8...78BB2b786
0.01044008 ETH
Swap Eth228714632025-07-08 2:22:59229 days ago1751941379
0x92e929d8...78BB2b786
0.01045041 ETH
Swap Eth228712412025-07-08 1:38:35229 days ago1751938715
0x92e929d8...78BB2b786
0.01048444 ETH
Swap Eth228710752025-07-08 1:05:11229 days ago1751936711
0x92e929d8...78BB2b786
0.01047911 ETH
Swap Eth227947622025-06-27 9:03:59239 days ago1751015039
0x92e929d8...78BB2b786
0.01994 ETH
Swap Eth227140562025-06-16 2:18:35251 days ago1750040315
0x92e929d8...78BB2b786
0.00997 ETH
Swap Eth227140522025-06-16 2:17:47251 days ago1750040267
0x92e929d8...78BB2b786
0.00997 ETH
Swap Eth226356372025-06-05 3:07:47262 days ago1749092867
0x92e929d8...78BB2b786
0.0992015 ETH
Swap Eth223209412025-04-22 0:24:47306 days ago1745281487
0x92e929d8...78BB2b786
0.1994 ETH
Transfer215231972024-12-31 14:58:23417 days ago1735657103
0x92e929d8...78BB2b786
1.497449 ETH
Swap Eth214917532024-12-27 5:36:59422 days ago1735277819
0x92e929d8...78BB2b786
0.008973 ETH
Swap Eth214220542024-12-17 11:47:35431 days ago1734436055
0x92e929d8...78BB2b786
1.28613 ETH
Swap Eth213643792024-12-09 10:34:23439 days ago1733740463
0x92e929d8...78BB2b786
0.024925 ETH
Swap Eth213643692024-12-09 10:32:23439 days ago1733740343
0x92e929d8...78BB2b786
0.02991 ETH
Swap Eth213643112024-12-09 10:20:47439 days ago1733739647
0x92e929d8...78BB2b786
0.004985 ETH
Swap Eth213643002024-12-09 10:18:35439 days ago1733739515
0x92e929d8...78BB2b786
0.003988 ETH
Swap Eth211263122024-11-06 4:45:59473 days ago1730868359
0x92e929d8...78BB2b786
0.03883877 ETH
Swap Eth207958662024-09-21 2:06:47519 days ago1726884407
0x92e929d8...78BB2b786
0.0997 ETH
Transfer206125502024-08-26 11:45:11544 days ago1724672711
0x92e929d8...78BB2b786
1.7742876 ETH
Swap Eth204690412024-08-06 10:50:23564 days ago1722941423
0x92e929d8...78BB2b786
0.06528457 ETH
Swap Eth204682412024-08-06 8:09:11564 days ago1722931751
0x92e929d8...78BB2b786
0.0501851 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SwftSwap

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 1 of 7: SwftSwap.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./Ownable.sol";
import "./ReentrancyGuard.sol";
import "./SafeMath.sol";
import "./TransferHelper.sol";

contract SwftSwap is ReentrancyGuard, Ownable {
    using SafeMath for uint256;

    string public name;

    string public symbol;

    event Swap(
        address fromToken,
        string toToken,
        address sender,
        string destination,
        uint256 fromAmount,
        uint256 minReturnAmount
    );

    event SwapEth(
        string toToken,
        address sender,
        string destination,
        uint256 fromAmount,
        uint256 minReturnAmount
    );

    event WithdrawETH(uint256 amount);

    event Withdtraw(address token, uint256 amount);

    constructor() {
        name = "SWFT Swap1.1";
        symbol = "SSwap";
    }

    function swap(
        address fromToken,
        string memory toToken,
        string memory destination,
        uint256 fromAmount,
        uint256 minReturnAmount
    ) external nonReentrant {
        require(fromToken != address(0), "FROMTOKEN_CANT_T_BE_0");
        require(fromAmount > 0, "FROM_TOKEN_AMOUNT_MUST_BE_MORE_THAN_0");
        uint256 _inputAmount;
        uint256 _fromTokenBalanceOrigin = IERC20(fromToken).balanceOf(address(this));
        TransferHelper.safeTransferFrom(fromToken, msg.sender, address(this), fromAmount);
        uint256 _fromTokenBalanceNew = IERC20(fromToken).balanceOf(address(this));
        _inputAmount = _fromTokenBalanceNew.sub(_fromTokenBalanceOrigin);
        require(_inputAmount > 0, "NO_FROM_TOKEN_TRANSFER_TO_THIS_CONTRACT");
        emit Swap(fromToken, toToken, msg.sender, destination, fromAmount, minReturnAmount);
    }

    function swapEth(string memory toToken, string memory destination, uint256 minReturnAmount
    ) external payable nonReentrant {
        uint256 _ethAmount = msg.value;
        require(_ethAmount > 0, "ETH_AMOUNT_MUST_BE_MORE_THAN_0");
        emit SwapEth(toToken, msg.sender, destination, _ethAmount, minReturnAmount);
    }

    function withdrawETH(address destination, uint256 amount) external onlyOwner {
        require(destination != address(0), "DESTINATION_CANNT_BE_0_ADDRESS");
        uint256 balance = address(this).balance;
        require(balance >= amount, "AMOUNT_CANNT_MORE_THAN_BALANCE");
        TransferHelper.safeTransferETH(destination, amount);
        emit WithdrawETH(amount);
    }

    function withdraw(address token, address destination, uint256 amount) external onlyOwner {
        require(destination != address(0), "DESTINATION_CANNT_BE_0_ADDRESS");
        require(token != address(0), "TOKEN_MUST_NOT_BE_0");
        uint256 balance = IERC20(token).balanceOf(address(this));
        require(balance >= amount, "AMOUNT_CANNT_MORE_THAN_BALANCE");
        TransferHelper.safeTransfer(token, destination, amount);
        emit Withdtraw(token, amount);
    }

    receive() external payable {}
}

File 2 of 7: Context.sol
// SPDX-License-Identifier: MIT

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 3 of 7: IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 4 of 7: Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./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() {
        _setOwner(_msgSender());
    }

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 7: ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

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 make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 6 of 7: SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

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

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

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

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

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

File 7 of 7: TransferHelper.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.8.0;

library TransferHelper {
    function safeApprove(address token, address to, uint value) internal {
        // bytes4(keccak256(bytes('approve(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: APPROVE_FAILED');
    }

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

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"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":"fromToken","type":"address"},{"indexed":false,"internalType":"string","name":"toToken","type":"string"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"string","name":"destination","type":"string"},{"indexed":false,"internalType":"uint256","name":"fromAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"minReturnAmount","type":"uint256"}],"name":"Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"toToken","type":"string"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"string","name":"destination","type":"string"},{"indexed":false,"internalType":"uint256","name":"fromAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"minReturnAmount","type":"uint256"}],"name":"SwapEth","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawETH","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdtraw","type":"event"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"fromToken","type":"address"},{"internalType":"string","name":"toToken","type":"string"},{"internalType":"string","name":"destination","type":"string"},{"internalType":"uint256","name":"fromAmount","type":"uint256"},{"internalType":"uint256","name":"minReturnAmount","type":"uint256"}],"name":"swap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"toToken","type":"string"},{"internalType":"string","name":"destination","type":"string"},{"internalType":"uint256","name":"minReturnAmount","type":"uint256"}],"name":"swapEth","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"destination","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"destination","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060016000556200002b6200002562000096565b6200009a565b60408051808201909152600c8082526b535746542053776170312e3160a01b60209092019182526200006091600291620000ec565b5060408051808201909152600580825264053537761760dc1b60209092019182526200008f91600391620000ec565b50620001cf565b3390565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620000fa9062000192565b90600052602060002090601f0160209004810192826200011e576000855562000169565b82601f106200013957805160ff191683800117855562000169565b8280016001018555821562000169579182015b82811115620001695782518255916020019190600101906200014c565b50620001779291506200017b565b5090565b5b808211156200017757600081556001016200017c565b600281046001821680620001a757607f821691505b60208210811415620001c957634e487b7160e01b600052602260045260246000fd5b50919050565b61121b80620001df6000396000f3fe60806040526004361061008a5760003560e01c80638da5cb5b116100595780638da5cb5b1461010b57806395d89b411461012d5780639ddf93bb14610142578063d9caed1214610162578063f2fde38b1461018257610091565b806306fdde031461009657806316b3b4c2146100c15780634782f779146100d6578063715018a6146100f657610091565b3661009157005b600080fd5b3480156100a257600080fd5b506100ab6101a2565b6040516100b89190610ddf565b60405180910390f35b6100d46100cf366004610c71565b610230565b005b3480156100e257600080fd5b506100d46100f1366004610c28565b6102c9565b34801561010257600080fd5b506100d4610395565b34801561011757600080fd5b506101206103e0565b6040516100b89190610d3b565b34801561013957600080fd5b506100ab6103ef565b34801561014e57600080fd5b506100d461015d366004610ba5565b6103fc565b34801561016e57600080fd5b506100d461017d366004610b6a565b6105f4565b34801561018e57600080fd5b506100d461019d366004610b50565b61076a565b600280546101af90611194565b80601f01602080910402602001604051908101604052809291908181526020018280546101db90611194565b80156102285780601f106101fd57610100808354040283529160200191610228565b820191906000526020600020905b81548152906001019060200180831161020b57829003601f168201915b505050505081565b6002600054141561025c5760405162461bcd60e51b815260040161025390611101565b60405180910390fd5b6002600055348061027f5760405162461bcd60e51b815260040161025390610f34565b7f4e96fb90a89341a56db7ad2bbf04c715bbf20be6a9a9e764671f718c4697649a84338584866040516102b6959493929190610df2565b60405180910390a1505060016000555050565b6102d16107db565b6001600160a01b03166102e26103e0565b6001600160a01b0316146103085760405162461bcd60e51b815260040161025390610fe9565b6001600160a01b03821661032e5760405162461bcd60e51b815260040161025390610f6b565b478181101561034f5760405162461bcd60e51b815260040161025390610eb7565b61035983836107df565b7f94effa14ea3a1ef396fa2fd829336d1597f1d76b548c26bfa2332869706638af826040516103889190611138565b60405180910390a1505050565b61039d6107db565b6001600160a01b03166103ae6103e0565b6001600160a01b0316146103d45760405162461bcd60e51b815260040161025390610fe9565b6103de6000610871565b565b6001546001600160a01b031690565b600380546101af90611194565b6002600054141561041f5760405162461bcd60e51b815260040161025390611101565b60026000556001600160a01b03851661044a5760405162461bcd60e51b81526004016102539061104b565b6000821161046a5760405162461bcd60e51b815260040161025390610e72565b600080866001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016104999190610d3b565b60206040518083038186803b1580156104b157600080fd5b505afa1580156104c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e99190610cdb565b90506104f7873330876108c3565b6040516370a0823160e01b81526000906001600160a01b038916906370a0823190610526903090600401610d3b565b60206040518083038186803b15801561053e57600080fd5b505afa158015610552573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105769190610cdb565b905061058281836109b3565b9250600083116105a45760405162461bcd60e51b815260040161025390610fa2565b7f45f377f845e1cc76ae2c08f990e15d58bcb732db46f92a4852b956580c3a162f8888338989896040516105dd96959493929190610d73565b60405180910390a150506001600055505050505050565b6105fc6107db565b6001600160a01b031661060d6103e0565b6001600160a01b0316146106335760405162461bcd60e51b815260040161025390610fe9565b6001600160a01b0382166106595760405162461bcd60e51b815260040161025390610f6b565b6001600160a01b03831661067f5760405162461bcd60e51b81526004016102539061101e565b6040516370a0823160e01b81526000906001600160a01b038516906370a08231906106ae903090600401610d3b565b60206040518083038186803b1580156106c657600080fd5b505afa1580156106da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fe9190610cdb565b9050818110156107205760405162461bcd60e51b815260040161025390610eb7565b61072b8484846109c6565b7f7bf0873174a9cc6b28e039b52e74903dd59d650205f32748e3c3dd6b9918ea87848360405161075c929190610dc6565b60405180910390a150505050565b6107726107db565b6001600160a01b03166107836103e0565b6001600160a01b0316146107a95760405162461bcd60e51b815260040161025390610fe9565b6001600160a01b0381166107cf5760405162461bcd60e51b815260040161025390610eee565b6107d881610871565b50565b3390565b604080516000808252602082019092526001600160a01b0384169083906040516108099190610d1f565b60006040518083038185875af1925050503d8060008114610846576040519150601f19603f3d011682016040523d82523d6000602084013e61084b565b606091505b505090508061086c5760405162461bcd60e51b81526004016102539061107a565b505050565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080856001600160a01b03166323b872dd8686866040516024016108ea93929190610d4f565b6040516020818303038152906040529060e01b6020820180516001600160e01b0383818316178352505050506040516109239190610d1f565b6000604051808303816000865af19150503d8060008114610960576040519150601f19603f3d011682016040523d82523d6000602084013e610965565b606091505b509150915081801561098f57508051158061098f57508080602001905181019061098f9190610c51565b6109ab5760405162461bcd60e51b8152600401610253906110bd565b505050505050565b60006109bf8284611141565b9392505050565b600080846001600160a01b031663a9059cbb85856040516024016109eb929190610dc6565b6040516020818303038152906040529060e01b6020820180516001600160e01b038381831617835250505050604051610a249190610d1f565b6000604051808303816000865af19150503d8060008114610a61576040519150601f19603f3d011682016040523d82523d6000602084013e610a66565b606091505b5091509150818015610a90575080511580610a90575080806020019051810190610a909190610c51565b610aac5760405162461bcd60e51b815260040161025390610e3b565b5050505050565b80356001600160a01b0381168114610aca57600080fd5b919050565b600082601f830112610adf578081fd5b813567ffffffffffffffff80821115610afa57610afa6111cf565b604051601f8301601f191681016020018281118282101715610b1e57610b1e6111cf565b604052828152848301602001861015610b35578384fd5b82602086016020830137918201602001929092529392505050565b600060208284031215610b61578081fd5b6109bf82610ab3565b600080600060608486031215610b7e578182fd5b610b8784610ab3565b9250610b9560208501610ab3565b9150604084013590509250925092565b600080600080600060a08688031215610bbc578081fd5b610bc586610ab3565b9450602086013567ffffffffffffffff80821115610be1578283fd5b610bed89838a01610acf565b95506040880135915080821115610c02578283fd5b50610c0f88828901610acf565b9598949750949560608101359550608001359392505050565b60008060408385031215610c3a578182fd5b610c4383610ab3565b946020939093013593505050565b600060208284031215610c62578081fd5b815180151581146109bf578182fd5b600080600060608486031215610c85578283fd5b833567ffffffffffffffff80821115610c9c578485fd5b610ca887838801610acf565b94506020860135915080821115610cbd578384fd5b50610cca86828701610acf565b925050604084013590509250925092565b600060208284031215610cec578081fd5b5051919050565b60008151808452610d0b816020860160208601611164565b601f01601f19169290920160200192915050565b60008251610d31818460208701611164565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600060018060a01b03808916835260c06020840152610d9560c0840189610cf3565b81881660408501528381036060850152610daf8188610cf3565b608085019690965250505060a00152949350505050565b6001600160a01b03929092168252602082015260400190565b6000602082526109bf6020830184610cf3565b600060a08252610e0560a0830188610cf3565b6001600160a01b03871660208401528281036040840152610e268187610cf3565b60608401959095525050608001529392505050565b6020808252601f908201527f5472616e7366657248656c7065723a205452414e534645525f4641494c454400604082015260600190565b60208082526025908201527f46524f4d5f544f4b454e5f414d4f554e545f4d5553545f42455f4d4f52455f54604082015264048414e5f360dc1b606082015260800190565b6020808252601e908201527f414d4f554e545f43414e4e545f4d4f52455f5448414e5f42414c414e43450000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601e908201527f4554485f414d4f554e545f4d5553545f42455f4d4f52455f5448414e5f300000604082015260600190565b6020808252601e908201527f44455354494e4154494f4e5f43414e4e545f42455f305f414444524553530000604082015260600190565b60208082526027908201527f4e4f5f46524f4d5f544f4b454e5f5452414e534645525f544f5f544849535f4360408201526613d395149050d560ca1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601390820152720544f4b454e5f4d5553545f4e4f545f42455f3606c1b604082015260600190565b602080825260159082015274046524f4d544f4b454e5f43414e545f545f42455f3605c1b604082015260600190565b60208082526023908201527f5472616e7366657248656c7065723a204554485f5452414e534645525f46414960408201526213115160ea1b606082015260800190565b60208082526024908201527f5472616e7366657248656c7065723a205452414e534645525f46524f4d5f46416040820152631253115160e21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b90815260200190565b60008282101561115f57634e487b7160e01b81526011600452602481fd5b500390565b60005b8381101561117f578181015183820152602001611167565b8381111561118e576000848401525b50505050565b6002810460018216806111a857607f821691505b602082108114156111c957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fdfea264697066735822122097aef730e38bcafe3a097fed3f6392140278fcd4cf93a5eab8a30bc8c33834fe64736f6c63430008000033

Deployed Bytecode

0x60806040526004361061008a5760003560e01c80638da5cb5b116100595780638da5cb5b1461010b57806395d89b411461012d5780639ddf93bb14610142578063d9caed1214610162578063f2fde38b1461018257610091565b806306fdde031461009657806316b3b4c2146100c15780634782f779146100d6578063715018a6146100f657610091565b3661009157005b600080fd5b3480156100a257600080fd5b506100ab6101a2565b6040516100b89190610ddf565b60405180910390f35b6100d46100cf366004610c71565b610230565b005b3480156100e257600080fd5b506100d46100f1366004610c28565b6102c9565b34801561010257600080fd5b506100d4610395565b34801561011757600080fd5b506101206103e0565b6040516100b89190610d3b565b34801561013957600080fd5b506100ab6103ef565b34801561014e57600080fd5b506100d461015d366004610ba5565b6103fc565b34801561016e57600080fd5b506100d461017d366004610b6a565b6105f4565b34801561018e57600080fd5b506100d461019d366004610b50565b61076a565b600280546101af90611194565b80601f01602080910402602001604051908101604052809291908181526020018280546101db90611194565b80156102285780601f106101fd57610100808354040283529160200191610228565b820191906000526020600020905b81548152906001019060200180831161020b57829003601f168201915b505050505081565b6002600054141561025c5760405162461bcd60e51b815260040161025390611101565b60405180910390fd5b6002600055348061027f5760405162461bcd60e51b815260040161025390610f34565b7f4e96fb90a89341a56db7ad2bbf04c715bbf20be6a9a9e764671f718c4697649a84338584866040516102b6959493929190610df2565b60405180910390a1505060016000555050565b6102d16107db565b6001600160a01b03166102e26103e0565b6001600160a01b0316146103085760405162461bcd60e51b815260040161025390610fe9565b6001600160a01b03821661032e5760405162461bcd60e51b815260040161025390610f6b565b478181101561034f5760405162461bcd60e51b815260040161025390610eb7565b61035983836107df565b7f94effa14ea3a1ef396fa2fd829336d1597f1d76b548c26bfa2332869706638af826040516103889190611138565b60405180910390a1505050565b61039d6107db565b6001600160a01b03166103ae6103e0565b6001600160a01b0316146103d45760405162461bcd60e51b815260040161025390610fe9565b6103de6000610871565b565b6001546001600160a01b031690565b600380546101af90611194565b6002600054141561041f5760405162461bcd60e51b815260040161025390611101565b60026000556001600160a01b03851661044a5760405162461bcd60e51b81526004016102539061104b565b6000821161046a5760405162461bcd60e51b815260040161025390610e72565b600080866001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016104999190610d3b565b60206040518083038186803b1580156104b157600080fd5b505afa1580156104c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e99190610cdb565b90506104f7873330876108c3565b6040516370a0823160e01b81526000906001600160a01b038916906370a0823190610526903090600401610d3b565b60206040518083038186803b15801561053e57600080fd5b505afa158015610552573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105769190610cdb565b905061058281836109b3565b9250600083116105a45760405162461bcd60e51b815260040161025390610fa2565b7f45f377f845e1cc76ae2c08f990e15d58bcb732db46f92a4852b956580c3a162f8888338989896040516105dd96959493929190610d73565b60405180910390a150506001600055505050505050565b6105fc6107db565b6001600160a01b031661060d6103e0565b6001600160a01b0316146106335760405162461bcd60e51b815260040161025390610fe9565b6001600160a01b0382166106595760405162461bcd60e51b815260040161025390610f6b565b6001600160a01b03831661067f5760405162461bcd60e51b81526004016102539061101e565b6040516370a0823160e01b81526000906001600160a01b038516906370a08231906106ae903090600401610d3b565b60206040518083038186803b1580156106c657600080fd5b505afa1580156106da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fe9190610cdb565b9050818110156107205760405162461bcd60e51b815260040161025390610eb7565b61072b8484846109c6565b7f7bf0873174a9cc6b28e039b52e74903dd59d650205f32748e3c3dd6b9918ea87848360405161075c929190610dc6565b60405180910390a150505050565b6107726107db565b6001600160a01b03166107836103e0565b6001600160a01b0316146107a95760405162461bcd60e51b815260040161025390610fe9565b6001600160a01b0381166107cf5760405162461bcd60e51b815260040161025390610eee565b6107d881610871565b50565b3390565b604080516000808252602082019092526001600160a01b0384169083906040516108099190610d1f565b60006040518083038185875af1925050503d8060008114610846576040519150601f19603f3d011682016040523d82523d6000602084013e61084b565b606091505b505090508061086c5760405162461bcd60e51b81526004016102539061107a565b505050565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080856001600160a01b03166323b872dd8686866040516024016108ea93929190610d4f565b6040516020818303038152906040529060e01b6020820180516001600160e01b0383818316178352505050506040516109239190610d1f565b6000604051808303816000865af19150503d8060008114610960576040519150601f19603f3d011682016040523d82523d6000602084013e610965565b606091505b509150915081801561098f57508051158061098f57508080602001905181019061098f9190610c51565b6109ab5760405162461bcd60e51b8152600401610253906110bd565b505050505050565b60006109bf8284611141565b9392505050565b600080846001600160a01b031663a9059cbb85856040516024016109eb929190610dc6565b6040516020818303038152906040529060e01b6020820180516001600160e01b038381831617835250505050604051610a249190610d1f565b6000604051808303816000865af19150503d8060008114610a61576040519150601f19603f3d011682016040523d82523d6000602084013e610a66565b606091505b5091509150818015610a90575080511580610a90575080806020019051810190610a909190610c51565b610aac5760405162461bcd60e51b815260040161025390610e3b565b5050505050565b80356001600160a01b0381168114610aca57600080fd5b919050565b600082601f830112610adf578081fd5b813567ffffffffffffffff80821115610afa57610afa6111cf565b604051601f8301601f191681016020018281118282101715610b1e57610b1e6111cf565b604052828152848301602001861015610b35578384fd5b82602086016020830137918201602001929092529392505050565b600060208284031215610b61578081fd5b6109bf82610ab3565b600080600060608486031215610b7e578182fd5b610b8784610ab3565b9250610b9560208501610ab3565b9150604084013590509250925092565b600080600080600060a08688031215610bbc578081fd5b610bc586610ab3565b9450602086013567ffffffffffffffff80821115610be1578283fd5b610bed89838a01610acf565b95506040880135915080821115610c02578283fd5b50610c0f88828901610acf565b9598949750949560608101359550608001359392505050565b60008060408385031215610c3a578182fd5b610c4383610ab3565b946020939093013593505050565b600060208284031215610c62578081fd5b815180151581146109bf578182fd5b600080600060608486031215610c85578283fd5b833567ffffffffffffffff80821115610c9c578485fd5b610ca887838801610acf565b94506020860135915080821115610cbd578384fd5b50610cca86828701610acf565b925050604084013590509250925092565b600060208284031215610cec578081fd5b5051919050565b60008151808452610d0b816020860160208601611164565b601f01601f19169290920160200192915050565b60008251610d31818460208701611164565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600060018060a01b03808916835260c06020840152610d9560c0840189610cf3565b81881660408501528381036060850152610daf8188610cf3565b608085019690965250505060a00152949350505050565b6001600160a01b03929092168252602082015260400190565b6000602082526109bf6020830184610cf3565b600060a08252610e0560a0830188610cf3565b6001600160a01b03871660208401528281036040840152610e268187610cf3565b60608401959095525050608001529392505050565b6020808252601f908201527f5472616e7366657248656c7065723a205452414e534645525f4641494c454400604082015260600190565b60208082526025908201527f46524f4d5f544f4b454e5f414d4f554e545f4d5553545f42455f4d4f52455f54604082015264048414e5f360dc1b606082015260800190565b6020808252601e908201527f414d4f554e545f43414e4e545f4d4f52455f5448414e5f42414c414e43450000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601e908201527f4554485f414d4f554e545f4d5553545f42455f4d4f52455f5448414e5f300000604082015260600190565b6020808252601e908201527f44455354494e4154494f4e5f43414e4e545f42455f305f414444524553530000604082015260600190565b60208082526027908201527f4e4f5f46524f4d5f544f4b454e5f5452414e534645525f544f5f544849535f4360408201526613d395149050d560ca1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601390820152720544f4b454e5f4d5553545f4e4f545f42455f3606c1b604082015260600190565b602080825260159082015274046524f4d544f4b454e5f43414e545f545f42455f3605c1b604082015260600190565b60208082526023908201527f5472616e7366657248656c7065723a204554485f5452414e534645525f46414960408201526213115160ea1b606082015260800190565b60208082526024908201527f5472616e7366657248656c7065723a205452414e534645525f46524f4d5f46416040820152631253115160e21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b90815260200190565b60008282101561115f57634e487b7160e01b81526011600452602481fd5b500390565b60005b8381101561117f578181015183820152602001611167565b8381111561118e576000848401525b50505050565b6002810460018216806111a857607f821691505b602082108114156111c957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fdfea264697066735822122097aef730e38bcafe3a097fed3f6392140278fcd4cf93a5eab8a30bc8c33834fe64736f6c63430008000033

Deployed Bytecode Sourcemap

204:2851:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;292:18;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1804:331;;;;;;:::i;:::-;;:::i;:::-;;2143:382;;;;;;;;;;-1:-1:-1;2143:382:5;;;;;:::i;:::-;;:::i;1650:94:2:-;;;;;;;;;;;;;:::i;999:87::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;319:20:5:-;;;;;;;;;;;;;:::i;901:895::-;;;;;;;;;;-1:-1:-1;901:895:5;;;;;:::i;:::-;;:::i;2533:482::-;;;;;;;;;;-1:-1:-1;2533:482:5;;;;;:::i;:::-;;:::i;1899:192:2:-;;;;;;;;;;-1:-1:-1;1899:192:2;;;;;:::i;:::-;;:::i;292:18:5:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1804:331::-;1713:1:3;2309:7;;:19;;2301:63;;;;-1:-1:-1;;;2301:63:3;;;;;;;:::i;:::-;;;;;;;;;1713:1;2442:7;:18;1964:9:5::1;1992:14:::0;1984:57:::1;;;;-1:-1:-1::0;;;1984:57:5::1;;;;;;;:::i;:::-;2057:70;2065:7;2074:10;2086:11;2099:10;2111:15;2057:70;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;1669:1:3;2621:7;:22;-1:-1:-1;;1804:331:5:o;2143:382::-;1230:12:2;:10;:12::i;:::-;-1:-1:-1;;;;;1219:23:2;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1219:23:2;;1211:68;;;;-1:-1:-1;;;1211:68:2;;;;;;;:::i;:::-;-1:-1:-1;;;;;2239:25:5;::::1;2231:68;;;;-1:-1:-1::0;;;2231:68:5::1;;;;;;;:::i;:::-;2328:21;2368:17:::0;;::::1;;2360:60;;;;-1:-1:-1::0;;;2360:60:5::1;;;;;;;:::i;:::-;2431:51;2462:11;2475:6;2431:30;:51::i;:::-;2498:19;2510:6;2498:19;;;;;;:::i;:::-;;;;;;;;1290:1:2;2143:382:5::0;;:::o;1650:94:2:-;1230:12;:10;:12::i;:::-;-1:-1:-1;;;;;1219:23:2;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1219:23:2;;1211:68;;;;-1:-1:-1;;;1211:68:2;;;;;;;:::i;:::-;1715:21:::1;1733:1;1715:9;:21::i;:::-;1650:94::o:0;999:87::-;1072:6;;-1:-1:-1;;;;;1072:6:2;999:87;:::o;319:20:5:-;;;;;;;:::i;901:895::-;1713:1:3;2309:7;;:19;;2301:63;;;;-1:-1:-1;;;2301:63:3;;;;;;;:::i;:::-;1713:1;2442:7;:18;-1:-1:-1;;;;;1122:23:5;::::1;1114:57;;;;-1:-1:-1::0;;;1114:57:5::1;;;;;;;:::i;:::-;1203:1;1190:10;:14;1182:64;;;;-1:-1:-1::0;;;1182:64:5::1;;;;;;;:::i;:::-;1257:20;1288:31:::0;1329:9:::1;-1:-1:-1::0;;;;;1322:27:5::1;;1358:4;1322:42;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1288:76;;1375:81;1407:9;1418:10;1438:4;1445:10;1375:31;:81::i;:::-;1498:42;::::0;-1:-1:-1;;;1498:42:5;;1467:28:::1;::::0;-1:-1:-1;;;;;1498:27:5;::::1;::::0;::::1;::::0;:42:::1;::::0;1534:4:::1;::::0;1498:42:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1467:73:::0;-1:-1:-1;1566:49:5::1;1467:73:::0;1591:23;1566:24:::1;:49::i;:::-;1551:64;;1649:1;1634:12;:16;1626:68;;;;-1:-1:-1::0;;;1626:68:5::1;;;;;;;:::i;:::-;1710:78;1715:9;1726:7;1735:10;1747:11;1760:10;1772:15;1710:78;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;1669:1:3;2621:7;:22;-1:-1:-1;;;;;;901:895:5:o;2533:482::-;1230:12:2;:10;:12::i;:::-;-1:-1:-1;;;;;1219:23:2;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1219:23:2;;1211:68;;;;-1:-1:-1;;;1211:68:2;;;;;;;:::i;:::-;-1:-1:-1;;;;;2641:25:5;::::1;2633:68;;;;-1:-1:-1::0;;;2633:68:5::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;2720:19:5;::::1;2712:51;;;;-1:-1:-1::0;;;2712:51:5::1;;;;;;;:::i;:::-;2792:38;::::0;-1:-1:-1;;;2792:38:5;;2774:15:::1;::::0;-1:-1:-1;;;;;2792:23:5;::::1;::::0;::::1;::::0;:38:::1;::::0;2824:4:::1;::::0;2792:38:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2774:56;;2860:6;2849:7;:17;;2841:60;;;;-1:-1:-1::0;;;2841:60:5::1;;;;;;;:::i;:::-;2912:55;2940:5;2947:11;2960:6;2912:27;:55::i;:::-;2983:24;2993:5;3000:6;2983:24;;;;;;;:::i;:::-;;;;;;;;1290:1:2;2533:482:5::0;;;:::o;1899:192:2:-;1230:12;:10;:12::i;:::-;-1:-1:-1;;;;;1219:23:2;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1219:23:2;;1211:68;;;;-1:-1:-1;;;1211:68:2;;;;;;;:::i;:::-;-1:-1:-1;;;;;1988:22:2;::::1;1980:73;;;;-1:-1:-1::0;;;1980:73:2::1;;;;;;;:::i;:::-;2064:19;2074:8;2064:9;:19::i;:::-;1899:192:::0;:::o;602:98:0:-;682:10;602:98;:::o;1238:195:6:-;1346:12;;;1308;1346;;;;;;;;;-1:-1:-1;;;;;1325:7:6;;;1339:5;;1325:34;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1307:52;;;1378:7;1370:55;;;;-1:-1:-1;;;1370:55:6;;;;;;;:::i;:::-;1238:195;;;:::o;2099:173:2:-;2174:6;;;-1:-1:-1;;;;;2191:17:2;;;-1:-1:-1;;;;;;2191:17:2;;;;;;;2224:40;;2174:6;;;2191:17;2174:6;;2224:40;;2155:16;;2224:40;2099:173;;:::o;828:402:6:-;1007:12;1021:17;1042:5;-1:-1:-1;;;;;1042:10:6;1076;1088:4;1094:2;1098:5;1053:51;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1053:51:6;;;;;;;;;;;1042:63;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1006:99;;;;1124:7;:57;;;;-1:-1:-1;1136:11:6;;:16;;:44;;;1167:4;1156:24;;;;;;;;;;;;:::i;:::-;1116:106;;;;-1:-1:-1;;;1116:106:6;;;;;;;:::i;:::-;828:402;;;;;;:::o;3144:98:4:-;3202:7;3229:5;3233:1;3229;:5;:::i;:::-;3222:12;3144:98;-1:-1:-1;;;3144:98:4:o;459:361:6:-;608:12;622:17;643:5;-1:-1:-1;;;;;643:10:6;677;689:2;693:5;654:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;654:45:6;;;;;;;;;;;643:57;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;607:93;;;;719:7;:57;;;;-1:-1:-1;731:11:6;;:16;;:44;;;762:4;751:24;;;;;;;;;;;;:::i;:::-;711:101;;;;-1:-1:-1;;;711:101:6;;;;;;;:::i;:::-;459:361;;;;;:::o;14:175:7:-;84:20;;-1:-1:-1;;;;;133:31:7;;123:42;;113:2;;179:1;176;169:12;113:2;65:124;;;:::o;194:713::-;;292:3;285:4;277:6;273:17;269:27;259:2;;314:5;307;300:20;259:2;354:6;341:20;380:18;417:2;413;410:10;407:2;;;423:18;;:::i;:::-;472:2;466:9;541:2;522:13;;-1:-1:-1;;518:27:7;506:40;;548:4;502:51;568:18;;;588:22;;;565:46;562:2;;;614:18;;:::i;:::-;650:2;643:22;674:18;;;711:15;;;728:4;707:26;704:35;-1:-1:-1;701:2:7;;;756:5;749;742:20;701:2;824;817:4;809:6;805:17;798:4;790:6;786:17;773:54;847:15;;;864:4;843:26;836:41;;;;851:6;249:658;-1:-1:-1;;;249:658:7:o;912:198::-;;1024:2;1012:9;1003:7;999:23;995:32;992:2;;;1045:6;1037;1030:22;992:2;1073:31;1094:9;1073:31;:::i;1115:342::-;;;;1261:2;1249:9;1240:7;1236:23;1232:32;1229:2;;;1282:6;1274;1267:22;1229:2;1310:31;1331:9;1310:31;:::i;:::-;1300:41;;1360:40;1396:2;1385:9;1381:18;1360:40;:::i;:::-;1350:50;;1447:2;1436:9;1432:18;1419:32;1409:42;;1219:238;;;;;:::o;1462:791::-;;;;;;1662:3;1650:9;1641:7;1637:23;1633:33;1630:2;;;1684:6;1676;1669:22;1630:2;1712:31;1733:9;1712:31;:::i;:::-;1702:41;;1794:2;1783:9;1779:18;1766:32;1817:18;1858:2;1850:6;1847:14;1844:2;;;1879:6;1871;1864:22;1844:2;1907:52;1951:7;1942:6;1931:9;1927:22;1907:52;:::i;:::-;1897:62;;2012:2;2001:9;1997:18;1984:32;1968:48;;2041:2;2031:8;2028:16;2025:2;;;2062:6;2054;2047:22;2025:2;;2090:54;2136:7;2125:8;2114:9;2110:24;2090:54;:::i;:::-;1620:633;;;;-1:-1:-1;2080:64:7;;2191:2;2176:18;;2163:32;;-1:-1:-1;2242:3:7;2227:19;2214:33;;1620:633;-1:-1:-1;;;1620:633:7:o;2258:266::-;;;2387:2;2375:9;2366:7;2362:23;2358:32;2355:2;;;2408:6;2400;2393:22;2355:2;2436:31;2457:9;2436:31;:::i;:::-;2426:41;2514:2;2499:18;;;;2486:32;;-1:-1:-1;;;2345:179:7:o;2529:297::-;;2649:2;2637:9;2628:7;2624:23;2620:32;2617:2;;;2670:6;2662;2655:22;2617:2;2707:9;2701:16;2760:5;2753:13;2746:21;2739:5;2736:32;2726:2;;2787:6;2779;2772:22;2831:645;;;;2997:2;2985:9;2976:7;2972:23;2968:32;2965:2;;;3018:6;3010;3003:22;2965:2;3063:9;3050:23;3092:18;3133:2;3125:6;3122:14;3119:2;;;3154:6;3146;3139:22;3119:2;3182:52;3226:7;3217:6;3206:9;3202:22;3182:52;:::i;:::-;3172:62;;3287:2;3276:9;3272:18;3259:32;3243:48;;3316:2;3306:8;3303:16;3300:2;;;3337:6;3329;3322:22;3300:2;;3365:54;3411:7;3400:8;3389:9;3385:24;3365:54;:::i;:::-;3355:64;;;3466:2;3455:9;3451:18;3438:32;3428:42;;2955:521;;;;;:::o;3481:194::-;;3604:2;3592:9;3583:7;3579:23;3575:32;3572:2;;;3625:6;3617;3610:22;3572:2;-1:-1:-1;3653:16:7;;3562:113;-1:-1:-1;3562:113:7:o;3680:260::-;;3762:5;3756:12;3789:6;3784:3;3777:19;3805:63;3861:6;3854:4;3849:3;3845:14;3838:4;3831:5;3827:16;3805:63;:::i;:::-;3922:2;3901:15;-1:-1:-1;;3897:29:7;3888:39;;;;3929:4;3884:50;;3732:208;-1:-1:-1;;3732:208:7:o;3945:274::-;;4112:6;4106:13;4128:53;4174:6;4169:3;4162:4;4154:6;4150:17;4128:53;:::i;:::-;4197:16;;;;;4082:137;-1:-1:-1;;4082:137:7:o;4224:203::-;-1:-1:-1;;;;;4388:32:7;;;;4370:51;;4358:2;4343:18;;4325:102::o;4432:375::-;-1:-1:-1;;;;;4690:15:7;;;4672:34;;4742:15;;;;4737:2;4722:18;;4715:43;4789:2;4774:18;;4767:34;;;;4622:2;4607:18;;4589:218::o;4812:731::-;;5130:1;5126;5121:3;5117:11;5113:19;5171:2;5163:6;5159:15;5148:9;5141:34;5211:3;5206:2;5195:9;5191:18;5184:31;5238:48;5281:3;5270:9;5266:19;5258:6;5238:48;:::i;:::-;5334:2;5326:6;5322:15;5317:2;5306:9;5302:18;5295:43;5386:9;5378:6;5374:22;5369:2;5358:9;5354:18;5347:50;5414:35;5442:6;5434;5414:35;:::i;:::-;5480:3;5465:19;;5458:35;;;;-1:-1:-1;;;5524:3:7;5509:19;5502:35;5406:43;5093:450;-1:-1:-1;;;;5093:450:7:o;5548:274::-;-1:-1:-1;;;;;5740:32:7;;;;5722:51;;5804:2;5789:18;;5782:34;5710:2;5695:18;;5677:145::o;5827:222::-;;5976:2;5965:9;5958:21;5996:47;6039:2;6028:9;6024:18;6016:6;5996:47;:::i;6054:629::-;;6335:3;6324:9;6317:22;6362:48;6405:3;6394:9;6390:19;6382:6;6362:48;:::i;:::-;-1:-1:-1;;;;;6446:32:7;;6441:2;6426:18;;6419:60;6515:22;;;6510:2;6495:18;;6488:50;6555:35;6519:6;6575;6555:35;:::i;:::-;6621:2;6606:18;;6599:34;;;;-1:-1:-1;;6664:3:7;6649:19;6642:35;6547:43;6307:376;-1:-1:-1;;;6307:376:7:o;6688:355::-;6890:2;6872:21;;;6929:2;6909:18;;;6902:30;6968:33;6963:2;6948:18;;6941:61;7034:2;7019:18;;6862:181::o;7048:401::-;7250:2;7232:21;;;7289:2;7269:18;;;7262:30;7328:34;7323:2;7308:18;;7301:62;-1:-1:-1;;;7394:2:7;7379:18;;7372:35;7439:3;7424:19;;7222:227::o;7454:354::-;7656:2;7638:21;;;7695:2;7675:18;;;7668:30;7734:32;7729:2;7714:18;;7707:60;7799:2;7784:18;;7628:180::o;7813:402::-;8015:2;7997:21;;;8054:2;8034:18;;;8027:30;8093:34;8088:2;8073:18;;8066:62;-1:-1:-1;;;8159:2:7;8144:18;;8137:36;8205:3;8190:19;;7987:228::o;8220:354::-;8422:2;8404:21;;;8461:2;8441:18;;;8434:30;8500:32;8495:2;8480:18;;8473:60;8565:2;8550:18;;8394:180::o;8579:354::-;8781:2;8763:21;;;8820:2;8800:18;;;8793:30;8859:32;8854:2;8839:18;;8832:60;8924:2;8909:18;;8753:180::o;8938:403::-;9140:2;9122:21;;;9179:2;9159:18;;;9152:30;9218:34;9213:2;9198:18;;9191:62;-1:-1:-1;;;9284:2:7;9269:18;;9262:37;9331:3;9316:19;;9112:229::o;9346:356::-;9548:2;9530:21;;;9567:18;;;9560:30;9626:34;9621:2;9606:18;;9599:62;9693:2;9678:18;;9520:182::o;9707:343::-;9909:2;9891:21;;;9948:2;9928:18;;;9921:30;-1:-1:-1;;;9982:2:7;9967:18;;9960:49;10041:2;10026:18;;9881:169::o;10055:345::-;10257:2;10239:21;;;10296:2;10276:18;;;10269:30;-1:-1:-1;;;10330:2:7;10315:18;;10308:51;10391:2;10376:18;;10229:171::o;10405:399::-;10607:2;10589:21;;;10646:2;10626:18;;;10619:30;10685:34;10680:2;10665:18;;10658:62;-1:-1:-1;;;10751:2:7;10736:18;;10729:33;10794:3;10779:19;;10579:225::o;10809:400::-;11011:2;10993:21;;;11050:2;11030:18;;;11023:30;11089:34;11084:2;11069:18;;11062:62;-1:-1:-1;;;11155:2:7;11140:18;;11133:34;11199:3;11184:19;;10983:226::o;11214:355::-;11416:2;11398:21;;;11455:2;11435:18;;;11428:30;11494:33;11489:2;11474:18;;11467:61;11560:2;11545:18;;11388:181::o;11574:177::-;11720:25;;;11708:2;11693:18;;11675:76::o;11756:228::-;;11824:1;11821;11818:8;11815:2;;;-1:-1:-1;;;11849:34:7;;11906:4;11903:1;11896:15;11937:4;11856;11924:18;11815:2;-1:-1:-1;11969:9:7;;11805:179::o;11989:258::-;12061:1;12071:113;12085:6;12082:1;12079:13;12071:113;;;12161:11;;;12155:18;12142:11;;;12135:39;12107:2;12100:10;12071:113;;;12202:6;12199:1;12196:13;12193:2;;;12237:1;12228:6;12223:3;12219:16;12212:27;12193:2;;12042:205;;;:::o;12252:380::-;12337:1;12327:12;;12384:1;12374:12;;;12395:2;;12449:4;12441:6;12437:17;12427:27;;12395:2;12502;12494:6;12491:14;12471:18;12468:38;12465:2;;;12548:10;12543:3;12539:20;12536:1;12529:31;12583:4;12580:1;12573:15;12611:4;12608:1;12601:15;12465:2;;12307:325;;;:::o;12637:127::-;12698:10;12693:3;12689:20;12686:1;12679:31;12729:4;12726:1;12719:15;12753:4;12750:1;12743:15

Swarm Source

ipfs://97aef730e38bcafe3a097fed3f6392140278fcd4cf93a5eab8a30bc8c33834fe

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
0x92e929d8B2c8430BcAF4cD87654789578BB2b786
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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