Sonic Blaze Testnet

Token

RabbitDollar (USDR)
ERC-20

Overview

Max Total Supply

1,000,000,000,000,000,000,000 USDR

Holders

5

Market

Price

-

Onchain Market Cap

-

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 6 Decimals)

Balance
999,999,999,999,999,600,000 USDR
0x3291B1aE6B74d59a4334bBA0257873Dda5d18115
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
USDR

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 6 : USDR.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

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

contract USDR is ERC20 {
    uint256 public constant INITIAL_SUPPLY = (10 ** 9) * (10 ** 18);
    address public immutable owner;

    constructor() ERC20("RabbitDollar", "USDR") {
        owner = msg.sender;
        _mint(msg.sender, INITIAL_SUPPLY);
    }

    function mint(address account, uint256 amount) external virtual {
        require(msg.sender == owner, "ONLY_OWNER");
        _mint(account, amount);
    }

    function decimals() public view virtual override returns (uint8) {
        return 6;
    }

}

File 2 of 6 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 3 of 6 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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 `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` 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 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        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 `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` 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.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

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

File 4 of 6 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
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 6 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

File 6 of 6 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

Settings
{
  "viaIR": true,
  "optimizer": {
    "enabled": true,
    "runs": 200,
    "details": {
      "yulDetails": {
        "optimizerSteps": "u"
      }
    }
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60a06040523462000036576200001462000148565b604051610afc62000693823960805181818161035901526105ea0152610afc90f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b90601f01601f191681019081106001600160401b038211176200007357604052565b6200003b565b90620000906200008860405190565b928362000051565b565b6001600160401b0381116200007357602090601f01601f19160190565b90620000c5620000bf8362000092565b62000079565b918252565b620000d6600c620000af565b6b2930b13134ba2237b63630b960a11b602082015290565b620000f8620000ca565b90565b620001076004620000af565b632aa9a22960e11b602082015290565b620000f8620000fb565b620000f8620000f8620000f89290565b620000f86b033b2e3c9fd0803ce800000062000121565b6200016762000156620000ee565b6200016062000117565b9062000371565b33608052620000906200017962000131565b33620003d3565b634e487b7160e01b600052602260045260246000fd5b9060016002830492168015620001b9575b6020831014620001b357565b62000180565b91607f1691620001a7565b9160001960089290920291821b911b5b9181191691161790565b9190620001f3620000f8620001fc9362000121565b908354620001c4565b9055565b6200009091600091620001de565b8181106200021a575050565b806200022a600060019362000200565b016200020e565b9190601f81116200024157505050565b620002556200009093600052602060002090565b906020601f84018190048301931062000279575b6020601f9091010401906200020e565b909150819062000269565b906200028e815190565b906001600160401b0382116200007357620002b682620002af855462000196565b8562000231565b602090601f8311600114620002f557620001fc929160009183620002e9575b5050600019600883021c1916906002021790565b015190503880620002d5565b601f198316916200030b85600052602060002090565b9260005b8181106200034c5750916002939185600196941062000332575b50505002019055565b01516000196008601f8516021c1916905538808062000329565b919360206001819287870151815501950192016200030f565b90620000909162000284565b90620003836200009092600362000365565b600462000365565b6200039b620000f8620000f89290565b6001600160a01b031690565b620000f8906200038b565b620003bd906200039b565b9052565b602081019291620000909190620003b2565b9190620003e16000620003a7565b92620003ed846200039b565b620003f8826200039b565b146200040a576200009092936200050e565b62000430846200041960405190565b63ec442f0560e01b815291829160048301620003c1565b0390fd5b620000f8906200039b906001600160a01b031682565b620000f89062000434565b620000f8906200044a565b906200046c9062000455565b600052602052604060002090565b620000f89081565b620000f890546200047a565b604090620004b9620000909496959396620004b260608401986000850190620003b2565b6020830152565b0152565b9060001990620001d4565b90620004dc620000f8620001fc9262000121565b8254620004bd565b634e487b7160e01b600052601160045260246000fd5b919082018092116200050857565b620004e4565b8160006200051c81620003a7565b62000527816200039b565b62000532856200039b565b0362000606576000805160206200118f83398151915293620005d693620005be9362000585620005b7946200057f620005778c62000571600262000482565b620004fa565b6002620004c8565b6200039b565b62000590836200039b565b03620005db575050620005b16200057788620005ad600262000482565b0390565b62000455565b9362000455565b93620005c960405190565b9182918290815260200190565b0390a3565b620005b191620005eb9162000460565b620005ff89620005fb8362000482565b0190565b90620004c8565b9091506200061f62000619848462000460565b62000482565b8581106200066b576000805160206200118f8339815191529385620005d69462000585620005be956200057f620006598c620005b7980390565b62000665878662000460565b620004c8565b8362000430876200067b60405190565b63391434e360e21b8152938493600485016200048e56fe6080604052600436101561001257600080fd5b60003560e01c806306fdde03146100d2578063095ea7b3146100cd57806318160ddd146100c857806323b872dd146100c35780632ff2e9dc146100be578063313ce567146100b957806340c10f19146100b457806370a08231146100af5780638da5cb5b146100aa57806395d89b41146100a5578063a9059cbb146100a05763dd62ed3e036100e2576103e2565b6103a3565b610388565b610344565b610329565b6102f7565b6102c8565b6102ad565b610267565b610212565b6101e4565b610156565b60009103126100e257565b600080fd5b60005b8381106100fa5750506000910152565b81810151838201526020016100ea565b61012b61013460209361013e9361011f815190565b80835293849260200190565b958691016100e7565b601f01601f191690565b0190565b60208082526101539291019061010a565b90565b346100e2576101663660046100d7565b61017d610171610533565b60405191829182610142565b0390f35b6001600160a01b031690565b6001600160a01b0381165b036100e257565b905035906101ac8261018d565b565b80610198565b905035906101ac826101ae565b91906040838203126100e2576101539060206101dd828661019f565b94016101b4565b346100e25761017d6102006101fa3660046101c1565b9061053d565b60405191829182901515815260200190565b346100e2576102223660046100d7565b61017d61022d61055e565b6040515b9182918290815260200190565b90916060828403126100e257610153610257848461019f565b9360406101dd826020870161019f565b346100e25761017d61020061027d36600461023e565b91610568565b6101536101536101539290565b6101536b033b2e3c9fd0803ce8000000610283565b610153610290565b346100e2576102bd3660046100d7565b61017d61022d6102a5565b346100e2576102d83660046100d7565b61017d6102e3610591565b6040519182918260ff909116815260200190565b346100e25761031061030a3660046101c1565b906105d8565b604051005b906020828203126100e2576101539161019f565b346100e25761017d61022d61033f366004610315565b610654565b346100e2576103543660046100d7565b6040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346100e2576103983660046100d7565b61017d610171610670565b346100e25761017d6102006103b93660046101c1565b9061067a565b91906040838203126100e2576101539060206103db828661019f565b940161019f565b346100e25761017d61022d6103f83660046103bf565b90610685565b634e487b7160e01b600052602260045260246000fd5b9060016002830492168015610434575b602083101461042f57565b6103fe565b91607f1691610424565b8054600093929161045b61045183610414565b8085529360200190565b91600181169081156104ad575060011461047457505050565b6104879192939450600052602060002090565b916000925b8184106104995750500190565b80548484015260209093019260010161048c565b92949550505060ff1916825215156020020190565b906101539161043e565b634e487b7160e01b600052604160045260246000fd5b90601f01601f1916810190811067ffffffffffffffff82111761050457604052565b6104cc565b906101ac6105239261051a60405190565b938480926104c2565b03836104e2565b61015390610509565b610153600361052a565b6105489190336106a5565b600190565b6101539081565b610153905461054d565b6101536002610554565b6105489291906105798333836106dd565b610758565b61058b6101536101539290565b60ff1690565b610153600661057e565b156105a257565b60405162461bcd60e51b815260206004820152600a60248201526927a7262cafa7aba722a960b11b6044820152606490fd5b0390fd5b6101ac91906106116001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016331461059b565b610805565b61015390610181906001600160a01b031682565b61015390610616565b6101539061062a565b9061064690610633565b600052602052604060002090565b61066b61015391610663600090565b50600061063c565b610554565b610153600461052a565b610548919033610758565b610153916106a061066b92610698600090565b50600161063c565b61063c565b916001916101ac93610856565b6001600160a01b0390911681526060810193926101ac9290916040916106d9906020830152565b0152565b916106e88284610685565b60001981036106f8575b50505050565b81811061071e579161070f61071594926000940390565b91610856565b388080806106f2565b826105d48361072c60405190565b637dc7a0d960e11b8152938493600485016106b2565b6101816101536101539290565b61015390610742565b929190610765600061074f565b936001600160a01b0385166001600160a01b038216146107d4576001600160a01b0385166001600160a01b038316146107a3576101ac939450610986565b6105d4856107b060405190565b63ec442f0560e01b8152918291600483016001600160a01b03909116815260200190565b6105d4856107e160405190565b634b637e8f60e11b8152918291600483016001600160a01b03909116815260200190565b9190610811600061074f565b926001600160a01b0384166001600160a01b03821614610835576101ac9293610986565b6105d4846107b060405190565b9061015361015361085292610283565b9055565b909192610863600061074f565b6001600160a01b0381166001600160a01b0384161461092d576001600160a01b0381166001600160a01b038516146108fc57506108ae846108a9856106a086600161063c565b610842565b6108b757505050565b6108f76108ed6108e77f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92593610633565b93610633565b9361023160405190565b0390a3565b6105d49061090960405190565b634a1406b160e11b8152918291600483016001600160a01b03909116815260200190565b6105d49061093a60405190565b63e602df0560e01b8152918291600483016001600160a01b03909116815260200190565b634e487b7160e01b600052601160045260246000fd5b9190820180921161098157565b61095e565b8160006109928161074f565b6001600160a01b0381166001600160a01b03851603610a44577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef936108f7936108ed936109f96108e7946101816109f28c6109ed6002610554565b610974565b6002610842565b6001600160a01b03831603610a24575050610a1f6109f288610a1b6002610554565b0390565b610633565b610a1f91610a319161063c565b610a3e8961013e83610554565b90610842565b909150610a5461066b848461063c565b858110610aa2577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef93856108f7946109f96108ed95610181610a988c6108e7980390565b6108a9878661063c565b836105d487610ab060405190565b63391434e360e21b8152938493600485016106b256fea264697066735822122030d61c623420c141b707e74b189b53edaaa63d5c746967b6e939cbb3d5cda23864736f6c63430008180033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x6080604052600436101561001257600080fd5b60003560e01c806306fdde03146100d2578063095ea7b3146100cd57806318160ddd146100c857806323b872dd146100c35780632ff2e9dc146100be578063313ce567146100b957806340c10f19146100b457806370a08231146100af5780638da5cb5b146100aa57806395d89b41146100a5578063a9059cbb146100a05763dd62ed3e036100e2576103e2565b6103a3565b610388565b610344565b610329565b6102f7565b6102c8565b6102ad565b610267565b610212565b6101e4565b610156565b60009103126100e257565b600080fd5b60005b8381106100fa5750506000910152565b81810151838201526020016100ea565b61012b61013460209361013e9361011f815190565b80835293849260200190565b958691016100e7565b601f01601f191690565b0190565b60208082526101539291019061010a565b90565b346100e2576101663660046100d7565b61017d610171610533565b60405191829182610142565b0390f35b6001600160a01b031690565b6001600160a01b0381165b036100e257565b905035906101ac8261018d565b565b80610198565b905035906101ac826101ae565b91906040838203126100e2576101539060206101dd828661019f565b94016101b4565b346100e25761017d6102006101fa3660046101c1565b9061053d565b60405191829182901515815260200190565b346100e2576102223660046100d7565b61017d61022d61055e565b6040515b9182918290815260200190565b90916060828403126100e257610153610257848461019f565b9360406101dd826020870161019f565b346100e25761017d61020061027d36600461023e565b91610568565b6101536101536101539290565b6101536b033b2e3c9fd0803ce8000000610283565b610153610290565b346100e2576102bd3660046100d7565b61017d61022d6102a5565b346100e2576102d83660046100d7565b61017d6102e3610591565b6040519182918260ff909116815260200190565b346100e25761031061030a3660046101c1565b906105d8565b604051005b906020828203126100e2576101539161019f565b346100e25761017d61022d61033f366004610315565b610654565b346100e2576103543660046100d7565b6040517f0000000000000000000000003291b1ae6b74d59a4334bba0257873dda5d181156001600160a01b03168152602090f35b346100e2576103983660046100d7565b61017d610171610670565b346100e25761017d6102006103b93660046101c1565b9061067a565b91906040838203126100e2576101539060206103db828661019f565b940161019f565b346100e25761017d61022d6103f83660046103bf565b90610685565b634e487b7160e01b600052602260045260246000fd5b9060016002830492168015610434575b602083101461042f57565b6103fe565b91607f1691610424565b8054600093929161045b61045183610414565b8085529360200190565b91600181169081156104ad575060011461047457505050565b6104879192939450600052602060002090565b916000925b8184106104995750500190565b80548484015260209093019260010161048c565b92949550505060ff1916825215156020020190565b906101539161043e565b634e487b7160e01b600052604160045260246000fd5b90601f01601f1916810190811067ffffffffffffffff82111761050457604052565b6104cc565b906101ac6105239261051a60405190565b938480926104c2565b03836104e2565b61015390610509565b610153600361052a565b6105489190336106a5565b600190565b6101539081565b610153905461054d565b6101536002610554565b6105489291906105798333836106dd565b610758565b61058b6101536101539290565b60ff1690565b610153600661057e565b156105a257565b60405162461bcd60e51b815260206004820152600a60248201526927a7262cafa7aba722a960b11b6044820152606490fd5b0390fd5b6101ac91906106116001600160a01b037f0000000000000000000000003291b1ae6b74d59a4334bba0257873dda5d1811516331461059b565b610805565b61015390610181906001600160a01b031682565b61015390610616565b6101539061062a565b9061064690610633565b600052602052604060002090565b61066b61015391610663600090565b50600061063c565b610554565b610153600461052a565b610548919033610758565b610153916106a061066b92610698600090565b50600161063c565b61063c565b916001916101ac93610856565b6001600160a01b0390911681526060810193926101ac9290916040916106d9906020830152565b0152565b916106e88284610685565b60001981036106f8575b50505050565b81811061071e579161070f61071594926000940390565b91610856565b388080806106f2565b826105d48361072c60405190565b637dc7a0d960e11b8152938493600485016106b2565b6101816101536101539290565b61015390610742565b929190610765600061074f565b936001600160a01b0385166001600160a01b038216146107d4576001600160a01b0385166001600160a01b038316146107a3576101ac939450610986565b6105d4856107b060405190565b63ec442f0560e01b8152918291600483016001600160a01b03909116815260200190565b6105d4856107e160405190565b634b637e8f60e11b8152918291600483016001600160a01b03909116815260200190565b9190610811600061074f565b926001600160a01b0384166001600160a01b03821614610835576101ac9293610986565b6105d4846107b060405190565b9061015361015361085292610283565b9055565b909192610863600061074f565b6001600160a01b0381166001600160a01b0384161461092d576001600160a01b0381166001600160a01b038516146108fc57506108ae846108a9856106a086600161063c565b610842565b6108b757505050565b6108f76108ed6108e77f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92593610633565b93610633565b9361023160405190565b0390a3565b6105d49061090960405190565b634a1406b160e11b8152918291600483016001600160a01b03909116815260200190565b6105d49061093a60405190565b63e602df0560e01b8152918291600483016001600160a01b03909116815260200190565b634e487b7160e01b600052601160045260246000fd5b9190820180921161098157565b61095e565b8160006109928161074f565b6001600160a01b0381166001600160a01b03851603610a44577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef936108f7936108ed936109f96108e7946101816109f28c6109ed6002610554565b610974565b6002610842565b6001600160a01b03831603610a24575050610a1f6109f288610a1b6002610554565b0390565b610633565b610a1f91610a319161063c565b610a3e8961013e83610554565b90610842565b909150610a5461066b848461063c565b858110610aa2577fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef93856108f7946109f96108ed95610181610a988c6108e7980390565b6108a9878661063c565b836105d487610ab060405190565b63391434e360e21b8152938493600485016106b256fea264697066735822122030d61c623420c141b707e74b189b53edaaa63d5c746967b6e939cbb3d5cda23864736f6c63430008180033

[ 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.