Sonic Blaze Testnet

Token

TOKEN (TOKEN)
ERC-20

Overview

Max Total Supply

99,607 TOKEN

Holders

5

Market

Price

-

Onchain Market Cap

-

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
690 TOKEN
0x4bCEC3B13Fd6C31576F5106D0DFeb8Ac87920363
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
Token

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 1000 runs

Other Settings:
paris EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 10 : Token.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.8.24;

import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./interfaces/IUniswapV2Router02.sol";
import "./interfaces/IUniswapV2Factory.sol";
import "./interfaces/IManager.sol";

contract Token is ERC20Burnable {
    address private constant DEAD = 0x000000000000000000000000000000000000dEaD;

    IManager private Manager;
    address private BurnToken;
    address private Staking;
    address private Treasury;

    uint256 private _initialTax = 60;
    uint256 private _intermediateTax = 25;
    uint256 public _finalBuyTax = 0;
    uint256 public _finalSellTax = 10;

    uint256 private _feesToTreasury = 0;

    uint256 private _blockAtLaunch;
    uint256 private _blockRemoveFirstLimits = 30;
    uint256 private _blockRemoveSecondLimits = 120;

    uint256 private _tTotal = 100_000 * 1e18;
    uint256 private _maxWalletSize = (_tTotal * 25) / 10000;
    uint256 private swapThreshold = (_tTotal * 35) / 10000;

    IUniswapV2Router02 private router;
    address public pair;
    bool private initialized = false;
    bool public tradingOpen = false;
    bool private inSwap = false;
    bool private swapEnabled = false;

    mapping(address => bool) private _isExcludedFromFee;

    constructor(address _manager) ERC20("TOKEN", "TOKEN") {
        router = IUniswapV2Router02(0xCf5d764c542e77b6eBDe2f4c292fAF7487d3E296);

        Manager = IManager(_manager);

        _approve(address(this), address(router), type(uint256).max);

        _isExcludedFromFee[Manager.owner()] = true;
        _isExcludedFromFee[address(this)] = true;

        _mint(msg.sender, _tTotal);

        emit Transfer(address(0), msg.sender, _tTotal);
    }

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

    modifier onlyOwner() {
        require(msg.sender == Manager.owner(), "Not Authorized");
        _;
    }

    function initializePair() external onlyOwner {
        require(!initialized, "Already initialized");
        pair = IUniswapV2Factory(router.factory()).createPair(
            address(this),
            router.WETH()
        );
        initialized = true;

        _isExcludedFromFee[_getContract("Staking")] = true;
    }

    function update() external onlyOwner {
        BurnToken = _getContract("Burn");
        Staking = _getContract("Staking");
        Treasury = _getContract("Treasury");
    }

    function setPair(address _pair) external onlyOwner {
        pair = _pair;
    }

    function setIsInitialized(bool _initialized) external onlyOwner {
        initialized = _initialized;
    }

    function setManager(address _manager) external onlyOwner {
        Manager = IManager(_manager);
    }

    function setSwapBackEnabled(bool _swapEnabled) external onlyOwner {
        swapEnabled = _swapEnabled;
    }

    function manageSellFee(uint256 _newFee) external onlyOwner {
        require(_newFee < 11, "Fee must be less than 11");
        _finalSellTax = _newFee;
    }

    function manageFeeToTreasury(uint256 _newFee) external onlyOwner {
        require(_newFee < 100, "Share fee must be less than 100");
        _feesToTreasury = _newFee;
    }

    function excludeFromFee(address[] calldata accounts) external onlyOwner {
        for (uint256 i = 0; i < accounts.length; i++) {
            _isExcludedFromFee[accounts[i]] = true;
        }
    }

    function rescueTokens(address token, uint256 amount) external onlyOwner {
        require(token != address(this), "Can't withdraw this token");
        IERC20(token).transfer(msg.sender, amount);
    }

    function rescueETH(uint256 amount) external onlyOwner {
        bool tmpSuccess;
        (tmpSuccess, ) = payable(msg.sender).call{value: amount, gas: 5000000}(
            ""
        );
    }

    function removeLimits() external onlyOwner {
        _maxWalletSize = _tTotal;
    }

    function openTrading() external onlyOwner {
        require(!tradingOpen, "trading is already open");
        tradingOpen = true;
        swapEnabled = true;
        _blockAtLaunch = block.number;
    }

    function transfer(
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        address sender = msg.sender;
        require(
            initialized || sender == Manager.owner(),
            "Not yet initialized"
        );
        if (sender == pair) {
            return update(sender, recipient, amount);
        } else {
            require(
                block.number > _blockAtLaunch + _blockRemoveFirstLimits ||
                    msg.sender == Manager.owner(),
                "Not authorized yet"
            );
            return _basicTransfer(sender, recipient, amount);
        }
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        address spender = msg.sender;
        _spendAllowance(sender, spender, amount);
        update(sender, recipient, amount);

        return true;
    }

    function update(
        address sender,
        address recipient,
        uint256 amount
    ) internal returns (bool) {
        require(
            _isExcludedFromFee[sender] ||
                _isExcludedFromFee[recipient] ||
                tradingOpen,
            "Not authorized to trade yet"
        );

        uint256 blockSinceLaunch = block.number - _blockAtLaunch;

        if (blockSinceLaunch < _blockRemoveFirstLimits && _blockAtLaunch != 0) {
            address _owner = Manager.owner();
            if (sender != _owner && recipient != _owner && recipient != DEAD) {
                if (recipient != pair) {
                    uint256 _limit = _maxWalletSize;
                    require(
                        _isExcludedFromFee[recipient] ||
                            (balanceOf(recipient) + amount <= _limit),
                        "Transfer amount exceeds the MaxWallet size."
                    );
                }
            }
        }

        if (shouldSwapBack() && recipient == pair) {
            swapBack();
        }

        uint256 amountReceived = (_isExcludedFromFee[sender] ||
            _isExcludedFromFee[recipient])
            ? amount
            : takeFee(sender, recipient, amount);

        _transfer(sender, recipient, amountReceived);

        return true;
    }

    function _basicTransfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal returns (bool) {
        _transfer(sender, recipient, amount);
        return true;
    }

    function takeFee(
        address sender,
        address recipient,
        uint256 amount
    ) internal returns (uint256) {
        uint256 feeAmount = 0;
        uint256 blockSinceLaunch = block.number - _blockAtLaunch;
        uint256 tax;

        if (blockSinceLaunch >= _blockRemoveSecondLimits) {
            if (sender == pair && recipient != pair) {
                tax = _finalBuyTax;
            } else if (sender != pair && recipient == pair) {
                tax = _finalSellTax;
            }
        } else if (blockSinceLaunch >= _blockRemoveFirstLimits) {
            tax = _intermediateTax;
        } else {
            tax = _initialTax;
        }

        feeAmount = (amount * tax) / 100;

        if (feeAmount > 0) {
            uint256 treasuryFee = (feeAmount * _feesToTreasury) / 100;
            if(treasuryFee > 0) {
               _transfer(sender, Treasury, treasuryFee);
            }
            _transfer(sender, address(this), feeAmount - treasuryFee);
        }

        return amount - feeAmount;
    }

    function shouldSwapBack() internal view returns (bool) {
        return
            msg.sender != pair &&
            !inSwap &&
            swapEnabled &&
            balanceOf(address(this)) >= swapThreshold;
    }

    function swapBack() internal lockTheSwap {
        uint256 amountToSwap = swapThreshold;

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();
        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            amountToSwap,
            0,
            path,
            address(this),
            block.timestamp + 5
        );

        uint256 amountETHDev = address(this).balance;

        if (amountETHDev > 0) {
            bool tmpSuccess;
            (tmpSuccess, ) = payable(Treasury).call{
                value: amountETHDev,
                gas: 30000
            }("");
        }
    }

    function setSwapThreshold(uint256 newTax) external onlyOwner {
        swapThreshold = newTax;
    }

    function mint(address to, uint256 value) external {
        require(msg.sender == BurnToken, "Not authorized");
        _mint(to, value);
    }

    receive() external payable {}

    function _getContract(
        string memory contractName
    ) internal view returns (address) {
        return Manager.getContract(contractName);
    }
}

File 2 of 10 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 3 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.
 *
 * 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].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * 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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 default value returned by this function, unless
     * it's 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 returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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 `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` 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 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        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 `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` 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.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

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

File 4 of 10 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.20;

import {ERC20} from "../ERC20.sol";
import {Context} from "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys a `value` amount of tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 value) public virtual {
        _burn(_msgSender(), value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, deducting from
     * the caller's allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `value`.
     */
    function burnFrom(address account, uint256 value) public virtual {
        _spendAllowance(account, _msgSender(), value);
        _burn(account, value);
    }
}

File 5 of 10 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
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 6 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

File 7 of 10 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 8 of 10 : IManager.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;

interface IManager {
    function getContract(string memory name) external view returns (address);
    function owner() external view returns (address);
}

File 9 of 10 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

File 10 of 10 : IUniswapV2Router02.sol
// SPDX-License-Identifier: MIT

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 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);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

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

Contract ABI

[{"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_finalBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_finalSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","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":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initializePair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"manageFeeToTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"manageSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_initialized","type":"bool"}],"name":"setIsInitialized","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"}],"name":"setPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_swapEnabled","type":"bool"}],"name":"setSwapBackEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTax","type":"uint256"}],"name":"setSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"update","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052603c6009556019600a556000600b55600a600c556000600d55601e600f55607860105569152d02c7e14af680000060115561271060115460196100479190610494565b61005191906104b1565b60125561271060115460236100669190610494565b61007091906104b1565b6013556015805463ffffffff60a01b1916905534801561008f57600080fd5b506040516130713803806130718339810160408190526100ae916104d3565b6040805180820182526005808252642a27a5a2a760d91b60208084018290528451808601909552918452908301529060036100e983826105a1565b5060046100f682826105a1565b50506014805473cf5d764c542e77b6ebde2f4c292faf7487d3e2966001600160a01b03199182168117909255600580549091166001600160a01b0385161790556101459150309060001961023f565b600160166000600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561019e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101c291906104d3565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526016909252902080549091166001179055601154610210903390610251565b60115460405190815233906000906000805160206130518339815191529060200160405180910390a350610672565b61024c8383836001610290565b505050565b6001600160a01b0382166102805760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b61028c60008383610366565b5050565b6001600160a01b0384166102ba5760405163e602df0560e01b815260006004820152602401610277565b6001600160a01b0383166102e457604051634a1406b160e11b815260006004820152602401610277565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561036057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161035791815260200190565b60405180910390a35b50505050565b6001600160a01b038316610391578060026000828254610386919061065f565b909155506104039050565b6001600160a01b038316600090815260208190526040902054818110156103e45760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610277565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661041f5760028054829003905561043e565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03166000805160206130518339815191528360405161047191815260200190565b60405180910390a3505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104ab576104ab61047e565b92915050565b6000826104ce57634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156104e557600080fd5b81516001600160a01b03811681146104fc57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061052d57607f821691505b60208210810361054d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561024c57806000526020600020601f840160051c8101602085101561057a5750805b601f840160051c820191505b8181101561059a5760008155600101610586565b5050505050565b81516001600160401b038111156105ba576105ba610503565b6105ce816105c88454610519565b84610553565b6020601f82116001811461060257600083156105ea5750848201515b600019600385901b1c1916600184901b17845561059a565b600084815260208120601f198516915b828110156106325787850151825560209485019460019092019101610612565b50848210156106505786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b808201808211156104ab576104ab61047e565b6129d0806106816000396000f3fe6080604052600436106101d15760003560e01c806379cc6790116100f7578063a9059cbb11610095578063d0ebdbe711610064578063d0ebdbe714610518578063dd62ed3e14610538578063ee1ac0ca1461057e578063ffb54a991461059e57600080fd5b8063a9059cbb146104ad578063baeb7a7d146104cd578063c5e54cf6146104e3578063c9567bf91461050357600080fd5b80639d0014b1116100d15780639d0014b1146104205780639e252f0014610440578063a2e6204514610460578063a8aa1b311461047557600080fd5b806379cc6790146103cb5780638187f516146103eb57806395d89b411461040b57600080fd5b80633ef947211161016f578063573761981161013e578063573761981461034057806370a082311461036057806371b9189c14610396578063751039fc146103b657600080fd5b80633ef94721146102d557806340c10f19146102eb57806342966c681461030b5780634fab9e4c1461032b57600080fd5b806318160ddd116101ab57806318160ddd1461025a5780631e53dbe91461027957806323b872dd14610299578063313ce567146102b957600080fd5b8063013afd14146101dd57806306fdde03146101ff578063095ea7b31461022a57600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101fd6101f836600461264f565b6105bf565b005b34801561020b57600080fd5b506102146106c5565b6040516102219190612673565b60405180910390f35b34801561023657600080fd5b5061024a6102453660046126d6565b610757565b6040519015158152602001610221565b34801561026657600080fd5b506002545b604051908152602001610221565b34801561028557600080fd5b506101fd61029436600461264f565b610771565b3480156102a557600080fd5b5061024a6102b4366004612702565b610872565b3480156102c557600080fd5b5060405160128152602001610221565b3480156102e157600080fd5b5061026b600c5481565b3480156102f757600080fd5b506101fd6103063660046126d6565b610897565b34801561031757600080fd5b506101fd610326366004612743565b6108ff565b34801561033757600080fd5b506101fd61090c565b34801561034c57600080fd5b506101fd61035b3660046126d6565b610c4c565b34801561036c57600080fd5b5061026b61037b36600461275c565b6001600160a01b031660009081526020819052604090205490565b3480156103a257600080fd5b506101fd6103b1366004612779565b610dfb565b3480156103c257600080fd5b506101fd610f2b565b3480156103d757600080fd5b506101fd6103e63660046126d6565b610ffb565b3480156103f757600080fd5b506101fd61040636600461275c565b611010565b34801561041757600080fd5b506102146110fa565b34801561042c57600080fd5b506101fd61043b366004612743565b611109565b34801561044c57600080fd5b506101fd61045b366004612743565b6111d6565b34801561046c57600080fd5b506101fd6112f2565b34801561048157600080fd5b50601554610495906001600160a01b031681565b6040516001600160a01b039091168152602001610221565b3480156104b957600080fd5b5061024a6104c83660046126d6565b6114be565b3480156104d957600080fd5b5061026b600b5481565b3480156104ef57600080fd5b506101fd6104fe366004612743565b6116d2565b34801561050f57600080fd5b506101fd6117ef565b34801561052457600080fd5b506101fd61053336600461275c565b611959565b34801561054457600080fd5b5061026b6105533660046127f0565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561058a57600080fd5b506101fd610599366004612743565b611a43565b3480156105aa57600080fd5b5060155461024a90600160a81b900460ff1681565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610612573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106369190612829565b6001600160a01b0316336001600160a01b03161461068c5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064015b60405180910390fd5b60158054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6060600380546106d490612846565b80601f016020809104026020016040519081016040528092919081815260200182805461070090612846565b801561074d5780601f106107225761010080835404028352916020019161074d565b820191906000526020600020905b81548152906001019060200180831161073057829003601f168201915b5050505050905090565b600033610765818585611b60565b60019150505b92915050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e89190612829565b6001600160a01b0316336001600160a01b0316146108395760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b60158054911515600160b81b027fffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b600033610880858285611b6d565b61088b858585611c04565b50600195945050505050565b6006546001600160a01b031633146108f15760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420617574686f72697a65640000000000000000000000000000000000006044820152606401610683565b6108fb8282611f13565b5050565b6109093382611f49565b50565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561095f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109839190612829565b6001600160a01b0316336001600160a01b0316146109d45760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601554600160a01b900460ff1615610a2e5760405162461bcd60e51b815260206004820152601360248201527f416c726561647920696e697469616c697a6564000000000000000000000000006044820152606401610683565b601460009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa59190612829565b6001600160a01b031663c9c6539630601460009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2b9190612829565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610b90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb49190612829565b601580547fffffffffffffffffffffff000000000000000000000000000000000000000000166001600160a01b039290921691909117600160a01b1790556040805180820190915260078152665374616b696e6760c81b6020820152600190601690600090610c2290611f7f565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc39190612829565b6001600160a01b0316336001600160a01b031614610d145760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b306001600160a01b03831603610d6c5760405162461bcd60e51b815260206004820152601960248201527f43616e2774207769746864726177207468697320746f6b656e000000000000006044820152606401610683565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610dd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df69190612880565b505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e729190612829565b6001600160a01b0316336001600160a01b031614610ec35760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b60005b81811015610df657600160166000858585818110610ee657610ee661289d565b9050602002016020810190610efb919061275c565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610ec6565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa29190612829565b6001600160a01b0316336001600160a01b031614610ff35760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601154601255565b611006823383611b6d565b6108fb8282611f49565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611063573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110879190612829565b6001600160a01b0316336001600160a01b0316146110d85760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b6060600480546106d490612846565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561115c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111809190612829565b6001600160a01b0316336001600160a01b0316146111d15760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601355565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611229573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124d9190612829565b6001600160a01b0316336001600160a01b03161461129e5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b6040516000903390624c4b4090849084818181858888f193505050503d80600081146112e6576040519150601f19603f3d011682016040523d82523d6000602084013e6112eb565b606091505b5050505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611345573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113699190612829565b6001600160a01b0316336001600160a01b0316146113ba5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b6113f86040518060400160405280600481526020017f4275726e00000000000000000000000000000000000000000000000000000000815250611f7f565b600680546001600160a01b0319166001600160a01b03929092169190911790556040805180820190915260078152665374616b696e6760c81b602082015261143f90611f7f565b600780546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600881527f5472656173757279000000000000000000000000000000000000000000000000602082015261149c90611f7f565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6015546000903390600160a01b900460ff16806115625750600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611529573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154d9190612829565b6001600160a01b0316816001600160a01b0316145b6115ae5760405162461bcd60e51b815260206004820152601360248201527f4e6f742079657420696e697469616c697a6564000000000000000000000000006044820152606401610683565b6015546001600160a01b03908116908216036115d7576115cf818585611c04565b91505061076b565b600f54600e546115e791906128c9565b43118061167b5750600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611642573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116669190612829565b6001600160a01b0316336001600160a01b0316145b6116c75760405162461bcd60e51b815260206004820152601260248201527f4e6f7420617574686f72697a65642079657400000000000000000000000000006044820152606401610683565b6115cf81858561200a565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611725573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117499190612829565b6001600160a01b0316336001600160a01b03161461179a5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b600b81106117ea5760405162461bcd60e51b815260206004820152601860248201527f466565206d757374206265206c657373207468616e20313100000000000000006044820152606401610683565b600c55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611842573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118669190612829565b6001600160a01b0316336001600160a01b0316146118b75760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601554600160a81b900460ff16156119115760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610683565b601580547fffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffffff167701000100000000000000000000000000000000000000000017905543600e55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d09190612829565b6001600160a01b0316336001600160a01b031614611a215760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aba9190612829565b6001600160a01b0316336001600160a01b031614611b0b5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b60648110611b5b5760405162461bcd60e51b815260206004820152601f60248201527f536861726520666565206d757374206265206c657373207468616e20313030006044820152606401610683565b600d55565b610df68383836001612021565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611bfe5781811015611bef576040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024810182905260448101839052606401610683565b611bfe84848484036000612021565b50505050565b6001600160a01b03831660009081526016602052604081205460ff1680611c4357506001600160a01b03831660009081526016602052604090205460ff165b80611c575750601554600160a81b900460ff165b611ca35760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420617574686f72697a656420746f2074726164652079657400000000006044820152606401610683565b6000600e5443611cb391906128dc565b9050600f5481108015611cc75750600e5415155b15611e8357600554604080517f8da5cb5b00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa158015611d2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d539190612829565b9050806001600160a01b0316866001600160a01b031614158015611d895750806001600160a01b0316856001600160a01b031614155b8015611da057506001600160a01b03851661dead14155b15611e81576015546001600160a01b03868116911614611e81576012546001600160a01b03861660009081526016602052604090205460ff1680611e0d57508085611e00886001600160a01b031660009081526020819052604090205490565b611e0a91906128c9565b11155b611e7f5760405162461bcd60e51b815260206004820152602b60248201527f5472616e7366657220616d6f756e74206578636565647320746865204d61785760448201527f616c6c65742073697a652e0000000000000000000000000000000000000000006064820152608401610683565b505b505b611e8b612128565b8015611ea457506015546001600160a01b038581169116145b15611eb157611eb1612187565b6001600160a01b03851660009081526016602052604081205460ff1680611ef057506001600160a01b03851660009081526016602052604090205460ff165b611f0457611eff868686612373565b611f06565b835b905061088b8686836124a3565b6001600160a01b038216611f3d5760405163ec442f0560e01b815260006004820152602401610683565b6108fb600083836124fe565b6001600160a01b038216611f7357604051634b637e8f60e11b815260006004820152602401610683565b6108fb826000836124fe565b6005546040517f358177730000000000000000000000000000000000000000000000000000000081526000916001600160a01b031690633581777390611fc9908590600401612673565b602060405180830381865afa158015611fe6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076b9190612829565b60006120178484846124a3565b5060019392505050565b6001600160a01b038416612064576040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152602401610683565b6001600160a01b0383166120a7576040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152602401610683565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015611bfe57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161211a91815260200190565b60405180910390a350505050565b6015546000906001600160a01b031633148015906121505750601554600160b01b900460ff16155b80156121655750601554600160b81b900460ff165b801561218257506013543060009081526020819052604090205410155b905090565b6015805460ff60b01b1916600160b01b17905560135460408051600280825260608201835260009260208301908036833701905050905030816000815181106121d2576121d261289d565b6001600160a01b03928316602091820292909201810191909152601454604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa158015612244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122689190612829565b8160018151811061227b5761227b61289d565b6001600160a01b0392831660209182029290920101526014541663791ac94783600084306122aa4260056128c9565b6040518663ffffffff1660e01b81526004016122ca9594939291906128ef565b600060405180830381600087803b1580156122e457600080fd5b505af11580156122f8573d6000803e3d6000fd5b504792505081159050612361576008546040516000916001600160a01b03169061753090849084818181858888f193505050503d8060008114612357576040519150601f19603f3d011682016040523d82523d6000602084013e61235c565b606091505b505050505b50506015805460ff60b01b1916905550565b600e546000908190819061238790436128dc565b905060006010548210612407576015546001600160a01b0388811691161480156123bf57506015546001600160a01b03878116911614155b156123cd5750600b5461241e565b6015546001600160a01b038881169116148015906123f857506015546001600160a01b038781169116145b156124025750600c545b61241e565b600f5482106124195750600a5461241e565b506009545b606461242a8287612961565b6124349190612978565b9250821561248e5760006064600d548561244e9190612961565b6124589190612978565b90508015612478576008546124789089906001600160a01b0316836124a3565b61248c883061248784886128dc565b6124a3565b505b61249883866128dc565b979650505050505050565b6001600160a01b0383166124cd57604051634b637e8f60e11b815260006004820152602401610683565b6001600160a01b0382166124f75760405163ec442f0560e01b815260006004820152602401610683565b610df68383835b6001600160a01b03831661252957806002600082825461251e91906128c9565b909155506125b49050565b6001600160a01b03831660009081526020819052604090205481811015612595576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024810182905260448101839052606401610683565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166125d0576002805482900390556125ef565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161263491815260200190565b60405180910390a3505050565b801515811461090957600080fd5b60006020828403121561266157600080fd5b813561266c81612641565b9392505050565b602081526000825180602084015260005b818110156126a15760208186018101516040868401015201612684565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461090957600080fd5b600080604083850312156126e957600080fd5b82356126f4816126c1565b946020939093013593505050565b60008060006060848603121561271757600080fd5b8335612722816126c1565b92506020840135612732816126c1565b929592945050506040919091013590565b60006020828403121561275557600080fd5b5035919050565b60006020828403121561276e57600080fd5b813561266c816126c1565b6000806020838503121561278c57600080fd5b823567ffffffffffffffff8111156127a357600080fd5b8301601f810185136127b457600080fd5b803567ffffffffffffffff8111156127cb57600080fd5b8560208260051b84010111156127e057600080fd5b6020919091019590945092505050565b6000806040838503121561280357600080fd5b823561280e816126c1565b9150602083013561281e816126c1565b809150509250929050565b60006020828403121561283b57600080fd5b815161266c816126c1565b600181811c9082168061285a57607f821691505b60208210810361287a57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561289257600080fd5b815161266c81612641565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561076b5761076b6128b3565b8181038181111561076b5761076b6128b3565b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b818110156129415783516001600160a01b031683526020938401939092019160010161291a565b50506001600160a01b039590951660608401525050608001529392505050565b808202811582820484141761076b5761076b6128b3565b60008261299557634e487b7160e01b600052601260045260246000fd5b50049056fea264697066735822122026a3b0e9fdae522d4c311007f0a290b2faf7d828af0bb959d5e2d48dcafafb5364736f6c634300081a0033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef000000000000000000000000ffd008c323006eda11b22112ab0f77190ab2a2b3

Deployed Bytecode

0x6080604052600436106101d15760003560e01c806379cc6790116100f7578063a9059cbb11610095578063d0ebdbe711610064578063d0ebdbe714610518578063dd62ed3e14610538578063ee1ac0ca1461057e578063ffb54a991461059e57600080fd5b8063a9059cbb146104ad578063baeb7a7d146104cd578063c5e54cf6146104e3578063c9567bf91461050357600080fd5b80639d0014b1116100d15780639d0014b1146104205780639e252f0014610440578063a2e6204514610460578063a8aa1b311461047557600080fd5b806379cc6790146103cb5780638187f516146103eb57806395d89b411461040b57600080fd5b80633ef947211161016f578063573761981161013e578063573761981461034057806370a082311461036057806371b9189c14610396578063751039fc146103b657600080fd5b80633ef94721146102d557806340c10f19146102eb57806342966c681461030b5780634fab9e4c1461032b57600080fd5b806318160ddd116101ab57806318160ddd1461025a5780631e53dbe91461027957806323b872dd14610299578063313ce567146102b957600080fd5b8063013afd14146101dd57806306fdde03146101ff578063095ea7b31461022a57600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101fd6101f836600461264f565b6105bf565b005b34801561020b57600080fd5b506102146106c5565b6040516102219190612673565b60405180910390f35b34801561023657600080fd5b5061024a6102453660046126d6565b610757565b6040519015158152602001610221565b34801561026657600080fd5b506002545b604051908152602001610221565b34801561028557600080fd5b506101fd61029436600461264f565b610771565b3480156102a557600080fd5b5061024a6102b4366004612702565b610872565b3480156102c557600080fd5b5060405160128152602001610221565b3480156102e157600080fd5b5061026b600c5481565b3480156102f757600080fd5b506101fd6103063660046126d6565b610897565b34801561031757600080fd5b506101fd610326366004612743565b6108ff565b34801561033757600080fd5b506101fd61090c565b34801561034c57600080fd5b506101fd61035b3660046126d6565b610c4c565b34801561036c57600080fd5b5061026b61037b36600461275c565b6001600160a01b031660009081526020819052604090205490565b3480156103a257600080fd5b506101fd6103b1366004612779565b610dfb565b3480156103c257600080fd5b506101fd610f2b565b3480156103d757600080fd5b506101fd6103e63660046126d6565b610ffb565b3480156103f757600080fd5b506101fd61040636600461275c565b611010565b34801561041757600080fd5b506102146110fa565b34801561042c57600080fd5b506101fd61043b366004612743565b611109565b34801561044c57600080fd5b506101fd61045b366004612743565b6111d6565b34801561046c57600080fd5b506101fd6112f2565b34801561048157600080fd5b50601554610495906001600160a01b031681565b6040516001600160a01b039091168152602001610221565b3480156104b957600080fd5b5061024a6104c83660046126d6565b6114be565b3480156104d957600080fd5b5061026b600b5481565b3480156104ef57600080fd5b506101fd6104fe366004612743565b6116d2565b34801561050f57600080fd5b506101fd6117ef565b34801561052457600080fd5b506101fd61053336600461275c565b611959565b34801561054457600080fd5b5061026b6105533660046127f0565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561058a57600080fd5b506101fd610599366004612743565b611a43565b3480156105aa57600080fd5b5060155461024a90600160a81b900460ff1681565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610612573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106369190612829565b6001600160a01b0316336001600160a01b03161461068c5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064015b60405180910390fd5b60158054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6060600380546106d490612846565b80601f016020809104026020016040519081016040528092919081815260200182805461070090612846565b801561074d5780601f106107225761010080835404028352916020019161074d565b820191906000526020600020905b81548152906001019060200180831161073057829003601f168201915b5050505050905090565b600033610765818585611b60565b60019150505b92915050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e89190612829565b6001600160a01b0316336001600160a01b0316146108395760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b60158054911515600160b81b027fffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b600033610880858285611b6d565b61088b858585611c04565b50600195945050505050565b6006546001600160a01b031633146108f15760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420617574686f72697a65640000000000000000000000000000000000006044820152606401610683565b6108fb8282611f13565b5050565b6109093382611f49565b50565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561095f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109839190612829565b6001600160a01b0316336001600160a01b0316146109d45760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601554600160a01b900460ff1615610a2e5760405162461bcd60e51b815260206004820152601360248201527f416c726561647920696e697469616c697a6564000000000000000000000000006044820152606401610683565b601460009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa59190612829565b6001600160a01b031663c9c6539630601460009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2b9190612829565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610b90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb49190612829565b601580547fffffffffffffffffffffff000000000000000000000000000000000000000000166001600160a01b039290921691909117600160a01b1790556040805180820190915260078152665374616b696e6760c81b6020820152600190601690600090610c2290611f7f565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc39190612829565b6001600160a01b0316336001600160a01b031614610d145760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b306001600160a01b03831603610d6c5760405162461bcd60e51b815260206004820152601960248201527f43616e2774207769746864726177207468697320746f6b656e000000000000006044820152606401610683565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610dd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df69190612880565b505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e729190612829565b6001600160a01b0316336001600160a01b031614610ec35760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b60005b81811015610df657600160166000858585818110610ee657610ee661289d565b9050602002016020810190610efb919061275c565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610ec6565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa29190612829565b6001600160a01b0316336001600160a01b031614610ff35760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601154601255565b611006823383611b6d565b6108fb8282611f49565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611063573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110879190612829565b6001600160a01b0316336001600160a01b0316146110d85760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b6060600480546106d490612846565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561115c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111809190612829565b6001600160a01b0316336001600160a01b0316146111d15760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601355565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611229573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124d9190612829565b6001600160a01b0316336001600160a01b03161461129e5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b6040516000903390624c4b4090849084818181858888f193505050503d80600081146112e6576040519150601f19603f3d011682016040523d82523d6000602084013e6112eb565b606091505b5050505050565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611345573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113699190612829565b6001600160a01b0316336001600160a01b0316146113ba5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b6113f86040518060400160405280600481526020017f4275726e00000000000000000000000000000000000000000000000000000000815250611f7f565b600680546001600160a01b0319166001600160a01b03929092169190911790556040805180820190915260078152665374616b696e6760c81b602082015261143f90611f7f565b600780546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600881527f5472656173757279000000000000000000000000000000000000000000000000602082015261149c90611f7f565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6015546000903390600160a01b900460ff16806115625750600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611529573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154d9190612829565b6001600160a01b0316816001600160a01b0316145b6115ae5760405162461bcd60e51b815260206004820152601360248201527f4e6f742079657420696e697469616c697a6564000000000000000000000000006044820152606401610683565b6015546001600160a01b03908116908216036115d7576115cf818585611c04565b91505061076b565b600f54600e546115e791906128c9565b43118061167b5750600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611642573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116669190612829565b6001600160a01b0316336001600160a01b0316145b6116c75760405162461bcd60e51b815260206004820152601260248201527f4e6f7420617574686f72697a65642079657400000000000000000000000000006044820152606401610683565b6115cf81858561200a565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611725573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117499190612829565b6001600160a01b0316336001600160a01b03161461179a5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b600b81106117ea5760405162461bcd60e51b815260206004820152601860248201527f466565206d757374206265206c657373207468616e20313100000000000000006044820152606401610683565b600c55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611842573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118669190612829565b6001600160a01b0316336001600160a01b0316146118b75760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b601554600160a81b900460ff16156119115760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610683565b601580547fffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffffff167701000100000000000000000000000000000000000000000017905543600e55565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d09190612829565b6001600160a01b0316336001600160a01b031614611a215760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b600560009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aba9190612829565b6001600160a01b0316336001600160a01b031614611b0b5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610683565b60648110611b5b5760405162461bcd60e51b815260206004820152601f60248201527f536861726520666565206d757374206265206c657373207468616e20313030006044820152606401610683565b600d55565b610df68383836001612021565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611bfe5781811015611bef576040517ffb8f41b20000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024810182905260448101839052606401610683565b611bfe84848484036000612021565b50505050565b6001600160a01b03831660009081526016602052604081205460ff1680611c4357506001600160a01b03831660009081526016602052604090205460ff165b80611c575750601554600160a81b900460ff165b611ca35760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420617574686f72697a656420746f2074726164652079657400000000006044820152606401610683565b6000600e5443611cb391906128dc565b9050600f5481108015611cc75750600e5415155b15611e8357600554604080517f8da5cb5b00000000000000000000000000000000000000000000000000000000815290516000926001600160a01b031691638da5cb5b9160048083019260209291908290030181865afa158015611d2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d539190612829565b9050806001600160a01b0316866001600160a01b031614158015611d895750806001600160a01b0316856001600160a01b031614155b8015611da057506001600160a01b03851661dead14155b15611e81576015546001600160a01b03868116911614611e81576012546001600160a01b03861660009081526016602052604090205460ff1680611e0d57508085611e00886001600160a01b031660009081526020819052604090205490565b611e0a91906128c9565b11155b611e7f5760405162461bcd60e51b815260206004820152602b60248201527f5472616e7366657220616d6f756e74206578636565647320746865204d61785760448201527f616c6c65742073697a652e0000000000000000000000000000000000000000006064820152608401610683565b505b505b611e8b612128565b8015611ea457506015546001600160a01b038581169116145b15611eb157611eb1612187565b6001600160a01b03851660009081526016602052604081205460ff1680611ef057506001600160a01b03851660009081526016602052604090205460ff165b611f0457611eff868686612373565b611f06565b835b905061088b8686836124a3565b6001600160a01b038216611f3d5760405163ec442f0560e01b815260006004820152602401610683565b6108fb600083836124fe565b6001600160a01b038216611f7357604051634b637e8f60e11b815260006004820152602401610683565b6108fb826000836124fe565b6005546040517f358177730000000000000000000000000000000000000000000000000000000081526000916001600160a01b031690633581777390611fc9908590600401612673565b602060405180830381865afa158015611fe6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076b9190612829565b60006120178484846124a3565b5060019392505050565b6001600160a01b038416612064576040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152602401610683565b6001600160a01b0383166120a7576040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152602401610683565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015611bfe57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161211a91815260200190565b60405180910390a350505050565b6015546000906001600160a01b031633148015906121505750601554600160b01b900460ff16155b80156121655750601554600160b81b900460ff165b801561218257506013543060009081526020819052604090205410155b905090565b6015805460ff60b01b1916600160b01b17905560135460408051600280825260608201835260009260208301908036833701905050905030816000815181106121d2576121d261289d565b6001600160a01b03928316602091820292909201810191909152601454604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa158015612244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122689190612829565b8160018151811061227b5761227b61289d565b6001600160a01b0392831660209182029290920101526014541663791ac94783600084306122aa4260056128c9565b6040518663ffffffff1660e01b81526004016122ca9594939291906128ef565b600060405180830381600087803b1580156122e457600080fd5b505af11580156122f8573d6000803e3d6000fd5b504792505081159050612361576008546040516000916001600160a01b03169061753090849084818181858888f193505050503d8060008114612357576040519150601f19603f3d011682016040523d82523d6000602084013e61235c565b606091505b505050505b50506015805460ff60b01b1916905550565b600e546000908190819061238790436128dc565b905060006010548210612407576015546001600160a01b0388811691161480156123bf57506015546001600160a01b03878116911614155b156123cd5750600b5461241e565b6015546001600160a01b038881169116148015906123f857506015546001600160a01b038781169116145b156124025750600c545b61241e565b600f5482106124195750600a5461241e565b506009545b606461242a8287612961565b6124349190612978565b9250821561248e5760006064600d548561244e9190612961565b6124589190612978565b90508015612478576008546124789089906001600160a01b0316836124a3565b61248c883061248784886128dc565b6124a3565b505b61249883866128dc565b979650505050505050565b6001600160a01b0383166124cd57604051634b637e8f60e11b815260006004820152602401610683565b6001600160a01b0382166124f75760405163ec442f0560e01b815260006004820152602401610683565b610df68383835b6001600160a01b03831661252957806002600082825461251e91906128c9565b909155506125b49050565b6001600160a01b03831660009081526020819052604090205481811015612595576040517fe450d38c0000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024810182905260448101839052606401610683565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166125d0576002805482900390556125ef565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161263491815260200190565b60405180910390a3505050565b801515811461090957600080fd5b60006020828403121561266157600080fd5b813561266c81612641565b9392505050565b602081526000825180602084015260005b818110156126a15760208186018101516040868401015201612684565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461090957600080fd5b600080604083850312156126e957600080fd5b82356126f4816126c1565b946020939093013593505050565b60008060006060848603121561271757600080fd5b8335612722816126c1565b92506020840135612732816126c1565b929592945050506040919091013590565b60006020828403121561275557600080fd5b5035919050565b60006020828403121561276e57600080fd5b813561266c816126c1565b6000806020838503121561278c57600080fd5b823567ffffffffffffffff8111156127a357600080fd5b8301601f810185136127b457600080fd5b803567ffffffffffffffff8111156127cb57600080fd5b8560208260051b84010111156127e057600080fd5b6020919091019590945092505050565b6000806040838503121561280357600080fd5b823561280e816126c1565b9150602083013561281e816126c1565b809150509250929050565b60006020828403121561283b57600080fd5b815161266c816126c1565b600181811c9082168061285a57607f821691505b60208210810361287a57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561289257600080fd5b815161266c81612641565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561076b5761076b6128b3565b8181038181111561076b5761076b6128b3565b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b818110156129415783516001600160a01b031683526020938401939092019160010161291a565b50506001600160a01b039590951660608401525050608001529392505050565b808202811582820484141761076b5761076b6128b3565b60008261299557634e487b7160e01b600052601260045260246000fd5b50049056fea264697066735822122026a3b0e9fdae522d4c311007f0a290b2faf7d828af0bb959d5e2d48dcafafb5364736f6c634300081a0033

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

000000000000000000000000ffd008c323006eda11b22112ab0f77190ab2a2b3

-----Decoded View---------------
Arg [0] : _manager (address): 0xffd008c323006Eda11b22112Ab0f77190AB2a2b3

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ffd008c323006eda11b22112ab0f77190ab2a2b3


[ 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.