ETH Price: $2,491.18 (-1.11%)
Gas: 4.35 Gwei

Token

HONEY COIN (HONEYCOIN)
 

Overview

Max Total Supply

16,499,278.621670000000022823 HONEYCOIN

Holders

1,433

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
262 HONEYCOIN

Value
$0.00
0x372B657a227217068A8A2F13dFc58A461728cBb4
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:
Honey

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 10 : Honey.sol
// SPDX-License-Identifier: MIT
// Inspired by: $Loomi by Creepz
pragma solidity ^0.8.13;

import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./libraries/SimpleAccess.sol";

contract IEcoSystem {
    function getTotalProductionOfUser(address user, uint256[] memory flowersWithBees) external view returns (uint256) {}
}

contract ITaxManager {
    function getSpendTax(address user, uint256 amount, bytes memory data) external returns (uint128) {}
    function getBuyTax(address user, uint256 amount) external returns (uint256) {}
    function getSellTax(address user, uint256 amount) external returns (uint256) {}
}

contract Honey is ERC20, SimpleAccess {
    IEcoSystem public ecoSystem;
    ITaxManager public taxManager;
    address public mintPass;
    address public uniswapPair;


    struct EcoSystemBalance {
        uint128 deposit;
        uint256 spent;
    }
    mapping(address => EcoSystemBalance) public userEcoSystemBalance;

    mapping(address => bool) public liquidityPair;
    mapping(address => bool) public blacklisted;
    mapping(address => bool) public noFee;

    bool public whitelistActive;
    mapping(address => bool) public isWhiteListed;

    bool public buyLimitActive;
    uint256 public buyLimitTimePeriod = 1 days;
    uint256 public buyLimitAmount = 4000 ether;
    struct BuyLimit {
        uint128 bought;
        uint128 lastBuy;
    }
    mapping(address => BuyLimit) public userToBuyLimit;

    event SendToEcoSystem(address indexed user, uint256 indexed amount);
    event TakeFromEcoSytem(address indexed user, uint256 indexed amount);
    event TransferEcoSystemBalance(address indexed user, address indexed recipient, uint256 indexed amount);
    event SpendEcoSystemBalance(address indexed user, uint256 indexed amount, uint256 indexed tax);

    constructor(        
        address _router
    ) ERC20("HONEY COIN", "HONEYCOIN") {
        _mint(msg.sender, 1000000 ether);

        IUniswapV2Router02 router = IUniswapV2Router02(_router);
        uniswapPair = IUniswapV2Factory(router.factory()).createPair(
            router.WETH(),
            address(this)
        );

        whitelistActive = true;
        buyLimitActive = true;

        noFee[msg.sender] = true;
        noFee[uniswapPair] = true;
        isWhiteListed[msg.sender] = true;
        isWhiteListed[uniswapPair] = true;

        liquidityPair[uniswapPair] = true;
    }

    function getEcoSystemBalance(address user, uint256[] memory flowersWithBees) public view returns (uint256) {
        EcoSystemBalance memory ecoSystemBalance = userEcoSystemBalance[user];
        
        uint256 plusBalance = ecoSystem.getTotalProductionOfUser(user, flowersWithBees) + ecoSystemBalance.deposit;
        uint256 minBalance = ecoSystemBalance.spent;

        if (minBalance > plusBalance)
            return 0;

        return plusBalance - minBalance;
    }

    function sendToEcoSystem(uint128 amount) external {
        require(balanceOf(msg.sender) >= amount, "Not enough balance");
        
        _burn(msg.sender, amount);
        EcoSystemBalance storage ecoSystemBalance = userEcoSystemBalance[msg.sender];
        ecoSystemBalance.deposit += amount;

        emit SendToEcoSystem(msg.sender, amount);
    }

    function takeFromEcoSystem(uint128 amount, uint256[] memory flowersWithBees) external {
        require(getEcoSystemBalance(msg.sender, flowersWithBees) >= amount, "Eco system balance too low");

        _mint(msg.sender, amount);
        EcoSystemBalance storage ecoSystemBalance = userEcoSystemBalance[msg.sender];
        ecoSystemBalance.spent += amount;

        emit TakeFromEcoSytem(msg.sender, amount);
    }

    function transferEcoSystemBalance(address _to, uint128 amount, uint256[] memory flowersWithBees) external {
        require(getEcoSystemBalance(msg.sender, flowersWithBees) >= amount, "Eco system balance too low");

        EcoSystemBalance storage ecoSystemBalanceUser = userEcoSystemBalance[msg.sender];
        EcoSystemBalance storage ecoSystemBalanceReceiver = userEcoSystemBalance[_to];

        ecoSystemBalanceUser.spent += amount;
        ecoSystemBalanceReceiver.deposit += amount;

        emit TransferEcoSystemBalance(msg.sender, _to, amount);
    }

    function spendEcoSystemBalance(address user, uint128 amount, uint256[] memory flowersWithBees, bytes memory data) external onlyAuthorized {
        require(getEcoSystemBalance(user, flowersWithBees) >= amount, "Eco system balance too low");

        uint256 taxAmount = taxManager.getSpendTax(user, amount, data);

        if (taxAmount > 0)
            super._transfer(user, address(taxManager), taxAmount);

        EcoSystemBalance storage ecoSystemBalance = userEcoSystemBalance[user];
        ecoSystemBalance.spent += amount;

        emit SpendEcoSystemBalance(user, amount, taxAmount);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal view override {
        require(!blacklisted[from] && !blacklisted[to], "SENDER / RECIPIENT BANNED");
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        if (whitelistActive)
            require(isWhiteListed[from] && isWhiteListed[to], "Sender not whitelisted");

        if (buyLimitActive && liquidityPair[from]) {
            BuyLimit storage limit = userToBuyLimit[to];
            uint256 boughtToday;
            uint256 diffSinceLastBuy = block.timestamp - limit.lastBuy;

            if (diffSinceLastBuy >= buyLimitTimePeriod) {
                boughtToday = amount;
            } else {
                uint256 nowModule = block.timestamp % buyLimitTimePeriod; // how far we are in the day now
                uint256 lastModulo = limit.lastBuy % buyLimitTimePeriod; // how far the last buy was in the day

                // if how far we are in the day now is less than how far we were in the day at last buy then its a new day
                if (nowModule <= lastModulo) {
                    boughtToday = amount;
                } else { // if how far we are in the day now is greater than how far we were in the day at last buy then its the same day
                    boughtToday = amount + limit.bought;
                }
            }

            require(boughtToday <= buyLimitAmount, "Buy exceeds buy limit");

            limit.lastBuy = uint128(block.timestamp);
            limit.bought = uint128(boughtToday);
        }

        uint256 transferAmount = amount;

        if (liquidityPair[from] && !noFee[to])
            transferAmount -= taxManager.getBuyTax(to, transferAmount);
        else if (liquidityPair[to] && !noFee[from])
            transferAmount -= taxManager.getSellTax(from, transferAmount);

        uint256 tax = amount - transferAmount;
        if (tax > 0) 
            super._transfer(from, address(taxManager), tax);
        
        super._transfer(from, to, transferAmount);
    }

    function burn(address user, uint256 amount) external {
        require(mintPass != address(0));
        require(msg.sender == mintPass, "Only mint pass can burn honey");
        _burn(user, amount);
    }

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

    function setEcosystem(address eco) external onlyOwner {
        ecoSystem = IEcoSystem(eco);
    }

    function setTaxManager(address manager) external onlyOwner {
        taxManager = ITaxManager(manager);
    }

    function setMintPass(address _mintPass) external onlyOwner {
        mintPass = _mintPass;
    }

    function setLiqPair(address liqpair, bool isliq) external onlyOwner {
        liquidityPair[liqpair] = isliq;
    }

    function setBlackListed(address bl, bool isbl) external onlyOwner {
        blacklisted[bl] = isbl;
    }

    function setNoFee(address nf, bool isnf) external onlyOwner {
        noFee[nf] = isnf;
    }

    function setWhiteListed(address wl, bool iswl) external onlyOwner {
        isWhiteListed[wl] = iswl;
    }

    function setWlActive(bool _active) external onlyOwner {
        whitelistActive = _active;
    }

    function configureBuyLimit(bool _active, uint256 _period, uint256 _amount) external onlyOwner {
        buyLimitActive = _active;
        buyLimitTimePeriod = _period;
        buyLimitAmount = _amount;
    }

    receive() external payable {}
}

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

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 10 : SimpleAccess.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;

import "@openzeppelin/contracts/access/Ownable.sol";

abstract contract SimpleAccess is Ownable {
    
    constructor() Ownable() {}
    
    mapping(address => bool) public authorized;

    modifier onlyAuthorized() {
        require(
            authorized[msg.sender] || msg.sender == owner(),
            "Sender is not authorized"
        );
        _;
    }

    function setAuthorized(address _auth, bool _isAuth) external virtual onlyOwner {
        authorized[_auth] = _isAuth;
    }
}

File 6 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 7 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 8 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 9 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 10 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendToEcoSystem","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tax","type":"uint256"}],"name":"SpendEcoSystemBalance","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TakeFromEcoSytem","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferEcoSystemBalance","type":"event"},{"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":"","type":"address"}],"name":"authorized","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":"address","name":"","type":"address"}],"name":"blacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyLimitActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLimitAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLimitTimePeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_active","type":"bool"},{"internalType":"uint256","name":"_period","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"configureBuyLimit","outputs":[],"stateMutability":"nonpayable","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":[],"name":"ecoSystem","outputs":[{"internalType":"contract IEcoSystem","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256[]","name":"flowersWithBees","type":"uint256[]"}],"name":"getEcoSystemBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWhiteListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"liquidityPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPass","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"noFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint128","name":"amount","type":"uint128"}],"name":"sendToEcoSystem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_auth","type":"address"},{"internalType":"bool","name":"_isAuth","type":"bool"}],"name":"setAuthorized","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"bl","type":"address"},{"internalType":"bool","name":"isbl","type":"bool"}],"name":"setBlackListed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"eco","type":"address"}],"name":"setEcosystem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"liqpair","type":"address"},{"internalType":"bool","name":"isliq","type":"bool"}],"name":"setLiqPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_mintPass","type":"address"}],"name":"setMintPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"nf","type":"address"},{"internalType":"bool","name":"isnf","type":"bool"}],"name":"setNoFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"manager","type":"address"}],"name":"setTaxManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wl","type":"address"},{"internalType":"bool","name":"iswl","type":"bool"}],"name":"setWhiteListed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_active","type":"bool"}],"name":"setWlActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"uint256[]","name":"flowersWithBees","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"spendEcoSystemBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"uint256[]","name":"flowersWithBees","type":"uint256[]"}],"name":"takeFromEcoSystem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"taxManager","outputs":[{"internalType":"contract ITaxManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"uint256[]","name":"flowersWithBees","type":"uint256[]"}],"name":"transferEcoSystemBalance","outputs":[],"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":"uniswapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userEcoSystemBalance","outputs":[{"internalType":"uint128","name":"deposit","type":"uint128"},{"internalType":"uint256","name":"spent","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userToBuyLimit","outputs":[{"internalType":"uint128","name":"bought","type":"uint128"},{"internalType":"uint128","name":"lastBuy","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526201518060125568d8d726b7177a8000006013553480156200002557600080fd5b506040516200302738038062003027833981016040819052620000489162000566565b604080518082018252600a8152692427a722ac9021a7a4a760b11b6020808301918252835180850190945260098452682427a722aca1a7a4a760b91b9084015281519192916200009b91600391620004c0565b508051620000b1906004906020840190620004c0565b505050620000ce620000c8620002dd60201b60201c565b620002e1565b620000e43369d3c21bcecceda100000062000333565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000128573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014e919062000566565b6001600160a01b031663c9c65396826001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200019b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c1919062000566565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523060248201526044016020604051808303816000875af11580156200020e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000234919062000566565b600a80546001600160a01b0319166001600160a01b03928316178155600f805460ff19908116600190811790925560118054821683179055336000818152600e6020908152604080832080548616871790558654881683528083208054861687179055928252601081528282208054851686179055855487168252828220805485168617905594549095168552600c909352919092208054909116909117905550620005fb9050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200038f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200039d600083836200042a565b8060026000828254620003b1919062000598565b90915550506001600160a01b03821660009081526020819052604081208054839290620003e090849062000598565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0383166000908152600d602052604090205460ff161580156200046d57506001600160a01b0382166000908152600d602052604090205460ff16155b620004bb5760405162461bcd60e51b815260206004820152601960248201527f53454e444552202f20524543495049454e542042414e4e454400000000000000604482015260640162000386565b505050565b828054620004ce90620005bf565b90600052602060002090601f016020900481019282620004f257600085556200053d565b82601f106200050d57805160ff19168380011785556200053d565b828001600101855582156200053d579182015b828111156200053d57825182559160200191906001019062000520565b506200054b9291506200054f565b5090565b5b808211156200054b576000815560010162000550565b6000602082840312156200057957600080fd5b81516001600160a01b03811681146200059157600080fd5b9392505050565b60008219821115620005ba57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620005d457607f821691505b602082108103620005f557634e487b7160e01b600052602260045260246000fd5b50919050565b612a1c806200060b6000396000f3fe6080604052600436106103005760003560e01c8063715018a61161018f578063b2a9cfa6116100e1578063dd62ed3e1161008a578063e895c51411610064578063e895c51414610961578063f0407d8114610981578063f2fde38b146109a157600080fd5b8063dd62ed3e146108e5578063e401542c1461092b578063e62684db1461094b57600080fd5b8063b9181611116100bb578063b918161114610865578063c816841b14610895578063dbac26e9146108b557600080fd5b8063b2a9cfa6146107ff578063b5df6d491461081f578063b7677cb21461083557600080fd5b80639c3f23cf11610143578063a457c2d71161011d578063a457c2d71461079f578063a9059cbb146107bf578063ac0379da146107df57600080fd5b80639c3f23cf146107455780639dc29fac146107655780639ddcc5b31461078557600080fd5b80638a6a3bf7116101745780638a6a3bf7146106f25780638da5cb5b1461071257806395d89b411461073057600080fd5b8063715018a6146106bd578063749679c3146106d257600080fd5b80632f65e63a116102535780635b575f8a116101fc5780636f9170f6116101d65780636f9170f61461063757806370a0823114610667578063711bf9b21461069d57600080fd5b80635b575f8a146105575780635cd8c072146105b65780635eac7703146105d657600080fd5b80633ccfd60b1161022d5780633ccfd60b146104ea57806342701a8e146104ff5780634d2377301461051f57600080fd5b80632f65e63a1461048e578063313ce567146104ae57806339509351146104ca57600080fd5b806312c09d6b116102b5578063263360361161028f578063263360361461042e5780632761a3081461044e5780632bc7cd401461046e57600080fd5b806312c09d6b146103cf57806318160ddd146103ef57806323b872dd1461040e57600080fd5b806306fdde03116102e657806306fdde031461036b578063095e39131461038d578063095ea7b3146103af57600080fd5b80622a20501461030c57806302ce58131461035157600080fd5b3661030757005b600080fd5b34801561031857600080fd5b5061033c6103273660046123ee565b600e6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561035d57600080fd5b50600f5461033c9060ff1681565b34801561037757600080fd5b506103806109c1565b604051610348919061245d565b34801561039957600080fd5b506103ad6103a83660046123ee565b610a53565b005b3480156103bb57600080fd5b5061033c6103ca366004612470565b610acf565b3480156103db57600080fd5b506103ad6103ea3660046124aa565b610ae9565b3480156103fb57600080fd5b506002545b604051908152602001610348565b34801561041a57600080fd5b5061033c6104293660046124dd565b610b4b565b34801561043a57600080fd5b506103ad61044936600461252e565b610b6f565b34801561045a57600080fd5b506103ad610469366004612612565b610c7e565b34801561047a57600080fd5b506103ad6104893660046126ef565b610e92565b34801561049a57600080fd5b506103ad6104a936600461274f565b610fcb565b3480156104ba57600080fd5b5060405160128152602001610348565b3480156104d657600080fd5b5061033c6104e5366004612470565b611026565b3480156104f657600080fd5b506103ad611065565b34801561050b57600080fd5b506103ad61051a36600461276a565b6110dc565b34801561052b57600080fd5b5060085461053f906001600160a01b031681565b6040516001600160a01b039091168152602001610348565b34801561056357600080fd5b506105976105723660046123ee565b600b60205260009081526040902080546001909101546001600160801b039091169082565b604080516001600160801b039093168352602083019190915201610348565b3480156105c257600080fd5b506103ad6105d136600461276a565b61114f565b3480156105e257600080fd5b506106176105f13660046123ee565b6014602052600090815260409020546001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610348565b34801561064357600080fd5b5061033c6106523660046123ee565b60106020526000908152604090205460ff1681565b34801561067357600080fd5b506104006106823660046123ee565b6001600160a01b031660009081526020819052604090205490565b3480156106a957600080fd5b506103ad6106b836600461276a565b6111c2565b3480156106c957600080fd5b506103ad611235565b3480156106de57600080fd5b5060095461053f906001600160a01b031681565b3480156106fe57600080fd5b5060075461053f906001600160a01b031681565b34801561071e57600080fd5b506005546001600160a01b031661053f565b34801561073c57600080fd5b50610380611289565b34801561075157600080fd5b5061040061076036600461279d565b611298565b34801561077157600080fd5b506103ad610780366004612470565b61139b565b34801561079157600080fd5b5060115461033c9060ff1681565b3480156107ab57600080fd5b5061033c6107ba366004612470565b611418565b3480156107cb57600080fd5b5061033c6107da366004612470565b6114c2565b3480156107eb57600080fd5b506103ad6107fa36600461276a565b6114d0565b34801561080b57600080fd5b506103ad61081a3660046123ee565b611543565b34801561082b57600080fd5b5061040060125481565b34801561084157600080fd5b5061033c6108503660046123ee565b600c6020526000908152604090205460ff1681565b34801561087157600080fd5b5061033c6108803660046123ee565b60066020526000908152604090205460ff1681565b3480156108a157600080fd5b50600a5461053f906001600160a01b031681565b3480156108c157600080fd5b5061033c6108d03660046123ee565b600d6020526000908152604090205460ff1681565b3480156108f157600080fd5b506104006109003660046127eb565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561093757600080fd5b506103ad610946366004612815565b6115ba565b34801561095757600080fd5b5061040060135481565b34801561096d57600080fd5b506103ad61097c3660046123ee565b61169c565b34801561098d57600080fd5b506103ad61099c36600461276a565b611713565b3480156109ad57600080fd5b506103ad6109bc3660046123ee565b611786565b6060600380546109d090612833565b80601f01602080910402602001604051908101604052809291908181526020018280546109fc90612833565b8015610a495780601f10610a1e57610100808354040283529160200191610a49565b820191906000526020600020905b815481529060010190602001808311610a2c57829003601f168201915b5050505050905090565b6005546001600160a01b03163314610aa05760405162461bcd60e51b815260206004820181905260248201526000805160206129c783398151915260448201526064015b60405180910390fd5b6008805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600033610add818585611853565b60019150505b92915050565b6005546001600160a01b03163314610b315760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6011805460ff191693151593909317909255601255601355565b600033610b598582856119ac565b610b64858585611a3e565b506001949350505050565b336000908152602081905260409020546001600160801b0382161115610bd75760405162461bcd60e51b815260206004820152601260248201527f4e6f7420656e6f7567682062616c616e636500000000000000000000000000006044820152606401610a97565b610bea33826001600160801b0316611e4a565b336000908152600b60205260408120805490918391839190610c169084906001600160801b0316612883565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550816001600160801b0316336001600160a01b03167f4cfaae54692ee0f77518119795dac467974c077e75e48ebd27303420ee922bca60405160405180910390a35050565b3360009081526006602052604090205460ff1680610ca657506005546001600160a01b031633145b610cf25760405162461bcd60e51b815260206004820152601860248201527f53656e646572206973206e6f7420617574686f72697a656400000000000000006044820152606401610a97565b826001600160801b0316610d068584611298565b1015610d545760405162461bcd60e51b815260206004820152601a60248201527f45636f2073797374656d2062616c616e636520746f6f206c6f770000000000006044820152606401610a97565b6008546040517f925b58710000000000000000000000000000000000000000000000000000000081526000916001600160a01b03169063925b587190610da2908890889087906004016128ae565b6020604051808303816000875af1158015610dc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de591906128e8565b6001600160801b031690508015610e0e57600854610e0e9086906001600160a01b031683611fd8565b6001600160a01b0385166000908152600b6020526040812060018101805491926001600160801b03881692610e44908490612905565b909155505060405182906001600160801b038716906001600160a01b038916907fd5eaf38a64e0fcbb0ab01ef7102c21567bf12dc91d3be75ac261f239f19fcb5290600090a4505050505050565b816001600160801b0316610ea63383611298565b1015610ef45760405162461bcd60e51b815260206004820152601a60248201527f45636f2073797374656d2062616c616e636520746f6f206c6f770000000000006044820152606401610a97565b336000908152600b60205260408082206001600160a01b0386168352908220600182018054929391926001600160801b0387169290610f34908490612905565b9091555050805484908290600090610f569084906001600160801b0316612883565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550836001600160801b0316856001600160a01b0316336001600160a01b03167ff9986037c40fdc041398f05865264913607de48f9207de8e687d4d80fabe9d4f60405160405180910390a45050505050565b6005546001600160a01b031633146110135760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b600f805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610add9082908690611060908790612905565b611853565b6005546001600160a01b031633146110ad5760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b60405133904780156108fc02916000818181858888f193505050501580156110d9573d6000803e3d6000fd5b50565b6005546001600160a01b031633146111245760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146111975760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331461120a5760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331461127d5760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b61128760006121fa565b565b6060600480546109d090612833565b6001600160a01b038083166000908152600b602090815260408083208151808301835281546001600160801b03168082526001909201549381019390935260075491517f51d47e8b0000000000000000000000000000000000000000000000000000000081529394929385939192909116906351d47e8b90611320908990899060040161291d565b602060405180830381865afa15801561133d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113619190612974565b61136b9190612905565b6020830151909150818111156113875760009350505050610ae3565b611391818361298d565b9695505050505050565b6009546001600160a01b03166113b057600080fd5b6009546001600160a01b0316331461140a5760405162461bcd60e51b815260206004820152601d60248201527f4f6e6c79206d696e7420706173732063616e206275726e20686f6e65790000006044820152606401610a97565b6114148282611e4a565b5050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156114b55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610a97565b610b648286868403611853565b600033610add818585611a3e565b6005546001600160a01b031633146115185760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331461158b5760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6009805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b816001600160801b03166115ce3383611298565b101561161c5760405162461bcd60e51b815260206004820152601a60248201527f45636f2073797374656d2062616c616e636520746f6f206c6f770000000000006044820152606401610a97565b61162f33836001600160801b0316612259565b336000908152600b6020526040812060018101805491926001600160801b0386169261165c908490612905565b90915550506040516001600160801b0384169033907fe9160783ba96a6ddf769b9adfe8589cd44b9d68cdcc4fa5879db4f6853f1fadd90600090a3505050565b6005546001600160a01b031633146116e45760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6007805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461175b5760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146117ce5760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6001600160a01b03811661184a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a97565b6110d9816121fa565b6001600160a01b0383166118ce5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a97565b6001600160a01b03821661194a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610a97565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611a385781811015611a2b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a97565b611a388484848403611853565b50505050565b600f5460ff1615611ad5576001600160a01b03831660009081526010602052604090205460ff168015611a8957506001600160a01b03821660009081526010602052604090205460ff165b611ad55760405162461bcd60e51b815260206004820152601660248201527f53656e646572206e6f742077686974656c6973746564000000000000000000006044820152606401610a97565b60115460ff168015611aff57506001600160a01b0383166000908152600c602052604090205460ff165b15611c40576001600160a01b038216600090815260146020526040812080549091908190611b3d90600160801b90046001600160801b03164261298d565b90506012548110611b5057839150611bb1565b600060125442611b6091906129a4565b6012548554919250600091611b859190600160801b90046001600160801b03166129a4565b9050808211611b9657859350611bae565b8454611bab906001600160801b031687612905565b93505b50505b601354821115611c035760405162461bcd60e51b815260206004820152601560248201527f427579206578636565647320627579206c696d697400000000000000000000006044820152606401610a97565b506001600160801b039081164291909116600160801b027fffffffffffffffffffffffffffffffff00000000000000000000000000000000161790555b6001600160a01b0383166000908152600c6020526040902054819060ff168015611c8357506001600160a01b0383166000908152600e602052604090205460ff16155b15611d29576008546040517fa2c74a2e0000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152602482018490529091169063a2c74a2e906044016020604051808303816000875af1158015611cf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d189190612974565b611d22908261298d565b9050611e0c565b6001600160a01b0383166000908152600c602052604090205460ff168015611d6a57506001600160a01b0384166000908152600e602052604090205460ff16155b15611e0c576008546040517fed95134e0000000000000000000000000000000000000000000000000000000081526001600160a01b038681166004830152602482018490529091169063ed95134e906044016020604051808303816000875af1158015611ddb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dff9190612974565b611e09908261298d565b90505b6000611e18828461298d565b90508015611e3857600854611e389086906001600160a01b031683611fd8565b611e43858584611fd8565b5050505050565b6001600160a01b038216611ec65760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610a97565b611ed282600083612344565b6001600160a01b03821660009081526020819052604090205481811015611f615760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610a97565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611f9090849061298d565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161199f565b505050565b6001600160a01b0383166120545760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a97565b6001600160a01b0382166120d05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610a97565b6120db838383612344565b6001600160a01b0383166000908152602081905260409020548181101561216a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610a97565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906121a1908490612905565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516121ed91815260200190565b60405180910390a3611a38565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166122af5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610a97565b6122bb60008383612344565b80600260008282546122cd9190612905565b90915550506001600160a01b038216600090815260208190526040812080548392906122fa908490612905565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0383166000908152600d602052604090205460ff1615801561238657506001600160a01b0382166000908152600d602052604090205460ff16155b611fd35760405162461bcd60e51b815260206004820152601960248201527f53454e444552202f20524543495049454e542042414e4e4544000000000000006044820152606401610a97565b80356001600160a01b03811681146123e957600080fd5b919050565b60006020828403121561240057600080fd5b612409826123d2565b9392505050565b6000815180845260005b818110156124365760208185018101518683018201520161241a565b81811115612448576000602083870101525b50601f01601f19169290920160200192915050565b6020815260006124096020830184612410565b6000806040838503121561248357600080fd5b61248c836123d2565b946020939093013593505050565b803580151581146123e957600080fd5b6000806000606084860312156124bf57600080fd5b6124c88461249a565b95602085013595506040909401359392505050565b6000806000606084860312156124f257600080fd5b6124fb846123d2565b9250612509602085016123d2565b9150604084013590509250925092565b6001600160801b03811681146110d957600080fd5b60006020828403121561254057600080fd5b813561240981612519565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561258a5761258a61254b565b604052919050565b600082601f8301126125a357600080fd5b8135602067ffffffffffffffff8211156125bf576125bf61254b565b8160051b6125ce828201612561565b92835284810182019282810190878511156125e857600080fd5b83870192505b84831015612607578235825291830191908301906125ee565b979650505050505050565b6000806000806080858703121561262857600080fd5b612631856123d2565b935060208086013561264281612519565b9350604086013567ffffffffffffffff8082111561265f57600080fd5b61266b89838a01612592565b9450606088013591508082111561268157600080fd5b818801915088601f83011261269557600080fd5b8135818111156126a7576126a761254b565b6126b9601f8201601f19168501612561565b915080825289848285010111156126cf57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060006060848603121561270457600080fd5b61270d846123d2565b9250602084013561271d81612519565b9150604084013567ffffffffffffffff81111561273957600080fd5b61274586828701612592565b9150509250925092565b60006020828403121561276157600080fd5b6124098261249a565b6000806040838503121561277d57600080fd5b612786836123d2565b91506127946020840161249a565b90509250929050565b600080604083850312156127b057600080fd5b6127b9836123d2565b9150602083013567ffffffffffffffff8111156127d557600080fd5b6127e185828601612592565b9150509250929050565b600080604083850312156127fe57600080fd5b612807836123d2565b9150612794602084016123d2565b6000806040838503121561282857600080fd5b82356127b981612519565b600181811c9082168061284757607f821691505b60208210810361286757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60006001600160801b038083168185168083038211156128a5576128a561286d565b01949350505050565b6001600160a01b03841681526001600160801b03831660208201526060604082015260006128df6060830184612410565b95945050505050565b6000602082840312156128fa57600080fd5b815161240981612519565b600082198211156129185761291861286d565b500190565b6000604082016001600160a01b03851683526020604081850152818551808452606086019150828701935060005b818110156129675784518352938301939183019160010161294b565b5090979650505050505050565b60006020828403121561298657600080fd5b5051919050565b60008282101561299f5761299f61286d565b500390565b6000826129c157634e487b7160e01b600052601260045260246000fd5b50069056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212202a60a92202c804356f7fc710ce8ab5e1991d9cbddcffa5be19af5c22475b8e0464736f6c634300080d00330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x6080604052600436106103005760003560e01c8063715018a61161018f578063b2a9cfa6116100e1578063dd62ed3e1161008a578063e895c51411610064578063e895c51414610961578063f0407d8114610981578063f2fde38b146109a157600080fd5b8063dd62ed3e146108e5578063e401542c1461092b578063e62684db1461094b57600080fd5b8063b9181611116100bb578063b918161114610865578063c816841b14610895578063dbac26e9146108b557600080fd5b8063b2a9cfa6146107ff578063b5df6d491461081f578063b7677cb21461083557600080fd5b80639c3f23cf11610143578063a457c2d71161011d578063a457c2d71461079f578063a9059cbb146107bf578063ac0379da146107df57600080fd5b80639c3f23cf146107455780639dc29fac146107655780639ddcc5b31461078557600080fd5b80638a6a3bf7116101745780638a6a3bf7146106f25780638da5cb5b1461071257806395d89b411461073057600080fd5b8063715018a6146106bd578063749679c3146106d257600080fd5b80632f65e63a116102535780635b575f8a116101fc5780636f9170f6116101d65780636f9170f61461063757806370a0823114610667578063711bf9b21461069d57600080fd5b80635b575f8a146105575780635cd8c072146105b65780635eac7703146105d657600080fd5b80633ccfd60b1161022d5780633ccfd60b146104ea57806342701a8e146104ff5780634d2377301461051f57600080fd5b80632f65e63a1461048e578063313ce567146104ae57806339509351146104ca57600080fd5b806312c09d6b116102b5578063263360361161028f578063263360361461042e5780632761a3081461044e5780632bc7cd401461046e57600080fd5b806312c09d6b146103cf57806318160ddd146103ef57806323b872dd1461040e57600080fd5b806306fdde03116102e657806306fdde031461036b578063095e39131461038d578063095ea7b3146103af57600080fd5b80622a20501461030c57806302ce58131461035157600080fd5b3661030757005b600080fd5b34801561031857600080fd5b5061033c6103273660046123ee565b600e6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561035d57600080fd5b50600f5461033c9060ff1681565b34801561037757600080fd5b506103806109c1565b604051610348919061245d565b34801561039957600080fd5b506103ad6103a83660046123ee565b610a53565b005b3480156103bb57600080fd5b5061033c6103ca366004612470565b610acf565b3480156103db57600080fd5b506103ad6103ea3660046124aa565b610ae9565b3480156103fb57600080fd5b506002545b604051908152602001610348565b34801561041a57600080fd5b5061033c6104293660046124dd565b610b4b565b34801561043a57600080fd5b506103ad61044936600461252e565b610b6f565b34801561045a57600080fd5b506103ad610469366004612612565b610c7e565b34801561047a57600080fd5b506103ad6104893660046126ef565b610e92565b34801561049a57600080fd5b506103ad6104a936600461274f565b610fcb565b3480156104ba57600080fd5b5060405160128152602001610348565b3480156104d657600080fd5b5061033c6104e5366004612470565b611026565b3480156104f657600080fd5b506103ad611065565b34801561050b57600080fd5b506103ad61051a36600461276a565b6110dc565b34801561052b57600080fd5b5060085461053f906001600160a01b031681565b6040516001600160a01b039091168152602001610348565b34801561056357600080fd5b506105976105723660046123ee565b600b60205260009081526040902080546001909101546001600160801b039091169082565b604080516001600160801b039093168352602083019190915201610348565b3480156105c257600080fd5b506103ad6105d136600461276a565b61114f565b3480156105e257600080fd5b506106176105f13660046123ee565b6014602052600090815260409020546001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610348565b34801561064357600080fd5b5061033c6106523660046123ee565b60106020526000908152604090205460ff1681565b34801561067357600080fd5b506104006106823660046123ee565b6001600160a01b031660009081526020819052604090205490565b3480156106a957600080fd5b506103ad6106b836600461276a565b6111c2565b3480156106c957600080fd5b506103ad611235565b3480156106de57600080fd5b5060095461053f906001600160a01b031681565b3480156106fe57600080fd5b5060075461053f906001600160a01b031681565b34801561071e57600080fd5b506005546001600160a01b031661053f565b34801561073c57600080fd5b50610380611289565b34801561075157600080fd5b5061040061076036600461279d565b611298565b34801561077157600080fd5b506103ad610780366004612470565b61139b565b34801561079157600080fd5b5060115461033c9060ff1681565b3480156107ab57600080fd5b5061033c6107ba366004612470565b611418565b3480156107cb57600080fd5b5061033c6107da366004612470565b6114c2565b3480156107eb57600080fd5b506103ad6107fa36600461276a565b6114d0565b34801561080b57600080fd5b506103ad61081a3660046123ee565b611543565b34801561082b57600080fd5b5061040060125481565b34801561084157600080fd5b5061033c6108503660046123ee565b600c6020526000908152604090205460ff1681565b34801561087157600080fd5b5061033c6108803660046123ee565b60066020526000908152604090205460ff1681565b3480156108a157600080fd5b50600a5461053f906001600160a01b031681565b3480156108c157600080fd5b5061033c6108d03660046123ee565b600d6020526000908152604090205460ff1681565b3480156108f157600080fd5b506104006109003660046127eb565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561093757600080fd5b506103ad610946366004612815565b6115ba565b34801561095757600080fd5b5061040060135481565b34801561096d57600080fd5b506103ad61097c3660046123ee565b61169c565b34801561098d57600080fd5b506103ad61099c36600461276a565b611713565b3480156109ad57600080fd5b506103ad6109bc3660046123ee565b611786565b6060600380546109d090612833565b80601f01602080910402602001604051908101604052809291908181526020018280546109fc90612833565b8015610a495780601f10610a1e57610100808354040283529160200191610a49565b820191906000526020600020905b815481529060010190602001808311610a2c57829003601f168201915b5050505050905090565b6005546001600160a01b03163314610aa05760405162461bcd60e51b815260206004820181905260248201526000805160206129c783398151915260448201526064015b60405180910390fd5b6008805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600033610add818585611853565b60019150505b92915050565b6005546001600160a01b03163314610b315760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6011805460ff191693151593909317909255601255601355565b600033610b598582856119ac565b610b64858585611a3e565b506001949350505050565b336000908152602081905260409020546001600160801b0382161115610bd75760405162461bcd60e51b815260206004820152601260248201527f4e6f7420656e6f7567682062616c616e636500000000000000000000000000006044820152606401610a97565b610bea33826001600160801b0316611e4a565b336000908152600b60205260408120805490918391839190610c169084906001600160801b0316612883565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550816001600160801b0316336001600160a01b03167f4cfaae54692ee0f77518119795dac467974c077e75e48ebd27303420ee922bca60405160405180910390a35050565b3360009081526006602052604090205460ff1680610ca657506005546001600160a01b031633145b610cf25760405162461bcd60e51b815260206004820152601860248201527f53656e646572206973206e6f7420617574686f72697a656400000000000000006044820152606401610a97565b826001600160801b0316610d068584611298565b1015610d545760405162461bcd60e51b815260206004820152601a60248201527f45636f2073797374656d2062616c616e636520746f6f206c6f770000000000006044820152606401610a97565b6008546040517f925b58710000000000000000000000000000000000000000000000000000000081526000916001600160a01b03169063925b587190610da2908890889087906004016128ae565b6020604051808303816000875af1158015610dc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de591906128e8565b6001600160801b031690508015610e0e57600854610e0e9086906001600160a01b031683611fd8565b6001600160a01b0385166000908152600b6020526040812060018101805491926001600160801b03881692610e44908490612905565b909155505060405182906001600160801b038716906001600160a01b038916907fd5eaf38a64e0fcbb0ab01ef7102c21567bf12dc91d3be75ac261f239f19fcb5290600090a4505050505050565b816001600160801b0316610ea63383611298565b1015610ef45760405162461bcd60e51b815260206004820152601a60248201527f45636f2073797374656d2062616c616e636520746f6f206c6f770000000000006044820152606401610a97565b336000908152600b60205260408082206001600160a01b0386168352908220600182018054929391926001600160801b0387169290610f34908490612905565b9091555050805484908290600090610f569084906001600160801b0316612883565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550836001600160801b0316856001600160a01b0316336001600160a01b03167ff9986037c40fdc041398f05865264913607de48f9207de8e687d4d80fabe9d4f60405160405180910390a45050505050565b6005546001600160a01b031633146110135760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b600f805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610add9082908690611060908790612905565b611853565b6005546001600160a01b031633146110ad5760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b60405133904780156108fc02916000818181858888f193505050501580156110d9573d6000803e3d6000fd5b50565b6005546001600160a01b031633146111245760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146111975760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331461120a5760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331461127d5760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b61128760006121fa565b565b6060600480546109d090612833565b6001600160a01b038083166000908152600b602090815260408083208151808301835281546001600160801b03168082526001909201549381019390935260075491517f51d47e8b0000000000000000000000000000000000000000000000000000000081529394929385939192909116906351d47e8b90611320908990899060040161291d565b602060405180830381865afa15801561133d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113619190612974565b61136b9190612905565b6020830151909150818111156113875760009350505050610ae3565b611391818361298d565b9695505050505050565b6009546001600160a01b03166113b057600080fd5b6009546001600160a01b0316331461140a5760405162461bcd60e51b815260206004820152601d60248201527f4f6e6c79206d696e7420706173732063616e206275726e20686f6e65790000006044820152606401610a97565b6114148282611e4a565b5050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156114b55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610a97565b610b648286868403611853565b600033610add818585611a3e565b6005546001600160a01b031633146115185760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331461158b5760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6009805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b816001600160801b03166115ce3383611298565b101561161c5760405162461bcd60e51b815260206004820152601a60248201527f45636f2073797374656d2062616c616e636520746f6f206c6f770000000000006044820152606401610a97565b61162f33836001600160801b0316612259565b336000908152600b6020526040812060018101805491926001600160801b0386169261165c908490612905565b90915550506040516001600160801b0384169033907fe9160783ba96a6ddf769b9adfe8589cd44b9d68cdcc4fa5879db4f6853f1fadd90600090a3505050565b6005546001600160a01b031633146116e45760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6007805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461175b5760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146117ce5760405162461bcd60e51b815260206004820181905260248201526000805160206129c78339815191526044820152606401610a97565b6001600160a01b03811661184a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a97565b6110d9816121fa565b6001600160a01b0383166118ce5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a97565b6001600160a01b03821661194a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610a97565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611a385781811015611a2b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a97565b611a388484848403611853565b50505050565b600f5460ff1615611ad5576001600160a01b03831660009081526010602052604090205460ff168015611a8957506001600160a01b03821660009081526010602052604090205460ff165b611ad55760405162461bcd60e51b815260206004820152601660248201527f53656e646572206e6f742077686974656c6973746564000000000000000000006044820152606401610a97565b60115460ff168015611aff57506001600160a01b0383166000908152600c602052604090205460ff165b15611c40576001600160a01b038216600090815260146020526040812080549091908190611b3d90600160801b90046001600160801b03164261298d565b90506012548110611b5057839150611bb1565b600060125442611b6091906129a4565b6012548554919250600091611b859190600160801b90046001600160801b03166129a4565b9050808211611b9657859350611bae565b8454611bab906001600160801b031687612905565b93505b50505b601354821115611c035760405162461bcd60e51b815260206004820152601560248201527f427579206578636565647320627579206c696d697400000000000000000000006044820152606401610a97565b506001600160801b039081164291909116600160801b027fffffffffffffffffffffffffffffffff00000000000000000000000000000000161790555b6001600160a01b0383166000908152600c6020526040902054819060ff168015611c8357506001600160a01b0383166000908152600e602052604090205460ff16155b15611d29576008546040517fa2c74a2e0000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152602482018490529091169063a2c74a2e906044016020604051808303816000875af1158015611cf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d189190612974565b611d22908261298d565b9050611e0c565b6001600160a01b0383166000908152600c602052604090205460ff168015611d6a57506001600160a01b0384166000908152600e602052604090205460ff16155b15611e0c576008546040517fed95134e0000000000000000000000000000000000000000000000000000000081526001600160a01b038681166004830152602482018490529091169063ed95134e906044016020604051808303816000875af1158015611ddb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dff9190612974565b611e09908261298d565b90505b6000611e18828461298d565b90508015611e3857600854611e389086906001600160a01b031683611fd8565b611e43858584611fd8565b5050505050565b6001600160a01b038216611ec65760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610a97565b611ed282600083612344565b6001600160a01b03821660009081526020819052604090205481811015611f615760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610a97565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611f9090849061298d565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161199f565b505050565b6001600160a01b0383166120545760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a97565b6001600160a01b0382166120d05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610a97565b6120db838383612344565b6001600160a01b0383166000908152602081905260409020548181101561216a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610a97565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906121a1908490612905565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516121ed91815260200190565b60405180910390a3611a38565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166122af5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610a97565b6122bb60008383612344565b80600260008282546122cd9190612905565b90915550506001600160a01b038216600090815260208190526040812080548392906122fa908490612905565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0383166000908152600d602052604090205460ff1615801561238657506001600160a01b0382166000908152600d602052604090205460ff16155b611fd35760405162461bcd60e51b815260206004820152601960248201527f53454e444552202f20524543495049454e542042414e4e4544000000000000006044820152606401610a97565b80356001600160a01b03811681146123e957600080fd5b919050565b60006020828403121561240057600080fd5b612409826123d2565b9392505050565b6000815180845260005b818110156124365760208185018101518683018201520161241a565b81811115612448576000602083870101525b50601f01601f19169290920160200192915050565b6020815260006124096020830184612410565b6000806040838503121561248357600080fd5b61248c836123d2565b946020939093013593505050565b803580151581146123e957600080fd5b6000806000606084860312156124bf57600080fd5b6124c88461249a565b95602085013595506040909401359392505050565b6000806000606084860312156124f257600080fd5b6124fb846123d2565b9250612509602085016123d2565b9150604084013590509250925092565b6001600160801b03811681146110d957600080fd5b60006020828403121561254057600080fd5b813561240981612519565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561258a5761258a61254b565b604052919050565b600082601f8301126125a357600080fd5b8135602067ffffffffffffffff8211156125bf576125bf61254b565b8160051b6125ce828201612561565b92835284810182019282810190878511156125e857600080fd5b83870192505b84831015612607578235825291830191908301906125ee565b979650505050505050565b6000806000806080858703121561262857600080fd5b612631856123d2565b935060208086013561264281612519565b9350604086013567ffffffffffffffff8082111561265f57600080fd5b61266b89838a01612592565b9450606088013591508082111561268157600080fd5b818801915088601f83011261269557600080fd5b8135818111156126a7576126a761254b565b6126b9601f8201601f19168501612561565b915080825289848285010111156126cf57600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060006060848603121561270457600080fd5b61270d846123d2565b9250602084013561271d81612519565b9150604084013567ffffffffffffffff81111561273957600080fd5b61274586828701612592565b9150509250925092565b60006020828403121561276157600080fd5b6124098261249a565b6000806040838503121561277d57600080fd5b612786836123d2565b91506127946020840161249a565b90509250929050565b600080604083850312156127b057600080fd5b6127b9836123d2565b9150602083013567ffffffffffffffff8111156127d557600080fd5b6127e185828601612592565b9150509250929050565b600080604083850312156127fe57600080fd5b612807836123d2565b9150612794602084016123d2565b6000806040838503121561282857600080fd5b82356127b981612519565b600181811c9082168061284757607f821691505b60208210810361286757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60006001600160801b038083168185168083038211156128a5576128a561286d565b01949350505050565b6001600160a01b03841681526001600160801b03831660208201526060604082015260006128df6060830184612410565b95945050505050565b6000602082840312156128fa57600080fd5b815161240981612519565b600082198211156129185761291861286d565b500190565b6000604082016001600160a01b03851683526020604081850152818551808452606086019150828701935060005b818110156129675784518352938301939183019160010161294b565b5090979650505050505050565b60006020828403121561298657600080fd5b5051919050565b60008282101561299f5761299f61286d565b500390565b6000826129c157634e487b7160e01b600052601260045260246000fd5b50069056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212202a60a92202c804356f7fc710ce8ab5e1991d9cbddcffa5be19af5c22475b8e0464736f6c634300080d0033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

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

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


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.