ETH Price: $3,408.34 (+1.70%)

Token

PDB (PDB)
 

Overview

Max Total Supply

500,000,000 PDB

Holders

108

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

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:
GGGToken

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-12-01
*/

// SPDX-License-Identifier: MIT

/**
 * The Free and best Token-Factory.NFT-Factory
 * WebSite: https://ggg.dog
 * English Telegram group:https://t.me/GGGDOG_EN
 * Twitter:https://twitter.com/GGGTokenFactory
*/

pragma solidity =0.8.6;

// 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: @openzeppelin/contracts/utils/Context.sol

// 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;
        // msg.sender 是调用者本身
    }

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

// File: @openzeppelin/contracts/access/Ownable.sol

// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

// 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: contracts/newPlat/biaozhun.sol

pragma solidity =0.8.6;

contract GGGToken is IERC20, Ownable {
    using SafeMath for uint256;

    uint256 public constant VERSION = 3;

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

    string private _name;
    string private _symbol;
    uint8 private _decimals;
    uint256 private _totalSupply;
    
    constructor(){}
    
    bool private _init;
    function initialize ( bytes memory _data) public{
        require(!_init);
        _init = true;
        (string[] memory stringP,uint256[] memory uintP,address[] memory addrP,uint8 [] memory boolP) = abi.decode(_data, (string[], uint256[], address[],uint8[]));
        _name = stringP[0];
        _symbol = stringP[1];
        _decimals = uint8(uintP[0]);
        _mint(addrP[0], uintP[1] * 10**_decimals);
        transferOwnership(addrP[0]);
    }



    /**
     * @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 value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * 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 _decimals;
    }

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

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

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

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(
            amount,
            "ERC20: transfer amount exceeds balance"
        );
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(
            amount,
            "ERC20: burn amount exceeds balance"
        );
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"VERSION","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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"initialize","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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"}]

608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6112b28061007e6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063715018a611610097578063a9059cbb11610066578063a9059cbb1461020f578063dd62ed3e14610222578063f2fde38b1461025b578063ffa1ad741461026e57600080fd5b8063715018a6146101d15780638da5cb5b146101d957806395d89b41146101f4578063a457c2d7146101fc57600080fd5b8063313ce567116100d3578063313ce5671461016b5780633950935114610180578063439fab911461019357806370a08231146101a857600080fd5b806306fdde0314610105578063095ea7b31461012357806318160ddd1461014657806323b872dd14610158575b600080fd5b61010d610276565b60405161011a9190610f72565b60405180910390f35b610136610131366004610d67565b610308565b604051901515815260200161011a565b6006545b60405190815260200161011a565b610136610166366004610d26565b61031f565b60055460405160ff909116815260200161011a565b61013661018e366004610d67565b610388565b6101a66101a1366004610ef7565b6103be565b005b61014a6101b6366004610cd0565b6001600160a01b031660009081526001602052604090205490565b6101a661051e565b6000546040516001600160a01b03909116815260200161011a565b61010d610589565b61013661020a366004610d67565b610598565b61013661021d366004610d67565b6105e7565b61014a610230366004610ced565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6101a6610269366004610cd0565b6105f4565b61014a600381565b60606003805461028590611177565b80601f01602080910402602001604051908101604052809291908181526020018280546102b190611177565b80156102fe5780601f106102d3576101008083540402835291602001916102fe565b820191906000526020600020905b8154815290600101906020018083116102e157829003601f168201915b5050505050905090565b60006103153384846106bf565b5060015b92915050565b600061032c8484846107e4565b61037e843361037985604051806060016040528060288152602001611230602891396001600160a01b038a166000908152600260209081526040808320338452909152902054919061096a565b6106bf565b5060019392505050565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916103159185906103799086610996565b60075460ff16156103ce57600080fd5b6007805460ff1916600117905580516000908190819081906103f99086016020908101908701610d93565b935093509350935083600081518110610414576104146111c8565b602002602001015160039080519060200190610431929190610adf565b5083600181518110610445576104456111c8565b602002602001015160049080519060200190610462929190610adf565b5082600081518110610476576104766111c8565b6020026020010151600560006101000a81548160ff021916908360ff1602179055506104f4826000815181106104ae576104ae6111c8565b60209081029190910101516005546104ca9060ff16600a61107d565b856001815181106104dd576104dd6111c8565b60200260200101516104ef9190611128565b6109a9565b6105178260008151811061050a5761050a6111c8565b60200260200101516105f4565b5050505050565b6000546001600160a01b0316331461057d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6105876000610a8f565b565b60606004805461028590611177565b6000610315338461037985604051806060016040528060258152602001611258602591393360009081526002602090815260408083206001600160a01b038d168452909152902054919061096a565b60006103153384846107e4565b6000546001600160a01b0316331461064e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610574565b6001600160a01b0381166106b35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610574565b6106bc81610a8f565b50565b6001600160a01b0383166107215760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610574565b6001600160a01b0382166107825760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610574565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166108485760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610574565b6001600160a01b0382166108aa5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610574565b6108e78160405180606001604052806026815260200161120a602691396001600160a01b038616600090815260016020526040902054919061096a565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546109169082610996565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906107d79085815260200190565b6000818484111561098e5760405162461bcd60e51b81526004016105749190610f72565b505050900390565b60006109a28284611022565b9392505050565b6001600160a01b0382166109ff5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610574565b600654610a0c9082610996565b6006556001600160a01b038216600090815260016020526040902054610a329082610996565b6001600160a01b0383166000818152600160205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610a839085815260200190565b60405180910390a35050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054610aeb90611177565b90600052602060002090601f016020900481019282610b0d5760008555610b53565b82601f10610b2657805160ff1916838001178555610b53565b82800160010185558215610b53579182015b82811115610b53578251825591602001919060010190610b38565b50610b5f929150610b63565b5090565b5b80821115610b5f5760008155600101610b64565b600082601f830112610b8957600080fd5b81516020610b9e610b9983610fd6565b610fa5565b80838252828201915082860187848660051b8901011115610bbe57600080fd5b60005b85811015610be6578151610bd4816111f4565b84529284019290840190600101610bc1565b5090979650505050505050565b600082601f830112610c0457600080fd5b81516020610c14610b9983610fd6565b80838252828201915082860187848660051b8901011115610c3457600080fd5b60005b85811015610be657815184529284019290840190600101610c37565b600082601f830112610c6457600080fd5b81516020610c74610b9983610fd6565b80838252828201915082860187848660051b8901011115610c9457600080fd5b6000805b86811015610cc257825160ff81168114610cb0578283fd5b85529385019391850191600101610c98565b509198975050505050505050565b600060208284031215610ce257600080fd5b81356109a2816111f4565b60008060408385031215610d0057600080fd5b8235610d0b816111f4565b91506020830135610d1b816111f4565b809150509250929050565b600080600060608486031215610d3b57600080fd5b8335610d46816111f4565b92506020840135610d56816111f4565b929592945050506040919091013590565b60008060408385031215610d7a57600080fd5b8235610d85816111f4565b946020939093013593505050565b60008060008060808587031215610da957600080fd5b845167ffffffffffffffff80821115610dc157600080fd5b818701915087601f830112610dd557600080fd5b8151610de3610b9982610fd6565b80828252602082019150602085018b60208560051b8801011115610e0657600080fd5b60005b84811015610e7f57815186811115610e2057600080fd5b8701603f81018e13610e3157600080fd5b6020810151610e42610b9982610ffa565b8181528f6040838501011115610e5757600080fd5b610e68826020830160408601611147565b865250506020938401939190910190600101610e09565b505060208a01519098509350505080821115610e9a57600080fd5b610ea688838901610bf3565b94506040870151915080821115610ebc57600080fd5b610ec888838901610b78565b93506060870151915080821115610ede57600080fd5b50610eeb87828801610c53565b91505092959194509250565b600060208284031215610f0957600080fd5b813567ffffffffffffffff811115610f2057600080fd5b8201601f81018413610f3157600080fd5b8035610f3f610b9982610ffa565b818152856020838501011115610f5457600080fd5b81602084016020830137600091810160200191909152949350505050565b6020815260008251806020840152610f91816040850160208701611147565b601f01601f19169190910160400192915050565b604051601f8201601f1916810167ffffffffffffffff81118282101715610fce57610fce6111de565b604052919050565b600067ffffffffffffffff821115610ff057610ff06111de565b5060051b60200190565b600067ffffffffffffffff821115611014576110146111de565b50601f01601f191660200190565b60008219821115611035576110356111b2565b500190565b600181815b8085111561107557816000190482111561105b5761105b6111b2565b8085161561106857918102915b93841c939080029061103f565b509250929050565b60006109a260ff84168360008261109657506001610319565b816110a357506000610319565b81600181146110b957600281146110c3576110df565b6001915050610319565b60ff8411156110d4576110d46111b2565b50506001821b610319565b5060208310610133831016604e8410600b8410161715611102575081810a610319565b61110c838361103a565b8060001904821115611120576111206111b2565b029392505050565b6000816000190483118215151615611142576111426111b2565b500290565b60005b8381101561116257818101518382015260200161114a565b83811115611171576000848401525b50505050565b600181811c9082168061118b57607f821691505b602082108114156111ac57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146106bc57600080fdfe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212206a9ab403b179c739ebf7cc0d8e5d5bbe84c57a9cee2525ef59d2c52f4c624cd764736f6c63430008060033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c8063715018a611610097578063a9059cbb11610066578063a9059cbb1461020f578063dd62ed3e14610222578063f2fde38b1461025b578063ffa1ad741461026e57600080fd5b8063715018a6146101d15780638da5cb5b146101d957806395d89b41146101f4578063a457c2d7146101fc57600080fd5b8063313ce567116100d3578063313ce5671461016b5780633950935114610180578063439fab911461019357806370a08231146101a857600080fd5b806306fdde0314610105578063095ea7b31461012357806318160ddd1461014657806323b872dd14610158575b600080fd5b61010d610276565b60405161011a9190610f72565b60405180910390f35b610136610131366004610d67565b610308565b604051901515815260200161011a565b6006545b60405190815260200161011a565b610136610166366004610d26565b61031f565b60055460405160ff909116815260200161011a565b61013661018e366004610d67565b610388565b6101a66101a1366004610ef7565b6103be565b005b61014a6101b6366004610cd0565b6001600160a01b031660009081526001602052604090205490565b6101a661051e565b6000546040516001600160a01b03909116815260200161011a565b61010d610589565b61013661020a366004610d67565b610598565b61013661021d366004610d67565b6105e7565b61014a610230366004610ced565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6101a6610269366004610cd0565b6105f4565b61014a600381565b60606003805461028590611177565b80601f01602080910402602001604051908101604052809291908181526020018280546102b190611177565b80156102fe5780601f106102d3576101008083540402835291602001916102fe565b820191906000526020600020905b8154815290600101906020018083116102e157829003601f168201915b5050505050905090565b60006103153384846106bf565b5060015b92915050565b600061032c8484846107e4565b61037e843361037985604051806060016040528060288152602001611230602891396001600160a01b038a166000908152600260209081526040808320338452909152902054919061096a565b6106bf565b5060019392505050565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916103159185906103799086610996565b60075460ff16156103ce57600080fd5b6007805460ff1916600117905580516000908190819081906103f99086016020908101908701610d93565b935093509350935083600081518110610414576104146111c8565b602002602001015160039080519060200190610431929190610adf565b5083600181518110610445576104456111c8565b602002602001015160049080519060200190610462929190610adf565b5082600081518110610476576104766111c8565b6020026020010151600560006101000a81548160ff021916908360ff1602179055506104f4826000815181106104ae576104ae6111c8565b60209081029190910101516005546104ca9060ff16600a61107d565b856001815181106104dd576104dd6111c8565b60200260200101516104ef9190611128565b6109a9565b6105178260008151811061050a5761050a6111c8565b60200260200101516105f4565b5050505050565b6000546001600160a01b0316331461057d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6105876000610a8f565b565b60606004805461028590611177565b6000610315338461037985604051806060016040528060258152602001611258602591393360009081526002602090815260408083206001600160a01b038d168452909152902054919061096a565b60006103153384846107e4565b6000546001600160a01b0316331461064e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610574565b6001600160a01b0381166106b35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610574565b6106bc81610a8f565b50565b6001600160a01b0383166107215760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610574565b6001600160a01b0382166107825760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610574565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166108485760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610574565b6001600160a01b0382166108aa5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610574565b6108e78160405180606001604052806026815260200161120a602691396001600160a01b038616600090815260016020526040902054919061096a565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546109169082610996565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906107d79085815260200190565b6000818484111561098e5760405162461bcd60e51b81526004016105749190610f72565b505050900390565b60006109a28284611022565b9392505050565b6001600160a01b0382166109ff5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610574565b600654610a0c9082610996565b6006556001600160a01b038216600090815260016020526040902054610a329082610996565b6001600160a01b0383166000818152600160205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610a839085815260200190565b60405180910390a35050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054610aeb90611177565b90600052602060002090601f016020900481019282610b0d5760008555610b53565b82601f10610b2657805160ff1916838001178555610b53565b82800160010185558215610b53579182015b82811115610b53578251825591602001919060010190610b38565b50610b5f929150610b63565b5090565b5b80821115610b5f5760008155600101610b64565b600082601f830112610b8957600080fd5b81516020610b9e610b9983610fd6565b610fa5565b80838252828201915082860187848660051b8901011115610bbe57600080fd5b60005b85811015610be6578151610bd4816111f4565b84529284019290840190600101610bc1565b5090979650505050505050565b600082601f830112610c0457600080fd5b81516020610c14610b9983610fd6565b80838252828201915082860187848660051b8901011115610c3457600080fd5b60005b85811015610be657815184529284019290840190600101610c37565b600082601f830112610c6457600080fd5b81516020610c74610b9983610fd6565b80838252828201915082860187848660051b8901011115610c9457600080fd5b6000805b86811015610cc257825160ff81168114610cb0578283fd5b85529385019391850191600101610c98565b509198975050505050505050565b600060208284031215610ce257600080fd5b81356109a2816111f4565b60008060408385031215610d0057600080fd5b8235610d0b816111f4565b91506020830135610d1b816111f4565b809150509250929050565b600080600060608486031215610d3b57600080fd5b8335610d46816111f4565b92506020840135610d56816111f4565b929592945050506040919091013590565b60008060408385031215610d7a57600080fd5b8235610d85816111f4565b946020939093013593505050565b60008060008060808587031215610da957600080fd5b845167ffffffffffffffff80821115610dc157600080fd5b818701915087601f830112610dd557600080fd5b8151610de3610b9982610fd6565b80828252602082019150602085018b60208560051b8801011115610e0657600080fd5b60005b84811015610e7f57815186811115610e2057600080fd5b8701603f81018e13610e3157600080fd5b6020810151610e42610b9982610ffa565b8181528f6040838501011115610e5757600080fd5b610e68826020830160408601611147565b865250506020938401939190910190600101610e09565b505060208a01519098509350505080821115610e9a57600080fd5b610ea688838901610bf3565b94506040870151915080821115610ebc57600080fd5b610ec888838901610b78565b93506060870151915080821115610ede57600080fd5b50610eeb87828801610c53565b91505092959194509250565b600060208284031215610f0957600080fd5b813567ffffffffffffffff811115610f2057600080fd5b8201601f81018413610f3157600080fd5b8035610f3f610b9982610ffa565b818152856020838501011115610f5457600080fd5b81602084016020830137600091810160200191909152949350505050565b6020815260008251806020840152610f91816040850160208701611147565b601f01601f19169190910160400192915050565b604051601f8201601f1916810167ffffffffffffffff81118282101715610fce57610fce6111de565b604052919050565b600067ffffffffffffffff821115610ff057610ff06111de565b5060051b60200190565b600067ffffffffffffffff821115611014576110146111de565b50601f01601f191660200190565b60008219821115611035576110356111b2565b500190565b600181815b8085111561107557816000190482111561105b5761105b6111b2565b8085161561106857918102915b93841c939080029061103f565b509250929050565b60006109a260ff84168360008261109657506001610319565b816110a357506000610319565b81600181146110b957600281146110c3576110df565b6001915050610319565b60ff8411156110d4576110d46111b2565b50506001821b610319565b5060208310610133831016604e8410600b8410161715611102575081810a610319565b61110c838361103a565b8060001904821115611120576111206111b2565b029392505050565b6000816000190483118215151615611142576111426111b2565b500290565b60005b8381101561116257818101518382015260200161114a565b83811115611171576000848401525b50505050565b600181811c9082168061118b57607f821691505b602082108114156111ac57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146106bc57600080fdfe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212206a9ab403b179c739ebf7cc0d8e5d5bbe84c57a9cee2525ef59d2c52f4c624cd764736f6c63430008060033

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.