ETH Price: $3,092.78 (-6.72%)
 

Overview

Max Total Supply

1,888,555,777,333 InuGami

Holders

61

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 12 Decimals)

Balance
1,888,556,293.141707821455 InuGami

Value
$0.00
0xace1602e2efb9b48c96599ddee96bc6e594c5714
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
InuGami

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : InuGami.sol
/*
  _____                _____                 _ 
 |_   _|              / ____|               (_)
   | |  _ __  _   _  | |  __  __ _ _ __ ___  _ 
   | | | '_ \| | | | | | |_ |/ _` | '_ ` _ \| |
  _| |_| | | | |_| | | |__| | (_| | | | | | | |
 |_____|_| |_|\__,_|  \_____|\__,_|_| |_| |_|_|

*/

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

import "./WithdrawExtension.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/**
 * @title The main project contract.
 */
contract InuGami is ERC20, WithdrawExtension {
    using SafeMath for uint256;

    uint256 public total;
    uint256 public priceInWei;
    bool public presaleActive;
    /**
     * @dev Constructor that gives msg.sender all of existing tokens.
     */

    event BuyTokens(address _buyer, uint256 _amount, uint256 _cost);

    constructor(
        string memory _name,
        string memory _symbol,
        uint256 _initialSupply,
        uint256 _priceInWei
    ) ERC20(_name, _symbol) {
        total = _initialSupply;
        priceInWei = _priceInWei;
        presaleActive = true;
        _mint(address(this), _initialSupply);
    }

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

    function setPrice(uint256 _priceInWei) public onlyOwner {
        priceInWei = _priceInWei;
    }

    function stopPresale() public onlyOwner {
        presaleActive = false;
    }

    function startPresale() public onlyOwner {
        presaleActive = true;
    }

    function calculateAffordableTokens(uint256 _amount)
        public
        view
        returns (uint256)
    {
        return _amount.mul(10**decimals()).div(priceInWei);
    }

    fallback() external payable {
        require(presaleActive, "InuGami: Presale is not active");
        uint256 _msgValue = msg.value;
        address _msgSender = msg.sender;

        uint256 _tokensToBuy = _msgValue.mul(10**decimals()).div(priceInWei);
        require(
            _tokensToBuy <= balanceOf(address(this)),
            "InuGami: Looks like you are trying to buy too many tokens"
        );
        require(
            _msgValue >= (1 * 10**18) / 10,
            "InuGami: Send at least 0.1 ETH"
        );
        require(_msgValue <= (1 * 10**18), "InuGami: Send max 1 ETH");
        _transfer(address(this), _msgSender, _tokensToBuy);

        emit BuyTokens(_msgSender, _tokensToBuy, _msgValue);
    }
}

File 2 of 8 : WithdrawExtension.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.4;

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

contract WithdrawExtension is Ownable {
    
    function pendingWithdrawal() external view returns (uint256) {
        return address(this).balance;
    }

    function withdraw(uint256 _amount) external onlyOwner {
        _withdraw(_amount);
    }

    function withdrawAll() external onlyOwner {
        _withdraw(address(this).balance);
    }

    function _withdraw(uint256 _amount) internal {
        require(_amount > 0, "WithdrawExtension: amount < 0");
        require(
            _amount <= address(this).balance,
            "WithdrawExtension: not enough funds"
        );
        payable(msg.sender).transfer(_amount);
    }
}

File 3 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT

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 guidelines: functions revert instead
 * of 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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, 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 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 4 of 8 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 5 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 8 : Context.sol
// SPDX-License-Identifier: MIT

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 8 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_initialSupply","type":"uint256"},{"internalType":"uint256","name":"_priceInWei","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":"_buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"BuyTokens","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"calculateAffordableTokens","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":"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":"pendingWithdrawal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_priceInWei","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"total","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200166938038062001669833981016040819052620000349162000348565b8351849084906200004d906003906020850190620001eb565b50805162000063906004906020840190620001eb565b505050620000806200007a620000ad60201b60201c565b620000b1565b600682905560078190556008805460ff19166001179055620000a3308362000103565b505050506200043c565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200015e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001729190620003c2565b90915550506001600160a01b03821660009081526020819052604081208054839290620001a1908490620003c2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620001f990620003e9565b90600052602060002090601f0160209004810192826200021d576000855562000268565b82601f106200023857805160ff191683800117855562000268565b8280016001018555821562000268579182015b82811115620002685782518255916020019190600101906200024b565b50620002769291506200027a565b5090565b5b808211156200027657600081556001016200027b565b600082601f830112620002a357600080fd5b81516001600160401b0380821115620002c057620002c062000426565b604051601f8301601f19908116603f01168101908282118183101715620002eb57620002eb62000426565b816040528381526020925086838588010111156200030857600080fd5b600091505b838210156200032c57858201830151818301840152908201906200030d565b838211156200033e5760008385830101525b9695505050505050565b600080600080608085870312156200035f57600080fd5b84516001600160401b03808211156200037757600080fd5b620003858883890162000291565b955060208701519150808211156200039c57600080fd5b50620003ab8782880162000291565b604087015160609097015195989097509350505050565b60008219821115620003e457634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620003fe57607f821691505b602082108114156200042057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61121d806200044c6000396000f3fe60806040526004361061014b5760003560e01c806370a08231116100b657806395d89b411161006f57806395d89b4114610581578063a457c2d714610596578063a9059cbb146105b6578063dd62ed3e146105d6578063ea486e191461061c578063f2fde38b1461063c5761014b565b806370a08231146104c6578063715018a6146104fc5780637e28882214610511578063853828b6146105245780638da5cb5b1461053957806391b7f5ed146105615761014b565b80632ddbd13a116101085780632ddbd13a146104245780632e1a7d4d1461043a578063313ce5671461045a57806339509351146104765780633c8da5881461049657806353135ca0146104ac5761014b565b806304c98b2b1461035e57806306fdde0314610375578063095ea7b3146103a057806318160ddd146103d05780631ad2ad1a146103ef57806323b872dd14610404575b60085460ff166101a25760405162461bcd60e51b815260206004820152601e60248201527f496e7547616d693a2050726573616c65206973206e6f7420616374697665000060448201526064015b60405180910390fd5b600754349033906000906101cc906101c66101bf600c600a6110cc565b869061065c565b90610671565b306000908152602081905260409020549091508111156102545760405162461bcd60e51b815260206004820152603960248201527f496e7547616d693a204c6f6f6b73206c696b6520796f7520617265207472796960448201527f6e6720746f2062757920746f6f206d616e7920746f6b656e73000000000000006064820152608401610199565b67016345785d8a00008310156102ac5760405162461bcd60e51b815260206004820152601e60248201527f496e7547616d693a2053656e64206174206c6561737420302e312045544800006044820152606401610199565b670de0b6b3a76400008311156103045760405162461bcd60e51b815260206004820152601760248201527f496e7547616d693a2053656e64206d61782031204554480000000000000000006044820152606401610199565b61030f30838361067d565b604080516001600160a01b0384168152602081018390529081018490527f0a37b72bb67eee30e09084cf386f8a17817c57f620c3ab95fb25d6a20356ec779060600160405180910390a1505050005b34801561036a57600080fd5b5061037361084c565b005b34801561038157600080fd5b5061038a610885565b6040516103979190610fc5565b60405180910390f35b3480156103ac57600080fd5b506103c06103bb366004610f82565b610917565b6040519015158152602001610397565b3480156103dc57600080fd5b506002545b604051908152602001610397565b3480156103fb57600080fd5b5061037361092d565b34801561041057600080fd5b506103c061041f366004610f46565b610963565b34801561043057600080fd5b506103e160065481565b34801561044657600080fd5b50610373610455366004610fac565b610a0d565b34801561046657600080fd5b50604051600c8152602001610397565b34801561048257600080fd5b506103c0610491366004610f82565b610a43565b3480156104a257600080fd5b506103e160075481565b3480156104b857600080fd5b506008546103c09060ff1681565b3480156104d257600080fd5b506103e16104e1366004610ef8565b6001600160a01b031660009081526020819052604090205490565b34801561050857600080fd5b50610373610a7f565b34801561051d57600080fd5b50476103e1565b34801561053057600080fd5b50610373610ab5565b34801561054557600080fd5b506005546040516001600160a01b039091168152602001610397565b34801561056d57600080fd5b5061037361057c366004610fac565b610ae8565b34801561058d57600080fd5b5061038a610b17565b3480156105a257600080fd5b506103c06105b1366004610f82565b610b26565b3480156105c257600080fd5b506103c06105d1366004610f82565b610bbf565b3480156105e257600080fd5b506103e16105f1366004610f13565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561062857600080fd5b506103e1610637366004610fac565b610bcc565b34801561064857600080fd5b50610373610657366004610ef8565b610bf1565b60006106688284611177565b90505b92915050565b60006106688284611067565b6001600160a01b0383166106e15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610199565b6001600160a01b0382166107435760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610199565b6001600160a01b038316600090815260208190526040902054818110156107bb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610199565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906107f290849061104f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161083e91815260200190565b60405180910390a350505050565b6005546001600160a01b031633146108765760405162461bcd60e51b81526004016101999061101a565b6008805460ff19166001179055565b60606003805461089490611196565b80601f01602080910402602001604051908101604052809291908181526020018280546108c090611196565b801561090d5780601f106108e25761010080835404028352916020019161090d565b820191906000526020600020905b8154815290600101906020018083116108f057829003601f168201915b5050505050905090565b6000610924338484610c89565b50600192915050565b6005546001600160a01b031633146109575760405162461bcd60e51b81526004016101999061101a565b6008805460ff19169055565b600061097084848461067d565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156109f55760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610199565b610a028533858403610c89565b506001949350505050565b6005546001600160a01b03163314610a375760405162461bcd60e51b81526004016101999061101a565b610a4081610dad565b50565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610924918590610a7a90869061104f565b610c89565b6005546001600160a01b03163314610aa95760405162461bcd60e51b81526004016101999061101a565b610ab36000610e8a565b565b6005546001600160a01b03163314610adf5760405162461bcd60e51b81526004016101999061101a565b610ab347610dad565b6005546001600160a01b03163314610b125760405162461bcd60e51b81526004016101999061101a565b600755565b60606004805461089490611196565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610ba85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610199565b610bb53385858403610c89565b5060019392505050565b600061092433848461067d565b600061066b6007546101c6610bdf600c90565b610bea90600a6110cc565b859061065c565b6005546001600160a01b03163314610c1b5760405162461bcd60e51b81526004016101999061101a565b6001600160a01b038116610c805760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610199565b610a4081610e8a565b6001600160a01b038316610ceb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610199565b6001600160a01b038216610d4c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610199565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60008111610dfd5760405162461bcd60e51b815260206004820152601d60248201527f5769746864726177457874656e73696f6e3a20616d6f756e74203c20300000006044820152606401610199565b47811115610e595760405162461bcd60e51b815260206004820152602360248201527f5769746864726177457874656e73696f6e3a206e6f7420656e6f7567682066756044820152626e647360e81b6064820152608401610199565b604051339082156108fc029083906000818181858888f19350505050158015610e86573d6000803e3d6000fd5b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80356001600160a01b0381168114610ef357600080fd5b919050565b600060208284031215610f0a57600080fd5b61066882610edc565b60008060408385031215610f2657600080fd5b610f2f83610edc565b9150610f3d60208401610edc565b90509250929050565b600080600060608486031215610f5b57600080fd5b610f6484610edc565b9250610f7260208501610edc565b9150604084013590509250925092565b60008060408385031215610f9557600080fd5b610f9e83610edc565b946020939093013593505050565b600060208284031215610fbe57600080fd5b5035919050565b600060208083528351808285015260005b81811015610ff257858101830151858201604001528201610fd6565b81811115611004576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611062576110626111d1565b500190565b60008261108457634e487b7160e01b600052601260045260246000fd5b500490565b600181815b808511156110c45781600019048211156110aa576110aa6111d1565b808516156110b757918102915b93841c939080029061108e565b509250929050565b600061066860ff8416836000826110e55750600161066b565b816110f25750600061066b565b816001811461110857600281146111125761112e565b600191505061066b565b60ff841115611123576111236111d1565b50506001821b61066b565b5060208310610133831016604e8410600b8410161715611151575081810a61066b565b61115b8383611089565b806000190482111561116f5761116f6111d1565b029392505050565b6000816000190483118215151615611191576111916111d1565b500290565b600181811c908216806111aa57607f821691505b602082108114156111cb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220d82813a0a44f22ea1404750e4340fb458adcd4362bd7d2668d0c581e7c49782964736f6c63430008060033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000018fead0574f047afc5000000000000000000000000000000000000000000000000000000000000327f5e4000000000000000000000000000000000000000000000000000000000000000b496e752d47616d692e696f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007496e7547616d6900000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061014b5760003560e01c806370a08231116100b657806395d89b411161006f57806395d89b4114610581578063a457c2d714610596578063a9059cbb146105b6578063dd62ed3e146105d6578063ea486e191461061c578063f2fde38b1461063c5761014b565b806370a08231146104c6578063715018a6146104fc5780637e28882214610511578063853828b6146105245780638da5cb5b1461053957806391b7f5ed146105615761014b565b80632ddbd13a116101085780632ddbd13a146104245780632e1a7d4d1461043a578063313ce5671461045a57806339509351146104765780633c8da5881461049657806353135ca0146104ac5761014b565b806304c98b2b1461035e57806306fdde0314610375578063095ea7b3146103a057806318160ddd146103d05780631ad2ad1a146103ef57806323b872dd14610404575b60085460ff166101a25760405162461bcd60e51b815260206004820152601e60248201527f496e7547616d693a2050726573616c65206973206e6f7420616374697665000060448201526064015b60405180910390fd5b600754349033906000906101cc906101c66101bf600c600a6110cc565b869061065c565b90610671565b306000908152602081905260409020549091508111156102545760405162461bcd60e51b815260206004820152603960248201527f496e7547616d693a204c6f6f6b73206c696b6520796f7520617265207472796960448201527f6e6720746f2062757920746f6f206d616e7920746f6b656e73000000000000006064820152608401610199565b67016345785d8a00008310156102ac5760405162461bcd60e51b815260206004820152601e60248201527f496e7547616d693a2053656e64206174206c6561737420302e312045544800006044820152606401610199565b670de0b6b3a76400008311156103045760405162461bcd60e51b815260206004820152601760248201527f496e7547616d693a2053656e64206d61782031204554480000000000000000006044820152606401610199565b61030f30838361067d565b604080516001600160a01b0384168152602081018390529081018490527f0a37b72bb67eee30e09084cf386f8a17817c57f620c3ab95fb25d6a20356ec779060600160405180910390a1505050005b34801561036a57600080fd5b5061037361084c565b005b34801561038157600080fd5b5061038a610885565b6040516103979190610fc5565b60405180910390f35b3480156103ac57600080fd5b506103c06103bb366004610f82565b610917565b6040519015158152602001610397565b3480156103dc57600080fd5b506002545b604051908152602001610397565b3480156103fb57600080fd5b5061037361092d565b34801561041057600080fd5b506103c061041f366004610f46565b610963565b34801561043057600080fd5b506103e160065481565b34801561044657600080fd5b50610373610455366004610fac565b610a0d565b34801561046657600080fd5b50604051600c8152602001610397565b34801561048257600080fd5b506103c0610491366004610f82565b610a43565b3480156104a257600080fd5b506103e160075481565b3480156104b857600080fd5b506008546103c09060ff1681565b3480156104d257600080fd5b506103e16104e1366004610ef8565b6001600160a01b031660009081526020819052604090205490565b34801561050857600080fd5b50610373610a7f565b34801561051d57600080fd5b50476103e1565b34801561053057600080fd5b50610373610ab5565b34801561054557600080fd5b506005546040516001600160a01b039091168152602001610397565b34801561056d57600080fd5b5061037361057c366004610fac565b610ae8565b34801561058d57600080fd5b5061038a610b17565b3480156105a257600080fd5b506103c06105b1366004610f82565b610b26565b3480156105c257600080fd5b506103c06105d1366004610f82565b610bbf565b3480156105e257600080fd5b506103e16105f1366004610f13565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561062857600080fd5b506103e1610637366004610fac565b610bcc565b34801561064857600080fd5b50610373610657366004610ef8565b610bf1565b60006106688284611177565b90505b92915050565b60006106688284611067565b6001600160a01b0383166106e15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610199565b6001600160a01b0382166107435760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610199565b6001600160a01b038316600090815260208190526040902054818110156107bb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610199565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906107f290849061104f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161083e91815260200190565b60405180910390a350505050565b6005546001600160a01b031633146108765760405162461bcd60e51b81526004016101999061101a565b6008805460ff19166001179055565b60606003805461089490611196565b80601f01602080910402602001604051908101604052809291908181526020018280546108c090611196565b801561090d5780601f106108e25761010080835404028352916020019161090d565b820191906000526020600020905b8154815290600101906020018083116108f057829003601f168201915b5050505050905090565b6000610924338484610c89565b50600192915050565b6005546001600160a01b031633146109575760405162461bcd60e51b81526004016101999061101a565b6008805460ff19169055565b600061097084848461067d565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156109f55760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610199565b610a028533858403610c89565b506001949350505050565b6005546001600160a01b03163314610a375760405162461bcd60e51b81526004016101999061101a565b610a4081610dad565b50565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610924918590610a7a90869061104f565b610c89565b6005546001600160a01b03163314610aa95760405162461bcd60e51b81526004016101999061101a565b610ab36000610e8a565b565b6005546001600160a01b03163314610adf5760405162461bcd60e51b81526004016101999061101a565b610ab347610dad565b6005546001600160a01b03163314610b125760405162461bcd60e51b81526004016101999061101a565b600755565b60606004805461089490611196565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610ba85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610199565b610bb53385858403610c89565b5060019392505050565b600061092433848461067d565b600061066b6007546101c6610bdf600c90565b610bea90600a6110cc565b859061065c565b6005546001600160a01b03163314610c1b5760405162461bcd60e51b81526004016101999061101a565b6001600160a01b038116610c805760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610199565b610a4081610e8a565b6001600160a01b038316610ceb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610199565b6001600160a01b038216610d4c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610199565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60008111610dfd5760405162461bcd60e51b815260206004820152601d60248201527f5769746864726177457874656e73696f6e3a20616d6f756e74203c20300000006044820152606401610199565b47811115610e595760405162461bcd60e51b815260206004820152602360248201527f5769746864726177457874656e73696f6e3a206e6f7420656e6f7567682066756044820152626e647360e81b6064820152608401610199565b604051339082156108fc029083906000818181858888f19350505050158015610e86573d6000803e3d6000fd5b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80356001600160a01b0381168114610ef357600080fd5b919050565b600060208284031215610f0a57600080fd5b61066882610edc565b60008060408385031215610f2657600080fd5b610f2f83610edc565b9150610f3d60208401610edc565b90509250929050565b600080600060608486031215610f5b57600080fd5b610f6484610edc565b9250610f7260208501610edc565b9150604084013590509250925092565b60008060408385031215610f9557600080fd5b610f9e83610edc565b946020939093013593505050565b600060208284031215610fbe57600080fd5b5035919050565b600060208083528351808285015260005b81811015610ff257858101830151858201604001528201610fd6565b81811115611004576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611062576110626111d1565b500190565b60008261108457634e487b7160e01b600052601260045260246000fd5b500490565b600181815b808511156110c45781600019048211156110aa576110aa6111d1565b808516156110b757918102915b93841c939080029061108e565b509250929050565b600061066860ff8416836000826110e55750600161066b565b816110f25750600061066b565b816001811461110857600281146111125761112e565b600191505061066b565b60ff841115611123576111236111d1565b50506001821b61066b565b5060208310610133831016604e8410600b8410161715611151575081810a61066b565b61115b8383611089565b806000190482111561116f5761116f6111d1565b029392505050565b6000816000190483118215151615611191576111916111d1565b500290565b600181811c908216806111aa57607f821691505b602082108114156111cb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220d82813a0a44f22ea1404750e4340fb458adcd4362bd7d2668d0c581e7c49782964736f6c63430008060033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000018fead0574f047afc5000000000000000000000000000000000000000000000000000000000000327f5e4000000000000000000000000000000000000000000000000000000000000000b496e752d47616d692e696f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007496e7547616d6900000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Inu-Gami.io
Arg [1] : _symbol (string): InuGami
Arg [2] : _initialSupply (uint256): 1888555777333000000000000
Arg [3] : _priceInWei (uint256): 52950500

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000000000000000000000018fead0574f047afc5000
Arg [3] : 000000000000000000000000000000000000000000000000000000000327f5e4
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [5] : 496e752d47616d692e696f000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [7] : 496e7547616d6900000000000000000000000000000000000000000000000000


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.