ETH Price: $3,831.42 (+5.38%)

Token

ERC-20: Ryōshisu (リョーシス)
 

Overview

Max Total Supply

100,000,000,000 リョーシス

Holders

24

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
915,750,000 リョーシス

Value
$0.00
0x85023786bfa1541fb09ac51efa32b0c2e00910a5
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:
Ryoshisu

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

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

pragma solidity 0.8.7;


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

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

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

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions 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);
    }
}

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

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

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

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

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

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

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

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

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

/**
 * @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 internal _name;
    string internal _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, allowance(owner, spender) + addedValue);
        return true;
    }

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

contract Ryoshisu is ERC20, Ownable {
    using Address for address;

    struct IRS {
        uint256 marketingFee;
        uint256 liquidityFee;
    }

    uint256 public constant IRS_BUY = 0;
    uint256 public constant IRS_SELL = 1;

    uint256 public constant IRS_DENOMINATOR = 1000;
    uint256 public constant TX_DENOMINATOR = 10000;

    address public immutable uniRouterAddr;
    address public devWallet;

    bool private inswap;
    bool public tradeEnabled;
    bool public limitsEnabled;

    uint256 private maxTxAmount;
    uint256 private maxWalletAmount;

    uint256 private marketingTokens;
    uint256 private liquidityTokens;

    uint256 private swapTokensAt;

    IRS[IRS_SELL + 1] private txFees;

    mapping(address => bool) private noIRS;
    mapping(address => bool) private noMaxTxAmount;
    mapping(address => bool) private noMaxWalletAmount;
    mapping(address => bool) private liquidityPairs;

    constructor() ERC20("Ryoshisu", "") {
        address currentOwner = _msgSender();

        _name = unicode"Ryōshisu";
        _symbol = unicode"リョーシス";

        limitsEnabled = true;

        devWallet = currentOwner;

        _setExclude(address(0xdead), true);
        _setExclude(address(this), true);
        _setExclude(address(currentOwner), true);

        txFees[IRS_BUY] = IRS(7, 7);
        txFees[IRS_SELL] = IRS(12, 12);

        // Supply
        uint256 supply = 100_000_000_000 * 1e18;

        swapTokensAt = (supply * 30) / TX_DENOMINATOR;
        maxTxAmount = (supply * 200) / TX_DENOMINATOR;
        maxWalletAmount = (supply * 300) / TX_DENOMINATOR;

        address _router = address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniRouterAddr = _router;

        _mint(currentOwner, supply);
    }

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

    /**
     * Internal stuff
     */
    
    function _etherify(uint256 tokens) private {
        IUniswapV2Router02 _router = IUniswapV2Router02(uniRouterAddr);

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

        _approve(address(this), uniRouterAddr, tokens);

        _router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokens,
            0,
            path,
            devWallet,
            block.timestamp
        );
    }

    function _setExclude(address addr, bool value) private {
        noMaxWalletAmount[addr] = value;
        noMaxTxAmount[addr] = value;
        noIRS[addr] = value;
    }

    function _takeTaxesToIRS(address from, address to, uint256 amount) internal returns (uint256) {
        uint256 fee = 0;
        if (liquidityPairs[from]) {            
            fee = _collecTaxesForIRS(IRS_BUY, amount);

        } else if (liquidityPairs[to]) {
            fee = _collecTaxesForIRS(IRS_SELL, amount);
        }
        return fee;
    }

    function _liquify(uint256 tokenAmount, uint256 ethAmount) private {
        IUniswapV2Router02 _router = IUniswapV2Router02(uniRouterAddr);
        _approve(address(this), address(_router), tokenAmount);

        _router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, 
            0, 
            devWallet,
            block.timestamp
        );
    }

    function _collecTaxesForIRS(uint256 side, uint256 amount) private returns (uint256) {
        uint256 totalFees = txFees[side].marketingFee + txFees[side].liquidityFee;
        uint256 fees = (amount * totalFees) / IRS_DENOMINATOR;

        marketingTokens += (fees * txFees[side].marketingFee) / totalFees;
        liquidityTokens += (fees * txFees[side].liquidityFee) / totalFees;

        return fees;
    }

    function _prepareSwap() private inSwap {
        //uint256 tokens = balanceOf(address(this));
        uint256 balance = liquidityTokens + marketingTokens;  

        if (balance == 0) return ;
        // Enforce limit
        uint256 tokens = balance > swapTokensAt? swapTokensAt : balance;

        uint256 liquidty = liquidityTokens * tokens / balance;
        uint256 marketing = marketingTokens * tokens / balance;

        uint256 liquidityTokensHalf = liquidty / 2;
        uint256 amountToEth = marketing + liquidityTokensHalf;

        uint256 initialEth = address(this).balance;
        
        _etherify(amountToEth);

        uint256 eth = address(this).balance - initialEth;

        // Distribute ETH fees
        uint256 ethForMarketing = (eth * marketing) / tokens;
        uint256 ethForLiquidity = eth - ethForMarketing;

        liquidityTokens = liquidityTokens >= liquidty ? liquidityTokens - liquidty : 0;
        marketingTokens = marketingTokens >= marketing ? marketingTokens - marketing : 0;

        payable(devWallet).transfer(ethForMarketing);

        if (liquidityTokensHalf > 0 && ethForLiquidity > 0) _liquify(liquidityTokensHalf, ethForLiquidity);
    }

    function _canTrade(address from, address to) private view returns (bool) {
        return (noIRS[from] || noIRS[to] || tradeEnabled);
    }


    function _callIRS(address from, address to) private view returns (bool) {
        bool fee = !inswap;
        if (noIRS[from] || noIRS[to]) {
            fee = false;
        }
        return fee;
    }

    function _shouldSwap(address from, address to) private view returns (bool) {
        return (
            !noIRS[from] &&
            !inswap &&
            !liquidityPairs[from] &&
            !noIRS[to] 
        );        
    }

    function _transfer(address from, address to, uint256 amount ) internal override {
        if (amount == 0) {
            super._transfer(from, to, 0);
        }

        require(_canTrade(from, to), "trade not active");
        
        if (_shouldSwap(from, to)) {
            _prepareSwap();
        }
        
        if (
            from != devWallet &&
            to != devWallet &&
            !noMaxTxAmount[from] &&
            !noMaxTxAmount[to] &&
            !noMaxTxAmount[tx.origin] &&
            !noMaxWalletAmount[from] &&
            !noMaxWalletAmount[to] &&
            !noMaxWalletAmount[tx.origin] &&
            limitsEnabled &&
            from != address(this) &&
            to != address(this)
        ) {
            require(amount <= maxTxAmount, "tx amount over limit");
            if (liquidityPairs[from]) 
                require((amount + balanceOf(to)) <= maxWalletAmount , "max wallet over limit");
            
        }
        
        if (_callIRS(from, to)) {
            uint256 fee = _takeTaxesToIRS(from, to, amount);
            if (fee > 0) {
                super._transfer(from, address(this), fee);
                amount -= fee;
            } 
        }   
        
        super._transfer(from, to, amount);

    }

    /**
     * Safety, in case of somebody sent a wrong token / ETH
     */

    function approve(address tokenAddr) external {
        ERC20 token = ERC20(tokenAddr);
        uint256 amount = token.balanceOf(address(this));
        require(amount > 0, "not enough balance");
        token.transfer(devWallet, amount);
    }

    function rescueETH() external  {
        uint256 amount = address(this).balance;
        require(amount > 0, "not enough balance");
        payable(devWallet).transfer(amount);
    }

    receive() external payable {}

    /**
     * Management functions
     */

    function forceSwap() external {
        _prepareSwap();
    }

    function setSellTax(uint256 marketingTax, uint256 liquidityTax) external onlyOwner {
        require(marketingTax + liquidityTax <= 300, "too high");

        txFees[IRS_SELL].marketingFee = marketingTax;
        txFees[IRS_SELL].liquidityFee = liquidityTax;
    }

    function setBuyTax(uint256 marketingTax, uint256 liquidityTax) external onlyOwner {
        require(marketingTax + liquidityTax <= 300, "too high");

        txFees[IRS_BUY].marketingFee = marketingTax;
        txFees[IRS_BUY].liquidityFee = liquidityTax;
    }

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

    function setMaxWalletAmount(uint256 newAmount) external onlyOwner {
        require(newAmount >= 100, "too low");

        maxWalletAmount = (totalSupply() * newAmount) / TX_DENOMINATOR;
    }

    function setMaxTxAmount(uint256 newAmount) external onlyOwner {
        require(newAmount >= 50, "too low");

        maxTxAmount = (totalSupply() * newAmount) / TX_DENOMINATOR;
    }

    function addAmmPair(address addr) external onlyOwner {
        liquidityPairs[addr] = true;
    }

    function startTrading() external onlyOwner {
        tradeEnabled = true;
    }

}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":[],"name":"IRS_BUY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IRS_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IRS_SELL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TX_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"addAmmPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddr","type":"address"}],"name":"approve","outputs":[],"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":"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":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"forceSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limitsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"marketingTax","type":"uint256"},{"internalType":"uint256","name":"liquidityTax","type":"uint256"}],"name":"setBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"marketingTax","type":"uint256"},{"internalType":"uint256","name":"liquidityTax","type":"uint256"}],"name":"setSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradeEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniRouterAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a06040523480156200001157600080fd5b50604080518082018252600881526752796f736869737560c01b60208083019182528351908101909352600083528151919291620000529160039162000435565b5080516200006890600490602084019062000435565b505050620000856200007f620002f760201b60201c565b620002fb565b604080518082019091526009808252685279c58d736869737560b81b60209092019182523391620000ba916003919062000435565b5060408051808201909152600f8082526ee383aae383a7e383bce382b7e382b960881b6020909201918252620000f39160049162000435565b50600680546001600160a01b038316600162ff000160a01b03199091168117600160b01b179091557f1120e10407cab1193d7c5139d9aae5536deb3d83e855f25f8e42f811c01f56f7805460ff1990811660019081179092557f97847ee99463795296047093514439c3127772df3715e628aa85601cf854171680548216831790557f9e93e1db4a1f807cc22b2aecf4deeb0bf5745f1ecb319e87c68c5624c0fa6b69805482168317905530600090815260126020818152604080842080548616871790556011808352818520805487168817905560108084528286208054881689179055978552928252808420805486168717905591815281832080548516861790559485529081902080549092169092179055805180820182526007808252908301819052600c818155600d9190915581518083019092528082529101819052600e819055600f556c01431e0fae6d7217caa00000006127106200025b82601e62000519565b620002679190620004f6565b600b556127106200027a8260c862000519565b620002869190620004f6565b6007556127106200029a8261012c62000519565b620002a69190620004f6565b6008557f7a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000608052737a250d5630b4cf539739df2c5dacb4c659f2488d620002ee83836200034d565b5050506200058e565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620003a85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620003bc9190620004db565b90915550506001600160a01b03821660009081526020819052604081208054839290620003eb908490620004db565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b82805462000443906200053b565b90600052602060002090601f016020900481019282620004675760008555620004b2565b82601f106200048257805160ff1916838001178555620004b2565b82800160010185558215620004b2579182015b82811115620004b257825182559160200191906001019062000495565b50620004c0929150620004c4565b5090565b5b80821115620004c05760008155600101620004c5565b60008219821115620004f157620004f162000578565b500190565b6000826200051457634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161562000536576200053662000578565b500290565b600181811c908216806200055057607f821691505b602082108114156200057257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60805160601c611cff620005c2600039600081816104fa015281816116230152818161173501526117ce0152611cff6000f3fe6080604052600436106101e75760003560e01c8063751039fc11610102578063d800d3ba11610095578063ec28438a11610064578063ec28438a14610571578063f17f419014610591578063f2fde38b146105a7578063f4c06afa146105c757600080fd5b8063d800d3ba146104e8578063daea85c51461051c578063dd62ed3e1461053c578063df778d261461055c57600080fd5b806396c772e6116100d157806396c772e614610467578063a457c2d714610487578063a9059cbb146104a7578063d621e813146104c757600080fd5b8063751039fc146103eb5780638da5cb5b146104005780638ea5220f1461043257806395d89b411461045257600080fd5b806327a14fc21161017a5780633950935111610149578063395093511461036b5780634d261ceb1461038b57806370a08231146103a0578063715018a6146103d657600080fd5b806327a14fc2146102f9578063293230b814610319578063313ce5671461032e5780633582ad231461034a57600080fd5b80631c72b3b5116101b65780631c72b3b51461028f57806320800a00146102a457806323b872dd146102b9578063247b912d146102d957600080fd5b806305a1f36d146101f357806306fdde0314610215578063095ea7b31461024057806318160ddd1461027057600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b5061021361020e366004611ac7565b6105dd565b005b34801561022157600080fd5b5061022a610649565b6040516102379190611b17565b60405180910390f35b34801561024c57600080fd5b5061026061025b366004611a47565b6106db565b6040519015158152602001610237565b34801561027c57600080fd5b506002545b604051908152602001610237565b34801561029b57600080fd5b50610281600181565b3480156102b057600080fd5b506102136106f3565b3480156102c557600080fd5b506102606102d4366004611a06565b610774565b3480156102e557600080fd5b506102136102f4366004611ac7565b610798565b34801561030557600080fd5b50610213610314366004611a95565b6107f5565b34801561032557600080fd5b5061021361085f565b34801561033a57600080fd5b5060405160128152602001610237565b34801561035657600080fd5b5060065461026090600160b01b900460ff1681565b34801561037757600080fd5b50610260610386366004611a47565b61087c565b34801561039757600080fd5b50610281600081565b3480156103ac57600080fd5b506102816103bb366004611993565b6001600160a01b031660009081526020819052604090205490565b3480156103e257600080fd5b5061021361089e565b3480156103f757600080fd5b506102136108b2565b34801561040c57600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610237565b34801561043e57600080fd5b5060065461041a906001600160a01b031681565b34801561045e57600080fd5b5061022a6108c9565b34801561047357600080fd5b50610213610482366004611993565b6108d8565b34801561049357600080fd5b506102606104a2366004611a47565b610904565b3480156104b357600080fd5b506102606104c2366004611a47565b61097f565b3480156104d357600080fd5b5060065461026090600160a81b900460ff1681565b3480156104f457600080fd5b5061041a7f000000000000000000000000000000000000000000000000000000000000000081565b34801561052857600080fd5b50610213610537366004611993565b61098d565b34801561054857600080fd5b506102816105573660046119cd565b610adc565b34801561056857600080fd5b50610213610b07565b34801561057d57600080fd5b5061021361058c366004611a95565b610b0f565b34801561059d57600080fd5b5061028161271081565b3480156105b357600080fd5b506102136105c2366004611993565b610b79565b3480156105d357600080fd5b506102816103e881565b6105e5610bf2565b61012c6105f28284611bdd565b11156106305760405162461bcd60e51b81526020600482015260086024820152670e8dede40d0d2ced60c31b60448201526064015b60405180910390fd5b600c828155819060005b60020201600101819055505050565b60606003805461065890611c4d565b80601f016020809104026020016040519081016040528092919081815260200182805461068490611c4d565b80156106d15780601f106106a6576101008083540402835291602001916106d1565b820191906000526020600020905b8154815290600101906020018083116106b457829003601f168201915b5050505050905090565b6000336106e9818585610c4c565b5060019392505050565b47806107365760405162461bcd60e51b81526020600482015260126024820152716e6f7420656e6f7567682062616c616e636560701b6044820152606401610627565b6006546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610770573d6000803e3d6000fd5b5050565b600033610782858285610d70565b61078d858585610de4565b506001949350505050565b6107a0610bf2565b61012c6107ad8284611bdd565b11156107e65760405162461bcd60e51b81526020600482015260086024820152670e8dede40d0d2ced60c31b6044820152606401610627565b600e82905580600c600161063a565b6107fd610bf2565b60648110156108385760405162461bcd60e51b8152602060048201526007602482015266746f6f206c6f7760c81b6044820152606401610627565b6127108161084560025490565b61084f9190611c17565b6108599190611bf5565b60085550565b610867610bf2565b6006805460ff60a81b1916600160a81b179055565b6000336106e981858561088f8383610adc565b6108999190611bdd565b610c4c565b6108a6610bf2565b6108b060006110b5565b565b6108ba610bf2565b6006805460ff60b01b19169055565b60606004805461065890611c4d565b6108e0610bf2565b6001600160a01b03166000908152601360205260409020805460ff19166001179055565b600033816109128286610adc565b9050838110156109725760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610627565b61078d8286868403610c4c565b6000336106e9818585610de4565b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a082319060240160206040518083038186803b1580156109d157600080fd5b505afa1580156109e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a099190611aae565b905060008111610a505760405162461bcd60e51b81526020600482015260126024820152716e6f7420656e6f7567682062616c616e636560701b6044820152606401610627565b60065460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb90604401602060405180830381600087803b158015610a9e57600080fd5b505af1158015610ab2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad69190611a73565b50505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6108b0611107565b610b17610bf2565b6032811015610b525760405162461bcd60e51b8152602060048201526007602482015266746f6f206c6f7760c81b6044820152606401610627565b61271081610b5f60025490565b610b699190611c17565b610b739190611bf5565b60075550565b610b81610bf2565b6001600160a01b038116610be65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610627565b610bef816110b5565b50565b6005546001600160a01b031633146108b05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610627565b6001600160a01b038316610cae5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610627565b6001600160a01b038216610d0f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610627565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610d7c8484610adc565b90506000198114610ad65781811015610dd75760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610627565b610ad68484848403610c4c565b80610df557610df58383600061129e565b610dff838361146c565b610e3e5760405162461bcd60e51b815260206004820152601060248201526f7472616465206e6f742061637469766560801b6044820152606401610627565b610e4883836114c6565b15610e5557610e55611107565b6006546001600160a01b03848116911614801590610e8157506006546001600160a01b03838116911614155b8015610ea657506001600160a01b03831660009081526011602052604090205460ff16155b8015610ecb57506001600160a01b03821660009081526011602052604090205460ff16155b8015610ee757503260009081526011602052604090205460ff16155b8015610f0c57506001600160a01b03831660009081526012602052604090205460ff16155b8015610f3157506001600160a01b03821660009081526012602052604090205460ff16155b8015610f4d57503260009081526012602052604090205460ff16155b8015610f625750600654600160b01b900460ff165b8015610f7757506001600160a01b0383163014155b8015610f8c57506001600160a01b0382163014155b1561106757600754811115610fda5760405162461bcd60e51b81526020600482015260146024820152731d1e08185b5bdd5b9d081bdd995c881b1a5b5a5d60621b6044820152606401610627565b6001600160a01b03831660009081526013602052604090205460ff1615611067576008546001600160a01b0383166000908152602081905260409020546110219083611bdd565b11156110675760405162461bcd60e51b81526020600482015260156024820152741b585e081dd85b1b195d081bdd995c881b1a5b5a5d605a1b6044820152606401610627565b6110718383611547565b156110a55760006110838484846115a6565b905080156110a35761109684308361129e565b6110a08183611c36565b91505b505b6110b083838361129e565b505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006805460ff60a01b1916600160a01b179055600954600a5460009161112c91611bdd565b905080611139575061128f565b6000600b54821161114a578161114e565b600b545b905060008282600a546111619190611c17565b61116b9190611bf5565b90506000838360095461117e9190611c17565b6111889190611bf5565b90506000611197600284611bf5565b905060006111a58284611bdd565b9050476111b182611612565b60006111bd8247611c36565b90506000876111cc8784611c17565b6111d69190611bf5565b905060006111e48284611c36565b905087600a5410156111f7576000611205565b87600a546112059190611c36565b600a55600954871115611219576000611227565b866009546112279190611c36565b6009556006546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015611264573d6000803e3d6000fd5b506000861180156112755750600081115b156112845761128486826117cc565b505050505050505050505b6006805460ff60a01b19169055565b6001600160a01b0383166113025760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610627565b6001600160a01b0382166113645760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610627565b6001600160a01b038316600090815260208190526040902054818110156113dc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610627565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611413908490611bdd565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161145f91815260200190565b60405180910390a3610ad6565b6001600160a01b03821660009081526010602052604081205460ff16806114ab57506001600160a01b03821660009081526010602052604090205460ff165b806114bf5750600654600160a81b900460ff165b9392505050565b6001600160a01b03821660009081526010602052604081205460ff161580156114f95750600654600160a01b900460ff16155b801561151e57506001600160a01b03831660009081526013602052604090205460ff16155b80156114bf5750506001600160a01b031660009081526010602052604090205460ff1615919050565b6006546001600160a01b038316600090815260106020526040812054909160ff600160a01b90910481161591168061159757506001600160a01b03831660009081526010602052604090205460ff165b156114bf575060009392505050565b6001600160a01b038316600090815260136020526040812054819060ff16156115db576115d46000846118a2565b905061160a565b6001600160a01b03841660009081526013602052604090205460ff161561160a576116076001846118a2565b90505b949350505050565b6040805160028082526060820183527f0000000000000000000000000000000000000000000000000000000000000000926000929190602083019080368337019050509050308160008151811061166b5761166b611c9e565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156116c457600080fd5b505afa1580156116d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116fc91906119b0565b8160018151811061170f5761170f611c9e565b60200260200101906001600160a01b031690816001600160a01b03168152505061175a307f000000000000000000000000000000000000000000000000000000000000000085610c4c565b60065460405163791ac94760e01b81526001600160a01b038481169263791ac947926117959288926000928892909116904290600401611b6c565b600060405180830381600087803b1580156117af57600080fd5b505af11580156117c3573d6000803e3d6000fd5b50505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006117f8308285610c4c565b60065460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a48201529082169063f305d71990849060c4016060604051808303818588803b15801561186157600080fd5b505af1158015611875573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061189a9190611ae9565b505050505050565b600080600c84600281106118b8576118b8611c9e565b6002020160010154600c85600281106118d3576118d3611c9e565b60020201546118e29190611bdd565b905060006103e86118f38386611c17565b6118fd9190611bf5565b905081600c866002811061191357611913611c9e565b60020201546119229083611c17565b61192c9190611bf5565b6009600082825461193d9190611bdd565b90915550829050600c866002811061195757611957611c9e565b60020201600101548261196a9190611c17565b6119749190611bf5565b600a60008282546119859190611bdd565b909155509095945050505050565b6000602082840312156119a557600080fd5b81356114bf81611cb4565b6000602082840312156119c257600080fd5b81516114bf81611cb4565b600080604083850312156119e057600080fd5b82356119eb81611cb4565b915060208301356119fb81611cb4565b809150509250929050565b600080600060608486031215611a1b57600080fd5b8335611a2681611cb4565b92506020840135611a3681611cb4565b929592945050506040919091013590565b60008060408385031215611a5a57600080fd5b8235611a6581611cb4565b946020939093013593505050565b600060208284031215611a8557600080fd5b815180151581146114bf57600080fd5b600060208284031215611aa757600080fd5b5035919050565b600060208284031215611ac057600080fd5b5051919050565b60008060408385031215611ada57600080fd5b50508035926020909101359150565b600080600060608486031215611afe57600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b81811015611b4457858101830151858201604001528201611b28565b81811115611b56576000604083870101525b50601f01601f1916929092016040019392505050565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611bbc5784516001600160a01b031683529383019391830191600101611b97565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611bf057611bf0611c88565b500190565b600082611c1257634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611c3157611c31611c88565b500290565b600082821015611c4857611c48611c88565b500390565b600181811c90821680611c6157607f821691505b60208210811415611c8257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0381168114610bef57600080fdfea2646970667358221220b9e6320230caa280eade6233b6f0d415cf45e96a2f54cd6aa97b99542b4d131364736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101e75760003560e01c8063751039fc11610102578063d800d3ba11610095578063ec28438a11610064578063ec28438a14610571578063f17f419014610591578063f2fde38b146105a7578063f4c06afa146105c757600080fd5b8063d800d3ba146104e8578063daea85c51461051c578063dd62ed3e1461053c578063df778d261461055c57600080fd5b806396c772e6116100d157806396c772e614610467578063a457c2d714610487578063a9059cbb146104a7578063d621e813146104c757600080fd5b8063751039fc146103eb5780638da5cb5b146104005780638ea5220f1461043257806395d89b411461045257600080fd5b806327a14fc21161017a5780633950935111610149578063395093511461036b5780634d261ceb1461038b57806370a08231146103a0578063715018a6146103d657600080fd5b806327a14fc2146102f9578063293230b814610319578063313ce5671461032e5780633582ad231461034a57600080fd5b80631c72b3b5116101b65780631c72b3b51461028f57806320800a00146102a457806323b872dd146102b9578063247b912d146102d957600080fd5b806305a1f36d146101f357806306fdde0314610215578063095ea7b31461024057806318160ddd1461027057600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b5061021361020e366004611ac7565b6105dd565b005b34801561022157600080fd5b5061022a610649565b6040516102379190611b17565b60405180910390f35b34801561024c57600080fd5b5061026061025b366004611a47565b6106db565b6040519015158152602001610237565b34801561027c57600080fd5b506002545b604051908152602001610237565b34801561029b57600080fd5b50610281600181565b3480156102b057600080fd5b506102136106f3565b3480156102c557600080fd5b506102606102d4366004611a06565b610774565b3480156102e557600080fd5b506102136102f4366004611ac7565b610798565b34801561030557600080fd5b50610213610314366004611a95565b6107f5565b34801561032557600080fd5b5061021361085f565b34801561033a57600080fd5b5060405160128152602001610237565b34801561035657600080fd5b5060065461026090600160b01b900460ff1681565b34801561037757600080fd5b50610260610386366004611a47565b61087c565b34801561039757600080fd5b50610281600081565b3480156103ac57600080fd5b506102816103bb366004611993565b6001600160a01b031660009081526020819052604090205490565b3480156103e257600080fd5b5061021361089e565b3480156103f757600080fd5b506102136108b2565b34801561040c57600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610237565b34801561043e57600080fd5b5060065461041a906001600160a01b031681565b34801561045e57600080fd5b5061022a6108c9565b34801561047357600080fd5b50610213610482366004611993565b6108d8565b34801561049357600080fd5b506102606104a2366004611a47565b610904565b3480156104b357600080fd5b506102606104c2366004611a47565b61097f565b3480156104d357600080fd5b5060065461026090600160a81b900460ff1681565b3480156104f457600080fd5b5061041a7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561052857600080fd5b50610213610537366004611993565b61098d565b34801561054857600080fd5b506102816105573660046119cd565b610adc565b34801561056857600080fd5b50610213610b07565b34801561057d57600080fd5b5061021361058c366004611a95565b610b0f565b34801561059d57600080fd5b5061028161271081565b3480156105b357600080fd5b506102136105c2366004611993565b610b79565b3480156105d357600080fd5b506102816103e881565b6105e5610bf2565b61012c6105f28284611bdd565b11156106305760405162461bcd60e51b81526020600482015260086024820152670e8dede40d0d2ced60c31b60448201526064015b60405180910390fd5b600c828155819060005b60020201600101819055505050565b60606003805461065890611c4d565b80601f016020809104026020016040519081016040528092919081815260200182805461068490611c4d565b80156106d15780601f106106a6576101008083540402835291602001916106d1565b820191906000526020600020905b8154815290600101906020018083116106b457829003601f168201915b5050505050905090565b6000336106e9818585610c4c565b5060019392505050565b47806107365760405162461bcd60e51b81526020600482015260126024820152716e6f7420656e6f7567682062616c616e636560701b6044820152606401610627565b6006546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610770573d6000803e3d6000fd5b5050565b600033610782858285610d70565b61078d858585610de4565b506001949350505050565b6107a0610bf2565b61012c6107ad8284611bdd565b11156107e65760405162461bcd60e51b81526020600482015260086024820152670e8dede40d0d2ced60c31b6044820152606401610627565b600e82905580600c600161063a565b6107fd610bf2565b60648110156108385760405162461bcd60e51b8152602060048201526007602482015266746f6f206c6f7760c81b6044820152606401610627565b6127108161084560025490565b61084f9190611c17565b6108599190611bf5565b60085550565b610867610bf2565b6006805460ff60a81b1916600160a81b179055565b6000336106e981858561088f8383610adc565b6108999190611bdd565b610c4c565b6108a6610bf2565b6108b060006110b5565b565b6108ba610bf2565b6006805460ff60b01b19169055565b60606004805461065890611c4d565b6108e0610bf2565b6001600160a01b03166000908152601360205260409020805460ff19166001179055565b600033816109128286610adc565b9050838110156109725760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610627565b61078d8286868403610c4c565b6000336106e9818585610de4565b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a082319060240160206040518083038186803b1580156109d157600080fd5b505afa1580156109e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a099190611aae565b905060008111610a505760405162461bcd60e51b81526020600482015260126024820152716e6f7420656e6f7567682062616c616e636560701b6044820152606401610627565b60065460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb90604401602060405180830381600087803b158015610a9e57600080fd5b505af1158015610ab2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad69190611a73565b50505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6108b0611107565b610b17610bf2565b6032811015610b525760405162461bcd60e51b8152602060048201526007602482015266746f6f206c6f7760c81b6044820152606401610627565b61271081610b5f60025490565b610b699190611c17565b610b739190611bf5565b60075550565b610b81610bf2565b6001600160a01b038116610be65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610627565b610bef816110b5565b50565b6005546001600160a01b031633146108b05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610627565b6001600160a01b038316610cae5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610627565b6001600160a01b038216610d0f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610627565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610d7c8484610adc565b90506000198114610ad65781811015610dd75760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610627565b610ad68484848403610c4c565b80610df557610df58383600061129e565b610dff838361146c565b610e3e5760405162461bcd60e51b815260206004820152601060248201526f7472616465206e6f742061637469766560801b6044820152606401610627565b610e4883836114c6565b15610e5557610e55611107565b6006546001600160a01b03848116911614801590610e8157506006546001600160a01b03838116911614155b8015610ea657506001600160a01b03831660009081526011602052604090205460ff16155b8015610ecb57506001600160a01b03821660009081526011602052604090205460ff16155b8015610ee757503260009081526011602052604090205460ff16155b8015610f0c57506001600160a01b03831660009081526012602052604090205460ff16155b8015610f3157506001600160a01b03821660009081526012602052604090205460ff16155b8015610f4d57503260009081526012602052604090205460ff16155b8015610f625750600654600160b01b900460ff165b8015610f7757506001600160a01b0383163014155b8015610f8c57506001600160a01b0382163014155b1561106757600754811115610fda5760405162461bcd60e51b81526020600482015260146024820152731d1e08185b5bdd5b9d081bdd995c881b1a5b5a5d60621b6044820152606401610627565b6001600160a01b03831660009081526013602052604090205460ff1615611067576008546001600160a01b0383166000908152602081905260409020546110219083611bdd565b11156110675760405162461bcd60e51b81526020600482015260156024820152741b585e081dd85b1b195d081bdd995c881b1a5b5a5d605a1b6044820152606401610627565b6110718383611547565b156110a55760006110838484846115a6565b905080156110a35761109684308361129e565b6110a08183611c36565b91505b505b6110b083838361129e565b505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006805460ff60a01b1916600160a01b179055600954600a5460009161112c91611bdd565b905080611139575061128f565b6000600b54821161114a578161114e565b600b545b905060008282600a546111619190611c17565b61116b9190611bf5565b90506000838360095461117e9190611c17565b6111889190611bf5565b90506000611197600284611bf5565b905060006111a58284611bdd565b9050476111b182611612565b60006111bd8247611c36565b90506000876111cc8784611c17565b6111d69190611bf5565b905060006111e48284611c36565b905087600a5410156111f7576000611205565b87600a546112059190611c36565b600a55600954871115611219576000611227565b866009546112279190611c36565b6009556006546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015611264573d6000803e3d6000fd5b506000861180156112755750600081115b156112845761128486826117cc565b505050505050505050505b6006805460ff60a01b19169055565b6001600160a01b0383166113025760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610627565b6001600160a01b0382166113645760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610627565b6001600160a01b038316600090815260208190526040902054818110156113dc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610627565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611413908490611bdd565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161145f91815260200190565b60405180910390a3610ad6565b6001600160a01b03821660009081526010602052604081205460ff16806114ab57506001600160a01b03821660009081526010602052604090205460ff165b806114bf5750600654600160a81b900460ff165b9392505050565b6001600160a01b03821660009081526010602052604081205460ff161580156114f95750600654600160a01b900460ff16155b801561151e57506001600160a01b03831660009081526013602052604090205460ff16155b80156114bf5750506001600160a01b031660009081526010602052604090205460ff1615919050565b6006546001600160a01b038316600090815260106020526040812054909160ff600160a01b90910481161591168061159757506001600160a01b03831660009081526010602052604090205460ff165b156114bf575060009392505050565b6001600160a01b038316600090815260136020526040812054819060ff16156115db576115d46000846118a2565b905061160a565b6001600160a01b03841660009081526013602052604090205460ff161561160a576116076001846118a2565b90505b949350505050565b6040805160028082526060820183527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d926000929190602083019080368337019050509050308160008151811061166b5761166b611c9e565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156116c457600080fd5b505afa1580156116d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116fc91906119b0565b8160018151811061170f5761170f611c9e565b60200260200101906001600160a01b031690816001600160a01b03168152505061175a307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d85610c4c565b60065460405163791ac94760e01b81526001600160a01b038481169263791ac947926117959288926000928892909116904290600401611b6c565b600060405180830381600087803b1580156117af57600080fd5b505af11580156117c3573d6000803e3d6000fd5b50505050505050565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6117f8308285610c4c565b60065460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a48201529082169063f305d71990849060c4016060604051808303818588803b15801561186157600080fd5b505af1158015611875573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061189a9190611ae9565b505050505050565b600080600c84600281106118b8576118b8611c9e565b6002020160010154600c85600281106118d3576118d3611c9e565b60020201546118e29190611bdd565b905060006103e86118f38386611c17565b6118fd9190611bf5565b905081600c866002811061191357611913611c9e565b60020201546119229083611c17565b61192c9190611bf5565b6009600082825461193d9190611bdd565b90915550829050600c866002811061195757611957611c9e565b60020201600101548261196a9190611c17565b6119749190611bf5565b600a60008282546119859190611bdd565b909155509095945050505050565b6000602082840312156119a557600080fd5b81356114bf81611cb4565b6000602082840312156119c257600080fd5b81516114bf81611cb4565b600080604083850312156119e057600080fd5b82356119eb81611cb4565b915060208301356119fb81611cb4565b809150509250929050565b600080600060608486031215611a1b57600080fd5b8335611a2681611cb4565b92506020840135611a3681611cb4565b929592945050506040919091013590565b60008060408385031215611a5a57600080fd5b8235611a6581611cb4565b946020939093013593505050565b600060208284031215611a8557600080fd5b815180151581146114bf57600080fd5b600060208284031215611aa757600080fd5b5035919050565b600060208284031215611ac057600080fd5b5051919050565b60008060408385031215611ada57600080fd5b50508035926020909101359150565b600080600060608486031215611afe57600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b81811015611b4457858101830151858201604001528201611b28565b81811115611b56576000604083870101525b50601f01601f1916929092016040019392505050565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611bbc5784516001600160a01b031683529383019391830191600101611b97565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611bf057611bf0611c88565b500190565b600082611c1257634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611c3157611c31611c88565b500290565b600082821015611c4857611c48611c88565b500390565b600181811c90821680611c6157607f821691505b60208210811415611c8257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0381168114610bef57600080fdfea2646970667358221220b9e6320230caa280eade6233b6f0d415cf45e96a2f54cd6aa97b99542b4d131364736f6c63430008070033

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.