ETH Price: $3,394.81 (+6.17%)
Gas: 27 Gwei

Contract

0xeA575FB54D9455D408CfF5A1f9B1d1b2d1C964e8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer200771422024-06-12 17:08:4732 days ago1718212127IN
0xeA575FB5...2d1C964e8
0 ETH0.0009875117.52837988
Transfer198788412024-05-16 0:04:2360 days ago1715817863IN
0xeA575FB5...2d1C964e8
0 ETH0.000292295.18826928
Transfer198556232024-05-12 18:07:3563 days ago1715537255IN
0xeA575FB5...2d1C964e8
0 ETH0.000246724.38037439
Transfer198042562024-05-05 13:41:1171 days ago1714916471IN
0xeA575FB5...2d1C964e8
0 ETH0.000349596.20791936
Transfer198042412024-05-05 13:38:1171 days ago1714916291IN
0xeA575FB5...2d1C964e8
0 ETH0.000403787.16872449
Transfer192274582024-02-14 16:41:59152 days ago1707928919IN
0xeA575FB5...2d1C964e8
0 ETH0.0017315930.74233206
Transfer191570622024-02-04 19:36:11161 days ago1707075371IN
0xeA575FB5...2d1C964e8
0 ETH0.0005846514.90467588
Transfer190619712024-01-22 11:25:59175 days ago1705922759IN
0xeA575FB5...2d1C964e8
0 ETH0.0007361113.06875945
Transfer189938392024-01-12 22:36:47184 days ago1705099007IN
0xeA575FB5...2d1C964e8
0 ETH0.0026388946.85033308
Transfer189808852024-01-11 3:01:59186 days ago1704942119IN
0xeA575FB5...2d1C964e8
0 ETH0.0020024135.54280483
Transfer189656492024-01-08 23:47:35188 days ago1704757655IN
0xeA575FB5...2d1C964e8
0 ETH0.0010775419.13046812
Transfer189621892024-01-08 12:06:23189 days ago1704715583IN
0xeA575FB5...2d1C964e8
0 ETH0.001098519.50261165
Transfer189621322024-01-08 11:54:59189 days ago1704714899IN
0xeA575FB5...2d1C964e8
0 ETH0.0008552415.18382996
Transfer189588762024-01-08 0:52:23189 days ago1704675143IN
0xeA575FB5...2d1C964e8
0 ETH0.0017490831.05281649
Transfer189585072024-01-07 23:37:11189 days ago1704670631IN
0xeA575FB5...2d1C964e8
0 ETH0.0017969431.89577799
Transfer189582492024-01-07 22:44:59189 days ago1704667499IN
0xeA575FB5...2d1C964e8
0 ETH0.0010713931.94180687
Transfer189550032024-01-07 11:47:23190 days ago1704628043IN
0xeA575FB5...2d1C964e8
0 ETH0.0018156832.23530353
Approve187941212023-12-15 21:14:35212 days ago1702674875IN
0xeA575FB5...2d1C964e8
0 ETH0.0021327645.81460443
Approve187940462023-12-15 20:59:23212 days ago1702673963IN
0xeA575FB5...2d1C964e8
0 ETH0.0022953449.24358566
Approve187940432023-12-15 20:58:47212 days ago1702673927IN
0xeA575FB5...2d1C964e8
0 ETH0.0023453850.31720875
0x60806040187939652023-12-15 20:42:59212 days ago1702672979IN
 Create: Onlycoin
0 ETH0.1666647541.62058362

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Onlycoin

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion
File 1 of 8 : Onlycoin.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";

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

    uint256 public constant TOTAL_SUPPLY = 21_000_000 ether; 
    uint8 public constant MAX_TAX_RATE = 100;
    uint16 public taxRate;
    address public taxWallet;
    address public pair;

    mapping(address => bool) public taxExemptList;

    event SetTaxRate(uint8 newTaxRate);
    event SetTaxWallet(address newTaxAddress);
    event IncludeToTaxExemptList(address wallet);
    event ExcludeFromTaxExemptList(address wallet);
    event Withdraw(address recipient, uint256 amount);

    constructor(
        string memory name,
        string memory symbol,
        uint8 _taxRate,
        address _taxWallet,
        address factory,
        address weth
    ) ERC20(name, symbol) {
        require(_taxRate <= MAX_TAX_RATE, "Tax rate exceeds maximum");
        _mint(msg.sender, TOTAL_SUPPLY);

        taxRate = _taxRate;
        taxWallet = _taxWallet;

        pair = IUniswapV2Factory(factory).createPair(address(this), address(weth));
    }

    function setTaxRate(uint8 _newTaxRate) external onlyOwner {
        require(_newTaxRate <= MAX_TAX_RATE, "New tax rate exceeds maximum");
        taxRate = _newTaxRate;
        emit SetTaxRate(_newTaxRate);
    }

    function setTaxWallet(address _newTaxWallet) external onlyOwner {
        taxWallet = _newTaxWallet;
        emit SetTaxWallet(_newTaxWallet);
    }

    function includeToTaxExemptList(address wallet) external onlyOwner {
        require(!taxExemptList[wallet], "Already in the tax exempt list");
        taxExemptList[wallet] = true;
        emit IncludeToTaxExemptList(wallet);
    }

    function excludeFromTaxExemptList(address wallet) external onlyOwner {
        require(taxExemptList[wallet], "Not in the tax exempt list");
        taxExemptList[wallet] = false;
        emit ExcludeFromTaxExemptList(wallet);
    }

    function withdraw(address payable recipient, uint256 amount) external onlyOwner {
        require(recipient != address(0), "Invalid recipient address");
        require(amount > 0, "Withdrawal amount must be greater than 0");
        require(address(this).balance >= amount, "Insufficient balance for withdrawal");

        recipient.transfer(amount);

        emit Withdraw(recipient, amount);
    }

    receive() external payable {}

    function _isSwap(address sender_, address recipient_) internal view returns (bool isSwap) {
        if (sender_ == pair || recipient_ == pair) {
            return true;
        } else {
            return false;
        }
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal override {
       
        address contractOwner = owner();
        if (
            _isSwap(sender, recipient) &&
            sender != contractOwner &&
            sender != taxWallet &&
            recipient != contractOwner &&
            recipient != taxWallet &&
            taxRate != 0 &&
            !taxExemptList[sender] &&
            !taxExemptList[recipient]
        ) {
            uint256 taxAmount = amount.mul(taxRate).div(MAX_TAX_RATE);
            uint256 afterTaxAmount = amount.sub(taxAmount);
            super._transfer(sender, taxWallet, taxAmount);
            super._transfer(sender, recipient, afterTaxAmount);
        } else {
            super._transfer(sender, recipient, amount);
        }
    }
}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

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

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

File 3 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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.zeppelin.solutions/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 `sender` to `recipient`.
     *
     * 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;
        }
        _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;
        _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;
        }
        _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 4 of 8 : 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 5 of 8 : 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 6 of 8 : 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 7 of 8 : 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 8 of 8 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"_taxRate","type":"uint8"},{"internalType":"address","name":"_taxWallet","type":"address"},{"internalType":"address","name":"factory","type":"address"},{"internalType":"address","name":"weth","type":"address"}],"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":false,"internalType":"address","name":"wallet","type":"address"}],"name":"ExcludeFromTaxExemptList","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"}],"name":"IncludeToTaxExemptList","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"newTaxRate","type":"uint8"}],"name":"SetTaxRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newTaxAddress","type":"address"}],"name":"SetTaxWallet","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":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"MAX_TAX_RATE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":[{"internalType":"address","name":"wallet","type":"address"}],"name":"excludeFromTaxExemptList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"includeToTaxExemptList","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":"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":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_newTaxRate","type":"uint8"}],"name":"setTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newTaxWallet","type":"address"}],"name":"setTaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxExemptList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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 payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162001d0e38038062001d0e8339810160408190526200003491620004aa565b8551869086906200004d90600390602085019062000310565b5080516200006390600490602084019062000310565b505050620000806200007a620001d560201b60201c565b620001d9565b606460ff85161115620000da5760405162461bcd60e51b815260206004820152601860248201527f54617820726174652065786365656473206d6178696d756d000000000000000060448201526064015b60405180910390fd5b620000f1336a115eec47f6cf7e350000006200022b565b6005805461ffff60a01b191660ff8616600160a01b02179055600680546001600160a01b0319166001600160a01b03858116919091179091556040516364e329cb60e11b815230600482015282821660248201529083169063c9c6539690604401602060405180830381600087803b1580156200016d57600080fd5b505af115801562000182573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a8919062000486565b600780546001600160a01b0319166001600160a01b039290921691909117905550620005d8945050505050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002835760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000d1565b806002600082825462000297919062000560565b90915550506001600160a01b03821660009081526020819052604081208054839290620002c690849062000560565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200031e9062000585565b90600052602060002090601f0160209004810192826200034257600085556200038d565b82601f106200035d57805160ff19168380011785556200038d565b828001600101855582156200038d579182015b828111156200038d57825182559160200191906001019062000370565b506200039b9291506200039f565b5090565b5b808211156200039b5760008155600101620003a0565b80516001600160a01b0381168114620003ce57600080fd5b919050565b600082601f830112620003e4578081fd5b81516001600160401b0380821115620004015762000401620005c2565b604051601f8301601f19908116603f011681019082821181831017156200042c576200042c620005c2565b8160405283815260209250868385880101111562000448578485fd5b8491505b838210156200046b57858201830151818301840152908201906200044c565b838211156200047c57848385830101525b9695505050505050565b60006020828403121562000498578081fd5b620004a382620003b6565b9392505050565b60008060008060008060c08789031215620004c3578182fd5b86516001600160401b0380821115620004da578384fd5b620004e88a838b01620003d3565b97506020890151915080821115620004fe578384fd5b506200050d89828a01620003d3565b955050604087015160ff8116811462000524578283fd5b93506200053460608801620003b6565b92506200054460808801620003b6565b91506200055460a08801620003b6565b90509295509295509295565b600082198211156200058057634e487b7160e01b81526011600452602481fd5b500190565b600181811c908216806200059a57607f821691505b60208210811415620005bc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61172680620005e86000396000f3fe60806040526004361061019a5760003560e01c8063771a3a1d116100e1578063a457c2d71161008a578063dd62ed3e11610064578063dd62ed3e14610493578063ea414b28146104d9578063f2fde38b146104f9578063f3fef3a31461051957600080fd5b8063a457c2d714610433578063a8aa1b3114610453578063a9059cbb1461047357600080fd5b80638fa81732116100bb5780638fa81732146103ea578063902d55a5146103ff57806395d89b411461041e57600080fd5b8063771a3a1d1461036757806386ede6711461039c5780638da5cb5b146103cc57600080fd5b8063395093511161014357806370a082311161011d57806370a08231146102fc578063715018a61461033257806373fc2b491461034757600080fd5b8063395093511461029a5780634cfd5a04146102ba5780636c791e04146102dc57600080fd5b806323b872dd1161017457806323b872dd146102205780632dc0562d14610240578063313ce5671461027857600080fd5b806306fdde03146101a6578063095ea7b3146101d157806318160ddd1461020157600080fd5b366101a157005b600080fd5b3480156101b257600080fd5b506101bb610539565b6040516101c891906115ab565b60405180910390f35b3480156101dd57600080fd5b506101f16101ec366004611578565b6105cb565b60405190151581526020016101c8565b34801561020d57600080fd5b506002545b6040519081526020016101c8565b34801561022c57600080fd5b506101f161023b366004611538565b6105e5565b34801561024c57600080fd5b50600654610260906001600160a01b031681565b6040516001600160a01b0390911681526020016101c8565b34801561028457600080fd5b5060125b60405160ff90911681526020016101c8565b3480156102a657600080fd5b506101f16102b5366004611578565b610609565b3480156102c657600080fd5b506102da6102d53660046114b9565b610648565b005b3480156102e857600080fd5b506102da6102f736600461158a565b61076b565b34801561030857600080fd5b506102126103173660046114b9565b6001600160a01b031660009081526020819052604090205490565b34801561033e57600080fd5b506102da610881565b34801561035357600080fd5b506102da6103623660046114b9565b6108e7565b34801561037357600080fd5b5060055461038990600160a01b900461ffff1681565b60405161ffff90911681526020016101c8565b3480156103a857600080fd5b506101f16103b73660046114b9565b60086020526000908152604090205460ff1681565b3480156103d857600080fd5b506005546001600160a01b0316610260565b3480156103f657600080fd5b50610288606481565b34801561040b57600080fd5b506102126a115eec47f6cf7e3500000081565b34801561042a57600080fd5b506101bb6109fa565b34801561043f57600080fd5b506101f161044e366004611578565b610a09565b34801561045f57600080fd5b50600754610260906001600160a01b031681565b34801561047f57600080fd5b506101f161048e366004611578565b610ab3565b34801561049f57600080fd5b506102126104ae366004611500565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156104e557600080fd5b506102da6104f43660046114b9565b610ac1565b34801561050557600080fd5b506102da6105143660046114b9565b610b81565b34801561052557600080fd5b506102da6105343660046114d5565b610c63565b6060600380546105489061168a565b80601f01602080910402602001604051908101604052809291908181526020018280546105749061168a565b80156105c15780601f10610596576101008083540402835291602001916105c1565b820191906000526020600020905b8154815290600101906020018083116105a457829003601f168201915b5050505050905090565b6000336105d9818585610e7c565b60019150505b92915050565b6000336105f3858285610fd4565b6105fe858585611066565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906105d9908290869061064390879061161c565b610e7c565b6005546001600160a01b031633146106a75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b03811660009081526008602052604090205460ff16156107105760405162461bcd60e51b815260206004820152601e60248201527f416c726561647920696e2074686520746178206578656d7074206c6973740000604482015260640161069e565b6001600160a01b038116600081815260086020908152604091829020805460ff1916600117905590519182527f3c1ea4c8976f8bac153d3a150eb742143d4a6e7a83ecfdbaa150890c6c00ff8891015b60405180910390a150565b6005546001600160a01b031633146107c55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161069e565b606460ff821611156108195760405162461bcd60e51b815260206004820152601c60248201527f4e65772074617820726174652065786365656473206d6178696d756d00000000604482015260640161069e565b600580547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff1660ff8316600160a01b8102919091179091556040519081527f9eafd9896ac77ed2f52fbb06cc2452fb29deccd739dc208df1b492c1feff8f1f90602001610760565b6005546001600160a01b031633146108db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161069e565b6108e560006111cc565b565b6005546001600160a01b031633146109415760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161069e565b6001600160a01b03811660009081526008602052604090205460ff166109a95760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420696e2074686520746178206578656d7074206c697374000000000000604482015260640161069e565b6001600160a01b038116600081815260086020908152604091829020805460ff1916905590519182527fca42f9ae3737bdf3ba42dc2f343003c66cd2a39869091c78150e0a9ca9b996239101610760565b6060600480546105489061168a565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610aa65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161069e565b6105fe8286868403610e7c565b6000336105d9818585611066565b6005546001600160a01b03163314610b1b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161069e565b600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040519081527f4bd6ec391a234422bce72ec17fecf365ff908561187a497ff5dbe5435779bc0690602001610760565b6005546001600160a01b03163314610bdb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161069e565b6001600160a01b038116610c575760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161069e565b610c60816111cc565b50565b6005546001600160a01b03163314610cbd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161069e565b6001600160a01b038216610d135760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420726563697069656e74206164647265737300000000000000604482015260640161069e565b60008111610d895760405162461bcd60e51b815260206004820152602860248201527f5769746864726177616c20616d6f756e74206d7573742062652067726561746560448201527f72207468616e2030000000000000000000000000000000000000000000000000606482015260840161069e565b80471015610dff5760405162461bcd60e51b815260206004820152602360248201527f496e73756666696369656e742062616c616e636520666f72207769746864726160448201527f77616c0000000000000000000000000000000000000000000000000000000000606482015260840161069e565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610e35573d6000803e3d6000fd5b50604080516001600160a01b0384168152602081018390527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364910160405180910390a15050565b6001600160a01b038316610ef75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161069e565b6001600160a01b038216610f735760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161069e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461106057818110156110535760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161069e565b6110608484848403610e7c565b50505050565b600061107a6005546001600160a01b031690565b90506110868484611236565b80156110a45750806001600160a01b0316846001600160a01b031614155b80156110be57506006546001600160a01b03858116911614155b80156110dc5750806001600160a01b0316836001600160a01b031614155b80156110f657506006546001600160a01b03848116911614155b801561110e5750600554600160a01b900461ffff1615155b801561113357506001600160a01b03841660009081526008602052604090205460ff16155b801561115857506001600160a01b03831660009081526008602052604090205460ff16155b156111c15760055460009061118690606490611180908690600160a01b900461ffff16611277565b9061128a565b905060006111948483611296565b6006549091506111af9087906001600160a01b0316846112a2565b6111ba8686836112a2565b5050611060565b6110608484846112a2565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6007546000906001600160a01b038481169116148061126257506007546001600160a01b038381169116145b1561126f575060016105df565b5060006105df565b60006112838284611654565b9392505050565b60006112838284611634565b60006112838284611673565b6001600160a01b03831661131e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161069e565b6001600160a01b03821661139a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161069e565b6001600160a01b038316600090815260208190526040902054818110156114295760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161069e565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061146090849061161c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516114ac91815260200190565b60405180910390a3611060565b6000602082840312156114ca578081fd5b8135611283816116db565b600080604083850312156114e7578081fd5b82356114f2816116db565b946020939093013593505050565b60008060408385031215611512578182fd5b823561151d816116db565b9150602083013561152d816116db565b809150509250929050565b60008060006060848603121561154c578081fd5b8335611557816116db565b92506020840135611567816116db565b929592945050506040919091013590565b600080604083850312156114e7578182fd5b60006020828403121561159b578081fd5b813560ff81168114611283578182fd5b6000602080835283518082850152825b818110156115d7578581018301518582016040015282016115bb565b818111156115e85783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000821982111561162f5761162f6116c5565b500190565b60008261164f57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561166e5761166e6116c5565b500290565b600082821015611685576116856116c5565b500390565b600181811c9082168061169e57607f821691505b602082108114156116bf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610c6057600080fdfea26469706673582212206bb8f38e428f5224d2cf7413e8f80171d8011b5c2d9b808787eeebea6878249b64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000e9663a04cd3d38a32c1054472aab14113dbd77de0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000000084f6e6c79636f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044f4e4c5900000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061019a5760003560e01c8063771a3a1d116100e1578063a457c2d71161008a578063dd62ed3e11610064578063dd62ed3e14610493578063ea414b28146104d9578063f2fde38b146104f9578063f3fef3a31461051957600080fd5b8063a457c2d714610433578063a8aa1b3114610453578063a9059cbb1461047357600080fd5b80638fa81732116100bb5780638fa81732146103ea578063902d55a5146103ff57806395d89b411461041e57600080fd5b8063771a3a1d1461036757806386ede6711461039c5780638da5cb5b146103cc57600080fd5b8063395093511161014357806370a082311161011d57806370a08231146102fc578063715018a61461033257806373fc2b491461034757600080fd5b8063395093511461029a5780634cfd5a04146102ba5780636c791e04146102dc57600080fd5b806323b872dd1161017457806323b872dd146102205780632dc0562d14610240578063313ce5671461027857600080fd5b806306fdde03146101a6578063095ea7b3146101d157806318160ddd1461020157600080fd5b366101a157005b600080fd5b3480156101b257600080fd5b506101bb610539565b6040516101c891906115ab565b60405180910390f35b3480156101dd57600080fd5b506101f16101ec366004611578565b6105cb565b60405190151581526020016101c8565b34801561020d57600080fd5b506002545b6040519081526020016101c8565b34801561022c57600080fd5b506101f161023b366004611538565b6105e5565b34801561024c57600080fd5b50600654610260906001600160a01b031681565b6040516001600160a01b0390911681526020016101c8565b34801561028457600080fd5b5060125b60405160ff90911681526020016101c8565b3480156102a657600080fd5b506101f16102b5366004611578565b610609565b3480156102c657600080fd5b506102da6102d53660046114b9565b610648565b005b3480156102e857600080fd5b506102da6102f736600461158a565b61076b565b34801561030857600080fd5b506102126103173660046114b9565b6001600160a01b031660009081526020819052604090205490565b34801561033e57600080fd5b506102da610881565b34801561035357600080fd5b506102da6103623660046114b9565b6108e7565b34801561037357600080fd5b5060055461038990600160a01b900461ffff1681565b60405161ffff90911681526020016101c8565b3480156103a857600080fd5b506101f16103b73660046114b9565b60086020526000908152604090205460ff1681565b3480156103d857600080fd5b506005546001600160a01b0316610260565b3480156103f657600080fd5b50610288606481565b34801561040b57600080fd5b506102126a115eec47f6cf7e3500000081565b34801561042a57600080fd5b506101bb6109fa565b34801561043f57600080fd5b506101f161044e366004611578565b610a09565b34801561045f57600080fd5b50600754610260906001600160a01b031681565b34801561047f57600080fd5b506101f161048e366004611578565b610ab3565b34801561049f57600080fd5b506102126104ae366004611500565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156104e557600080fd5b506102da6104f43660046114b9565b610ac1565b34801561050557600080fd5b506102da6105143660046114b9565b610b81565b34801561052557600080fd5b506102da6105343660046114d5565b610c63565b6060600380546105489061168a565b80601f01602080910402602001604051908101604052809291908181526020018280546105749061168a565b80156105c15780601f10610596576101008083540402835291602001916105c1565b820191906000526020600020905b8154815290600101906020018083116105a457829003601f168201915b5050505050905090565b6000336105d9818585610e7c565b60019150505b92915050565b6000336105f3858285610fd4565b6105fe858585611066565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906105d9908290869061064390879061161c565b610e7c565b6005546001600160a01b031633146106a75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b03811660009081526008602052604090205460ff16156107105760405162461bcd60e51b815260206004820152601e60248201527f416c726561647920696e2074686520746178206578656d7074206c6973740000604482015260640161069e565b6001600160a01b038116600081815260086020908152604091829020805460ff1916600117905590519182527f3c1ea4c8976f8bac153d3a150eb742143d4a6e7a83ecfdbaa150890c6c00ff8891015b60405180910390a150565b6005546001600160a01b031633146107c55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161069e565b606460ff821611156108195760405162461bcd60e51b815260206004820152601c60248201527f4e65772074617820726174652065786365656473206d6178696d756d00000000604482015260640161069e565b600580547fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff1660ff8316600160a01b8102919091179091556040519081527f9eafd9896ac77ed2f52fbb06cc2452fb29deccd739dc208df1b492c1feff8f1f90602001610760565b6005546001600160a01b031633146108db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161069e565b6108e560006111cc565b565b6005546001600160a01b031633146109415760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161069e565b6001600160a01b03811660009081526008602052604090205460ff166109a95760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420696e2074686520746178206578656d7074206c697374000000000000604482015260640161069e565b6001600160a01b038116600081815260086020908152604091829020805460ff1916905590519182527fca42f9ae3737bdf3ba42dc2f343003c66cd2a39869091c78150e0a9ca9b996239101610760565b6060600480546105489061168a565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610aa65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161069e565b6105fe8286868403610e7c565b6000336105d9818585611066565b6005546001600160a01b03163314610b1b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161069e565b600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040519081527f4bd6ec391a234422bce72ec17fecf365ff908561187a497ff5dbe5435779bc0690602001610760565b6005546001600160a01b03163314610bdb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161069e565b6001600160a01b038116610c575760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161069e565b610c60816111cc565b50565b6005546001600160a01b03163314610cbd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161069e565b6001600160a01b038216610d135760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420726563697069656e74206164647265737300000000000000604482015260640161069e565b60008111610d895760405162461bcd60e51b815260206004820152602860248201527f5769746864726177616c20616d6f756e74206d7573742062652067726561746560448201527f72207468616e2030000000000000000000000000000000000000000000000000606482015260840161069e565b80471015610dff5760405162461bcd60e51b815260206004820152602360248201527f496e73756666696369656e742062616c616e636520666f72207769746864726160448201527f77616c0000000000000000000000000000000000000000000000000000000000606482015260840161069e565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610e35573d6000803e3d6000fd5b50604080516001600160a01b0384168152602081018390527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364910160405180910390a15050565b6001600160a01b038316610ef75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161069e565b6001600160a01b038216610f735760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161069e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461106057818110156110535760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161069e565b6110608484848403610e7c565b50505050565b600061107a6005546001600160a01b031690565b90506110868484611236565b80156110a45750806001600160a01b0316846001600160a01b031614155b80156110be57506006546001600160a01b03858116911614155b80156110dc5750806001600160a01b0316836001600160a01b031614155b80156110f657506006546001600160a01b03848116911614155b801561110e5750600554600160a01b900461ffff1615155b801561113357506001600160a01b03841660009081526008602052604090205460ff16155b801561115857506001600160a01b03831660009081526008602052604090205460ff16155b156111c15760055460009061118690606490611180908690600160a01b900461ffff16611277565b9061128a565b905060006111948483611296565b6006549091506111af9087906001600160a01b0316846112a2565b6111ba8686836112a2565b5050611060565b6110608484846112a2565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6007546000906001600160a01b038481169116148061126257506007546001600160a01b038381169116145b1561126f575060016105df565b5060006105df565b60006112838284611654565b9392505050565b60006112838284611634565b60006112838284611673565b6001600160a01b03831661131e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161069e565b6001600160a01b03821661139a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161069e565b6001600160a01b038316600090815260208190526040902054818110156114295760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161069e565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061146090849061161c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516114ac91815260200190565b60405180910390a3611060565b6000602082840312156114ca578081fd5b8135611283816116db565b600080604083850312156114e7578081fd5b82356114f2816116db565b946020939093013593505050565b60008060408385031215611512578182fd5b823561151d816116db565b9150602083013561152d816116db565b809150509250929050565b60008060006060848603121561154c578081fd5b8335611557816116db565b92506020840135611567816116db565b929592945050506040919091013590565b600080604083850312156114e7578182fd5b60006020828403121561159b578081fd5b813560ff81168114611283578182fd5b6000602080835283518082850152825b818110156115d7578581018301518582016040015282016115bb565b818111156115e85783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000821982111561162f5761162f6116c5565b500190565b60008261164f57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561166e5761166e6116c5565b500290565b600082821015611685576116856116c5565b500390565b600181811c9082168061169e57607f821691505b602082108114156116bf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610c6057600080fdfea26469706673582212206bb8f38e428f5224d2cf7413e8f80171d8011b5c2d9b808787eeebea6878249b64736f6c63430008040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000e9663a04cd3d38a32c1054472aab14113dbd77de0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000000084f6e6c79636f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044f4e4c5900000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Onlycoin
Arg [1] : symbol (string): ONLY
Arg [2] : _taxRate (uint8): 1
Arg [3] : _taxWallet (address): 0xe9663a04Cd3d38A32c1054472AAb14113DBD77DE
Arg [4] : factory (address): 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
Arg [5] : weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [3] : 000000000000000000000000e9663a04cd3d38a32c1054472aab14113dbd77de
Arg [4] : 0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
Arg [5] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [7] : 4f6e6c79636f696e000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 4f4e4c5900000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.