ETH Price: $3,058.93 (+1.81%)
Gas: 4 Gwei

Contract

0x1c76B8BeE27e15a14d86697a13b74a62D8f76d9c
 

Overview

ETH Balance

0.00001 ETH

Eth Value

$0.03 (@ $3,058.93/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
0x985c403b87265197531edd333253ed25e053d1bebfa55d8bbfa21a9f6ecf00f6 Transfer(pending)2024-07-09 16:22:572 hrs ago1720542177IN
0x1c76B8Be...2D8f76d9c
0 ETH(Pending)(Pending)
0x82450c02d5f797ba41f2fd1ea202de0f4944fc9c7a3f15f5f2e63dc493747c59 Transfer(pending)2024-07-09 16:22:572 hrs ago1720542177IN
0x1c76B8Be...2D8f76d9c
0 ETH(Pending)(Pending)
0x02c4b384de585be4d5a4ea7b026fbc1ceb2878d18a088456d96a020cd121518b Transfer(pending)2024-07-09 16:22:572 hrs ago1720542177IN
0x1c76B8Be...2D8f76d9c
0 ETH(Pending)(Pending)
0xc1592a5e150e888073f1ef8808a0c3fa7a93ef7417e439e42f4588189e0c7552 Transfer(pending)2024-07-09 16:22:572 hrs ago1720542177IN
0x1c76B8Be...2D8f76d9c
0 ETH(Pending)(Pending)
0x7351bb2c17747ec7487109e2bec26205e00800f9e65e7c42ded8353b7c0bfaa0 Transfer(pending)2024-07-09 16:22:572 hrs ago1720542177IN
0x1c76B8Be...2D8f76d9c
0 ETH(Pending)(Pending)
0x5538a210593ce55b339f22f85109eab85d44ea0050fb71ed016e57265f790a44 Transfer(pending)2024-07-08 6:14:0436 hrs ago1720419244IN
0x1c76B8Be...2D8f76d9c
0 ETH(Pending)(Pending)
0x2f4abf662f8e274f16194fbf7648eff6ddafb4cc706cd1526e72152b4cd4eca3 Transfer(pending)2024-07-07 18:23:162 days ago1720376596IN
0x1c76B8Be...2D8f76d9c
0 ETH(Pending)(Pending)
0xe1ed8cf86c0ba40cab5646f45df2e6915010d5f1104613f0aaf07d88f79849bc Transfer(pending)2024-07-07 18:23:152 days ago1720376595IN
0x1c76B8Be...2D8f76d9c
0 ETH(Pending)(Pending)
0xf9fe8acb64ae60a10d187736773651906bbf159d2d919808fb8b3fc32e0b64a6 Transfer(pending)2024-07-07 6:00:282 days ago1720332028IN
0x1c76B8Be...2D8f76d9c
0 ETH(Pending)(Pending)
0xafaf14cd7ee04e01a283adeda92e1d0b884df3699ee8273f282b67844546538e Transfer(pending)2024-07-07 2:34:492 days ago1720319689IN
0x1c76B8Be...2D8f76d9c
0 ETH(Pending)(Pending)
Approve200234512024-06-05 5:11:1134 days ago1717564271IN
0x1c76B8Be...2D8f76d9c
0 ETH0.00017877.37019875
Transfer198391072024-05-10 10:42:1160 days ago1715337731IN
0x1c76B8Be...2D8f76d9c
0 ETH0.000243975.22539289
Transfer198370102024-05-10 3:39:5960 days ago1715312399IN
0x1c76B8Be...2D8f76d9c
0 ETH0.0000633
Transfer198369842024-05-10 3:34:3560 days ago1715312075IN
0x1c76B8Be...2D8f76d9c
0 ETH0.0000633
Approve183134962023-10-09 14:24:59274 days ago1696861499IN
0x1c76B8Be...2D8f76d9c
0 ETH0.000212538.74379963
Transfer182952642023-10-07 1:15:11276 days ago1696641311IN
0x1c76B8Be...2D8f76d9c
0 ETH0.000400425
Transfer182951742023-10-07 0:56:47276 days ago1696640207IN
0x1c76B8Be...2D8f76d9c
0 ETH0.000400425
Transfer182951142023-10-07 0:44:47276 days ago1696639487IN
0x1c76B8Be...2D8f76d9c
0 ETH0.000400425
Transfer182019612023-09-24 0:02:11289 days ago1695513731IN
0x1c76B8Be...2D8f76d9c
0 ETH0.000149097.09959138
Transfer181591192023-09-17 23:55:23295 days ago1694994923IN
0x1c76B8Be...2D8f76d9c
0 ETH0.00034457.37665909
Transfer181591152023-09-17 23:54:35295 days ago1694994875IN
0x1c76B8Be...2D8f76d9c
0 ETH0.000409697.95497941
Transfer180536682023-09-03 4:45:11310 days ago1693716311IN
0x1c76B8Be...2D8f76d9c
0 ETH0.000784679.798194
Transfer180022202023-08-26 23:47:11317 days ago1693093631IN
0x1c76B8Be...2D8f76d9c
0 ETH0.0008008410
Transfer180021722023-08-26 23:37:35317 days ago1693093055IN
0x1c76B8Be...2D8f76d9c
0 ETH0.0002110
Transfer180021672023-08-26 23:36:35317 days ago1693092995IN
0x1c76B8Be...2D8f76d9c
0 ETH0.0002110
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Zero

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : Zero.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

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

contract Zero is ERC20, ReentrancyGuard {
    uint256 public constant TOTAL_SUPPLY = 10240000 * (10 ** 18);
    uint256 public constant RATE = 1024 * (10 ** 18);
    uint256 public constant CYCLE = 10 seconds;

    uint256 public nextMintTime;
    mapping(address => bool) public hasClaimed;

    constructor() ERC20("Zero", "ZERO") {
        _mint(msg.sender, TOTAL_SUPPLY / 1000); // Mint 0.1% of total supply to deployer
        nextMintTime = block.timestamp + CYCLE;
    }

    function claim() external nonReentrant {
        require(block.timestamp >= nextMintTime, "Too early to claim");
        require(!hasClaimed[msg.sender], "You have already claimed");

        _mint(msg.sender, RATE);
        nextMintTime = block.timestamp + CYCLE;
        hasClaimed[msg.sender] = true;
    }

    receive() external payable nonReentrant {
        require(block.timestamp >= nextMintTime, "Too early to claim");
        require(!hasClaimed[msg.sender], "You have already claimed");

        _mint(msg.sender, RATE);
        nextMintTime = block.timestamp + CYCLE;
        hasClaimed[msg.sender] = true;
    }
}

File 2 of 6 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 3 of 6 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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].
 *
 * 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.
 *
 * 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}.
     *
     * 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 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 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 4 of 6 : 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 6 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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 6 : 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;
    }
}

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":"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":"CYCLE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_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":"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":"claim","outputs":[],"stateMutability":"nonpayable","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":"","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextMintTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b50604051806040016040528060048152602001635a65726f60e01b815250604051806040016040528060048152602001635a45524f60e01b81525081600390805190602001906200006492919062000182565b5080516200007a90600490602084019062000182565b5050600160055550620000a633620000a06103e86a0878678326eac9000000006200024d565b620000bc565b620000b3600a4262000228565b600655620002ab565b6001600160a01b038216620001175760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200012b919062000228565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b82805462000190906200026e565b90600052602060002090601f016020900481019282620001b45760008555620001ff565b82601f10620001cf57805160ff1916838001178555620001ff565b82800160010185558215620001ff579182015b82811115620001ff578251825591602001919060010190620001e2565b506200020d92915062000211565b5090565b5b808211156200020d576000815560010162000212565b600082198211156200024857634e487b7160e01b81526011600452602481fd5b500190565b6000826200026957634e487b7160e01b81526012600452602481fd5b500490565b600181811c908216806200028357607f821691505b60208210811415620002a557634e487b7160e01b600052602260045260246000fd5b50919050565b610ce980620002bb6000396000f3fe6080604052600436106101025760003560e01c806370a082311161009557806395d89b411161006457806395d89b41146103a55780639e8d48d0146103ba578063a457c2d7146103cf578063a9059cbb146103ef578063dd62ed3e1461040f57600080fd5b806370a082311461030a57806373b2e80e146103405780638c4e8c2114610370578063902d55a51461038657600080fd5b8063313ce567116100d1578063313ce5671461029c57806339509351146102b85780634e71d92d146102d8578063664e9704146102ed57600080fd5b806306fdde0314610202578063095ea7b31461022d57806318160ddd1461025d57806323b872dd1461027c57600080fd5b366101fd5761010f61042f565b60065442101561015b5760405162461bcd60e51b8152602060048201526012602482015271546f6f206561726c7920746f20636c61696d60701b60448201526064015b60405180910390fd5b3360009081526007602052604090205460ff16156101b65760405162461bcd60e51b8152602060048201526018602482015277165bdd481a185d9948185b1c9958591e4818db185a5b595960421b6044820152606401610152565b6101c933683782dace9d90000000610489565b6101d4600a42610c54565b600655336000908152600760205260409020805460ff191660011790556101fb6001600555565b005b600080fd5b34801561020e57600080fd5b50610217610548565b6040516102249190610c01565b60405180910390f35b34801561023957600080fd5b5061024d610248366004610bd8565b6105da565b6040519015158152602001610224565b34801561026957600080fd5b506002545b604051908152602001610224565b34801561028857600080fd5b5061024d610297366004610b9d565b6105f2565b3480156102a857600080fd5b5060405160128152602001610224565b3480156102c457600080fd5b5061024d6102d3366004610bd8565b610616565b3480156102e457600080fd5b506101fb610638565b3480156102f957600080fd5b5061026e683782dace9d9000000081565b34801561031657600080fd5b5061026e610325366004610b4a565b6001600160a01b031660009081526020819052604090205490565b34801561034c57600080fd5b5061024d61035b366004610b4a565b60076020526000908152604090205460ff1681565b34801561037c57600080fd5b5061026e60065481565b34801561039257600080fd5b5061026e6a0878678326eac90000000081565b3480156103b157600080fd5b50610217610729565b3480156103c657600080fd5b5061026e600a81565b3480156103db57600080fd5b5061024d6103ea366004610bd8565b610738565b3480156103fb57600080fd5b5061024d61040a366004610bd8565b6107b3565b34801561041b57600080fd5b5061026e61042a366004610b6b565b6107c1565b600260055414156104825760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610152565b6002600555565b6001600160a01b0382166104df5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610152565b80600260008282546104f19190610c54565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60606003805461055790610c78565b80601f016020809104026020016040519081016040528092919081815260200182805461058390610c78565b80156105d05780601f106105a5576101008083540402835291602001916105d0565b820191906000526020600020905b8154815290600101906020018083116105b357829003601f168201915b5050505050905090565b6000336105e88185856107ec565b5060019392505050565b600033610600858285610910565b61060b85858561098a565b506001949350505050565b6000336105e881858561062983836107c1565b6106339190610c54565b6107ec565b61064061042f565b6006544210156106875760405162461bcd60e51b8152602060048201526012602482015271546f6f206561726c7920746f20636c61696d60701b6044820152606401610152565b3360009081526007602052604090205460ff16156106e25760405162461bcd60e51b8152602060048201526018602482015277165bdd481a185d9948185b1c9958591e4818db185a5b595960421b6044820152606401610152565b6106f533683782dace9d90000000610489565b610700600a42610c54565b600655336000908152600760205260409020805460ff191660011790556107276001600555565b565b60606004805461055790610c78565b6000338161074682866107c1565b9050838110156107a65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610152565b61060b82868684036107ec565b6000336105e881858561098a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661084e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610152565b6001600160a01b0382166108af5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610152565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061091c84846107c1565b9050600019811461098457818110156109775760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610152565b61098484848484036107ec565b50505050565b6001600160a01b0383166109ee5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610152565b6001600160a01b038216610a505760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610152565b6001600160a01b03831660009081526020819052604090205481811015610ac85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610152565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610984565b80356001600160a01b0381168114610b4557600080fd5b919050565b600060208284031215610b5b578081fd5b610b6482610b2e565b9392505050565b60008060408385031215610b7d578081fd5b610b8683610b2e565b9150610b9460208401610b2e565b90509250929050565b600080600060608486031215610bb1578081fd5b610bba84610b2e565b9250610bc860208501610b2e565b9150604084013590509250925092565b60008060408385031215610bea578182fd5b610bf383610b2e565b946020939093013593505050565b6000602080835283518082850152825b81811015610c2d57858101830151858201604001528201610c11565b81811115610c3e5783604083870101525b50601f01601f1916929092016040019392505050565b60008219821115610c7357634e487b7160e01b81526011600452602481fd5b500190565b600181811c90821680610c8c57607f821691505b60208210811415610cad57634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212207c7e64933cf4d77c6998cffb741d3e3b8b981678c57756ec5939679778a4693564736f6c63430008040033

Deployed Bytecode

0x6080604052600436106101025760003560e01c806370a082311161009557806395d89b411161006457806395d89b41146103a55780639e8d48d0146103ba578063a457c2d7146103cf578063a9059cbb146103ef578063dd62ed3e1461040f57600080fd5b806370a082311461030a57806373b2e80e146103405780638c4e8c2114610370578063902d55a51461038657600080fd5b8063313ce567116100d1578063313ce5671461029c57806339509351146102b85780634e71d92d146102d8578063664e9704146102ed57600080fd5b806306fdde0314610202578063095ea7b31461022d57806318160ddd1461025d57806323b872dd1461027c57600080fd5b366101fd5761010f61042f565b60065442101561015b5760405162461bcd60e51b8152602060048201526012602482015271546f6f206561726c7920746f20636c61696d60701b60448201526064015b60405180910390fd5b3360009081526007602052604090205460ff16156101b65760405162461bcd60e51b8152602060048201526018602482015277165bdd481a185d9948185b1c9958591e4818db185a5b595960421b6044820152606401610152565b6101c933683782dace9d90000000610489565b6101d4600a42610c54565b600655336000908152600760205260409020805460ff191660011790556101fb6001600555565b005b600080fd5b34801561020e57600080fd5b50610217610548565b6040516102249190610c01565b60405180910390f35b34801561023957600080fd5b5061024d610248366004610bd8565b6105da565b6040519015158152602001610224565b34801561026957600080fd5b506002545b604051908152602001610224565b34801561028857600080fd5b5061024d610297366004610b9d565b6105f2565b3480156102a857600080fd5b5060405160128152602001610224565b3480156102c457600080fd5b5061024d6102d3366004610bd8565b610616565b3480156102e457600080fd5b506101fb610638565b3480156102f957600080fd5b5061026e683782dace9d9000000081565b34801561031657600080fd5b5061026e610325366004610b4a565b6001600160a01b031660009081526020819052604090205490565b34801561034c57600080fd5b5061024d61035b366004610b4a565b60076020526000908152604090205460ff1681565b34801561037c57600080fd5b5061026e60065481565b34801561039257600080fd5b5061026e6a0878678326eac90000000081565b3480156103b157600080fd5b50610217610729565b3480156103c657600080fd5b5061026e600a81565b3480156103db57600080fd5b5061024d6103ea366004610bd8565b610738565b3480156103fb57600080fd5b5061024d61040a366004610bd8565b6107b3565b34801561041b57600080fd5b5061026e61042a366004610b6b565b6107c1565b600260055414156104825760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610152565b6002600555565b6001600160a01b0382166104df5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610152565b80600260008282546104f19190610c54565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60606003805461055790610c78565b80601f016020809104026020016040519081016040528092919081815260200182805461058390610c78565b80156105d05780601f106105a5576101008083540402835291602001916105d0565b820191906000526020600020905b8154815290600101906020018083116105b357829003601f168201915b5050505050905090565b6000336105e88185856107ec565b5060019392505050565b600033610600858285610910565b61060b85858561098a565b506001949350505050565b6000336105e881858561062983836107c1565b6106339190610c54565b6107ec565b61064061042f565b6006544210156106875760405162461bcd60e51b8152602060048201526012602482015271546f6f206561726c7920746f20636c61696d60701b6044820152606401610152565b3360009081526007602052604090205460ff16156106e25760405162461bcd60e51b8152602060048201526018602482015277165bdd481a185d9948185b1c9958591e4818db185a5b595960421b6044820152606401610152565b6106f533683782dace9d90000000610489565b610700600a42610c54565b600655336000908152600760205260409020805460ff191660011790556107276001600555565b565b60606004805461055790610c78565b6000338161074682866107c1565b9050838110156107a65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610152565b61060b82868684036107ec565b6000336105e881858561098a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661084e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610152565b6001600160a01b0382166108af5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610152565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061091c84846107c1565b9050600019811461098457818110156109775760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610152565b61098484848484036107ec565b50505050565b6001600160a01b0383166109ee5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610152565b6001600160a01b038216610a505760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610152565b6001600160a01b03831660009081526020819052604090205481811015610ac85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610152565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610984565b80356001600160a01b0381168114610b4557600080fd5b919050565b600060208284031215610b5b578081fd5b610b6482610b2e565b9392505050565b60008060408385031215610b7d578081fd5b610b8683610b2e565b9150610b9460208401610b2e565b90509250929050565b600080600060608486031215610bb1578081fd5b610bba84610b2e565b9250610bc860208501610b2e565b9150604084013590509250925092565b60008060408385031215610bea578182fd5b610bf383610b2e565b946020939093013593505050565b6000602080835283518082850152825b81811015610c2d57858101830151858201604001528201610c11565b81811115610c3e5783604083870101525b50601f01601f1916929092016040019392505050565b60008219821115610c7357634e487b7160e01b81526011600452602481fd5b500190565b600181811c90821680610c8c57607f821691505b60208210811415610cad57634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212207c7e64933cf4d77c6998cffb741d3e3b8b981678c57756ec5939679778a4693564736f6c63430008040033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.