ETH Price: $2,817.95 (+4.58%)

Token

Blockchain ASCII Art (BASCII)
 

Overview

Max Total Supply

9,970,000 BASCII

Holders

15

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
33,682.930998530695451688 BASCII

Value
$0.00
0x8e841ddc4a5a0c8792434975c6f2e7f16c085cbe
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:
BlockchainASCIIArt

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : BlockchainASCIIArt.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;

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

contract BlockchainASCIIArt is ERC20, Ownable {
  uint256 public launched;
  bool public taxesOn = true;
  bool public swapEnabled = true;
  address public dexPair;
  IUniswapV2Router02 _dexRouter;

  struct ArtImgURL {
    address user;
    string url;
  }

  uint256 public artCost;
  ArtImgURL[] public artImgUrls;
  mapping(bytes32 => ArtImgURL) public processedArt;
  bytes32[] public processedArtTxns;

  bool _locked;
  modifier swapLock() {
    _locked = true;
    _;
    _locked = false;
  }

  event BuyArt(address indexed user, string imgUrl);

  constructor() ERC20('Blockchain ASCII Art', 'BASCII') {
    _mint(msg.sender, 10_000_000 * 10**18);
    artCost = (totalSupply() * 1) / 100;
    _dexRouter = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    dexPair = IUniswapV2Factory(_dexRouter.factory()).createPair(
      address(this),
      _dexRouter.WETH()
    );
    launched = block.timestamp;
  }

  function _transfer(
    address sender,
    address recipient,
    uint256 amount
  ) internal virtual override {
    bool _dexBuy = sender == dexPair && recipient != address(_dexRouter);
    bool _dexSell = recipient == dexPair;

    if (_dexBuy) {
      if (block.timestamp < launched + 120 minutes) {
        require(
          balanceOf(recipient) + amount <= (totalSupply() * 1) / 100,
          '1PERC'
        );
      }
    }

    uint256 _contBal = balanceOf(address(this));
    uint256 _sbAmount = (totalSupply() * 1) / 1000;
    bool _hasMin = _contBal >= _sbAmount;
    if (!_locked && swapEnabled && _hasMin && sender != dexPair) {
      _swapBack(_sbAmount);
    }

    uint256 _tax;
    if (taxesOn && (_dexBuy || _dexSell)) {
      if (block.timestamp < launched + 120 minutes) {
        _tax = (amount * 18) / 100;
      } else if (block.timestamp < launched + 240 minutes) {
        _tax = (amount * 15) / 100;
      } else if (block.timestamp < launched + 420 minutes) {
        _tax = (amount * 10) / 100;
      } else if (block.timestamp < launched + 30 days) {
        _tax = (amount * 5) / 100;
      }
      if (_tax > 0) {
        super._transfer(sender, address(this), _tax);
      }
    }
    super._transfer(sender, recipient, amount - _tax);
  }

  function _swapBack(uint256 _sbAmount) internal swapLock {
    address[] memory path = new address[](2);
    path[0] = address(this);
    path[1] = _dexRouter.WETH();

    _approve(address(this), address(_dexRouter), _sbAmount);
    _dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
      _sbAmount,
      0,
      path,
      address(this),
      block.timestamp
    );
    uint256 _eth = address(this).balance;
    if (_eth > 0) {
      (bool _success, ) = payable(owner()).call{ value: _eth }('');
      require(_success, 'OWNETH');
    }
  }

  function getNumPendingArt() external view returns (uint256) {
    return artImgUrls.length;
  }

  function getNumProcessedArt() external view returns (uint256) {
    return processedArtTxns.length;
  }

  function buyArt(string memory _imgUrl) external {
    _burn(msg.sender, artCost);
    artImgUrls.push(ArtImgURL({ user: msg.sender, url: _imgUrl }));
    emit BuyArt(msg.sender, _imgUrl);
  }

  function processArt(uint256 _idx, bytes32 _txn) external onlyOwner {
    processedArt[_txn] = artImgUrls[_idx];
    processedArtTxns.push(_txn);
    artImgUrls[_idx] = artImgUrls[artImgUrls.length - 1];
    artImgUrls.pop();
  }

  function setArtCost(uint256 _cost) external onlyOwner {
    require(_cost <= (totalSupply() * 10) / 100, 'COST');
    artCost = _cost;
  }

  function setSwapEnabled(bool _enabled) external onlyOwner {
    require(swapEnabled != _enabled);
    swapEnabled = _enabled;
  }

  function setTaxesOn(bool _is) external onlyOwner {
    require(taxesOn != _is);
    taxesOn = _is;
  }

  receive() external payable {}
}

File 2 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

File 3 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[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 = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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;
        }
        _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;
        _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;
        }
        _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 Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

File 4 of 9 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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

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

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

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

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

File 5 of 9 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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

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

File 6 of 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 7 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

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

File 8 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 9 of 9 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

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

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"user","type":"address"},{"indexed":false,"internalType":"string","name":"imgUrl","type":"string"}],"name":"BuyArt","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"artCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"artImgUrls","outputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"string","name":"url","type":"string"}],"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":"string","name":"_imgUrl","type":"string"}],"name":"buyArt","outputs":[],"stateMutability":"nonpayable","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":"dexPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumPendingArt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumProcessedArt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launched","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":[{"internalType":"uint256","name":"_idx","type":"uint256"},{"internalType":"bytes32","name":"_txn","type":"bytes32"}],"name":"processArt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"processedArt","outputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"string","name":"url","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"processedArtTxns","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setArtCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_is","type":"bool"}],"name":"setTaxesOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxesOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"stateMutability":"payable","type":"receive"}]

60806040526007805461ffff19166101011790553480156200002057600080fd5b506040518060400160405280601481526020017f426c6f636b636861696e204153434949204172740000000000000000000000008152506040518060400160405280600681526020016542415343494960d01b815250816003908162000087919062000494565b50600462000096828262000494565b505050620000b3620000ad620002ad60201b60201c565b620002b1565b620000ca336a084595161401484a00000062000303565b6064620000d660025490565b620000e390600162000576565b620000ef919062000598565b600955600880546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000157573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017d9190620005bb565b6001600160a01b031663c9c6539630600860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002069190620005bb565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000254573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200027a9190620005bb565b600780546001600160a01b0392909216620100000262010000600160b01b03199092169190911790554260065562000609565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200035e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620003729190620005ed565b90915550506001600160a01b03821660009081526020819052604081208054839290620003a1908490620005ed565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200041b57607f821691505b6020821081036200043c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003eb57600081815260208120601f850160051c810160208610156200046b5750805b601f850160051c820191505b818110156200048c5782815560010162000477565b505050505050565b81516001600160401b03811115620004b057620004b0620003f0565b620004c881620004c1845462000406565b8462000442565b602080601f831160018114620005005760008415620004e75750858301515b600019600386901b1c1916600185901b1785556200048c565b600085815260208120601f198616915b82811015620005315788860151825594840194600190910190840162000510565b5085821015620005505787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161562000593576200059362000560565b500290565b600082620005b657634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215620005ce57600080fd5b81516001600160a01b0381168114620005e657600080fd5b9392505050565b8082018082111562000603576200060362000560565b92915050565b611d2d80620006196000396000f3fe6080604052600436106101c65760003560e01c806386542f16116100f7578063baa3580211610095578063e0f3d7ea11610064578063e0f3d7ea1461052a578063f242ab411461054a578063f2fde38b14610570578063f54f1e2c1461059057600080fd5b8063baa358021461048a578063c16804da146104aa578063dd62ed3e146104c4578063e01af92c1461050a57600080fd5b80639b9ea39a116100d15780639b9ea39a1461040a578063a457c2d71461042a578063a9059cbb1461044a578063b94c6ad11461046a57600080fd5b806386542f16146103a35780638da5cb5b146103c357806395d89b41146103f557600080fd5b80633a869536116101645780636ddd17131161013e5780636ddd17131461032357806370a0823114610342578063715018a6146103785780638091f3bf1461038d57600080fd5b80633a869536146102bd57806364c6422c146102eb5780636914ac531461030157600080fd5b8063209093b0116101a0578063209093b01461024c57806323b872dd14610261578063313ce56714610281578063395093511461029d57600080fd5b806306fdde03146101d2578063095ea7b3146101fd57806318160ddd1461022d57600080fd5b366101cd57005b600080fd5b3480156101de57600080fd5b506101e76105a5565b6040516101f4919061174f565b60405180910390f35b34801561020957600080fd5b5061021d61021836600461177e565b610637565b60405190151581526020016101f4565b34801561023957600080fd5b506002545b6040519081526020016101f4565b34801561025857600080fd5b50600a5461023e565b34801561026d57600080fd5b5061021d61027c3660046117aa565b610651565b34801561028d57600080fd5b50604051601281526020016101f4565b3480156102a957600080fd5b5061021d6102b836600461177e565b610675565b3480156102c957600080fd5b506102dd6102d83660046117eb565b6106b4565b6040516101f4929190611804565b3480156102f757600080fd5b5061023e60095481565b34801561030d57600080fd5b5061032161031c366004611830565b610776565b005b34801561032f57600080fd5b5060075461021d90610100900460ff1681565b34801561034e57600080fd5b5061023e61035d366004611852565b6001600160a01b031660009081526020819052604090205490565b34801561038457600080fd5b50610321610913565b34801561039957600080fd5b5061023e60065481565b3480156103af57600080fd5b506103216103be3660046117eb565b610949565b3480156103cf57600080fd5b506005546001600160a01b03165b6040516001600160a01b0390911681526020016101f4565b34801561040157600080fd5b506101e76109d0565b34801561041657600080fd5b5061032161042536600461186f565b6109df565b34801561043657600080fd5b5061021d61044536600461177e565b610a33565b34801561045657600080fd5b5061021d61046536600461177e565b610ac5565b34801561047657600080fd5b506103216104853660046118a7565b610ad3565b34801561049657600080fd5b5061023e6104a53660046117eb565b610bc3565b3480156104b657600080fd5b5060075461021d9060ff1681565b3480156104d057600080fd5b5061023e6104df366004611958565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561051657600080fd5b5061032161052536600461186f565b610be4565b34801561053657600080fd5b506102dd6105453660046117eb565b610c47565b34801561055657600080fd5b506007546103dd906201000090046001600160a01b031681565b34801561057c57600080fd5b5061032161058b366004611852565b610c73565b34801561059c57600080fd5b50600c5461023e565b6060600380546105b490611991565b80601f01602080910402602001604051908101604052809291908181526020018280546105e090611991565b801561062d5780601f106106025761010080835404028352916020019161062d565b820191906000526020600020905b81548152906001019060200180831161061057829003601f168201915b5050505050905090565b600033610645818585610d0e565b60019150505b92915050565b60003361065f858285610e33565b61066a858585610ec5565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061064590829086906106af9087906119e1565b610d0e565b600a81815481106106c457600080fd5b6000918252602090912060029091020180546001820180546001600160a01b039092169350906106f390611991565b80601f016020809104026020016040519081016040528092919081815260200182805461071f90611991565b801561076c5780601f106107415761010080835404028352916020019161076c565b820191906000526020600020905b81548152906001019060200180831161074f57829003601f168201915b5050505050905082565b6005546001600160a01b031633146107a95760405162461bcd60e51b81526004016107a0906119f4565b60405180910390fd5b600a82815481106107bc576107bc611a29565b60009182526020808320848452600b90915260409092206002909102909101805482546001600160a01b0319166001600160a01b039091161782559060018082019061080a90840182611a8d565b5050600c8054600181810183556000929092527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c701839055600a80549092506108539190611b6e565b8154811061086357610863611a29565b9060005260206000209060020201600a838154811061088457610884611a29565b60009182526020909120825460029092020180546001600160a01b0319166001600160a01b039092169190911781556001808201906108c590840182611a8d565b50905050600a8054806108da576108da611b81565b60008281526020812060026000199093019283020180546001600160a01b03191681559061090b60018301826116bb565b505090555050565b6005546001600160a01b0316331461093d5760405162461bcd60e51b81526004016107a0906119f4565b6109476000611136565b565b6005546001600160a01b031633146109735760405162461bcd60e51b81526004016107a0906119f4565b606461097e60025490565b61098990600a611b97565b6109939190611bb6565b8111156109cb5760405162461bcd60e51b81526004016107a09060208082526004908201526310d3d4d560e21b604082015260600190565b600955565b6060600480546105b490611991565b6005546001600160a01b03163314610a095760405162461bcd60e51b81526004016107a0906119f4565b60075481151560ff909116151503610a2057600080fd5b6007805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610ab85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107a0565b61066a8286868403610d0e565b600033610645818585610ec5565b610adf33600954611188565b6040805180820190915233815260208101828152600a805460018101825560009190915282517fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8600290920291820180546001600160a01b0319166001600160a01b0390921691909117815591517fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a990910190610b7c9082611bd8565b505050336001600160a01b03167fa33663611c430fe3a169d74e52d2e56d6e5dbde20f0e9c7bc69c1d07ede834f382604051610bb8919061174f565b60405180910390a250565b600c8181548110610bd357600080fd5b600091825260209091200154905081565b6005546001600160a01b03163314610c0e5760405162461bcd60e51b81526004016107a0906119f4565b801515600760019054906101000a900460ff16151503610c2d57600080fd5b600780549115156101000261ff0019909216919091179055565b600b60205260009081526040902080546001820180546001600160a01b0390921692916106f390611991565b6005546001600160a01b03163314610c9d5760405162461bcd60e51b81526004016107a0906119f4565b6001600160a01b038116610d025760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107a0565b610d0b81611136565b50565b6001600160a01b038316610d705760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107a0565b6001600160a01b038216610dd15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107a0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610ebf5781811015610eb25760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107a0565b610ebf8484848403610d0e565b50505050565b6007546000906001600160a01b038581166201000090920416148015610ef957506008546001600160a01b03848116911614155b6007549091506001600160a01b038481166201000090920416148115610faf57600654610f2890611c206119e1565b421015610faf576064610f3a60025490565b610f45906001611b97565b610f4f9190611bb6565b83610f6f866001600160a01b031660009081526020819052604090205490565b610f7991906119e1565b1115610faf5760405162461bcd60e51b8152602060048201526005602482015264315045524360d81b60448201526064016107a0565b30600090815260208190526040812054905060006103e8610fcf60025490565b610fda906001611b97565b610fe49190611bb6565b600d54909150818310159060ff161580156110065750600754610100900460ff165b801561100f5750805b801561102f57506007546001600160a01b03898116620100009092041614155b1561103d5761103d826112d3565b60075460009060ff168015611056575085806110565750845b156111175760065461106a90611c206119e1565b42101561108f57606461107e886012611b97565b6110889190611bb6565b9050611106565b60065461109e906138406119e1565b4210156110b257606461107e88600f611b97565b6006546110c1906162706119e1565b4210156110d557606461107e88600a611b97565b6006546110e59062278d006119e1565b4210156111065760646110f9886005611b97565b6111039190611bb6565b90505b8015611117576111178930836114ed565b61112b8989611126848b611b6e565b6114ed565b505050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166111e85760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107a0565b6001600160a01b0382166000908152602081905260409020548181101561125c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107a0565b6001600160a01b038316600090815260208190526040812083830390556002805484929061128b908490611b6e565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610e26565b505050565b600d805460ff19166001179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061131557611315611a29565b6001600160a01b03928316602091820292909201810191909152600854604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561136e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113929190611c92565b816001815181106113a5576113a5611a29565b6001600160a01b0392831660209182029290920101526008546113cb9130911684610d0e565b60085460405163791ac94760e01b81526001600160a01b039091169063791ac94790611404908590600090869030904290600401611caf565b600060405180830381600087803b15801561141e57600080fd5b505af1158015611432573d6000803e3d6000fd5b5047925050811590506114de5760006114536005546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d806000811461149d576040519150601f19603f3d011682016040523d82523d6000602084013e6114a2565b606091505b50509050806114dc5760405162461bcd60e51b815260206004820152600660248201526509eae9c8aa8960d31b60448201526064016107a0565b505b5050600d805460ff1916905550565b6001600160a01b0383166115515760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107a0565b6001600160a01b0382166115b35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107a0565b6001600160a01b0383166000908152602081905260409020548181101561162b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107a0565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906116629084906119e1565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516116ae91815260200190565b60405180910390a3610ebf565b5080546116c790611991565b6000825580601f106116d7575050565b601f016020900490600052602060002090810190610d0b91905b8082111561170557600081556001016116f1565b5090565b6000815180845260005b8181101561172f57602081850181015186830182015201611713565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006117626020830184611709565b9392505050565b6001600160a01b0381168114610d0b57600080fd5b6000806040838503121561179157600080fd5b823561179c81611769565b946020939093013593505050565b6000806000606084860312156117bf57600080fd5b83356117ca81611769565b925060208401356117da81611769565b929592945050506040919091013590565b6000602082840312156117fd57600080fd5b5035919050565b6001600160a01b038316815260406020820181905260009061182890830184611709565b949350505050565b6000806040838503121561184357600080fd5b50508035926020909101359150565b60006020828403121561186457600080fd5b813561176281611769565b60006020828403121561188157600080fd5b8135801515811461176257600080fd5b634e487b7160e01b600052604160045260246000fd5b6000602082840312156118b957600080fd5b813567ffffffffffffffff808211156118d157600080fd5b818401915084601f8301126118e557600080fd5b8135818111156118f7576118f7611891565b604051601f8201601f19908116603f0116810190838211818310171561191f5761191f611891565b8160405282815287602084870101111561193857600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000806040838503121561196b57600080fd5b823561197681611769565b9150602083013561198681611769565b809150509250929050565b600181811c908216806119a557607f821691505b6020821081036119c557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561064b5761064b6119cb565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b601f8211156112ce57600081815260208120601f850160051c81016020861015611a665750805b601f850160051c820191505b81811015611a8557828155600101611a72565b505050505050565b818103611a98575050565b611aa28254611991565b67ffffffffffffffff811115611aba57611aba611891565b611ace81611ac88454611991565b84611a3f565b6000601f821160018114611b025760008315611aea5750848201545b600019600385901b1c1916600184901b178455611b67565b600085815260209020601f19841690600086815260209020845b83811015611b3c5782860154825560019586019590910190602001611b1c565b5085831015611b5a5781850154600019600388901b60f8161c191681555b50505060018360011b0184555b5050505050565b8181038181111561064b5761064b6119cb565b634e487b7160e01b600052603160045260246000fd5b6000816000190483118215151615611bb157611bb16119cb565b500290565b600082611bd357634e487b7160e01b600052601260045260246000fd5b500490565b815167ffffffffffffffff811115611bf257611bf2611891565b611c0081611ac88454611991565b602080601f831160018114611c355760008415611c1d5750858301515b600019600386901b1c1916600185901b178555611a85565b600085815260208120601f198616915b82811015611c6457888601518255948401946001909101908401611c45565b5085821015611c825787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611ca457600080fd5b815161176281611769565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611cff5784516001600160a01b031683529383019391830191600101611cda565b50506001600160a01b0396909616606085015250505060800152939250505056fea164736f6c6343000810000a

Deployed Bytecode

0x6080604052600436106101c65760003560e01c806386542f16116100f7578063baa3580211610095578063e0f3d7ea11610064578063e0f3d7ea1461052a578063f242ab411461054a578063f2fde38b14610570578063f54f1e2c1461059057600080fd5b8063baa358021461048a578063c16804da146104aa578063dd62ed3e146104c4578063e01af92c1461050a57600080fd5b80639b9ea39a116100d15780639b9ea39a1461040a578063a457c2d71461042a578063a9059cbb1461044a578063b94c6ad11461046a57600080fd5b806386542f16146103a35780638da5cb5b146103c357806395d89b41146103f557600080fd5b80633a869536116101645780636ddd17131161013e5780636ddd17131461032357806370a0823114610342578063715018a6146103785780638091f3bf1461038d57600080fd5b80633a869536146102bd57806364c6422c146102eb5780636914ac531461030157600080fd5b8063209093b0116101a0578063209093b01461024c57806323b872dd14610261578063313ce56714610281578063395093511461029d57600080fd5b806306fdde03146101d2578063095ea7b3146101fd57806318160ddd1461022d57600080fd5b366101cd57005b600080fd5b3480156101de57600080fd5b506101e76105a5565b6040516101f4919061174f565b60405180910390f35b34801561020957600080fd5b5061021d61021836600461177e565b610637565b60405190151581526020016101f4565b34801561023957600080fd5b506002545b6040519081526020016101f4565b34801561025857600080fd5b50600a5461023e565b34801561026d57600080fd5b5061021d61027c3660046117aa565b610651565b34801561028d57600080fd5b50604051601281526020016101f4565b3480156102a957600080fd5b5061021d6102b836600461177e565b610675565b3480156102c957600080fd5b506102dd6102d83660046117eb565b6106b4565b6040516101f4929190611804565b3480156102f757600080fd5b5061023e60095481565b34801561030d57600080fd5b5061032161031c366004611830565b610776565b005b34801561032f57600080fd5b5060075461021d90610100900460ff1681565b34801561034e57600080fd5b5061023e61035d366004611852565b6001600160a01b031660009081526020819052604090205490565b34801561038457600080fd5b50610321610913565b34801561039957600080fd5b5061023e60065481565b3480156103af57600080fd5b506103216103be3660046117eb565b610949565b3480156103cf57600080fd5b506005546001600160a01b03165b6040516001600160a01b0390911681526020016101f4565b34801561040157600080fd5b506101e76109d0565b34801561041657600080fd5b5061032161042536600461186f565b6109df565b34801561043657600080fd5b5061021d61044536600461177e565b610a33565b34801561045657600080fd5b5061021d61046536600461177e565b610ac5565b34801561047657600080fd5b506103216104853660046118a7565b610ad3565b34801561049657600080fd5b5061023e6104a53660046117eb565b610bc3565b3480156104b657600080fd5b5060075461021d9060ff1681565b3480156104d057600080fd5b5061023e6104df366004611958565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561051657600080fd5b5061032161052536600461186f565b610be4565b34801561053657600080fd5b506102dd6105453660046117eb565b610c47565b34801561055657600080fd5b506007546103dd906201000090046001600160a01b031681565b34801561057c57600080fd5b5061032161058b366004611852565b610c73565b34801561059c57600080fd5b50600c5461023e565b6060600380546105b490611991565b80601f01602080910402602001604051908101604052809291908181526020018280546105e090611991565b801561062d5780601f106106025761010080835404028352916020019161062d565b820191906000526020600020905b81548152906001019060200180831161061057829003601f168201915b5050505050905090565b600033610645818585610d0e565b60019150505b92915050565b60003361065f858285610e33565b61066a858585610ec5565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061064590829086906106af9087906119e1565b610d0e565b600a81815481106106c457600080fd5b6000918252602090912060029091020180546001820180546001600160a01b039092169350906106f390611991565b80601f016020809104026020016040519081016040528092919081815260200182805461071f90611991565b801561076c5780601f106107415761010080835404028352916020019161076c565b820191906000526020600020905b81548152906001019060200180831161074f57829003601f168201915b5050505050905082565b6005546001600160a01b031633146107a95760405162461bcd60e51b81526004016107a0906119f4565b60405180910390fd5b600a82815481106107bc576107bc611a29565b60009182526020808320848452600b90915260409092206002909102909101805482546001600160a01b0319166001600160a01b039091161782559060018082019061080a90840182611a8d565b5050600c8054600181810183556000929092527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c701839055600a80549092506108539190611b6e565b8154811061086357610863611a29565b9060005260206000209060020201600a838154811061088457610884611a29565b60009182526020909120825460029092020180546001600160a01b0319166001600160a01b039092169190911781556001808201906108c590840182611a8d565b50905050600a8054806108da576108da611b81565b60008281526020812060026000199093019283020180546001600160a01b03191681559061090b60018301826116bb565b505090555050565b6005546001600160a01b0316331461093d5760405162461bcd60e51b81526004016107a0906119f4565b6109476000611136565b565b6005546001600160a01b031633146109735760405162461bcd60e51b81526004016107a0906119f4565b606461097e60025490565b61098990600a611b97565b6109939190611bb6565b8111156109cb5760405162461bcd60e51b81526004016107a09060208082526004908201526310d3d4d560e21b604082015260600190565b600955565b6060600480546105b490611991565b6005546001600160a01b03163314610a095760405162461bcd60e51b81526004016107a0906119f4565b60075481151560ff909116151503610a2057600080fd5b6007805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610ab85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107a0565b61066a8286868403610d0e565b600033610645818585610ec5565b610adf33600954611188565b6040805180820190915233815260208101828152600a805460018101825560009190915282517fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8600290920291820180546001600160a01b0319166001600160a01b0390921691909117815591517fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a990910190610b7c9082611bd8565b505050336001600160a01b03167fa33663611c430fe3a169d74e52d2e56d6e5dbde20f0e9c7bc69c1d07ede834f382604051610bb8919061174f565b60405180910390a250565b600c8181548110610bd357600080fd5b600091825260209091200154905081565b6005546001600160a01b03163314610c0e5760405162461bcd60e51b81526004016107a0906119f4565b801515600760019054906101000a900460ff16151503610c2d57600080fd5b600780549115156101000261ff0019909216919091179055565b600b60205260009081526040902080546001820180546001600160a01b0390921692916106f390611991565b6005546001600160a01b03163314610c9d5760405162461bcd60e51b81526004016107a0906119f4565b6001600160a01b038116610d025760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107a0565b610d0b81611136565b50565b6001600160a01b038316610d705760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107a0565b6001600160a01b038216610dd15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107a0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610ebf5781811015610eb25760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107a0565b610ebf8484848403610d0e565b50505050565b6007546000906001600160a01b038581166201000090920416148015610ef957506008546001600160a01b03848116911614155b6007549091506001600160a01b038481166201000090920416148115610faf57600654610f2890611c206119e1565b421015610faf576064610f3a60025490565b610f45906001611b97565b610f4f9190611bb6565b83610f6f866001600160a01b031660009081526020819052604090205490565b610f7991906119e1565b1115610faf5760405162461bcd60e51b8152602060048201526005602482015264315045524360d81b60448201526064016107a0565b30600090815260208190526040812054905060006103e8610fcf60025490565b610fda906001611b97565b610fe49190611bb6565b600d54909150818310159060ff161580156110065750600754610100900460ff165b801561100f5750805b801561102f57506007546001600160a01b03898116620100009092041614155b1561103d5761103d826112d3565b60075460009060ff168015611056575085806110565750845b156111175760065461106a90611c206119e1565b42101561108f57606461107e886012611b97565b6110889190611bb6565b9050611106565b60065461109e906138406119e1565b4210156110b257606461107e88600f611b97565b6006546110c1906162706119e1565b4210156110d557606461107e88600a611b97565b6006546110e59062278d006119e1565b4210156111065760646110f9886005611b97565b6111039190611bb6565b90505b8015611117576111178930836114ed565b61112b8989611126848b611b6e565b6114ed565b505050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166111e85760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107a0565b6001600160a01b0382166000908152602081905260409020548181101561125c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107a0565b6001600160a01b038316600090815260208190526040812083830390556002805484929061128b908490611b6e565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610e26565b505050565b600d805460ff19166001179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061131557611315611a29565b6001600160a01b03928316602091820292909201810191909152600854604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561136e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113929190611c92565b816001815181106113a5576113a5611a29565b6001600160a01b0392831660209182029290920101526008546113cb9130911684610d0e565b60085460405163791ac94760e01b81526001600160a01b039091169063791ac94790611404908590600090869030904290600401611caf565b600060405180830381600087803b15801561141e57600080fd5b505af1158015611432573d6000803e3d6000fd5b5047925050811590506114de5760006114536005546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d806000811461149d576040519150601f19603f3d011682016040523d82523d6000602084013e6114a2565b606091505b50509050806114dc5760405162461bcd60e51b815260206004820152600660248201526509eae9c8aa8960d31b60448201526064016107a0565b505b5050600d805460ff1916905550565b6001600160a01b0383166115515760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107a0565b6001600160a01b0382166115b35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107a0565b6001600160a01b0383166000908152602081905260409020548181101561162b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107a0565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906116629084906119e1565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516116ae91815260200190565b60405180910390a3610ebf565b5080546116c790611991565b6000825580601f106116d7575050565b601f016020900490600052602060002090810190610d0b91905b8082111561170557600081556001016116f1565b5090565b6000815180845260005b8181101561172f57602081850181015186830182015201611713565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006117626020830184611709565b9392505050565b6001600160a01b0381168114610d0b57600080fd5b6000806040838503121561179157600080fd5b823561179c81611769565b946020939093013593505050565b6000806000606084860312156117bf57600080fd5b83356117ca81611769565b925060208401356117da81611769565b929592945050506040919091013590565b6000602082840312156117fd57600080fd5b5035919050565b6001600160a01b038316815260406020820181905260009061182890830184611709565b949350505050565b6000806040838503121561184357600080fd5b50508035926020909101359150565b60006020828403121561186457600080fd5b813561176281611769565b60006020828403121561188157600080fd5b8135801515811461176257600080fd5b634e487b7160e01b600052604160045260246000fd5b6000602082840312156118b957600080fd5b813567ffffffffffffffff808211156118d157600080fd5b818401915084601f8301126118e557600080fd5b8135818111156118f7576118f7611891565b604051601f8201601f19908116603f0116810190838211818310171561191f5761191f611891565b8160405282815287602084870101111561193857600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000806040838503121561196b57600080fd5b823561197681611769565b9150602083013561198681611769565b809150509250929050565b600181811c908216806119a557607f821691505b6020821081036119c557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561064b5761064b6119cb565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b601f8211156112ce57600081815260208120601f850160051c81016020861015611a665750805b601f850160051c820191505b81811015611a8557828155600101611a72565b505050505050565b818103611a98575050565b611aa28254611991565b67ffffffffffffffff811115611aba57611aba611891565b611ace81611ac88454611991565b84611a3f565b6000601f821160018114611b025760008315611aea5750848201545b600019600385901b1c1916600184901b178455611b67565b600085815260209020601f19841690600086815260209020845b83811015611b3c5782860154825560019586019590910190602001611b1c565b5085831015611b5a5781850154600019600388901b60f8161c191681555b50505060018360011b0184555b5050505050565b8181038181111561064b5761064b6119cb565b634e487b7160e01b600052603160045260246000fd5b6000816000190483118215151615611bb157611bb16119cb565b500290565b600082611bd357634e487b7160e01b600052601260045260246000fd5b500490565b815167ffffffffffffffff811115611bf257611bf2611891565b611c0081611ac88454611991565b602080601f831160018114611c355760008415611c1d5750858301515b600019600386901b1c1916600185901b178555611a85565b600085815260208120601f198616915b82811015611c6457888601518255948401946001909101908401611c45565b5085821015611c825787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611ca457600080fd5b815161176281611769565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611cff5784516001600160a01b031683529383019391830191600101611cda565b50506001600160a01b0396909616606085015250505060800152939250505056fea164736f6c6343000810000a

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.