Contract 0x0224010ba2d567ffa014222ed960d1fa43b8c8e1 2

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x83efb7f00ad81c1f553426a731f79169a0add9893c19812b62b1d4f5141d114dTransfer68714762023-02-08 16:31:4230 mins ago0xb0608c8e65192c05a5402e8603f95802815688cc IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.148480
0x56384a9d69510ac04a6fe241476e7f8c0e877cfc4fdaa298444bca821a3f9c7aApprove68713152023-02-08 16:16:3045 mins ago0xc85d2981ef153badbc0f1f7690762048b9007036 IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.2329750
0x1c13d94a6334b6285b585f87411068e37daa189e13b2d8a80268d56a4df9d337Transfer68712242023-02-08 16:07:5653 mins ago0x5b46064a25d9c66747816591c38a9fc39f409bcc IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.148540
0xe35e62e6da2bac6b439e07af06d8decedd44a5ff280cd1c5a1d3f92449397aa2Transfer68711472023-02-08 16:00:421 hr 1 min ago0x54e2df77ef36550a15e0f06f516ff80a5dfa98bd IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.148540
0xa61b731014e1eb6b8d09b05d3e6079b96af743387da0c26a06d0f86ba3e8f23cTransfer68711392023-02-08 15:59:561 hr 1 min ago0xd167da3f0ff6d89f1ac8622acdea01cb15e39dce IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.4815976422060
0xa7a4f1d688739805a7b9d4757e3cd477d598099585808892160f7e94dfabcdfeApprove68710802023-02-08 15:54:231 hr 7 mins ago0x64a1836fb0858d2cb413dce1864ca2612ce77a6a IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.224400544910
0x2853f9937b82f88db6b21318330249a9cf0c500effd4b2d3d032a9408ede6528Transfer68710762023-02-08 15:54:001 hr 7 mins ago0x5e951905028b1ff477c9e9c9e21ec8d499ec35ce IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.4815979244060
0x586bdf04c323dcd318d2a8371bacdd83608d15397c92d1411b7c162800929d72Transfer68709922023-02-08 15:46:041 hr 15 mins ago0x58b17524249491b40cfea72bf4165111aa7f0dc9 IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.148540
0x95b5639512cb81dec870ffe2ad1c724a854756fd621f158b56c386d345d5f123Transfer68709472023-02-08 15:41:491 hr 19 mins ago0x4d27bed321d88539b0e7258c3e64c3a2efd576bd IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.14860
0x247b829b3d4dada52bade065907764efce590760e425947c2f39b57f36258712Transfer68708782023-02-08 15:35:191 hr 26 mins ago0x90ffc7de69897d33c381c6f7cbc5de260a579066 IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.4815988379060
0xde1b376abb24bad548d03e35745334e4f11c990598ba2c6c862f82f73195d670Transfer68708462023-02-08 15:32:171 hr 29 mins ago0xedc37cd5a55298738aa6208f9fd10400dc72d2b4 IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.4815989649180
0x744e38ea711d78870fc386847793cd443a55c1fd768a23470d8ec04851d23a1eTransfer68706322023-02-08 15:12:061 hr 49 mins ago0xf5d92cb242e5a278cc125b20904742aa223fe93b IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.14860
0xfc573b10770c15e417bab24f557fd74dc638058a2a49ef1cef5813317c3e55e7Transfer68704972023-02-08 14:59:202 hrs 2 mins ago0xf6aaace5f48f0eae7121aba23c3d5b189afc8fba IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.48160054510
0x22b39a2ef4729384dd950d793e010129e29dddab3cdfcbd8ffd5337609307b39Transfer68704752023-02-08 14:57:152 hrs 4 mins agoCrypto.com: CDC Withdrawal IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.8750
0x4913db0690c6f8fd783e733a231d61534d7119d2ec2563c48c089f6790c3fdd5Transfer68704402023-02-08 14:53:582 hrs 7 mins ago0x17920846efd9be87822f3e23360d763ec7f538c1 IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.1661675078380
0xd74edc4cf7169e15372322bb7c03405ad5df21201403aa6f4f695c52b169343eApprove68702752023-02-08 14:38:242 hrs 23 mins ago0x9542c0b67d3ed2b89c8024dc33e35ed1de84f3f6 IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.2244022348030
0xcfc0b6a6c5bba1413e74fbabe81bdf6397836c409d9307fdf3e8e7981938c3d1Approve68696592023-02-08 13:40:203 hrs 21 mins ago0x2d9b9c2e8d80f6c8524b7302c90c4592220e8093 IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.2244035511680
0x559196e59dabfab8a710e76fa964c1e50d248ea61d11d497c9bfbddaf3401087Transfer68695012023-02-08 13:25:263 hrs 36 mins agoCrypto.com: CDC Withdrawal IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.8750
0x9957a96cdeacd3ed68f82dbb4ea8c80b02544156d0fb6706472c757343bf9143Transfer68689712023-02-08 12:35:314 hrs 26 mins ago0x82ee5a1ba4a04a2c10d09460f27277318bd535de IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.225558826258 4,817.574247303
0x6cb0b882c811bb4122775bdc9a425efddc5e5ced3aadcf676ea1c8ae67526763Transfer68687622023-02-08 12:15:514 hrs 45 mins ago0x9cbab11d88ba90056767efba920da01c45df6824 IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.143178588305 4,817.583724933
0x7fae806b76786d940f58cab9ecce243673f771e63f644e1f4ee9a9d5d01848e3Transfer68687232023-02-08 12:12:104 hrs 49 mins ago0x4f05d3e7a53cd4ef45649ae826e08f42686da5e0 IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.225559354643 4,817.585532743
0x317268d656c4cf4ec0de13b10eafdc9438a3d8c12224bd1d14add2d19dcbcd9dTransfer68686422023-02-08 12:04:324 hrs 57 mins agoCrypto.com: CDC Withdrawal IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.8750
0x2ca8db6690e1053e3254bae5ee36d575575166c5680bb835b1bd0e46ac379e3eTransfer68685212023-02-08 11:53:075 hrs 8 mins ago0xc115bbcaadfa59da068edd7c8867b1d0a1506c8f IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.148540
0x250e10a57f7d16f70d311ec35b380a666f2e26106cd71b014951673fcc151e5aTransfer68683832023-02-08 11:40:075 hrs 21 mins ago0x3d352e7c481f00d80b31f68038b3f4bdbf61a020 IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.481610123240
0x2bb9c72f8891c7d4b16ec8f7160ff8a600fc24eda5ceee21179dbc7b798c0d5eApprove68681822023-02-08 11:21:085 hrs 40 mins ago0x79939b35b650c3dc6f04123bf130224ad6a3cb6a IN  0x0224010ba2d567ffa014222ed960d1fa43b8c8e10 CRO0.2244066556390
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MintedToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 7 : MintedToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./interfaces/IMintedToken.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

/**
 * @title MINTED Token
 */
contract MintedToken is ERC20, Ownable, IMintedToken {
    uint256 public immutable _SUPPLY_CAP; //1000000000000000000000000000  1 billion

    /**
     * @notice Constructor
     * @param addresses addresses to receive premint tokens
     * @param amounts tokens quantity to distribute to addresses
     */
    constructor(
        address[] memory addresses,
        uint256[] memory amounts,
        uint256 _preMintAmount,
        uint256 _supply_cap
    ) ERC20("Minted Token", "MTD") {
        require(_preMintAmount <= _supply_cap, "Minted: premint amount exceeds supply cap");
        require(addresses.length == amounts.length, "Minted: length mismatch");
        _SUPPLY_CAP = _supply_cap;
        for (uint256 i = 0; i < amounts.length; i++) {
            require(addresses[i] != address(0), "Invalid address");
            _mint(addresses[i], amounts[i]);
        }
        require(totalSupply() == _preMintAmount, "Minted: pre-mint amount mismatch with amounts");
    }

    /**
     * @notice Mint MINTED tokens
     * @param account address to receive tokens
     * @param amount amount to mint
     * @return status true if mint is successful, false if not
     */
    function mint(address account, uint256 amount) external override onlyOwner returns (bool status) {
        if (totalSupply() + amount <= _SUPPLY_CAP) {
            _mint(account, amount);
            return true;
        }
        return false;
    }

    /**
     * @notice View supply cap
     */
    function SUPPLY_CAP() external view override returns (uint256) {
        return _SUPPLY_CAP;
    }
}

File 2 of 7 : IMintedToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

interface IMintedToken is IERC20 {
    function SUPPLY_CAP() external view returns (uint256);

    function mint(address account, uint256 amount) external returns (bool);
}

File 3 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 4 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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.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() public view virtual override returns (string memory) {
        return _name;
    }

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _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;
        _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;
        }
        _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 5 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 7 of 7 : 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);
}

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

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256","name":"_preMintAmount","type":"uint256"},{"internalType":"uint256","name":"_supply_cap","type":"uint256"}],"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":"SUPPLY_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_SUPPLY_CAP","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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"status","type":"bool"}],"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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b506040516200135a3803806200135a833981016040819052620000349162000556565b6040518060400160405280600c81526020016b26b4b73a32b2102a37b5b2b760a11b8152506040518060400160405280600381526020016213551160ea1b81525081600390805190602001906200008d92919062000439565b508051620000a390600490602084019062000439565b505050620000c0620000ba620002fe60201b60201c565b62000302565b80821115620001285760405162461bcd60e51b815260206004820152602960248201527f4d696e7465643a207072656d696e7420616d6f756e742065786365656473207360448201526807570706c79206361760bc1b60648201526084015b60405180910390fd5b82518451146200017b5760405162461bcd60e51b815260206004820152601760248201527f4d696e7465643a206c656e677468206d69736d6174636800000000000000000060448201526064016200011f565b608081905260005b8351811015620002835760006001600160a01b0316858281518110620001b957634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b031614156200020c5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016200011f565b6200026e8582815181106200023157634e487b7160e01b600052603260045260246000fd5b60200260200101518583815181106200025a57634e487b7160e01b600052603260045260246000fd5b60200260200101516200035460201b60201c565b806200027a81620006f4565b91505062000183565b50816200028f60025490565b14620002f45760405162461bcd60e51b815260206004820152602d60248201527f4d696e7465643a207072652d6d696e7420616d6f756e74206d69736d6174636860448201526c207769746820616d6f756e747360981b60648201526084016200011f565b505050506200073e565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620003ac5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200011f565b8060026000828254620003c091906200069c565b90915550506001600160a01b03821660009081526020819052604081208054839290620003ef9084906200069c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200044790620006b7565b90600052602060002090601f0160209004810192826200046b5760008555620004b6565b82601f106200048657805160ff1916838001178555620004b6565b82800160010185558215620004b6579182015b82811115620004b657825182559160200191906001019062000499565b50620004c4929150620004c8565b5090565b5b80821115620004c45760008155600101620004c9565b600082601f830112620004f0578081fd5b8151602062000509620005038362000676565b62000643565b80838252828201915082860187848660051b890101111562000529578586fd5b855b8581101562000549578151845292840192908401906001016200052b565b5090979650505050505050565b600080600080608085870312156200056c578384fd5b84516001600160401b038082111562000583578586fd5b818701915087601f83011262000597578586fd5b81516020620005aa620005038362000676565b8083825282820191508286018c848660051b8901011115620005ca578a8bfd5b8a96505b84871015620006035780516001600160a01b0381168114620005ee578b8cfd5b835260019690960195918301918301620005ce565b50918a01519198509093505050808211156200061d578485fd5b506200062c87828801620004df565b604087015160609097015195989097509350505050565b604051601f8201601f191681016001600160401b03811182821017156200066e576200066e62000728565b604052919050565b60006001600160401b0382111562000692576200069262000728565b5060051b60200190565b60008219821115620006b257620006b262000712565b500190565b600181811c90821680620006cc57607f821691505b60208210811415620006ee57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156200070b576200070b62000712565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b608051610bf262000768600039600081816101530152818161023f01526103980152610bf26000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a2578063a457c2d711610071578063a457c2d714610227578063a67c495d1461023a578063a9059cbb14610261578063dd62ed3e14610274578063f2fde38b1461028757600080fd5b806370a08231146101d1578063715018a6146101fa5780638da5cb5b1461020457806395d89b411461021f57600080fd5b806323b872dd116100de57806323b872dd14610189578063313ce5671461019c57806339509351146101ab57806340c10f19146101be57600080fd5b806306fdde0314610110578063095ea7b31461012e5780630cfccc831461015157806318160ddd14610181575b600080fd5b61011861029a565b6040516101259190610b0a565b60405180910390f35b61014161013c366004610ae1565b61032c565b6040519015158152602001610125565b7f00000000000000000000000000000000000000000000000000000000000000005b604051908152602001610125565b600254610173565b610141610197366004610aa6565b610346565b60405160128152602001610125565b6101416101b9366004610ae1565b61036a565b6101416101cc366004610ae1565b61038c565b6101736101df366004610a53565b6001600160a01b031660009081526020819052604090205490565b6102026103eb565b005b6005546040516001600160a01b039091168152602001610125565b6101186103ff565b610141610235366004610ae1565b61040e565b6101737f000000000000000000000000000000000000000000000000000000000000000081565b61014161026f366004610ae1565b61048e565b610173610282366004610a74565b61049c565b610202610295366004610a53565b6104c7565b6060600380546102a990610b81565b80601f01602080910402602001604051908101604052809291908181526020018280546102d590610b81565b80156103225780601f106102f757610100808354040283529160200191610322565b820191906000526020600020905b81548152906001019060200180831161030557829003601f168201915b5050505050905090565b60003361033a818585610540565b60019150505b92915050565b600033610354858285610664565b61035f8585856106de565b506001949350505050565b60003361033a81858561037d838361049c565b6103879190610b5d565b610540565b60006103966108ac565b7f0000000000000000000000000000000000000000000000000000000000000000826103c160025490565b6103cb9190610b5d565b116103e2576103da8383610906565b506001610340565b50600092915050565b6103f36108ac565b6103fd60006109e5565b565b6060600480546102a990610b81565b6000338161041c828661049c565b9050838110156104815760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61035f8286868403610540565b60003361033a8185856106de565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6104cf6108ac565b6001600160a01b0381166105345760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610478565b61053d816109e5565b50565b6001600160a01b0383166105a25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610478565b6001600160a01b0382166106035760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610478565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610670848461049c565b905060001981146106d857818110156106cb5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610478565b6106d88484848403610540565b50505050565b6001600160a01b0383166107425760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610478565b6001600160a01b0382166107a45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610478565b6001600160a01b0383166000908152602081905260409020548181101561081c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610478565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610853908490610b5d565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161089f91815260200190565b60405180910390a36106d8565b6005546001600160a01b031633146103fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610478565b6001600160a01b03821661095c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610478565b806002600082825461096e9190610b5d565b90915550506001600160a01b0382166000908152602081905260408120805483929061099b908490610b5d565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80356001600160a01b0381168114610a4e57600080fd5b919050565b600060208284031215610a64578081fd5b610a6d82610a37565b9392505050565b60008060408385031215610a86578081fd5b610a8f83610a37565b9150610a9d60208401610a37565b90509250929050565b600080600060608486031215610aba578081fd5b610ac384610a37565b9250610ad160208501610a37565b9150604084013590509250925092565b60008060408385031215610af3578182fd5b610afc83610a37565b946020939093013593505050565b6000602080835283518082850152825b81811015610b3657858101830151858201604001528201610b1a565b81811115610b475783604083870101525b50601f01601f1916929092016040019392505050565b60008219821115610b7c57634e487b7160e01b81526011600452602481fd5b500190565b600181811c90821680610b9557607f821691505b60208210811415610bb657634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212204a6938838cec2085fcdc4c0dcdea5c24da1b0f551569fee04ced6cd45495567664736f6c63430008040033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000002db3a48061ba48ff40000000000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a16226396d79dc7b3bc70de0daca4eef11742a9e0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000002db3a48061ba48ff4000000

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000002db3a48061ba48ff40000000000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a16226396d79dc7b3bc70de0daca4eef11742a9e0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000002db3a48061ba48ff4000000

-----Decoded View---------------
Arg [0] : addresses (address[]): 0xa16226396d79dc7b3bc70de0daca4eef11742a9e
Arg [1] : amounts (uint256[]): 884000000000000000000000000
Arg [2] : _preMintAmount (uint256): 884000000000000000000000000
Arg [3] : _supply_cap (uint256): 1000000000000000000000000000

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000000000000000000002db3a48061ba48ff4000000
Arg [3] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 000000000000000000000000a16226396d79dc7b3bc70de0daca4eef11742a9e
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [7] : 000000000000000000000000000000000000000002db3a48061ba48ff4000000


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