ETH Price: $3,277.99 (+0.20%)

Contract

0xAf21212829ac9F78510Eb693925478F554a49787
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve202612152024-07-08 10:32:11195 days ago1720434731IN
0xAf212128...554a49787
0 ETH0.000192994.17360441
Approve198877352024-05-17 5:53:35247 days ago1715925215IN
0xAf212128...554a49787
0 ETH0.000183943.97804901
Transfer198461522024-05-11 10:19:35253 days ago1715422775IN
0xAf212128...554a49787
0 ETH0.000320934.9920629
Approve197669702024-04-30 8:35:35264 days ago1714466135IN
0xAf212128...554a49787
0 ETH0.000418299.0459277
Approve197487262024-04-27 19:22:47267 days ago1714245767IN
0xAf212128...554a49787
0 ETH0.0002635.68762513
Approve197286512024-04-24 23:57:23269 days ago1714003043IN
0xAf212128...554a49787
0 ETH0.000195647.41039868
Approve197286492024-04-24 23:56:59269 days ago1714003019IN
0xAf212128...554a49787
0 ETH0.000311776.73359525
Approve197268982024-04-24 18:04:23270 days ago1713981863IN
0xAf212128...554a49787
0 ETH0.0006707914.50657582
Approve197256772024-04-24 13:57:35270 days ago1713967055IN
0xAf212128...554a49787
0 ETH0.0014690631.72847358
Approve197255282024-04-24 13:27:35270 days ago1713965255IN
0xAf212128...554a49787
0 ETH0.0013034528.15181814
Approve196851672024-04-18 21:57:23275 days ago1713477443IN
0xAf212128...554a49787
0 ETH0.00023069.62572617
Approve195931042024-04-06 0:26:59288 days ago1712363219IN
0xAf212128...554a49787
0 ETH0.0006314413.65545337
Approve195930712024-04-06 0:20:23288 days ago1712362823IN
0xAf212128...554a49787
0 ETH0.0005702712.33264328
Approve193109782024-02-26 9:54:47328 days ago1708941287IN
0xAf212128...554a49787
0 ETH0.0013955530.35340568
Approve192740632024-02-21 5:49:35333 days ago1708494575IN
0xAf212128...554a49787
0 ETH0.0013817929.88244012
Approve192275782024-02-14 17:06:11340 days ago1707930371IN
0xAf212128...554a49787
0 ETH0.0016623535.90332775
Approve189074662023-12-31 19:12:47385 days ago1704049967IN
0xAf212128...554a49787
0 ETH0.0005566812.03881537
Approve189042302023-12-31 8:19:47385 days ago1704010787IN
0xAf212128...554a49787
0 ETH0.0006189113.38449404
Approve189042092023-12-31 8:15:35385 days ago1704010535IN
0xAf212128...554a49787
0 ETH0.0006121513.23843976
Approve188705222023-12-26 14:39:23390 days ago1703601563IN
0xAf212128...554a49787
0 ETH0.0014227930.92955
Approve188705132023-12-26 14:37:35390 days ago1703601455IN
0xAf212128...554a49787
0 ETH0.0013603629.57253816
Approve188274322023-12-20 13:31:23396 days ago1703079083IN
0xAf212128...554a49787
0 ETH0.0029336163.44175461
Approve188101892023-12-18 3:25:47398 days ago1702869947IN
0xAf212128...554a49787
0 ETH0.0025837955.87663646
Approve188052552023-12-17 10:49:35399 days ago1702810175IN
0xAf212128...554a49787
0 ETH0.00710575153.66787898
Approve187977342023-12-16 9:28:23400 days ago1702718903IN
0xAf212128...554a49787
0 ETH0.0016670136.05048519
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TaxToken

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion
File 1 of 7 : TaxToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {Ownable2Step} from "@openzeppelin/contracts/access/Ownable2Step.sol";

contract TaxToken is ERC20, Ownable2Step {
    // =============================================================
    //                       ERRORS
    // =============================================================

    error FeeTooHigh();
    error ZeroAddress();
    error MaxTransferAmountExceeded();
    error NotAuthorized();

    // =============================================================
    //                       EVENTS
    // =============================================================

    event FeeRecipientUpdated(address newFeeRecipient);
    event FeeUpdated(uint256 fee);
    event MaxTransferAmountUpdated(uint256 amount);
    event TaxedStatusUpdated(address account, bool isTaxed);
    event ExcludedStatusUpdated(address account, bool isExcluded);
    event BlacklistedStatusUpdated(address account, bool isBlacklisted);

    // =============================================================
    //                       STORAGE
    // =============================================================

    /// @notice the fee recipient
    address public feeRecipient;

    /// @notice the fee
    uint256 public fee;

    /// @notice the max transfer amount
    uint256 public maxTransferAmount;

    /// @notice mapping of addresses that are taxed
    mapping(address => bool) public taxed;

    /// @notice mapping of addresses that are excluded from fee
    mapping(address => bool) public excludedFromFee;

    /// @notice mapping of addresses that are blacklisted
    mapping(address => bool) public blacklisted;

    // =============================================================
    //                       CONSTRUCTOR
    // =============================================================

    constructor(
        address owner_,
        uint256 fee_,
        address feeRecipient_,
        uint256 initialSupply,
        string memory name_,
        string memory symbol_
    ) ERC20(name_, symbol_) {
        if (owner_ == address(0) || feeRecipient_ == address(0)) revert ZeroAddress();
        if (fee_ > 10000) revert FeeTooHigh();

        // transfer ownership to owner
        _transferOwnership(owner_);

        // set fee
        fee = fee_;

        // set fee recipient
        feeRecipient = feeRecipient_;

        // exclude addresses from fees
        excludedFromFee[owner_] = true;
        excludedFromFee[feeRecipient_] = true;

        // mint initial supply to owner
        _mint(owner_, initialSupply);
    }

    // =============================================================
    //                       RESTRICTED FUNCTIONS
    // =============================================================

    /// @notice Allows the owner to set the fee
    /// @param newFee the new fee, in basis points
    function setFee(uint256 newFee) external onlyOwner {
        if (newFee > 10000) revert FeeTooHigh();
        fee = newFee;
        emit FeeUpdated(newFee);
    }

    /// @notice Allows the owner to set the fee recipient
    /// @param newFeeRecipient the new fee recipient
    function setFeeRecipient(address newFeeRecipient) external onlyOwner {
        if (newFeeRecipient == address(0)) revert ZeroAddress();
        feeRecipient = newFeeRecipient;
        emit FeeRecipientUpdated(newFeeRecipient);
    }

    /// @notice Allows the owner to exclude or include fees for an account
    /// @param account the account to update excluded status for
    /// @param isExcluded the new excluded status
    function setExcluded(address account, bool isExcluded) external onlyOwner {
        excludedFromFee[account] = isExcluded;
        emit ExcludedStatusUpdated(account, isExcluded);
    }

    /// @notice Allows the owner to set the max transfer amount
    /// @param amount the new max transfer amount
    function setMaxTransferAmount(uint256 amount) external onlyOwner {
        maxTransferAmount = amount;
        emit MaxTransferAmountUpdated(amount);
    }

    /// @notice Allows the owner to update the blacklisted status of an account
    /// @param account the account to update blacklist status for
    /// @param isBlacklisted the new blacklist status
    function setBlacklisted(address account, bool isBlacklisted) external onlyOwner {
        blacklisted[account] = isBlacklisted;
        emit BlacklistedStatusUpdated(account, isBlacklisted);
    }

    /// @notice Allows the owner to update the taxed status of an account
    /// @param account the account to update taxed status for
    /// @param isTaxed the new taxed status
    function setTaxed(address account, bool isTaxed) external onlyOwner {
        taxed[account] = isTaxed;
        emit TaxedStatusUpdated(account, isTaxed);
    }

    // =============================================================
    //                       INTERNAL FUNCTIONS
    // =============================================================

    function _beforeTokenTransfer(address from, address to, uint256 amount) internal override {
        super._beforeTokenTransfer(from, to, amount);

        // check if either account is blacklisted
        if (blacklisted[from] || blacklisted[to]) revert NotAuthorized();

        // enforce max transfer amount if neither account is owner
        if (from != owner() && to != owner()) {
            if (amount > maxTransferAmount) revert MaxTransferAmountExceeded();
        }
    }

    function _transfer(address from, address to, uint256 amount) internal override {
        //indicates if fee should be deducted from transfer
        bool takeFee = (taxed[from] || taxed[to]);

        //if any account belongs to excludedFromFee account then remove the fee
        if (excludedFromFee[from] || excludedFromFee[to]) {
            takeFee = false;
        }

        if (takeFee) {
            //calculate fee amount
            uint256 feeAmount = amount * fee / 10000;
            //transfer to fee recipient
            super._transfer(from, feeRecipient, feeAmount);
            // transfer remaining amount to "to" address
            super._transfer(from, to, amount - feeAmount);
        } else {
            super._transfer(from, to, amount);
        }
    }
}

File 2 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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}.
     *
     * 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 default value returned by this function, unless
     * it's 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;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _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;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _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;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _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 {}
}

File 3 of 7 : Ownable2Step.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable2Step.sol)

pragma solidity ^0.8.0;

import "./Ownable.sol";

/**
 * @dev Contract module which provides 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} and {acceptOwnership}.
 *
 * This module is used through inheritance. It will make available all functions
 * from parent (Ownable).
 */
abstract contract Ownable2Step is Ownable {
    address private _pendingOwner;

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

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

    /**
     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual override onlyOwner {
        _pendingOwner = newOwner;
        emit OwnershipTransferStarted(owner(), newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual override {
        delete _pendingOwner;
        super._transferOwnership(newOwner);
    }

    /**
     * @dev The new owner accepts the ownership transfer.
     */
    function acceptOwnership() public virtual {
        address sender = _msgSender();
        require(pendingOwner() == sender, "Ownable2Step: caller is not the new owner");
        _transferOwnership(sender);
    }
}

File 4 of 7 : 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 7 : 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 6 of 7 : 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;
    }
}

File 7 of 7 : 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);
    }
}

Settings
{
  "remappings": [
    "@openzeppelin/=lib/openzeppelin-contracts/",
    "@uniswap/v2-core/=lib/v2-core/",
    "@uniswap/v2-periphery/=lib/v2-periphery/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "openzeppelin/=lib/openzeppelin-contracts/contracts/",
    "v2-core/=lib/v2-core/contracts/",
    "v2-periphery/=lib/v2-periphery/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 1000000
  },
  "metadata": {
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "shanghai",
  "viaIR": true,
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"uint256","name":"fee_","type":"uint256"},{"internalType":"address","name":"feeRecipient_","type":"address"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"FeeTooHigh","type":"error"},{"inputs":[],"name":"MaxTransferAmountExceeded","type":"error"},{"inputs":[],"name":"NotAuthorized","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isBlacklisted","type":"bool"}],"name":"BlacklistedStatusUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludedStatusUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newFeeRecipient","type":"address"}],"name":"FeeRecipientUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"FeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MaxTransferAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isTaxed","type":"bool"}],"name":"TaxedStatusUpdated","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":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":[{"internalType":"address","name":"","type":"address"}],"name":"blacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"","type":"address"}],"name":"excludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"maxTransferAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isBlacklisted","type":"bool"}],"name":"setBlacklisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"setExcluded","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newFeeRecipient","type":"address"}],"name":"setFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTransferAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isTaxed","type":"bool"}],"name":"setTaxed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"}]

60406080815234620005025762001f6c803803806200001e8162000506565b928339810160c082820312620005025762000039826200052c565b60209182840151936200004e8682016200052c565b60608201516080830151909491926001600160401b0392918381116200050257856200007c91830162000541565b9460a0820151848111620005025762000096920162000541565b93805192808411620004085760038054946001938487811c97168015620004f7575b8b881014620004e35781908b601f988981116200048d575b50508b9088831160011462000428575f926200041c575b50505f1982841b1c191690841b1781555b8651918211620004085760049687548481811c91168015620003fd575b8b821014620003ea579081878594931162000395575b508a908784116001146200032c575f9362000320575b505082841b925f19911b1c19161785555b6200015d33620005b1565b60018060a01b03938483169889159384801562000315575b62000305576127108211620002f5579062000192879392620005b1565b60085516908160018060a01b03196007541617600755885f52600b8852895f209160ff199282848254161790555f52895f2091825416179055620002b457505f8052600c845260ff865f2054168015620002a3575b620002945760055416801515908162000288575b506200026f575b600254908282018092116200025c57506002555f8381528083528481208054830190558451918252917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a3516119679081620006058239f35b601190634e487b7160e01b5f525260245ffd5b600954821115620002025784516343d7241360e01b8152fd5b90508414155f620001fb565b50845163ea8e4eb560e01b8152fd5b50845f5260ff865f205416620001e7565b826064918689519262461bcd60e51b845283015260248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b8b5163cd4e616760e01b81528890fd5b8b5163d92e233d60e01b81528890fd5b508683161562000175565b015191505f8062000141565b5f8a81528c812087965093929190601f198616908e5b8282106200037d575050851162000363575b50505050811b01855562000152565b01519060f8845f19921b161c191690555f80808062000354565b83850151875589989096019593840193018e62000342565b90919250885f528a5f208780860160051c8201928d8710620003e0575b91879187969594930160051c01915b828110620003d15750506200012b565b5f8155869550879101620003c1565b92508192620003b2565b602289634e487b7160e01b5f525260245ffd5b90607f169062000115565b634e487b7160e01b5f52604160045260245ffd5b015190505f80620000e7565b5f8581528d8120889550929190601f198516908f5b8282106200047557505084116200045d575b505050811b018155620000f8565b01515f1983861b60f8161c191690555f80806200044f565b8385015186558a979095019493840193018f6200043d565b90919250845f5288825f209181860160051c8301938610620004d9575b918891869594930160051c01915b828110620004ca57508d9150620000d0565b5f8155859450889101620004b8565b92508192620004aa565b634e487b7160e01b5f52602260045260245ffd5b96607f1696620000b8565b5f80fd5b6040519190601f01601f191682016001600160401b038111838210176200040857604052565b51906001600160a01b03821682036200050257565b919080601f84011215620005025782516001600160401b038111620004085760209062000577601f8201601f1916830162000506565b9281845282828701011162000502575f5b8181106200059d5750825f9394955001015290565b858101830151848201840152820162000588565b600680546001600160a01b0319908116909155600580549182166001600160a01b0393841690811790915591167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a356fe6080604090808252600480361015610015575f80fd5b5f92833560e01c92836306fdde031461112057508263095ea7b3146110d857826318160ddd1461109b57826323b872dd14610f6e5782632836be2414610ed9578263313ce56714610e9f5782633950935114610df65782634690484014610da35782635f84fcd214610d0e57826369fe0e2d14610c6f57826370a0823114610c0e578263715018a614610b6757826379ba509714610a3157826385ecafd7146109ca5782638bf554091461095e5782638da5cb5b1461090b57826395d89b4114610715578263a457c2d714610613578263a9059cbb146105c4578263a9e7572314610587578263d01dd6d2146104bf578263d150881414610458578263dbac26e9146103f1578263dd62ed3e1461037d578263ddca3f4314610340578263e30c3978146102e9578263e74b981b1461020757505063f2fde38b14610157575f80fd5b346102045760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102045761018e6112c1565b610196611365565b73ffffffffffffffffffffffffffffffffffffffff80911690817fffffffffffffffffffffffff00000000000000000000000000000000000000006006541617600655600554167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227008380a380f35b80fd5b909150346102e55760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102e55773ffffffffffffffffffffffffffffffffffffffff6102566112c1565b61025e611365565b169182156102be5750816020917f7a7b5a0a132f9e0581eb8527f66eae9ee89c2a3e79d4ac7e41a1f1f4d48a7fc2937fffffffffffffffffffffffff0000000000000000000000000000000000000000600754161760075551908152a180f35b90517fd92e233d000000000000000000000000000000000000000000000000000000008152fd5b8280fd5b83903461033c57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c5760209073ffffffffffffffffffffffffffffffffffffffff600654169051908152f35b5080fd5b83903461033c57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c576020906008549051908152f35b83903461033c57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c57806020926103b96112c1565b6103c16112e8565b73ffffffffffffffffffffffffffffffffffffffff91821683526001865283832091168252845220549051908152f35b83903461033c5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c5760ff8160209373ffffffffffffffffffffffffffffffffffffffff6104456112c1565b168152600c855220541690519015158152f35b83903461033c5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c5760ff8160209373ffffffffffffffffffffffffffffffffffffffff6104ac6112c1565b168152600a855220541690519015158152f35b83903461033c576105817faf0baab18491e0ce6d04f43541fbe9f346328f2751a20caf461efe3479c37630916104f43661130b565b9290916104ff611365565b73ffffffffffffffffffffffffffffffffffffffff83168652600c602052610554848288209060ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083541691151516179055565b5173ffffffffffffffffffffffffffffffffffffffff909216825291151560208201529081906040820190565b0390a180f35b83903461033c57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c576020906009549051908152f35b83903461033c57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c5760209061060c6106026112c1565b6024359033611555565b5160018152f35b90833461020457827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102045761064b6112c1565b918360243592338152600160205281812073ffffffffffffffffffffffffffffffffffffffff861682526020522054908282106106925760208561060c85850387336113e4565b60849060208651917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152fd5b83903461033c57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c57805190828454600181811c90808316928315610901575b60209384841081146108d557838852879594939291811561087a57506001146107fe575b50505003601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019267ffffffffffffffff8411838510176107d257508291826107ce92528261125d565b0390f35b806041867f4e487b71000000000000000000000000000000000000000000000000000000006024945252fd5b8888529193925086917f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061086457505050907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe092601f92820101918193610780565b8054888501870152879450928501928101610829565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016848701525050151560051b830101905081601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0610780565b60248960228c7f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b91607f169161075c565b83903461033c57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c5760209073ffffffffffffffffffffffffffffffffffffffff600554169051908152f35b9150346102e55760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102e5577fb81a465c2b79d7b689b78d9aaf5a787dd386b73a952be0569f2fbc637aabb8979160209135906109be611365565b8160095551908152a180f35b83903461033c5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c5760ff8160209373ffffffffffffffffffffffffffffffffffffffff610a1e6112c1565b168152600b855220541690519015158152f35b909150346102e557827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102e5576006549173ffffffffffffffffffffffffffffffffffffffff913383851603610ae45750507fffffffffffffffffffffffff00000000000000000000000000000000000000008092166006556005549133908316176005553391167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b90602060849251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e657200000000000000000000000000000000000000000000006064820152fd5b833461020457807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261020457610b9e611365565b8073ffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffffffffff00000000000000000000000000000000000000008060065416600655600554908116600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b83903461033c5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c578060209273ffffffffffffffffffffffffffffffffffffffff610c606112c1565b16815280845220549051908152f35b909150346102e55760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102e557813591610cac611365565b6127108311610ce75750816020917f8c4d35e54a3f2ef1134138fd8ea3daee6a3c89e10d2665996babdf70261e2c769360085551908152a180f35b90517fcd4e6167000000000000000000000000000000000000000000000000000000008152fd5b83903461033c576105817f31f2c5492fd37664c2b86f19b8c9c4b03625e167afa436ef83283fbbe2ebbc0691610d433661130b565b929091610d4e611365565b73ffffffffffffffffffffffffffffffffffffffff83168652600a602052610554848288209060ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083541691151516179055565b83903461033c57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c5760209073ffffffffffffffffffffffffffffffffffffffff600754169051908152f35b833461020457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261020457610e2d6112c1565b338252600160205282822073ffffffffffffffffffffffffffffffffffffffff8216835260205282822054916024358301809311610e735760208461060c8585336113e4565b806011867f4e487b71000000000000000000000000000000000000000000000000000000006024945252fd5b83903461033c57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c576020905160128152f35b83903461033c576105817ff4681898723ee5a15047842d9577d187dd5edfba4855790e2ec5d4f75ee32a7791610f0e3661130b565b929091610f19611365565b73ffffffffffffffffffffffffffffffffffffffff83168652600b602052610554848288209060ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083541691151516179055565b83823461033c5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c57610fa76112c1565b610faf6112e8565b91846044359473ffffffffffffffffffffffffffffffffffffffff8416815260016020528181203382526020522054907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611015575b60208661060c878787611555565b84821061103e57509183916110336020969561060c950333836113e4565b919394819350611007565b60649060208751917f08c379a0000000000000000000000000000000000000000000000000000000008352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b83903461033c57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c576020906002549051908152f35b83903461033c57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c5760209061060c6111166112c1565b60243590336113e4565b8491346102e557827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102e55782600354600181811c90808316928315611253575b60209384841081146108d557838852879594939291811561087a57506001146111d65750505003601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019267ffffffffffffffff8411838510176107d257508291826107ce92528261125d565b600388529193925086917fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b82841061123d57505050907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe092601f92820101918193610780565b8054888501870152879450928501928101611202565b91607f1691611165565b6020808252825181830181905293925f5b8581106112ad575050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f845f6040809697860101520116010190565b81810183015184820160400152820161126e565b6004359073ffffffffffffffffffffffffffffffffffffffff821682036112e457565b5f80fd5b6024359073ffffffffffffffffffffffffffffffffffffffff821682036112e457565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc60409101126112e45760043573ffffffffffffffffffffffffffffffffffffffff811681036112e4579060243580151581036112e45790565b73ffffffffffffffffffffffffffffffffffffffff60055416330361138657565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b73ffffffffffffffffffffffffffffffffffffffff8091169182156114d2571691821561144e5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591835f526001825260405f20855f5282528060405f2055604051908152a3565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152fd5b60846040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b92919073ffffffffffffffffffffffffffffffffffffffff93848116945f95808752600a60205260ff6040882054168015611669575b908752600b60205260ff6040882054168015611656575b61164f575b1561164357600854808502908582041485151715611616576127106115d391048092600754168461167c565b83039283116115e9576115e793945061167c565b565b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b6024877f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b506115e793945061167c565b50856115a7565b50818416875260ff6040882054166115a2565b50818416875260ff60408820541661158b565b9173ffffffffffffffffffffffffffffffffffffffff8093169182156118ad578316928315611829575f838152600c60205260409160ff83832054168015611819575b6117f057600554168085141590816117e5575b506117b2575b838152806020528181205483811061172f5791808285602095887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef98965282875203828220558781522082815401905551908152a3565b608483517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152fd5b6009548311156116d857600482517f43d72413000000000000000000000000000000000000000000000000000000008152fd5b90508514155f6116d2565b600483517fea8e4eb5000000000000000000000000000000000000000000000000000000008152fd5b5085825260ff83832054166116bf565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fdfea26469706673582212209715bb343e6c6256e8b2812d1f99f2ad23fc61c8b0156c334ad5ebaf78d7e3a964736f6c634300081400330000000000000000000000002aabe92bbbacaf0884f89169ff786d201238e45a000000000000000000000000000000000000000000000000000000000000012c00000000000000000000000071a7c1aa0d521f680e4621434722c76752bffaa9000000000000000000000000000000000000000c9f2c9cd04674edea4000000000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000557696c6c79000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000557494c4c59000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604090808252600480361015610015575f80fd5b5f92833560e01c92836306fdde031461112057508263095ea7b3146110d857826318160ddd1461109b57826323b872dd14610f6e5782632836be2414610ed9578263313ce56714610e9f5782633950935114610df65782634690484014610da35782635f84fcd214610d0e57826369fe0e2d14610c6f57826370a0823114610c0e578263715018a614610b6757826379ba509714610a3157826385ecafd7146109ca5782638bf554091461095e5782638da5cb5b1461090b57826395d89b4114610715578263a457c2d714610613578263a9059cbb146105c4578263a9e7572314610587578263d01dd6d2146104bf578263d150881414610458578263dbac26e9146103f1578263dd62ed3e1461037d578263ddca3f4314610340578263e30c3978146102e9578263e74b981b1461020757505063f2fde38b14610157575f80fd5b346102045760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102045761018e6112c1565b610196611365565b73ffffffffffffffffffffffffffffffffffffffff80911690817fffffffffffffffffffffffff00000000000000000000000000000000000000006006541617600655600554167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227008380a380f35b80fd5b909150346102e55760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102e55773ffffffffffffffffffffffffffffffffffffffff6102566112c1565b61025e611365565b169182156102be5750816020917f7a7b5a0a132f9e0581eb8527f66eae9ee89c2a3e79d4ac7e41a1f1f4d48a7fc2937fffffffffffffffffffffffff0000000000000000000000000000000000000000600754161760075551908152a180f35b90517fd92e233d000000000000000000000000000000000000000000000000000000008152fd5b8280fd5b83903461033c57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c5760209073ffffffffffffffffffffffffffffffffffffffff600654169051908152f35b5080fd5b83903461033c57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c576020906008549051908152f35b83903461033c57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c57806020926103b96112c1565b6103c16112e8565b73ffffffffffffffffffffffffffffffffffffffff91821683526001865283832091168252845220549051908152f35b83903461033c5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c5760ff8160209373ffffffffffffffffffffffffffffffffffffffff6104456112c1565b168152600c855220541690519015158152f35b83903461033c5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c5760ff8160209373ffffffffffffffffffffffffffffffffffffffff6104ac6112c1565b168152600a855220541690519015158152f35b83903461033c576105817faf0baab18491e0ce6d04f43541fbe9f346328f2751a20caf461efe3479c37630916104f43661130b565b9290916104ff611365565b73ffffffffffffffffffffffffffffffffffffffff83168652600c602052610554848288209060ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083541691151516179055565b5173ffffffffffffffffffffffffffffffffffffffff909216825291151560208201529081906040820190565b0390a180f35b83903461033c57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c576020906009549051908152f35b83903461033c57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c5760209061060c6106026112c1565b6024359033611555565b5160018152f35b90833461020457827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102045761064b6112c1565b918360243592338152600160205281812073ffffffffffffffffffffffffffffffffffffffff861682526020522054908282106106925760208561060c85850387336113e4565b60849060208651917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152fd5b83903461033c57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c57805190828454600181811c90808316928315610901575b60209384841081146108d557838852879594939291811561087a57506001146107fe575b50505003601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019267ffffffffffffffff8411838510176107d257508291826107ce92528261125d565b0390f35b806041867f4e487b71000000000000000000000000000000000000000000000000000000006024945252fd5b8888529193925086917f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061086457505050907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe092601f92820101918193610780565b8054888501870152879450928501928101610829565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016848701525050151560051b830101905081601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0610780565b60248960228c7f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b91607f169161075c565b83903461033c57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c5760209073ffffffffffffffffffffffffffffffffffffffff600554169051908152f35b9150346102e55760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102e5577fb81a465c2b79d7b689b78d9aaf5a787dd386b73a952be0569f2fbc637aabb8979160209135906109be611365565b8160095551908152a180f35b83903461033c5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c5760ff8160209373ffffffffffffffffffffffffffffffffffffffff610a1e6112c1565b168152600b855220541690519015158152f35b909150346102e557827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102e5576006549173ffffffffffffffffffffffffffffffffffffffff913383851603610ae45750507fffffffffffffffffffffffff00000000000000000000000000000000000000008092166006556005549133908316176005553391167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b90602060849251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e657200000000000000000000000000000000000000000000006064820152fd5b833461020457807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261020457610b9e611365565b8073ffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffffffffff00000000000000000000000000000000000000008060065416600655600554908116600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b83903461033c5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c578060209273ffffffffffffffffffffffffffffffffffffffff610c606112c1565b16815280845220549051908152f35b909150346102e55760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102e557813591610cac611365565b6127108311610ce75750816020917f8c4d35e54a3f2ef1134138fd8ea3daee6a3c89e10d2665996babdf70261e2c769360085551908152a180f35b90517fcd4e6167000000000000000000000000000000000000000000000000000000008152fd5b83903461033c576105817f31f2c5492fd37664c2b86f19b8c9c4b03625e167afa436ef83283fbbe2ebbc0691610d433661130b565b929091610d4e611365565b73ffffffffffffffffffffffffffffffffffffffff83168652600a602052610554848288209060ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083541691151516179055565b83903461033c57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c5760209073ffffffffffffffffffffffffffffffffffffffff600754169051908152f35b833461020457817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261020457610e2d6112c1565b338252600160205282822073ffffffffffffffffffffffffffffffffffffffff8216835260205282822054916024358301809311610e735760208461060c8585336113e4565b806011867f4e487b71000000000000000000000000000000000000000000000000000000006024945252fd5b83903461033c57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c576020905160128152f35b83903461033c576105817ff4681898723ee5a15047842d9577d187dd5edfba4855790e2ec5d4f75ee32a7791610f0e3661130b565b929091610f19611365565b73ffffffffffffffffffffffffffffffffffffffff83168652600b602052610554848288209060ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083541691151516179055565b83823461033c5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c57610fa76112c1565b610faf6112e8565b91846044359473ffffffffffffffffffffffffffffffffffffffff8416815260016020528181203382526020522054907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611015575b60208661060c878787611555565b84821061103e57509183916110336020969561060c950333836113e4565b919394819350611007565b60649060208751917f08c379a0000000000000000000000000000000000000000000000000000000008352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b83903461033c57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c576020906002549051908152f35b83903461033c57807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033c5760209061060c6111166112c1565b60243590336113e4565b8491346102e557827ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102e55782600354600181811c90808316928315611253575b60209384841081146108d557838852879594939291811561087a57506001146111d65750505003601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019267ffffffffffffffff8411838510176107d257508291826107ce92528261125d565b600388529193925086917fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b82841061123d57505050907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe092601f92820101918193610780565b8054888501870152879450928501928101611202565b91607f1691611165565b6020808252825181830181905293925f5b8581106112ad575050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f845f6040809697860101520116010190565b81810183015184820160400152820161126e565b6004359073ffffffffffffffffffffffffffffffffffffffff821682036112e457565b5f80fd5b6024359073ffffffffffffffffffffffffffffffffffffffff821682036112e457565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc60409101126112e45760043573ffffffffffffffffffffffffffffffffffffffff811681036112e4579060243580151581036112e45790565b73ffffffffffffffffffffffffffffffffffffffff60055416330361138657565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b73ffffffffffffffffffffffffffffffffffffffff8091169182156114d2571691821561144e5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591835f526001825260405f20855f5282528060405f2055604051908152a3565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152fd5b60846040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b92919073ffffffffffffffffffffffffffffffffffffffff93848116945f95808752600a60205260ff6040882054168015611669575b908752600b60205260ff6040882054168015611656575b61164f575b1561164357600854808502908582041485151715611616576127106115d391048092600754168461167c565b83039283116115e9576115e793945061167c565b565b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b6024877f4e487b710000000000000000000000000000000000000000000000000000000081526011600452fd5b506115e793945061167c565b50856115a7565b50818416875260ff6040882054166115a2565b50818416875260ff60408820541661158b565b9173ffffffffffffffffffffffffffffffffffffffff8093169182156118ad578316928315611829575f838152600c60205260409160ff83832054168015611819575b6117f057600554168085141590816117e5575b506117b2575b838152806020528181205483811061172f5791808285602095887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef98965282875203828220558781522082815401905551908152a3565b608483517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152fd5b6009548311156116d857600482517f43d72413000000000000000000000000000000000000000000000000000000008152fd5b90508514155f6116d2565b600483517fea8e4eb5000000000000000000000000000000000000000000000000000000008152fd5b5085825260ff83832054166116bf565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fdfea26469706673582212209715bb343e6c6256e8b2812d1f99f2ad23fc61c8b0156c334ad5ebaf78d7e3a964736f6c63430008140033

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

0000000000000000000000002aabe92bbbacaf0884f89169ff786d201238e45a000000000000000000000000000000000000000000000000000000000000012c00000000000000000000000071a7c1aa0d521f680e4621434722c76752bffaa9000000000000000000000000000000000000000c9f2c9cd04674edea4000000000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000557696c6c79000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000557494c4c59000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : owner_ (address): 0x2aaBE92BbbacAf0884F89169ff786D201238e45A
Arg [1] : fee_ (uint256): 300
Arg [2] : feeRecipient_ (address): 0x71a7C1Aa0D521F680E4621434722c76752bfFAA9
Arg [3] : initialSupply (uint256): 1000000000000000000000000000000
Arg [4] : name_ (string): Willy
Arg [5] : symbol_ (string): WILLY

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000002aabe92bbbacaf0884f89169ff786d201238e45a
Arg [1] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [2] : 00000000000000000000000071a7c1aa0d521f680e4621434722c76752bffaa9
Arg [3] : 000000000000000000000000000000000000000c9f2c9cd04674edea40000000
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 57696c6c79000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 57494c4c59000000000000000000000000000000000000000000000000000000


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.