ETH Price: $2,936.15 (+4.62%)
 

Overview

Max Total Supply

100,000,000 TAH

Holders

306

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 TAH

Value
$0.00
0xec6dde29ba9a5c161e5c1b8a7d6a417f5fc925b3
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:
TAOHarvest

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : TAOHarvest.sol
// Website:   https://www.taoharvest.com/
// Docs:      https://docs.taoharvest.com/
// X:         https://twitter.com/TaoHarvest
// Telegram:  https://t.me/taoharvest

pragma solidity =0.8.13;

interface IPair {
    function getReserves()
        external
        view
        returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);

    function token0() external view returns (address);
}

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

    function getPair(
        address tokenA,
        address tokenB
    ) external view returns (address pair);
}

interface IUniswapRouter {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    )
        external
        payable
        returns (uint amountToken, uint amountETH, uint liquidity);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;

    function swapExactETHForTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable returns (uint[] memory amounts);

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "./interfaces/IStaking.sol";

contract TAOHarvest is ERC20, Ownable {
    IUniswapRouter public router;
    address public pair;
    address public marketingWallet;
    address public stakingReward;

    bool private swapping;
    bool public tradingEnabled;

    uint256 public swapTokensAtAmount;

    uint256 stakingTax = 2;
    uint256 marketingTax = 3;

    uint256 public totalTax = stakingTax + marketingTax;

    mapping(address => bool) private _isExcludedFromFees;

    event ExcludeFromFees(address indexed account, bool isExcluded);

    constructor(
        address _routerAddress,
        address _marketingWallet,
        address _stakingReward
    ) ERC20("TAOHarvest Token", "TAH") {
        setMarketingWallet(_marketingWallet);
        setStakingRewardWallet(_stakingReward);

        IUniswapRouter _router = IUniswapRouter(_routerAddress);

        address _pair = IFactory(_router.factory()).createPair(
            address(this),
            _router.WETH()
        );

        router = _router;

        pair = _pair;

        excludeFromFees(owner(), true);
        excludeFromFees(_stakingReward, true);
        excludeFromFees(_marketingWallet, true);
        excludeFromFees(address(this), true);

        setSwapTokensAtAmount(400_000);

        _mint(owner(), 100_000_000 * (10 ** 18));
    }

    function setSwapTokensAtAmount(uint256 amount) public onlyOwner {
        swapTokensAtAmount = amount * 10 ** 18;
    }

    function rescueERC20Tokens(address tokenAddress) external onlyOwner {
        IERC20(tokenAddress).transfer(
            owner(),
            IERC20(tokenAddress).balanceOf(address(this))
        );
    }

    function forceSend() external onlyOwner {
        uint256 ETHbalance = address(this).balance;
        (bool success, ) = payable(marketingWallet).call{value: ETHbalance}("");
        require(success);
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        require(
            _isExcludedFromFees[account] != excluded,
            "Account is already excluded"
        );
        _isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }

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

    function setMarketingWallet(address newWallet) public onlyOwner {
        marketingWallet = newWallet;
    }

    function setStakingRewardWallet(address newStaking) public onlyOwner {
        stakingReward = newStaking;
    }

    function activateTrading() external onlyOwner {
        require(!tradingEnabled, "Trading already enabled");
        tradingEnabled = true;
    }

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

        if (
            !_isExcludedFromFees[from] && !_isExcludedFromFees[to] && !swapping
        ) {
            require(tradingEnabled, "Trading not active");
        }

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

        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;
        address _pair = pair;

        if (
            canSwap &&
            !swapping &&
            to == _pair &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;

            if (totalTax > 0) {
                swapAndSendReward(swapTokensAtAmount);
            }

            swapping = false;
        }

        bool takeFee = !swapping;

        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        if ( _pair != to && _pair != from ) {
            takeFee = false;
        }

        if (takeFee) {
            uint256 feeAmt;
            feeAmt = (amount * totalTax) / 100;
            amount = amount - feeAmt;
            super._transfer(from, address(this), feeAmt);
        }
        super._transfer(from, to, amount);
    }

    function swapAndSendReward(uint256 tokens) private {
        swapTokensForETH(tokens);
        uint256 currentbalance = address(this).balance;
        if (currentbalance > 0) {
            uint256 _totalTax = totalTax;
            uint256 stakingAmt = currentbalance * stakingTax / _totalTax;
            uint256 marketingAmt = currentbalance * marketingTax / _totalTax;
            
            (bool successSendStaking, ) = payable(stakingReward).call{value: stakingAmt}("");
            require(successSendStaking, "Send error");

            (bool successSendMarketing, ) = payable(marketingWallet).call{value: marketingAmt}("");
            require(successSendMarketing, "Send error");
        }
    }


    function swapTokensForETH(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();

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

        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    receive() external payable {}
}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 4 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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}.
     *
     * 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 default value returned by this function, unless
     * it's 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 5 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 6 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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 7 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 8 of 8 : IStaking.sol
pragma solidity ^0.8.0;

interface IStaking {
    function init(address, address, address) external;

    function deposit(uint256 _amount) external payable;

    function withdraw() external;

    function claim() external;

    function pending(address _who) external view returns (uint256);

    function updateReward(uint256 _amount) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_routerAddress","type":"address"},{"internalType":"address","name":"_marketingWallet","type":"address"},{"internalType":"address","name":"_stakingReward","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":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"},{"inputs":[],"name":"activateTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSend","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":"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":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"rescueERC20Tokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newStaking","type":"address"}],"name":"setStakingRewardWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingReward","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"},{"stateMutability":"payable","type":"receive"}]

60806040526002600b8190556003600c8190556200001d9162000683565b600d553480156200002d57600080fd5b5060405162001fde38038062001fde8339810160408190526200005091620006bb565b6040518060400160405280601081526020016f2a20a7a430b93b32b9ba102a37b5b2b760811b815250604051806040016040528060038152602001620a882960eb1b8152508160039080519060200190620000ad929190620005c7565b508051620000c3906004906020840190620005c7565b505050620000e0620000da620002f560201b60201c565b620002f9565b620000eb826200034b565b620000f68162000377565b60008390506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200013c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000162919062000705565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001b0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d6919062000705565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000224573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024a919062000705565b600680546001600160a01b038581166001600160a01b0319928316179092556007805484841692169190911790556005549192506200028c91166001620003a3565b62000299836001620003a3565b620002a6846001620003a3565b620002b3306001620003a3565b620002c162061a8062000482565b620002ea620002d86005546001600160a01b031690565b6a52b7d2dcc80cd2e4000000620004a6565b505050505062000788565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200035562000569565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6200038162000569565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b620003ad62000569565b6001600160a01b0382166000908152600e602052604090205481151560ff909116151503620004235760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064015b60405180910390fd5b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6200048c62000569565b620004a081670de0b6b3a76400006200072a565b600a5550565b6001600160a01b038216620004fe5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200041a565b806002600082825462000512919062000683565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620005c55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200041a565b565b828054620005d5906200074c565b90600052602060002090601f016020900481019282620005f9576000855562000644565b82601f106200061457805160ff191683800117855562000644565b8280016001018555821562000644579182015b828111156200064457825182559160200191906001019062000627565b506200065292915062000656565b5090565b5b8082111562000652576000815560010162000657565b634e487b7160e01b600052601160045260246000fd5b600082198211156200069957620006996200066d565b500190565b80516001600160a01b0381168114620006b657600080fd5b919050565b600080600060608486031215620006d157600080fd5b620006dc846200069e565b9250620006ec602085016200069e565b9150620006fc604085016200069e565b90509250925092565b6000602082840312156200071857600080fd5b62000723826200069e565b9392505050565b60008160001904831182151516156200074757620007476200066d565b500290565b600181811c908216806200076157607f821691505b6020821081036200078257634e487b7160e01b600052602260045260246000fd5b50919050565b61184680620007986000396000f3fe6080604052600436106101c65760003560e01c8063715018a6116100f7578063afa4f3b211610095578063e2f4560511610064578063e2f4560514610520578063f2fde38b14610536578063f887ea4014610556578063fe85b42b1461057657600080fd5b8063afa4f3b2146104a0578063c0246668146104c0578063c3e0f5cf146104e0578063dd62ed3e1461050057600080fd5b806395d89b41116100d157806395d89b411461042b578063a457c2d714610440578063a8aa1b3114610460578063a9059cbb1461048057600080fd5b8063715018a6146103d857806375f0a874146103ed5780638da5cb5b1461040d57600080fd5b8063313ce567116101645780634ada218b1161013e5780634ada218b146103285780634fbee193146103495780635d098b381461038257806370a08231146103a257600080fd5b8063313ce567146102cc57806339509351146102e85780633f9207531461030857600080fd5b80630bd05b69116101a05780630bd05b691461026157806312b77e8a1461027857806318160ddd1461028d57806323b872dd146102ac57600080fd5b8063042249bb146101d257806306fdde031461020f578063095ea7b31461023157600080fd5b366101cd57005b600080fd5b3480156101de57600080fd5b506009546101f2906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561021b57600080fd5b5061022461058c565b60405161020691906114ed565b34801561023d57600080fd5b5061025161024c366004611557565b61061e565b6040519015158152602001610206565b34801561026d57600080fd5b50610276610636565b005b34801561028457600080fd5b506102766106b2565b34801561029957600080fd5b506002545b604051908152602001610206565b3480156102b857600080fd5b506102516102c7366004611583565b610722565b3480156102d857600080fd5b5060405160128152602001610206565b3480156102f457600080fd5b50610251610303366004611557565b610746565b34801561031457600080fd5b506102766103233660046115c4565b610768565b34801561033457600080fd5b5060095461025190600160a81b900460ff1681565b34801561035557600080fd5b506102516103643660046115c4565b6001600160a01b03166000908152600e602052604090205460ff1690565b34801561038e57600080fd5b5061027661039d3660046115c4565b610792565b3480156103ae57600080fd5b5061029e6103bd3660046115c4565b6001600160a01b031660009081526020819052604090205490565b3480156103e457600080fd5b506102766107bc565b3480156103f957600080fd5b506008546101f2906001600160a01b031681565b34801561041957600080fd5b506005546001600160a01b03166101f2565b34801561043757600080fd5b506102246107d0565b34801561044c57600080fd5b5061025161045b366004611557565b6107df565b34801561046c57600080fd5b506007546101f2906001600160a01b031681565b34801561048c57600080fd5b5061025161049b366004611557565b61085a565b3480156104ac57600080fd5b506102766104bb3660046115e8565b610868565b3480156104cc57600080fd5b506102766104db36600461160f565b610888565b3480156104ec57600080fd5b506102766104fb3660046115c4565b61095f565b34801561050c57600080fd5b5061029e61051b366004611648565b610a5f565b34801561052c57600080fd5b5061029e600a5481565b34801561054257600080fd5b506102766105513660046115c4565b610a8a565b34801561056257600080fd5b506006546101f2906001600160a01b031681565b34801561058257600080fd5b5061029e600d5481565b60606003805461059b90611676565b80601f01602080910402602001604051908101604052809291908181526020018280546105c790611676565b80156106145780601f106105e957610100808354040283529160200191610614565b820191906000526020600020905b8154815290600101906020018083116105f757829003601f168201915b5050505050905090565b60003361062c818585610b03565b5060019392505050565b61063e610c27565b600954600160a81b900460ff161561069d5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c656400000000000000000060448201526064015b60405180910390fd5b6009805460ff60a81b1916600160a81b179055565b6106ba610c27565b60085460405147916000916001600160a01b039091169083908381818185875af1925050503d806000811461070b576040519150601f19603f3d011682016040523d82523d6000602084013e610710565b606091505b505090508061071e57600080fd5b5050565b600033610730858285610c81565b61073b858585610cfb565b506001949350505050565b60003361062c8185856107598383610a5f565b61076391906116c6565b610b03565b610770610c27565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b61079a610c27565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6107c4610c27565b6107ce600061102c565b565b60606004805461059b90611676565b600033816107ed8286610a5f565b90508381101561084d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610694565b61073b8286868403610b03565b60003361062c818585610cfb565b610870610c27565b61088281670de0b6b3a76400006116de565b600a5550565b610890610c27565b6001600160a01b0382166000908152600e602052604090205481151560ff9091161515036109005760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610694565b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610967610c27565b806001600160a01b031663a9059cbb6109886005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa1580156109cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f091906116fd565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071e9190611716565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610a92610c27565b6001600160a01b038116610af75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610694565b610b008161102c565b50565b6001600160a01b038316610b655760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610694565b6001600160a01b038216610bc65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610694565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146107ce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610694565b6000610c8d8484610a5f565b90506000198114610cf55781811015610ce85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610694565b610cf58484848403610b03565b50505050565b6001600160a01b038316610d515760405162461bcd60e51b815260206004820152601e60248201527f5472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610694565b6001600160a01b038216610da75760405162461bcd60e51b815260206004820152601c60248201527f5472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610694565b6001600160a01b0383166000908152600e602052604090205460ff16158015610de957506001600160a01b0382166000908152600e602052604090205460ff16155b8015610dff5750600954600160a01b900460ff16155b15610e5257600954600160a81b900460ff16610e525760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610694565b80600003610e6b57610e668383600061107e565b505050565b30600090815260208190526040902054600a546007549082108015916001600160a01b0316908290610ea75750600954600160a01b900460ff16155b8015610ec45750806001600160a01b0316856001600160a01b0316145b8015610ee957506001600160a01b0386166000908152600e602052604090205460ff16155b8015610f0e57506001600160a01b0385166000908152600e602052604090205460ff16155b15610f47576009805460ff60a01b1916600160a01b179055600d5415610f3957610f39600a54611222565b6009805460ff60a01b191690555b6009546001600160a01b0387166000908152600e602052604090205460ff600160a01b909204821615911680610f9557506001600160a01b0386166000908152600e602052604090205460ff165b15610f9e575060005b856001600160a01b0316826001600160a01b031614158015610fd25750866001600160a01b0316826001600160a01b031614155b15610fdb575060005b80156110185760006064600d5487610ff391906116de565b610ffd9190611733565b90506110098187611755565b955061101688308361107e565b505b61102387878761107e565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166110e25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610694565b6001600160a01b0382166111445760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610694565b6001600160a01b038316600090815260208190526040902054818110156111bc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610694565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610cf5565b61122b81611393565b47801561071e57600d54600b54600090829061124790856116de565b6112519190611733565b9050600082600c548561126491906116de565b61126e9190611733565b6009546040519192506000916001600160a01b039091169084908381818185875af1925050503d80600081146112c0576040519150601f19603f3d011682016040523d82523d6000602084013e6112c5565b606091505b50509050806113035760405162461bcd60e51b815260206004820152600a60248201526929b2b7321032b93937b960b11b6044820152606401610694565b6008546040516000916001600160a01b03169084908381818185875af1925050503d8060008114611350576040519150601f19603f3d011682016040523d82523d6000602084013e611355565b606091505b50509050806110235760405162461bcd60e51b815260206004820152600a60248201526929b2b7321032b93937b960b11b6044820152606401610694565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106113c8576113c861176c565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611421573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114459190611782565b816001815181106114585761145861176c565b6001600160a01b03928316602091820292909201015260065461147e9130911684610b03565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906114b790859060009086903090429060040161179f565b600060405180830381600087803b1580156114d157600080fd5b505af11580156114e5573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561151a578581018301518582016040015282016114fe565b8181111561152c576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610b0057600080fd5b6000806040838503121561156a57600080fd5b823561157581611542565b946020939093013593505050565b60008060006060848603121561159857600080fd5b83356115a381611542565b925060208401356115b381611542565b929592945050506040919091013590565b6000602082840312156115d657600080fd5b81356115e181611542565b9392505050565b6000602082840312156115fa57600080fd5b5035919050565b8015158114610b0057600080fd5b6000806040838503121561162257600080fd5b823561162d81611542565b9150602083013561163d81611601565b809150509250929050565b6000806040838503121561165b57600080fd5b823561166681611542565b9150602083013561163d81611542565b600181811c9082168061168a57607f821691505b6020821081036116aa57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156116d9576116d96116b0565b500190565b60008160001904831182151516156116f8576116f86116b0565b500290565b60006020828403121561170f57600080fd5b5051919050565b60006020828403121561172857600080fd5b81516115e181611601565b60008261175057634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611767576117676116b0565b500390565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561179457600080fd5b81516115e181611542565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117ef5784516001600160a01b0316835293830193918301916001016117ca565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220ec2ff3c09b9737e745909ae00191200bbc535a62e609b50a5645cfb133606fe964736f6c634300080d00330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000055277fe40321477352d6bfd51d48f3980f8af0c7000000000000000000000000d3f2748d23a90b5f129c85a30cd887b3f97f64c3

Deployed Bytecode

0x6080604052600436106101c65760003560e01c8063715018a6116100f7578063afa4f3b211610095578063e2f4560511610064578063e2f4560514610520578063f2fde38b14610536578063f887ea4014610556578063fe85b42b1461057657600080fd5b8063afa4f3b2146104a0578063c0246668146104c0578063c3e0f5cf146104e0578063dd62ed3e1461050057600080fd5b806395d89b41116100d157806395d89b411461042b578063a457c2d714610440578063a8aa1b3114610460578063a9059cbb1461048057600080fd5b8063715018a6146103d857806375f0a874146103ed5780638da5cb5b1461040d57600080fd5b8063313ce567116101645780634ada218b1161013e5780634ada218b146103285780634fbee193146103495780635d098b381461038257806370a08231146103a257600080fd5b8063313ce567146102cc57806339509351146102e85780633f9207531461030857600080fd5b80630bd05b69116101a05780630bd05b691461026157806312b77e8a1461027857806318160ddd1461028d57806323b872dd146102ac57600080fd5b8063042249bb146101d257806306fdde031461020f578063095ea7b31461023157600080fd5b366101cd57005b600080fd5b3480156101de57600080fd5b506009546101f2906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561021b57600080fd5b5061022461058c565b60405161020691906114ed565b34801561023d57600080fd5b5061025161024c366004611557565b61061e565b6040519015158152602001610206565b34801561026d57600080fd5b50610276610636565b005b34801561028457600080fd5b506102766106b2565b34801561029957600080fd5b506002545b604051908152602001610206565b3480156102b857600080fd5b506102516102c7366004611583565b610722565b3480156102d857600080fd5b5060405160128152602001610206565b3480156102f457600080fd5b50610251610303366004611557565b610746565b34801561031457600080fd5b506102766103233660046115c4565b610768565b34801561033457600080fd5b5060095461025190600160a81b900460ff1681565b34801561035557600080fd5b506102516103643660046115c4565b6001600160a01b03166000908152600e602052604090205460ff1690565b34801561038e57600080fd5b5061027661039d3660046115c4565b610792565b3480156103ae57600080fd5b5061029e6103bd3660046115c4565b6001600160a01b031660009081526020819052604090205490565b3480156103e457600080fd5b506102766107bc565b3480156103f957600080fd5b506008546101f2906001600160a01b031681565b34801561041957600080fd5b506005546001600160a01b03166101f2565b34801561043757600080fd5b506102246107d0565b34801561044c57600080fd5b5061025161045b366004611557565b6107df565b34801561046c57600080fd5b506007546101f2906001600160a01b031681565b34801561048c57600080fd5b5061025161049b366004611557565b61085a565b3480156104ac57600080fd5b506102766104bb3660046115e8565b610868565b3480156104cc57600080fd5b506102766104db36600461160f565b610888565b3480156104ec57600080fd5b506102766104fb3660046115c4565b61095f565b34801561050c57600080fd5b5061029e61051b366004611648565b610a5f565b34801561052c57600080fd5b5061029e600a5481565b34801561054257600080fd5b506102766105513660046115c4565b610a8a565b34801561056257600080fd5b506006546101f2906001600160a01b031681565b34801561058257600080fd5b5061029e600d5481565b60606003805461059b90611676565b80601f01602080910402602001604051908101604052809291908181526020018280546105c790611676565b80156106145780601f106105e957610100808354040283529160200191610614565b820191906000526020600020905b8154815290600101906020018083116105f757829003601f168201915b5050505050905090565b60003361062c818585610b03565b5060019392505050565b61063e610c27565b600954600160a81b900460ff161561069d5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c656400000000000000000060448201526064015b60405180910390fd5b6009805460ff60a81b1916600160a81b179055565b6106ba610c27565b60085460405147916000916001600160a01b039091169083908381818185875af1925050503d806000811461070b576040519150601f19603f3d011682016040523d82523d6000602084013e610710565b606091505b505090508061071e57600080fd5b5050565b600033610730858285610c81565b61073b858585610cfb565b506001949350505050565b60003361062c8185856107598383610a5f565b61076391906116c6565b610b03565b610770610c27565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b61079a610c27565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6107c4610c27565b6107ce600061102c565b565b60606004805461059b90611676565b600033816107ed8286610a5f565b90508381101561084d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610694565b61073b8286868403610b03565b60003361062c818585610cfb565b610870610c27565b61088281670de0b6b3a76400006116de565b600a5550565b610890610c27565b6001600160a01b0382166000908152600e602052604090205481151560ff9091161515036109005760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610694565b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610967610c27565b806001600160a01b031663a9059cbb6109886005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa1580156109cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f091906116fd565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071e9190611716565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610a92610c27565b6001600160a01b038116610af75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610694565b610b008161102c565b50565b6001600160a01b038316610b655760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610694565b6001600160a01b038216610bc65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610694565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146107ce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610694565b6000610c8d8484610a5f565b90506000198114610cf55781811015610ce85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610694565b610cf58484848403610b03565b50505050565b6001600160a01b038316610d515760405162461bcd60e51b815260206004820152601e60248201527f5472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610694565b6001600160a01b038216610da75760405162461bcd60e51b815260206004820152601c60248201527f5472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610694565b6001600160a01b0383166000908152600e602052604090205460ff16158015610de957506001600160a01b0382166000908152600e602052604090205460ff16155b8015610dff5750600954600160a01b900460ff16155b15610e5257600954600160a81b900460ff16610e525760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610694565b80600003610e6b57610e668383600061107e565b505050565b30600090815260208190526040902054600a546007549082108015916001600160a01b0316908290610ea75750600954600160a01b900460ff16155b8015610ec45750806001600160a01b0316856001600160a01b0316145b8015610ee957506001600160a01b0386166000908152600e602052604090205460ff16155b8015610f0e57506001600160a01b0385166000908152600e602052604090205460ff16155b15610f47576009805460ff60a01b1916600160a01b179055600d5415610f3957610f39600a54611222565b6009805460ff60a01b191690555b6009546001600160a01b0387166000908152600e602052604090205460ff600160a01b909204821615911680610f9557506001600160a01b0386166000908152600e602052604090205460ff165b15610f9e575060005b856001600160a01b0316826001600160a01b031614158015610fd25750866001600160a01b0316826001600160a01b031614155b15610fdb575060005b80156110185760006064600d5487610ff391906116de565b610ffd9190611733565b90506110098187611755565b955061101688308361107e565b505b61102387878761107e565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166110e25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610694565b6001600160a01b0382166111445760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610694565b6001600160a01b038316600090815260208190526040902054818110156111bc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610694565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610cf5565b61122b81611393565b47801561071e57600d54600b54600090829061124790856116de565b6112519190611733565b9050600082600c548561126491906116de565b61126e9190611733565b6009546040519192506000916001600160a01b039091169084908381818185875af1925050503d80600081146112c0576040519150601f19603f3d011682016040523d82523d6000602084013e6112c5565b606091505b50509050806113035760405162461bcd60e51b815260206004820152600a60248201526929b2b7321032b93937b960b11b6044820152606401610694565b6008546040516000916001600160a01b03169084908381818185875af1925050503d8060008114611350576040519150601f19603f3d011682016040523d82523d6000602084013e611355565b606091505b50509050806110235760405162461bcd60e51b815260206004820152600a60248201526929b2b7321032b93937b960b11b6044820152606401610694565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106113c8576113c861176c565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611421573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114459190611782565b816001815181106114585761145861176c565b6001600160a01b03928316602091820292909201015260065461147e9130911684610b03565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906114b790859060009086903090429060040161179f565b600060405180830381600087803b1580156114d157600080fd5b505af11580156114e5573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561151a578581018301518582016040015282016114fe565b8181111561152c576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610b0057600080fd5b6000806040838503121561156a57600080fd5b823561157581611542565b946020939093013593505050565b60008060006060848603121561159857600080fd5b83356115a381611542565b925060208401356115b381611542565b929592945050506040919091013590565b6000602082840312156115d657600080fd5b81356115e181611542565b9392505050565b6000602082840312156115fa57600080fd5b5035919050565b8015158114610b0057600080fd5b6000806040838503121561162257600080fd5b823561162d81611542565b9150602083013561163d81611601565b809150509250929050565b6000806040838503121561165b57600080fd5b823561166681611542565b9150602083013561163d81611542565b600181811c9082168061168a57607f821691505b6020821081036116aa57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156116d9576116d96116b0565b500190565b60008160001904831182151516156116f8576116f86116b0565b500290565b60006020828403121561170f57600080fd5b5051919050565b60006020828403121561172857600080fd5b81516115e181611601565b60008261175057634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611767576117676116b0565b500390565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561179457600080fd5b81516115e181611542565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156117ef5784516001600160a01b0316835293830193918301916001016117ca565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220ec2ff3c09b9737e745909ae00191200bbc535a62e609b50a5645cfb133606fe964736f6c634300080d0033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000055277fe40321477352d6bfd51d48f3980f8af0c7000000000000000000000000d3f2748d23a90b5f129c85a30cd887b3f97f64c3

-----Decoded View---------------
Arg [0] : _routerAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _marketingWallet (address): 0x55277fE40321477352D6bfd51d48F3980f8Af0C7
Arg [2] : _stakingReward (address): 0xD3F2748D23A90b5F129c85a30Cd887B3f97F64c3

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 00000000000000000000000055277fe40321477352d6bfd51d48f3980f8af0c7
Arg [2] : 000000000000000000000000d3f2748d23a90b5f129c85a30cd887b3f97f64c3


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.