Contract 0xA794C9ee519FD31BbCE643e8D8138f735E97D1DB 7

Contract Overview

Balance:
0 Ether

Token:
Txn Hash
Method
Block
From
To
Value
0xd8b835cb09d94bff4ddd6e9471a0e0268691de20d6e0ff234ec7ba25d956b64cApprove124882182022-06-29 10:47:483 days 16 hrs ago0xff1944dfd1c92e81f4ace7f185ca2419fe80a906 IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0xccb299964c1b0bb228e7bd5d86556f7b5fd2ab4462a93bf06449d5fc78e18323Approve124881862022-06-29 10:41:243 days 16 hrs ago0x926b5277c8488ba2877864dc57260b980b7be0ab IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0xd9341e375c01eb331a9ffbe10ddc29bac320a846dbffbf7531755fa8528a9af5Approve124698872022-06-26 14:23:486 days 12 hrs ago0xae2cd3199749e04151ec61e4c1fa7d99fb590c6c IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0x0c6adb5103a0cfaa3a075d53417f201107e10ffe7c3f7e2128028dcca4ad8b77Approve124698642022-06-26 14:18:246 days 12 hrs ago0x4f03321d59436b213470232b06e320f7649ee42d IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0x635310aaf18795c546291ede9c3b0274bc27de4fb8a1be97f56ffa9d4301f13eApprove124026752022-06-16 1:39:0017 days 1 hr ago0x7f84f44127f4337a16820321658903c01f06d622 IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0x69deb3c9da5193460dbd1d75f99d6b4346465c77b8ccf01fb22ec1ed29cd4f45Approve123960032022-06-15 1:52:2418 days 1 hr ago0x7f84f44127f4337a16820321658903c01f06d622 IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0x99b726decd301ef6c9408a1a41989ab8261faaca0d90df11cae41ecb83811e7bApprove123933212022-06-14 16:24:1218 days 10 hrs ago0xddcd4270b43584e2af541e862c1918fd28e66cf2 IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0xed6d08b62890691a9ecdabd280b9dc2330e950ad4b059c5a165d20fd702458faApprove123933072022-06-14 16:21:1218 days 10 hrs ago0xd22f65efbef8ee93015cb08bd4c9dc5b92e34d14 IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0x930d7df2f135644484473f12d19219d608d7ef1a5f2a9a38852566ee55525fdeApprove123932662022-06-14 16:13:0018 days 11 hrs ago0xfc355dcf6cbdd6975416f6770c624c5614e757c2 IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0xcde63308740c96780c3157e78f45ab72ef206fd378efbd4b2c4f0fd6d9754d82Approve123932522022-06-14 16:10:1218 days 11 hrs ago0xc8b0b252958780d82c9c5fd31b4139011065158b IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0xfb069a48062dcd5843f3d0c573af52920ed857b37a444d4247a805e8006e87b9Approve123932092022-06-14 16:01:3618 days 11 hrs ago0x72877379583c2d21b630687833f02279752817b1 IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0x4a60043c33df808c1f1725cbfc27147a05db5e1d33d1436f09fec2f7c9fb9b9aApprove123931902022-06-14 15:57:4818 days 11 hrs ago0x62ac10eaa90a1bc7372cc14ada7913d113a9440b IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0x674da02dbb1312040f72371c89a07458d516ef26fe2a6f4f18e74beb6a63f8e1Approve123931542022-06-14 15:50:2418 days 11 hrs ago0xa8de8ba4607a518d326ad580503a42f0fe783bdf IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0x173465377a1eac743f5b0dca361725e36b7522729ae8490056f802766462e67eApprove123931382022-06-14 15:47:1218 days 11 hrs ago0xf5f6a87b7cf0954bae47bdce84fd4315f6a330d8 IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0x9df8b9dcdd04300f2e9b1c9726c0229b2567c7d4cf4c194b4069ee22219d1131Approve123930922022-06-14 15:37:4818 days 11 hrs ago0xc173efdee72b130bde8c125705bafe14fc50918e IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0x7e143dfb03928028f39da15edd68810c5164d037f4be24473cca7c4adc08c8adApprove123930742022-06-14 15:34:1218 days 11 hrs ago0xd35319384d4750ebe1610bb6bc21e6f74c1d5f0c IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0x3ae061701a224b086ff6377dc5b2569d91a8d447717444e5f607792e70a914e5Approve123930322022-06-14 15:25:4818 days 11 hrs ago0xa33b01f907d727ee1e279f5a018a04c08d230964 IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0xe99210aae6df02843dfcda92d27579a7a615b2b2093aed71a0a117f71e113c4fApprove123929952022-06-14 15:18:2418 days 11 hrs ago0x8b639051cff0b599853264cdda5fea0b44bbd0c7 IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0x1a5c335f63c76e5ec64adc7839b16dd2eabeb5e0a46cd3a95c20cdd9ce13510fApprove123929432022-06-14 15:07:4818 days 12 hrs ago0xeed40dfaf4e1f06408882f62827d68f98fe0ff0d IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0x3217fc0c37b1cd36a307636cca1c833a9958051cade735578a92c3a596486ba5Approve123929332022-06-14 15:05:4818 days 12 hrs ago0xc1df3474335062953ea20b5700d050bfe2a780f2 IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.50000001
0x609240817470f8d7daf233b178be2a2191dee1553b284ae2040bc9b9789d51b0Approve123927852022-06-14 14:34:4818 days 12 hrs ago0xb61ed7d612158d0b0e294c17a63800835118a74a IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0x2a2e7dedcc9033256f56543c0fb0b0f625272e91dfd3859b2b84028b1be89778Approve123927672022-06-14 14:31:1218 days 12 hrs ago0x249cf2abb766be3720c2c5949298c6a06c8c7f50 IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0xa727019c990f51f9a750e7c60cc54a7085f545ae2441d1d7d238fcb111b12d0cApprove123920862022-06-14 12:14:4818 days 14 hrs ago0x4694465b3c161723722ee278f506b4cdf49658b0 IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0x89bb8a83db0807ddcf950a633b9f78862443c1f76a76b75141c5150fedd868e8Approve123920722022-06-14 12:12:0018 days 15 hrs ago0x86352d124946f2dc497ce0a42414eb4d312931cd IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
0x831627e7c4a62d36c07864cce3bc6c40085c68cbabdbc355e08db823b866c74aApprove123920362022-06-14 12:04:4818 days 15 hrs ago0x2d4077ab9eaefcce0e8a7620e6d01fe420b72284 IN  0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether0.00011545 2.5
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x65f3282d3f765134c0dc8e6f03de61324323146355d1e9bd359a14678352e3dd125014412022-07-01 8:59:481 day 18 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x57debde1ce6d28ab5ea33b0dbe27b0e6d23650e61d0f8469cb58107b0e3e195b124882202022-06-29 10:48:123 days 16 hrs ago 0xc5191a51982983b8105ec4fbbbf35b9466ee0179 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x57debde1ce6d28ab5ea33b0dbe27b0e6d23650e61d0f8469cb58107b0e3e195b124882202022-06-29 10:48:123 days 16 hrs ago 0xc5191a51982983b8105ec4fbbbf35b9466ee0179 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x57debde1ce6d28ab5ea33b0dbe27b0e6d23650e61d0f8469cb58107b0e3e195b124882202022-06-29 10:48:123 days 16 hrs ago 0xc5191a51982983b8105ec4fbbbf35b9466ee0179 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x8049a55b3f14f1a45ac88e98be52565dec7c5d9ddcdc3e4835026fa77c6fe021124881902022-06-29 10:42:123 days 16 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x2ba6395150c29980be393c8809c769124d91a37bd25a78712613af5d4e3cf2f4124881882022-06-29 10:41:483 days 16 hrs ago 0xc5191a51982983b8105ec4fbbbf35b9466ee0179 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x2ba6395150c29980be393c8809c769124d91a37bd25a78712613af5d4e3cf2f4124881882022-06-29 10:41:483 days 16 hrs ago 0xc5191a51982983b8105ec4fbbbf35b9466ee0179 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x2ba6395150c29980be393c8809c769124d91a37bd25a78712613af5d4e3cf2f4124881882022-06-29 10:41:483 days 16 hrs ago 0xc5191a51982983b8105ec4fbbbf35b9466ee0179 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x71336c4b24cb6f97158dd992bad50d5d2d3ca9261771c1b2d8289fe1f3d1a8f8124881202022-06-29 10:27:003 days 16 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x88709d3ce1d9fc2a5d54bfd5fb7992ba868643d1e03d66a244ca525108cc5529124881172022-06-29 10:26:243 days 16 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0xc244e274e5871540ad3b8cf9bf41bd0696e4b7404b57b57af2f936ab81241440124824772022-06-28 14:51:244 days 12 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x3be22e0d2b94ed37ad6d820f68ff1054fe8fe3b1e6e0aab7b7eeabcb2e5c8dcd124824742022-06-28 14:50:484 days 12 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0xb095a668e94f72c99fbab6654125605b7b5864c26c048046523a39b9857165be124802942022-06-28 7:12:004 days 20 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x8ccb96abbe5985b60285989079393e4e350e2f487ae90464ffe2c6d26662093e124771172022-06-27 19:02:005 days 8 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x3206e22e905fe59dbb6d6ee7b567eeb029b13a0b465d18a0aac96c8cc7fff39b124710802022-06-26 18:59:246 days 8 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x315f461b6201709ebad7cea2ef299c99eea2839495d6011040cc688cf77fb69e124698942022-06-26 14:25:366 days 12 hrs ago 0xc5191a51982983b8105ec4fbbbf35b9466ee0179 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x315f461b6201709ebad7cea2ef299c99eea2839495d6011040cc688cf77fb69e124698942022-06-26 14:25:366 days 12 hrs ago 0xc5191a51982983b8105ec4fbbbf35b9466ee0179 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x315f461b6201709ebad7cea2ef299c99eea2839495d6011040cc688cf77fb69e124698942022-06-26 14:25:366 days 12 hrs ago 0xc5191a51982983b8105ec4fbbbf35b9466ee0179 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0xdec2ec20c2a9a291e87cb938bd27d4d6f71d57ca790b96a6f88fa3e0744900bb124698692022-06-26 14:19:246 days 12 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x0e36b285fce7ec47928edffdaed99ce3e9e453a78e55d6e917698996ca4c0bf9124698662022-06-26 14:18:486 days 12 hrs ago 0xc5191a51982983b8105ec4fbbbf35b9466ee0179 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x0e36b285fce7ec47928edffdaed99ce3e9e453a78e55d6e917698996ca4c0bf9124698662022-06-26 14:18:486 days 12 hrs ago 0xc5191a51982983b8105ec4fbbbf35b9466ee0179 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x0e36b285fce7ec47928edffdaed99ce3e9e453a78e55d6e917698996ca4c0bf9124698662022-06-26 14:18:486 days 12 hrs ago 0xc5191a51982983b8105ec4fbbbf35b9466ee0179 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0x04a848d92b0b13280d145358d881d2775471f6b2ecb222b5133cec5ba4d0fdb2124698502022-06-26 14:14:366 days 12 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0xb36384f09b15469bf184bc37d406277ed5adb4892d45aed7e4286750ab3151d5124698502022-06-26 14:14:366 days 12 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 Ether
0xfe8240e7407b3a00e82d83f62dd375b4618d898d63e3f5634e802fa0033bce3c124689982022-06-26 10:41:006 days 16 hrs ago 0x05352c7d52d792519974f1385c0c3b61a179a4c1 0xa794c9ee519fd31bbce643e8d8138f735e97d1db0 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"}]

60806040523480156200001157600080fd5b5060405162000dee38038062000dee833981810160405260608110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b5060405260209081015185519093508592508491620001bd916003918501906200020d565b508051620001d39060049060208401906200020d565b50506005805460ff1916601217905550620001ee81620001f7565b505050620002b9565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f01602090048101928262000245576000855562000290565b82601f106200026057805160ff191683800117855562000290565b8280016001018555821562000290579182015b828111156200029057825182559160200191906001019062000273565b506200029e929150620002a2565b5090565b5b808211156200029e5760008155600101620002a3565b610b2580620002c96000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461021057806370a082311461023c57806395d89b4114610262578063a457c2d71461026a578063a9059cbb14610296578063dd62ed3e146102c2576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102f0565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610386565b604080519115158252519081900360200190f35b61017e6103a3565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b038135811691602081013590911690604001356103a9565b6101ce610430565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610439565b6101626004803603604081101561022657600080fd5b506001600160a01b038135169060200135610487565b61017e6004803603602081101561025257600080fd5b50356001600160a01b0316610493565b6100c16104ae565b6101626004803603604081101561028057600080fd5b506001600160a01b03813516906020013561050f565b610162600480360360408110156102ac57600080fd5b506001600160a01b038135169060200135610577565b61017e600480360360408110156102d857600080fd5b506001600160a01b038135811691602001351661058b565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561037c5780601f106103515761010080835404028352916020019161037c565b820191906000526020600020905b81548152906001019060200180831161035f57829003601f168201915b5050505050905090565b600061039a6103936105b6565b84846105ba565b50600192915050565b60025490565b60006103b68484846106a6565b610426846103c26105b6565b61042185604051806060016040528060288152602001610a5a602891396001600160a01b038a166000908152600160205260408120906104006105b6565b6001600160a01b031681526020810191909152604001600020549190610801565b6105ba565b5060019392505050565b60055460ff1690565b600061039a6104466105b6565b8461042185600160006104576105b6565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610898565b600061039a83836108f9565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561037c5780601f106103515761010080835404028352916020019161037c565b600061039a61051c6105b6565b8461042185604051806060016040528060258152602001610acb60259139600160006105466105b6565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610801565b600061039a6105846105b6565b84846106a6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166105ff5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aa76024913960400191505060405180910390fd5b6001600160a01b0382166106445760405162461bcd60e51b8152600401808060200182810382526022815260200180610a126022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106eb5760405162461bcd60e51b8152600401808060200182810382526025815260200180610a826025913960400191505060405180910390fd5b6001600160a01b0382166107305760405162461bcd60e51b81526004018080602001828103825260238152602001806109ef6023913960400191505060405180910390fd5b61073b8383836109e9565b61077881604051806060016040528060268152602001610a34602691396001600160a01b0386166000908152602081905260409020549190610801565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107a79082610898565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108905760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561085557818101518382015260200161083d565b50505050905090810190601f1680156108825780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156108f2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610954576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610960600083836109e9565b60025461096d9082610898565b6002556001600160a01b0382166000908152602081905260409020546109939082610898565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212200dfedbae91651445f41c618ee28876acaa48b417eb67ec5fd8b36e75bad8687564736f6c63430007050033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001066545553442046616b6520546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056654555344000000000000000000000000000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001066545553442046616b6520546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056654555344000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): fTUSD Fake Token
Arg [1] : symbol (string): fTUSD
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] : 66545553442046616b6520546f6b656e00000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 6654555344000000000000000000000000000000000000000000000000000000


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.