ETH Price: $3,526.84 (+5.14%)

Token

Depe Society (BDSM)
 

Overview

Max Total Supply

33,000,000,000 BDSM

Holders

44

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
262,989,293.329616 BDSM

Value
$0.00
0xd7e5143234c6fd0b76caaf3f0d0e172a7a8e3ebb
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:
BDSM

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
File 1 of 8 : BDSM.sol
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openzeppelin/contracts/utils/Address.sol";

contract BDSM is Ownable, ERC20 {
    using EnumerableSet for EnumerableSet.AddressSet;

    bool public privateSale;
    uint256 public maxPurchaseAmount;
    address public uniswapV2Pair;
    EnumerableSet.AddressSet private allowedAddresses;

    constructor(uint256 _totalSupply) ERC20("Depe Society", "BDSM") {
        _mint(
            address(0xb5268860838E6aC267ed8D976059d6E9b88E089C),
            660_000_000_000_000_000_000_000_000
        );
        _mint(
            address(0xF8d18e3edBcB3f084C126E5240E8416b5DF45Df1),
            660_000_000_000_000_000_000_000_000
        );
        _mint(
            address(0x12C9b4e92277BBA4C069139D6c71DE98DE1b3335),
            660_000_000_000_000_000_000_000_000
        );
        _mint(
            address(0xeFcfFD23BA7f0b71848ddaaeCdAD4BB8F6948BA7),
            379_952_814_052_650_000_000_000_000
        );
        _mint(
            address(0x07dD8451d27eBB6442395A512A081dAfC6791850),
            270_932_636_258_265_000_000_000_000
        );
        _mint(
            address(0xB715656dA71ee46E86175C1406E48a34bD49724d),
            197_656_654_707_582_000_000_000_000
        );
        _mint(
            address(0x21d21386462D1a6ae2c841Eb0f1aFfF2eC2B5656),
            185_917_405_404_077_000_000_000_000
        );
        _mint(
            address(0x52B22Be335005F00546276B85DF46519ee08338A),
            158_807_945_943_405_000_000_000_000
        );
        _mint(
            address(0xe07048CF03f82e4A9f37A4F294F36E7Cb0cEAF34),
            157_657_473_189_852_000_000_000_000
        );
        _mint(
            address(0x8feE41eebB2572E8c0820bbE02a16dE358BA214C),
            146_452_565_124_600_000_000_000_000
        );
        _mint(
            address(0x496f4dE4e95c4a24a50e311bF8F3a39C073e1a46),
            103_886_685_697_771_000_000_000_000
        );
        _mint(
            address(0x6B9eb6e3775351cFea22ef6AE10F2A741cdD586F),
            92_055_556_466_822_200_000_000_000
        );
        _mint(
            address(0x87CC39e35E0910fDD5017dCb2D4662B3B4C05E52),
            78_931_215_007_892_900_000_000_000
        );
        _mint(
            address(0x908c44D464D022F2C44FC1e097224998580ba498),
            68_920_273_396_165_000_000_000_000
        );
        _mint(
            address(0xabb6ed6e89101871adBC0E71453FFb4622caff08),
            66_966_683_322_840_800_000_000_000
        );
        _mint(
            address(0x77cCC682D8AD78c4207CAB7f0d148E43bFa186dE),
            65_421_617_464_075_300_000_000_000
        );
        _mint(
            address(0xe45B053DcF8f520bA6b1814cE9259365B2d3C111),
            44_871_352_557_589_100_000_000_000
        );
        _mint(
            address(0x287bDF8c332D44Bb015F8b4dEb6513010c951f39),
            44_007_535_342_332_500_000_000_000
        );
        _mint(
            address(0x7588A6Cd8d70ecf35a005ae6334C2De1E967b6D6),
            36_107_971_208_727_700_000_000_000
        );
        _mint(
            address(0xdC23d1367d84AAd2359e3b8C8579C29E3707E309),
            34_086_275_658_774_900_000_000_000
        );
        _mint(
            address(0x367ff64dA0668D86E7Ac5d43dD9459Fd4CE381d6),
            33_403_783_993_855_400_000_000_000
        );
        _mint(
            address(0xF73c935815908Ad9a056fc50269f95d8bA032e9d),
            31_675_281_398_330_600_000_000_000
        );
        _mint(
            address(0xf74494c3Ca542D3DDa4209FAB1ebba1BC8F57487),
            31_322_979_712_016_700_000_000_000
        );
        _mint(
            address(0x18235bA397811cfcF96516EE9649E6288B0BA90F),
            27_585_726_114_200_700_000_000_000
        );
        _mint(
            address(0xdCb9b454e13788E33fB07281C974439738faFf36),
            26_099_282_049_618_600_000_000_000
        );
        _mint(
            address(0x35e3CdFa6E176110f75f64dA2F7E47A371782cF5),
            20_187_093_956_303_800_000_000_000
        );
        _mint(
            address(0x0695C06aF6A583061d92f47671Df1b6818a015aC),
            18_552_030_512_403_300_000_000_000
        );
        _mint(
            address(0x4D64bb6Ee3330B3acb747643872dAa414b14775d),
            14_893_091_452_005_300_000_000_000
        );
        _mint(
            address(0xA633F0ab63c24a7218E1efA31fE66102a0066fb0),
            9_462_318_583_365_150_000_000_000
        );
        _mint(
            address(0xB0A7c5bEA4A42C21EDB7C0304c284f4e0B473f6f),
            6_239_807_015_284_330_000_000_000
        );
        _mint(
            address(0xae195e368f51c38636cDE344FB5A238D575B4FD7),
            4_923_096_661_356_390_000_000
        );
        _mint(
            address(0x34d05Abb475c6F65F70fF6427edA8dB9CE4D40ad),
            206_411_602_103_834_000_000_000_000
        );
        _mint(
            address(0xd7e5143234c6fD0B76caAF3f0D0e172A7a8e3Ebb),
            262_989_293_329_616_000_000_000_000
        );
        _mint(
            address(0xDdB46043d8afb5476Cb431A7E8747dc444aED590),
            75_502_908_596_115_700_000_000_000
        );
        _mint(
            address(0x534b8531e362Da97D808ba2ab3959fa2597BeF11),
            34_817_762_816_030_700_000_000_000
        );
        _mint(
            address(0x8c86c59bE7eBe05BF4abBeBA2d565138d5368299),
            8_429_735_128_229_550_000_000_000
        );
        _mint(
            address(0x90598fAEcb13b32B33E0D2aD07E74eACE9AFd64F),
            155_720_985_543_442_000_000_000_000
        );
        _mint(
            address(0x564154FD6948c2882a00D72E19e70d1D84E06115),
            330_000_000_000_000_000_000_000_000
        );

        _mint(_msgSender(), _totalSupply - totalSupply());
    }

    function setPrivateSale(
        bool _private,
        address _uniswapV2Pair,
        uint256 _maxHoldingAmount,
        address[] calldata _allowedAddresses
    ) external onlyOwner {
        privateSale = _private;
        uniswapV2Pair = _uniswapV2Pair;
        maxPurchaseAmount = _maxHoldingAmount;

        for (uint256 i; i < _allowedAddresses.length; i++) {
            allowedAddresses.add(_allowedAddresses[i]);
        }
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        if (uniswapV2Pair == address(0)) {
            require(!Address.isContract(address(this)) || from == owner() || to == owner(), "trading not started");
            return;
        }

        require(
            !privateSale ||
                allowedAddresses.contains(from) ||
                allowedAddresses.contains(to),
            "private sale"
        );

        if (privateSale) {
            if (from == uniswapV2Pair) {
                require(
                    balanceOf(to) + amount <= maxPurchaseAmount,
                    "purchase capped"
                );
            }
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions 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 {
        _transferOwnership(address(0));
    }

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

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

File 3 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // 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 4 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 6 of 8 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

File 8 of 8 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"maxPurchaseAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"privateSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_private","type":"bool"},{"internalType":"address","name":"_uniswapV2Pair","type":"address"},{"internalType":"uint256","name":"_maxHoldingAmount","type":"uint256"},{"internalType":"address[]","name":"_allowedAddresses","type":"address[]"}],"name":"setPrivateSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801562000010575f80fd5b50604051620019b9380380620019b9833981016040819052620000339162000a1d565b6040518060400160405280600c81526020016b4465706520536f636965747960a01b815250604051806040016040528060048152602001634244534d60e01b8152506200008f620000896200073c60201b60201c565b62000740565b60046200009d838262000ad4565b506005620000ac828262000ad4565b505050620000e173b5268860838e6ac267ed8d976059d6e9b88e089c6b0221f06fb12854a3140000006200078f60201b60201c565b6200010d73f8d18e3edbcb3f084c126e5240e8416b5df45df16b0221f06fb12854a3140000006200078f565b620001397312c9b4e92277bba4c069139d6c71de98de1b33356b0221f06fb12854a3140000006200078f565b6200016573efcffd23ba7f0b71848ddaaecdad4bb8f6948ba76b013a4a23526797c4e164a0006200078f565b620001907307dd8451d27ebb6442395a512a081dafc67918506ae01c37a43437f857da90006200078f565b620001bb73b715656da71ee46e86175c1406e48a34bd49724d6aa37f6cb8d592f17fede0006200078f565b620001e67321d21386462d1a6ae2c841eb0f1afff2ec2b56566a99c98abdfa299b9c3bd0006200078f565b620002117352b22be335005f00546276b85df46519ee08338a6a835ce3ffff587070d7d0006200078f565b6200023c73e07048cf03f82e4a9f37a4f294f36e7cb0ceaf346a826944bf3eb5dfb949c0006200078f565b62000267738fee41eebb2572e8c0820bbe02a16de358ba214c6a79248976b5966d873780006200078f565b6200029273496f4de4e95c4a24a50e311bf8f3a39c073e1a466a55eedc842bb82a38e5b0006200078f565b620002bd736b9eb6e3775351cfea22ef6ae10f2a741cdd586f6a4c2585b72d456989d430006200078f565b620002e87387cc39e35e0910fdd5017dcb2d4662b3b4c05e526a414a55bd4ae26e3f9b68006200078f565b6200031373908c44d464d022f2c44fc1e097224998580ba4986a39026f81d939c4461550006200078f565b6200033e73abb6ed6e89101871adbc0e71453ffb4622caff086a3764bf2d58f5386c8cc0006200078f565b620003697377ccc682d8ad78c4207cab7f0d148e43bfa186de6a361d90fd35dfc23bac68006200078f565b6200039473e45b053dcf8f520ba6b1814ce9259365b2d3c1116a251de0e571a06b540138006200078f565b620003bf73287bdf8c332d44bb015f8b4deb6513010c951f396a2466f5456d004be5ee48006200078f565b620003ea737588a6cd8d70ecf35a005ae6334c2de1e967b6d66a1dde290a9afb475674c8006200078f565b6200041573dc23d1367d84aad2359e3b8c8579c29e3707e3096a1c320cb4c04b4cf99d88006200078f565b6200044073367ff64da0668d86e7ac5d43dd9459fd4ce381d66a1ba186c23eaad4acd690006200078f565b6200046b73f73c935815908ad9a056fc50269f95d8ba032e9d6a1a338071ffb44537cf10006200078f565b6200049673f74494c3ca542d3dda4209fab1ebba1bc8f574876a19e8e621f3ac1c355158006200078f565b620004c17318235ba397811cfcf96516ee9649e6288b0ba90f6a16d181358990a4e8d1d8006200078f565b620004ec73dcb9b454e13788e33fb07281c974439738faff366a1596bcea388d68694890006200078f565b620005177335e3cdfa6e176110f75f64da2f7e47a371782cf56a10b2c88e61ca9b4a8f30006200078f565b62000542730695c06af6a583061d92f47671df1b6818a015ac6a0f588b96daf0811ef4e8006200078f565b6200056d734d64bb6ee3330b3acb747643872daa414b14775d6a0c51bc1af92a81d1c408006200078f565b6200059873a633f0ab63c24a7218e1efa31fe66102a0066fb06a07d3b951784a1fb80fac006200078f565b620005c373b0a7c5bea4a42c21edb7c0304c284f4e0b473f6f6a0529549db846a5ade3a4006200078f565b620005ed73ae195e368f51c38636cde344fb5a238d575b4fd769010ae1b0d9d1d32e25806200078f565b620006187334d05abb475c6f65f70ff6427eda8db9ce4d40ad6aaabd5b5f116ad4a7a3a0006200078f565b6200064373d7e5143234c6fd0b76caaf3f0d0e172a7a8e3ebb6ad98a26288e343fdbdd00006200078f565b6200066e73ddb46043d8afb5476cb431a7e8747dc444aed5906a3e745ce05ea4e88ef888006200078f565b6200069973534b8531e362da97d808ba2ab3959fa2597bef116a1cccf2b44dbe643d9838006200078f565b620006c4738c86c59be7ebe05bf4abbeba2d565138d53682996a06f910db62b9e95bb14c006200078f565b620006ef7390598faecb13b32b33e0d2ad07e74eace9afd64f6a80cf338a987b4052cb20006200078f565b6200071b73564154fd6948c2882a00d72e19e70d1d84e061156b0110f837d8942a518a0000006200078f565b62000735336003546200072f908462000bb0565b6200078f565b5062000bdc565b3390565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620007eb5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b620007f85f838362000863565b8060035f8282546200080b919062000bc6565b90915550506001600160a01b0382165f818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6008546001600160a01b0316620008fa57303b15806200088f57505f546001600160a01b038481169116145b80620008a757505f546001600160a01b038381169116145b620008f55760405162461bcd60e51b815260206004820152601360248201527f74726164696e67206e6f742073746172746564000000000000000000000000006044820152606401620007e2565b505050565b60065460ff16158062000915575062000915600984620009fa565b8062000929575062000929600983620009fa565b620009665760405162461bcd60e51b815260206004820152600c60248201526b707269766174652073616c6560a01b6044820152606401620007e2565b60065460ff1615620008f5576008546001600160a01b0390811690841603620008f55760075481620009ac846001600160a01b03165f9081526001602052604090205490565b620009b8919062000bc6565b1115620008f55760405162461bcd60e51b815260206004820152600f60248201526e1c1d5c98da185cd94818d85c1c1959608a1b6044820152606401620007e2565b6001600160a01b0381165f90815260018301602052604090205415155b92915050565b5f6020828403121562000a2e575f80fd5b5051919050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168062000a5e57607f821691505b60208210810362000a7d57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620008f5575f81815260208120601f850160051c8101602086101562000aab5750805b601f850160051c820191505b8181101562000acc5782815560010162000ab7565b505050505050565b81516001600160401b0381111562000af05762000af062000a35565b62000b088162000b01845462000a49565b8462000a83565b602080601f83116001811462000b3e575f841562000b265750858301515b5f19600386901b1c1916600185901b17855562000acc565b5f85815260208120601f198616915b8281101562000b6e5788860151825594840194600190910190840162000b4d565b508582101562000b8c57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b8181038181111562000a175762000a1762000b9c565b8082018082111562000a175762000a1762000b9c565b610dcf8062000bea5f395ff3fe608060405234801561000f575f80fd5b5060043610610111575f3560e01c80638da5cb5b1161009e578063ba1f879f1161006e578063ba1f879f14610238578063bcd4256214610245578063dd62ed3e14610258578063f2fde38b1461026b578063f952fcad1461027e575f80fd5b80638da5cb5b146101fa57806395d89b411461020a578063a457c2d714610212578063a9059cbb14610225575f80fd5b8063313ce567116100e4578063313ce5671461017b578063395093511461018a57806349bd5a5e1461019d57806370a08231146101c8578063715018a6146101f0575f80fd5b806306fdde0314610115578063095ea7b31461013357806318160ddd1461015657806323b872dd14610168575b5f80fd5b61011d610287565b60405161012a9190610b61565b60405180910390f35b610146610141366004610bc7565b610317565b604051901515815260200161012a565b6003545b60405190815260200161012a565b610146610176366004610bef565b610330565b6040516012815260200161012a565b610146610198366004610bc7565b610353565b6008546101b0906001600160a01b031681565b6040516001600160a01b03909116815260200161012a565b61015a6101d6366004610c28565b6001600160a01b03165f9081526001602052604090205490565b6101f8610374565b005b5f546001600160a01b03166101b0565b61011d610387565b610146610220366004610bc7565b610396565b610146610233366004610bc7565b610415565b6006546101469060ff1681565b6101f8610253366004610c41565b610422565b61015a610266366004610cdd565b6104af565b6101f8610279366004610c28565b6104d9565b61015a60075481565b60606004805461029690610d0e565b80601f01602080910402602001604051908101604052809291908181526020018280546102c290610d0e565b801561030d5780601f106102e45761010080835404028352916020019161030d565b820191905f5260205f20905b8154815290600101906020018083116102f057829003601f168201915b5050505050905090565b5f33610324818585610552565b60019150505b92915050565b5f3361033d858285610675565b6103488585856106ed565b506001949350505050565b5f3361032481858561036583836104af565b61036f9190610d5a565b610552565b61037c6108a1565b6103855f6108fa565b565b60606005805461029690610d0e565b5f33816103a382866104af565b9050838110156104085760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103488286868403610552565b5f336103248185856106ed565b61042a6108a1565b6006805460ff1916861515179055600880546001600160a01b0319166001600160a01b03861617905560078390555f5b818110156104a75761049483838381811061047757610477610d6d565b905060200201602081019061048c9190610c28565b600990610949565b508061049f81610d81565b91505061045a565b505050505050565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b6104e16108a1565b6001600160a01b0381166105465760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103ff565b61054f816108fa565b50565b6001600160a01b0383166105b45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103ff565b6001600160a01b0382166106155760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103ff565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f61068084846104af565b90505f1981146106e757818110156106da5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103ff565b6106e78484848403610552565b50505050565b6001600160a01b0383166107515760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103ff565b6001600160a01b0382166107b35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103ff565b6107be838383610964565b6001600160a01b0383165f90815260016020526040902054818110156108355760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103ff565b6001600160a01b038085165f8181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906108949086815260200190565b60405180910390a36106e7565b5f546001600160a01b031633146103855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103ff565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f61095d836001600160a01b038416610b15565b9392505050565b6008546001600160a01b03166109ec57303b158061098e57505f546001600160a01b038481169116145b806109a557505f546001600160a01b038381169116145b6109e75760405162461bcd60e51b81526020600482015260136024820152721d1c98591a5b99c81b9bdd081cdd185c9d1959606a1b60448201526064016103ff565b505050565b60065460ff161580610a205750610a206009846001600160a01b0381165f908152600183016020526040812054151561095d565b80610a4d5750610a4d6009836001600160a01b0381165f908152600183016020526040812054151561095d565b610a885760405162461bcd60e51b815260206004820152600c60248201526b707269766174652073616c6560a01b60448201526064016103ff565b60065460ff16156109e7576008546001600160a01b03908116908416036109e75760075481610acb846001600160a01b03165f9081526001602052604090205490565b610ad59190610d5a565b11156109e75760405162461bcd60e51b815260206004820152600f60248201526e1c1d5c98da185cd94818d85c1c1959608a1b60448201526064016103ff565b5f818152600183016020526040812054610b5a57508154600181810184555f84815260208082209093018490558454848252828601909352604090209190915561032a565b505f61032a565b5f6020808352835180828501525f5b81811015610b8c57858101830151858201604001528201610b70565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610bc2575f80fd5b919050565b5f8060408385031215610bd8575f80fd5b610be183610bac565b946020939093013593505050565b5f805f60608486031215610c01575f80fd5b610c0a84610bac565b9250610c1860208501610bac565b9150604084013590509250925092565b5f60208284031215610c38575f80fd5b61095d82610bac565b5f805f805f60808688031215610c55575f80fd5b85358015158114610c64575f80fd5b9450610c7260208701610bac565b935060408601359250606086013567ffffffffffffffff80821115610c95575f80fd5b818801915088601f830112610ca8575f80fd5b813581811115610cb6575f80fd5b8960208260051b8501011115610cca575f80fd5b9699959850939650602001949392505050565b5f8060408385031215610cee575f80fd5b610cf783610bac565b9150610d0560208401610bac565b90509250929050565b600181811c90821680610d2257607f821691505b602082108103610d4057634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561032a5761032a610d46565b634e487b7160e01b5f52603260045260245ffd5b5f60018201610d9257610d92610d46565b506001019056fea2646970667358221220c8d9e667c1327c275d8443a2e24d31314a906b3c7401019f63fc3fd0b6ff30f364736f6c6343000814003300000000000000000000000000000000000000006aa0f5d099e087d9e8000000

Deployed Bytecode

0x608060405234801561000f575f80fd5b5060043610610111575f3560e01c80638da5cb5b1161009e578063ba1f879f1161006e578063ba1f879f14610238578063bcd4256214610245578063dd62ed3e14610258578063f2fde38b1461026b578063f952fcad1461027e575f80fd5b80638da5cb5b146101fa57806395d89b411461020a578063a457c2d714610212578063a9059cbb14610225575f80fd5b8063313ce567116100e4578063313ce5671461017b578063395093511461018a57806349bd5a5e1461019d57806370a08231146101c8578063715018a6146101f0575f80fd5b806306fdde0314610115578063095ea7b31461013357806318160ddd1461015657806323b872dd14610168575b5f80fd5b61011d610287565b60405161012a9190610b61565b60405180910390f35b610146610141366004610bc7565b610317565b604051901515815260200161012a565b6003545b60405190815260200161012a565b610146610176366004610bef565b610330565b6040516012815260200161012a565b610146610198366004610bc7565b610353565b6008546101b0906001600160a01b031681565b6040516001600160a01b03909116815260200161012a565b61015a6101d6366004610c28565b6001600160a01b03165f9081526001602052604090205490565b6101f8610374565b005b5f546001600160a01b03166101b0565b61011d610387565b610146610220366004610bc7565b610396565b610146610233366004610bc7565b610415565b6006546101469060ff1681565b6101f8610253366004610c41565b610422565b61015a610266366004610cdd565b6104af565b6101f8610279366004610c28565b6104d9565b61015a60075481565b60606004805461029690610d0e565b80601f01602080910402602001604051908101604052809291908181526020018280546102c290610d0e565b801561030d5780601f106102e45761010080835404028352916020019161030d565b820191905f5260205f20905b8154815290600101906020018083116102f057829003601f168201915b5050505050905090565b5f33610324818585610552565b60019150505b92915050565b5f3361033d858285610675565b6103488585856106ed565b506001949350505050565b5f3361032481858561036583836104af565b61036f9190610d5a565b610552565b61037c6108a1565b6103855f6108fa565b565b60606005805461029690610d0e565b5f33816103a382866104af565b9050838110156104085760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103488286868403610552565b5f336103248185856106ed565b61042a6108a1565b6006805460ff1916861515179055600880546001600160a01b0319166001600160a01b03861617905560078390555f5b818110156104a75761049483838381811061047757610477610d6d565b905060200201602081019061048c9190610c28565b600990610949565b508061049f81610d81565b91505061045a565b505050505050565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b6104e16108a1565b6001600160a01b0381166105465760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103ff565b61054f816108fa565b50565b6001600160a01b0383166105b45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103ff565b6001600160a01b0382166106155760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103ff565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f61068084846104af565b90505f1981146106e757818110156106da5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103ff565b6106e78484848403610552565b50505050565b6001600160a01b0383166107515760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103ff565b6001600160a01b0382166107b35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103ff565b6107be838383610964565b6001600160a01b0383165f90815260016020526040902054818110156108355760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103ff565b6001600160a01b038085165f8181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906108949086815260200190565b60405180910390a36106e7565b5f546001600160a01b031633146103855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103ff565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f61095d836001600160a01b038416610b15565b9392505050565b6008546001600160a01b03166109ec57303b158061098e57505f546001600160a01b038481169116145b806109a557505f546001600160a01b038381169116145b6109e75760405162461bcd60e51b81526020600482015260136024820152721d1c98591a5b99c81b9bdd081cdd185c9d1959606a1b60448201526064016103ff565b505050565b60065460ff161580610a205750610a206009846001600160a01b0381165f908152600183016020526040812054151561095d565b80610a4d5750610a4d6009836001600160a01b0381165f908152600183016020526040812054151561095d565b610a885760405162461bcd60e51b815260206004820152600c60248201526b707269766174652073616c6560a01b60448201526064016103ff565b60065460ff16156109e7576008546001600160a01b03908116908416036109e75760075481610acb846001600160a01b03165f9081526001602052604090205490565b610ad59190610d5a565b11156109e75760405162461bcd60e51b815260206004820152600f60248201526e1c1d5c98da185cd94818d85c1c1959608a1b60448201526064016103ff565b5f818152600183016020526040812054610b5a57508154600181810184555f84815260208082209093018490558454848252828601909352604090209190915561032a565b505f61032a565b5f6020808352835180828501525f5b81811015610b8c57858101830151858201604001528201610b70565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610bc2575f80fd5b919050565b5f8060408385031215610bd8575f80fd5b610be183610bac565b946020939093013593505050565b5f805f60608486031215610c01575f80fd5b610c0a84610bac565b9250610c1860208501610bac565b9150604084013590509250925092565b5f60208284031215610c38575f80fd5b61095d82610bac565b5f805f805f60808688031215610c55575f80fd5b85358015158114610c64575f80fd5b9450610c7260208701610bac565b935060408601359250606086013567ffffffffffffffff80821115610c95575f80fd5b818801915088601f830112610ca8575f80fd5b813581811115610cb6575f80fd5b8960208260051b8501011115610cca575f80fd5b9699959850939650602001949392505050565b5f8060408385031215610cee575f80fd5b610cf783610bac565b9150610d0560208401610bac565b90509250929050565b600181811c90821680610d2257607f821691505b602082108103610d4057634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561032a5761032a610d46565b634e487b7160e01b5f52603260045260245ffd5b5f60018201610d9257610d92610d46565b506001019056fea2646970667358221220c8d9e667c1327c275d8443a2e24d31314a906b3c7401019f63fc3fd0b6ff30f364736f6c63430008140033

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

00000000000000000000000000000000000000006aa0f5d099e087d9e8000000

-----Decoded View---------------
Arg [0] : _totalSupply (uint256): 33000000000000000000000000000

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000006aa0f5d099e087d9e8000000


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.