ETH Price: $3,173.30 (+2.23%)

Token

TEAR (TEAR)
 

Overview

Max Total Supply

1,000,000,000 TEAR

Holders

750 (0.00%)

Total Transfers

-

Market

Price

$0.00 @ 0.000000 ETH (+1.56%)

Onchain Market Cap

$1,370,020.00

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

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

OVERVIEW

$TEAR is a gaming utility token (ERC-20) on the Ethereum network. It is used to transact on Descend Online. The $TEAR Token will fuel the Descend.GG Ecosystem through microtransactions.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TEAR

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 8 : TEAR.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;

import {Ownable} from "@openzeppelin/access/Ownable.sol";
import {IERC20} from "@openzeppelin/token/ERC20/IERC20.sol";
import {IUniswapV2Factory, IUniswapV2Router02} from "./interfaces/IUniswapV2.sol";
import {SafeERC20} from "@openzeppelin/token/ERC20/utils/SafeERC20.sol";

/**
 * @title TEAR
 * @custom:website www.tearcoin.xyz
 * @custom:twitter www.x.com/tearcoinerc
 * @custom:telegram t.me/tearcoin
 * @notice $TEAR ERC20 Token
 */
contract TEAR is Ownable {
    string private constant _name = unicode"TEAR";
    string private constant _symbol = unicode"TEAR";

    uint256 private constant _totalSupply = 1_000_000_000 * 1e18;

    uint256 public maxTransactionAmount = 10_000_000 * 1e18;
    uint256 public maxWallet = 20_000_000 * 1e18;
    uint256 public swapTokensAtAmount = (_totalSupply * 2) / 10000;

    address private treasuryWallet = 0x3FC9E4ED28c178926B6511E6fee09Ad4133F144c;
    address private constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;

    uint8 public buyTotalFees = 20;
    uint8 public sellTotalFees = 20;

    bool private swapping;
    bool public limitsInEffect = true;
    bool private launched;

    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isExcludedMaxTransactionAmount;
    mapping(address => bool) private automatedMarketMakerPairs;

    event SwapAndLiquify(uint256 tokensSwapped, uint256 eth);
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );

    IUniswapV2Router02 public constant uniswapV2Router =
        IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    address public immutable uniswapV2Pair;

    constructor() Ownable(msg.sender) {
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(
            address(this),
            WETH
        );
        automatedMarketMakerPairs[uniswapV2Pair] = true;

        setExcludedFromFees(owner(), true);
        setExcludedFromFees(address(this), true);
        setExcludedFromFees(address(0xdead), true);
        setExcludedFromFees(treasuryWallet, true);

        setExcludedFromMaxTransaction(owner(), true);
        setExcludedFromMaxTransaction(address(uniswapV2Router), true);
        setExcludedFromMaxTransaction(address(this), true);
        setExcludedFromMaxTransaction(address(0xdead), true);
        setExcludedFromMaxTransaction(address(uniswapV2Pair), true);
        setExcludedFromMaxTransaction(treasuryWallet, true);

        _balances[msg.sender] = 950_000_000 * 1e18;
        emit Transfer(address(0), msg.sender, _balances[msg.sender]);
        _balances[address(this)] = 50_000_000 * 1e18;
        emit Transfer(address(0), address(this), _balances[address(this)]);

        _approve(address(this), address(uniswapV2Router), type(uint256).max);
    }

    receive() external payable {}

    function name() public pure returns (string memory) {
        return _name;
    }

    function symbol() public pure returns (string memory) {
        return _symbol;
    }

    function decimals() public pure returns (uint8) {
        return 18;
    }

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

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

    function allowance(
        address owner,
        address spender
    ) public view returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) external returns (bool) {
        _approve(msg.sender, spender, amount);
        return true;
    }

    function _approve(address owner, address spender, uint256 amount) private {
        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);
    }

    function transfer(
        address recipient,
        uint256 amount
    ) external returns (bool) {
        _transfer(msg.sender, recipient, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool) {
        uint256 currentAllowance = _allowances[sender][msg.sender];
        if (currentAllowance != type(uint256).max) {
            require(
                currentAllowance >= amount,
                "ERC20: transfer amount exceeds allowance"
            );
            unchecked {
                _approve(sender, msg.sender, currentAllowance - amount);
            }
        }

        _transfer(sender, recipient, amount);

        return true;
    }

    function _transfer(address from, address to, uint256 amount) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");

        if (
            !launched &&
            (from != owner() && from != address(this) && to != owner())
        ) {
            revert("Trading not enabled");
        }

        if (limitsInEffect) {
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ) {
                if (
                    automatedMarketMakerPairs[from] &&
                    !_isExcludedMaxTransactionAmount[to]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Buy transfer amount exceeds the maxTx"
                    );
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                } else if (
                    automatedMarketMakerPairs[to] &&
                    !_isExcludedMaxTransactionAmount[from]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Sell transfer amount exceeds the maxTx"
                    );
                } else if (!_isExcludedMaxTransactionAmount[to]) {
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
            }
        }

        bool canSwap = balanceOf(address(this)) >= swapTokensAtAmount;

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

        bool takeFee = !swapping;

        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint256 senderBalance = _balances[from];
        require(
            senderBalance >= amount,
            "ERC20: transfer amount exceeds balance"
        );

        uint256 fees = 0;
        if (takeFee) {
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                fees = (amount * sellTotalFees) / 1000;
            } else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = (amount * buyTotalFees) / 1000;
            }

            if (fees > 0) {
                unchecked {
                    amount = amount - fees;
                    _balances[from] -= fees;
                    _balances[address(this)] += fees;
                }
                emit Transfer(from, address(this), fees);
            }
        }
        unchecked {
            _balances[from] -= amount;
            _balances[to] += amount;
        }
        emit Transfer(from, to, amount);
    }

    function removeLimits() external onlyOwner {
        limitsInEffect = false;
    }

    function setFees(
        uint8 _buyTotalFees,
        uint8 _sellTotalFees
    ) external onlyOwner {
        require(
            _buyTotalFees <= 40,
            "Buy fees must be less than or equal to 4%"
        );
        require(
            _sellTotalFees <= 40,
            "Sell fees must be less than or equal to 4%"
        );
        buyTotalFees = _buyTotalFees;
        sellTotalFees = _sellTotalFees;
    }

    function setExcludedFromFees(
        address account,
        bool excluded
    ) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
    }

    function setExcludedFromMaxTransaction(
        address account,
        bool excluded
    ) public onlyOwner {
        _isExcludedMaxTransactionAmount[account] = excluded;
    }

    function openTrade() external onlyOwner {
        require(!launched, "Already launched");
        launched = true;
    }

    function descendIntoTheRealmOfTEAR() external payable onlyOwner {
        require(!launched, "Already launched");
        uniswapV2Router.addLiquidityETH{value: msg.value}(
            address(this),
            _balances[address(this)],
            0,
            0,
            owner(),
            block.timestamp
        );
    }

    function setAutomatedMarketMakerPair(
        address pair,
        bool value
    ) external onlyOwner {
        require(pair != uniswapV2Pair, "The pair cannot be removed");
        automatedMarketMakerPairs[pair] = value;
    }

    function setSwapAtAmount(uint256 newSwapAmount) external onlyOwner {
        require(
            newSwapAmount >= (totalSupply() * 1) / 100000,
            "Swap amount cannot be lower than 0.001% of the supply"
        );
        require(
            newSwapAmount <= (totalSupply() * 5) / 1000,
            "Swap amount cannot be higher than 0.5% of the supply"
        );
        swapTokensAtAmount = newSwapAmount;
    }

    function setMaxTxnAmount(uint256 newMaxTx) external onlyOwner {
        require(
            newMaxTx >= ((totalSupply() * 1) / 1000) / 1e18,
            "Cannot set max transaction lower than 0.1%"
        );
        maxTransactionAmount = newMaxTx * (10 ** 18);
    }

    function setMaxWalletAmount(uint256 newMaxWallet) external onlyOwner {
        require(
            newMaxWallet >= ((totalSupply() * 1) / 1000) / 1e18,
            "Cannot set max wallet lower than 0.1%"
        );
        maxWallet = newMaxWallet * (10 ** 18);
    }

    function updateTreasuryWallet(address newAddress) external onlyOwner {
        require(newAddress != address(0), "Address cannot be zero");
        treasuryWallet = newAddress;
    }

    function excludedFromFee(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    function withdrawStuckToken(IERC20 token, address to) external onlyOwner {
        uint256 _contractBalance = token.balanceOf(address(this));
        SafeERC20.safeTransfer(token, to, _contractBalance);
    }

    function withdrawStuckETH(address addr) external onlyOwner {
        require(addr != address(0), "Invalid address");

        (bool success, ) = addr.call{value: address(this).balance}("");
        require(success, "Withdrawal failed");
    }

    function swapBack() private {
        uint256 swapThreshold = swapTokensAtAmount;
        bool success;

        if (balanceOf(address(this)) > swapTokensAtAmount * 20) {
            swapThreshold = swapTokensAtAmount * 20;
        }

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = WETH;

        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            swapThreshold,
            0,
            path,
            address(this),
            block.timestamp
        );

        uint256 ethBalance = address(this).balance;
        if (ethBalance > 0) {
            (success, ) = address(treasuryWallet).call{value: ethBalance}("");
            emit SwapAndLiquify(swapThreshold, ethBalance);
        }
    }
}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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 8 : 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 ERC-20 standard as defined in the ERC.
 */
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 4 of 8 : IUniswapV2.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;

interface IUniswapV2Factory {
    function getPair(
        address tokenA,
        address tokenB
    ) external view returns (address pair);

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

interface IUniswapV2Router01 {
    function getAmountsOut(
        uint amountIn,
        address[] calldata path
    ) external view returns (uint[] memory amounts);

    function swapExactETHForTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable returns (uint[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
}

File 5 of 8 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";
import {IERC20Permit} from "../extensions/IERC20Permit.sol";
import {Address} from "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC-20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    /**
     * @dev An operation with an ERC-20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data);
        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;
    }
}

File 6 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (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;
    }
}

File 7 of 8 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[ERC-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC-20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     *
     * CAUTION: See Security Considerations above.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 8 of 8 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedInnerCall();

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        if (address(this).balance < amount) {
            revert AddressInsufficientBalance(address(this));
        }

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert FailedInnerCall();
        }
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {FailedInnerCall} error.
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
     * unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {FailedInnerCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
     */
    function _revert(bytes memory returndata) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert FailedInnerCall();
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"eth","type":"uint256"}],"name":"SwapAndLiquify","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":"buyTotalFees","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"descendIntoTheRealmOfTEAR","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"openTrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExcludedFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExcludedFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_buyTotalFees","type":"uint8"},{"internalType":"uint8","name":"_sellTotalFees","type":"uint8"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxTx","type":"uint256"}],"name":"setMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxWallet","type":"uint256"}],"name":"setMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSwapAmount","type":"uint256"}],"name":"setSwapAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"withdrawStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a06040526a084595161401484a0000006001556a108b2a2c280290940000006002556127106b033b2e3c9fd0803ce800000060026200004091906200057d565b6200004c9190620005a9565b60035560048054600161ff0160b01b03191677010014143fc9e4ed28c178926b6511e6fee09ad4133f144c1790553480156200008757600080fd5b503380620000b057604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000bb816200036a565b50737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200010f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001359190620005cc565b6040516364e329cb60e11b815230600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260248201526001600160a01b03919091169063c9c65396906044016020604051808303816000875af115801562000198573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001be9190620005cc565b6001600160a01b031660808190526000908152600960205260409020805460ff1916600117905562000204620001fc6000546001600160a01b031690565b6001620003ba565b62000211306001620003ba565b6200022061dead6001620003ba565b60045462000239906001600160a01b03166001620003ba565b62000258620002506000546001600160a01b031690565b6001620003ef565b62000279737a250d5630b4cf539739df2c5dacb4c659f2488d6001620003ef565b62000286306001620003ef565b6200029561dead6001620003ef565b608051620002a5906001620003ef565b600454620002be906001600160a01b03166001620003ef565b3360008181526005602090815260408083206b0311d253316c79d376000000908190559051908152600080516020620026a9833981519152910160405180910390a33060008181526005602090815260408083206a295be96e64066972000000908190559051908152600080516020620026a9833981519152910160405180910390a36200036430737a250d5630b4cf539739df2c5dacb4c659f2488d60001962000424565b620005fe565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620003c46200054c565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b620003f96200054c565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b6001600160a01b038316620004885760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620000a7565b6001600160a01b038216620004eb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620000a7565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b031633146200057b5760405163118cdaa760e01b8152336004820152602401620000a7565b565b8082028115828204841417620005a357634e487b7160e01b600052601160045260246000fd5b92915050565b600082620005c757634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215620005df57600080fd5b81516001600160a01b0381168114620005f757600080fd5b9392505050565b60805161208862000621600039600081816103540152610d4601526120886000f3fe6080604052600436106101fd5760003560e01c8063751039fc1161010d578063bc205ad3116100a0578063dd62ed3e1161006f578063dd62ed3e146105ee578063e2f4560514610634578063f2fde38b1461064a578063f8b45b051461066a578063fb201b1d1461068057600080fd5b8063bc205ad314610577578063c8c8ebe414610597578063d201b01e146105ad578063d85ba063146105cd57600080fd5b80638da5cb5b116100dc5780638da5cb5b1461051957806395d89b41146102095780639a7a23d614610537578063a9059cbb1461055757600080fd5b8063751039fc146104a3578063777bfa1f146104b8578063809d458d146104c057806385ecafd7146104e057600080fd5b80634a62bb651161019057806366650dae1161015f57806366650dae146103f75780636a486a8e1461041757806370a0823114610438578063715018a61461046e57806374010ece1461048357600080fd5b80634a62bb65146103765780634fcd244614610397578063590ffdce146103b75780636402511e146103d757600080fd5b806323b872dd116101cc57806323b872dd146102de57806327a14fc2146102fe578063313ce5671461032057806349bd5a5e1461034257600080fd5b806306fdde0314610209578063095ea7b3146102455780631694505e1461027557806318160ddd146102b557600080fd5b3661020457005b600080fd5b34801561021557600080fd5b5060408051808201825260048152632a22a0a960e11b6020820152905161023c9190611d40565b60405180910390f35b34801561025157600080fd5b50610265610260366004611d88565b610695565b604051901515815260200161023c565b34801561028157600080fd5b5061029d737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161023c565b3480156102c157600080fd5b506b033b2e3c9fd0803ce80000005b60405190815260200161023c565b3480156102ea57600080fd5b506102656102f9366004611db4565b6106ac565b34801561030a57600080fd5b5061031e610319366004611df5565b610764565b005b34801561032c57600080fd5b5060125b60405160ff909116815260200161023c565b34801561034e57600080fd5b5061029d7f000000000000000000000000000000000000000000000000000000000000000081565b34801561038257600080fd5b5060045461026590600160b81b900460ff1681565b3480156103a357600080fd5b5061031e6103b2366004611e24565b610818565b3480156103c357600080fd5b5061031e6103d2366004611e65565b610921565b3480156103e357600080fd5b5061031e6103f2366004611df5565b610954565b34801561040357600080fd5b5061031e610412366004611e65565b610a83565b34801561042357600080fd5b5060045461033090600160a81b900460ff1681565b34801561044457600080fd5b506102d0610453366004611e9e565b6001600160a01b031660009081526005602052604090205490565b34801561047a57600080fd5b5061031e610ab6565b34801561048f57600080fd5b5061031e61049e366004611df5565b610aca565b3480156104af57600080fd5b5061031e610b83565b61031e610b9a565b3480156104cc57600080fd5b5061031e6104db366004611e9e565b610cc3565b3480156104ec57600080fd5b506102656104fb366004611e9e565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561052557600080fd5b506000546001600160a01b031661029d565b34801561054357600080fd5b5061031e610552366004611e65565b610d3c565b34801561056357600080fd5b50610265610572366004611d88565b610df0565b34801561058357600080fd5b5061031e610592366004611ebb565b610dfd565b3480156105a357600080fd5b506102d060015481565b3480156105b957600080fd5b5061031e6105c8366004611e9e565b610e7d565b3480156105d957600080fd5b5060045461033090600160a01b900460ff1681565b3480156105fa57600080fd5b506102d0610609366004611ebb565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b34801561064057600080fd5b506102d060035481565b34801561065657600080fd5b5061031e610665366004611e9e565b610f68565b34801561067657600080fd5b506102d060025481565b34801561068c57600080fd5b5061031e610fa6565b60006106a2338484611010565b5060015b92915050565b6001600160a01b0383166000908152600660209081526040808320338452909152812054600019811461074c578281101561073f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61074c8533858403611010565b610757858585611134565b60019150505b9392505050565b61076c611905565b670de0b6b3a76400006103e861078f6b033b2e3c9fd0803ce80000006001611eff565b6107999190611f16565b6107a39190611f16565b8110156108005760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f7420736574206d61782077616c6c6574206c6f776572207468616e60448201526420302e312560d81b6064820152608401610736565b61081281670de0b6b3a7640000611eff565b60025550565b610820611905565b60288260ff1611156108865760405162461bcd60e51b815260206004820152602960248201527f4275792066656573206d757374206265206c657373207468616e206f7220657160448201526875616c20746f20342560b81b6064820152608401610736565b60288160ff1611156108ed5760405162461bcd60e51b815260206004820152602a60248201527f53656c6c2066656573206d757374206265206c657373207468616e206f7220656044820152697175616c20746f20342560b01b6064820152608401610736565b6004805461ffff60a01b1916600160a01b60ff9485160260ff60a81b191617600160a81b9290931691909102919091179055565b610929611905565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b61095c611905565b620186a06109776b033b2e3c9fd0803ce80000006001611eff565b6109819190611f16565b8110156109ee5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527420302e30303125206f662074686520737570706c7960581b6064820152608401610736565b6103e8610a086b033b2e3c9fd0803ce80000006005611eff565b610a129190611f16565b811115610a7e5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f7420626520686967686572207468616044820152736e20302e3525206f662074686520737570706c7960601b6064820152608401610736565b600355565b610a8b611905565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b610abe611905565b610ac86000611932565b565b610ad2611905565b670de0b6b3a76400006103e8610af56b033b2e3c9fd0803ce80000006001611eff565b610aff9190611f16565b610b099190611f16565b811015610b6b5760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d6178207472616e73616374696f6e206c6f776572604482015269207468616e20302e312560b01b6064820152608401610736565b610b7d81670de0b6b3a7640000611eff565b60015550565b610b8b611905565b6004805460ff60b81b19169055565b610ba2611905565b600454600160c01b900460ff1615610bef5760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e481b185d5b98da195960821b6044820152606401610736565b30600081815260056020526040812054737a250d5630b4cf539739df2c5dacb4c659f2488d9263f305d7199234929080610c316000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610c99573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610cbe9190611f38565b505050565b610ccb611905565b6001600160a01b038116610d1a5760405162461bcd60e51b8152602060048201526016602482015275416464726573732063616e6e6f74206265207a65726f60501b6044820152606401610736565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b610d44611905565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610dc55760405162461bcd60e51b815260206004820152601a60248201527f54686520706169722063616e6e6f742062652072656d6f7665640000000000006044820152606401610736565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b60006106a2338484611134565b610e05611905565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610e4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e709190611f66565b9050610cbe838383611982565b610e85611905565b6001600160a01b038116610ecd5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610736565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610f1a576040519150601f19603f3d011682016040523d82523d6000602084013e610f1f565b606091505b5050905080610f645760405162461bcd60e51b815260206004820152601160248201527015da5d1a191c985dd85b0819985a5b1959607a1b6044820152606401610736565b5050565b610f70611905565b6001600160a01b038116610f9a57604051631e4fbdf760e01b815260006004820152602401610736565b610fa381611932565b50565b610fae611905565b600454600160c01b900460ff1615610ffb5760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e481b185d5b98da195960821b6044820152606401610736565b6004805460ff60c01b1916600160c01b179055565b6001600160a01b0383166110725760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610736565b6001600160a01b0382166110d35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610736565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166111985760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610736565b6001600160a01b0382166111fa5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610736565b6000811161125c5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610736565b600454600160c01b900460ff161580156112b257506000546001600160a01b0384811691161480159061129857506001600160a01b0383163014155b80156112b257506000546001600160a01b03838116911614155b156112f55760405162461bcd60e51b8152602060048201526013602482015272151c98591a5b99c81b9bdd08195b98589b1959606a1b6044820152606401610736565b600454600160b81b900460ff16156115bf576000546001600160a01b0384811691161480159061133357506000546001600160a01b03838116911614155b801561134757506001600160a01b03821615155b801561135e57506001600160a01b03821661dead14155b80156113745750600454600160b01b900460ff16155b156115bf576001600160a01b03831660009081526009602052604090205460ff1680156113ba57506001600160a01b03821660009081526008602052604090205460ff16155b1561148e5760015481111561141f5760405162461bcd60e51b815260206004820152602560248201527f427579207472616e7366657220616d6f756e74206578636565647320746865206044820152640dac2f0a8f60db1b6064820152608401610736565b6002546001600160a01b0383166000908152600560205260409020546114459083611f7f565b11156114895760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610736565b6115bf565b6001600160a01b03821660009081526009602052604090205460ff1680156114cf57506001600160a01b03831660009081526008602052604090205460ff16155b15611535576001548111156114895760405162461bcd60e51b815260206004820152602660248201527f53656c6c207472616e7366657220616d6f756e74206578636565647320746865604482015265040dac2f0a8f60d31b6064820152608401610736565b6001600160a01b03821660009081526008602052604090205460ff166115bf576002546001600160a01b03831660009081526005602052604090205461157b9083611f7f565b11156115bf5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610736565b600354306000908152600560205260409020541080159081906115ec5750600454600160b01b900460ff16155b801561161157506001600160a01b03841660009081526009602052604090205460ff16155b801561163657506001600160a01b03841660009081526007602052604090205460ff16155b801561165b57506001600160a01b03831660009081526007602052604090205460ff16155b15611689576004805460ff60b01b1916600160b01b17905561167b6119d4565b6004805460ff60b01b191690555b6004546001600160a01b03851660009081526007602052604090205460ff600160b01b9092048216159116806116d757506001600160a01b03841660009081526007602052604090205460ff165b156116e0575060005b6001600160a01b038516600090815260056020526040902054838110156117585760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610736565b60008215611892576001600160a01b03861660009081526009602052604090205460ff1680156117935750600454600160a81b900460ff1615155b156117c4576004546103e8906117b390600160a81b900460ff1687611eff565b6117bd9190611f16565b9050611824565b6001600160a01b03871660009081526009602052604090205460ff1680156117f75750600454600160a01b900460ff1615155b15611824576004546103e89061181790600160a01b900460ff1687611eff565b6118219190611f16565b90505b8015611892576001600160a01b03871660008181526005602090815260408083208054869003905530808452928190208054860190555184815297849003979192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b6001600160a01b0380881660008181526005602052604080822080548a900390559289168082529083902080548901905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906118f49089815260200190565b60405180910390a350505050505050565b6000546001600160a01b03163314610ac85760405163118cdaa760e01b8152336004820152602401610736565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610cbe908490611bb2565b60035460006119e4826014611eff565b306000908152600560205260409020541115611a0b57600354611a08906014611eff565b91505b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a4057611a40611f92565b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110611a8857611a88611f92565b6001600160a01b039092166020928302919091019091015260405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790611ae0908690600090869030904290600401611fa8565b600060405180830381600087803b158015611afa57600080fd5b505af1158015611b0e573d6000803e3d6000fd5b504792505081159050611bac576004546040516001600160a01b03909116908290600081818185875af1925050503d8060008114611b68576040519150601f19603f3d011682016040523d82523d6000602084013e611b6d565b606091505b505060408051868152602081018490529194507f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b50505050565b6000611bc76001600160a01b03841683611c15565b90508051600014158015611bec575080806020019051810190611bea9190612019565b155b15610cbe57604051635274afe760e01b81526001600160a01b0384166004820152602401610736565b606061075d8383600084600080856001600160a01b03168486604051611c3b9190612036565b60006040518083038185875af1925050503d8060008114611c78576040519150601f19603f3d011682016040523d82523d6000602084013e611c7d565b606091505b5091509150611c8d868383611c97565b9695505050505050565b606082611cac57611ca782611cf3565b61075d565b8151158015611cc357506001600160a01b0384163b155b15611cec57604051639996b31560e01b81526001600160a01b0385166004820152602401610736565b508061075d565b805115611d035780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b60005b83811015611d37578181015183820152602001611d1f565b50506000910152565b6020815260008251806020840152611d5f816040850160208701611d1c565b601f01601f19169190910160400192915050565b6001600160a01b0381168114610fa357600080fd5b60008060408385031215611d9b57600080fd5b8235611da681611d73565b946020939093013593505050565b600080600060608486031215611dc957600080fd5b8335611dd481611d73565b92506020840135611de481611d73565b929592945050506040919091013590565b600060208284031215611e0757600080fd5b5035919050565b803560ff81168114611e1f57600080fd5b919050565b60008060408385031215611e3757600080fd5b611e4083611e0e565b9150611e4e60208401611e0e565b90509250929050565b8015158114610fa357600080fd5b60008060408385031215611e7857600080fd5b8235611e8381611d73565b91506020830135611e9381611e57565b809150509250929050565b600060208284031215611eb057600080fd5b813561075d81611d73565b60008060408385031215611ece57600080fd5b8235611ed981611d73565b91506020830135611e9381611d73565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176106a6576106a6611ee9565b600082611f3357634e487b7160e01b600052601260045260246000fd5b500490565b600080600060608486031215611f4d57600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611f7857600080fd5b5051919050565b808201808211156106a6576106a6611ee9565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611ff85784516001600160a01b031683529383019391830191600101611fd3565b50506001600160a01b03969096166060850152505050608001529392505050565b60006020828403121561202b57600080fd5b815161075d81611e57565b60008251612048818460208701611d1c565b919091019291505056fea26469706673582212205bafcb4afa918d68542323d89fee36b4c2176e6722d8998d043bd78ef772e8e464736f6c63430008150033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x6080604052600436106101fd5760003560e01c8063751039fc1161010d578063bc205ad3116100a0578063dd62ed3e1161006f578063dd62ed3e146105ee578063e2f4560514610634578063f2fde38b1461064a578063f8b45b051461066a578063fb201b1d1461068057600080fd5b8063bc205ad314610577578063c8c8ebe414610597578063d201b01e146105ad578063d85ba063146105cd57600080fd5b80638da5cb5b116100dc5780638da5cb5b1461051957806395d89b41146102095780639a7a23d614610537578063a9059cbb1461055757600080fd5b8063751039fc146104a3578063777bfa1f146104b8578063809d458d146104c057806385ecafd7146104e057600080fd5b80634a62bb651161019057806366650dae1161015f57806366650dae146103f75780636a486a8e1461041757806370a0823114610438578063715018a61461046e57806374010ece1461048357600080fd5b80634a62bb65146103765780634fcd244614610397578063590ffdce146103b75780636402511e146103d757600080fd5b806323b872dd116101cc57806323b872dd146102de57806327a14fc2146102fe578063313ce5671461032057806349bd5a5e1461034257600080fd5b806306fdde0314610209578063095ea7b3146102455780631694505e1461027557806318160ddd146102b557600080fd5b3661020457005b600080fd5b34801561021557600080fd5b5060408051808201825260048152632a22a0a960e11b6020820152905161023c9190611d40565b60405180910390f35b34801561025157600080fd5b50610265610260366004611d88565b610695565b604051901515815260200161023c565b34801561028157600080fd5b5061029d737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161023c565b3480156102c157600080fd5b506b033b2e3c9fd0803ce80000005b60405190815260200161023c565b3480156102ea57600080fd5b506102656102f9366004611db4565b6106ac565b34801561030a57600080fd5b5061031e610319366004611df5565b610764565b005b34801561032c57600080fd5b5060125b60405160ff909116815260200161023c565b34801561034e57600080fd5b5061029d7f000000000000000000000000a29191f525e51b2a3112fba356cc0a97017f48a681565b34801561038257600080fd5b5060045461026590600160b81b900460ff1681565b3480156103a357600080fd5b5061031e6103b2366004611e24565b610818565b3480156103c357600080fd5b5061031e6103d2366004611e65565b610921565b3480156103e357600080fd5b5061031e6103f2366004611df5565b610954565b34801561040357600080fd5b5061031e610412366004611e65565b610a83565b34801561042357600080fd5b5060045461033090600160a81b900460ff1681565b34801561044457600080fd5b506102d0610453366004611e9e565b6001600160a01b031660009081526005602052604090205490565b34801561047a57600080fd5b5061031e610ab6565b34801561048f57600080fd5b5061031e61049e366004611df5565b610aca565b3480156104af57600080fd5b5061031e610b83565b61031e610b9a565b3480156104cc57600080fd5b5061031e6104db366004611e9e565b610cc3565b3480156104ec57600080fd5b506102656104fb366004611e9e565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561052557600080fd5b506000546001600160a01b031661029d565b34801561054357600080fd5b5061031e610552366004611e65565b610d3c565b34801561056357600080fd5b50610265610572366004611d88565b610df0565b34801561058357600080fd5b5061031e610592366004611ebb565b610dfd565b3480156105a357600080fd5b506102d060015481565b3480156105b957600080fd5b5061031e6105c8366004611e9e565b610e7d565b3480156105d957600080fd5b5060045461033090600160a01b900460ff1681565b3480156105fa57600080fd5b506102d0610609366004611ebb565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b34801561064057600080fd5b506102d060035481565b34801561065657600080fd5b5061031e610665366004611e9e565b610f68565b34801561067657600080fd5b506102d060025481565b34801561068c57600080fd5b5061031e610fa6565b60006106a2338484611010565b5060015b92915050565b6001600160a01b0383166000908152600660209081526040808320338452909152812054600019811461074c578281101561073f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61074c8533858403611010565b610757858585611134565b60019150505b9392505050565b61076c611905565b670de0b6b3a76400006103e861078f6b033b2e3c9fd0803ce80000006001611eff565b6107999190611f16565b6107a39190611f16565b8110156108005760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f7420736574206d61782077616c6c6574206c6f776572207468616e60448201526420302e312560d81b6064820152608401610736565b61081281670de0b6b3a7640000611eff565b60025550565b610820611905565b60288260ff1611156108865760405162461bcd60e51b815260206004820152602960248201527f4275792066656573206d757374206265206c657373207468616e206f7220657160448201526875616c20746f20342560b81b6064820152608401610736565b60288160ff1611156108ed5760405162461bcd60e51b815260206004820152602a60248201527f53656c6c2066656573206d757374206265206c657373207468616e206f7220656044820152697175616c20746f20342560b01b6064820152608401610736565b6004805461ffff60a01b1916600160a01b60ff9485160260ff60a81b191617600160a81b9290931691909102919091179055565b610929611905565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b61095c611905565b620186a06109776b033b2e3c9fd0803ce80000006001611eff565b6109819190611f16565b8110156109ee5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527420302e30303125206f662074686520737570706c7960581b6064820152608401610736565b6103e8610a086b033b2e3c9fd0803ce80000006005611eff565b610a129190611f16565b811115610a7e5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f7420626520686967686572207468616044820152736e20302e3525206f662074686520737570706c7960601b6064820152608401610736565b600355565b610a8b611905565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b610abe611905565b610ac86000611932565b565b610ad2611905565b670de0b6b3a76400006103e8610af56b033b2e3c9fd0803ce80000006001611eff565b610aff9190611f16565b610b099190611f16565b811015610b6b5760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d6178207472616e73616374696f6e206c6f776572604482015269207468616e20302e312560b01b6064820152608401610736565b610b7d81670de0b6b3a7640000611eff565b60015550565b610b8b611905565b6004805460ff60b81b19169055565b610ba2611905565b600454600160c01b900460ff1615610bef5760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e481b185d5b98da195960821b6044820152606401610736565b30600081815260056020526040812054737a250d5630b4cf539739df2c5dacb4c659f2488d9263f305d7199234929080610c316000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610c99573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610cbe9190611f38565b505050565b610ccb611905565b6001600160a01b038116610d1a5760405162461bcd60e51b8152602060048201526016602482015275416464726573732063616e6e6f74206265207a65726f60501b6044820152606401610736565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b610d44611905565b7f000000000000000000000000a29191f525e51b2a3112fba356cc0a97017f48a66001600160a01b0316826001600160a01b031603610dc55760405162461bcd60e51b815260206004820152601a60248201527f54686520706169722063616e6e6f742062652072656d6f7665640000000000006044820152606401610736565b6001600160a01b03919091166000908152600960205260409020805460ff1916911515919091179055565b60006106a2338484611134565b610e05611905565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610e4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e709190611f66565b9050610cbe838383611982565b610e85611905565b6001600160a01b038116610ecd5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610736565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610f1a576040519150601f19603f3d011682016040523d82523d6000602084013e610f1f565b606091505b5050905080610f645760405162461bcd60e51b815260206004820152601160248201527015da5d1a191c985dd85b0819985a5b1959607a1b6044820152606401610736565b5050565b610f70611905565b6001600160a01b038116610f9a57604051631e4fbdf760e01b815260006004820152602401610736565b610fa381611932565b50565b610fae611905565b600454600160c01b900460ff1615610ffb5760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e481b185d5b98da195960821b6044820152606401610736565b6004805460ff60c01b1916600160c01b179055565b6001600160a01b0383166110725760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610736565b6001600160a01b0382166110d35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610736565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166111985760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610736565b6001600160a01b0382166111fa5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610736565b6000811161125c5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610736565b600454600160c01b900460ff161580156112b257506000546001600160a01b0384811691161480159061129857506001600160a01b0383163014155b80156112b257506000546001600160a01b03838116911614155b156112f55760405162461bcd60e51b8152602060048201526013602482015272151c98591a5b99c81b9bdd08195b98589b1959606a1b6044820152606401610736565b600454600160b81b900460ff16156115bf576000546001600160a01b0384811691161480159061133357506000546001600160a01b03838116911614155b801561134757506001600160a01b03821615155b801561135e57506001600160a01b03821661dead14155b80156113745750600454600160b01b900460ff16155b156115bf576001600160a01b03831660009081526009602052604090205460ff1680156113ba57506001600160a01b03821660009081526008602052604090205460ff16155b1561148e5760015481111561141f5760405162461bcd60e51b815260206004820152602560248201527f427579207472616e7366657220616d6f756e74206578636565647320746865206044820152640dac2f0a8f60db1b6064820152608401610736565b6002546001600160a01b0383166000908152600560205260409020546114459083611f7f565b11156114895760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610736565b6115bf565b6001600160a01b03821660009081526009602052604090205460ff1680156114cf57506001600160a01b03831660009081526008602052604090205460ff16155b15611535576001548111156114895760405162461bcd60e51b815260206004820152602660248201527f53656c6c207472616e7366657220616d6f756e74206578636565647320746865604482015265040dac2f0a8f60d31b6064820152608401610736565b6001600160a01b03821660009081526008602052604090205460ff166115bf576002546001600160a01b03831660009081526005602052604090205461157b9083611f7f565b11156115bf5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610736565b600354306000908152600560205260409020541080159081906115ec5750600454600160b01b900460ff16155b801561161157506001600160a01b03841660009081526009602052604090205460ff16155b801561163657506001600160a01b03841660009081526007602052604090205460ff16155b801561165b57506001600160a01b03831660009081526007602052604090205460ff16155b15611689576004805460ff60b01b1916600160b01b17905561167b6119d4565b6004805460ff60b01b191690555b6004546001600160a01b03851660009081526007602052604090205460ff600160b01b9092048216159116806116d757506001600160a01b03841660009081526007602052604090205460ff165b156116e0575060005b6001600160a01b038516600090815260056020526040902054838110156117585760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610736565b60008215611892576001600160a01b03861660009081526009602052604090205460ff1680156117935750600454600160a81b900460ff1615155b156117c4576004546103e8906117b390600160a81b900460ff1687611eff565b6117bd9190611f16565b9050611824565b6001600160a01b03871660009081526009602052604090205460ff1680156117f75750600454600160a01b900460ff1615155b15611824576004546103e89061181790600160a01b900460ff1687611eff565b6118219190611f16565b90505b8015611892576001600160a01b03871660008181526005602090815260408083208054869003905530808452928190208054860190555184815297849003979192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b6001600160a01b0380881660008181526005602052604080822080548a900390559289168082529083902080548901905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906118f49089815260200190565b60405180910390a350505050505050565b6000546001600160a01b03163314610ac85760405163118cdaa760e01b8152336004820152602401610736565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610cbe908490611bb2565b60035460006119e4826014611eff565b306000908152600560205260409020541115611a0b57600354611a08906014611eff565b91505b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a4057611a40611f92565b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110611a8857611a88611f92565b6001600160a01b039092166020928302919091019091015260405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790611ae0908690600090869030904290600401611fa8565b600060405180830381600087803b158015611afa57600080fd5b505af1158015611b0e573d6000803e3d6000fd5b504792505081159050611bac576004546040516001600160a01b03909116908290600081818185875af1925050503d8060008114611b68576040519150601f19603f3d011682016040523d82523d6000602084013e611b6d565b606091505b505060408051868152602081018490529194507f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b50505050565b6000611bc76001600160a01b03841683611c15565b90508051600014158015611bec575080806020019051810190611bea9190612019565b155b15610cbe57604051635274afe760e01b81526001600160a01b0384166004820152602401610736565b606061075d8383600084600080856001600160a01b03168486604051611c3b9190612036565b60006040518083038185875af1925050503d8060008114611c78576040519150601f19603f3d011682016040523d82523d6000602084013e611c7d565b606091505b5091509150611c8d868383611c97565b9695505050505050565b606082611cac57611ca782611cf3565b61075d565b8151158015611cc357506001600160a01b0384163b155b15611cec57604051639996b31560e01b81526001600160a01b0385166004820152602401610736565b508061075d565b805115611d035780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b60005b83811015611d37578181015183820152602001611d1f565b50506000910152565b6020815260008251806020840152611d5f816040850160208701611d1c565b601f01601f19169190910160400192915050565b6001600160a01b0381168114610fa357600080fd5b60008060408385031215611d9b57600080fd5b8235611da681611d73565b946020939093013593505050565b600080600060608486031215611dc957600080fd5b8335611dd481611d73565b92506020840135611de481611d73565b929592945050506040919091013590565b600060208284031215611e0757600080fd5b5035919050565b803560ff81168114611e1f57600080fd5b919050565b60008060408385031215611e3757600080fd5b611e4083611e0e565b9150611e4e60208401611e0e565b90509250929050565b8015158114610fa357600080fd5b60008060408385031215611e7857600080fd5b8235611e8381611d73565b91506020830135611e9381611e57565b809150509250929050565b600060208284031215611eb057600080fd5b813561075d81611d73565b60008060408385031215611ece57600080fd5b8235611ed981611d73565b91506020830135611e9381611d73565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176106a6576106a6611ee9565b600082611f3357634e487b7160e01b600052601260045260246000fd5b500490565b600080600060608486031215611f4d57600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611f7857600080fd5b5051919050565b808201808211156106a6576106a6611ee9565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611ff85784516001600160a01b031683529383019391830191600101611fd3565b50506001600160a01b03969096166060850152505050608001529392505050565b60006020828403121561202b57600080fd5b815161075d81611e57565b60008251612048818460208701611d1c565b919091019291505056fea26469706673582212205bafcb4afa918d68542323d89fee36b4c2176e6722d8998d043bd78ef772e8e464736f6c63430008150033

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.