Contract 0x3963a400b42377376d6c3d92ddf2d6288d8ee0d6 8

 
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0x365bce00e758f345e45eac463ec34a85af6321e0f946e9019926ae435c905546Approve481422702023-09-30 0:40:3616 hrs 1 min ago0x2bed9fa75034cdc4085331b050b8157f8d29dafc IN  Equals9: EQ9 Token0 MATIC0.0044164822393.512084317
0x68e266c7137aee00dc80cff5fa7abb376b69e4f305efa1ba3189266969466764Transfer481398782023-09-29 23:10:3817 hrs 31 mins ago0x7a52e482fb6381cadfb1c812ef91351b19146420 IN  Equals9: EQ9 Token0 MATIC0.002050871206 67.199816729
0x412a339cd2ccc86a9e0b9ab120ce8113f9457518e407a30d33bcc3da75366e77Transfer481301052023-09-29 16:56:2723 hrs 45 mins ago0xb4e5309b4316aeea6c3ac1f3699ed9ee541faefc IN  Equals9: EQ9 Token0 MATIC0.00395325183375.450936788
0x29cf41a4e9f0f20035b3374cbc883e358c59b09e680f03a5cdf098469a014a0eTransfer481272442023-09-29 15:12:251 day 1 hr ago0x2409a7a0edbea91cacde85f3372c4fdcdde7f3fb IN  Equals9: EQ9 Token0 MATIC0.004127852416135.361613923
0x8071aee07209387100dfd93995e7497ad5d1ff16191d126e1715f6005de28914Transfer481263102023-09-29 14:39:061 day 2 hrs ago0xda1983547e75a13fa9d632c658da059974760d24 IN  Equals9: EQ9 Token0 MATIC0.009309935564 177.687480943
0x71935c6bb6c53daf5ef80f7bbf135842fb5593ee2592ad0a808897d967fca02dTransfer481084462023-09-29 3:42:171 day 12 hrs ago0x2409a7a0edbea91cacde85f3372c4fdcdde7f3fb IN  Equals9: EQ9 Token0 MATIC0.00273936892789.830100931
0x7b23651bd48046fcbdfaefebf6e660ca30df32c7df49492af88f4e50a05ddf26Transfer481080132023-09-29 3:26:191 day 13 hrs ago0xda1983547e75a13fa9d632c658da059974760d24 IN  Equals9: EQ9 Token0 MATIC0.002052761471 39.178575648
0xfe44cbc3dd62697f33424c3f8f2fd1ec4bbd3a5f94d6b15bf73b97ecb70fe0a5Transfer480976982023-09-28 20:57:131 day 19 hrs ago0x2409a7a0edbea91cacde85f3372c4fdcdde7f3fb IN  Equals9: EQ9 Token0 MATIC0.004298769978140.966387213
0x204e1f0629b07557926b67766f9f3b30686ebb72ea62c37afb18ed80140d2d82Transfer480965312023-09-28 20:12:001 day 20 hrs ago0xda1983547e75a13fa9d632c658da059974760d24 IN  Equals9: EQ9 Token0 MATIC0.005752128501 109.783920253
0x41efa63479471db20fe26d30486d5e2d2576ce7eda088ae756cf6a835c3563aaApprove480863772023-09-28 13:57:202 days 2 hrs ago0xb4e5309b4316aeea6c3ac1f3699ed9ee541faefc IN  Equals9: EQ9 Token0 MATIC0.00359086010176.030830676
0x474ec4c046b1e62d6cea3258be2481e870a8069b97d6ad69525f0fd484bbe9adTransfer480058652023-09-26 12:09:244 days 4 hrs ago0x7a52e482fb6381cadfb1c812ef91351b19146420 IN  Equals9: EQ9 Token0 MATIC0.004483840593 146.9196433
0x26fae074fa772856e143619b59966cf8f94dcc299c33835ecb122bdf39b0ea22Transfer479760782023-09-25 17:58:004 days 22 hrs ago0xda1983547e75a13fa9d632c658da059974760d24 IN  Equals9: EQ9 Token0 MATIC0.00323936608 91.810959405
0xa576be88332822bdeb6af9b6a187c31c79cfce697abf66a2c4df5e8ebab05460Approve479056892023-09-23 22:58:226 days 17 hrs ago0x9036e031408f27946fdbea5b7f1b2a4758b7e5b7 IN  Equals9: EQ9 Token0 MATIC0.002996348575 63.442981541
0x244c5cadb165f5265c8823983bda96fa545b93b3f2ac40d5b39ad7ca4da22fefApprove478624262023-09-22 20:25:377 days 20 hrs ago0xed28dd05801f1235d197de24512c7c1f0a6462a4 IN  Equals9: EQ9 Token0 MATIC0.003744674729 79.287614159
0x240f531abf27914d8eae12aec073eaffbffa11640ed4053ad8d456be7d401fa7Transfer478159172023-09-21 16:26:159 days 15 mins ago0xda1983547e75a13fa9d632c658da059974760d24 IN  Equals9: EQ9 Token0 MATIC0.003793588518 107.518876459
0xa2fe6b615f2b5612e844099f992077e519e5b9698c2235f9fb8dfc8554beb457Approve477669342023-09-20 10:44:5210 days 5 hrs ago0x3699608e344fd1d307a23ece54d85c1e3f654989 IN  Equals9: EQ9 Token0 MATIC0.002546561209 94.174076744
0x77b5c5e8645ee330af45a970d9946ead95d1179154ee825f4a98203fe8c851edApprove477669252023-09-20 10:44:3210 days 5 hrs ago0x3699608e344fd1d307a23ece54d85c1e3f654989 IN  Equals9: EQ9 Token0 MATIC0.00253003659 93.562981794
0x1eace6866b8afce8ad74414a8e277590ea77e5ee4d214b97c148f5942d42067eApprove477669142023-09-20 10:44:1010 days 5 hrs ago0x3699608e344fd1d307a23ece54d85c1e3f654989 IN  Equals9: EQ9 Token0 MATIC0.007658145127 163.144055893
0x66832a30b2f2fd7627ecfa3874ee83a6af403293b21349be7708cf08eee6947cApprove477668802023-09-20 10:42:4410 days 5 hrs ago0x3699608e344fd1d307a23ece54d85c1e3f654989 IN  Equals9: EQ9 Token0 MATIC0.002228849302 82.424810565
0x40b19e50419abdefb0f549ad7764c85d787d64ca4f466aa84b7aa8bb0a1d9230Approve477668682023-09-20 10:42:1810 days 5 hrs ago0x3699608e344fd1d307a23ece54d85c1e3f654989 IN  Equals9: EQ9 Token0 MATIC0.002382396713 88.103129085
0x1c1dd6ca006ebd9651dfd3b0e0aea28b588aa7188774b73ab58bc9117767ea9eApprove477668602023-09-20 10:41:5810 days 6 hrs ago0x3699608e344fd1d307a23ece54d85c1e3f654989 IN  Equals9: EQ9 Token0 MATIC0.004022213009 85.686564178
0x67615b9edfaa4f33ae89d646f7e532cb24a9ae8a46308f38906021ad232c0535Approve477667492023-09-20 10:37:3010 days 6 hrs ago0x3699608e344fd1d307a23ece54d85c1e3f654989 IN  Equals9: EQ9 Token0 MATIC0.002431247617 89.949595539
0xd1af713f1b2481118ee8b05f26391e3807dac93754c9a37be8e729dcffce1413Approve477667382023-09-20 10:37:0810 days 6 hrs ago0x3699608e344fd1d307a23ece54d85c1e3f654989 IN  Equals9: EQ9 Token0 MATIC0.004337492217 92.426691752
0xaf11ea859aadc1cd9dce7454a1ed5ccdb31f15b047c1379c80a879a46b257c6eTransfer477337942023-09-19 14:40:2311 days 2 hrs ago0x2409a7a0edbea91cacde85f3372c4fdcdde7f3fb IN  Equals9: EQ9 Token0 MATIC0.004758634988155.985019455
0x2f85ccbbee410b919b5ce7b0dedb4f0a510c6a6903970202e9367702cfe6769eTransfer477323222023-09-19 13:48:0011 days 2 hrs ago0xda1983547e75a13fa9d632c658da059974760d24 IN  Equals9: EQ9 Token0 MATIC0.005723347337 109.209596753
[ Download CSV Export 

OVERVIEW

Equals9 was founded 3 years ago and EQ9 is the main token to access services and products from the group and its partners. The first publicly dapp is an E-sport platform for competitive e-sports tournaments named EqualsSport.

Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EQ9

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

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

pragma solidity 0.8.0;

import "./ERC20.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

/**
 * @title EQ9 Token(EQ9)
 * @author Pedro Henrique Bufulin de Almeida
 * @notice Implements a basic ERC20 utility & staking token.
 */
contract EQ9 is ERC20 {
    using Counters for Counters.Counter;
    Counters.Counter private stakesAmount;

    constructor() ERC20("EQ9", "EQ9") {
        _mint(msg.sender, 18 * 10**8 * (10**decimals()));
    }

    /**
     * @notice The stakers for each stakeholder.
     */
    mapping(address => uint256) public stakers;

    /**
     * @notice A method for a stakeholder to create a stake.
     * @param _stake The size of the stake to be created.
     */
    function stake(uint256 _stake) external {
        if (stakers[msg.sender] == 0) stakesAmount.increment();
        stakers[msg.sender] += _stake;
        _burn(msg.sender, _stake);
    }

    /**
     * @notice A method for a stakeholder to create a stake.
     * @param _stake Amount of tokens to unstake.
     */
    function unstake(uint256 _stake) external {
        stakers[msg.sender] -= _stake;
        if (stakers[msg.sender] == 0) stakesAmount.decrement();
        _mint(msg.sender, _stake);
    }

    /**
     * @notice Verifies the amount of individual stakes.
     */
    function amountStakes() public view returns (uint256) {
        return stakesAmount.current();
    }
}

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

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account)
        external
        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)
        external
        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)
        external
        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
    ) external 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)
        external
        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)
        external
        virtual
        returns (bool)
    {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(
            currentAllowance >= subtractedValue,
            "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), "transfer from the zero address");
        require(to != address(0), "transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 5 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 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": false,
    "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":[{"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":[],"name":"amountStakes","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_stake","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stakers","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"},{"inputs":[{"internalType":"uint256","name":"_stake","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600381526020017f45513900000000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f455139000000000000000000000000000000000000000000000000000000000081525081600390805190602001906200009692919062000284565b508060049080519060200190620000af92919062000284565b505050620000f233620000c7620000f860201b60201c565b600a620000d591906200048f565b636b49d200620000e69190620005cc565b6200010160201b60201c565b620006e5565b60006012905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000174576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200016b9062000387565b60405180910390fd5b62000188600083836200027a60201b60201c565b80600260008282546200019c9190620003d7565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620001f39190620003d7565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200025a9190620003a9565b60405180910390a362000276600083836200027f60201b60201c565b5050565b505050565b505050565b828054620002929062000644565b90600052602060002090601f016020900481019282620002b6576000855562000302565b82601f10620002d157805160ff191683800117855562000302565b8280016001018555821562000302579182015b8281111562000301578251825591602001919060010190620002e4565b5b50905062000311919062000315565b5090565b5b808211156200033057600081600090555060010162000316565b5090565b600062000343601883620003c6565b91507f6d696e7420746f20746865207a65726f206164647265737300000000000000006000830152602082019050919050565b62000381816200062d565b82525050565b60006020820190508181036000830152620003a28162000334565b9050919050565b6000602082019050620003c0600083018462000376565b92915050565b600082825260208201905092915050565b6000620003e4826200062d565b9150620003f1836200062d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200042957620004286200067a565b5b828201905092915050565b6000808291508390505b600185111562000486578086048111156200045e576200045d6200067a565b5b60018516156200046e5780820291505b80810290506200047e85620006d8565b94506200043e565b94509492505050565b60006200049c826200062d565b9150620004a98362000637565b9250620004d87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484620004e0565b905092915050565b600082620004f25760019050620005c5565b81620005025760009050620005c5565b81600181146200051b576002811462000526576200055c565b6001915050620005c5565b60ff8411156200053b576200053a6200067a565b5b8360020a9150848211156200055557620005546200067a565b5b50620005c5565b5060208310610133831016604e8410600b8410161715620005965782820a90508381111562000590576200058f6200067a565b5b620005c5565b620005a5848484600162000434565b92509050818404811115620005bf57620005be6200067a565b5b81810290505b9392505050565b6000620005d9826200062d565b9150620005e6836200062d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200062257620006216200067a565b5b828202905092915050565b6000819050919050565b600060ff82169050919050565b600060028204905060018216806200065d57607f821691505b60208210811415620006745762000673620006a9565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60008160011c9050919050565b61191680620006f56000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80633950935111610097578063a457c2d711610066578063a457c2d71461029c578063a694fc3a146102cc578063a9059cbb146102e8578063dd62ed3e14610318576100f5565b806339509351146101ee57806370a082311461021e5780639168ae721461024e57806395d89b411461027e576100f5565b806318160ddd116100d357806318160ddd1461016657806323b872dd146101845780632e17de78146101b4578063313ce567146101d0576100f5565b806306fdde03146100fa578063095ea7b3146101185780630bfde44814610148575b600080fd5b610102610348565b60405161010f919061152b565b60405180910390f35b610132600480360381019061012d9190611185565b6103da565b60405161013f9190611510565b60405180910390f35b6101506103fd565b60405161015d91906116ad565b60405180910390f35b61016e61040e565b60405161017b91906116ad565b60405180910390f35b61019e60048036038101906101999190611136565b610418565b6040516101ab9190611510565b60405180910390f35b6101ce60048036038101906101c991906111c1565b610447565b005b6101d86104fd565b6040516101e591906116c8565b60405180910390f35b61020860048036038101906102039190611185565b610506565b6040516102159190611510565b60405180910390f35b610238600480360381019061023391906110d1565b61053d565b60405161024591906116ad565b60405180910390f35b610268600480360381019061026391906110d1565b610585565b60405161027591906116ad565b60405180910390f35b61028661059d565b604051610293919061152b565b60405180910390f35b6102b660048036038101906102b19190611185565b61062f565b6040516102c39190611510565b60405180910390f35b6102e660048036038101906102e191906111c1565b6106a6565b005b61030260048036038101906102fd9190611185565b61075c565b60405161030f9190611510565b60405180910390f35b610332600480360381019061032d91906110fa565b61077f565b60405161033f91906116ad565b60405180910390f35b60606003805461035790611811565b80601f016020809104026020016040519081016040528092919081815260200182805461038390611811565b80156103d05780601f106103a5576101008083540402835291602001916103d0565b820191906000526020600020905b8154815290600101906020018083116103b357829003601f168201915b5050505050905090565b6000806103e5610806565b90506103f281858561080e565b600191505092915050565b600061040960056109d9565b905090565b6000600254905090565b600080610423610806565b90506104308582856109e7565b61043b858585610a73565b60019150509392505050565b80600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546104969190611755565b925050819055506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414156104f0576104ef6005610cf4565b5b6104fa3382610d50565b50565b60006012905090565b600080610511610806565b9050610532818585610523858961077f565b61052d91906116ff565b61080e565b600191505092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60066020528060005260406000206000915090505481565b6060600480546105ac90611811565b80601f01602080910402602001604051908101604052809291908181526020018280546105d890611811565b80156106255780601f106105fa57610100808354040283529160200191610625565b820191906000526020600020905b81548152906001019060200180831161060857829003601f168201915b5050505050905090565b60008061063a610806565b90506000610648828661077f565b90508381101561068d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106849061162d565b60405180910390fd5b61069a828686840361080e565b60019250505092915050565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414156106f9576106f86005610eb0565b5b80600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461074891906116ff565b925050819055506107593382610ec6565b50565b600080610767610806565b9050610774818585610a73565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561087e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108759061156d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156108ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e59061154d565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516109cc91906116ad565b60405180910390a3505050565b600081600001549050919050565b60006109f3848461077f565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610a6d5781811015610a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a56906115ed565b60405180910390fd5b610a6c848484840361080e565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ada906115ad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4a906115cd565b60405180910390fd5b610b5e83838361109d565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdb9061160d565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610c7791906116ff565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610cdb91906116ad565b60405180910390a3610cee8484846110a2565b50505050565b60008160000154905060008111610d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d379061158d565b60405180910390fd5b6001810382600001819055505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db79061168d565b60405180910390fd5b610dcc6000838361109d565b8060026000828254610dde91906116ff565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e3391906116ff565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610e9891906116ad565b60405180910390a3610eac600083836110a2565b5050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2d9061166d565b60405180910390fd5b610f428260008361109d565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf9061164d565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600082825461101f9190611755565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161108491906116ad565b60405180910390a3611098836000846110a2565b505050565b505050565b505050565b6000813590506110b6816118b2565b92915050565b6000813590506110cb816118c9565b92915050565b6000602082840312156110e357600080fd5b60006110f1848285016110a7565b91505092915050565b6000806040838503121561110d57600080fd5b600061111b858286016110a7565b925050602061112c858286016110a7565b9150509250929050565b60008060006060848603121561114b57600080fd5b6000611159868287016110a7565b935050602061116a868287016110a7565b925050604061117b868287016110bc565b9150509250925092565b6000806040838503121561119857600080fd5b60006111a6858286016110a7565b92505060206111b7858286016110bc565b9150509250929050565b6000602082840312156111d357600080fd5b60006111e1848285016110bc565b91505092915050565b6111f38161179b565b82525050565b6000611204826116e3565b61120e81856116ee565b935061121e8185602086016117de565b611227816118a1565b840191505092915050565b600061123f601b836116ee565b91507f617070726f766520746f20746865207a65726f206164647265737300000000006000830152602082019050919050565b600061127f601d836116ee565b91507f617070726f76652066726f6d20746865207a65726f20616464726573730000006000830152602082019050919050565b60006112bf601b836116ee565b91507f436f756e7465723a2064656372656d656e74206f766572666c6f7700000000006000830152602082019050919050565b60006112ff601e836116ee565b91507f7472616e736665722066726f6d20746865207a65726f206164647265737300006000830152602082019050919050565b600061133f601c836116ee565b91507f7472616e7366657220746f20746865207a65726f2061646472657373000000006000830152602082019050919050565b600061137f601d836116ee565b91507f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006000830152602082019050919050565b60006113bf601f836116ee565b91507f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006000830152602082019050919050565b60006113ff601e836116ee565b91507f64656372656173656420616c6c6f77616e63652062656c6f77207a65726f00006000830152602082019050919050565b600061143f601b836116ee565b91507f6275726e20616d6f756e7420657863656564732062616c616e636500000000006000830152602082019050919050565b600061147f601a836116ee565b91507f6275726e2066726f6d20746865207a65726f20616464726573730000000000006000830152602082019050919050565b60006114bf6018836116ee565b91507f6d696e7420746f20746865207a65726f206164647265737300000000000000006000830152602082019050919050565b6114fb816117c7565b82525050565b61150a816117d1565b82525050565b600060208201905061152560008301846111ea565b92915050565b6000602082019050818103600083015261154581846111f9565b905092915050565b6000602082019050818103600083015261156681611232565b9050919050565b6000602082019050818103600083015261158681611272565b9050919050565b600060208201905081810360008301526115a6816112b2565b9050919050565b600060208201905081810360008301526115c6816112f2565b9050919050565b600060208201905081810360008301526115e681611332565b9050919050565b6000602082019050818103600083015261160681611372565b9050919050565b60006020820190508181036000830152611626816113b2565b9050919050565b60006020820190508181036000830152611646816113f2565b9050919050565b6000602082019050818103600083015261166681611432565b9050919050565b6000602082019050818103600083015261168681611472565b9050919050565b600060208201905081810360008301526116a6816114b2565b9050919050565b60006020820190506116c260008301846114f2565b92915050565b60006020820190506116dd6000830184611501565b92915050565b600081519050919050565b600082825260208201905092915050565b600061170a826117c7565b9150611715836117c7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561174a57611749611843565b5b828201905092915050565b6000611760826117c7565b915061176b836117c7565b92508282101561177e5761177d611843565b5b828203905092915050565b6000611794826117a7565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b838110156117fc5780820151818401526020810190506117e1565b8381111561180b576000848401525b50505050565b6000600282049050600182168061182957607f821691505b6020821081141561183d5761183c611872565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b6118bb81611789565b81146118c657600080fd5b50565b6118d2816117c7565b81146118dd57600080fd5b5056fea2646970667358221220620cda1468e6d7a31e452c2111b2b8714407da8eff2f0680598a3550f1c0540e64736f6c63430008000033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.