ETH Price: $3,561.00 (+1.35%)
Gas: 30 Gwei

Token

Ryoshis Vision (RYOSHI)
 

Overview

Max Total Supply

956,457,969,010,286.667995304204081748 RYOSHI

Holders

35,998 ( 0.006%)

Market

Price

$0.00 @ 0.000000 ETH (-4.43%)

Onchain Market Cap

$8,250,406.44

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
2,618,573,724,974.143876705870603186 RYOSHI

Value
$22,587.82 ( ~6.3431 Eth) [0.2738%]
0x77cecf661facc58b1f4d2a2e37f6b83783d0bfd2
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

RYOSHI was created in honor of the great RYOSHI who created and founded the Shiba universe. Every transaction on this token burns 1% to the Shiba Inu address, and redistributes 1% to everyone who has buried $SHIB on Shiba Swap.

Market

Volume (24H):$3,877.17
Market Capitalization:$0.00
Circulating Supply:0.00 RYOSHI
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
RyoshisVision

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : IERC20.sol
// SPDX-License-Identifier: MIT

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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        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 2 of 6 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

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 3 of 6 : Context.sol
// SPDX-License-Identifier: MIT

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 4 of 6 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/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 guidelines: functions revert instead
 * of 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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, 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, burnAddress(), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
          _balances[account] = accountBalance - amount;
          _balances[burnAddress()] = _balances[burnAddress()] + amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, burnAddress(), amount);

        _afterTokenTransfer(account, burnAddress(), 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);
    }

    function burnAddress() public virtual returns (address) {
      return address(0);
    }

    /**
     * @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 5 of 6 : Ryoshi.sol
// contracts/RyoshisVision.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
import "./ERC20.sol";
import "../node_modules/@openzeppelin/contracts/utils/Address.sol";

contract RyoshisVision is ERC20 {

  mapping(address => uint256) private _blockNumberByAddress;

  uint256 private _initialSupply = 1000000000000000000000000000000000;
  address private _shibaBurnAddress;
  address private _rewardsAddress;
  uint256 private _burnRate;

  constructor() ERC20("Ryoshis Vision", "RYOSHI") {
    _rewardsAddress = address(0xf71741c102e5295813912Cf3b2fc07bc740A0f1c);
    _shibaBurnAddress = address(0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE);
    _mint(msg.sender, _initialSupply);
    _burnRate = 100;
  }

  function burnAddress() public view override returns (address) {
    return _shibaBurnAddress;
  }

  function burnRate() public view returns (uint256) {
    return _burnRate;
  }

  function transfer(address _to, uint256 _value) public virtual override returns (bool) {
    address _from = _msgSender();
    address human = ensureOneHuman(_from, _to);
    ensureOneTxPerBlock(human);

    uint256 toBurnAndToShare = _value / _burnRate;

    if (ERC20.transfer(_to, _value - (2 * toBurnAndToShare))) {
      _burn(_msgSender(), toBurnAndToShare);
      ERC20.transfer(_rewardsAddress, toBurnAndToShare);
      _blockNumberByAddress[human] = block.number;
      return true;
    } else return false;
  }

  function lastTxFrom(address _from) public view returns (uint256) {
    return  _blockNumberByAddress[_from];
  }

  function ensureOneHuman(address _to, address _from) internal virtual returns (address) {
    require(!Address.isContract(_to) || !Address.isContract(_from), 'RYOSHI says: No bots allowed!');
    if (Address.isContract(_to)) return _from;
    else return _to;
  }

  function ensureOneTxPerBlock(address addr) internal virtual {
    bool isNewBlock = _blockNumberByAddress[addr] == 0 ||
      _blockNumberByAddress[addr] < block.number;

    require(isNewBlock, 'RYOSHI says: Only one transaction per block!');
  }

  function transferFrom(address _from, address _to, uint256 _value) public virtual override returns (bool) {
    address human = ensureOneHuman(_from, _to);
    ensureOneTxPerBlock(human);

    uint256 toBurnAndToShare = _value / _burnRate;

    if (ERC20.transferFrom(_from, _to, _value - (2 * toBurnAndToShare))) {
      _burn(_from, toBurnAndToShare);
      ERC20.transferFrom(_from, _rewardsAddress, toBurnAndToShare);
      _blockNumberByAddress[human] = block.number;
      return true;
    } else return false; 
  }
}

File 6 of 6 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"_from","type":"address"}],"name":"lastTxFrom","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":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","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":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040526d314dc6448d9338c15b0a000000006006553480156200002357600080fd5b50604080518082018252600e81526d293cb7b9b434b9902b34b9b4b7b760911b60208083019182528351808501909452600684526552594f53484960d01b9084015281519192916200007891600391620001db565b5080516200008e906004906020840190620001db565b5050600880546001600160a01b031990811673f71741c102e5295813912cf3b2fc07bc740a0f1c17909155600780549091167395ad61b0a150d79219dcf64e1e6cc01f0b64c4ce17905550600654620000e9903390620000f4565b606460095562000323565b6001600160a01b038216620001265760405162461bcd60e51b81526004016200011d9062000281565b60405180910390fd5b6200013460008383620001d6565b8060026000828254620001489190620002c1565b90915550506001600160a01b0382166000908152602081905260408120805483929062000177908490620002c1565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90620001bc908590620002b8565b60405180910390a3620001d260008383620001d6565b5050565b505050565b828054620001e990620002e6565b90600052602060002090601f0160209004810192826200020d576000855562000258565b82601f106200022857805160ff191683800117855562000258565b8280016001018555821562000258579182015b82811115620002585782518255916020019190600101906200023b565b50620002669291506200026a565b5090565b5b808211156200026657600081556001016200026b565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60008219821115620002e157634e487b7160e01b81526011600452602481fd5b500190565b600281046001821680620002fb57607f821691505b602082108114156200031d57634e487b7160e01b600052602260045260246000fd5b50919050565b610f4280620003336000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101c0578063a9059cbb146101d3578063bed99850146101e6578063dd62ed3e146101ee576100ea565b806370a082311461019057806370d5ae05146101a357806395d89b41146101b8576100ea565b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016a5780635a47b0f11461017d576100ea565b806306fdde03146100ef578063095ea7b31461010d57806318160ddd1461012d575b600080fd5b6100f7610201565b6040516101049190610afc565b60405180910390f35b61012061011b366004610ab4565b610293565b6040516101049190610af1565b6101356102b1565b6040516101049190610e36565b610120610150366004610a79565b6102b7565b61015d610359565b6040516101049190610e3f565b610120610178366004610ab4565b61035e565b61013561018b366004610a2d565b6103b2565b61013561019e366004610a2d565b6103d1565b6101ab6103ec565b6040516101049190610add565b6100f76103fb565b6101206101ce366004610ab4565b61040a565b6101206101e1366004610ab4565b61048c565b61013561053e565b6101356101fc366004610a47565b610544565b60606003805461021090610ebb565b80601f016020809104026020016040519081016040528092919081815260200182805461023c90610ebb565b80156102895780601f1061025e57610100808354040283529160200191610289565b820191906000526020600020905b81548152906001019060200180831161026c57829003601f168201915b5050505050905090565b60006102a76102a061056f565b8484610573565b5060015b92915050565b60025490565b6000806102c48585610627565b90506102cf8161067c565b6000600954846102df9190610e65565b905061030086866102f1846002610e85565b6102fb9088610ea4565b6106db565b1561034b5761030f868261076b565b6008546103279087906001600160a01b0316836106db565b50506001600160a01b03166000908152600560205260409020439055506001610352565b6000925050505b9392505050565b601290565b60006102a761036b61056f565b84846001600061037961056f565b6001600160a01b03908116825260208083019390935260409182016000908120918b16815292529020546103ad9190610e4d565b610573565b6001600160a01b0381166000908152600560205260409020545b919050565b6001600160a01b031660009081526020819052604090205490565b6007546001600160a01b031690565b60606004805461021090610ebb565b6000806001600061041961056f565b6001600160a01b039081168252602080830193909352604091820160009081209188168152925290205490508281101561046e5760405162461bcd60e51b815260040161046590610df1565b60405180910390fd5b61048261047961056f565b85858403610573565b5060019392505050565b60008061049761056f565b905060006104a58286610627565b90506104b08161067c565b6000600954856104c09190610e65565b90506104e0866104d1836002610e85565b6104db9088610ea4565b6108d2565b15610532576104f66104f061056f565b8261076b565b60085461050c906001600160a01b0316826108d2565b50506001600160a01b0316600090815260056020526040902043905550600190506102ab565b600093505050506102ab565b60095490565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166105995760405162461bcd60e51b815260040161046590610dad565b6001600160a01b0382166105bf5760405162461bcd60e51b815260040161046590610bd4565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061061a908590610e36565b60405180910390a3505050565b6000610632836108e6565b15806106445750610642826108e6565b155b6106605760405162461bcd60e51b815260040161046590610c5c565b610669836108e6565b156106755750806102ab565b50816102ab565b6001600160a01b03811660009081526005602052604081205415806106b857506001600160a01b03821660009081526005602052604090205443115b9050806106d75760405162461bcd60e51b815260040161046590610cdb565b5050565b60006106e88484846108ec565b6001600160a01b03841660009081526001602052604081208161070961056f565b6001600160a01b03166001600160a01b031681526020019081526020016000205490508281101561074c5760405162461bcd60e51b815260040161046590610c93565b6107608561075861056f565b858403610573565b506001949350505050565b6001600160a01b0382166107915760405162461bcd60e51b815260040161046590610d27565b6107a38261079d6103ec565b836108cd565b6001600160a01b038216600090815260208190526040902054818110156107dc5760405162461bcd60e51b815260040161046590610b92565b6001600160a01b038316600090815260208190526040812083830390558290806108046103ec565b6001600160a01b03166001600160a01b0316815260200190815260200160002054016000806108316103ec565b6001600160a01b03166001600160a01b031681526020019081526020016000208190555081600260008282546108679190610ea4565b9091555061087590506103ec565b6001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516108b79190610e36565b60405180910390a36108cd836108cb6103ec565b845b505050565b60006102a76108df61056f565b84846108ec565b3b151590565b6001600160a01b0383166109125760405162461bcd60e51b815260040161046590610d68565b6001600160a01b0382166109385760405162461bcd60e51b815260040161046590610b4f565b6109438383836108cd565b6001600160a01b0383166000908152602081905260409020548181101561097c5760405162461bcd60e51b815260040161046590610c16565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906109b3908490610e4d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516109fd9190610e36565b60405180910390a3610a108484846108cd565b50505050565b80356001600160a01b03811681146103cc57600080fd5b600060208284031215610a3e578081fd5b61035282610a16565b60008060408385031215610a59578081fd5b610a6283610a16565b9150610a7060208401610a16565b90509250929050565b600080600060608486031215610a8d578081fd5b610a9684610a16565b9250610aa460208501610a16565b9150604084013590509250925092565b60008060408385031215610ac6578182fd5b610acf83610a16565b946020939093013593505050565b6001600160a01b0391909116815260200190565b901515815260200190565b6000602080835283518082850152825b81811015610b2857858101830151858201604001528201610b0c565b81811115610b395783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b6020808252601d908201527f52594f53484920736179733a204e6f20626f747320616c6c6f77656421000000604082015260600190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b6020808252602c908201527f52594f53484920736179733a204f6e6c79206f6e65207472616e73616374696f60408201526b6e2070657220626c6f636b2160a01b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b90815260200190565b60ff91909116815260200190565b60008219821115610e6057610e60610ef6565b500190565b600082610e8057634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610e9f57610e9f610ef6565b500290565b600082821015610eb657610eb6610ef6565b500390565b600281046001821680610ecf57607f821691505b60208210811415610ef057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220fe9704bf4e0a35ac3bfc8f7ec8c2aea8b1d955d1c89cae81691bd159b45991c164736f6c63430008000033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d7146101c0578063a9059cbb146101d3578063bed99850146101e6578063dd62ed3e146101ee576100ea565b806370a082311461019057806370d5ae05146101a357806395d89b41146101b8576100ea565b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016a5780635a47b0f11461017d576100ea565b806306fdde03146100ef578063095ea7b31461010d57806318160ddd1461012d575b600080fd5b6100f7610201565b6040516101049190610afc565b60405180910390f35b61012061011b366004610ab4565b610293565b6040516101049190610af1565b6101356102b1565b6040516101049190610e36565b610120610150366004610a79565b6102b7565b61015d610359565b6040516101049190610e3f565b610120610178366004610ab4565b61035e565b61013561018b366004610a2d565b6103b2565b61013561019e366004610a2d565b6103d1565b6101ab6103ec565b6040516101049190610add565b6100f76103fb565b6101206101ce366004610ab4565b61040a565b6101206101e1366004610ab4565b61048c565b61013561053e565b6101356101fc366004610a47565b610544565b60606003805461021090610ebb565b80601f016020809104026020016040519081016040528092919081815260200182805461023c90610ebb565b80156102895780601f1061025e57610100808354040283529160200191610289565b820191906000526020600020905b81548152906001019060200180831161026c57829003601f168201915b5050505050905090565b60006102a76102a061056f565b8484610573565b5060015b92915050565b60025490565b6000806102c48585610627565b90506102cf8161067c565b6000600954846102df9190610e65565b905061030086866102f1846002610e85565b6102fb9088610ea4565b6106db565b1561034b5761030f868261076b565b6008546103279087906001600160a01b0316836106db565b50506001600160a01b03166000908152600560205260409020439055506001610352565b6000925050505b9392505050565b601290565b60006102a761036b61056f565b84846001600061037961056f565b6001600160a01b03908116825260208083019390935260409182016000908120918b16815292529020546103ad9190610e4d565b610573565b6001600160a01b0381166000908152600560205260409020545b919050565b6001600160a01b031660009081526020819052604090205490565b6007546001600160a01b031690565b60606004805461021090610ebb565b6000806001600061041961056f565b6001600160a01b039081168252602080830193909352604091820160009081209188168152925290205490508281101561046e5760405162461bcd60e51b815260040161046590610df1565b60405180910390fd5b61048261047961056f565b85858403610573565b5060019392505050565b60008061049761056f565b905060006104a58286610627565b90506104b08161067c565b6000600954856104c09190610e65565b90506104e0866104d1836002610e85565b6104db9088610ea4565b6108d2565b15610532576104f66104f061056f565b8261076b565b60085461050c906001600160a01b0316826108d2565b50506001600160a01b0316600090815260056020526040902043905550600190506102ab565b600093505050506102ab565b60095490565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166105995760405162461bcd60e51b815260040161046590610dad565b6001600160a01b0382166105bf5760405162461bcd60e51b815260040161046590610bd4565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061061a908590610e36565b60405180910390a3505050565b6000610632836108e6565b15806106445750610642826108e6565b155b6106605760405162461bcd60e51b815260040161046590610c5c565b610669836108e6565b156106755750806102ab565b50816102ab565b6001600160a01b03811660009081526005602052604081205415806106b857506001600160a01b03821660009081526005602052604090205443115b9050806106d75760405162461bcd60e51b815260040161046590610cdb565b5050565b60006106e88484846108ec565b6001600160a01b03841660009081526001602052604081208161070961056f565b6001600160a01b03166001600160a01b031681526020019081526020016000205490508281101561074c5760405162461bcd60e51b815260040161046590610c93565b6107608561075861056f565b858403610573565b506001949350505050565b6001600160a01b0382166107915760405162461bcd60e51b815260040161046590610d27565b6107a38261079d6103ec565b836108cd565b6001600160a01b038216600090815260208190526040902054818110156107dc5760405162461bcd60e51b815260040161046590610b92565b6001600160a01b038316600090815260208190526040812083830390558290806108046103ec565b6001600160a01b03166001600160a01b0316815260200190815260200160002054016000806108316103ec565b6001600160a01b03166001600160a01b031681526020019081526020016000208190555081600260008282546108679190610ea4565b9091555061087590506103ec565b6001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516108b79190610e36565b60405180910390a36108cd836108cb6103ec565b845b505050565b60006102a76108df61056f565b84846108ec565b3b151590565b6001600160a01b0383166109125760405162461bcd60e51b815260040161046590610d68565b6001600160a01b0382166109385760405162461bcd60e51b815260040161046590610b4f565b6109438383836108cd565b6001600160a01b0383166000908152602081905260409020548181101561097c5760405162461bcd60e51b815260040161046590610c16565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906109b3908490610e4d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516109fd9190610e36565b60405180910390a3610a108484846108cd565b50505050565b80356001600160a01b03811681146103cc57600080fd5b600060208284031215610a3e578081fd5b61035282610a16565b60008060408385031215610a59578081fd5b610a6283610a16565b9150610a7060208401610a16565b90509250929050565b600080600060608486031215610a8d578081fd5b610a9684610a16565b9250610aa460208501610a16565b9150604084013590509250925092565b60008060408385031215610ac6578182fd5b610acf83610a16565b946020939093013593505050565b6001600160a01b0391909116815260200190565b901515815260200190565b6000602080835283518082850152825b81811015610b2857858101830151858201604001528201610b0c565b81811115610b395783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b6020808252601d908201527f52594f53484920736179733a204e6f20626f747320616c6c6f77656421000000604082015260600190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b6020808252602c908201527f52594f53484920736179733a204f6e6c79206f6e65207472616e73616374696f60408201526b6e2070657220626c6f636b2160a01b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b90815260200190565b60ff91909116815260200190565b60008219821115610e6057610e60610ef6565b500190565b600082610e8057634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610e9f57610e9f610ef6565b500290565b600082821015610eb657610eb6610ef6565b500390565b600281046001821680610ecf57607f821691505b60208210811415610ef057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220fe9704bf4e0a35ac3bfc8f7ec8c2aea8b1d955d1c89cae81691bd159b45991c164736f6c63430008000033

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.