ETH Price: $3,328.04 (-0.85%)

Contract

0x293be20db3e4110670aFBcAE916393e40BC9B42b
 

Overview

ETH Balance

0.129673195995434586 ETH

Eth Value

$431.56 (@ $3,328.04/ETH)

Token Holdings

Multichain Info

Transaction Hash
Method
Block
From
To
Buy Token215249632024-12-31 20:53:472 hrs ago1735678427IN
0x293be20d...40BC9B42b
0.06 ETH0.001034187.34690901
Buy Token215110252024-12-29 22:10:112 days ago1735510211IN
0x293be20d...40BC9B42b
0.1233 ETH0.000934416.63812703
Buy Token214946012024-12-27 15:09:594 days ago1735312199IN
0x293be20d...40BC9B42b
0.12 ETH0.0016821611.95014747
Buy Token214850342024-12-26 7:06:115 days ago1735196771IN
0x293be20d...40BC9B42b
0.32 ETH0.001030266.5262293
Sell Token214738762024-12-24 17:40:117 days ago1735062011IN
0x293be20d...40BC9B42b
0 ETH0.001093757.15345195
Sell Token214685372024-12-23 23:43:597 days ago1734997439IN
0x293be20d...40BC9B42b
0 ETH0.001311168.57601782
Sell Token214685222024-12-23 23:40:598 days ago1734997259IN
0x293be20d...40BC9B42b
0 ETH0.001376759.00433347
Buy Token214638562024-12-23 8:01:238 days ago1734940883IN
0x293be20d...40BC9B42b
0.5254965 ETH0.000732335.20209637
Buy Token214529832024-12-21 19:30:5910 days ago1734809459IN
0x293be20d...40BC9B42b
0.156 ETH0.00129599.20614055
Buy Token214454022024-12-20 18:04:2311 days ago1734717863IN
0x293be20d...40BC9B42b
0.33997994 ETH0.0029326820.83570459
Sell Token214349962024-12-19 7:11:5912 days ago1734592319IN
0x293be20d...40BC9B42b
0 ETH0.0016325611.45895369
Buy Token214185062024-12-16 23:55:2314 days ago1734393323IN
0x293be20d...40BC9B42b
0.24200101 ETH0.0016259411.55077936
Buy Token214006612024-12-14 12:09:3517 days ago1734178175IN
0x293be20d...40BC9B42b
0.09275 ETH0.001143538.12374548
Sell Token213953172024-12-13 18:15:1118 days ago1734113711IN
0x293be20d...40BC9B42b
0 ETH0.0028711919.37623872
Sell Token213953172024-12-13 18:15:1118 days ago1734113711IN
0x293be20d...40BC9B42b
0 ETH0.0031002120.27623872
Buy Token213919152024-12-13 6:51:4718 days ago1734072707IN
0x293be20d...40BC9B42b
0.15 ETH0.0015854911.2633844
Buy Token213863522024-12-12 12:13:3519 days ago1734005615IN
0x293be20d...40BC9B42b
0.086 ETH0.0028015819.90254562
Buy Token213779352024-12-11 7:59:4720 days ago1733903987IN
0x293be20d...40BC9B42b
0.174 ETH0.0015600211.08244392
Sell Token213642552024-12-09 10:09:3522 days ago1733738975IN
0x293be20d...40BC9B42b
0 ETH0.0015987110.45519692
Buy Token213515512024-12-07 15:36:5924 days ago1733585819IN
0x293be20d...40BC9B42b
0.31 ETH0.0019985414.19777291
Buy Token213515442024-12-07 15:35:3524 days ago1733585735IN
0x293be20d...40BC9B42b
0.60645906 ETH0.0017134412.17235878
Buy Token213499472024-12-07 10:13:2324 days ago1733566403IN
0x293be20d...40BC9B42b
0.075 ETH0.0019350113.74644257
Sell Token213462292024-12-06 21:45:3525 days ago1733521535IN
0x293be20d...40BC9B42b
0 ETH0.0038165624.96331957
Sell Token213451882024-12-06 18:16:2325 days ago1733508983IN
0x293be20d...40BC9B42b
0 ETH0.0041931327.42634022
Sell Token213421302024-12-06 8:01:5925 days ago1733472119IN
0x293be20d...40BC9B42b
0 ETH0.0020410413.34999647
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
215249632024-12-31 20:53:472 hrs ago1735678427
0x293be20d...40BC9B42b
0.0597 ETH
215110252024-12-29 22:10:112 days ago1735510211
0x293be20d...40BC9B42b
0.1226835 ETH
214946012024-12-27 15:09:594 days ago1735312199
0x293be20d...40BC9B42b
0.1194 ETH
214850342024-12-26 7:06:115 days ago1735196771
0x293be20d...40BC9B42b
0.3184 ETH
214738762024-12-24 17:40:117 days ago1735062011
0x293be20d...40BC9B42b
0.17997931 ETH
214738762024-12-24 17:40:117 days ago1735062011
0x293be20d...40BC9B42b
0.18088373 ETH
214685372024-12-23 23:43:597 days ago1734997439
0x293be20d...40BC9B42b
0.10809986 ETH
214685372024-12-23 23:43:597 days ago1734997439
0x293be20d...40BC9B42b
0.10864308 ETH
214685222024-12-23 23:40:598 days ago1734997259
0x293be20d...40BC9B42b
0.25538895 ETH
214685222024-12-23 23:40:598 days ago1734997259
0x293be20d...40BC9B42b
0.25667231 ETH
214638562024-12-23 8:01:238 days ago1734940883
0x293be20d...40BC9B42b
0.52286902 ETH
214529832024-12-21 19:30:5910 days ago1734809459
0x293be20d...40BC9B42b
0.15522 ETH
214454022024-12-20 18:04:2311 days ago1734717863
0x293be20d...40BC9B42b
0.33828004 ETH
214349962024-12-19 7:11:5912 days ago1734592319
0x293be20d...40BC9B42b
0.08014016 ETH
214349962024-12-19 7:11:5912 days ago1734592319
0x293be20d...40BC9B42b
0.08054287 ETH
214236662024-12-17 17:11:4714 days ago1734455507
0x293be20d...40BC9B42b
1.99 ETH
214236662024-12-17 17:11:4714 days ago1734455507
0x293be20d...40BC9B42b
2 ETH
214185062024-12-16 23:55:2314 days ago1734393323
0x293be20d...40BC9B42b
0.24079101 ETH
214011852024-12-14 13:54:4717 days ago1734184487
0x293be20d...40BC9B42b
1.99 ETH
214011852024-12-14 13:54:4717 days ago1734184487
0x293be20d...40BC9B42b
2 ETH
214006612024-12-14 12:09:3517 days ago1734178175
0x293be20d...40BC9B42b
0.09228625 ETH
213953172024-12-13 18:15:1118 days ago1734113711
0x293be20d...40BC9B42b
0.63976401 ETH
213953172024-12-13 18:15:1118 days ago1734113711
0x293be20d...40BC9B42b
0.6429789 ETH
213919152024-12-13 6:51:4718 days ago1734072707
0x293be20d...40BC9B42b
0.14925 ETH
213863522024-12-12 12:13:3519 days ago1734005615
0x293be20d...40BC9B42b
0.08557 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.