ETH Price: $3,456.09 (+1.21%)
Gas: 16 Gwei

Token

Turbo Treats (Turbo Treats)
 

Overview

Max Total Supply

1,000,000,000 Turbo Treats

Holders

90

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
porkwhaleeth.eth
Balance
9,133,212.694968197467833635 Turbo Treats

Value
$0.00
0x2FAdE86f04CF7bfFF11cFfEa7d28305AbAc8BE39
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:
TurboTreats

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : TurboTreats.sol
// Turbo Treats :: Crypto Culinary Sensation!

// Decentralized DAO & Staking
// Fixed Supply
// Staking With No Time Limit Bound
// Staking APR Based on Trading Volume
// Harvest Staking Reward Any Time
// Zero Fee on Stake, Unstake and Harvest
// Submit Proposal and Earn ETH by DAO

// Website  : https://turbotreats.xyz
// Staking  : https://turbotreats.xyz/staking
// DAO      : https://turbotreats.xyz/dao
// Twitter  : https://twitter.com/turbo_treats
// Discord  : https://discord.com/invite/DjzNgj5T
// YouTube  : https://www.youtube.com/@Turbo-iy9nv
// Email    : [email protected]

// SPDX-License-Identifier: MIT

pragma solidity 0.8.20;

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

interface IDEXFactory {
   function createPair(address tokenA, address tokenB) external returns (address pair);
}

interface IDEXRouter {
   function factory() external pure returns (address);
   function WETH() external pure returns (address);
   function swapExactTokensForETHSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external;
}

interface IStaking {
   function updatePool(uint256 amount) external;
}

contract TurboTreats is ERC20, Ownable {

	uint256 public marketingFee;
	uint256 public DAOFee;
	uint256 public stakingFee;
	
	uint256 public swapThreshold;
	uint256 public holdingLimit;
	
	bool private swapping;
	IDEXRouter public router;
	IStaking public TurboTreatsStaking;
	address public TurboTreatsDAO;
	
	address public pair;
	address public marketingWallet;
	
	mapping(address => bool) public isWalletTaxFree;
	mapping(address => bool) public isLiquidityPair;
	mapping(address => bool) public isWalletExemptFromHoldingLimit;
	
	event WalletExemptFromHoldingLimit(address wallet, bool value);
	event SwapingThresholdUpdated(uint256 amount);
	event TokenHoldingLimitUpdated(uint256 amount);
	event WalletExemptFromFee(address wallet, bool value);
	event MarketingWalletUpdated(address wallet);
	event StakingContractUpdated(address wallet);
	event DAOContractUpdated(address wallet);
	
    constructor() ERC20("Turbo Treats", "Turbo Treats") {
	   router = IDEXRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
       pair = IDEXFactory(router.factory()).createPair(address(this), router.WETH());
	   
	   marketingWallet = address(msg.sender);
	   
	   marketingFee = 100;
	   DAOFee = 100;
	   stakingFee = 100;
	   
	   isWalletTaxFree[address(this)] = true;
	   isWalletTaxFree[address(msg.sender)] = true;
	   
	   isWalletExemptFromHoldingLimit[address(this)] = true;
	   isWalletExemptFromHoldingLimit[address(pair)] = true;
	   isWalletExemptFromHoldingLimit[address(msg.sender)] = true;
	   
	   swapThreshold = 5_00_000 ether;
	   holdingLimit = 10_000_000 ether;
       _mint(address(msg.sender), 1_000_000_000 ether);
    }
	
	receive() external payable {}
	
	function exemptWalletFromHoldingLimit(address wallet, bool status) external onlyOwner {
	   require(wallet != address(0), "Wallet address is not correct");
	   
	   isWalletExemptFromHoldingLimit[wallet] = status;
	   emit WalletExemptFromHoldingLimit(wallet, status);
	}
	
	function exemptWalletFromFee(address wallet, bool status) external onlyOwner {
        require(wallet != address(0), "Wallet address is not correct");
		
		isWalletTaxFree[wallet] = status;
        emit WalletExemptFromFee(wallet, status);
    }
	
	function updateSwapingThreshold(uint256 amount) external onlyOwner {
  	    require(amount <= totalSupply(), "Amount is greater than total supply.");
		require(amount >= (1000 ether), "Amount is less than 1000 Turbo Treats.");
		
		swapThreshold = amount;
		emit SwapingThresholdUpdated(amount);
  	}
	
	function updateHoldingLimit(uint256 amount) external onlyOwner {
	    require(amount <= totalSupply(), "Amount cannot be over the total supply.");
		require(amount >= 10000000 ether, "Minimum `10000000` token per wallet required");
		
		holdingLimit = amount;
		emit TokenHoldingLimitUpdated(amount);
	}
	
	function updateStakingContract(IStaking stakingContract) external onlyOwner {
	   require(address(stakingContract) != address(0), "Staking contract is not correct");
	   require(address(TurboTreatsStaking) == address(0), "Staking contract already updated");
	   
	   TurboTreatsStaking = IStaking(stakingContract);
	   
	   isWalletExemptFromHoldingLimit[address(TurboTreatsStaking)] = true;
	   isWalletTaxFree[address(TurboTreatsStaking)] = true;
	   emit StakingContractUpdated(address(TurboTreatsStaking));
    }
	
	function updateDAOContract(address DAOContract) external onlyOwner {
	    require(address(DAOContract) != address(0), "DAO contract is not correct");
	    require(address(TurboTreatsDAO) == address(0), "DAO contract already updated");
		
	    TurboTreatsDAO = DAOContract;
		emit DAOContractUpdated(address(TurboTreatsDAO));
    }
	
	function updateMarketingWallet(address newWallet) external onlyOwner {
        require(address(newWallet) != address(0), "Marketing wallet is not correct");
		require(!isContract(address(newWallet)), "Contract address is not allowed");
		
		marketingWallet = address(newWallet);
        emit MarketingWalletUpdated(address(newWallet));
    }
	
	function _transfer(address sender, address recipient, uint256 amount) internal override(ERC20) {    
	
		bool canSwap = balanceOf(address(this)) >= swapThreshold;
		
		if(!swapping && canSwap && address(recipient) == address(pair)) 
		{
			swapping = true;
			swapTokensForETH(swapThreshold);
			uint256 ETH = address(this).balance;
			uint256 totalFee = DAOFee + marketingFee; 
			
			uint256 DAOShare = (ETH * DAOFee) / (totalFee);
			uint256 marketingShare = ETH - DAOShare;
			
			if(DAOShare > 0) 
			{
			   (bool success, ) = TurboTreatsDAO.call{value: DAOShare}("");
			   require(success, "Failed to send ETH on DAO contract");
			}
			if(marketingShare > 0) 
			{
			   (bool success, ) = marketingWallet.call{value: marketingShare}("");
			   require(success, "Failed to send ETH on marketing wallet");
			}
			swapping = false; 
		}
		
		if(isWalletTaxFree[sender] || isWalletTaxFree[recipient])
		{
		    if(!isWalletExemptFromHoldingLimit[recipient])
		    {
		        require((balanceOf(recipient) + amount) <= holdingLimit, "Transfer amount exceeds the `holdingLimit`.");   
		    }
		    super._transfer(sender, recipient, amount);
		}
		else
		{
			
			uint256 contractShare = (amount * (DAOFee + marketingFee)) / 10000;
			uint256 stakingShare = (amount * stakingFee) / 10000;
			
			if(!isWalletExemptFromHoldingLimit[recipient])
		    {
		       require(((balanceOf(recipient) + amount) - (contractShare + stakingShare)) <= holdingLimit, "Transfer amount exceeds the `holdingLimit`.");   
		    }
		    if(contractShare > 0) 
		    {
			   super._transfer(sender, address(this), contractShare);
		    }
			if(stakingShare > 0) 
		    {
			   super._transfer(sender, address(TurboTreatsStaking), stakingShare);
			   TurboTreatsStaking.updatePool(stakingShare);
		    }
		    super._transfer(sender, recipient, amount - (contractShare + stakingShare));
		}
    }
	
	function swapTokensForETH(uint256 amount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();
		
        _approve(address(this), address(router), amount);
        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            amount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }
	
	function isContract(address account) internal view returns (bool) {
        return account.code.length > 0;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 6 : 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 4 of 6 : 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 5 of 6 : 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 6 of 6 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"}],"name":"DAOContractUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"}],"name":"MarketingWalletUpdated","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":false,"internalType":"address","name":"wallet","type":"address"}],"name":"StakingContractUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SwapingThresholdUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenHoldingLimitUpdated","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"WalletExemptFromFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"WalletExemptFromHoldingLimit","type":"event"},{"inputs":[],"name":"DAOFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TurboTreatsDAO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TurboTreatsStaking","outputs":[{"internalType":"contract IStaking","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"wallet","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"exemptWalletFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"exemptWalletFromHoldingLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"holdingLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isLiquidityPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWalletExemptFromHoldingLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWalletTaxFree","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","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":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IDEXRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapThreshold","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"DAOContract","type":"address"}],"name":"updateDAOContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateHoldingLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IStaking","name":"stakingContract","type":"address"}],"name":"updateStakingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateSwapingThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801562000010575f80fd5b50604080518082018252600c8082526b547572626f2054726561747360a01b6020808401829052845180860190955291845290830152906003620000558382620004cb565b506004620000648282620004cb565b505050620000816200007b620002ed60201b60201c565b620002f1565b600b8054747a250d5630b4cf539739df2c5dacb4c659f2488d00610100600160a81b031990911617908190556040805163c45a015560e01b815290516101009092046001600160a01b03169163c45a0155916004808201926020929091908290030181865afa158015620000f7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200011d919062000593565b6001600160a01b031663c9c6539630600b60019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200017e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001a4919062000593565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015620001ef573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000215919062000593565b600e80546001600160a01b03199081166001600160a01b03938416178255600f805433921682179055606460068190556007819055600855305f818152601060209081526040808320805460ff19908116600190811790925586855282852080548216831790559484526012909252808320805485168317905594549095168152838120805483168617905582815292909220805490921690921790556969e10de76676d08000006009556a084595161401484a000000600a55620002e7906b033b2e3c9fd0803ce800000062000342565b620005e8565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166200039d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060025f828254620003b09190620005c2565b90915550506001600160a01b0382165f9081526020819052604081208054839290620003de908490620005c2565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200045557607f821691505b6020821081036200047457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000427575f81815260208120601f850160051c81016020861015620004a25750805b601f850160051c820191505b81811015620004c357828155600101620004ae565b505050505050565b81516001600160401b03811115620004e757620004e76200042c565b620004ff81620004f8845462000440565b846200047a565b602080601f83116001811462000535575f84156200051d5750858301515b5f19600386901b1c1916600185901b178555620004c3565b5f85815260208120601f198616915b82811015620005655788860151825594840194600190910190840162000544565b50858210156200058357878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f60208284031215620005a4575f80fd5b81516001600160a01b0381168114620005bb575f80fd5b9392505050565b80820180821115620005e257634e487b7160e01b5f52601160045260245ffd5b92915050565b611c5080620005f65f395ff3fe6080604052600436106101f4575f3560e01c80637be925ff11610108578063a8aa1b311161009d578063dd62ed3e1161006d578063dd62ed3e146105b4578063e86339f1146105d3578063eff98843146105f2578063f2fde38b14610607578063f887ea4014610626575f80fd5b8063a8aa1b3114610538578063a9059cbb14610557578063aacebbe314610576578063bb50d04814610595575f80fd5b806395d89b41116100d857806395d89b41146104d157806399908724146104e55780639f26361e146104fa578063a457c2d714610519575f80fd5b80637be925ff14610452578063874a6ae7146104805780638d979796146104955780638da5cb5b146104b4575f80fd5b80633cde0c0f116101895780636b67c4df116101595780636b67c4df1461039f5780636f63f832146103b457806370a08231146103d3578063715018a61461040757806375f0a8741461041b575f80fd5b80633cde0c0f1461030557806350d37cdd1461032457806352cd410a146103435780635c9a05b814610371575f80fd5b806323b872dd116101c457806323b872dd1461028b578063313ce567146102aa5780633347e4d6146102c557806339509351146102e6575f80fd5b80630445b667146101ff57806306fdde0314610227578063095ea7b31461024857806318160ddd14610277575f80fd5b366101fb57005b5f80fd5b34801561020a575f80fd5b5061021460095481565b6040519081526020015b60405180910390f35b348015610232575f80fd5b5061023b61064a565b60405161021e9190611922565b348015610253575f80fd5b50610267610262366004611981565b6106da565b604051901515815260200161021e565b348015610282575f80fd5b50600254610214565b348015610296575f80fd5b506102676102a53660046119ab565b6106f3565b3480156102b5575f80fd5b506040516012815260200161021e565b3480156102d0575f80fd5b506102e46102df3660046119e9565b610716565b005b3480156102f1575f80fd5b50610267610300366004611981565b61085e565b348015610310575f80fd5b506102e461031f366004611a0b565b61087f565b34801561032f575f80fd5b506102e461033e366004611a22565b61098e565b34801561034e575f80fd5b5061026761035d3660046119e9565b60106020525f908152604090205460ff1681565b34801561037c575f80fd5b5061026761038b3660046119e9565b60116020525f908152604090205460ff1681565b3480156103aa575f80fd5b5061021460065481565b3480156103bf575f80fd5b506102e46103ce366004611a22565b610a4f565b3480156103de575f80fd5b506102146103ed3660046119e9565b6001600160a01b03165f9081526020819052604090205490565b348015610412575f80fd5b506102e4610b08565b348015610426575f80fd5b50600f5461043a906001600160a01b031681565b6040516001600160a01b03909116815260200161021e565b34801561045d575f80fd5b5061026761046c3660046119e9565b60126020525f908152604090205460ff1681565b34801561048b575f80fd5b50610214600a5481565b3480156104a0575f80fd5b506102e46104af3660046119e9565b610b1b565b3480156104bf575f80fd5b506005546001600160a01b031661043a565b3480156104dc575f80fd5b5061023b610c20565b3480156104f0575f80fd5b5061021460075481565b348015610505575f80fd5b506102e4610514366004611a0b565b610c2f565b348015610524575f80fd5b50610267610533366004611981565b610d32565b348015610543575f80fd5b50600e5461043a906001600160a01b031681565b348015610562575f80fd5b50610267610571366004611981565b610dac565b348015610581575f80fd5b506102e46105903660046119e9565b610db9565b3480156105a0575f80fd5b50600c5461043a906001600160a01b031681565b3480156105bf575f80fd5b506102146105ce366004611a5d565b610ebd565b3480156105de575f80fd5b50600d5461043a906001600160a01b031681565b3480156105fd575f80fd5b5061021460085481565b348015610612575f80fd5b506102e46106213660046119e9565b610ee7565b348015610631575f80fd5b50600b5461043a9061010090046001600160a01b031681565b60606003805461065990611a89565b80601f016020809104026020016040519081016040528092919081815260200182805461068590611a89565b80156106d05780601f106106a7576101008083540402835291602001916106d0565b820191905f5260205f20905b8154815290600101906020018083116106b357829003601f168201915b5050505050905090565b5f336106e7818585610f60565b60019150505b92915050565b5f33610700858285611083565b61070b8585856110fb565b506001949350505050565b61071e611540565b6001600160a01b0381166107795760405162461bcd60e51b815260206004820152601f60248201527f5374616b696e6720636f6e7472616374206973206e6f7420636f72726563740060448201526064015b60405180910390fd5b600c546001600160a01b0316156107d25760405162461bcd60e51b815260206004820181905260248201527f5374616b696e6720636f6e747261637420616c726561647920757064617465646044820152606401610770565b600c80546001600160a01b0319166001600160a01b0383811691821783555f918252601260209081526040808420805460ff199081166001908117909255865485168652601084529482902080549095161790935592549151911681527f6397f5b135542bb3f477cb346cfab5abdec1251d08dc8f8d4efb4ffe122ea0bf91015b60405180910390a150565b5f336106e78185856108708383610ebd565b61087a9190611ad5565b610f60565b610887611540565b6002548111156108e95760405162461bcd60e51b815260206004820152602760248201527f416d6f756e742063616e6e6f74206265206f7665722074686520746f74616c2060448201526639bab838363c9760c91b6064820152608401610770565b6a084595161401484a0000008110156109595760405162461bcd60e51b815260206004820152602c60248201527f4d696e696d756d206031303030303030306020746f6b656e207065722077616c60448201526b1b195d081c995c5d5a5c995960a21b6064820152608401610770565b600a8190556040518181527f6d2c670c5eef0d34f3e8dc2a37e52f0262ffcb492416dc66e62f15530e1cf75490602001610853565b610996611540565b6001600160a01b0382166109ec5760405162461bcd60e51b815260206004820152601d60248201527f57616c6c65742061646472657373206973206e6f7420636f72726563740000006044820152606401610770565b6001600160a01b0382165f81815260106020908152604091829020805460ff19168515159081179091558251938452908301527f437c058b19f0e29bbd65e1b03d0c97fac5d0adef2e4c7cbd74a3a99ab950839691015b60405180910390a15050565b610a57611540565b6001600160a01b038216610aad5760405162461bcd60e51b815260206004820152601d60248201527f57616c6c65742061646472657373206973206e6f7420636f72726563740000006044820152606401610770565b6001600160a01b0382165f81815260126020908152604091829020805460ff19168515159081179091558251938452908301527f361ed0d2226ec5775a5c8defea566d789d1bc8376c7e2d0ad0bb56906fc21dbf9101610a43565b610b10611540565b610b195f61159a565b565b610b23611540565b6001600160a01b038116610b795760405162461bcd60e51b815260206004820152601b60248201527f44414f20636f6e7472616374206973206e6f7420636f727265637400000000006044820152606401610770565b600d546001600160a01b031615610bd25760405162461bcd60e51b815260206004820152601c60248201527f44414f20636f6e747261637420616c72656164792075706461746564000000006044820152606401610770565b600d80546001600160a01b0319166001600160a01b0383169081179091556040519081527f27e5639c6e029d84a7d7b95407cb7ef188dde13b0d088444ab6a53560e726eec90602001610853565b60606004805461065990611a89565b610c37611540565b600254811115610c955760405162461bcd60e51b8152602060048201526024808201527f416d6f756e742069732067726561746572207468616e20746f74616c2073757060448201526338363c9760e11b6064820152608401610770565b683635c9adc5dea00000811015610cfd5760405162461bcd60e51b815260206004820152602660248201527f416d6f756e74206973206c657373207468616e203130303020547572626f20546044820152653932b0ba399760d11b6064820152608401610770565b60098190556040518181527fdc0e1857a52d77aeae7d67c2ef590eeb501519a07de8d4b8a436aad80437ee5590602001610853565b5f3381610d3f8286610ebd565b905083811015610d9f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610770565b61070b8286868403610f60565b5f336106e78185856110fb565b610dc1611540565b6001600160a01b038116610e175760405162461bcd60e51b815260206004820152601f60248201527f4d61726b6574696e672077616c6c6574206973206e6f7420636f7272656374006044820152606401610770565b6001600160a01b0381163b15610e6f5760405162461bcd60e51b815260206004820152601f60248201527f436f6e74726163742061646472657373206973206e6f7420616c6c6f776564006044820152606401610770565b600f80546001600160a01b0319166001600160a01b0383169081179091556040519081527fbf86feedee5b30c30a8243bd21deebb704d141478d39b1be04fe5ee739f214e790602001610853565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610eef611540565b6001600160a01b038116610f545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610770565b610f5d8161159a565b50565b6001600160a01b038316610fc25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610770565b6001600160a01b0382166110235760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610770565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f61108e8484610ebd565b90505f1981146110f557818110156110e85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610770565b6110f58484848403610f60565b50505050565b600954305f90815260208190526040902054600b549111159060ff161580156111215750805b801561113a5750600e546001600160a01b038481169116145b1561131057600b805460ff19166001179055600954611158906115eb565b60065460075447915f9161116c9190611ad5565b90505f816007548461117e9190611ae8565b6111889190611aff565b90505f6111958285611b1e565b9050811561124a57600d546040515f916001600160a01b03169084908381818185875af1925050503d805f81146111e7576040519150601f19603f3d011682016040523d82523d5f602084013e6111ec565b606091505b50509050806112485760405162461bcd60e51b815260206004820152602260248201527f4661696c656420746f2073656e6420455448206f6e2044414f20636f6e74726160448201526118dd60f21b6064820152608401610770565b505b801561130157600f546040515f916001600160a01b03169083908381818185875af1925050503d805f811461129a576040519150601f19603f3d011682016040523d82523d5f602084013e61129f565b606091505b50509050806112ff5760405162461bcd60e51b815260206004820152602660248201527f4661696c656420746f2073656e6420455448206f6e206d61726b6574696e67206044820152651dd85b1b195d60d21b6064820152608401610770565b505b5050600b805460ff1916905550505b6001600160a01b0384165f9081526010602052604090205460ff168061134d57506001600160a01b0383165f9081526010602052604090205460ff165b156113cb576001600160a01b0383165f9081526012602052604090205460ff166113bb57600a5482611393856001600160a01b03165f9081526020819052604090205490565b61139d9190611ad5565b11156113bb5760405162461bcd60e51b815260040161077090611b31565b6113c6848484611756565b6110f5565b5f6127106006546007546113df9190611ad5565b6113e99085611ae8565b6113f39190611aff565b90505f612710600854856114079190611ae8565b6114119190611aff565b6001600160a01b0386165f9081526012602052604090205490915060ff1661149157600a546114408284611ad5565b8561145f886001600160a01b03165f9081526020819052604090205490565b6114699190611ad5565b6114739190611b1e565b11156114915760405162461bcd60e51b815260040161077090611b31565b81156114a2576114a2863084611756565b801561151a57600c546114c09087906001600160a01b031683611756565b600c546040516328f582d360e11b8152600481018390526001600160a01b03909116906351eb05a6906024015f604051808303815f87803b158015611503575f80fd5b505af1158015611515573d5f803e3d5ffd5b505050505b61153886866115298486611ad5565b6115339088611b1e565b611756565b505050505050565b6005546001600160a01b03163314610b195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610770565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061161e5761161e611b7c565b60200260200101906001600160a01b031690816001600160a01b031681525050600b60019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561168f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b39190611b90565b816001815181106116c6576116c6611b7c565b6001600160a01b039283166020918202929092010152600b546116f191309161010090041684610f60565b600b5460405163791ac94760e01b81526101009091046001600160a01b03169063791ac9479061172d9085905f90869030904290600401611bab565b5f604051808303815f87803b158015611744575f80fd5b505af1158015611538573d5f803e3d5ffd5b6001600160a01b0383166117ba5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610770565b6001600160a01b03821661181c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610770565b6001600160a01b0383165f90815260208190526040902054818110156118935760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610770565b6001600160a01b038085165f908152602081905260408082208585039055918516815290812080548492906118c9908490611ad5565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161191591815260200190565b60405180910390a36110f5565b5f6020808352835180828501525f5b8181101561194d57858101830151858201604001528201611931565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610f5d575f80fd5b5f8060408385031215611992575f80fd5b823561199d8161196d565b946020939093013593505050565b5f805f606084860312156119bd575f80fd5b83356119c88161196d565b925060208401356119d88161196d565b929592945050506040919091013590565b5f602082840312156119f9575f80fd5b8135611a048161196d565b9392505050565b5f60208284031215611a1b575f80fd5b5035919050565b5f8060408385031215611a33575f80fd5b8235611a3e8161196d565b915060208301358015158114611a52575f80fd5b809150509250929050565b5f8060408385031215611a6e575f80fd5b8235611a798161196d565b91506020830135611a528161196d565b600181811c90821680611a9d57607f821691505b602082108103611abb57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106ed576106ed611ac1565b80820281158282048414176106ed576106ed611ac1565b5f82611b1957634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156106ed576106ed611ac1565b6020808252602b908201527f5472616e7366657220616d6f756e742065786365656473207468652060686f6c60408201526a3234b733a634b6b4ba301760a91b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611ba0575f80fd5b8151611a048161196d565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b81811015611bf95784516001600160a01b031683529383019391830191600101611bd4565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122081ca8de1f0c5263b354d045a78dd687f2a497f4ac87a0ff968c96fc997acd62864736f6c63430008140033

Deployed Bytecode

0x6080604052600436106101f4575f3560e01c80637be925ff11610108578063a8aa1b311161009d578063dd62ed3e1161006d578063dd62ed3e146105b4578063e86339f1146105d3578063eff98843146105f2578063f2fde38b14610607578063f887ea4014610626575f80fd5b8063a8aa1b3114610538578063a9059cbb14610557578063aacebbe314610576578063bb50d04814610595575f80fd5b806395d89b41116100d857806395d89b41146104d157806399908724146104e55780639f26361e146104fa578063a457c2d714610519575f80fd5b80637be925ff14610452578063874a6ae7146104805780638d979796146104955780638da5cb5b146104b4575f80fd5b80633cde0c0f116101895780636b67c4df116101595780636b67c4df1461039f5780636f63f832146103b457806370a08231146103d3578063715018a61461040757806375f0a8741461041b575f80fd5b80633cde0c0f1461030557806350d37cdd1461032457806352cd410a146103435780635c9a05b814610371575f80fd5b806323b872dd116101c457806323b872dd1461028b578063313ce567146102aa5780633347e4d6146102c557806339509351146102e6575f80fd5b80630445b667146101ff57806306fdde0314610227578063095ea7b31461024857806318160ddd14610277575f80fd5b366101fb57005b5f80fd5b34801561020a575f80fd5b5061021460095481565b6040519081526020015b60405180910390f35b348015610232575f80fd5b5061023b61064a565b60405161021e9190611922565b348015610253575f80fd5b50610267610262366004611981565b6106da565b604051901515815260200161021e565b348015610282575f80fd5b50600254610214565b348015610296575f80fd5b506102676102a53660046119ab565b6106f3565b3480156102b5575f80fd5b506040516012815260200161021e565b3480156102d0575f80fd5b506102e46102df3660046119e9565b610716565b005b3480156102f1575f80fd5b50610267610300366004611981565b61085e565b348015610310575f80fd5b506102e461031f366004611a0b565b61087f565b34801561032f575f80fd5b506102e461033e366004611a22565b61098e565b34801561034e575f80fd5b5061026761035d3660046119e9565b60106020525f908152604090205460ff1681565b34801561037c575f80fd5b5061026761038b3660046119e9565b60116020525f908152604090205460ff1681565b3480156103aa575f80fd5b5061021460065481565b3480156103bf575f80fd5b506102e46103ce366004611a22565b610a4f565b3480156103de575f80fd5b506102146103ed3660046119e9565b6001600160a01b03165f9081526020819052604090205490565b348015610412575f80fd5b506102e4610b08565b348015610426575f80fd5b50600f5461043a906001600160a01b031681565b6040516001600160a01b03909116815260200161021e565b34801561045d575f80fd5b5061026761046c3660046119e9565b60126020525f908152604090205460ff1681565b34801561048b575f80fd5b50610214600a5481565b3480156104a0575f80fd5b506102e46104af3660046119e9565b610b1b565b3480156104bf575f80fd5b506005546001600160a01b031661043a565b3480156104dc575f80fd5b5061023b610c20565b3480156104f0575f80fd5b5061021460075481565b348015610505575f80fd5b506102e4610514366004611a0b565b610c2f565b348015610524575f80fd5b50610267610533366004611981565b610d32565b348015610543575f80fd5b50600e5461043a906001600160a01b031681565b348015610562575f80fd5b50610267610571366004611981565b610dac565b348015610581575f80fd5b506102e46105903660046119e9565b610db9565b3480156105a0575f80fd5b50600c5461043a906001600160a01b031681565b3480156105bf575f80fd5b506102146105ce366004611a5d565b610ebd565b3480156105de575f80fd5b50600d5461043a906001600160a01b031681565b3480156105fd575f80fd5b5061021460085481565b348015610612575f80fd5b506102e46106213660046119e9565b610ee7565b348015610631575f80fd5b50600b5461043a9061010090046001600160a01b031681565b60606003805461065990611a89565b80601f016020809104026020016040519081016040528092919081815260200182805461068590611a89565b80156106d05780601f106106a7576101008083540402835291602001916106d0565b820191905f5260205f20905b8154815290600101906020018083116106b357829003601f168201915b5050505050905090565b5f336106e7818585610f60565b60019150505b92915050565b5f33610700858285611083565b61070b8585856110fb565b506001949350505050565b61071e611540565b6001600160a01b0381166107795760405162461bcd60e51b815260206004820152601f60248201527f5374616b696e6720636f6e7472616374206973206e6f7420636f72726563740060448201526064015b60405180910390fd5b600c546001600160a01b0316156107d25760405162461bcd60e51b815260206004820181905260248201527f5374616b696e6720636f6e747261637420616c726561647920757064617465646044820152606401610770565b600c80546001600160a01b0319166001600160a01b0383811691821783555f918252601260209081526040808420805460ff199081166001908117909255865485168652601084529482902080549095161790935592549151911681527f6397f5b135542bb3f477cb346cfab5abdec1251d08dc8f8d4efb4ffe122ea0bf91015b60405180910390a150565b5f336106e78185856108708383610ebd565b61087a9190611ad5565b610f60565b610887611540565b6002548111156108e95760405162461bcd60e51b815260206004820152602760248201527f416d6f756e742063616e6e6f74206265206f7665722074686520746f74616c2060448201526639bab838363c9760c91b6064820152608401610770565b6a084595161401484a0000008110156109595760405162461bcd60e51b815260206004820152602c60248201527f4d696e696d756d206031303030303030306020746f6b656e207065722077616c60448201526b1b195d081c995c5d5a5c995960a21b6064820152608401610770565b600a8190556040518181527f6d2c670c5eef0d34f3e8dc2a37e52f0262ffcb492416dc66e62f15530e1cf75490602001610853565b610996611540565b6001600160a01b0382166109ec5760405162461bcd60e51b815260206004820152601d60248201527f57616c6c65742061646472657373206973206e6f7420636f72726563740000006044820152606401610770565b6001600160a01b0382165f81815260106020908152604091829020805460ff19168515159081179091558251938452908301527f437c058b19f0e29bbd65e1b03d0c97fac5d0adef2e4c7cbd74a3a99ab950839691015b60405180910390a15050565b610a57611540565b6001600160a01b038216610aad5760405162461bcd60e51b815260206004820152601d60248201527f57616c6c65742061646472657373206973206e6f7420636f72726563740000006044820152606401610770565b6001600160a01b0382165f81815260126020908152604091829020805460ff19168515159081179091558251938452908301527f361ed0d2226ec5775a5c8defea566d789d1bc8376c7e2d0ad0bb56906fc21dbf9101610a43565b610b10611540565b610b195f61159a565b565b610b23611540565b6001600160a01b038116610b795760405162461bcd60e51b815260206004820152601b60248201527f44414f20636f6e7472616374206973206e6f7420636f727265637400000000006044820152606401610770565b600d546001600160a01b031615610bd25760405162461bcd60e51b815260206004820152601c60248201527f44414f20636f6e747261637420616c72656164792075706461746564000000006044820152606401610770565b600d80546001600160a01b0319166001600160a01b0383169081179091556040519081527f27e5639c6e029d84a7d7b95407cb7ef188dde13b0d088444ab6a53560e726eec90602001610853565b60606004805461065990611a89565b610c37611540565b600254811115610c955760405162461bcd60e51b8152602060048201526024808201527f416d6f756e742069732067726561746572207468616e20746f74616c2073757060448201526338363c9760e11b6064820152608401610770565b683635c9adc5dea00000811015610cfd5760405162461bcd60e51b815260206004820152602660248201527f416d6f756e74206973206c657373207468616e203130303020547572626f20546044820152653932b0ba399760d11b6064820152608401610770565b60098190556040518181527fdc0e1857a52d77aeae7d67c2ef590eeb501519a07de8d4b8a436aad80437ee5590602001610853565b5f3381610d3f8286610ebd565b905083811015610d9f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610770565b61070b8286868403610f60565b5f336106e78185856110fb565b610dc1611540565b6001600160a01b038116610e175760405162461bcd60e51b815260206004820152601f60248201527f4d61726b6574696e672077616c6c6574206973206e6f7420636f7272656374006044820152606401610770565b6001600160a01b0381163b15610e6f5760405162461bcd60e51b815260206004820152601f60248201527f436f6e74726163742061646472657373206973206e6f7420616c6c6f776564006044820152606401610770565b600f80546001600160a01b0319166001600160a01b0383169081179091556040519081527fbf86feedee5b30c30a8243bd21deebb704d141478d39b1be04fe5ee739f214e790602001610853565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610eef611540565b6001600160a01b038116610f545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610770565b610f5d8161159a565b50565b6001600160a01b038316610fc25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610770565b6001600160a01b0382166110235760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610770565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f61108e8484610ebd565b90505f1981146110f557818110156110e85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610770565b6110f58484848403610f60565b50505050565b600954305f90815260208190526040902054600b549111159060ff161580156111215750805b801561113a5750600e546001600160a01b038481169116145b1561131057600b805460ff19166001179055600954611158906115eb565b60065460075447915f9161116c9190611ad5565b90505f816007548461117e9190611ae8565b6111889190611aff565b90505f6111958285611b1e565b9050811561124a57600d546040515f916001600160a01b03169084908381818185875af1925050503d805f81146111e7576040519150601f19603f3d011682016040523d82523d5f602084013e6111ec565b606091505b50509050806112485760405162461bcd60e51b815260206004820152602260248201527f4661696c656420746f2073656e6420455448206f6e2044414f20636f6e74726160448201526118dd60f21b6064820152608401610770565b505b801561130157600f546040515f916001600160a01b03169083908381818185875af1925050503d805f811461129a576040519150601f19603f3d011682016040523d82523d5f602084013e61129f565b606091505b50509050806112ff5760405162461bcd60e51b815260206004820152602660248201527f4661696c656420746f2073656e6420455448206f6e206d61726b6574696e67206044820152651dd85b1b195d60d21b6064820152608401610770565b505b5050600b805460ff1916905550505b6001600160a01b0384165f9081526010602052604090205460ff168061134d57506001600160a01b0383165f9081526010602052604090205460ff165b156113cb576001600160a01b0383165f9081526012602052604090205460ff166113bb57600a5482611393856001600160a01b03165f9081526020819052604090205490565b61139d9190611ad5565b11156113bb5760405162461bcd60e51b815260040161077090611b31565b6113c6848484611756565b6110f5565b5f6127106006546007546113df9190611ad5565b6113e99085611ae8565b6113f39190611aff565b90505f612710600854856114079190611ae8565b6114119190611aff565b6001600160a01b0386165f9081526012602052604090205490915060ff1661149157600a546114408284611ad5565b8561145f886001600160a01b03165f9081526020819052604090205490565b6114699190611ad5565b6114739190611b1e565b11156114915760405162461bcd60e51b815260040161077090611b31565b81156114a2576114a2863084611756565b801561151a57600c546114c09087906001600160a01b031683611756565b600c546040516328f582d360e11b8152600481018390526001600160a01b03909116906351eb05a6906024015f604051808303815f87803b158015611503575f80fd5b505af1158015611515573d5f803e3d5ffd5b505050505b61153886866115298486611ad5565b6115339088611b1e565b611756565b505050505050565b6005546001600160a01b03163314610b195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610770565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061161e5761161e611b7c565b60200260200101906001600160a01b031690816001600160a01b031681525050600b60019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561168f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b39190611b90565b816001815181106116c6576116c6611b7c565b6001600160a01b039283166020918202929092010152600b546116f191309161010090041684610f60565b600b5460405163791ac94760e01b81526101009091046001600160a01b03169063791ac9479061172d9085905f90869030904290600401611bab565b5f604051808303815f87803b158015611744575f80fd5b505af1158015611538573d5f803e3d5ffd5b6001600160a01b0383166117ba5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610770565b6001600160a01b03821661181c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610770565b6001600160a01b0383165f90815260208190526040902054818110156118935760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610770565b6001600160a01b038085165f908152602081905260408082208585039055918516815290812080548492906118c9908490611ad5565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161191591815260200190565b60405180910390a36110f5565b5f6020808352835180828501525f5b8181101561194d57858101830151858201604001528201611931565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610f5d575f80fd5b5f8060408385031215611992575f80fd5b823561199d8161196d565b946020939093013593505050565b5f805f606084860312156119bd575f80fd5b83356119c88161196d565b925060208401356119d88161196d565b929592945050506040919091013590565b5f602082840312156119f9575f80fd5b8135611a048161196d565b9392505050565b5f60208284031215611a1b575f80fd5b5035919050565b5f8060408385031215611a33575f80fd5b8235611a3e8161196d565b915060208301358015158114611a52575f80fd5b809150509250929050565b5f8060408385031215611a6e575f80fd5b8235611a798161196d565b91506020830135611a528161196d565b600181811c90821680611a9d57607f821691505b602082108103611abb57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106ed576106ed611ac1565b80820281158282048414176106ed576106ed611ac1565b5f82611b1957634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156106ed576106ed611ac1565b6020808252602b908201527f5472616e7366657220616d6f756e742065786365656473207468652060686f6c60408201526a3234b733a634b6b4ba301760a91b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611ba0575f80fd5b8151611a048161196d565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b81811015611bf95784516001600160a01b031683529383019391830191600101611bd4565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122081ca8de1f0c5263b354d045a78dd687f2a497f4ac87a0ff968c96fc997acd62864736f6c63430008140033

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.