ETH Price: $3,294.57 (+1.49%)
Gas: 1 Gwei

Contract

0xB6bc5c1c85C88d39E1d76D22050D7fE2Ef19db7e
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve179050712023-08-13 9:33:59350 days ago1691919239IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.000584812.64680557
Approve177015202023-07-15 21:46:47379 days ago1689457607IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0005244711.34516426
Approve176834432023-07-13 8:36:47381 days ago1689237407IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0008263517.75990652
Approve176826862023-07-13 6:03:47381 days ago1689228227IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0008130417.47398026
Approve176822042023-07-13 4:25:35381 days ago1689222335IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0006963114.9459683
Approve176812202023-07-13 1:05:35381 days ago1689210335IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0007674616.6014153
Approve176810902023-07-13 0:39:11382 days ago1689208751IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0010185122.03768317
Approve176809192023-07-13 0:04:23382 days ago1689206663IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0012499726.86444325
Approve176807002023-07-12 23:19:47382 days ago1689203987IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0007407916.02454919
Approve176804032023-07-12 22:19:47382 days ago1689200387IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0009486220.52019068
Approve176803762023-07-12 22:14:23382 days ago1689200063IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.000965320.85392211
Approve176803462023-07-12 22:08:11382 days ago1689199691IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0009410920.19984462
Approve176803402023-07-12 22:06:59382 days ago1689199619IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0008499918.24446866
Approve176803322023-07-12 22:05:23382 days ago1689199523IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0010293822.09496157
Approve176803052023-07-12 21:59:59382 days ago1689199199IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0008745318.89284215
Approve176803042023-07-12 21:59:47382 days ago1689199187IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0008861719.1691943
Approve176802972023-07-12 21:58:23382 days ago1689199103IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0010724623.01961777
Approve176802962023-07-12 21:58:11382 days ago1689199091IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0008813219.06434744
Approve176802632023-07-12 21:51:35382 days ago1689198695IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0011181324
Renounce Ownersh...176802602023-07-12 21:50:59382 days ago1689198659IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0004119417.72055167
Approve176802602023-07-12 21:50:59382 days ago1689198659IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0008162617.52055167
Set Sell Commisi...176802552023-07-12 21:49:59382 days ago1689198599IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.00052318.12468518
Approve176802542023-07-12 21:49:47382 days ago1689198587IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0018052739
Change Walllet R...176802492023-07-12 21:48:47382 days ago1689198527IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.000686118.86816291
Approve176802442023-07-12 21:47:47382 days ago1689198467IN
0xB6bc5c1c...2Ef19db7e
0 ETH0.0008646818.70437206
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
177015232023-07-15 21:47:23379 days ago1689457643
0xB6bc5c1c...2Ef19db7e
0.00046888 ETH
177015232023-07-15 21:47:23379 days ago1689457643
0xB6bc5c1c...2Ef19db7e
0.00046888 ETH
176834452023-07-13 8:37:11381 days ago1689237431
0xB6bc5c1c...2Ef19db7e
0.00046272 ETH
176834452023-07-13 8:37:11381 days ago1689237431
0xB6bc5c1c...2Ef19db7e
0.00046272 ETH
176826922023-07-13 6:04:59381 days ago1689228299
0xB6bc5c1c...2Ef19db7e
0.00147526 ETH
176826922023-07-13 6:04:59381 days ago1689228299
0xB6bc5c1c...2Ef19db7e
0.00147526 ETH
176826732023-07-13 6:01:11381 days ago1689228071
0xB6bc5c1c...2Ef19db7e
0.00054967 ETH
176826732023-07-13 6:01:11381 days ago1689228071
0xB6bc5c1c...2Ef19db7e
0.00054967 ETH
176822112023-07-13 4:26:59381 days ago1689222419
0xB6bc5c1c...2Ef19db7e
0.00057404 ETH
176822112023-07-13 4:26:59381 days ago1689222419
0xB6bc5c1c...2Ef19db7e
0.00057404 ETH
176818662023-07-13 3:16:59381 days ago1689218219
0xB6bc5c1c...2Ef19db7e
0.00047726 ETH
176818662023-07-13 3:16:59381 days ago1689218219
0xB6bc5c1c...2Ef19db7e
0.00047726 ETH
176817372023-07-13 2:50:11381 days ago1689216611
0xB6bc5c1c...2Ef19db7e
0.00154897 ETH
176817372023-07-13 2:50:11381 days ago1689216611
0xB6bc5c1c...2Ef19db7e
0.00154897 ETH
176812232023-07-13 1:06:11381 days ago1689210371
0xB6bc5c1c...2Ef19db7e
0.00055185 ETH
176812232023-07-13 1:06:11381 days ago1689210371
0xB6bc5c1c...2Ef19db7e
0.00055185 ETH
176811392023-07-13 0:48:59381 days ago1689209339
0xB6bc5c1c...2Ef19db7e
0.00073783 ETH
176811392023-07-13 0:48:59381 days ago1689209339
0xB6bc5c1c...2Ef19db7e
0.00073783 ETH
176809312023-07-13 0:06:47382 days ago1689206807
0xB6bc5c1c...2Ef19db7e
0.00115831 ETH
176809312023-07-13 0:06:47382 days ago1689206807
0xB6bc5c1c...2Ef19db7e
0.00115831 ETH
176807242023-07-12 23:24:47382 days ago1689204287
0xB6bc5c1c...2Ef19db7e
0.00104585 ETH
176807242023-07-12 23:24:47382 days ago1689204287
0xB6bc5c1c...2Ef19db7e
0.00104585 ETH
176807062023-07-12 23:20:59382 days ago1689204059
0xB6bc5c1c...2Ef19db7e
0.00694543 ETH
176807062023-07-12 23:20:59382 days ago1689204059
0xB6bc5c1c...2Ef19db7e
0.00694543 ETH
176807032023-07-12 23:20:23382 days ago1689204023
0xB6bc5c1c...2Ef19db7e
0.00034732 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Loris

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : Loris.sol
/*
Website:  https://www.loris.finance/
Telegram: https://t.me/Loris_Finance
Twitter:  https://twitter.com/Loris_Finance
*/
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.17;

import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./interfaces/IUniswapV2Factory.sol";
import "./interfaces/IUniswapV2Router02.sol";

contract Loris is Context, IERC20, IERC20Metadata, Ownable {
    using SafeMath for uint256;
    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;

    string private constant _name = "Loris";
    string private constant _symbol = "LORIS";

    IUniswapV2Router02 public _uniswapV2Router;
    address public uniswapV2Pair;
    address payable private _taxWallet;
    mapping(address => bool) private _isExcludedFromFee;

    uint8 private constant _decimals = 9;
    uint32 public buyTax = 50000;
    uint32 public sellTax = 200000;
    uint256 private _totalSupply = 10 ** 9 * 10 ** _decimals;
    uint256 public maxTrxnAmount = _totalSupply.mul(15).div(1000);
    uint256 public maxWalletSize = _totalSupply.mul(15).div(1000);
    bool private inSwap;

    modifier lockTheSwap() {
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor(address uniswapV2Router) {
        _uniswapV2Router = IUniswapV2Router02(uniswapV2Router);
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(
            address(this),
            _uniswapV2Router.WETH()
        );

        _balances[owner()] = _totalSupply;
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        _taxWallet = payable(_msgSender());
        emit Transfer(address(0), _msgSender(), _totalSupply);
    }

    function name() public pure returns (string memory) {
        return _name;
    }

    function symbol() public pure returns (string memory) {
        return _symbol;
    }

    function decimals() public pure returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    function transfer(address to, uint256 amount) public returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    function transferFrom(address from, address to, uint256 amount) public returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public 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;
    }

    function setBuyCommisioPercent(uint32 buyTaxPercent) external onlyOwner {
        require(buyTaxPercent <= 100000, "Buy tax restricted by 10%");
        buyTax = buyTaxPercent;
    }

    function setSellCommisioPercent(uint32 sellTaxPercent) external onlyOwner {
        require(sellTaxPercent <= 100000, "Sell tax restricted by 10%");
        sellTax = sellTaxPercent;
    }

    function ChangeWallletRestrictions(uint8 percent) external onlyOwner {
        uint256 localtotalSupply = _totalSupply;
        maxTrxnAmount = localtotalSupply.mul(percent).div(100);
        maxWalletSize = localtotalSupply.mul(percent).div(100);
    }

    function redeemAllRestriction() external onlyOwner {
        buyTax = 0;
        sellTax = 0;
        _transferOwnership(address(0));
    }

    function _transfer(address from, address to, uint256 amount) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        address uniswapV2PairLocal = uniswapV2Pair;
        IUniswapV2Router02 uniswapV2Router = _uniswapV2Router;
        uint256 lMaxTrxnAmunt = maxTrxnAmount;
        uint256 lMaxWalletSize = maxWalletSize;
        uint32 lbuyTax = buyTax;
        uint32 lsellTax = sellTax;
        uint256 taxWalletBalance = _balances[address(this)];
        bool isSelling;
        uint256 taxAmount;

        // Buy condition
        if (lbuyTax > 0 && from == uniswapV2PairLocal && !_isExcludedFromFee[to]) {
            require(amount <= lMaxTrxnAmunt, "Exceeds the maxTrxnAmount.");
            require(balanceOf(to) + amount <= lMaxWalletSize, "Exceeds the maxWalletSize.");
            taxAmount = amount.mul(lbuyTax).div(uint256(1e6));
        }
        // Sell Condition
        else if (!inSwap && lsellTax > 0 && to == uniswapV2PairLocal && !_isExcludedFromFee[from]) {
            taxAmount = amount.mul(lsellTax).div(uint256(1e6));
            isSelling = true;
        }

        if (taxAmount > 0) {
            amount = amount.sub(taxAmount);
            taxWalletBalance = taxWalletBalance.add(taxAmount);
            _balances[address(this)] = taxWalletBalance;
        }

        if (isSelling && taxWalletBalance > 0) {
            swapTokensForEth(taxWalletBalance, address(uniswapV2Router));
            uint256 currentETHBalance = address(this).balance;
            if (currentETHBalance > 0) {
                sendCommisionsToTeam(currentETHBalance);
            }
        }

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

        emit Transfer(from, to, amount);
    }

    function _burn(address account, uint256 amount) private {
        require(account != address(0), "ERC20: burn from the zero address");

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance.sub(amount);
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

    function _approve(address owner, address spender, uint256 amount) private {
        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);
    }

    function _spendAllowance(address owner, address spender, uint256 amount) private {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    function swapTokensForEth(uint256 tokenAmount, address uniswapV2RouterAddress) private lockTheSwap {
        IUniswapV2Router02 uniswapV2Router = IUniswapV2Router02(uniswapV2RouterAddress);
        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 sendCommisionsToTeam(uint256 amount) private {
        _taxWallet.transfer(amount);
    }

    receive() external payable {}
}

File 2 of 9 : 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 9 : 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 4 of 9 : 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 5 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 6 of 9 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 7 of 9 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.17;

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

    function allPairs(uint) external view returns (address pair);

    function allPairsLength() external view returns (uint);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

File 8 of 9 : IUniswapV2Router01.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.17;

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

File 9 of 9 : IUniswapV2Router02.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.17;

import "./IUniswapV2Router01.sol";

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"uniswapV2Router","type":"address"}],"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":"uint8","name":"percent","type":"uint8"}],"name":"ChangeWallletRestrictions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","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":"buyTax","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":"maxTrxnAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"redeemAllRestriction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"buyTaxPercent","type":"uint32"}],"name":"setBuyCommisioPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"sellTaxPercent","type":"uint32"}],"name":"setSellCommisioPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600780546001600160401b03191666030d400000c3501790556200002b6009600a620004f5565b6200003b90633b9aca0062000506565b600855620000766103e862000062600f6008546200036d60201b620007bd1790919060201c565b6200038460201b620007d01790919060201c565b6009556200009d6103e862000062600f6008546200036d60201b620007bd1790919060201c565b600a55348015620000ad57600080fd5b506040516200185238038062001852833981016040819052620000d09162000520565b620000db3362000392565b600380546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000135573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015b919062000520565b6001600160a01b031663c9c6539630600360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001e4919062000520565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000232573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000258919062000520565b600480546001600160a01b0319166001600160a01b0392831617905560085460008054909216825260016020819052604083209190915590600690620002a66000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526006909252902080549091166001179055620002ee3390565b600580546001600160a01b0319166001600160a01b0392909216919091179055620003163390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6008546040516200035e91815260200190565b60405180910390a35062000575565b60006200037b828462000506565b90505b92915050565b60006200037b828462000552565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620004395781600019048211156200041d576200041d620003e2565b808516156200042b57918102915b93841c9390800290620003fd565b509250929050565b60008262000452575060016200037e565b8162000461575060006200037e565b81600181146200047a57600281146200048557620004a5565b60019150506200037e565b60ff841115620004995762000499620003e2565b50506001821b6200037e565b5060208310610133831016604e8410600b8410161715620004ca575081810a6200037e565b620004d68383620003f8565b8060001904821115620004ed57620004ed620003e2565b029392505050565b60006200037b60ff84168362000441565b80820281158282048414176200037e576200037e620003e2565b6000602082840312156200053357600080fd5b81516001600160a01b03811681146200054b57600080fd5b9392505050565b6000826200057057634e487b7160e01b600052601260045260246000fd5b500490565b6112cd80620005856000396000f3fe60806040526004361061014f5760003560e01c806370a08231116100b6578063a457c2d71161006f578063a457c2d7146103f5578063a9059cbb14610415578063cbe8021914610435578063cc1776d31461044a578063dd62ed3e1461046f578063f2fde38b1461048f57600080fd5b806370a0823114610328578063715018a61461035e5780638da5cb5b146103735780638f3fa8601461039157806395d89b41146103a75780639fb672dd146103d557600080fd5b806349bd5a5e1161010857806349bd5a5e146102465780634f7041a51461027e578063583e0568146102b0578063587a7e57146102d0578063613f98b7146102e65780636b45159a1461030857600080fd5b806306fdde031461015b578063095ea7b31461019b57806318160ddd146101cb57806323b872dd146101ea578063313ce5671461020a578063395093511461022657600080fd5b3661015657005b600080fd5b34801561016757600080fd5b506040805180820190915260058152644c6f72697360d81b60208201525b604051610192919061100f565b60405180910390f35b3480156101a757600080fd5b506101bb6101b6366004611072565b6104af565b6040519015158152602001610192565b3480156101d757600080fd5b506008545b604051908152602001610192565b3480156101f657600080fd5b506101bb61020536600461109e565b6104c9565b34801561021657600080fd5b5060405160098152602001610192565b34801561023257600080fd5b506101bb610241366004611072565b6104ed565b34801561025257600080fd5b50600454610266906001600160a01b031681565b6040516001600160a01b039091168152602001610192565b34801561028a57600080fd5b5060075461029b9063ffffffff1681565b60405163ffffffff9091168152602001610192565b3480156102bc57600080fd5b50600354610266906001600160a01b031681565b3480156102dc57600080fd5b506101dc60095481565b3480156102f257600080fd5b506103066103013660046110df565b61050f565b005b34801561031457600080fd5b506103066103233660046110df565b610591565b34801561033457600080fd5b506101dc610343366004611105565b6001600160a01b031660009081526001602052604090205490565b34801561036a57600080fd5b5061030661061a565b34801561037f57600080fd5b506000546001600160a01b0316610266565b34801561039d57600080fd5b506101dc600a5481565b3480156103b357600080fd5b506040805180820190915260058152644c4f52495360d81b6020820152610185565b3480156103e157600080fd5b506103066103f0366004611122565b61062e565b34801561040157600080fd5b506101bb610410366004611072565b61066d565b34801561042157600080fd5b506101bb610430366004611072565b6106e8565b34801561044157600080fd5b506103066106f6565b34801561045657600080fd5b5060075461029b90640100000000900463ffffffff1681565b34801561047b57600080fd5b506101dc61048a366004611145565b610719565b34801561049b57600080fd5b506103066104aa366004611105565b610744565b6000336104bd8185856107dc565b60019150505b92915050565b6000336104d7858285610900565b6104e285858561097a565b506001949350505050565b6000336104bd8185856105008383610719565b61050a9190611194565b6107dc565b610517610d92565b620186a08163ffffffff1611156105755760405162461bcd60e51b815260206004820152601960248201527f427579207461782072657374726963746564206279203130250000000000000060448201526064015b60405180910390fd5b6007805463ffffffff191663ffffffff92909216919091179055565b610599610d92565b620186a08163ffffffff1611156105f25760405162461bcd60e51b815260206004820152601a60248201527f53656c6c20746178207265737472696374656420627920313025000000000000604482015260640161056c565b6007805463ffffffff9092166401000000000267ffffffff0000000019909216919091179055565b610622610d92565b61062c6000610dec565b565b610636610d92565b600854610651606461064b8360ff86166107bd565b906107d0565b600955610666606461064b8360ff86166107bd565b600a555050565b6000338161067b8286610719565b9050838110156106db5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161056c565b6104e282868684036107dc565b6000336104bd81858561097a565b6106fe610d92565b6007805467ffffffffffffffff1916905561062c6000610dec565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b61074c610d92565b6001600160a01b0381166107b15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161056c565b6107ba81610dec565b50565b60006107c982846111a7565b9392505050565b60006107c982846111be565b6001600160a01b03831661083e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161056c565b6001600160a01b03821661089f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161056c565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061090c8484610719565b9050600019811461097457818110156109675760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161056c565b61097484848484036107dc565b50505050565b6001600160a01b0383166109de5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161056c565b6001600160a01b038216610a405760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161056c565b600454600354600954600a54600754306000908152600160205260408120546001600160a01b03968716969095169463ffffffff8084169364010000000090041691808415801590610aa35750886001600160a01b03168c6001600160a01b0316145b8015610ac857506001600160a01b038b1660009081526006602052604090205460ff16155b15610bb757868a1115610b1d5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d61785472786e416d6f756e742e000000000000604482015260640161056c565b858a610b3e8d6001600160a01b031660009081526001602052604090205490565b610b489190611194565b1115610b965760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161056c565b610bb0620f424061064b8c63ffffffff808a16906107bd16565b9050610c38565b600b5460ff16158015610bd0575060008463ffffffff16115b8015610bed5750886001600160a01b03168b6001600160a01b0316145b8015610c1257506001600160a01b038c1660009081526006602052604090205460ff16155b15610c3857610c31620f424061064b8c63ffffffff808916906107bd16565b9050600191505b8015610c6957610c488a82610e3c565b9950610c548382610e48565b30600090815260016020526040902081905592505b818015610c765750600083115b15610c9757610c858389610e54565b478015610c9557610c9581610fd1565b505b6001600160a01b038c166000908152600160205260409020548a811015610d0f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161056c565b610d19818c610e3c565b6001600160a01b03808f1660008181526001602052604080822094909455918f168083529183902080548f01905591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d7b908f815260200190565b60405180910390a350505050505050505050505050565b6000546001600160a01b0316331461062c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161056c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006107c982846111e0565b60006107c98284611194565b600b805460ff19166001179055604080516002808252606082018352839260009291906020830190803683370190505090503081600081518110610e9a57610e9a6111f3565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ef8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1c9190611209565b81600181518110610f2f57610f2f6111f3565b60200260200101906001600160a01b031690816001600160a01b031681525050610f5a3083866107dc565b60405163791ac94760e01b81526001600160a01b0383169063791ac94790610f8f908790600090869030904290600401611226565b600060405180830381600087803b158015610fa957600080fd5b505af1158015610fbd573d6000803e3d6000fd5b5050600b805460ff19169055505050505050565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561100b573d6000803e3d6000fd5b5050565b600060208083528351808285015260005b8181101561103c57858101830151858201604001528201611020565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146107ba57600080fd5b6000806040838503121561108557600080fd5b82356110908161105d565b946020939093013593505050565b6000806000606084860312156110b357600080fd5b83356110be8161105d565b925060208401356110ce8161105d565b929592945050506040919091013590565b6000602082840312156110f157600080fd5b813563ffffffff811681146107c957600080fd5b60006020828403121561111757600080fd5b81356107c98161105d565b60006020828403121561113457600080fd5b813560ff811681146107c957600080fd5b6000806040838503121561115857600080fd5b82356111638161105d565b915060208301356111738161105d565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104c3576104c361117e565b80820281158282048414176104c3576104c361117e565b6000826111db57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156104c3576104c361117e565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561121b57600080fd5b81516107c98161105d565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156112765784516001600160a01b031683529383019391830191600101611251565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212207569d249be7ff9d903d65bb145c704ef1a5fbf5b346d87cb79345c1926b775a264736f6c634300081100330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x60806040526004361061014f5760003560e01c806370a08231116100b6578063a457c2d71161006f578063a457c2d7146103f5578063a9059cbb14610415578063cbe8021914610435578063cc1776d31461044a578063dd62ed3e1461046f578063f2fde38b1461048f57600080fd5b806370a0823114610328578063715018a61461035e5780638da5cb5b146103735780638f3fa8601461039157806395d89b41146103a75780639fb672dd146103d557600080fd5b806349bd5a5e1161010857806349bd5a5e146102465780634f7041a51461027e578063583e0568146102b0578063587a7e57146102d0578063613f98b7146102e65780636b45159a1461030857600080fd5b806306fdde031461015b578063095ea7b31461019b57806318160ddd146101cb57806323b872dd146101ea578063313ce5671461020a578063395093511461022657600080fd5b3661015657005b600080fd5b34801561016757600080fd5b506040805180820190915260058152644c6f72697360d81b60208201525b604051610192919061100f565b60405180910390f35b3480156101a757600080fd5b506101bb6101b6366004611072565b6104af565b6040519015158152602001610192565b3480156101d757600080fd5b506008545b604051908152602001610192565b3480156101f657600080fd5b506101bb61020536600461109e565b6104c9565b34801561021657600080fd5b5060405160098152602001610192565b34801561023257600080fd5b506101bb610241366004611072565b6104ed565b34801561025257600080fd5b50600454610266906001600160a01b031681565b6040516001600160a01b039091168152602001610192565b34801561028a57600080fd5b5060075461029b9063ffffffff1681565b60405163ffffffff9091168152602001610192565b3480156102bc57600080fd5b50600354610266906001600160a01b031681565b3480156102dc57600080fd5b506101dc60095481565b3480156102f257600080fd5b506103066103013660046110df565b61050f565b005b34801561031457600080fd5b506103066103233660046110df565b610591565b34801561033457600080fd5b506101dc610343366004611105565b6001600160a01b031660009081526001602052604090205490565b34801561036a57600080fd5b5061030661061a565b34801561037f57600080fd5b506000546001600160a01b0316610266565b34801561039d57600080fd5b506101dc600a5481565b3480156103b357600080fd5b506040805180820190915260058152644c4f52495360d81b6020820152610185565b3480156103e157600080fd5b506103066103f0366004611122565b61062e565b34801561040157600080fd5b506101bb610410366004611072565b61066d565b34801561042157600080fd5b506101bb610430366004611072565b6106e8565b34801561044157600080fd5b506103066106f6565b34801561045657600080fd5b5060075461029b90640100000000900463ffffffff1681565b34801561047b57600080fd5b506101dc61048a366004611145565b610719565b34801561049b57600080fd5b506103066104aa366004611105565b610744565b6000336104bd8185856107dc565b60019150505b92915050565b6000336104d7858285610900565b6104e285858561097a565b506001949350505050565b6000336104bd8185856105008383610719565b61050a9190611194565b6107dc565b610517610d92565b620186a08163ffffffff1611156105755760405162461bcd60e51b815260206004820152601960248201527f427579207461782072657374726963746564206279203130250000000000000060448201526064015b60405180910390fd5b6007805463ffffffff191663ffffffff92909216919091179055565b610599610d92565b620186a08163ffffffff1611156105f25760405162461bcd60e51b815260206004820152601a60248201527f53656c6c20746178207265737472696374656420627920313025000000000000604482015260640161056c565b6007805463ffffffff9092166401000000000267ffffffff0000000019909216919091179055565b610622610d92565b61062c6000610dec565b565b610636610d92565b600854610651606461064b8360ff86166107bd565b906107d0565b600955610666606461064b8360ff86166107bd565b600a555050565b6000338161067b8286610719565b9050838110156106db5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161056c565b6104e282868684036107dc565b6000336104bd81858561097a565b6106fe610d92565b6007805467ffffffffffffffff1916905561062c6000610dec565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b61074c610d92565b6001600160a01b0381166107b15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161056c565b6107ba81610dec565b50565b60006107c982846111a7565b9392505050565b60006107c982846111be565b6001600160a01b03831661083e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161056c565b6001600160a01b03821661089f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161056c565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061090c8484610719565b9050600019811461097457818110156109675760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161056c565b61097484848484036107dc565b50505050565b6001600160a01b0383166109de5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161056c565b6001600160a01b038216610a405760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161056c565b600454600354600954600a54600754306000908152600160205260408120546001600160a01b03968716969095169463ffffffff8084169364010000000090041691808415801590610aa35750886001600160a01b03168c6001600160a01b0316145b8015610ac857506001600160a01b038b1660009081526006602052604090205460ff16155b15610bb757868a1115610b1d5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d61785472786e416d6f756e742e000000000000604482015260640161056c565b858a610b3e8d6001600160a01b031660009081526001602052604090205490565b610b489190611194565b1115610b965760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161056c565b610bb0620f424061064b8c63ffffffff808a16906107bd16565b9050610c38565b600b5460ff16158015610bd0575060008463ffffffff16115b8015610bed5750886001600160a01b03168b6001600160a01b0316145b8015610c1257506001600160a01b038c1660009081526006602052604090205460ff16155b15610c3857610c31620f424061064b8c63ffffffff808916906107bd16565b9050600191505b8015610c6957610c488a82610e3c565b9950610c548382610e48565b30600090815260016020526040902081905592505b818015610c765750600083115b15610c9757610c858389610e54565b478015610c9557610c9581610fd1565b505b6001600160a01b038c166000908152600160205260409020548a811015610d0f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161056c565b610d19818c610e3c565b6001600160a01b03808f1660008181526001602052604080822094909455918f168083529183902080548f01905591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d7b908f815260200190565b60405180910390a350505050505050505050505050565b6000546001600160a01b0316331461062c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161056c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006107c982846111e0565b60006107c98284611194565b600b805460ff19166001179055604080516002808252606082018352839260009291906020830190803683370190505090503081600081518110610e9a57610e9a6111f3565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ef8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1c9190611209565b81600181518110610f2f57610f2f6111f3565b60200260200101906001600160a01b031690816001600160a01b031681525050610f5a3083866107dc565b60405163791ac94760e01b81526001600160a01b0383169063791ac94790610f8f908790600090869030904290600401611226565b600060405180830381600087803b158015610fa957600080fd5b505af1158015610fbd573d6000803e3d6000fd5b5050600b805460ff19169055505050505050565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561100b573d6000803e3d6000fd5b5050565b600060208083528351808285015260005b8181101561103c57858101830151858201604001528201611020565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146107ba57600080fd5b6000806040838503121561108557600080fd5b82356110908161105d565b946020939093013593505050565b6000806000606084860312156110b357600080fd5b83356110be8161105d565b925060208401356110ce8161105d565b929592945050506040919091013590565b6000602082840312156110f157600080fd5b813563ffffffff811681146107c957600080fd5b60006020828403121561111757600080fd5b81356107c98161105d565b60006020828403121561113457600080fd5b813560ff811681146107c957600080fd5b6000806040838503121561115857600080fd5b82356111638161105d565b915060208301356111738161105d565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104c3576104c361117e565b80820281158282048414176104c3576104c361117e565b6000826111db57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156104c3576104c361117e565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561121b57600080fd5b81516107c98161105d565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156112765784516001600160a01b031683529383019391830191600101611251565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212207569d249be7ff9d903d65bb145c704ef1a5fbf5b346d87cb79345c1926b775a264736f6c63430008110033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : uniswapV2Router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d


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.