Contract 0xbe49ac1EadAc65dccf204D4Df81d650B50122aB2 10

Contract Overview

Balance:
0 Ether
Txn Hash
Method
Block
From
To
Value
0xa7fa07fea11f3705beb513dbed75734be473891667d24b241b4984c2bef4f658Mint113892362022-09-16 7:40:4614 days 15 hrs ago0xa2cb4cc69253bf983339463457678c2d94894b2f IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00003417 1
0x2cf29c5c4694b010fa053a605abee09ef939fc78ba928f10c1752e0fdbe3f867Mint113892222022-09-16 7:37:1514 days 15 hrs ago0x9ef14db2e143a0061577ab69538c5fd2a269f973 IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00005131 1
0xdb26bb831aeb3aecda36380beba1913063d8082c380df53b841f71c79c118742Approve112771812022-08-27 18:29:0334 days 5 hrs ago0x2d815240a61731c75fa01b2793e1d3ed09f289d0 IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.000069581.5
0xe28371bfa2bc87713f9bf2f76ee2da6785a009dc10eac62e91821f163694f7e3Approve112667942022-08-25 22:53:2436 days 40 mins ago0x4dbaa155fb5a9ed6d66bad1f72ec0cf5ca6ebe8b IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00006958 1.5
0xae344d963c437e1dc01861650c5da8a8b5138d9977bcc843354c6a2794a23fa3Approve112648352022-08-25 14:43:2036 days 8 hrs ago0x1c9f82831d622b354e0732412082e6c75e773213 IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00011543 2.50011801
0x179ba8469a06739140aded0e0f1421f2273b0a08aa9154c42daefa3bed4518d8Approve112540942022-08-23 17:54:5138 days 5 hrs ago0xeca5ba71fc055af7fcdfb5755c575b67ac48ecdf IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.0000692 1.50000001
0xd62526b752d21a2853226c1f3d0d3a0f795c1525631d7c172361cb73afd39a97Approve112540822022-08-23 17:51:5138 days 5 hrs ago0xeca5ba71fc055af7fcdfb5755c575b67ac48ecdf IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00006925 1.50000001
0xbfe2c56ee80a530861dae8e09cbb0931185e476a12372198e6cb998660bc21a3Mint112540782022-08-23 17:50:5138 days 5 hrs ago0xeca5ba71fc055af7fcdfb5755c575b67ac48ecdf IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00003422 1.00000001
0x81e30600cb33b9dfecd96859f3a6df563fcdcb22187c0bdbc445315a232a1368Mint112539682022-08-23 17:23:2138 days 6 hrs ago0xeca5ba71fc055af7fcdfb5755c575b67ac48ecdf IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00003418 1.00000001
0xb015fb6a88519cb3205d78ab707b0749a01f7918bbce184deb9b65cb346d4cfaMint112539222022-08-23 17:11:5038 days 6 hrs ago0xeca5ba71fc055af7fcdfb5755c575b67ac48ecdf IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00005125 1.00000001
0xe980e7b608111cd34106c7be904e8a1407cb07d4934bb45c4849b51d30530a5eApprove112538942022-08-23 17:04:5038 days 6 hrs ago0x27d2c7f2729029440be539eaa61657d35b5a4aea IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00006923 1.50000001
0x1948350a5fabe058e951ec5e06347efea94f780070a8753c8aeb0a832a360bfbApprove112146282022-08-16 21:16:3245 days 2 hrs ago0x3b11ab56fb4b3f73d726ba6a1a697230fc07e8a8 IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00011311 2.45
0xdf038c02a9eb6f9eb9aadcbc468610164510627decee712c81d21a45f9d7b72eApprove111714682022-08-09 9:06:0252 days 14 hrs ago0xa072be9d0670616cf63da3584c684857085f368b IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00011542 2.50000001
0xf1a439bdb2fd6fa7641e23e5677a9d4cc5b608cf6642b0bb391df428e361c134Approve110707772022-07-22 20:22:0970 days 3 hrs ago0x4c70d50dabbcc68c3a8b3bb0d7330ee097752fde IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00011542 2.5
0xc1f38af054bac5e841cd4d0ec02c3c3ec8bdd404c6a55c5fe173e77bf45aedd2Mint110635782022-07-21 14:18:4071 days 9 hrs ago0x2d21388dd08232060c01ceb08ebafb68d16423fb IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00003421 1.00000001
0xd261bd45f6f5497431a23da7f5afe408ef7a97f9f16b1c3003a05fab2aa61911Mint110635762022-07-21 14:18:1071 days 9 hrs ago0x2d21388dd08232060c01ceb08ebafb68d16423fb IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00003416 1.00000001
0x20ec4e4061665ae828680d231977f8966211ecf12a4fa4f6ed9f526b0249db57Approve110630832022-07-21 12:14:4671 days 11 hrs ago0x09dc2779b10f32d104371518b0bb6d385a0443f9 IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00011542 2.50000001
0x414c67f8df765411136f20a5c7e287d8bce59aa271b0c23fd897415c6a3826aaApprove110532492022-07-19 19:12:0673 days 4 hrs ago0x7220a66ed094f0c7c04e221ff5b436bd304776a0 IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00011542 2.50000001
0xf67b074c4bf6faed76b50cf7558d4f9218865162e29d07202391feaca0c00d90Approve110493562022-07-19 2:57:1173 days 20 hrs ago0x5d1d575a0ca9fec3dc8cbb29b8108423e7e3bebd IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00011542 2.5
0x7b6b583a83f86fc6ebaca543a040ee1b9697ff73738cc54aae3beb9554ef912cApprove110429912022-07-18 0:23:3174 days 23 hrs ago0xe296113009c902bb372db1d2bb04756c787990a5 IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00011542 2.5
0x10ed10b25fc1768ec8e4eff2ad11f539cbf2136803b23a3a3e916ab8b39b0a83Approve110429792022-07-18 0:20:3174 days 23 hrs ago0x481e89f32cbc479e920779f1a15a7e591a844495 IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00011542 2.5
0xcacf976377d598d38cbfe3db885196f521f34f612f7176eebbc064292d137b99Transfer110255612022-07-14 23:39:4477 days 23 hrs ago0xda5b2cd0d0bb26e79fb3210233ddabdb7de131c9 IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00009931 1.92060004
0xb24b3e191448573dd4c00102eeceaf596cb52d542ff93afc5a8e19eb80b55819Approve110183782022-07-13 17:40:3879 days 5 hrs ago0xe4670032a982dc25e39cfb610682f72a1d51112c IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00138477 30
0xd437c8f64300f6be0e400a765beb692093675178d89454d4a710d8e4e082e7adApprove110167272022-07-13 10:47:1179 days 12 hrs ago0x2bbd10fc8793c35f25de6f25ed1d6cff1402b473 IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00011542 2.50000001
0x4e008731a27f1716107a66a1fe10afd3ea0c8b5436dbbe1a9b20f5a034079113Approve110163002022-07-13 9:00:1779 days 14 hrs ago0xff916a74d7e1540a4fd91d302568692c07cff6a3 IN  0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether0.00011542 2.50000001
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x70a6e6723ea11051643aa32a71fde031cb195587b4812aa7a5ce17c03740cf8e114494462022-09-26 20:09:004 days 3 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0x2193e2f1526829c1b80888d4dba12df8f1d80958030137eeba9e7fb23d69ca37114494462022-09-26 20:09:004 days 3 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0x0826bd48fe1746bd59e00f36fccbc66b22aeee07837cd2049406814f2368e24f113967332022-09-17 15:03:1313 days 8 hrs ago 0x8f5aa163e7a5a2ba5d8f8a176b454de60b8ac862 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0x7a3590cdd90e4d94a5123faa8b2a697a99ca0e307a72626fcef83298c3fce0ca113899482022-09-16 10:39:0614 days 12 hrs ago 0x8f5aa163e7a5a2ba5d8f8a176b454de60b8ac862 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0x46d1698c62c314657e2979ac945791f73c042c7a435d02b9b4095e457bd40fc8113851312022-09-15 14:33:1415 days 9 hrs ago 0x495d199928d8350c952c4e85caeaaaeb5611d73a 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0x08ae1fcb66c0afa7d5d6e0b6b4c4df069b2a4aa53ec2260018dbcefa6f411829113851212022-09-15 14:30:4415 days 9 hrs ago 0x495d199928d8350c952c4e85caeaaaeb5611d73a 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0xa93316be98ae4473b17c9b2ad6becc9dc82dde61cea75e889f7fe9471d37f788113851002022-09-15 14:25:2715 days 9 hrs ago 0x495d199928d8350c952c4e85caeaaaeb5611d73a 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0x5197fca5d6aefa29aaef59bb1a504a093ae1399904e3a944a3f19ecfd7d5f652113850242022-09-15 14:06:2515 days 9 hrs ago 0x17fff0478604c656c40ded73bba6aab75b71ba50 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0xe4c7af2cbdb8eae38400e694c90af48cb0a3fb0144fb96a5e6e8fc554eecb92b113850162022-09-15 14:04:2415 days 9 hrs ago 0x17fff0478604c656c40ded73bba6aab75b71ba50 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0x5faa8fe80d4d30f083c06816e0b46151b88918d57670c4401683eb499f74640a113850142022-09-15 14:03:5415 days 9 hrs ago 0x17fff0478604c656c40ded73bba6aab75b71ba50 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0xbb9b750aca43d8a728cdb271f5561b76812af73daff13e94b9456c296d204933113850072022-09-15 14:02:0915 days 9 hrs ago 0x17fff0478604c656c40ded73bba6aab75b71ba50 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0x52bf216dcaf4fe8073d1f8602e733a7f1dfeadde9a8d84dbbaf531af80d6fb3d113850002022-09-15 14:00:2415 days 9 hrs ago 0x17fff0478604c656c40ded73bba6aab75b71ba50 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0xd62d8d0a7302b29d03347fd09a19bcf438f26ac379c0de850dc05b372daeb469113849542022-09-15 13:48:5115 days 9 hrs ago 0x17fff0478604c656c40ded73bba6aab75b71ba50 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0xab0a8ba3c4975ae33b55ba5a67b1a92e5083e6fa7ad5c3b6f57b7074b4260e4c113849112022-09-15 13:38:0415 days 9 hrs ago 0x17fff0478604c656c40ded73bba6aab75b71ba50 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0xc3a6c369ba7f29529dbfdfd589eeb3576e82ea8303cb8f14202237a62df222dd113849042022-09-15 13:36:1915 days 9 hrs ago 0x495d199928d8350c952c4e85caeaaaeb5611d73a 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0x25fe1d49ab239fd0867e4ec6a6d6a5ce52edbb518661f5ee137642ef753c3675113597342022-09-11 4:34:2219 days 18 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0x80a574bb0cc90e6f79aac175cdfc74d72e470e0411d74db4177b156dcf2aaaeb113558332022-09-10 12:17:3120 days 11 hrs ago 0x495d199928d8350c952c4e85caeaaaeb5611d73a 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0xcfc316ec2550a41d4334c56fa0c96e737bf24938d0334c4524893d9b16455f9b113558042022-09-10 12:10:1520 days 11 hrs ago 0x8f5aa163e7a5a2ba5d8f8a176b454de60b8ac862 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0xfc976a518b0e429ebe2918d978cc5d858ebc5a42936e03a0a3fdb5b1cfc327cc113118252022-09-02 19:07:4928 days 4 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0xc91bcbd10e9ba5ae93b5b361ccca2af93023d5132ad845133a9aff427d4adee1113089072022-09-02 6:54:0428 days 16 hrs ago 0x8f5aa163e7a5a2ba5d8f8a176b454de60b8ac862 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0xc91bcbd10e9ba5ae93b5b361ccca2af93023d5132ad845133a9aff427d4adee1113089072022-09-02 6:54:0428 days 16 hrs ago 0x8f5aa163e7a5a2ba5d8f8a176b454de60b8ac862 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0xc91bcbd10e9ba5ae93b5b361ccca2af93023d5132ad845133a9aff427d4adee1113089072022-09-02 6:54:0428 days 16 hrs ago 0x8f5aa163e7a5a2ba5d8f8a176b454de60b8ac862 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0xc91bcbd10e9ba5ae93b5b361ccca2af93023d5132ad845133a9aff427d4adee1113089072022-09-02 6:54:0428 days 16 hrs ago 0x8f5aa163e7a5a2ba5d8f8a176b454de60b8ac862 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0xc91bcbd10e9ba5ae93b5b361ccca2af93023d5132ad845133a9aff427d4adee1113089072022-09-02 6:54:0428 days 16 hrs ago 0x8f5aa163e7a5a2ba5d8f8a176b454de60b8ac862 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
0xc91bcbd10e9ba5ae93b5b361ccca2af93023d5132ad845133a9aff427d4adee1113089072022-09-02 6:54:0428 days 16 hrs ago 0x8f5aa163e7a5a2ba5d8f8a176b454de60b8ac862 0xbe49ac1eadac65dccf204d4df81d650b50122ab20 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TestToken

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : TestToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.7.5;

import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";

/**
 * @dev Test ERC20 token that allows any one mint new tokens.
 */
contract TestToken is ERC20 {

    constructor(string memory name, string memory symbol, uint8 decimals)
        ERC20(name, symbol)
    {
        _setupDecimals(decimals);
    }

    /**
     * @dev See {ERC20-_mint}.
     */
    function mint(address account, uint256 amount) public returns (bool) {
        ERC20._mint(account, amount);
        return true;
    }

}

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

pragma solidity ^0.7.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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 3 of 5 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

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

pragma solidity ^0.7.0;

import "../../GSN/Context.sol";
import "./IERC20.sol";
import "../../math/SafeMath.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 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * 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_;
        _decimals = 18;
    }

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

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

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

pragma solidity ^0.7.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);
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {
    "": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"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":[],"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":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"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"}]

60806040523480156200001157600080fd5b5060405162000dee38038062000dee833981810160405260608110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b5060405260209081015185519093508592508491620001bd916003918501906200020d565b508051620001d39060049060208401906200020d565b50506005805460ff1916601217905550620001ee81620001f7565b505050620002b9565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f01602090048101928262000245576000855562000290565b82601f106200026057805160ff191683800117855562000290565b8280016001018555821562000290579182015b828111156200029057825182559160200191906001019062000273565b506200029e929150620002a2565b5090565b5b808211156200029e5760008155600101620002a3565b610b2580620002c96000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461021057806370a082311461023c57806395d89b4114610262578063a457c2d71461026a578063a9059cbb14610296578063dd62ed3e146102c2576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102f0565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610386565b604080519115158252519081900360200190f35b61017e6103a3565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b038135811691602081013590911690604001356103a9565b6101ce610430565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610439565b6101626004803603604081101561022657600080fd5b506001600160a01b038135169060200135610487565b61017e6004803603602081101561025257600080fd5b50356001600160a01b0316610493565b6100c16104ae565b6101626004803603604081101561028057600080fd5b506001600160a01b03813516906020013561050f565b610162600480360360408110156102ac57600080fd5b506001600160a01b038135169060200135610577565b61017e600480360360408110156102d857600080fd5b506001600160a01b038135811691602001351661058b565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561037c5780601f106103515761010080835404028352916020019161037c565b820191906000526020600020905b81548152906001019060200180831161035f57829003601f168201915b5050505050905090565b600061039a6103936105b6565b84846105ba565b50600192915050565b60025490565b60006103b68484846106a6565b610426846103c26105b6565b61042185604051806060016040528060288152602001610a5a602891396001600160a01b038a166000908152600160205260408120906104006105b6565b6001600160a01b031681526020810191909152604001600020549190610801565b6105ba565b5060019392505050565b60055460ff1690565b600061039a6104466105b6565b8461042185600160006104576105b6565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610898565b600061039a83836108f9565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561037c5780601f106103515761010080835404028352916020019161037c565b600061039a61051c6105b6565b8461042185604051806060016040528060258152602001610acb60259139600160006105466105b6565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610801565b600061039a6105846105b6565b84846106a6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166105ff5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aa76024913960400191505060405180910390fd5b6001600160a01b0382166106445760405162461bcd60e51b8152600401808060200182810382526022815260200180610a126022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106eb5760405162461bcd60e51b8152600401808060200182810382526025815260200180610a826025913960400191505060405180910390fd5b6001600160a01b0382166107305760405162461bcd60e51b81526004018080602001828103825260238152602001806109ef6023913960400191505060405180910390fd5b61073b8383836109e9565b61077881604051806060016040528060268152602001610a34602691396001600160a01b0386166000908152602081905260409020549190610801565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107a79082610898565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108905760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561085557818101518382015260200161083d565b50505050905090810190601f1680156108825780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156108f2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610954576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610960600083836109e9565b60025461096d9082610898565b6002556001600160a01b0382166000908152602081905260409020546109939082610898565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212200dfedbae91651445f41c618ee28876acaa48b417eb67ec5fd8b36e75bad8687564736f6c63430007050033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001066555344432046616b6520546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056655534443000000000000000000000000000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001066555344432046616b6520546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056655534443000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): fUSDC Fake Token
Arg [1] : symbol (string): fUSDC
Arg [2] : decimals (uint8): 18

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [4] : 66555344432046616b6520546f6b656e00000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 6655534443000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading

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