Contract 0xdc8d88d9e57cc7be548f76e5e413c4838f953018

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0xc34487cc951934554896e1d617857c7ff48feb2fc2e0df1d46f7111982beaae0Approve409401972023-03-30 13:26:2459 days 16 hrs ago0x091a0ed3d512a34202a21d7471bc029b1b556f5a IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.00676812691 146.334715158
0x81e860f56a46fbd5dc4569677fe27268b2cf221cc0c1c670b94342c5f109c969Approve398939292023-03-02 21:47:1287 days 7 hrs ago0xb788602dd9d4dc55a36b6a7e19663e147d132522 IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.003971272935 85.796723383
0xd3654a1b30ac2bd4fd1c10bb905c23abc860c93c5c518edf23fc760a205124cfApprove392940272023-02-14 19:52:07103 days 9 hrs ago0x4e1bf4199357ca786b48d721e0867d34e92a3a19 IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.01319062245 283.65099995
0x7c7c19c48937c6ab4039277aaa16283724c54952a3f82c10cb3210a80fbb1d31Transfer374550492022-12-30 9:20:37149 days 20 hrs ago0x07c3030d141c9309adea0df08649d8972088c0a6 IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.001406811542 47.33392357
0x984002e29a3b924b31896d616ac0fc0b30694740cd022da655754ef54c16b8caApprove368694112022-12-15 17:58:55164 days 11 hrs ago0x4e1bf4199357ca786b48d721e0867d34e92a3a19 IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.004032048883 86.593408584
0x75c328b56019402640f29bc710a77df337bd4de5def8724717a181c2d102c9b1Approve368688622022-12-15 17:40:01164 days 11 hrs ago0x4e1bf4199357ca786b48d721e0867d34e92a3a19 IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.005278444048 113.361339435
0xf04f3c42e17c11cd2ad15242967eb68b6e5783c34aeaf6e0bbf55771139c2827Approve338979642022-10-03 23:48:25237 days 5 hrs ago0xe22158765f79d344400adee7d71a04522fde46ce IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.001991677477 43.028873718
0xebfc6a8bfd7246c28f697d8f1328f52c36f3145f24c7ab20ce2ecd7a24bb78bfApprove337021042022-09-29 6:13:15241 days 23 hrs ago0x091a0ed3d512a34202a21d7471bc029b1b556f5a IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.001391835351 30.061887971
0xd80a6c91328265fa7b1d57a152a358c8bfff382e94208bd44fb5d607457703bbApprove324734502022-08-30 7:05:50271 days 22 hrs ago0x17bd8ede939217d9bb34b1ef97e1daa09ec06cba IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.001107937988 37.959981791
0x1795fed97742a5e3c63dd6338ce8b1c47c0ab6e93ca5ad093849dba8e312936bTransfer324522062022-08-29 15:09:50272 days 14 hrs ago0x9332b37d0676a6d3e0ee3fd0c579cbf5ddf57912 IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.003204081663 107.76180216
0xf3c8f71d12d861d4d49f3c986df843aa589555fa992781a4315842e6fcd3afd2Approve322966672022-08-25 6:51:34276 days 22 hrs ago0x17bd8ede939217d9bb34b1ef97e1daa09ec06cba IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.00087453 30.000000015
0x9fc3566816330ada0a97e0b2d49942009d3cf3e7ac41e49a4347e0fd242956bfApprove322964692022-08-25 6:44:46276 days 22 hrs ago0x17bd8ede939217d9bb34b1ef97e1daa09ec06cba IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.001188100621 40.740000041
0xe5fc78a215820c32f4d072338156ba4a99f456a0f1a424faab680abff97698e8Transfer322442832022-08-23 21:58:13278 days 7 hrs ago0x9332b37d0676a6d3e0ee3fd0c579cbf5ddf57912 IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.001266311206 36.695100028
0x8023d56505ca812054ebcfb053b906c8e43f6346aae58ea22e90ba6f247a99e9Approve322204912022-08-23 7:08:30278 days 22 hrs ago0x17bd8ede939217d9bb34b1ef97e1daa09ec06cba IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.001436748483 31.040000066
0x745f7ff0a2a05485d2db3698f6e930f86796287a824dc5da0de6dedecc578dd0Approve319908632022-08-17 9:27:07284 days 20 hrs ago0xbcb1cf32d4f3406d5c95c88a6ae66a3039ee0538 IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.001441178877 31.143789899
0x0a4c1347b46e6ffad2c2846e504dff8f22f29b5017f3284d25bba200e27ae355Transfer314517122022-08-02 23:58:38299 days 5 hrs ago0x9332b37d0676a6d3e0ee3fd0c579cbf5ddf57912 IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.00534970874 103.65844601
0xfb16156843f1d22b5f7dc164a3198e0a5e2d049614c2b426e1fd051b32b0bceeApprove310919182022-07-24 16:38:30308 days 12 hrs ago0x4e6f2b5e8d84af5c5ff21dd7e376baf6b17e3dea IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.001396904582 30.000313181
0x9560045d5f901e36e27aa8dfb1c124c9bc89b5095be777c8327d03344fb9ca60Approve307447772022-07-15 7:55:59317 days 21 hrs ago0x9b92f927c56bd21fb20638d4daa140f2283888bf IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.001749607484 37.789314766
0xb09326f76e333af4aa822d6a5c651a296b04e308281e9d9e409b3ca7b96154f7Approve302695562022-07-03 0:14:25330 days 5 hrs ago0xbcb1cf32d4f3406d5c95c88a6ae66a3039ee0538 IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.00350317535 75.664168786
0x370e2b828222624ad0273f8d3384b3a3ab363617b3c8c364189dd27d47e8e33dApprove301413052022-06-29 15:33:07333 days 14 hrs ago0x17bd8ede939217d9bb34b1ef97e1daa09ec06cba IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.001454580425 31.417102429
0x36914be740b00c2d7f7658024e53da029a338888e1853249d0b1c308d00ac9d7Approve299457332022-06-24 13:11:46338 days 16 hrs ago0x4226f83b6761fe3259505a5edf31ae4657582d15 IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.001388663141 30.001148087
0x2c5bfdd381607450f2d254c6e7b971eabdea24319f64560f4a5424dc4718bbc6Transfer299184482022-06-23 20:07:50339 days 9 hrs ago0xb73888476dccade29770175966ccc5ad50e45b48 IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.002886213904 55.937630177
0xcd80c103c7aa73779bb1227967b2a122b769d7ad4661c702593091248dd845aaApprove297113202022-06-18 10:33:23344 days 19 hrs ago0x4da788cb936823f7cfd32ebc05c3fe8959687648 IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.00860102089 185.771202199
0xd3e7a17575d4756a01f3805d884c8a104390c23eb207a1f27492da7639ab6017Transfer297112652022-06-18 10:31:29344 days 19 hrs ago0xcb6bf77009beb5f2ff59887860d752f0c8531a7f IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.012077310358 258.012569353
0x6fc6c19e1805670d9de1e77dce00edf86d15f62792ce0850b6f9aae88e5c671bApprove297009872022-06-18 4:03:31345 days 1 hr ago0x07c3030d141c9309adea0df08649d8972088c0a6 IN  0xdc8d88d9e57cc7be548f76e5e413c4838f9530180 MATIC0.001643727431 35.502439184
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x25440e70fefda34d926e366d72697dbc6aebb0bb139340b6c22ff42970417a0e236798382022-01-13 17:55:11500 days 11 hrs ago 0xdc8d88d9e57cc7be548f76e5e413c4838f953018 0x1ce6597bab219e627cc54ecd8b6bd613ddd5b4a135 MATIC
[ Download CSV Export 
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x0e3059081f7e3Bb03D0A377949E6D91483f3E4AA

Contract Name:
StandardERC20

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at polygonscan.com on 2021-12-29
*/

// SPDX-License-Identifier: MIT

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol)

pragma solidity ^0.8.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 Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

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

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

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(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:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

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

        _afterTokenTransfer(address(0), account, amount);
    }

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

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

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

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

        _afterTokenTransfer(account, address(0), amount);
    }

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

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

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

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

// File: contracts/token/ERC20/behaviours/ERC20Decimals.sol



pragma solidity ^0.8.0;


/**
 * @title ERC20Decimals
 * @dev Implementation of the ERC20Decimals. Extension of {ERC20} that adds decimals storage slot.
 */
abstract contract ERC20Decimals is ERC20 {
    uint8 private immutable _decimals;

    /**
     * @dev Sets the value of the `decimals`. This value is immutable, it can only be
     * set once during construction.
     */
    constructor(uint8 decimals_) {
        _decimals = decimals_;
    }

    function decimals() public view virtual override returns (uint8) {
        return _decimals;
    }
}

// File: contracts/service/ServicePayer.sol



pragma solidity ^0.8.0;

interface IPayable {
    function pay(string memory serviceName) external payable;
}

/**
 * @title ServicePayer
 * @dev Implementation of the ServicePayer
 */
abstract contract ServicePayer {
    constructor(address payable receiver, string memory serviceName) payable {
        IPayable(receiver).pay{value: msg.value}(serviceName);
    }
}

// File: contracts/token/ERC20/StandardERC20.sol



pragma solidity ^0.8.0;



/**
 * @title StandardERC20
 * @dev Implementation of the StandardERC20
 */
contract StandardERC20 is ERC20Decimals, ServicePayer {
    constructor(
        string memory name_,
        string memory symbol_,
        uint8 decimals_,
        uint256 initialBalance_,
        address payable feeReceiver_
    ) payable ERC20(name_, symbol_) ERC20Decimals(decimals_) ServicePayer(feeReceiver_, "StandardERC20") {
        require(initialBalance_ > 0, "StandardERC20: supply cannot be zero");

        _mint(_msgSender(), initialBalance_);
    }

    function decimals() public view virtual override returns (uint8) {
        return super.decimals();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"uint256","name":"initialBalance_","type":"uint256"},{"internalType":"address payable","name":"feeReceiver_","type":"address"}],"stateMutability":"payable","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":[],"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"}]

60a060405260405162000e1638038062000e168339810160408190526200002691620003cb565b806040518060400160405280600d81526020016c05374616e64617264455243323609c1b8152508487878160039080519060200190620000689291906200024b565b5080516200007e9060049060208401906200024b565b50505060ff166080526040516315b36b9760e11b81526001600160a01b03831690632b66d72e903490620000b79085906004016200047b565b6000604051808303818588803b158015620000d157600080fd5b505af1158015620000e6573d6000803e3d6000fd5b50505050505050600082116200014f5760405162461bcd60e51b8152602060048201526024808201527f5374616e6461726445524332303a20737570706c792063616e6e6f74206265206044820152637a65726f60e01b60648201526084015b60405180910390fd5b6200015b338362000166565b505050505062000514565b6001600160a01b038216620001be5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000146565b8060026000828254620001d29190620004b0565b90915550506001600160a01b0382166000908152602081905260408120805483929062000201908490620004b0565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200025990620004d7565b90600052602060002090601f0160209004810192826200027d5760008555620002c8565b82601f106200029857805160ff1916838001178555620002c8565b82800160010185558215620002c8579182015b82811115620002c8578251825591602001919060010190620002ab565b50620002d6929150620002da565b5090565b5b80821115620002d65760008155600101620002db565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003245781810151838201526020016200030a565b8381111562000334576000848401525b50505050565b600082601f8301126200034c57600080fd5b81516001600160401b0380821115620003695762000369620002f1565b604051601f8301601f19908116603f01168101908282118183101715620003945762000394620002f1565b81604052838152866020858801011115620003ae57600080fd5b620003c184602083016020890162000307565b9695505050505050565b600080600080600060a08688031215620003e457600080fd5b85516001600160401b0380821115620003fc57600080fd5b6200040a89838a016200033a565b965060208801519150808211156200042157600080fd5b5062000430888289016200033a565b945050604086015160ff811681146200044857600080fd5b6060870151608088015191945092506001600160a01b03811681146200046d57600080fd5b809150509295509295909350565b60208152600082518060208401526200049c81604085016020870162000307565b601f01601f19169190910160400192915050565b60008219821115620004d257634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620004ec57607f821691505b602082108114156200050e57634e487b7160e01b600052602260045260246000fd5b50919050565b6080516108e662000530600039600061011b01526108e66000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461014557806370a082311461015857806395d89b4114610181578063a457c2d714610189578063a9059cbb1461019c578063dd62ed3e146101af57600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101e8565b6040516100c39190610723565b60405180910390f35b6100df6100da366004610794565b61027a565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f3660046107be565b610290565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016100c3565b6100df610153366004610794565b61033f565b6100f36101663660046107fa565b6001600160a01b031660009081526020819052604090205490565b6100b661037b565b6100df610197366004610794565b61038a565b6100df6101aa366004610794565b610423565b6100f36101bd36600461081c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101f79061084f565b80601f01602080910402602001604051908101604052809291908181526020018280546102239061084f565b80156102705780601f1061024557610100808354040283529160200191610270565b820191906000526020600020905b81548152906001019060200180831161025357829003601f168201915b5050505050905090565b6000610287338484610430565b50600192915050565b600061029d848484610554565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156103275760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103348533858403610430565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161028791859061037690869061088a565b610430565b6060600480546101f79061084f565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561040c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161031e565b6104193385858403610430565b5060019392505050565b6000610287338484610554565b6001600160a01b0383166104925760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161031e565b6001600160a01b0382166104f35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161031e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166105b85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161031e565b6001600160a01b03821661061a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161031e565b6001600160a01b038316600090815260208190526040902054818110156106925760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161031e565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906106c990849061088a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161071591815260200190565b60405180910390a350505050565b600060208083528351808285015260005b8181101561075057858101830151858201604001528201610734565b81811115610762576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461078f57600080fd5b919050565b600080604083850312156107a757600080fd5b6107b083610778565b946020939093013593505050565b6000806000606084860312156107d357600080fd5b6107dc84610778565b92506107ea60208501610778565b9150604084013590509250925092565b60006020828403121561080c57600080fd5b61081582610778565b9392505050565b6000806040838503121561082f57600080fd5b61083883610778565b915061084660208401610778565b90509250929050565b600181811c9082168061086357607f821691505b6020821081141561088457634e487b7160e01b600052602260045260246000fd5b50919050565b600082198211156108ab57634e487b7160e01b600052601160045260246000fd5b50019056fea26469706673582212208b6c7ea4ed8117ec769d6f9a3f809af623e176cf62a40d6a8b7fd5d4e51b644964736f6c634300080b003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000b2abc7767ce87fd80000000000000000000000000000001ce6597bab219e627cc54ecd8b6bd613ddd5b4a1000000000000000000000000000000000000000000000000000000000000000f456d70797265616e20536f75726365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042445534900000000000000000000000000000000000000000000000000000000

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