ETH Price: $3,233.80 (-3.63%)

Token

Bubsy AI (BUBSY)
 

Overview

Max Total Supply

70,000,000 BUBSY

Holders

1,298 (0.00%)

Market

Price

$0.04 @ 0.000013 ETH (-10.23%)

Onchain Market Cap

$2,876,366.50

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
MetaMask: Swaps Spender
Balance
0 BUBSY

Value
$0.00
0x74de5d4fcbf63e00296fd95d33236b9794016631
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Bubsy is a next-generation, AI-driven ecosystem comprising both a bot and a DApp.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Bubsy

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : Bubsy.sol
//
//
//
//
//
//			                 Humans are overrated 
//							                  - Bubsy.ai
//
//
//
//
//
// 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 IDEXReward {
   function updatePool() external payable;
   function contractStatus() external pure returns (bool);
   function isWhitelistForSendFund(address fundContract) external pure returns (bool);
}

contract Bubsy is ERC20, Ownable {
	address public pair;
	
	uint256 public buyFee;
	uint256 public sellFee;
	
	uint256 public swapThreshold;
	uint256 public rewardThreshold;
	uint256 public tokenLimitPerWallet;
	
	address[3] private treasury;
	uint256[4] private fundShare;
	
	bool private swapping;
	IDEXRouter public router;
	IDEXReward public reward;
	
	mapping(address => bool) public isWalletTaxFree;
	mapping(address => bool) public isLiquidityPair;
	mapping(address => bool) public isWalletExemptFromLimit;
	
	event BuyFeeUpdated(uint256 newFee);
	event SellFeeUpdated(uint256 newFee);
	event WalletExemptFromTokenLimit(address wallet, bool value);
	event SwapingThresholdUpdated(uint256 amount);
	event RewardThresholdUpdated(uint256 amount);
	event RewardAddressUpdated(IDEXReward newAddress);
	event ETHRescueFromContract(address receiver, uint256 ETH);
	event TokenPerWalletLimitUpdated(uint256 amount);
	event NewLiquidityPairUpdated(address pair, bool value);
	event WalletExemptFromFee(address wallet, bool value);
	event TreasuryWalletUpdated(address treasury1, address treasury2, address treasury3);
	event FundShareUpdated(uint256 rewardShare, uint256 treasury1Share, uint256 treasury2Share, uint256 treasury3Share);
	
    constructor(address _owner) ERC20("Bubsy AI", "BUBSY") {
	   require(_owner != address(0), "Owner:: zero address");
	   
	   router = IDEXRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
       pair = IDEXFactory(router.factory()).createPair(address(this), router.WETH());
	   
	   treasury = [address(0x942b2c688cD5C20d33B8525c13472ca6a83670C0), address(0x5249c423FDB7D5a6eb74747A6baE11e4e8CCC70E), address(0x8a8dBA4Fcc1dF3D02C400c14DA4B7B97bc55A9c9)];
	   fundShare = [2000, 3000, 3000, 2000];
	   
	   buyFee = 500;
	   sellFee = 500;
	   
	   isLiquidityPair[address(pair)] = true;
	   
	   isWalletTaxFree[address(this)] = true;
	   isWalletTaxFree[address(_owner)] = true;
	   
	   isWalletExemptFromLimit[address(this)] = true;
	   isWalletExemptFromLimit[address(pair)] = true;
	   isWalletExemptFromLimit[address(_owner)] = true;
	   
	   rewardThreshold = 1 * 10**18;
	   swapThreshold = 10000 * (10**18);
	   tokenLimitPerWallet = 70000 * (10**18);
	   
       _mint(address(_owner), 70000000 * (10**18));
	   _transferOwnership(address(_owner));
    }
	
	receive() external payable {}
	
	function updateSellFee(uint256 newSellFee) external onlyOwner {
	   require(newSellFee <= 9000 , "Max fee limit reached for 'Sell'");
	   
	   sellFee = newSellFee;
	   emit SellFeeUpdated(newSellFee);
	}
	
	function updateBuyFee(uint256 newBuyFee) external onlyOwner {
	   require(newBuyFee <= 9000 , "Max fee limit reached for 'Buy'");
	   
	   buyFee = newBuyFee;
	   emit BuyFeeUpdated(newBuyFee);
	}
	
	function exemptWalletFromTokenLimit(address wallet, bool status) external onlyOwner {
	   require(wallet != address(0), "Zero address");
	   require(isWalletExemptFromLimit[wallet] != status, "Wallet is already the value of 'status'");
	   
	   isWalletExemptFromLimit[wallet] = status;
	   emit WalletExemptFromTokenLimit(wallet, status);
	}
	
	function exemptWalletFromFee(address wallet, bool status) external onlyOwner{
        require(wallet != address(0), "Zero address");
		require(isWalletTaxFree[wallet] != status, "Wallet is already the value of 'status'");
		
		isWalletTaxFree[wallet] = status;
        emit WalletExemptFromFee(wallet, status);
    }
	
	function updateSwappingThreshold(uint256 amount) external onlyOwner {
  	    require(amount <= totalSupply(), "Amount cannot be over the total supply.");
		require(amount >= (100 * 10**18), "Amount cannot be less than `100` token.");
		
		swapThreshold = amount;
		emit SwapingThresholdUpdated(amount);
  	}
	
	function updateRewardThreshold(uint256 amount) external onlyOwner {
		require(amount >= 0, "Amount cannot be zero");
		
		rewardThreshold = amount;
		emit RewardThresholdUpdated(amount);
  	}
	
	function updateLiquidityPair(address newPair, bool value) external onlyOwner {
        require(newPair != address(0), "Zero address");
		require(isLiquidityPair[newPair] != value, "Pair is already the value of 'value'");
		
        isLiquidityPair[newPair] = value;
        emit NewLiquidityPairUpdated(newPair, value);
    }
	
	function updateTokenLimitPerWallet(uint256 amount) external onlyOwner {
		require(amount <= totalSupply(), "Amount cannot be over the total supply.");
		require(amount >= 100 * (10**18), "Minimum `100` token per wallet required");
		
		tokenLimitPerWallet = amount;
		emit TokenPerWalletLimitUpdated(amount);
	}
	
	function updateTreasuryWallet(address[3] calldata newWallet) external onlyOwner {
		require(newWallet[0] != address(0) && newWallet[1] != address(0) && newWallet[2] != address(0), "Zero address");
		require(!isContract(newWallet[0]) && !isContract(newWallet[1]) && !isContract(newWallet[2]), "Contract address is not allowed");
		
		treasury[0] = address(newWallet[0]);
		treasury[1] = address(newWallet[1]);
		treasury[2] = address(newWallet[2]);
        emit TreasuryWalletUpdated(address(newWallet[0]), address(newWallet[1]), address(newWallet[2]));
    }
	
	function updateFundShare(uint256[4] calldata newShare) external onlyOwner {
		require(newShare[0] + newShare[1] + newShare[2] + newShare[3] == 10000, "Share is not correct");
		
		fundShare[0] = newShare[0];
		fundShare[1] = newShare[1];
		fundShare[2] = newShare[2];
		fundShare[3] = newShare[3];
        emit FundShareUpdated(newShare[0], newShare[1], newShare[2], newShare[3]);
    }
	
	function updateRewardAddress(IDEXReward newAddress) external onlyOwner {
	    require(address(newAddress) != address(0), "Zero address");
		
	    reward = IDEXReward(newAddress);
		isWalletTaxFree[address(reward)] = true;
		isWalletExemptFromLimit[address(reward)] = true;
	    emit RewardAddressUpdated(newAddress);
    }
	
	function rescueETH(address receiver, uint256 amount) external onlyOwner {
	   require(receiver != address(0), "Zero address");
	   require((address(this).balance) >= amount, "Insufficient ETH balance in contract");
	   
	   payable(address(receiver)).transfer(amount);
	   emit ETHRescueFromContract(address(receiver), amount);
    }
	
	function manualSendReward(uint256 amount) external onlyOwner {
	   require(address(this).balance >= amount, "Insufficient ETH balance in contract");
	   
	   if(isEligibleToDistributeReward())
	   {
		  reward.updatePool{value: amount}();
	   }
    }
	
	function isEligibleToDistributeReward() internal view returns(bool){
	   if(reward.contractStatus() && reward.isWhitelistForSendFund(address(this)) && address(reward) != address(0))
	   {
	       return true;
	   }
	   else
	   {
	       return false;
	   }
	}
	
	function _transfer(address sender, address recipient, uint256 amount) internal override(ERC20) {      
        require(sender != address(0), "transfer from the zero address");
        require(recipient != address(0), "transfer to the zero address");
		
		uint256 contractTokenBalance = balanceOf(address(this));
		bool canSwap = contractTokenBalance >= swapThreshold;
		
		if(!swapping && canSwap && isLiquidityPair[recipient]) 
		{
			swapping = true;
			
			uint256 oldBalance = address(this).balance;
			swapTokensForETH(swapThreshold);
			uint256 newBalance = (address(this).balance) - oldBalance;
			
			uint256 treasury1Share = ((newBalance * fundShare[1]) / 10000);
			uint256 treasury2Share = ((newBalance * fundShare[2]) / 10000);
			uint256 treasury3Share = ((newBalance * fundShare[3]) / 10000);
			
			if(treasury1Share > 0)
			{
			    payable(treasury[0]).transfer(treasury1Share);
			}
			if(treasury2Share > 0)
			{
			    payable(treasury[1]).transfer(treasury2Share);
			}
			if(treasury3Share > 0)
			{
			   payable(treasury[2]).transfer(treasury3Share);
			}
			if(isEligibleToDistributeReward() && address(this).balance >= rewardThreshold)
			{
			   reward.updatePool{value: address(this).balance}();
			}
			swapping = false; 
		}
		
		if(isWalletTaxFree[sender] || isWalletTaxFree[recipient])
		{
		    super._transfer(sender, recipient, amount);
		}
		else
		{
		    uint256 fees;
		    if(isLiquidityPair[recipient])
		    {
		        fees = ((amount * sellFee) / 10000);
		    }
		    else if(isLiquidityPair[sender] && recipient != address(router))
		    {
               fees = ((amount * buyFee) / 10000);	   
		    }
			
			if(!isWalletExemptFromLimit[recipient])
		    {
		       require(((balanceOf(recipient) + amount) - fees) <= tokenLimitPerWallet, "Transfer amount exceeds the `tokenLimitPerWallet`.");   
		    }
		    if(fees > 0) 
		    {
			   super._transfer(sender, address(this), fees);
		    }
		    super._transfer(sender, recipient, amount - fees);
		}
    }
	
	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 : 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 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 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":[{"internalType":"address","name":"_owner","type":"address"}],"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":"uint256","name":"newFee","type":"uint256"}],"name":"BuyFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"ETH","type":"uint256"}],"name":"ETHRescueFromContract","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rewardShare","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"treasury1Share","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"treasury2Share","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"treasury3Share","type":"uint256"}],"name":"FundShareUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"NewLiquidityPairUpdated","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":"contract IDEXReward","name":"newAddress","type":"address"}],"name":"RewardAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardThresholdUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"SellFeeUpdated","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":"TokenPerWalletLimitUpdated","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":"treasury1","type":"address"},{"indexed":false,"internalType":"address","name":"treasury2","type":"address"},{"indexed":false,"internalType":"address","name":"treasury3","type":"address"}],"name":"TreasuryWalletUpdated","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":"WalletExemptFromTokenLimit","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":"buyFee","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":"exemptWalletFromTokenLimit","outputs":[],"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":[{"internalType":"address","name":"","type":"address"}],"name":"isLiquidityPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWalletExemptFromLimit","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"manualSendReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reward","outputs":[{"internalType":"contract IDEXReward","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IDEXRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellFee","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":"tokenLimitPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"uint256","name":"newBuyFee","type":"uint256"}],"name":"updateBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[4]","name":"newShare","type":"uint256[4]"}],"name":"updateFundShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"updateLiquidityPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IDEXReward","name":"newAddress","type":"address"}],"name":"updateRewardAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateRewardThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSellFee","type":"uint256"}],"name":"updateSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateSwappingThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateTokenLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[3]","name":"newWallet","type":"address[3]"}],"name":"updateTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801562000010575f80fd5b5060405162002b1f38038062002b1f833981016040819052620000339162000627565b60405180604001604052806008815260200167427562737920414960c01b81525060405180604001604052806005815260200164425542535960d81b8152508160039081620000839190620006f5565b506004620000928282620006f5565b505050620000af620000a96200044160201b60201c565b62000445565b6001600160a01b0381166200010b5760405162461bcd60e51b815260206004820152601460248201527f4f776e65723a3a207a65726f206164647265737300000000000000000000000060448201526064015b60405180910390fd5b60138054747a250d5630b4cf539739df2c5dacb4c659f2488d00610100600160a81b031990911617908190556040805163c45a015560e01b815290516101009092046001600160a01b03169163c45a0155916004808201926020929091908290030181865afa15801562000181573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001a7919062000627565b6001600160a01b031663c9c6539630601360019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000208573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200022e919062000627565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801562000279573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200029f919062000627565b600680546001600160a01b0319166001600160a01b03929092169190911790556040805160608101825273942b2c688cd5c20d33b8525c13472ca6a83670c08152735249c423fdb7d5a6eb74747a6bae11e4e8ccc70e6020820152738a8dba4fcc1df3d02c400c14da4b7b97bc55a9c9918101919091526200032690600c9060036200057d565b50604080516080810182526107d0808252610bb8602083018190529282019290925260608101919091526200036090600f906004620005da565b506101f46007819055600855600680546001600160a01b039081165f9081526016602090815260408083208054600160ff1991821681179092553080865260158552838620805483168417905588871680875284872080548416851790559086526017909452828520805482168317905595549094168352808320805486168517905590825290208054909216179055670de0b6b3a7640000600a5569021e19e0c9bab2400000600955690ed2b525841adfc00000600b556200042f816a39e7139a8c08fa0600000062000496565b6200043a8162000445565b50620007e3565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620004ee5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000102565b8060025f828254620005019190620007bd565b90915550506001600160a01b0382165f90815260208190526040812080548392906200052f908490620007bd565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b8260038101928215620005c8579160200282015b82811115620005c857825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000591565b50620005d692915062000611565b5090565b8260048101928215620005c8579160200282015b82811115620005c8578251829061ffff16905591602001919060010190620005ee565b5b80821115620005d6575f815560010162000612565b5f6020828403121562000638575f80fd5b81516001600160a01b03811681146200064f575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200067f57607f821691505b6020821081036200069e57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000578575f81815260208120601f850160051c81016020861015620006cc5750805b601f850160051c820191505b81811015620006ed57828155600101620006d8565b505050505050565b81516001600160401b0381111562000711576200071162000656565b62000729816200072284546200066a565b84620006a4565b602080601f8311600181146200075f575f8415620007475750858301515b5f19600386901b1c1916600185901b178555620006ed565b5f85815260208120601f198616915b828110156200078f578886015182559484019460019091019084016200076e565b5085821015620007ad57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620007dd57634e487b7160e01b5f52601160045260245ffd5b92915050565b61232e80620007f15f395ff3fe608060405260043610610220575f3560e01c80635ea4d29c1161011e578063a5042002116100a8578063dcda2d8c1161006d578063dcda2d8c14610652578063dd62ed3e14610671578063e708d84414610690578063f2fde38b146106af578063f887ea40146106ce575f80fd5b8063a5042002146105c1578063a8aa1b31146105e0578063a9059cbb146105ff578063bd2184931461061e578063c2257e6814610633575f80fd5b80638da5cb5b116100ee5780638da5cb5b14610524578063944dd5a21461054157806395d89b411461056057806398c09dbc14610574578063a457c2d7146105a2575f80fd5b80635ea4d29c146104a857806370a08231146104bd578063715018a6146104f1578063870a41fb14610505575f80fd5b80632b14ca56116101aa578063470624021161016f57806347062402146103f95780634f6eec5e1461040e57806350d37cdd1461042d57806352cd410a1461044c5780635c9a05b81461047a575f80fd5b80632b14ca561461036c578063313ce567146103815780633720f1f61461039c57806339509351146103bb578063467abe0a146103da575f80fd5b8063099a04e5116101f0578063099a04e5146102c457806318160ddd146102e35780631d933a4a146102f7578063228cb7331461031657806323b872dd1461034d575f80fd5b80630445b6671461022b57806305a58d071461025357806306fdde0314610274578063095ea7b314610295575f80fd5b3661022757005b5f80fd5b348015610236575f80fd5b5061024060095481565b6040519081526020015b60405180910390f35b34801561025e575f80fd5b5061027261026d366004611ef1565b6106f2565b005b34801561027f575f80fd5b506102886107ca565b60405161024a9190611f08565b3480156102a0575f80fd5b506102b46102af366004611f67565b61085a565b604051901515815260200161024a565b3480156102cf575f80fd5b506102726102de366004611f67565b610873565b3480156102ee575f80fd5b50600254610240565b348015610302575f80fd5b50610272610311366004611ef1565b61093c565b348015610321575f80fd5b50601454610335906001600160a01b031681565b6040516001600160a01b03909116815260200161024a565b348015610358575f80fd5b506102b4610367366004611f91565b6109cb565b348015610377575f80fd5b5061024060085481565b34801561038c575f80fd5b506040516012815260200161024a565b3480156103a7575f80fd5b506102726103b6366004611fcf565b6109ee565b3480156103c6575f80fd5b506102b46103d5366004611f67565b610acf565b3480156103e5575f80fd5b506102726103f4366004611ef1565b610af0565b348015610404575f80fd5b5061024060075481565b348015610419575f80fd5b50610272610428366004612001565b610b7f565b348015610438575f80fd5b50610272610447366004612001565b610c83565b348015610457575f80fd5b506102b4610466366004612038565b60156020525f908152604090205460ff1681565b348015610485575f80fd5b506102b4610494366004612038565b60166020525f908152604090205460ff1681565b3480156104b3575f80fd5b50610240600a5481565b3480156104c8575f80fd5b506102406104d7366004612038565b6001600160a01b03165f9081526020819052604090205490565b3480156104fc575f80fd5b50610272610d4b565b348015610510575f80fd5b5061027261051f366004611ef1565b610d5e565b34801561052f575f80fd5b506005546001600160a01b0316610335565b34801561054c575f80fd5b5061027261055b366004612038565b610dfb565b34801561056b575f80fd5b50610288610eae565b34801561057f575f80fd5b506102b461058e366004612038565b60176020525f908152604090205460ff1681565b3480156105ad575f80fd5b506102b46105bc366004611f67565b610ebd565b3480156105cc575f80fd5b506102726105db36600461205a565b610f37565b3480156105eb575f80fd5b50600654610335906001600160a01b031681565b34801561060a575f80fd5b506102b4610619366004611f67565b61115e565b348015610629575f80fd5b50610240600b5481565b34801561063e575f80fd5b5061027261064d366004612001565b61116b565b34801561065d575f80fd5b5061027261066c366004611ef1565b611233565b34801561067c575f80fd5b5061024061068b366004612079565b611270565b34801561069b575f80fd5b506102726106aa366004611ef1565b61129a565b3480156106ba575f80fd5b506102726106c9366004612038565b611362565b3480156106d9575f80fd5b506013546103359061010090046001600160a01b031681565b6106fa6113d8565b6002548111156107255760405162461bcd60e51b815260040161071c906120a5565b60405180910390fd5b68056bc75e2d6310000081101561078e5760405162461bcd60e51b815260206004820152602760248201527f416d6f756e742063616e6e6f74206265206c657373207468616e206031303060604482015266103a37b5b2b71760c91b606482015260840161071c565b60098190556040518181527fdc0e1857a52d77aeae7d67c2ef590eeb501519a07de8d4b8a436aad80437ee55906020015b60405180910390a150565b6060600380546107d9906120ec565b80601f0160208091040260200160405190810160405280929190818152602001828054610805906120ec565b80156108505780601f1061082757610100808354040283529160200191610850565b820191905f5260205f20905b81548152906001019060200180831161083357829003601f168201915b5050505050905090565b5f33610867818585611432565b60019150505b92915050565b61087b6113d8565b6001600160a01b0382166108a15760405162461bcd60e51b815260040161071c9061211e565b804710156108c15760405162461bcd60e51b815260040161071c90612144565b6040516001600160a01b0383169082156108fc029083905f818181858888f193505050501580156108f4573d5f803e3d5ffd5b50604080516001600160a01b0384168152602081018390527f6c2a9e720617c7f9f1fc74c76b146721ce92a3425aff8fdba90a7fc5aeb36e0e91015b60405180910390a15050565b6109446113d8565b6123288111156109965760405162461bcd60e51b815260206004820181905260248201527f4d617820666565206c696d6974207265616368656420666f72202753656c6c27604482015260640161071c565b60088190556040518181527f495ee53ee22006979ebc689a00ed737d7c13b6419142f82dcaea4ed95ac1e780906020016107bf565b5f336109d8858285611555565b6109e38585856115cd565b506001949350505050565b6109f66113d8565b60608101356040820135610a0f602084013584356121b0565b610a1991906121b0565b610a2391906121b0565b61271014610a6a5760405162461bcd60e51b815260206004820152601460248201527314da185c99481a5cc81b9bdd0818dbdc9c9958dd60621b604482015260640161071c565b8035600f819055602080830135601081905560408085013560118190556060808701356012819055835196875294860193909352908401528201527fa942540dd42c36d5640f3958d039f292548f838ed7086fde3735dd4e7a290aa1906080016107bf565b5f33610867818585610ae18383611270565b610aeb91906121b0565b611432565b610af86113d8565b612328811115610b4a5760405162461bcd60e51b815260206004820152601f60248201527f4d617820666565206c696d6974207265616368656420666f7220274275792700604482015260640161071c565b60078190556040518181527f7c1445c98b278c9970d007fca6048704bcb25af7cc4a04eb56565d9a9f149ca3906020016107bf565b610b876113d8565b6001600160a01b038216610bad5760405162461bcd60e51b815260040161071c9061211e565b6001600160a01b0382165f9081526016602052604090205481151560ff909116151503610c285760405162461bcd60e51b8152602060048201526024808201527f5061697220697320616c7265616479207468652076616c7565206f66202776616044820152636c75652760e01b606482015260840161071c565b6001600160a01b0382165f81815260166020908152604091829020805460ff19168515159081179091558251938452908301527f036ec357b1589d19ef97b24895409d8bddd5c552c1b6601089052d12fd8090199101610930565b610c8b6113d8565b6001600160a01b038216610cb15760405162461bcd60e51b815260040161071c9061211e565b6001600160a01b0382165f9081526015602052604090205481151560ff909116151503610cf05760405162461bcd60e51b815260040161071c906121c3565b6001600160a01b0382165f81815260156020908152604091829020805460ff19168515159081179091558251938452908301527f437c058b19f0e29bbd65e1b03d0c97fac5d0adef2e4c7cbd74a3a99ab95083969101610930565b610d536113d8565b610d5c5f611a79565b565b610d666113d8565b80471015610d865760405162461bcd60e51b815260040161071c90612144565b610d8e611aca565b15610df85760145f9054906101000a90046001600160a01b03166001600160a01b031663e3161ddd826040518263ffffffff1660e01b81526004015f604051808303818588803b158015610de0575f80fd5b505af1158015610df2573d5f803e3d5ffd5b50505050505b50565b610e036113d8565b6001600160a01b038116610e295760405162461bcd60e51b815260040161071c9061211e565b601480546001600160a01b0319166001600160a01b0383811691821783555f828152601560209081526040808320805460ff199081166001908117909255965490941683526017825291829020805490951690921790935591519081527f97e1f675f69047e4b663d3b795841c629240f48eb403a6337e5367c4405737e091016107bf565b6060600480546107d9906120ec565b5f3381610eca8286611270565b905083811015610f2a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161071c565b6109e38286868403611432565b610f3f6113d8565b5f610f4d6020830183612038565b6001600160a01b031614158015610f7c57505f610f706040830160208401612038565b6001600160a01b031614155b8015610fa057505f610f946060830160408401612038565b6001600160a01b031614155b610fbc5760405162461bcd60e51b815260040161071c9061211e565b610fe4815f5b602002016020810190610fd59190612038565b6001600160a01b03163b151590565b158015610ff95750610ff7816001610fc2565b155b801561100d575061100b816002610fc2565b155b6110595760405162461bcd60e51b815260206004820152601f60248201527f436f6e74726163742061646472657373206973206e6f7420616c6c6f77656400604482015260640161071c565b6110666020820182612038565b600c80546001600160a01b0319166001600160a01b03929092169190911790556110966040820160208301612038565b600d80546001600160a01b0319166001600160a01b03929092169190911790556110c66060820160408301612038565b600e80546001600160a01b0319166001600160a01b03929092169190911790557fe72dee02f1a3f0fd050525c82cd90d8bbfe847cc79459950fa24b65b2bb070496111146020830183612038565b6111246040840160208501612038565b6111346060850160408601612038565b604080516001600160a01b03948516815292841660208401529216918101919091526060016107bf565b5f336108678185856115cd565b6111736113d8565b6001600160a01b0382166111995760405162461bcd60e51b815260040161071c9061211e565b6001600160a01b0382165f9081526017602052604090205481151560ff9091161515036111d85760405162461bcd60e51b815260040161071c906121c3565b6001600160a01b0382165f81815260176020908152604091829020805460ff19168515159081179091558251938452908301527f6f4fa3169f579919acc48649f61d516b93af2fa9bfd366bf276730554972041c9101610930565b61123b6113d8565b600a8190556040518181527f4b1c0e842ce5a03194aa6fc19ac4e6809030f1bd08dc60b39de5cba1cdc60309906020016107bf565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6112a26113d8565b6002548111156112c45760405162461bcd60e51b815260040161071c906120a5565b68056bc75e2d6310000081101561132d5760405162461bcd60e51b815260206004820152602760248201527f4d696e696d756d20603130306020746f6b656e207065722077616c6c65742072604482015266195c5d5a5c995960ca1b606482015260840161071c565b600b8190556040518181527f8db55ad0cf120daf7f6ca41d31df795f430f79e9d42c2846a4055bf65c117c20906020016107bf565b61136a6113d8565b6001600160a01b0381166113cf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161071c565b610df881611a79565b6005546001600160a01b03163314610d5c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161071c565b6001600160a01b0383166114945760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161071c565b6001600160a01b0382166114f55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161071c565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6115608484611270565b90505f1981146115c757818110156115ba5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161071c565b6115c78484848403611432565b50505050565b6001600160a01b0383166116235760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f20616464726573730000604482015260640161071c565b6001600160a01b0382166116795760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f206164647265737300000000604482015260640161071c565b305f90815260208190526040902054600954601354908210159060ff161580156116a05750805b80156116c357506001600160a01b0384165f9081526016602052604090205460ff165b1561189d576013805460ff1916600117905560095447906116e390611bcc565b5f6116ee824761220a565b90505f612710600f60010154611704908461221d565b61170e9190612234565b90505f612710600f60020154611724908561221d565b61172e9190612234565b90505f612710600f60030154611744908661221d565b61174e9190612234565b9050821561178f57600c546040516001600160a01b03909116906108fc8515029085905f818181858888f1935050505015801561178d573d5f803e3d5ffd5b505b81156117ce57600d546040516001600160a01b03909116906108fc8415029084905f818181858888f193505050501580156117cc573d5f803e3d5ffd5b505b801561180d57600e546040516001600160a01b03909116906108fc8315029083905f818181858888f1935050505015801561180b573d5f803e3d5ffd5b505b611815611aca565b80156118235750600a544710155b1561188d5760145f9054906101000a90046001600160a01b03166001600160a01b031663e3161ddd476040518263ffffffff1660e01b81526004015f604051808303818588803b158015611875575f80fd5b505af1158015611887573d5f803e3d5ffd5b50505050505b50506013805460ff191690555050505b6001600160a01b0385165f9081526015602052604090205460ff16806118da57506001600160a01b0384165f9081526015602052604090205460ff165b156118ef576118ea858585611d25565b611a72565b6001600160a01b0384165f9081526016602052604081205460ff16156119315761271060085485611920919061221d565b61192a9190612234565b905061198e565b6001600160a01b0386165f9081526016602052604090205460ff16801561196b57506013546001600160a01b038681166101009092041614155b1561198e5761271060075485611981919061221d565b61198b9190612234565b90505b6001600160a01b0385165f9081526017602052604090205460ff16611a4d57600b5481856119d0886001600160a01b03165f9081526020819052604090205490565b6119da91906121b0565b6119e4919061220a565b1115611a4d5760405162461bcd60e51b815260206004820152603260248201527f5472616e7366657220616d6f756e742065786365656473207468652060746f6b60448201527132b72634b6b4ba2832b92bb0b63632ba301760711b606482015260840161071c565b8015611a5e57611a5e863083611d25565b610df28686611a6d848861220a565b611d25565b5050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b60145460408051636377106960e11b815290515f926001600160a01b03169163c6ee20d29160048083019260209291908290030181865afa158015611b11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b359190612253565b8015611ba657506014546040516337d46ea760e11b81523060048201526001600160a01b0390911690636fa8dd4e90602401602060405180830381865afa158015611b82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ba69190612253565b8015611bbc57506014546001600160a01b031615155b15611bc75750600190565b505f90565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110611bff57611bff612188565b60200260200101906001600160a01b031690816001600160a01b031681525050601360019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c70573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c94919061226e565b81600181518110611ca757611ca7612188565b6001600160a01b039283166020918202929092010152601354611cd291309161010090041684611432565b60135460405163791ac94760e01b81526101009091046001600160a01b03169063791ac94790611d0e9085905f90869030904290600401612289565b5f604051808303815f87803b158015610de0575f80fd5b6001600160a01b038316611d895760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161071c565b6001600160a01b038216611deb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161071c565b6001600160a01b0383165f9081526020819052604090205481811015611e625760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161071c565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290611e989084906121b0565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ee491815260200190565b60405180910390a36115c7565b5f60208284031215611f01575f80fd5b5035919050565b5f6020808352835180828501525f5b81811015611f3357858101830151858201604001528201611f17565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610df8575f80fd5b5f8060408385031215611f78575f80fd5b8235611f8381611f53565b946020939093013593505050565b5f805f60608486031215611fa3575f80fd5b8335611fae81611f53565b92506020840135611fbe81611f53565b929592945050506040919091013590565b5f60808284031215611fdf575f80fd5b82608083011115611fee575f80fd5b50919050565b8015158114610df8575f80fd5b5f8060408385031215612012575f80fd5b823561201d81611f53565b9150602083013561202d81611ff4565b809150509250929050565b5f60208284031215612048575f80fd5b813561205381611f53565b9392505050565b5f6060828403121561206a575f80fd5b82606083011115611fee575f80fd5b5f806040838503121561208a575f80fd5b823561209581611f53565b9150602083013561202d81611f53565b60208082526027908201527f416d6f756e742063616e6e6f74206265206f7665722074686520746f74616c2060408201526639bab838363c9760c91b606082015260800190565b600181811c9082168061210057607f821691505b602082108103611fee57634e487b7160e01b5f52602260045260245ffd5b6020808252600c908201526b5a65726f206164647265737360a01b604082015260600190565b60208082526024908201527f496e73756666696369656e74204554482062616c616e636520696e20636f6e746040820152631c9858dd60e21b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b8082018082111561086d5761086d61219c565b60208082526027908201527f57616c6c657420697320616c7265616479207468652076616c7565206f6620276040820152667374617475732760c81b606082015260800190565b8181038181111561086d5761086d61219c565b808202811582820484141761086d5761086d61219c565b5f8261224e57634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215612263575f80fd5b815161205381611ff4565b5f6020828403121561227e575f80fd5b815161205381611f53565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156122d75784516001600160a01b0316835293830193918301916001016122b2565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122084a5f3b6513bc62bc80e6c2cf7032afcc76f0ef24ffdc620a33f65cec7bbc0be64736f6c634300081400330000000000000000000000008c8707cb8455e2c8680aab29a099ba2fba6572eb

Deployed Bytecode

0x608060405260043610610220575f3560e01c80635ea4d29c1161011e578063a5042002116100a8578063dcda2d8c1161006d578063dcda2d8c14610652578063dd62ed3e14610671578063e708d84414610690578063f2fde38b146106af578063f887ea40146106ce575f80fd5b8063a5042002146105c1578063a8aa1b31146105e0578063a9059cbb146105ff578063bd2184931461061e578063c2257e6814610633575f80fd5b80638da5cb5b116100ee5780638da5cb5b14610524578063944dd5a21461054157806395d89b411461056057806398c09dbc14610574578063a457c2d7146105a2575f80fd5b80635ea4d29c146104a857806370a08231146104bd578063715018a6146104f1578063870a41fb14610505575f80fd5b80632b14ca56116101aa578063470624021161016f57806347062402146103f95780634f6eec5e1461040e57806350d37cdd1461042d57806352cd410a1461044c5780635c9a05b81461047a575f80fd5b80632b14ca561461036c578063313ce567146103815780633720f1f61461039c57806339509351146103bb578063467abe0a146103da575f80fd5b8063099a04e5116101f0578063099a04e5146102c457806318160ddd146102e35780631d933a4a146102f7578063228cb7331461031657806323b872dd1461034d575f80fd5b80630445b6671461022b57806305a58d071461025357806306fdde0314610274578063095ea7b314610295575f80fd5b3661022757005b5f80fd5b348015610236575f80fd5b5061024060095481565b6040519081526020015b60405180910390f35b34801561025e575f80fd5b5061027261026d366004611ef1565b6106f2565b005b34801561027f575f80fd5b506102886107ca565b60405161024a9190611f08565b3480156102a0575f80fd5b506102b46102af366004611f67565b61085a565b604051901515815260200161024a565b3480156102cf575f80fd5b506102726102de366004611f67565b610873565b3480156102ee575f80fd5b50600254610240565b348015610302575f80fd5b50610272610311366004611ef1565b61093c565b348015610321575f80fd5b50601454610335906001600160a01b031681565b6040516001600160a01b03909116815260200161024a565b348015610358575f80fd5b506102b4610367366004611f91565b6109cb565b348015610377575f80fd5b5061024060085481565b34801561038c575f80fd5b506040516012815260200161024a565b3480156103a7575f80fd5b506102726103b6366004611fcf565b6109ee565b3480156103c6575f80fd5b506102b46103d5366004611f67565b610acf565b3480156103e5575f80fd5b506102726103f4366004611ef1565b610af0565b348015610404575f80fd5b5061024060075481565b348015610419575f80fd5b50610272610428366004612001565b610b7f565b348015610438575f80fd5b50610272610447366004612001565b610c83565b348015610457575f80fd5b506102b4610466366004612038565b60156020525f908152604090205460ff1681565b348015610485575f80fd5b506102b4610494366004612038565b60166020525f908152604090205460ff1681565b3480156104b3575f80fd5b50610240600a5481565b3480156104c8575f80fd5b506102406104d7366004612038565b6001600160a01b03165f9081526020819052604090205490565b3480156104fc575f80fd5b50610272610d4b565b348015610510575f80fd5b5061027261051f366004611ef1565b610d5e565b34801561052f575f80fd5b506005546001600160a01b0316610335565b34801561054c575f80fd5b5061027261055b366004612038565b610dfb565b34801561056b575f80fd5b50610288610eae565b34801561057f575f80fd5b506102b461058e366004612038565b60176020525f908152604090205460ff1681565b3480156105ad575f80fd5b506102b46105bc366004611f67565b610ebd565b3480156105cc575f80fd5b506102726105db36600461205a565b610f37565b3480156105eb575f80fd5b50600654610335906001600160a01b031681565b34801561060a575f80fd5b506102b4610619366004611f67565b61115e565b348015610629575f80fd5b50610240600b5481565b34801561063e575f80fd5b5061027261064d366004612001565b61116b565b34801561065d575f80fd5b5061027261066c366004611ef1565b611233565b34801561067c575f80fd5b5061024061068b366004612079565b611270565b34801561069b575f80fd5b506102726106aa366004611ef1565b61129a565b3480156106ba575f80fd5b506102726106c9366004612038565b611362565b3480156106d9575f80fd5b506013546103359061010090046001600160a01b031681565b6106fa6113d8565b6002548111156107255760405162461bcd60e51b815260040161071c906120a5565b60405180910390fd5b68056bc75e2d6310000081101561078e5760405162461bcd60e51b815260206004820152602760248201527f416d6f756e742063616e6e6f74206265206c657373207468616e206031303060604482015266103a37b5b2b71760c91b606482015260840161071c565b60098190556040518181527fdc0e1857a52d77aeae7d67c2ef590eeb501519a07de8d4b8a436aad80437ee55906020015b60405180910390a150565b6060600380546107d9906120ec565b80601f0160208091040260200160405190810160405280929190818152602001828054610805906120ec565b80156108505780601f1061082757610100808354040283529160200191610850565b820191905f5260205f20905b81548152906001019060200180831161083357829003601f168201915b5050505050905090565b5f33610867818585611432565b60019150505b92915050565b61087b6113d8565b6001600160a01b0382166108a15760405162461bcd60e51b815260040161071c9061211e565b804710156108c15760405162461bcd60e51b815260040161071c90612144565b6040516001600160a01b0383169082156108fc029083905f818181858888f193505050501580156108f4573d5f803e3d5ffd5b50604080516001600160a01b0384168152602081018390527f6c2a9e720617c7f9f1fc74c76b146721ce92a3425aff8fdba90a7fc5aeb36e0e91015b60405180910390a15050565b6109446113d8565b6123288111156109965760405162461bcd60e51b815260206004820181905260248201527f4d617820666565206c696d6974207265616368656420666f72202753656c6c27604482015260640161071c565b60088190556040518181527f495ee53ee22006979ebc689a00ed737d7c13b6419142f82dcaea4ed95ac1e780906020016107bf565b5f336109d8858285611555565b6109e38585856115cd565b506001949350505050565b6109f66113d8565b60608101356040820135610a0f602084013584356121b0565b610a1991906121b0565b610a2391906121b0565b61271014610a6a5760405162461bcd60e51b815260206004820152601460248201527314da185c99481a5cc81b9bdd0818dbdc9c9958dd60621b604482015260640161071c565b8035600f819055602080830135601081905560408085013560118190556060808701356012819055835196875294860193909352908401528201527fa942540dd42c36d5640f3958d039f292548f838ed7086fde3735dd4e7a290aa1906080016107bf565b5f33610867818585610ae18383611270565b610aeb91906121b0565b611432565b610af86113d8565b612328811115610b4a5760405162461bcd60e51b815260206004820152601f60248201527f4d617820666565206c696d6974207265616368656420666f7220274275792700604482015260640161071c565b60078190556040518181527f7c1445c98b278c9970d007fca6048704bcb25af7cc4a04eb56565d9a9f149ca3906020016107bf565b610b876113d8565b6001600160a01b038216610bad5760405162461bcd60e51b815260040161071c9061211e565b6001600160a01b0382165f9081526016602052604090205481151560ff909116151503610c285760405162461bcd60e51b8152602060048201526024808201527f5061697220697320616c7265616479207468652076616c7565206f66202776616044820152636c75652760e01b606482015260840161071c565b6001600160a01b0382165f81815260166020908152604091829020805460ff19168515159081179091558251938452908301527f036ec357b1589d19ef97b24895409d8bddd5c552c1b6601089052d12fd8090199101610930565b610c8b6113d8565b6001600160a01b038216610cb15760405162461bcd60e51b815260040161071c9061211e565b6001600160a01b0382165f9081526015602052604090205481151560ff909116151503610cf05760405162461bcd60e51b815260040161071c906121c3565b6001600160a01b0382165f81815260156020908152604091829020805460ff19168515159081179091558251938452908301527f437c058b19f0e29bbd65e1b03d0c97fac5d0adef2e4c7cbd74a3a99ab95083969101610930565b610d536113d8565b610d5c5f611a79565b565b610d666113d8565b80471015610d865760405162461bcd60e51b815260040161071c90612144565b610d8e611aca565b15610df85760145f9054906101000a90046001600160a01b03166001600160a01b031663e3161ddd826040518263ffffffff1660e01b81526004015f604051808303818588803b158015610de0575f80fd5b505af1158015610df2573d5f803e3d5ffd5b50505050505b50565b610e036113d8565b6001600160a01b038116610e295760405162461bcd60e51b815260040161071c9061211e565b601480546001600160a01b0319166001600160a01b0383811691821783555f828152601560209081526040808320805460ff199081166001908117909255965490941683526017825291829020805490951690921790935591519081527f97e1f675f69047e4b663d3b795841c629240f48eb403a6337e5367c4405737e091016107bf565b6060600480546107d9906120ec565b5f3381610eca8286611270565b905083811015610f2a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161071c565b6109e38286868403611432565b610f3f6113d8565b5f610f4d6020830183612038565b6001600160a01b031614158015610f7c57505f610f706040830160208401612038565b6001600160a01b031614155b8015610fa057505f610f946060830160408401612038565b6001600160a01b031614155b610fbc5760405162461bcd60e51b815260040161071c9061211e565b610fe4815f5b602002016020810190610fd59190612038565b6001600160a01b03163b151590565b158015610ff95750610ff7816001610fc2565b155b801561100d575061100b816002610fc2565b155b6110595760405162461bcd60e51b815260206004820152601f60248201527f436f6e74726163742061646472657373206973206e6f7420616c6c6f77656400604482015260640161071c565b6110666020820182612038565b600c80546001600160a01b0319166001600160a01b03929092169190911790556110966040820160208301612038565b600d80546001600160a01b0319166001600160a01b03929092169190911790556110c66060820160408301612038565b600e80546001600160a01b0319166001600160a01b03929092169190911790557fe72dee02f1a3f0fd050525c82cd90d8bbfe847cc79459950fa24b65b2bb070496111146020830183612038565b6111246040840160208501612038565b6111346060850160408601612038565b604080516001600160a01b03948516815292841660208401529216918101919091526060016107bf565b5f336108678185856115cd565b6111736113d8565b6001600160a01b0382166111995760405162461bcd60e51b815260040161071c9061211e565b6001600160a01b0382165f9081526017602052604090205481151560ff9091161515036111d85760405162461bcd60e51b815260040161071c906121c3565b6001600160a01b0382165f81815260176020908152604091829020805460ff19168515159081179091558251938452908301527f6f4fa3169f579919acc48649f61d516b93af2fa9bfd366bf276730554972041c9101610930565b61123b6113d8565b600a8190556040518181527f4b1c0e842ce5a03194aa6fc19ac4e6809030f1bd08dc60b39de5cba1cdc60309906020016107bf565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6112a26113d8565b6002548111156112c45760405162461bcd60e51b815260040161071c906120a5565b68056bc75e2d6310000081101561132d5760405162461bcd60e51b815260206004820152602760248201527f4d696e696d756d20603130306020746f6b656e207065722077616c6c65742072604482015266195c5d5a5c995960ca1b606482015260840161071c565b600b8190556040518181527f8db55ad0cf120daf7f6ca41d31df795f430f79e9d42c2846a4055bf65c117c20906020016107bf565b61136a6113d8565b6001600160a01b0381166113cf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161071c565b610df881611a79565b6005546001600160a01b03163314610d5c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161071c565b6001600160a01b0383166114945760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161071c565b6001600160a01b0382166114f55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161071c565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6115608484611270565b90505f1981146115c757818110156115ba5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161071c565b6115c78484848403611432565b50505050565b6001600160a01b0383166116235760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f20616464726573730000604482015260640161071c565b6001600160a01b0382166116795760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f206164647265737300000000604482015260640161071c565b305f90815260208190526040902054600954601354908210159060ff161580156116a05750805b80156116c357506001600160a01b0384165f9081526016602052604090205460ff165b1561189d576013805460ff1916600117905560095447906116e390611bcc565b5f6116ee824761220a565b90505f612710600f60010154611704908461221d565b61170e9190612234565b90505f612710600f60020154611724908561221d565b61172e9190612234565b90505f612710600f60030154611744908661221d565b61174e9190612234565b9050821561178f57600c546040516001600160a01b03909116906108fc8515029085905f818181858888f1935050505015801561178d573d5f803e3d5ffd5b505b81156117ce57600d546040516001600160a01b03909116906108fc8415029084905f818181858888f193505050501580156117cc573d5f803e3d5ffd5b505b801561180d57600e546040516001600160a01b03909116906108fc8315029083905f818181858888f1935050505015801561180b573d5f803e3d5ffd5b505b611815611aca565b80156118235750600a544710155b1561188d5760145f9054906101000a90046001600160a01b03166001600160a01b031663e3161ddd476040518263ffffffff1660e01b81526004015f604051808303818588803b158015611875575f80fd5b505af1158015611887573d5f803e3d5ffd5b50505050505b50506013805460ff191690555050505b6001600160a01b0385165f9081526015602052604090205460ff16806118da57506001600160a01b0384165f9081526015602052604090205460ff165b156118ef576118ea858585611d25565b611a72565b6001600160a01b0384165f9081526016602052604081205460ff16156119315761271060085485611920919061221d565b61192a9190612234565b905061198e565b6001600160a01b0386165f9081526016602052604090205460ff16801561196b57506013546001600160a01b038681166101009092041614155b1561198e5761271060075485611981919061221d565b61198b9190612234565b90505b6001600160a01b0385165f9081526017602052604090205460ff16611a4d57600b5481856119d0886001600160a01b03165f9081526020819052604090205490565b6119da91906121b0565b6119e4919061220a565b1115611a4d5760405162461bcd60e51b815260206004820152603260248201527f5472616e7366657220616d6f756e742065786365656473207468652060746f6b60448201527132b72634b6b4ba2832b92bb0b63632ba301760711b606482015260840161071c565b8015611a5e57611a5e863083611d25565b610df28686611a6d848861220a565b611d25565b5050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b60145460408051636377106960e11b815290515f926001600160a01b03169163c6ee20d29160048083019260209291908290030181865afa158015611b11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b359190612253565b8015611ba657506014546040516337d46ea760e11b81523060048201526001600160a01b0390911690636fa8dd4e90602401602060405180830381865afa158015611b82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ba69190612253565b8015611bbc57506014546001600160a01b031615155b15611bc75750600190565b505f90565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110611bff57611bff612188565b60200260200101906001600160a01b031690816001600160a01b031681525050601360019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c70573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c94919061226e565b81600181518110611ca757611ca7612188565b6001600160a01b039283166020918202929092010152601354611cd291309161010090041684611432565b60135460405163791ac94760e01b81526101009091046001600160a01b03169063791ac94790611d0e9085905f90869030904290600401612289565b5f604051808303815f87803b158015610de0575f80fd5b6001600160a01b038316611d895760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161071c565b6001600160a01b038216611deb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161071c565b6001600160a01b0383165f9081526020819052604090205481811015611e625760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161071c565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290611e989084906121b0565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ee491815260200190565b60405180910390a36115c7565b5f60208284031215611f01575f80fd5b5035919050565b5f6020808352835180828501525f5b81811015611f3357858101830151858201604001528201611f17565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610df8575f80fd5b5f8060408385031215611f78575f80fd5b8235611f8381611f53565b946020939093013593505050565b5f805f60608486031215611fa3575f80fd5b8335611fae81611f53565b92506020840135611fbe81611f53565b929592945050506040919091013590565b5f60808284031215611fdf575f80fd5b82608083011115611fee575f80fd5b50919050565b8015158114610df8575f80fd5b5f8060408385031215612012575f80fd5b823561201d81611f53565b9150602083013561202d81611ff4565b809150509250929050565b5f60208284031215612048575f80fd5b813561205381611f53565b9392505050565b5f6060828403121561206a575f80fd5b82606083011115611fee575f80fd5b5f806040838503121561208a575f80fd5b823561209581611f53565b9150602083013561202d81611f53565b60208082526027908201527f416d6f756e742063616e6e6f74206265206f7665722074686520746f74616c2060408201526639bab838363c9760c91b606082015260800190565b600181811c9082168061210057607f821691505b602082108103611fee57634e487b7160e01b5f52602260045260245ffd5b6020808252600c908201526b5a65726f206164647265737360a01b604082015260600190565b60208082526024908201527f496e73756666696369656e74204554482062616c616e636520696e20636f6e746040820152631c9858dd60e21b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b8082018082111561086d5761086d61219c565b60208082526027908201527f57616c6c657420697320616c7265616479207468652076616c7565206f6620276040820152667374617475732760c81b606082015260800190565b8181038181111561086d5761086d61219c565b808202811582820484141761086d5761086d61219c565b5f8261224e57634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215612263575f80fd5b815161205381611ff4565b5f6020828403121561227e575f80fd5b815161205381611f53565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156122d75784516001600160a01b0316835293830193918301916001016122b2565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122084a5f3b6513bc62bc80e6c2cf7032afcc76f0ef24ffdc620a33f65cec7bbc0be64736f6c63430008140033

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

0000000000000000000000008c8707cb8455e2c8680aab29a099ba2fba6572eb

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000008c8707cb8455e2c8680aab29a099ba2fba6572eb


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.