ETH Price: $3,109.98 (-0.18%)

Token

AiFi Protocol (AIFI)
 

Overview

Max Total Supply

21,000,000 AIFI

Holders

420

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
bitchesdancingnakedinmylivingroom.eth
Balance
49,975.760295797639000598 AIFI

Value
$0.00
0x07eb24b13c555fa8fecd2c2c47bb32b5d986440b
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:
AIFI

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : AIFI.sol
/**
 *Submitted for verification at Etherscan.io on 12-12-2023
 */

/**
    Website: https://aifiprotocol.com/
    Twitter: https://twitter.com/AiFiProtocol
    Telegram: https://t.me/aifiprotocol

**/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
pragma experimental ABIEncoderV2;

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

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

abstract contract Ownable is Context {
    address private _owner;

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

    constructor() {
        _transferOwnership(_msgSender());
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        _transferOwnership(newOwner);
    }

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

interface IERC20 {
    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function transfer(address recipient, uint256 amount)
        external
        returns (bool);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
}

interface IERC20Metadata is IERC20 {
    function name() external view returns (string memory);

    function symbol() external view returns (string memory);

    function decimals() external view returns (uint8);
}

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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(
            currentAllowance >= amount,
            "ERC20: transfer amount exceeds allowance"
        );
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender] + addedValue
        );
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        virtual
        returns (bool)
    {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(
            currentAllowance >= subtractedValue,
            "ERC20: decreased allowance below zero"
        );
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(
            senderBalance >= amount,
            "ERC20: transfer amount exceeds balance"
        );
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

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

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

library SafeMath {
    function tryAdd(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    function trySub(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    function tryMul(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    function tryDiv(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    function tryMod(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

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

    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

interface IUniswapV2Factory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint256
    );

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB)
        external
        view
        returns (address pair);

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

    function createPair(address tokenA, address tokenB)
        external
        returns (address pair);

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

interface IUniswapV2Pair {
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 value);

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    event Mint(address indexed sender, uint256 amount0, uint256 amount1);
    event Burn(
        address indexed sender,
        uint256 amount0,
        uint256 amount1,
        address indexed to
    );
    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

interface IUniswapV2Router02 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

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

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;
    address public routerCA = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;

    bool private swapping;

    address public MktgWallet;
    address public operationsWallet;

    uint256 public maxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWallet;

    bool public limitsInEffect = true;
    bool public tradingActive = false;
    bool public swapEnabled = false;

    uint256 public buyTotalFees;
    uint256 public buyMktgFee;
    uint256 public buyOperationsFee;

    uint256 public sellTotalFees;
    uint256 public sellMktgFee;
    uint256 public sellOperationsFee;

    uint256 public tokensForMktg;
    uint256 public tokensForOperations;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;

    mapping(address => bool) public automatedMarketMakerPairs;

    event UpdateUniswapV2Router(
        address indexed newAddress,
        address indexed oldAddress
    );

    event ExcludeFromFees(address indexed account, bool isExcluded);

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event MktgWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event OperationsWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );

    constructor() ERC20("AiFi Protocol", "AIFI") {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(routerCA);

        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        uint256 _buyMktgFee = 2;
        uint256 _buyOperationsFee = 3;

        uint256 _sellMktgFee = 2;
        uint256 _sellOperationsFee = 3;

        uint256 totalSupply = 21000000 * 1e18;

        maxTransactionAmount = 420000 * 1e18; // 2% max txn
        maxWallet = 420000 * 1e18; // 2% max wallet
        swapTokensAtAmount = (totalSupply * 3) / 1000; // 0.3% swap wallet

        buyMktgFee = _buyMktgFee;
        buyOperationsFee = _buyOperationsFee;
        buyTotalFees = buyMktgFee + buyOperationsFee;

        sellMktgFee = _sellMktgFee;
        sellOperationsFee = _sellOperationsFee;
        sellTotalFees = sellMktgFee + sellOperationsFee;

        MktgWallet = address(0xb4103AC0d9349c88B6770EC6e2B0633DBc03b7AC);
        operationsWallet = address(0xcD25d548ad1369EFdb45E9BC20C05eC03A2A8d31);

        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);

        _mint(msg.sender, totalSupply);
    }

    receive() external payable {}

    function startTrading() external onlyOwner {
        require(!tradingActive, "Token launched");
        tradingActive = true;
        swapEnabled = true;
    }

    // remove limits after token is stable
    function removeLimits() external onlyOwner returns (bool) {
        limitsInEffect = false;
        return true;
    }

    // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(uint256 newAmount)
        external
        onlyOwner
        returns (bool)
    {
        require(
            newAmount >= (totalSupply() * 1) / 100000,
            "Swap amount cannot be lower than 0.001% total supply."
        );
        require(
            newAmount <= (totalSupply() * 5) / 1000,
            "Swap amount cannot be higher than 0.5% total supply."
        );
        swapTokensAtAmount = newAmount;
        return true;
    }

    function updateMaxTxnAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 1) / 1000) / 1e18,
            "Cannot set maxTransactionAmount lower than 0.1%"
        );
        maxTransactionAmount = newNum * (10**18);
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 5) / 1000) / 1e18,
            "Cannot set maxWallet lower than 0.5%"
        );
        maxWallet = newNum * (10**18);
    }

    function excludeFromMaxTransaction(address updAds, bool isEx)
        public
        onlyOwner
    {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

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

    function updateBuyFees(
        uint256 _mktgFee,
        uint256 _operationsFee
    ) external onlyOwner {
        buyMktgFee = _mktgFee;
        buyOperationsFee = _operationsFee;
        buyTotalFees = buyMktgFee + buyOperationsFee;
        require(buyTotalFees <= 99);
    }

    function updateSellFees(
        uint256 _mktgFee,
        uint256 _operationsFee
    ) external onlyOwner {
        sellMktgFee = _mktgFee;
        sellOperationsFee = _operationsFee;
        sellTotalFees = sellMktgFee + sellOperationsFee;
        require(sellTotalFees <= 99);
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    function setAutomatedMarketMakerPair(address pair, bool value)
        public
        onlyOwner
    {
        require(
            pair != uniswapV2Pair,
            "The pair cannot be removed from automatedMarketMakerPairs"
        );

        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateMktgWallet(address newMktgWallet) external onlyOwner {
        emit MktgWalletUpdated(newMktgWallet, MktgWallet);
        MktgWallet = newMktgWallet;
    }

    function updateOperationsWallet(address newWallet) external onlyOwner {
        emit OperationsWalletUpdated(newWallet, operationsWallet);
        operationsWallet = newWallet;
    }

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

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (limitsInEffect) {
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ) {
                if (!tradingActive) {
                    require(
                        _isExcludedFromFees[from] || _isExcludedFromFees[to],
                        "Trading is not active."
                    );
                }

                //when buy
                if (
                    automatedMarketMakerPairs[from] &&
                    !_isExcludedMaxTransactionAmount[to]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Buy transfer amount exceeds the maxTransactionAmount."
                    );
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
                //when sell
                else if (
                    automatedMarketMakerPairs[to] &&
                    !_isExcludedMaxTransactionAmount[from]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Sell transfer amount exceeds the maxTransactionAmount."
                    );
                } else if (!_isExcludedMaxTransactionAmount[to]) {
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            canSwap &&
            swapEnabled &&
            !swapping &&
            !automatedMarketMakerPairs[from] &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;

            swapBack();

            swapping = false;
        }

        bool takeFee = !swapping;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint256 fees = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // on sell
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                fees = amount.mul(sellTotalFees).div(100);
                tokensForMktg += (fees * sellMktgFee) / sellTotalFees;
                tokensForOperations +=
                    (fees * sellOperationsFee) /
                    sellTotalFees;
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(100);
                tokensForMktg += (fees * buyMktgFee) / buyTotalFees;
                tokensForOperations += (fees * buyOperationsFee) / buyTotalFees;
            }

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

            amount -= fees;
        }

        super._transfer(from, to, amount);
    }

    function swapTokensForEth(uint256 tokenAmount) 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), tokenAmount);

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

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

        // add the liquidity
        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            MktgWallet,
            block.timestamp
        );
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForMktg +
            tokensForOperations;
        bool success;

        if (contractBalance == 0 || totalTokensToSwap == 0) {
            return;
        }

        if (contractBalance > swapTokensAtAmount * 10) {
            contractBalance = swapTokensAtAmount * 10;
        }

        uint256 initialETHBalance = address(this).balance;

        swapTokensForEth(contractBalance);

        uint256 ethBalance = address(this).balance.sub(initialETHBalance);
        uint256 ethForOperations = ethBalance.mul(tokensForOperations).div(
            totalTokensToSwap
        );

        tokensForMktg = 0;
        tokensForOperations = 0;
        (success, ) = address(operationsWallet).call{value: ethForOperations}(
            ""
        );
        (success, ) = address(MktgWallet).call{value: address(this).balance}(
            ""
        );
    }

    function burn(uint256 amount) external {
        require(amount > 0);
        _burn(msg.sender, amount);
    }
}

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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"MktgWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"OperationsWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[],"name":"MktgWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyMktgFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyOperationsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","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":"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":"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":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","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":"operationsWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"routerCA","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMktgFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellOperationsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","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":"tokensForMktg","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForOperations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_mktgFee","type":"uint256"},{"internalType":"uint256","name":"_operationsFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMktgWallet","type":"address"}],"name":"updateMktgWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateOperationsWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mktgFee","type":"uint256"},{"internalType":"uint256","name":"_operationsFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c0604052600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d179055600c805462ffffff191660011790553480156200004657600080fd5b50604080518082018252600d81526c105a519a48141c9bdd1bd8dbdb609a1b6020808301918252835180850190945260048452634149464960e01b908401528151919291620000989160039162000666565b508051620000ae90600490602084019062000666565b505050620000cb620000c5620003b360201b60201c565b620003b7565b6006546001600160a01b0316620000e481600162000409565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200012f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015591906200070c565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001a3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c991906200070c565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000217573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200023d91906200070c565b6001600160a01b031660a08190526200025890600162000409565b60a0516200026890600162000483565b6958f03ee118a13e8000006009819055600b556002600381816a115eec47f6cf7e350000006103e86200029c828462000754565b620002a8919062000776565b600a55600e859055600f849055620002c1848662000799565b600d5560118390556012829055620002da828462000799565b601055600780546001600160a01b031990811673b4103ac0d9349c88b6770ec6e2b0633dbc03b7ac179091556008805490911673cd25d548ad1369efdb45e9bc20c05ec03a2a8d31179055620003446200033c6005546001600160a01b031690565b6001620004d7565b62000351306001620004d7565b6200036061dead6001620004d7565b6200037f620003776005546001600160a01b031690565b600162000409565b6200038c30600162000409565b6200039b61dead600162000409565b620003a7338262000581565b505050505050620007f1565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620004585760405162461bcd60e51b8152602060048201819052602482015260008051602062002e9a83398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620005225760405162461bcd60e51b8152602060048201819052602482015260008051602062002e9a83398151915260448201526064016200044f565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620005d95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200044f565b8060026000828254620005ed919062000799565b90915550506001600160a01b038216600090815260208190526040812080548392906200061c90849062000799565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200067490620007b4565b90600052602060002090601f016020900481019282620006985760008555620006e3565b82601f10620006b357805160ff1916838001178555620006e3565b82800160010185558215620006e3579182015b82811115620006e3578251825591602001919060010190620006c6565b50620006f1929150620006f5565b5090565b5b80821115620006f15760008155600101620006f6565b6000602082840312156200071f57600080fd5b81516001600160a01b03811681146200073757600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156200077157620007716200073e565b500290565b6000826200079457634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115620007af57620007af6200073e565b500190565b600181811c90821680620007c957607f821691505b60208210811415620007eb57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051612667620008336000396000818161052a0152610f52015260008181610398015281816120d20152818161218b01526121c701526126676000f3fe6080604052600436106102cd5760003560e01c806370a0823111610175578063bbc0c742116100dc578063d85ba06311610095578063f2fde38b1161006f578063f2fde38b146108d7578063f8b45b05146108f7578063fb002c971461090d578063fd72e22a1461092357600080fd5b8063d85ba06314610865578063dd62ed3e1461087b578063e2f45605146108c157600080fd5b8063bbc0c742146107ba578063c0246668146107d9578063c0f17acd146107f9578063c18bc1951461080f578063c8c8ebe41461082f578063d257b34f1461084557600080fd5b806395d89b411161012e57806395d89b41146106ff5780639a7a23d6146107145780639bd9bf5f14610734578063a457c2d71461074a578063a9059cbb1461076a578063b62496f51461078a57600080fd5b806370a0823114610641578063715018a614610677578063751039fc1461068c5780637571336a146106a15780638da5cb5b146106c1578063924de9b7146106df57600080fd5b8063313ce567116102345780634f77f6c0116101ed5780635a139dd4116101c75780635a139dd4146105d557806366ca9b83146105eb5780636a486a8e1461060b5780636ddd17131461062157600080fd5b80634f77f6c0146105665780634fbee1931461057c578063534c0906146105b557600080fd5b8063313ce5671461049c57806339481b18146104b857806339509351146104d857806342966c68146104f857806349bd5a5e146105185780634a62bb651461054c57600080fd5b8063203e727e11610286578063203e727e146103f157806323b872dd14610411578063293230b8146104315780632ad7c8871461044657806330d5d18d14610466578063312394a01461048657600080fd5b806302dbd8f8146102d957806306fdde03146102fb578063095ea7b31461032657806310d5de53146103565780631694505e1461038657806318160ddd146103d257600080fd5b366102d457005b600080fd5b3480156102e557600080fd5b506102f96102f4366004612247565b610943565b005b34801561030757600080fd5b506103106109a0565b60405161031d9190612269565b60405180910390f35b34801561033257600080fd5b506103466103413660046122d3565b610a32565b604051901515815260200161031d565b34801561036257600080fd5b506103466103713660046122ff565b60166020526000908152604090205460ff1681565b34801561039257600080fd5b506103ba7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161031d565b3480156103de57600080fd5b506002545b60405190815260200161031d565b3480156103fd57600080fd5b506102f961040c36600461231c565b610a48565b34801561041d57600080fd5b5061034661042c366004612335565b610b25565b34801561043d57600080fd5b506102f9610bcf565b34801561045257600080fd5b506007546103ba906001600160a01b031681565b34801561047257600080fd5b506102f96104813660046122ff565b610c55565b34801561049257600080fd5b506103e360115481565b3480156104a857600080fd5b506040516012815260200161031d565b3480156104c457600080fd5b506102f96104d33660046122ff565b610cdc565b3480156104e457600080fd5b506103466104f33660046122d3565b610d63565b34801561050457600080fd5b506102f961051336600461231c565b610d9f565b34801561052457600080fd5b506103ba7f000000000000000000000000000000000000000000000000000000000000000081565b34801561055857600080fd5b50600c546103469060ff1681565b34801561057257600080fd5b506103e360125481565b34801561058857600080fd5b506103466105973660046122ff565b6001600160a01b031660009081526015602052604090205460ff1690565b3480156105c157600080fd5b506006546103ba906001600160a01b031681565b3480156105e157600080fd5b506103e3600f5481565b3480156105f757600080fd5b506102f9610606366004612247565b610db9565b34801561061757600080fd5b506103e360105481565b34801561062d57600080fd5b50600c546103469062010000900460ff1681565b34801561064d57600080fd5b506103e361065c3660046122ff565b6001600160a01b031660009081526020819052604090205490565b34801561068357600080fd5b506102f9610e09565b34801561069857600080fd5b50610346610e3f565b3480156106ad57600080fd5b506102f96106bc366004612386565b610e7c565b3480156106cd57600080fd5b506005546001600160a01b03166103ba565b3480156106eb57600080fd5b506102f96106fa3660046123bb565b610ed1565b34801561070b57600080fd5b50610310610f17565b34801561072057600080fd5b506102f961072f366004612386565b610f26565b34801561074057600080fd5b506103e360135481565b34801561075657600080fd5b506103466107653660046122d3565b611002565b34801561077657600080fd5b506103466107853660046122d3565b61109b565b34801561079657600080fd5b506103466107a53660046122ff565b60176020526000908152604090205460ff1681565b3480156107c657600080fd5b50600c5461034690610100900460ff1681565b3480156107e557600080fd5b506102f96107f4366004612386565b6110a8565b34801561080557600080fd5b506103e3600e5481565b34801561081b57600080fd5b506102f961082a36600461231c565b611131565b34801561083b57600080fd5b506103e360095481565b34801561085157600080fd5b5061034661086036600461231c565b611202565b34801561087157600080fd5b506103e3600d5481565b34801561088757600080fd5b506103e36108963660046123d6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108cd57600080fd5b506103e3600a5481565b3480156108e357600080fd5b506102f96108f23660046122ff565b611359565b34801561090357600080fd5b506103e3600b5481565b34801561091957600080fd5b506103e360145481565b34801561092f57600080fd5b506008546103ba906001600160a01b031681565b6005546001600160a01b031633146109765760405162461bcd60e51b815260040161096d9061240f565b60405180910390fd5b6011829055601281905561098a818361245a565b60108190556063101561099c57600080fd5b5050565b6060600380546109af90612472565b80601f01602080910402602001604051908101604052809291908181526020018280546109db90612472565b8015610a285780601f106109fd57610100808354040283529160200191610a28565b820191906000526020600020905b815481529060010190602001808311610a0b57829003601f168201915b5050505050905090565b6000610a3f3384846113f1565b50600192915050565b6005546001600160a01b03163314610a725760405162461bcd60e51b815260040161096d9061240f565b670de0b6b3a76400006103e8610a8760025490565b610a929060016124ad565b610a9c91906124cc565b610aa691906124cc565b811015610b0d5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b606482015260840161096d565b610b1f81670de0b6b3a76400006124ad565b60095550565b6000610b32848484611515565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610bb75760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161096d565b610bc485338584036113f1565b506001949350505050565b6005546001600160a01b03163314610bf95760405162461bcd60e51b815260040161096d9061240f565b600c54610100900460ff1615610c425760405162461bcd60e51b815260206004820152600e60248201526d151bdad95b881b185d5b98da195960921b604482015260640161096d565b600c805462ffff00191662010100179055565b6005546001600160a01b03163314610c7f5760405162461bcd60e51b815260040161096d9061240f565b6008546040516001600160a01b03918216918316907f086aa05ff00214e2d0c7c02b8a46b2614ad955732e6b43aa8afca69ed1ad76f890600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610d065760405162461bcd60e51b815260040161096d9061240f565b6007546040516001600160a01b03918216918316907fedce046033d3700396d928773c895434d7de58fc180a371665b16c0ae9e2d82590600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a3f918590610d9a90869061245a565b6113f1565b60008111610dac57600080fd5b610db63382611bc2565b50565b6005546001600160a01b03163314610de35760405162461bcd60e51b815260040161096d9061240f565b600e829055600f819055610df7818361245a565b600d8190556063101561099c57600080fd5b6005546001600160a01b03163314610e335760405162461bcd60e51b815260040161096d9061240f565b610e3d6000611d10565b565b6005546000906001600160a01b03163314610e6c5760405162461bcd60e51b815260040161096d9061240f565b50600c805460ff19169055600190565b6005546001600160a01b03163314610ea65760405162461bcd60e51b815260040161096d9061240f565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610efb5760405162461bcd60e51b815260040161096d9061240f565b600c8054911515620100000262ff000019909216919091179055565b6060600480546109af90612472565b6005546001600160a01b03163314610f505760405162461bcd60e51b815260040161096d9061240f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415610ff85760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000606482015260840161096d565b61099c8282611d62565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156110845760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161096d565b61109133858584036113f1565b5060019392505050565b6000610a3f338484611515565b6005546001600160a01b031633146110d25760405162461bcd60e51b815260040161096d9061240f565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b0316331461115b5760405162461bcd60e51b815260040161096d9061240f565b670de0b6b3a76400006103e861117060025490565b61117b9060056124ad565b61118591906124cc565b61118f91906124cc565b8110156111ea5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b606482015260840161096d565b6111fc81670de0b6b3a76400006124ad565b600b5550565b6005546000906001600160a01b0316331461122f5760405162461bcd60e51b815260040161096d9061240f565b620186a061123c60025490565b6112479060016124ad565b61125191906124cc565b8210156112be5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b606482015260840161096d565b6103e86112ca60025490565b6112d59060056124ad565b6112df91906124cc565b82111561134b5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b606482015260840161096d565b50600a81905560015b919050565b6005546001600160a01b031633146113835760405162461bcd60e51b815260040161096d9061240f565b6001600160a01b0381166113e85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161096d565b610db681611d10565b6001600160a01b0383166114535760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161096d565b6001600160a01b0382166114b45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161096d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661153b5760405162461bcd60e51b815260040161096d906124ee565b6001600160a01b0382166115615760405162461bcd60e51b815260040161096d90612533565b806115775761157283836000611db6565b505050565b600c5460ff16156118ed576005546001600160a01b038481169116148015906115ae57506005546001600160a01b03838116911614155b80156115c257506001600160a01b03821615155b80156115d957506001600160a01b03821661dead14155b80156115ef5750600654600160a01b900460ff16155b156118ed57600c54610100900460ff16611687576001600160a01b03831660009081526015602052604090205460ff168061164257506001600160a01b03821660009081526015602052604090205460ff165b6116875760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b604482015260640161096d565b6001600160a01b03831660009081526017602052604090205460ff1680156116c857506001600160a01b03821660009081526016602052604090205460ff16155b156117ac5760095481111561173d5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b606482015260840161096d565b600b546001600160a01b038316600090815260208190526040902054611763908361245a565b11156117a75760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161096d565b6118ed565b6001600160a01b03821660009081526017602052604090205460ff1680156117ed57506001600160a01b03831660009081526016602052604090205460ff16155b15611863576009548111156117a75760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b606482015260840161096d565b6001600160a01b03821660009081526016602052604090205460ff166118ed57600b546001600160a01b0383166000908152602081905260409020546118a9908361245a565b11156118ed5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161096d565b30600090815260208190526040902054600a54811080159081906119195750600c5462010000900460ff165b801561192f5750600654600160a01b900460ff16155b801561195457506001600160a01b03851660009081526017602052604090205460ff16155b801561197957506001600160a01b03851660009081526015602052604090205460ff16155b801561199e57506001600160a01b03841660009081526015602052604090205460ff16155b156119cc576006805460ff60a01b1916600160a01b1790556119be611f0b565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526015602052604090205460ff600160a01b909204821615911680611a1a57506001600160a01b03851660009081526015602052604090205460ff165b15611a23575060005b60008115611bae576001600160a01b03861660009081526017602052604090205460ff168015611a5557506000601054115b15611ae357611a7a6064611a746010548861205c90919063ffffffff16565b9061206f565b905060105460115482611a8d91906124ad565b611a9791906124cc565b60136000828254611aa8919061245a565b9091555050601054601254611abd90836124ad565b611ac791906124cc565b60146000828254611ad8919061245a565b90915550611b909050565b6001600160a01b03871660009081526017602052604090205460ff168015611b0d57506000600d54115b15611b9057611b2c6064611a74600d548861205c90919063ffffffff16565b9050600d54600e5482611b3f91906124ad565b611b4991906124cc565b60136000828254611b5a919061245a565b9091555050600d54600f54611b6f90836124ad565b611b7991906124cc565b60146000828254611b8a919061245a565b90915550505b8015611ba157611ba1873083611db6565b611bab8186612576565b94505b611bb9878787611db6565b50505050505050565b6001600160a01b038216611c225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161096d565b6001600160a01b03821660009081526020819052604090205481811015611c965760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161096d565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611cc5908490612576565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611ddc5760405162461bcd60e51b815260040161096d906124ee565b6001600160a01b038216611e025760405162461bcd60e51b815260040161096d90612533565b6001600160a01b03831660009081526020819052604090205481811015611e7a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161096d565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611eb190849061245a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611efd91815260200190565b60405180910390a350505050565b3060009081526020819052604081205490506000601454601354611f2f919061245a565b90506000821580611f3e575081155b15611f4857505050565b600a8054611f55916124ad565b831115611f6c57600a8054611f69916124ad565b92505b47611f768461207b565b6000611f82478361223b565b90506000611f9f85611a746014548561205c90919063ffffffff16565b6000601381905560148190556008546040519293506001600160a01b031691839181818185875af1925050503d8060008114611ff7576040519150601f19603f3d011682016040523d82523d6000602084013e611ffc565b606091505b50506007546040519195506001600160a01b0316904790600081818185875af1925050503d806000811461204c576040519150601f19603f3d011682016040523d82523d6000602084013e612051565b606091505b505050505050505050565b600061206882846124ad565b9392505050565b600061206882846124cc565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106120b0576120b061258d565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561212e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215291906125a3565b816001815181106121655761216561258d565b60200260200101906001600160a01b031690816001600160a01b0316815250506121b0307f0000000000000000000000000000000000000000000000000000000000000000846113f1565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906122059085906000908690309042906004016125c0565b600060405180830381600087803b15801561221f57600080fd5b505af1158015612233573d6000803e3d6000fd5b505050505050565b60006120688284612576565b6000806040838503121561225a57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b818110156122965785810183015185820160400152820161227a565b818111156122a8576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610db657600080fd5b600080604083850312156122e657600080fd5b82356122f1816122be565b946020939093013593505050565b60006020828403121561231157600080fd5b8135612068816122be565b60006020828403121561232e57600080fd5b5035919050565b60008060006060848603121561234a57600080fd5b8335612355816122be565b92506020840135612365816122be565b929592945050506040919091013590565b8035801515811461135457600080fd5b6000806040838503121561239957600080fd5b82356123a4816122be565b91506123b260208401612376565b90509250929050565b6000602082840312156123cd57600080fd5b61206882612376565b600080604083850312156123e957600080fd5b82356123f4816122be565b91506020830135612404816122be565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561246d5761246d612444565b500190565b600181811c9082168061248657607f821691505b602082108114156124a757634e487b7160e01b600052602260045260246000fd5b50919050565b60008160001904831182151516156124c7576124c7612444565b500290565b6000826124e957634e487b7160e01b600052601260045260246000fd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60008282101561258857612588612444565b500390565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156125b557600080fd5b8151612068816122be565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156126105784516001600160a01b0316835293830193918301916001016125eb565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212200696070ca22b37fa49b32dadb6030730cdc7a871a6850f390b7c55981e926ebd64736f6c634300080a00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572

Deployed Bytecode

0x6080604052600436106102cd5760003560e01c806370a0823111610175578063bbc0c742116100dc578063d85ba06311610095578063f2fde38b1161006f578063f2fde38b146108d7578063f8b45b05146108f7578063fb002c971461090d578063fd72e22a1461092357600080fd5b8063d85ba06314610865578063dd62ed3e1461087b578063e2f45605146108c157600080fd5b8063bbc0c742146107ba578063c0246668146107d9578063c0f17acd146107f9578063c18bc1951461080f578063c8c8ebe41461082f578063d257b34f1461084557600080fd5b806395d89b411161012e57806395d89b41146106ff5780639a7a23d6146107145780639bd9bf5f14610734578063a457c2d71461074a578063a9059cbb1461076a578063b62496f51461078a57600080fd5b806370a0823114610641578063715018a614610677578063751039fc1461068c5780637571336a146106a15780638da5cb5b146106c1578063924de9b7146106df57600080fd5b8063313ce567116102345780634f77f6c0116101ed5780635a139dd4116101c75780635a139dd4146105d557806366ca9b83146105eb5780636a486a8e1461060b5780636ddd17131461062157600080fd5b80634f77f6c0146105665780634fbee1931461057c578063534c0906146105b557600080fd5b8063313ce5671461049c57806339481b18146104b857806339509351146104d857806342966c68146104f857806349bd5a5e146105185780634a62bb651461054c57600080fd5b8063203e727e11610286578063203e727e146103f157806323b872dd14610411578063293230b8146104315780632ad7c8871461044657806330d5d18d14610466578063312394a01461048657600080fd5b806302dbd8f8146102d957806306fdde03146102fb578063095ea7b31461032657806310d5de53146103565780631694505e1461038657806318160ddd146103d257600080fd5b366102d457005b600080fd5b3480156102e557600080fd5b506102f96102f4366004612247565b610943565b005b34801561030757600080fd5b506103106109a0565b60405161031d9190612269565b60405180910390f35b34801561033257600080fd5b506103466103413660046122d3565b610a32565b604051901515815260200161031d565b34801561036257600080fd5b506103466103713660046122ff565b60166020526000908152604090205460ff1681565b34801561039257600080fd5b506103ba7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161031d565b3480156103de57600080fd5b506002545b60405190815260200161031d565b3480156103fd57600080fd5b506102f961040c36600461231c565b610a48565b34801561041d57600080fd5b5061034661042c366004612335565b610b25565b34801561043d57600080fd5b506102f9610bcf565b34801561045257600080fd5b506007546103ba906001600160a01b031681565b34801561047257600080fd5b506102f96104813660046122ff565b610c55565b34801561049257600080fd5b506103e360115481565b3480156104a857600080fd5b506040516012815260200161031d565b3480156104c457600080fd5b506102f96104d33660046122ff565b610cdc565b3480156104e457600080fd5b506103466104f33660046122d3565b610d63565b34801561050457600080fd5b506102f961051336600461231c565b610d9f565b34801561052457600080fd5b506103ba7f000000000000000000000000a620b76257b5c0f0ae45ae4e54a96c77d02149e481565b34801561055857600080fd5b50600c546103469060ff1681565b34801561057257600080fd5b506103e360125481565b34801561058857600080fd5b506103466105973660046122ff565b6001600160a01b031660009081526015602052604090205460ff1690565b3480156105c157600080fd5b506006546103ba906001600160a01b031681565b3480156105e157600080fd5b506103e3600f5481565b3480156105f757600080fd5b506102f9610606366004612247565b610db9565b34801561061757600080fd5b506103e360105481565b34801561062d57600080fd5b50600c546103469062010000900460ff1681565b34801561064d57600080fd5b506103e361065c3660046122ff565b6001600160a01b031660009081526020819052604090205490565b34801561068357600080fd5b506102f9610e09565b34801561069857600080fd5b50610346610e3f565b3480156106ad57600080fd5b506102f96106bc366004612386565b610e7c565b3480156106cd57600080fd5b506005546001600160a01b03166103ba565b3480156106eb57600080fd5b506102f96106fa3660046123bb565b610ed1565b34801561070b57600080fd5b50610310610f17565b34801561072057600080fd5b506102f961072f366004612386565b610f26565b34801561074057600080fd5b506103e360135481565b34801561075657600080fd5b506103466107653660046122d3565b611002565b34801561077657600080fd5b506103466107853660046122d3565b61109b565b34801561079657600080fd5b506103466107a53660046122ff565b60176020526000908152604090205460ff1681565b3480156107c657600080fd5b50600c5461034690610100900460ff1681565b3480156107e557600080fd5b506102f96107f4366004612386565b6110a8565b34801561080557600080fd5b506103e3600e5481565b34801561081b57600080fd5b506102f961082a36600461231c565b611131565b34801561083b57600080fd5b506103e360095481565b34801561085157600080fd5b5061034661086036600461231c565b611202565b34801561087157600080fd5b506103e3600d5481565b34801561088757600080fd5b506103e36108963660046123d6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108cd57600080fd5b506103e3600a5481565b3480156108e357600080fd5b506102f96108f23660046122ff565b611359565b34801561090357600080fd5b506103e3600b5481565b34801561091957600080fd5b506103e360145481565b34801561092f57600080fd5b506008546103ba906001600160a01b031681565b6005546001600160a01b031633146109765760405162461bcd60e51b815260040161096d9061240f565b60405180910390fd5b6011829055601281905561098a818361245a565b60108190556063101561099c57600080fd5b5050565b6060600380546109af90612472565b80601f01602080910402602001604051908101604052809291908181526020018280546109db90612472565b8015610a285780601f106109fd57610100808354040283529160200191610a28565b820191906000526020600020905b815481529060010190602001808311610a0b57829003601f168201915b5050505050905090565b6000610a3f3384846113f1565b50600192915050565b6005546001600160a01b03163314610a725760405162461bcd60e51b815260040161096d9061240f565b670de0b6b3a76400006103e8610a8760025490565b610a929060016124ad565b610a9c91906124cc565b610aa691906124cc565b811015610b0d5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b606482015260840161096d565b610b1f81670de0b6b3a76400006124ad565b60095550565b6000610b32848484611515565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610bb75760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161096d565b610bc485338584036113f1565b506001949350505050565b6005546001600160a01b03163314610bf95760405162461bcd60e51b815260040161096d9061240f565b600c54610100900460ff1615610c425760405162461bcd60e51b815260206004820152600e60248201526d151bdad95b881b185d5b98da195960921b604482015260640161096d565b600c805462ffff00191662010100179055565b6005546001600160a01b03163314610c7f5760405162461bcd60e51b815260040161096d9061240f565b6008546040516001600160a01b03918216918316907f086aa05ff00214e2d0c7c02b8a46b2614ad955732e6b43aa8afca69ed1ad76f890600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610d065760405162461bcd60e51b815260040161096d9061240f565b6007546040516001600160a01b03918216918316907fedce046033d3700396d928773c895434d7de58fc180a371665b16c0ae9e2d82590600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a3f918590610d9a90869061245a565b6113f1565b60008111610dac57600080fd5b610db63382611bc2565b50565b6005546001600160a01b03163314610de35760405162461bcd60e51b815260040161096d9061240f565b600e829055600f819055610df7818361245a565b600d8190556063101561099c57600080fd5b6005546001600160a01b03163314610e335760405162461bcd60e51b815260040161096d9061240f565b610e3d6000611d10565b565b6005546000906001600160a01b03163314610e6c5760405162461bcd60e51b815260040161096d9061240f565b50600c805460ff19169055600190565b6005546001600160a01b03163314610ea65760405162461bcd60e51b815260040161096d9061240f565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610efb5760405162461bcd60e51b815260040161096d9061240f565b600c8054911515620100000262ff000019909216919091179055565b6060600480546109af90612472565b6005546001600160a01b03163314610f505760405162461bcd60e51b815260040161096d9061240f565b7f000000000000000000000000a620b76257b5c0f0ae45ae4e54a96c77d02149e46001600160a01b0316826001600160a01b03161415610ff85760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000606482015260840161096d565b61099c8282611d62565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156110845760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161096d565b61109133858584036113f1565b5060019392505050565b6000610a3f338484611515565b6005546001600160a01b031633146110d25760405162461bcd60e51b815260040161096d9061240f565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b0316331461115b5760405162461bcd60e51b815260040161096d9061240f565b670de0b6b3a76400006103e861117060025490565b61117b9060056124ad565b61118591906124cc565b61118f91906124cc565b8110156111ea5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b606482015260840161096d565b6111fc81670de0b6b3a76400006124ad565b600b5550565b6005546000906001600160a01b0316331461122f5760405162461bcd60e51b815260040161096d9061240f565b620186a061123c60025490565b6112479060016124ad565b61125191906124cc565b8210156112be5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b606482015260840161096d565b6103e86112ca60025490565b6112d59060056124ad565b6112df91906124cc565b82111561134b5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b606482015260840161096d565b50600a81905560015b919050565b6005546001600160a01b031633146113835760405162461bcd60e51b815260040161096d9061240f565b6001600160a01b0381166113e85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161096d565b610db681611d10565b6001600160a01b0383166114535760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161096d565b6001600160a01b0382166114b45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161096d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661153b5760405162461bcd60e51b815260040161096d906124ee565b6001600160a01b0382166115615760405162461bcd60e51b815260040161096d90612533565b806115775761157283836000611db6565b505050565b600c5460ff16156118ed576005546001600160a01b038481169116148015906115ae57506005546001600160a01b03838116911614155b80156115c257506001600160a01b03821615155b80156115d957506001600160a01b03821661dead14155b80156115ef5750600654600160a01b900460ff16155b156118ed57600c54610100900460ff16611687576001600160a01b03831660009081526015602052604090205460ff168061164257506001600160a01b03821660009081526015602052604090205460ff165b6116875760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b604482015260640161096d565b6001600160a01b03831660009081526017602052604090205460ff1680156116c857506001600160a01b03821660009081526016602052604090205460ff16155b156117ac5760095481111561173d5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b606482015260840161096d565b600b546001600160a01b038316600090815260208190526040902054611763908361245a565b11156117a75760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161096d565b6118ed565b6001600160a01b03821660009081526017602052604090205460ff1680156117ed57506001600160a01b03831660009081526016602052604090205460ff16155b15611863576009548111156117a75760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b606482015260840161096d565b6001600160a01b03821660009081526016602052604090205460ff166118ed57600b546001600160a01b0383166000908152602081905260409020546118a9908361245a565b11156118ed5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161096d565b30600090815260208190526040902054600a54811080159081906119195750600c5462010000900460ff165b801561192f5750600654600160a01b900460ff16155b801561195457506001600160a01b03851660009081526017602052604090205460ff16155b801561197957506001600160a01b03851660009081526015602052604090205460ff16155b801561199e57506001600160a01b03841660009081526015602052604090205460ff16155b156119cc576006805460ff60a01b1916600160a01b1790556119be611f0b565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526015602052604090205460ff600160a01b909204821615911680611a1a57506001600160a01b03851660009081526015602052604090205460ff165b15611a23575060005b60008115611bae576001600160a01b03861660009081526017602052604090205460ff168015611a5557506000601054115b15611ae357611a7a6064611a746010548861205c90919063ffffffff16565b9061206f565b905060105460115482611a8d91906124ad565b611a9791906124cc565b60136000828254611aa8919061245a565b9091555050601054601254611abd90836124ad565b611ac791906124cc565b60146000828254611ad8919061245a565b90915550611b909050565b6001600160a01b03871660009081526017602052604090205460ff168015611b0d57506000600d54115b15611b9057611b2c6064611a74600d548861205c90919063ffffffff16565b9050600d54600e5482611b3f91906124ad565b611b4991906124cc565b60136000828254611b5a919061245a565b9091555050600d54600f54611b6f90836124ad565b611b7991906124cc565b60146000828254611b8a919061245a565b90915550505b8015611ba157611ba1873083611db6565b611bab8186612576565b94505b611bb9878787611db6565b50505050505050565b6001600160a01b038216611c225760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161096d565b6001600160a01b03821660009081526020819052604090205481811015611c965760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161096d565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611cc5908490612576565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611ddc5760405162461bcd60e51b815260040161096d906124ee565b6001600160a01b038216611e025760405162461bcd60e51b815260040161096d90612533565b6001600160a01b03831660009081526020819052604090205481811015611e7a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161096d565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611eb190849061245a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611efd91815260200190565b60405180910390a350505050565b3060009081526020819052604081205490506000601454601354611f2f919061245a565b90506000821580611f3e575081155b15611f4857505050565b600a8054611f55916124ad565b831115611f6c57600a8054611f69916124ad565b92505b47611f768461207b565b6000611f82478361223b565b90506000611f9f85611a746014548561205c90919063ffffffff16565b6000601381905560148190556008546040519293506001600160a01b031691839181818185875af1925050503d8060008114611ff7576040519150601f19603f3d011682016040523d82523d6000602084013e611ffc565b606091505b50506007546040519195506001600160a01b0316904790600081818185875af1925050503d806000811461204c576040519150601f19603f3d011682016040523d82523d6000602084013e612051565b606091505b505050505050505050565b600061206882846124ad565b9392505050565b600061206882846124cc565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106120b0576120b061258d565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561212e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215291906125a3565b816001815181106121655761216561258d565b60200260200101906001600160a01b031690816001600160a01b0316815250506121b0307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846113f1565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906122059085906000908690309042906004016125c0565b600060405180830381600087803b15801561221f57600080fd5b505af1158015612233573d6000803e3d6000fd5b505050505050565b60006120688284612576565b6000806040838503121561225a57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b818110156122965785810183015185820160400152820161227a565b818111156122a8576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610db657600080fd5b600080604083850312156122e657600080fd5b82356122f1816122be565b946020939093013593505050565b60006020828403121561231157600080fd5b8135612068816122be565b60006020828403121561232e57600080fd5b5035919050565b60008060006060848603121561234a57600080fd5b8335612355816122be565b92506020840135612365816122be565b929592945050506040919091013590565b8035801515811461135457600080fd5b6000806040838503121561239957600080fd5b82356123a4816122be565b91506123b260208401612376565b90509250929050565b6000602082840312156123cd57600080fd5b61206882612376565b600080604083850312156123e957600080fd5b82356123f4816122be565b91506020830135612404816122be565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561246d5761246d612444565b500190565b600181811c9082168061248657607f821691505b602082108114156124a757634e487b7160e01b600052602260045260246000fd5b50919050565b60008160001904831182151516156124c7576124c7612444565b500290565b6000826124e957634e487b7160e01b600052601260045260246000fd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60008282101561258857612588612444565b500390565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156125b557600080fd5b8151612068816122be565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156126105784516001600160a01b0316835293830193918301916001016125eb565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212200696070ca22b37fa49b32dadb6030730cdc7a871a6850f390b7c55981e926ebd64736f6c634300080a0033

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.