ETH Price: $3,154.72 (+1.13%)
Gas: 2 Gwei

Token

WhiteRagon (WRG)
 

Overview

Max Total Supply

210,345,000,000,000.9999789655 WRG

Holders

253

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
495,000,000,000.000001004198885658 WRG

Value
$0.00
0xFA66445C5b9c10EC31012C016A416868391A60F0
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:
WhiteRagon

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 7 of 9 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 8 of 9 : IUniswapV2.sol
// SPDX-License-Identifier: UNLICENSED 
pragma solidity ^0.8.9;

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

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

    function factory() external pure returns (address);

    function WETH() external pure returns (address);

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

File 9 of 9 : WhiteRagon.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IUniswapV2.sol";

contract WhiteRagon is ERC20, ERC20Burnable, Ownable {
    using SafeMath for uint;

    uint256 private totalTokens;
    uint256 private valueAntiBot;
    uint256 public startTime;
    uint256 public endTime;

    uint16 public sT = 0;
    uint16 public bT = 0; // 15% is default for anti bot

    bool public isAntiBotEnabled = false;
    bool public isTaxEnabled = false;

    mapping(address => bool) private blackList;

    address public buyBackWallet;
    address public swapPair;
    address public operator;

    IERC20 private trackToken;
    IUniswapV2Router public swapRouter;

    constructor() ERC20("WhiteRagon", "WRG") {
        startTime = block.timestamp;
        operator = owner();
        totalTokens = 420690000 * 10 ** 6 * 10 ** uint256(decimals());

        swapRouter = IUniswapV2Router(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );
        swapPair = IUniswapV2Factory(swapRouter.factory()).createPair(
            address(this),
            swapRouter.WETH()
        );

        _mint(owner(), totalTokens);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal override(ERC20) _antiBot(from, to) {
        super._beforeTokenTransfer(from, to, amount);
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal override {
        if (isTaxEnabled == true && tx.origin != owner()) {
            if (recipient == swapPair) {
                uint256 fee = caculateFee(amount, sT);
                super._transfer(sender, buyBackWallet, fee);
                amount = amount.sub(fee);
            } else if (sender == swapPair) {
                uint256 balanceUser = balanceOf(sender);
                require(
                    amount < balanceUser.mul(9999).div(10000),
                    "Anti Bot: Max 99.99% of balance"
                );
                uint256 fee = caculateFee(amount, bT);
                super._transfer(sender, buyBackWallet, fee);
                amount = amount.sub(fee);
            }
        }
        super._transfer(sender, recipient, amount);
    }

    function getBurnedAmountTotal() external view returns (uint256 _amount) {
        return totalTokens.sub(totalSupply());
    }

    /**
     * @dev Enable anti bot
     * @param _trackToken: The token to track.
     * @param _buyBackWallet: The buy back wallet.
     * @param _valueAntiBot: The recipient must have a token balance greater than _valueAntiBot.
     * @param _endTime: The time to end anti bot.
     */
    function launch(
        address _trackToken,
        address _buyBackWallet,
        uint256 _endTime,
        uint256 _valueAntiBot
    ) external onlyOwner {
        require(isAntiBotEnabled == false, "Anti Bot: Already enabled.");
        // set anti bot value, start time, end time, track token and to the moon
        // this function can only be called once

        // Antibot
        isAntiBotEnabled = true;
        trackToken = IERC20(_trackToken);
        endTime = _endTime;
        valueAntiBot = _valueAntiBot;

        // Tax
        isTaxEnabled = true;
        sT = 3500;
        bT = 1000;

        // Buy-Back Wallet
        buyBackWallet = _buyBackWallet;
    }

    /**
     * @dev Enable tax
     */
    function toggleTax(bool isTax) external onlyOwner {
        isTaxEnabled = isTax;
    }

    /**
     * @dev Set black list address
     * @param _blackList: Array of blacklist address.
     */
    function addBlacklist(address[] memory _blackList) external onlyOwner {
        for (uint256 i = 0; i < _blackList.length; i++) {
            blackList[_blackList[i]] = true;
        }
    }

    /**
     * @dev Remove black list address
     * @param _blackList: The black list address.
     */
    function removeBlacklist(address[] memory _blackList) external onlyOwner {
        for (uint256 i = 0; i < _blackList.length; i++) {
            blackList[_blackList[i]] = false;
        }
    }

    /**
     * @dev Set tax
     * @param _sT: The sell tax.
     * @param _bT: The buy tax.
     */
    function setupTax(uint16 _sT, uint16 _bT) external onlyOwner {
        require(_sT <= 1000, "Sell fee must be less than 10%");
        require(_bT <= 1000, "Buy fee must be less than 10%");
        sT = _sT;
        bT = _bT;
    }

    /**
     * @dev Set buy back wallet
     * @param _buyBackWallet: The buy back wallet address.
     */
    function setBuyBackWallet(address _buyBackWallet) external onlyOwner {
        buyBackWallet = _buyBackWallet;
    }

    /**
     * @dev calculate fee
     * @param amount: The amount.
     * @param percent: The percent.
     */
    function caculateFee(
        uint256 amount,
        uint16 percent
    ) public pure returns (uint256) {
        uint256 fee = amount.mul(percent).div(10000);
        return fee;
    }

    /**
     * @dev Anti bot modifier after launch
     * @param from: The sender address.
     * @param to: The recipient address.
     */
    modifier _antiBot(address from, address to) {
        require(blackList[from] == false, "Anti Bot: Blacklisted address.");
        if (from == owner() || to == owner() || tx.origin == owner()) {
            _;
        } else {
            if (block.timestamp > startTime && block.timestamp < endTime) {
                uint256 balanceAntiBot = trackToken.balanceOf(tx.origin);
                require(balanceAntiBot >= valueAntiBot);
            }
            _;
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"_blackList","type":"address[]"}],"name":"addBlacklist","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":[],"name":"bT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyBackWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint16","name":"percent","type":"uint16"}],"name":"caculateFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":"endTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBurnedAmountTotal","outputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isAntiBotEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTaxEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_trackToken","type":"address"},{"internalType":"address","name":"_buyBackWallet","type":"address"},{"internalType":"uint256","name":"_endTime","type":"uint256"},{"internalType":"uint256","name":"_valueAntiBot","type":"uint256"}],"name":"launch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_blackList","type":"address[]"}],"name":"removeBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_buyBackWallet","type":"address"}],"name":"setBuyBackWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_sT","type":"uint16"},{"internalType":"uint16","name":"_bT","type":"uint16"}],"name":"setupTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapRouter","outputs":[{"internalType":"contract IUniswapV2Router","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"isTax","type":"bool"}],"name":"toggleTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600a805465ffffffffffff191690553480156200002057600080fd5b506040518060400160405280600a8152602001692bb434ba32a930b3b7b760b11b8152506040518060400160405280600381526020016257524760e81b815250816003908162000071919062000606565b50600462000080828262000606565b5050506200009d62000097620002a360201b60201c565b620002a7565b42600855600554600e80546001600160a01b0319166001600160a01b03909216919091179055620000d16012600a620007e7565b620000e49066017e9d8602b400620007fc565b600655601080546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200014c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000172919062000816565b6001600160a01b031663c9c6539630601060009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001d5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001fb919062000816565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000249573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200026f919062000816565b600d80546001600160a01b0319166001600160a01b039283161790556005546200029d9116600654620002f9565b62000871565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620003555760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200036360008383620003ce565b806002600082825462000377919062000841565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0383166000908152600b60205260409020548390839060ff16156200043d5760405162461bcd60e51b815260206004820152601e60248201527f416e746920426f743a20426c61636b6c697374656420616464726573732e000060448201526064016200034c565b6005546001600160a01b03838116911614806200046757506005546001600160a01b038281169116145b806200047d57506005546001600160a01b031632145b15620004a1576200049b8585856200055d60201b62000a261760201c565b62000556565b60085442118015620004b4575060095442105b156200053e57600f546040516370a0823160e01b81523260048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801562000504573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200052a919062000857565b90506007548110156200053c57600080fd5b505b620005568585856200055d60201b62000a261760201c565b5050505050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200058d57607f821691505b602082108103620005ae57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200055d57600081815260208120601f850160051c81016020861015620005dd5750805b601f850160051c820191505b81811015620005fe57828155600101620005e9565b505050505050565b81516001600160401b0381111562000622576200062262000562565b6200063a8162000633845462000578565b84620005b4565b602080601f831160018114620006725760008415620006595750858301515b600019600386901b1c1916600185901b178555620005fe565b600085815260208120601f198616915b82811015620006a35788860151825594840194600190910190840162000682565b5085821015620006c25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620007295781600019048211156200070d576200070d620006d2565b808516156200071b57918102915b93841c9390800290620006ed565b509250929050565b6000826200074257506001620007e1565b816200075157506000620007e1565b81600181146200076a5760028114620007755762000795565b6001915050620007e1565b60ff841115620007895762000789620006d2565b50506001821b620007e1565b5060208310610133831016604e8410600b8410161715620007ba575081810a620007e1565b620007c68383620006e8565b8060001904821115620007dd57620007dd620006d2565b0290505b92915050565b6000620007f5838362000731565b9392505050565b8082028115828204841417620007e157620007e1620006d2565b6000602082840312156200082957600080fd5b81516001600160a01b0381168114620007f557600080fd5b80820180821115620007e157620007e1620006d2565b6000602082840312156200086a57600080fd5b5051919050565b61164480620008816000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c806370a082311161011a578063a457c2d7116100ad578063c6537a991161007c578063c6537a9914610452578063dd1ea8b414610465578063dd62ed3e14610478578063e6c1909b1461048b578063f2fde38b146104a157600080fd5b8063a457c2d714610406578063a4640b8214610419578063a9059cbb1461042c578063c31c9c071461043f57600080fd5b806379cc6790116100e957806379cc6790146103cc5780638da5cb5b146103df57806395d89b41146103f057806396cff525146103f857600080fd5b806370a082311461037f578063715018a6146103a857806378e97925146103b05780637911ef9d146103b957600080fd5b80633197cbb61161019d5780634094ab861161016c5780634094ab861461030a57806342966c68146103315780634b8f795714610344578063570ca7351461035757806361d371dd1461036a57600080fd5b80633197cbb6146102c657806339509351146102cf5780633cfd5211146102e25780633d2cc56c146102f757600080fd5b80631ec4280a116101d95780631ec4280a1461028957806323b872dd1461029157806326991cc8146102a4578063313ce567146102b757600080fd5b806306fdde031461020b578063095ea7b31461022957806318160ddd1461024c5780631cd348c01461025e575b600080fd5b6102136104b4565b6040516102209190611242565b60405180910390f35b61023c6102373660046112ac565b610546565b6040519015158152602001610220565b6002545b604051908152602001610220565b600c54610271906001600160a01b031681565b6040516001600160a01b039091168152602001610220565b610250610560565b61023c61029f3660046112d6565b61057c565b600d54610271906001600160a01b031681565b60405160128152602001610220565b61025060095481565b61023c6102dd3660046112ac565b6105a0565b6102f56102f0366004611312565b6105c2565b005b6102f561030536600461134a565b6105ec565b600a5461031e9062010000900461ffff1681565b60405161ffff9091168152602001610220565b6102f561033f36600461140f565b610660565b6102f5610352366004611428565b61066d565b600e54610271906001600160a01b031681565b600a5461023c90640100000000900460ff1681565b61025061038d36600461146a565b6001600160a01b031660009081526020819052604090205490565b6102f5610729565b61025060085481565b6102f56103c736600461134a565b61073d565b6102f56103da3660046112ac565b6107ad565b6005546001600160a01b0316610271565b6102136107c2565b600a5461031e9061ffff1681565b61023c6104143660046112ac565b6107d1565b6102f561042736600461146a565b61084c565b61023c61043a3660046112ac565b610876565b601054610271906001600160a01b031681565b6102f5610460366004611497565b610884565b6102506104733660046114ca565b610960565b6102506104863660046114ed565b610985565b600a5461023c9065010000000000900460ff1681565b6102f56104af36600461146a565b6109b0565b6060600380546104c390611517565b80601f01602080910402602001604051908101604052809291908181526020018280546104ef90611517565b801561053c5780601f106105115761010080835404028352916020019161053c565b820191906000526020600020905b81548152906001019060200180831161051f57829003601f168201915b5050505050905090565b600033610554818585610a2b565b60019150505b92915050565b600061057761056e60025490565b60065490610b4f565b905090565b60003361058a858285610b62565b610595858585610bdc565b506001949350505050565b6000336105548185856105b38383610985565b6105bd9190611567565b610a2b565b6105ca610d44565b600a8054911515650100000000000265ff000000000019909216919091179055565b6105f4610d44565b60005b815181101561065c576001600b60008484815181106106185761061861157a565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061065481611590565b9150506105f7565b5050565b61066a3382610d9e565b50565b610675610d44565b600a54640100000000900460ff16156106d55760405162461bcd60e51b815260206004820152601a60248201527f416e746920426f743a20416c726561647920656e61626c65642e00000000000060448201526064015b60405180910390fd5b600a8054600f80546001600160a01b03199081166001600160a01b039889161790915560099490945560079290925565ffffffffffff1990911665010103e80dac179055600c805490911691909216179055565b610731610d44565b61073b6000610edc565b565b610745610d44565b60005b815181101561065c576000600b60008484815181106107695761076961157a565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806107a581611590565b915050610748565b6107b8823383610b62565b61065c8282610d9e565b6060600480546104c390611517565b600033816107df8286610985565b90508381101561083f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106cc565b6105958286868403610a2b565b610854610d44565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600033610554818585610bdc565b61088c610d44565b6103e88261ffff1611156108e25760405162461bcd60e51b815260206004820152601e60248201527f53656c6c20666565206d757374206265206c657373207468616e20313025000060448201526064016106cc565b6103e88161ffff1611156109385760405162461bcd60e51b815260206004820152601d60248201527f42757920666565206d757374206265206c657373207468616e2031302500000060448201526064016106cc565b600a805461ffff928316620100000263ffffffff199091169290931691909117919091179055565b60008061097d6127106109778661ffff8716610f2e565b90610f3a565b949350505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6109b8610d44565b6001600160a01b038116610a1d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106cc565b61066a81610edc565b505050565b6001600160a01b038316610a8d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106cc565b6001600160a01b038216610aee5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106cc565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610b5b82846115a9565b9392505050565b6000610b6e8484610985565b90506000198114610bd65781811015610bc95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106cc565b610bd68484848403610a2b565b50505050565b600a5465010000000000900460ff1615156001148015610c0757506005546001600160a01b03163214155b15610d3957600d546001600160a01b0390811690831603610c6457600a54600090610c3790839061ffff16610960565b600c54909150610c529085906001600160a01b031683610f46565b610c5c8282610b4f565b915050610d39565b600d546001600160a01b0390811690841603610d39576001600160a01b038316600090815260208190526040902054610ca56127106109778361270f610f2e565b8210610cf35760405162461bcd60e51b815260206004820152601f60248201527f416e746920426f743a204d61782039392e393925206f662062616c616e63650060448201526064016106cc565b6000610d0f83600a60029054906101000a900461ffff16610960565b600c54909150610d2a9086906001600160a01b031683610f46565b610d348382610b4f565b925050505b610a26838383610f46565b6005546001600160a01b0316331461073b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106cc565b6001600160a01b038216610dfe5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106cc565b610e0a826000836110f5565b6001600160a01b03821660009081526020819052604090205481811015610e7e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106cc565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610b5b82846115bc565b6000610b5b82846115d3565b6001600160a01b038316610faa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106cc565b6001600160a01b03821661100c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106cc565b6110178383836110f5565b6001600160a01b0383166000908152602081905260409020548181101561108f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106cc565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610bd6565b6001600160a01b0383166000908152600b60205260409020548390839060ff16156111625760405162461bcd60e51b815260206004820152601e60248201527f416e746920426f743a20426c61636b6c697374656420616464726573732e000060448201526064016106cc565b6005546001600160a01b038381169116148061118b57506005546001600160a01b038281169116145b806111a057506005546001600160a01b031632145b61123b57600854421180156111b6575060095442105b1561123b57600f546040516370a0823160e01b81523260048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611204573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122891906115f5565b905060075481101561123957600080fd5b505b5050505050565b600060208083528351808285015260005b8181101561126f57858101830151858201604001528201611253565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146112a757600080fd5b919050565b600080604083850312156112bf57600080fd5b6112c883611290565b946020939093013593505050565b6000806000606084860312156112eb57600080fd5b6112f484611290565b925061130260208501611290565b9150604084013590509250925092565b60006020828403121561132457600080fd5b81358015158114610b5b57600080fd5b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561135d57600080fd5b823567ffffffffffffffff8082111561137557600080fd5b818501915085601f83011261138957600080fd5b81358181111561139b5761139b611334565b8060051b604051601f19603f830116810181811085821117156113c0576113c0611334565b6040529182528482019250838101850191888311156113de57600080fd5b938501935b82851015611403576113f485611290565b845293850193928501926113e3565b98975050505050505050565b60006020828403121561142157600080fd5b5035919050565b6000806000806080858703121561143e57600080fd5b61144785611290565b935061145560208601611290565b93969395505050506040820135916060013590565b60006020828403121561147c57600080fd5b610b5b82611290565b803561ffff811681146112a757600080fd5b600080604083850312156114aa57600080fd5b6114b383611485565b91506114c160208401611485565b90509250929050565b600080604083850312156114dd57600080fd5b823591506114c160208401611485565b6000806040838503121561150057600080fd5b61150983611290565b91506114c160208401611290565b600181811c9082168061152b57607f821691505b60208210810361154b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561055a5761055a611551565b634e487b7160e01b600052603260045260246000fd5b6000600182016115a2576115a2611551565b5060010190565b8181038181111561055a5761055a611551565b808202811582820484141761055a5761055a611551565b6000826115f057634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561160757600080fd5b505191905056fea2646970667358221220cbaf9b9ed4006af5ac9e9d9993955bb9fccc42e141e045eaac8b633281034a8d64736f6c63430008120033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102065760003560e01c806370a082311161011a578063a457c2d7116100ad578063c6537a991161007c578063c6537a9914610452578063dd1ea8b414610465578063dd62ed3e14610478578063e6c1909b1461048b578063f2fde38b146104a157600080fd5b8063a457c2d714610406578063a4640b8214610419578063a9059cbb1461042c578063c31c9c071461043f57600080fd5b806379cc6790116100e957806379cc6790146103cc5780638da5cb5b146103df57806395d89b41146103f057806396cff525146103f857600080fd5b806370a082311461037f578063715018a6146103a857806378e97925146103b05780637911ef9d146103b957600080fd5b80633197cbb61161019d5780634094ab861161016c5780634094ab861461030a57806342966c68146103315780634b8f795714610344578063570ca7351461035757806361d371dd1461036a57600080fd5b80633197cbb6146102c657806339509351146102cf5780633cfd5211146102e25780633d2cc56c146102f757600080fd5b80631ec4280a116101d95780631ec4280a1461028957806323b872dd1461029157806326991cc8146102a4578063313ce567146102b757600080fd5b806306fdde031461020b578063095ea7b31461022957806318160ddd1461024c5780631cd348c01461025e575b600080fd5b6102136104b4565b6040516102209190611242565b60405180910390f35b61023c6102373660046112ac565b610546565b6040519015158152602001610220565b6002545b604051908152602001610220565b600c54610271906001600160a01b031681565b6040516001600160a01b039091168152602001610220565b610250610560565b61023c61029f3660046112d6565b61057c565b600d54610271906001600160a01b031681565b60405160128152602001610220565b61025060095481565b61023c6102dd3660046112ac565b6105a0565b6102f56102f0366004611312565b6105c2565b005b6102f561030536600461134a565b6105ec565b600a5461031e9062010000900461ffff1681565b60405161ffff9091168152602001610220565b6102f561033f36600461140f565b610660565b6102f5610352366004611428565b61066d565b600e54610271906001600160a01b031681565b600a5461023c90640100000000900460ff1681565b61025061038d36600461146a565b6001600160a01b031660009081526020819052604090205490565b6102f5610729565b61025060085481565b6102f56103c736600461134a565b61073d565b6102f56103da3660046112ac565b6107ad565b6005546001600160a01b0316610271565b6102136107c2565b600a5461031e9061ffff1681565b61023c6104143660046112ac565b6107d1565b6102f561042736600461146a565b61084c565b61023c61043a3660046112ac565b610876565b601054610271906001600160a01b031681565b6102f5610460366004611497565b610884565b6102506104733660046114ca565b610960565b6102506104863660046114ed565b610985565b600a5461023c9065010000000000900460ff1681565b6102f56104af36600461146a565b6109b0565b6060600380546104c390611517565b80601f01602080910402602001604051908101604052809291908181526020018280546104ef90611517565b801561053c5780601f106105115761010080835404028352916020019161053c565b820191906000526020600020905b81548152906001019060200180831161051f57829003601f168201915b5050505050905090565b600033610554818585610a2b565b60019150505b92915050565b600061057761056e60025490565b60065490610b4f565b905090565b60003361058a858285610b62565b610595858585610bdc565b506001949350505050565b6000336105548185856105b38383610985565b6105bd9190611567565b610a2b565b6105ca610d44565b600a8054911515650100000000000265ff000000000019909216919091179055565b6105f4610d44565b60005b815181101561065c576001600b60008484815181106106185761061861157a565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061065481611590565b9150506105f7565b5050565b61066a3382610d9e565b50565b610675610d44565b600a54640100000000900460ff16156106d55760405162461bcd60e51b815260206004820152601a60248201527f416e746920426f743a20416c726561647920656e61626c65642e00000000000060448201526064015b60405180910390fd5b600a8054600f80546001600160a01b03199081166001600160a01b039889161790915560099490945560079290925565ffffffffffff1990911665010103e80dac179055600c805490911691909216179055565b610731610d44565b61073b6000610edc565b565b610745610d44565b60005b815181101561065c576000600b60008484815181106107695761076961157a565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806107a581611590565b915050610748565b6107b8823383610b62565b61065c8282610d9e565b6060600480546104c390611517565b600033816107df8286610985565b90508381101561083f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106cc565b6105958286868403610a2b565b610854610d44565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600033610554818585610bdc565b61088c610d44565b6103e88261ffff1611156108e25760405162461bcd60e51b815260206004820152601e60248201527f53656c6c20666565206d757374206265206c657373207468616e20313025000060448201526064016106cc565b6103e88161ffff1611156109385760405162461bcd60e51b815260206004820152601d60248201527f42757920666565206d757374206265206c657373207468616e2031302500000060448201526064016106cc565b600a805461ffff928316620100000263ffffffff199091169290931691909117919091179055565b60008061097d6127106109778661ffff8716610f2e565b90610f3a565b949350505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6109b8610d44565b6001600160a01b038116610a1d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106cc565b61066a81610edc565b505050565b6001600160a01b038316610a8d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106cc565b6001600160a01b038216610aee5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106cc565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610b5b82846115a9565b9392505050565b6000610b6e8484610985565b90506000198114610bd65781811015610bc95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106cc565b610bd68484848403610a2b565b50505050565b600a5465010000000000900460ff1615156001148015610c0757506005546001600160a01b03163214155b15610d3957600d546001600160a01b0390811690831603610c6457600a54600090610c3790839061ffff16610960565b600c54909150610c529085906001600160a01b031683610f46565b610c5c8282610b4f565b915050610d39565b600d546001600160a01b0390811690841603610d39576001600160a01b038316600090815260208190526040902054610ca56127106109778361270f610f2e565b8210610cf35760405162461bcd60e51b815260206004820152601f60248201527f416e746920426f743a204d61782039392e393925206f662062616c616e63650060448201526064016106cc565b6000610d0f83600a60029054906101000a900461ffff16610960565b600c54909150610d2a9086906001600160a01b031683610f46565b610d348382610b4f565b925050505b610a26838383610f46565b6005546001600160a01b0316331461073b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106cc565b6001600160a01b038216610dfe5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106cc565b610e0a826000836110f5565b6001600160a01b03821660009081526020819052604090205481811015610e7e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106cc565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610b5b82846115bc565b6000610b5b82846115d3565b6001600160a01b038316610faa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106cc565b6001600160a01b03821661100c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106cc565b6110178383836110f5565b6001600160a01b0383166000908152602081905260409020548181101561108f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106cc565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610bd6565b6001600160a01b0383166000908152600b60205260409020548390839060ff16156111625760405162461bcd60e51b815260206004820152601e60248201527f416e746920426f743a20426c61636b6c697374656420616464726573732e000060448201526064016106cc565b6005546001600160a01b038381169116148061118b57506005546001600160a01b038281169116145b806111a057506005546001600160a01b031632145b61123b57600854421180156111b6575060095442105b1561123b57600f546040516370a0823160e01b81523260048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611204573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122891906115f5565b905060075481101561123957600080fd5b505b5050505050565b600060208083528351808285015260005b8181101561126f57858101830151858201604001528201611253565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146112a757600080fd5b919050565b600080604083850312156112bf57600080fd5b6112c883611290565b946020939093013593505050565b6000806000606084860312156112eb57600080fd5b6112f484611290565b925061130260208501611290565b9150604084013590509250925092565b60006020828403121561132457600080fd5b81358015158114610b5b57600080fd5b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561135d57600080fd5b823567ffffffffffffffff8082111561137557600080fd5b818501915085601f83011261138957600080fd5b81358181111561139b5761139b611334565b8060051b604051601f19603f830116810181811085821117156113c0576113c0611334565b6040529182528482019250838101850191888311156113de57600080fd5b938501935b82851015611403576113f485611290565b845293850193928501926113e3565b98975050505050505050565b60006020828403121561142157600080fd5b5035919050565b6000806000806080858703121561143e57600080fd5b61144785611290565b935061145560208601611290565b93969395505050506040820135916060013590565b60006020828403121561147c57600080fd5b610b5b82611290565b803561ffff811681146112a757600080fd5b600080604083850312156114aa57600080fd5b6114b383611485565b91506114c160208401611485565b90509250929050565b600080604083850312156114dd57600080fd5b823591506114c160208401611485565b6000806040838503121561150057600080fd5b61150983611290565b91506114c160208401611290565b600181811c9082168061152b57607f821691505b60208210810361154b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561055a5761055a611551565b634e487b7160e01b600052603260045260246000fd5b6000600182016115a2576115a2611551565b5060010190565b8181038181111561055a5761055a611551565b808202811582820484141761055a5761055a611551565b6000826115f057634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561160757600080fd5b505191905056fea2646970667358221220cbaf9b9ed4006af5ac9e9d9993955bb9fccc42e141e045eaac8b633281034a8d64736f6c63430008120033

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.