ETH Price: $3,395.21 (+1.81%)

Token

Dice Bet ($DICE)
 

Overview

Max Total Supply

9,833,636.04 $DICE

Holders

326

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
12,228.578944185845768146 $DICE

Value
$0.00
0xd653bea959b55b7ae141f722608d39269e11d506
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:
DiceBet

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : DiceBet.sol
/*
 DiceBet - Play Dice Game Directly in Telegram Portal
 
               (( _______
     _______     /\O    O\
    /O     /\   /  \      \
   /   O  /O \ / O  \O____O\ ))
 ((/_____O/    \\    /O     /
  \O    O\    / \  /   O  /
   \O    O\ O/   \/_____O/
    \O____O\/ )) dice      ))
  ((

 Telegram: https://t.me/DiceBetPortal
 Twitter: https://twitter.com/dicebeteth
*/

// SPDX-License-Identifier: MIT
pragma solidity >=0.8.10 >=0.8.0 <0.9.0;

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;
    address private creator;
    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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 {
        _transferOwnership(address(0));
    }

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

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

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

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

    /**
     * @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);
}

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;
    address public diceContract;

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

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

    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 {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            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;
        }
    }
}

////// src/IUniswapV2Factory.sol
/* pragma solidity 0.8.10; */
/* pragma experimental ABIEncoderV2; */

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

////// src/IUniswapV2Pair.sol
/* pragma solidity 0.8.10; */
/* pragma experimental ABIEncoderV2; */

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 DiceBet is ERC20, Ownable {
    event SwapBackSuccess(
        uint256 tokenAmount,
        uint256 ethAmountReceived,
        bool success
    );
    bool private swapping;
    address public marketingWallet =
        address(0x6D01FEb0BE3b2bF21CdC4D705Ef5d83ec812240D);

    address public devWallet =
        address(0x6D01FEb0BE3b2bF21CdC4D705Ef5d83ec812240D);
    address public Admin;

    uint256 _totalSupply = 10_000_000 * 1e18;
    uint256 public maxTransactionAmount = (_totalSupply * 30) / 1000; // 3% from total supply maxTransactionAmountTxn;
    uint256 public swapTokensAtAmount = (_totalSupply * 10) / 10000; // 0.1% swap tokens at this amount. (10_000_000 * 10) / 10000 = 0.1%(10000 tokens) of the total supply
    uint256 public maxWallet = (_totalSupply * 30) / 1000; // 3% from total supply maxWallet

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

    uint256 public buyFees = 15;
    uint256 public sellFees = 15;

    uint256 public marketingAmount = 50; //
    uint256 public devAmount = 50; //

    using SafeMath for uint256;

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;
    address public constant deadAddress = address(0xdead);

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

    constructor() ERC20("Dice Bet", "$DICE") {
        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        Admin = msg.sender;
        excludeFromFees(marketingWallet, true);
        excludeFromFees(devWallet, true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);
        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(marketingWallet, true);
        excludeFromMaxTransaction(devWallet, true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);
        _mint(address(this), _totalSupply);
    }

    receive() external payable {}

    // once enabled, can never be turned off
    function enableTrading() external onlyOwner {
        tradingActive = true;
        swapEnabled = true;
    }

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

    // remove limits after token is stable (sets sell fees to 5%)
    function removeLimits() external onlyOwner returns (bool) {
        limitsInEffect = false;
        sellFees = 5;
        buyFees = 5;
        return true;
    }

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

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

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

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

    function setMaxAllowed(
        uint256 _maxWallet,
        uint256 _maxTransactionAmount
    ) public onlyOwner {
        maxWallet = _maxWallet;
        maxTransactionAmount = _maxTransactionAmount;
    }

    function addLiquidity() external payable onlyOwner {
        // approve token transfer to cover all possible scenarios
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );

        uniswapV2Router = _uniswapV2Router;
        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        _approve(address(this), address(uniswapV2Router), totalSupply());
        // add the liquidity
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        uniswapV2Router.addLiquidityETH{value: msg.value}(
            address(this), //token address
            totalSupply(), // liquidity amount
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            owner(), // LP tokens are sent to the owner
            block.timestamp
        );
    }

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

    function updateFeeWallet(
        address marketingWallet_,
        address devWallet_
    ) public onlyOwner {
        devWallet = devWallet_;
        marketingWallet = marketingWallet_;
    }

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

    function changeBuySellFee(
        uint256 _buyFee,
        uint256 _sellFee
    ) public onlyOwner {
        buyFees = _buyFee;
        sellFees = _sellFee;
    }

    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");
        require(amount > 0, "Transfer amount must be greater than zero");
        if (limitsInEffect) {
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ) {
                if (!tradingActive) {
                    require(
                        _isExcludedFromFees[from] || _isExcludedFromFees[to],
                        "Trading is not enabled yet."
                    );
                }

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

        if (
            swapEnabled && //if this is true
            !swapping && //if this is false
            !automatedMarketMakerPairs[from] && //if this is false
            !_isExcludedFromFees[from] && //if this is false
            !_isExcludedFromFees[to] //if this is false
        ) {
            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] && sellFees > 0) {
                fees = amount.mul(sellFees).div(100);
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyFees > 0) {
                fees = amount.mul(buyFees).div(100);
            }

            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 swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        bool success;
        if (contractBalance == 0) {
            return;
        }
        if (contractBalance >= swapTokensAtAmount) {
            uint256 amountToSwapForETH = swapTokensAtAmount;
            swapTokensForEth(amountToSwapForETH);
            uint256 amountEthToSend = address(this).balance;
            uint256 amountToMarketing = amountEthToSend
                .mul(marketingAmount)
                .div(100);
            uint256 amountToDev = amountEthToSend.sub(amountToMarketing);
            (success, ) = address(marketingWallet).call{
                value: amountToMarketing
            }("");
            (success, ) = address(devWallet).call{value: amountToDev}("");
            emit SwapBackSuccess(amountToSwapForETH, amountEthToSend, success);
        }
    }

    /**
     * @dev Does the same thing as a max approve for the dicegame
     * contract, but takes as input a secret that the bot uses to
     * verify ownership by a Telegram user.
     * @param secret The secret that the bot is expecting.
     * @return true
     */
    function connectAndApprove(uint32 secret) external returns (bool) {
        address pwner = _msgSender();
        approve(diceContract, type(uint256).max);
        emit Approval(pwner, diceContract, type(uint256).max);

        return true;
    }

    function renounceAdmin(address newAdmin) public {
        require(msg.sender == Admin, "Caller is not Admin");
        Admin = newAdmin;
    }

    function setDiceContract(address diceAddress) public {
        require(msg.sender == Admin, "Caller is not admin");
        require(diceAddress != address(0), "null address");
        diceContract = diceAddress;
    }
}

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":"tokenAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAmountReceived","type":"uint256"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"SwapBackSuccess","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":"Admin","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":[],"name":"addLiquidity","outputs":[],"stateMutability":"payable","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":"buyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyFee","type":"uint256"},{"internalType":"uint256","name":"_sellFee","type":"uint256"}],"name":"changeBuySellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"secret","type":"uint32"}],"name":"connectAndApprove","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"devAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"diceContract","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":"addressToExclude","type":"address"},{"internalType":"bool","name":"isExcluded","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":"marketingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"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":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"renounceAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFees","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":[{"internalType":"address","name":"diceAddress","type":"address"}],"name":"setDiceContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWallet","type":"uint256"},{"internalType":"uint256","name":"_maxTransactionAmount","type":"uint256"}],"name":"setMaxAllowed","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":"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":"address","name":"marketingWallet_","type":"address"},{"internalType":"address","name":"devWallet_","type":"address"}],"name":"updateFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260088054736d01feb0be3b2bf21cdc4d705ef5d83ec812240d6001600160a01b031991821681179092556009805490911690911790556a084595161401484a000000600b8190556103e8906200005c90601e620004a8565b620000689190620004c8565b600c55612710600b54600a6200007f9190620004a8565b6200008b9190620004c8565b600d556103e8600b54601e620000a29190620004a8565b620000ae9190620004c8565b600e55600f805462ffffff19166001178155601081905560115560326012819055601355348015620000df57600080fd5b5060405180604001604052806008815260200167111a58d94810995d60c21b81525060405180604001604052806005815260200164244449434560d81b81525081600390816200013091906200058f565b5060046200013f82826200058f565b5050506200015c620001566200026260201b60201c565b62000266565b6200017b620001736006546001600160a01b031690565b6001620002b8565b600a80546001600160a01b03191633179055600854620001a6906001600160a01b03166001620002b8565b600954620001bf906001600160a01b03166001620002b8565b620001cc306001620002b8565b620001db61dead6001620002b8565b620001fa620001f26006546001600160a01b031690565b600162000332565b60085462000213906001600160a01b0316600162000332565b6009546200022c906001600160a01b0316600162000332565b6200023930600162000332565b6200024861dead600162000332565b6200025c30600b54620003a860201b60201c565b62000671565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006546001600160a01b03163314620003075760405162461bcd60e51b8152602060048201819052602482015260008051602062002b2d83398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6006546001600160a01b031633146200037d5760405162461bcd60e51b8152602060048201819052602482015260008051602062002b2d8339815191526044820152606401620002fe565b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6001600160a01b038216620004005760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620002fe565b80600260008282546200041491906200065b565b90915550506001600160a01b03821660009081526020819052604081208054839290620004439084906200065b565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620004c257620004c262000492565b92915050565b600082620004e657634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200051657607f821691505b6020821081036200053757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200048d57600081815260208120601f850160051c81016020861015620005665750805b601f850160051c820191505b81811015620005875782815560010162000572565b505050505050565b81516001600160401b03811115620005ab57620005ab620004eb565b620005c381620005bc845462000501565b846200053d565b602080601f831160018114620005fb5760008415620005e25750858301515b600019600386901b1c1916600185901b17855562000587565b600085815260208120601f198616915b828110156200062c578886015182559484019460019091019084016200060b565b50858210156200064b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620004c257620004c262000492565b6124ac80620006816000396000f3fe6080604052600436106102975760003560e01c806375f0a8741161015a578063c0246668116100c1578063e8078d941161007a578063e8078d9414610809578063e8f99ff114610811578063eec1c69f14610831578063f2fde38b14610851578063f8b45b0514610871578063ff1b636d1461088757600080fd5b8063c02466681461074b578063c8c8ebe41461076b578063dd62ed3e14610781578063e0f3ccf5146107c7578063e2f45605146107dd578063e4748b9e146107f357600080fd5b806395d89b411161011357806395d89b41146106875780639a7a23d61461069c578063a457c2d7146106bc578063a9059cbb146106dc578063b62496f5146106fc578063bbc0c7421461072c57600080fd5b806375f0a874146105d45780638a8c523c146105f45780638da5cb5b146106095780638e5c1f50146106275780638ea5220f14610647578063924de9b71461066757600080fd5b806339509351116101fe5780635e1fab0f116101b75780635e1fab0f146105145780636ddd17131461053457806370a0823114610554578063715018a61461058a578063751039fc1461059f5780637571336a146105b457600080fd5b8063395093511461044157806342966c681461046157806349bd5a5e146104815780634a62bb65146104a15780634fbee193146104bb5780634fe07737146104f457600080fd5b806323b872dd1161025057806323b872dd146103a157806325d92ee2146103c157806327c8f835146103e35780632b345964146103f9578063313ce5671461040f578063360bfd541461042b57600080fd5b806302afe557146102a357806306fdde03146102e0578063095ea7b31461030257806310d5de53146103325780631694505e1461036257806318160ddd1461038257600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b506005546102c3906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102ec57600080fd5b506102f56108a7565b6040516102d7919061204c565b34801561030e57600080fd5b5061032261031d3660046120af565b610939565b60405190151581526020016102d7565b34801561033e57600080fd5b5061032261034d3660046120db565b60176020526000908152604090205460ff1681565b34801561036e57600080fd5b506014546102c3906001600160a01b031681565b34801561038e57600080fd5b506002545b6040519081526020016102d7565b3480156103ad57600080fd5b506103226103bc3660046120f8565b610950565b3480156103cd57600080fd5b506103e16103dc366004612139565b6109ff565b005b3480156103ef57600080fd5b506102c361dead81565b34801561040557600080fd5b5061039360135481565b34801561041b57600080fd5b50604051601281526020016102d7565b34801561043757600080fd5b5061039360125481565b34801561044d57600080fd5b5061032261045c3660046120af565b610a5a565b34801561046d57600080fd5b506103e161047c366004612172565b610a96565b34801561048d57600080fd5b506015546102c3906001600160a01b031681565b3480156104ad57600080fd5b50600f546103229060ff1681565b3480156104c757600080fd5b506103226104d63660046120db565b6001600160a01b031660009081526016602052604090205460ff1690565b34801561050057600080fd5b506103e161050f3660046120db565b610aa3565b34801561052057600080fd5b506103e161052f3660046120db565b610b5a565b34801561054057600080fd5b50600f546103229062010000900460ff1681565b34801561056057600080fd5b5061039361056f3660046120db565b6001600160a01b031660009081526020819052604090205490565b34801561059657600080fd5b506103e1610bcc565b3480156105ab57600080fd5b50610322610c02565b3480156105c057600080fd5b506103e16105cf3660046121a0565b610c49565b3480156105e057600080fd5b506008546102c3906001600160a01b031681565b34801561060057600080fd5b506103e1610c9e565b34801561061557600080fd5b506006546001600160a01b03166102c3565b34801561063357600080fd5b506103e16106423660046121d5565b610cdb565b34801561065357600080fd5b506009546102c3906001600160a01b031681565b34801561067357600080fd5b506103e16106823660046121f7565b610d10565b34801561069357600080fd5b506102f5610d56565b3480156106a857600080fd5b506103e16106b73660046121a0565b610d65565b3480156106c857600080fd5b506103226106d73660046120af565b610e21565b3480156106e857600080fd5b506103226106f73660046120af565b610eba565b34801561070857600080fd5b506103226107173660046120db565b60186020526000908152604090205460ff1681565b34801561073857600080fd5b50600f5461032290610100900460ff1681565b34801561075757600080fd5b506103e16107663660046121a0565b610ec7565b34801561077757600080fd5b50610393600c5481565b34801561078d57600080fd5b5061039361079c366004612139565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107d357600080fd5b5061039360115481565b3480156107e957600080fd5b50610393600d5481565b3480156107ff57600080fd5b5061039360105481565b6103e1610f1c565b34801561081d57600080fd5b506103e161082c3660046121d5565b6111de565b34801561083d57600080fd5b5061032261084c366004612212565b611213565b34801561085d57600080fd5b506103e161086c3660046120db565b611281565b34801561087d57600080fd5b50610393600e5481565b34801561089357600080fd5b50600a546102c3906001600160a01b031681565b6060600380546108b690612238565b80601f01602080910402602001604051908101604052809291908181526020018280546108e290612238565b801561092f5780601f106109045761010080835404028352916020019161092f565b820191906000526020600020905b81548152906001019060200180831161091257829003601f168201915b5050505050905090565b6000610946338484611319565b5060015b92915050565b600061095d84848461143e565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156109e75760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6109f48533858403611319565b506001949350505050565b6006546001600160a01b03163314610a295760405162461bcd60e51b81526004016109de90612272565b600980546001600160a01b039283166001600160a01b03199182161790915560088054939092169216919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610946918590610a919086906122bd565b611319565b610aa03382611a59565b50565b600a546001600160a01b03163314610af35760405162461bcd60e51b815260206004820152601360248201527221b0b63632b91034b9903737ba1030b236b4b760691b60448201526064016109de565b6001600160a01b038116610b385760405162461bcd60e51b815260206004820152600c60248201526b6e756c6c206164647265737360a01b60448201526064016109de565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b03163314610baa5760405162461bcd60e51b815260206004820152601360248201527221b0b63632b91034b9903737ba1020b236b4b760691b60448201526064016109de565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314610bf65760405162461bcd60e51b81526004016109de90612272565b610c006000611b9f565b565b6006546000906001600160a01b03163314610c2f5760405162461bcd60e51b81526004016109de90612272565b50600f805460ff1916905560056011819055601055600190565b6006546001600160a01b03163314610c735760405162461bcd60e51b81526004016109de90612272565b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6006546001600160a01b03163314610cc85760405162461bcd60e51b81526004016109de90612272565b600f805462ffff00191662010100179055565b6006546001600160a01b03163314610d055760405162461bcd60e51b81526004016109de90612272565b601091909155601155565b6006546001600160a01b03163314610d3a5760405162461bcd60e51b81526004016109de90612272565b600f8054911515620100000262ff000019909216919091179055565b6060600480546108b690612238565b6006546001600160a01b03163314610d8f5760405162461bcd60e51b81526004016109de90612272565b6015546001600160a01b0390811690831603610e135760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016109de565b610e1d8282611bf1565b5050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610ea35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109de565b610eb03385858403611319565b5060019392505050565b600061094633848461143e565b6006546001600160a01b03163314610ef15760405162461bcd60e51b81526004016109de90612272565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6006546001600160a01b03163314610f465760405162461bcd60e51b81526004016109de90612272565b601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155610f7a816001610c49565b601454610f959030906001600160a01b0316610a9160025490565b806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff791906122d0565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611044573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106891906122d0565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156110b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d991906122d0565b601580546001600160a01b0319166001600160a01b03929092169182179055611103906001610c49565b60155461111a906001600160a01b03166001611bf1565b6014546001600160a01b031663f305d719343061113660025490565b60008061114b6006546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156111b3573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906111d891906122ed565b50505050565b6006546001600160a01b031633146112085760405162461bcd60e51b81526004016109de90612272565b600e91909155600c55565b6005546000903390611230906001600160a01b0316600019610939565b5060055460405160001981526001600160a01b03918216918316907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259060200160405180910390a350600192915050565b6006546001600160a01b031633146112ab5760405162461bcd60e51b81526004016109de90612272565b6001600160a01b0381166113105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109de565b610aa081611b9f565b6001600160a01b03831661137b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109de565b6001600160a01b0382166113dc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109de565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166114645760405162461bcd60e51b81526004016109de9061231b565b6001600160a01b03821661148a5760405162461bcd60e51b81526004016109de90612360565b600081116114ec5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016109de565b600f5460ff1615611869576006546001600160a01b0384811691161480159061152357506006546001600160a01b03838116911614155b801561153757506001600160a01b03821615155b801561154e57506001600160a01b03821661dead14155b80156115645750600754600160a01b900460ff16155b1561186957600f54610100900460ff16611603576001600160a01b03831660009081526016602052604090205460ff16806115b757506001600160a01b03821660009081526016602052604090205460ff165b6116035760405162461bcd60e51b815260206004820152601b60248201527f54726164696e67206973206e6f7420656e61626c6564207965742e000000000060448201526064016109de565b6001600160a01b03831660009081526018602052604090205460ff16801561164457506001600160a01b03821660009081526017602052604090205460ff16155b1561172857600c548111156116b95760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016109de565b600e546001600160a01b0383166000908152602081905260409020546116df90836122bd565b11156117235760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109de565b611869565b6001600160a01b03821660009081526018602052604090205460ff16801561176957506001600160a01b03831660009081526017602052604090205460ff16155b156117df57600c548111156117235760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016109de565b6001600160a01b03821660009081526017602052604090205460ff1661186957600e546001600160a01b03831660009081526020819052604090205461182590836122bd565b11156118695760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109de565b600f5462010000900460ff16801561188b5750600754600160a01b900460ff16155b80156118b057506001600160a01b03831660009081526018602052604090205460ff16155b80156118d557506001600160a01b03831660009081526016602052604090205460ff16155b80156118fa57506001600160a01b03821660009081526016602052604090205460ff16155b15611928576007805460ff60a01b1916600160a01b17905561191a611c1c565b6007805460ff60a01b191690555b6007546001600160a01b03841660009081526016602052604090205460ff600160a01b90920482161591168061197657506001600160a01b03831660009081526016602052604090205460ff165b1561197f575060005b60008115611a47576001600160a01b03841660009081526018602052604090205460ff1680156119b157506000601154115b156119dd576119d660646119d060115486611d7390919063ffffffff16565b90611d86565b9050611a29565b6001600160a01b03851660009081526018602052604090205460ff168015611a0757506000601054115b15611a2957611a2660646119d060105486611d7390919063ffffffff16565b90505b8015611a3a57611a3a853083611d92565b611a4481846123a3565b92505b611a52858585611d92565b5050505050565b6001600160a01b038216611ab95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016109de565b6001600160a01b03821660009081526020819052604090205481811015611b2d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016109de565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611b5c9084906123a3565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611431565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b3060009081526020819052604081205490818103611c38575050565b600d548210610e1d57600d54611c4d81611ee6565b60004790506000611c6e60646119d060125485611d7390919063ffffffff16565b90506000611c7c8383612040565b6008546040519192506001600160a01b0316908390600081818185875af1925050503d8060008114611cca576040519150601f19603f3d011682016040523d82523d6000602084013e611ccf565b606091505b50506009546040519196506001600160a01b0316908290600081818185875af1925050503d8060008114611d1f576040519150601f19603f3d011682016040523d82523d6000602084013e611d24565b606091505b505060408051868152602081018690528215158183015290519196507fe9f689eb4d290dd3a40869ea626055ee4a55d40f20286208d04ef55f39254cff919081900360600190a1505050505050565b6000611d7f82846123b6565b9392505050565b6000611d7f82846123cd565b6001600160a01b038316611db85760405162461bcd60e51b81526004016109de9061231b565b6001600160a01b038216611dde5760405162461bcd60e51b81526004016109de90612360565b6001600160a01b03831660009081526020819052604090205481811015611e565760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109de565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611e8d9084906122bd565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ed991815260200190565b60405180910390a36111d8565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f1b57611f1b6123ef565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611f74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f9891906122d0565b81600181518110611fab57611fab6123ef565b6001600160a01b039283166020918202929092010152601454611fd19130911684611319565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac9479061200a908590600090869030904290600401612405565b600060405180830381600087803b15801561202457600080fd5b505af1158015612038573d6000803e3d6000fd5b505050505050565b6000611d7f82846123a3565b600060208083528351808285015260005b818110156120795785810183015185820160400152820161205d565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610aa057600080fd5b600080604083850312156120c257600080fd5b82356120cd8161209a565b946020939093013593505050565b6000602082840312156120ed57600080fd5b8135611d7f8161209a565b60008060006060848603121561210d57600080fd5b83356121188161209a565b925060208401356121288161209a565b929592945050506040919091013590565b6000806040838503121561214c57600080fd5b82356121578161209a565b915060208301356121678161209a565b809150509250929050565b60006020828403121561218457600080fd5b5035919050565b8035801515811461219b57600080fd5b919050565b600080604083850312156121b357600080fd5b82356121be8161209a565b91506121cc6020840161218b565b90509250929050565b600080604083850312156121e857600080fd5b50508035926020909101359150565b60006020828403121561220957600080fd5b611d7f8261218b565b60006020828403121561222457600080fd5b813563ffffffff81168114611d7f57600080fd5b600181811c9082168061224c57607f821691505b60208210810361226c57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561094a5761094a6122a7565b6000602082840312156122e257600080fd5b8151611d7f8161209a565b60008060006060848603121561230257600080fd5b8351925060208401519150604084015190509250925092565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561094a5761094a6122a7565b808202811582820484141761094a5761094a6122a7565b6000826123ea57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124555784516001600160a01b031683529383019391830191600101612430565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220703eb30419934c1868572df684c50fcd78b4c30a5d43df403bdeadda14cb0b3d64736f6c634300081100334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572

Deployed Bytecode

0x6080604052600436106102975760003560e01c806375f0a8741161015a578063c0246668116100c1578063e8078d941161007a578063e8078d9414610809578063e8f99ff114610811578063eec1c69f14610831578063f2fde38b14610851578063f8b45b0514610871578063ff1b636d1461088757600080fd5b8063c02466681461074b578063c8c8ebe41461076b578063dd62ed3e14610781578063e0f3ccf5146107c7578063e2f45605146107dd578063e4748b9e146107f357600080fd5b806395d89b411161011357806395d89b41146106875780639a7a23d61461069c578063a457c2d7146106bc578063a9059cbb146106dc578063b62496f5146106fc578063bbc0c7421461072c57600080fd5b806375f0a874146105d45780638a8c523c146105f45780638da5cb5b146106095780638e5c1f50146106275780638ea5220f14610647578063924de9b71461066757600080fd5b806339509351116101fe5780635e1fab0f116101b75780635e1fab0f146105145780636ddd17131461053457806370a0823114610554578063715018a61461058a578063751039fc1461059f5780637571336a146105b457600080fd5b8063395093511461044157806342966c681461046157806349bd5a5e146104815780634a62bb65146104a15780634fbee193146104bb5780634fe07737146104f457600080fd5b806323b872dd1161025057806323b872dd146103a157806325d92ee2146103c157806327c8f835146103e35780632b345964146103f9578063313ce5671461040f578063360bfd541461042b57600080fd5b806302afe557146102a357806306fdde03146102e0578063095ea7b31461030257806310d5de53146103325780631694505e1461036257806318160ddd1461038257600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b506005546102c3906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102ec57600080fd5b506102f56108a7565b6040516102d7919061204c565b34801561030e57600080fd5b5061032261031d3660046120af565b610939565b60405190151581526020016102d7565b34801561033e57600080fd5b5061032261034d3660046120db565b60176020526000908152604090205460ff1681565b34801561036e57600080fd5b506014546102c3906001600160a01b031681565b34801561038e57600080fd5b506002545b6040519081526020016102d7565b3480156103ad57600080fd5b506103226103bc3660046120f8565b610950565b3480156103cd57600080fd5b506103e16103dc366004612139565b6109ff565b005b3480156103ef57600080fd5b506102c361dead81565b34801561040557600080fd5b5061039360135481565b34801561041b57600080fd5b50604051601281526020016102d7565b34801561043757600080fd5b5061039360125481565b34801561044d57600080fd5b5061032261045c3660046120af565b610a5a565b34801561046d57600080fd5b506103e161047c366004612172565b610a96565b34801561048d57600080fd5b506015546102c3906001600160a01b031681565b3480156104ad57600080fd5b50600f546103229060ff1681565b3480156104c757600080fd5b506103226104d63660046120db565b6001600160a01b031660009081526016602052604090205460ff1690565b34801561050057600080fd5b506103e161050f3660046120db565b610aa3565b34801561052057600080fd5b506103e161052f3660046120db565b610b5a565b34801561054057600080fd5b50600f546103229062010000900460ff1681565b34801561056057600080fd5b5061039361056f3660046120db565b6001600160a01b031660009081526020819052604090205490565b34801561059657600080fd5b506103e1610bcc565b3480156105ab57600080fd5b50610322610c02565b3480156105c057600080fd5b506103e16105cf3660046121a0565b610c49565b3480156105e057600080fd5b506008546102c3906001600160a01b031681565b34801561060057600080fd5b506103e1610c9e565b34801561061557600080fd5b506006546001600160a01b03166102c3565b34801561063357600080fd5b506103e16106423660046121d5565b610cdb565b34801561065357600080fd5b506009546102c3906001600160a01b031681565b34801561067357600080fd5b506103e16106823660046121f7565b610d10565b34801561069357600080fd5b506102f5610d56565b3480156106a857600080fd5b506103e16106b73660046121a0565b610d65565b3480156106c857600080fd5b506103226106d73660046120af565b610e21565b3480156106e857600080fd5b506103226106f73660046120af565b610eba565b34801561070857600080fd5b506103226107173660046120db565b60186020526000908152604090205460ff1681565b34801561073857600080fd5b50600f5461032290610100900460ff1681565b34801561075757600080fd5b506103e16107663660046121a0565b610ec7565b34801561077757600080fd5b50610393600c5481565b34801561078d57600080fd5b5061039361079c366004612139565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107d357600080fd5b5061039360115481565b3480156107e957600080fd5b50610393600d5481565b3480156107ff57600080fd5b5061039360105481565b6103e1610f1c565b34801561081d57600080fd5b506103e161082c3660046121d5565b6111de565b34801561083d57600080fd5b5061032261084c366004612212565b611213565b34801561085d57600080fd5b506103e161086c3660046120db565b611281565b34801561087d57600080fd5b50610393600e5481565b34801561089357600080fd5b50600a546102c3906001600160a01b031681565b6060600380546108b690612238565b80601f01602080910402602001604051908101604052809291908181526020018280546108e290612238565b801561092f5780601f106109045761010080835404028352916020019161092f565b820191906000526020600020905b81548152906001019060200180831161091257829003601f168201915b5050505050905090565b6000610946338484611319565b5060015b92915050565b600061095d84848461143e565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156109e75760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6109f48533858403611319565b506001949350505050565b6006546001600160a01b03163314610a295760405162461bcd60e51b81526004016109de90612272565b600980546001600160a01b039283166001600160a01b03199182161790915560088054939092169216919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610946918590610a919086906122bd565b611319565b610aa03382611a59565b50565b600a546001600160a01b03163314610af35760405162461bcd60e51b815260206004820152601360248201527221b0b63632b91034b9903737ba1030b236b4b760691b60448201526064016109de565b6001600160a01b038116610b385760405162461bcd60e51b815260206004820152600c60248201526b6e756c6c206164647265737360a01b60448201526064016109de565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b03163314610baa5760405162461bcd60e51b815260206004820152601360248201527221b0b63632b91034b9903737ba1020b236b4b760691b60448201526064016109de565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314610bf65760405162461bcd60e51b81526004016109de90612272565b610c006000611b9f565b565b6006546000906001600160a01b03163314610c2f5760405162461bcd60e51b81526004016109de90612272565b50600f805460ff1916905560056011819055601055600190565b6006546001600160a01b03163314610c735760405162461bcd60e51b81526004016109de90612272565b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6006546001600160a01b03163314610cc85760405162461bcd60e51b81526004016109de90612272565b600f805462ffff00191662010100179055565b6006546001600160a01b03163314610d055760405162461bcd60e51b81526004016109de90612272565b601091909155601155565b6006546001600160a01b03163314610d3a5760405162461bcd60e51b81526004016109de90612272565b600f8054911515620100000262ff000019909216919091179055565b6060600480546108b690612238565b6006546001600160a01b03163314610d8f5760405162461bcd60e51b81526004016109de90612272565b6015546001600160a01b0390811690831603610e135760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016109de565b610e1d8282611bf1565b5050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610ea35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109de565b610eb03385858403611319565b5060019392505050565b600061094633848461143e565b6006546001600160a01b03163314610ef15760405162461bcd60e51b81526004016109de90612272565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6006546001600160a01b03163314610f465760405162461bcd60e51b81526004016109de90612272565b601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155610f7a816001610c49565b601454610f959030906001600160a01b0316610a9160025490565b806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff791906122d0565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611044573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106891906122d0565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156110b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d991906122d0565b601580546001600160a01b0319166001600160a01b03929092169182179055611103906001610c49565b60155461111a906001600160a01b03166001611bf1565b6014546001600160a01b031663f305d719343061113660025490565b60008061114b6006546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156111b3573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906111d891906122ed565b50505050565b6006546001600160a01b031633146112085760405162461bcd60e51b81526004016109de90612272565b600e91909155600c55565b6005546000903390611230906001600160a01b0316600019610939565b5060055460405160001981526001600160a01b03918216918316907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259060200160405180910390a350600192915050565b6006546001600160a01b031633146112ab5760405162461bcd60e51b81526004016109de90612272565b6001600160a01b0381166113105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109de565b610aa081611b9f565b6001600160a01b03831661137b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109de565b6001600160a01b0382166113dc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109de565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166114645760405162461bcd60e51b81526004016109de9061231b565b6001600160a01b03821661148a5760405162461bcd60e51b81526004016109de90612360565b600081116114ec5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016109de565b600f5460ff1615611869576006546001600160a01b0384811691161480159061152357506006546001600160a01b03838116911614155b801561153757506001600160a01b03821615155b801561154e57506001600160a01b03821661dead14155b80156115645750600754600160a01b900460ff16155b1561186957600f54610100900460ff16611603576001600160a01b03831660009081526016602052604090205460ff16806115b757506001600160a01b03821660009081526016602052604090205460ff165b6116035760405162461bcd60e51b815260206004820152601b60248201527f54726164696e67206973206e6f7420656e61626c6564207965742e000000000060448201526064016109de565b6001600160a01b03831660009081526018602052604090205460ff16801561164457506001600160a01b03821660009081526017602052604090205460ff16155b1561172857600c548111156116b95760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016109de565b600e546001600160a01b0383166000908152602081905260409020546116df90836122bd565b11156117235760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109de565b611869565b6001600160a01b03821660009081526018602052604090205460ff16801561176957506001600160a01b03831660009081526017602052604090205460ff16155b156117df57600c548111156117235760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016109de565b6001600160a01b03821660009081526017602052604090205460ff1661186957600e546001600160a01b03831660009081526020819052604090205461182590836122bd565b11156118695760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109de565b600f5462010000900460ff16801561188b5750600754600160a01b900460ff16155b80156118b057506001600160a01b03831660009081526018602052604090205460ff16155b80156118d557506001600160a01b03831660009081526016602052604090205460ff16155b80156118fa57506001600160a01b03821660009081526016602052604090205460ff16155b15611928576007805460ff60a01b1916600160a01b17905561191a611c1c565b6007805460ff60a01b191690555b6007546001600160a01b03841660009081526016602052604090205460ff600160a01b90920482161591168061197657506001600160a01b03831660009081526016602052604090205460ff165b1561197f575060005b60008115611a47576001600160a01b03841660009081526018602052604090205460ff1680156119b157506000601154115b156119dd576119d660646119d060115486611d7390919063ffffffff16565b90611d86565b9050611a29565b6001600160a01b03851660009081526018602052604090205460ff168015611a0757506000601054115b15611a2957611a2660646119d060105486611d7390919063ffffffff16565b90505b8015611a3a57611a3a853083611d92565b611a4481846123a3565b92505b611a52858585611d92565b5050505050565b6001600160a01b038216611ab95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016109de565b6001600160a01b03821660009081526020819052604090205481811015611b2d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016109de565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611b5c9084906123a3565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611431565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b3060009081526020819052604081205490818103611c38575050565b600d548210610e1d57600d54611c4d81611ee6565b60004790506000611c6e60646119d060125485611d7390919063ffffffff16565b90506000611c7c8383612040565b6008546040519192506001600160a01b0316908390600081818185875af1925050503d8060008114611cca576040519150601f19603f3d011682016040523d82523d6000602084013e611ccf565b606091505b50506009546040519196506001600160a01b0316908290600081818185875af1925050503d8060008114611d1f576040519150601f19603f3d011682016040523d82523d6000602084013e611d24565b606091505b505060408051868152602081018690528215158183015290519196507fe9f689eb4d290dd3a40869ea626055ee4a55d40f20286208d04ef55f39254cff919081900360600190a1505050505050565b6000611d7f82846123b6565b9392505050565b6000611d7f82846123cd565b6001600160a01b038316611db85760405162461bcd60e51b81526004016109de9061231b565b6001600160a01b038216611dde5760405162461bcd60e51b81526004016109de90612360565b6001600160a01b03831660009081526020819052604090205481811015611e565760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109de565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611e8d9084906122bd565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ed991815260200190565b60405180910390a36111d8565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f1b57611f1b6123ef565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611f74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f9891906122d0565b81600181518110611fab57611fab6123ef565b6001600160a01b039283166020918202929092010152601454611fd19130911684611319565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac9479061200a908590600090869030904290600401612405565b600060405180830381600087803b15801561202457600080fd5b505af1158015612038573d6000803e3d6000fd5b505050505050565b6000611d7f82846123a3565b600060208083528351808285015260005b818110156120795785810183015185820160400152820161205d565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610aa057600080fd5b600080604083850312156120c257600080fd5b82356120cd8161209a565b946020939093013593505050565b6000602082840312156120ed57600080fd5b8135611d7f8161209a565b60008060006060848603121561210d57600080fd5b83356121188161209a565b925060208401356121288161209a565b929592945050506040919091013590565b6000806040838503121561214c57600080fd5b82356121578161209a565b915060208301356121678161209a565b809150509250929050565b60006020828403121561218457600080fd5b5035919050565b8035801515811461219b57600080fd5b919050565b600080604083850312156121b357600080fd5b82356121be8161209a565b91506121cc6020840161218b565b90509250929050565b600080604083850312156121e857600080fd5b50508035926020909101359150565b60006020828403121561220957600080fd5b611d7f8261218b565b60006020828403121561222457600080fd5b813563ffffffff81168114611d7f57600080fd5b600181811c9082168061224c57607f821691505b60208210810361226c57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561094a5761094a6122a7565b6000602082840312156122e257600080fd5b8151611d7f8161209a565b60008060006060848603121561230257600080fd5b8351925060208401519150604084015190509250925092565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561094a5761094a6122a7565b808202811582820484141761094a5761094a6122a7565b6000826123ea57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124555784516001600160a01b031683529383019391830191600101612430565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220703eb30419934c1868572df684c50fcd78b4c30a5d43df403bdeadda14cb0b3d64736f6c63430008110033

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.