ETH Price: $2,578.17 (-1.26%)

Contract

0x293be20db3e4110670aFBcAE916393e40BC9B42b
 

Overview

ETH Balance

0.359439394222292756 ETH

Eth Value

$926.70 (@ $2,578.17/ETH)

Token Holdings

Transaction Hash
Method
Block
From
To
Sell Token208649042024-09-30 17:15:5920 hrs ago1727716559IN
0x293be20d...40BC9B42b
0 ETH0.002378315.55353077
Buy Token208623002024-09-30 8:33:5929 hrs ago1727685239IN
0x293be20d...40BC9B42b
0.278 ETH0.001001767.11656835
Sell Token208607342024-09-30 3:20:1134 hrs ago1727666411IN
0x293be20d...40BC9B42b
0 ETH0.001320348.63609554
Sell Token208367862024-09-26 19:08:474 days ago1727377727IN
0x293be20d...40BC9B42b
0 ETH0.0028194118.44264264
Sell Token208290282024-09-25 17:11:235 days ago1727284283IN
0x293be20d...40BC9B42b
0 ETH0.0016136831.18353883
Sell Token208290272024-09-25 17:11:115 days ago1727284271IN
0x293be20d...40BC9B42b
0 ETH0.0047773631.25017051
Sell Token207842302024-09-19 11:05:4712 days ago1726743947IN
0x293be20d...40BC9B42b
0 ETH0.0026282117.19056969
Buy Token207801202024-09-18 21:19:2312 days ago1726694363IN
0x293be20d...40BC9B42b
0.665 ETH0.0017555212.47027259
Sell Token207565142024-09-15 14:08:2316 days ago1726409303IN
0x293be20d...40BC9B42b
0 ETH0.000368672.41125453
Sell Token207474942024-09-14 7:55:2317 days ago1726300523IN
0x293be20d...40BC9B42b
0 ETH0.000516633.37867657
Sell Token207128582024-09-09 11:48:4722 days ago1725882527IN
0x293be20d...40BC9B42b
0 ETH0.00061744.03798764
Sell Token207001762024-09-07 17:19:5923 days ago1725729599IN
0x293be20d...40BC9B42b
0 ETH0.000347722.27460309
Buy Token206934652024-09-06 18:53:1124 days ago1725648791IN
0x293be20d...40BC9B42b
0.067 ETH0.001014667.20824866
Buy Token206649762024-09-02 19:28:4728 days ago1725305327IN
0x293be20d...40BC9B42b
0.255 ETH0.00118868.44386584
Sell Token206623542024-09-02 10:41:1129 days ago1725273671IN
0x293be20d...40BC9B42b
0 ETH0.000928256.07102053
Sell Token206280022024-08-28 15:32:1133 days ago1724859131IN
0x293be20d...40BC9B42b
0 ETH0.000533643.48993046
Buy Token206073672024-08-25 18:23:2336 days ago1724610203IN
0x293be20d...40BC9B42b
0.58510537 ETH0.000117150.83219831
Sell Token206012322024-08-24 21:46:4737 days ago1724536007IN
0x293be20d...40BC9B42b
0 ETH0.000046990.90810795
Sell Token206012322024-08-24 21:46:4737 days ago1724536007IN
0x293be20d...40BC9B42b
0 ETH0.000138820.90810795
Sell Token205832392024-08-22 9:26:1140 days ago1724318771IN
0x293be20d...40BC9B42b
0 ETH0.000299131.95655683
Sell Token205750072024-08-21 5:48:4741 days ago1724219327IN
0x293be20d...40BC9B42b
0 ETH0.00003930.75945424
Sell Token205750062024-08-21 5:48:3541 days ago1724219315IN
0x293be20d...40BC9B42b
0 ETH0.000103260.67547391
Sell Token205604542024-08-19 5:02:1143 days ago1724043731IN
0x293be20d...40BC9B42b
0 ETH0.000138220.90407295
Sell Token205349132024-08-15 15:25:4746 days ago1723735547IN
0x293be20d...40BC9B42b
0 ETH0.000978176.39801091
Sell Token205263002024-08-14 10:33:2348 days ago1723631603IN
0x293be20d...40BC9B42b
0 ETH0.000452493.0558379
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
208666342024-09-30 23:02:5915 hrs ago1727737379
0x293be20d...40BC9B42b
4.179 ETH
208666342024-09-30 23:02:5915 hrs ago1727737379
0x293be20d...40BC9B42b
4.2 ETH
208649042024-09-30 17:15:5920 hrs ago1727716559
0x293be20d...40BC9B42b
1.37474311 ETH
208649042024-09-30 17:15:5920 hrs ago1727716559
0x293be20d...40BC9B42b
1.38165137 ETH
208623002024-09-30 8:33:5929 hrs ago1727685239
0x293be20d...40BC9B42b
0.27661 ETH
208607342024-09-30 3:20:1134 hrs ago1727666411
0x293be20d...40BC9B42b
0.01820024 ETH
208607342024-09-30 3:20:1134 hrs ago1727666411
0x293be20d...40BC9B42b
0.0182917 ETH
208367862024-09-26 19:08:474 days ago1727377727
0x293be20d...40BC9B42b
0.02571298 ETH
208367862024-09-26 19:08:474 days ago1727377727
0x293be20d...40BC9B42b
0.02584219 ETH
208290272024-09-25 17:11:115 days ago1727284271
0x293be20d...40BC9B42b
0.03868886 ETH
208290272024-09-25 17:11:115 days ago1727284271
0x293be20d...40BC9B42b
0.03888328 ETH
207842302024-09-19 11:05:4712 days ago1726743947
0x293be20d...40BC9B42b
0.18549576 ETH
207842302024-09-19 11:05:4712 days ago1726743947
0x293be20d...40BC9B42b
0.1864279 ETH
207801202024-09-18 21:19:2312 days ago1726694363
0x293be20d...40BC9B42b
0.661675 ETH
207565142024-09-15 14:08:2316 days ago1726409303
0x293be20d...40BC9B42b
0.90231825 ETH
207565142024-09-15 14:08:2316 days ago1726409303
0x293be20d...40BC9B42b
0.90685251 ETH
207474942024-09-14 7:55:2317 days ago1726300523
0x293be20d...40BC9B42b
0.96340835 ETH
207474942024-09-14 7:55:2317 days ago1726300523
0x293be20d...40BC9B42b
0.96824959 ETH
207128582024-09-09 11:48:4722 days ago1725882527
0x293be20d...40BC9B42b
0.62844922 ETH
207128582024-09-09 11:48:4722 days ago1725882527
0x293be20d...40BC9B42b
0.63160726 ETH
207001762024-09-07 17:19:5923 days ago1725729599
0x293be20d...40BC9B42b
0.02657143 ETH
207001762024-09-07 17:19:5923 days ago1725729599
0x293be20d...40BC9B42b
0.02670496 ETH
206934652024-09-06 18:53:1124 days ago1725648791
0x293be20d...40BC9B42b
0.066665 ETH
206649762024-09-02 19:28:4728 days ago1725305327
0x293be20d...40BC9B42b
0.253725 ETH
206623542024-09-02 10:41:1129 days ago1725273671
0x293be20d...40BC9B42b
0.20676207 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OptiSwap

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : OptiSwap.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IWETH.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract OptiSwap is Context, Ownable {
    /*  Uniswap wrapper for optimal swaps */
    using SafeMath for uint256;
    address WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
    IUniswapV2Factory factory = IUniswapV2Factory(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f);

    receive() external payable {}

    function buyToken(address token, uint amountOutMin, uint deadline) public payable {
        require(block.timestamp < deadline, "OptiSwap: Expired");
        uint amountIn = msg.value.mul(995).div(1000);
        IWETH(WETH).deposit{value: amountIn}();
        IUniswapV2Pair pair = IUniswapV2Pair(factory.getPair(token, WETH));
        assert(IWETH(WETH).transfer(address(pair), amountIn));
        uint balanceBefore = IERC20(token).balanceOf(_msgSender());
        uint amountInput;
        uint amountOutput;
        {
        (uint reserve0, uint reserve1,) = pair.getReserves();
        (uint reserveInput, uint reserveOutput) = WETH < token ? (reserve0, reserve1) : (reserve1, reserve0);
        amountInput = IERC20(WETH).balanceOf(address(pair)).sub(reserveInput);
        amountOutput = getAmountOut(amountInput, reserveInput, reserveOutput);
        }
        (uint amount0Out, uint amount1Out) = WETH < token ? (uint(0), amountOutput) : (amountOutput, uint(0));
        pair.swap(amount0Out, amount1Out, _msgSender(), new bytes(0));
        require(
            IERC20(token).balanceOf(_msgSender()).sub(balanceBefore) >= amountOutMin,
            'OptiSwap: Slippage tolerance exceeded.'
        );
    }

    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure returns (uint amountOut) {
        require(amountIn > 0, 'OptiSwap: Zero input');
        require(reserveIn > 0 && reserveOut > 0, 'OptiSwap: Zero liquidity');
        uint amountInWithFee = amountIn.mul(997);
        uint numerator = amountInWithFee.mul(reserveOut);
        uint denominator = reserveIn.mul(1000).add(amountInWithFee);
        amountOut = numerator / denominator;
    }

    function sellToken(address token, uint amountIn, uint amountOutMin, uint deadline) public {
        require(block.timestamp < deadline, "OptiSwap: Expired");
        IUniswapV2Pair pair = IUniswapV2Pair(factory.getPair(token, WETH));
        IERC20(token).transferFrom(_msgSender(), address(pair), amountIn);
        uint amountInput;
        uint amountOutput;
        {
        (uint reserve0, uint reserve1,) = pair.getReserves();
        (uint reserveInput, uint reserveOutput) = WETH > token ? (reserve0, reserve1) : (reserve1, reserve0);
        amountInput = IERC20(token).balanceOf(address(pair)).sub(reserveInput);
        amountOutput = getAmountOut(amountInput, reserveInput, reserveOutput);
        }
        (uint amount0Out, uint amount1Out) = WETH > token ? (uint(0), amountOutput) : (amountOutput, uint(0));
        pair.swap(amount0Out, amount1Out, address(this), new bytes(0));
        uint amountOut = IERC20(WETH).balanceOf(address(this));
        require(amountOut >= amountOutMin, 'OptiSwap: Slippage tolerance exceeded.');
        IWETH(WETH).withdraw(amountOut);
        payable(_msgSender()).transfer(amountOut.mul(995).div(1000));
    }

    function collectFees() public onlyOwner() {
        payable(owner()).transfer(address(this).balance);
    }

}

File 2 of 9 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

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 generally not needed starting with Solidity 0.8, since 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 3 of 9 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 4 of 9 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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

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

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

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

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 5 of 9 : IWETH.sol
pragma solidity >=0.5.0;

interface IWETH {
    function deposit() external payable;
    function transfer(address to, uint value) external returns (bool);
    function withdraw(uint) external;
}

File 6 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

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

pragma solidity ^0.8.0;

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

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

File 8 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev 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 {
        _transferOwnership(address(0));
    }

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

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

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

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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"buyToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"collectFees","outputs":[],"stateMutability":"nonpayable","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":"token","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"sellToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156100ba57600080fd5b506100d76100cc6100dc60201b60201c565b6100e460201b60201c565b6101a8565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611d4b806101b76000396000f3fe6080604052600436106100595760003560e01c8063715018a6146100655780637584b99b1461007c5780638da5cb5b146100a5578063c8796572146100d0578063e671499b146100e7578063f2fde38b1461010357610060565b3661006057005b600080fd5b34801561007157600080fd5b5061007a61012c565b005b34801561008857600080fd5b506100a3600480360381019061009e9190611512565b6101b4565b005b3480156100b157600080fd5b506100ba61086a565b6040516100c7919061173f565b60405180910390f35b3480156100dc57600080fd5b506100e5610893565b005b61010160048036038101906100fc91906114c3565b61095f565b005b34801561010f57600080fd5b5061012a60048036038101906101259190611471565b6110bc565b005b6101346111b4565b73ffffffffffffffffffffffffffffffffffffffff1661015261086a565b73ffffffffffffffffffffffffffffffffffffffff16146101a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161019f90611863565b60405180910390fd5b6101b260006111bc565b565b8042106101f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ed90611843565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e6a4390586600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b815260040161027792919061175a565b60206040518083038186803b15801561028f57600080fd5b505afa1580156102a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102c7919061149a565b90508473ffffffffffffffffffffffffffffffffffffffff166323b872dd6102ed6111b4565b83876040518463ffffffff1660e01b815260040161030d93929190611783565b602060405180830381600087803b15801561032757600080fd5b505af115801561033b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035f9190611575565b506000806000808473ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156103ac57600080fd5b505afa1580156103c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e4919061159e565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff1691506000808a73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161161046857828461046b565b83835b9150915061050a828c73ffffffffffffffffffffffffffffffffffffffff166370a082318a6040518263ffffffff1660e01b81526004016104ac919061173f565b60206040518083038186803b1580156104c457600080fd5b505afa1580156104d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104fc91906115ed565b61128090919063ffffffff16565b9550610517868383611296565b9450505050506000808873ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161161057d57826000610581565b6000835b915091508473ffffffffffffffffffffffffffffffffffffffff1663022c0d9f838330600067ffffffffffffffff8111156105e5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156106175781602001600182028036833780820191505090505b506040518563ffffffff1660e01b815260040161063794939291906118be565b600060405180830381600087803b15801561065157600080fd5b505af1158015610665573d6000803e3d6000fd5b505050506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016106c6919061173f565b60206040518083038186803b1580156106de57600080fd5b505afa1580156106f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071691906115ed565b90508781101561075b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610752906117e3565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b81526004016107b691906118a3565b600060405180830381600087803b1580156107d057600080fd5b505af11580156107e4573d6000803e3d6000fd5b505050506107f06111b4565b73ffffffffffffffffffffffffffffffffffffffff166108fc6108326103e86108246103e38661139c90919063ffffffff16565b6113b290919063ffffffff16565b9081150290604051600060405180830381858888f1935050505015801561085d573d6000803e3d6000fd5b5050505050505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61089b6111b4565b73ffffffffffffffffffffffffffffffffffffffff166108b961086a565b73ffffffffffffffffffffffffffffffffffffffff161461090f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090690611863565b60405180910390fd5b61091761086a565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561095c573d6000803e3d6000fd5b50565b8042106109a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099890611843565b60405180910390fd5b60006109cc6103e86109be6103e33461139c90919063ffffffff16565b6113b290919063ffffffff16565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015610a3857600080fd5b505af1158015610a4c573d6000803e3d6000fd5b50505050506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e6a4390586600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401610ad292919061175a565b60206040518083038186803b158015610aea57600080fd5b505afa158015610afe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b22919061149a565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82846040518363ffffffff1660e01b8152600401610b819291906117ba565b602060405180830381600087803b158015610b9b57600080fd5b505af1158015610baf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd39190611575565b610c06577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b60008573ffffffffffffffffffffffffffffffffffffffff166370a08231610c2c6111b4565b6040518263ffffffff1660e01b8152600401610c48919061173f565b60206040518083038186803b158015610c6057600080fd5b505afa158015610c74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9891906115ed565b90506000806000808573ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015610ce657600080fd5b505afa158015610cfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1e919061159e565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff1691506000808b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1610610da2578284610da5565b83835b91509150610e6682600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401610e08919061173f565b60206040518083038186803b158015610e2057600080fd5b505afa158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906115ed565b61128090919063ffffffff16565b9550610e73868383611296565b9450505050506000808973ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1610610ed957826000610edd565b6000835b915091508573ffffffffffffffffffffffffffffffffffffffff1663022c0d9f8383610f076111b4565b600067ffffffffffffffff811115610f48577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610f7a5781602001600182028036833780820191505090505b506040518563ffffffff1660e01b8152600401610f9a94939291906118be565b600060405180830381600087803b158015610fb457600080fd5b505af1158015610fc8573d6000803e3d6000fd5b505050508861106f868c73ffffffffffffffffffffffffffffffffffffffff166370a08231610ff56111b4565b6040518263ffffffff1660e01b8152600401611011919061173f565b60206040518083038186803b15801561102957600080fd5b505afa15801561103d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106191906115ed565b61128090919063ffffffff16565b10156110b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a7906117e3565b60405180910390fd5b50505050505050505050565b6110c46111b4565b73ffffffffffffffffffffffffffffffffffffffff166110e261086a565b73ffffffffffffffffffffffffffffffffffffffff1614611138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112f90611863565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119f90611803565b60405180910390fd5b6111b1816111bc565b50565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818361128e9190611a18565b905092915050565b60008084116112da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d190611823565b60405180910390fd5b6000831180156112ea5750600082115b611329576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132090611883565b60405180910390fd5b60006113406103e58661139c90919063ffffffff16565b90506000611357848361139c90919063ffffffff16565b90506000611382836113746103e88961139c90919063ffffffff16565b6113c890919063ffffffff16565b90508082611390919061198d565b93505050509392505050565b600081836113aa91906119be565b905092915050565b600081836113c0919061198d565b905092915050565b600081836113d69190611937565b905092915050565b6000813590506113ed81611ca2565b92915050565b60008151905061140281611ca2565b92915050565b60008151905061141781611cb9565b92915050565b60008151905061142c81611cd0565b92915050565b60008135905061144181611ce7565b92915050565b60008151905061145681611ce7565b92915050565b60008151905061146b81611cfe565b92915050565b60006020828403121561148357600080fd5b6000611491848285016113de565b91505092915050565b6000602082840312156114ac57600080fd5b60006114ba848285016113f3565b91505092915050565b6000806000606084860312156114d857600080fd5b60006114e6868287016113de565b93505060206114f786828701611432565b925050604061150886828701611432565b9150509250925092565b6000806000806080858703121561152857600080fd5b6000611536878288016113de565b945050602061154787828801611432565b935050604061155887828801611432565b925050606061156987828801611432565b91505092959194509250565b60006020828403121561158757600080fd5b600061159584828501611408565b91505092915050565b6000806000606084860312156115b357600080fd5b60006115c18682870161141d565b93505060206115d28682870161141d565b92505060406115e38682870161145c565b9150509250925092565b6000602082840312156115ff57600080fd5b600061160d84828501611447565b91505092915050565b61161f81611a4c565b82525050565b60006116308261190a565b61163a8185611915565b935061164a818560208601611abe565b61165381611b4f565b840191505092915050565b600061166b602683611926565b915061167682611b60565b604082019050919050565b600061168e602683611926565b915061169982611baf565b604082019050919050565b60006116b1601483611926565b91506116bc82611bfe565b602082019050919050565b60006116d4601183611926565b91506116df82611c27565b602082019050919050565b60006116f7602083611926565b915061170282611c50565b602082019050919050565b600061171a601883611926565b915061172582611c79565b602082019050919050565b61173981611aa4565b82525050565b60006020820190506117546000830184611616565b92915050565b600060408201905061176f6000830185611616565b61177c6020830184611616565b9392505050565b60006060820190506117986000830186611616565b6117a56020830185611616565b6117b26040830184611730565b949350505050565b60006040820190506117cf6000830185611616565b6117dc6020830184611730565b9392505050565b600060208201905081810360008301526117fc8161165e565b9050919050565b6000602082019050818103600083015261181c81611681565b9050919050565b6000602082019050818103600083015261183c816116a4565b9050919050565b6000602082019050818103600083015261185c816116c7565b9050919050565b6000602082019050818103600083015261187c816116ea565b9050919050565b6000602082019050818103600083015261189c8161170d565b9050919050565b60006020820190506118b86000830184611730565b92915050565b60006080820190506118d36000830187611730565b6118e06020830186611730565b6118ed6040830185611616565b81810360608301526118ff8184611625565b905095945050505050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600061194282611aa4565b915061194d83611aa4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561198257611981611af1565b5b828201905092915050565b600061199882611aa4565b91506119a383611aa4565b9250826119b3576119b2611b20565b5b828204905092915050565b60006119c982611aa4565b91506119d483611aa4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611a0d57611a0c611af1565b5b828202905092915050565b6000611a2382611aa4565b9150611a2e83611aa4565b925082821015611a4157611a40611af1565b5b828203905092915050565b6000611a5782611a84565b9050919050565b60008115159050919050565b60006dffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b60005b83811015611adc578082015181840152602081019050611ac1565b83811115611aeb576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b7f4f707469537761703a20536c69707061676520746f6c6572616e63652065786360008201527f65656465642e0000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f707469537761703a205a65726f20696e707574000000000000000000000000600082015250565b7f4f707469537761703a2045787069726564000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4f707469537761703a205a65726f206c69717569646974790000000000000000600082015250565b611cab81611a4c565b8114611cb657600080fd5b50565b611cc281611a5e565b8114611ccd57600080fd5b50565b611cd981611a6a565b8114611ce457600080fd5b50565b611cf081611aa4565b8114611cfb57600080fd5b50565b611d0781611aae565b8114611d1257600080fd5b5056fea2646970667358221220454456552c5f8a2df5c79a513117e611727a2e8171647f190b17c5dc63d4def264736f6c63430008040033

Deployed Bytecode

0x6080604052600436106100595760003560e01c8063715018a6146100655780637584b99b1461007c5780638da5cb5b146100a5578063c8796572146100d0578063e671499b146100e7578063f2fde38b1461010357610060565b3661006057005b600080fd5b34801561007157600080fd5b5061007a61012c565b005b34801561008857600080fd5b506100a3600480360381019061009e9190611512565b6101b4565b005b3480156100b157600080fd5b506100ba61086a565b6040516100c7919061173f565b60405180910390f35b3480156100dc57600080fd5b506100e5610893565b005b61010160048036038101906100fc91906114c3565b61095f565b005b34801561010f57600080fd5b5061012a60048036038101906101259190611471565b6110bc565b005b6101346111b4565b73ffffffffffffffffffffffffffffffffffffffff1661015261086a565b73ffffffffffffffffffffffffffffffffffffffff16146101a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161019f90611863565b60405180910390fd5b6101b260006111bc565b565b8042106101f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ed90611843565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e6a4390586600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b815260040161027792919061175a565b60206040518083038186803b15801561028f57600080fd5b505afa1580156102a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102c7919061149a565b90508473ffffffffffffffffffffffffffffffffffffffff166323b872dd6102ed6111b4565b83876040518463ffffffff1660e01b815260040161030d93929190611783565b602060405180830381600087803b15801561032757600080fd5b505af115801561033b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035f9190611575565b506000806000808473ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156103ac57600080fd5b505afa1580156103c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e4919061159e565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff1691506000808a73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161161046857828461046b565b83835b9150915061050a828c73ffffffffffffffffffffffffffffffffffffffff166370a082318a6040518263ffffffff1660e01b81526004016104ac919061173f565b60206040518083038186803b1580156104c457600080fd5b505afa1580156104d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104fc91906115ed565b61128090919063ffffffff16565b9550610517868383611296565b9450505050506000808873ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161161057d57826000610581565b6000835b915091508473ffffffffffffffffffffffffffffffffffffffff1663022c0d9f838330600067ffffffffffffffff8111156105e5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156106175781602001600182028036833780820191505090505b506040518563ffffffff1660e01b815260040161063794939291906118be565b600060405180830381600087803b15801561065157600080fd5b505af1158015610665573d6000803e3d6000fd5b505050506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016106c6919061173f565b60206040518083038186803b1580156106de57600080fd5b505afa1580156106f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071691906115ed565b90508781101561075b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610752906117e3565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b81526004016107b691906118a3565b600060405180830381600087803b1580156107d057600080fd5b505af11580156107e4573d6000803e3d6000fd5b505050506107f06111b4565b73ffffffffffffffffffffffffffffffffffffffff166108fc6108326103e86108246103e38661139c90919063ffffffff16565b6113b290919063ffffffff16565b9081150290604051600060405180830381858888f1935050505015801561085d573d6000803e3d6000fd5b5050505050505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61089b6111b4565b73ffffffffffffffffffffffffffffffffffffffff166108b961086a565b73ffffffffffffffffffffffffffffffffffffffff161461090f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090690611863565b60405180910390fd5b61091761086a565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561095c573d6000803e3d6000fd5b50565b8042106109a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099890611843565b60405180910390fd5b60006109cc6103e86109be6103e33461139c90919063ffffffff16565b6113b290919063ffffffff16565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015610a3857600080fd5b505af1158015610a4c573d6000803e3d6000fd5b50505050506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e6a4390586600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401610ad292919061175a565b60206040518083038186803b158015610aea57600080fd5b505afa158015610afe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b22919061149a565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82846040518363ffffffff1660e01b8152600401610b819291906117ba565b602060405180830381600087803b158015610b9b57600080fd5b505af1158015610baf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd39190611575565b610c06577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b60008573ffffffffffffffffffffffffffffffffffffffff166370a08231610c2c6111b4565b6040518263ffffffff1660e01b8152600401610c48919061173f565b60206040518083038186803b158015610c6057600080fd5b505afa158015610c74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9891906115ed565b90506000806000808573ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015610ce657600080fd5b505afa158015610cfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1e919061159e565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff1691506000808b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1610610da2578284610da5565b83835b91509150610e6682600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a082318b6040518263ffffffff1660e01b8152600401610e08919061173f565b60206040518083038186803b158015610e2057600080fd5b505afa158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906115ed565b61128090919063ffffffff16565b9550610e73868383611296565b9450505050506000808973ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1610610ed957826000610edd565b6000835b915091508573ffffffffffffffffffffffffffffffffffffffff1663022c0d9f8383610f076111b4565b600067ffffffffffffffff811115610f48577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610f7a5781602001600182028036833780820191505090505b506040518563ffffffff1660e01b8152600401610f9a94939291906118be565b600060405180830381600087803b158015610fb457600080fd5b505af1158015610fc8573d6000803e3d6000fd5b505050508861106f868c73ffffffffffffffffffffffffffffffffffffffff166370a08231610ff56111b4565b6040518263ffffffff1660e01b8152600401611011919061173f565b60206040518083038186803b15801561102957600080fd5b505afa15801561103d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106191906115ed565b61128090919063ffffffff16565b10156110b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a7906117e3565b60405180910390fd5b50505050505050505050565b6110c46111b4565b73ffffffffffffffffffffffffffffffffffffffff166110e261086a565b73ffffffffffffffffffffffffffffffffffffffff1614611138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112f90611863565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119f90611803565b60405180910390fd5b6111b1816111bc565b50565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818361128e9190611a18565b905092915050565b60008084116112da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d190611823565b60405180910390fd5b6000831180156112ea5750600082115b611329576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132090611883565b60405180910390fd5b60006113406103e58661139c90919063ffffffff16565b90506000611357848361139c90919063ffffffff16565b90506000611382836113746103e88961139c90919063ffffffff16565b6113c890919063ffffffff16565b90508082611390919061198d565b93505050509392505050565b600081836113aa91906119be565b905092915050565b600081836113c0919061198d565b905092915050565b600081836113d69190611937565b905092915050565b6000813590506113ed81611ca2565b92915050565b60008151905061140281611ca2565b92915050565b60008151905061141781611cb9565b92915050565b60008151905061142c81611cd0565b92915050565b60008135905061144181611ce7565b92915050565b60008151905061145681611ce7565b92915050565b60008151905061146b81611cfe565b92915050565b60006020828403121561148357600080fd5b6000611491848285016113de565b91505092915050565b6000602082840312156114ac57600080fd5b60006114ba848285016113f3565b91505092915050565b6000806000606084860312156114d857600080fd5b60006114e6868287016113de565b93505060206114f786828701611432565b925050604061150886828701611432565b9150509250925092565b6000806000806080858703121561152857600080fd5b6000611536878288016113de565b945050602061154787828801611432565b935050604061155887828801611432565b925050606061156987828801611432565b91505092959194509250565b60006020828403121561158757600080fd5b600061159584828501611408565b91505092915050565b6000806000606084860312156115b357600080fd5b60006115c18682870161141d565b93505060206115d28682870161141d565b92505060406115e38682870161145c565b9150509250925092565b6000602082840312156115ff57600080fd5b600061160d84828501611447565b91505092915050565b61161f81611a4c565b82525050565b60006116308261190a565b61163a8185611915565b935061164a818560208601611abe565b61165381611b4f565b840191505092915050565b600061166b602683611926565b915061167682611b60565b604082019050919050565b600061168e602683611926565b915061169982611baf565b604082019050919050565b60006116b1601483611926565b91506116bc82611bfe565b602082019050919050565b60006116d4601183611926565b91506116df82611c27565b602082019050919050565b60006116f7602083611926565b915061170282611c50565b602082019050919050565b600061171a601883611926565b915061172582611c79565b602082019050919050565b61173981611aa4565b82525050565b60006020820190506117546000830184611616565b92915050565b600060408201905061176f6000830185611616565b61177c6020830184611616565b9392505050565b60006060820190506117986000830186611616565b6117a56020830185611616565b6117b26040830184611730565b949350505050565b60006040820190506117cf6000830185611616565b6117dc6020830184611730565b9392505050565b600060208201905081810360008301526117fc8161165e565b9050919050565b6000602082019050818103600083015261181c81611681565b9050919050565b6000602082019050818103600083015261183c816116a4565b9050919050565b6000602082019050818103600083015261185c816116c7565b9050919050565b6000602082019050818103600083015261187c816116ea565b9050919050565b6000602082019050818103600083015261189c8161170d565b9050919050565b60006020820190506118b86000830184611730565b92915050565b60006080820190506118d36000830187611730565b6118e06020830186611730565b6118ed6040830185611616565b81810360608301526118ff8184611625565b905095945050505050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600061194282611aa4565b915061194d83611aa4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561198257611981611af1565b5b828201905092915050565b600061199882611aa4565b91506119a383611aa4565b9250826119b3576119b2611b20565b5b828204905092915050565b60006119c982611aa4565b91506119d483611aa4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611a0d57611a0c611af1565b5b828202905092915050565b6000611a2382611aa4565b9150611a2e83611aa4565b925082821015611a4157611a40611af1565b5b828203905092915050565b6000611a5782611a84565b9050919050565b60008115159050919050565b60006dffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b60005b83811015611adc578082015181840152602081019050611ac1565b83811115611aeb576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b7f4f707469537761703a20536c69707061676520746f6c6572616e63652065786360008201527f65656465642e0000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f707469537761703a205a65726f20696e707574000000000000000000000000600082015250565b7f4f707469537761703a2045787069726564000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4f707469537761703a205a65726f206c69717569646974790000000000000000600082015250565b611cab81611a4c565b8114611cb657600080fd5b50565b611cc281611a5e565b8114611ccd57600080fd5b50565b611cd981611a6a565b8114611ce457600080fd5b50565b611cf081611aa4565b8114611cfb57600080fd5b50565b611d0781611aae565b8114611d1257600080fd5b5056fea2646970667358221220454456552c5f8a2df5c79a513117e611727a2e8171647f190b17c5dc63d4def264736f6c63430008040033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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