ETH Price: $2,697.00 (+2.76%)
Gas: 2.08 Gwei
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Transaction ...182941222023-10-06 21:24:35486 days ago1696627475IN
0xfc1B3395...B9451A5d1
0 ETH0.000173516.4445095
Exclude From Fee182941142023-10-06 21:22:59486 days ago1696627379IN
0xfc1B3395...B9451A5d1
0 ETH0.000292176.32774004
Include In Rewar...182941102023-10-06 21:22:11486 days ago1696627331IN
0xfc1B3395...B9451A5d1
0 ETH0.000234286.38819831
Include In Fee182941032023-10-06 21:20:47486 days ago1696627247IN
0xfc1B3395...B9451A5d1
0 ETH0.000186597.09203083
Approve182940792023-10-06 21:15:59486 days ago1696626959IN
0xfc1B3395...B9451A5d1
0 ETH0.000261315.63815423
Exclude From Rew...182940572023-10-06 21:11:35486 days ago1696626695IN
0xfc1B3395...B9451A5d1
0 ETH0.000823376.97676371
Include In Fee182940552023-10-06 21:11:11486 days ago1696626671IN
0xfc1B3395...B9451A5d1
0 ETH0.000168436.92881249
Exclude From Fee182940472023-10-06 21:09:35486 days ago1696626575IN
0xfc1B3395...B9451A5d1
0 ETH0.000293376.35378757
Approve182940372023-10-06 21:07:35486 days ago1696626455IN
0xfc1B3395...B9451A5d1
0 ETH0.000167346.9029789
Approve182940222023-10-06 21:04:35486 days ago1696626275IN
0xfc1B3395...B9451A5d1
0 ETH0.0007431815.97326932
Approve182935512023-10-06 19:29:47486 days ago1696620587IN
0xfc1B3395...B9451A5d1
0 ETH0.0010817423.21992321
Approve182935392023-10-06 19:27:11486 days ago1696620431IN
0xfc1B3395...B9451A5d1
0 ETH0.000445059.55310798
Approve182935122023-10-06 19:21:47486 days ago1696620107IN
0xfc1B3395...B9451A5d1
0 ETH0.0005814412.4839716
Approve182934982023-10-06 19:18:59486 days ago1696619939IN
0xfc1B3395...B9451A5d1
0 ETH0.000333357.16476887
Approve182934782023-10-06 19:14:59486 days ago1696619699IN
0xfc1B3395...B9451A5d1
0 ETH0.0010426822.38719239
Approve182934772023-10-06 19:14:47486 days ago1696619687IN
0xfc1B3395...B9451A5d1
0 ETH0.00048.58617615
Approve182934762023-10-06 19:14:35486 days ago1696619675IN
0xfc1B3395...B9451A5d1
0 ETH0.0005819312.49451424
Approve182934742023-10-06 19:14:11486 days ago1696619651IN
0xfc1B3395...B9451A5d1
0 ETH0.000415348.9640601
Approve182934722023-10-06 19:13:47486 days ago1696619627IN
0xfc1B3395...B9451A5d1
0 ETH0.0004822410.35143911
Approve182934682023-10-06 19:12:59486 days ago1696619579IN
0xfc1B3395...B9451A5d1
0 ETH0.0004761810.22133786
Approve182934682023-10-06 19:12:59486 days ago1696619579IN
0xfc1B3395...B9451A5d1
0 ETH0.0004761810.22133786
Approve182934682023-10-06 19:12:59486 days ago1696619579IN
0xfc1B3395...B9451A5d1
0 ETH0.0004761810.22133786
Approve182934662023-10-06 19:12:35486 days ago1696619555IN
0xfc1B3395...B9451A5d1
0 ETH0.0013367828.70176296
Approve182934632023-10-06 19:11:59486 days ago1696619519IN
0xfc1B3395...B9451A5d1
0 ETH0.0004743310.18176446
Approve182934532023-10-06 19:09:59486 days ago1696619399IN
0xfc1B3395...B9451A5d1
0 ETH0.000393768.50262356
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xFdE356C8...Cb98e4ed7
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
ERC20Reflections

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : ERC20Reflections.sol
/**
        BUY, HOLD, EARN, BURN!
        Telegram: https://t.me/buyholdearn
        Website: http://buyholdearn.com
        X: https://twitter.com/buyholdearn
 */

// SPDX-License-Identifier: MIT
pragma solidity 0.8.18;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/utils/Context.sol";

/**
 * @dev This contract is derived from the ERC20.sol by openzeppelin and the
 reflection token contract by CoinTools. The contract removes liquidity and
 burn fee and only redistributes tokens to holders. This contract has improvements
 in terms of gas efficiency, security, and readibility.
 */
contract ERC20Reflections is Context, IERC20, IERC20Metadata, Ownable {
    uint256 private constant MAX = ~uint256(0);
    uint256 private _rTotalSupply; // total supply in r-space
    uint256 private immutable _tTotalSupply; // total supply in t-space
    string private _name;
    string private _symbol;
    address[] private _excludedFromReward;

    uint256 public txFee = 200; // 200 => 2%
    uint256 public accumulatedFees;

    mapping(address => uint256) private _rBalances; // balances in r-space
    mapping(address => uint256) private _tBalances; // balances in t-space
    mapping(address => mapping(address => uint256)) private _allowances;

    mapping(address => bool) public isExcludedFromFee;
    mapping(address => bool) public isExcludedFromReward;

    event SetFee(uint256 value);

    constructor(string memory name_, string memory symbol_, address owner_) {
        _name = name_;
        _symbol = symbol_;
        _tTotalSupply = 1_000_000_000 * 10 ** decimals();
        excludeFromFee(owner_);
        excludeFromFee(address(this));
        _mint(owner_, _tTotalSupply); // for deployer use msg.sender
        _transferOwnership(owner_);
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

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

    function totalSupply() public view virtual override returns (uint256) {
        return _tTotalSupply;
    }

    function balanceOf(
        address account
    ) public view virtual override returns (uint256) {
        uint256 rate = _conversionRate();
        return _rBalances[account] / rate;
    }

    function transfer(
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(msg.sender, to, amount);
        return true;
    }

    function allowance(
        address account,
        address spender
    ) public view virtual override returns (uint256) {
        return _allowances[account][spender];
    }

    function approve(
        address spender,
        uint256 amount
    ) public virtual override returns (bool) {
        _approve(msg.sender, spender, amount);
        return true;
    }

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

    function increaseAllowance(
        address spender,
        uint256 addedValue
    ) public virtual returns (bool) {
        _approve(
            msg.sender,
            spender,
            allowance(msg.sender, spender) + addedValue
        );
        return true;
    }

    function decreaseAllowance(
        address spender,
        uint256 subtractedValue
    ) public virtual returns (bool) {
        uint256 currentAllowance = allowance(msg.sender, spender);
        require(
            currentAllowance >= subtractedValue,
            "ERC20: decreased allowance below zero"
        );
        unchecked {
            _approve(msg.sender, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    function setTransactionFee(uint256 newTxFee) public onlyOwner {
        txFee = newTxFee;
        emit SetFee(txFee);
    }

    function excludeFromReward(address account) public onlyOwner {
        require(!isExcludedFromReward[account], "Address already excluded");
        require(_excludedFromReward.length < 100, "Excluded list is too long");

        if (_rBalances[account] > 0) {
            uint256 rate = _conversionRate();
            _tBalances[account] = _rBalances[account] / rate;
        }
        isExcludedFromReward[account] = true;
        _excludedFromReward.push(account);
    }

    function includeInReward(address account) public onlyOwner {
        require(isExcludedFromReward[account], "Account is already included");
        uint256 nExcluded = _excludedFromReward.length;
        for (uint256 i = 0; i < nExcluded; i++) {
            if (_excludedFromReward[i] == account) {
                _excludedFromReward[i] = _excludedFromReward[
                    _excludedFromReward.length - 1
                ];
                _tBalances[account] = 0;
                isExcludedFromReward[account] = false;
                _excludedFromReward.pop();
                break;
            }
        }
    }

    function excludeFromFee(address account) public onlyOwner {
        isExcludedFromFee[account] = true;
    }

    function includeInFee(address account) public onlyOwner {
        isExcludedFromFee[account] = false;
    }

    // withdraw tokens from contract (only owner)
    function withdrawTokens(
        address tokenAddress,
        address receiverAddress
    ) external onlyOwner returns (bool success) {
        IERC20 tokenContract = IERC20(tokenAddress);
        uint256 amount = tokenContract.balanceOf(address(this));
        return tokenContract.transfer(receiverAddress, amount);
    }

    function _conversionRate() private view returns (uint256) {
        uint256 rSupply = _rTotalSupply;
        uint256 tSupply = _tTotalSupply;

        uint256 nExcluded = _excludedFromReward.length;
        for (uint256 i = 0; i < nExcluded; i++) {
            rSupply = rSupply - _rBalances[_excludedFromReward[i]];
            tSupply = tSupply - _tBalances[_excludedFromReward[i]];
        }
        if (rSupply < _rTotalSupply / _tTotalSupply) {
            rSupply = _rTotalSupply;
            tSupply = _tTotalSupply;
        }
        // rSupply always > tSupply (no precision loss)
        uint256 rate = rSupply / tSupply;
        return rate;
    }

    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");
        require(amount > 0, "Transfer amount must be greater than zero");

        _beforeTokenTransfer(from, to, amount);

        uint256 _txFee;
        if (isExcludedFromFee[from] || isExcludedFromFee[to]) {
            _txFee = 0;
        } else {
            _txFee = txFee;
        }

        // calc t-values
        uint256 tAmount = amount;
        uint256 tTxFee = (tAmount * _txFee) / 10000;
        uint256 tTransferAmount = tAmount - tTxFee;

        // calc r-values
        uint256 rate = _conversionRate();
        uint256 rTxFee = tTxFee * rate;
        uint256 rAmount = tAmount * rate;
        uint256 rTransferAmount = rAmount - rTxFee;

        // check balances
        uint256 rFromBalance = _rBalances[from];
        uint256 tFromBalance = _tBalances[from];

        if (isExcludedFromReward[from]) {
            require(
                tFromBalance >= tAmount,
                "ERC20: transfer amount exceeds balance"
            );
        } else {
            require(
                rFromBalance >= rAmount,
                "ERC20: transfer amount exceeds balance"
            );
        }

        // Overflow not possible: the sum of all balances is capped by
        // rTotalSupply and tTotalSupply, and the sum is preserved by
        // decrementing then incrementing.
        unchecked {
            // udpate balances in r-space
            _rBalances[from] = rFromBalance - rAmount;
            _rBalances[to] += rTransferAmount;

            // update balances in t-space
            if (isExcludedFromReward[from] && isExcludedFromReward[to]) {
                _tBalances[from] = tFromBalance - tAmount;
                _tBalances[to] += tTransferAmount;
            } else if (
                isExcludedFromReward[from] && !isExcludedFromReward[to]
            ) {
                _tBalances[from] = tFromBalance - tAmount;
            } else if (
                !isExcludedFromReward[from] && isExcludedFromReward[to]
            ) {
                _tBalances[to] += tTransferAmount;
            }

            // reflect fee
            // can never go below zero because rTxFee percentage of
            // _rTotalSupply
            _rTotalSupply = _rTotalSupply - rTxFee;
            accumulatedFees += tTxFee;
        }

        emit Transfer(from, to, tTransferAmount);

        _afterTokenTransfer(from, to, amount);
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

        _rTotalSupply += (MAX - (MAX % amount));
        unchecked {
            _rBalances[account] += _rTotalSupply;
        }
        emit Transfer(address(0), account, amount);

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

    function _approve(
        address account,
        address spender,
        uint256 amount
    ) internal virtual {
        require(account != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    function _spendAllowance(
        address account,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(account, spender);
        if (currentAllowance != type(uint256).max) {
            require(
                currentAllowance >= amount,
                "ERC20: insufficient allowance"
            );
            unchecked {
                _approve(account, spender, currentAllowance - amount);
            }
        }
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 2 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 5 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @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 4 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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 5 of 5 : Context.sol
// SPDX-License-Identifier: MIT
// 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;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"owner_","type":"address"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SetFee","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":[],"name":"accumulatedFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","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":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"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":"","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTxFee","type":"uint256"}],"name":"setTransactionFee","outputs":[],"stateMutability":"nonpayable","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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"txFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"receiverAddress","type":"address"}],"name":"withdrawTokens","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063a522ad251161007c578063a522ad25146102f1578063a9059cbb14610304578063cf82046114610317578063dd62ed3e14610320578063ea2f0b3714610333578063f2fde38b1461034657600080fd5b806370a082311461027d578063715018a61461029057806388f82020146102985780638da5cb5b146102bb57806395d89b41146102d6578063a457c2d7146102de57600080fd5b80633685d419116101155780633685d419146102055780633950935114610218578063437823ec1461022b57806352390c021461023e5780635342acb414610251578063587f5ed71461027457600080fd5b806306fdde031461015d578063095ea7b31461017b578063096a8ab71461019e57806318160ddd146101b357806323b872dd146101e3578063313ce567146101f6575b600080fd5b610165610359565b6040516101729190611290565b60405180910390f35b61018e6101893660046112fa565b6103eb565b6040519015158152602001610172565b6101b16101ac366004611324565b610402565b005b7f0000000000000000000000000000000000000000033b2e3c9fd0803ce80000005b604051908152602001610172565b61018e6101f136600461133d565b610444565b60405160128152602001610172565b6101b1610213366004611379565b610468565b61018e6102263660046112fa565b610604565b6101b1610239366004611379565b610625565b6101b161024c366004611379565b610651565b61018e61025f366004611379565b600a6020526000908152604090205460ff1681565b6101d560065481565b6101d561028b366004611379565b6107e4565b6101b161081d565b61018e6102a6366004611379565b600b6020526000908152604090205460ff1681565b6000546040516001600160a01b039091168152602001610172565b610165610831565b61018e6102ec3660046112fa565b610840565b61018e6102ff366004611394565b6108c4565b61018e6103123660046112fa565b6109bb565b6101d560055481565b6101d561032e366004611394565b6109c8565b6101b1610341366004611379565b6109f3565b6101b1610354366004611379565b610a1c565b606060028054610368906113c7565b80601f0160208091040260200160405190810160405280929190818152602001828054610394906113c7565b80156103e15780601f106103b6576101008083540402835291602001916103e1565b820191906000526020600020905b8154815290600101906020018083116103c457829003601f168201915b5050505050905090565b60006103f8338484610a95565b5060015b92915050565b61040a610bb9565b60058190556040518181527e172ddfc5ae88d08b3de01a5a187667c37a5a53989e8c175055cb6c993792a79060200160405180910390a150565b600033610452858285610c13565b61045d858585610c8d565b506001949350505050565b610470610bb9565b6001600160a01b0381166000908152600b602052604090205460ff166104dd5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c75646564000000000060448201526064015b60405180910390fd5b60045460005b818110156105ff57826001600160a01b03166004828154811061050857610508611401565b6000918252602090912001546001600160a01b0316036105ed57600480546105329060019061142d565b8154811061054257610542611401565b600091825260209091200154600480546001600160a01b03909216918390811061056e5761056e611401565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559185168152600882526040808220829055600b90925220805460ff1916905560048054806105c6576105c6611440565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b806105f781611456565b9150506104e3565b505050565b60006103f833848461061633886109c8565b610620919061146f565b610a95565b61062d610bb9565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b610659610bb9565b6001600160a01b0381166000908152600b602052604090205460ff16156106c25760405162461bcd60e51b815260206004820152601860248201527f4164647265737320616c7265616479206578636c75646564000000000000000060448201526064016104d4565b6004546064116107145760405162461bcd60e51b815260206004820152601960248201527f4578636c75646564206c69737420697320746f6f206c6f6e670000000000000060448201526064016104d4565b6001600160a01b0381166000908152600760205260409020541561077e57600061073c6110fd565b6001600160a01b038316600090815260076020526040902054909150610763908290611482565b6001600160a01b038316600090815260086020526040902055505b6001600160a01b03166000818152600b60205260408120805460ff191660019081179091556004805491820181559091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319169091179055565b6000806107ef6110fd565b6001600160a01b038416600090815260076020526040902054909150610816908290611482565b9392505050565b610825610bb9565b61082f6000611240565b565b606060038054610368906113c7565b60008061084d33856109c8565b9050828110156108ad5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104d4565b6108ba3385858403610a95565b5060019392505050565b60006108ce610bb9565b6040516370a0823160e01b815230600482015283906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610917573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093b91906114a4565b60405163a9059cbb60e01b81526001600160a01b038681166004830152602482018390529192509083169063a9059cbb906044016020604051808303816000875af115801561098e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b291906114bd565b95945050505050565b60006103f8338484610c8d565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205490565b6109fb610bb9565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b610a24610bb9565b6001600160a01b038116610a895760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104d4565b610a9281611240565b50565b6001600160a01b038316610af75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104d4565b6001600160a01b038216610b585760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104d4565b6001600160a01b0383811660008181526009602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b0316331461082f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104d4565b6000610c1f84846109c8565b90506000198114610c875781811015610c7a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104d4565b610c878484848403610a95565b50505050565b6001600160a01b038316610cf15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104d4565b6001600160a01b038216610d535760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104d4565b60008111610db55760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104d4565b6001600160a01b0383166000908152600a602052604081205460ff1680610df457506001600160a01b0383166000908152600a602052604090205460ff165b15610e0157506000610e06565b506005545b816000612710610e1684846114df565b610e209190611482565b90506000610e2e828461142d565b90506000610e3a6110fd565b90506000610e4882856114df565b90506000610e5683876114df565b90506000610e64838361142d565b6001600160a01b038c166000908152600760209081526040808320546008835281842054600b909352922054929350909160ff1615610ec25788811015610ebd5760405162461bcd60e51b81526004016104d4906114f6565b610ee2565b83821015610ee25760405162461bcd60e51b81526004016104d4906114f6565b838203600760008f6001600160a01b03166001600160a01b031681526020019081526020016000208190555082600760008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008282540192505081905550600b60008e6001600160a01b03166001600160a01b0316815260200190815260200160002060009054906101000a900460ff168015610f9857506001600160a01b038c166000908152600b602052604090205460ff165b15610fcd576001600160a01b03808e166000908152600860205260408082208c85039055918e1681522080548801905561109a565b6001600160a01b038d166000908152600b602052604090205460ff16801561100e57506001600160a01b038c166000908152600b602052604090205460ff16155b15611035576001600160a01b038d166000908152600860205260409020898203905561109a565b6001600160a01b038d166000908152600b602052604090205460ff1615801561107657506001600160a01b038c166000908152600b602052604090205460ff165b1561109a576001600160a01b038c1660009081526008602052604090208054880190555b60018054869003905560068054890190556040518781526001600160a01b038d811691908f16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050505050505050505050565b600154600454600091907f0000000000000000000000000000000000000000033b2e3c9fd0803ce800000090835b818110156111d557600760006004838154811061114a5761114a611401565b60009182526020808320909101546001600160a01b03168352820192909252604001902054611179908561142d565b9350600860006004838154811061119257611192611401565b60009182526020808320909101546001600160a01b031683528201929092526040019020546111c1908461142d565b9250806111cd81611456565b91505061112b565b507f0000000000000000000000000000000000000000033b2e3c9fd0803ce80000006001546112049190611482565b8310156112345760015492507f0000000000000000000000000000000000000000033b2e3c9fd0803ce800000091505b60006109b28385611482565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208083528351808285015260005b818110156112bd578581018301518582016040015282016112a1565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146112f557600080fd5b919050565b6000806040838503121561130d57600080fd5b611316836112de565b946020939093013593505050565b60006020828403121561133657600080fd5b5035919050565b60008060006060848603121561135257600080fd5b61135b846112de565b9250611369602085016112de565b9150604084013590509250925092565b60006020828403121561138b57600080fd5b610816826112de565b600080604083850312156113a757600080fd5b6113b0836112de565b91506113be602084016112de565b90509250929050565b600181811c908216806113db57607f821691505b6020821081036113fb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156103fc576103fc611417565b634e487b7160e01b600052603160045260246000fd5b60006001820161146857611468611417565b5060010190565b808201808211156103fc576103fc611417565b60008261149f57634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156114b657600080fd5b5051919050565b6000602082840312156114cf57600080fd5b8151801515811461081657600080fd5b80820281158282048414176103fc576103fc611417565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b60608201526080019056fea2646970667358221220ece7652fbfdcc19d6032f985b2ae5e7c5d7674ad66b6bfa7ce0b10306ae7ad3d64736f6c63430008120033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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