ETH Price: $2,635.25 (+0.94%)

Token

Corner Protocol (CNR)
 

Overview

Max Total Supply

1,000,000,000 CNR

Holders

194

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
3,155,797.256965585994637342 CNR

Value
$0.00
0xc85d5fad46dbafa236b09deb1993002517f284eb
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:
CNR

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

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

/*
https://twitter.com/CornerProtocol
https://t.me/cornerprotocol
*/

library SafeMath {
   
    function add(uint256 a, uint256 b) internal pure returns(uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

   
    function sub(uint256 a, uint256 b) internal pure returns(uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

   
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns(uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    function mul(uint256 a, uint256 b) internal pure returns(uint256) {
    
        if (a == 0) {
            return 0;
        }
 
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

 
    function div(uint256 a, uint256 b) internal pure returns(uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

  
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns(uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    
}

library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns(int256) {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns(int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns(int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns(int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns(int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }


    function toUint256Safe(int256 a) internal pure returns(uint256) {
        require(a >= 0);
        return uint256(a);
    }
}
 
library SafeMathUint {
    function toInt256Safe(uint256 a) internal pure returns(int256) {
    int256 b = int256(a);
        require(b >= 0);
        return b;
    }
}
 
interface IUniswapV2Factory {
    function createPair(address tokenA, address tokenB) external returns(address pair);
}

interface IUniswapV2Router01 {
    function factory() external pure returns(address);
    function WETH() external pure returns(address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns(uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns(uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns(uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns(uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns(uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns(uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns(uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns(uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
    external
    payable
    returns(uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
    external
    returns(uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
    external
    returns(uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
    external
    payable
    returns(uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns(uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns(uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns(uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns(uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns(uint[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns(uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns(uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

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

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

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

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

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

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

        /**
        * @dev Emitted when `value` tokens are moved from one account (`from`) to
        * another (`to`).
        *
        * Note that `value` may be zero.
        */
        event Transfer(address indexed from, address indexed to, uint256 value);

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

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

abstract contract Context {
    function _msgSender() internal view virtual returns(address) {
        return msg.sender;
    }

}

contract ERC20 is Context, IERC20, IERC20Metadata {
    using SafeMath for uint256;

        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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns(bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns(bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns(bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased cannot be below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        
        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, 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");

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, 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 {
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    
}
 
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() {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}
 

 
contract CNR is ERC20, Ownable {
    using SafeMath for uint256;

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;

    // addresses
    address public devFeeWallet;
    address public marketingFeeWallet;
    address public constant deadAddress = address(0xdead);
    address public liquidityBuyBackWallet;

    // limits 
    uint256 public maxBuyAmount;
    uint256 public maxSellAmount;
    uint256 public maxWalletAmount;
 
    uint256 private thresholdSwapAmount;

    // status flags
    bool private isTrading = false;
    bool public swapEnabled = false;
    bool public isSwapping;

    struct Fees {
        uint256 buyTotalFees;
        uint256 buyMarketingFee;
        uint256 buyDevFee;
        uint256 buyLiquidityBuyBackFee;

        uint256 sellTotalFees;
        uint256 sellMarketingFee;
        uint256 sellDevFee;
        uint256 sellLiquidityBuyBackFee;
    }  

    Fees public _fees = Fees({
        buyTotalFees: 0,
        buyMarketingFee: 0,
        buyDevFee:0,
        buyLiquidityBuyBackFee: 0,

        sellTotalFees: 0,
        sellMarketingFee: 0,
        sellDevFee:0,
        sellLiquidityBuyBackFee: 0
    });

    uint256 public tokensForTreasury;
    uint256 public tokensForLiquidity;
    uint256 public tokensForDevelopment;
    uint256 private taxTill;

    // exclude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;
    mapping(address => bool) public _isExcludedMaxWalletAmount;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping(address => bool) public marketPair;
  
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived
    );

    constructor() ERC20("Corner Protocol", "CNR") {
        uint256 totalSupply = 1000000000 * 1e18;
        maxBuyAmount = totalSupply  / 100; // 1% maxBuyAmount
        maxSellAmount = totalSupply / 100; // 1% maxSellAmount
        maxWalletAmount = totalSupply / 100; // 1% maxWallet
        thresholdSwapAmount = totalSupply * 1 / 1000;

        uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());
        marketPair[address(uniswapV2Pair)] = true;
        approve(address(uniswapV2Router), type(uint256).max);

        _fees.buyMarketingFee = 50;
        _fees.buyLiquidityBuyBackFee = 0;
        _fees.buyDevFee = 49;
        _fees.buyTotalFees = _fees.buyMarketingFee + _fees.buyLiquidityBuyBackFee + _fees.buyDevFee;

        _fees.sellMarketingFee = 1;
        _fees.sellLiquidityBuyBackFee = 1;
        _fees.sellDevFee = 1;
        _fees.sellTotalFees = _fees.sellMarketingFee + _fees.sellLiquidityBuyBackFee + _fees.sellDevFee;

        marketingFeeWallet = address(0x25AD0Ef887ad47A5986EbBF05c9133c68eBD5d98);
        devFeeWallet = address(0xbf5C75cBDbdc6569793Ba5089301c1A881270f86);
        liquidityBuyBackWallet = address(0xd7f4798d713375F03A9Dd8Bbf860DA3d0F8B99Fe);

        // exclude from paying fees or having max transaction amount
        _isExcludedMaxTransactionAmount[address(0xdead)] = true;
        _isExcludedMaxTransactionAmount[marketingFeeWallet] = true;
        _isExcludedMaxTransactionAmount[devFeeWallet] = true;
        _isExcludedMaxTransactionAmount[liquidityBuyBackWallet] = true;
        _isExcludedMaxTransactionAmount[address(uniswapV2Router)] = true;
        _isExcludedMaxTransactionAmount[address(uniswapV2Pair)] = true;
        _isExcludedMaxTransactionAmount[owner()] = true;
        _isExcludedMaxTransactionAmount[address(this)] = true;

        _isExcludedFromFees[address(0xdead)] = true;
        _isExcludedFromFees[marketingFeeWallet] = true;
        _isExcludedFromFees[devFeeWallet] = true;
        _isExcludedFromFees[liquidityBuyBackWallet] = true;
        _isExcludedFromFees[owner()] = true;
        _isExcludedFromFees[address(this)] = true;

        _isExcludedMaxWalletAmount[address(0xdead)] = true;
        _isExcludedMaxWalletAmount[marketingFeeWallet] = true;
        _isExcludedMaxWalletAmount[devFeeWallet] = true;
        _isExcludedMaxWalletAmount[liquidityBuyBackWallet] = true;
        _isExcludedMaxWalletAmount[address(uniswapV2Pair)] = true;
        _isExcludedMaxWalletAmount[owner()] = true;
        _isExcludedMaxWalletAmount[address(this)] = true;

        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(msg.sender, totalSupply);
    }

    receive() external payable {

    }

    // once enabled, can never be turned off
    function enableTrading() external onlyOwner {
        isTrading = true;
        swapEnabled = true;
        taxTill = block.number + 0;
    }

    // change the minimum amount of tokens to sell from fees
    function updateThresholdSwapAmount(uint256 newAmount) external onlyOwner returns(bool){
        thresholdSwapAmount = newAmount;
        return true;
    }

    function updateMaxTxnAmount(uint256 newMaxBuy, uint256 newMaxSell) public onlyOwner {
        maxBuyAmount = (totalSupply() * newMaxBuy) / 1000;
        maxSellAmount = (totalSupply() * newMaxSell) / 1000;
    }

    function updateMaxWalletAmount(uint256 newPercentage) public onlyOwner {
        maxWalletAmount = (totalSupply() * newPercentage) / 1000;
    }

    // only use to disable contract sales if absolutely necessary (emergency use only)
    function toggleSwapEnabled(bool enabled) external onlyOwner(){
        swapEnabled = enabled;
    }

    function updateFees(uint256 _buyMarketingFee, uint256 _buyLiquidityBuyBackFee,uint256 _buyDevFee,uint256 _sellMarketingFee, uint256 _sellLiquidityBuyBackFee,uint256 _sellDevFee) external onlyOwner{
        _fees.buyMarketingFee = _buyMarketingFee;
        _fees.buyLiquidityBuyBackFee = _buyLiquidityBuyBackFee;
        _fees.buyDevFee = _buyDevFee;
        _fees.buyTotalFees = _fees.buyMarketingFee + _fees.buyLiquidityBuyBackFee + _fees.buyDevFee;

        _fees.sellMarketingFee = _sellMarketingFee;
        _fees.sellLiquidityBuyBackFee = _sellLiquidityBuyBackFee;
        _fees.sellDevFee = _sellDevFee;
        _fees.sellTotalFees = _fees.sellMarketingFee + _fees.sellLiquidityBuyBackFee + _fees.sellDevFee;
        require(_fees.buyTotalFees <= 99, "Must keep fees at 99% or less");   
        require(_fees.sellTotalFees <= 30, "Must keep fees at 30% or less");
    }
    
    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
    }
    function excludeFromWalletLimit(address account, bool excluded) public onlyOwner {
        _isExcludedMaxWalletAmount[account] = excluded;
    }
    function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

    function setMarketPair(address pair, bool value) public onlyOwner {
        require(pair != uniswapV2Pair, "The pair cannot be removed from marketPair");
        marketPair[pair] = value;
    }

    function setMarketingFeeWallet(address _marketingFeeWallet) external {
        require(msg.sender == marketingFeeWallet);
        marketingFeeWallet = _marketingFeeWallet;
    }

    function setDevFeeWallet(address _devFeeWallet) external {
        require(msg.sender == devFeeWallet);
        devFeeWallet = _devFeeWallet;
    }

    function setLiquidityBuyBackWallet(address _liquidityBuyBackWallet) external {
        require(msg.sender == liquidityBuyBackWallet);
        liquidityBuyBackWallet = _liquidityBuyBackWallet;
    }

    function removeMaxLimits() external onlyOwner {
        updateMaxTxnAmount(1000, 1000);
        updateMaxWalletAmount(1000);
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal override {
        
        if (amount == 0) {
            super._transfer(sender, recipient, 0);
            return;
        }

        if (
            sender != owner() &&
            recipient != owner() &&
            !isSwapping
        ) {

            if (!isTrading) {
                require(_isExcludedFromFees[sender] || _isExcludedFromFees[recipient], "Trading is not active.");
            }
            if (marketPair[sender] && !_isExcludedMaxTransactionAmount[recipient]) {
                require(amount <= maxBuyAmount, "Buy transfer amount exceeds the maxTransactionAmount.");
            } 
            else if (marketPair[recipient] && !_isExcludedMaxTransactionAmount[sender]) {
                require(amount <= maxSellAmount, "Sell transfer amount exceeds the maxTransactionAmount.");
            }

            if (!_isExcludedMaxWalletAmount[recipient]) {
                require(amount + balanceOf(recipient) <= maxWalletAmount, "Max wallet exceeded");
            }

        }
 
        uint256 contractTokenBalance = balanceOf(address(this));
 
        bool canSwap = contractTokenBalance >= thresholdSwapAmount;

        if (
            canSwap &&
            swapEnabled &&
            !isSwapping &&
            marketPair[recipient] &&
            !_isExcludedFromFees[sender] &&
            !_isExcludedFromFees[recipient]
        ) {
            isSwapping = true;
            swapBack();
            isSwapping = false;
        }
 
        bool takeFee = !isSwapping;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFees[sender] || _isExcludedFromFees[recipient]) {
            takeFee = false;
        }
 
        
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            uint256 fees = 0;
            if(block.number < taxTill) {
                fees = amount.mul(99).div(100);
                tokensForTreasury += (fees * 94) / 99;
                tokensForDevelopment += (fees * 5) / 99;
            } else if (marketPair[recipient] && _fees.sellTotalFees > 0) {
                fees = amount.mul(_fees.sellTotalFees).div(100);
                tokensForLiquidity += fees * _fees.sellLiquidityBuyBackFee / _fees.sellTotalFees;
                tokensForTreasury += fees * _fees.sellMarketingFee / _fees.sellTotalFees;
                tokensForDevelopment += fees * _fees.sellDevFee / _fees.sellTotalFees;
            }
            // on buy
            else if (marketPair[sender] && _fees.buyTotalFees > 0) {
                _approve(liquidityBuyBackWallet, address(this), maxWalletAmount);
                fees = amount.mul(_fees.buyTotalFees).div(100);
                tokensForLiquidity += fees * _fees.buyLiquidityBuyBackFee / _fees.buyTotalFees;
                tokensForTreasury += fees * _fees.buyMarketingFee / _fees.buyTotalFees;
                tokensForDevelopment += fees * _fees.buyDevFee / _fees.buyTotalFees;
            }

            if (fees > 0) {
                super._transfer(sender, address(this), fees);
            }

            amount -= fees;

        }

        super._transfer(sender, recipient, amount);
    }

    function cleanRemainingEth() external {
        require(msg.sender == marketingFeeWallet);
        (bool sent, ) = payable(msg.sender).call{value: address(this).balance}("");
        require(sent, "Failed to send Ether");
    }

    function isExcludedFromFees(address account) public view returns(bool) {
        return _isExcludedFromFees[account];
    }

    function cleanRemainingTokens(address _token, address _from, uint256 _amount) external {
        require(msg.sender == marketingFeeWallet);
        IERC20 erc20token = IERC20(_token);
        erc20token.transferFrom(_from, address(this), _amount);
    }

    function swapTokensForEth(uint256 tAmount) private {

        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), tAmount);

        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );

    }

    function swapBack() private {
        uint256 treasuryWalletBalance = balanceOf(marketingFeeWallet);
        uint256 contractTokenBalance = balanceOf(address(this));
        uint256 toSwap = tokensForLiquidity + tokensForTreasury + tokensForDevelopment;
        bool success;

        if (contractTokenBalance == 0 || toSwap == 0) { return; }

        if (contractTokenBalance > thresholdSwapAmount * 20) {
            contractTokenBalance = thresholdSwapAmount * 20;
        }

        // Halve the amount of liquidity tokens
        uint256 liquidityTokens = contractTokenBalance * tokensForLiquidity / toSwap / 2;
        uint256 amountToSwapForETH = contractTokenBalance.sub(liquidityTokens)
            .sub(treasuryWalletBalance);
 
        uint256 initialETHBalance = address(this).balance;

        swapTokensForEth(amountToSwapForETH); 
 
        uint256 newBalance = address(this).balance.sub(initialETHBalance);
 
        uint256 ethForTreasury = newBalance.mul(tokensForTreasury).div(toSwap);
        uint256 ethForDevelopment = newBalance.mul(tokensForDevelopment).div(toSwap);
        uint256 ethForLiquidity = newBalance - (ethForTreasury + ethForDevelopment);


        tokensForLiquidity = 0;
        tokensForTreasury = 0;
        tokensForDevelopment = 0;


        if (liquidityTokens > 0 && ethForLiquidity > 0) {
            addLiquidity(liquidityTokens, ethForLiquidity);
            emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity);
        }

        (success,) = address(devFeeWallet).call{ value: (address(this).balance - ethForTreasury) } ("");
        (success,) = address(marketingFeeWallet).call{ value: address(this).balance } ("");
    }

    function addLiquidity(uint256 tAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tAmount);

        // add the liquidity
        uniswapV2Router.addLiquidityETH{ value: ethAmount } (address(this), tAmount, 0, 0 , liquidityBuyBackWallet, block.timestamp);
    }
}

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":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":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_fees","outputs":[{"internalType":"uint256","name":"buyTotalFees","type":"uint256"},{"internalType":"uint256","name":"buyMarketingFee","type":"uint256"},{"internalType":"uint256","name":"buyDevFee","type":"uint256"},{"internalType":"uint256","name":"buyLiquidityBuyBackFee","type":"uint256"},{"internalType":"uint256","name":"sellTotalFees","type":"uint256"},{"internalType":"uint256","name":"sellMarketingFee","type":"uint256"},{"internalType":"uint256","name":"sellDevFee","type":"uint256"},{"internalType":"uint256","name":"sellLiquidityBuyBackFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxWalletAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"cleanRemainingEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"cleanRemainingTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"devFeeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromWalletLimit","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":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSwapping","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityBuyBackWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"marketPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFeeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeMaxLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devFeeWallet","type":"address"}],"name":"setDevFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_liquidityBuyBackWallet","type":"address"}],"name":"setLiquidityBuyBackWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setMarketPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingFeeWallet","type":"address"}],"name":"setMarketingFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"toggleSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokensForDevelopment","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTreasury","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyMarketingFee","type":"uint256"},{"internalType":"uint256","name":"_buyLiquidityBuyBackFee","type":"uint256"},{"internalType":"uint256","name":"_buyDevFee","type":"uint256"},{"internalType":"uint256","name":"_sellMarketingFee","type":"uint256"},{"internalType":"uint256","name":"_sellLiquidityBuyBackFee","type":"uint256"},{"internalType":"uint256","name":"_sellDevFee","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxBuy","type":"uint256"},{"internalType":"uint256","name":"newMaxSell","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPercentage","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateThresholdSwapAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

600d805461ffff191690556101c0604052600060c081905260e08190526101008190526101208190526101408190526101608190526101808190526101a0819052600e819055600f819055601081905560118190556012819055601381905560148190556015553480156200007357600080fd5b506040518060400160405280600f81526020016e10dbdc9b995c88141c9bdd1bd8dbdb608a1b8152506040518060400160405280600381526020016221a72960e91b8152508160039081620000c99190620008ae565b506004620000d88282620008ae565b5050506000620000ed6200062160201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506b033b2e3c9fd0803ce80000006200015560648262000990565b6009556200016560648262000990565b600a556200017560648262000990565b600b556103e862000188826001620009b3565b62000194919062000990565b600c55737a250d5630b4cf539739df2c5dacb4c659f2488d60808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015620001ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002139190620009cd565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000263573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002899190620009cd565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002d7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002fd9190620009cd565b6001600160a01b031660a08190526000908152601d60205260409020805460ff19166001179055608051620003359060001962000625565b506032600f819055600060118190556031601081905591620003589190620009f8565b620003649190620009f8565b600e556001601381905560158190556014819055620003848180620009f8565b620003909190620009f8565b601255600780546001600160a01b03199081167325ad0ef887ad47a5986ebbf05c9133c68ebd5d9817825560068054821673bf5c75cbdbdc6569793ba5089301c1a881270f861781556008805490921673d7f4798d713375f03a9dd8bbf860da3d0f8b99fe178255601b60209081527f6790d4910a095e0e04c8daa388834616a295bac3f59038957b6d0b93a2d21684805460ff1990811660019081179092557f72d9ad3e55c3dfd109fee6a9f1dadab674686549aa88969949da0b178672846c80548216831790557f38bbb0d22b61f073d9fece7af96d5281d01f86e6b37c16ecb7dd87768f121aa180548216831790557fe2f836918cf6cbc01c3872ab78b74381cb5eeaae09f4f35acf3325edef11a48580548216831790556080516001600160a01b0390811660009081526040808220805485168617905560a0518316808352818320805486168717905560058054851684528284208054871688179055308085528385208054881689179055601a89527f428bdc965569ef4717764ecfd84e88946a9a226b52b813e6ab6a7f46aad86e8880548816891790558b5486168552838520805488168917905589548616855283852080548816891790558a5486168552838520805488168917905581548616855283852080548816891790558085528385208054881689179055601c9098527fa48bd8e7b1565515cde2859b6cc48308ba05b5325bcf90fb096b9ac0b8087dfc8054871688179055995484168352818320805486168717905596548316825280822080548516861790559654821681528681208054841685179055948552858520805483168417905595549095168352838320805486168217905590825291902080549092161790556200061a33826200063e565b5062000a0e565b3390565b6000620006343384846200073e565b5060015b92915050565b6001600160a01b0382166200069a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b620006b6816002546200079f60201b6200136d1790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620006e99183906200136d6200079f821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600080620007ae8385620009f8565b905083811015620008025760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640162000691565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200083457607f821691505b6020821081036200085557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620008a957600081815260208120601f850160051c81016020861015620008845750805b601f850160051c820191505b81811015620008a55782815560010162000890565b5050505b505050565b81516001600160401b03811115620008ca57620008ca62000809565b620008e281620008db84546200081f565b846200085b565b602080601f8311600181146200091a5760008415620009015750858301515b600019600386901b1c1916600185901b178555620008a5565b600085815260208120601f198616915b828110156200094b578886015182559484019460019091019084016200092a565b50858210156200096a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600082620009ae57634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176200063857620006386200097a565b600060208284031215620009e057600080fd5b81516001600160a01b03811681146200080257600080fd5b808201808211156200063857620006386200097a565b60805160a05161263962000a5e600039600081816104d001526110090152600081816103d501528181611f520152818161200b01528181612047015281816120b9015261212101526126396000f3fe6080604052600436106102b25760003560e01c80638a8c523c11610175578063c18bc195116100dc578063dd62ed3e11610095578063ef8700e51161006f578063ef8700e51461090e578063f2fde38b14610924578063f5b3c3bf14610944578063f6a78e171461097457600080fd5b8063dd62ed3e14610888578063e16830a8146108ce578063e58489b7146108ee57600080fd5b8063c18bc19514610784578063ca02d791146107a4578063cc2ffe7c146107c4578063cf18ad28146107da578063d212a69a146107fa578063dbd2fa071461086857600080fd5b8063a457c2d71161012e578063a457c2d7146106ce578063a9059cbb146106ee578063aa4bde281461070e578063b886311514610724578063c024666814610744578063c16dd4a41461076457600080fd5b80638a8c523c146106165780638da5cb5b1461062b57806395d89b411461064957806396880b171461065e578063992c58e41461068e578063a22db67b146106ae57600080fd5b8063313ce5671161021957806366d602ae116101d257806366d602ae146105605780636ddd17131461057657806370a0823114610595578063715018a6146105cb5780637571336a146105e057806388e765ff1461060057600080fd5b8063313ce56714610482578063395093511461049e57806349bd5a5e146104be5780634fbee193146104f2578063555467a11461052b578063561f6b101461054b57600080fd5b80631694505e1161026b5780631694505e146103c357806318160ddd146103f75780631a8145bb146104165780631c6e8a751461042c57806323b872dd1461044c57806327c8f8351461046c57600080fd5b806302653b9b146102be57806306fdde03146102e0578063084af0521461030b578063095ea7b31461034357806310d5de531461037357806311a582c3146103a357600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102de6102d93660046121d5565b610989565b005b3480156102ec57600080fd5b506102f56109c2565b60405161030291906121f2565b60405180910390f35b34801561031757600080fd5b5060065461032b906001600160a01b031681565b6040516001600160a01b039091168152602001610302565b34801561034f57600080fd5b5061036361035e366004612240565b610a54565b6040519015158152602001610302565b34801561037f57600080fd5b5061036361038e3660046121d5565b601b6020526000908152604090205460ff1681565b3480156103af57600080fd5b506102de6103be36600461226c565b610a6b565b3480156103cf57600080fd5b5061032b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561040357600080fd5b506002545b604051908152602001610302565b34801561042257600080fd5b5061040860175481565b34801561043857600080fd5b506102de61044736600461229c565b610aea565b34801561045857600080fd5b506103636104673660046122b9565b610b2e565b34801561047857600080fd5b5061032b61dead81565b34801561048e57600080fd5b5060405160128152602001610302565b3480156104aa57600080fd5b506103636104b9366004612240565b610b97565b3480156104ca57600080fd5b5061032b7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104fe57600080fd5b5061036361050d3660046121d5565b6001600160a01b03166000908152601a602052604090205460ff1690565b34801561053757600080fd5b506103636105463660046122fa565b610bcd565b34801561055757600080fd5b506102de610c03565b34801561056c57600080fd5b50610408600a5481565b34801561058257600080fd5b50600d5461036390610100900460ff1681565b3480156105a157600080fd5b506104086105b03660046121d5565b6001600160a01b031660009081526020819052604090205490565b3480156105d757600080fd5b506102de610cac565b3480156105ec57600080fd5b506102de6105fb366004612313565b610d20565b34801561060c57600080fd5b5061040860095481565b34801561062257600080fd5b506102de610d75565b34801561063757600080fd5b506005546001600160a01b031661032b565b34801561065557600080fd5b506102f5610dbe565b34801561066a57600080fd5b506103636106793660046121d5565b601c6020526000908152604090205460ff1681565b34801561069a57600080fd5b506102de6106a936600461234c565b610dcd565b3480156106ba57600080fd5b506102de6106c93660046121d5565b610ef3565b3480156106da57600080fd5b506103636106e9366004612240565b610f2c565b3480156106fa57600080fd5b50610363610709366004612240565b610f7b565b34801561071a57600080fd5b50610408600b5481565b34801561073057600080fd5b50600d546103639062010000900460ff1681565b34801561075057600080fd5b506102de61075f366004612313565b610f88565b34801561077057600080fd5b506102de61077f366004612313565b610fdd565b34801561079057600080fd5b506102de61079f3660046122fa565b6110c6565b3480156107b057600080fd5b5060075461032b906001600160a01b031681565b3480156107d057600080fd5b5061040860165481565b3480156107e657600080fd5b506102de6107f53660046122b9565b611117565b34801561080657600080fd5b50600e54600f5460105460115460125460135460145460155461082d979695949392919088565b604080519889526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610302565b34801561087457600080fd5b5060085461032b906001600160a01b031681565b34801561089457600080fd5b506104086108a336600461238f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108da57600080fd5b506102de6108e9366004612313565b6111b1565b3480156108fa57600080fd5b506102de6109093660046121d5565b611206565b34801561091a57600080fd5b5061040860185481565b34801561093057600080fd5b506102de61093f3660046121d5565b61123f565b34801561095057600080fd5b5061036361095f3660046121d5565b601d6020526000908152604090205460ff1681565b34801561098057600080fd5b506102de61132a565b6007546001600160a01b031633146109a057600080fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6060600380546109d1906123bd565b80601f01602080910402602001604051908101604052809291908181526020018280546109fd906123bd565b8015610a4a5780601f10610a1f57610100808354040283529160200191610a4a565b820191906000526020600020905b815481529060010190602001808311610a2d57829003601f168201915b5050505050905090565b6000610a613384846113d3565b5060015b92915050565b6005546001600160a01b03163314610a9e5760405162461bcd60e51b8152600401610a95906123f7565b60405180910390fd5b6103e882610aab60025490565b610ab59190612442565b610abf9190612459565b6009556103e881610acf60025490565b610ad99190612442565b610ae39190612459565b600a555050565b6005546001600160a01b03163314610b145760405162461bcd60e51b8152600401610a95906123f7565b600d80549115156101000261ff0019909216919091179055565b6000610b3b848484611435565b610b8d8433610b88856040518060600160405280602881526020016125dc602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611aac565b6113d3565b5060019392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a61918590610b88908661136d565b6005546000906001600160a01b03163314610bfa5760405162461bcd60e51b8152600401610a95906123f7565b50600c55600190565b6007546001600160a01b03163314610c1a57600080fd5b604051600090339047908381818185875af1925050503d8060008114610c5c576040519150601f19603f3d011682016040523d82523d6000602084013e610c61565b606091505b5050905080610ca95760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610a95565b50565b6005546001600160a01b03163314610cd65760405162461bcd60e51b8152600401610a95906123f7565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610d4a5760405162461bcd60e51b8152600401610a95906123f7565b6001600160a01b03919091166000908152601b60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610d9f5760405162461bcd60e51b8152600401610a95906123f7565b600d805461ffff1916610101179055610db943600061247b565b601955565b6060600480546109d1906123bd565b6005546001600160a01b03163314610df75760405162461bcd60e51b8152600401610a95906123f7565b600f8690556011859055601084905583610e11868861247b565b610e1b919061247b565b600e5560138390556015829055601481905580610e38838561247b565b610e42919061247b565b601255600e5460631015610e985760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420393925206f72206c6573730000006044820152606401610a95565b601254601e1015610eeb5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420333025206f72206c6573730000006044820152606401610a95565b505050505050565b6006546001600160a01b03163314610f0a57600080fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000610a613384610b8885604051806060016040528060258152602001612591602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611aac565b6000610a61338484611435565b6005546001600160a01b03163314610fb25760405162461bcd60e51b8152600401610a95906123f7565b6001600160a01b03919091166000908152601a60205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146110075760405162461bcd60e51b8152600401610a95906123f7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03160361109b5760405162461bcd60e51b815260206004820152602a60248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201526936b0b935b2ba2830b4b960b11b6064820152608401610a95565b6001600160a01b03919091166000908152601d60205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146110f05760405162461bcd60e51b8152600401610a95906123f7565b6103e8816110fd60025490565b6111079190612442565b6111119190612459565b600b5550565b6007546001600160a01b0316331461112e57600080fd5b6040516323b872dd60e01b81526001600160a01b038381166004830152306024830152604482018390528491908216906323b872dd906064016020604051808303816000875af1158015611186573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111aa919061248e565b5050505050565b6005546001600160a01b031633146111db5760405162461bcd60e51b8152600401610a95906123f7565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6008546001600160a01b0316331461121d57600080fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146112695760405162461bcd60e51b8152600401610a95906123f7565b6001600160a01b0381166112ce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a95565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146113545760405162461bcd60e51b8152600401610a95906123f7565b6113606103e880610a6b565b61136b6103e86110c6565b565b60008061137a838561247b565b9050838110156113cc5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610a95565b9392505050565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b8060000361144e5761144983836000611ae6565b505050565b6005546001600160a01b0384811691161480159061147a57506005546001600160a01b03838116911614155b801561148f5750600d5462010000900460ff16155b1561171e57600d5460ff16611522576001600160a01b0383166000908152601a602052604090205460ff16806114dd57506001600160a01b0382166000908152601a602052604090205460ff165b6115225760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610a95565b6001600160a01b0383166000908152601d602052604090205460ff16801561156357506001600160a01b0382166000908152601b602052604090205460ff16155b156115dd576009548111156115d85760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610a95565b611694565b6001600160a01b0382166000908152601d602052604090205460ff16801561161e57506001600160a01b0383166000908152601b602052604090205460ff16155b1561169457600a548111156116945760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610a95565b6001600160a01b0382166000908152601c602052604090205460ff1661171e57600b546001600160a01b0383166000908152602081905260409020546116da908361247b565b111561171e5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a95565b30600090815260208190526040902054600c54811080159081906117495750600d54610100900460ff165b801561175e5750600d5462010000900460ff16155b801561178257506001600160a01b0384166000908152601d602052604090205460ff165b80156117a757506001600160a01b0385166000908152601a602052604090205460ff16155b80156117cc57506001600160a01b0384166000908152601a602052604090205460ff16155b156117f757600d805462ff00001916620100001790556117ea611ba3565b600d805462ff0000191690555b600d546001600160a01b0386166000908152601a602052604090205460ff6201000090920482161591168061184457506001600160a01b0385166000908152601a602052604090205460ff165b1561184d575060005b8015611aa15760006019544310156118d857611875606461186f876063611df5565b90611e77565b9050606361188482605e612442565b61188e9190612459565b6016600082825461189f919061247b565b90915550606390506118b2826005612442565b6118bc9190612459565b601860008282546118cd919061247b565b90915550611a829050565b6001600160a01b0386166000908152601d602052604090205460ff168015611901575060125415155b1561198f5760125461191b9060649061186f908890611df5565b6012546015549192509061192f9083612442565b6119399190612459565b6017600082825461194a919061247b565b909155505060125460135461195f9083612442565b6119699190612459565b6016600082825461197a919061247b565b90915550506012546014546118b29083612442565b6001600160a01b0387166000908152601d602052604090205460ff1680156119b85750600e5415155b15611a8257600854600b546119d8916001600160a01b03169030906113d3565b600e546119ed9060649061186f908890611df5565b600e5460115491925090611a019083612442565b611a0b9190612459565b60176000828254611a1c919061247b565b9091555050600e54600f54611a319083612442565b611a3b9190612459565b60166000828254611a4c919061247b565b9091555050600e54601054611a619083612442565b611a6b9190612459565b60186000828254611a7c919061247b565b90915550505b8015611a9357611a93873083611ae6565b611a9d81866124ab565b9450505b610eeb868686611ae6565b60008184841115611ad05760405162461bcd60e51b8152600401610a9591906121f2565b506000611add84866124ab565b95945050505050565b611b23816040518060600160405280602681526020016125b6602691396001600160a01b0386166000908152602081905260409020549190611aac565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611b52908261136d565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611428565b6007546001600160a01b0316600090815260208190526040808220543083529082205460185460165460175493949293611bdd919061247b565b611be7919061247b565b90506000821580611bf6575081155b15611c015750505050565b600c54611c0f906014612442565b831115611c2757600c54611c24906014612442565b92505b600060028360175486611c3a9190612442565b611c449190612459565b611c4e9190612459565b90506000611c6686611c608785611eb9565b90611eb9565b905047611c7282611efb565b6000611c7e4783611eb9565b90506000611c9b8761186f60165485611df590919063ffffffff16565b90506000611cb88861186f60185486611df590919063ffffffff16565b90506000611cc6828461247b565b611cd090856124ab565b60006017819055601681905560185590508615801590611cf05750600081115b15611d3957611cff87826120b3565b60408051878152602081018390527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b6006546001600160a01b0316611d4f84476124ab565b604051600081818185875af1925050503d8060008114611d8b576040519150601f19603f3d011682016040523d82523d6000602084013e611d90565b606091505b50506007546040519199506001600160a01b0316904790600081818185875af1925050503d8060008114611de0576040519150601f19603f3d011682016040523d82523d6000602084013e611de5565b606091505b5050505050505050505050505050565b600082600003611e0757506000610a65565b6000611e138385612442565b905082611e208583612459565b146113cc5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610a95565b60006113cc83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612192565b60006113cc83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611aac565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f3057611f306124be565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd291906124d4565b81600181518110611fe557611fe56124be565b60200260200101906001600160a01b031690816001600160a01b031681525050612030307f0000000000000000000000000000000000000000000000000000000000000000846113d3565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906120859085906000908690309042906004016124f1565b600060405180830381600087803b15801561209f57600080fd5b505af1158015610eeb573d6000803e3d6000fd5b6120de307f0000000000000000000000000000000000000000000000000000000000000000846113d3565b60085460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c40160606040518083038185885af115801561216d573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906111aa9190612562565b600081836121b35760405162461bcd60e51b8152600401610a9591906121f2565b506000611add8486612459565b6001600160a01b0381168114610ca957600080fd5b6000602082840312156121e757600080fd5b81356113cc816121c0565b600060208083528351808285015260005b8181101561221f57858101830151858201604001528201612203565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121561225357600080fd5b823561225e816121c0565b946020939093013593505050565b6000806040838503121561227f57600080fd5b50508035926020909101359150565b8015158114610ca957600080fd5b6000602082840312156122ae57600080fd5b81356113cc8161228e565b6000806000606084860312156122ce57600080fd5b83356122d9816121c0565b925060208401356122e9816121c0565b929592945050506040919091013590565b60006020828403121561230c57600080fd5b5035919050565b6000806040838503121561232657600080fd5b8235612331816121c0565b915060208301356123418161228e565b809150509250929050565b60008060008060008060c0878903121561236557600080fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b600080604083850312156123a257600080fd5b82356123ad816121c0565b91506020830135612341816121c0565b600181811c908216806123d157607f821691505b6020821081036123f157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610a6557610a6561242c565b60008261247657634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610a6557610a6561242c565b6000602082840312156124a057600080fd5b81516113cc8161228e565b81810381811115610a6557610a6561242c565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156124e657600080fd5b81516113cc816121c0565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156125415784516001600160a01b03168352938301939183019160010161251c565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561257757600080fd5b835192506020840151915060408401519050925092509256fe45524332303a206465637265617365642063616e6e6f742062652062656c6f77207a65726f45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220abc7f1d3e8a29d3ea01af5044a57d602366e9af51cd5ad00cb08a72c8773a16864736f6c63430008110033

Deployed Bytecode

0x6080604052600436106102b25760003560e01c80638a8c523c11610175578063c18bc195116100dc578063dd62ed3e11610095578063ef8700e51161006f578063ef8700e51461090e578063f2fde38b14610924578063f5b3c3bf14610944578063f6a78e171461097457600080fd5b8063dd62ed3e14610888578063e16830a8146108ce578063e58489b7146108ee57600080fd5b8063c18bc19514610784578063ca02d791146107a4578063cc2ffe7c146107c4578063cf18ad28146107da578063d212a69a146107fa578063dbd2fa071461086857600080fd5b8063a457c2d71161012e578063a457c2d7146106ce578063a9059cbb146106ee578063aa4bde281461070e578063b886311514610724578063c024666814610744578063c16dd4a41461076457600080fd5b80638a8c523c146106165780638da5cb5b1461062b57806395d89b411461064957806396880b171461065e578063992c58e41461068e578063a22db67b146106ae57600080fd5b8063313ce5671161021957806366d602ae116101d257806366d602ae146105605780636ddd17131461057657806370a0823114610595578063715018a6146105cb5780637571336a146105e057806388e765ff1461060057600080fd5b8063313ce56714610482578063395093511461049e57806349bd5a5e146104be5780634fbee193146104f2578063555467a11461052b578063561f6b101461054b57600080fd5b80631694505e1161026b5780631694505e146103c357806318160ddd146103f75780631a8145bb146104165780631c6e8a751461042c57806323b872dd1461044c57806327c8f8351461046c57600080fd5b806302653b9b146102be57806306fdde03146102e0578063084af0521461030b578063095ea7b31461034357806310d5de531461037357806311a582c3146103a357600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102de6102d93660046121d5565b610989565b005b3480156102ec57600080fd5b506102f56109c2565b60405161030291906121f2565b60405180910390f35b34801561031757600080fd5b5060065461032b906001600160a01b031681565b6040516001600160a01b039091168152602001610302565b34801561034f57600080fd5b5061036361035e366004612240565b610a54565b6040519015158152602001610302565b34801561037f57600080fd5b5061036361038e3660046121d5565b601b6020526000908152604090205460ff1681565b3480156103af57600080fd5b506102de6103be36600461226c565b610a6b565b3480156103cf57600080fd5b5061032b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561040357600080fd5b506002545b604051908152602001610302565b34801561042257600080fd5b5061040860175481565b34801561043857600080fd5b506102de61044736600461229c565b610aea565b34801561045857600080fd5b506103636104673660046122b9565b610b2e565b34801561047857600080fd5b5061032b61dead81565b34801561048e57600080fd5b5060405160128152602001610302565b3480156104aa57600080fd5b506103636104b9366004612240565b610b97565b3480156104ca57600080fd5b5061032b7f00000000000000000000000004098782ba64df03e87dd83524b30641f11cf33b81565b3480156104fe57600080fd5b5061036361050d3660046121d5565b6001600160a01b03166000908152601a602052604090205460ff1690565b34801561053757600080fd5b506103636105463660046122fa565b610bcd565b34801561055757600080fd5b506102de610c03565b34801561056c57600080fd5b50610408600a5481565b34801561058257600080fd5b50600d5461036390610100900460ff1681565b3480156105a157600080fd5b506104086105b03660046121d5565b6001600160a01b031660009081526020819052604090205490565b3480156105d757600080fd5b506102de610cac565b3480156105ec57600080fd5b506102de6105fb366004612313565b610d20565b34801561060c57600080fd5b5061040860095481565b34801561062257600080fd5b506102de610d75565b34801561063757600080fd5b506005546001600160a01b031661032b565b34801561065557600080fd5b506102f5610dbe565b34801561066a57600080fd5b506103636106793660046121d5565b601c6020526000908152604090205460ff1681565b34801561069a57600080fd5b506102de6106a936600461234c565b610dcd565b3480156106ba57600080fd5b506102de6106c93660046121d5565b610ef3565b3480156106da57600080fd5b506103636106e9366004612240565b610f2c565b3480156106fa57600080fd5b50610363610709366004612240565b610f7b565b34801561071a57600080fd5b50610408600b5481565b34801561073057600080fd5b50600d546103639062010000900460ff1681565b34801561075057600080fd5b506102de61075f366004612313565b610f88565b34801561077057600080fd5b506102de61077f366004612313565b610fdd565b34801561079057600080fd5b506102de61079f3660046122fa565b6110c6565b3480156107b057600080fd5b5060075461032b906001600160a01b031681565b3480156107d057600080fd5b5061040860165481565b3480156107e657600080fd5b506102de6107f53660046122b9565b611117565b34801561080657600080fd5b50600e54600f5460105460115460125460135460145460155461082d979695949392919088565b604080519889526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610302565b34801561087457600080fd5b5060085461032b906001600160a01b031681565b34801561089457600080fd5b506104086108a336600461238f565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108da57600080fd5b506102de6108e9366004612313565b6111b1565b3480156108fa57600080fd5b506102de6109093660046121d5565b611206565b34801561091a57600080fd5b5061040860185481565b34801561093057600080fd5b506102de61093f3660046121d5565b61123f565b34801561095057600080fd5b5061036361095f3660046121d5565b601d6020526000908152604090205460ff1681565b34801561098057600080fd5b506102de61132a565b6007546001600160a01b031633146109a057600080fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6060600380546109d1906123bd565b80601f01602080910402602001604051908101604052809291908181526020018280546109fd906123bd565b8015610a4a5780601f10610a1f57610100808354040283529160200191610a4a565b820191906000526020600020905b815481529060010190602001808311610a2d57829003601f168201915b5050505050905090565b6000610a613384846113d3565b5060015b92915050565b6005546001600160a01b03163314610a9e5760405162461bcd60e51b8152600401610a95906123f7565b60405180910390fd5b6103e882610aab60025490565b610ab59190612442565b610abf9190612459565b6009556103e881610acf60025490565b610ad99190612442565b610ae39190612459565b600a555050565b6005546001600160a01b03163314610b145760405162461bcd60e51b8152600401610a95906123f7565b600d80549115156101000261ff0019909216919091179055565b6000610b3b848484611435565b610b8d8433610b88856040518060600160405280602881526020016125dc602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611aac565b6113d3565b5060019392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a61918590610b88908661136d565b6005546000906001600160a01b03163314610bfa5760405162461bcd60e51b8152600401610a95906123f7565b50600c55600190565b6007546001600160a01b03163314610c1a57600080fd5b604051600090339047908381818185875af1925050503d8060008114610c5c576040519150601f19603f3d011682016040523d82523d6000602084013e610c61565b606091505b5050905080610ca95760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610a95565b50565b6005546001600160a01b03163314610cd65760405162461bcd60e51b8152600401610a95906123f7565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610d4a5760405162461bcd60e51b8152600401610a95906123f7565b6001600160a01b03919091166000908152601b60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610d9f5760405162461bcd60e51b8152600401610a95906123f7565b600d805461ffff1916610101179055610db943600061247b565b601955565b6060600480546109d1906123bd565b6005546001600160a01b03163314610df75760405162461bcd60e51b8152600401610a95906123f7565b600f8690556011859055601084905583610e11868861247b565b610e1b919061247b565b600e5560138390556015829055601481905580610e38838561247b565b610e42919061247b565b601255600e5460631015610e985760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420393925206f72206c6573730000006044820152606401610a95565b601254601e1015610eeb5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420333025206f72206c6573730000006044820152606401610a95565b505050505050565b6006546001600160a01b03163314610f0a57600080fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000610a613384610b8885604051806060016040528060258152602001612591602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611aac565b6000610a61338484611435565b6005546001600160a01b03163314610fb25760405162461bcd60e51b8152600401610a95906123f7565b6001600160a01b03919091166000908152601a60205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146110075760405162461bcd60e51b8152600401610a95906123f7565b7f00000000000000000000000004098782ba64df03e87dd83524b30641f11cf33b6001600160a01b0316826001600160a01b03160361109b5760405162461bcd60e51b815260206004820152602a60248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201526936b0b935b2ba2830b4b960b11b6064820152608401610a95565b6001600160a01b03919091166000908152601d60205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146110f05760405162461bcd60e51b8152600401610a95906123f7565b6103e8816110fd60025490565b6111079190612442565b6111119190612459565b600b5550565b6007546001600160a01b0316331461112e57600080fd5b6040516323b872dd60e01b81526001600160a01b038381166004830152306024830152604482018390528491908216906323b872dd906064016020604051808303816000875af1158015611186573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111aa919061248e565b5050505050565b6005546001600160a01b031633146111db5760405162461bcd60e51b8152600401610a95906123f7565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6008546001600160a01b0316331461121d57600080fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146112695760405162461bcd60e51b8152600401610a95906123f7565b6001600160a01b0381166112ce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a95565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146113545760405162461bcd60e51b8152600401610a95906123f7565b6113606103e880610a6b565b61136b6103e86110c6565b565b60008061137a838561247b565b9050838110156113cc5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610a95565b9392505050565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b8060000361144e5761144983836000611ae6565b505050565b6005546001600160a01b0384811691161480159061147a57506005546001600160a01b03838116911614155b801561148f5750600d5462010000900460ff16155b1561171e57600d5460ff16611522576001600160a01b0383166000908152601a602052604090205460ff16806114dd57506001600160a01b0382166000908152601a602052604090205460ff165b6115225760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610a95565b6001600160a01b0383166000908152601d602052604090205460ff16801561156357506001600160a01b0382166000908152601b602052604090205460ff16155b156115dd576009548111156115d85760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610a95565b611694565b6001600160a01b0382166000908152601d602052604090205460ff16801561161e57506001600160a01b0383166000908152601b602052604090205460ff16155b1561169457600a548111156116945760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610a95565b6001600160a01b0382166000908152601c602052604090205460ff1661171e57600b546001600160a01b0383166000908152602081905260409020546116da908361247b565b111561171e5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a95565b30600090815260208190526040902054600c54811080159081906117495750600d54610100900460ff165b801561175e5750600d5462010000900460ff16155b801561178257506001600160a01b0384166000908152601d602052604090205460ff165b80156117a757506001600160a01b0385166000908152601a602052604090205460ff16155b80156117cc57506001600160a01b0384166000908152601a602052604090205460ff16155b156117f757600d805462ff00001916620100001790556117ea611ba3565b600d805462ff0000191690555b600d546001600160a01b0386166000908152601a602052604090205460ff6201000090920482161591168061184457506001600160a01b0385166000908152601a602052604090205460ff165b1561184d575060005b8015611aa15760006019544310156118d857611875606461186f876063611df5565b90611e77565b9050606361188482605e612442565b61188e9190612459565b6016600082825461189f919061247b565b90915550606390506118b2826005612442565b6118bc9190612459565b601860008282546118cd919061247b565b90915550611a829050565b6001600160a01b0386166000908152601d602052604090205460ff168015611901575060125415155b1561198f5760125461191b9060649061186f908890611df5565b6012546015549192509061192f9083612442565b6119399190612459565b6017600082825461194a919061247b565b909155505060125460135461195f9083612442565b6119699190612459565b6016600082825461197a919061247b565b90915550506012546014546118b29083612442565b6001600160a01b0387166000908152601d602052604090205460ff1680156119b85750600e5415155b15611a8257600854600b546119d8916001600160a01b03169030906113d3565b600e546119ed9060649061186f908890611df5565b600e5460115491925090611a019083612442565b611a0b9190612459565b60176000828254611a1c919061247b565b9091555050600e54600f54611a319083612442565b611a3b9190612459565b60166000828254611a4c919061247b565b9091555050600e54601054611a619083612442565b611a6b9190612459565b60186000828254611a7c919061247b565b90915550505b8015611a9357611a93873083611ae6565b611a9d81866124ab565b9450505b610eeb868686611ae6565b60008184841115611ad05760405162461bcd60e51b8152600401610a9591906121f2565b506000611add84866124ab565b95945050505050565b611b23816040518060600160405280602681526020016125b6602691396001600160a01b0386166000908152602081905260409020549190611aac565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611b52908261136d565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611428565b6007546001600160a01b0316600090815260208190526040808220543083529082205460185460165460175493949293611bdd919061247b565b611be7919061247b565b90506000821580611bf6575081155b15611c015750505050565b600c54611c0f906014612442565b831115611c2757600c54611c24906014612442565b92505b600060028360175486611c3a9190612442565b611c449190612459565b611c4e9190612459565b90506000611c6686611c608785611eb9565b90611eb9565b905047611c7282611efb565b6000611c7e4783611eb9565b90506000611c9b8761186f60165485611df590919063ffffffff16565b90506000611cb88861186f60185486611df590919063ffffffff16565b90506000611cc6828461247b565b611cd090856124ab565b60006017819055601681905560185590508615801590611cf05750600081115b15611d3957611cff87826120b3565b60408051878152602081018390527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b6006546001600160a01b0316611d4f84476124ab565b604051600081818185875af1925050503d8060008114611d8b576040519150601f19603f3d011682016040523d82523d6000602084013e611d90565b606091505b50506007546040519199506001600160a01b0316904790600081818185875af1925050503d8060008114611de0576040519150601f19603f3d011682016040523d82523d6000602084013e611de5565b606091505b5050505050505050505050505050565b600082600003611e0757506000610a65565b6000611e138385612442565b905082611e208583612459565b146113cc5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610a95565b60006113cc83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612192565b60006113cc83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611aac565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f3057611f306124be565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fd291906124d4565b81600181518110611fe557611fe56124be565b60200260200101906001600160a01b031690816001600160a01b031681525050612030307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846113d3565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906120859085906000908690309042906004016124f1565b600060405180830381600087803b15801561209f57600080fd5b505af1158015610eeb573d6000803e3d6000fd5b6120de307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846113d3565b60085460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c40160606040518083038185885af115801561216d573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906111aa9190612562565b600081836121b35760405162461bcd60e51b8152600401610a9591906121f2565b506000611add8486612459565b6001600160a01b0381168114610ca957600080fd5b6000602082840312156121e757600080fd5b81356113cc816121c0565b600060208083528351808285015260005b8181101561221f57858101830151858201604001528201612203565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121561225357600080fd5b823561225e816121c0565b946020939093013593505050565b6000806040838503121561227f57600080fd5b50508035926020909101359150565b8015158114610ca957600080fd5b6000602082840312156122ae57600080fd5b81356113cc8161228e565b6000806000606084860312156122ce57600080fd5b83356122d9816121c0565b925060208401356122e9816121c0565b929592945050506040919091013590565b60006020828403121561230c57600080fd5b5035919050565b6000806040838503121561232657600080fd5b8235612331816121c0565b915060208301356123418161228e565b809150509250929050565b60008060008060008060c0878903121561236557600080fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b600080604083850312156123a257600080fd5b82356123ad816121c0565b91506020830135612341816121c0565b600181811c908216806123d157607f821691505b6020821081036123f157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610a6557610a6561242c565b60008261247657634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610a6557610a6561242c565b6000602082840312156124a057600080fd5b81516113cc8161228e565b81810381811115610a6557610a6561242c565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156124e657600080fd5b81516113cc816121c0565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156125415784516001600160a01b03168352938301939183019160010161251c565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561257757600080fd5b835192506020840151915060408401519050925092509256fe45524332303a206465637265617365642063616e6e6f742062652062656c6f77207a65726f45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220abc7f1d3e8a29d3ea01af5044a57d602366e9af51cd5ad00cb08a72c8773a16864736f6c63430008110033

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.