Contract 0x15f0ca26781c3852f8166ed2ebce5d18265cceb7 8

Contract Overview

Balance:
0 MATIC

Token:
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0x3a0ee392c054a632595484ab8f4825dc2585fbb73b0718b88a32847af02778a7Transfer364486572023-06-04 21:41:0918 hrs 17 mins ago0xf7a8fd509b6d10329ee92a913dd0dfcecb3f2afb IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.00234555 50.000000014
0xa0e118ad6f1923b477c7b553b2db5273a341ad60c539d7b9696f3972f5302e6fTransfer364259242023-06-04 8:16:011 day 7 hrs ago0xe00f31b88aaf49c880abdf53ebb2907bd6cd4e26 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.0000616305262.281682516
0x845b6308b5ae72284f12327a1ea0fab28aaebfaad1675f9be5dafcb6d5b77a09Approve364197922023-06-04 4:38:511 day 11 hrs ago0xf38c6ac1c1164244db6644b234fa0503735729e4 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.000063263689 2.40811881
0x2bb3a1dcdbe61d7ac78d0e3fa42725db68c559bf32cc6d3dc133df2806842b9fApprove364197872023-06-04 4:38:391 day 11 hrs ago0xf38c6ac1c1164244db6644b234fa0503735729e4 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.000112867485 2.444553625
0x2a3e9c1fbe052659874bd83817afe3f73f53c87e4c9ecf9e78440fb0f181fc3aApprove364062292023-06-03 20:38:291 day 19 hrs ago0xdba8a19a3c67da8db51fe883fb38a257d60b2d60 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.000079598749 1.723998816
0xb7f23af0b6f4626ebb1ef11d88452c16a63b23802c278bffe02b63decf6b43d7Approve364057612023-06-03 20:21:551 day 19 hrs ago0x415cbb34bbd32a4178faad07e8d33416187532c2 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.000101046701 2.18853179
0xb2b45a30caec415a1585e4a0f364606ede0d0373637116b78af7f15ff1340a82Transfer363816042023-06-03 6:06:212 days 9 hrs ago0x1c8a1ecb57ef5379de9a920db549ee35f9837251 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.00234555 50.000000015
0x2fef11e3fe01c2bdb660bfed53ba4039c3342bd533c1090402b9785ff18bb44eApprove363813522023-06-03 5:57:252 days 10 hrs ago0x63f5ee2e4206a3cf0018830afa9f0d9ee35a8cf4 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.00184684 40.000000015
0xdfa64b64f555b01452f449da00d5e952064da00f61665ebd48f877d6ceb76f9eApprove363759192023-06-03 2:44:592 days 13 hrs ago0xe60ed896b61390b2d498fbdd2c605bda158c199e IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.000217227153 4.7048397
0xaaa35a5f35cf358a49d3012405233b22b5c36ed40865bbc6d62a11d3f991e832Approve363615692023-06-02 18:16:472 days 21 hrs ago0xc568fcea459d5e95985560cd59c37829e9155781 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.000054363956 1.87004082
0x7b552e28116a581e359ef3bc401f07c9c2e1a7885a1b9bb903afbe9608922937Approve363615152023-06-02 18:14:512 days 21 hrs ago0xc568fcea459d5e95985560cd59c37829e9155781 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.000109094801 2.362842516
0x1659a7f27f3d0ad5332378d2c6d9b170eb41d0f46e9798d370dfca18a2c39dbaApprove363589772023-06-02 16:44:592 days 23 hrs ago0xd830daf0b1af515e9a8450f06ea68762163707e8 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.000311593373 6.748681496
0x1f071070ab6aa342133eecc51da6df4549ad759615815bedea512f3a537aeadfApprove363510882023-06-02 12:05:353 days 3 hrs ago0x1c4ac254de394b4e5202fb7c01aabee0091a984c IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.000111434623 2.413519827
0xfe33adaf4567b093b02ea006f55c3af946a769cbeb03634eb5f7a032ca4da1c4Approve363463662023-06-02 9:18:193 days 6 hrs ago0x7e20e285b9f3d0640452a74ebfc0739436ee685e IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.000073779762 2.53582273
0x827bf0db82caf89ea3b493978f2b663726ac485f263e09d25b9a0a8c5b0e6262Approve363449512023-06-02 8:28:133 days 7 hrs ago0x41aac1e47ad8cf86767e899dddf5139e28068f3d IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.00007816671 2.688820838
0xe569e81dfc42f5cb62154047e2ccaccbb46231c15b81113e6ba4944cb52ecdc0Approve363449412023-06-02 8:27:513 days 7 hrs ago0x41aac1e47ad8cf86767e899dddf5139e28068f3d IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.000120853152 2.617512137
0x75d3532106cc132206b4b46d4b9de4ce98eedc550b813437abc2f05e7b9632d5Transfer363432452023-06-02 7:27:473 days 8 hrs ago0x43078137a5ffbf52089a201e48d8a25314a41be4 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.00135055 50.000000017
0xbb4bfd0510aaf46fd50fc9a547412b2115d42fb7735cbc3275ca22ff3616d670Approve363366222023-06-02 3:33:133 days 12 hrs ago0x4749d60bc2de23636224871d30ec4d1f17e59405 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.000092781464 2.009518185
0xd3b5a21e3fb9d3cc1b05ffee31f49aadb9ee4654853cad42d344cd1c1eb6dbccApprove363185242023-06-01 16:52:153 days 23 hrs ago0x89b0b16ec778d8e241b664471c5f86b6364b7333 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.000110479072 2.392823897
0x6454a5002cf61dc87d2fa36efa93e639ac703229d5ed1cc588f2bd46ab7fd017Transfer363107222023-06-01 12:15:574 days 3 hrs ago0x0d231aeeecb312f8ca8eeb5415221842eb622e74 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.00234555 50.000000015
0x100330aa4edab50dc3dfd9a3b3412f21144cd05a55c0cb90755c6c8213fcb222Approve362899972023-06-01 0:01:554 days 15 hrs ago0x63fbf6b2ea1119b788141a5b2d8cf60a1fc13b89 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.00008356951 1.81000001
0x6a790ced6006f19d6579be9a7f50786f9989701fd4427f4854d7ef19036543c4Approve362820132023-05-31 19:19:094 days 20 hrs ago0x96a5d8f687d59516886fd89d9dc41074bacbc31f IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.00014128326 3.06000001
0x7c714db2927ee5a29b33b88031f33b5ab25705e84935c1b858d08251e6454d8bApprove362817262023-05-31 19:08:594 days 20 hrs ago0x26882fedcf9c9d7af327e811b05035e1a4cee957 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.00008541635 1.850000017
0xfd4e4a2a9f65492397ef830be5522141942717b3d783c83b35d1d03acc3730d7Approve362655502023-05-31 9:36:045 days 6 hrs ago0xa23766af8f0b8325a14ef4a15a7444d0f527932b IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.000111935575 2.425000017
0x38375b9ffbac27abcec12a3da4c6d1ce568897d4814f246d1162743ea35281e2Approve362586582023-05-31 5:32:005 days 10 hrs ago0x900b9adb2f2d237f1cd96efb90b16130faca5b14 IN  0x15f0ca26781c3852f8166ed2ebce5d18265cceb70 MATIC0.00230855 50.000000014
[ Download CSV Export 
Parent Txn Hash Block From To Value
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, GNU AGPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2022-08-26
*/

// File: @openzeppelin/contracts/GSN/Context.sol


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: @openzeppelin/contracts/token/ERC20/IERC20.sol


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);
}

// File: @openzeppelin/contracts/math/SafeMath.sol


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: @openzeppelin/contracts/token/ERC20/ERC20.sol


pragma solidity ^0.7.0;



/**
 * @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: contracts/test/TestToken.sol

pragma solidity 0.7.5;

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

}

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"}]

60806040523480156200001157600080fd5b5060405162000dee38038062000dee833981810160405260608110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b5060405260209081015185519093508592508491620001bd916003918501906200020d565b508051620001d39060049060208401906200020d565b50506005805460ff1916601217905550620001ee81620001f7565b505050620002b9565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f01602090048101928262000245576000855562000290565b82601f106200026057805160ff191683800117855562000290565b8280016001018555821562000290579182015b828111156200029057825182559160200191906001019062000273565b506200029e929150620002a2565b5090565b5b808211156200029e5760008155600101620002a3565b610b2580620002c96000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461021057806370a082311461023c57806395d89b4114610262578063a457c2d71461026a578063a9059cbb14610296578063dd62ed3e146102c2576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102f0565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610386565b604080519115158252519081900360200190f35b61017e6103a3565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b038135811691602081013590911690604001356103a9565b6101ce610430565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610439565b6101626004803603604081101561022657600080fd5b506001600160a01b038135169060200135610487565b61017e6004803603602081101561025257600080fd5b50356001600160a01b0316610493565b6100c16104ae565b6101626004803603604081101561028057600080fd5b506001600160a01b03813516906020013561050f565b610162600480360360408110156102ac57600080fd5b506001600160a01b038135169060200135610577565b61017e600480360360408110156102d857600080fd5b506001600160a01b038135811691602001351661058b565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561037c5780601f106103515761010080835404028352916020019161037c565b820191906000526020600020905b81548152906001019060200180831161035f57829003601f168201915b5050505050905090565b600061039a6103936105b6565b84846105ba565b50600192915050565b60025490565b60006103b68484846106a6565b610426846103c26105b6565b61042185604051806060016040528060288152602001610a5a602891396001600160a01b038a166000908152600160205260408120906104006105b6565b6001600160a01b031681526020810191909152604001600020549190610801565b6105ba565b5060019392505050565b60055460ff1690565b600061039a6104466105b6565b8461042185600160006104576105b6565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610898565b600061039a83836108f9565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561037c5780601f106103515761010080835404028352916020019161037c565b600061039a61051c6105b6565b8461042185604051806060016040528060258152602001610acb60259139600160006105466105b6565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610801565b600061039a6105846105b6565b84846106a6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166105ff5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aa76024913960400191505060405180910390fd5b6001600160a01b0382166106445760405162461bcd60e51b8152600401808060200182810382526022815260200180610a126022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106eb5760405162461bcd60e51b8152600401808060200182810382526025815260200180610a826025913960400191505060405180910390fd5b6001600160a01b0382166107305760405162461bcd60e51b81526004018080602001828103825260238152602001806109ef6023913960400191505060405180910390fd5b61073b8383836109e9565b61077881604051806060016040528060268152602001610a34602691396001600160a01b0386166000908152602081905260409020549190610801565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107a79082610898565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108905760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561085557818101518382015260200161083d565b50505050905090810190601f1680156108825780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156108f2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610954576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610960600083836109e9565b60025461096d9082610898565b6002556001600160a01b0382166000908152602081905260409020546109939082610898565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212200dfedbae91651445f41c618ee28876acaa48b417eb67ec5fd8b36e75bad8687564736f6c63430007050033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000f664441492046616b6520546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046644414900000000000000000000000000000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000f664441492046616b6520546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046644414900000000000000000000000000000000000000000000000000000000

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

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [4] : 664441492046616b6520546f6b656e0000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 6644414900000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

20276:385:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11311:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13417:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;13417:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;12386:100;;;:::i;:::-;;;;;;;;;;;;;;;;14068:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;14068:321:0;;;;;;;;;;;;;;;;;:::i;12238:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14798:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;14798:218:0;;;;;;;;:::i;20518:138::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20518:138:0;;;;;;;;:::i;12549:119::-;;;;;;;;;;;;;;;;-1:-1:-1;12549:119:0;-1:-1:-1;;;;;12549:119:0;;:::i;11513:87::-;;;:::i;15519:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15519:269:0;;;;;;;;:::i;12881:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;12881:175:0;;;;;;;;:::i;13119:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;13119:151:0;;;;;;;;;;:::i;11311:83::-;11381:5;11374:12;;;;;;;;-1:-1:-1;;11374:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11348:13;;11374:12;;11381:5;;11374:12;;11381:5;11374:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11311:83;:::o;13417:169::-;13500:4;13517:39;13526:12;:10;:12::i;:::-;13540:7;13549:6;13517:8;:39::i;:::-;-1:-1:-1;13574:4:0;13417:169;;;;:::o;12386:100::-;12466:12;;12386:100;:::o;14068:321::-;14174:4;14191:36;14201:6;14209:9;14220:6;14191:9;:36::i;:::-;14238:121;14247:6;14255:12;:10;:12::i;:::-;14269:89;14307:6;14269:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14269:19:0;;;;;;:11;:19;;;;;;14289:12;:10;:12::i;:::-;-1:-1:-1;;;;;14269:33:0;;;;;;;;;;;;-1:-1:-1;14269:33:0;;;:89;:37;:89::i;:::-;14238:8;:121::i;:::-;-1:-1:-1;14377:4:0;14068:321;;;;;:::o;12238:83::-;12304:9;;;;12238:83;:::o;14798:218::-;14886:4;14903:83;14912:12;:10;:12::i;:::-;14926:7;14935:50;14974:10;14935:11;:25;14947:12;:10;:12::i;:::-;-1:-1:-1;;;;;14935:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;14935:25:0;;;:34;;;;;;;;;;;:38;:50::i;20518:138::-;20581:4;20598:28;20610:7;20619:6;20598:11;:28::i;12549:119::-;-1:-1:-1;;;;;12642:18:0;12615:7;12642:18;;;;;;;;;;;;12549:119::o;11513:87::-;11585:7;11578:14;;;;;;;;-1:-1:-1;;11578:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11552:13;;11578:14;;11585:7;;11578:14;;11585:7;11578:14;;;;;;;;;;;;;;;;;;;;;;;;15519:269;15612:4;15629:129;15638:12;:10;:12::i;:::-;15652:7;15661:96;15700:15;15661:96;;;;;;;;;;;;;;;;;:11;:25;15673:12;:10;:12::i;:::-;-1:-1:-1;;;;;15661:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;15661:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;12881:175::-;12967:4;12984:42;12994:12;:10;:12::i;:::-;13008:9;13019:6;12984:9;:42::i;13119:151::-;-1:-1:-1;;;;;13235:18:0;;;13208:7;13235:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;13119:151::o;624:106::-;712:10;624:106;:::o;18666:346::-;-1:-1:-1;;;;;18768:19:0;;18760:68;;;;-1:-1:-1;;;18760:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18847:21:0;;18839:68;;;;-1:-1:-1;;;18839:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18920:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;18972:32;;;;;;;;;;;;;;;;;18666:346;;;:::o;16278:539::-;-1:-1:-1;;;;;16384:20:0;;16376:70;;;;-1:-1:-1;;;16376:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16465:23:0;;16457:71;;;;-1:-1:-1;;;16457:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16541:47;16562:6;16570:9;16581:6;16541:20;:47::i;:::-;16621:71;16643:6;16621:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16621:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;16601:17:0;;;:9;:17;;;;;;;;;;;:91;;;;16726:20;;;;;;;:32;;16751:6;16726:24;:32::i;:::-;-1:-1:-1;;;;;16703:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;16774:35;;;;;;;16703:20;;16774:35;;;;;;;;;;;;;16278:539;;;:::o;5605:192::-;5691:7;5727:12;5719:6;;;;5711:29;;;;-1:-1:-1;;;5711:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5763:5:0;;;5605:192::o;4702:181::-;4760:7;4792:5;;;4816:6;;;;4808:46;;;;;-1:-1:-1;;;4808:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4874:1;4702:181;-1:-1:-1;;;4702:181:0:o;17099:378::-;-1:-1:-1;;;;;17183:21:0;;17175:65;;;;;-1:-1:-1;;;17175:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17253:49;17282:1;17286:7;17295:6;17253:20;:49::i;:::-;17330:12;;:24;;17347:6;17330:16;:24::i;:::-;17315:12;:39;-1:-1:-1;;;;;17386:18:0;;:9;:18;;;;;;;;;;;:30;;17409:6;17386:22;:30::i;:::-;-1:-1:-1;;;;;17365:18:0;;:9;:18;;;;;;;;;;;:51;;;;17432:37;;;;;;;17365:18;;:9;;17432:37;;;;;;;;;;17099:378;;:::o;20037:92::-;;;;:::o

Swarm Source

ipfs://0dfedbae91651445f41c618ee28876acaa48b417eb67ec5fd8b36e75bad86875
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading