ETH Price: $3,139.35 (-5.15%)
Gas: 11 Gwei

Token

Pepe Stonk (STONK)
 

Overview

Max Total Supply

420,420,420 STONK

Holders

189

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
41,010.063549368378992192 STONK

Value
$0.00
0x0e9b23c0cd5ec605e1a80bb86e0f313645371cb6
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:
Stonk

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

File 2 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

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

File 3 of 7 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

File 4 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

File 5 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

File 6 of 7 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @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) {
        return a + b;
    }

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

    /**
     * @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) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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 a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 7 of 7 : stonks.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

interface IUniswapV2Factory {
  event PairCreated(address indexed token0, address indexed token1, address pair, uint256);
  function createPair(address tokenA, address tokenB) external returns (address pair);
}

interface IUniswapV2Router02 {
  function factory() external pure returns (address);
  function WETH() external pure returns (address);
  function swapExactTokensForETHSupportingFeeOnTransferTokens(
      uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline
  ) external;
}

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

  string private _name = "Pepe Stonk";
  string private _sym = "STONK";
  uint private _supply = 420_420_420 ether;

  IUniswapV2Router02 public immutable uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
  address public immutable uniswapV2Pair;

  bool private swapping;
  address public marketingWallet = address(0x44d78d1Bd2096e1a232854aE64c53b293c570F31);

  uint256 public swapTokensAtAmount = 1000 ether;
  uint256 public tradingActiveAt = 0;

  uint256 public marketingFeeSell = 20;

  // exlcude from fees
  mapping(address => bool) private _isExcludedFromFees;

  event ExcludeFromFees(address indexed account, bool isExcluded);
  event marketingWalletUpdated(address indexed newWallet, address indexed oldWallet);

  constructor() ERC20(_name, _sym) {
    uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());

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

    _mint(msg.sender, _supply);
  }

  receive() external payable {}

  // once enabled, can never be turned off
  function enableTrading() external onlyOwner {
    tradingActiveAt = block.timestamp;
  }

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

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

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

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

    if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping) {
      if (tradingActiveAt == 0) {
        require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active.");
      }
      else {
        if(block.timestamp > tradingActiveAt + 1 days) {
          marketingFeeSell = 0;
        }
      }
    }

    uint256 contractTokenBalance = balanceOf(address(this));

    bool canSwap = contractTokenBalance >= swapTokensAtAmount;

    if (canSwap && !swapping && to == uniswapV2Pair && !_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 (to == uniswapV2Pair && marketingFeeSell > 0) {
        fees = amount.mul(marketingFeeSell).div(100);
      }

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

      amount = amount.sub(fees);
    }
    super._transfer(from, to, amount);
  }

  function swapBack() private {
    uint256 contractBalance = balanceOf(address(this));
    if (contractBalance == 0) { return; }

    swapTokensForETH(contractBalance);
  }

  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, // any amount of ETH
      path,
      marketingWallet,
      block.timestamp
    );
  }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"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":"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":[{"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":"marketingFeeSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"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":[],"name":"tradingActiveAt","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":[],"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"},{"stateMutability":"payable","type":"receive"}]

60c06040526040518060400160405280600a81526020017f506570652053746f6e6b00000000000000000000000000000000000000000000815250600690816200004a919062000b39565b506040518060400160405280600581526020017f53544f4e4b0000000000000000000000000000000000000000000000000000008152506007908162000091919062000b39565b506b015bc37ca2d50d3c02900000600855737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff168152507344d78d1bd2096e1a232854ae64c53b293c570f31600960016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550683635c9adc5dea00000600a556000600b556014600c553480156200016257600080fd5b5060068054620001729062000928565b80601f0160208091040260200160405190810160405280929190818152602001828054620001a09062000928565b8015620001f15780601f10620001c557610100808354040283529160200191620001f1565b820191906000526020600020905b815481529060010190602001808311620001d357829003601f168201915b505050505060078054620002059062000928565b80601f0160208091040260200160405190810160405280929190818152602001828054620002339062000928565b8015620002845780601f10620002585761010080835404028352916020019162000284565b820191906000526020600020905b8154815290600101906020018083116200026657829003601f168201915b505050505081600390816200029a919062000b39565b508060049081620002ac919062000b39565b505050620002cf620002c36200050460201b60201c565b6200050c60201b60201c565b60805173ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200031d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000343919062000c8a565b73ffffffffffffffffffffffffffffffffffffffff1663c9c653963060805173ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620003ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003d3919062000c8a565b6040518363ffffffff1660e01b8152600401620003f292919062000ccd565b6020604051808303816000875af115801562000412573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000438919062000c8a565b73ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250506200048d6200047f620005d260201b60201c565b6001620005fc60201b60201c565b620004c2600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff166001620005fc60201b60201c565b620004d5306001620005fc60201b60201c565b620004ea61dead6001620005fc60201b60201c565b620004fe33600854620006b760201b60201c565b62000ec1565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6200060c6200082460201b60201c565b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df782604051620006ab919062000d17565b60405180910390a25050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000729576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007209062000d95565b60405180910390fd5b6200073d60008383620008b560201b60201c565b806002600082825462000751919062000de6565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000804919062000e32565b60405180910390a36200082060008383620008ba60201b60201c565b5050565b620008346200050460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200085a620005d260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620008b3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008aa9062000e9f565b60405180910390fd5b565b505050565b505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200094157607f821691505b602082108103620009575762000956620008f9565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620009c17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000982565b620009cd868362000982565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000a1a62000a1462000a0e84620009e5565b620009ef565b620009e5565b9050919050565b6000819050919050565b62000a3683620009f9565b62000a4e62000a458262000a21565b8484546200098f565b825550505050565b600090565b62000a6562000a56565b62000a7281848462000a2b565b505050565b5b8181101562000a9a5762000a8e60008262000a5b565b60018101905062000a78565b5050565b601f82111562000ae95762000ab3816200095d565b62000abe8462000972565b8101602085101562000ace578190505b62000ae662000add8562000972565b83018262000a77565b50505b505050565b600082821c905092915050565b600062000b0e6000198460080262000aee565b1980831691505092915050565b600062000b29838362000afb565b9150826002028217905092915050565b62000b4482620008bf565b67ffffffffffffffff81111562000b605762000b5f620008ca565b5b62000b6c825462000928565b62000b7982828562000a9e565b600060209050601f83116001811462000bb1576000841562000b9c578287015190505b62000ba8858262000b1b565b86555062000c18565b601f19841662000bc1866200095d565b60005b8281101562000beb5784890151825560018201915060208501945060208101905062000bc4565b8683101562000c0b578489015162000c07601f89168262000afb565b8355505b6001600288020188555050505b505050505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000c528262000c25565b9050919050565b62000c648162000c45565b811462000c7057600080fd5b50565b60008151905062000c848162000c59565b92915050565b60006020828403121562000ca35762000ca262000c20565b5b600062000cb38482850162000c73565b91505092915050565b62000cc78162000c45565b82525050565b600060408201905062000ce4600083018562000cbc565b62000cf3602083018462000cbc565b9392505050565b60008115159050919050565b62000d118162000cfa565b82525050565b600060208201905062000d2e600083018462000d06565b92915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000d7d601f8362000d34565b915062000d8a8262000d45565b602082019050919050565b6000602082019050818103600083015262000db08162000d6e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000df382620009e5565b915062000e0083620009e5565b925082820190508082111562000e1b5762000e1a62000db7565b5b92915050565b62000e2c81620009e5565b82525050565b600060208201905062000e49600083018462000e21565b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000e8760208362000d34565b915062000e948262000e4f565b602082019050919050565b6000602082019050818103600083015262000eba8162000e78565b9050919050565b60805160a05161271062000f0a600039600081816106f1015281816110ba01526112c201526000818161064e0152818161185a0152818161193b015261196201526127106000f3fe6080604052600436106101445760003560e01c806370a08231116100b6578063a457c2d71161006f578063a457c2d71461045d578063a9059cbb1461049a578063c0246668146104d7578063dd62ed3e14610500578063e2f456051461053d578063f2fde38b146105685761014b565b806370a0823114610371578063715018a6146103ae57806375f0a874146103c55780638a8c523c146103f05780638da5cb5b1461040757806395d89b41146104325761014b565b806323b872dd1161010857806323b872dd14610239578063313ce5671461027657806339509351146102a157806340e15726146102de57806349bd5a5e146103095780634fbee193146103345761014b565b806306fdde0314610150578063095ea7b31461017b57806313374e7a146101b85780631694505e146101e357806318160ddd1461020e5761014b565b3661014b57005b600080fd5b34801561015c57600080fd5b50610165610591565b6040516101729190611aaa565b60405180910390f35b34801561018757600080fd5b506101a2600480360381019061019d9190611b65565b610623565b6040516101af9190611bc0565b60405180910390f35b3480156101c457600080fd5b506101cd610646565b6040516101da9190611bea565b60405180910390f35b3480156101ef57600080fd5b506101f861064c565b6040516102059190611c64565b60405180910390f35b34801561021a57600080fd5b50610223610670565b6040516102309190611bea565b60405180910390f35b34801561024557600080fd5b50610260600480360381019061025b9190611c7f565b61067a565b60405161026d9190611bc0565b60405180910390f35b34801561028257600080fd5b5061028b6106a9565b6040516102989190611cee565b60405180910390f35b3480156102ad57600080fd5b506102c860048036038101906102c39190611b65565b6106b2565b6040516102d59190611bc0565b60405180910390f35b3480156102ea57600080fd5b506102f36106e9565b6040516103009190611bea565b60405180910390f35b34801561031557600080fd5b5061031e6106ef565b60405161032b9190611d18565b60405180910390f35b34801561034057600080fd5b5061035b60048036038101906103569190611d33565b610713565b6040516103689190611bc0565b60405180910390f35b34801561037d57600080fd5b5061039860048036038101906103939190611d33565b610769565b6040516103a59190611bea565b60405180910390f35b3480156103ba57600080fd5b506103c36107b1565b005b3480156103d157600080fd5b506103da6107c5565b6040516103e79190611d18565b60405180910390f35b3480156103fc57600080fd5b506104056107eb565b005b34801561041357600080fd5b5061041c6107fc565b6040516104299190611d18565b60405180910390f35b34801561043e57600080fd5b50610447610826565b6040516104549190611aaa565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f9190611b65565b6108b8565b6040516104919190611bc0565b60405180910390f35b3480156104a657600080fd5b506104c160048036038101906104bc9190611b65565b61092f565b6040516104ce9190611bc0565b60405180910390f35b3480156104e357600080fd5b506104fe60048036038101906104f99190611d8c565b610952565b005b34801561050c57600080fd5b5061052760048036038101906105229190611dcc565b610a03565b6040516105349190611bea565b60405180910390f35b34801561054957600080fd5b50610552610a8a565b60405161055f9190611bea565b60405180910390f35b34801561057457600080fd5b5061058f600480360381019061058a9190611d33565b610a90565b005b6060600380546105a090611e3b565b80601f01602080910402602001604051908101604052809291908181526020018280546105cc90611e3b565b80156106195780601f106105ee57610100808354040283529160200191610619565b820191906000526020600020905b8154815290600101906020018083116105fc57829003601f168201915b5050505050905090565b60008061062e610b13565b905061063b818585610b1b565b600191505092915050565b600c5481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600254905090565b600080610685610b13565b9050610692858285610ce4565b61069d858585610d70565b60019150509392505050565b60006012905090565b6000806106bd610b13565b90506106de8185856106cf8589610a03565b6106d99190611e9b565b610b1b565b600191505092915050565b600b5481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6107b961138d565b6107c3600061140b565b565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6107f361138d565b42600b81905550565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461083590611e3b565b80601f016020809104026020016040519081016040528092919081815260200182805461086190611e3b565b80156108ae5780601f10610883576101008083540402835291602001916108ae565b820191906000526020600020905b81548152906001019060200180831161089157829003601f168201915b5050505050905090565b6000806108c3610b13565b905060006108d18286610a03565b905083811015610916576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090d90611f41565b60405180910390fd5b6109238286868403610b1b565b60019250505092915050565b60008061093a610b13565b9050610947818585610d70565b600191505092915050565b61095a61138d565b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516109f79190611bc0565b60405180910390a25050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600a5481565b610a9861138d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afe90611fd3565b60405180910390fd5b610b108161140b565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8190612065565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf0906120f7565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610cd79190611bea565b60405180910390a3505050565b6000610cf08484610a03565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610d6a5781811015610d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5390612163565b60405180910390fd5b610d698484848403610b1b565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd6906121f5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4590612287565b60405180910390fd5b60008103610e6757610e62838360006114d1565b611388565b610e6f6107fc565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015610edd5750610ead6107fc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015610f165750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015610f50575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015610f695750600960009054906101000a900460ff16155b15611080576000600b540361105d57600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806110195750600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104f906122f3565b60405180910390fd5b61107f565b62015180600b5461106e9190611e9b565b42111561107e576000600c819055505b5b5b600061108b30610769565b90506000600a5482101590508080156110b15750600960009054906101000a900460ff16155b801561110857507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b801561115e5750600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156111b45750600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156111f8576001600960006101000a81548160ff0219169083151502179055506111dc611747565b6000600960006101000a81548160ff0219169083151502179055505b6000600960009054906101000a900460ff16159050600d60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806112ae5750600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156112b857600090505b60008115611378577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614801561131d57506000600c54115b1561134d5761134a606461133c600c548861176f90919063ffffffff16565b61178590919063ffffffff16565b90505b6000811115611362576113618730836114d1565b5b611375818661179b90919063ffffffff16565b94505b6113838787876114d1565b505050505b505050565b611395610b13565b73ffffffffffffffffffffffffffffffffffffffff166113b36107fc565b73ffffffffffffffffffffffffffffffffffffffff1614611409576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114009061235f565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611540576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611537906121f5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a690612287565b60405180910390fd5b6115ba8383836117b1565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611640576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611637906123f1565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161172e9190611bea565b60405180910390a36117418484846117b6565b50505050565b600061175230610769565b905060008103611762575061176d565b61176b816117bb565b505b565b6000818361177d9190612411565b905092915050565b600081836117939190612482565b905092915050565b600081836117a991906124b3565b905092915050565b505050565b505050565b6000600267ffffffffffffffff8111156117d8576117d76124e7565b5b6040519080825280602002602001820160405280156118065781602001602082028036833780820191505090505b509050308160008151811061181e5761181d612516565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e7919061255a565b816001815181106118fb576118fa612516565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611960307f000000000000000000000000000000000000000000000000000000000000000084610b1b565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663791ac94783600084600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b81526004016119e4959493929190612680565b600060405180830381600087803b1580156119fe57600080fd5b505af1158015611a12573d6000803e3d6000fd5b505050505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611a54578082015181840152602081019050611a39565b60008484015250505050565b6000601f19601f8301169050919050565b6000611a7c82611a1a565b611a868185611a25565b9350611a96818560208601611a36565b611a9f81611a60565b840191505092915050565b60006020820190508181036000830152611ac48184611a71565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611afc82611ad1565b9050919050565b611b0c81611af1565b8114611b1757600080fd5b50565b600081359050611b2981611b03565b92915050565b6000819050919050565b611b4281611b2f565b8114611b4d57600080fd5b50565b600081359050611b5f81611b39565b92915050565b60008060408385031215611b7c57611b7b611acc565b5b6000611b8a85828601611b1a565b9250506020611b9b85828601611b50565b9150509250929050565b60008115159050919050565b611bba81611ba5565b82525050565b6000602082019050611bd56000830184611bb1565b92915050565b611be481611b2f565b82525050565b6000602082019050611bff6000830184611bdb565b92915050565b6000819050919050565b6000611c2a611c25611c2084611ad1565b611c05565b611ad1565b9050919050565b6000611c3c82611c0f565b9050919050565b6000611c4e82611c31565b9050919050565b611c5e81611c43565b82525050565b6000602082019050611c796000830184611c55565b92915050565b600080600060608486031215611c9857611c97611acc565b5b6000611ca686828701611b1a565b9350506020611cb786828701611b1a565b9250506040611cc886828701611b50565b9150509250925092565b600060ff82169050919050565b611ce881611cd2565b82525050565b6000602082019050611d036000830184611cdf565b92915050565b611d1281611af1565b82525050565b6000602082019050611d2d6000830184611d09565b92915050565b600060208284031215611d4957611d48611acc565b5b6000611d5784828501611b1a565b91505092915050565b611d6981611ba5565b8114611d7457600080fd5b50565b600081359050611d8681611d60565b92915050565b60008060408385031215611da357611da2611acc565b5b6000611db185828601611b1a565b9250506020611dc285828601611d77565b9150509250929050565b60008060408385031215611de357611de2611acc565b5b6000611df185828601611b1a565b9250506020611e0285828601611b1a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611e5357607f821691505b602082108103611e6657611e65611e0c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611ea682611b2f565b9150611eb183611b2f565b9250828201905080821115611ec957611ec8611e6c565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611f2b602583611a25565b9150611f3682611ecf565b604082019050919050565b60006020820190508181036000830152611f5a81611f1e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611fbd602683611a25565b9150611fc882611f61565b604082019050919050565b60006020820190508181036000830152611fec81611fb0565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061204f602483611a25565b915061205a82611ff3565b604082019050919050565b6000602082019050818103600083015261207e81612042565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006120e1602283611a25565b91506120ec82612085565b604082019050919050565b60006020820190508181036000830152612110816120d4565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b600061214d601d83611a25565b915061215882612117565b602082019050919050565b6000602082019050818103600083015261217c81612140565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006121df602583611a25565b91506121ea82612183565b604082019050919050565b6000602082019050818103600083015261220e816121d2565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612271602383611a25565b915061227c82612215565b604082019050919050565b600060208201905081810360008301526122a081612264565b9050919050565b7f54726164696e67206973206e6f74206163746976652e00000000000000000000600082015250565b60006122dd601683611a25565b91506122e8826122a7565b602082019050919050565b6000602082019050818103600083015261230c816122d0565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612349602083611a25565b915061235482612313565b602082019050919050565b600060208201905081810360008301526123788161233c565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006123db602683611a25565b91506123e68261237f565b604082019050919050565b6000602082019050818103600083015261240a816123ce565b9050919050565b600061241c82611b2f565b915061242783611b2f565b925082820261243581611b2f565b9150828204841483151761244c5761244b611e6c565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061248d82611b2f565b915061249883611b2f565b9250826124a8576124a7612453565b5b828204905092915050565b60006124be82611b2f565b91506124c983611b2f565b92508282039050818111156124e1576124e0611e6c565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061255481611b03565b92915050565b6000602082840312156125705761256f611acc565b5b600061257e84828501612545565b91505092915050565b6000819050919050565b60006125ac6125a76125a284612587565b611c05565b611b2f565b9050919050565b6125bc81612591565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6125f781611af1565b82525050565b600061260983836125ee565b60208301905092915050565b6000602082019050919050565b600061262d826125c2565b61263781856125cd565b9350612642836125de565b8060005b8381101561267357815161265a88826125fd565b975061266583612615565b925050600181019050612646565b5085935050505092915050565b600060a0820190506126956000830188611bdb565b6126a260208301876125b3565b81810360408301526126b48186612622565b90506126c36060830185611d09565b6126d06080830184611bdb565b969550505050505056fea264697066735822122018dc3e17a35168aa28a304cf94db093637ee75eaaba075b6ffe2554f445a10ca64736f6c63430008120033

Deployed Bytecode

0x6080604052600436106101445760003560e01c806370a08231116100b6578063a457c2d71161006f578063a457c2d71461045d578063a9059cbb1461049a578063c0246668146104d7578063dd62ed3e14610500578063e2f456051461053d578063f2fde38b146105685761014b565b806370a0823114610371578063715018a6146103ae57806375f0a874146103c55780638a8c523c146103f05780638da5cb5b1461040757806395d89b41146104325761014b565b806323b872dd1161010857806323b872dd14610239578063313ce5671461027657806339509351146102a157806340e15726146102de57806349bd5a5e146103095780634fbee193146103345761014b565b806306fdde0314610150578063095ea7b31461017b57806313374e7a146101b85780631694505e146101e357806318160ddd1461020e5761014b565b3661014b57005b600080fd5b34801561015c57600080fd5b50610165610591565b6040516101729190611aaa565b60405180910390f35b34801561018757600080fd5b506101a2600480360381019061019d9190611b65565b610623565b6040516101af9190611bc0565b60405180910390f35b3480156101c457600080fd5b506101cd610646565b6040516101da9190611bea565b60405180910390f35b3480156101ef57600080fd5b506101f861064c565b6040516102059190611c64565b60405180910390f35b34801561021a57600080fd5b50610223610670565b6040516102309190611bea565b60405180910390f35b34801561024557600080fd5b50610260600480360381019061025b9190611c7f565b61067a565b60405161026d9190611bc0565b60405180910390f35b34801561028257600080fd5b5061028b6106a9565b6040516102989190611cee565b60405180910390f35b3480156102ad57600080fd5b506102c860048036038101906102c39190611b65565b6106b2565b6040516102d59190611bc0565b60405180910390f35b3480156102ea57600080fd5b506102f36106e9565b6040516103009190611bea565b60405180910390f35b34801561031557600080fd5b5061031e6106ef565b60405161032b9190611d18565b60405180910390f35b34801561034057600080fd5b5061035b60048036038101906103569190611d33565b610713565b6040516103689190611bc0565b60405180910390f35b34801561037d57600080fd5b5061039860048036038101906103939190611d33565b610769565b6040516103a59190611bea565b60405180910390f35b3480156103ba57600080fd5b506103c36107b1565b005b3480156103d157600080fd5b506103da6107c5565b6040516103e79190611d18565b60405180910390f35b3480156103fc57600080fd5b506104056107eb565b005b34801561041357600080fd5b5061041c6107fc565b6040516104299190611d18565b60405180910390f35b34801561043e57600080fd5b50610447610826565b6040516104549190611aaa565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f9190611b65565b6108b8565b6040516104919190611bc0565b60405180910390f35b3480156104a657600080fd5b506104c160048036038101906104bc9190611b65565b61092f565b6040516104ce9190611bc0565b60405180910390f35b3480156104e357600080fd5b506104fe60048036038101906104f99190611d8c565b610952565b005b34801561050c57600080fd5b5061052760048036038101906105229190611dcc565b610a03565b6040516105349190611bea565b60405180910390f35b34801561054957600080fd5b50610552610a8a565b60405161055f9190611bea565b60405180910390f35b34801561057457600080fd5b5061058f600480360381019061058a9190611d33565b610a90565b005b6060600380546105a090611e3b565b80601f01602080910402602001604051908101604052809291908181526020018280546105cc90611e3b565b80156106195780601f106105ee57610100808354040283529160200191610619565b820191906000526020600020905b8154815290600101906020018083116105fc57829003601f168201915b5050505050905090565b60008061062e610b13565b905061063b818585610b1b565b600191505092915050565b600c5481565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6000600254905090565b600080610685610b13565b9050610692858285610ce4565b61069d858585610d70565b60019150509392505050565b60006012905090565b6000806106bd610b13565b90506106de8185856106cf8589610a03565b6106d99190611e9b565b610b1b565b600191505092915050565b600b5481565b7f00000000000000000000000028ea60696225852a2f288f56577038e8949267f381565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6107b961138d565b6107c3600061140b565b565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6107f361138d565b42600b81905550565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461083590611e3b565b80601f016020809104026020016040519081016040528092919081815260200182805461086190611e3b565b80156108ae5780601f10610883576101008083540402835291602001916108ae565b820191906000526020600020905b81548152906001019060200180831161089157829003601f168201915b5050505050905090565b6000806108c3610b13565b905060006108d18286610a03565b905083811015610916576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090d90611f41565b60405180910390fd5b6109238286868403610b1b565b60019250505092915050565b60008061093a610b13565b9050610947818585610d70565b600191505092915050565b61095a61138d565b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516109f79190611bc0565b60405180910390a25050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600a5481565b610a9861138d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afe90611fd3565b60405180910390fd5b610b108161140b565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8190612065565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf0906120f7565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610cd79190611bea565b60405180910390a3505050565b6000610cf08484610a03565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610d6a5781811015610d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5390612163565b60405180910390fd5b610d698484848403610b1b565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd6906121f5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4590612287565b60405180910390fd5b60008103610e6757610e62838360006114d1565b611388565b610e6f6107fc565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015610edd5750610ead6107fc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015610f165750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015610f50575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015610f695750600960009054906101000a900460ff16155b15611080576000600b540361105d57600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806110195750600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104f906122f3565b60405180910390fd5b61107f565b62015180600b5461106e9190611e9b565b42111561107e576000600c819055505b5b5b600061108b30610769565b90506000600a5482101590508080156110b15750600960009054906101000a900460ff16155b801561110857507f00000000000000000000000028ea60696225852a2f288f56577038e8949267f373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b801561115e5750600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156111b45750600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156111f8576001600960006101000a81548160ff0219169083151502179055506111dc611747565b6000600960006101000a81548160ff0219169083151502179055505b6000600960009054906101000a900460ff16159050600d60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806112ae5750600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156112b857600090505b60008115611378577f00000000000000000000000028ea60696225852a2f288f56577038e8949267f373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614801561131d57506000600c54115b1561134d5761134a606461133c600c548861176f90919063ffffffff16565b61178590919063ffffffff16565b90505b6000811115611362576113618730836114d1565b5b611375818661179b90919063ffffffff16565b94505b6113838787876114d1565b505050505b505050565b611395610b13565b73ffffffffffffffffffffffffffffffffffffffff166113b36107fc565b73ffffffffffffffffffffffffffffffffffffffff1614611409576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114009061235f565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611540576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611537906121f5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a690612287565b60405180910390fd5b6115ba8383836117b1565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611640576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611637906123f1565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161172e9190611bea565b60405180910390a36117418484846117b6565b50505050565b600061175230610769565b905060008103611762575061176d565b61176b816117bb565b505b565b6000818361177d9190612411565b905092915050565b600081836117939190612482565b905092915050565b600081836117a991906124b3565b905092915050565b505050565b505050565b6000600267ffffffffffffffff8111156117d8576117d76124e7565b5b6040519080825280602002602001820160405280156118065781602001602082028036833780820191505090505b509050308160008151811061181e5761181d612516565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e7919061255a565b816001815181106118fb576118fa612516565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611960307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610b1b565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac94783600084600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b81526004016119e4959493929190612680565b600060405180830381600087803b1580156119fe57600080fd5b505af1158015611a12573d6000803e3d6000fd5b505050505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611a54578082015181840152602081019050611a39565b60008484015250505050565b6000601f19601f8301169050919050565b6000611a7c82611a1a565b611a868185611a25565b9350611a96818560208601611a36565b611a9f81611a60565b840191505092915050565b60006020820190508181036000830152611ac48184611a71565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611afc82611ad1565b9050919050565b611b0c81611af1565b8114611b1757600080fd5b50565b600081359050611b2981611b03565b92915050565b6000819050919050565b611b4281611b2f565b8114611b4d57600080fd5b50565b600081359050611b5f81611b39565b92915050565b60008060408385031215611b7c57611b7b611acc565b5b6000611b8a85828601611b1a565b9250506020611b9b85828601611b50565b9150509250929050565b60008115159050919050565b611bba81611ba5565b82525050565b6000602082019050611bd56000830184611bb1565b92915050565b611be481611b2f565b82525050565b6000602082019050611bff6000830184611bdb565b92915050565b6000819050919050565b6000611c2a611c25611c2084611ad1565b611c05565b611ad1565b9050919050565b6000611c3c82611c0f565b9050919050565b6000611c4e82611c31565b9050919050565b611c5e81611c43565b82525050565b6000602082019050611c796000830184611c55565b92915050565b600080600060608486031215611c9857611c97611acc565b5b6000611ca686828701611b1a565b9350506020611cb786828701611b1a565b9250506040611cc886828701611b50565b9150509250925092565b600060ff82169050919050565b611ce881611cd2565b82525050565b6000602082019050611d036000830184611cdf565b92915050565b611d1281611af1565b82525050565b6000602082019050611d2d6000830184611d09565b92915050565b600060208284031215611d4957611d48611acc565b5b6000611d5784828501611b1a565b91505092915050565b611d6981611ba5565b8114611d7457600080fd5b50565b600081359050611d8681611d60565b92915050565b60008060408385031215611da357611da2611acc565b5b6000611db185828601611b1a565b9250506020611dc285828601611d77565b9150509250929050565b60008060408385031215611de357611de2611acc565b5b6000611df185828601611b1a565b9250506020611e0285828601611b1a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611e5357607f821691505b602082108103611e6657611e65611e0c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611ea682611b2f565b9150611eb183611b2f565b9250828201905080821115611ec957611ec8611e6c565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611f2b602583611a25565b9150611f3682611ecf565b604082019050919050565b60006020820190508181036000830152611f5a81611f1e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611fbd602683611a25565b9150611fc882611f61565b604082019050919050565b60006020820190508181036000830152611fec81611fb0565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061204f602483611a25565b915061205a82611ff3565b604082019050919050565b6000602082019050818103600083015261207e81612042565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006120e1602283611a25565b91506120ec82612085565b604082019050919050565b60006020820190508181036000830152612110816120d4565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b600061214d601d83611a25565b915061215882612117565b602082019050919050565b6000602082019050818103600083015261217c81612140565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006121df602583611a25565b91506121ea82612183565b604082019050919050565b6000602082019050818103600083015261220e816121d2565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612271602383611a25565b915061227c82612215565b604082019050919050565b600060208201905081810360008301526122a081612264565b9050919050565b7f54726164696e67206973206e6f74206163746976652e00000000000000000000600082015250565b60006122dd601683611a25565b91506122e8826122a7565b602082019050919050565b6000602082019050818103600083015261230c816122d0565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612349602083611a25565b915061235482612313565b602082019050919050565b600060208201905081810360008301526123788161233c565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006123db602683611a25565b91506123e68261237f565b604082019050919050565b6000602082019050818103600083015261240a816123ce565b9050919050565b600061241c82611b2f565b915061242783611b2f565b925082820261243581611b2f565b9150828204841483151761244c5761244b611e6c565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061248d82611b2f565b915061249883611b2f565b9250826124a8576124a7612453565b5b828204905092915050565b60006124be82611b2f565b91506124c983611b2f565b92508282039050818111156124e1576124e0611e6c565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061255481611b03565b92915050565b6000602082840312156125705761256f611acc565b5b600061257e84828501612545565b91505092915050565b6000819050919050565b60006125ac6125a76125a284612587565b611c05565b611b2f565b9050919050565b6125bc81612591565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6125f781611af1565b82525050565b600061260983836125ee565b60208301905092915050565b6000602082019050919050565b600061262d826125c2565b61263781856125cd565b9350612642836125de565b8060005b8381101561267357815161265a88826125fd565b975061266583612615565b925050600181019050612646565b5085935050505092915050565b600060a0820190506126956000830188611bdb565b6126a260208301876125b3565b81810360408301526126b48186612622565b90506126c36060830185611d09565b6126d06080830184611bdb565b969550505050505056fea264697066735822122018dc3e17a35168aa28a304cf94db093637ee75eaaba075b6ffe2554f445a10ca64736f6c63430008120033

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.