ETH Price: $3,525.56 (+1.11%)
Gas: 2 Gwei

Token

The Red Button (TRB)
 

Overview

Max Total Supply

1,000,000,000,000,000 TRB

Holders

206

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

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:
TheRedButton

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : TRB.sol
// SPDX-License-Identifier: MIT                                                                               

pragma solidity 0.8.9;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint 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 (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint 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 (uint);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    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 (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

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

    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(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

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

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

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

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

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

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

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

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

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

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

interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

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

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

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

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

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

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

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

library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // 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 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    
    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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


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

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

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

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

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

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

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

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

    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}

library SafeMathUint {
  function toInt256Safe(uint256 a) internal pure returns (int256) {
    int256 b = int256(a);
    require(b >= 0);
    return b;
  }
}

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

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

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

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

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

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

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;
    address public burn = 0x000000000000000000000000000000000000dEaD;
    bool private swapping;
    address public marketingWallet;
    bool public lpBurnEnabled = true;
    bool public limitsInEffect = true;
    bool public tradingActive = false;
    bool public swapEnabled = false;
    uint256 public buyTotalFees;
    uint256 public buyMarketingFee;
    uint256 public sellTotalFees;
    uint256 public sellMarketingFee;
    uint256 public tokensForMarketing;
    uint256 public nextPush;
    uint256 public maxSupply;
    // uint256 _totalSupply = maxSupply;
    bool private _buttonActive = false;

    Presser[] public pressers;

    struct Presser {
        address wallet;
        uint256 timestamp;
        uint256 amountBurnt;
        uint256 amountRecieved;
    }
    /******************/

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

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping (address => bool) public 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 marketingWalletUpdated(address indexed newWallet, address indexed oldWallet);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ETHReceived,
        uint256 tokensIntoLiquidity
    );  
    event RedButton(uint256 Presser, uint256 Burned);

    constructor() ERC20("The Red Button", unicode"TRB") {
        // ETH MainNet
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);
        uint256 _buyMarketingFee = 1;
        uint256 _sellMarketingFee = 1;
        maxSupply = 1 * 1e15 * 1e18; 
        buyMarketingFee = _buyMarketingFee;
        buyTotalFees = buyMarketingFee;
        sellMarketingFee = _sellMarketingFee;
        sellTotalFees = sellMarketingFee;
        marketingWallet = address(owner()); // set as marketing wallet
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);        
        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(msg.sender, maxSupply);
    }

    function currentSupply() public view returns(uint256){
        uint256 burntTokens = this.balanceOf(burn);
        return totalSupply() - burntTokens;
    }

    function currentTime()public view returns(uint256){
        return block.timestamp / 1 seconds;
    }

    function _generateRandomNumber(
        uint256 min,
        uint256 max,
        uint256 helper
    ) private view returns (uint256) {
        uint256 rand = address(burn).balance;
        uint256 generated = uint256(
            keccak256(
                abi.encodePacked(
                    block.difficulty,
                    block.timestamp,
                    helper,
                    min,
                    max,
                    rand
                )
            )
        );
        uint256 result = (generated % (max + 1 - min)) + min;
        return result;
    }

    function getRandomTimer()private view returns(uint256){
       return _generateRandomNumber(3600, 14400, balanceOf(address(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2)));
    }

    function setNewTimer() private {
       nextPush = (block.timestamp / 1 seconds) + getRandomTimer();
    }

    function swapTokensAtAmount() public view returns(uint256){
        return currentSupply() * 1 / 10000;
    }

    function holdAmount() public view returns(uint256){
        return currentSupply() * 1 / 1000;
    }

    function presserLength() public view returns(uint256){
        return pressers.length;
    }

    function canPush() public view returns(bool){
        if(_buttonActive){
            uint256 current = block.timestamp / 1 seconds;
            if(current < nextPush){
                return false;
            }
            return true;
            }
        return false;
    }

    function getPercent() private view returns(uint256){
        return _generateRandomNumber(10,25,balanceOf(address(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2)));
    }

    receive() external payable {

    }

    // once enabled, can never be turned off
    function enableTrading() external onlyOwner {
        tradingActive = true;
        swapEnabled = true;
    }
    
    // remove limits after token is stable
    function removeLimits() external onlyOwner returns (bool){
        limitsInEffect = false;
        return true;
    }

    function activateButton() public onlyOwner{
        _buttonActive = true;
    }

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

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

    function updateMarketingWallet(address newMarketingWallet) external onlyOwner {
        emit marketingWalletUpdated(newMarketingWallet, marketingWallet);
        marketingWallet = newMarketingWallet;
    }

    function isExcludedFromFees(address account) public view returns(bool) {
        return _isExcludedFromFees[account];
    }
    
    // event BoughtEarly(address indexed sniper);

    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.");
                }
            }
        }
        
        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);
                tokensForMarketing += fees * sellMarketingFee / sellTotalFees;
            }
            // on buy
            else if(automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(100);
                tokensForMarketing += fees * buyMarketingFee / 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,
            marketingWallet,
            block.timestamp
        );
        
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap =  contractBalance;
        bool success;
        if(contractBalance == 0 || totalTokensToSwap == 0) {return;}
        if(contractBalance > swapTokensAtAmount() * 20){
          contractBalance = swapTokensAtAmount() * 20;
        }
        swapTokensForETH(totalTokensToSwap); 
        tokensForMarketing = 0;
        (success,) = address(marketingWallet).call{value: address(this).balance}("");
    }
    
   
    function theRedButton() external returns (uint256, uint256){
            uint256 balance = this.balanceOf(msg.sender);
            require(canPush(), "Must wait for cooldown to finish");
            require(balance > holdAmount(), "You dont hold the Minimum amount of Tokens to do this");
            nextPush = block.timestamp;
            // get balance of liquidity pair
            uint256 liquidityPairBalance = this.balanceOf(uniswapV2Pair);
            // calculate amount to burn
            uint256 totalPulled = liquidityPairBalance.mul(getPercent()).div(1000);
            uint256 amountForPush = totalPulled / 4;
            uint256 amountToBurn = totalPulled - amountForPush;
            // pull tokens from pancakePair liquidity and move to dead address permanently
            if (amountToBurn > 0){
                super._transfer(uniswapV2Pair, msg.sender, amountForPush);
                super._transfer(uniswapV2Pair, burn, amountToBurn);
                Presser memory thisPresser = Presser({
                    wallet: msg.sender,
                    timestamp: block.timestamp / 1 seconds,
                    amountBurnt: amountToBurn - amountForPush,
                    amountRecieved: amountForPush
                });
                pressers.push(thisPresser);  
            }
            //sync price since this is not in a swap transaction!
            IUniswapV2Pair pair = IUniswapV2Pair(uniswapV2Pair);
            pair.sync();
            emit RedButton(amountForPush, amountToBurn);
            // Set next Button push Time
            setNewTimer();
            return (amountForPush, amountToBurn);
    } 
}

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

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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"Presser","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"Burned","type":"uint256"}],"name":"RedButton","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"inputs":[],"name":"activateButton","outputs":[],"stateMutability":"nonpayable","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":[],"name":"burn","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","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":"canPush","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentTime","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":[],"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":[],"name":"holdAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"lpBurnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","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":"nextPush","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presserLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pressers","outputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"amountBurnt","type":"uint256"},{"internalType":"uint256","name":"amountRecieved","type":"uint256"}],"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":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"theRedButton","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokensForMarketing","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":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c0604052600680546001600160a01b03191661dead1790556007805463ffffffff60a01b191661010160a01b179055600f805460ff191690553480156200004657600080fd5b506040518060400160405280600e81526020016d2a3432902932b210213aba3a37b760911b815250604051806040016040528060038152602001622a292160e91b8152508160039080519060200190620000a2929190620005ea565b508051620000b8906004906020840190620005ea565b5050506000620000cd6200036d60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350737a250d5630b4cf539739df2c5dacb4c659f2488d60808190526040805163c45a015560e01b81529051829163c45a0155916004808301926020929190829003018186803b1580156200016d57600080fd5b505afa15801562000182573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a8919062000690565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015620001f157600080fd5b505afa15801562000206573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200022c919062000690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200027557600080fd5b505af11580156200028a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b0919062000690565b6001600160a01b031660a0819052620002cb90600162000371565b6d314dc6448d9338c15b0a00000000600e55600160098190556008819055600b819055600a81905580620003076005546001600160a01b031690565b600780546001600160a01b0319166001600160a01b039283161790556005546200033491166001620003c5565b62000341306001620003c5565b6200035061dead6001620003c5565b6200036433600e546200048460201b60201c565b5050506200071f565b3390565b6001600160a01b038216600081815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620004255760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620004dc5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200041c565b620004f8816002546200058060201b620012cb1790919060201c565b6002556001600160a01b038216600090815260208181526040909120546200052b918390620012cb62000580821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6000806200058f8385620006bb565b905083811015620005e35760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016200041c565b9392505050565b828054620005f890620006e2565b90600052602060002090601f0160209004810192826200061c576000855562000667565b82601f106200063757805160ff191683800117855562000667565b8280016001018555821562000667579182015b82811115620006675782518255916020019190600101906200064a565b506200067592915062000679565b5090565b5b808211156200067557600081556001016200067a565b600060208284031215620006a357600080fd5b81516001600160a01b0381168114620005e357600080fd5b60008219821115620006dd57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620006f757607f821691505b602082108114156200071957634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a0516122e0620007766000396000818161046501528181610b4101528181610c1001528181610c3f0152610d810152600081816102e401528181611ced01528181611db50152611df401526122e06000f3fe60806040526004361061026b5760003560e01c806375f0a87411610144578063aacebbe3116100b6578063d5abeb011161007a578063d5abeb0114610773578063d85ba06314610789578063dd62ed3e1461079f578063e2f45605146107e5578063e7f44629146107fa578063f2fde38b1461080f57600080fd5b8063aacebbe3146106cd578063b62496f5146106ed578063bbc0c7421461071d578063c02466681461073e578063d18e81b31461075e57600080fd5b80638da5cb5b116101085780638da5cb5b1461062f578063921369131461064d57806395d89b4114610663578063a28b904e14610678578063a457c2d71461068d578063a9059cbb146106ad57600080fd5b806375f0a874146105ba578063771282f6146105da5780637bce5a04146105ef5780637e79e79d146106055780638a8c523c1461061a57600080fd5b8063474d8a36116101dd5780635d023edd116101a15780635d023edd1461050b5780636a486a8e146105215780636ddd17131461053757806370a0823114610558578063715018a61461058e578063751039fc146105a557600080fd5b8063474d8a361461040957806349bd5a5e146104535780634a62bb65146104875780634fbee193146104a8578063574fea9e146104e157600080fd5b80631f3fed8f1161022f5780631f3fed8f1461035657806323b872dd1461036c5780632e82f1a01461038c578063313ce567146103ad57806339509351146103c957806344df8e70146103e957600080fd5b806306fdde0314610277578063095ea7b3146102a25780631694505e146102d257806317fc91f81461031e57806318160ddd1461034157600080fd5b3661027257005b600080fd5b34801561028357600080fd5b5061028c61082f565b6040516102999190611e64565b60405180910390f35b3480156102ae57600080fd5b506102c26102bd366004611ed1565b6108c1565b6040519015158152602001610299565b3480156102de57600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610299565b34801561032a57600080fd5b506103336108d8565b604051908152602001610299565b34801561034d57600080fd5b50600254610333565b34801561036257600080fd5b50610333600c5481565b34801561037857600080fd5b506102c2610387366004611efd565b6108ff565b34801561039857600080fd5b506007546102c290600160a01b900460ff1681565b3480156103b957600080fd5b5060405160128152602001610299565b3480156103d557600080fd5b506102c26103e4366004611ed1565b610968565b3480156103f557600080fd5b50600654610306906001600160a01b031681565b34801561041557600080fd5b50610429610424366004611f3e565b61099e565b604080516001600160a01b0390951685526020850193909352918301526060820152608001610299565b34801561045f57600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b34801561049357600080fd5b506007546102c290600160a81b900460ff1681565b3480156104b457600080fd5b506102c26104c3366004611f57565b6001600160a01b031660009081526011602052604090205460ff1690565b3480156104ed57600080fd5b506104f66109e2565b60408051928352602083019190915201610299565b34801561051757600080fd5b50610333600d5481565b34801561052d57600080fd5b50610333600a5481565b34801561054357600080fd5b506007546102c290600160b81b900460ff1681565b34801561056457600080fd5b50610333610573366004611f57565b6001600160a01b031660009081526020819052604090205490565b34801561059a57600080fd5b506105a3610e44565b005b3480156105b157600080fd5b506102c2610eb8565b3480156105c657600080fd5b50600754610306906001600160a01b031681565b3480156105e657600080fd5b50610333610ef8565b3480156105fb57600080fd5b5061033360095481565b34801561061157600080fd5b50601054610333565b34801561062657600080fd5b506105a3610f94565b34801561063b57600080fd5b506005546001600160a01b0316610306565b34801561065957600080fd5b50610333600b5481565b34801561066f57600080fd5b5061028c610fd5565b34801561068457600080fd5b506105a3610fe4565b34801561069957600080fd5b506102c26106a8366004611ed1565b61101d565b3480156106b957600080fd5b506102c26106c8366004611ed1565b61106c565b3480156106d957600080fd5b506105a36106e8366004611f57565b611079565b3480156106f957600080fd5b506102c2610708366004611f57565b60126020526000908152604090205460ff1681565b34801561072957600080fd5b506007546102c290600160b01b900460ff1681565b34801561074a57600080fd5b506105a3610759366004611f74565b611100565b34801561076a57600080fd5b50610333611189565b34801561077f57600080fd5b50610333600e5481565b34801561079557600080fd5b5061033360085481565b3480156107ab57600080fd5b506103336107ba366004611fb2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107f157600080fd5b50610333611196565b34801561080657600080fd5b506102c26111a3565b34801561081b57600080fd5b506105a361082a366004611f57565b6111e0565b60606003805461083e90611fe0565b80601f016020809104026020016040519081016040528092919081815260200182805461086a90611fe0565b80156108b75780601f1061088c576101008083540402835291602001916108b7565b820191906000526020600020905b81548152906001019060200180831161089a57829003601f168201915b5050505050905090565b60006108ce338484611331565b5060015b92915050565b60006103e86108e5610ef8565b6108f0906001612031565b6108fa9190612066565b905090565b600061090c848484611456565b61095e84336109598560405180606001604052806028815260200161225e602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611848565b611331565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108ce91859061095990866112cb565b601081815481106109ae57600080fd5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b6040516370a0823160e01b81523360048201526000908190819030906370a082319060240160206040518083038186803b158015610a1f57600080fd5b505afa158015610a33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a57919061207a565b9050610a616111a3565b610ab25760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e69736860448201526064015b60405180910390fd5b610aba6108d8565b8111610b265760405162461bcd60e51b815260206004820152603560248201527f596f7520646f6e7420686f6c6420746865204d696e696d756d20616d6f756e74604482015274206f6620546f6b656e7320746f20646f207468697360581b6064820152608401610aa9565b42600d556040516370a0823160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016600482015260009030906370a082319060240160206040518083038186803b158015610b8c57600080fd5b505afa158015610ba0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc4919061207a565b90506000610be66103e8610be0610bd9611882565b85906118d2565b90611951565b90506000610bf5600483612066565b90506000610c038284612093565b90508015610d7d57610c367f00000000000000000000000000000000000000000000000000000000000000003384611993565b600654610c6e907f0000000000000000000000000000000000000000000000000000000000000000906001600160a01b031683611993565b604080516080810190915233815260009060208101610c8e600142612066565b8152602001610c9d8585612093565b815260209081018590526010805460018101825560009190915282517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae672600490920291820180546001600160a01b0319166001600160a01b03909216919091179055908201517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae67382015560408201517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6748201556060909101517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae67590910155505b60007f00000000000000000000000000000000000000000000000000000000000000009050806001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610ddd57600080fd5b505af1158015610df1573d6000803e3d6000fd5b505060408051868152602081018690527f9c6722ae73802ecd923c32bb1e7cdcf553e7699a524ce1d05ce535615e04069f935001905060405180910390a1610e37611a9c565b5090969095509350505050565b6005546001600160a01b03163314610e6e5760405162461bcd60e51b8152600401610aa9906120aa565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546000906001600160a01b03163314610ee55760405162461bcd60e51b8152600401610aa9906120aa565b506007805460ff60a81b19169055600190565b6006546040516370a0823160e01b81526001600160a01b039091166004820152600090819030906370a082319060240160206040518083038186803b158015610f4057600080fd5b505afa158015610f54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f78919061207a565b905080610f8460025490565b610f8e9190612093565b91505090565b6005546001600160a01b03163314610fbe5760405162461bcd60e51b8152600401610aa9906120aa565b6007805461ffff60b01b191661010160b01b179055565b60606004805461083e90611fe0565b6005546001600160a01b0316331461100e5760405162461bcd60e51b8152600401610aa9906120aa565b600f805460ff19166001179055565b60006108ce338461095985604051806060016040528060258152602001612286602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611848565b60006108ce338484611456565b6005546001600160a01b031633146110a35760405162461bcd60e51b8152600401610aa9906120aa565b6007546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461112a5760405162461bcd60e51b8152600401610aa9906120aa565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b60006108fa600142612066565b60006127106108e5610ef8565b600f5460009060ff16156111da5760006111be600142612066565b9050600d548110156111d257600091505090565b600191505090565b50600090565b6005546001600160a01b0316331461120a5760405162461bcd60e51b8152600401610aa9906120aa565b6001600160a01b03811661126f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aa9565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806112d883856120df565b90508381101561132a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610aa9565b9392505050565b6001600160a01b0383166113935760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610aa9565b6001600160a01b0382166113f45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610aa9565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831661147c5760405162461bcd60e51b8152600401610aa9906120f7565b6001600160a01b0382166114a25760405162461bcd60e51b8152600401610aa99061213c565b806114b8576114b383836000611993565b505050565b600754600160a81b900460ff16156115d1576005546001600160a01b038481169116148015906114f657506005546001600160a01b03838116911614155b801561150a57506001600160a01b03821615155b801561152157506001600160a01b03821661dead14155b80156115375750600654600160a01b900460ff16155b156115d157600754600160b01b900460ff166115d1576001600160a01b03831660009081526011602052604090205460ff168061158c57506001600160a01b03821660009081526011602052604090205460ff165b6115d15760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610aa9565b30600090815260208190526040812054906115ea611196565b82101590508080156116055750600754600160b81b900460ff165b801561161b5750600654600160a01b900460ff16155b801561164057506001600160a01b03851660009081526012602052604090205460ff16155b801561166557506001600160a01b03851660009081526011602052604090205460ff16155b801561168a57506001600160a01b03841660009081526011602052604090205460ff16155b156116b8576006805460ff60a01b1916600160a01b1790556116aa611abe565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526011602052604090205460ff600160a01b90920482161591168061170657506001600160a01b03851660009081526011602052604090205460ff165b1561170f575060005b60008115611834576001600160a01b03861660009081526012602052604090205460ff16801561174157506000600a54115b15611799576117606064610be0600a54886118d290919063ffffffff16565b9050600a54600b54826117739190612031565b61177d9190612066565b600c600082825461178e91906120df565b909155506118169050565b6001600160a01b03871660009081526012602052604090205460ff1680156117c357506000600854115b15611816576117e26064610be0600854886118d290919063ffffffff16565b9050600854600954826117f59190612031565b6117ff9190612066565b600c600082825461181091906120df565b90915550505b801561182757611827873083611993565b6118318186612093565b94505b61183f878787611993565b50505050505050565b6000818484111561186c5760405162461bcd60e51b8152600401610aa99190611e64565b5060006118798486612093565b95945050505050565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2600090815260208190527f2a11cb67ca5c7e99dba99b50e02c11472d0f19c22ed5af42a1599a7f57e1c7a4546108fa90600a90601990611b7f565b6000826118e1575060006108d2565b60006118ed8385612031565b9050826118fa8583612066565b1461132a5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610aa9565b600061132a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611c16565b6001600160a01b0383166119b95760405162461bcd60e51b8152600401610aa9906120f7565b6001600160a01b0382166119df5760405162461bcd60e51b8152600401610aa99061213c565b611a1c81604051806060016040528060268152602001612238602691396001600160a01b0386166000908152602081905260409020549190611848565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611a4b90826112cb565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611449565b611aa4611c44565b611aaf600142612066565b611ab991906120df565b600d55565b30600090815260208190526040812054908190811580611adc575081155b15611ae657505050565b611aee611196565b611af9906014612031565b831115611b1657611b08611196565b611b13906014612031565b92505b611b1f82611c96565b6000600c8190556007546040516001600160a01b039091169147919081818185875af1925050503d8060008114611b72576040519150601f19603f3d011682016040523d82523d6000602084013e611b77565b606091505b505050505050565b600654604080514460208201524291810191909152606081018390526080810185905260a081018490526001600160a01b039091163160c08201819052600091829060e00160408051601f198184030181529190528051602090910120905060008680611bed8860016120df565b611bf79190612093565b611c01908461217f565b611c0b91906120df565b979650505050505050565b60008183611c375760405162461bcd60e51b8152600401610aa99190611e64565b5060006118798486612066565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2600090815260208190527f2a11cb67ca5c7e99dba99b50e02c11472d0f19c22ed5af42a1599a7f57e1c7a4546108fa90610e109061384090611b7f565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611ccb57611ccb612193565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611d4457600080fd5b505afa158015611d58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7c91906121a9565b81600181518110611d8f57611d8f612193565b60200260200101906001600160a01b031690816001600160a01b031681525050611dda307f000000000000000000000000000000000000000000000000000000000000000084611331565b60075460405163791ac94760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263791ac94792611e369287926000928892919091169042906004016121c6565b600060405180830381600087803b158015611e5057600080fd5b505af1158015611b77573d6000803e3d6000fd5b600060208083528351808285015260005b81811015611e9157858101830151858201604001528201611e75565b81811115611ea3576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114611ece57600080fd5b50565b60008060408385031215611ee457600080fd5b8235611eef81611eb9565b946020939093013593505050565b600080600060608486031215611f1257600080fd5b8335611f1d81611eb9565b92506020840135611f2d81611eb9565b929592945050506040919091013590565b600060208284031215611f5057600080fd5b5035919050565b600060208284031215611f6957600080fd5b813561132a81611eb9565b60008060408385031215611f8757600080fd5b8235611f9281611eb9565b915060208301358015158114611fa757600080fd5b809150509250929050565b60008060408385031215611fc557600080fd5b8235611fd081611eb9565b91506020830135611fa781611eb9565b600181811c90821680611ff457607f821691505b6020821081141561201557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561204b5761204b61201b565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261207557612075612050565b500490565b60006020828403121561208c57600080fd5b5051919050565b6000828210156120a5576120a561201b565b500390565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156120f2576120f261201b565b500190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60008261218e5761218e612050565b500690565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156121bb57600080fd5b815161132a81611eb9565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156122165784516001600160a01b0316835293830193918301916001016121f1565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212209155376ec18460f38470d9ba51aa07c3592b780c545a4db108159312c5c97d4464736f6c63430008090033

Deployed Bytecode

0x60806040526004361061026b5760003560e01c806375f0a87411610144578063aacebbe3116100b6578063d5abeb011161007a578063d5abeb0114610773578063d85ba06314610789578063dd62ed3e1461079f578063e2f45605146107e5578063e7f44629146107fa578063f2fde38b1461080f57600080fd5b8063aacebbe3146106cd578063b62496f5146106ed578063bbc0c7421461071d578063c02466681461073e578063d18e81b31461075e57600080fd5b80638da5cb5b116101085780638da5cb5b1461062f578063921369131461064d57806395d89b4114610663578063a28b904e14610678578063a457c2d71461068d578063a9059cbb146106ad57600080fd5b806375f0a874146105ba578063771282f6146105da5780637bce5a04146105ef5780637e79e79d146106055780638a8c523c1461061a57600080fd5b8063474d8a36116101dd5780635d023edd116101a15780635d023edd1461050b5780636a486a8e146105215780636ddd17131461053757806370a0823114610558578063715018a61461058e578063751039fc146105a557600080fd5b8063474d8a361461040957806349bd5a5e146104535780634a62bb65146104875780634fbee193146104a8578063574fea9e146104e157600080fd5b80631f3fed8f1161022f5780631f3fed8f1461035657806323b872dd1461036c5780632e82f1a01461038c578063313ce567146103ad57806339509351146103c957806344df8e70146103e957600080fd5b806306fdde0314610277578063095ea7b3146102a25780631694505e146102d257806317fc91f81461031e57806318160ddd1461034157600080fd5b3661027257005b600080fd5b34801561028357600080fd5b5061028c61082f565b6040516102999190611e64565b60405180910390f35b3480156102ae57600080fd5b506102c26102bd366004611ed1565b6108c1565b6040519015158152602001610299565b3480156102de57600080fd5b506103067f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610299565b34801561032a57600080fd5b506103336108d8565b604051908152602001610299565b34801561034d57600080fd5b50600254610333565b34801561036257600080fd5b50610333600c5481565b34801561037857600080fd5b506102c2610387366004611efd565b6108ff565b34801561039857600080fd5b506007546102c290600160a01b900460ff1681565b3480156103b957600080fd5b5060405160128152602001610299565b3480156103d557600080fd5b506102c26103e4366004611ed1565b610968565b3480156103f557600080fd5b50600654610306906001600160a01b031681565b34801561041557600080fd5b50610429610424366004611f3e565b61099e565b604080516001600160a01b0390951685526020850193909352918301526060820152608001610299565b34801561045f57600080fd5b506103067f00000000000000000000000086f8a2f4b1b9a104788b05644d9e69c23452579b81565b34801561049357600080fd5b506007546102c290600160a81b900460ff1681565b3480156104b457600080fd5b506102c26104c3366004611f57565b6001600160a01b031660009081526011602052604090205460ff1690565b3480156104ed57600080fd5b506104f66109e2565b60408051928352602083019190915201610299565b34801561051757600080fd5b50610333600d5481565b34801561052d57600080fd5b50610333600a5481565b34801561054357600080fd5b506007546102c290600160b81b900460ff1681565b34801561056457600080fd5b50610333610573366004611f57565b6001600160a01b031660009081526020819052604090205490565b34801561059a57600080fd5b506105a3610e44565b005b3480156105b157600080fd5b506102c2610eb8565b3480156105c657600080fd5b50600754610306906001600160a01b031681565b3480156105e657600080fd5b50610333610ef8565b3480156105fb57600080fd5b5061033360095481565b34801561061157600080fd5b50601054610333565b34801561062657600080fd5b506105a3610f94565b34801561063b57600080fd5b506005546001600160a01b0316610306565b34801561065957600080fd5b50610333600b5481565b34801561066f57600080fd5b5061028c610fd5565b34801561068457600080fd5b506105a3610fe4565b34801561069957600080fd5b506102c26106a8366004611ed1565b61101d565b3480156106b957600080fd5b506102c26106c8366004611ed1565b61106c565b3480156106d957600080fd5b506105a36106e8366004611f57565b611079565b3480156106f957600080fd5b506102c2610708366004611f57565b60126020526000908152604090205460ff1681565b34801561072957600080fd5b506007546102c290600160b01b900460ff1681565b34801561074a57600080fd5b506105a3610759366004611f74565b611100565b34801561076a57600080fd5b50610333611189565b34801561077f57600080fd5b50610333600e5481565b34801561079557600080fd5b5061033360085481565b3480156107ab57600080fd5b506103336107ba366004611fb2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107f157600080fd5b50610333611196565b34801561080657600080fd5b506102c26111a3565b34801561081b57600080fd5b506105a361082a366004611f57565b6111e0565b60606003805461083e90611fe0565b80601f016020809104026020016040519081016040528092919081815260200182805461086a90611fe0565b80156108b75780601f1061088c576101008083540402835291602001916108b7565b820191906000526020600020905b81548152906001019060200180831161089a57829003601f168201915b5050505050905090565b60006108ce338484611331565b5060015b92915050565b60006103e86108e5610ef8565b6108f0906001612031565b6108fa9190612066565b905090565b600061090c848484611456565b61095e84336109598560405180606001604052806028815260200161225e602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611848565b611331565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108ce91859061095990866112cb565b601081815481106109ae57600080fd5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b6040516370a0823160e01b81523360048201526000908190819030906370a082319060240160206040518083038186803b158015610a1f57600080fd5b505afa158015610a33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a57919061207a565b9050610a616111a3565b610ab25760405162461bcd60e51b815260206004820181905260248201527f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e69736860448201526064015b60405180910390fd5b610aba6108d8565b8111610b265760405162461bcd60e51b815260206004820152603560248201527f596f7520646f6e7420686f6c6420746865204d696e696d756d20616d6f756e74604482015274206f6620546f6b656e7320746f20646f207468697360581b6064820152608401610aa9565b42600d556040516370a0823160e01b81526001600160a01b037f00000000000000000000000086f8a2f4b1b9a104788b05644d9e69c23452579b16600482015260009030906370a082319060240160206040518083038186803b158015610b8c57600080fd5b505afa158015610ba0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc4919061207a565b90506000610be66103e8610be0610bd9611882565b85906118d2565b90611951565b90506000610bf5600483612066565b90506000610c038284612093565b90508015610d7d57610c367f00000000000000000000000086f8a2f4b1b9a104788b05644d9e69c23452579b3384611993565b600654610c6e907f00000000000000000000000086f8a2f4b1b9a104788b05644d9e69c23452579b906001600160a01b031683611993565b604080516080810190915233815260009060208101610c8e600142612066565b8152602001610c9d8585612093565b815260209081018590526010805460018101825560009190915282517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae672600490920291820180546001600160a01b0319166001600160a01b03909216919091179055908201517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae67382015560408201517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6748201556060909101517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae67590910155505b60007f00000000000000000000000086f8a2f4b1b9a104788b05644d9e69c23452579b9050806001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610ddd57600080fd5b505af1158015610df1573d6000803e3d6000fd5b505060408051868152602081018690527f9c6722ae73802ecd923c32bb1e7cdcf553e7699a524ce1d05ce535615e04069f935001905060405180910390a1610e37611a9c565b5090969095509350505050565b6005546001600160a01b03163314610e6e5760405162461bcd60e51b8152600401610aa9906120aa565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546000906001600160a01b03163314610ee55760405162461bcd60e51b8152600401610aa9906120aa565b506007805460ff60a81b19169055600190565b6006546040516370a0823160e01b81526001600160a01b039091166004820152600090819030906370a082319060240160206040518083038186803b158015610f4057600080fd5b505afa158015610f54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f78919061207a565b905080610f8460025490565b610f8e9190612093565b91505090565b6005546001600160a01b03163314610fbe5760405162461bcd60e51b8152600401610aa9906120aa565b6007805461ffff60b01b191661010160b01b179055565b60606004805461083e90611fe0565b6005546001600160a01b0316331461100e5760405162461bcd60e51b8152600401610aa9906120aa565b600f805460ff19166001179055565b60006108ce338461095985604051806060016040528060258152602001612286602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611848565b60006108ce338484611456565b6005546001600160a01b031633146110a35760405162461bcd60e51b8152600401610aa9906120aa565b6007546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461112a5760405162461bcd60e51b8152600401610aa9906120aa565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b60006108fa600142612066565b60006127106108e5610ef8565b600f5460009060ff16156111da5760006111be600142612066565b9050600d548110156111d257600091505090565b600191505090565b50600090565b6005546001600160a01b0316331461120a5760405162461bcd60e51b8152600401610aa9906120aa565b6001600160a01b03811661126f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aa9565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806112d883856120df565b90508381101561132a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610aa9565b9392505050565b6001600160a01b0383166113935760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610aa9565b6001600160a01b0382166113f45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610aa9565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831661147c5760405162461bcd60e51b8152600401610aa9906120f7565b6001600160a01b0382166114a25760405162461bcd60e51b8152600401610aa99061213c565b806114b8576114b383836000611993565b505050565b600754600160a81b900460ff16156115d1576005546001600160a01b038481169116148015906114f657506005546001600160a01b03838116911614155b801561150a57506001600160a01b03821615155b801561152157506001600160a01b03821661dead14155b80156115375750600654600160a01b900460ff16155b156115d157600754600160b01b900460ff166115d1576001600160a01b03831660009081526011602052604090205460ff168061158c57506001600160a01b03821660009081526011602052604090205460ff165b6115d15760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610aa9565b30600090815260208190526040812054906115ea611196565b82101590508080156116055750600754600160b81b900460ff165b801561161b5750600654600160a01b900460ff16155b801561164057506001600160a01b03851660009081526012602052604090205460ff16155b801561166557506001600160a01b03851660009081526011602052604090205460ff16155b801561168a57506001600160a01b03841660009081526011602052604090205460ff16155b156116b8576006805460ff60a01b1916600160a01b1790556116aa611abe565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526011602052604090205460ff600160a01b90920482161591168061170657506001600160a01b03851660009081526011602052604090205460ff165b1561170f575060005b60008115611834576001600160a01b03861660009081526012602052604090205460ff16801561174157506000600a54115b15611799576117606064610be0600a54886118d290919063ffffffff16565b9050600a54600b54826117739190612031565b61177d9190612066565b600c600082825461178e91906120df565b909155506118169050565b6001600160a01b03871660009081526012602052604090205460ff1680156117c357506000600854115b15611816576117e26064610be0600854886118d290919063ffffffff16565b9050600854600954826117f59190612031565b6117ff9190612066565b600c600082825461181091906120df565b90915550505b801561182757611827873083611993565b6118318186612093565b94505b61183f878787611993565b50505050505050565b6000818484111561186c5760405162461bcd60e51b8152600401610aa99190611e64565b5060006118798486612093565b95945050505050565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2600090815260208190527f2a11cb67ca5c7e99dba99b50e02c11472d0f19c22ed5af42a1599a7f57e1c7a4546108fa90600a90601990611b7f565b6000826118e1575060006108d2565b60006118ed8385612031565b9050826118fa8583612066565b1461132a5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610aa9565b600061132a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611c16565b6001600160a01b0383166119b95760405162461bcd60e51b8152600401610aa9906120f7565b6001600160a01b0382166119df5760405162461bcd60e51b8152600401610aa99061213c565b611a1c81604051806060016040528060268152602001612238602691396001600160a01b0386166000908152602081905260409020549190611848565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611a4b90826112cb565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611449565b611aa4611c44565b611aaf600142612066565b611ab991906120df565b600d55565b30600090815260208190526040812054908190811580611adc575081155b15611ae657505050565b611aee611196565b611af9906014612031565b831115611b1657611b08611196565b611b13906014612031565b92505b611b1f82611c96565b6000600c8190556007546040516001600160a01b039091169147919081818185875af1925050503d8060008114611b72576040519150601f19603f3d011682016040523d82523d6000602084013e611b77565b606091505b505050505050565b600654604080514460208201524291810191909152606081018390526080810185905260a081018490526001600160a01b039091163160c08201819052600091829060e00160408051601f198184030181529190528051602090910120905060008680611bed8860016120df565b611bf79190612093565b611c01908461217f565b611c0b91906120df565b979650505050505050565b60008183611c375760405162461bcd60e51b8152600401610aa99190611e64565b5060006118798486612066565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2600090815260208190527f2a11cb67ca5c7e99dba99b50e02c11472d0f19c22ed5af42a1599a7f57e1c7a4546108fa90610e109061384090611b7f565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611ccb57611ccb612193565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015611d4457600080fd5b505afa158015611d58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7c91906121a9565b81600181518110611d8f57611d8f612193565b60200260200101906001600160a01b031690816001600160a01b031681525050611dda307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611331565b60075460405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263791ac94792611e369287926000928892919091169042906004016121c6565b600060405180830381600087803b158015611e5057600080fd5b505af1158015611b77573d6000803e3d6000fd5b600060208083528351808285015260005b81811015611e9157858101830151858201604001528201611e75565b81811115611ea3576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114611ece57600080fd5b50565b60008060408385031215611ee457600080fd5b8235611eef81611eb9565b946020939093013593505050565b600080600060608486031215611f1257600080fd5b8335611f1d81611eb9565b92506020840135611f2d81611eb9565b929592945050506040919091013590565b600060208284031215611f5057600080fd5b5035919050565b600060208284031215611f6957600080fd5b813561132a81611eb9565b60008060408385031215611f8757600080fd5b8235611f9281611eb9565b915060208301358015158114611fa757600080fd5b809150509250929050565b60008060408385031215611fc557600080fd5b8235611fd081611eb9565b91506020830135611fa781611eb9565b600181811c90821680611ff457607f821691505b6020821081141561201557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561204b5761204b61201b565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261207557612075612050565b500490565b60006020828403121561208c57600080fd5b5051919050565b6000828210156120a5576120a561201b565b500390565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156120f2576120f261201b565b500190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60008261218e5761218e612050565b500690565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156121bb57600080fd5b815161132a81611eb9565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156122165784516001600160a01b0316835293830193918301916001016121f1565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212209155376ec18460f38470d9ba51aa07c3592b780c545a4db108159312c5c97d4464736f6c63430008090033

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.