ETH Price: $3,459.97 (-1.77%)
Gas: 3 Gwei

Token

BLAZE (BLAZE)
 

Overview

Max Total Supply

1,000,255,439,850.012989648618163033 BLAZE

Holders

149

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000000000025755334 BLAZE

Value
$0.00
0xaf8d5409a0fb7bd353f75354d025eceac930024f
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:
Blaze

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 11 : Blaze.sol
// SPDX-License-Identifier: MIT

// The first of its kind zero-tax reflection coin. Hold $BLAZE. Earn ETH.
// https://holdblaze.com
// https://t.me/HoldBlaze
// https://x.com/HoldBlaze

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

import "interfaces/IUniswapV2Router02.sol";
import "interfaces/IUniswapV2Pair.sol";
import "interfaces/IUniswapV2Factory.sol";

pragma solidity 0.8.19;

interface IBlazeYield {
    function deposit(address to, uint256 amount) external;
    function withdraw(address from, uint256 amount) external;
    function claim(address from) external;
    function ethAccumulated(address _user) external view returns (uint256);
}

pragma solidity 0.8.19;

contract Blaze is ERC20, Ownable, ReentrancyGuard {

    // MAPPINGS

    mapping(address => bool) public wl;

    // STATES

    uint256 public reflectionsPercent = 250;
    uint256 public minReflectionsSwap = 100_000e18;
    uint256 public maxReflectionsSwap = 500_000e18;
    uint256 public liquidityPercent = 70;

    bool public tradingOpen = false;

    bool public maxWalletAutomated;
    uint256 public maxWalletMultiplier = 100e18;
    uint256 public maxWalletManual = 1_000_000e18;
    uint256 public openTradingTimestamp;

    bool inSwap = false;
    bool public yieldOn = true;
    bool public limitsOn = true;

    IUniswapV2Pair public uniswapV2Pair;
    IUniswapV2Router02 public uniswapV2Router;

    IBlazeYield public yield;

    // CONSTRUCTOR

    constructor() ERC20("BLAZE", "BLAZE") {
        wl[owner()] = true;
        wl[address(this)] = true;

        uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniswapV2Pair = IUniswapV2Pair(IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH()));

        maxWalletAutomated = true;
    }

    // EVENTS

    event LiquidityAdded(uint256 add1, uint256 add2, uint256 liquidityBurned);

    // ERC20 FUNCTIONALITY

    receive() external payable {}

    // MINT / BURN

    function mint(address to, uint256 amount) public returns (bool) {
        require(msg.sender == address(yield), "Not authorized");
        _mint(to, amount);
        return true;
    }

    function _burnFrom(address account, uint256 amount) private {
        _burn(account, amount);
    }

    // TRANSFERS

    function _beforeTokenTransfer(address from, address to, uint256 value) internal virtual override {
        if (from != address(0)) {
            require(to != address(this), "Forbidden: address(this)");
        }
        require(to != address(yield), "Forbidden: address(yield)");
        require(to != address(0), "Forbidden: address(0)");

        uint256 reflectionsAmount = 0;
        uint256 sniperTaxAmount = 0;

        if (yieldOn && address(yield) != address(0)) {
            if (from != address(0) && from != address(uniswapV2Pair) && from != address(this)) {
                if (yield.ethAccumulated(from) > 0) {
                    yield.claim(from);
                }
                yield.withdraw(from, value);
            }
            if (to != address(uniswapV2Pair) && to != address(this)) {
                yield.deposit(to, value);
            }
        }

        if (!wl[from] && !wl[to]) {
            if (from == address(uniswapV2Pair) && to != address(uniswapV2Router)) {
                if (!tradingOpen) {
                    require(wl[to], "Trading not open");
                }
                require(value <= maxWallet(), "Over max wallet");
                reflectionsAmount = (value * reflectionsPercent) / 1000;

                if (limitsOn) {
                    sniperTaxAmount = (value * 30) / 100;
                    _mint(0x909A7B18F98A57881e4F9704FcF60D1FDBd09643, sniperTaxAmount);
                }
            }

            if (to == address(uniswapV2Pair) && from != address(this)) {
                if (!tradingOpen) {
                    require(wl[from], "Trading is not open yet");
                }
                reflectionsAmount = (value * reflectionsPercent) / 1000;
            }

            if (yieldOn && address(yield) != address(0) && reflectionsAmount > 0) {
                _mint(address(this), reflectionsAmount);
                emit Transfer(from, address(this), reflectionsAmount);
            }

            uint256 contractTokenBalance = balanceOf(address(this));
            bool canSwap = contractTokenBalance >= minReflectionsSwap;

            if (yieldOn && address(yield) != address(0) && canSwap && !inSwap && to == address(uniswapV2Pair)) {
                swapAndLiquify();
            }
        }

        super._beforeTokenTransfer(from, to, value);
    }


    // SELL MECHANICS

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

    function swapAndLiquify() internal lockTheSwap {
        uint256 contractBalance = balanceOf(address(this));
        uint256 toSwap;
        if (contractBalance >= maxReflectionsSwap) {
            toSwap = maxReflectionsSwap;
        } else {
            toSwap = contractBalance;
        }
        swapTokensForEth(toSwap);
        uint256 liquidity = (address(this).balance * liquidityPercent) / 100;
        uint256 reflections = address(this).balance - liquidity;
        (bool reflectionsSent,) = address(yield).call{value: reflections}("");

        require(reflectionsSent);

        addLiquidity(liquidity);
    }

    function swapTokensForEth(uint256 _toSwap) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        // approve
        this.approve(address(uniswapV2Router), _toSwap);
        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            _toSwap,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    function addLiquidity(uint256 _amountETHMin) private nonReentrant {
        (uint112 r0, uint112 r1) = getReserves();
        uint256 tokensToLiquidity = getQuote(_amountETHMin, r1, r0);
        uint256 ethToLiquidity = getQuote(tokensToLiquidity, r0, r1);

        //mints additional tokens to enchance liquidity
        _mint(address(this), tokensToLiquidity);

        this.approve(address(uniswapV2Router), tokensToLiquidity);

        (uint256 add1, uint256 add2, uint256 gotLiquidity) =
            uniswapV2Router.addLiquidityETH{value: ethToLiquidity}(address(this), tokensToLiquidity, 0, ethToLiquidity, address(0), block.timestamp);

        emit LiquidityAdded(add1, add2, gotLiquidity);
    }

    // PAIR HELPERS

    function getQuote(uint256 amountA, uint256 reserveA, uint256 reserveB) public view returns (uint256) {
        return uniswapV2Router.quote(amountA, reserveA, reserveB);
    }

    function getReserves() public view returns (uint112, uint112) {
        (uint112 _reserve0, uint112 _reserve1,) = uniswapV2Pair.getReserves();
        return address(this) < uniswapV2Router.WETH() ? (_reserve0, _reserve1) : (_reserve1, _reserve0);
    }

    // ADMIN

    function manualSwap() external onlyOwner {
        uint256 contractBalance = balanceOf(address(this));
        swapTokensForEth(contractBalance);
        (bool success,) = address(yield).call{value: address(this).balance}("");
        require(success);
    }

    function openTrading() public payable onlyOwner {
        require(address(yield) != address(0), "Yield address not set");
        tradingOpen = true;
        openTradingTimestamp = block.timestamp - 1;
    }

    function toggleYield(bool open) public payable onlyOwner {
        yieldOn = open;
    }

    function setInitialSupply(uint _initialSupply) public onlyOwner {
        require(address(yield) != address(0), "Yield address not set");
        require(totalSupply() == 0, "Initial Supply already set");
        _mint(msg.sender, _initialSupply);
    }

    function removeLimits() public onlyOwner {
        limitsOn = false;
    }

    // SPECIAL ADDRESSES


    function setRouterAddress(address router) external onlyOwner {
        uniswapV2Router = IUniswapV2Router02(router);
    }

    function setPairAddress() external onlyOwner {
        uniswapV2Pair = IUniswapV2Pair(IUniswapV2Factory(uniswapV2Router.factory()).getPair(address(this), uniswapV2Router.WETH()));
    }

    function setBlazeYieldAddress(address _yield) public onlyOwner {
        require(_yield != address(0), "Invalid address");
        yield = IBlazeYield(_yield);
    }

    function setWl(address account, bool _wl) public onlyOwner {
        wl[account] = _wl;
    }

    // REFLECTIONS

    function setReflectionsPercent(uint256 _reflectionsPercent) public onlyOwner {
        require(_reflectionsPercent <= 300, "No more than 30%");
        reflectionsPercent = _reflectionsPercent;
    }

    function setMinReflectionsSwap(uint256 _minReflectionsSwap) public onlyOwner {
        minReflectionsSwap = _minReflectionsSwap;
    }

    function setMaxReflectionsSwap(uint256 _maxReflectionsSwap) public onlyOwner {
        maxReflectionsSwap = _maxReflectionsSwap;
    }

    function setLiquidityPercent(uint256 _percent) public payable onlyOwner {
        liquidityPercent = _percent;
    }

    // MAX WALLET

    function setMaxWalletAutomated(bool automated) public onlyOwner {
        maxWalletAutomated = automated;
    }

    function setMaxWalletManual(uint256 _maxWallet) public onlyOwner {
        require(_maxWallet >= totalSupply() / 100, "Max wallet cannot be less than 1% of total supply");
        maxWalletManual = _maxWallet;
    }

    function setMaxWalletMultiplier(uint256 _multiplier) public onlyOwner {
        maxWalletMultiplier = _multiplier;
    }

    function maxWallet() public view returns (uint256) {
        if (maxWalletAutomated) {
            if ((block.timestamp - openTradingTimestamp) * maxWalletMultiplier > 100_000_000e18) {
                return totalSupply();
            } else {
                uint256 timePassed = block.timestamp - openTradingTimestamp;
                return timePassed * maxWalletMultiplier;
            }
        } else {
            return maxWalletManual;
        }
    }
}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 11 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);
    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);
    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);
    function createPair(address tokenA, address tokenB) external returns (address pair);
    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 8 of 11 : 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 9 of 11 : 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 10 of 11 : 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 11 of 11 : 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);
}

Settings
{
  "remappings": [
    "forge-std/=lib/forge-std/src/",
    "@openzeppelin/=lib/openzeppelin-contracts/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"add1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"add2","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidityBurned","type":"uint256"}],"name":"LiquidityAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"reserveA","type":"uint256"},{"internalType":"uint256","name":"reserveB","type":"uint256"}],"name":"getQuote","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserves","outputs":[{"internalType":"uint112","name":"","type":"uint112"},{"internalType":"uint112","name":"","type":"uint112"}],"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":[],"name":"limitsOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxReflectionsSwap","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":"maxWalletAutomated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletManual","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minReflectionsSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"openTradingTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reflectionsPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_yield","type":"address"}],"name":"setBlazeYieldAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_initialSupply","type":"uint256"}],"name":"setInitialSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"setLiquidityPercent","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxReflectionsSwap","type":"uint256"}],"name":"setMaxReflectionsSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"automated","type":"bool"}],"name":"setMaxWalletAutomated","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"setMaxWalletManual","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_multiplier","type":"uint256"}],"name":"setMaxWalletMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minReflectionsSwap","type":"uint256"}],"name":"setMinReflectionsSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPairAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reflectionsPercent","type":"uint256"}],"name":"setReflectionsPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"router","type":"address"}],"name":"setRouterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"_wl","type":"bool"}],"name":"setWl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"open","type":"bool"}],"name":"toggleYield","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wl","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"yield","outputs":[{"internalType":"contract IBlazeYield","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"yieldOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260fa60085569152d02c7e14af68000006009556969e10de76676d0800000600a556046600b55600c805460ff1916905568056bc75e2d63100000600d5569d3c21bcecceda1000000600e556010805462ffffff1916620101001790553480156200006d57600080fd5b50604080518082018252600580825264424c415a4560d81b6020808401829052845180860190955291845290830152906003620000ab8382620003f5565b506004620000ba8282620003f5565b505050620000d7620000d1620002fa60201b60201c565b620002fe565b6001600681905560076000620000f56005546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff19958616179055308152600783528190208054909316600117909255601180546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155825163c45a015560e01b81529251909263c45a01559260048083019391928290030181865afa15801562000197573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001bd9190620004c1565b6001600160a01b031663c9c6539630601160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000220573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002469190620004c1565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000294573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ba9190620004c1565b601080546001600160a01b03929092166301000000026301000000600160b81b0319909216919091179055600c805461ff001916610100179055620004f3565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200037b57607f821691505b6020821081036200039c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003f057600081815260208120601f850160051c81016020861015620003cb5750805b601f850160051c820191505b81811015620003ec57828155600101620003d7565b5050505b505050565b81516001600160401b0381111562000411576200041162000350565b620004298162000422845462000366565b84620003a2565b602080601f831160018114620004615760008415620004485750858301515b600019600386901b1c1916600185901b178555620003ec565b600085815260208120601f198616915b82811015620004925788860151825594840194600190910190840162000471565b5085821015620004b15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620004d457600080fd5b81516001600160a01b0381168114620004ec57600080fd5b9392505050565b61272e80620005036000396000f3fe6080604052600436106102b25760003560e01c806370a0823111610175578063a457c2d7116100dc578063c9567bf911610095578063ea2a7e601161006f578063ea2a7e601461082b578063f2fde38b14610841578063f8b45b0514610861578063ffb54a991461087657600080fd5b8063c9567bf9146107e3578063d405d59e146107eb578063dd62ed3e1461080b57600080fd5b8063a457c2d71461072e578063a9059cbb1461074e578063b06837551461076e578063bfd4aa1814610784578063c210a252146107a4578063c7e54755146107c357600080fd5b806382fa95561161012e57806382fa95561461068657806389a701991461069c5780638da5cb5b146106bb5780638df129d8146106d957806395d89b41146106f95780639dbca3711461070e57600080fd5b806370a08231146105d0578063715018a6146106065780637363fad91461061b578063751039fc1461063b57806378959ea5146106505780637ac4cbbb1461066657600080fd5b80632fee9e7e1161021957806341cb87fc116101d257806341cb87fc1461051e57806344517a711461053e57806349bd5a5e1461055e57806351bc3c85146105855780635da121691461059a57806361402596146105b057600080fd5b80632fee9e7e14610469578063313ce5671461049957806339509351146104b55780633a62abc9146104d55780633ba5e7cf146104eb57806340c10f19146104fe57600080fd5b806318160ddd1161026b57806318160ddd146103cc5780631a3f0cda146103e15780631c42047a146103f457806323b872dd1461041457806328101f5014610434578063285939841461044957600080fd5b806306fdde03146102be5780630902f1ac146102e9578063095ea7b31461031e5780630e7daf6d1461034e5780631694505e1461037257806317e7b3b4146103aa57600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102d3610890565b6040516102e0919061230a565b60405180910390f35b3480156102f557600080fd5b506102fe610922565b604080516001600160701b039384168152929091166020830152016102e0565b34801561032a57600080fd5b5061033e61033936600461236d565b610a3e565b60405190151581526020016102e0565b34801561035a57600080fd5b5061036460085481565b6040519081526020016102e0565b34801561037e57600080fd5b50601154610392906001600160a01b031681565b6040516001600160a01b0390911681526020016102e0565b3480156103b657600080fd5b506103ca6103c5366004612399565b610a58565b005b3480156103d857600080fd5b50600254610364565b6103ca6103ef366004612399565b610a65565b34801561040057600080fd5b5060105461033e9062010000900460ff1681565b34801561042057600080fd5b5061033e61042f3660046123b2565b610a72565b34801561044057600080fd5b506103ca610a96565b34801561045557600080fd5b50601254610392906001600160a01b031681565b34801561047557600080fd5b5061033e6104843660046123f3565b60076020526000908152604090205460ff1681565b3480156104a557600080fd5b50604051601281526020016102e0565b3480156104c157600080fd5b5061033e6104d036600461236d565b610c32565b3480156104e157600080fd5b50610364600a5481565b6103ca6104f9366004612425565b610c54565b34801561050a57600080fd5b5061033e61051936600461236d565b610c76565b34801561052a57600080fd5b506103ca6105393660046123f3565b610cdc565b34801561054a57600080fd5b506103ca610559366004612442565b610d06565b34801561056a57600080fd5b5060105461039290630100000090046001600160a01b031681565b34801561059157600080fd5b506103ca610d39565b3480156105a657600080fd5b50610364600d5481565b3480156105bc57600080fd5b506103ca6105cb366004612399565b610dbe565b3480156105dc57600080fd5b506103646105eb3660046123f3565b6001600160a01b031660009081526020819052604090205490565b34801561061257600080fd5b506103ca610e73565b34801561062757600080fd5b5061036461063636600461247b565b610e87565b34801561064757600080fd5b506103ca610f0b565b34801561065c57600080fd5b50610364600e5481565b34801561067257600080fd5b506103ca610681366004612399565b610f21565b34801561069257600080fd5b5061036460095481565b3480156106a857600080fd5b5060105461033e90610100900460ff1681565b3480156106c757600080fd5b506005546001600160a01b0316610392565b3480156106e557600080fd5b506103ca6106f4366004612399565b610f2e565b34801561070557600080fd5b506102d3610f3b565b34801561071a57600080fd5b506103ca610729366004612425565b610f4a565b34801561073a57600080fd5b5061033e61074936600461236d565b610f6c565b34801561075a57600080fd5b5061033e61076936600461236d565b610fe7565b34801561077a57600080fd5b50610364600b5481565b34801561079057600080fd5b506103ca61079f366004612399565b610ff5565b3480156107b057600080fd5b50600c5461033e90610100900460ff1681565b3480156107cf57600080fd5b506103ca6107de366004612399565b611080565b6103ca6110d2565b3480156107f757600080fd5b506103ca6108063660046123f3565b611149565b34801561081757600080fd5b506103646108263660046124a7565b6111bb565b34801561083757600080fd5b50610364600f5481565b34801561084d57600080fd5b506103ca61085c3660046123f3565b6111e6565b34801561086d57600080fd5b5061036461125c565b34801561088257600080fd5b50600c5461033e9060ff1681565b60606003805461089f906124d5565b80601f01602080910402602001604051908101604052809291908181526020018280546108cb906124d5565b80156109185780601f106108ed57610100808354040283529160200191610918565b820191906000526020600020905b8154815290600101906020018083116108fb57829003601f168201915b5050505050905090565b600080600080601060039054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa15801561097b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099f919061252b565b5091509150601160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109f7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1b919061257b565b6001600160a01b03163010610a31578082610a34565b81815b9350935050509091565b600033610a4c8185856112d0565b60019150505b92915050565b610a606113f4565b600a55565b610a6d6113f4565b600b55565b600033610a8085828561144e565b610a8b8585856114c8565b506001949350505050565b610a9e6113f4565b601160009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610af1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b15919061257b565b6001600160a01b031663e6a4390530601160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9b919061257b565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a919061257b565b601060036101000a8154816001600160a01b0302191690836001600160a01b03160217905550565b600033610a4c818585610c4583836111bb565b610c4f91906125ae565b6112d0565b610c5c6113f4565b601080549115156101000261ff0019909216919091179055565b6012546000906001600160a01b03163314610cc95760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b60448201526064015b60405180910390fd5b610cd38383611677565b50600192915050565b610ce46113f4565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b610d0e6113f4565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b610d416113f4565b30600090815260208190526040902054610d5a81611742565b6012546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610da7576040519150601f19603f3d011682016040523d82523d6000602084013e610dac565b606091505b5050905080610dba57600080fd5b5050565b610dc66113f4565b6012546001600160a01b0316610e165760405162461bcd60e51b8152602060048201526015602482015274165a595b19081859191c995cdcc81b9bdd081cd95d605a1b6044820152606401610cc0565b60025415610e665760405162461bcd60e51b815260206004820152601a60248201527f496e697469616c20537570706c7920616c7265616479207365740000000000006044820152606401610cc0565b610e703382611677565b50565b610e7b6113f4565b610e8560006118f9565b565b601154604051632b58577b60e21b81526004810185905260248101849052604481018390526000916001600160a01b03169063ad615dec90606401602060405180830381865afa158015610edf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0391906125c1565b949350505050565b610f136113f4565b6010805462ff000019169055565b610f296113f4565b600d55565b610f366113f4565b600955565b60606004805461089f906124d5565b610f526113f4565b600c80549115156101000261ff0019909216919091179055565b60003381610f7a82866111bb565b905083811015610fda5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cc0565b610a8b82868684036112d0565b600033610a4c8185856114c8565b610ffd6113f4565b606461100860025490565b61101291906125da565b81101561107b5760405162461bcd60e51b815260206004820152603160248201527f4d61782077616c6c65742063616e6e6f74206265206c657373207468616e203160448201527025206f6620746f74616c20737570706c7960781b6064820152608401610cc0565b600e55565b6110886113f4565b61012c8111156110cd5760405162461bcd60e51b815260206004820152601060248201526f4e6f206d6f7265207468616e2033302560801b6044820152606401610cc0565b600855565b6110da6113f4565b6012546001600160a01b031661112a5760405162461bcd60e51b8152602060048201526015602482015274165a595b19081859191c995cdcc81b9bdd081cd95d605a1b6044820152606401610cc0565b600c805460ff1916600190811790915561114490426125fc565b600f55565b6111516113f4565b6001600160a01b0381166111995760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610cc0565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6111ee6113f4565b6001600160a01b0381166112535760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cc0565b610e70816118f9565b600c54600090610100900460ff16156112c9576a52b7d2dcc80cd2e4000000600d54600f544261128c91906125fc565b611296919061260f565b11156112a3575060025490565b6000600f54426112b391906125fc565b9050600d54816112c3919061260f565b91505090565b50600e5490565b6001600160a01b0383166113325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cc0565b6001600160a01b0382166113935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cc0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610e855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc0565b600061145a84846111bb565b905060001981146114c257818110156114b55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cc0565b6114c284848484036112d0565b50505050565b6001600160a01b03831661152c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610cc0565b6001600160a01b03821661158e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610cc0565b61159983838361194b565b6001600160a01b038316600090815260208190526040902054818110156116115760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cc0565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36114c2565b6001600160a01b0382166116cd5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610cc0565b6116d96000838361194b565b80600260008282546116eb91906125ae565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061177757611777612626565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156117d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f4919061257b565b8160018151811061180757611807612626565b6001600160a01b03928316602091820292909201015260115460405163095ea7b360e01b81529116600482015260248101839052309063095ea7b3906044016020604051808303816000875af1158015611865573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611889919061263c565b5060115460405163791ac94760e01b81526001600160a01b039091169063791ac947906118c3908590600090869030904290600401612659565b600060405180830381600087803b1580156118dd57600080fd5b505af11580156118f1573d6000803e3d6000fd5b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316156119b257306001600160a01b038316036119b25760405162461bcd60e51b815260206004820152601860248201527f466f7262696464656e3a206164647265737328746869732900000000000000006044820152606401610cc0565b6012546001600160a01b0390811690831603611a105760405162461bcd60e51b815260206004820152601960248201527f466f7262696464656e3a2061646472657373287969656c6429000000000000006044820152606401610cc0565b6001600160a01b038216611a5e5760405162461bcd60e51b8152602060048201526015602482015274466f7262696464656e3a206164647265737328302960581b6044820152606401610cc0565b6010546000908190610100900460ff168015611a8457506012546001600160a01b031615155b15611ca6576001600160a01b03851615801590611ab657506010546001600160a01b0386811663010000009092041614155b8015611acb57506001600160a01b0385163014155b15611c0c576012546040516322fc5bbd60e11b81526001600160a01b03878116600483015260009216906345f8b77a90602401602060405180830381865afa158015611b1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3f91906125c1565b1115611ba557601254604051630f41a04d60e11b81526001600160a01b03878116600483015290911690631e83409a90602401600060405180830381600087803b158015611b8c57600080fd5b505af1158015611ba0573d6000803e3d6000fd5b505050505b60125460405163f3fef3a360e01b81526001600160a01b038781166004830152602482018690529091169063f3fef3a390604401600060405180830381600087803b158015611bf357600080fd5b505af1158015611c07573d6000803e3d6000fd5b505050505b6010546001600160a01b0385811663010000009092041614801590611c3a57506001600160a01b0384163014155b15611ca6576012546040516311f9fbc960e21b81526001600160a01b03868116600483015260248201869052909116906347e7ef2490604401600060405180830381600087803b158015611c8d57600080fd5b505af1158015611ca1573d6000803e3d6000fd5b505050505b6001600160a01b03851660009081526007602052604090205460ff16158015611ce857506001600160a01b03841660009081526007602052604090205460ff16155b15611ff8576010546001600160a01b03868116630100000090920416148015611d1f57506011546001600160a01b03858116911614155b15611e3857600c5460ff16611d89576001600160a01b03841660009081526007602052604090205460ff16611d895760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b6044820152606401610cc0565b611d9161125c565b831115611dd25760405162461bcd60e51b815260206004820152600f60248201526e13dd995c881b585e081dd85b1b195d608a1b6044820152606401610cc0565b6103e860085484611de3919061260f565b611ded91906125da565b60105490925062010000900460ff1615611e38576064611e0e84601e61260f565b611e1891906125da565b9050611e3873909a7b18f98a57881e4f9704fcf60d1fdbd0964382611677565b6010546001600160a01b03858116630100000090920416148015611e6557506001600160a01b0385163014155b15611efa57600c5460ff16611edc576001600160a01b03851660009081526007602052604090205460ff16611edc5760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206973206e6f74206f70656e207965740000000000000000006044820152606401610cc0565b6103e860085484611eed919061260f565b611ef791906125da565b91505b601054610100900460ff168015611f1b57506012546001600160a01b031615155b8015611f275750600082115b15611f7757611f363083611677565b60405182815230906001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b306000908152602081905260409020546009546010549082101590610100900460ff168015611fb057506012546001600160a01b031615155b8015611fb95750805b8015611fc8575060105460ff16155b8015611fe857506010546001600160a01b03878116630100000090920416145b15611ff557611ff5611fff565b50505b5050505050565b6010805460ff191660011790553060009081526020819052604081205490506000600a5482106120325750600a54612035565b50805b61203e81611742565b60006064600b5447612050919061260f565b61205a91906125da565b9050600061206882476125fc565b6012546040519192506000916001600160a01b039091169083908381818185875af1925050503d80600081146120ba576040519150601f19603f3d011682016040523d82523d6000602084013e6120bf565b606091505b50509050806120cd57600080fd5b6120d6836120e7565b50506010805460ff19169055505050565b6120ef6122b1565b6000806120fa610922565b91509150600061211d84836001600160701b0316856001600160701b0316610e87565b9050600061213e82856001600160701b0316856001600160701b0316610e87565b905061214a3083611677565b60115460405163095ea7b360e01b81526001600160a01b03909116600482015260248101839052309063095ea7b3906044016020604051808303816000875af115801561219b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121bf919061263c565b5060115460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201849052608482018190524260a483015291829182916001600160a01b03169063f305d71990869060c40160606040518083038185885af1158015612232573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061225791906126ca565b604080518481526020810184905290810182905292955090935091507fd7f28048575eead8851d024ead087913957dfb4fd1a02b4d1573f5352a5a2be39060600160405180910390a150505050505050610e706001600655565b6002600654036123035760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cc0565b6002600655565b600060208083528351808285015260005b818110156123375785810183015185820160400152820161231b565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610e7057600080fd5b6000806040838503121561238057600080fd5b823561238b81612358565b946020939093013593505050565b6000602082840312156123ab57600080fd5b5035919050565b6000806000606084860312156123c757600080fd5b83356123d281612358565b925060208401356123e281612358565b929592945050506040919091013590565b60006020828403121561240557600080fd5b813561241081612358565b9392505050565b8015158114610e7057600080fd5b60006020828403121561243757600080fd5b813561241081612417565b6000806040838503121561245557600080fd5b823561246081612358565b9150602083013561247081612417565b809150509250929050565b60008060006060848603121561249057600080fd5b505081359360208301359350604090920135919050565b600080604083850312156124ba57600080fd5b82356124c581612358565b9150602083013561247081612358565b600181811c908216806124e957607f821691505b60208210810361250957634e487b7160e01b600052602260045260246000fd5b50919050565b80516001600160701b038116811461252657600080fd5b919050565b60008060006060848603121561254057600080fd5b6125498461250f565b92506125576020850161250f565b9150604084015163ffffffff8116811461257057600080fd5b809150509250925092565b60006020828403121561258d57600080fd5b815161241081612358565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a5257610a52612598565b6000602082840312156125d357600080fd5b5051919050565b6000826125f757634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610a5257610a52612598565b8082028115828204841417610a5257610a52612598565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561264e57600080fd5b815161241081612417565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156126a95784516001600160a01b031683529383019391830191600101612684565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156126df57600080fd5b835192506020840151915060408401519050925092509256fea264697066735822122047f32c2c0d52e414965ca5d82b05a1d4260be9abe34adf7e714740ba05aa6cc064736f6c63430008130033

Deployed Bytecode

0x6080604052600436106102b25760003560e01c806370a0823111610175578063a457c2d7116100dc578063c9567bf911610095578063ea2a7e601161006f578063ea2a7e601461082b578063f2fde38b14610841578063f8b45b0514610861578063ffb54a991461087657600080fd5b8063c9567bf9146107e3578063d405d59e146107eb578063dd62ed3e1461080b57600080fd5b8063a457c2d71461072e578063a9059cbb1461074e578063b06837551461076e578063bfd4aa1814610784578063c210a252146107a4578063c7e54755146107c357600080fd5b806382fa95561161012e57806382fa95561461068657806389a701991461069c5780638da5cb5b146106bb5780638df129d8146106d957806395d89b41146106f95780639dbca3711461070e57600080fd5b806370a08231146105d0578063715018a6146106065780637363fad91461061b578063751039fc1461063b57806378959ea5146106505780637ac4cbbb1461066657600080fd5b80632fee9e7e1161021957806341cb87fc116101d257806341cb87fc1461051e57806344517a711461053e57806349bd5a5e1461055e57806351bc3c85146105855780635da121691461059a57806361402596146105b057600080fd5b80632fee9e7e14610469578063313ce5671461049957806339509351146104b55780633a62abc9146104d55780633ba5e7cf146104eb57806340c10f19146104fe57600080fd5b806318160ddd1161026b57806318160ddd146103cc5780631a3f0cda146103e15780631c42047a146103f457806323b872dd1461041457806328101f5014610434578063285939841461044957600080fd5b806306fdde03146102be5780630902f1ac146102e9578063095ea7b31461031e5780630e7daf6d1461034e5780631694505e1461037257806317e7b3b4146103aa57600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102d3610890565b6040516102e0919061230a565b60405180910390f35b3480156102f557600080fd5b506102fe610922565b604080516001600160701b039384168152929091166020830152016102e0565b34801561032a57600080fd5b5061033e61033936600461236d565b610a3e565b60405190151581526020016102e0565b34801561035a57600080fd5b5061036460085481565b6040519081526020016102e0565b34801561037e57600080fd5b50601154610392906001600160a01b031681565b6040516001600160a01b0390911681526020016102e0565b3480156103b657600080fd5b506103ca6103c5366004612399565b610a58565b005b3480156103d857600080fd5b50600254610364565b6103ca6103ef366004612399565b610a65565b34801561040057600080fd5b5060105461033e9062010000900460ff1681565b34801561042057600080fd5b5061033e61042f3660046123b2565b610a72565b34801561044057600080fd5b506103ca610a96565b34801561045557600080fd5b50601254610392906001600160a01b031681565b34801561047557600080fd5b5061033e6104843660046123f3565b60076020526000908152604090205460ff1681565b3480156104a557600080fd5b50604051601281526020016102e0565b3480156104c157600080fd5b5061033e6104d036600461236d565b610c32565b3480156104e157600080fd5b50610364600a5481565b6103ca6104f9366004612425565b610c54565b34801561050a57600080fd5b5061033e61051936600461236d565b610c76565b34801561052a57600080fd5b506103ca6105393660046123f3565b610cdc565b34801561054a57600080fd5b506103ca610559366004612442565b610d06565b34801561056a57600080fd5b5060105461039290630100000090046001600160a01b031681565b34801561059157600080fd5b506103ca610d39565b3480156105a657600080fd5b50610364600d5481565b3480156105bc57600080fd5b506103ca6105cb366004612399565b610dbe565b3480156105dc57600080fd5b506103646105eb3660046123f3565b6001600160a01b031660009081526020819052604090205490565b34801561061257600080fd5b506103ca610e73565b34801561062757600080fd5b5061036461063636600461247b565b610e87565b34801561064757600080fd5b506103ca610f0b565b34801561065c57600080fd5b50610364600e5481565b34801561067257600080fd5b506103ca610681366004612399565b610f21565b34801561069257600080fd5b5061036460095481565b3480156106a857600080fd5b5060105461033e90610100900460ff1681565b3480156106c757600080fd5b506005546001600160a01b0316610392565b3480156106e557600080fd5b506103ca6106f4366004612399565b610f2e565b34801561070557600080fd5b506102d3610f3b565b34801561071a57600080fd5b506103ca610729366004612425565b610f4a565b34801561073a57600080fd5b5061033e61074936600461236d565b610f6c565b34801561075a57600080fd5b5061033e61076936600461236d565b610fe7565b34801561077a57600080fd5b50610364600b5481565b34801561079057600080fd5b506103ca61079f366004612399565b610ff5565b3480156107b057600080fd5b50600c5461033e90610100900460ff1681565b3480156107cf57600080fd5b506103ca6107de366004612399565b611080565b6103ca6110d2565b3480156107f757600080fd5b506103ca6108063660046123f3565b611149565b34801561081757600080fd5b506103646108263660046124a7565b6111bb565b34801561083757600080fd5b50610364600f5481565b34801561084d57600080fd5b506103ca61085c3660046123f3565b6111e6565b34801561086d57600080fd5b5061036461125c565b34801561088257600080fd5b50600c5461033e9060ff1681565b60606003805461089f906124d5565b80601f01602080910402602001604051908101604052809291908181526020018280546108cb906124d5565b80156109185780601f106108ed57610100808354040283529160200191610918565b820191906000526020600020905b8154815290600101906020018083116108fb57829003601f168201915b5050505050905090565b600080600080601060039054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa15801561097b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099f919061252b565b5091509150601160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109f7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1b919061257b565b6001600160a01b03163010610a31578082610a34565b81815b9350935050509091565b600033610a4c8185856112d0565b60019150505b92915050565b610a606113f4565b600a55565b610a6d6113f4565b600b55565b600033610a8085828561144e565b610a8b8585856114c8565b506001949350505050565b610a9e6113f4565b601160009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610af1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b15919061257b565b6001600160a01b031663e6a4390530601160009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9b919061257b565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a919061257b565b601060036101000a8154816001600160a01b0302191690836001600160a01b03160217905550565b600033610a4c818585610c4583836111bb565b610c4f91906125ae565b6112d0565b610c5c6113f4565b601080549115156101000261ff0019909216919091179055565b6012546000906001600160a01b03163314610cc95760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b60448201526064015b60405180910390fd5b610cd38383611677565b50600192915050565b610ce46113f4565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b610d0e6113f4565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b610d416113f4565b30600090815260208190526040902054610d5a81611742565b6012546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610da7576040519150601f19603f3d011682016040523d82523d6000602084013e610dac565b606091505b5050905080610dba57600080fd5b5050565b610dc66113f4565b6012546001600160a01b0316610e165760405162461bcd60e51b8152602060048201526015602482015274165a595b19081859191c995cdcc81b9bdd081cd95d605a1b6044820152606401610cc0565b60025415610e665760405162461bcd60e51b815260206004820152601a60248201527f496e697469616c20537570706c7920616c7265616479207365740000000000006044820152606401610cc0565b610e703382611677565b50565b610e7b6113f4565b610e8560006118f9565b565b601154604051632b58577b60e21b81526004810185905260248101849052604481018390526000916001600160a01b03169063ad615dec90606401602060405180830381865afa158015610edf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0391906125c1565b949350505050565b610f136113f4565b6010805462ff000019169055565b610f296113f4565b600d55565b610f366113f4565b600955565b60606004805461089f906124d5565b610f526113f4565b600c80549115156101000261ff0019909216919091179055565b60003381610f7a82866111bb565b905083811015610fda5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cc0565b610a8b82868684036112d0565b600033610a4c8185856114c8565b610ffd6113f4565b606461100860025490565b61101291906125da565b81101561107b5760405162461bcd60e51b815260206004820152603160248201527f4d61782077616c6c65742063616e6e6f74206265206c657373207468616e203160448201527025206f6620746f74616c20737570706c7960781b6064820152608401610cc0565b600e55565b6110886113f4565b61012c8111156110cd5760405162461bcd60e51b815260206004820152601060248201526f4e6f206d6f7265207468616e2033302560801b6044820152606401610cc0565b600855565b6110da6113f4565b6012546001600160a01b031661112a5760405162461bcd60e51b8152602060048201526015602482015274165a595b19081859191c995cdcc81b9bdd081cd95d605a1b6044820152606401610cc0565b600c805460ff1916600190811790915561114490426125fc565b600f55565b6111516113f4565b6001600160a01b0381166111995760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610cc0565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6111ee6113f4565b6001600160a01b0381166112535760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cc0565b610e70816118f9565b600c54600090610100900460ff16156112c9576a52b7d2dcc80cd2e4000000600d54600f544261128c91906125fc565b611296919061260f565b11156112a3575060025490565b6000600f54426112b391906125fc565b9050600d54816112c3919061260f565b91505090565b50600e5490565b6001600160a01b0383166113325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cc0565b6001600160a01b0382166113935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cc0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610e855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc0565b600061145a84846111bb565b905060001981146114c257818110156114b55760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cc0565b6114c284848484036112d0565b50505050565b6001600160a01b03831661152c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610cc0565b6001600160a01b03821661158e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610cc0565b61159983838361194b565b6001600160a01b038316600090815260208190526040902054818110156116115760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cc0565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36114c2565b6001600160a01b0382166116cd5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610cc0565b6116d96000838361194b565b80600260008282546116eb91906125ae565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061177757611777612626565b6001600160a01b03928316602091820292909201810191909152601154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156117d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f4919061257b565b8160018151811061180757611807612626565b6001600160a01b03928316602091820292909201015260115460405163095ea7b360e01b81529116600482015260248101839052309063095ea7b3906044016020604051808303816000875af1158015611865573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611889919061263c565b5060115460405163791ac94760e01b81526001600160a01b039091169063791ac947906118c3908590600090869030904290600401612659565b600060405180830381600087803b1580156118dd57600080fd5b505af11580156118f1573d6000803e3d6000fd5b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316156119b257306001600160a01b038316036119b25760405162461bcd60e51b815260206004820152601860248201527f466f7262696464656e3a206164647265737328746869732900000000000000006044820152606401610cc0565b6012546001600160a01b0390811690831603611a105760405162461bcd60e51b815260206004820152601960248201527f466f7262696464656e3a2061646472657373287969656c6429000000000000006044820152606401610cc0565b6001600160a01b038216611a5e5760405162461bcd60e51b8152602060048201526015602482015274466f7262696464656e3a206164647265737328302960581b6044820152606401610cc0565b6010546000908190610100900460ff168015611a8457506012546001600160a01b031615155b15611ca6576001600160a01b03851615801590611ab657506010546001600160a01b0386811663010000009092041614155b8015611acb57506001600160a01b0385163014155b15611c0c576012546040516322fc5bbd60e11b81526001600160a01b03878116600483015260009216906345f8b77a90602401602060405180830381865afa158015611b1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3f91906125c1565b1115611ba557601254604051630f41a04d60e11b81526001600160a01b03878116600483015290911690631e83409a90602401600060405180830381600087803b158015611b8c57600080fd5b505af1158015611ba0573d6000803e3d6000fd5b505050505b60125460405163f3fef3a360e01b81526001600160a01b038781166004830152602482018690529091169063f3fef3a390604401600060405180830381600087803b158015611bf357600080fd5b505af1158015611c07573d6000803e3d6000fd5b505050505b6010546001600160a01b0385811663010000009092041614801590611c3a57506001600160a01b0384163014155b15611ca6576012546040516311f9fbc960e21b81526001600160a01b03868116600483015260248201869052909116906347e7ef2490604401600060405180830381600087803b158015611c8d57600080fd5b505af1158015611ca1573d6000803e3d6000fd5b505050505b6001600160a01b03851660009081526007602052604090205460ff16158015611ce857506001600160a01b03841660009081526007602052604090205460ff16155b15611ff8576010546001600160a01b03868116630100000090920416148015611d1f57506011546001600160a01b03858116911614155b15611e3857600c5460ff16611d89576001600160a01b03841660009081526007602052604090205460ff16611d895760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b6044820152606401610cc0565b611d9161125c565b831115611dd25760405162461bcd60e51b815260206004820152600f60248201526e13dd995c881b585e081dd85b1b195d608a1b6044820152606401610cc0565b6103e860085484611de3919061260f565b611ded91906125da565b60105490925062010000900460ff1615611e38576064611e0e84601e61260f565b611e1891906125da565b9050611e3873909a7b18f98a57881e4f9704fcf60d1fdbd0964382611677565b6010546001600160a01b03858116630100000090920416148015611e6557506001600160a01b0385163014155b15611efa57600c5460ff16611edc576001600160a01b03851660009081526007602052604090205460ff16611edc5760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206973206e6f74206f70656e207965740000000000000000006044820152606401610cc0565b6103e860085484611eed919061260f565b611ef791906125da565b91505b601054610100900460ff168015611f1b57506012546001600160a01b031615155b8015611f275750600082115b15611f7757611f363083611677565b60405182815230906001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b306000908152602081905260409020546009546010549082101590610100900460ff168015611fb057506012546001600160a01b031615155b8015611fb95750805b8015611fc8575060105460ff16155b8015611fe857506010546001600160a01b03878116630100000090920416145b15611ff557611ff5611fff565b50505b5050505050565b6010805460ff191660011790553060009081526020819052604081205490506000600a5482106120325750600a54612035565b50805b61203e81611742565b60006064600b5447612050919061260f565b61205a91906125da565b9050600061206882476125fc565b6012546040519192506000916001600160a01b039091169083908381818185875af1925050503d80600081146120ba576040519150601f19603f3d011682016040523d82523d6000602084013e6120bf565b606091505b50509050806120cd57600080fd5b6120d6836120e7565b50506010805460ff19169055505050565b6120ef6122b1565b6000806120fa610922565b91509150600061211d84836001600160701b0316856001600160701b0316610e87565b9050600061213e82856001600160701b0316856001600160701b0316610e87565b905061214a3083611677565b60115460405163095ea7b360e01b81526001600160a01b03909116600482015260248101839052309063095ea7b3906044016020604051808303816000875af115801561219b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121bf919061263c565b5060115460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201849052608482018190524260a483015291829182916001600160a01b03169063f305d71990869060c40160606040518083038185885af1158015612232573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061225791906126ca565b604080518481526020810184905290810182905292955090935091507fd7f28048575eead8851d024ead087913957dfb4fd1a02b4d1573f5352a5a2be39060600160405180910390a150505050505050610e706001600655565b6002600654036123035760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cc0565b6002600655565b600060208083528351808285015260005b818110156123375785810183015185820160400152820161231b565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610e7057600080fd5b6000806040838503121561238057600080fd5b823561238b81612358565b946020939093013593505050565b6000602082840312156123ab57600080fd5b5035919050565b6000806000606084860312156123c757600080fd5b83356123d281612358565b925060208401356123e281612358565b929592945050506040919091013590565b60006020828403121561240557600080fd5b813561241081612358565b9392505050565b8015158114610e7057600080fd5b60006020828403121561243757600080fd5b813561241081612417565b6000806040838503121561245557600080fd5b823561246081612358565b9150602083013561247081612417565b809150509250929050565b60008060006060848603121561249057600080fd5b505081359360208301359350604090920135919050565b600080604083850312156124ba57600080fd5b82356124c581612358565b9150602083013561247081612358565b600181811c908216806124e957607f821691505b60208210810361250957634e487b7160e01b600052602260045260246000fd5b50919050565b80516001600160701b038116811461252657600080fd5b919050565b60008060006060848603121561254057600080fd5b6125498461250f565b92506125576020850161250f565b9150604084015163ffffffff8116811461257057600080fd5b809150509250925092565b60006020828403121561258d57600080fd5b815161241081612358565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a5257610a52612598565b6000602082840312156125d357600080fd5b5051919050565b6000826125f757634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610a5257610a52612598565b8082028115828204841417610a5257610a52612598565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561264e57600080fd5b815161241081612417565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156126a95784516001600160a01b031683529383019391830191600101612684565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156126df57600080fd5b835192506020840151915060408401519050925092509256fea264697066735822122047f32c2c0d52e414965ca5d82b05a1d4260be9abe34adf7e714740ba05aa6cc064736f6c63430008130033

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.