ETH Price: $3,624.89 (-1.82%)

Token

ERC-20: Degen (DEGEN)
 

Overview

Max Total Supply

133,333,337 DEGEN

Holders

676

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Filtered by Token Holder
mevdroid.eth
Balance
15,890.761455151 DEGEN

Value
$0.00
0xa0111511da7581374220bBA5F3cfeE21B1765D9D
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Degen

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : Degen.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";

/**
https://t.me/degencoinz
https://twitter.com/degencoinz

$DEGEN

- Liquidity locked
- Ownership renounced
*/

contract Degen is Context, IERC20, Ownable {
    using SafeMath for uint256;

    string private constant _name = unicode"Degen";
    string private constant _symbol = unicode"DEGEN";

    mapping(address => uint256) private _rOwned;
    mapping(address => uint256) private _tOwned;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) private _isExcludedFromFee;
    uint8 private constant _decimals = 9;

    uint256 private constant MAX = ~uint256(0);
    uint256 private constant _tTotal = 133_333_337 * 10 ** _decimals;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;
    uint256 private _redisFeeOnBuy = 0;
    uint256 private _taxFeeOnBuy = 2;
    uint256 private _redisFeeOnSell = 0;
    uint256 private _taxFeeOnSell = 2;

    uint256 private _redisFee = _redisFeeOnSell;
    uint256 private _taxFee = _taxFeeOnSell;

    uint256 private _previousredisFee = _redisFee;
    uint256 private _previoustaxFee = _taxFee;

    mapping(address => uint256) public _buyMap;
    address payable private _developmentAddress =
        payable(0xCCf931043a4C1c2CC254c63DCeca3330d6E7bbE6);
    address payable private _marketingAddress =
        payable(0xCCf931043a4C1c2CC254c63DCeca3330d6E7bbE6);

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;

    bool private tradingOpen = true;
    bool private inSwap = false;
    bool private swapEnabled = true;

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

    constructor() {
        _rOwned[_msgSender()] = _rTotal;

        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[_developmentAddress] = true;
        _isExcludedFromFee[_marketingAddress] = true;

        emit Transfer(address(0), _msgSender(), _tTotal);
    }

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

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

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

    function totalSupply() public pure override returns (uint256) {
        return _tTotal;
    }

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

    function transfer(
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

    function addLiquidityAndLock(
        uint256 tokenAmount,
        uint256 ethAmount,
        address lockContractAddress
    ) external onlyOwner {
        // Approve Uniswap router to transfer tokens
        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // Add liquidity
        (, , uint256 liquidity) = uniswapV2Router.addLiquidityETH{
            value: ethAmount
        }(address(this), tokenAmount, 0, 0, address(this), block.timestamp);

        // Transfer LP tokens to the lock contract
        IERC20(uniswapV2Pair).transfer(lockContractAddress, liquidity);
    }

    function tokenFromReflection(
        uint256 rAmount
    ) private view returns (uint256) {
        require(
            rAmount <= _rTotal,
            "Amount must be less than total reflections"
        );
        uint256 currentRate = _getRate();
        return rAmount.div(currentRate);
    }

    function removeAllFee() private {
        if (_redisFee == 0 && _taxFee == 0) return;

        _previousredisFee = _redisFee;
        _previoustaxFee = _taxFee;

        _redisFee = 0;
        _taxFee = 0;
    }

    function restoreAllFee() private {
        _redisFee = _previousredisFee;
        _taxFee = _previoustaxFee;
    }

    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 _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");
        require(amount > 0, "Transfer amount must be greater than zero");
        require(
            amount <= balanceOf(from),
            "Transfer amount exceeds sender's balance"
        );

        if (from != owner() && to != owner()) {
            //Trade start check
            if (!tradingOpen) {
                require(
                    from == owner(),
                    "TOKEN: This account cannot send tokens until trading is enabled"
                );
            }

            uint256 contractTokenBalance = balanceOf(address(this));

            if (
                !inSwap &&
                from != uniswapV2Pair &&
                swapEnabled &&
                !_isExcludedFromFee[from] &&
                !_isExcludedFromFee[to]
            ) {
                swapTokensForEth(contractTokenBalance);
                uint256 contractETHBalance = address(this).balance;
                if (contractETHBalance > 0) {
                    sendETHToFee(address(this).balance);
                }
            }
        }

        bool takeFee = true;

        //Transfer Tokens
        if (
            (_isExcludedFromFee[from] || _isExcludedFromFee[to]) ||
            (from != uniswapV2Pair && to != uniswapV2Pair)
        ) {
            takeFee = false;
        } else {
            //Set Fee for Buys
            if (from == uniswapV2Pair && to != address(uniswapV2Router)) {
                _redisFee = _redisFeeOnBuy;
                _taxFee = _taxFeeOnBuy;
            }

            //Set Fee for Sells
            if (to == uniswapV2Pair && from != address(uniswapV2Router)) {
                _redisFee = _redisFeeOnSell;
                _taxFee = _taxFeeOnSell;
            }
        }

        _tokenTransfer(from, to, amount, takeFee);
    }

    function swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
        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 sendETHToFee(uint256 amount) private {
        _marketingAddress.transfer(amount);
    }

    //Camelot Dex Router 0xc873fEcbd354f5A56E00E710B90EF4201db2448d
    function setTrading(bool _tradingOpen) public onlyOwner {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );
        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        tradingOpen = _tradingOpen;
    }

    function manualswap() external {
        require(
            _msgSender() == _developmentAddress ||
                _msgSender() == _marketingAddress
        );
        uint256 contractBalance = balanceOf(address(this));
        swapTokensForEth(contractBalance);
    }

    function manualsend() external {
        require(
            _msgSender() == _developmentAddress ||
                _msgSender() == _marketingAddress
        );
        uint256 contractETHBalance = address(this).balance;
        sendETHToFee(contractETHBalance);
    }

    function _tokenTransfer(
        address sender,
        address recipient,
        uint256 amount,
        bool takeFee
    ) private {
        if (!takeFee) removeAllFee();
        _transferStandard(sender, recipient, amount);
        if (!takeFee) restoreAllFee();
    }

    function _transferStandard(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (
            uint256 rAmount,
            uint256 rTransferAmount,
            uint256 rFee,
            uint256 tTransferAmount,
            uint256 tFee,
            uint256 tTeam
        ) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender].sub(rAmount);
        _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount);
        _takeTeam(tTeam);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _takeTeam(uint256 tTeam) private {
        uint256 currentRate = _getRate();
        uint256 rTeam = tTeam.mul(currentRate);
        _rOwned[address(this)] = _rOwned[address(this)].add(rTeam);
    }

    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal.sub(rFee);
        _tFeeTotal = _tFeeTotal.add(tFee);
    }

    receive() external payable {}

    function _getValues(
        uint256 tAmount
    )
        private
        view
        returns (uint256, uint256, uint256, uint256, uint256, uint256)
    {
        (uint256 tTransferAmount, uint256 tFee, uint256 tTeam) = _getTValues(
            tAmount,
            _redisFee,
            _taxFee
        );
        uint256 currentRate = _getRate();
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(
            tAmount,
            tFee,
            tTeam,
            currentRate
        );
        return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tTeam);
    }

    function _getTValues(
        uint256 tAmount,
        uint256 redisFee,
        uint256 taxFee
    ) private pure returns (uint256, uint256, uint256) {
        uint256 tFee = tAmount.mul(redisFee).div(100);
        uint256 tTeam = tAmount.mul(taxFee).div(100);
        uint256 tTransferAmount = tAmount.sub(tFee).sub(tTeam);
        return (tTransferAmount, tFee, tTeam);
    }

    function _getRValues(
        uint256 tAmount,
        uint256 tFee,
        uint256 tTeam,
        uint256 currentRate
    ) private pure returns (uint256, uint256, uint256) {
        uint256 rAmount = tAmount.mul(currentRate);
        uint256 rFee = tFee.mul(currentRate);
        uint256 rTeam = tTeam.mul(currentRate);
        uint256 rTransferAmount = rAmount.sub(rFee).sub(rTeam);
        return (rAmount, rTransferAmount, rFee);
    }

    function _getRate() private view returns (uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply.div(tSupply);
    }

    function _getCurrentSupply() private view returns (uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;
        if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }

    //Set minimum tokens required to swap.
    function toggleSwap(bool _swapEnabled) public onlyOwner {
        swapEnabled = _swapEnabled;
    }
}

File 2 of 8 : 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 8 : 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 4 of 8 : 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 5 of 8 : 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 6 of 8 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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

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

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

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

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

File 7 of 8 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

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 8 of 8 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

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":[],"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":"","type":"address"}],"name":"_buyMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"internalType":"uint256","name":"ethAmount","type":"uint256"},{"internalType":"address","name":"lockContractAddress","type":"address"}],"name":"addLiquidityAndLock","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":"pure","type":"function"},{"inputs":[],"name":"manualsend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualswap","outputs":[],"stateMutability":"nonpayable","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_tradingOpen","type":"bool"}],"name":"setTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bool","name":"_swapEnabled","type":"bool"}],"name":"toggleSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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"}]

6080604052620000126009600a62000337565b62000022906307f281596200034f565b620000309060001962000369565b6200003e906000196200038c565b60055560006007819055600260088190556009829055600a819055600b829055600c819055600d91909155600e556010805473ccf931043a4c1c2cc254c63dceca3330d6e7bbe66001600160a01b031991821681179092556011805490911690911790556013805462ffffff60a01b19166201000160a01b179055348015620000c657600080fd5b50620000d233620001d2565b600554336000908152600160208190526040822092909255600490620001006000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526004909352818320805485166001908117909155601054821684528284208054861682179055601154909116835291208054909216179055620001713390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620001ab6009600a62000337565b620001bb906307f281596200034f565b60405190815260200160405180910390a3620003a2565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620002795781600019048211156200025d576200025d62000222565b808516156200026b57918102915b93841c93908002906200023d565b509250929050565b600082620002925750600162000331565b81620002a15750600062000331565b8160018114620002ba5760028114620002c557620002e5565b600191505062000331565b60ff841115620002d957620002d962000222565b50506001821b62000331565b5060208310610133831016604e8410600b84101617156200030a575081810a62000331565b62000316838362000238565b80600019048211156200032d576200032d62000222565b0290505b92915050565b60006200034860ff84168362000281565b9392505050565b808202811582820484141762000331576200033162000222565b6000826200038757634e487b7160e01b600052601260045260246000fd5b500690565b8181038181111562000331576200033162000222565b61193f80620003b26000396000f3fe6080604052600436106101235760003560e01c8063715018a6116100a0578063a37a74cc11610064578063a37a74cc1461035b578063a9059cbb1461037b578063c3c8cd801461039b578063dd62ed3e146103b0578063f2fde38b146103f657600080fd5b8063715018a6146102ad5780637f2feddc146102c25780638da5cb5b146102ef5780638f70ccf71461030d57806395d89b411461032d57600080fd5b8063313ce567116100e7578063313ce5671461021a57806349bd5a5e146102365780636d8aa8f8146102565780636fc3eaec1461027857806370a082311461028d57600080fd5b806306fdde031461012f578063095ea7b31461016f5780631694505e1461019f57806318160ddd146101d757806323b872dd146101fa57600080fd5b3661012a57005b600080fd5b34801561013b57600080fd5b506040805180820190915260058152642232b3b2b760d91b60208201525b6040516101669190611500565b60405180910390f35b34801561017b57600080fd5b5061018f61018a366004611563565b610416565b6040519015158152602001610166565b3480156101ab57600080fd5b506012546101bf906001600160a01b031681565b6040516001600160a01b039091168152602001610166565b3480156101e357600080fd5b506101ec61042d565b604051908152602001610166565b34801561020657600080fd5b5061018f61021536600461158f565b61044e565b34801561022657600080fd5b5060405160098152602001610166565b34801561024257600080fd5b506013546101bf906001600160a01b031681565b34801561026257600080fd5b506102766102713660046115de565b6104b7565b005b34801561028457600080fd5b506102766104dd565b34801561029957600080fd5b506101ec6102a83660046115fb565b610528565b3480156102b957600080fd5b5061027661054a565b3480156102ce57600080fd5b506101ec6102dd3660046115fb565b600f6020526000908152604090205481565b3480156102fb57600080fd5b506000546001600160a01b03166101bf565b34801561031957600080fd5b506102766103283660046115de565b61055e565b34801561033957600080fd5b506040805180820190915260058152642222a3a2a760d91b6020820152610159565b34801561036757600080fd5b50610276610376366004611618565b610704565b34801561038757600080fd5b5061018f610396366004611563565b61083c565b3480156103a757600080fd5b50610276610849565b3480156103bc57600080fd5b506101ec6103cb366004611651565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b34801561040257600080fd5b506102766104113660046115fb565b61089d565b6000610423338484610918565b5060015b92915050565b600061043b6009600a611784565b610449906307f28159611793565b905090565b600061045b848484610a3c565b6104ad84336104a8856040518060600160405280602881526020016118e2602891396001600160a01b038a1660009081526003602090815260408083203384529091529020549190610e56565b610918565b5060019392505050565b6104bf610e82565b60138054911515600160b01b0260ff60b01b19909216919091179055565b6010546001600160a01b0316336001600160a01b0316148061051257506011546001600160a01b0316336001600160a01b0316145b61051b57600080fd5b4761052581610edc565b50565b6001600160a01b03811660009081526001602052604081205461042790610f1a565b610552610e82565b61055c6000610f9e565b565b610566610e82565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b81529051829163c45a01559160048083019260209291908290030181865afa1580156105cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ef91906117aa565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561063c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066091906117aa565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156106ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d191906117aa565b60138054931515600160a01b026001600160a81b03199094166001600160a01b0392909216919091179290921790915550565b61070c610e82565b6012546107249030906001600160a01b031685610918565b60125460405163f305d71960e01b81523060048201819052602482018690526000604483018190526064830181905260848301919091524260a4830152916001600160a01b03169063f305d71990859060c40160606040518083038185885af1158015610795573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906107ba91906117c7565b60135460405163a9059cbb60e01b81526001600160a01b038781166004830152602482018490529295509116925063a9059cbb91506044016020604051808303816000875af1158015610811573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083591906117f5565b5050505050565b6000610423338484610a3c565b6010546001600160a01b0316336001600160a01b0316148061087e57506011546001600160a01b0316336001600160a01b0316145b61088757600080fd5b600061089230610528565b905061052581610fee565b6108a5610e82565b6001600160a01b03811661090f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61052581610f9e565b6001600160a01b03831661097a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610906565b6001600160a01b0382166109db5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610906565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610aa05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610906565b6001600160a01b038216610b025760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610906565b60008111610b645760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610906565b610b6d83610528565b811115610bcd5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e7420657863656564732073656e64657227736044820152672062616c616e636560c01b6064820152608401610906565b6000546001600160a01b03848116911614801590610bf957506000546001600160a01b03838116911614155b15610d4957601354600160a01b900460ff16610c92576000546001600160a01b03848116911614610c925760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c6564006064820152608401610906565b6000610c9d30610528565b601354909150600160a81b900460ff16158015610cc857506013546001600160a01b03858116911614155b8015610cdd5750601354600160b01b900460ff165b8015610d0257506001600160a01b03841660009081526004602052604090205460ff16155b8015610d2757506001600160a01b03831660009081526004602052604090205460ff16155b15610d4757610d3581610fee565b478015610d4557610d4547610edc565b505b505b6001600160a01b03831660009081526004602052604090205460019060ff1680610d8b57506001600160a01b03831660009081526004602052604090205460ff165b80610dbd57506013546001600160a01b03858116911614801590610dbd57506013546001600160a01b03848116911614155b15610dca57506000610e44565b6013546001600160a01b038581169116148015610df557506012546001600160a01b03848116911614155b15610e0757600754600b55600854600c555b6013546001600160a01b038481169116148015610e3257506012546001600160a01b03858116911614155b15610e4457600954600b55600a54600c555b610e5084848484611168565b50505050565b60008184841115610e7a5760405162461bcd60e51b81526004016109069190611500565b505050900390565b6000546001600160a01b0316331461055c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610906565b6011546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610f16573d6000803e3d6000fd5b5050565b6000600554821115610f815760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610906565b6000610f8b611196565b9050610f9783826111b9565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6013805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061103657611036611812565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561108f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b391906117aa565b816001815181106110c6576110c6611812565b6001600160a01b0392831660209182029290920101526012546110ec9130911684610918565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac94790611125908590600090869030904290600401611828565b600060405180830381600087803b15801561113f57600080fd5b505af1158015611153573d6000803e3d6000fd5b50506013805460ff60a81b1916905550505050565b80611175576111756111c5565b6111808484846111f3565b80610e5057610e50600d54600b55600e54600c55565b60008060006111a36112ea565b90925090506111b282826111b9565b9250505090565b6000610f978284611899565b600b541580156111d55750600c54155b156111dc57565b600b8054600d55600c8054600e5560009182905555565b6000806000806000806112058761136c565b6001600160a01b038f16600090815260016020526040902054959b5093995091975095509350915061123790876113c9565b6001600160a01b03808b1660009081526001602052604080822093909355908a168152205461126690866113d5565b6001600160a01b038916600090815260016020526040902055611288816113e1565b611292848361142b565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516112d791815260200190565b60405180910390a3505050505050505050565b6005546000908190816112ff6009600a611784565b61130d906307f28159611793565b905061133561131e6009600a611784565b61132c906307f28159611793565b600554906111b9565b8210156113635760055461134b6009600a611784565b611359906307f28159611793565b9350935050509091565b90939092509050565b60008060008060008060008060006113898a600b54600c5461144f565b9250925092506000611399611196565b905060008060006113ac8e8787876114a4565b919e509c509a509598509396509194505050505091939550919395565b6000610f9782846118bb565b6000610f9782846118ce565b60006113eb611196565b905060006113f983836114f4565b3060009081526001602052604090205490915061141690826113d5565b30600090815260016020526040902055505050565b60055461143890836113c9565b60055560065461144890826113d5565b6006555050565b6000808080611469606461146389896114f4565b906111b9565b9050600061147c60646114638a896114f4565b905060006114948261148e8b866113c9565b906113c9565b9992985090965090945050505050565b60008080806114b388866114f4565b905060006114c188876114f4565b905060006114cf88886114f4565b905060006114e18261148e86866113c9565b939b939a50919850919650505050505050565b6000610f978284611793565b600060208083528351808285015260005b8181101561152d57858101830151858201604001528201611511565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461052557600080fd5b6000806040838503121561157657600080fd5b82356115818161154e565b946020939093013593505050565b6000806000606084860312156115a457600080fd5b83356115af8161154e565b925060208401356115bf8161154e565b929592945050506040919091013590565b801515811461052557600080fd5b6000602082840312156115f057600080fd5b8135610f97816115d0565b60006020828403121561160d57600080fd5b8135610f978161154e565b60008060006060848603121561162d57600080fd5b833592506020840135915060408401356116468161154e565b809150509250925092565b6000806040838503121561166457600080fd5b823561166f8161154e565b9150602083013561167f8161154e565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156116db5781600019048211156116c1576116c161168a565b808516156116ce57918102915b93841c93908002906116a5565b509250929050565b6000826116f257506001610427565b816116ff57506000610427565b8160018114611715576002811461171f5761173b565b6001915050610427565b60ff8411156117305761173061168a565b50506001821b610427565b5060208310610133831016604e8410600b841016171561175e575081810a610427565b61176883836116a0565b806000190482111561177c5761177c61168a565b029392505050565b6000610f9760ff8416836116e3565b80820281158282048414176104275761042761168a565b6000602082840312156117bc57600080fd5b8151610f978161154e565b6000806000606084860312156117dc57600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561180757600080fd5b8151610f97816115d0565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118785784516001600160a01b031683529383019391830191600101611853565b50506001600160a01b03969096166060850152505050608001529392505050565b6000826118b657634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156104275761042761168a565b808201808211156104275761042761168a56fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220afe1a30936af87e231a274f91b43f3a7fd2805fbc85c1d395c6db1752ce3619064736f6c63430008120033

Deployed Bytecode

0x6080604052600436106101235760003560e01c8063715018a6116100a0578063a37a74cc11610064578063a37a74cc1461035b578063a9059cbb1461037b578063c3c8cd801461039b578063dd62ed3e146103b0578063f2fde38b146103f657600080fd5b8063715018a6146102ad5780637f2feddc146102c25780638da5cb5b146102ef5780638f70ccf71461030d57806395d89b411461032d57600080fd5b8063313ce567116100e7578063313ce5671461021a57806349bd5a5e146102365780636d8aa8f8146102565780636fc3eaec1461027857806370a082311461028d57600080fd5b806306fdde031461012f578063095ea7b31461016f5780631694505e1461019f57806318160ddd146101d757806323b872dd146101fa57600080fd5b3661012a57005b600080fd5b34801561013b57600080fd5b506040805180820190915260058152642232b3b2b760d91b60208201525b6040516101669190611500565b60405180910390f35b34801561017b57600080fd5b5061018f61018a366004611563565b610416565b6040519015158152602001610166565b3480156101ab57600080fd5b506012546101bf906001600160a01b031681565b6040516001600160a01b039091168152602001610166565b3480156101e357600080fd5b506101ec61042d565b604051908152602001610166565b34801561020657600080fd5b5061018f61021536600461158f565b61044e565b34801561022657600080fd5b5060405160098152602001610166565b34801561024257600080fd5b506013546101bf906001600160a01b031681565b34801561026257600080fd5b506102766102713660046115de565b6104b7565b005b34801561028457600080fd5b506102766104dd565b34801561029957600080fd5b506101ec6102a83660046115fb565b610528565b3480156102b957600080fd5b5061027661054a565b3480156102ce57600080fd5b506101ec6102dd3660046115fb565b600f6020526000908152604090205481565b3480156102fb57600080fd5b506000546001600160a01b03166101bf565b34801561031957600080fd5b506102766103283660046115de565b61055e565b34801561033957600080fd5b506040805180820190915260058152642222a3a2a760d91b6020820152610159565b34801561036757600080fd5b50610276610376366004611618565b610704565b34801561038757600080fd5b5061018f610396366004611563565b61083c565b3480156103a757600080fd5b50610276610849565b3480156103bc57600080fd5b506101ec6103cb366004611651565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b34801561040257600080fd5b506102766104113660046115fb565b61089d565b6000610423338484610918565b5060015b92915050565b600061043b6009600a611784565b610449906307f28159611793565b905090565b600061045b848484610a3c565b6104ad84336104a8856040518060600160405280602881526020016118e2602891396001600160a01b038a1660009081526003602090815260408083203384529091529020549190610e56565b610918565b5060019392505050565b6104bf610e82565b60138054911515600160b01b0260ff60b01b19909216919091179055565b6010546001600160a01b0316336001600160a01b0316148061051257506011546001600160a01b0316336001600160a01b0316145b61051b57600080fd5b4761052581610edc565b50565b6001600160a01b03811660009081526001602052604081205461042790610f1a565b610552610e82565b61055c6000610f9e565b565b610566610e82565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b81529051829163c45a01559160048083019260209291908290030181865afa1580156105cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ef91906117aa565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561063c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066091906117aa565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156106ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d191906117aa565b60138054931515600160a01b026001600160a81b03199094166001600160a01b0392909216919091179290921790915550565b61070c610e82565b6012546107249030906001600160a01b031685610918565b60125460405163f305d71960e01b81523060048201819052602482018690526000604483018190526064830181905260848301919091524260a4830152916001600160a01b03169063f305d71990859060c40160606040518083038185885af1158015610795573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906107ba91906117c7565b60135460405163a9059cbb60e01b81526001600160a01b038781166004830152602482018490529295509116925063a9059cbb91506044016020604051808303816000875af1158015610811573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083591906117f5565b5050505050565b6000610423338484610a3c565b6010546001600160a01b0316336001600160a01b0316148061087e57506011546001600160a01b0316336001600160a01b0316145b61088757600080fd5b600061089230610528565b905061052581610fee565b6108a5610e82565b6001600160a01b03811661090f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61052581610f9e565b6001600160a01b03831661097a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610906565b6001600160a01b0382166109db5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610906565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610aa05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610906565b6001600160a01b038216610b025760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610906565b60008111610b645760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610906565b610b6d83610528565b811115610bcd5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e7420657863656564732073656e64657227736044820152672062616c616e636560c01b6064820152608401610906565b6000546001600160a01b03848116911614801590610bf957506000546001600160a01b03838116911614155b15610d4957601354600160a01b900460ff16610c92576000546001600160a01b03848116911614610c925760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c6564006064820152608401610906565b6000610c9d30610528565b601354909150600160a81b900460ff16158015610cc857506013546001600160a01b03858116911614155b8015610cdd5750601354600160b01b900460ff165b8015610d0257506001600160a01b03841660009081526004602052604090205460ff16155b8015610d2757506001600160a01b03831660009081526004602052604090205460ff16155b15610d4757610d3581610fee565b478015610d4557610d4547610edc565b505b505b6001600160a01b03831660009081526004602052604090205460019060ff1680610d8b57506001600160a01b03831660009081526004602052604090205460ff165b80610dbd57506013546001600160a01b03858116911614801590610dbd57506013546001600160a01b03848116911614155b15610dca57506000610e44565b6013546001600160a01b038581169116148015610df557506012546001600160a01b03848116911614155b15610e0757600754600b55600854600c555b6013546001600160a01b038481169116148015610e3257506012546001600160a01b03858116911614155b15610e4457600954600b55600a54600c555b610e5084848484611168565b50505050565b60008184841115610e7a5760405162461bcd60e51b81526004016109069190611500565b505050900390565b6000546001600160a01b0316331461055c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610906565b6011546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610f16573d6000803e3d6000fd5b5050565b6000600554821115610f815760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610906565b6000610f8b611196565b9050610f9783826111b9565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6013805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061103657611036611812565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561108f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b391906117aa565b816001815181106110c6576110c6611812565b6001600160a01b0392831660209182029290920101526012546110ec9130911684610918565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac94790611125908590600090869030904290600401611828565b600060405180830381600087803b15801561113f57600080fd5b505af1158015611153573d6000803e3d6000fd5b50506013805460ff60a81b1916905550505050565b80611175576111756111c5565b6111808484846111f3565b80610e5057610e50600d54600b55600e54600c55565b60008060006111a36112ea565b90925090506111b282826111b9565b9250505090565b6000610f978284611899565b600b541580156111d55750600c54155b156111dc57565b600b8054600d55600c8054600e5560009182905555565b6000806000806000806112058761136c565b6001600160a01b038f16600090815260016020526040902054959b5093995091975095509350915061123790876113c9565b6001600160a01b03808b1660009081526001602052604080822093909355908a168152205461126690866113d5565b6001600160a01b038916600090815260016020526040902055611288816113e1565b611292848361142b565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516112d791815260200190565b60405180910390a3505050505050505050565b6005546000908190816112ff6009600a611784565b61130d906307f28159611793565b905061133561131e6009600a611784565b61132c906307f28159611793565b600554906111b9565b8210156113635760055461134b6009600a611784565b611359906307f28159611793565b9350935050509091565b90939092509050565b60008060008060008060008060006113898a600b54600c5461144f565b9250925092506000611399611196565b905060008060006113ac8e8787876114a4565b919e509c509a509598509396509194505050505091939550919395565b6000610f9782846118bb565b6000610f9782846118ce565b60006113eb611196565b905060006113f983836114f4565b3060009081526001602052604090205490915061141690826113d5565b30600090815260016020526040902055505050565b60055461143890836113c9565b60055560065461144890826113d5565b6006555050565b6000808080611469606461146389896114f4565b906111b9565b9050600061147c60646114638a896114f4565b905060006114948261148e8b866113c9565b906113c9565b9992985090965090945050505050565b60008080806114b388866114f4565b905060006114c188876114f4565b905060006114cf88886114f4565b905060006114e18261148e86866113c9565b939b939a50919850919650505050505050565b6000610f978284611793565b600060208083528351808285015260005b8181101561152d57858101830151858201604001528201611511565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461052557600080fd5b6000806040838503121561157657600080fd5b82356115818161154e565b946020939093013593505050565b6000806000606084860312156115a457600080fd5b83356115af8161154e565b925060208401356115bf8161154e565b929592945050506040919091013590565b801515811461052557600080fd5b6000602082840312156115f057600080fd5b8135610f97816115d0565b60006020828403121561160d57600080fd5b8135610f978161154e565b60008060006060848603121561162d57600080fd5b833592506020840135915060408401356116468161154e565b809150509250925092565b6000806040838503121561166457600080fd5b823561166f8161154e565b9150602083013561167f8161154e565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156116db5781600019048211156116c1576116c161168a565b808516156116ce57918102915b93841c93908002906116a5565b509250929050565b6000826116f257506001610427565b816116ff57506000610427565b8160018114611715576002811461171f5761173b565b6001915050610427565b60ff8411156117305761173061168a565b50506001821b610427565b5060208310610133831016604e8410600b841016171561175e575081810a610427565b61176883836116a0565b806000190482111561177c5761177c61168a565b029392505050565b6000610f9760ff8416836116e3565b80820281158282048414176104275761042761168a565b6000602082840312156117bc57600080fd5b8151610f978161154e565b6000806000606084860312156117dc57600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561180757600080fd5b8151610f97816115d0565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118785784516001600160a01b031683529383019391830191600101611853565b50506001600160a01b03969096166060850152505050608001529392505050565b6000826118b657634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156104275761042761168a565b808201808211156104275761042761168a56fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220afe1a30936af87e231a274f91b43f3a7fd2805fbc85c1d395c6db1752ce3619064736f6c63430008120033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.