ETH Price: $3,862.63 (-1.74%)

Token

OrdiGen (ODGN)
 

Overview

Max Total Supply

1,000,000,000 ODGN

Holders

1,086

Total Transfers

-

Market

Price

$0.00 @ 0.000000 ETH (-1.23%)

Onchain Market Cap

$113,390.00

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

OrdiGen streamlines your journey into the world of BRC-20 tokens. Simply browse and choose your desired token, tell us how much ETH you want to invest and where you'd like the purchased tokens delivered on the Bitcoin network.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ODGN

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : ODGN.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";

contract ODGN is ERC20, Ownable {
    modifier lockSwap() {
        _inSwap = true;
        _;
        _inSwap = false;
    }

    modifier liquidityAdd() {
        _inLiquidityAdd = true;
        _;
        _inLiquidityAdd = false;
    }

    uint256 public constant MAX_SUPPLY = 1_000_000_000 ether;
    uint256 public constant BPS_DENOMINATOR = 10_000;

    IUniswapV2Router02 internal immutable _router;
    address internal immutable _pair;

    /// @notice Buy taxes in BPS
    uint256[2] public buyTaxes = [4000, 0];
    /// @notice Sell taxes in BPS
    uint256[2] public sellTaxes = [4000, 0];
    /// @notice Maximum that can be bought in a single transaction
    uint256 public maxBuy = 10_000_000 ether;
    /// @notice tokens that are allocated for each tax
    uint256[2] public totalTaxes;
    /// @notice addresses that each tax is sent to
    address payable[2] public taxWallets;
    /// @notice Maps each recipient to their tax exlcusion status
    mapping(address => bool) public taxExcluded;

    /// @notice Contract ODGN balance threshold before `_swap` is invoked
    uint256 public minTokenBalance = 1000 ether;
    /// @notice Flag for auto-calling `_swap`
    bool public autoSwap = true;
    /// @notice Flag indicating whether buys/sells are permitted
    bool public tradingActive = false;

    uint256 internal _totalSupply = 0;
    mapping(address => uint256) private _balances;

    bool internal _inSwap = false;
    bool internal _inLiquidityAdd = false;

    event TaxWalletsChanged(
        address payable[2] previousWallets,
        address payable[2] nextWallets
    );
    event BuyTaxesChanged(uint256[2] previousTaxes, uint256[2] nextTaxes);
    event SellTaxesChanged(uint256[2] previousTaxes, uint256[2] nextTaxes);
    event MinTokenBalanceChanged(uint256 previousMin, uint256 nextMin);
    event MaxBuyChanged(uint256 previousMax, uint256 nextMax);
    event TaxesRescued(uint256 index, uint256 amount);
    event TradingActiveChanged(bool enabled);
    event TaxExclusionChanged(address user, bool taxExcluded);
    event AutoSwapChanged(bool enabled);

    constructor(IUniswapV2Router02 _uniswapRouter, address payable[2] memory _taxWallets, uint256 _goupAmount)
        ERC20("OrdiGen", "ODGN")
        Ownable()
    {
        taxExcluded[owner()] = true;
        taxExcluded[address(this)] = true;
        taxWallets = _taxWallets;

        _router = _uniswapRouter;
        _pair = IUniswapV2Factory(_uniswapRouter.factory()).createPair(
            address(this),
            _uniswapRouter.WETH()
        );
        _goup(owner(), _goupAmount);
    }

    /// @notice Change the address of the tax wallets
    /// @param _taxWallets The new address of the tax wallets
    function setTaxWallets(address payable[2] memory _taxWallets)
        external
        onlyOwner
    {
        emit TaxWalletsChanged(taxWallets, _taxWallets);
        taxWallets = _taxWallets;
    }

    /// @notice Change the buy tax rates
    /// @param _buyTaxes The new buy tax rates
    function setBuyTaxes(uint256[2] memory _buyTaxes) external onlyOwner {
        require(
            _buyTaxes[0] + _buyTaxes[1] <= BPS_DENOMINATOR,
            "sum(_buyTaxes) cannot exceed BPS_DENOMINATOR"
        );
        emit BuyTaxesChanged(buyTaxes, _buyTaxes);
        buyTaxes = _buyTaxes;
    }

    /// @notice Change the sell tax rates
    /// @param _sellTaxes The new sell tax rates
    function setSellTaxes(uint256[2] memory _sellTaxes) external onlyOwner {
        require(
            _sellTaxes[0] + _sellTaxes[1] <= BPS_DENOMINATOR,
            "sum(_sellTaxes) cannot exceed BPS_DENOMINATOR"
        );
        emit SellTaxesChanged(sellTaxes, _sellTaxes);
        sellTaxes = _sellTaxes;
    }

    /// @notice Change the minimum contract ODGN balance before `_swap` gets invoked
    /// @param _minTokenBalance The new minimum balance
    function setMinTokenBalance(uint256 _minTokenBalance) external onlyOwner {
        emit MinTokenBalanceChanged(minTokenBalance, _minTokenBalance);
        minTokenBalance = _minTokenBalance;
    }

    /// @notice Change the max buy amount
    /// @param _maxBuy The new max buy amount
    function setMaxBuy(uint256 _maxBuy) external onlyOwner {
        emit MaxBuyChanged(maxBuy, _maxBuy);
        maxBuy = _maxBuy;
    }

    /// @notice Rescue ODGN from the taxes
    /// @dev Should only be used in an emergency
    /// @param _index The tax allocation to rescue from
    /// @param _amount The amount of ODGN to rescue
    /// @param _recipient The recipient of the rescued ODGN
    function rescueTaxTokens(
        uint256 _index,
        uint256 _amount,
        address _recipient
    ) external onlyOwner {
        require(0 <= _index && _index < totalTaxes.length, "_index OOB");
        require(
            _amount <= totalTaxes[_index],
            "Amount cannot be greater than totalTax"
        );
        _rawTransfer(address(this), _recipient, _amount);
        emit TaxesRescued(_index, _amount);
        totalTaxes[_index] -= _amount;
    }

    function addLiquidity(uint256 tokens)
        external
        payable
        onlyOwner
        liquidityAdd
    {
        _goup(address(this), tokens);
        _approve(address(this), address(_router), tokens);

        _router.addLiquidityETH{value: msg.value}(
            address(this),
            tokens,
            0,
            0,
            owner(),
            // solhint-disable-next-line not-rely-on-time
            block.timestamp
        );
    }

    /// @notice Enables or disables trading on Uniswap
    function setTradingActive(bool _tradingActive) external onlyOwner {
        tradingActive = _tradingActive;
        emit TradingActiveChanged(_tradingActive);
    }

    /// @notice Updates tax exclusion status
    /// @param _account Account to update the tax exclusion status of
    /// @param _taxExcluded If true, exclude taxes for this user
    function setTaxExcluded(address _account, bool _taxExcluded)
        external
        onlyOwner
    {
        taxExcluded[_account] = _taxExcluded;
        emit TaxExclusionChanged(_account, _taxExcluded);
    }

    /// @notice Enable or disable whether swap occurs during `_transfer`
    /// @param _autoSwap If true, enables swap during `_transfer`
    function setAutoSwap(bool _autoSwap) external onlyOwner {
        autoSwap = _autoSwap;
        emit AutoSwapChanged(_autoSwap);
    }

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

    function _addBalance(address account, uint256 amount) internal {
        _balances[account] = _balances[account] + amount;
    }

    function _subtractBalance(address account, uint256 amount) internal {
        _balances[account] = _balances[account] - amount;
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal override {
        if (taxExcluded[sender] || taxExcluded[recipient]) {
            _rawTransfer(sender, recipient, amount);
            return;
        }

        if (
            totalTaxes[0] + totalTaxes[1] >= minTokenBalance &&
            !_inSwap &&
            sender != _pair &&
            autoSwap
        ) {
            _swap();
        }

        uint256 send = amount;
        uint256[2] memory taxes;
        if (sender == _pair) {
            require(tradingActive, "Trading is not yet active");
            (send, taxes) = _getTaxAmounts(amount, true);
            require(amount <= maxBuy, "Buy amount exceeds maxBuy");
        } else if (recipient == _pair) {
            require(tradingActive, "Trading is not yet active");
            (send, taxes) = _getTaxAmounts(amount, false);
        }
        _rawTransfer(sender, recipient, send);
        _takeTaxes(sender, taxes);
    }

    /// @notice Perform a Uniswap v2 swap from ODGN to ETH and handle tax distribution
    function _swap() internal lockSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = _router.WETH();

        uint256 walletTaxes = totalTaxes[0] + totalTaxes[1];

        _approve(address(this), address(_router), walletTaxes);
        _router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            walletTaxes,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
        uint256 contractEthBalance = address(this).balance;

        uint256 tax0Eth = (contractEthBalance * totalTaxes[0]) / walletTaxes;
        uint256 tax1Eth = (contractEthBalance * totalTaxes[1]) / walletTaxes;
        totalTaxes = [0, 0];

        if (tax0Eth > 0) {
            taxWallets[0].transfer(tax0Eth);
        }
        if (tax1Eth > 0) {
            taxWallets[1].transfer(tax1Eth);
        }
    }

    function swapAll() external {
        if (!_inSwap) {
            _swap();
        }
    }

    function withdrawAll() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

    /// @notice Transfers ODGN from an account to this contract for taxes
    /// @param _account The account to transfer ODGN from
    /// @param _taxAmounts The amount for each tax
    function _takeTaxes(address _account, uint256[2] memory _taxAmounts)
        internal
    {
        require(_account != address(0), "taxation from the zero address");

        uint256 totalAmount = _taxAmounts[0] + _taxAmounts[1];
        _rawTransfer(_account, address(this), totalAmount);
        totalTaxes[0] += _taxAmounts[0];
        totalTaxes[1] += _taxAmounts[1];
    }

    /// @notice Get a breakdown of send and tax amounts
    /// @param amount The amount to tax in wei
    /// @return send The raw amount to send
    /// @return taxes The raw tax amounts
    function _getTaxAmounts(uint256 amount, bool buying)
        internal
        view
        returns (uint256 send, uint256[2] memory taxes)
    {
        if (buying) {
            taxes = [
                (amount * buyTaxes[0]) / BPS_DENOMINATOR,
                (amount * buyTaxes[1]) / BPS_DENOMINATOR
            ];
        } else {
            taxes = [
                (amount * sellTaxes[0]) / BPS_DENOMINATOR,
                (amount * sellTaxes[1]) / BPS_DENOMINATOR
            ];
        }
        send = amount - taxes[0] - taxes[1];
    }

    // modified from OpenZeppelin ERC20
    function _rawTransfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal {
        require(sender != address(0), "transfer from the zero address");
        require(recipient != address(0), "transfer to the zero address");

        uint256 senderBalance = balanceOf(sender);
        require(senderBalance >= amount, "transfer amount exceeds balance");
        unchecked {
            _subtractBalance(sender, amount);
        }
        _addBalance(recipient, amount);

        emit Transfer(sender, recipient, amount);
    }

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

    function _goup(address account, uint256 amount) internal {
        require(_totalSupply + amount <= MAX_SUPPLY, "Max supply exceeded");
        _totalSupply += amount;
        _addBalance(account, amount);
        emit Transfer(address(0), account, amount);
    }

    receive() external payable {}
}

File 2 of 10 : 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 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 6 of 10 : 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 7 of 10 : 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 8 of 10 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 9 of 10 : 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 10 of 10 : 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"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IUniswapV2Router02","name":"_uniswapRouter","type":"address"},{"internalType":"address payable[2]","name":"_taxWallets","type":"address[2]"},{"internalType":"uint256","name":"_goupAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"AutoSwapChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[2]","name":"previousTaxes","type":"uint256[2]"},{"indexed":false,"internalType":"uint256[2]","name":"nextTaxes","type":"uint256[2]"}],"name":"BuyTaxesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousMax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextMax","type":"uint256"}],"name":"MaxBuyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousMin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextMin","type":"uint256"}],"name":"MinTokenBalanceChanged","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":false,"internalType":"uint256[2]","name":"previousTaxes","type":"uint256[2]"},{"indexed":false,"internalType":"uint256[2]","name":"nextTaxes","type":"uint256[2]"}],"name":"SellTaxesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"taxExcluded","type":"bool"}],"name":"TaxExclusionChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address payable[2]","name":"previousWallets","type":"address[2]"},{"indexed":false,"internalType":"address payable[2]","name":"nextWallets","type":"address[2]"}],"name":"TaxWalletsChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TaxesRescued","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"TradingActiveChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BPS_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"addLiquidity","outputs":[],"stateMutability":"payable","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":[],"name":"autoSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"buyTaxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"rescueTaxTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"sellTaxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_autoSwap","type":"bool"}],"name":"setAutoSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[2]","name":"_buyTaxes","type":"uint256[2]"}],"name":"setBuyTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBuy","type":"uint256"}],"name":"setMaxBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minTokenBalance","type":"uint256"}],"name":"setMinTokenBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[2]","name":"_sellTaxes","type":"uint256[2]"}],"name":"setSellTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_taxExcluded","type":"bool"}],"name":"setTaxExcluded","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable[2]","name":"_taxWallets","type":"address[2]"}],"name":"setTaxWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_tradingActive","type":"bool"}],"name":"setTradingActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"taxWallets","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalTaxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

610100604052610fa060c0908152600060e05262000022906006906002620004e4565b5060408051808201909152610fa081526000602082015262000049906008906002620004e4565b506a084595161401484a000000600a55683635c9adc5dea000006010556011805461ffff1990811660011790915560006012556014805490911690553480156200009257600080fd5b50604051620029b3380380620029b3833981016040819052620000b59162000644565b604080518082018252600781526627b93234a3b2b760c91b60208083019182528351808501909452600484526327a223a760e11b90840152815191929162000100916003916200052d565b508051620001169060049060208401906200052d565b505050620001336200012d6200036d60201b60201c565b62000371565b6001600f60006200014c6005546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff19958616179055308152600f9092529020805490911660011790556200019b600d836002620005aa565b50826001600160a01b03166080816001600160a01b031660601b81525050826001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015620001f357600080fd5b505afa15801562000208573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200022e91906200061e565b6001600160a01b031663c9c6539630856001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200027757600080fd5b505afa1580156200028c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b291906200061e565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620002fb57600080fd5b505af115801562000310573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200033691906200061e565b60601b6001600160601b03191660a052620003646200035d6005546001600160a01b031690565b82620003c3565b50505062000784565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6b033b2e3c9fd0803ce800000081601254620003e09190620006f3565b1115620004335760405162461bcd60e51b815260206004820152601360248201527f4d617820737570706c7920657863656564656400000000000000000000000000604482015260640160405180910390fd5b8060126000828254620004479190620006f3565b9091555062000459905082826200049e565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216600090815260136020526040902054620004c4908290620006f3565b6001600160a01b0390921660009081526013602052604090209190915550565b82600281019282156200051b579160200282015b828111156200051b578251829061ffff16905591602001919060010190620004f8565b5062000529929150620005f5565b5090565b8280546200053b9062000718565b90600052602060002090601f0160209004810192826200055f57600085556200051b565b82601f106200057a57805160ff19168380011785556200051b565b828001600101855582156200051b579182015b828111156200051b5782518255916020019190600101906200058d565b82600281019282156200051b579160200282015b828111156200051b57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620005be565b5b80821115620005295760008155600101620005f6565b805162000619816200076b565b919050565b60006020828403121562000630578081fd5b81516200063d816200076b565b9392505050565b60008060006080848603121562000659578182fd5b835162000666816200076b565b92506020603f8501861362000679578283fd5b604080519081016001600160401b03811182821017156200069e576200069e62000755565b604052808683016060880189811115620006b6578687fd5b865b6002811015620006e057620006cd836200060c565b84529285019291850191600101620006b8565b5051969992985095965090945050505050565b600082198211156200071357634e487b7160e01b81526011600452602481fd5b500190565b600181811c908216806200072d57607f821691505b602082108114156200074f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146200078157600080fd5b50565b60805160601c60a05160601c6121d9620007da600039600081816112280152818161128301526113770152600081816108bc015281816108e3015281816114a10152818161158401526115c001526121d96000f3fe60806040526004361061021e5760003560e01c8063715018a611610123578063a457c2d7116100ab578063dd62ed3e1161006f578063dd62ed3e14610626578063e1a4521814610646578063f2fde38b1461065c578063f50a243b1461067c578063f53bc8351461069c57600080fd5b8063a457c2d714610587578063a894185d146105a7578063a9059cbb146105c7578063b0ac1571146105e7578063bbc0c7421461060757600080fd5b80638da5cb5b116100f25780638da5cb5b146104e0578063912c048c1461051257806393818cfa14610532578063959bd6c21461055257806395d89b411461057257600080fd5b8063715018a61461047c5780637700485114610491578063821f6580146104ab578063853828b6146104cb57600080fd5b806339509351116101a657806352f892fa1161017557806352f892fa146103da5780635b78f35f146103fa57806364071d9f1461041057806370a082311461043057806370db69d61461046657600080fd5b8063395093511461036257806339b622d3146103825780633e9ffbea146103b257806351c6590a146103c757600080fd5b806319c2c40d116101ed57806319c2c40d146102c657806323b872dd146102e65780632c8dc14714610306578063313ce5671461032657806332cb6b0c1461034257600080fd5b806306fdde031461022a578063095ea7b31461025557806309d2c46a1461028557806318160ddd146102a757600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061023f6106bc565b60405161024c9190611fd5565b60405180910390f35b34801561026157600080fd5b50610275610270366004611d8c565b61074e565b604051901515815260200161024c565b34801561029157600080fd5b506102a56102a0366004611db7565b610766565b005b3480156102b357600080fd5b506012545b60405190815260200161024c565b3480156102d257600080fd5b506102a56102e1366004611d58565b6107b9565b3480156102f257600080fd5b50610275610301366004611d18565b610824565b34801561031257600080fd5b506102b8610321366004611e98565b610848565b34801561033257600080fd5b506040516012815260200161024c565b34801561034e57600080fd5b506102b86b033b2e3c9fd0803ce800000081565b34801561036e57600080fd5b5061027561037d366004611d8c565b61085f565b34801561038e57600080fd5b5061027561039d366004611ca1565b600f6020526000908152604090205460ff1681565b3480156103be57600080fd5b506102a5610881565b6102a56103d5366004611e98565b610895565b3480156103e657600080fd5b506102a56103f5366004611e25565b6109d5565b34801561040657600080fd5b506102b860105481565b34801561041c57600080fd5b506102a561042b366004611e25565b610aa0565b34801561043c57600080fd5b506102b861044b366004611ca1565b6001600160a01b031660009081526013602052604090205490565b34801561047257600080fd5b506102b8600a5481565b34801561048857600080fd5b506102a5610b67565b34801561049d57600080fd5b506011546102759060ff1681565b3480156104b757600080fd5b506102b86104c6366004611e98565b610b79565b3480156104d757600080fd5b506102a5610b89565b3480156104ec57600080fd5b506005546001600160a01b03165b6040516001600160a01b03909116815260200161024c565b34801561051e57600080fd5b506104fa61052d366004611e98565b610bcd565b34801561053e57600080fd5b506102a561054d366004611e7e565b610bed565b34801561055e57600080fd5b506102a561056d366004611e7e565b610c3d565b34801561057e57600080fd5b5061023f610c8e565b34801561059357600080fd5b506102756105a2366004611d8c565b610c9d565b3480156105b357600080fd5b506102a56105c2366004611eb0565b610d18565b3480156105d357600080fd5b506102756105e2366004611d8c565b610e5e565b3480156105f357600080fd5b506102a5610602366004611e98565b610e6c565b34801561061357600080fd5b5060115461027590610100900460ff1681565b34801561063257600080fd5b506102b8610641366004611ce0565b610eb5565b34801561065257600080fd5b506102b861271081565b34801561066857600080fd5b506102a5610677366004611ca1565b610ee0565b34801561068857600080fd5b506102b8610697366004611e98565b610f56565b3480156106a857600080fd5b506102a56106b7366004611e98565b610f66565b6060600380546106cb9061213d565b80601f01602080910402602001604051908101604052809291908181526020018280546106f79061213d565b80156107445780601f1061071957610100808354040283529160200191610744565b820191906000526020600020905b81548152906001019060200180831161072757829003601f168201915b5050505050905090565b60003361075c818585610faf565b5060019392505050565b61076e6110d3565b7fbf0afdfa1cb21873aab858ebc02e5db135c9f8e64589cd0d1a668b4d66993ca9600d826040516107a0929190611f15565b60405180910390a16107b5600d826002611ba0565b5050565b6107c16110d3565b6001600160a01b0382166000818152600f6020908152604091829020805460ff19168515159081179091558251938452908301527f9081172b1302ac3df81f8da318d2d60362a834f73c0a1b69d14cb14414fbb9fc910160405180910390a15050565b60003361083285828561112d565b61083d8585856111a7565b506001949350505050565b6008816002811061085857600080fd5b0154905081565b60003361075c8185856108728383610eb5565b61087c91906120cf565b610faf565b60145460ff166108935761089361142f565b565b61089d6110d3565b6014805461ff0019166101001790556108b63082611728565b6108e1307f000000000000000000000000000000000000000000000000000000000000000083610faf565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d7193430846000806109286005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b15801561098b57600080fd5b505af115801561099f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109c49190611ee8565b50506014805461ff00191690555050565b6109dd6110d3565b60208101518151612710916109f1916120cf565b1115610a595760405162461bcd60e51b815260206004820152602c60248201527f73756d285f6275795461786573292063616e6e6f74206578636565642042505360448201526b2fa222a727a6a4a720aa27a960a11b60648201526084015b60405180910390fd5b7ff030bb719ac1227860b29dae4e2aead664a7eb21b5d574d8eb10302e435a57cb600682604051610a8b929190611f83565b60405180910390a16107b56006826002611bf8565b610aa86110d3565b6020810151815161271091610abc916120cf565b1115610b205760405162461bcd60e51b815260206004820152602d60248201527f73756d285f73656c6c5461786573292063616e6e6f742065786365656420425060448201526c29afa222a727a6a4a720aa27a960991b6064820152608401610a50565b7f4e5aa6a1d8a2baf47d4c781f8fa278df4f48fb465fde488841b40aee0868d9f2600882604051610b52929190611f83565b60405180910390a16107b56008826002611bf8565b610b6f6110d3565b61089360006117ee565b6006816002811061085857600080fd5b610b916110d3565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610bca573d6000803e3d6000fd5b50565b600d8160028110610bdd57600080fd5b01546001600160a01b0316905081565b610bf56110d3565b6011805460ff19168215159081179091556040519081527f927009a164f58be5665a2121b2564ae19a66046fb36a397d3fca78f72ba04c3d906020015b60405180910390a150565b610c456110d3565b601180548215156101000261ff00199091161790556040517fec78e36312d308764a43b9714c18f6444e2604b277d18be4ea329e0644dbe9b990610c3290831515815260200190565b6060600480546106cb9061213d565b60003381610cab8286610eb5565b905083811015610d0b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a50565b61083d8286868403610faf565b610d206110d3565b60028310610d5d5760405162461bcd60e51b815260206004820152600a6024820152692fb4b73232bc1027a7a160b11b6044820152606401610a50565b600b8360028110610d7e57634e487b7160e01b600052603260045260246000fd5b0154821115610dde5760405162461bcd60e51b815260206004820152602660248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f6044820152650e8c2d8a8c2f60d31b6064820152608401610a50565b610de9308284611840565b60408051848152602081018490527f13ac772a78d03c80813b3c9c28d72a72d3b31e5ee74e277a88ac0c322a6bfc8f910160405180910390a181600b8460028110610e4457634e487b7160e01b600052603260045260246000fd5b016000828254610e549190612126565b9091555050505050565b60003361075c8185856111a7565b610e746110d3565b60105460408051918252602082018390527f15426420a06dcf9391d9e4b7557f5cfaba5be0d7bf857b641e78ec375a343425910160405180910390a1601055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610ee86110d3565b6001600160a01b038116610f4d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a50565b610bca816117ee565b600b816002811061085857600080fd5b610f6e6110d3565b600a5460408051918252602082018390527f4dc2313a84b395e55972a3b89a37fcaf0de5664a014223f644ee10a5cda3d926910160405180910390a1600a55565b6001600160a01b0383166110115760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a50565b6001600160a01b0382166110725760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a50565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146108935760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a50565b60006111398484610eb5565b905060001981146111a157818110156111945760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a50565b6111a18484848403610faf565b50505050565b6001600160a01b0383166000908152600f602052604090205460ff16806111e657506001600160a01b0382166000908152600f602052604090205460ff165b156111fb576111f6838383611840565b505050565b601054600c54600b5461120e91906120cf565b1015801561121f575060145460ff16155b801561125d57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614155b801561126b575060115460ff165b156112785761127861142f565b80611281611c26565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b0316141561137557601154610100900460ff1661130e5760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610a50565b6113198360016119bc565b600a5491935091508311156113705760405162461bcd60e51b815260206004820152601960248201527f42757920616d6f756e742065786365656473206d6178427579000000000000006044820152606401610a50565b611413565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b0316141561141357601154610100900460ff166114025760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610a50565b61140d8360006119bc565b90925090505b61141e858584611840565b6114288582611a92565b5050505050565b6014805460ff19166001179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061147f57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156114f857600080fd5b505afa15801561150c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115309190611cc4565b8160018151811061155157634e487b7160e01b600052603260045260246000fd5b6001600160a01b039290921660209283029190910190910152600c54600b5460009161157c916120cf565b90506115a9307f000000000000000000000000000000000000000000000000000000000000000083610faf565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906115fe908490600090879030904290600401612028565b600060405180830381600087803b15801561161857600080fd5b505af115801561162c573d6000803e3d6000fd5b5050600b544792506000915083906116449084612107565b61164e91906120e7565b9050600083600b600101546116639085612107565b61166d91906120e7565b604080518082019091526000808252602082015290915061169290600b906002611c44565b5081156116d557600d546040516001600160a01b03909116906108fc8415029084906000818181858888f193505050501580156116d3573d6000803e3d6000fd5b505b801561171757600e546040516001600160a01b03909116906108fc8315029083906000818181858888f19350505050158015611715573d6000803e3d6000fd5b505b50506014805460ff19169055505050565b6b033b2e3c9fd0803ce80000008160125461174391906120cf565b11156117875760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610a50565b806012600082825461179991906120cf565b909155506117a990508282611b38565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166118965760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610a50565b6001600160a01b0382166118ec5760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610a50565b6001600160a01b038316600090815260136020526040902054818110156119555760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610a50565b61195f8483611b7c565b6119698383611b38565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516119ae91815260200190565b60405180910390a350505050565b60006119c6611c26565b8215611a1f5760408051808201909152806127106006600001546119ea9088612107565b6119f491906120e7565b8152602001612710600660010154611a0c9088612107565b611a1691906120e7565b90529050611a6e565b6040805180820190915280612710600860000154611a3d9088612107565b611a4791906120e7565b8152602001612710600860010154611a5f9088612107565b611a6991906120e7565b905290505b60208101518151611a7f9086612126565b611a899190612126565b91509250929050565b6001600160a01b038216611ae85760405162461bcd60e51b815260206004820152601e60248201527f7461786174696f6e2066726f6d20746865207a65726f206164647265737300006044820152606401610a50565b60208101518151600091611afb916120cf565b9050611b08833083611840565b8151600b8054600090611b1c9084906120cf565b90915550506020820151600c8054600090610e549084906120cf565b6001600160a01b038216600090815260136020526040902054611b5c9082906120cf565b6001600160a01b0390921660009081526013602052604090209190915550565b6001600160a01b038216600090815260136020526040902054611b5c908290612126565b8260028101928215611be8579160200282015b82811115611be857825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611bb3565b50611bf4929150611c77565b5090565b8260028101928215611be8579160200282015b82811115611be8578251825591602001919060010190611c0b565b60405180604001604052806002906020820280368337509192915050565b8260028101928215611be8579160200282015b82811115611be8578251829060ff16905591602001919060010190611c57565b5b80821115611bf45760008155600101611c78565b80358015158114611c9c57600080fd5b919050565b600060208284031215611cb2578081fd5b8135611cbd8161218e565b9392505050565b600060208284031215611cd5578081fd5b8151611cbd8161218e565b60008060408385031215611cf2578081fd5b8235611cfd8161218e565b91506020830135611d0d8161218e565b809150509250929050565b600080600060608486031215611d2c578081fd5b8335611d378161218e565b92506020840135611d478161218e565b929592945050506040919091013590565b60008060408385031215611d6a578182fd5b8235611d758161218e565b9150611d8360208401611c8c565b90509250929050565b60008060408385031215611d9e578182fd5b8235611da98161218e565b946020939093013593505050565b600060408284031215611dc8578081fd5b82601f830112611dd6578081fd5b611dde612098565b808385604086011115611def578384fd5b835b6002811015611e1a578135611e058161218e565b84526020938401939190910190600101611df1565b509095945050505050565b600060408284031215611e36578081fd5b82601f830112611e44578081fd5b611e4c612098565b808385604086011115611e5d578384fd5b835b6002811015611e1a578135845260209384019390910190600101611e5f565b600060208284031215611e8f578081fd5b611cbd82611c8c565b600060208284031215611ea9578081fd5b5035919050565b600080600060608486031215611ec4578283fd5b83359250602084013591506040840135611edd8161218e565b809150509250925092565b600080600060608486031215611efc578283fd5b8351925060208401519150604084015190509250925092565b60808101818460005b6002811015611f465781546001600160a01b0316835260209092019160019182019101611f1e565b505050604082018360005b6002811015611f795781516001600160a01b0316835260209283019290910190600101611f51565b5050509392505050565b60808101818460005b6002811015611fab578154835260209092019160019182019101611f8c565b505050604082018360005b6002811015611f79578151835260209283019290910190600101611fb6565b6000602080835283518082850152825b8181101561200157858101830151858201604001528201611fe5565b818111156120125783604083870101525b50601f01601f1916929092016040019392505050565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156120775784516001600160a01b031683529383019391830191600101612052565b50506001600160a01b03969096166060850152505050608001529392505050565b6040805190810167ffffffffffffffff811182821017156120c957634e487b7160e01b600052604160045260246000fd5b60405290565b600082198211156120e2576120e2612178565b500190565b60008261210257634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561212157612121612178565b500290565b60008282101561213857612138612178565b500390565b600181811c9082168061215157607f821691505b6020821081141561217257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610bca57600080fdfea26469706673582212202f44a7f88eb0a242a497f5d6b774ef64587159c7a560863152cce6d78097fe7964736f6c634300080400330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000d42bdb3e36afd31450c117b9d8b897de2abe7b2d000000000000000000000000d42bdb3e36afd31450c117b9d8b897de2abe7b2d000000000000000000000000000000000000000000f8277896582678ac000000

Deployed Bytecode

0x60806040526004361061021e5760003560e01c8063715018a611610123578063a457c2d7116100ab578063dd62ed3e1161006f578063dd62ed3e14610626578063e1a4521814610646578063f2fde38b1461065c578063f50a243b1461067c578063f53bc8351461069c57600080fd5b8063a457c2d714610587578063a894185d146105a7578063a9059cbb146105c7578063b0ac1571146105e7578063bbc0c7421461060757600080fd5b80638da5cb5b116100f25780638da5cb5b146104e0578063912c048c1461051257806393818cfa14610532578063959bd6c21461055257806395d89b411461057257600080fd5b8063715018a61461047c5780637700485114610491578063821f6580146104ab578063853828b6146104cb57600080fd5b806339509351116101a657806352f892fa1161017557806352f892fa146103da5780635b78f35f146103fa57806364071d9f1461041057806370a082311461043057806370db69d61461046657600080fd5b8063395093511461036257806339b622d3146103825780633e9ffbea146103b257806351c6590a146103c757600080fd5b806319c2c40d116101ed57806319c2c40d146102c657806323b872dd146102e65780632c8dc14714610306578063313ce5671461032657806332cb6b0c1461034257600080fd5b806306fdde031461022a578063095ea7b31461025557806309d2c46a1461028557806318160ddd146102a757600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061023f6106bc565b60405161024c9190611fd5565b60405180910390f35b34801561026157600080fd5b50610275610270366004611d8c565b61074e565b604051901515815260200161024c565b34801561029157600080fd5b506102a56102a0366004611db7565b610766565b005b3480156102b357600080fd5b506012545b60405190815260200161024c565b3480156102d257600080fd5b506102a56102e1366004611d58565b6107b9565b3480156102f257600080fd5b50610275610301366004611d18565b610824565b34801561031257600080fd5b506102b8610321366004611e98565b610848565b34801561033257600080fd5b506040516012815260200161024c565b34801561034e57600080fd5b506102b86b033b2e3c9fd0803ce800000081565b34801561036e57600080fd5b5061027561037d366004611d8c565b61085f565b34801561038e57600080fd5b5061027561039d366004611ca1565b600f6020526000908152604090205460ff1681565b3480156103be57600080fd5b506102a5610881565b6102a56103d5366004611e98565b610895565b3480156103e657600080fd5b506102a56103f5366004611e25565b6109d5565b34801561040657600080fd5b506102b860105481565b34801561041c57600080fd5b506102a561042b366004611e25565b610aa0565b34801561043c57600080fd5b506102b861044b366004611ca1565b6001600160a01b031660009081526013602052604090205490565b34801561047257600080fd5b506102b8600a5481565b34801561048857600080fd5b506102a5610b67565b34801561049d57600080fd5b506011546102759060ff1681565b3480156104b757600080fd5b506102b86104c6366004611e98565b610b79565b3480156104d757600080fd5b506102a5610b89565b3480156104ec57600080fd5b506005546001600160a01b03165b6040516001600160a01b03909116815260200161024c565b34801561051e57600080fd5b506104fa61052d366004611e98565b610bcd565b34801561053e57600080fd5b506102a561054d366004611e7e565b610bed565b34801561055e57600080fd5b506102a561056d366004611e7e565b610c3d565b34801561057e57600080fd5b5061023f610c8e565b34801561059357600080fd5b506102756105a2366004611d8c565b610c9d565b3480156105b357600080fd5b506102a56105c2366004611eb0565b610d18565b3480156105d357600080fd5b506102756105e2366004611d8c565b610e5e565b3480156105f357600080fd5b506102a5610602366004611e98565b610e6c565b34801561061357600080fd5b5060115461027590610100900460ff1681565b34801561063257600080fd5b506102b8610641366004611ce0565b610eb5565b34801561065257600080fd5b506102b861271081565b34801561066857600080fd5b506102a5610677366004611ca1565b610ee0565b34801561068857600080fd5b506102b8610697366004611e98565b610f56565b3480156106a857600080fd5b506102a56106b7366004611e98565b610f66565b6060600380546106cb9061213d565b80601f01602080910402602001604051908101604052809291908181526020018280546106f79061213d565b80156107445780601f1061071957610100808354040283529160200191610744565b820191906000526020600020905b81548152906001019060200180831161072757829003601f168201915b5050505050905090565b60003361075c818585610faf565b5060019392505050565b61076e6110d3565b7fbf0afdfa1cb21873aab858ebc02e5db135c9f8e64589cd0d1a668b4d66993ca9600d826040516107a0929190611f15565b60405180910390a16107b5600d826002611ba0565b5050565b6107c16110d3565b6001600160a01b0382166000818152600f6020908152604091829020805460ff19168515159081179091558251938452908301527f9081172b1302ac3df81f8da318d2d60362a834f73c0a1b69d14cb14414fbb9fc910160405180910390a15050565b60003361083285828561112d565b61083d8585856111a7565b506001949350505050565b6008816002811061085857600080fd5b0154905081565b60003361075c8185856108728383610eb5565b61087c91906120cf565b610faf565b60145460ff166108935761089361142f565b565b61089d6110d3565b6014805461ff0019166101001790556108b63082611728565b6108e1307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d83610faf565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d7193430846000806109286005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b15801561098b57600080fd5b505af115801561099f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109c49190611ee8565b50506014805461ff00191690555050565b6109dd6110d3565b60208101518151612710916109f1916120cf565b1115610a595760405162461bcd60e51b815260206004820152602c60248201527f73756d285f6275795461786573292063616e6e6f74206578636565642042505360448201526b2fa222a727a6a4a720aa27a960a11b60648201526084015b60405180910390fd5b7ff030bb719ac1227860b29dae4e2aead664a7eb21b5d574d8eb10302e435a57cb600682604051610a8b929190611f83565b60405180910390a16107b56006826002611bf8565b610aa86110d3565b6020810151815161271091610abc916120cf565b1115610b205760405162461bcd60e51b815260206004820152602d60248201527f73756d285f73656c6c5461786573292063616e6e6f742065786365656420425060448201526c29afa222a727a6a4a720aa27a960991b6064820152608401610a50565b7f4e5aa6a1d8a2baf47d4c781f8fa278df4f48fb465fde488841b40aee0868d9f2600882604051610b52929190611f83565b60405180910390a16107b56008826002611bf8565b610b6f6110d3565b61089360006117ee565b6006816002811061085857600080fd5b610b916110d3565b6005546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610bca573d6000803e3d6000fd5b50565b600d8160028110610bdd57600080fd5b01546001600160a01b0316905081565b610bf56110d3565b6011805460ff19168215159081179091556040519081527f927009a164f58be5665a2121b2564ae19a66046fb36a397d3fca78f72ba04c3d906020015b60405180910390a150565b610c456110d3565b601180548215156101000261ff00199091161790556040517fec78e36312d308764a43b9714c18f6444e2604b277d18be4ea329e0644dbe9b990610c3290831515815260200190565b6060600480546106cb9061213d565b60003381610cab8286610eb5565b905083811015610d0b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a50565b61083d8286868403610faf565b610d206110d3565b60028310610d5d5760405162461bcd60e51b815260206004820152600a6024820152692fb4b73232bc1027a7a160b11b6044820152606401610a50565b600b8360028110610d7e57634e487b7160e01b600052603260045260246000fd5b0154821115610dde5760405162461bcd60e51b815260206004820152602660248201527f416d6f756e742063616e6e6f742062652067726561746572207468616e20746f6044820152650e8c2d8a8c2f60d31b6064820152608401610a50565b610de9308284611840565b60408051848152602081018490527f13ac772a78d03c80813b3c9c28d72a72d3b31e5ee74e277a88ac0c322a6bfc8f910160405180910390a181600b8460028110610e4457634e487b7160e01b600052603260045260246000fd5b016000828254610e549190612126565b9091555050505050565b60003361075c8185856111a7565b610e746110d3565b60105460408051918252602082018390527f15426420a06dcf9391d9e4b7557f5cfaba5be0d7bf857b641e78ec375a343425910160405180910390a1601055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610ee86110d3565b6001600160a01b038116610f4d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a50565b610bca816117ee565b600b816002811061085857600080fd5b610f6e6110d3565b600a5460408051918252602082018390527f4dc2313a84b395e55972a3b89a37fcaf0de5664a014223f644ee10a5cda3d926910160405180910390a1600a55565b6001600160a01b0383166110115760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a50565b6001600160a01b0382166110725760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a50565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146108935760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a50565b60006111398484610eb5565b905060001981146111a157818110156111945760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a50565b6111a18484848403610faf565b50505050565b6001600160a01b0383166000908152600f602052604090205460ff16806111e657506001600160a01b0382166000908152600f602052604090205460ff165b156111fb576111f6838383611840565b505050565b601054600c54600b5461120e91906120cf565b1015801561121f575060145460ff16155b801561125d57507f0000000000000000000000003bb6dc7605bc7c9f784dfc9ba18a722cec133b1e6001600160a01b0316836001600160a01b031614155b801561126b575060115460ff165b156112785761127861142f565b80611281611c26565b7f0000000000000000000000003bb6dc7605bc7c9f784dfc9ba18a722cec133b1e6001600160a01b0316856001600160a01b0316141561137557601154610100900460ff1661130e5760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610a50565b6113198360016119bc565b600a5491935091508311156113705760405162461bcd60e51b815260206004820152601960248201527f42757920616d6f756e742065786365656473206d6178427579000000000000006044820152606401610a50565b611413565b7f0000000000000000000000003bb6dc7605bc7c9f784dfc9ba18a722cec133b1e6001600160a01b0316846001600160a01b0316141561141357601154610100900460ff166114025760405162461bcd60e51b815260206004820152601960248201527854726164696e67206973206e6f74207965742061637469766560381b6044820152606401610a50565b61140d8360006119bc565b90925090505b61141e858584611840565b6114288582611a92565b5050505050565b6014805460ff19166001179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061147f57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156114f857600080fd5b505afa15801561150c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115309190611cc4565b8160018151811061155157634e487b7160e01b600052603260045260246000fd5b6001600160a01b039290921660209283029190910190910152600c54600b5460009161157c916120cf565b90506115a9307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d83610faf565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906115fe908490600090879030904290600401612028565b600060405180830381600087803b15801561161857600080fd5b505af115801561162c573d6000803e3d6000fd5b5050600b544792506000915083906116449084612107565b61164e91906120e7565b9050600083600b600101546116639085612107565b61166d91906120e7565b604080518082019091526000808252602082015290915061169290600b906002611c44565b5081156116d557600d546040516001600160a01b03909116906108fc8415029084906000818181858888f193505050501580156116d3573d6000803e3d6000fd5b505b801561171757600e546040516001600160a01b03909116906108fc8315029083906000818181858888f19350505050158015611715573d6000803e3d6000fd5b505b50506014805460ff19169055505050565b6b033b2e3c9fd0803ce80000008160125461174391906120cf565b11156117875760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610a50565b806012600082825461179991906120cf565b909155506117a990508282611b38565b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166118965760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610a50565b6001600160a01b0382166118ec5760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610a50565b6001600160a01b038316600090815260136020526040902054818110156119555760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610a50565b61195f8483611b7c565b6119698383611b38565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516119ae91815260200190565b60405180910390a350505050565b60006119c6611c26565b8215611a1f5760408051808201909152806127106006600001546119ea9088612107565b6119f491906120e7565b8152602001612710600660010154611a0c9088612107565b611a1691906120e7565b90529050611a6e565b6040805180820190915280612710600860000154611a3d9088612107565b611a4791906120e7565b8152602001612710600860010154611a5f9088612107565b611a6991906120e7565b905290505b60208101518151611a7f9086612126565b611a899190612126565b91509250929050565b6001600160a01b038216611ae85760405162461bcd60e51b815260206004820152601e60248201527f7461786174696f6e2066726f6d20746865207a65726f206164647265737300006044820152606401610a50565b60208101518151600091611afb916120cf565b9050611b08833083611840565b8151600b8054600090611b1c9084906120cf565b90915550506020820151600c8054600090610e549084906120cf565b6001600160a01b038216600090815260136020526040902054611b5c9082906120cf565b6001600160a01b0390921660009081526013602052604090209190915550565b6001600160a01b038216600090815260136020526040902054611b5c908290612126565b8260028101928215611be8579160200282015b82811115611be857825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611bb3565b50611bf4929150611c77565b5090565b8260028101928215611be8579160200282015b82811115611be8578251825591602001919060010190611c0b565b60405180604001604052806002906020820280368337509192915050565b8260028101928215611be8579160200282015b82811115611be8578251829060ff16905591602001919060010190611c57565b5b80821115611bf45760008155600101611c78565b80358015158114611c9c57600080fd5b919050565b600060208284031215611cb2578081fd5b8135611cbd8161218e565b9392505050565b600060208284031215611cd5578081fd5b8151611cbd8161218e565b60008060408385031215611cf2578081fd5b8235611cfd8161218e565b91506020830135611d0d8161218e565b809150509250929050565b600080600060608486031215611d2c578081fd5b8335611d378161218e565b92506020840135611d478161218e565b929592945050506040919091013590565b60008060408385031215611d6a578182fd5b8235611d758161218e565b9150611d8360208401611c8c565b90509250929050565b60008060408385031215611d9e578182fd5b8235611da98161218e565b946020939093013593505050565b600060408284031215611dc8578081fd5b82601f830112611dd6578081fd5b611dde612098565b808385604086011115611def578384fd5b835b6002811015611e1a578135611e058161218e565b84526020938401939190910190600101611df1565b509095945050505050565b600060408284031215611e36578081fd5b82601f830112611e44578081fd5b611e4c612098565b808385604086011115611e5d578384fd5b835b6002811015611e1a578135845260209384019390910190600101611e5f565b600060208284031215611e8f578081fd5b611cbd82611c8c565b600060208284031215611ea9578081fd5b5035919050565b600080600060608486031215611ec4578283fd5b83359250602084013591506040840135611edd8161218e565b809150509250925092565b600080600060608486031215611efc578283fd5b8351925060208401519150604084015190509250925092565b60808101818460005b6002811015611f465781546001600160a01b0316835260209092019160019182019101611f1e565b505050604082018360005b6002811015611f795781516001600160a01b0316835260209283019290910190600101611f51565b5050509392505050565b60808101818460005b6002811015611fab578154835260209092019160019182019101611f8c565b505050604082018360005b6002811015611f79578151835260209283019290910190600101611fb6565b6000602080835283518082850152825b8181101561200157858101830151858201604001528201611fe5565b818111156120125783604083870101525b50601f01601f1916929092016040019392505050565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156120775784516001600160a01b031683529383019391830191600101612052565b50506001600160a01b03969096166060850152505050608001529392505050565b6040805190810167ffffffffffffffff811182821017156120c957634e487b7160e01b600052604160045260246000fd5b60405290565b600082198211156120e2576120e2612178565b500190565b60008261210257634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561212157612121612178565b500290565b60008282101561213857612138612178565b500390565b600181811c9082168061215157607f821691505b6020821081141561217257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610bca57600080fdfea26469706673582212202f44a7f88eb0a242a497f5d6b774ef64587159c7a560863152cce6d78097fe7964736f6c63430008040033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000d42bdb3e36afd31450c117b9d8b897de2abe7b2d000000000000000000000000d42bdb3e36afd31450c117b9d8b897de2abe7b2d000000000000000000000000000000000000000000f8277896582678ac000000

-----Decoded View---------------
Arg [0] : _uniswapRouter (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _taxWallets (address[2]): 0xD42Bdb3E36AFd31450c117b9d8b897De2AbE7b2D,0xD42Bdb3E36AFd31450c117b9d8b897De2AbE7b2D
Arg [2] : _goupAmount (uint256): 300000000000000000000000000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 000000000000000000000000d42bdb3e36afd31450c117b9d8b897de2abe7b2d
Arg [2] : 000000000000000000000000d42bdb3e36afd31450c117b9d8b897de2abe7b2d
Arg [3] : 000000000000000000000000000000000000000000f8277896582678ac000000


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.