ETH Price: $3,400.72 (+1.67%)

Token

APU (APU)
 

Overview

Max Total Supply

420,690,000,000,000 APU

Holders

799 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
0xsun.eth
Balance
271,798,679,702.113303041282065015 APU

Value
$0.00
0x3e57efef507b4db7acfa2ee79ceca6b19e18d106
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Meme Coin for the Pepe Community.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
APU

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : APU.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

contract APU is ERC20 {
    address public owner;
    address public lpAddress;

    uint256 public apuLiquidityProvided; // Initial APU amount available to buy on Uniswap
    uint256 public apuSold; // APU amount sold on Uniswap (to calculate the cap on the available amount)
    uint256 public startTimestamp; // timestamp when the token sale started
    uint256 private constant percentIncreaseInterval = 2 hours; // how often the percent is increased

    bool private transferAllowed; // this is to avoid bots buying before the capped sale started

    event CappedTokenSaleStarted();
    event OwnershipRenounced();

    error Unauthorized();
    error TransferNotAllowed();
    error TransferAmountCapped();

    /// @dev Creates the APU token and mints the supply according to the allocations below.
    constructor(address _owner) ERC20("APU", "APU") {
        uint256 supply = 420690000000000 * 1e18;
        uint256 apuForInitialLiquidity = supply * 775 / 1000; // 77.5% of the supply
        uint256 frensFarmRewards = supply * 2 / 10; // 20% of the supply
        uint256 pepeMemeCreationRewards = supply * 7 / 1000; // 0.7% of the supply
        uint256 pepePromotion = supply * 3 / 1000; // 0.3% of the supply
        uint256 allocation03 = supply * 3 / 1000; // 0.3% of the supply
        uint256 allocation01 = supply * 1 / 1000; // 0.1% of the supply

        _mint(msg.sender, frensFarmRewards);
        _mint(0x185dA64def5003676E23cae90A6455c2D5C724d0, apuForInitialLiquidity);
        _mint(0x4d8EEF10a1D927632ADC4B5B0c01E1834e92797c, pepeMemeCreationRewards);
        _mint(0xafA294Eb2748F8a5A8B9568C670d4B370379e31a, pepePromotion);
        // Allocations for the team:
        _mint(0x28448E13311Cd2d8ba4699C086BA22D66649e3E8, allocation03);
        _mint(0x28a861828076Ca9DeaB73492771E381A953262E3, allocation03);
        _mint(0xeF8F6C771309B81E0efF526Ec369aAE9f827222d, allocation03);
        _mint(0xb68b11A770a5C8A5faDeFf9bbd54Ae0dF2915afE, allocation03);
        _mint(0xF38ba675f9C3b7649132E1077d9c8d947bc11947, allocation01);
        _mint(0x29a0D75bd188b6d6f43A644F716d8120f6Ec4053, allocation01);
        _mint(0x75adA3589E50C8f975f5772508e5D373fbE0Aa83, allocation01);

        apuLiquidityProvided = apuForInitialLiquidity;
        owner = _owner;
        transferAllowed = false; 
    }

    /// @dev Initializes the token sales parameters
    function startCappedTokenSale(address _lpAddress) external {
        if (msg.sender != owner) revert Unauthorized();
        lpAddress = _lpAddress;
        startTimestamp = block.timestamp;
        transferAllowed = true;
        emit CappedTokenSaleStarted();

        owner = address(0);
        emit OwnershipRenounced();
    }

    /// @dev % of the liquidity allowed to buy on Uniswap (divide by 10 to get the %: e.g. 1 => 1 / 10 = 0.1%)
    /// 0: 2**0 = 1 (1 (0.1%) is the initial value, so for 1 the calculation is: 1 * 2**0; simplified: 2**0)
    /// 1: 2**1 = 2
    /// 2: 2**2 = 4
    /// 3: 2**3 = 8
    /// 4: 2**4 = 16
    /// 8: 2**8 = 256 (25.6%) etc. (it doubles every 2 hours)
    /// 10: 2**10 = 1024 (102.4%) at the 10th interval (20 hours elapsed) the cap is disabled
    function percentAllowedToBuy() public view returns (uint256) {
        if (startTimestamp == 0) return 0;
        uint256 intervalsElapsed = (block.timestamp - startTimestamp) / percentIncreaseInterval;
        if (intervalsElapsed >= 10) return 1000;
        return 2**intervalsElapsed;
    }

    /// @dev APU amount allowed to buy on Uniswap
    function apuAllowedToBuy() public view returns (uint256) {
        if (apuSold >= apuLiquidityProvided) return 0;
        return (apuLiquidityProvided - apuSold) * percentAllowedToBuy() / 1000;
    }

    /// @dev Returns `true`, if the amount of APU allowed to buy on Uniswap is capped
    /// returns `false` if there is no limit (after 20 hours the cap is disabled)
    function transferCapped() public view returns (bool) {
        if (percentAllowedToBuy() == 1000) return false; // at 100% the cap is disabled
        return true;
    }

    /// @dev Burning tokens will reduce the total supply (users can burn only amounts they own in their wallet)
    function burn(uint256 _amount) external {
        _burn(msg.sender, _amount);
    }

    /// @dev Hook override to forbid transfers except from whitelisted addresses and minting
    /// The cap is to limit only the initial swaps, but it goes up exponentially (doubled every 2 hours)
    function _beforeTokenTransfer(address from, address, uint256 amount) internal override {
        if (!(transferAllowed || from == address(0) || from == owner)) revert TransferNotAllowed();

        if (!transferCapped()) return; // if the cap is disabled, there is no need to check further

        if (startTimestamp != 0 && from == lpAddress) {
            // this is a transfer (swap or removeLiquidity) from the Uniswap LP token to the user, so we cap it as per rules
            if (amount > apuAllowedToBuy()) revert TransferAmountCapped();
            apuSold += amount; // we track only the sales from the LP token
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _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;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 4 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"TransferAmountCapped","type":"error"},{"inputs":[],"name":"TransferNotAllowed","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"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":[],"name":"CappedTokenSaleStarted","type":"event"},{"anonymous":false,"inputs":[],"name":"OwnershipRenounced","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":[],"name":"apuAllowedToBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"apuLiquidityProvided","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"apuSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"lpAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percentAllowedToBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_lpAddress","type":"address"}],"name":"startCappedTokenSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferCapped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801562000010575f80fd5b50604051620016893803806200168983398101604081905262000033916200053a565b60408051808201825260038082526241505560e81b602080840182905284518086019095528285528401529091906200006d838262000608565b5060046200007c828262000608565b506d14bddab3e51a57cff87a5000000091505f90506103e8620000a283610307620006e4565b620000ae919062000704565b90505f600a620000c0846002620006e4565b620000cc919062000704565b90505f6103e8620000df856007620006e4565b620000eb919062000704565b90505f6103e8620000fe866003620006e4565b6200010a919062000704565b90505f6103e86200011d876003620006e4565b62000129919062000704565b90505f6103e86200013c886001620006e4565b62000148919062000704565b9050620001563386620002d3565b6200017673185da64def5003676e23cae90a6455c2d5c724d087620002d3565b62000196734d8eef10a1d927632adc4b5b0c01e1834e92797c85620002d3565b620001b673afa294eb2748f8a5a8b9568c670d4b370379e31a84620002d3565b620001d67328448e13311cd2d8ba4699c086ba22d66649e3e883620002d3565b620001f67328a861828076ca9deab73492771e381a953262e383620002d3565b6200021673ef8f6c771309b81e0eff526ec369aae9f827222d83620002d3565b6200023673b68b11a770a5c8a5fadeff9bbd54ae0df2915afe83620002d3565b6200025673f38ba675f9c3b7649132e1077d9c8d947bc1194782620002d3565b620002767329a0d75bd188b6d6f43a644f716d8120f6ec405382620002d3565b620002967375ada3589e50c8f975f5772508e5d373fbe0aa8382620002d3565b5050506007929092555050600580546001600160a01b0319166001600160a01b03939093169290921790915550600a805460ff1916905562000856565b6001600160a01b0382166200032e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b6200033b5f8383620003a4565b8060025f8282546200034e919062000724565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600a5460ff1680620003bd57506001600160a01b038316155b80620003d657506005546001600160a01b038481169116145b620003f457604051638cd22d1960e01b815260040160405180910390fd5b620003fe62000476565b6200040857505050565b600954158015906200042757506006546001600160a01b038481169116145b1562000471576200043762000495565b811115620004585760405163c01c2e4360e01b815260040160405180910390fd5b8060085f8282546200046b919062000724565b90915550505b505050565b5f62000481620004e3565b6103e8036200048f57505f90565b50600190565b5f60075460085410620004a757505f90565b6103e8620004b4620004e3565b600854600754620004c691906200073a565b620004d29190620006e4565b620004de919062000704565b905090565b5f6009545f03620004f357505f90565b5f611c20600954426200050791906200073a565b62000513919062000704565b9050600a811062000527576103e891505090565b6200053481600262000849565b91505090565b5f602082840312156200054b575f80fd5b81516001600160a01b038116811462000562575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200059257607f821691505b602082108103620005b157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000471575f81815260208120601f850160051c81016020861015620005df5750805b601f850160051c820191505b818110156200060057828155600101620005eb565b505050505050565b81516001600160401b0381111562000624576200062462000569565b6200063c816200063584546200057d565b84620005b7565b602080601f83116001811462000672575f84156200065a5750858301515b5f19600386901b1c1916600185901b17855562000600565b5f85815260208120601f198616915b82811015620006a25788860151825594840194600190910190840162000681565b5085821015620006c057878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417620006fe57620006fe620006d0565b92915050565b5f826200071f57634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115620006fe57620006fe620006d0565b81810381811115620006fe57620006fe620006d0565b600181815b808511156200079057815f1904821115620007745762000774620006d0565b808516156200078257918102915b93841c939080029062000755565b509250929050565b5f82620007a857506001620006fe565b81620007b657505f620006fe565b8160018114620007cf5760028114620007da57620007fa565b6001915050620006fe565b60ff841115620007ee57620007ee620006d0565b50506001821b620006fe565b5060208310610133831016604e8410600b84101617156200081f575081810a620006fe565b6200082b838362000750565b805f1904821115620008415762000841620006d0565b029392505050565b5f62000562838362000798565b610e2580620008645f395ff3fe608060405234801561000f575f80fd5b5060043610610132575f3560e01c806376b65e6d116100b4578063a457c2d711610079578063a457c2d714610263578063a9059cbb14610276578063be9c01f914610289578063ce16e1fa14610291578063dd62ed3e146102a4578063e6fd48bc146102b7575f80fd5b806376b65e6d1461020c5780638da5cb5b1461021557806395d89b41146102405780639b4dc8cc146102485780639f1462a11461025b575f80fd5b806327970482116100fa57806327970482146101a4578063313ce567146101ad57806339509351146101bc57806342966c68146101cf57806370a08231146101e4575f80fd5b806306fdde0314610136578063095ea7b31461015457806318160ddd1461017757806323b872dd146101895780632650b7e21461019c575b5f80fd5b61013e6102c0565b60405161014b9190610b2d565b60405180910390f35b610167610162366004610b93565b610350565b604051901515815260200161014b565b6002545b60405190815260200161014b565b610167610197366004610bbb565b610369565b61017b61038c565b61017b60075481565b6040516012815260200161014b565b6101676101ca366004610b93565b6103d1565b6101e26101dd366004610bf4565b6103f2565b005b61017b6101f2366004610c0b565b6001600160a01b03165f9081526020819052604090205490565b61017b60085481565b600554610228906001600160a01b031681565b6040516001600160a01b03909116815260200161014b565b61013e6103ff565b600654610228906001600160a01b031681565b61016761040e565b610167610271366004610b93565b61042a565b610167610284366004610b93565b6104a9565b61017b6104b6565b6101e261029f366004610c0b565b610505565b61017b6102b2366004610c2b565b6105be565b61017b60095481565b6060600380546102cf90610c5c565b80601f01602080910402602001604051908101604052809291908181526020018280546102fb90610c5c565b80156103465780601f1061031d57610100808354040283529160200191610346565b820191905f5260205f20905b81548152906001019060200180831161032957829003601f168201915b5050505050905090565b5f3361035d8185856105e8565b60019150505b92915050565b5f3361037685828561070c565b610381858585610784565b506001949350505050565b5f6007546008541061039d57505f90565b6103e86103a86104b6565b6008546007546103b89190610ca8565b6103c29190610cbb565b6103cc9190610cd2565b905090565b5f3361035d8185856103e383836105be565b6103ed9190610cf1565b6105e8565b6103fc3382610931565b50565b6060600480546102cf90610c5c565b5f6104176104b6565b6103e80361042457505f90565b50600190565b5f338161043782866105be565b90508381101561049c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61038182868684036105e8565b5f3361035d818585610784565b5f6009545f036104c557505f90565b5f611c20600954426104d79190610ca8565b6104e19190610cd2565b9050600a81106104f4576103e891505090565b6104ff816002610de4565b91505090565b6005546001600160a01b0316331461052f576040516282b42960e81b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b03831617905542600955600a805460ff191660011790556040517f5f46d4cfd26d6af2c84696e76e2f27259c2ea23a05859873121da842a0af0fba905f90a1600580546001600160a01b03191690556040517fd1f66c3d2bc1993a86be5e3d33709d98f0442381befcedd29f578b9b2506b1ce905f90a150565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661064a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610493565b6001600160a01b0382166106ab5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610493565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b5f61071784846105be565b90505f19811461077e57818110156107715760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610493565b61077e84848484036105e8565b50505050565b6001600160a01b0383166107e85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610493565b6001600160a01b03821661084a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610493565b610855838383610a69565b6001600160a01b0383165f90815260208190526040902054818110156108cc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610493565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361077e565b6001600160a01b0382166109915760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610493565b61099c825f83610a69565b6001600160a01b0382165f9081526020819052604090205481811015610a0f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610493565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016106ff565b505050565b600a5460ff1680610a8157506001600160a01b038316155b80610a9957506005546001600160a01b038481169116145b610ab657604051638cd22d1960e01b815260040160405180910390fd5b610abe61040e565b610ac757505050565b60095415801590610ae557506006546001600160a01b038481169116145b15610a6457610af261038c565b811115610b125760405163c01c2e4360e01b815260040160405180910390fd5b8060085f828254610b239190610cf1565b9091555050505050565b5f6020808352835180828501525f5b81811015610b5857858101830151858201604001528201610b3c565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610b8e575f80fd5b919050565b5f8060408385031215610ba4575f80fd5b610bad83610b78565b946020939093013593505050565b5f805f60608486031215610bcd575f80fd5b610bd684610b78565b9250610be460208501610b78565b9150604084013590509250925092565b5f60208284031215610c04575f80fd5b5035919050565b5f60208284031215610c1b575f80fd5b610c2482610b78565b9392505050565b5f8060408385031215610c3c575f80fd5b610c4583610b78565b9150610c5360208401610b78565b90509250929050565b600181811c90821680610c7057607f821691505b602082108103610c8e57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561036357610363610c94565b808202811582820484141761036357610363610c94565b5f82610cec57634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561036357610363610c94565b600181815b80851115610d3e57815f1904821115610d2457610d24610c94565b80851615610d3157918102915b93841c9390800290610d09565b509250929050565b5f82610d5457506001610363565b81610d6057505f610363565b8160018114610d765760028114610d8057610d9c565b6001915050610363565b60ff841115610d9157610d91610c94565b50506001821b610363565b5060208310610133831016604e8410600b8410161715610dbf575081810a610363565b610dc98383610d04565b805f1904821115610ddc57610ddc610c94565b029392505050565b5f610c248383610d4656fea264697066735822122031e9b52109a9d6687c2ede4ce8421c3b8dc3f1fa985f1c669ec8b19d8e2d990264736f6c63430008150033000000000000000000000000185da64def5003676e23cae90a6455c2d5c724d0

Deployed Bytecode

0x608060405234801561000f575f80fd5b5060043610610132575f3560e01c806376b65e6d116100b4578063a457c2d711610079578063a457c2d714610263578063a9059cbb14610276578063be9c01f914610289578063ce16e1fa14610291578063dd62ed3e146102a4578063e6fd48bc146102b7575f80fd5b806376b65e6d1461020c5780638da5cb5b1461021557806395d89b41146102405780639b4dc8cc146102485780639f1462a11461025b575f80fd5b806327970482116100fa57806327970482146101a4578063313ce567146101ad57806339509351146101bc57806342966c68146101cf57806370a08231146101e4575f80fd5b806306fdde0314610136578063095ea7b31461015457806318160ddd1461017757806323b872dd146101895780632650b7e21461019c575b5f80fd5b61013e6102c0565b60405161014b9190610b2d565b60405180910390f35b610167610162366004610b93565b610350565b604051901515815260200161014b565b6002545b60405190815260200161014b565b610167610197366004610bbb565b610369565b61017b61038c565b61017b60075481565b6040516012815260200161014b565b6101676101ca366004610b93565b6103d1565b6101e26101dd366004610bf4565b6103f2565b005b61017b6101f2366004610c0b565b6001600160a01b03165f9081526020819052604090205490565b61017b60085481565b600554610228906001600160a01b031681565b6040516001600160a01b03909116815260200161014b565b61013e6103ff565b600654610228906001600160a01b031681565b61016761040e565b610167610271366004610b93565b61042a565b610167610284366004610b93565b6104a9565b61017b6104b6565b6101e261029f366004610c0b565b610505565b61017b6102b2366004610c2b565b6105be565b61017b60095481565b6060600380546102cf90610c5c565b80601f01602080910402602001604051908101604052809291908181526020018280546102fb90610c5c565b80156103465780601f1061031d57610100808354040283529160200191610346565b820191905f5260205f20905b81548152906001019060200180831161032957829003601f168201915b5050505050905090565b5f3361035d8185856105e8565b60019150505b92915050565b5f3361037685828561070c565b610381858585610784565b506001949350505050565b5f6007546008541061039d57505f90565b6103e86103a86104b6565b6008546007546103b89190610ca8565b6103c29190610cbb565b6103cc9190610cd2565b905090565b5f3361035d8185856103e383836105be565b6103ed9190610cf1565b6105e8565b6103fc3382610931565b50565b6060600480546102cf90610c5c565b5f6104176104b6565b6103e80361042457505f90565b50600190565b5f338161043782866105be565b90508381101561049c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61038182868684036105e8565b5f3361035d818585610784565b5f6009545f036104c557505f90565b5f611c20600954426104d79190610ca8565b6104e19190610cd2565b9050600a81106104f4576103e891505090565b6104ff816002610de4565b91505090565b6005546001600160a01b0316331461052f576040516282b42960e81b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b03831617905542600955600a805460ff191660011790556040517f5f46d4cfd26d6af2c84696e76e2f27259c2ea23a05859873121da842a0af0fba905f90a1600580546001600160a01b03191690556040517fd1f66c3d2bc1993a86be5e3d33709d98f0442381befcedd29f578b9b2506b1ce905f90a150565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6001600160a01b03831661064a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610493565b6001600160a01b0382166106ab5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610493565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b5f61071784846105be565b90505f19811461077e57818110156107715760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610493565b61077e84848484036105e8565b50505050565b6001600160a01b0383166107e85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610493565b6001600160a01b03821661084a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610493565b610855838383610a69565b6001600160a01b0383165f90815260208190526040902054818110156108cc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610493565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361077e565b6001600160a01b0382166109915760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610493565b61099c825f83610a69565b6001600160a01b0382165f9081526020819052604090205481811015610a0f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610493565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016106ff565b505050565b600a5460ff1680610a8157506001600160a01b038316155b80610a9957506005546001600160a01b038481169116145b610ab657604051638cd22d1960e01b815260040160405180910390fd5b610abe61040e565b610ac757505050565b60095415801590610ae557506006546001600160a01b038481169116145b15610a6457610af261038c565b811115610b125760405163c01c2e4360e01b815260040160405180910390fd5b8060085f828254610b239190610cf1565b9091555050505050565b5f6020808352835180828501525f5b81811015610b5857858101830151858201604001528201610b3c565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610b8e575f80fd5b919050565b5f8060408385031215610ba4575f80fd5b610bad83610b78565b946020939093013593505050565b5f805f60608486031215610bcd575f80fd5b610bd684610b78565b9250610be460208501610b78565b9150604084013590509250925092565b5f60208284031215610c04575f80fd5b5035919050565b5f60208284031215610c1b575f80fd5b610c2482610b78565b9392505050565b5f8060408385031215610c3c575f80fd5b610c4583610b78565b9150610c5360208401610b78565b90509250929050565b600181811c90821680610c7057607f821691505b602082108103610c8e57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561036357610363610c94565b808202811582820484141761036357610363610c94565b5f82610cec57634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561036357610363610c94565b600181815b80851115610d3e57815f1904821115610d2457610d24610c94565b80851615610d3157918102915b93841c9390800290610d09565b509250929050565b5f82610d5457506001610363565b81610d6057505f610363565b8160018114610d765760028114610d8057610d9c565b6001915050610363565b60ff841115610d9157610d91610c94565b50506001821b610363565b5060208310610133831016604e8410600b8410161715610dbf575081810a610363565b610dc98383610d04565b805f1904821115610ddc57610ddc610c94565b029392505050565b5f610c248383610d4656fea264697066735822122031e9b52109a9d6687c2ede4ce8421c3b8dc3f1fa985f1c669ec8b19d8e2d990264736f6c63430008150033

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

000000000000000000000000185da64def5003676e23cae90a6455c2d5c724d0

-----Decoded View---------------
Arg [0] : _owner (address): 0x185dA64def5003676E23cae90A6455c2D5C724d0

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000185da64def5003676e23cae90a6455c2d5c724d0


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.