ETH Price: $2,747.00 (-0.65%)

Token

Nightverse Game (NVG)
 

Overview

Max Total Supply

35,050,000 NVG

Holders

1,611

Market

Price

$0.00 @ 0.000001 ETH (+3.67%)

Onchain Market Cap

$62,161.10

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
892.5627 NVG

Value
$1.58 ( ~0.000575173355713479 Eth) [0.0025%]
0xf991c0e209ec116a3abd6cc020a503b1d629676b
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Navigate Web3 gaming with your AI GamePilot for instant mastery. GeniusMate for the Web3 Gaming World. Embark on an unparalleled gaming adventure with AI GamePilot, the NFT that's more than just a collectible—it's your personal gaming strategist in the burgeoning realm of games.

Market

Volume (24H):$140.79
Market Capitalization:$0.00
Circulating Supply:0.00 NVG
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
NVG

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion, MIT license
File 1 of 10 : NVG.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

import {ERC20Burnable, ERC20} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import {Restrict, Ownables} from "../utils/Restrict.sol";

contract NVG is Restrict, ERC20Burnable {
    event Mint(address to, uint256 amount);
    event AdjustTheUpperLimit(uint256 upperLimit);

    uint256 private _upperLimit;

    constructor(
        uint256 initialSupply,
        address mintAddr,
        uint256 upperLimit,
        address[2] memory owners
    ) ERC20("Nightverse Game", "NVG") Ownables(owners) {
        _upperLimit = upperLimit * (10**18);
        _mint(mintAddr, initialSupply * (10**18));
    }

    function getAdjustTheUpperLimitHash(uint256 upperLimit) public pure returns (bytes32) {
        return keccak256(abi.encodePacked("Adjust the upper limit", upperLimit));
    }

    function getMintHash(address to, uint256 amount) public pure returns (bytes32) {
        return keccak256(abi.encodePacked(to, "Nightverse", amount));
    }

    modifier Authorization(bytes32 opHash) {
        _checkAuthorization(opHash);
        _;
    }

    function mint(address to, uint256 amount) public Authorization(getMintHash(to, amount)) {
        _mint(to, amount);
        emit Mint(to, amount);
    }

    function adjustTheUpperLimit(uint256 upperLimit) public Authorization(getAdjustTheUpperLimitHash(upperLimit)) {
        require(totalSupply() <= upperLimit, "NVG: adjust the upper limit must be greater than current totalSupply");
        _upperLimit = upperLimit;
        emit AdjustTheUpperLimit(upperLimit);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override isSafe {
        super._transfer(from, to, amount);
    }

    function _mint(address account, uint256 amount) internal virtual override {
        require((totalSupply() + amount) <= _upperLimit, "NVG: limit reached");
        super._mint(account, amount);
    }
}

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

pragma solidity ^0.8.0;

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

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 3 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 4 of 10 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 7 of 10 : IOperation.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

interface IOperation {
    function applicationOperation(bytes32 opHash) external;

    function authorizedOperation(bytes32 opHash) external;

    event ApplicationOperation(address from, bytes32 opHash);

    event AuthorizedOperation(address from, bytes32 opHash);

    event AllDone(bytes32 opHash);
}

File 8 of 10 : Operation.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

import "./IOperation.sol";
import "./Ownables.sol";

abstract contract Operation is IOperation, Ownables {
    struct Op {
        bool isAuthorized;
        bool isVaild;
        mapping(address => bool) auth;
    }
    mapping(bytes32 => Op) private _operation_hash;

    modifier Existential(bytes32 opHash) {
        _checkOperation(opHash);
        _;
    }

    modifier Complete(bytes32 opHash) {
        _;
        address[2] memory _o = Owners();
        if ((_operation_hash[opHash].auth[_o[0]] == true) && (_operation_hash[opHash].auth[_o[1]] == true)) {
            _operation_hash[opHash].isAuthorized = true;
            emit AllDone(opHash);
        }
    }

    function _closeOperation(bytes32 opHash) private {
        delete (_operation_hash[opHash]);
    }

    function _checkOperation(bytes32 opHash) internal view virtual {
        require(_operation_hash[opHash].isVaild == true, "Operation: operation does not exist");
    }

    function _checkAuthorization(bytes32 opHash) internal virtual {
        require(_operation_hash[opHash].isAuthorized == true, "Operation: authorization is not complete");
        _closeOperation(opHash);
    }

    function authorizedOperation(bytes32 opHash) public onlyOwner Existential(opHash) Complete(opHash) {
        require(_operation_hash[opHash].auth[_msgSender()] == false, "Operation: do not repeat the operation");
        _operation_hash[opHash].auth[_msgSender()] = true;
        emit AuthorizedOperation(_msgSender(), opHash);
    }

    function applicationOperation(bytes32 opHash) public {
        require(_operation_hash[opHash].isVaild == false, "Operation: operation already exists");
        _operation_hash[opHash].isVaild = true;
        emit ApplicationOperation(_msgSender(), opHash);
    }
}

File 9 of 10 : Ownables.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;
import "@openzeppelin/contracts/utils/Context.sol";

abstract contract Ownables is Context {
    address[2] private _owner_array;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor(address[2] memory owners) {
        _owner_array = owners;
    }

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

    /**
     * @dev Returns the address of the current owner.
     */
    function Owners() public view virtual returns (address[2] memory) {
        return _owner_array;
    }

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

    /**
     * @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 {
        _owner_array[0] == _msgSender() ? _owner_array[0] = newOwner : _owner_array[1] = newOwner;
        emit OwnershipTransferred(_msgSender(), newOwner);
    }
}

File 10 of 10 : Restrict.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

import "./Operation.sol";

abstract contract Restrict is Operation {
    struct Locked {
        bool isVaild;
    }

    mapping(address => Locked) _locked;

    modifier isSafe() {
        _checkLock(_msgSender());
        _;
    }

    function addMember(address m) public onlyOwner {
        require(_locked[m].isVaild == false, "Restrict: account already exists");
        _locked[m].isVaild = true;
    }

    function addMembers(address[10] memory ms) public onlyOwner {
        uint256 i = 0;
        while (i < 10) {
            addMember(ms[i]);
        }
    }

    function unlock(address m) public onlyOwner {
        require(_locked[m].isVaild == true, "Restrict: account already exists");
        _locked[m].isVaild = false;
    }

    function _checkLock(address m) internal view {
        require(_locked[m].isVaild == false, "Restrict: account is locked");
    }
}

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 2000
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"address","name":"mintAddr","type":"address"},{"internalType":"uint256","name":"upperLimit","type":"uint256"},{"internalType":"address[2]","name":"owners","type":"address[2]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"upperLimit","type":"uint256"}],"name":"AdjustTheUpperLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"opHash","type":"bytes32"}],"name":"AllDone","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"bytes32","name":"opHash","type":"bytes32"}],"name":"ApplicationOperation","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":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"bytes32","name":"opHash","type":"bytes32"}],"name":"AuthorizedOperation","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","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":[],"name":"Owners","outputs":[{"internalType":"address[2]","name":"","type":"address[2]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"m","type":"address"}],"name":"addMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[10]","name":"ms","type":"address[10]"}],"name":"addMembers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"upperLimit","type":"uint256"}],"name":"adjustTheUpperLimit","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":"bytes32","name":"opHash","type":"bytes32"}],"name":"applicationOperation","outputs":[],"stateMutability":"nonpayable","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":"bytes32","name":"opHash","type":"bytes32"}],"name":"authorizedOperation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"upperLimit","type":"uint256"}],"name":"getAdjustTheUpperLimitHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getMintHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"m","type":"address"}],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162001f6938038062001f69833981016040819052620000349162000380565b604080518082018252600f81526e4e6967687476657273652047616d6560881b602080830191909152825180840190935260038352624e564760e81b9083015290826200008560008260026200025c565b505081516200009c906007906020850190620002b9565b508051620000b2906008906020840190620002b9565b50505081670de0b6b3a7640000620000cb91906200044b565b600955620000ed83620000e786670de0b6b3a76400006200044b565b620000f7565b50505050620004c5565b600954816200010560065490565b6200011191906200046d565b11156200015a5760405162461bcd60e51b8152602060048201526012602482015271139591ce881b1a5b5a5d081c995858da195960721b60448201526064015b60405180910390fd5b6200017182826200017560201b62000d8d1760201c565b5050565b6001600160a01b038216620001cd5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000151565b8060066000828254620001e191906200046d565b90915550506001600160a01b03821660009081526004602052604081208054839290620002109084906200046d565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a362000171565b8260028101928215620002a7579160200282015b82811115620002a757825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000270565b50620002b592915062000336565b5090565b828054620002c79062000488565b90600052602060002090601f016020900481019282620002eb5760008555620002a7565b82601f106200030657805160ff1916838001178555620002a7565b82800160010185558215620002a7579182015b82811115620002a757825182559160200191906001019062000319565b5b80821115620002b5576000815560010162000337565b80516001600160a01b03811681146200036557600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60008060008060a085870312156200039757600080fd5b845193506020620003aa8187016200034d565b93506040860151925086607f870112620003c357600080fd5b604080519081016001600160401b0381118282101715620003e857620003e86200036a565b6040528060a0880189811115620003fe57600080fd5b606089015b81811015620004255762000417816200034d565b835291840191840162000403565b5096999598509396509450505050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161562000468576200046862000435565b500290565b6000821982111562000483576200048362000435565b500190565b600181811c908216806200049d57607f821691505b60208210811415620004bf57634e487b7160e01b600052602260045260246000fd5b50919050565b611a9480620004d56000396000f3fe608060405234801561001057600080fd5b50600436106101985760003560e01c806379cc6790116100e3578063ca6d56dc1161008c578063dd62ed3e11610066578063dd62ed3e1461040b578063f2fde38b14610444578063f53434b81461045757600080fd5b8063ca6d56dc146103d2578063cd97149a146103e5578063d0f3bf0d146103f857600080fd5b806395d89b41116100bd57806395d89b41146103a4578063a457c2d7146103ac578063a9059cbb146103bf57600080fd5b806379cc6790146103015780637da525911461031457806394a357c31461038f57600080fd5b80632f6c493c1161014557806340c10f191161011f57806340c10f19146102b257806342966c68146102c557806370a08231146102d857600080fd5b80632f6c493c1461027d578063313ce56714610290578063395093511461029f57600080fd5b806313c7d93d1161017657806313c7d93d146101f357806318160ddd1461026257806323b872dd1461026a57600080fd5b806306fdde031461019d578063076cf676146101bb578063095ea7b3146101d0575b600080fd5b6101a561046a565b6040516101b29190611797565b60405180910390f35b6101ce6101c936600461180a565b6104fc565b005b6101e36101de36600461183f565b61060f565b60405190151581526020016101b2565b61025461020136600461180a565b6040517f41646a75737420746865207570706572206c696d697400000000000000000000602082015260368101829052600090605601604051602081830303815290604052805190602001209050919050565b6040519081526020016101b2565b600654610254565b6101e3610278366004611869565b610627565b6101ce61028b3660046118a5565b61064b565b604051601281526020016101b2565b6101e36102ad36600461183f565b6106e1565b6101ce6102c036600461183f565b610720565b6101ce6102d336600461180a565b6107e0565b6102546102e63660046118a5565b6001600160a01b031660009081526004602052604090205490565b6101ce61030f36600461183f565b6107ed565b61025461032236600461183f565b6040516bffffffffffffffffffffffff19606084901b1660208201527f4e696768747665727365000000000000000000000000000000000000000000006034820152603e8101829052600090605e0160405160208183030381529060405280519060200120905092915050565b610397610806565b6040516101b291906118c7565b6101a561084a565b6101e36103ba36600461183f565b610859565b6101e36103cd36600461183f565b610903565b6101ce6103e03660046118a5565b610911565b6101ce6103f3366004611901565b6109a6565b6101ce61040636600461180a565b6109de565b610254610419366004611995565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6101ce6104523660046118a5565b610b1f565b6101ce61046536600461180a565b610bac565b606060078054610479906119c8565b80601f01602080910402602001604051908101604052809291908181526020018280546104a5906119c8565b80156104f25780601f106104c7576101008083540402835291602001916104f2565b820191906000526020600020905b8154815290600101906020018083116104d557829003601f168201915b5050505050905090565b600081815260026020526040902054610100900460ff161561058b5760405162461bcd60e51b815260206004820152602360248201527f4f7065726174696f6e3a206f7065726174696f6e20616c72656164792065786960448201527f737473000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b600081815260026020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790557fd2f250237c9752cfa99ad04a457965945a2943c45dc8df19738be0ef569478576105eb3390565b604080516001600160a01b039092168252602082018490520160405180910390a150565b60003361061d818585610e6c565b5060019392505050565b600033610635858285610fc4565b61064085858561106e565b506001949350505050565b610653611087565b6001600160a01b03811660009081526003602052604090205460ff1615156001146106c05760405162461bcd60e51b815260206004820181905260248201527f52657374726963743a206163636f756e7420616c7265616479206578697374736044820152606401610582565b6001600160a01b03166000908152600360205260409020805460ff19169055565b3360008181526005602090815260408083206001600160a01b038716845290915281205490919061061d908290869061071b908790611a19565b610e6c565b60408051606084901b6bffffffffffffffffffffffff19166020808301919091527f4e696768747665727365000000000000000000000000000000000000000000006034830152603e80830185905283518084039091018152605e909201909252805191012061078f816110f8565b61079983836111b7565b604080516001600160a01b0385168152602081018490527f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885910160405180910390a1505050565b6107ea3382611226565b50565b6107f8823383610fc4565b6108028282611226565b5050565b61080e611779565b60408051808201918290529060009060029082845b81546001600160a01b03168152600190910190602001808311610823575050505050905090565b606060088054610479906119c8565b3360008181526005602090815260408083206001600160a01b0387168452909152812054909190838110156108f65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610582565b6106408286868403610e6c565b60003361061d81858561106e565b610919611087565b6001600160a01b03811660009081526003602052604090205460ff16156109825760405162461bcd60e51b815260206004820181905260248201527f52657374726963743a206163636f756e7420616c7265616479206578697374736044820152606401610582565b6001600160a01b03166000908152600360205260409020805460ff19166001179055565b6109ae611087565b60005b600a811015610802576109d98282600a81106109cf576109cf611a31565b6020020151610911565b6109b1565b610a35816040517f41646a75737420746865207570706572206c696d697400000000000000000000602082015260368101829052600090605601604051602081830303815290604052805190602001209050919050565b610a3e816110f8565b81610a4860065490565b1115610ae35760405162461bcd60e51b8152602060048201526044602482018190527f4e56473a2061646a75737420746865207570706572206c696d6974206d757374908201527f2062652067726561746572207468616e2063757272656e7420746f74616c537560648201527f70706c7900000000000000000000000000000000000000000000000000000000608482015260a401610582565b60098290556040518281527fed4ef211060e8cafe6337846c5a095cbfcb1ca229c56d46a1909a0768447a4c09060200160405180910390a15050565b610b27611087565b6001600160a01b038116610ba35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610582565b6107ea816113ab565b610bb4611087565b80610bbe8161146a565b6000828152600260209081526040808320338452600101909152902054829060ff1615610c535760405162461bcd60e51b815260206004820152602660248201527f4f7065726174696f6e3a20646f206e6f742072657065617420746865206f706560448201527f726174696f6e00000000000000000000000000000000000000000000000000006064820152608401610582565b6000838152600260209081526040808320338085526001918201845293829020805460ff19169091179055805192835290820185905280517f47d49b0ab2dc2fe735267a72cf2e4ff18140d424351b8dffcaf6de79c097bcfe9281900390910190a16000610cbf610806565b600083815260026020908152604080832084516001600160a01b0316845260019081019092529091205491925060ff9091161515148015610d2e57506000828152600260209081526040808320848301516001600160a01b0316845260019081019092529091205460ff161515145b15610d875760008281526002602052604090819020805460ff19166001179055517f636cb1fa8e51484c71fbbd76c758149f46116f2084d78696472a9e6791f6c2b890610d7e9084815260200190565b60405180910390a15b50505050565b6001600160a01b038216610de35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610582565b8060066000828254610df59190611a19565b90915550506001600160a01b03821660009081526004602052604081208054839290610e22908490611a19565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316610ee75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610582565b6001600160a01b038216610f635760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610582565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600560209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610d8757818110156110615760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610582565b610d878484848403610e6c565b611077336114f9565b611082838383611562565b505050565b6000546001600160a01b03163314806110aa57506001546001600160a01b031633145b6110f65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610582565b565b60008181526002602052604090205460ff1615156001146111815760405162461bcd60e51b815260206004820152602860248201527f4f7065726174696f6e3a20617574686f72697a6174696f6e206973206e6f742060448201527f636f6d706c6574650000000000000000000000000000000000000000000000006064820152608401610582565b600090815260026020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000169055565b600954816111c460065490565b6111ce9190611a19565b111561121c5760405162461bcd60e51b815260206004820152601260248201527f4e56473a206c696d6974207265616368656400000000000000000000000000006044820152606401610582565b6108028282610d8d565b6001600160a01b0382166112a25760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610582565b6001600160a01b038216600090815260046020526040902054818110156113315760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610582565b6001600160a01b0383166000908152600460205260408120838303905560068054849290611360908490611a47565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6000546001600160a01b031633146113f95780600060010180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038316179055611430565b806000800180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383161790555b506040516001600160a01b0382169033907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b60008181526002602052604090205460ff6101009091041615156001146107ea5760405162461bcd60e51b815260206004820152602360248201527f4f7065726174696f6e3a206f7065726174696f6e20646f6573206e6f7420657860448201527f69737400000000000000000000000000000000000000000000000000000000006064820152608401610582565b6001600160a01b03811660009081526003602052604090205460ff16156107ea5760405162461bcd60e51b815260206004820152601b60248201527f52657374726963743a206163636f756e74206973206c6f636b656400000000006044820152606401610582565b6001600160a01b0383166115de5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610582565b6001600160a01b03821661165a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610582565b6001600160a01b038316600090815260046020526040902054818110156116e95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610582565b6001600160a01b03808516600090815260046020526040808220858503905591851681529081208054849290611720908490611a19565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161176c91815260200190565b60405180910390a3610d87565b60405180604001604052806002906020820280368337509192915050565b600060208083528351808285015260005b818110156117c4578581018301518582016040015282016117a8565b818111156117d6576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60006020828403121561181c57600080fd5b5035919050565b80356001600160a01b038116811461183a57600080fd5b919050565b6000806040838503121561185257600080fd5b61185b83611823565b946020939093013593505050565b60008060006060848603121561187e57600080fd5b61188784611823565b925061189560208501611823565b9150604084013590509250925092565b6000602082840312156118b757600080fd5b6118c082611823565b9392505050565b60408101818360005b60028110156118f85781516001600160a01b03168352602092830192909101906001016118d0565b50505092915050565b600061014080838503121561191557600080fd5b83601f84011261192457600080fd5b60405181810181811067ffffffffffffffff8211171561195457634e487b7160e01b600052604160045260246000fd5b60405290830190808583111561196957600080fd5b845b8381101561198a5761197c81611823565b82526020918201910161196b565b509095945050505050565b600080604083850312156119a857600080fd5b6119b183611823565b91506119bf60208401611823565b90509250929050565b600181811c908216806119dc57607f821691505b602082108114156119fd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611a2c57611a2c611a03565b500190565b634e487b7160e01b600052603260045260246000fd5b600082821015611a5957611a59611a03565b50039056fea2646970667358221220b17075a606c801461a846cd67117288bd15baa0b07777176d3a7aa910da075be64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000d6778af1cb88a0ab0d80fa9534c9513dc3a375b40000000000000000000000000000000000000000000000000000000013ab6680000000000000000000000000b45f3804b42f246407c1823bc0dd95fb474a1fe8000000000000000000000000e4a0f0d6db5da06c9d6cb54fb305f23ad2021067

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101985760003560e01c806379cc6790116100e3578063ca6d56dc1161008c578063dd62ed3e11610066578063dd62ed3e1461040b578063f2fde38b14610444578063f53434b81461045757600080fd5b8063ca6d56dc146103d2578063cd97149a146103e5578063d0f3bf0d146103f857600080fd5b806395d89b41116100bd57806395d89b41146103a4578063a457c2d7146103ac578063a9059cbb146103bf57600080fd5b806379cc6790146103015780637da525911461031457806394a357c31461038f57600080fd5b80632f6c493c1161014557806340c10f191161011f57806340c10f19146102b257806342966c68146102c557806370a08231146102d857600080fd5b80632f6c493c1461027d578063313ce56714610290578063395093511461029f57600080fd5b806313c7d93d1161017657806313c7d93d146101f357806318160ddd1461026257806323b872dd1461026a57600080fd5b806306fdde031461019d578063076cf676146101bb578063095ea7b3146101d0575b600080fd5b6101a561046a565b6040516101b29190611797565b60405180910390f35b6101ce6101c936600461180a565b6104fc565b005b6101e36101de36600461183f565b61060f565b60405190151581526020016101b2565b61025461020136600461180a565b6040517f41646a75737420746865207570706572206c696d697400000000000000000000602082015260368101829052600090605601604051602081830303815290604052805190602001209050919050565b6040519081526020016101b2565b600654610254565b6101e3610278366004611869565b610627565b6101ce61028b3660046118a5565b61064b565b604051601281526020016101b2565b6101e36102ad36600461183f565b6106e1565b6101ce6102c036600461183f565b610720565b6101ce6102d336600461180a565b6107e0565b6102546102e63660046118a5565b6001600160a01b031660009081526004602052604090205490565b6101ce61030f36600461183f565b6107ed565b61025461032236600461183f565b6040516bffffffffffffffffffffffff19606084901b1660208201527f4e696768747665727365000000000000000000000000000000000000000000006034820152603e8101829052600090605e0160405160208183030381529060405280519060200120905092915050565b610397610806565b6040516101b291906118c7565b6101a561084a565b6101e36103ba36600461183f565b610859565b6101e36103cd36600461183f565b610903565b6101ce6103e03660046118a5565b610911565b6101ce6103f3366004611901565b6109a6565b6101ce61040636600461180a565b6109de565b610254610419366004611995565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6101ce6104523660046118a5565b610b1f565b6101ce61046536600461180a565b610bac565b606060078054610479906119c8565b80601f01602080910402602001604051908101604052809291908181526020018280546104a5906119c8565b80156104f25780601f106104c7576101008083540402835291602001916104f2565b820191906000526020600020905b8154815290600101906020018083116104d557829003601f168201915b5050505050905090565b600081815260026020526040902054610100900460ff161561058b5760405162461bcd60e51b815260206004820152602360248201527f4f7065726174696f6e3a206f7065726174696f6e20616c72656164792065786960448201527f737473000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b600081815260026020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790557fd2f250237c9752cfa99ad04a457965945a2943c45dc8df19738be0ef569478576105eb3390565b604080516001600160a01b039092168252602082018490520160405180910390a150565b60003361061d818585610e6c565b5060019392505050565b600033610635858285610fc4565b61064085858561106e565b506001949350505050565b610653611087565b6001600160a01b03811660009081526003602052604090205460ff1615156001146106c05760405162461bcd60e51b815260206004820181905260248201527f52657374726963743a206163636f756e7420616c7265616479206578697374736044820152606401610582565b6001600160a01b03166000908152600360205260409020805460ff19169055565b3360008181526005602090815260408083206001600160a01b038716845290915281205490919061061d908290869061071b908790611a19565b610e6c565b60408051606084901b6bffffffffffffffffffffffff19166020808301919091527f4e696768747665727365000000000000000000000000000000000000000000006034830152603e80830185905283518084039091018152605e909201909252805191012061078f816110f8565b61079983836111b7565b604080516001600160a01b0385168152602081018490527f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885910160405180910390a1505050565b6107ea3382611226565b50565b6107f8823383610fc4565b6108028282611226565b5050565b61080e611779565b60408051808201918290529060009060029082845b81546001600160a01b03168152600190910190602001808311610823575050505050905090565b606060088054610479906119c8565b3360008181526005602090815260408083206001600160a01b0387168452909152812054909190838110156108f65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610582565b6106408286868403610e6c565b60003361061d81858561106e565b610919611087565b6001600160a01b03811660009081526003602052604090205460ff16156109825760405162461bcd60e51b815260206004820181905260248201527f52657374726963743a206163636f756e7420616c7265616479206578697374736044820152606401610582565b6001600160a01b03166000908152600360205260409020805460ff19166001179055565b6109ae611087565b60005b600a811015610802576109d98282600a81106109cf576109cf611a31565b6020020151610911565b6109b1565b610a35816040517f41646a75737420746865207570706572206c696d697400000000000000000000602082015260368101829052600090605601604051602081830303815290604052805190602001209050919050565b610a3e816110f8565b81610a4860065490565b1115610ae35760405162461bcd60e51b8152602060048201526044602482018190527f4e56473a2061646a75737420746865207570706572206c696d6974206d757374908201527f2062652067726561746572207468616e2063757272656e7420746f74616c537560648201527f70706c7900000000000000000000000000000000000000000000000000000000608482015260a401610582565b60098290556040518281527fed4ef211060e8cafe6337846c5a095cbfcb1ca229c56d46a1909a0768447a4c09060200160405180910390a15050565b610b27611087565b6001600160a01b038116610ba35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610582565b6107ea816113ab565b610bb4611087565b80610bbe8161146a565b6000828152600260209081526040808320338452600101909152902054829060ff1615610c535760405162461bcd60e51b815260206004820152602660248201527f4f7065726174696f6e3a20646f206e6f742072657065617420746865206f706560448201527f726174696f6e00000000000000000000000000000000000000000000000000006064820152608401610582565b6000838152600260209081526040808320338085526001918201845293829020805460ff19169091179055805192835290820185905280517f47d49b0ab2dc2fe735267a72cf2e4ff18140d424351b8dffcaf6de79c097bcfe9281900390910190a16000610cbf610806565b600083815260026020908152604080832084516001600160a01b0316845260019081019092529091205491925060ff9091161515148015610d2e57506000828152600260209081526040808320848301516001600160a01b0316845260019081019092529091205460ff161515145b15610d875760008281526002602052604090819020805460ff19166001179055517f636cb1fa8e51484c71fbbd76c758149f46116f2084d78696472a9e6791f6c2b890610d7e9084815260200190565b60405180910390a15b50505050565b6001600160a01b038216610de35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610582565b8060066000828254610df59190611a19565b90915550506001600160a01b03821660009081526004602052604081208054839290610e22908490611a19565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316610ee75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610582565b6001600160a01b038216610f635760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610582565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600560209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610d8757818110156110615760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610582565b610d878484848403610e6c565b611077336114f9565b611082838383611562565b505050565b6000546001600160a01b03163314806110aa57506001546001600160a01b031633145b6110f65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610582565b565b60008181526002602052604090205460ff1615156001146111815760405162461bcd60e51b815260206004820152602860248201527f4f7065726174696f6e3a20617574686f72697a6174696f6e206973206e6f742060448201527f636f6d706c6574650000000000000000000000000000000000000000000000006064820152608401610582565b600090815260026020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000169055565b600954816111c460065490565b6111ce9190611a19565b111561121c5760405162461bcd60e51b815260206004820152601260248201527f4e56473a206c696d6974207265616368656400000000000000000000000000006044820152606401610582565b6108028282610d8d565b6001600160a01b0382166112a25760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610582565b6001600160a01b038216600090815260046020526040902054818110156113315760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610582565b6001600160a01b0383166000908152600460205260408120838303905560068054849290611360908490611a47565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6000546001600160a01b031633146113f95780600060010180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038316179055611430565b806000800180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383161790555b506040516001600160a01b0382169033907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b60008181526002602052604090205460ff6101009091041615156001146107ea5760405162461bcd60e51b815260206004820152602360248201527f4f7065726174696f6e3a206f7065726174696f6e20646f6573206e6f7420657860448201527f69737400000000000000000000000000000000000000000000000000000000006064820152608401610582565b6001600160a01b03811660009081526003602052604090205460ff16156107ea5760405162461bcd60e51b815260206004820152601b60248201527f52657374726963743a206163636f756e74206973206c6f636b656400000000006044820152606401610582565b6001600160a01b0383166115de5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610582565b6001600160a01b03821661165a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610582565b6001600160a01b038316600090815260046020526040902054818110156116e95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610582565b6001600160a01b03808516600090815260046020526040808220858503905591851681529081208054849290611720908490611a19565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161176c91815260200190565b60405180910390a3610d87565b60405180604001604052806002906020820280368337509192915050565b600060208083528351808285015260005b818110156117c4578581018301518582016040015282016117a8565b818111156117d6576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60006020828403121561181c57600080fd5b5035919050565b80356001600160a01b038116811461183a57600080fd5b919050565b6000806040838503121561185257600080fd5b61185b83611823565b946020939093013593505050565b60008060006060848603121561187e57600080fd5b61188784611823565b925061189560208501611823565b9150604084013590509250925092565b6000602082840312156118b757600080fd5b6118c082611823565b9392505050565b60408101818360005b60028110156118f85781516001600160a01b03168352602092830192909101906001016118d0565b50505092915050565b600061014080838503121561191557600080fd5b83601f84011261192457600080fd5b60405181810181811067ffffffffffffffff8211171561195457634e487b7160e01b600052604160045260246000fd5b60405290830190808583111561196957600080fd5b845b8381101561198a5761197c81611823565b82526020918201910161196b565b509095945050505050565b600080604083850312156119a857600080fd5b6119b183611823565b91506119bf60208401611823565b90509250929050565b600181811c908216806119dc57607f821691505b602082108114156119fd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611a2c57611a2c611a03565b500190565b634e487b7160e01b600052603260045260246000fd5b600082821015611a5957611a59611a03565b50039056fea2646970667358221220b17075a606c801461a846cd67117288bd15baa0b07777176d3a7aa910da075be64736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000d6778af1cb88a0ab0d80fa9534c9513dc3a375b40000000000000000000000000000000000000000000000000000000013ab6680000000000000000000000000b45f3804b42f246407c1823bc0dd95fb474a1fe8000000000000000000000000e4a0f0d6db5da06c9d6cb54fb305f23ad2021067

-----Decoded View---------------
Arg [0] : initialSupply (uint256): 1000000
Arg [1] : mintAddr (address): 0xD6778aF1Cb88a0aB0d80fa9534c9513dc3A375B4
Arg [2] : upperLimit (uint256): 330000000
Arg [3] : owners (address[2]): 0xB45F3804b42F246407c1823bC0DD95fb474a1FE8,0xe4a0f0d6dB5Da06C9D6CB54fb305f23ad2021067

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000f4240
Arg [1] : 000000000000000000000000d6778af1cb88a0ab0d80fa9534c9513dc3a375b4
Arg [2] : 0000000000000000000000000000000000000000000000000000000013ab6680
Arg [3] : 000000000000000000000000b45f3804b42f246407c1823bc0dd95fb474a1fe8
Arg [4] : 000000000000000000000000e4a0f0d6db5da06c9d6cb54fb305f23ad2021067


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.