ETH Price: $3,090.49 (+0.94%)
Gas: 4 Gwei

Token

Sybulls (SYBL)
 

Overview

Max Total Supply

1,000,000 SYBL

Holders

764

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
477.610739426754905723 SYBL

Value
$0.00
0xc7eec1cd320bbe4348dcefb0e0aeda21b75d81b3
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Sybull

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. 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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

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

pragma solidity ^0.8.0;

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

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * 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.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the 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 override returns (uint8) {
        return 18;
    }

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 6 of 9 : TokenContractFake.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.19;

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

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

contract Sybull is ERC20, Ownable {
    // Exclude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;

    mapping(address => bool) public automatedMarketMakerPairs;
    mapping(address => bool) blacklisted;

    address public revShareWallet;
    address public immutable uniswapV2Pair;

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

    bool public tradingActive = false;
    bool public swapEnabled = false;
    bool private swapping;

    uint256 public buyTotalFees;
    uint256 public buyRevShareFee;
    uint256 public buyLiquidityFee;

    uint256 public sellTotalFees;
    uint256 public sellRevShareFee;
    uint256 public sellLiquidityFee;

    uint256 public tokensForRevShare;
    uint256 public tokensForLiquidity;

    IUniswapV2Router02 public immutable uniswapV2Router;

    event UpdateUniswapV2Router(
        address indexed newAddress,
        address indexed oldAddress
    );

    event ExcludeFromFees(address indexed account, bool isExcluded);

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );

    constructor() ERC20("Sybulls", "SYBL") {
        address _uniV2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
        revShareWallet = 0x183365Cc2BFc48D332Aed992b669bCF55ECeFB29;

        // Establish initial fees
        uint256 _buyRevShareFee = 9; // Lowered to 4% after launch
        uint256 _buyLiquidityFee = 1;

        uint256 _sellRevShareFee = 9; // Lowered to 4% after launch
        uint256 _sellLiquidityFee = 1;

        uint256 totalSupply = 1_000_000 * 1e18; // 1 million total supply

        // Connect with UNISWAP V2 Router
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(_uniV2Router);

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

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

        // Creates the Uniswap Pair
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        // Set max amount of tokens that can be transferred in a transaction / by a wallet
        maxTransactionAmount = 1950 * 1e18; // 0.195%
        maxWallet = 1950 * 1e18; // 0.195%
        swapTokensAtAmount = (totalSupply * 20) / 10000; // 0.2%

        // Establish fees for buy and sell
        buyRevShareFee = _buyRevShareFee;
        buyLiquidityFee = _buyLiquidityFee;
        buyTotalFees = buyRevShareFee + buyLiquidityFee;

        sellRevShareFee = _sellRevShareFee;
        sellLiquidityFee = _sellLiquidityFee;
        sellTotalFees = sellRevShareFee + sellLiquidityFee;

        // Exclude from paying fees or having max transaction amount if; is owner, is deployer, is dead address.
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);

        // Only called once, when contract is deployed.
        _mint(msg.sender, totalSupply);
    }

    receive() external payable {}

    // Will enable trading, once this is toggeled, it will not be able to be turned off.
    function enableTrading() external onlyOwner {
        tradingActive = true;
        swapEnabled = true;
    }

    // Trigger this post launch once price is more stable. Made to avoid whales and snipers hogging supply.
    function updateLimitsAndFees() external onlyOwner {
        maxTransactionAmount = 25_000 * (10 ** 18); // 2.5%
        maxWallet = 25_000 * (10 ** 18); // 2.5%

        buyRevShareFee = 4; // 4%
        buyLiquidityFee = 1; // 1%
        buyTotalFees = 5;

        sellRevShareFee = 4; // 4%
        sellLiquidityFee = 1; // 1%
        sellTotalFees = 5;
    }

    // Will be used to update the router address to the new version.

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

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

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

        _setAutomatedMarketMakerPair(pair, value);
    }

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

        emit SetAutomatedMarketMakerPair(pair, value);
    }

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

    function isBlacklisted(address account) public view returns (bool) {
        return blacklisted[account];
    }

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

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

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

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

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

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

            swapBack();

            swapping = false;
        }

        bool takeFee = !swapping;

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

        uint256 fees = 0;
        // Only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // Sell
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                fees = (amount * sellTotalFees) / 100;
                tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees;
                tokensForRevShare += (fees * sellRevShareFee) / sellTotalFees;
            }
            // Buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = (amount * buyTotalFees) / 100;
                tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees;
                tokensForRevShare += (fees * buyRevShareFee) / buyTotalFees;
            }

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

            amount -= fees;
        }

        super._transfer(from, to, amount);
    }

    // Convert tokens to ETH for use w/ fee payments
    function swapTokensForEth(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

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

        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // Accept any amount of ETH; ignore slippage
            path,
            address(this),
            block.timestamp
        );
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // add the liquidity
        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // Slippage is unavoidable
            0, // Slippage is unavoidable
            owner(),
            block.timestamp
        );
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForLiquidity + tokensForRevShare;
        bool success;

        if (contractBalance == 0 || totalTokensToSwap == 0) {
            return;
        }

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

        // Halve the amount of liquidity tokens
        uint256 liquidityTokens = (contractBalance * tokensForLiquidity) /
            totalTokensToSwap /
            2;
        uint256 amountToSwapForETH = contractBalance - liquidityTokens;

        uint256 initialETHBalance = address(this).balance;

        swapTokensForEth(amountToSwapForETH);

        uint256 ethBalance = address(this).balance - initialETHBalance;

        uint256 ethForRevShare = (ethBalance * tokensForRevShare) /
            (totalTokensToSwap - (tokensForLiquidity / 2));

        uint256 ethForLiquidity = ethBalance - ethForRevShare;

        if (liquidityTokens > 0 && ethForLiquidity > 0) {
            addLiquidity(liquidityTokens, ethForLiquidity);
            emit SwapAndLiquify(
                amountToSwapForETH,
                ethForLiquidity,
                tokensForLiquidity
            );
        }

        tokensForLiquidity = 0;
        tokensForRevShare = 0;

        (success, ) = address(revShareWallet).call{
            value: address(this).balance
        }("");
    }

    // The helper contract will also be used to be able to call the 5 functions below.
    // Any functions that have to do with ETH or Tokens will be sent directly to the helper contract.
    // This means that the split of 80% to the team, and 20% to the holders is intact.
    modifier onlyHelper() {
        require(
            revShareWallet == _msgSender(),
            "Token: caller is not the Helper"
        );
        _;
    }

    // Emergency function in-case tokens get's stuck in the token contract.

    // @Helper - Callable by Helper contract in-case tokens get's stuck in the token contract.
    function withdrawStuckToken(
        address _token,
        address _to
    ) external onlyHelper {
        require(_token != address(0), "_token address cannot be 0");
        uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
        IERC20(_token).transfer(_to, _contractBalance);
    }

    // @Helper - Callable by Helper contract in-case ETH get's stuck in the token contract.
    function withdrawStuckEth(address toAddr) external onlyHelper {
        (bool success, ) = toAddr.call{value: address(this).balance}("");
        require(success);
    }

    // @Helper - Blacklist v3 pools; can unblacklist() down the road to suit project and community
    function blacklistLiquidityPool(address lpAddress) public onlyHelper {
        require(
            lpAddress != address(uniswapV2Pair) &&
                lpAddress !=
                address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D),
            "Cannot blacklist token's v2 router or v2 pool."
        );
        blacklisted[lpAddress] = true;
    }

    // @Helper - Unblacklist address; not affected by blacklistRenounced incase team wants to unblacklist v3 pools down the road
    function unblacklist(address _addr) public onlyHelper {
        blacklisted[_addr] = false;
    }

    // @Helper - Set the Helper contract address
    function setHelperFromHelper(address _helper) public onlyHelper {
        require(_helper != address(0), "Helper address cannot be 0");
        revShareWallet = _helper;
    }

    // @Helper - Set the swapTokensAtAmount
    function setSwapTokensAtAmountHelper(uint256 _amount) public onlyHelper {
        require(_amount > 0, "Amount cannot be 0");
        swapTokensAtAmount = _amount;
    }

    // @Owner - Set the Helper contract address
    function setHelper(address _helper) public onlyOwner {
        require(_helper != address(0), "Helper address cannot be 0");
        revShareWallet = _helper;
    }

    // @Owner - Set the swapTokensAtAmount
    function setSwapTokensAtAmount(uint256 _amount) public onlyOwner {
        require(_amount > 0, "Amount cannot be 0");
        swapTokensAtAmount = _amount;
    }
}

File 7 of 9 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

File 8 of 9 : IUniswapV2Router01.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

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

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);

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

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);

    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint amountA, uint amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint amountToken, uint amountETH);

    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

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

    function swapTokensForExactETH(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapExactTokensForETH(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapETHForExactTokens(
        uint amountOut,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable returns (uint[] memory amounts);

    function quote(
        uint amountA,
        uint reserveA,
        uint reserveB
    ) external pure returns (uint amountB);

    function getAmountOut(
        uint amountIn,
        uint reserveIn,
        uint reserveOut
    ) external pure returns (uint amountOut);

    function getAmountIn(
        uint amountOut,
        uint reserveIn,
        uint reserveOut
    ) external pure returns (uint amountIn);

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

    function getAmountsIn(
        uint amountOut,
        address[] calldata path
    ) external view returns (uint[] memory amounts);
}

File 9 of 9 : IUniswapV2Router02.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import "./IUniswapV2Router01.sol";

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"lpAddress","type":"address"}],"name":"blacklistLiquidityPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyRevShareFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revShareWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellRevShareFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_helper","type":"address"}],"name":"setHelper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_helper","type":"address"}],"name":"setHelperFromHelper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setSwapTokensAtAmountHelper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForRevShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"unblacklist","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":[],"name":"updateLimitsAndFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toAddr","type":"address"}],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c0604052600e805461ffff191690553480156200001c57600080fd5b5060405180604001604052806007815260200166537962756c6c7360c81b8152506040518060400160405280600481526020016314d6509360e21b81525081600390816200006b91906200067c565b5060046200007a82826200067c565b50505062000097620000916200036660201b60201c565b6200036a565b600a80546001600160a01b03191673183365cc2bfc48d332aed992b669bcf55ecefb29179055737a250d5630b4cf539739df2c5dacb4c659f2488d60096001818169d3c21bcecceda100000085620000f08184620003bc565b6001600160a01b03811660a08190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200013b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000161919062000748565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d5919062000748565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000223573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000249919062000748565b6001600160a01b0316608081905262000264906001620003bc565b60805162000274906001620003f1565b6869b5afac750bb80000600c819055600d556127106200029683601462000790565b620002a29190620007b0565b600b5560108690556011859055620002bb8587620007d3565b600f5560138490556014839055620002d48385620007d3565b601255620002f6620002ee6005546001600160a01b031690565b600162000445565b6200030330600162000445565b6200031261dead600162000445565b62000331620003296005546001600160a01b031690565b6001620003bc565b6200033e306001620003bc565b6200034d61dead6001620003bc565b620003593383620004ae565b50505050505050620007e9565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620003c662000575565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260086020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6200044f62000575565b6001600160a01b038216600081815260066020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166200050a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b80600260008282546200051e9190620007d3565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620005d15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000501565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200060357607f821691505b6020821081036200062457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005d357600081815260208120601f850160051c81016020861015620006535750805b601f850160051c820191505b8181101562000674578281556001016200065f565b505050505050565b81516001600160401b03811115620006985762000698620005d8565b620006b081620006a98454620005ee565b846200062a565b602080601f831160018114620006e85760008415620006cf5750858301515b600019600386901b1c1916600185901b17855562000674565b600085815260208120601f198616915b828110156200071957888601518255948401946001909101908401620006f8565b5085821015620007385787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200075b57600080fd5b81516001600160a01b03811681146200077357600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620007aa57620007aa6200077a565b92915050565b600082620007ce57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620007aa57620007aa6200077a565b60805160a0516124ce620008406000396000818161035901528181611e3101528181611eea01528181611f2601528181611fa00152611fc701526000818161045801528181610c040152610fa801526124ce6000f3fe60806040526004361061028c5760003560e01c806388c90fb71161015a578063bc205ad3116100c1578063e2f456051161007a578063e2f45605146107e8578063f11a24d3146107fe578063f2fde38b14610814578063f637434214610834578063f8b45b051461084a578063fe575a871461086057600080fd5b8063bc205ad31461073c578063c02466681461075c578063c8c8ebe41461077c578063d85ba06314610792578063dd62ed3e146107a8578063e19b2823146107c857600080fd5b80639c6868af116101135780639c6868af1461067d578063a457c2d714610692578063a9059cbb146106b2578063afa4f3b2146106d2578063b62496f5146106f2578063bbc0c7421461072257600080fd5b806388c90fb7146105d55780638a8c523c146105f55780638da5cb5b1461060a57806395d89b4114610628578063986ccc7f1461063d5780639a7a23d61461065d57600080fd5b806339509351116101fe57806370a08231116101b757806370a082311461050a578063715018a6146105405780637571336a1461055557806375e3661e14610575578063782c4e99146105955780637ca8448a146105b557600080fd5b8063395093511461042657806349bd5a5e146104465780634fbee1931461047a5780636741b1fd146104b35780636a486a8e146104d55780636ddd1713146104eb57600080fd5b806318160ddd1161025057806318160ddd1461039357806319eab042146103a85780631a8145bb146103be57806323b872dd146103d457806324b9f3c1146103f4578063313ce5671461040a57600080fd5b806306fdde0314610298578063095ea7b3146102c357806310d5de53146102f3578063156c2f35146103235780631694505e1461034757600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506102ad610899565b6040516102ba91906120a0565b60405180910390f35b3480156102cf57600080fd5b506102e36102de366004612103565b61092b565b60405190151581526020016102ba565b3480156102ff57600080fd5b506102e361030e36600461212f565b60076020526000908152604090205460ff1681565b34801561032f57600080fd5b5061033960105481565b6040519081526020016102ba565b34801561035357600080fd5b5061037b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102ba565b34801561039f57600080fd5b50600254610339565b3480156103b457600080fd5b5061033960135481565b3480156103ca57600080fd5b5061033960165481565b3480156103e057600080fd5b506102e36103ef366004612153565b610945565b34801561040057600080fd5b5061033960155481565b34801561041657600080fd5b50604051601281526020016102ba565b34801561043257600080fd5b506102e3610441366004612103565b610969565b34801561045257600080fd5b5061037b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561048657600080fd5b506102e361049536600461212f565b6001600160a01b031660009081526006602052604090205460ff1690565b3480156104bf57600080fd5b506104d36104ce366004612194565b61098b565b005b3480156104e157600080fd5b5061033960125481565b3480156104f757600080fd5b50600e546102e390610100900460ff1681565b34801561051657600080fd5b5061033961052536600461212f565b6001600160a01b031660009081526020819052604090205490565b34801561054c57600080fd5b506104d3610a08565b34801561056157600080fd5b506104d36105703660046121bb565b610a1c565b34801561058157600080fd5b506104d361059036600461212f565b610a4f565b3480156105a157600080fd5b50600a5461037b906001600160a01b031681565b3480156105c157600080fd5b506104d36105d036600461212f565b610a9a565b3480156105e157600080fd5b506104d36105f036600461212f565b610b28565b34801561060157600080fd5b506104d3610bca565b34801561061657600080fd5b506005546001600160a01b031661037b565b34801561063457600080fd5b506102ad610be3565b34801561064957600080fd5b506104d361065836600461212f565b610bf2565b34801561066957600080fd5b506104d36106783660046121bb565b610bfa565b34801561068957600080fd5b506104d3610cb3565b34801561069e57600080fd5b506102e36106ad366004612103565b610cf1565b3480156106be57600080fd5b506102e36106cd366004612103565b610d6c565b3480156106de57600080fd5b506104d36106ed366004612194565b610d7a565b3480156106fe57600080fd5b506102e361070d36600461212f565b60086020526000908152604090205460ff1681565b34801561072e57600080fd5b50600e546102e39060ff1681565b34801561074857600080fd5b506104d36107573660046121f4565b610d82565b34801561076857600080fd5b506104d36107773660046121bb565b610eea565b34801561078857600080fd5b50610339600c5481565b34801561079e57600080fd5b50610339600f5481565b3480156107b457600080fd5b506103396107c33660046121f4565b610f51565b3480156107d457600080fd5b506104d36107e336600461212f565b610f7c565b3480156107f457600080fd5b50610339600b5481565b34801561080a57600080fd5b5061033960115481565b34801561082057600080fd5b506104d361082f36600461212f565b61108c565b34801561084057600080fd5b5061033960145481565b34801561085657600080fd5b50610339600d5481565b34801561086c57600080fd5b506102e361087b36600461212f565b6001600160a01b031660009081526009602052604090205460ff1690565b6060600380546108a890612222565b80601f01602080910402602001604051908101604052809291908181526020018280546108d490612222565b80156109215780601f106108f657610100808354040283529160200191610921565b820191906000526020600020905b81548152906001019060200180831161090457829003601f168201915b5050505050905090565b600033610939818585611105565b60019150505b92915050565b600033610953858285611229565b61095e85858561129d565b506001949350505050565b60003361093981858561097c8383610f51565b6109869190612272565b611105565b600a546001600160a01b031633146109be5760405162461bcd60e51b81526004016109b590612285565b60405180910390fd5b60008111610a035760405162461bcd60e51b81526020600482015260126024820152710416d6f756e742063616e6e6f7420626520360741b60448201526064016109b5565b600b55565b610a106119ee565b610a1a6000611a48565b565b610a246119ee565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b600a546001600160a01b03163314610a795760405162461bcd60e51b81526004016109b590612285565b6001600160a01b03166000908152600960205260409020805460ff19169055565b600a546001600160a01b03163314610ac45760405162461bcd60e51b81526004016109b590612285565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610b11576040519150601f19603f3d011682016040523d82523d6000602084013e610b16565b606091505b5050905080610b2457600080fd5b5050565b600a546001600160a01b03163314610b525760405162461bcd60e51b81526004016109b590612285565b6001600160a01b038116610ba85760405162461bcd60e51b815260206004820152601a60248201527f48656c70657220616464726573732063616e6e6f74206265203000000000000060448201526064016109b5565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b610bd26119ee565b600e805461ffff1916610101179055565b6060600480546108a890612222565b610b526119ee565b610c026119ee565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610ca95760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016109b5565b610b248282611a9a565b610cbb6119ee565b69054b40b1f852bda00000600c819055600d5560046010819055600160118190556005600f819055601392909255601455601255565b60003381610cff8286610f51565b905083811015610d5f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109b5565b61095e8286868403611105565b60003361093981858561129d565b6109be6119ee565b600a546001600160a01b03163314610dac5760405162461bcd60e51b81526004016109b590612285565b6001600160a01b038216610e025760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f74206265203000000000000060448201526064016109b5565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610e49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6d91906122bc565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af1158015610ec0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee491906122d5565b50505050565b610ef26119ee565b6001600160a01b038216600081815260066020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600a546001600160a01b03163314610fa65760405162461bcd60e51b81526004016109b590612285565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b03161415801561100557506001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14155b6110685760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f7420626c61636b6c69737420746f6b656e277320763220726f757460448201526d32b91037b9103b19103837b7b61760911b60648201526084016109b5565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6110946119ee565b6001600160a01b0381166110f95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b5565b61110281611a48565b50565b6001600160a01b0383166111675760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109b5565b6001600160a01b0382166111c85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109b5565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006112358484610f51565b90506000198114610ee457818110156112905760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109b5565b610ee48484848403611105565b6001600160a01b0383166112c35760405162461bcd60e51b81526004016109b5906122f2565b6001600160a01b0382166112e95760405162461bcd60e51b81526004016109b590612337565b6001600160a01b03831660009081526009602052604090205460ff16156113475760405162461bcd60e51b815260206004820152601260248201527114d95b99195c88189b1858dadb1a5cdd195960721b60448201526064016109b5565b6001600160a01b03821660009081526009602052604090205460ff16156113a75760405162461bcd60e51b8152602060048201526014602482015273149958d95a5d995c88189b1858dadb1a5cdd195960621b60448201526064016109b5565b806000036113c0576113bb83836000611aee565b505050565b6005546001600160a01b038481169116148015906113ec57506005546001600160a01b03838116911614155b801561140057506001600160a01b03821615155b801561141757506001600160a01b03821661dead14155b801561142c5750600e5462010000900460ff16155b1561172557600e5460ff166114bf576001600160a01b03831660009081526006602052604090205460ff168061147a57506001600160a01b03821660009081526006602052604090205460ff165b6114bf5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016109b5565b6001600160a01b03831660009081526008602052604090205460ff16801561150057506001600160a01b03821660009081526007602052604090205460ff16155b156115e457600c548111156115755760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016109b5565b600d546001600160a01b03831660009081526020819052604090205461159b9083612272565b11156115df5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109b5565b611725565b6001600160a01b03821660009081526008602052604090205460ff16801561162557506001600160a01b03831660009081526007602052604090205460ff16155b1561169b57600c548111156115df5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016109b5565b6001600160a01b03821660009081526007602052604090205460ff1661172557600d546001600160a01b0383166000908152602081905260409020546116e19083612272565b11156117255760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109b5565b30600090815260208190526040902054600b54811080159081906117505750600e54610100900460ff165b80156117655750600e5462010000900460ff16155b801561178a57506001600160a01b03851660009081526008602052604090205460ff16155b80156117af57506001600160a01b03851660009081526006602052604090205460ff16155b80156117d457506001600160a01b03841660009081526006602052604090205460ff16155b156117ff57600e805462ff00001916620100001790556117f2611c18565b600e805462ff0000191690555b600e546001600160a01b03861660009081526006602052604090205460ff6201000090920482161591168061184c57506001600160a01b03851660009081526006602052604090205460ff165b15611855575060005b600081156119da576001600160a01b03861660009081526008602052604090205460ff16801561188757506000601254115b1561190f5760646012548661189c919061237a565b6118a69190612391565b9050601254601454826118b9919061237a565b6118c39190612391565b601660008282546118d49190612272565b90915550506012546013546118e9908361237a565b6118f39190612391565b601560008282546119049190612272565b909155506119bc9050565b6001600160a01b03871660009081526008602052604090205460ff16801561193957506000600f54115b156119bc576064600f548661194e919061237a565b6119589190612391565b9050600f546011548261196b919061237a565b6119759190612391565b601660008282546119869190612272565b9091555050600f5460105461199b908361237a565b6119a59190612391565b601560008282546119b69190612272565b90915550505b80156119cd576119cd873083611aee565b6119d781866123b3565b94505b6119e5878787611aee565b50505050505050565b6005546001600160a01b03163314610a1a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109b5565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260086020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611b145760405162461bcd60e51b81526004016109b5906122f2565b6001600160a01b038216611b3a5760405162461bcd60e51b81526004016109b590612337565b6001600160a01b03831660009081526020819052604090205481811015611bb25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109b5565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610ee4565b3060009081526020819052604081205490506000601554601654611c3c9190612272565b90506000821580611c4b575081155b15611c5557505050565b600b54611c6390601461237a565b831115611c7b57600b54611c7890601461237a565b92505b600060028360165486611c8e919061237a565b611c989190612391565b611ca29190612391565b90506000611cb082866123b3565b905047611cbc82611dda565b6000611cc882476123b3565b905060006002601654611cdb9190612391565b611ce590886123b3565b601554611cf2908461237a565b611cfc9190612391565b90506000611d0a82846123b3565b9050600086118015611d1c5750600081115b15611d6f57611d2b8682611f9a565b601654604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b600060168190556015819055600a546040516001600160a01b039091169147919081818185875af1925050503d8060008114611dc7576040519150601f19603f3d011682016040523d82523d6000602084013e611dcc565b606091505b505050505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611e0f57611e0f6123c6565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eb191906123dc565b81600181518110611ec457611ec46123c6565b60200260200101906001600160a01b031690816001600160a01b031681525050611f0f307f000000000000000000000000000000000000000000000000000000000000000084611105565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611f649085906000908690309042906004016123f9565b600060405180830381600087803b158015611f7e57600080fd5b505af1158015611f92573d6000803e3d6000fd5b505050505050565b611fc5307f000000000000000000000000000000000000000000000000000000000000000084611105565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d71982308560008061200c6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015612074573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612099919061246a565b5050505050565b600060208083528351808285015260005b818110156120cd578581018301518582016040015282016120b1565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461110257600080fd5b6000806040838503121561211657600080fd5b8235612121816120ee565b946020939093013593505050565b60006020828403121561214157600080fd5b813561214c816120ee565b9392505050565b60008060006060848603121561216857600080fd5b8335612173816120ee565b92506020840135612183816120ee565b929592945050506040919091013590565b6000602082840312156121a657600080fd5b5035919050565b801515811461110257600080fd5b600080604083850312156121ce57600080fd5b82356121d9816120ee565b915060208301356121e9816121ad565b809150509250929050565b6000806040838503121561220757600080fd5b8235612212816120ee565b915060208301356121e9816120ee565b600181811c9082168061223657607f821691505b60208210810361225657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561093f5761093f61225c565b6020808252601f908201527f546f6b656e3a2063616c6c6572206973206e6f74207468652048656c70657200604082015260600190565b6000602082840312156122ce57600080fd5b5051919050565b6000602082840312156122e757600080fd5b815161214c816121ad565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b808202811582820484141761093f5761093f61225c565b6000826123ae57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561093f5761093f61225c565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156123ee57600080fd5b815161214c816120ee565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124495784516001600160a01b031683529383019391830191600101612424565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561247f57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220baa3fa24868db30f6a979f9570e1b07dc5f954b4a4c833d1ee0f201f9e80528164736f6c63430008130033

Deployed Bytecode

0x60806040526004361061028c5760003560e01c806388c90fb71161015a578063bc205ad3116100c1578063e2f456051161007a578063e2f45605146107e8578063f11a24d3146107fe578063f2fde38b14610814578063f637434214610834578063f8b45b051461084a578063fe575a871461086057600080fd5b8063bc205ad31461073c578063c02466681461075c578063c8c8ebe41461077c578063d85ba06314610792578063dd62ed3e146107a8578063e19b2823146107c857600080fd5b80639c6868af116101135780639c6868af1461067d578063a457c2d714610692578063a9059cbb146106b2578063afa4f3b2146106d2578063b62496f5146106f2578063bbc0c7421461072257600080fd5b806388c90fb7146105d55780638a8c523c146105f55780638da5cb5b1461060a57806395d89b4114610628578063986ccc7f1461063d5780639a7a23d61461065d57600080fd5b806339509351116101fe57806370a08231116101b757806370a082311461050a578063715018a6146105405780637571336a1461055557806375e3661e14610575578063782c4e99146105955780637ca8448a146105b557600080fd5b8063395093511461042657806349bd5a5e146104465780634fbee1931461047a5780636741b1fd146104b35780636a486a8e146104d55780636ddd1713146104eb57600080fd5b806318160ddd1161025057806318160ddd1461039357806319eab042146103a85780631a8145bb146103be57806323b872dd146103d457806324b9f3c1146103f4578063313ce5671461040a57600080fd5b806306fdde0314610298578063095ea7b3146102c357806310d5de53146102f3578063156c2f35146103235780631694505e1461034757600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506102ad610899565b6040516102ba91906120a0565b60405180910390f35b3480156102cf57600080fd5b506102e36102de366004612103565b61092b565b60405190151581526020016102ba565b3480156102ff57600080fd5b506102e361030e36600461212f565b60076020526000908152604090205460ff1681565b34801561032f57600080fd5b5061033960105481565b6040519081526020016102ba565b34801561035357600080fd5b5061037b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102ba565b34801561039f57600080fd5b50600254610339565b3480156103b457600080fd5b5061033960135481565b3480156103ca57600080fd5b5061033960165481565b3480156103e057600080fd5b506102e36103ef366004612153565b610945565b34801561040057600080fd5b5061033960155481565b34801561041657600080fd5b50604051601281526020016102ba565b34801561043257600080fd5b506102e3610441366004612103565b610969565b34801561045257600080fd5b5061037b7f0000000000000000000000008da23f81c6e03239da9ee4cd62e4ad86534c258581565b34801561048657600080fd5b506102e361049536600461212f565b6001600160a01b031660009081526006602052604090205460ff1690565b3480156104bf57600080fd5b506104d36104ce366004612194565b61098b565b005b3480156104e157600080fd5b5061033960125481565b3480156104f757600080fd5b50600e546102e390610100900460ff1681565b34801561051657600080fd5b5061033961052536600461212f565b6001600160a01b031660009081526020819052604090205490565b34801561054c57600080fd5b506104d3610a08565b34801561056157600080fd5b506104d36105703660046121bb565b610a1c565b34801561058157600080fd5b506104d361059036600461212f565b610a4f565b3480156105a157600080fd5b50600a5461037b906001600160a01b031681565b3480156105c157600080fd5b506104d36105d036600461212f565b610a9a565b3480156105e157600080fd5b506104d36105f036600461212f565b610b28565b34801561060157600080fd5b506104d3610bca565b34801561061657600080fd5b506005546001600160a01b031661037b565b34801561063457600080fd5b506102ad610be3565b34801561064957600080fd5b506104d361065836600461212f565b610bf2565b34801561066957600080fd5b506104d36106783660046121bb565b610bfa565b34801561068957600080fd5b506104d3610cb3565b34801561069e57600080fd5b506102e36106ad366004612103565b610cf1565b3480156106be57600080fd5b506102e36106cd366004612103565b610d6c565b3480156106de57600080fd5b506104d36106ed366004612194565b610d7a565b3480156106fe57600080fd5b506102e361070d36600461212f565b60086020526000908152604090205460ff1681565b34801561072e57600080fd5b50600e546102e39060ff1681565b34801561074857600080fd5b506104d36107573660046121f4565b610d82565b34801561076857600080fd5b506104d36107773660046121bb565b610eea565b34801561078857600080fd5b50610339600c5481565b34801561079e57600080fd5b50610339600f5481565b3480156107b457600080fd5b506103396107c33660046121f4565b610f51565b3480156107d457600080fd5b506104d36107e336600461212f565b610f7c565b3480156107f457600080fd5b50610339600b5481565b34801561080a57600080fd5b5061033960115481565b34801561082057600080fd5b506104d361082f36600461212f565b61108c565b34801561084057600080fd5b5061033960145481565b34801561085657600080fd5b50610339600d5481565b34801561086c57600080fd5b506102e361087b36600461212f565b6001600160a01b031660009081526009602052604090205460ff1690565b6060600380546108a890612222565b80601f01602080910402602001604051908101604052809291908181526020018280546108d490612222565b80156109215780601f106108f657610100808354040283529160200191610921565b820191906000526020600020905b81548152906001019060200180831161090457829003601f168201915b5050505050905090565b600033610939818585611105565b60019150505b92915050565b600033610953858285611229565b61095e85858561129d565b506001949350505050565b60003361093981858561097c8383610f51565b6109869190612272565b611105565b600a546001600160a01b031633146109be5760405162461bcd60e51b81526004016109b590612285565b60405180910390fd5b60008111610a035760405162461bcd60e51b81526020600482015260126024820152710416d6f756e742063616e6e6f7420626520360741b60448201526064016109b5565b600b55565b610a106119ee565b610a1a6000611a48565b565b610a246119ee565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b600a546001600160a01b03163314610a795760405162461bcd60e51b81526004016109b590612285565b6001600160a01b03166000908152600960205260409020805460ff19169055565b600a546001600160a01b03163314610ac45760405162461bcd60e51b81526004016109b590612285565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610b11576040519150601f19603f3d011682016040523d82523d6000602084013e610b16565b606091505b5050905080610b2457600080fd5b5050565b600a546001600160a01b03163314610b525760405162461bcd60e51b81526004016109b590612285565b6001600160a01b038116610ba85760405162461bcd60e51b815260206004820152601a60248201527f48656c70657220616464726573732063616e6e6f74206265203000000000000060448201526064016109b5565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b610bd26119ee565b600e805461ffff1916610101179055565b6060600480546108a890612222565b610b526119ee565b610c026119ee565b7f0000000000000000000000008da23f81c6e03239da9ee4cd62e4ad86534c25856001600160a01b0316826001600160a01b031603610ca95760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016109b5565b610b248282611a9a565b610cbb6119ee565b69054b40b1f852bda00000600c819055600d5560046010819055600160118190556005600f819055601392909255601455601255565b60003381610cff8286610f51565b905083811015610d5f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109b5565b61095e8286868403611105565b60003361093981858561129d565b6109be6119ee565b600a546001600160a01b03163314610dac5760405162461bcd60e51b81526004016109b590612285565b6001600160a01b038216610e025760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f74206265203000000000000060448201526064016109b5565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610e49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6d91906122bc565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af1158015610ec0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee491906122d5565b50505050565b610ef26119ee565b6001600160a01b038216600081815260066020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600a546001600160a01b03163314610fa65760405162461bcd60e51b81526004016109b590612285565b7f0000000000000000000000008da23f81c6e03239da9ee4cd62e4ad86534c25856001600160a01b0316816001600160a01b03161415801561100557506001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14155b6110685760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f7420626c61636b6c69737420746f6b656e277320763220726f757460448201526d32b91037b9103b19103837b7b61760911b60648201526084016109b5565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6110946119ee565b6001600160a01b0381166110f95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b5565b61110281611a48565b50565b6001600160a01b0383166111675760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109b5565b6001600160a01b0382166111c85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109b5565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006112358484610f51565b90506000198114610ee457818110156112905760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109b5565b610ee48484848403611105565b6001600160a01b0383166112c35760405162461bcd60e51b81526004016109b5906122f2565b6001600160a01b0382166112e95760405162461bcd60e51b81526004016109b590612337565b6001600160a01b03831660009081526009602052604090205460ff16156113475760405162461bcd60e51b815260206004820152601260248201527114d95b99195c88189b1858dadb1a5cdd195960721b60448201526064016109b5565b6001600160a01b03821660009081526009602052604090205460ff16156113a75760405162461bcd60e51b8152602060048201526014602482015273149958d95a5d995c88189b1858dadb1a5cdd195960621b60448201526064016109b5565b806000036113c0576113bb83836000611aee565b505050565b6005546001600160a01b038481169116148015906113ec57506005546001600160a01b03838116911614155b801561140057506001600160a01b03821615155b801561141757506001600160a01b03821661dead14155b801561142c5750600e5462010000900460ff16155b1561172557600e5460ff166114bf576001600160a01b03831660009081526006602052604090205460ff168061147a57506001600160a01b03821660009081526006602052604090205460ff165b6114bf5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016109b5565b6001600160a01b03831660009081526008602052604090205460ff16801561150057506001600160a01b03821660009081526007602052604090205460ff16155b156115e457600c548111156115755760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016109b5565b600d546001600160a01b03831660009081526020819052604090205461159b9083612272565b11156115df5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109b5565b611725565b6001600160a01b03821660009081526008602052604090205460ff16801561162557506001600160a01b03831660009081526007602052604090205460ff16155b1561169b57600c548111156115df5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016109b5565b6001600160a01b03821660009081526007602052604090205460ff1661172557600d546001600160a01b0383166000908152602081905260409020546116e19083612272565b11156117255760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109b5565b30600090815260208190526040902054600b54811080159081906117505750600e54610100900460ff165b80156117655750600e5462010000900460ff16155b801561178a57506001600160a01b03851660009081526008602052604090205460ff16155b80156117af57506001600160a01b03851660009081526006602052604090205460ff16155b80156117d457506001600160a01b03841660009081526006602052604090205460ff16155b156117ff57600e805462ff00001916620100001790556117f2611c18565b600e805462ff0000191690555b600e546001600160a01b03861660009081526006602052604090205460ff6201000090920482161591168061184c57506001600160a01b03851660009081526006602052604090205460ff165b15611855575060005b600081156119da576001600160a01b03861660009081526008602052604090205460ff16801561188757506000601254115b1561190f5760646012548661189c919061237a565b6118a69190612391565b9050601254601454826118b9919061237a565b6118c39190612391565b601660008282546118d49190612272565b90915550506012546013546118e9908361237a565b6118f39190612391565b601560008282546119049190612272565b909155506119bc9050565b6001600160a01b03871660009081526008602052604090205460ff16801561193957506000600f54115b156119bc576064600f548661194e919061237a565b6119589190612391565b9050600f546011548261196b919061237a565b6119759190612391565b601660008282546119869190612272565b9091555050600f5460105461199b908361237a565b6119a59190612391565b601560008282546119b69190612272565b90915550505b80156119cd576119cd873083611aee565b6119d781866123b3565b94505b6119e5878787611aee565b50505050505050565b6005546001600160a01b03163314610a1a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109b5565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260086020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611b145760405162461bcd60e51b81526004016109b5906122f2565b6001600160a01b038216611b3a5760405162461bcd60e51b81526004016109b590612337565b6001600160a01b03831660009081526020819052604090205481811015611bb25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109b5565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610ee4565b3060009081526020819052604081205490506000601554601654611c3c9190612272565b90506000821580611c4b575081155b15611c5557505050565b600b54611c6390601461237a565b831115611c7b57600b54611c7890601461237a565b92505b600060028360165486611c8e919061237a565b611c989190612391565b611ca29190612391565b90506000611cb082866123b3565b905047611cbc82611dda565b6000611cc882476123b3565b905060006002601654611cdb9190612391565b611ce590886123b3565b601554611cf2908461237a565b611cfc9190612391565b90506000611d0a82846123b3565b9050600086118015611d1c5750600081115b15611d6f57611d2b8682611f9a565b601654604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b600060168190556015819055600a546040516001600160a01b039091169147919081818185875af1925050503d8060008114611dc7576040519150601f19603f3d011682016040523d82523d6000602084013e611dcc565b606091505b505050505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611e0f57611e0f6123c6565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eb191906123dc565b81600181518110611ec457611ec46123c6565b60200260200101906001600160a01b031690816001600160a01b031681525050611f0f307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611105565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611f649085906000908690309042906004016123f9565b600060405180830381600087803b158015611f7e57600080fd5b505af1158015611f92573d6000803e3d6000fd5b505050505050565b611fc5307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611105565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d71982308560008061200c6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015612074573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612099919061246a565b5050505050565b600060208083528351808285015260005b818110156120cd578581018301518582016040015282016120b1565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461110257600080fd5b6000806040838503121561211657600080fd5b8235612121816120ee565b946020939093013593505050565b60006020828403121561214157600080fd5b813561214c816120ee565b9392505050565b60008060006060848603121561216857600080fd5b8335612173816120ee565b92506020840135612183816120ee565b929592945050506040919091013590565b6000602082840312156121a657600080fd5b5035919050565b801515811461110257600080fd5b600080604083850312156121ce57600080fd5b82356121d9816120ee565b915060208301356121e9816121ad565b809150509250929050565b6000806040838503121561220757600080fd5b8235612212816120ee565b915060208301356121e9816120ee565b600181811c9082168061223657607f821691505b60208210810361225657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561093f5761093f61225c565b6020808252601f908201527f546f6b656e3a2063616c6c6572206973206e6f74207468652048656c70657200604082015260600190565b6000602082840312156122ce57600080fd5b5051919050565b6000602082840312156122e757600080fd5b815161214c816121ad565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b808202811582820484141761093f5761093f61225c565b6000826123ae57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561093f5761093f61225c565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156123ee57600080fd5b815161214c816120ee565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124495784516001600160a01b031683529383019391830191600101612424565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561247f57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220baa3fa24868db30f6a979f9570e1b07dc5f954b4a4c833d1ee0f201f9e80528164736f6c63430008130033

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.