Contract 0x51d3d0bf13b34494a25f64cb80b488490df19c27

Contract Overview

Balance:
0 BTT
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x420151102d30beb958cdfebfc33f1ca3d9402ef9fb837769d1ec81cded944cceApprove151807862022-11-30 17:24:2267 days 12 hrs ago0xf2e3fbdc5038ca680a76bd416933abf0a1500c96 IN  0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT13.9704
0x728a3c2c6d4422651ff5e0bbf7af679df08ed39c49742473b3fd34600036e341Approve151026462022-11-28 20:38:1869 days 9 hrs ago0x9610f65f06337d332d08ffe1109b311d33f681d8 IN  0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT13.9704
0x0835065893fed2277d3645732b731312293f0c484c0f2b5b1da5cceade88444cApprove150903942022-11-28 13:37:1069 days 16 hrs ago0xf2e3fbdc5038ca680a76bd416933abf0a1500c96 IN  0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT13.9704
0x3834dc8fa5399edc9026dc275c63d094719bca13f6f5f6c388a8c61f1fe517f3Approve150836332022-11-28 9:44:4469 days 20 hrs ago0x9610f65f06337d332d08ffe1109b311d33f681d8 IN  0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT13.9704
0xf116151e20732bb32d7bf7eaa401ea532ce404dd48f11704445de90de63f0c45Approve143511512022-11-10 14:44:4087 days 15 hrs ago0x9610f65f06337d332d08ffe1109b311d33f681d8 IN  0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT13.9704
0x7c545604c764bf08facf014f222fb3fd71d20567832b1044ca367da303c1aa8dApprove142345132022-11-07 19:55:1690 days 10 hrs ago0xf2e3fbdc5038ca680a76bd416933abf0a1500c96 IN  0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT13.9704
0xaddde1e19e649a65e6a1fe64c37109aeffe3e7fd2620dc9152a1603f2d7dc2b1Approve142196512022-11-07 11:24:2490 days 18 hrs ago0x9610f65f06337d332d08ffe1109b311d33f681d8 IN  0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT13.9704
0xa444e312bb0683725c462ab9cffd32775216629ef3e41522097879ed29bf755aApprove136414492022-10-24 16:08:18104 days 14 hrs ago0xf2e3fbdc5038ca680a76bd416933abf0a1500c96 IN  0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT13.8984
0x3874667495452803e1aebeecc68fcc2a8ac02a5b9c939731580430aea1552c5aTransfer128703122022-10-06 6:16:12123 days 6 mins ago0xf2e3fbdc5038ca680a76bd416933abf0a1500c96 IN  0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT15.4842
0xed4b4483777e2a1f9053190eba4cb40d0a738095f64adf728218606dfcef650bApprove128093262022-10-04 19:19:48124 days 11 hrs ago0xf2e3fbdc5038ca680a76bd416933abf0a1500c96 IN  0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT13.8948
0xa0546511d759de3c9e46cd7a8a7745c8550be1f775d37befcef30405f430d1c20x60806040127622162022-10-03 16:20:24125 days 14 hrs ago0xf2e3fbdc5038ca680a76bd416933abf0a1500c96 IN  Create: ETH0 BTT187.6707
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xb46d501c29a2483af310c72ccdd52e9b5a521fd1cb81bd579c1b445c477806cd151810292022-11-30 17:32:4467 days 12 hrs ago 0x2f0c67b2ca072c051909dbffcef2e967394e3622 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0xb46d501c29a2483af310c72ccdd52e9b5a521fd1cb81bd579c1b445c477806cd151810292022-11-30 17:32:4467 days 12 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0xb46d501c29a2483af310c72ccdd52e9b5a521fd1cb81bd579c1b445c477806cd151810292022-11-30 17:32:4467 days 12 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0xfe613cf04b915b7807d1407911317eadabb66fb9e8d4ca6d44ad4675a753f278151808012022-11-30 17:24:5667 days 12 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0xfe613cf04b915b7807d1407911317eadabb66fb9e8d4ca6d44ad4675a753f278151808012022-11-30 17:24:5667 days 12 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0xfe613cf04b915b7807d1407911317eadabb66fb9e8d4ca6d44ad4675a753f278151808012022-11-30 17:24:5667 days 12 hrs ago 0x2f0c67b2ca072c051909dbffcef2e967394e3622 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0x4b086143149923f35b7b3ed90a2bfe0dc85dea82b6e0d14e224ea34892dd7d18151807992022-11-30 17:24:4867 days 12 hrs ago 0xf8e9722cbd4ba3e675c77b0ed10b452380e95232 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0x5933f29bd66e8fb3e97faaf03335379854fb2221b4de914db8129bda51e4eaf2151516862022-11-30 0:44:0668 days 5 hrs ago 0xe71f2dc0b63fa9dde5088c2aac274a46b128777b 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0x5933f29bd66e8fb3e97faaf03335379854fb2221b4de914db8129bda51e4eaf2151516862022-11-30 0:44:0668 days 5 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0x5933f29bd66e8fb3e97faaf03335379854fb2221b4de914db8129bda51e4eaf2151516862022-11-30 0:44:0668 days 5 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0x416164a30831b9c3c3fc36a5046261d7bf5a09f0f908d4f5fc53f0b3c3c772c5151026672022-11-28 20:39:0469 days 9 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0x416164a30831b9c3c3fc36a5046261d7bf5a09f0f908d4f5fc53f0b3c3c772c5151026672022-11-28 20:39:0469 days 9 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0x416164a30831b9c3c3fc36a5046261d7bf5a09f0f908d4f5fc53f0b3c3c772c5151026672022-11-28 20:39:0469 days 9 hrs ago 0xe71f2dc0b63fa9dde5088c2aac274a46b128777b 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0xa3959d80f2ff79ad7b0071f188c5d982c495fecdf053bc45e222a2b410d5af76151026582022-11-28 20:38:4669 days 9 hrs ago 0xf8e9722cbd4ba3e675c77b0ed10b452380e95232 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0xf6312493d10e5511b4a9fb179273c4cc8eaa1ea590f5f747ee821eac9264273b150970832022-11-28 17:27:0469 days 12 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0xf6312493d10e5511b4a9fb179273c4cc8eaa1ea590f5f747ee821eac9264273b150970832022-11-28 17:27:0469 days 12 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0xf6312493d10e5511b4a9fb179273c4cc8eaa1ea590f5f747ee821eac9264273b150970832022-11-28 17:27:0469 days 12 hrs ago 0xe71f2dc0b63fa9dde5088c2aac274a46b128777b 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0xf6312493d10e5511b4a9fb179273c4cc8eaa1ea590f5f747ee821eac9264273b150970832022-11-28 17:27:0469 days 12 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0xf6312493d10e5511b4a9fb179273c4cc8eaa1ea590f5f747ee821eac9264273b150970832022-11-28 17:27:0469 days 12 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0x24857070a5f088c9f0c2eab9fbffb39096bb54a8ce406c2ccee79df957a38d95150968312022-11-28 17:18:2469 days 13 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0x24857070a5f088c9f0c2eab9fbffb39096bb54a8ce406c2ccee79df957a38d95150968312022-11-28 17:18:2469 days 13 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0x24857070a5f088c9f0c2eab9fbffb39096bb54a8ce406c2ccee79df957a38d95150968312022-11-28 17:18:2469 days 13 hrs ago 0x2f0c67b2ca072c051909dbffcef2e967394e3622 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0x24857070a5f088c9f0c2eab9fbffb39096bb54a8ce406c2ccee79df957a38d95150968312022-11-28 17:18:2469 days 13 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0x24857070a5f088c9f0c2eab9fbffb39096bb54a8ce406c2ccee79df957a38d95150968312022-11-28 17:18:2469 days 13 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
0xada103b886647394694d773191e1b5bf4d1d6e9ba1e757b01b44162af6cdc50a150904122022-11-28 13:37:4669 days 16 hrs ago 0x7ffb83011e32e4c92b8f7be7085e6f3222bd542c 0x51d3d0bf13b34494a25f64cb80b488490df19c270 BTT
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ETH

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at testnet.bttcscan.com on 2022-10-03
*/

// SPDX-License-Identifier: MIT LICENSE

// File @openzeppelin/contracts/token/ERC20/[email protected]
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]
// 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/[email protected]
// 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/[email protected]
// OpenZeppelin Contracts (last updated v4.7.0) (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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, 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) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, 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) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - 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 {}
}


pragma solidity ^0.8.9;
contract ETH is ERC20 {
    constructor() ERC20("ETH_Test", "ETH_Test") {
        _mint(msg.sender, 1_000_000_000_000000000000000000);
    }

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

Contract ABI

[{"inputs":[],"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":[],"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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060408051808201825260088082526711551217d5195cdd60c21b6020808401828152855180870190965292855284015281519192916100529160039161016d565b50805161006690600490602084019061016d565b505050610085336b033b2e3c9fd0803ce800000061008a60201b60201c565b610267565b6001600160a01b0382166100e45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546100f69190610206565b90915550506001600160a01b03821660009081526020819052604081208054839290610123908490610206565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546101799061022c565b90600052602060002090601f01602090048101928261019b57600085556101e1565b82601f106101b457805160ff19168380011785556101e1565b828001600101855582156101e1579182015b828111156101e15782518255916020019190600101906101c6565b506101ed9291506101f1565b5090565b5b808211156101ed57600081556001016101f2565b6000821982111561022757634e487b7160e01b600052601160045260246000fd5b500190565b600181811c9082168061024057607f821691505b6020821081141561026157634e487b7160e01b600052602260045260246000fd5b50919050565b61088780620002776000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461012357806370a082311461013657806395d89b411461015f578063a457c2d714610167578063a9059cbb1461017a578063dd62ed3e1461018d57600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101a0565b6040516100c391906106c4565b60405180910390f35b6100df6100da366004610735565b610232565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f36600461075f565b61024a565b604051601281526020016100c3565b6100df610131366004610735565b61026e565b6100f361014436600461079b565b6001600160a01b031660009081526020819052604090205490565b6100b6610290565b6100df610175366004610735565b61029f565b6100df610188366004610735565b61031f565b6100f361019b3660046107bd565b61032d565b6060600380546101af906107f0565b80601f01602080910402602001604051908101604052809291908181526020018280546101db906107f0565b80156102285780601f106101fd57610100808354040283529160200191610228565b820191906000526020600020905b81548152906001019060200180831161020b57829003601f168201915b5050505050905090565b600033610240818585610358565b5060019392505050565b60003361025885828561047c565b6102638585856104f6565b506001949350505050565b600033610240818585610281838361032d565b61028b919061082b565b610358565b6060600480546101af906107f0565b600033816102ad828661032d565b9050838110156103125760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102638286868403610358565b6000336102408185856104f6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166103ba5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610309565b6001600160a01b03821661041b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610309565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610488848461032d565b905060001981146104f057818110156104e35760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610309565b6104f08484848403610358565b50505050565b6001600160a01b03831661055a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610309565b6001600160a01b0382166105bc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610309565b6001600160a01b038316600090815260208190526040902054818110156106345760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610309565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061066b90849061082b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516106b791815260200190565b60405180910390a36104f0565b600060208083528351808285015260005b818110156106f1578581018301518582016040015282016106d5565b81811115610703576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461073057600080fd5b919050565b6000806040838503121561074857600080fd5b61075183610719565b946020939093013593505050565b60008060006060848603121561077457600080fd5b61077d84610719565b925061078b60208501610719565b9150604084013590509250925092565b6000602082840312156107ad57600080fd5b6107b682610719565b9392505050565b600080604083850312156107d057600080fd5b6107d983610719565b91506107e760208401610719565b90509250929050565b600181811c9082168061080457607f821691505b6020821081141561082557634e487b7160e01b600052602260045260246000fd5b50919050565b6000821982111561084c57634e487b7160e01b600052601160045260246000fd5b50019056fea2646970667358221220c80a1fcc31d11a0ed984bd796bb3a45389870e41f712811e2837d22d263b21af64736f6c63430008090033

Deployed ByteCode Sourcemap

17519:247:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6706:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9057:201;;;;;;:::i;:::-;;:::i;:::-;;;1218:14:1;;1211:22;1193:41;;1181:2;1166:18;9057:201:0;1053:187:1;7826:108:0;7914:12;;7826:108;;;1391:25:1;;;1379:2;1364:18;7826:108:0;1245:177:1;9838:295:0;;;;;;:::i;:::-;;:::i;17670:93::-;;;17753:2;1902:36:1;;1890:2;1875:18;17670:93:0;1760:184:1;10542:238:0;;;;;;:::i;:::-;;:::i;7997:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;8098:18:0;8071:7;8098:18;;;;;;;;;;;;7997:127;6925:104;;;:::i;11283:436::-;;;;;;:::i;:::-;;:::i;8330:193::-;;;;;;:::i;:::-;;:::i;8586:151::-;;;;;;:::i;:::-;;:::i;6706:100::-;6760:13;6793:5;6786:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6706:100;:::o;9057:201::-;9140:4;4424:10;9196:32;4424:10;9212:7;9221:6;9196:8;:32::i;:::-;-1:-1:-1;9246:4:0;;9057:201;-1:-1:-1;;;9057:201:0:o;9838:295::-;9969:4;4424:10;10027:38;10043:4;4424:10;10058:6;10027:15;:38::i;:::-;10076:27;10086:4;10092:2;10096:6;10076:9;:27::i;:::-;-1:-1:-1;10121:4:0;;9838:295;-1:-1:-1;;;;9838:295:0:o;10542:238::-;10630:4;4424:10;10686:64;4424:10;10702:7;10739:10;10711:25;4424:10;10702:7;10711:9;:25::i;:::-;:38;;;;:::i;:::-;10686:8;:64::i;6925:104::-;6981:13;7014:7;7007:14;;;;;:::i;11283:436::-;11376:4;4424:10;11376:4;11459:25;4424:10;11476:7;11459:9;:25::i;:::-;11432:52;;11523:15;11503:16;:35;;11495:85;;;;-1:-1:-1;;;11495:85:0;;3222:2:1;11495:85:0;;;3204:21:1;3261:2;3241:18;;;3234:30;3300:34;3280:18;;;3273:62;-1:-1:-1;;;3351:18:1;;;3344:35;3396:19;;11495:85:0;;;;;;;;;11616:60;11625:5;11632:7;11660:15;11641:16;:34;11616:8;:60::i;8330:193::-;8409:4;4424:10;8465:28;4424:10;8482:2;8486:6;8465:9;:28::i;8586:151::-;-1:-1:-1;;;;;8702:18:0;;;8675:7;8702:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8586:151::o;14908:380::-;-1:-1:-1;;;;;15044:19:0;;15036:68;;;;-1:-1:-1;;;15036:68:0;;3628:2:1;15036:68:0;;;3610:21:1;3667:2;3647:18;;;3640:30;3706:34;3686:18;;;3679:62;-1:-1:-1;;;3757:18:1;;;3750:34;3801:19;;15036:68:0;3426:400:1;15036:68:0;-1:-1:-1;;;;;15123:21:0;;15115:68;;;;-1:-1:-1;;;15115:68:0;;4033:2:1;15115:68:0;;;4015:21:1;4072:2;4052:18;;;4045:30;4111:34;4091:18;;;4084:62;-1:-1:-1;;;4162:18:1;;;4155:32;4204:19;;15115:68:0;3831:398:1;15115:68:0;-1:-1:-1;;;;;15196:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15248:32;;1391:25:1;;;15248:32:0;;1364:18:1;15248:32:0;;;;;;;14908:380;;;:::o;15579:453::-;15714:24;15741:25;15751:5;15758:7;15741:9;:25::i;:::-;15714:52;;-1:-1:-1;;15781:16:0;:37;15777:248;;15863:6;15843:16;:26;;15835:68;;;;-1:-1:-1;;;15835:68:0;;4436:2:1;15835:68:0;;;4418:21:1;4475:2;4455:18;;;4448:30;4514:31;4494:18;;;4487:59;4563:18;;15835:68:0;4234:353:1;15835:68:0;15947:51;15956:5;15963:7;15991:6;15972:16;:25;15947:8;:51::i;:::-;15703:329;15579:453;;;:::o;12189:671::-;-1:-1:-1;;;;;12320:18:0;;12312:68;;;;-1:-1:-1;;;12312:68:0;;4794:2:1;12312:68:0;;;4776:21:1;4833:2;4813:18;;;4806:30;4872:34;4852:18;;;4845:62;-1:-1:-1;;;4923:18:1;;;4916:35;4968:19;;12312:68:0;4592:401:1;12312:68:0;-1:-1:-1;;;;;12399:16:0;;12391:64;;;;-1:-1:-1;;;12391:64:0;;5200:2:1;12391:64:0;;;5182:21:1;5239:2;5219:18;;;5212:30;5278:34;5258:18;;;5251:62;-1:-1:-1;;;5329:18:1;;;5322:33;5372:19;;12391:64:0;4998:399:1;12391:64:0;-1:-1:-1;;;;;12541:15:0;;12519:19;12541:15;;;;;;;;;;;12575:21;;;;12567:72;;;;-1:-1:-1;;;12567:72:0;;5604:2:1;12567:72:0;;;5586:21:1;5643:2;5623:18;;;5616:30;5682:34;5662:18;;;5655:62;-1:-1:-1;;;5733:18:1;;;5726:36;5779:19;;12567:72:0;5402:402:1;12567:72:0;-1:-1:-1;;;;;12675:15:0;;;:9;:15;;;;;;;;;;;12693:20;;;12675:38;;12735:13;;;;;;;;:23;;12707:6;;12675:9;12735:23;;12707:6;;12735:23;:::i;:::-;;;;;;;;12791:2;-1:-1:-1;;;;;12776:26:0;12785:4;-1:-1:-1;;;;;12776:26:0;;12795:6;12776:26;;;;1391:25:1;;1379:2;1364:18;;1245:177;12776:26:0;;;;;;;;12815:37;16632:125;14:597:1;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;595:2:1;574:15;-1:-1:-1;;570:29:1;555:45;;;;602:2;551:54;;14:597;-1:-1:-1;;;14:597:1:o;616:173::-;684:20;;-1:-1:-1;;;;;733:31:1;;723:42;;713:70;;779:1;776;769:12;713:70;616:173;;;:::o;794:254::-;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;1038:2;1023:18;;;;1010:32;;-1:-1:-1;;;794:254:1:o;1427:328::-;1504:6;1512;1520;1573:2;1561:9;1552:7;1548:23;1544:32;1541:52;;;1589:1;1586;1579:12;1541:52;1612:29;1631:9;1612:29;:::i;:::-;1602:39;;1660:38;1694:2;1683:9;1679:18;1660:38;:::i;:::-;1650:48;;1745:2;1734:9;1730:18;1717:32;1707:42;;1427:328;;;;;:::o;1949:186::-;2008:6;2061:2;2049:9;2040:7;2036:23;2032:32;2029:52;;;2077:1;2074;2067:12;2029:52;2100:29;2119:9;2100:29;:::i;:::-;2090:39;1949:186;-1:-1:-1;;;1949:186:1:o;2140:260::-;2208:6;2216;2269:2;2257:9;2248:7;2244:23;2240:32;2237:52;;;2285:1;2282;2275:12;2237:52;2308:29;2327:9;2308:29;:::i;:::-;2298:39;;2356:38;2390:2;2379:9;2375:18;2356:38;:::i;:::-;2346:48;;2140:260;;;;;:::o;2405:380::-;2484:1;2480:12;;;;2527;;;2548:61;;2602:4;2594:6;2590:17;2580:27;;2548:61;2655:2;2647:6;2644:14;2624:18;2621:38;2618:161;;;2701:10;2696:3;2692:20;2689:1;2682:31;2736:4;2733:1;2726:15;2764:4;2761:1;2754:15;2618:161;;2405:380;;;:::o;2790:225::-;2830:3;2861:1;2857:6;2854:1;2851:13;2848:136;;;2906:10;2901:3;2897:20;2894:1;2887:31;2941:4;2938:1;2931:15;2969:4;2966:1;2959:15;2848:136;-1:-1:-1;3000:9:1;;2790:225::o

Swarm Source

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