ETH Price: $2,441.61 (-9.35%)

Contract

0xF22d9Cc5328a08afC86595B9B373668049F87c2E
Transaction Hash
Block
From
To
Withdraw4162706922025-12-31 1:34:3432 days ago1767144874IN
0xF22d9Cc5...049F87c2E
0 ETH0.00000050.01
Withdraw4060531492025-12-01 13:07:0361 days ago1764594423IN
0xF22d9Cc5...049F87c2E
0 ETH0.000003980.080247
Withdraw4060180612025-12-01 10:41:3561 days ago1764585695IN
0xF22d9Cc5...049F87c2E
0 ETH0.000000490.01
Withdraw4060103152025-12-01 10:09:2661 days ago1764583766IN
0xF22d9Cc5...049F87c2E
0 ETH0.000000560.011425
Withdraw ETH4049748862025-11-28 10:20:0564 days ago1764325205IN
0xF22d9Cc5...049F87c2E
0 ETH0.000000350.01
Transfer4049747232025-11-28 10:19:2464 days ago1764325164IN
0xF22d9Cc5...049F87c2E
0.0167 ETH0.000000210.01
Transfer4012356952025-11-17 14:44:1875 days ago1763390658IN
0xF22d9Cc5...049F87c2E
0.018 ETH0.000006830.324356
Transfer3986748252025-11-10 4:59:2983 days ago1762750769IN
0xF22d9Cc5...049F87c2E
0.01 ETH0.000000210.01
Transfer3972968302025-11-06 5:24:3787 days ago1762406677IN
0xF22d9Cc5...049F87c2E
0.01 ETH0.000000220.01
Transfer3972853742025-11-06 4:36:5487 days ago1762403814IN
0xF22d9Cc5...049F87c2E
0.01 ETH0.000000220.01
Transfer3956246152025-11-01 9:26:5691 days ago1761989216IN
0xF22d9Cc5...049F87c2E
0.004 ETH0.000000210.01
Transfer3922121442025-10-22 12:48:02101 days ago1761137282IN
0xF22d9Cc5...049F87c2E
0.008 ETH0.000000210.01
Transfer3914621892025-10-20 8:43:07103 days ago1760949787IN
0xF22d9Cc5...049F87c2E
0.004 ETH0.000000210.01
Transfer3911729312025-10-19 12:35:32104 days ago1760877332IN
0xF22d9Cc5...049F87c2E
0.0046 ETH0.000000210.01
Transfer3911672362025-10-19 12:11:47104 days ago1760875907IN
0xF22d9Cc5...049F87c2E
0.0076 ETH0.000000210.01
Transfer3906976652025-10-18 3:36:03106 days ago1760758563IN
0xF22d9Cc5...049F87c2E
0.006 ETH0.000000210.01
Transfer3903764082025-10-17 5:18:37107 days ago1760678317IN
0xF22d9Cc5...049F87c2E
0.0052 ETH0.000000210.01
Withdraw ETH3901434402025-10-16 13:08:44107 days ago1760620124IN
0xF22d9Cc5...049F87c2E
0 ETH0.000000350.01
Transfer3901433412025-10-16 13:08:19107 days ago1760620099IN
0xF22d9Cc5...049F87c2E
0.005 ETH0.000000210.01
Transfer3901403852025-10-16 12:56:01107 days ago1760619361IN
0xF22d9Cc5...049F87c2E
0.005 ETH0.000000220.01
Transfer3898193392025-10-15 14:40:20108 days ago1760539220IN
0xF22d9Cc5...049F87c2E
0.005 ETH0.000000940.043177
Transfer3894096732025-10-14 10:16:11109 days ago1760436971IN
0xF22d9Cc5...049F87c2E
0.004 ETH0.000000760.036048
Transfer3893902882025-10-14 8:55:37109 days ago1760432137IN
0xF22d9Cc5...049F87c2E
0.01 ETH0.000000330.014344
Transfer3891409902025-10-13 15:38:52110 days ago1760369932IN
0xF22d9Cc5...049F87c2E
0.005 ETH0.000000410.017501
Withdraw3867086882025-10-06 15:04:34117 days ago1759763074IN
0xF22d9Cc5...049F87c2E
0 ETH0.000000960.018652
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
4049748862025-11-28 10:20:0564 days ago1764325205
0xF22d9Cc5...049F87c2E
0.1041 ETH
3901434402025-10-16 13:08:44107 days ago1760620124
0xF22d9Cc5...049F87c2E
0.07432152 ETH
3586165552025-07-17 10:22:15198 days ago1752747735
0xF22d9Cc5...049F87c2E
0.0987 ETH
3551384862025-07-07 8:38:37208 days ago1751877517
0xF22d9Cc5...049F87c2E
0.11781807 ETH
3538713722025-07-03 16:27:00212 days ago1751560020
0xF22d9Cc5...049F87c2E
0.1358 ETH
3534311332025-07-02 9:51:09213 days ago1751449869
0xF22d9Cc5...049F87c2E
0.130754 ETH
3529686922025-07-01 1:41:57215 days ago1751334117
0xF22d9Cc5...049F87c2E
0.16423304 ETH
3500690632025-06-22 16:03:13223 days ago1750608193
0xF22d9Cc5...049F87c2E
2.53086299 ETH
3492688202025-06-20 8:23:42225 days ago1750407822
0xF22d9Cc5...049F87c2E
0.11250179 ETH
3485545522025-06-18 6:29:45227 days ago1750228185
0xF22d9Cc5...049F87c2E
0.11517181 ETH
3460995142025-06-11 3:33:49235 days ago1749612829
0xF22d9Cc5...049F87c2E
0.14018974 ETH
3448276562025-06-07 10:47:15238 days ago1749293235
0xF22d9Cc5...049F87c2E
0.11523717 ETH
3427500352025-06-01 9:54:46244 days ago1748771686
0xF22d9Cc5...049F87c2E
0.1227797 ETH
3407115892025-05-26 11:46:02250 days ago1748259962
0xF22d9Cc5...049F87c2E
0.1085657 ETH
3351740222025-05-10 9:09:03266 days ago1746868143
0xF22d9Cc5...049F87c2E
0.124293 ETH
3268805912025-04-16 6:30:21290 days ago1744785021
0xF22d9Cc5...049F87c2E
0.004 ETH
3201032892025-03-27 14:18:18310 days ago1743085098
0xF22d9Cc5...049F87c2E
2.71 ETH
3121590402025-03-04 12:43:09333 days ago1741092189
0xF22d9Cc5...049F87c2E
0.01395 ETH
3023672452025-02-03 23:59:16362 days ago1738627156
0xF22d9Cc5...049F87c2E
0.161 ETH
3011703962025-01-31 11:55:07365 days ago1738324507
0xF22d9Cc5...049F87c2E
0.09 ETH
2995216872025-01-26 16:07:15370 days ago1737907635
0xF22d9Cc5...049F87c2E
0.08115953 ETH
2950634972025-01-13 17:36:10383 days ago1736789770
0xF22d9Cc5...049F87c2E
0.11771814 ETH
2914728042025-01-03 6:59:43393 days ago1735887583
0xF22d9Cc5...049F87c2E
0.09969883 ETH
2890853392024-12-27 8:18:21400 days ago1735287501
0xF22d9Cc5...049F87c2E
0.29262688 ETH
2800476302024-12-01 0:25:38427 days ago1733012738
0xF22d9Cc5...049F87c2E
0.30532123 ETH
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xF9a52157...E15b5e579
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
BridgersSwap

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: BridgersSwap.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 BridgersSwap 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 = "Bridgers Swap1.1";
        symbol = "BridgersSwap";
    }

    
    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"}]

0x60806040523480156200001157600080fd5b5060016000556200002b62000025620000a1565b620000a5565b6040805180820190915260108082526f42726964676572732053776170312e3160801b60209092019182526200006491600291620000f7565b5060408051808201909152600c8082526b04272696467657273537761760a41b60209092019182526200009a91600391620000f7565b50620001da565b3390565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000105906200019d565b90600052602060002090601f01602090048101928262000129576000855562000174565b82601f106200014457805160ff191683800117855562000174565b8280016001018555821562000174579182015b828111156200017457825182559160200191906001019062000157565b506200018292915062000186565b5090565b5b8082111562000182576000815560010162000187565b600281046001821680620001b257607f821691505b60208210811415620001d457634e487b7160e01b600052602260045260246000fd5b50919050565b61121b80620001ea6000396000f3fe60806040526004361061008a5760003560e01c80638da5cb5b116100595780638da5cb5b1461010b57806395d89b411461012d5780639ddf93bb14610142578063d9caed1214610162578063f2fde38b1461018257610091565b806306fdde031461009657806316b3b4c2146100c15780634782f779146100d6578063715018a6146100f657610091565b3661009157005b600080fd5b3480156100a257600080fd5b506100ab6101a2565b6040516100b89190610ddf565b60405180910390f35b6100d46100cf366004610c71565b610230565b005b3480156100e257600080fd5b506100d46100f1366004610c28565b6102c9565b34801561010257600080fd5b506100d4610395565b34801561011757600080fd5b506101206103e0565b6040516100b89190610d3b565b34801561013957600080fd5b506100ab6103ef565b34801561014e57600080fd5b506100d461015d366004610ba5565b6103fc565b34801561016e57600080fd5b506100d461017d366004610b6a565b6105f4565b34801561018e57600080fd5b506100d461019d366004610b50565b61076a565b600280546101af90611194565b80601f01602080910402602001604051908101604052809291908181526020018280546101db90611194565b80156102285780601f106101fd57610100808354040283529160200191610228565b820191906000526020600020905b81548152906001019060200180831161020b57829003601f168201915b505050505081565b6002600054141561025c5760405162461bcd60e51b815260040161025390611101565b60405180910390fd5b6002600055348061027f5760405162461bcd60e51b815260040161025390610f34565b7f4e96fb90a89341a56db7ad2bbf04c715bbf20be6a9a9e764671f718c4697649a84338584866040516102b6959493929190610df2565b60405180910390a1505060016000555050565b6102d16107db565b6001600160a01b03166102e26103e0565b6001600160a01b0316146103085760405162461bcd60e51b815260040161025390610fe9565b6001600160a01b03821661032e5760405162461bcd60e51b815260040161025390610f6b565b478181101561034f5760405162461bcd60e51b815260040161025390610eb7565b61035983836107df565b7f94effa14ea3a1ef396fa2fd829336d1597f1d76b548c26bfa2332869706638af826040516103889190611138565b60405180910390a1505050565b61039d6107db565b6001600160a01b03166103ae6103e0565b6001600160a01b0316146103d45760405162461bcd60e51b815260040161025390610fe9565b6103de6000610871565b565b6001546001600160a01b031690565b600380546101af90611194565b6002600054141561041f5760405162461bcd60e51b815260040161025390611101565b60026000556001600160a01b03851661044a5760405162461bcd60e51b81526004016102539061104b565b6000821161046a5760405162461bcd60e51b815260040161025390610e72565b600080866001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016104999190610d3b565b60206040518083038186803b1580156104b157600080fd5b505afa1580156104c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e99190610cdb565b90506104f7873330876108c3565b6040516370a0823160e01b81526000906001600160a01b038916906370a0823190610526903090600401610d3b565b60206040518083038186803b15801561053e57600080fd5b505afa158015610552573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105769190610cdb565b905061058281836109b3565b9250600083116105a45760405162461bcd60e51b815260040161025390610fa2565b7f45f377f845e1cc76ae2c08f990e15d58bcb732db46f92a4852b956580c3a162f8888338989896040516105dd96959493929190610d73565b60405180910390a150506001600055505050505050565b6105fc6107db565b6001600160a01b031661060d6103e0565b6001600160a01b0316146106335760405162461bcd60e51b815260040161025390610fe9565b6001600160a01b0382166106595760405162461bcd60e51b815260040161025390610f6b565b6001600160a01b03831661067f5760405162461bcd60e51b81526004016102539061101e565b6040516370a0823160e01b81526000906001600160a01b038516906370a08231906106ae903090600401610d3b565b60206040518083038186803b1580156106c657600080fd5b505afa1580156106da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fe9190610cdb565b9050818110156107205760405162461bcd60e51b815260040161025390610eb7565b61072b8484846109c6565b7f7bf0873174a9cc6b28e039b52e74903dd59d650205f32748e3c3dd6b9918ea87848360405161075c929190610dc6565b60405180910390a150505050565b6107726107db565b6001600160a01b03166107836103e0565b6001600160a01b0316146107a95760405162461bcd60e51b815260040161025390610fe9565b6001600160a01b0381166107cf5760405162461bcd60e51b815260040161025390610eee565b6107d881610871565b50565b3390565b604080516000808252602082019092526001600160a01b0384169083906040516108099190610d1f565b60006040518083038185875af1925050503d8060008114610846576040519150601f19603f3d011682016040523d82523d6000602084013e61084b565b606091505b505090508061086c5760405162461bcd60e51b81526004016102539061107a565b505050565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080856001600160a01b03166323b872dd8686866040516024016108ea93929190610d4f565b6040516020818303038152906040529060e01b6020820180516001600160e01b0383818316178352505050506040516109239190610d1f565b6000604051808303816000865af19150503d8060008114610960576040519150601f19603f3d011682016040523d82523d6000602084013e610965565b606091505b509150915081801561098f57508051158061098f57508080602001905181019061098f9190610c51565b6109ab5760405162461bcd60e51b8152600401610253906110bd565b505050505050565b60006109bf8284611141565b9392505050565b600080846001600160a01b031663a9059cbb85856040516024016109eb929190610dc6565b6040516020818303038152906040529060e01b6020820180516001600160e01b038381831617835250505050604051610a249190610d1f565b6000604051808303816000865af19150503d8060008114610a61576040519150601f19603f3d011682016040523d82523d6000602084013e610a66565b606091505b5091509150818015610a90575080511580610a90575080806020019051810190610a909190610c51565b610aac5760405162461bcd60e51b815260040161025390610e3b565b5050505050565b80356001600160a01b0381168114610aca57600080fd5b919050565b600082601f830112610adf578081fd5b813567ffffffffffffffff80821115610afa57610afa6111cf565b604051601f8301601f191681016020018281118282101715610b1e57610b1e6111cf565b604052828152848301602001861015610b35578384fd5b82602086016020830137918201602001929092529392505050565b600060208284031215610b61578081fd5b6109bf82610ab3565b600080600060608486031215610b7e578182fd5b610b8784610ab3565b9250610b9560208501610ab3565b9150604084013590509250925092565b600080600080600060a08688031215610bbc578081fd5b610bc586610ab3565b9450602086013567ffffffffffffffff80821115610be1578283fd5b610bed89838a01610acf565b95506040880135915080821115610c02578283fd5b50610c0f88828901610acf565b9598949750949560608101359550608001359392505050565b60008060408385031215610c3a578182fd5b610c4383610ab3565b946020939093013593505050565b600060208284031215610c62578081fd5b815180151581146109bf578182fd5b600080600060608486031215610c85578283fd5b833567ffffffffffffffff80821115610c9c578485fd5b610ca887838801610acf565b94506020860135915080821115610cbd578384fd5b50610cca86828701610acf565b925050604084013590509250925092565b600060208284031215610cec578081fd5b5051919050565b60008151808452610d0b816020860160208601611164565b601f01601f19169290920160200192915050565b60008251610d31818460208701611164565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600060018060a01b03808916835260c06020840152610d9560c0840189610cf3565b81881660408501528381036060850152610daf8188610cf3565b608085019690965250505060a00152949350505050565b6001600160a01b03929092168252602082015260400190565b6000602082526109bf6020830184610cf3565b600060a08252610e0560a0830188610cf3565b6001600160a01b03871660208401528281036040840152610e268187610cf3565b60608401959095525050608001529392505050565b6020808252601f908201527f5472616e7366657248656c7065723a205452414e534645525f4641494c454400604082015260600190565b60208082526025908201527f46524f4d5f544f4b454e5f414d4f554e545f4d5553545f42455f4d4f52455f54604082015264048414e5f360dc1b606082015260800190565b6020808252601e908201527f414d4f554e545f43414e4e545f4d4f52455f5448414e5f42414c414e43450000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601e908201527f4554485f414d4f554e545f4d5553545f42455f4d4f52455f5448414e5f300000604082015260600190565b6020808252601e908201527f44455354494e4154494f4e5f43414e4e545f42455f305f414444524553530000604082015260600190565b60208082526027908201527f4e4f5f46524f4d5f544f4b454e5f5452414e534645525f544f5f544849535f4360408201526613d395149050d560ca1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601390820152720544f4b454e5f4d5553545f4e4f545f42455f3606c1b604082015260600190565b602080825260159082015274046524f4d544f4b454e5f43414e545f545f42455f3605c1b604082015260600190565b60208082526023908201527f5472616e7366657248656c7065723a204554485f5452414e534645525f46414960408201526213115160ea1b606082015260800190565b60208082526024908201527f5472616e7366657248656c7065723a205452414e534645525f46524f4d5f46416040820152631253115160e21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b90815260200190565b60008282101561115f57634e487b7160e01b81526011600452602481fd5b500390565b60005b8381101561117f578181015183820152602001611167565b8381111561118e576000848401525b50505050565b6002810460018216806111a857607f821691505b602082108114156111c957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fdfea2646970667358221220655fd760401861cfb8e38ec98d015b7025c0929e0a8fbf1fe5b040bee0fc7bbe64736f6c63430008000033

Deployed Bytecode

0x60806040526004361061008a5760003560e01c80638da5cb5b116100595780638da5cb5b1461010b57806395d89b411461012d5780639ddf93bb14610142578063d9caed1214610162578063f2fde38b1461018257610091565b806306fdde031461009657806316b3b4c2146100c15780634782f779146100d6578063715018a6146100f657610091565b3661009157005b600080fd5b3480156100a257600080fd5b506100ab6101a2565b6040516100b89190610ddf565b60405180910390f35b6100d46100cf366004610c71565b610230565b005b3480156100e257600080fd5b506100d46100f1366004610c28565b6102c9565b34801561010257600080fd5b506100d4610395565b34801561011757600080fd5b506101206103e0565b6040516100b89190610d3b565b34801561013957600080fd5b506100ab6103ef565b34801561014e57600080fd5b506100d461015d366004610ba5565b6103fc565b34801561016e57600080fd5b506100d461017d366004610b6a565b6105f4565b34801561018e57600080fd5b506100d461019d366004610b50565b61076a565b600280546101af90611194565b80601f01602080910402602001604051908101604052809291908181526020018280546101db90611194565b80156102285780601f106101fd57610100808354040283529160200191610228565b820191906000526020600020905b81548152906001019060200180831161020b57829003601f168201915b505050505081565b6002600054141561025c5760405162461bcd60e51b815260040161025390611101565b60405180910390fd5b6002600055348061027f5760405162461bcd60e51b815260040161025390610f34565b7f4e96fb90a89341a56db7ad2bbf04c715bbf20be6a9a9e764671f718c4697649a84338584866040516102b6959493929190610df2565b60405180910390a1505060016000555050565b6102d16107db565b6001600160a01b03166102e26103e0565b6001600160a01b0316146103085760405162461bcd60e51b815260040161025390610fe9565b6001600160a01b03821661032e5760405162461bcd60e51b815260040161025390610f6b565b478181101561034f5760405162461bcd60e51b815260040161025390610eb7565b61035983836107df565b7f94effa14ea3a1ef396fa2fd829336d1597f1d76b548c26bfa2332869706638af826040516103889190611138565b60405180910390a1505050565b61039d6107db565b6001600160a01b03166103ae6103e0565b6001600160a01b0316146103d45760405162461bcd60e51b815260040161025390610fe9565b6103de6000610871565b565b6001546001600160a01b031690565b600380546101af90611194565b6002600054141561041f5760405162461bcd60e51b815260040161025390611101565b60026000556001600160a01b03851661044a5760405162461bcd60e51b81526004016102539061104b565b6000821161046a5760405162461bcd60e51b815260040161025390610e72565b600080866001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016104999190610d3b565b60206040518083038186803b1580156104b157600080fd5b505afa1580156104c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e99190610cdb565b90506104f7873330876108c3565b6040516370a0823160e01b81526000906001600160a01b038916906370a0823190610526903090600401610d3b565b60206040518083038186803b15801561053e57600080fd5b505afa158015610552573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105769190610cdb565b905061058281836109b3565b9250600083116105a45760405162461bcd60e51b815260040161025390610fa2565b7f45f377f845e1cc76ae2c08f990e15d58bcb732db46f92a4852b956580c3a162f8888338989896040516105dd96959493929190610d73565b60405180910390a150506001600055505050505050565b6105fc6107db565b6001600160a01b031661060d6103e0565b6001600160a01b0316146106335760405162461bcd60e51b815260040161025390610fe9565b6001600160a01b0382166106595760405162461bcd60e51b815260040161025390610f6b565b6001600160a01b03831661067f5760405162461bcd60e51b81526004016102539061101e565b6040516370a0823160e01b81526000906001600160a01b038516906370a08231906106ae903090600401610d3b565b60206040518083038186803b1580156106c657600080fd5b505afa1580156106da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fe9190610cdb565b9050818110156107205760405162461bcd60e51b815260040161025390610eb7565b61072b8484846109c6565b7f7bf0873174a9cc6b28e039b52e74903dd59d650205f32748e3c3dd6b9918ea87848360405161075c929190610dc6565b60405180910390a150505050565b6107726107db565b6001600160a01b03166107836103e0565b6001600160a01b0316146107a95760405162461bcd60e51b815260040161025390610fe9565b6001600160a01b0381166107cf5760405162461bcd60e51b815260040161025390610eee565b6107d881610871565b50565b3390565b604080516000808252602082019092526001600160a01b0384169083906040516108099190610d1f565b60006040518083038185875af1925050503d8060008114610846576040519150601f19603f3d011682016040523d82523d6000602084013e61084b565b606091505b505090508061086c5760405162461bcd60e51b81526004016102539061107a565b505050565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080856001600160a01b03166323b872dd8686866040516024016108ea93929190610d4f565b6040516020818303038152906040529060e01b6020820180516001600160e01b0383818316178352505050506040516109239190610d1f565b6000604051808303816000865af19150503d8060008114610960576040519150601f19603f3d011682016040523d82523d6000602084013e610965565b606091505b509150915081801561098f57508051158061098f57508080602001905181019061098f9190610c51565b6109ab5760405162461bcd60e51b8152600401610253906110bd565b505050505050565b60006109bf8284611141565b9392505050565b600080846001600160a01b031663a9059cbb85856040516024016109eb929190610dc6565b6040516020818303038152906040529060e01b6020820180516001600160e01b038381831617835250505050604051610a249190610d1f565b6000604051808303816000865af19150503d8060008114610a61576040519150601f19603f3d011682016040523d82523d6000602084013e610a66565b606091505b5091509150818015610a90575080511580610a90575080806020019051810190610a909190610c51565b610aac5760405162461bcd60e51b815260040161025390610e3b565b5050505050565b80356001600160a01b0381168114610aca57600080fd5b919050565b600082601f830112610adf578081fd5b813567ffffffffffffffff80821115610afa57610afa6111cf565b604051601f8301601f191681016020018281118282101715610b1e57610b1e6111cf565b604052828152848301602001861015610b35578384fd5b82602086016020830137918201602001929092529392505050565b600060208284031215610b61578081fd5b6109bf82610ab3565b600080600060608486031215610b7e578182fd5b610b8784610ab3565b9250610b9560208501610ab3565b9150604084013590509250925092565b600080600080600060a08688031215610bbc578081fd5b610bc586610ab3565b9450602086013567ffffffffffffffff80821115610be1578283fd5b610bed89838a01610acf565b95506040880135915080821115610c02578283fd5b50610c0f88828901610acf565b9598949750949560608101359550608001359392505050565b60008060408385031215610c3a578182fd5b610c4383610ab3565b946020939093013593505050565b600060208284031215610c62578081fd5b815180151581146109bf578182fd5b600080600060608486031215610c85578283fd5b833567ffffffffffffffff80821115610c9c578485fd5b610ca887838801610acf565b94506020860135915080821115610cbd578384fd5b50610cca86828701610acf565b925050604084013590509250925092565b600060208284031215610cec578081fd5b5051919050565b60008151808452610d0b816020860160208601611164565b601f01601f19169290920160200192915050565b60008251610d31818460208701611164565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600060018060a01b03808916835260c06020840152610d9560c0840189610cf3565b81881660408501528381036060850152610daf8188610cf3565b608085019690965250505060a00152949350505050565b6001600160a01b03929092168252602082015260400190565b6000602082526109bf6020830184610cf3565b600060a08252610e0560a0830188610cf3565b6001600160a01b03871660208401528281036040840152610e268187610cf3565b60608401959095525050608001529392505050565b6020808252601f908201527f5472616e7366657248656c7065723a205452414e534645525f4641494c454400604082015260600190565b60208082526025908201527f46524f4d5f544f4b454e5f414d4f554e545f4d5553545f42455f4d4f52455f54604082015264048414e5f360dc1b606082015260800190565b6020808252601e908201527f414d4f554e545f43414e4e545f4d4f52455f5448414e5f42414c414e43450000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601e908201527f4554485f414d4f554e545f4d5553545f42455f4d4f52455f5448414e5f300000604082015260600190565b6020808252601e908201527f44455354494e4154494f4e5f43414e4e545f42455f305f414444524553530000604082015260600190565b60208082526027908201527f4e4f5f46524f4d5f544f4b454e5f5452414e534645525f544f5f544849535f4360408201526613d395149050d560ca1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601390820152720544f4b454e5f4d5553545f4e4f545f42455f3606c1b604082015260600190565b602080825260159082015274046524f4d544f4b454e5f43414e545f545f42455f3605c1b604082015260600190565b60208082526023908201527f5472616e7366657248656c7065723a204554485f5452414e534645525f46414960408201526213115160ea1b606082015260800190565b60208082526024908201527f5472616e7366657248656c7065723a205452414e534645525f46524f4d5f46416040820152631253115160e21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b90815260200190565b60008282101561115f57634e487b7160e01b81526011600452602481fd5b500390565b60005b8381101561117f578181015183820152602001611167565b8381111561118e576000848401525b50505050565b6002810460018216806111a857607f821691505b602082108114156111c957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fdfea2646970667358221220655fd760401861cfb8e38ec98d015b7025c0929e0a8fbf1fe5b040bee0fc7bbe64736f6c63430008000033

Deployed Bytecode Sourcemap

195:2807:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;284:18;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1775:327;;;;;;:::i;:::-;;:::i;:::-;;2108:376;;;;;;;;;;-1:-1:-1;2108:376:0;;;;;:::i;:::-;;:::i;1598:92:3:-;;;;;;;;;;;;;:::i;966:85::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;309:20:0:-;;;;;;;;;;;;;:::i;884:880::-;;;;;;;;;;-1:-1:-1;884:880:0;;;;;:::i;:::-;;:::i;2490:475::-;;;;;;;;;;-1:-1:-1;2490:475:0;;;;;:::i;:::-;;:::i;1839:189:3:-;;;;;;;;;;-1:-1:-1;1839:189:3;;;;;:::i;:::-;;:::i;284:18:0:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1775:327::-;1680:1:4;2259:7;;:19;;2251:63;;;;-1:-1:-1;;;2251:63:4;;;;;;;:::i;:::-;;;;;;;;;1680:1;2389:7;:18;1933:9:0::1;1961:14:::0;1953:57:::1;;;;-1:-1:-1::0;;;1953:57:0::1;;;;;;;:::i;:::-;2025:70;2033:7;2042:10;2054:11;2067:10;2079:15;2025:70;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;1637:1:4;2562:7;:22;-1:-1:-1;;1775:327:0:o;2108:376::-;1189:12:3;:10;:12::i;:::-;-1:-1:-1;;;;;1178:23:3;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1178:23:3;;1170:68;;;;-1:-1:-1;;;1170:68:3;;;;;;;:::i;:::-;-1:-1:-1;;;;;2203:25:0;::::1;2195:68;;;;-1:-1:-1::0;;;2195:68:0::1;;;;;;;:::i;:::-;2291:21;2330:17:::0;;::::1;;2322:60;;;;-1:-1:-1::0;;;2322:60:0::1;;;;;;;:::i;:::-;2392:51;2423:11;2436:6;2392:30;:51::i;:::-;2458:19;2470:6;2458:19;;;;;;:::i;:::-;;;;;;;;1248:1:3;2108:376:0::0;;:::o;1598:92:3:-;1189:12;:10;:12::i;:::-;-1:-1:-1;;;;;1178:23:3;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1178:23:3;;1170:68;;;;-1:-1:-1;;;1170:68:3;;;;;;;:::i;:::-;1662:21:::1;1680:1;1662:9;:21::i;:::-;1598:92::o:0;966:85::-;1038:6;;-1:-1:-1;;;;;1038:6:3;966:85;:::o;309:20:0:-;;;;;;;:::i;884:880::-;1680:1:4;2259:7;;:19;;2251:63;;;;-1:-1:-1;;;2251:63:4;;;;;;;:::i;:::-;1680:1;2389:7;:18;-1:-1:-1;;;;;1098:23:0;::::1;1090:57;;;;-1:-1:-1::0;;;1090:57:0::1;;;;;;;:::i;:::-;1179:1;1166:10;:14;1158:64;;;;-1:-1:-1::0;;;1158:64:0::1;;;;;;;:::i;:::-;1232:20;1262:31:::0;1303:9:::1;-1:-1:-1::0;;;;;1296:27:0::1;;1332:4;1296:42;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1262:76;;1348:81;1380:9;1391:10;1411:4;1418:10;1348:31;:81::i;:::-;1470:42;::::0;-1:-1:-1;;;1470:42:0;;1439:28:::1;::::0;-1:-1:-1;;;;;1470:27:0;::::1;::::0;::::1;::::0;:42:::1;::::0;1506:4:::1;::::0;1470:42:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1439:73:::0;-1:-1:-1;1537:49:0::1;1439:73:::0;1562:23;1537:24:::1;:49::i;:::-;1522:64;;1619:1;1604:12;:16;1596:68;;;;-1:-1:-1::0;;;1596:68:0::1;;;;;;;:::i;:::-;1679:78;1684:9;1695:7;1704:10;1716:11;1729:10;1741:15;1679:78;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;1637:1:4;2562:7;:22;-1:-1:-1;;;;;;884:880:0:o;2490:475::-;1189:12:3;:10;:12::i;:::-;-1:-1:-1;;;;;1178:23:3;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1178:23:3;;1170:68;;;;-1:-1:-1;;;1170:68:3;;;;;;;:::i;:::-;-1:-1:-1;;;;;2597:25:0;::::1;2589:68;;;;-1:-1:-1::0;;;2589:68:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;2675:19:0;::::1;2667:51;;;;-1:-1:-1::0;;;2667:51:0::1;;;;;;;:::i;:::-;2746:38;::::0;-1:-1:-1;;;2746:38:0;;2728:15:::1;::::0;-1:-1:-1;;;;;2746:23:0;::::1;::::0;::::1;::::0;:38:::1;::::0;2778:4:::1;::::0;2746:38:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2728:56;;2813:6;2802:7;:17;;2794:60;;;;-1:-1:-1::0;;;2794:60:0::1;;;;;;;:::i;:::-;2864:55;2892:5;2899:11;2912:6;2864:27;:55::i;:::-;2934:24;2944:5;2951:6;2934:24;;;;;;;:::i;:::-;;;;;;;;1248:1:3;2490:475:0::0;;;:::o;1839:189:3:-;1189:12;:10;:12::i;:::-;-1:-1:-1;;;;;1178:23:3;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1178:23:3;;1170:68;;;;-1:-1:-1;;;1170:68:3;;;;;;;:::i;:::-;-1:-1:-1;;;;;1927:22:3;::::1;1919:73;;;;-1:-1:-1::0;;;1919:73:3::1;;;;;;;:::i;:::-;2002:19;2012:8;2002:9;:19::i;:::-;1839:189:::0;:::o;587:96:1:-;666:10;587:96;:::o;1215:192:6:-;1322:12;;;1284;1322;;;;;;;;;-1:-1:-1;;;;;1301:7:6;;;1315:5;;1301:34;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1283:52;;;1353:7;1345:55;;;;-1:-1:-1;;;1345:55:6;;;;;;;:::i;:::-;1215:192;;;:::o;2034:169:3:-;2108:6;;;-1:-1:-1;;;;;2124:17:3;;;-1:-1:-1;;;;;;2124:17:3;;;;;;;2156:40;;2108:6;;;2124:17;2108:6;;2156:40;;2089:16;;2156:40;2034:169;;:::o;811:398:6:-;988:12;1002:17;1023:5;-1:-1:-1;;;;;1023:10:6;1057;1069:4;1075:2;1079:5;1034:51;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1034:51:6;;;;;;;;;;;1023:63;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;987:99;;;;1104:7;:57;;;;-1:-1:-1;1116:11:6;;:16;;:44;;;1147:4;1136:24;;;;;;;;;;;;:::i;:::-;1096:106;;;;-1:-1:-1;;;1096:106:6;;;;;;;:::i;:::-;811:398;;;;;;:::o;3039:96:5:-;3097:7;3123:5;3127:1;3123;:5;:::i;:::-;3116:12;3039:96;-1:-1:-1;;;3039:96:5:o;448:357:6:-;595:12;609:17;630:5;-1:-1:-1;;;;;630:10:6;664;676:2;680:5;641:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;641:45:6;;;;;;;;;;;630:57;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;594:93;;;;705:7;:57;;;;-1:-1:-1;717:11:6;;:16;;:44;;;748:4;737:24;;;;;;;;;;;;:::i;:::-;697:101;;;;-1:-1:-1;;;697:101:6;;;;;;;:::i;:::-;448:357;;;;;:::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://655fd760401861cfb8e38ec98d015b7025c0929e0a8fbf1fe5b040bee0fc7bbe

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
0xF22d9Cc5328a08afC86595B9B373668049F87c2E
Net Worth in USD
$3,676.91

Net Worth in ETH
1.505935

Token Allocations
USDC 13.80%
WETH 11.62%
USD1 8.32%
Others 66.26%
Chain Token Portfolio % Price Amount Value
ETH11.13%$2,440.690.1676$409.07
ETH8.32%$0.998554306.3893$305.95
ETH8.31%$0.00000744,749,177.24$305.64
ETH8.28%$10.0130.4017$304.32
ETH7.68%$0.00000467,278,397.32$282.57
ETH5.12%$78,4730.0024$188.34
ETH3.49%$128.690.998$128.43
ETH1.36%$0.99960550.0001$49.98
ETH0.57%$3.995.22$20.83
ETH0.31%$0.42286326.8634$11.36
ETH0.07%$2,440.690.00100001$2.44
ETH0.06%$0.0681232.7127$2.23
BSC6.11%$0.999698224.667$224.6
BSC5.82%$2,439.050.0878$214.08
BSC4.79%$0.99893176.1587$175.97
BSC3.55%$1.5484.73$130.48
BSC1.84%$780.260.0867$67.66
BSC0.99%$1.6622$36.57
BSC0.04%$781.930.002$1.56
ARB7.04%$0.998832259.1627$258.86
ARB0.25%$2,438.150.0038$9.26
ARB0.18%$0.14088246.0247$6.48
ARB
Ether (ETH)
<0.01%$2,441.610.00004001$0.097683
OP5.05%$0.999605185.8041$185.73
OP0.54%$0.9989320$19.98
OP0.25%$2,438.160.003703$9.03
OP0.05%$2,442.060.00080001$1.95
POL2.74%$0.998832101$100.88
POL0.54%$0.106324188.02$19.99
PLASMA1.41%$0.99828551.9151$51.83
PLASMA<0.01%$0.108690.0001$0.000011
AVAX1.28%$0.99960447.1608$47.14
AVAX0.11%$10.210.4$4.08
BASE1.07%$0.99922539.3403$39.31
BASE0.07%$2,442.480.001$2.44
MANTLE0.79%$0.71754840.5$29.06
OPBNB0.78%$781.870.0367$28.71
SONIC<0.01%$0.0522760.02$0.001046
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.