ETH Price: $3,395.97 (+1.43%)

Contract

0x6DC63c4897cDb709AbF201629716D7EF8d0b607d
 
Transaction Hash
Method
Block
From
To
Transfer215075182024-12-29 10:25:352 hrs ago1735467935IN
0x6DC63c48...F8d0b607d
0.6 ETH0.000084854.03015485
Transfer215073802024-12-29 9:57:472 hrs ago1735466267IN
0x6DC63c48...F8d0b607d
0.05 ETH0.000076293.62340051
Transfer215071142024-12-29 9:04:353 hrs ago1735463075IN
0x6DC63c48...F8d0b607d
0.032 ETH0.000073033.46889301
Withdraw ETH215070832024-12-29 8:58:233 hrs ago1735462703IN
0x6DC63c48...F8d0b607d
0 ETH0.000108323.0876443
Transfer215070772024-12-29 8:57:113 hrs ago1735462631IN
0x6DC63c48...F8d0b607d
0.6 ETH0.00007173.40571214
Transfer215064412024-12-29 6:49:235 hrs ago1735454963IN
0x6DC63c48...F8d0b607d
1 ETH0.000069433.29790393
Transfer215037522024-12-28 21:48:5914 hrs ago1735422539IN
0x6DC63c48...F8d0b607d
0.01 ETH0.000094844.50471838
Transfer215030032024-12-28 19:18:3517 hrs ago1735413515IN
0x6DC63c48...F8d0b607d
0.01 ETH0.000107215.09228585
Transfer215026622024-12-28 18:09:3518 hrs ago1735409375IN
0x6DC63c48...F8d0b607d
0.002 ETH0.000136566.48598434
Transfer215026202024-12-28 18:01:1118 hrs ago1735408871IN
0x6DC63c48...F8d0b607d
0.0055 ETH0.000158837.54396464
Transfer215023082024-12-28 16:58:2319 hrs ago1735405103IN
0x6DC63c48...F8d0b607d
0.002 ETH0.00014426.84897923
Transfer215021232024-12-28 16:21:1120 hrs ago1735402871IN
0x6DC63c48...F8d0b607d
0.01 ETH0.000115025.46303515
Transfer215020622024-12-28 16:08:5920 hrs ago1735402139IN
0x6DC63c48...F8d0b607d
0.01 ETH0.000126366.00143245
Transfer215015892024-12-28 14:34:2321 hrs ago1735396463IN
0x6DC63c48...F8d0b607d
0.0027 ETH0.000134416.38392915
Transfer215014922024-12-28 14:14:5922 hrs ago1735395299IN
0x6DC63c48...F8d0b607d
0.05 ETH0.000168227.98960966
Transfer215013552024-12-28 13:47:1122 hrs ago1735393631IN
0x6DC63c48...F8d0b607d
0.00248527 ETH0.000134366.3815362
Transfer215012822024-12-28 13:32:3522 hrs ago1735392755IN
0x6DC63c48...F8d0b607d
0.05 ETH0.000130016.17519667
Transfer215008872024-12-28 12:13:1124 hrs ago1735387991IN
0x6DC63c48...F8d0b607d
0.005 ETH0.000145526.91164142
Transfer215008802024-12-28 12:11:4724 hrs ago1735387907IN
0x6DC63c48...F8d0b607d
0.022 ETH0.000112585.34697781
Transfer215002812024-12-28 10:11:1126 hrs ago1735380671IN
0x6DC63c48...F8d0b607d
0.005 ETH0.00009484.50270272
Transfer214999972024-12-28 9:14:1127 hrs ago1735377251IN
0x6DC63c48...F8d0b607d
0.0016 ETH0.000100494.77292784
Transfer214998202024-12-28 8:38:3527 hrs ago1735375115IN
0x6DC63c48...F8d0b607d
0.005 ETH0.000092144.37628363
Transfer214997152024-12-28 8:17:3528 hrs ago1735373855IN
0x6DC63c48...F8d0b607d
0.005 ETH0.00008634.0990442
Withdraw ETH214986582024-12-28 4:45:1131 hrs ago1735361111IN
0x6DC63c48...F8d0b607d
0 ETH0.000120863.44513975
Transfer214986512024-12-28 4:43:4731 hrs ago1735361027IN
0x6DC63c48...F8d0b607d
0.15 ETH0.000083393.96090258
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
215070832024-12-29 8:58:233 hrs ago1735462703
0x6DC63c48...F8d0b607d
1.79828527 ETH
214986582024-12-28 4:45:1131 hrs ago1735361111
0x6DC63c48...F8d0b607d
1.35961061 ETH
214760712024-12-25 1:01:594 days ago1735088519
0x6DC63c48...F8d0b607d
7.76195125 ETH
214644692024-12-23 10:03:596 days ago1734948239
0x6DC63c48...F8d0b607d
1.94192453 ETH
214465072024-12-20 21:45:598 days ago1734731159
0x6DC63c48...F8d0b607d
1.5 ETH
214459942024-12-20 20:03:118 days ago1734724991
0x6DC63c48...F8d0b607d
3.0866 ETH
214449102024-12-20 16:25:358 days ago1734711935
0x6DC63c48...F8d0b607d
10.94 ETH
214374122024-12-19 15:18:359 days ago1734621515
0x6DC63c48...F8d0b607d
1.405 ETH
214348672024-12-19 6:45:5910 days ago1734590759
0x6DC63c48...F8d0b607d
1.19829063 ETH
214178862024-12-16 21:51:1112 days ago1734385871
0x6DC63c48...F8d0b607d
2 ETH
214173532024-12-16 20:04:2312 days ago1734379463
0x6DC63c48...F8d0b607d
1.47913685 ETH
214086632024-12-15 14:58:1113 days ago1734274691
0x6DC63c48...F8d0b607d
1.402 ETH
214077152024-12-15 11:47:2314 days ago1734263243
0x6DC63c48...F8d0b607d
2.002 ETH
214075482024-12-15 11:13:4714 days ago1734261227
0x6DC63c48...F8d0b607d
2.35884444 ETH
213971502024-12-14 0:24:1115 days ago1734135851
0x6DC63c48...F8d0b607d
3.45338292 ETH
213940822024-12-13 14:06:5915 days ago1734098819
0x6DC63c48...F8d0b607d
1.65 ETH
213936602024-12-13 12:42:2315 days ago1734093743
0x6DC63c48...F8d0b607d
1.4 ETH
213933022024-12-13 11:30:3516 days ago1734089435
0x6DC63c48...F8d0b607d
1.18671396 ETH
213901612024-12-13 0:59:1116 days ago1734051551
0x6DC63c48...F8d0b607d
2.755 ETH
213888552024-12-12 20:36:2316 days ago1734035783
0x6DC63c48...F8d0b607d
2.51 ETH
213886752024-12-12 20:00:2316 days ago1734033623
0x6DC63c48...F8d0b607d
2.55 ETH
213874712024-12-12 15:58:3516 days ago1734019115
0x6DC63c48...F8d0b607d
2.03 ETH
213853022024-12-12 8:42:2317 days ago1733992943
0x6DC63c48...F8d0b607d
1.09165326 ETH
213783492024-12-11 9:23:4718 days ago1733909027
0x6DC63c48...F8d0b607d
2.651 ETH
213747862024-12-10 21:27:3518 days ago1733866055
0x6DC63c48...F8d0b607d
4.02 ETH
View All Internal 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

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

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Chain Token Portfolio % Price Amount Value
ETH17.60%$0.998074,128.2977$4,120.33
ETH10.68%$0.9998372,500$2,499.59
ETH
Ether (ETH)
10.04%$3,395.970.692$2,350.01
ETH5.53%$0.9996881,295.6692$1,295.26
ETH4.99%$3,395.970.3441$1,168.59
ETH4.66%$0.00002249,266,262.91$1,090.76
ETH2.70%$0.0001793,541,176$632.52
ETH2.37%$3.43162.0388$555.79
ETH2.25%$340.321.55$527.5
ETH1.48%$21.4916.1349$346.74
ETH1.46%$0.567176603$342.01
ETH1.44%$13.3125.33$337.14
ETH0.90%$1.35157$211.7
ETH0.46%$0.763211140$106.85
ETH0.39%$0.000252366,584$92.42
ETH0.30%$1.2556$70
ETH0.24%$94,9330.0006$56.96
BASE4.02%$0.999973942$941.97
BASE3.59%$3,397.650.2474$840.66
BASE2.83%$3,396.010.1954$663.41
BSC2.00%$2.61179.4143$468.27
BSC1.69%$0.99807396$395.24
BSC0.84%$94,9420.00206081$195.66
BSC0.66%$710.130.216$153.39
BSC0.56%$7.0418.7232$131.81
BSC0.06%$21.520.7$15.07
FTM2.62%$94,9330.006455$612.79
FTM2.56%$0.7986751$599.75
ARB2.61%$3,395.960.1797$610.41
ARB1.40%$0.99838328.6314$328.1
ARB0.05%$5.372.2$11.81
POL1.48%$0.998469346.92$346.39
POL0.51%$1118.6526$118.65
POL0.44%$3,397.330.0304$103.31
POL0.07%$0.48133634.2388$16.48
AVAX1.07%$1250$250
AVAX0.54%$0.998296126.5198$126.3
AVAX0.37%$0.99829686.757$86.61
AVAX0.06%$36.950.4$14.78
OP1.04%$1242.86$242.86
OP0.55%$0.998469128.2683$128.07
OP0.39%$3,396.570.0268$91.15
OPBNB0.32%$710.120.1044$74.11
SCROLL0.17%$3,395.970.012$40.75
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.