ETH Price: $3,257.83 (-2.24%)
 

Overview

Max Total Supply

1,000,000,000 BITTECH

Holders

51

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
19,502,000 BITTECH

Value
$0.00
0xf92832a93435fc2c26a72c49096441b18cacc391
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:
BitTechProtocolToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : BitTechProtocolToken.sol
/**
 * 🅱🅸🆃 🆃🅴🅲🅷 🅿🆁🅾🆃🅾🅲🅾🅻
 * Join the Future Of Algorithmic Defi Strategies
 * https://t.me/Bittechprotocol
 */


// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

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

import '../../peripheries/utilities/AdminRole.sol';
import '../../peripheries/interfaces/IStrategy.sol';

contract BitTechProtocolToken is ERC20, AdminRole {
    address public strategy;
    address public controller;
    address public deadAddress = address(0xdead);

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;

    mapping(address => bool) public automatedMarketMakerPairs;

    uint256 public maxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWallet;

    bool private swapping;

    mapping(address => bool) public _isExcludedMaxTransactionAmount;
    mapping(address => bool) private _isExcludedFromFees;

    bool public limitsInEffect = true;
    bool public tradingActive = false;
    bool public swapEnabled = false;

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event ExcludeFromFees(address indexed account, bool isExcluded);

    constructor() ERC20('Bit Tech Protocol', 'BITTECH') {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );

        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        uint256 _totalSupply = 1_000_000_000 * 1e18;
        maxTransactionAmount = _totalSupply * 2 / 100;
        maxWallet = _totalSupply * 4 / 100;
        swapTokensAtAmount = _totalSupply * 5 / 1000;

        _mint(msg.sender, _totalSupply);

        excludeFromFees(msg.sender, true);
        excludeFromFees(strategy, true);
        excludeFromFees(controller, true);
        excludeFromFees(address(this), true);
        excludeFromFees(deadAddress, true);

        excludeFromMaxTransaction(msg.sender, true);
        excludeFromMaxTransaction(strategy, true);
        excludeFromMaxTransaction(controller, true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(deadAddress, true);
    }

    receive() external payable {}

    function enableTrading() external onlyAdmin {
        tradingActive = true;
        swapEnabled = true;
    }

    function getCirculatingSupply() public view returns (uint256) {
        return totalSupply() - balanceOf(deadAddress);
    }

    function excludeFromMaxTransaction(address updAds, bool isEx)
        public
        onlyAdmin
    {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function excludeFromFees(address account, bool excluded) public onlyAdmin {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    function updateStrategy(address _strategy, address _strategyPool) external onlyAdmin {
        _isExcludedFromFees[_strategy] = true;
        _isExcludedMaxTransactionAmount[_strategy] = true;
        addAdmin(_strategy);
        _approve(_strategyPool, _strategy, totalSupply());
        strategy = _strategy;
    }

    // remove limits after token is stable
    function removeLimits() external onlyAdmin returns (bool) {
        limitsInEffect = false;
        return true;
    }

    function updateMaxTxnAmount(uint256 newNum) external onlyAdmin {
        require(
            newNum >= ((totalSupply() * 1) / 1000) / 1e18,
            "Cannot set maxTransactionAmount lower than 0.1%"
        );
        maxTransactionAmount = newNum * (10**18);
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyAdmin {
        require(
            newNum >= ((totalSupply() * 5) / 1000) / 1e18,
            "Cannot set maxWallet lower than 0.5%"
        );
        maxWallet = newNum * (10**18);
    }

    // only use to disable contract sales if absolutely necessary (emergency use only)
    function updateSwapEnabled(bool enabled) external onlyAdmin {
        swapEnabled = enabled;
    }

    function updateSwapTokensAtAmount(uint256 _amount) external onlyAdmin {
        swapTokensAtAmount = _amount;
    }

    function setAutomatedMarketMakerPair(address pair, bool value)
        public
        onlyAdmin
    {
        require(
            pair != uniswapV2Pair,
            "The pair cannot be removed from automatedMarketMakerPairs"
        );

        _setAutomatedMarketMakerPair(pair, value);
    }

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

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

        if (limitsInEffect) {
            if (
                !isAdmin(from) &&
                !isAdmin(to) &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ) {
                if (!tradingActive) {
                    require(
                        _isExcludedFromFees[from] || _isExcludedFromFees[to],
                        "Trading is not active."
                    );
                }
            }

            //when buy
            if (
                automatedMarketMakerPairs[from] &&
                !_isExcludedMaxTransactionAmount[to]
            ) {
                require(
                    amount <= maxTransactionAmount,
                    "Buy transfer amount exceeds the maxTransactionAmount."
                );
                require(
                    amount + balanceOf(to) <= maxWallet,
                    "Max wallet exceeded"
                );
            }
            //when sell
            else if (
                automatedMarketMakerPairs[to] &&
                !_isExcludedMaxTransactionAmount[from]
            ) {
                require(
                    amount <= maxTransactionAmount,
                    "Sell transfer amount exceeds the maxTransactionAmount."
                );
            } else if (!_isExcludedMaxTransactionAmount[to]) {
                require(
                    amount + balanceOf(to) <= maxWallet,
                    "Max wallet exceeded"
                );
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            canSwap &&
            swapEnabled &&
            !swapping &&
            !automatedMarketMakerPairs[from] &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;

            swapBack();

            swapping = false;
        }

        bool takeFee = !swapping;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint256 fees = 0;


        if (takeFee) {
            (uint256 buyTax, uint256 sellTax) = IStrategy(strategy).getTax();

            if (automatedMarketMakerPairs[to] && sellTax > 0) {
                fees = amount * sellTax / 100;
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyTax > 0) {
                fees = amount * buyTax / 100;
            }

            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }

            amount -= fees;
        }
        super._transfer(from, to, amount);
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        if (contractBalance == 0) {
            return;
        }

        if (contractBalance > swapTokensAtAmount * 20) {
            contractBalance = swapTokensAtAmount * 20;
        }

        swapTokensForEth(contractBalance);
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            strategy,
            block.timestamp
        );
    }
}

File 2 of 12 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 5 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 6 of 12 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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

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

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

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

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

File 7 of 12 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

File 8 of 12 : 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 9 of 12 : 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 10 of 12 : IStrategy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

interface IStrategy {
    function distributeFee() external;
    function getTax() external view returns (uint256, uint256);
}

File 11 of 12 : AdminRole.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/utils/Context.sol';

import './Roles.sol';

contract AdminRole is Context {
	using Roles for Roles.Role;

	event AdminAdded(address indexed account);
	event AdminRemoved(address indexed account);

	Roles.Role private _admins;

	constructor() public {
		_addAdmin(_msgSender());
	}

	modifier onlyAdmin() {
		require(isAdmin(_msgSender()), 'AdminRole: caller does not have the Minter role');
		_;
	}

	function isAdmin(address account) public view returns (bool) {
		return _admins.has(account);
	}

	function addAdmin(address account) public virtual onlyAdmin {
		_addAdmin(account);
	}

	function renounceAdmin() public {
		_removeAdmin(_msgSender());
	}

	function _addAdmin(address account) internal  {
		_admins.add(account);
		emit AdminAdded(account);
	}

	function _removeAdmin(address account) internal {
		_admins.remove(account);
		emit AdminRemoved(account);
	}
}

File 12 of 12 : Roles.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
    struct Role {
        mapping (address => bool) bearer;
    }

    /**
     * @dev Give an account access to this role.
     */
    function add(Role storage role, address account) internal {
        require(!has(role, account), "Roles: account already has role");
        role.bearer[account] = true;
    }

    /**
     * @dev Remove an account's access to this role.
     */
    function remove(Role storage role, address account) internal {
        require(has(role, account), "Roles: account does not have role");
        role.bearer[account] = false;
    }

    /**
     * @dev Check if an account has this role.
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0), "Roles: account is the zero address");
        return role.bearer[account];
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"AdminAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"AdminRemoved","type":"event"},{"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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","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":[],"name":"controller","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getCirculatingSupply","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":"account","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"strategy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategy","type":"address"},{"internalType":"address","name":"_strategyPool","type":"address"}],"name":"updateStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c0604052600880546001600160a01b03191661dead1790556010805462ffffff191660011790553480156200003457600080fd5b5060405180604001604052806011815260200170109a5d08151958da08141c9bdd1bd8dbdb607a1b8152506040518060400160405280600781526020016608492a8a88a86960cb1b815250816003908162000090919062000834565b5060046200009f828262000834565b505050620000bc620000b6620003a860201b60201c565b620003ac565b737a250d5630b4cf539739df2c5dacb4c659f2488d620000de816001620003fe565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000129573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014f919062000900565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200019d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c3919062000900565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000211573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000237919062000900565b6001600160a01b031660a081905262000252906001620003fe565b60a051620002629060016200048d565b6b033b2e3c9fd0803ce800000060646200027e82600262000948565b6200028a919062000962565b600a5560646200029c82600462000948565b620002a8919062000962565b600c556103e8620002bb82600562000948565b620002c7919062000962565b600b55620002d63382620004e1565b620002e3336001620005a4565b600654620002fc906001600160a01b03166001620005a4565b60075462000315906001600160a01b03166001620005a4565b62000322306001620005a4565b6008546200033b906001600160a01b03166001620005a4565b62000348336001620003fe565b60065462000361906001600160a01b03166001620003fe565b6007546200037a906001600160a01b03166001620003fe565b62000387306001620003fe565b600854620003a0906001600160a01b03166001620003fe565b50506200099b565b3390565b620003c78160056200066360201b62000e211790919060201c565b6040516001600160a01b038216907f44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e33990600090a250565b6200040933620006e3565b620004625760405162461bcd60e51b815260206004820152602f60248201526000805160206200298183398151915260448201526e746865204d696e74657220726f6c6560881b60648201526084015b60405180910390fd5b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260096020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038216620005395760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000459565b80600260008282546200054d919062000985565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b620005af33620006e3565b620006045760405162461bcd60e51b815260206004820152602f60248201526000805160206200298183398151915260448201526e746865204d696e74657220726f6c6560881b606482015260840162000459565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6200066f82826200070b565b15620006be5760405162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015260640162000459565b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6000620007008260056200070b60201b62000e9d1790919060201c565b92915050565b505050565b60006001600160a01b038216620007705760405162461bcd60e51b815260206004820152602260248201527f526f6c65733a206163636f756e7420697320746865207a65726f206164647265604482015261737360f01b606482015260840162000459565b506001600160a01b03166000908152602091909152604090205460ff1690565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620007bb57607f821691505b602082108103620007dc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200070657600081815260208120601f850160051c810160208610156200080b5750805b601f850160051c820191505b818110156200082c5782815560010162000817565b505050505050565b81516001600160401b0381111562000850576200085062000790565b6200086881620008618454620007a6565b84620007e2565b602080601f831160018114620008a05760008415620008875750858301515b600019600386901b1c1916600185901b1785556200082c565b600085815260208120601f198616915b82811015620008d157888601518255948401946001909101908401620008b0565b5085821015620008f05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200091357600080fd5b81516001600160a01b03811681146200092b57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000700576200070062000932565b6000826200098057634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000700576200070062000932565b60805160a051611fa4620009dd600039600081816104300152610b400152600081816102d201528181611a0501528181611abe0152611afd0152611fa46000f3fe6080604052600436106102295760003560e01c80637571336a11610123578063b62496f5116100ab578063d257b34f1161006f578063d257b34f1461069b578063dd62ed3e146106bb578063e2f45605146106db578063f77c4791146106f1578063f8b45b051461071157600080fd5b8063b62496f5146105f6578063bbc0c74214610626578063c024666814610645578063c18bc19514610665578063c8c8ebe41461068557600080fd5b806395d89b41116100f257806395d89b41146105615780639a7a23d614610576578063a457c2d714610596578063a8c62e76146105b6578063a9059cbb146105d657600080fd5b80637571336a146104f75780638a8c523c146105175780638bad0c0a1461052c578063924de9b71461054157600080fd5b806329f88ace116101b15780634a62bb65116101755780634a62bb65146104525780636ddd17131461046c578063704802751461048c57806370a08231146104ac578063751039fc146104e257600080fd5b806329f88ace146103ad5780632b112e49146103cd578063313ce567146103e257806339509351146103fe57806349bd5a5e1461041e57600080fd5b806318160ddd116101f857806318160ddd1461030c578063203e727e1461032b57806323b872dd1461034d57806324d7806c1461036d57806327c8f8351461038d57600080fd5b806306fdde0314610235578063095ea7b31461026057806310d5de53146102905780631694505e146102c057600080fd5b3661023057005b600080fd5b34801561024157600080fd5b5061024a610727565b6040516102579190611b75565b60405180910390f35b34801561026c57600080fd5b5061028061027b366004611bd8565b6107b9565b6040519015158152602001610257565b34801561029c57600080fd5b506102806102ab366004611c04565b600e6020526000908152604090205460ff1681565b3480156102cc57600080fd5b506102f47f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610257565b34801561031857600080fd5b506002545b604051908152602001610257565b34801561033757600080fd5b5061034b610346366004611c28565b6107d3565b005b34801561035957600080fd5b50610280610368366004611c41565b6108b4565b34801561037957600080fd5b50610280610388366004611c04565b6108d8565b34801561039957600080fd5b506008546102f4906001600160a01b031681565b3480156103b957600080fd5b5061034b6103c8366004611c82565b6108e5565b3480156103d957600080fd5b5061031d610984565b3480156103ee57600080fd5b5060405160128152602001610257565b34801561040a57600080fd5b50610280610419366004611bd8565b6109b1565b34801561042a57600080fd5b506102f47f000000000000000000000000000000000000000000000000000000000000000081565b34801561045e57600080fd5b506010546102809060ff1681565b34801561047857600080fd5b506010546102809062010000900460ff1681565b34801561049857600080fd5b5061034b6104a7366004611c04565b6109ce565b3480156104b857600080fd5b5061031d6104c7366004611c04565b6001600160a01b031660009081526020819052604090205490565b3480156104ee57600080fd5b506102806109ff565b34801561050357600080fd5b5061034b610512366004611cd0565b610a36565b34801561052357600080fd5b5061034b610a86565b34801561053857600080fd5b5061034b610abe565b34801561054d57600080fd5b5061034b61055c366004611d05565b610ac9565b34801561056d57600080fd5b5061024a610b0a565b34801561058257600080fd5b5061034b610591366004611cd0565b610b19565b3480156105a257600080fd5b506102806105b1366004611bd8565b610bf3565b3480156105c257600080fd5b506006546102f4906001600160a01b031681565b3480156105e257600080fd5b506102806105f1366004611bd8565b610c6e565b34801561060257600080fd5b50610280610611366004611c04565b60096020526000908152604090205460ff1681565b34801561063257600080fd5b5060105461028090610100900460ff1681565b34801561065157600080fd5b5061034b610660366004611cd0565b610c7c565b34801561067157600080fd5b5061034b610680366004611c28565b610d00565b34801561069157600080fd5b5061031d600a5481565b3480156106a757600080fd5b5061034b6106b6366004611c28565b610dcc565b3480156106c757600080fd5b5061031d6106d6366004611c82565b610df6565b3480156106e757600080fd5b5061031d600b5481565b3480156106fd57600080fd5b506007546102f4906001600160a01b031681565b34801561071d57600080fd5b5061031d600c5481565b60606003805461073690611d20565b80601f016020809104026020016040519081016040528092919081815260200182805461076290611d20565b80156107af5780601f10610784576101008083540402835291602001916107af565b820191906000526020600020905b81548152906001019060200180831161079257829003601f168201915b5050505050905090565b6000336107c7818585610f20565b60019150505b92915050565b6107dc336108d8565b6108015760405162461bcd60e51b81526004016107f890611d5a565b60405180910390fd5b670de0b6b3a76400006103e861081660025490565b610821906001611dbf565b61082b9190611dd6565b6108359190611dd6565b81101561089c5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b60648201526084016107f8565b6108ae81670de0b6b3a7640000611dbf565b600a5550565b6000336108c2858285611044565b6108cd8585856110be565b506001949350505050565b60006107cd600583610e9d565b6108ee336108d8565b61090a5760405162461bcd60e51b81526004016107f890611d5a565b6001600160a01b0382166000908152600f602090815260408083208054600160ff199182168117909255600e90935292208054909116909117905561094e826109ce565b610961818361095c60025490565b610f20565b50600680546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b03166000908152602081905260408120546002546109ac9190611df8565b905090565b6000336107c78185856109c48383610df6565b61095c9190611e0b565b6109d7336108d8565b6109f35760405162461bcd60e51b81526004016107f890611d5a565b6109fc816116e0565b50565b6000610a0a336108d8565b610a265760405162461bcd60e51b81526004016107f890611d5a565b506010805460ff19169055600190565b610a3f336108d8565b610a5b5760405162461bcd60e51b81526004016107f890611d5a565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b610a8f336108d8565b610aab5760405162461bcd60e51b81526004016107f890611d5a565b6010805462ffff00191662010100179055565b610ac733611722565b565b610ad2336108d8565b610aee5760405162461bcd60e51b81526004016107f890611d5a565b60108054911515620100000262ff000019909216919091179055565b60606004805461073690611d20565b610b22336108d8565b610b3e5760405162461bcd60e51b81526004016107f890611d5a565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610be55760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016107f8565b610bef8282611764565b5050565b60003381610c018286610df6565b905083811015610c615760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107f8565b6108cd8286868403610f20565b6000336107c78185856110be565b610c85336108d8565b610ca15760405162461bcd60e51b81526004016107f890611d5a565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610d09336108d8565b610d255760405162461bcd60e51b81526004016107f890611d5a565b670de0b6b3a76400006103e8610d3a60025490565b610d45906005611dbf565b610d4f9190611dd6565b610d599190611dd6565b811015610db45760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b60648201526084016107f8565b610dc681670de0b6b3a7640000611dbf565b600c5550565b610dd5336108d8565b610df15760405162461bcd60e51b81526004016107f890611d5a565b600b55565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610e2b8282610e9d565b15610e785760405162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c650060448201526064016107f8565b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60006001600160a01b038216610f005760405162461bcd60e51b815260206004820152602260248201527f526f6c65733a206163636f756e7420697320746865207a65726f206164647265604482015261737360f01b60648201526084016107f8565b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b038316610f825760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107f8565b6001600160a01b038216610fe35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107f8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006110508484610df6565b905060001981146110b857818110156110ab5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107f8565b6110b88484848403610f20565b50505050565b6001600160a01b0383166110e45760405162461bcd60e51b81526004016107f890611e1e565b6001600160a01b03821661110a5760405162461bcd60e51b81526004016107f890611e63565b806000036111235761111e838360006117b8565b505050565b60105460ff161561148257611137836108d8565b15801561114a5750611148826108d8565b155b801561115e57506001600160a01b03821615155b801561117557506001600160a01b03821661dead14155b80156111845750600d5460ff16155b1561121c57601054610100900460ff1661121c576001600160a01b0383166000908152600f602052604090205460ff16806111d757506001600160a01b0382166000908152600f602052604090205460ff165b61121c5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016107f8565b6001600160a01b03831660009081526009602052604090205460ff16801561125d57506001600160a01b0382166000908152600e602052604090205460ff16155b1561134157600a548111156112d25760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016107f8565b600c546001600160a01b0383166000908152602081905260409020546112f89083611e0b565b111561133c5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016107f8565b611482565b6001600160a01b03821660009081526009602052604090205460ff16801561138257506001600160a01b0383166000908152600e602052604090205460ff16155b156113f857600a5481111561133c5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016107f8565b6001600160a01b0382166000908152600e602052604090205460ff1661148257600c546001600160a01b03831660009081526020819052604090205461143e9083611e0b565b11156114825760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016107f8565b30600090815260208190526040902054600b54811080159081906114ae575060105462010000900460ff165b80156114bd5750600d5460ff16155b80156114e257506001600160a01b03851660009081526009602052604090205460ff16155b801561150757506001600160a01b0385166000908152600f602052604090205460ff16155b801561152c57506001600160a01b0384166000908152600f602052604090205460ff16155b1561155157600d805460ff191660011790556115466118e2565b600d805460ff191690555b600d546001600160a01b0386166000908152600f602052604090205460ff9182161591168061159857506001600160a01b0385166000908152600f602052604090205460ff165b156115a1575060005b600081156116cc5760065460408051632a5bb15360e11b8152815160009384936001600160a01b03909116926354b762a692600480830193928290030181865afa1580156115f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116179190611ea6565b6001600160a01b038a16600090815260096020526040902054919350915060ff1680156116445750600081115b156116665760646116558289611dbf565b61165f9190611dd6565b92506116ac565b6001600160a01b03891660009081526009602052604090205460ff16801561168e5750600082115b156116ac57606461169f8389611dbf565b6116a99190611dd6565b92505b82156116bd576116bd8930856117b8565b6116c78388611df8565b965050505b6116d78787876117b8565b50505050505050565b6116eb600582610e21565b6040516001600160a01b038216907f44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e33990600090a250565b61172d60058261192c565b6040516001600160a01b038216907fa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f90600090a250565b6001600160a01b038216600081815260096020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166117de5760405162461bcd60e51b81526004016107f890611e1e565b6001600160a01b0382166118045760405162461bcd60e51b81526004016107f890611e63565b6001600160a01b0383166000908152602081905260409020548181101561187c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107f8565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36110b8565b30600090815260208190526040812054908190036118fd5750565b600b5461190b906014611dbf565b81111561192357600b54611920906014611dbf565b90505b6109fc816119ae565b6119368282610e9d565b61198c5760405162461bcd60e51b815260206004820152602160248201527f526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6044820152606560f81b60648201526084016107f8565b6001600160a01b0316600090815260209190915260409020805460ff19169055565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106119e3576119e3611eca565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a859190611ee0565b81600181518110611a9857611a98611eca565b60200260200101906001600160a01b031690816001600160a01b031681525050611ae3307f000000000000000000000000000000000000000000000000000000000000000084610f20565b60065460405163791ac94760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263791ac94792611b3f928792600092889291909116904290600401611efd565b600060405180830381600087803b158015611b5957600080fd5b505af1158015611b6d573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b81811015611ba257858101830151858201604001528201611b86565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146109fc57600080fd5b60008060408385031215611beb57600080fd5b8235611bf681611bc3565b946020939093013593505050565b600060208284031215611c1657600080fd5b8135611c2181611bc3565b9392505050565b600060208284031215611c3a57600080fd5b5035919050565b600080600060608486031215611c5657600080fd5b8335611c6181611bc3565b92506020840135611c7181611bc3565b929592945050506040919091013590565b60008060408385031215611c9557600080fd5b8235611ca081611bc3565b91506020830135611cb081611bc3565b809150509250929050565b80358015158114611ccb57600080fd5b919050565b60008060408385031215611ce357600080fd5b8235611cee81611bc3565b9150611cfc60208401611cbb565b90509250929050565b600060208284031215611d1757600080fd5b611c2182611cbb565b600181811c90821680611d3457607f821691505b602082108103611d5457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602f908201527f41646d696e526f6c653a2063616c6c657220646f6573206e6f7420686176652060408201526e746865204d696e74657220726f6c6560881b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107cd576107cd611da9565b600082611df357634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156107cd576107cd611da9565b808201808211156107cd576107cd611da9565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60008060408385031215611eb957600080fd5b505080516020909101519092909150565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611ef257600080fd5b8151611c2181611bc3565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f4d5784516001600160a01b031683529383019391830191600101611f28565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220fb2b164b19606913df10aecf5d343f7cf5e38150201605c2b3800f0939cd797a64736f6c6343000811003341646d696e526f6c653a2063616c6c657220646f6573206e6f74206861766520

Deployed Bytecode

0x6080604052600436106102295760003560e01c80637571336a11610123578063b62496f5116100ab578063d257b34f1161006f578063d257b34f1461069b578063dd62ed3e146106bb578063e2f45605146106db578063f77c4791146106f1578063f8b45b051461071157600080fd5b8063b62496f5146105f6578063bbc0c74214610626578063c024666814610645578063c18bc19514610665578063c8c8ebe41461068557600080fd5b806395d89b41116100f257806395d89b41146105615780639a7a23d614610576578063a457c2d714610596578063a8c62e76146105b6578063a9059cbb146105d657600080fd5b80637571336a146104f75780638a8c523c146105175780638bad0c0a1461052c578063924de9b71461054157600080fd5b806329f88ace116101b15780634a62bb65116101755780634a62bb65146104525780636ddd17131461046c578063704802751461048c57806370a08231146104ac578063751039fc146104e257600080fd5b806329f88ace146103ad5780632b112e49146103cd578063313ce567146103e257806339509351146103fe57806349bd5a5e1461041e57600080fd5b806318160ddd116101f857806318160ddd1461030c578063203e727e1461032b57806323b872dd1461034d57806324d7806c1461036d57806327c8f8351461038d57600080fd5b806306fdde0314610235578063095ea7b31461026057806310d5de53146102905780631694505e146102c057600080fd5b3661023057005b600080fd5b34801561024157600080fd5b5061024a610727565b6040516102579190611b75565b60405180910390f35b34801561026c57600080fd5b5061028061027b366004611bd8565b6107b9565b6040519015158152602001610257565b34801561029c57600080fd5b506102806102ab366004611c04565b600e6020526000908152604090205460ff1681565b3480156102cc57600080fd5b506102f47f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610257565b34801561031857600080fd5b506002545b604051908152602001610257565b34801561033757600080fd5b5061034b610346366004611c28565b6107d3565b005b34801561035957600080fd5b50610280610368366004611c41565b6108b4565b34801561037957600080fd5b50610280610388366004611c04565b6108d8565b34801561039957600080fd5b506008546102f4906001600160a01b031681565b3480156103b957600080fd5b5061034b6103c8366004611c82565b6108e5565b3480156103d957600080fd5b5061031d610984565b3480156103ee57600080fd5b5060405160128152602001610257565b34801561040a57600080fd5b50610280610419366004611bd8565b6109b1565b34801561042a57600080fd5b506102f47f000000000000000000000000299b604cbc2404f7b0acf315dd31d6cfdf74067981565b34801561045e57600080fd5b506010546102809060ff1681565b34801561047857600080fd5b506010546102809062010000900460ff1681565b34801561049857600080fd5b5061034b6104a7366004611c04565b6109ce565b3480156104b857600080fd5b5061031d6104c7366004611c04565b6001600160a01b031660009081526020819052604090205490565b3480156104ee57600080fd5b506102806109ff565b34801561050357600080fd5b5061034b610512366004611cd0565b610a36565b34801561052357600080fd5b5061034b610a86565b34801561053857600080fd5b5061034b610abe565b34801561054d57600080fd5b5061034b61055c366004611d05565b610ac9565b34801561056d57600080fd5b5061024a610b0a565b34801561058257600080fd5b5061034b610591366004611cd0565b610b19565b3480156105a257600080fd5b506102806105b1366004611bd8565b610bf3565b3480156105c257600080fd5b506006546102f4906001600160a01b031681565b3480156105e257600080fd5b506102806105f1366004611bd8565b610c6e565b34801561060257600080fd5b50610280610611366004611c04565b60096020526000908152604090205460ff1681565b34801561063257600080fd5b5060105461028090610100900460ff1681565b34801561065157600080fd5b5061034b610660366004611cd0565b610c7c565b34801561067157600080fd5b5061034b610680366004611c28565b610d00565b34801561069157600080fd5b5061031d600a5481565b3480156106a757600080fd5b5061034b6106b6366004611c28565b610dcc565b3480156106c757600080fd5b5061031d6106d6366004611c82565b610df6565b3480156106e757600080fd5b5061031d600b5481565b3480156106fd57600080fd5b506007546102f4906001600160a01b031681565b34801561071d57600080fd5b5061031d600c5481565b60606003805461073690611d20565b80601f016020809104026020016040519081016040528092919081815260200182805461076290611d20565b80156107af5780601f10610784576101008083540402835291602001916107af565b820191906000526020600020905b81548152906001019060200180831161079257829003601f168201915b5050505050905090565b6000336107c7818585610f20565b60019150505b92915050565b6107dc336108d8565b6108015760405162461bcd60e51b81526004016107f890611d5a565b60405180910390fd5b670de0b6b3a76400006103e861081660025490565b610821906001611dbf565b61082b9190611dd6565b6108359190611dd6565b81101561089c5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b60648201526084016107f8565b6108ae81670de0b6b3a7640000611dbf565b600a5550565b6000336108c2858285611044565b6108cd8585856110be565b506001949350505050565b60006107cd600583610e9d565b6108ee336108d8565b61090a5760405162461bcd60e51b81526004016107f890611d5a565b6001600160a01b0382166000908152600f602090815260408083208054600160ff199182168117909255600e90935292208054909116909117905561094e826109ce565b610961818361095c60025490565b610f20565b50600680546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b03166000908152602081905260408120546002546109ac9190611df8565b905090565b6000336107c78185856109c48383610df6565b61095c9190611e0b565b6109d7336108d8565b6109f35760405162461bcd60e51b81526004016107f890611d5a565b6109fc816116e0565b50565b6000610a0a336108d8565b610a265760405162461bcd60e51b81526004016107f890611d5a565b506010805460ff19169055600190565b610a3f336108d8565b610a5b5760405162461bcd60e51b81526004016107f890611d5a565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b610a8f336108d8565b610aab5760405162461bcd60e51b81526004016107f890611d5a565b6010805462ffff00191662010100179055565b610ac733611722565b565b610ad2336108d8565b610aee5760405162461bcd60e51b81526004016107f890611d5a565b60108054911515620100000262ff000019909216919091179055565b60606004805461073690611d20565b610b22336108d8565b610b3e5760405162461bcd60e51b81526004016107f890611d5a565b7f000000000000000000000000299b604cbc2404f7b0acf315dd31d6cfdf7406796001600160a01b0316826001600160a01b031603610be55760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016107f8565b610bef8282611764565b5050565b60003381610c018286610df6565b905083811015610c615760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107f8565b6108cd8286868403610f20565b6000336107c78185856110be565b610c85336108d8565b610ca15760405162461bcd60e51b81526004016107f890611d5a565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610d09336108d8565b610d255760405162461bcd60e51b81526004016107f890611d5a565b670de0b6b3a76400006103e8610d3a60025490565b610d45906005611dbf565b610d4f9190611dd6565b610d599190611dd6565b811015610db45760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b60648201526084016107f8565b610dc681670de0b6b3a7640000611dbf565b600c5550565b610dd5336108d8565b610df15760405162461bcd60e51b81526004016107f890611d5a565b600b55565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610e2b8282610e9d565b15610e785760405162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c650060448201526064016107f8565b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60006001600160a01b038216610f005760405162461bcd60e51b815260206004820152602260248201527f526f6c65733a206163636f756e7420697320746865207a65726f206164647265604482015261737360f01b60648201526084016107f8565b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b038316610f825760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107f8565b6001600160a01b038216610fe35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107f8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006110508484610df6565b905060001981146110b857818110156110ab5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107f8565b6110b88484848403610f20565b50505050565b6001600160a01b0383166110e45760405162461bcd60e51b81526004016107f890611e1e565b6001600160a01b03821661110a5760405162461bcd60e51b81526004016107f890611e63565b806000036111235761111e838360006117b8565b505050565b60105460ff161561148257611137836108d8565b15801561114a5750611148826108d8565b155b801561115e57506001600160a01b03821615155b801561117557506001600160a01b03821661dead14155b80156111845750600d5460ff16155b1561121c57601054610100900460ff1661121c576001600160a01b0383166000908152600f602052604090205460ff16806111d757506001600160a01b0382166000908152600f602052604090205460ff165b61121c5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016107f8565b6001600160a01b03831660009081526009602052604090205460ff16801561125d57506001600160a01b0382166000908152600e602052604090205460ff16155b1561134157600a548111156112d25760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016107f8565b600c546001600160a01b0383166000908152602081905260409020546112f89083611e0b565b111561133c5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016107f8565b611482565b6001600160a01b03821660009081526009602052604090205460ff16801561138257506001600160a01b0383166000908152600e602052604090205460ff16155b156113f857600a5481111561133c5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016107f8565b6001600160a01b0382166000908152600e602052604090205460ff1661148257600c546001600160a01b03831660009081526020819052604090205461143e9083611e0b565b11156114825760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016107f8565b30600090815260208190526040902054600b54811080159081906114ae575060105462010000900460ff165b80156114bd5750600d5460ff16155b80156114e257506001600160a01b03851660009081526009602052604090205460ff16155b801561150757506001600160a01b0385166000908152600f602052604090205460ff16155b801561152c57506001600160a01b0384166000908152600f602052604090205460ff16155b1561155157600d805460ff191660011790556115466118e2565b600d805460ff191690555b600d546001600160a01b0386166000908152600f602052604090205460ff9182161591168061159857506001600160a01b0385166000908152600f602052604090205460ff165b156115a1575060005b600081156116cc5760065460408051632a5bb15360e11b8152815160009384936001600160a01b03909116926354b762a692600480830193928290030181865afa1580156115f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116179190611ea6565b6001600160a01b038a16600090815260096020526040902054919350915060ff1680156116445750600081115b156116665760646116558289611dbf565b61165f9190611dd6565b92506116ac565b6001600160a01b03891660009081526009602052604090205460ff16801561168e5750600082115b156116ac57606461169f8389611dbf565b6116a99190611dd6565b92505b82156116bd576116bd8930856117b8565b6116c78388611df8565b965050505b6116d78787876117b8565b50505050505050565b6116eb600582610e21565b6040516001600160a01b038216907f44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e33990600090a250565b61172d60058261192c565b6040516001600160a01b038216907fa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f90600090a250565b6001600160a01b038216600081815260096020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166117de5760405162461bcd60e51b81526004016107f890611e1e565b6001600160a01b0382166118045760405162461bcd60e51b81526004016107f890611e63565b6001600160a01b0383166000908152602081905260409020548181101561187c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107f8565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36110b8565b30600090815260208190526040812054908190036118fd5750565b600b5461190b906014611dbf565b81111561192357600b54611920906014611dbf565b90505b6109fc816119ae565b6119368282610e9d565b61198c5760405162461bcd60e51b815260206004820152602160248201527f526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6044820152606560f81b60648201526084016107f8565b6001600160a01b0316600090815260209190915260409020805460ff19169055565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106119e3576119e3611eca565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a859190611ee0565b81600181518110611a9857611a98611eca565b60200260200101906001600160a01b031690816001600160a01b031681525050611ae3307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610f20565b60065460405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263791ac94792611b3f928792600092889291909116904290600401611efd565b600060405180830381600087803b158015611b5957600080fd5b505af1158015611b6d573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b81811015611ba257858101830151858201604001528201611b86565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146109fc57600080fd5b60008060408385031215611beb57600080fd5b8235611bf681611bc3565b946020939093013593505050565b600060208284031215611c1657600080fd5b8135611c2181611bc3565b9392505050565b600060208284031215611c3a57600080fd5b5035919050565b600080600060608486031215611c5657600080fd5b8335611c6181611bc3565b92506020840135611c7181611bc3565b929592945050506040919091013590565b60008060408385031215611c9557600080fd5b8235611ca081611bc3565b91506020830135611cb081611bc3565b809150509250929050565b80358015158114611ccb57600080fd5b919050565b60008060408385031215611ce357600080fd5b8235611cee81611bc3565b9150611cfc60208401611cbb565b90509250929050565b600060208284031215611d1757600080fd5b611c2182611cbb565b600181811c90821680611d3457607f821691505b602082108103611d5457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602f908201527f41646d696e526f6c653a2063616c6c657220646f6573206e6f7420686176652060408201526e746865204d696e74657220726f6c6560881b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107cd576107cd611da9565b600082611df357634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156107cd576107cd611da9565b808201808211156107cd576107cd611da9565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60008060408385031215611eb957600080fd5b505080516020909101519092909150565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611ef257600080fd5b8151611c2181611bc3565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f4d5784516001600160a01b031683529383019391830191600101611f28565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220fb2b164b19606913df10aecf5d343f7cf5e38150201605c2b3800f0939cd797a64736f6c63430008110033

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.