ETH Price: $3,463.75 (+2.05%)
Gas: 12 Gwei

Token

Simpson (SIMP)
 

Overview

Max Total Supply

3,750,000,000 SIMP

Holders

12

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
18.446744073709551615 SIMP

Value
$0.00
0xd852bf8a7e75aa5db532cf3d37ebee789700b6b0
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Simpsons

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : simTokenMain.sol
// SPDX-License-Identifier: MIT
// Compatible with OpenZeppelin Contracts ^5.0.0
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

import "./simpsonsLock.sol";

contract Simpsons is ERC20, SimpsonsLock, Ownable {
    constructor(address initialOwner)
        ERC20("Simpson", "SIMP")
        Ownable(initialOwner)
    {
        _mint(initialOwner, 3750000000 * 10 ** decimals());
    }
    function addAddressesToWhitelist(address[] memory addrs) external override onlyOwner {
        _addAddressesToWhitelist(addrs);
    }

    // Function to update the minimum balance, only callable by the owner
    function setMinimumBalance(uint256 newMinimumBalance) external onlyOwner {
        updateMinimumBalance(newMinimumBalance);
    }

    // The following functions are overrides required by Solidity.
    function _update(address from, address to, uint256 value)
        internal
        override(ERC20, SimpsonsLock)
    {
        super._update(from, to, value);
    }
}

File 2 of 9 : simpsonsLock.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./simWhitelist.sol";

abstract contract SimpsonsLock is ERC20, Whitelist {
    mapping(address => uint256) private lastTransferTimestamp;
    mapping(address => uint256) private monthlyTransferAmount;

    uint256 private constant TRANSFER_PERCENTAGE = 3;
    uint256 private constant LOCK_PERIOD = 30 days;
    

    uint256 internal minimumBalance = 600000 * 10**18; // Default to 600_000 tokens (assuming 18 decimals)


    function _canTransfer(address from, uint256 amount) internal returns (bool) {
        if (!isWhitelisted(from)) {
            uint256 balance = balanceOf(from);

            if (balance >= minimumBalance) {
                if (block.timestamp >= lastTransferTimestamp[from] + LOCK_PERIOD) {
                    monthlyTransferAmount[from] = 0;
                    lastTransferTimestamp[from] = block.timestamp;
                }
                uint256 allowedTransferAmount = (balance * TRANSFER_PERCENTAGE) / 100;
                uint256 newTransferAmount = monthlyTransferAmount[from] + amount;
                if (newTransferAmount > allowedTransferAmount) {
                    return false;
                }
                monthlyTransferAmount[from] += amount;
            }
        }
        return true;
    }

    function _update(address from, address to, uint256 amount) internal virtual override {
        require(_canTransfer(from, amount), "Transfer amount exceeds allowed limit");
        super._update(from, to, amount); // Call the parent contract's _update function
    }

    // Function to update the minimum balance
    function updateMinimumBalance(uint256 newMinimumBalance) internal {
        minimumBalance = newMinimumBalance;
    }
}

File 3 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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 4 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.
 *
 * 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.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

    mapping(address account => mapping(address spender => 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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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 `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` 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 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        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 `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` 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.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

File 5 of 9 : simWhitelist.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

abstract contract Whitelist {
    mapping(address => bool) private whitelist;

    event AddressWhitelisted(address indexed addr);
    event AddressRemovedFromWhitelist(address indexed addr);

    // Internal function to add multiple addresses to the whitelist
    function _addAddressesToWhitelist(address[] memory addrs) internal {
        for (uint256 i = 0; i < addrs.length; i++) {
            whitelist[addrs[i]] = true;
            emit AddressWhitelisted(addrs[i]);
        }
    }

    // Internal function to remove multiple addresses from the whitelist
    function _removeAddressesFromWhitelist(address[] memory addrs) internal {
        for (uint256 i = 0; i < addrs.length; i++) {
            whitelist[addrs[i]] = false;
            emit AddressRemovedFromWhitelist(addrs[i]);
        }
    }

    // Public function to check if an address is whitelisted
    function isWhitelisted(address addr) public view returns (bool) {
        return whitelist[addr];
    }

    // Abstract functions to be implemented by the inheriting contract
    function addAddressesToWhitelist(address[] memory addrs) external  virtual;
    //function removeAddressesFromWhitelist(address[] memory addrs) external  virtual;
}

File 6 of 9 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 7 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 8 of 9 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
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 9 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"}],"name":"AddressRemovedFromWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"}],"name":"AddressWhitelisted","type":"event"},{"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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"addAddressesToWhitelist","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":"value","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":"addr","type":"address"}],"name":"isWhitelisted","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":"newMinimumBalance","type":"uint256"}],"name":"setMinimumBalance","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":"value","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":"value","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"}]

6080604052697f0e10af47c1c70000006008553480156200001e575f80fd5b506040516200283538038062002835833981810160405281019062000044919062000893565b806040518060400160405280600781526020017f53696d70736f6e000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f53494d50000000000000000000000000000000000000000000000000000000008152508160039081620000c2919062000b27565b508060049081620000d4919062000b27565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200014a575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040162000141919062000c1c565b60405180910390fd5b6200015b81620001a360201b60201c565b506200019c81620001716200026660201b60201c565b600a6200017f919062000dc0565b63df84758062000190919062000e10565b6200026e60201b60201c565b5062001003565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f6012905090565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620002e1575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401620002d8919062000c1c565b60405180910390fd5b620002f45f8383620002f860201b60201c565b5050565b6200030b8383836200031060201b60201c565b505050565b6200032283826200037c60201b60201c565b62000364576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200035b9062000ede565b60405180910390fd5b620003778383836200057360201b60201c565b505050565b5f6200038e836200079760201b60201c565b62000568575f620003a584620007e960201b60201c565b90506008548110620005665762278d0060065f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054620003ff919062000efe565b42106200048b575f60075f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055504260065f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b5f60646003836200049d919062000e10565b620004a9919062000f65565b90505f8460075f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054620004f7919062000efe565b9050818111156200050e575f93505050506200056d565b8460075f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546200055c919062000efe565b9250508190555050505b505b600190505b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620005c7578060025f828254620005ba919062000efe565b9250508190555062000698565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101562000653578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016200064a9392919062000fad565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620006e1578060025f82825403925050819055506200072b565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200078a919062000fe8565b60405180910390a3505050565b5f60055f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6200085d8262000832565b9050919050565b6200086f8162000851565b81146200087a575f80fd5b50565b5f815190506200088d8162000864565b92915050565b5f60208284031215620008ab57620008aa6200082e565b5b5f620008ba848285016200087d565b91505092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200093f57607f821691505b602082108103620009555762000954620008fa565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620009b97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200097c565b620009c586836200097c565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f62000a0f62000a0962000a0384620009dd565b620009e6565b620009dd565b9050919050565b5f819050919050565b62000a2a83620009ef565b62000a4262000a398262000a16565b84845462000988565b825550505050565b5f90565b62000a5862000a4a565b62000a6581848462000a1f565b505050565b5b8181101562000a8c5762000a805f8262000a4e565b60018101905062000a6b565b5050565b601f82111562000adb5762000aa5816200095b565b62000ab0846200096d565b8101602085101562000ac0578190505b62000ad862000acf856200096d565b83018262000a6a565b50505b505050565b5f82821c905092915050565b5f62000afd5f198460080262000ae0565b1980831691505092915050565b5f62000b17838362000aec565b9150826002028217905092915050565b62000b3282620008c3565b67ffffffffffffffff81111562000b4e5762000b4d620008cd565b5b62000b5a825462000927565b62000b6782828562000a90565b5f60209050601f83116001811462000b9d575f841562000b88578287015190505b62000b94858262000b0a565b86555062000c03565b601f19841662000bad866200095b565b5f5b8281101562000bd65784890151825560018201915060208501945060208101905062000baf565b8683101562000bf6578489015162000bf2601f89168262000aec565b8355505b6001600288020188555050505b505050505050565b62000c168162000851565b82525050565b5f60208201905062000c315f83018462000c0b565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b600185111562000cc15780860481111562000c995762000c9862000c37565b5b600185161562000ca95780820291505b808102905062000cb98562000c64565b945062000c79565b94509492505050565b5f8262000cdb576001905062000dad565b8162000cea575f905062000dad565b816001811462000d03576002811462000d0e5762000d44565b600191505062000dad565b60ff84111562000d235762000d2262000c37565b5b8360020a91508482111562000d3d5762000d3c62000c37565b5b5062000dad565b5060208310610133831016604e8410600b841016171562000d7e5782820a90508381111562000d785762000d7762000c37565b5b62000dad565b62000d8d848484600162000c70565b9250905081840481111562000da75762000da662000c37565b5b81810290505b9392505050565b5f60ff82169050919050565b5f62000dcc82620009dd565b915062000dd98362000db4565b925062000e087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000cca565b905092915050565b5f62000e1c82620009dd565b915062000e2983620009dd565b925082820262000e3981620009dd565b9150828204841483151762000e535762000e5262000c37565b5b5092915050565b5f82825260208201905092915050565b7f5472616e7366657220616d6f756e74206578636565647320616c6c6f776564205f8201527f6c696d6974000000000000000000000000000000000000000000000000000000602082015250565b5f62000ec660258362000e5a565b915062000ed38262000e6a565b604082019050919050565b5f6020820190508181035f83015262000ef78162000eb8565b9050919050565b5f62000f0a82620009dd565b915062000f1783620009dd565b925082820190508082111562000f325762000f3162000c37565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f62000f7182620009dd565b915062000f7e83620009dd565b92508262000f915762000f9062000f38565b5b828204905092915050565b62000fa781620009dd565b82525050565b5f60608201905062000fc25f83018662000c0b565b62000fd1602083018562000f9c565b62000fe0604083018462000f9c565b949350505050565b5f60208201905062000ffd5f83018462000f9c565b92915050565b61182480620010115f395ff3fe608060405234801561000f575f80fd5b50600436106100f3575f3560e01c806370a0823111610095578063a9059cbb11610064578063a9059cbb14610273578063dd62ed3e146102a3578063e2ec6ec3146102d3578063f2fde38b146102ef576100f3565b806370a08231146101fd578063715018a61461022d5780638da5cb5b1461023757806395d89b4114610255576100f3565b806323b872dd116100d157806323b872dd14610163578063313ce567146101935780633446e4b4146101b15780633af32abf146101cd576100f3565b806306fdde03146100f7578063095ea7b31461011557806318160ddd14610145575b5f80fd5b6100ff61030b565b60405161010c919061113e565b60405180910390f35b61012f600480360381019061012a91906111fc565b61039b565b60405161013c9190611254565b60405180910390f35b61014d6103bd565b60405161015a919061127c565b60405180910390f35b61017d60048036038101906101789190611295565b6103c6565b60405161018a9190611254565b60405180910390f35b61019b6103f4565b6040516101a89190611300565b60405180910390f35b6101cb60048036038101906101c69190611319565b6103fc565b005b6101e760048036038101906101e29190611344565b610410565b6040516101f49190611254565b60405180910390f35b61021760048036038101906102129190611344565b610462565b604051610224919061127c565b60405180910390f35b6102356104a7565b005b61023f6104ba565b60405161024c919061137e565b60405180910390f35b61025d6104e2565b60405161026a919061113e565b60405180910390f35b61028d600480360381019061028891906111fc565b610572565b60405161029a9190611254565b60405180910390f35b6102bd60048036038101906102b89190611397565b610594565b6040516102ca919061127c565b60405180910390f35b6102ed60048036038101906102e89190611515565b610616565b005b61030960048036038101906103049190611344565b61062a565b005b60606003805461031a90611589565b80601f016020809104026020016040519081016040528092919081815260200182805461034690611589565b80156103915780601f1061036857610100808354040283529160200191610391565b820191905f5260205f20905b81548152906001019060200180831161037457829003601f168201915b5050505050905090565b5f806103a56106ae565b90506103b28185856106b5565b600191505092915050565b5f600254905090565b5f806103d06106ae565b90506103dd8582856106c7565b6103e8858585610759565b60019150509392505050565b5f6012905090565b610404610849565b61040d816108d0565b50565b5f60055f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6104af610849565b6104b85f6108da565b565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546104f190611589565b80601f016020809104026020016040519081016040528092919081815260200182805461051d90611589565b80156105685780601f1061053f57610100808354040283529160200191610568565b820191905f5260205f20905b81548152906001019060200180831161054b57829003601f168201915b5050505050905090565b5f8061057c6106ae565b9050610589818585610759565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b61061e610849565b6106278161099d565b50565b610632610849565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036106a2575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610699919061137e565b60405180910390fd5b6106ab816108da565b50565b5f33905090565b6106c28383836001610a8b565b505050565b5f6106d28484610594565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107535781811015610744578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161073b939291906115b9565b60405180910390fd5b61075284848484035f610a8b565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036107c9575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016107c0919061137e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610839575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610830919061137e565b60405180910390fd5b610844838383610c5a565b505050565b6108516106ae565b73ffffffffffffffffffffffffffffffffffffffff1661086f6104ba565b73ffffffffffffffffffffffffffffffffffffffff16146108ce576108926106ae565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016108c5919061137e565b60405180910390fd5b565b8060088190555050565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f5b8151811015610a8757600160055f8484815181106109c0576109bf6115ee565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550818181518110610a2a57610a296115ee565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff167f4f783c179409b4127238bc9c990bc99b9a651666a0d20b51d6c42849eb88466d60405160405180910390a28080610a7f90611648565b91505061099f565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610afb575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610af2919061137e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b6b575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610b62919061137e565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610c54578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610c4b919061127c565b60405180910390a35b50505050565b610c65838383610c6a565b505050565b610c748382610cc3565b610cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caa906116ff565b60405180910390fd5b610cbe838383610e9b565b505050565b5f610ccd83610410565b610e90575f610cdb84610462565b90506008548110610e8e5762278d0060065f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610d32919061171d565b4210610dbd575f60075f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055504260065f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b5f6064600383610dcd9190611750565b610dd791906117be565b90505f8460075f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610e23919061171d565b905081811115610e38575f9350505050610e95565b8460075f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610e84919061171d565b9250508190555050505b505b600190505b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610eeb578060025f828254610edf919061171d565b92505081905550610fb9565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610f74578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610f6b939291906115b9565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611000578060025f828254039250508190555061104a565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516110a7919061127c565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156110eb5780820151818401526020810190506110d0565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611110826110b4565b61111a81856110be565b935061112a8185602086016110ce565b611133816110f6565b840191505092915050565b5f6020820190508181035f8301526111568184611106565b905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6111988261116f565b9050919050565b6111a88161118e565b81146111b2575f80fd5b50565b5f813590506111c38161119f565b92915050565b5f819050919050565b6111db816111c9565b81146111e5575f80fd5b50565b5f813590506111f6816111d2565b92915050565b5f806040838503121561121257611211611167565b5b5f61121f858286016111b5565b9250506020611230858286016111e8565b9150509250929050565b5f8115159050919050565b61124e8161123a565b82525050565b5f6020820190506112675f830184611245565b92915050565b611276816111c9565b82525050565b5f60208201905061128f5f83018461126d565b92915050565b5f805f606084860312156112ac576112ab611167565b5b5f6112b9868287016111b5565b93505060206112ca868287016111b5565b92505060406112db868287016111e8565b9150509250925092565b5f60ff82169050919050565b6112fa816112e5565b82525050565b5f6020820190506113135f8301846112f1565b92915050565b5f6020828403121561132e5761132d611167565b5b5f61133b848285016111e8565b91505092915050565b5f6020828403121561135957611358611167565b5b5f611366848285016111b5565b91505092915050565b6113788161118e565b82525050565b5f6020820190506113915f83018461136f565b92915050565b5f80604083850312156113ad576113ac611167565b5b5f6113ba858286016111b5565b92505060206113cb858286016111b5565b9150509250929050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61140f826110f6565b810181811067ffffffffffffffff8211171561142e5761142d6113d9565b5b80604052505050565b5f61144061115e565b905061144c8282611406565b919050565b5f67ffffffffffffffff82111561146b5761146a6113d9565b5b602082029050602081019050919050565b5f80fd5b5f61149261148d84611451565b611437565b905080838252602082019050602084028301858111156114b5576114b461147c565b5b835b818110156114de57806114ca88826111b5565b8452602084019350506020810190506114b7565b5050509392505050565b5f82601f8301126114fc576114fb6113d5565b5b813561150c848260208601611480565b91505092915050565b5f6020828403121561152a57611529611167565b5b5f82013567ffffffffffffffff8111156115475761154661116b565b5b611553848285016114e8565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806115a057607f821691505b6020821081036115b3576115b261155c565b5b50919050565b5f6060820190506115cc5f83018661136f565b6115d9602083018561126d565b6115e6604083018461126d565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611652826111c9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036116845761168361161b565b5b600182019050919050565b7f5472616e7366657220616d6f756e74206578636565647320616c6c6f776564205f8201527f6c696d6974000000000000000000000000000000000000000000000000000000602082015250565b5f6116e96025836110be565b91506116f48261168f565b604082019050919050565b5f6020820190508181035f830152611716816116dd565b9050919050565b5f611727826111c9565b9150611732836111c9565b925082820190508082111561174a5761174961161b565b5b92915050565b5f61175a826111c9565b9150611765836111c9565b9250828202611773816111c9565b9150828204841483151761178a5761178961161b565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6117c8826111c9565b91506117d3836111c9565b9250826117e3576117e2611791565b5b82820490509291505056fea264697066735822122070ebbf7da2e5771f83baec5d29ddf9a70039d5b091dcd6a1165606543a9bf0e364736f6c63430008140033000000000000000000000000845f4d1e89b1674667e76e539e6c47ff072681a5

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106100f3575f3560e01c806370a0823111610095578063a9059cbb11610064578063a9059cbb14610273578063dd62ed3e146102a3578063e2ec6ec3146102d3578063f2fde38b146102ef576100f3565b806370a08231146101fd578063715018a61461022d5780638da5cb5b1461023757806395d89b4114610255576100f3565b806323b872dd116100d157806323b872dd14610163578063313ce567146101935780633446e4b4146101b15780633af32abf146101cd576100f3565b806306fdde03146100f7578063095ea7b31461011557806318160ddd14610145575b5f80fd5b6100ff61030b565b60405161010c919061113e565b60405180910390f35b61012f600480360381019061012a91906111fc565b61039b565b60405161013c9190611254565b60405180910390f35b61014d6103bd565b60405161015a919061127c565b60405180910390f35b61017d60048036038101906101789190611295565b6103c6565b60405161018a9190611254565b60405180910390f35b61019b6103f4565b6040516101a89190611300565b60405180910390f35b6101cb60048036038101906101c69190611319565b6103fc565b005b6101e760048036038101906101e29190611344565b610410565b6040516101f49190611254565b60405180910390f35b61021760048036038101906102129190611344565b610462565b604051610224919061127c565b60405180910390f35b6102356104a7565b005b61023f6104ba565b60405161024c919061137e565b60405180910390f35b61025d6104e2565b60405161026a919061113e565b60405180910390f35b61028d600480360381019061028891906111fc565b610572565b60405161029a9190611254565b60405180910390f35b6102bd60048036038101906102b89190611397565b610594565b6040516102ca919061127c565b60405180910390f35b6102ed60048036038101906102e89190611515565b610616565b005b61030960048036038101906103049190611344565b61062a565b005b60606003805461031a90611589565b80601f016020809104026020016040519081016040528092919081815260200182805461034690611589565b80156103915780601f1061036857610100808354040283529160200191610391565b820191905f5260205f20905b81548152906001019060200180831161037457829003601f168201915b5050505050905090565b5f806103a56106ae565b90506103b28185856106b5565b600191505092915050565b5f600254905090565b5f806103d06106ae565b90506103dd8582856106c7565b6103e8858585610759565b60019150509392505050565b5f6012905090565b610404610849565b61040d816108d0565b50565b5f60055f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6104af610849565b6104b85f6108da565b565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546104f190611589565b80601f016020809104026020016040519081016040528092919081815260200182805461051d90611589565b80156105685780601f1061053f57610100808354040283529160200191610568565b820191905f5260205f20905b81548152906001019060200180831161054b57829003601f168201915b5050505050905090565b5f8061057c6106ae565b9050610589818585610759565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b61061e610849565b6106278161099d565b50565b610632610849565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036106a2575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610699919061137e565b60405180910390fd5b6106ab816108da565b50565b5f33905090565b6106c28383836001610a8b565b505050565b5f6106d28484610594565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146107535781811015610744578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161073b939291906115b9565b60405180910390fd5b61075284848484035f610a8b565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036107c9575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016107c0919061137e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610839575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610830919061137e565b60405180910390fd5b610844838383610c5a565b505050565b6108516106ae565b73ffffffffffffffffffffffffffffffffffffffff1661086f6104ba565b73ffffffffffffffffffffffffffffffffffffffff16146108ce576108926106ae565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016108c5919061137e565b60405180910390fd5b565b8060088190555050565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f5b8151811015610a8757600160055f8484815181106109c0576109bf6115ee565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550818181518110610a2a57610a296115ee565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff167f4f783c179409b4127238bc9c990bc99b9a651666a0d20b51d6c42849eb88466d60405160405180910390a28080610a7f90611648565b91505061099f565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610afb575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610af2919061137e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b6b575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610b62919061137e565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610c54578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610c4b919061127c565b60405180910390a35b50505050565b610c65838383610c6a565b505050565b610c748382610cc3565b610cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caa906116ff565b60405180910390fd5b610cbe838383610e9b565b505050565b5f610ccd83610410565b610e90575f610cdb84610462565b90506008548110610e8e5762278d0060065f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610d32919061171d565b4210610dbd575f60075f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055504260065f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b5f6064600383610dcd9190611750565b610dd791906117be565b90505f8460075f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610e23919061171d565b905081811115610e38575f9350505050610e95565b8460075f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610e84919061171d565b9250508190555050505b505b600190505b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610eeb578060025f828254610edf919061171d565b92505081905550610fb9565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610f74578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610f6b939291906115b9565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611000578060025f828254039250508190555061104a565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516110a7919061127c565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156110eb5780820151818401526020810190506110d0565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611110826110b4565b61111a81856110be565b935061112a8185602086016110ce565b611133816110f6565b840191505092915050565b5f6020820190508181035f8301526111568184611106565b905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6111988261116f565b9050919050565b6111a88161118e565b81146111b2575f80fd5b50565b5f813590506111c38161119f565b92915050565b5f819050919050565b6111db816111c9565b81146111e5575f80fd5b50565b5f813590506111f6816111d2565b92915050565b5f806040838503121561121257611211611167565b5b5f61121f858286016111b5565b9250506020611230858286016111e8565b9150509250929050565b5f8115159050919050565b61124e8161123a565b82525050565b5f6020820190506112675f830184611245565b92915050565b611276816111c9565b82525050565b5f60208201905061128f5f83018461126d565b92915050565b5f805f606084860312156112ac576112ab611167565b5b5f6112b9868287016111b5565b93505060206112ca868287016111b5565b92505060406112db868287016111e8565b9150509250925092565b5f60ff82169050919050565b6112fa816112e5565b82525050565b5f6020820190506113135f8301846112f1565b92915050565b5f6020828403121561132e5761132d611167565b5b5f61133b848285016111e8565b91505092915050565b5f6020828403121561135957611358611167565b5b5f611366848285016111b5565b91505092915050565b6113788161118e565b82525050565b5f6020820190506113915f83018461136f565b92915050565b5f80604083850312156113ad576113ac611167565b5b5f6113ba858286016111b5565b92505060206113cb858286016111b5565b9150509250929050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61140f826110f6565b810181811067ffffffffffffffff8211171561142e5761142d6113d9565b5b80604052505050565b5f61144061115e565b905061144c8282611406565b919050565b5f67ffffffffffffffff82111561146b5761146a6113d9565b5b602082029050602081019050919050565b5f80fd5b5f61149261148d84611451565b611437565b905080838252602082019050602084028301858111156114b5576114b461147c565b5b835b818110156114de57806114ca88826111b5565b8452602084019350506020810190506114b7565b5050509392505050565b5f82601f8301126114fc576114fb6113d5565b5b813561150c848260208601611480565b91505092915050565b5f6020828403121561152a57611529611167565b5b5f82013567ffffffffffffffff8111156115475761154661116b565b5b611553848285016114e8565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806115a057607f821691505b6020821081036115b3576115b261155c565b5b50919050565b5f6060820190506115cc5f83018661136f565b6115d9602083018561126d565b6115e6604083018461126d565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611652826111c9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036116845761168361161b565b5b600182019050919050565b7f5472616e7366657220616d6f756e74206578636565647320616c6c6f776564205f8201527f6c696d6974000000000000000000000000000000000000000000000000000000602082015250565b5f6116e96025836110be565b91506116f48261168f565b604082019050919050565b5f6020820190508181035f830152611716816116dd565b9050919050565b5f611727826111c9565b9150611732836111c9565b925082820190508082111561174a5761174961161b565b5b92915050565b5f61175a826111c9565b9150611765836111c9565b9250828202611773816111c9565b9150828204841483151761178a5761178961161b565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6117c8826111c9565b91506117d3836111c9565b9250826117e3576117e2611791565b5b82820490509291505056fea264697066735822122070ebbf7da2e5771f83baec5d29ddf9a70039d5b091dcd6a1165606543a9bf0e364736f6c63430008140033

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

000000000000000000000000845f4d1e89b1674667e76e539e6c47ff072681a5

-----Decoded View---------------
Arg [0] : initialOwner (address): 0x845F4d1E89B1674667E76E539E6C47ff072681A5

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000845f4d1e89b1674667e76e539e6c47ff072681a5


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.