ETH Price: $3,611.23 (+8.68%)

Token

Bugs (Bunny)
 

Overview

Max Total Supply

5,000,000,000 Bunny

Holders

60

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
152,039,547.620110184017490067 Bunny

Value
$0.00
0x8e841ddc4a5a0c8792434975c6f2e7f16c085cbe
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:
BugsBunny

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-05-18
*/

pragma solidity 0.8.20;

// SPDX-License-Identifier: Unlicensed


// File: @uniswap/v2-core/contracts/interfaces/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;
}

// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol

pragma solidity >=0.6.2;

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

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

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

// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol

pragma solidity >=0.6.2;


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

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

// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// 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: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: @openzeppelin/contracts/utils/Context.sol


// 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: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// 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: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @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: contracts/BugsBunny.sol


pragma solidity 0.8.20;

contract BugsBunny is Context, IERC20, Ownable, ReentrancyGuard {
    using SafeMath for uint256;

    IUniswapV2Router02 private immutable uniswapRouter;
    address private immutable uniswapPair;

    uint256 public totalChargedFees;

    uint256 public buyFee;
    uint256 public sellFee;
    mapping(address => bool) public whitelist;

    string private _name;
    string private _symbol;
    uint8 private _decimals = 18;
    uint256 private _totalSupply;

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

    constructor(
        string memory _tokenName,
        string memory _tokensymbol,
        uint256 initialSupply,
        address _uniswapRouter
    ) {
        _name = _tokenName;
        _symbol = _tokensymbol;

        _totalSupply = initialSupply.mul(10**_decimals);
        _balances[_msgSender()] = _totalSupply;

        uniswapRouter = IUniswapV2Router02(_uniswapRouter);
        uniswapPair = IUniswapV2Factory(uniswapRouter.factory()).createPair(address(this), uniswapRouter.WETH());

        buyFee = 0;
        sellFee = 0;

        whitelist[_msgSender()] = true;

        emit Transfer(address(0), _msgSender(), _totalSupply);
    }

    event TokenChargedFees(address indexed sender, uint256 amount, uint256 timestamp);

    function name() external view returns (string memory) {
        return _name;
    }

    function symbol() external view returns (string memory) {
        return _symbol;
    }

    function decimals() external view returns (uint8) {
        return _decimals;
    }

    function totalSupply() external view override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) external view override returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) public override nonReentrant returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override nonReentrant returns (bool) {
        _transfer(sender, recipient, amount);
        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance.sub(amount));
        return true;
    }

    function allowance(address owner, address spender) external view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) external override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
    _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
    return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance.sub(subtractedValue));
        return true;
    }

    function _transfer(address sender, address recipient, uint256 amount) internal {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");

        uint256 senderBalance = this.balanceOf(sender);
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");

        uint256 chargeAmount = 0;
        uint256 transferAmount = amount;

        // Check if sender or recipient is not in the whitelist
        if (!whitelist[sender] && !whitelist[recipient]) {
            // Buy
            if (sender == uniswapPair && buyFee > 0) {
                chargeAmount = amount.mul(buyFee).div(100);
            // Sell
            } else if (recipient == uniswapPair && sellFee > 0) {
                chargeAmount = amount.mul(sellFee).div(100);
            // Regular transfers (no fee)
            } else {
                chargeAmount = 0;
            }

            if (chargeAmount > 0) {
                transferAmount = transferAmount.sub(chargeAmount);
                totalChargedFees = totalChargedFees.add(chargeAmount);
                _balances[owner()] = _balances[owner()].add(chargeAmount);
                emit TokenChargedFees(sender, chargeAmount, block.timestamp);
            }
        }

        _balances[sender] = senderBalance.sub(amount);
        _balances[recipient] = _balances[recipient].add(transferAmount);

        emit Transfer(sender, recipient, transferAmount);
    }

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

    function setBuyFee(uint256 newBuyFee) external onlyOwner {        
        buyFee = newBuyFee;
    }

    function setSellFee(uint256 newSellFee) external onlyOwner {        
        sellFee = newSellFee;
    }

    function updateWallet(address account, bool status) external onlyOwner {
        whitelist[account] = status;
    }

    function getTotalChargedFees() public view returns (uint256) {
        return totalChargedFees;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokensymbol","type":"string"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"address","name":"_uniswapRouter","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokenChargedFees","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":[{"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":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getTotalChargedFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newBuyFee","type":"uint256"}],"name":"setBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSellFee","type":"uint256"}],"name":"setSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalChargedFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"updateWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60c06040526008805460ff191660121790553480156200001d575f80fd5b5060405162001684380380620016848339810160408190526200004091620003bf565b6200004b3362000280565b6001805560066200005d8582620004cc565b5060076200006c8482620004cc565b506008546200008d90620000859060ff16600a620006a1565b8390620002cf565b6009819055335f908152600a6020908152604091829020929092556001600160a01b0383166080819052815163c45a015560e01b81529151909263c45a015592600480820193918290030181865afa158015620000ec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001129190620006b1565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000160573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001869190620006b1565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015620001d1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001f79190620006b1565b6001600160a01b031660a0525f600381905560048190553380825260056020526040909120805460ff191660011790556001600160a01b03165f6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6009546040516200026e91815260200190565b60405180910390a350505050620006e7565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f620002dc8284620006cd565b90505b92915050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011262000309575f80fd5b81516001600160401b0380821115620003265762000326620002e5565b604051601f8301601f19908116603f01168101908282118183101715620003515762000351620002e5565b816040528381526020925086838588010111156200036d575f80fd5b5f91505b8382101562000390578582018301518183018401529082019062000371565b5f93810190920192909252949350505050565b80516001600160a01b0381168114620003ba575f80fd5b919050565b5f805f8060808587031215620003d3575f80fd5b84516001600160401b0380821115620003ea575f80fd5b620003f888838901620002f9565b955060208701519150808211156200040e575f80fd5b506200041d87828801620002f9565b935050604085015191506200043560608601620003a3565b905092959194509250565b600181811c908216806200045557607f821691505b6020821081036200047457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620004c7575f81815260208120601f850160051c81016020861015620004a25750805b601f850160051c820191505b81811015620004c357828155600101620004ae565b5050505b505050565b81516001600160401b03811115620004e857620004e8620002e5565b6200050081620004f9845462000440565b846200047a565b602080601f83116001811462000536575f84156200051e5750858301515b5f19600386901b1c1916600185901b178555620004c3565b5f85815260208120601f198616915b82811015620005665788860151825594840194600190910190840162000545565b50858210156200058457878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115620005e857815f1904821115620005cc57620005cc62000594565b80851615620005da57918102915b93841c9390800290620005ad565b509250929050565b5f826200060057506001620002df565b816200060e57505f620002df565b8160018114620006275760028114620006325762000652565b6001915050620002df565b60ff84111562000646576200064662000594565b50506001821b620002df565b5060208310610133831016604e8410600b841016171562000677575081810a620002df565b620006838383620005a8565b805f190482111562000699576200069962000594565b029392505050565b5f620002dc60ff841683620005f0565b5f60208284031215620006c2575f80fd5b620002dc82620003a3565b8082028115828204841417620002df57620002df62000594565b60805160a051610f776200070d5f395f8181610a5c0152610aca01525f5050610f775ff3fe608060405234801561000f575f80fd5b506004361061013d575f3560e01c8063715018a6116100b457806395d89b411161007957806395d89b41146102775780639b19251a1461027f578063a457c2d7146102a1578063a9059cbb146102b4578063dd62ed3e146102c7578063f2fde38b146102ff575f80fd5b8063715018a61461022657806381fd69e21461022e5780638a11f1e0146102415780638b4cee081461024a5780638da5cb5b1461025d575f80fd5b806323b872dd1161010557806323b872dd146101b15780632b14ca56146101c4578063313ce567146101cd57806339509351146101e257806347062402146101f557806370a08231146101fe575f80fd5b806306fdde0314610141578063074f1c831461015f578063095ea7b3146101715780630cc835a31461019457806318160ddd146101a9575b5f80fd5b610149610312565b6040516101569190610d21565b60405180910390f35b6002545b604051908152602001610156565b61018461017f366004610d87565b6103a2565b6040519015158152602001610156565b6101a76101a2366004610daf565b6103b8565b005b600954610163565b6101846101bf366004610dc6565b6103c5565b61016360045481565b60085460405160ff9091168152602001610156565b6101846101f0366004610d87565b610485565b61016360035481565b61016361020c366004610dff565b6001600160a01b03165f908152600a602052604090205490565b6101a76104ba565b6101a761023c366004610e18565b6104cd565b61016360025481565b6101a7610258366004610daf565b6104ff565b5f546040516001600160a01b039091168152602001610156565b61014961050c565b61018461028d366004610dff565b60056020525f908152604090205460ff1681565b6101846102af366004610d87565b61051b565b6101846102c2366004610d87565b6105b5565b6101636102d5366004610e51565b6001600160a01b039182165f908152600b6020908152604080832093909416825291909152205490565b6101a761030d366004610dff565b6105d5565b60606006805461032190610e82565b80601f016020809104026020016040519081016040528092919081815260200182805461034d90610e82565b80156103985780601f1061036f57610100808354040283529160200191610398565b820191905f5260205f20905b81548152906001019060200180831161037b57829003601f168201915b5050505050905090565b5f6103ae33848461064e565b5060015b92915050565b6103c0610771565b600355565b5f6103ce6107ca565b6103d9848484610823565b6001600160a01b0384165f908152600b60209081526040808320338452909152902054828110156104625760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61047685336104718487610ca6565b61064e565b505060018080555b9392505050565b335f818152600b602090815260408083206001600160a01b038716845290915281205490916103ae9185906104719086610cb1565b6104c2610771565b6104cb5f610cbc565b565b6104d5610771565b6001600160a01b03919091165f908152600560205260409020805460ff1916911515919091179055565b610507610771565b600455565b60606007805461032190610e82565b335f908152600b602090815260408083206001600160a01b03861684529091528120548281101561059c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610459565b6105ab33856104718487610ca6565b5060019392505050565b5f6105be6107ca565b6105c9338484610823565b5060016103b260018055565b6105dd610771565b6001600160a01b0381166106425760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610459565b61064b81610cbc565b50565b6001600160a01b0383166106b05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610459565b6001600160a01b0382166107115760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610459565b6001600160a01b038381165f818152600b602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f546001600160a01b031633146104cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610459565b60026001540361081c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610459565b6002600155565b6001600160a01b0383166108875760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610459565b6001600160a01b0382166108e95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610459565b5f811161094a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610459565b6040516370a0823160e01b81526001600160a01b03841660048201525f9030906370a0823190602401602060405180830381865afa15801561098e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b29190610eba565b905081811015610a135760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610459565b6001600160a01b0384165f90815260056020526040812054839060ff16158015610a5557506001600160a01b0385165f9081526005602052604090205460ff16155b15610c0b577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b0316148015610a9c57505f600354115b15610ac857610ac16064610abb60035487610d0b90919063ffffffff16565b90610d16565b9150610b2d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b0316148015610b0a57505f600454115b15610b2957610ac16064610abb60045487610d0b90919063ffffffff16565b5f91505b8115610c0b57610b3d8183610ca6565b600254909150610b4d9083610cb1565b600255610b8782600a5f610b685f546001600160a01b031690565b6001600160a01b0316815260208101919091526040015f205490610cb1565b600a5f610b9b5f546001600160a01b031690565b6001600160a01b03166001600160a01b031681526020019081526020015f2081905550856001600160a01b03167fb8ba7fd7137a43792efd27dfe74ba6b8c3d215a6091f42d74f98f5514846a87c8342604051610c02929190918252602082015260400190565b60405180910390a25b610c158385610ca6565b6001600160a01b038088165f908152600a60205260408082209390935590871681522054610c439082610cb1565b6001600160a01b038087165f818152600a602052604090819020939093559151908816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610c969085815260200190565b60405180910390a3505050505050565b5f61047e8284610ee5565b5f61047e8284610ef8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f61047e8284610f0b565b5f61047e8284610f22565b5f6020808352835180828501525f5b81811015610d4c57858101830151858201604001528201610d30565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610d82575f80fd5b919050565b5f8060408385031215610d98575f80fd5b610da183610d6c565b946020939093013593505050565b5f60208284031215610dbf575f80fd5b5035919050565b5f805f60608486031215610dd8575f80fd5b610de184610d6c565b9250610def60208501610d6c565b9150604084013590509250925092565b5f60208284031215610e0f575f80fd5b61047e82610d6c565b5f8060408385031215610e29575f80fd5b610e3283610d6c565b915060208301358015158114610e46575f80fd5b809150509250929050565b5f8060408385031215610e62575f80fd5b610e6b83610d6c565b9150610e7960208401610d6c565b90509250929050565b600181811c90821680610e9657607f821691505b602082108103610eb457634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610eca575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156103b2576103b2610ed1565b808201808211156103b2576103b2610ed1565b80820281158282048414176103b2576103b2610ed1565b5f82610f3c57634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220296de75059ff0e794709649bb334aa5713f440675aa265ac5ce744513a3a81bd64736f6c63430008140033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000012a05f2000000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000000000000000000000000000000000000000000044275677300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000542756e6e79000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561000f575f80fd5b506004361061013d575f3560e01c8063715018a6116100b457806395d89b411161007957806395d89b41146102775780639b19251a1461027f578063a457c2d7146102a1578063a9059cbb146102b4578063dd62ed3e146102c7578063f2fde38b146102ff575f80fd5b8063715018a61461022657806381fd69e21461022e5780638a11f1e0146102415780638b4cee081461024a5780638da5cb5b1461025d575f80fd5b806323b872dd1161010557806323b872dd146101b15780632b14ca56146101c4578063313ce567146101cd57806339509351146101e257806347062402146101f557806370a08231146101fe575f80fd5b806306fdde0314610141578063074f1c831461015f578063095ea7b3146101715780630cc835a31461019457806318160ddd146101a9575b5f80fd5b610149610312565b6040516101569190610d21565b60405180910390f35b6002545b604051908152602001610156565b61018461017f366004610d87565b6103a2565b6040519015158152602001610156565b6101a76101a2366004610daf565b6103b8565b005b600954610163565b6101846101bf366004610dc6565b6103c5565b61016360045481565b60085460405160ff9091168152602001610156565b6101846101f0366004610d87565b610485565b61016360035481565b61016361020c366004610dff565b6001600160a01b03165f908152600a602052604090205490565b6101a76104ba565b6101a761023c366004610e18565b6104cd565b61016360025481565b6101a7610258366004610daf565b6104ff565b5f546040516001600160a01b039091168152602001610156565b61014961050c565b61018461028d366004610dff565b60056020525f908152604090205460ff1681565b6101846102af366004610d87565b61051b565b6101846102c2366004610d87565b6105b5565b6101636102d5366004610e51565b6001600160a01b039182165f908152600b6020908152604080832093909416825291909152205490565b6101a761030d366004610dff565b6105d5565b60606006805461032190610e82565b80601f016020809104026020016040519081016040528092919081815260200182805461034d90610e82565b80156103985780601f1061036f57610100808354040283529160200191610398565b820191905f5260205f20905b81548152906001019060200180831161037b57829003601f168201915b5050505050905090565b5f6103ae33848461064e565b5060015b92915050565b6103c0610771565b600355565b5f6103ce6107ca565b6103d9848484610823565b6001600160a01b0384165f908152600b60209081526040808320338452909152902054828110156104625760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61047685336104718487610ca6565b61064e565b505060018080555b9392505050565b335f818152600b602090815260408083206001600160a01b038716845290915281205490916103ae9185906104719086610cb1565b6104c2610771565b6104cb5f610cbc565b565b6104d5610771565b6001600160a01b03919091165f908152600560205260409020805460ff1916911515919091179055565b610507610771565b600455565b60606007805461032190610e82565b335f908152600b602090815260408083206001600160a01b03861684529091528120548281101561059c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610459565b6105ab33856104718487610ca6565b5060019392505050565b5f6105be6107ca565b6105c9338484610823565b5060016103b260018055565b6105dd610771565b6001600160a01b0381166106425760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610459565b61064b81610cbc565b50565b6001600160a01b0383166106b05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610459565b6001600160a01b0382166107115760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610459565b6001600160a01b038381165f818152600b602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f546001600160a01b031633146104cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610459565b60026001540361081c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610459565b6002600155565b6001600160a01b0383166108875760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610459565b6001600160a01b0382166108e95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610459565b5f811161094a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610459565b6040516370a0823160e01b81526001600160a01b03841660048201525f9030906370a0823190602401602060405180830381865afa15801561098e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b29190610eba565b905081811015610a135760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610459565b6001600160a01b0384165f90815260056020526040812054839060ff16158015610a5557506001600160a01b0385165f9081526005602052604090205460ff16155b15610c0b577f0000000000000000000000004ed105a820a6db9d8c0797e54dc3566a58f29e036001600160a01b0316866001600160a01b0316148015610a9c57505f600354115b15610ac857610ac16064610abb60035487610d0b90919063ffffffff16565b90610d16565b9150610b2d565b7f0000000000000000000000004ed105a820a6db9d8c0797e54dc3566a58f29e036001600160a01b0316856001600160a01b0316148015610b0a57505f600454115b15610b2957610ac16064610abb60045487610d0b90919063ffffffff16565b5f91505b8115610c0b57610b3d8183610ca6565b600254909150610b4d9083610cb1565b600255610b8782600a5f610b685f546001600160a01b031690565b6001600160a01b0316815260208101919091526040015f205490610cb1565b600a5f610b9b5f546001600160a01b031690565b6001600160a01b03166001600160a01b031681526020019081526020015f2081905550856001600160a01b03167fb8ba7fd7137a43792efd27dfe74ba6b8c3d215a6091f42d74f98f5514846a87c8342604051610c02929190918252602082015260400190565b60405180910390a25b610c158385610ca6565b6001600160a01b038088165f908152600a60205260408082209390935590871681522054610c439082610cb1565b6001600160a01b038087165f818152600a602052604090819020939093559151908816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610c969085815260200190565b60405180910390a3505050505050565b5f61047e8284610ee5565b5f61047e8284610ef8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f61047e8284610f0b565b5f61047e8284610f22565b5f6020808352835180828501525f5b81811015610d4c57858101830151858201604001528201610d30565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610d82575f80fd5b919050565b5f8060408385031215610d98575f80fd5b610da183610d6c565b946020939093013593505050565b5f60208284031215610dbf575f80fd5b5035919050565b5f805f60608486031215610dd8575f80fd5b610de184610d6c565b9250610def60208501610d6c565b9150604084013590509250925092565b5f60208284031215610e0f575f80fd5b61047e82610d6c565b5f8060408385031215610e29575f80fd5b610e3283610d6c565b915060208301358015158114610e46575f80fd5b809150509250929050565b5f8060408385031215610e62575f80fd5b610e6b83610d6c565b9150610e7960208401610d6c565b90509250929050565b600181811c90821680610e9657607f821691505b602082108103610eb457634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610eca575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156103b2576103b2610ed1565b808201808211156103b2576103b2610ed1565b80820281158282048414176103b2576103b2610ed1565b5f82610f3c57634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220296de75059ff0e794709649bb334aa5713f440675aa265ac5ce744513a3a81bd64736f6c63430008140033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000012a05f2000000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000000000000000000000000000000000000000000044275677300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000542756e6e79000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _tokenName (string): Bugs
Arg [1] : _tokensymbol (string): Bunny
Arg [2] : initialSupply (uint256): 5000000000
Arg [3] : _uniswapRouter (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000000000000000000000000000000000012a05f200
Arg [3] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 4275677300000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 42756e6e79000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

23157:5896:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24534:85;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28947:103;29026:16;;28947:103;;;713:25:1;;;701:2;686:18;28947:103:0;567:177:1;25831:163:0;;;;;;:::i;:::-;;:::i;:::-;;;1351:14:1;;1344:22;1326:41;;1314:2;1299:18;25831:163:0;1186:187:1;28598:102:0;;;;;;:::i;:::-;;:::i;:::-;;24817;24899:12;;24817:102;;25244:426;;;;;;:::i;:::-;;:::i;23434:22::-;;;;;;24724:85;24792:9;;24724:85;;24792:9;;;;2038:36:1;;2026:2;2011:18;24724:85:0;1896:184:1;26002:210:0;;;;;;:::i;:::-;;:::i;23406:21::-;;;;;;24927:121;;;;;;:::i;:::-;-1:-1:-1;;;;;25022:18:0;24995:7;25022:18;;;:9;:18;;;;;;;24927:121;18661:103;;;:::i;28822:117::-;;;;;;:::i;:::-;;:::i;23366:31::-;;;;;;28708:106;;;;;;:::i;:::-;;:::i;18013:87::-;18059:7;18086:6;18013:87;;-1:-1:-1;;;;;18086:6:0;;;2774:51:1;;2762:2;2747:18;18013:87:0;2628:203:1;24627:89:0;;;:::i;23463:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;26220:378;;;;;;:::i;:::-;;:::i;25056:180::-;;;;;;:::i;:::-;;:::i;25678:145::-;;;;;;:::i;:::-;-1:-1:-1;;;;;25788:18:0;;;25761:7;25788:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;25678:145;18919:201;;;;;;:::i;:::-;;:::i;24534:85::-;24573:13;24606:5;24599:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24534:85;:::o;25831:163::-;25908:4;25925:39;16644:10;25948:7;25957:6;25925:8;:39::i;:::-;-1:-1:-1;25982:4:0;25831:163;;;;;:::o;28598:102::-;17899:13;:11;:13::i;:::-;28674:6:::1;:18:::0;28598:102::o;25244:426::-;25355:4;15284:21;:19;:21::i;:::-;25372:36:::1;25382:6;25390:9;25401:6;25372:9;:36::i;:::-;-1:-1:-1::0;;;;;25446:19:0;::::1;25419:24;25446:19:::0;;;:11:::1;:19;::::0;;;;;;;16644:10;25446:33;;;;;;;;25498:26;;::::1;;25490:79;;;::::0;-1:-1:-1;;;25490:79:0;;3688:2:1;25490:79:0::1;::::0;::::1;3670:21:1::0;3727:2;3707:18;;;3700:30;3766:34;3746:18;;;3739:62;-1:-1:-1;;;3817:18:1;;;3810:38;3865:19;;25490:79:0::1;;;;;;;;;25580:60;25589:6:::0;16644:10;25611:28:::1;:16:::0;25632:6;25611:20:::1;:28::i;:::-;25580:8;:60::i;:::-;-1:-1:-1::0;;25658:4:0::1;15848:22:::0;;;15328:20;25244:426;;;;;:::o;26002:210::-;16644:10;26090:4;26135:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;26135:34:0;;;;;;;;;;26090:4;;26103:83;;26126:7;;26135:50;;26174:10;26135:38;:50::i;18661:103::-;17899:13;:11;:13::i;:::-;18726:30:::1;18753:1;18726:18;:30::i;:::-;18661:103::o:0;28822:117::-;17899:13;:11;:13::i;:::-;-1:-1:-1;;;;;28904:18:0;;;::::1;;::::0;;;:9:::1;:18;::::0;;;;:27;;-1:-1:-1;;28904:27:0::1;::::0;::::1;;::::0;;;::::1;::::0;;28822:117::o;28708:106::-;17899:13;:11;:13::i;:::-;28786:7:::1;:20:::0;28708:106::o;24627:89::-;24668:13;24701:7;24694:14;;;;;:::i;26220:378::-;16644:10;26313:4;26357:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;26357:34:0;;;;;;;;;;26410:35;;;;26402:85;;;;-1:-1:-1;;;26402:85:0;;4097:2:1;26402:85:0;;;4079:21:1;4136:2;4116:18;;;4109:30;4175:34;4155:18;;;4148:62;-1:-1:-1;;;4226:18:1;;;4219:35;4271:19;;26402:85:0;3895:401:1;26402:85:0;26498:70;16644:10;26521:7;26530:37;:16;26551:15;26530:20;:37::i;26498:70::-;-1:-1:-1;26586:4:0;;26220:378;-1:-1:-1;;;26220:378:0:o;25056:180::-;25147:4;15284:21;:19;:21::i;:::-;25164:42:::1;16644:10:::0;25188:9:::1;25199:6;25164:9;:42::i;:::-;-1:-1:-1::0;25224:4:0::1;15328:20:::0;14722:1;15848:22;;15665:213;18919:201;17899:13;:11;:13::i;:::-;-1:-1:-1;;;;;19008:22:0;::::1;19000:73;;;::::0;-1:-1:-1;;;19000:73:0;;4503:2:1;19000:73:0::1;::::0;::::1;4485:21:1::0;4542:2;4522:18;;;4515:30;4581:34;4561:18;;;4554:62;-1:-1:-1;;;4632:18:1;;;4625:36;4678:19;;19000:73:0::1;4301:402:1::0;19000:73:0::1;19084:28;19103:8;19084:18;:28::i;:::-;18919:201:::0;:::o;28244:346::-;-1:-1:-1;;;;;28346:19:0;;28338:68;;;;-1:-1:-1;;;28338:68:0;;4910:2:1;28338:68:0;;;4892:21:1;4949:2;4929:18;;;4922:30;4988:34;4968:18;;;4961:62;-1:-1:-1;;;5039:18:1;;;5032:34;5083:19;;28338:68:0;4708:400:1;28338:68:0;-1:-1:-1;;;;;28425:21:0;;28417:68;;;;-1:-1:-1;;;28417:68:0;;5315:2:1;28417:68:0;;;5297:21:1;5354:2;5334:18;;;5327:30;5393:34;5373:18;;;5366:62;-1:-1:-1;;;5444:18:1;;;5437:32;5486:19;;28417:68:0;5113:398:1;28417:68:0;-1:-1:-1;;;;;28498:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;28550:32;;713:25:1;;;28550:32:0;;686:18:1;28550:32:0;;;;;;;28244:346;;;:::o;18178:132::-;18059:7;18086:6;-1:-1:-1;;;;;18086:6:0;16644:10;18242:23;18234:68;;;;-1:-1:-1;;;18234:68:0;;5718:2:1;18234:68:0;;;5700:21:1;;;5737:18;;;5730:30;5796:34;5776:18;;;5769:62;5848:18;;18234:68:0;5516:356:1;15364:293:0;14766:1;15498:7;;:19;15490:63;;;;-1:-1:-1;;;15490:63:0;;6079:2:1;15490:63:0;;;6061:21:1;6118:2;6098:18;;;6091:30;6157:33;6137:18;;;6130:61;6208:18;;15490:63:0;5877:355:1;15490:63:0;14766:1;15631:7;:18;15364:293::o;26606:1630::-;-1:-1:-1;;;;;26704:20:0;;26696:70;;;;-1:-1:-1;;;26696:70:0;;6439:2:1;26696:70:0;;;6421:21:1;6478:2;6458:18;;;6451:30;6517:34;6497:18;;;6490:62;-1:-1:-1;;;6568:18:1;;;6561:35;6613:19;;26696:70:0;6237:401:1;26696:70:0;-1:-1:-1;;;;;26785:23:0;;26777:71;;;;-1:-1:-1;;;26777:71:0;;6845:2:1;26777:71:0;;;6827:21:1;6884:2;6864:18;;;6857:30;6923:34;6903:18;;;6896:62;-1:-1:-1;;;6974:18:1;;;6967:33;7017:19;;26777:71:0;6643:399:1;26777:71:0;26876:1;26867:6;:10;26859:64;;;;-1:-1:-1;;;26859:64:0;;7249:2:1;26859:64:0;;;7231:21:1;7288:2;7268:18;;;7261:30;7327:34;7307:18;;;7300:62;-1:-1:-1;;;7378:18:1;;;7371:39;7427:19;;26859:64:0;7047:405:1;26859:64:0;26960:22;;-1:-1:-1;;;26960:22:0;;-1:-1:-1;;;;;2792:32:1;;26960:22:0;;;2774:51:1;26936:21:0;;26960:4;;:14;;2747:18:1;;26960:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;26936:46;;27018:6;27001:13;:23;;26993:74;;;;-1:-1:-1;;;26993:74:0;;7848:2:1;26993:74:0;;;7830:21:1;7887:2;7867:18;;;7860:30;7926:34;7906:18;;;7899:62;-1:-1:-1;;;7977:18:1;;;7970:36;8023:19;;26993:74:0;7646:402:1;26993:74:0;-1:-1:-1;;;;;27229:17:0;;27080:20;27229:17;;;:9;:17;;;;;;27140:6;;27229:17;;27228:18;:43;;;;-1:-1:-1;;;;;;27251:20:0;;;;;;:9;:20;;;;;;;;27250:21;27228:43;27224:812;;;27322:11;-1:-1:-1;;;;;27312:21:0;:6;-1:-1:-1;;;;;27312:21:0;;:35;;;;;27346:1;27337:6;;:10;27312:35;27308:368;;;27383:27;27406:3;27383:18;27394:6;;27383;:10;;:18;;;;:::i;:::-;:22;;:27::i;:::-;27368:42;;27308:368;;;27470:11;-1:-1:-1;;;;;27457:24:0;:9;-1:-1:-1;;;;;27457:24:0;;:39;;;;;27495:1;27485:7;;:11;27457:39;27453:223;;;27532:28;27556:3;27532:19;27543:7;;27532:6;:10;;:19;;;;:::i;27453:223::-;27659:1;27644:16;;27453:223;27696:16;;27692:333;;27750:32;:14;27769:12;27750:18;:32::i;:::-;27820:16;;27733:49;;-1:-1:-1;27820:34:0;;27841:12;27820:20;:34::i;:::-;27801:16;:53;27894:36;27917:12;27894:9;:18;27904:7;18059;18086:6;-1:-1:-1;;;;;18086:6:0;;18013:87;27904:7;-1:-1:-1;;;;;27894:18:0;;;;;;;;;;;;-1:-1:-1;27894:18:0;;;:22;:36::i;:::-;27873:9;:18;27883:7;18059;18086:6;-1:-1:-1;;;;;18086:6:0;;18013:87;27883:7;-1:-1:-1;;;;;27873:18:0;-1:-1:-1;;;;;27873:18:0;;;;;;;;;;;;:57;;;;27971:6;-1:-1:-1;;;;;27954:55:0;;27979:12;27993:15;27954:55;;;;;;8227:25:1;;;8283:2;8268:18;;8261:34;8215:2;8200:18;;8053:248;27954:55:0;;;;;;;;27692:333;28068:25;:13;28086:6;28068:17;:25::i;:::-;-1:-1:-1;;;;;28048:17:0;;;;;;;:9;:17;;;;;;:45;;;;28127:20;;;;;;;:40;;28152:14;28127:24;:40::i;:::-;-1:-1:-1;;;;;28104:20:0;;;;;;;:9;:20;;;;;;;:63;;;;28185:43;;;;;;;;;;28213:14;713:25:1;;701:2;686:18;;567:177;28185:43:0;;;;;;;;26685:1551;;;26606:1630;;;:::o;9155:98::-;9213:7;9240:5;9244:1;9240;:5;:::i;8774:98::-;8832:7;8859:5;8863:1;8859;:5;:::i;19280:191::-;19354:16;19373:6;;-1:-1:-1;;;;;19390:17:0;;;-1:-1:-1;;;;;;19390:17:0;;;;;;19423:40;;19373:6;;;;;;;19423:40;;19354:16;19423:40;19343:128;19280:191;:::o;9512:98::-;9570:7;9597:5;9601:1;9597;:5;:::i;9911:98::-;9969:7;9996:5;10000:1;9996;:5;:::i;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;749:173::-;817:20;;-1:-1:-1;;;;;866:31:1;;856:42;;846:70;;912:1;909;902:12;846:70;749:173;;;:::o;927:254::-;995:6;1003;1056:2;1044:9;1035:7;1031:23;1027:32;1024:52;;;1072:1;1069;1062:12;1024:52;1095:29;1114:9;1095:29;:::i;:::-;1085:39;1171:2;1156:18;;;;1143:32;;-1:-1:-1;;;927:254:1:o;1378:180::-;1437:6;1490:2;1478:9;1469:7;1465:23;1461:32;1458:52;;;1506:1;1503;1496:12;1458:52;-1:-1:-1;1529:23:1;;1378:180;-1:-1:-1;1378:180:1:o;1563:328::-;1640:6;1648;1656;1709:2;1697:9;1688:7;1684:23;1680:32;1677:52;;;1725:1;1722;1715:12;1677:52;1748:29;1767:9;1748:29;:::i;:::-;1738:39;;1796:38;1830:2;1819:9;1815:18;1796:38;:::i;:::-;1786:48;;1881:2;1870:9;1866:18;1853:32;1843:42;;1563:328;;;;;:::o;2085:186::-;2144:6;2197:2;2185:9;2176:7;2172:23;2168:32;2165:52;;;2213:1;2210;2203:12;2165:52;2236:29;2255:9;2236:29;:::i;2276:347::-;2341:6;2349;2402:2;2390:9;2381:7;2377:23;2373:32;2370:52;;;2418:1;2415;2408:12;2370:52;2441:29;2460:9;2441:29;:::i;:::-;2431:39;;2520:2;2509:9;2505:18;2492:32;2567:5;2560:13;2553:21;2546:5;2543:32;2533:60;;2589:1;2586;2579:12;2533:60;2612:5;2602:15;;;2276:347;;;;;:::o;2836:260::-;2904:6;2912;2965:2;2953:9;2944:7;2940:23;2936:32;2933:52;;;2981:1;2978;2971:12;2933:52;3004:29;3023:9;3004:29;:::i;:::-;2994:39;;3052:38;3086:2;3075:9;3071:18;3052:38;:::i;:::-;3042:48;;2836:260;;;;;:::o;3101:380::-;3180:1;3176:12;;;;3223;;;3244:61;;3298:4;3290:6;3286:17;3276:27;;3244:61;3351:2;3343:6;3340:14;3320:18;3317:38;3314:161;;3397:10;3392:3;3388:20;3385:1;3378:31;3432:4;3429:1;3422:15;3460:4;3457:1;3450:15;3314:161;;3101:380;;;:::o;7457:184::-;7527:6;7580:2;7568:9;7559:7;7555:23;7551:32;7548:52;;;7596:1;7593;7586:12;7548:52;-1:-1:-1;7619:16:1;;7457:184;-1:-1:-1;7457:184:1:o;8306:127::-;8367:10;8362:3;8358:20;8355:1;8348:31;8398:4;8395:1;8388:15;8422:4;8419:1;8412:15;8438:128;8505:9;;;8526:11;;;8523:37;;;8540:18;;:::i;8571:125::-;8636:9;;;8657:10;;;8654:36;;;8670:18;;:::i;8701:168::-;8774:9;;;8805;;8822:15;;;8816:22;;8802:37;8792:71;;8843:18;;:::i;8874:217::-;8914:1;8940;8930:132;;8984:10;8979:3;8975:20;8972:1;8965:31;9019:4;9016:1;9009:15;9047:4;9044:1;9037:15;8930:132;-1:-1:-1;9076:9:1;;8874:217::o

Swarm Source

ipfs://296de75059ff0e794709649bb334aa5713f440675aa265ac5ce744513a3a81bd
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.