ETH Price: $3,157.38 (-8.76%)
Gas: 3 Gwei

Contract

0xf7b1F46D8915495d68BBF6Cf7341B703673c1A32
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve195226952024-03-27 2:20:47120 days ago1711506047IN
0xf7b1F46D...3673c1A32
0 ETH0.0005280421.84247635
Approve163787272023-01-10 20:14:11561 days ago1673381651IN
0xf7b1F46D...3673c1A32
0 ETH0.0006727727.82956197
Approve159796422022-11-16 2:35:11617 days ago1668566111IN
0xf7b1F46D...3673c1A32
0 ETH0.0003789115.67393353
Approve153959672022-08-23 10:14:16701 days ago1661249656IN
0xf7b1F46D...3673c1A32
0 ETH0.00019958.25267204
Approve153959672022-08-23 10:14:16701 days ago1661249656IN
0xf7b1F46D...3673c1A32
0 ETH0.00019958.25267204
Approve141348722022-02-03 19:15:05902 days ago1643915705IN
0xf7b1F46D...3673c1A32
0 ETH0.00640429138.6
Approve141347152022-02-03 18:40:44902 days ago1643913644IN
0xf7b1F46D...3673c1A32
0 ETH0.0089965194.7
Transfer140308962022-01-18 17:32:44918 days ago1642527164IN
0xf7b1F46D...3673c1A32
0 ETH0.02012714115.5
Approve140273712022-01-18 4:22:45919 days ago1642479765IN
0xf7b1F46D...3673c1A32
0 ETH0.00589601127.6
Approve139721362022-01-09 15:26:12927 days ago1641741972IN
0xf7b1F46D...3673c1A32
0 ETH0.00525906113.81538201
Approve139652812022-01-08 14:25:02928 days ago1641651902IN
0xf7b1F46D...3673c1A32
0 ETH0.0026023256.31879948
Approve139605522022-01-07 20:46:16929 days ago1641588376IN
0xf7b1F46D...3673c1A32
0 ETH0.00588307126.62931771
Approve139594072022-01-07 16:35:42929 days ago1641573342IN
0xf7b1F46D...3673c1A32
0 ETH0.01108043239.8
Approve139426702022-01-05 1:57:47932 days ago1641347867IN
0xf7b1F46D...3673c1A32
0 ETH0.0045328298.09819298
Approve139348952022-01-03 21:23:38933 days ago1641245018IN
0xf7b1F46D...3673c1A32
0 ETH0.0023150188
Approve139212562022-01-01 18:49:07935 days ago1641062947IN
0xf7b1F46D...3673c1A32
0 ETH0.0036087678.1
Approve139196752022-01-01 12:57:03935 days ago1641041823IN
0xf7b1F46D...3673c1A32
0 ETH0.0023150188
Approve139149992021-12-31 19:35:21936 days ago1640979321IN
0xf7b1F46D...3673c1A32
0 ETH0.0024001791.23704589
Approve139147012021-12-31 18:29:29936 days ago1640975369IN
0xf7b1F46D...3673c1A32
0 ETH0.00472906179.76447684
Approve139138662021-12-31 15:17:26936 days ago1640963846IN
0xf7b1F46D...3673c1A32
0 ETH0.0023150188
Approve139137362021-12-31 14:48:12936 days ago1640962092IN
0xf7b1F46D...3673c1A32
0 ETH0.0038994884.39173167
Approve139137362021-12-31 14:48:12936 days ago1640962092IN
0xf7b1F46D...3673c1A32
0 ETH0.0038994884.39173167
Approve139137072021-12-31 14:40:20936 days ago1640961620IN
0xf7b1F46D...3673c1A32
0 ETH0.0031795568.81108853
Approve139136802021-12-31 14:34:32936 days ago1640961272IN
0xf7b1F46D...3673c1A32
0 ETH0.00466469100.95221363
Approve139136732021-12-31 14:32:10936 days ago1640961130IN
0xf7b1F46D...3673c1A32
0 ETH0.0026043999
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
140485632022-01-21 11:05:49915 days ago1642763149
0xf7b1F46D...3673c1A32
0.00573074 ETH
140485632022-01-21 11:05:49915 days ago1642763149
0xf7b1F46D...3673c1A32
0.00573074 ETH
140308962022-01-18 17:32:44918 days ago1642527164
0xf7b1F46D...3673c1A32
0.00072264 ETH
140308962022-01-18 17:32:44918 days ago1642527164
0xf7b1F46D...3673c1A32
0.00072264 ETH
138966512021-12-28 23:17:55939 days ago1640733475
0xf7b1F46D...3673c1A32
0.01240253 ETH
138966512021-12-28 23:17:55939 days ago1640733475
0xf7b1F46D...3673c1A32
0.01240253 ETH
138561462021-12-22 16:46:48945 days ago1640191608
0xf7b1F46D...3673c1A32
0.00066835 ETH
138561462021-12-22 16:46:48945 days ago1640191608
0xf7b1F46D...3673c1A32
0.00066835 ETH
137847992021-12-11 15:59:35956 days ago1639238375
0xf7b1F46D...3673c1A32
0.06045713 ETH
137847992021-12-11 15:59:35956 days ago1639238375
0xf7b1F46D...3673c1A32
0.06045713 ETH
137842992021-12-11 14:08:39956 days ago1639231719
0xf7b1F46D...3673c1A32
0.02880606 ETH
137842992021-12-11 14:08:39956 days ago1639231719
0xf7b1F46D...3673c1A32
0.02880606 ETH
137832632021-12-11 10:15:43956 days ago1639217743
0xf7b1F46D...3673c1A32
0.34738755 ETH
137832632021-12-11 10:15:43956 days ago1639217743
0xf7b1F46D...3673c1A32
0.34738755 ETH
137824922021-12-11 7:25:38957 days ago1639207538
0xf7b1F46D...3673c1A32
0.39586498 ETH
137824922021-12-11 7:25:38957 days ago1639207538
0xf7b1F46D...3673c1A32
0.39586498 ETH
137757182021-12-10 6:20:09958 days ago1639117209
0xf7b1F46D...3673c1A32
0.00697271 ETH
137757182021-12-10 6:20:09958 days ago1639117209
0xf7b1F46D...3673c1A32
0.00697271 ETH
137756672021-12-10 6:08:46958 days ago1639116526
0xf7b1F46D...3673c1A32
0.0183268 ETH
137756672021-12-10 6:08:46958 days ago1639116526
0xf7b1F46D...3673c1A32
0.0183268 ETH
137753422021-12-10 4:56:06958 days ago1639112166
0xf7b1F46D...3673c1A32
0.01530735 ETH
137753422021-12-10 4:56:06958 days ago1639112166
0xf7b1F46D...3673c1A32
0.01530735 ETH
137746092021-12-10 2:07:48958 days ago1639102068
0xf7b1F46D...3673c1A32
0.05573776 ETH
137746092021-12-10 2:07:48958 days ago1639102068
0xf7b1F46D...3673c1A32
0.05573776 ETH
137728632021-12-09 19:26:41958 days ago1639078001
0xf7b1F46D...3673c1A32
0.25838356 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RUGORTREAT

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion
File 1 of 1 : RugOrTreat.sol
// SPDX-License-Identifier: unlicensed

pragma solidity ^0.6.12;
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");
    }
    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;
    }
}
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }
}
contract Ownable is Context {
    address private _owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    constructor () public {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }
    function owner() public view returns (address) {
        return _owner;
    }
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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;
}

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;
}

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

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 IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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);
}

contract ERC20 is Context, IERC20, IERC20Metadata {
    using SafeMath for uint256;

    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_) public {
        _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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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 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 to 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 {}
}

contract RUGORTREAT is ERC20, Ownable {
    using SafeMath for uint256;

    IUniswapV2Router02 public uniswapV2Router;
    address public immutable uniswapV2Pair;

    bool private swapping;

    uint256 public swapTokensAtAmount = 666 * (10**18);

    mapping (address => bool) private _isExcluded;

    constructor() public ERC20("Rug Or Treat t.me/RUGorTREAT", "Rug Or Treat") {    	
    	IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = _uniswapV2Pair;

        _isExcluded[owner()] = true;
        _isExcluded[address(this)] = true;
        
        _mint(owner(),  666666666 * (10**18));
    }

    receive() external payable {

  	}   

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0));
        require(to != address(0));

        if(amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

		uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if(
            canSwap &&
            !swapping &&
            from != uniswapV2Pair &&
            from != owner() &&
            to != owner()
        ) {
         
            swapping = true;

            uint256 sellTokens = balanceOf(address(this));
            swapAndSendDividends(sellTokens);

            swapping = false;
        }

        bool takeFee = !swapping;

        if(_isExcluded[from] || _isExcluded[to]) {
            takeFee = false;
        }

        if(takeFee && (to == uniswapV2Pair || from == uniswapV2Pair)) {
          uint256 fees = amount.mul(6).div(100);
        	amount = amount.sub(fees);
          super._transfer(from, address(this), fees);
        }

        super._transfer(from, to, amount);

    }
    
    function swapTokensForEth(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
        
    }

    function swapAndSendDividends(uint256 tokens) private {
        swapTokensForEth(tokens);
        payable(owner()).transfer(address(this).balance);
    }
    
    function airdrop(address[] memory _user, uint256[] memory _amount) external onlyOwner {
        uint256 len = _user.length;
        require(len == _amount.length);
        for (uint256 i = 0; i < len; i++) {
            super._transfer(_msgSender(), _user[i], _amount[i]);
        }
    }
    
    function setSwapAtAmount(uint256 amount) external onlyOwner {
        swapTokensAtAmount = amount;
    }

}

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

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":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":[{"internalType":"address[]","name":"_user","type":"address[]"},{"internalType":"uint256[]","name":"_amount","type":"uint256[]"}],"name":"airdrop","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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":"address","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"}]

60a060405268241a9b4f617a2800006007553480156200001e57600080fd5b50604080518082018252601c81527f527567204f7220547265617420742e6d652f5255476f7254524541540000000060208083019182528351808501909452600c84526b149d59c813dc88151c99585d60a21b9084015281519192916200008891600391620004b1565b5080516200009e906004906020840190620004b1565b5050506000620000b36200032860201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200015657600080fd5b505afa1580156200016b573d6000803e3d6000fd5b505050506040513d60208110156200018257600080fd5b5051604080516315ab88c960e31b815290516001600160a01b039283169263c9c653969230929187169163ad5c464891600480820192602092909190829003018186803b158015620001d357600080fd5b505afa158015620001e8573d6000803e3d6000fd5b505050506040513d6020811015620001ff57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301525160448083019260209291908290030181600087803b1580156200025257600080fd5b505af115801562000267573d6000803e3d6000fd5b505050506040513d60208110156200027e57600080fd5b5051600680546001600160a01b0319166001600160a01b038516179055606081901b6001600160601b0319166080529050600160086000620002bf6200032c565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526008909252902080549091166001179055620003206200030d6200032c565b6b02277428614a865b806800006200033b565b50506200054d565b3390565b6005546001600160a01b031690565b6001600160a01b03821662000397576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620003a5600083836200044a565b620003c1816002546200044f60201b62000e301790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620003f491839062000e306200044f821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b600082820183811015620004aa576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620004f457805160ff191683800117855562000524565b8280016001018555821562000524579182015b828111156200052457825182559160200191906001019062000507565b506200053292915062000536565b5090565b5b8082111562000532576000815560010162000537565b60805160601c611b2c6200057a600039806108725280611092528061126f52806112c45250611b2c6000f3fe6080604052600436106101485760003560e01c806367243482116100c0578063a457c2d711610074578063dd62ed3e11610059578063dd62ed3e146105de578063e2f4560514610626578063f2fde38b1461063b5761014f565b8063a457c2d714610552578063a9059cbb146105985761014f565b8063715018a6116100a5578063715018a6146105135780638da5cb5b1461052857806395d89b411461053d5761014f565b8063672434821461039f57806370a08231146104d35761014f565b806323b872dd1161011757806339509351116100fc578063395093511461031857806349bd5a5e1461035e5780636402511e146103735761014f565b806323b872dd1461029d578063313ce567146102ed5761014f565b806306fdde0314610154578063095ea7b3146101de5780631694505e1461023857806318160ddd146102765761014f565b3661014f57005b600080fd5b34801561016057600080fd5b5061016961067b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101a357818101518382015260200161018b565b50505050905090810190601f1680156101d05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101ea57600080fd5b506102246004803603604081101561020157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561072f565b604080519115158252519081900360200190f35b34801561024457600080fd5b5061024d61074d565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561028257600080fd5b5061028b610769565b60408051918252519081900360200190f35b3480156102a957600080fd5b50610224600480360360608110156102c057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561076f565b3480156102f957600080fd5b50610302610810565b6040805160ff9092168252519081900360200190f35b34801561032457600080fd5b506102246004803603604081101561033b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610815565b34801561036a57600080fd5b5061024d610870565b34801561037f57600080fd5b5061039d6004803603602081101561039657600080fd5b5035610894565b005b3480156103ab57600080fd5b5061039d600480360360408110156103c257600080fd5b8101906020810181356401000000008111156103dd57600080fd5b8201836020820111156103ef57600080fd5b8035906020019184602083028401116401000000008311171561041157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561046157600080fd5b82018360208201111561047357600080fd5b8035906020019184602083028401116401000000008311171561049557600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061092a945050505050565b3480156104df57600080fd5b5061028b600480360360208110156104f657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a1b565b34801561051f57600080fd5b5061039d610a43565b34801561053457600080fd5b5061024d610b43565b34801561054957600080fd5b50610169610b5f565b34801561055e57600080fd5b506102246004803603604081101561057557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610bde565b3480156105a457600080fd5b50610224600480360360408110156105bb57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610c53565b3480156105ea57600080fd5b5061028b6004803603604081101561060157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610c67565b34801561063257600080fd5b5061028b610c9f565b34801561064757600080fd5b5061039d6004803603602081101561065e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610ca5565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107255780601f106106fa57610100808354040283529160200191610725565b820191906000526020600020905b81548152906001019060200180831161070857829003601f168201915b5050505050905090565b600061074361073c610eab565b8484610eaf565b5060015b92915050565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60025490565b600061077c848484610ff6565b61080684610788610eab565b61080185604051806060016040528060288152602001611a616028913973ffffffffffffffffffffffffffffffffffffffff8a166000908152600160205260408120906107d3610eab565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919061135e565b610eaf565b5060019392505050565b601290565b6000610743610822610eab565b846108018560016000610833610eab565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c168152925290205490610e30565b7f000000000000000000000000000000000000000000000000000000000000000081565b61089c610eab565b60055473ffffffffffffffffffffffffffffffffffffffff90811691161461092557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600755565b610932610eab565b60055473ffffffffffffffffffffffffffffffffffffffff9081169116146109bb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8151815181146109ca57600080fd5b60005b81811015610a1557610a0d6109e0610eab565b8583815181106109ec57fe5b6020026020010151858481518110610a0057fe5b602002602001015161140f565b6001016109cd565b50505050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610a4b610eab565b60055473ffffffffffffffffffffffffffffffffffffffff908116911614610ad457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60055460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60055473ffffffffffffffffffffffffffffffffffffffff1690565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107255780601f106106fa57610100808354040283529160200191610725565b6000610743610beb610eab565b8461080185604051806060016040528060258152602001611ad26025913960016000610c15610eab565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919061135e565b6000610743610c60610eab565b8484610ff6565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60075481565b610cad610eab565b60055473ffffffffffffffffffffffffffffffffffffffff908116911614610d3657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610da2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806119d26026913960400191505060405180910390fd5b60055460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600082820183811015610ea457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611aae6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610f87576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806119f86022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff831661101657600080fd5b73ffffffffffffffffffffffffffffffffffffffff821661103657600080fd5b8061104c576110478383600061140f565b611359565b600061105730610a1b565b60075490915081108015908190611089575060065474010000000000000000000000000000000000000000900460ff16155b80156110e157507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b801561112057506110f0610b43565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b801561115f575061112f610b43565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b156111e357600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905560006111ae30610a1b565b90506111b9816115df565b50600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690555b60065473ffffffffffffffffffffffffffffffffffffffff861660009081526008602052604090205460ff7401000000000000000000000000000000000000000090920482161591168061125c575073ffffffffffffffffffffffffffffffffffffffff851660009081526008602052604090205460ff165b15611265575060005b80801561131257507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061131257507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16145b1561134a57600061132f6064611329876006611639565b906116ac565b905061133b85826116ee565b945061134887308361140f565b505b61135586868661140f565b5050505b505050565b60008184841115611407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156113cc5781810151838201526020016113b4565b50505050905090810190601f1680156113f95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b73ffffffffffffffffffffffffffffffffffffffff831661147b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180611a896025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166114e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806119af6023913960400191505060405180910390fd5b6114f2838383611359565b61153c81604051806060016040528060268152602001611a1a6026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260208190526040902054919061135e565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526020819052604080822093909355908416815220546115789082610e30565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6115e881611730565b6115f0610b43565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611635573d6000803e3d6000fd5b5050565b60008261164857506000610747565b8282028284828161165557fe5b0414610ea4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611a406021913960400191505060405180910390fd5b6000610ea483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061192f565b6000610ea483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061135e565b6040805160028082526060808301845292602083019080368337019050509050308160008151811061175e57fe5b73ffffffffffffffffffffffffffffffffffffffff928316602091820292909201810191909152600654604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c4648926004808301939192829003018186803b1580156117d857600080fd5b505afa1580156117ec573d6000803e3d6000fd5b505050506040513d602081101561180257600080fd5b505181518290600190811061181357fe5b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526006546118469130911684610eaf565b6006546040517f791ac947000000000000000000000000000000000000000000000000000000008152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a4870152875173ffffffffffffffffffffffffffffffffffffffff9097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b838110156118f25781810151838201526020016118da565b505050509050019650505050505050600060405180830381600087803b15801561191b57600080fd5b505af1158015611355573d6000803e3d6000fd5b60008183611998576040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528351602484015283519092839260449091019190850190808383600083156113cc5781810151838201526020016113b4565b5060008385816119a457fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b1eb0e795d24d587782084ac04fbf713a912e5386017cbb4b716d40b68451eb564736f6c634300060c0033

Deployed Bytecode

0x6080604052600436106101485760003560e01c806367243482116100c0578063a457c2d711610074578063dd62ed3e11610059578063dd62ed3e146105de578063e2f4560514610626578063f2fde38b1461063b5761014f565b8063a457c2d714610552578063a9059cbb146105985761014f565b8063715018a6116100a5578063715018a6146105135780638da5cb5b1461052857806395d89b411461053d5761014f565b8063672434821461039f57806370a08231146104d35761014f565b806323b872dd1161011757806339509351116100fc578063395093511461031857806349bd5a5e1461035e5780636402511e146103735761014f565b806323b872dd1461029d578063313ce567146102ed5761014f565b806306fdde0314610154578063095ea7b3146101de5780631694505e1461023857806318160ddd146102765761014f565b3661014f57005b600080fd5b34801561016057600080fd5b5061016961067b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101a357818101518382015260200161018b565b50505050905090810190601f1680156101d05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101ea57600080fd5b506102246004803603604081101561020157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561072f565b604080519115158252519081900360200190f35b34801561024457600080fd5b5061024d61074d565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561028257600080fd5b5061028b610769565b60408051918252519081900360200190f35b3480156102a957600080fd5b50610224600480360360608110156102c057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561076f565b3480156102f957600080fd5b50610302610810565b6040805160ff9092168252519081900360200190f35b34801561032457600080fd5b506102246004803603604081101561033b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610815565b34801561036a57600080fd5b5061024d610870565b34801561037f57600080fd5b5061039d6004803603602081101561039657600080fd5b5035610894565b005b3480156103ab57600080fd5b5061039d600480360360408110156103c257600080fd5b8101906020810181356401000000008111156103dd57600080fd5b8201836020820111156103ef57600080fd5b8035906020019184602083028401116401000000008311171561041157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561046157600080fd5b82018360208201111561047357600080fd5b8035906020019184602083028401116401000000008311171561049557600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061092a945050505050565b3480156104df57600080fd5b5061028b600480360360208110156104f657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a1b565b34801561051f57600080fd5b5061039d610a43565b34801561053457600080fd5b5061024d610b43565b34801561054957600080fd5b50610169610b5f565b34801561055e57600080fd5b506102246004803603604081101561057557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610bde565b3480156105a457600080fd5b50610224600480360360408110156105bb57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610c53565b3480156105ea57600080fd5b5061028b6004803603604081101561060157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610c67565b34801561063257600080fd5b5061028b610c9f565b34801561064757600080fd5b5061039d6004803603602081101561065e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610ca5565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107255780601f106106fa57610100808354040283529160200191610725565b820191906000526020600020905b81548152906001019060200180831161070857829003601f168201915b5050505050905090565b600061074361073c610eab565b8484610eaf565b5060015b92915050565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60025490565b600061077c848484610ff6565b61080684610788610eab565b61080185604051806060016040528060288152602001611a616028913973ffffffffffffffffffffffffffffffffffffffff8a166000908152600160205260408120906107d3610eab565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919061135e565b610eaf565b5060019392505050565b601290565b6000610743610822610eab565b846108018560016000610833610eab565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c168152925290205490610e30565b7f000000000000000000000000cda9e6fe9a73c288d1e54912da31b3cd1cd1992e81565b61089c610eab565b60055473ffffffffffffffffffffffffffffffffffffffff90811691161461092557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600755565b610932610eab565b60055473ffffffffffffffffffffffffffffffffffffffff9081169116146109bb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8151815181146109ca57600080fd5b60005b81811015610a1557610a0d6109e0610eab565b8583815181106109ec57fe5b6020026020010151858481518110610a0057fe5b602002602001015161140f565b6001016109cd565b50505050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610a4b610eab565b60055473ffffffffffffffffffffffffffffffffffffffff908116911614610ad457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60055460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60055473ffffffffffffffffffffffffffffffffffffffff1690565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107255780601f106106fa57610100808354040283529160200191610725565b6000610743610beb610eab565b8461080185604051806060016040528060258152602001611ad26025913960016000610c15610eab565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919061135e565b6000610743610c60610eab565b8484610ff6565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60075481565b610cad610eab565b60055473ffffffffffffffffffffffffffffffffffffffff908116911614610d3657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610da2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806119d26026913960400191505060405180910390fd5b60055460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600082820183811015610ea457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611aae6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610f87576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806119f86022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff831661101657600080fd5b73ffffffffffffffffffffffffffffffffffffffff821661103657600080fd5b8061104c576110478383600061140f565b611359565b600061105730610a1b565b60075490915081108015908190611089575060065474010000000000000000000000000000000000000000900460ff16155b80156110e157507f000000000000000000000000cda9e6fe9a73c288d1e54912da31b3cd1cd1992e73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b801561112057506110f0610b43565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b801561115f575061112f610b43565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b156111e357600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905560006111ae30610a1b565b90506111b9816115df565b50600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690555b60065473ffffffffffffffffffffffffffffffffffffffff861660009081526008602052604090205460ff7401000000000000000000000000000000000000000090920482161591168061125c575073ffffffffffffffffffffffffffffffffffffffff851660009081526008602052604090205460ff165b15611265575060005b80801561131257507f000000000000000000000000cda9e6fe9a73c288d1e54912da31b3cd1cd1992e73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061131257507f000000000000000000000000cda9e6fe9a73c288d1e54912da31b3cd1cd1992e73ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16145b1561134a57600061132f6064611329876006611639565b906116ac565b905061133b85826116ee565b945061134887308361140f565b505b61135586868661140f565b5050505b505050565b60008184841115611407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156113cc5781810151838201526020016113b4565b50505050905090810190601f1680156113f95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b73ffffffffffffffffffffffffffffffffffffffff831661147b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180611a896025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166114e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806119af6023913960400191505060405180910390fd5b6114f2838383611359565b61153c81604051806060016040528060268152602001611a1a6026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260208190526040902054919061135e565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526020819052604080822093909355908416815220546115789082610e30565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6115e881611730565b6115f0610b43565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611635573d6000803e3d6000fd5b5050565b60008261164857506000610747565b8282028284828161165557fe5b0414610ea4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611a406021913960400191505060405180910390fd5b6000610ea483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061192f565b6000610ea483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061135e565b6040805160028082526060808301845292602083019080368337019050509050308160008151811061175e57fe5b73ffffffffffffffffffffffffffffffffffffffff928316602091820292909201810191909152600654604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c4648926004808301939192829003018186803b1580156117d857600080fd5b505afa1580156117ec573d6000803e3d6000fd5b505050506040513d602081101561180257600080fd5b505181518290600190811061181357fe5b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526006546118469130911684610eaf565b6006546040517f791ac947000000000000000000000000000000000000000000000000000000008152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a4870152875173ffffffffffffffffffffffffffffffffffffffff9097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b838110156118f25781810151838201526020016118da565b505050509050019650505050505050600060405180830381600087803b15801561191b57600080fd5b505af1158015611355573d6000803e3d6000fd5b60008183611998576040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528351602484015283519092839260449091019190850190808383600083156113cc5781810151838201526020016113b4565b5060008385816119a457fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b1eb0e795d24d587782084ac04fbf713a912e5386017cbb4b716d40b68451eb564736f6c634300060c0033

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.