ETH Price: $3,441.16 (+1.46%)
Gas: 5 Gwei

Token

Worldcoin (WLD)
 

Overview

Max Total Supply

10,000,000,000 WLD

Holders

23,963 ( 0.079%)

Market

Price

$2.82 @ 0.000819 ETH (+0.81%)

Onchain Market Cap

$28,200,000,000.00

Circulating Supply Market Cap

$724,437,745.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.32932130520318418 WLD

Value
$0.93 ( ~0.000270258089956148 Eth) [0.0000%]
0x9d028D94F984A81Df53764a2E7387db85e2f00C2
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Worldcoin system revolves around World ID, a privacy-preserving global identity network. World ID enables users to verify their humanness online ("Proof of Personhood") while maintaining their privacy through zero-knowledge proofs.

Market

Volume (24H):$159,061,795.00
Market Capitalization:$724,437,745.00
Circulating Supply:256,135,386.00 WLD
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

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

Contract Name:
WLD

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

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

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

/// @title WLD token
/// @notice Contract for Worldcoin's ERC20 WLD token.
/// 
/// It updates from the previous token contract, which is now deprecated. At
/// deployment all existing balances are reinstated.
/// 
/// After deployment, the owner can do a one-time mint of new tokens up to the
/// `INITIAL_SUPPLY_CAP` of 10 billion.
/// 
/// After `inflationUnlockTime` the owner can set the minter address, which can
/// mint new tokens up to the inflation cap. The inflation cap is fixed
/// percentage per period. From this it follows a maximum inflation rate per
/// year. Whether or not to allow inflation can be goverened by the owner through
/// the minter address.
///
/// @author Worldcoin
contract WLD is ERC20, Ownable2Step {
    /////////////////////////////////////////////////////////////////////////
    ///                           PARAMETERS                              ///
    /////////////////////////////////////////////////////////////////////////

    uint256 constant public INITIAL_SUPPLY_CAP = 10_000_000_000 * (10**18);
    uint256 constant public WAD_ONE = 10**18;

    /// @notice Has the initial mint been done?
    bool public initialMintDone;

    /// @notice The address of the inflation minter
    address public minter;

    /// @notice Inflation parameters, formula in _mint @dev description
    uint256 immutable public inflationUnlockTime;
    uint256 immutable public inflationCapPeriod;
    uint256 immutable public inflationCapWad;

    /// @notice Inflation cap state variables
    uint256 public currentPeriodEnd;
    uint256 public currentPeriodSupplyCap;

    /////////////////////////////////////////////////////////////////////////
    ///                             EVENTS                                ///
    /////////////////////////////////////////////////////////////////////////

    /// @notice Emitted when constructing the contract
    event TokenUpdated(
        address newToken,
        string name,
        string symbol,
        address[] existingHolders,
        uint256[] existingsAmounts,
        uint256 inflationCapPeriod,
        uint256 inflationCapWad,
        uint256 inflationLockPeriod
    );

    /// @notice Emitted when minting tokens. Can be emited only once.
    event TokensMinted(
        address minter,
        address[] newHolders,
        uint256[] newAmounts
    );

    /// @notice Emitted when inflation tokens are minted, after the initial mint.
    event InflationTokensMinted(
        address minter,
        address to,
        uint256 amount
    );

    /////////////////////////////////////////////////////////////////////////
    ///                           CONSTRUCTOR                             ///
    /////////////////////////////////////////////////////////////////////////

    /// @notice Deploy a new token contract that replaces an existing one.
    constructor(
        address[] memory existingHolders,
        uint256[] memory existingAmounts,
        string memory name_,
        string memory symbol_,
        uint256 inflationCapPeriod_,
        uint256 inflationCapWad_,
        uint256 inflationLockPeriod_
    ) ERC20(name_, symbol_) Ownable(msg.sender) {
        // Validate input.
        require(existingAmounts.length == existingHolders.length);
        require(inflationCapPeriod_ != 0);

        // Allow one initial mint
        initialMintDone = false;

        // Set the inflation cap parameters
        minter = address(0);
        inflationCapPeriod = inflationCapPeriod_;
        inflationCapWad = inflationCapWad_;
        inflationUnlockTime = inflationLockPeriod_ + block.timestamp;

        // Make sure a new inflation period starts on first call to mint.
        currentPeriodEnd = 0;
        currentPeriodSupplyCap = 0;

        // Reinstate balances
        for (uint256 i = 0; i < existingHolders.length; i++) {
            _update(address(0), existingHolders[i], existingAmounts[i]);
        }

        // Make sure the initial supply cap is maintained.
        require(totalSupply() <= INITIAL_SUPPLY_CAP);

        // Emit event.
        emit TokenUpdated(
            address(this),
            name_,
            symbol_,
            existingHolders,
            existingAmounts,
            inflationCapPeriod_,
            inflationCapWad_,
            inflationLockPeriod_
        );
    }

    /////////////////////////////////////////////////////////////////////////
    ///                           OWNER ACTIONS                           ///
    /////////////////////////////////////////////////////////////////////////

    /// @notice Mint new tokens.
    function mintOnce(
        address[] memory newHolders,
        uint256[] memory newAmounts
    ) external onlyOwner {
        // This must be the only time we allow this.
        require(initialMintDone == false);

        // Validate input.
        require(newHolders.length == newAmounts.length);

        // Mark initial mint as done.
        initialMintDone = true;

        // Mint tokens.
        for (uint256 i = 0; i < newHolders.length; i++) {
            _mint(newHolders[i], newAmounts[i]);
        }

        // Make sure the initial supply cap is maintained.
        require(totalSupply() <= INITIAL_SUPPLY_CAP);

        emit TokensMinted(
            msg.sender,
            newHolders,
            newAmounts
        );
    }

    /// @notice Updates minter
    /// @dev onlyOwner
    /// @param minter_ new Minter address
    function setMinter(address minter_) external onlyOwner {
        minter = minter_;
    }

    /// @notice Prevents the owner from renouncing ownership
    /// @dev onlyOwner
    function renounceOwnership() public view override onlyOwner {
        revert();
    }

    ///////////////////////////////////////////////////////////////////
    ///                        MINTER ACTIONS                       ///
    ///////////////////////////////////////////////////////////////////

    /// @notice Mints new tokens and assigns them to the target address.
    /// @dev This function performs inflation checks. Their semantics is as follows:
    ///     * It is impossible to mint any tokens during the first `inflationLockPeriod_` seconds.
    //        The end of the lock period is stored in `inflationUnlockTime`.
    ///     * T inflation cap is in effect.
    ///       The inflation cap is enforced as follows:
    ///       1. If the current time is after the end of the current inflation period,
    ///          it is possible to raise the supply up to (current total supply) * (1 + inflation cap)
    ///          between now and (now + inflation period length), without any additional constraints;
    ///       2. If the current time is before the end of the current inflation period,
    ///          that period's supply is still controlled.
    /// NB: The logic outlined here means that it is possible for period over period inflation
    ///     to reach up to (1 + inflation cap)^2 - 1, for some choices of period boundaries.
    ///     The actual guarantees of this system are:
    ///     1. For any timestamp t0 and a natural number k, inflation measured between t0 and
    ///        t0 + k * inflation period does not exceed (1 + inflation cap)^(k + 1) - 1. In other words,
    ///        there is at most "one too many" inflation periods over any period of time.
    ///     2. For any timestamp t there exists a period tc < inflation period,
    ///        such that inflation measured between (t + tc) and (t + tc + inflation period)
    ///        does not exceed the inflation cap. In other words, period over period inflation is
    ///        bounded by the inflation cap at least for some amount of time during each period.
    function mintInflation(address to, uint256 amount) external {
        // Validate input
        require(to != address(0));
        require(amount != 0);

        // Must be minter
        require(msg.sender == minter);

        // Requires that the current time is after the mint lock-in period
        require(block.timestamp >= inflationUnlockTime);

        // Stars a new inflation period if the previous one ended
        if (block.timestamp > currentPeriodEnd) {
            // Update inflation period end
            currentPeriodEnd = block.timestamp + inflationCapPeriod;

            // Compute maximum supply for this period
            uint256 initialSupply = totalSupply();
            uint256 mintable = (initialSupply * inflationCapWad) / WAD_ONE;
            currentPeriodSupplyCap = initialSupply + mintable;
        }

        // Mint inflation tokens
        _mint(to, amount);

        // Check amount against inflation cap for this period
        require(totalSupply() <= currentPeriodSupplyCap);

        // Emit event
        emit InflationTokensMinted(msg.sender, to, amount);
    }
}

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

pragma solidity ^0.8.19;

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(address initialOwner) {
        _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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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

pragma solidity ^0.8.19;

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 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.19;

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}.
 *
 * 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.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 amount) internal {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        _update(from, to, amount);
    }

    /**
     * @dev Transfers `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 amount) internal virtual {
        if (from == address(0)) {
            _totalSupply += amount;
        } else {
            uint256 fromBalance = _balances[from];
            require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
            unchecked {
                // Overflow not possible: amount <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - amount;
            }
        }

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

        emit Transfer(from, to, amount);
    }

    /**
     * @dev Creates `amount` 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 amount) internal {
        require(account != address(0), "ERC20: mint to the zero address");
        _update(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, by transferring it to address(0).
     * 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 amount) internal {
        require(account != address(0), "ERC20: burn from the zero address");
        _update(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);
            }
        }
    }
}

File 5 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.19;

/**
 * @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 6 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.19;

/**
 * @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 7 of 7 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.19;

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

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "openzeppelin-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
    "openzeppelin/=lib/openzeppelin-contracts/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"existingHolders","type":"address[]"},{"internalType":"uint256[]","name":"existingAmounts","type":"uint256[]"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"inflationCapPeriod_","type":"uint256"},{"internalType":"uint256","name":"inflationCapWad_","type":"uint256"},{"internalType":"uint256","name":"inflationLockPeriod_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"InflationTokensMinted","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":"newToken","type":"address"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"string","name":"symbol","type":"string"},{"indexed":false,"internalType":"address[]","name":"existingHolders","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"existingsAmounts","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"inflationCapPeriod","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"inflationCapWad","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"inflationLockPeriod","type":"uint256"}],"name":"TokenUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"address[]","name":"newHolders","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"newAmounts","type":"uint256[]"}],"name":"TokensMinted","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":"INITIAL_SUPPLY_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WAD_ONE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":[],"name":"currentPeriodEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPeriodSupplyCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"inflationCapPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inflationCapWad","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inflationUnlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialMintDone","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintInflation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"newHolders","type":"address[]"},{"internalType":"uint256[]","name":"newAmounts","type":"uint256[]"}],"name":"mintOnce","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter_","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e06040523480156200001157600080fd5b5060405162001be438038062001be483398101604081905262000034916200056c565b3385856003620000458382620006d1565b506004620000548282620006d1565b5050506200006881620001ac60201b60201c565b5086518651146200007857600080fd5b826000036200008657600080fd5b6006805460ff60a01b19169055600780546001600160a01b031916905560a083905260c0829052620000b94282620007b3565b6080526000600881905560098190555b875181101562000134576200011f6000898381518110620000ee57620000ee620007cf565b60200260200101518984815181106200010b576200010b620007cf565b6020026020010151620001ca60201b60201c565b806200012b81620007e5565b915050620000c9565b506b204fce5e3e250261100000006200014c60025490565b11156200015857600080fd5b7faee8e7775c0f19be8de058a7cc5030a18741bdaf05c535e36780ed390af0b3ba3086868a8a888888604051620001979897969594939291906200086c565b60405180910390a1505050505050506200091d565b600680546001600160a01b0319169055620001c78162000325565b50565b6001600160a01b038316620001f9578060026000828254620001ed9190620007b3565b90915550620002959050565b6001600160a01b03831660009081526020819052604090205481811015620002765760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840160405180910390fd5b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620002b357600280548290039055620002d2565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200031891815260200190565b60405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620003b857620003b862000377565b604052919050565b60006001600160401b03821115620003dc57620003dc62000377565b5060051b60200190565b600082601f830112620003f857600080fd5b81516020620004116200040b83620003c0565b6200038d565b82815260059290921b840181019181810190868411156200043157600080fd5b8286015b84811015620004655780516001600160a01b0381168114620004575760008081fd5b835291830191830162000435565b509695505050505050565b600082601f8301126200048257600080fd5b81516020620004956200040b83620003c0565b82815260059290921b84018101918181019086841115620004b557600080fd5b8286015b84811015620004655780518352918301918301620004b9565b60005b83811015620004ef578181015183820152602001620004d5565b50506000910152565b600082601f8301126200050a57600080fd5b81516001600160401b0381111562000526576200052662000377565b6200053b601f8201601f19166020016200038d565b8181528460208386010111156200055157600080fd5b62000564826020830160208701620004d2565b949350505050565b600080600080600080600060e0888a0312156200058857600080fd5b87516001600160401b0380821115620005a057600080fd5b620005ae8b838c01620003e6565b985060208a0151915080821115620005c557600080fd5b620005d38b838c0162000470565b975060408a0151915080821115620005ea57600080fd5b620005f88b838c01620004f8565b965060608a01519150808211156200060f57600080fd5b506200061e8a828b01620004f8565b9450506080880151925060a0880151915060c0880151905092959891949750929550565b600181811c908216806200065757607f821691505b6020821081036200067857634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006cc57600081815260208120601f850160051c81016020861015620006a75750805b601f850160051c820191505b81811015620006c857828155600101620006b3565b5050505b505050565b81516001600160401b03811115620006ed57620006ed62000377565b6200070581620006fe845462000642565b846200067e565b602080601f8311600181146200073d5760008415620007245750858301515b600019600386901b1c1916600185901b178555620006c8565b600085815260208120601f198616915b828110156200076e578886015182559484019460019091019084016200074d565b50858210156200078d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820180821115620007c957620007c96200079d565b92915050565b634e487b7160e01b600052603260045260246000fd5b600060018201620007fa57620007fa6200079d565b5060010190565b600081518084526200081b816020860160208601620004d2565b601f01601f19169290920160200192915050565b600081518084526020808501945080840160005b83811015620008615781518752958201959082019060010162000843565b509495945050505050565b6001600160a01b038981168252610100602080840182905260009290620008968584018d62000801565b92508483036040860152620008ac838c62000801565b85810360608701528a51808252828c0194509082019060005b81811015620008e5578551851683529483019491830191600101620008c5565b50508581036080870152620008fb818b6200082f565b60a08701999099525050505060c082019390935260e001525095945050505050565b60805160a05160c05161128262000962600039600081816101cd01526107e60152600081816102d001526107a1015260008181610300015261076701526112826000f3fe608060405234801561001057600080fd5b50600436106101c35760003560e01c8063715018a6116100f9578063a9059cbb11610097578063dd62ed3e11610071578063dd62ed3e146103d8578063e30c3978146103eb578063f2fde38b146103fc578063fca3b5aa1461040f57600080fd5b8063a9059cbb146103a3578063be5ddb99146103b6578063cee8d013146103c957600080fd5b80638da5cb5b116100d35780638da5cb5b1461036e57806395d89b411461037f57806395dba44c14610387578063a457c2d71461039057600080fd5b8063715018a61461034b57806379ba509714610353578063883c3a631461035b57600080fd5b8063313ce5671161016657806341e65e0b1161014057806341e65e0b146102cb57806358794456146102f25780635915b17e146102fb57806370a082311461032257600080fd5b8063313ce5671461029557806336c545ca146102a457806339509351146102b857600080fd5b8063085624ed116101a2578063085624ed14610242578063095ea7b31461025757806318160ddd1461027a57806323b872dd1461028257600080fd5b806216d010146101c857806306fdde03146102025780630754617214610217575b600080fd5b6101ef7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b61020a610422565b6040516101f99190610e32565b60075461022a906001600160a01b031681565b6040516001600160a01b0390911681526020016101f9565b610255610250366004610f72565b6104b4565b005b61026a610265366004611032565b6105af565b60405190151581526020016101f9565b6002546101ef565b61026a61029036600461105c565b6105c9565b604051601281526020016101f9565b60065461026a90600160a01b900460ff1681565b61026a6102c6366004611032565b6105ed565b6101ef7f000000000000000000000000000000000000000000000000000000000000000081565b6101ef60085481565b6101ef7f000000000000000000000000000000000000000000000000000000000000000081565b6101ef610330366004611098565b6001600160a01b031660009081526020819052604090205490565b61025561060f565b610255610617565b6101ef6b204fce5e3e2502611000000081565b6005546001600160a01b031661022a565b61020a610696565b6101ef60095481565b61026a61039e366004611032565b6106a5565b61026a6103b1366004611032565b610720565b6102556103c4366004611032565b61072e565b6101ef670de0b6b3a764000081565b6101ef6103e63660046110ba565b610888565b6006546001600160a01b031661022a565b61025561040a366004611098565b6108b3565b61025561041d366004611098565b610924565b606060038054610431906110ed565b80601f016020809104026020016040519081016040528092919081815260200182805461045d906110ed565b80156104aa5780601f1061047f576101008083540402835291602001916104aa565b820191906000526020600020905b81548152906001019060200180831161048d57829003601f168201915b5050505050905090565b6104bc61094e565b600654600160a01b900460ff16156104d357600080fd5b80518251146104e157600080fd5b6006805460ff60a01b1916600160a01b17905560005b825181101561054e5761053c83828151811061051557610515611127565b602002602001015183838151811061052f5761052f611127565b60200260200101516109aa565b8061054681611153565b9150506104f7565b506b204fce5e3e2502611000000061056560025490565b111561057057600080fd5b7f0436dcb8b7b3be78d785be7ea8f04f241ce5d275057aea7f7fd4b6e4dfda3aa43383836040516105a39392919061116c565b60405180910390a15050565b6000336105bd818585610a10565b60019150505b92915050565b6000336105d7858285610b35565b6105e2858585610baf565b506001949350505050565b6000336105bd8185856106008383610888565b61060a9190611200565b610a10565b6101c361094e565b60065433906001600160a01b0316811461068a5760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b60648201526084015b60405180910390fd5b61069381610c85565b50565b606060048054610431906110ed565b600033816106b38286610888565b9050838110156107135760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610681565b6105e28286868403610a10565b6000336105bd818585610baf565b6001600160a01b03821661074157600080fd5b8060000361074e57600080fd5b6007546001600160a01b0316331461076557600080fd5b7f000000000000000000000000000000000000000000000000000000000000000042101561079257600080fd5b600854421115610827576107c67f000000000000000000000000000000000000000000000000000000000000000042611200565b60085560006107d460025490565b90506000670de0b6b3a764000061080b7f000000000000000000000000000000000000000000000000000000000000000084611213565b610815919061122a565b90506108218183611200565b60095550505b61083182826109aa565b600954600254111561084257600080fd5b604080513381526001600160a01b03841660208201529081018290527f0188e46dffface414ae6c071b6f739093e36d85d0f016e3d159dffe68c1b08cf906060016105a3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6108bb61094e565b600680546001600160a01b0383166001600160a01b031990911681179091556108ec6005546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b61092c61094e565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146109a85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610681565b565b6001600160a01b038216610a005760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610681565b610a0c60008383610c9e565b5050565b6001600160a01b038316610a725760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610681565b6001600160a01b038216610ad35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610681565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610b418484610888565b90506000198114610ba95781811015610b9c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610681565b610ba98484848403610a10565b50505050565b6001600160a01b038316610c135760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610681565b6001600160a01b038216610c755760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610681565b610c80838383610c9e565b505050565b600680546001600160a01b031916905561069381610de0565b6001600160a01b038316610cc9578060026000828254610cbe9190611200565b90915550610d609050565b6001600160a01b03831660009081526020819052604090205481811015610d415760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610681565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610d7c57600280548290039055610d9b565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b2891815260200190565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208083528351808285015260005b81811015610e5f57858101830151858201604001528201610e43565b506000604082860101526040601f19601f8301168501019250505092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610ebf57610ebf610e80565b604052919050565b600067ffffffffffffffff821115610ee157610ee1610e80565b5060051b60200190565b80356001600160a01b0381168114610f0257600080fd5b919050565b600082601f830112610f1857600080fd5b81356020610f2d610f2883610ec7565b610e96565b82815260059290921b84018101918181019086841115610f4c57600080fd5b8286015b84811015610f675780358352918301918301610f50565b509695505050505050565b60008060408385031215610f8557600080fd5b823567ffffffffffffffff80821115610f9d57600080fd5b818501915085601f830112610fb157600080fd5b81356020610fc1610f2883610ec7565b82815260059290921b84018101918181019089841115610fe057600080fd5b948201945b8386101561100557610ff686610eeb565b82529482019490820190610fe5565b9650508601359250508082111561101b57600080fd5b5061102885828601610f07565b9150509250929050565b6000806040838503121561104557600080fd5b61104e83610eeb565b946020939093013593505050565b60008060006060848603121561107157600080fd5b61107a84610eeb565b925061108860208501610eeb565b9150604084013590509250925092565b6000602082840312156110aa57600080fd5b6110b382610eeb565b9392505050565b600080604083850312156110cd57600080fd5b6110d683610eeb565b91506110e460208401610eeb565b90509250929050565b600181811c9082168061110157607f821691505b60208210810361112157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016111655761116561113d565b5060010190565b6001600160a01b038481168252606060208084018290528551918401829052600092868201929091906080860190855b818110156111ba57855185168352948301949183019160010161119c565b5050858103604087015286518082529082019350915080860160005b838110156111f2578151855293820193908201906001016111d6565b509298975050505050505050565b808201808211156105c3576105c361113d565b80820281158282048414176105c3576105c361113d565b60008261124757634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212208f25c13949d038c74acf5c2d39f639b1fa265ad4e1765ff96ee0c4f504ba27a864736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000920000000000000000000000000000000000000000000000000000000000000116000000000000000000000000000000000000000000000000000000000000011a000000000000000000000000000000000000000000000000000000000002819a0000000000000000000000000000000000000000000000000000469206254fc24000000000000000000000000000000000000000000000000000000001c3fbc3200000000000000000000000000000000000000000000000000000000000000410000000000000000000000008155ef75b9ccaff88a6d247b2beaf30903397f4b0000000000000000000000008c93ee3c6ec37de3292df35b4bfdaed6a693fa16000000000000000000000000adbd670b7f9b337d013db341c30db9f60b6bbe63000000000000000000000000fd1eee3d93d624ccb8e5aa06c735b2c58c1cfd290000000000000000000000004631dd875942ff2eb32a3da2ec07c16ca82249080000000000000000000000006d16e3fd2dabffca19ce4dca9a7ce343efa57d9a000000000000000000000000ef3ab52c9f7b13332d90a0b3aa4d56233d62e4d100000000000000000000000078a6d7b78ecaf05c842d75af31772f26dcf46935000000000000000000000000fc28bcabfd9ad2b5ada7f482f9bba6df1446623a000000000000000000000000e9223215fd4d21de7ff187b6987576ca352f0bb30000000000000000000000000c6f9f3a757bf1a5552821aad011d5ff5d03ba200000000000000000000000007277d122e65b209cbb455a230c36c85b3fd9947e000000000000000000000000920fcb7ba09e97daff210ad46e093d755554e7a7000000000000000000000000d7c95a54e20be5bcac1ae11b81129ec74922d13c0000000000000000000000008306a9d7ea6fbc0a64b279a66b95b8d670e795920000000000000000000000002825fe488da71285a5736c7ae2c21a35446d32250000000000000000000000009080083e2327aad13a38a179049aed1d12f0079100000000000000000000000002a7fe8b3178c7b7a94d6124b81400dc15ca9a7c00000000000000000000000017115e584748e23e3890acef2c08658fdb24527d00000000000000000000000059bbca737ae0a7e5d2ecb91b07c1b19ea612f52e00000000000000000000000039473e9b41da09396eae3bf87f7e28f19049ab14000000000000000000000000f9a0cd0aab52e4b6edcb52388085ff0237b159e400000000000000000000000049a405dfc24d39bfae3f369e8b17328b0c55fa2c0000000000000000000000008c08294dfaba1f3a482c0bfdd8880a429164989d000000000000000000000000d01a40c59ef84f2b295eb18006a278eaefb24a3e00000000000000000000000046d377c4116dd1e9a3d7fb84a52763b9780fcc2100000000000000000000000045852d52fc45419f67aede1b1553409bb4169fa50000000000000000000000000d0a3e9680d7dd7baf71ca6fa17366766c3eabe5000000000000000000000000a7349586da2048125ad7f214269aa91cae7c94080000000000000000000000005b9112f95ad564ee5df62de749264b3ce48f899d000000000000000000000000f5578cece5fec43f932e4b51adb81da545d3caaa000000000000000000000000b61b9d41ff6e3240c0f6f8b79cbd9a671b41914b000000000000000000000000b8d0c56f206c2faf1257a2e0cec016c87e2f4b3d00000000000000000000000084f1c513379088705ed3a9da743505cd932bd8550000000000000000000000009589b2c136bb86cfcabec536d72729379cd9b46d0000000000000000000000001bdf56836dd524fb49d9c9e871794f850f2dc37e0000000000000000000000005bef5e814abeb88c449addbd3c1a31488a8ee00a0000000000000000000000002a2e53a4f503c453311865e076752f557d09dff20000000000000000000000006d7bc43f6643441d1cbe3b432a9336dd2ae76bc700000000000000000000000059d9ab9c68ef7357de1b96de91ce7c8f14bb8fe80000000000000000000000003255a865848255b428ca24f0b03fd0f8d93559a2000000000000000000000000a9ad1ea2027c741322a3761266f4affeeb9b3de4000000000000000000000000e617254e8c16d2ef9900284fb8ac48496e2fffc3000000000000000000000000128eca5e9fa3c3d556197df4e82ef12315865c110000000000000000000000003be95be03dc8e22c287c045d1e92cfc8ad8b3be4000000000000000000000000d7ab4a54e2d99d3b979506f6469179ff555f1025000000000000000000000000b7c7bada3bfd0e359f1688e01779861c1523787d00000000000000000000000063f4566e966f4b8affd3be878b292fdf219db9fd000000000000000000000000d252fcf298450f93ce2e64c8da11fc71231d07710000000000000000000000000fd3af73d34d2a18e56195e2589a1231206dbef200000000000000000000000052edfe063ab3ba9ec0de11a44e3d35338c531e56000000000000000000000000d9d30c8eb0923fe778b3372b3f511d8223d339cd000000000000000000000000641813a0a19deeda4e251aff40dfeaa85333bb2d000000000000000000000000848bfd0e34c580610385b004fe4b267b41ab97d70000000000000000000000000065b237ab86384de32331df8ae5a4646372983000000000000000000000000037eeefc1b2ccf2ac6291f3be9f8aac1ca6e0a7a700000000000000000000000085925f9b06a244c746fca8c8b289333699c25bad000000000000000000000000687fbc6f6a0d34bf07772e503e3765af900fb8280000000000000000000000008ad4f7eb4eae409e458119174266c8ff2f8d7aa9000000000000000000000000f8e24ac99420f6576e136b570fd879ca6356721e0000000000000000000000005bfa1da3eec1bc64fa5c162dde8763af3ffb09c70000000000000000000000000595a90011d65c33b2eb794fd19600a9585797280000000000000000000000002a790327168cc34c607af02923d5a0b60c37ab0a0000000000000000000000002f37aab4808d3cc985d868d516b48d63ec0834b0000000000000000000000000911e0945cf9f44a1adb242490058f7d55e0782ad00000000000000000000000000000000000000000000000000000000000000410000000000000000000000000000000000000000055a452a7df95d231ce000000000000000000000000000000000000000000000006765c793fa10079d000000000000000000000000000000000000000000000000000ba58e545582d460000000000000000000000000000000000000000000000000152d02c7e14af6800000000000000000000000000000000000000000000000005f4a8c8375d15540000000000000000000000000000000000000000000000000d3c21bcecceda10000000000000000000000000000000000000000000000000069e10de76676d0800000000000000000000000000000000000000000000000004a1d89bb94865ec00000000000000000000000000000000000000000000000295be96e6406697200000000000000000000000000000000000000000000000000d3c21bcecceda10000000000000000000000000000000000000000000000000211654585005212800000000000000000000000000000000000000000000000034f086f3b33b6840000000000000000000000000000000000000000000000000211654585005212800000000000000000000000000000000000000000000000009ed194db19b238c0000000000000000000000000000000000000000000000000d3c21bcecceda1000000000000000000000000000000000000000000000000295be96e64066972000000000000000000000000000000000000000000000000001fc3842bd1f071c000000000000000000000000000000000000000000000000089a49213386742400000000000000000000000000000000000000000000000000a968163f0a57b400000000000000000000000000000000000000000000000021165458500521280000000000000000000000000000000000000000000000000152d02c7e14af680000000000000000000000000000000000000000000000000d3c21bcecceda10000000000000000000000000000000000000000000000000069e10de76676d08000000000000000000000000000000000000000000000000069e10de76676d080000000000000000000000000000000000000000000000000d3c21bcecceda1000000000000000000000000000000000000000000000000009ed194db19b238c000000000000000000000000000000000000000000000000069e10de76676d080000000000000000000000000000000000000000000000000054b40b1f852bda0000000000000000000000000000000000000000000000000152d02c7e14af68000000000000000000000000000000000000000000000000422ca8b0a00a425000000000000000000000000000000000000000000000000027b46536c66c8e3000000000000000000000000000000000000000000000000001fc3842bd1f071c0000000000000000000000000000000000000000000000000261dd1ce2f208880000000000000000000000000000000000000000000000000152d02c7e14af6800000000000000000000000000000000000000000000000007f0e10af47c1c70000000000000000000000000000000000000000000000000da602cad43550e080000000000000000000000000000000000000000000000000d3c21bcecceda100000000000000000000000000000000000000000000000000d3c21bcecceda100000000000000000000000000000000000000000000000000c92b9a6adc4825c00000000000000000000000000000000000000000000000cecb8f27f4200f3a000000000000000000000000000000000000000000000000013da329b633647180000000000000000000000000000000000000000000000003b8e97d229a2d54800000000000000000000000000000000000000000000000001fc3842bd1f071c00000000000000000000000000000000000000000000000013da329b633647180000000000000000000000000000000000000000000000018d0bf423c03d8de000000000000000000000000000000000000000000000000034f086f3b33b6840000000000000000000000000000000000000000000000000069e10de76676d0800000000000000000000000000000000000000000000000003b4ad496106b7f0000000000000000000000000000000000000000000000000211654585005212800000000000000000000000000000000000000000000000027b46536c66c8e3000000000000000000000000000000000000000000000000295be96e64066972000000000000000000000000000000000000000000000000084595161401484a00000000000000000000000000000000000000000000000000152d02c7e14af680000000000000000000000000000000000000000000000001a784379d99db420000000000000000000000000000000000000000000000000c685fa11e01ec6f00000000000000000000000000000000000000000000000000065a4da25d3016c00000000000000000000000000000000000000000000000084595161401484a000000000000000000000000000000000000000000000000000fe1c215e8f838e0000000000000000000000000000000000000000000000000a968163f0a57b400000000000000000000000000000000000000000000000090c1b1025e16710f00000000000000000000000000000000000000000000000000a968163f0a57b4000000000000000000000000000000000000000000000000007f0e10af47c1c700000000000000000000000000000000000000000000000002116545850052128000000000000000000000000000000000000000000000000211654585005212800000000000000000000000000000000000000000000000007f0e10af47c1c7000000000000000000000000000000000000000000000000000000000000000000000f576f726c64636f696e20546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003574c440000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c35760003560e01c8063715018a6116100f9578063a9059cbb11610097578063dd62ed3e11610071578063dd62ed3e146103d8578063e30c3978146103eb578063f2fde38b146103fc578063fca3b5aa1461040f57600080fd5b8063a9059cbb146103a3578063be5ddb99146103b6578063cee8d013146103c957600080fd5b80638da5cb5b116100d35780638da5cb5b1461036e57806395d89b411461037f57806395dba44c14610387578063a457c2d71461039057600080fd5b8063715018a61461034b57806379ba509714610353578063883c3a631461035b57600080fd5b8063313ce5671161016657806341e65e0b1161014057806341e65e0b146102cb57806358794456146102f25780635915b17e146102fb57806370a082311461032257600080fd5b8063313ce5671461029557806336c545ca146102a457806339509351146102b857600080fd5b8063085624ed116101a2578063085624ed14610242578063095ea7b31461025757806318160ddd1461027a57806323b872dd1461028257600080fd5b806216d010146101c857806306fdde03146102025780630754617214610217575b600080fd5b6101ef7f000000000000000000000000000000000000000000000000000469206254fc2481565b6040519081526020015b60405180910390f35b61020a610422565b6040516101f99190610e32565b60075461022a906001600160a01b031681565b6040516001600160a01b0390911681526020016101f9565b610255610250366004610f72565b6104b4565b005b61026a610265366004611032565b6105af565b60405190151581526020016101f9565b6002546101ef565b61026a61029036600461105c565b6105c9565b604051601281526020016101f9565b60065461026a90600160a01b900460ff1681565b61026a6102c6366004611032565b6105ed565b6101ef7f00000000000000000000000000000000000000000000000000000000002819a081565b6101ef60085481565b6101ef7f0000000000000000000000000000000000000000000000000000000080f51b8181565b6101ef610330366004611098565b6001600160a01b031660009081526020819052604090205490565b61025561060f565b610255610617565b6101ef6b204fce5e3e2502611000000081565b6005546001600160a01b031661022a565b61020a610696565b6101ef60095481565b61026a61039e366004611032565b6106a5565b61026a6103b1366004611032565b610720565b6102556103c4366004611032565b61072e565b6101ef670de0b6b3a764000081565b6101ef6103e63660046110ba565b610888565b6006546001600160a01b031661022a565b61025561040a366004611098565b6108b3565b61025561041d366004611098565b610924565b606060038054610431906110ed565b80601f016020809104026020016040519081016040528092919081815260200182805461045d906110ed565b80156104aa5780601f1061047f576101008083540402835291602001916104aa565b820191906000526020600020905b81548152906001019060200180831161048d57829003601f168201915b5050505050905090565b6104bc61094e565b600654600160a01b900460ff16156104d357600080fd5b80518251146104e157600080fd5b6006805460ff60a01b1916600160a01b17905560005b825181101561054e5761053c83828151811061051557610515611127565b602002602001015183838151811061052f5761052f611127565b60200260200101516109aa565b8061054681611153565b9150506104f7565b506b204fce5e3e2502611000000061056560025490565b111561057057600080fd5b7f0436dcb8b7b3be78d785be7ea8f04f241ce5d275057aea7f7fd4b6e4dfda3aa43383836040516105a39392919061116c565b60405180910390a15050565b6000336105bd818585610a10565b60019150505b92915050565b6000336105d7858285610b35565b6105e2858585610baf565b506001949350505050565b6000336105bd8185856106008383610888565b61060a9190611200565b610a10565b6101c361094e565b60065433906001600160a01b0316811461068a5760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b60648201526084015b60405180910390fd5b61069381610c85565b50565b606060048054610431906110ed565b600033816106b38286610888565b9050838110156107135760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610681565b6105e28286868403610a10565b6000336105bd818585610baf565b6001600160a01b03821661074157600080fd5b8060000361074e57600080fd5b6007546001600160a01b0316331461076557600080fd5b7f0000000000000000000000000000000000000000000000000000000080f51b8142101561079257600080fd5b600854421115610827576107c67f00000000000000000000000000000000000000000000000000000000002819a042611200565b60085560006107d460025490565b90506000670de0b6b3a764000061080b7f000000000000000000000000000000000000000000000000000469206254fc2484611213565b610815919061122a565b90506108218183611200565b60095550505b61083182826109aa565b600954600254111561084257600080fd5b604080513381526001600160a01b03841660208201529081018290527f0188e46dffface414ae6c071b6f739093e36d85d0f016e3d159dffe68c1b08cf906060016105a3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6108bb61094e565b600680546001600160a01b0383166001600160a01b031990911681179091556108ec6005546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b61092c61094e565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146109a85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610681565b565b6001600160a01b038216610a005760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610681565b610a0c60008383610c9e565b5050565b6001600160a01b038316610a725760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610681565b6001600160a01b038216610ad35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610681565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610b418484610888565b90506000198114610ba95781811015610b9c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610681565b610ba98484848403610a10565b50505050565b6001600160a01b038316610c135760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610681565b6001600160a01b038216610c755760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610681565b610c80838383610c9e565b505050565b600680546001600160a01b031916905561069381610de0565b6001600160a01b038316610cc9578060026000828254610cbe9190611200565b90915550610d609050565b6001600160a01b03831660009081526020819052604090205481811015610d415760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610681565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610d7c57600280548290039055610d9b565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b2891815260200190565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208083528351808285015260005b81811015610e5f57858101830151858201604001528201610e43565b506000604082860101526040601f19601f8301168501019250505092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610ebf57610ebf610e80565b604052919050565b600067ffffffffffffffff821115610ee157610ee1610e80565b5060051b60200190565b80356001600160a01b0381168114610f0257600080fd5b919050565b600082601f830112610f1857600080fd5b81356020610f2d610f2883610ec7565b610e96565b82815260059290921b84018101918181019086841115610f4c57600080fd5b8286015b84811015610f675780358352918301918301610f50565b509695505050505050565b60008060408385031215610f8557600080fd5b823567ffffffffffffffff80821115610f9d57600080fd5b818501915085601f830112610fb157600080fd5b81356020610fc1610f2883610ec7565b82815260059290921b84018101918181019089841115610fe057600080fd5b948201945b8386101561100557610ff686610eeb565b82529482019490820190610fe5565b9650508601359250508082111561101b57600080fd5b5061102885828601610f07565b9150509250929050565b6000806040838503121561104557600080fd5b61104e83610eeb565b946020939093013593505050565b60008060006060848603121561107157600080fd5b61107a84610eeb565b925061108860208501610eeb565b9150604084013590509250925092565b6000602082840312156110aa57600080fd5b6110b382610eeb565b9392505050565b600080604083850312156110cd57600080fd5b6110d683610eeb565b91506110e460208401610eeb565b90509250929050565b600181811c9082168061110157607f821691505b60208210810361112157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016111655761116561113d565b5060010190565b6001600160a01b038481168252606060208084018290528551918401829052600092868201929091906080860190855b818110156111ba57855185168352948301949183019160010161119c565b5050858103604087015286518082529082019350915080860160005b838110156111f2578151855293820193908201906001016111d6565b509298975050505050505050565b808201808211156105c3576105c361113d565b80820281158282048414176105c3576105c361113d565b60008261124757634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212208f25c13949d038c74acf5c2d39f639b1fa265ad4e1765ff96ee0c4f504ba27a864736f6c63430008130033

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.