Contract 0x37822de108affdd5cdcfdaaa2e32756da284db85 1

Contract Overview

Balance:
0 DEV
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xd28b6f4779dfcaaebb984195a9a79649072ac669db2c11d71e75da686299702aApprove51431472023-09-20 8:21:305 days 7 hrs ago0x3dd3bd98b25d38a2cfe250fb24bba840e55f055c IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000074020615
0xd891458f345d1987853d39bccec72a6659d5e5f8d40c59000832fe0019529c07Approve51431462023-09-20 8:21:185 days 7 hrs ago0x3dd3bd98b25d38a2cfe250fb24bba840e55f055c IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000074020615
0x5741d5151484a6e71ef95557af062fbb7f941bde7c569695d579dec36232066dApprove51431462023-09-20 8:21:185 days 7 hrs ago0x3dd3bd98b25d38a2cfe250fb24bba840e55f055c IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000074020615
0xd0b29807a3aec635d997502b5696ef4ed2b8a3d933d5a9d6620e8b4363b02f80Approve51431462023-09-20 8:21:185 days 7 hrs ago0x3dd3bd98b25d38a2cfe250fb24bba840e55f055c IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000074020615
0x43bfd7f1b6b78780159b608a6d60bc2817ce95bd1e12083900e0c90b0ac9ee76Approve51121332023-09-15 6:33:3010 days 9 hrs ago0xa59a6cf7feeb9fce68c565c6e0ed238ea52fd86d IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000098517125
0x8ccb8165223a53f0a2f55e9b30a2fe4ee11be17ed201bb98d700dd4c6c24678dApprove51121222023-09-15 6:31:0610 days 9 hrs ago0xa59a6cf7feeb9fce68c565c6e0ed238ea52fd86d IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000098517125
0x4da9f3b9997327e1cf9b029fa13c3017f894aa67abfc6e6b5b3f2f82eb7ce9faApprove50826962023-09-10 10:07:3615 days 5 hrs ago0xee71a8f42512538f5fe159726a5cf3158010258d IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000039632125
0x8f504806593781a0b07864a866962c41b4efc3919d23e58397930a43215d415eApprove50826762023-09-10 10:03:3015 days 5 hrs ago0xee71a8f42512538f5fe159726a5cf3158010258d IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000039632125
0x9b71ad25511c2d715c0505abd84b56e8d5b7962684ad5a57c1a7b43c92d217afApprove50826442023-09-10 9:55:1215 days 5 hrs ago0xee71a8f42512538f5fe159726a5cf3158010258d IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000039632125
0x53b070ee32cd05af893a606a9e653af733ddad2c0e275a85e942f0051b702ec3Transfer50089892023-08-29 7:26:4227 days 8 hrs ago0xd152722b1f11cfbc7f03e13220a786966f94dd20 IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.00077565
0x2eefb5831ddd06cf819f504cafcfac79591da134d9e685c48bdca8424ed7f42cApprove49905162023-08-26 7:46:0630 days 7 hrs ago0x02e4045724138e793ef548bf8a82bb07f7fe3e4f IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000074020615
0x500d52f740ff736f9468c4398c3e9f9fe59f40cf31e2003510841644915942f4Mint Token49718842023-08-23 9:00:1233 days 6 hrs ago0x88c839ced59d0b025b06b512112c28fb2c8e58da IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.00011853075
0xa2a83f278c9c8212796472d1e18ebd53f1848c17e26b49f84076f65fc5077e19Approve49489742023-08-19 18:31:2436 days 21 hrs ago0x80c537fbaaec960df18f24297c5319dac423568e IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000039632125
0xa2319a61249329e2de9f54e679b36db5b130004dbc8a7fa688ba5b2de7e5e7d5Approve49489732023-08-19 18:31:1236 days 21 hrs ago0x80c537fbaaec960df18f24297c5319dac423568e IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000039632125
0x7072f103965dc3e1bc1471b5b8a504a905d465daf3294c46fb7590f798f5489fApprove49489722023-08-19 18:31:0036 days 21 hrs ago0x80c537fbaaec960df18f24297c5319dac423568e IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000039632125
0xef41cd731600ca49da9f2326f86afbe2c2766e8b38121eb92a54e3cf786247ddApprove49488522023-08-19 18:03:3036 days 21 hrs ago0x15fee336757227b4463a047b8ab4c300de823566 IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000039632125
0x1cac86bffa55d8234ee692b5b6b38276c5718bc208097820a37b956b1777763fApprove49488512023-08-19 18:03:1636 days 21 hrs ago0x15fee336757227b4463a047b8ab4c300de823566 IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000039632125
0xd87ae2b9eef40c8cf53033db6a1678bdd87d156661baaf0933331c17db077922Approve49488502023-08-19 18:03:0636 days 21 hrs ago0x15fee336757227b4463a047b8ab4c300de823566 IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000039632125
0x110f975dbd9808c0dcb57b4a82f0a096416a8ed6a6408c374d80992603eb4b29Approve49488502023-08-19 18:03:0636 days 21 hrs ago0x15fee336757227b4463a047b8ab4c300de823566 IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000039632125
0xbff9bd48c3d1fe0472b8b27e3f69f3087d986b9c4c59873007ca97030822f2d4Mint Token49478012023-08-19 14:06:1237 days 1 hr ago0xa2ca8979f0a9d2b2fc39813de7cd4f9f722b331a IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000066776125
0xc0b6a5a971d823ee09b83978ac7062807596ac7ab1b98ff10e6ec46de4129cd5Approve49345162023-08-17 12:08:0039 days 3 hrs ago0xf237e0e1e0c8d5e6c4c616661d51e6a2a6b97e8d IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000098517125
0x065a17610b94c75974dc0485cb0afbaaa40cbffb7e5f0f08804fc46c178a2d8bTransfer49211812023-08-15 9:53:0041 days 5 hrs ago0xf237e0e1e0c8d5e6c4c616661d51e6a2a6b97e8d IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.00008402875
0xbc4694cbcc1381bfb7b4451477cb37c816b391798f08c030646ed40ac09d1041Mint Token49184112023-08-14 23:29:3641 days 16 hrs ago0x93a42b1bb54ecb6ae308dce9e7c64e28d1de4d83 IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.00011853075
0x0dda4459e7e222d4975deab6e9a73df39789345dca4d1dc6ac802f127736d6aaMint Token49058302023-08-12 23:48:4843 days 15 hrs ago0xa2ca8979f0a9d2b2fc39813de7cd4f9f722b331a IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.00011853075
0x500b47d21553b655b17b1afc859d6e0ca609dc980c047729297dd3c1ea87e1faApprove49040442023-08-12 17:02:0643 days 22 hrs ago0x18d9537392b4db4c36fe65c1d38e8425b5398958 IN  0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV0.000075356125
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x705ea7456cf074ae4eefedc49dc280cdaea28328509406c054faa0c359b1f97351121372023-09-15 6:34:3010 days 8 hrs ago 0xcb1cea1fa324f4e50351a7400b2b6b4935b4c8a2 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0x705ea7456cf074ae4eefedc49dc280cdaea28328509406c054faa0c359b1f97351121372023-09-15 6:34:3010 days 8 hrs ago 0xaef8d1db494d9a35df4c663445315107170b0968 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0xddc9c57771833e3474f95e5824adb1030c240e8604b8d3838c3460f58562b43051121252023-09-15 6:31:4810 days 9 hrs ago 0xcb1cea1fa324f4e50351a7400b2b6b4935b4c8a2 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0xddc9c57771833e3474f95e5824adb1030c240e8604b8d3838c3460f58562b43051121252023-09-15 6:31:4810 days 9 hrs ago 0xaef8d1db494d9a35df4c663445315107170b0968 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0xddc9c57771833e3474f95e5824adb1030c240e8604b8d3838c3460f58562b43051121252023-09-15 6:31:4810 days 9 hrs ago 0xaef8d1db494d9a35df4c663445315107170b0968 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0x2a83aacc7d006f95703300f8da517170338f2232e1b54e3cdeae32142b2227dc51119322023-09-15 5:42:4810 days 9 hrs ago 0x0fc2485f89bb24bb1d9bb1bec7e91f1ce3857e9d 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0x2a83aacc7d006f95703300f8da517170338f2232e1b54e3cdeae32142b2227dc51119322023-09-15 5:42:4810 days 9 hrs ago 0x6473929fc06ab8aea48c4d78948464b3ea09c3b8 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0x2a83aacc7d006f95703300f8da517170338f2232e1b54e3cdeae32142b2227dc51119322023-09-15 5:42:4810 days 9 hrs ago 0x6473929fc06ab8aea48c4d78948464b3ea09c3b8 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0x2a83aacc7d006f95703300f8da517170338f2232e1b54e3cdeae32142b2227dc51119322023-09-15 5:42:4810 days 9 hrs ago 0x6473929fc06ab8aea48c4d78948464b3ea09c3b8 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0x1e9db3f8e3d176e654eb0604b1af3297e366e3384fa07ce77660c7348c94e9ba50653622023-09-07 13:48:3018 days 1 hr ago 0x304e00c17b1d5fda082790a84e6e9309ee8aeab9 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0x1e9db3f8e3d176e654eb0604b1af3297e366e3384fa07ce77660c7348c94e9ba50653622023-09-07 13:48:3018 days 1 hr ago 0x304e00c17b1d5fda082790a84e6e9309ee8aeab9 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0xb68569195192a0c9c3854f3e00a905ffe56048c1fa5d8c77c42528a78e247ca350653582023-09-07 13:47:3018 days 1 hr ago 0x304e00c17b1d5fda082790a84e6e9309ee8aeab9 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0xb68569195192a0c9c3854f3e00a905ffe56048c1fa5d8c77c42528a78e247ca350653582023-09-07 13:47:3018 days 1 hr ago 0x304e00c17b1d5fda082790a84e6e9309ee8aeab9 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0x5c70ce73c5d0b91a407300322bd99c89f9115fcb9025fc72a513f6ff1eb2506250282692023-09-01 11:05:2424 days 4 hrs ago 0x6473929fc06ab8aea48c4d78948464b3ea09c3b8 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0x5c70ce73c5d0b91a407300322bd99c89f9115fcb9025fc72a513f6ff1eb2506250282692023-09-01 11:05:2424 days 4 hrs ago 0x0fc2485f89bb24bb1d9bb1bec7e91f1ce3857e9d 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0x476026c5e1943734acd8f5f3915eb5e7e2df2826f68f3c18eaa54a4708955d4950090122023-08-29 7:31:4227 days 8 hrs ago 0x6e8f48c2cfb67d41805d9d318dd9e52f84a565f8 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0x476026c5e1943734acd8f5f3915eb5e7e2df2826f68f3c18eaa54a4708955d4950090122023-08-29 7:31:4227 days 8 hrs ago 0x6e8f48c2cfb67d41805d9d318dd9e52f84a565f8 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0x476026c5e1943734acd8f5f3915eb5e7e2df2826f68f3c18eaa54a4708955d4950090122023-08-29 7:31:4227 days 8 hrs ago 0x6e8f48c2cfb67d41805d9d318dd9e52f84a565f8 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0xdecbf61f99d174ba272e912f83de16d8f5e1dbe4c43bedd57772212dc823232849345192023-08-17 12:08:4839 days 3 hrs ago 0xa47070afe86b6b6daaa5166553d06923ab4b2315 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0xdecbf61f99d174ba272e912f83de16d8f5e1dbe4c43bedd57772212dc823232849345192023-08-17 12:08:4839 days 3 hrs ago 0xa47070afe86b6b6daaa5166553d06923ab4b2315 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0xdecbf61f99d174ba272e912f83de16d8f5e1dbe4c43bedd57772212dc823232849345192023-08-17 12:08:4839 days 3 hrs ago 0xa47070afe86b6b6daaa5166553d06923ab4b2315 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0xccf6f451bf38facb5f237f7852e7058b4826efd96807502f9901f3e0178aa1ac49047662023-08-12 19:46:4243 days 19 hrs ago 0x573db48e758cbc07a99afe67b8b7b23f671902c0 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0xccf6f451bf38facb5f237f7852e7058b4826efd96807502f9901f3e0178aa1ac49047662023-08-12 19:46:4243 days 19 hrs ago 0x8a1932d6e26433f3037bd6c3a40c816222a6ccd4 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0xa9ab7b549b38bf2a53860e212392b8eeb86b4dc4e44db53d12d6f1129eb73f5448886332023-08-10 6:42:1846 days 8 hrs ago 0xd0c8b2c09c16c6cd4eaede62f3b565718989ce1c 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
0xa9ab7b549b38bf2a53860e212392b8eeb86b4dc4e44db53d12d6f1129eb73f5448886332023-08-10 6:42:1846 days 8 hrs ago 0x0fc2485f89bb24bb1d9bb1bec7e91f1ce3857e9d 0x37822de108affdd5cdcfdaaa2e32756da284db850 DEV
[ Download CSV Export 
Index Block
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
mintableERC20

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : mintableERC20.sol
pragma solidity ^0.8.0;

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

contract mintableERC20 is ERC20 {
    // Variables
    mapping(address => uint) public lastMintTime;
    uint private interval;
    address public owner;
    address private whale1 = 0x12Cb274aAD8251C875c0bf6872b67d9983E53fDd;
    address private whale2 = 0x3B939FeaD1557C741Ff06492FD0127bd287A421e;
    address private whale3 = 0xDAC66EDAB6e4fB1f6388d082f4689c2Ed1924554;
    
    
    constructor(string memory _name, string memory _symbol) ERC20(_name,_symbol) {
        _mint(whale1, 100000000000000000000000);
        _mint(whale2, 100000000000000000000000);
        _mint(whale3, 100000000000000000000000);

        owner = msg.sender;
        interval = 3600;
    }
    
    function mintToken() public {
        require(lastMintTime[msg.sender] == 0 || block.timestamp > lastMintTime[msg.sender] + interval, 'You need to wait an hour between mints');
        _mint(msg.sender, 100000000000000000000);
        lastMintTime[msg.sender] = block.timestamp;
    }
    
    function canMint(address _address) public view returns (bool) {
        return lastMintTime[_address] == 0 || block.timestamp > lastMintTime[_address] + interval;
    }

    function setInterval(uint _newInterval) public onlyOwner {
        interval = _newInterval;
    }

    modifier onlyOwner() {
        require(msg.sender == owner, 'Not owner');
        _;
    }
}

File 2 of 4 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.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 guidelines: functions revert instead
 * of 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 {
    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 defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

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

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

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

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

File 3 of 4 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool);

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

File 4 of 4 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"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":[{"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":[{"internalType":"address","name":"_address","type":"address"}],"name":"canMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"","type":"address"}],"name":"lastMintTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newInterval","type":"uint256"}],"name":"setInterval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

6080604052600880546001600160a01b03199081167312cb274aad8251c875c0bf6872b67d9983e53fdd17909155600980548216733b939fead1557c741ff06492fd0127bd287a421e179055600a805490911673dac66edab6e4fb1f6388d082f4689c2ed19245541790553480156200007757600080fd5b50604051620011df380380620011df8339810160408190526200009a916200037c565b815182908290620000b39060039060208501906200022b565b508051620000c99060049060208401906200022b565b5050600854620000ee91506001600160a01b031669152d02c7e14af680000062000152565b60095462000110906001600160a01b031669152d02c7e14af680000062000152565b600a5462000132906001600160a01b031669152d02c7e14af680000062000152565b5050600780546001600160a01b03191633179055610e106006556200049b565b6001600160a01b038216620001845760405162461bcd60e51b81526004016200017b90620003e3565b60405180910390fd5b620001926000838362000226565b8060026000828254620001a6919062000423565b90915550506001600160a01b03821660009081526020819052604081208054839290620001d590849062000423565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906200021a9085906200041a565b60405180910390a35050565b505050565b828054620002399062000448565b90600052602060002090601f0160209004810192826200025d5760008555620002a8565b82601f106200027857805160ff1916838001178555620002a8565b82800160010185558215620002a8579182015b82811115620002a85782518255916020019190600101906200028b565b50620002b6929150620002ba565b5090565b5b80821115620002b65760008155600101620002bb565b600082601f830112620002e2578081fd5b81516001600160401b0380821115620002ff57620002ff62000485565b6040516020601f8401601f191682018101838111838210171562000327576200032762000485565b60405283825285840181018710156200033e578485fd5b8492505b8383101562000361578583018101518284018201529182019162000342565b838311156200037257848185840101525b5095945050505050565b600080604083850312156200038f578182fd5b82516001600160401b0380821115620003a6578384fd5b620003b486838701620002d1565b93506020850151915080821115620003ca578283fd5b50620003d985828601620002d1565b9150509250929050565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b600082198211156200044357634e487b7160e01b81526011600452602481fd5b500190565b6002810460018216806200045d57607f821691505b602082108114156200047f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b610d3480620004ab6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80636aa71d1811610097578063a457c2d711610066578063a457c2d7146101f3578063a9059cbb14610206578063c2ba474414610219578063dd62ed3e1461022c57610100565b80636aa71d18146101b057806370a08231146101c35780638da5cb5b146101d657806395d89b41146101eb57610100565b806322a90082116100d357806322a900821461016257806323b872dd14610175578063313ce56714610188578063395093511461019d57610100565b806306fdde0314610105578063095ea7b31461012357806318160ddd146101435780632004ffd914610158575b600080fd5b61010d61023f565b60405161011a9190610993565b60405180910390f35b610136610131366004610933565b6102d1565b60405161011a9190610988565b61014b6102ee565b60405161011a9190610c67565b6101606102f4565b005b61016061017036600461095c565b610377565b6101366101833660046108f8565b6103a6565b61019061043d565b60405161011a9190610c70565b6101366101ab366004610933565b610442565b61014b6101be3660046108a5565b610491565b61014b6101d13660046108a5565b6104a3565b6101de6104c2565b60405161011a9190610974565b61010d6104d1565b610136610201366004610933565b6104e0565b610136610214366004610933565b61055b565b6101366102273660046108a5565b61056f565b61014b61023a3660046108c6565b6105be565b60606003805461024e90610cad565b80601f016020809104026020016040519081016040528092919081815260200182805461027a90610cad565b80156102c75780601f1061029c576101008083540402835291602001916102c7565b820191906000526020600020905b8154815290600101906020018083116102aa57829003601f168201915b5050505050905090565b60006102e56102de6105e9565b84846105ed565b50600192915050565b60025490565b33600090815260056020526040902054158061032b5750600654336000908152600560205260409020546103289190610c7e565b42115b6103505760405162461bcd60e51b815260040161034790610a29565b60405180910390fd5b6103633368056bc75e2d631000006106a1565b336000908152600560205260409020429055565b6007546001600160a01b031633146103a15760405162461bcd60e51b815260040161034790610b84565b600655565b60006103b3848484610761565b6001600160a01b0384166000908152600160205260408120816103d46105e9565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156104175760405162461bcd60e51b815260040161034790610af7565b610432856104236105e9565b61042d8685610c96565b6105ed565b506001949350505050565b601290565b60006102e561044f6105e9565b84846001600061045d6105e9565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461042d9190610c7e565b60056020526000908152604090205481565b6001600160a01b0381166000908152602081905260409020545b919050565b6007546001600160a01b031681565b60606004805461024e90610cad565b600080600160006104ef6105e9565b6001600160a01b039081168252602080830193909352604091820160009081209188168152925290205490508281101561053b5760405162461bcd60e51b815260040161034790610beb565b6105516105466105e9565b8561042d8685610c96565b5060019392505050565b60006102e56105686105e9565b8484610761565b6001600160a01b03811660009081526005602052604081205415806105b857506006546001600160a01b0383166000908152600560205260409020546105b59190610c7e565b42115b92915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166106135760405162461bcd60e51b815260040161034790610ba7565b6001600160a01b0382166106395760405162461bcd60e51b815260040161034790610a6f565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610694908590610c67565b60405180910390a3505050565b6001600160a01b0382166106c75760405162461bcd60e51b815260040161034790610c30565b6106d360008383610889565b80600260008282546106e59190610c7e565b90915550506001600160a01b03821660009081526020819052604081208054839290610712908490610c7e565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610755908590610c67565b60405180910390a35050565b6001600160a01b0383166107875760405162461bcd60e51b815260040161034790610b3f565b6001600160a01b0382166107ad5760405162461bcd60e51b8152600401610347906109e6565b6107b8838383610889565b6001600160a01b038316600090815260208190526040902054818110156107f15760405162461bcd60e51b815260040161034790610ab1565b6107fb8282610c96565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290610831908490610c7e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161087b9190610c67565b60405180910390a350505050565b505050565b80356001600160a01b03811681146104bd57600080fd5b6000602082840312156108b6578081fd5b6108bf8261088e565b9392505050565b600080604083850312156108d8578081fd5b6108e18361088e565b91506108ef6020840161088e565b90509250929050565b60008060006060848603121561090c578081fd5b6109158461088e565b92506109236020850161088e565b9150604084013590509250925092565b60008060408385031215610945578182fd5b61094e8361088e565b946020939093013593505050565b60006020828403121561096d578081fd5b5035919050565b6001600160a01b0391909116815260200190565b901515815260200190565b6000602080835283518082850152825b818110156109bf578581018301518582016040015282016109a3565b818111156109d05783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f596f75206e65656420746f207761697420616e20686f7572206265747765656e604082015265206d696e747360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252600990820152682737ba1037bbb732b960b91b604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60ff91909116815260200190565b60008219821115610c9157610c91610ce8565b500190565b600082821015610ca857610ca8610ce8565b500390565b600281046001821680610cc157607f821691505b60208210811415610ce257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212206b3d813ab99f1635f5f628df503678ad70812c22fc1a1b2713bfd37324f045ae64736f6c634300080000330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074d6572637572790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d45524300000000000000000000000000000000000000000000000000000000

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000074d6572637572790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d45524300000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Mercury
Arg [1] : _symbol (string): MERC

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [3] : 4d65726375727900000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 4d45524300000000000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading