Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 6 from a total of 6 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Excluded Fro... | 20787527 | 536 days ago | IN | 0 ETH | 0.00040107 | ||||
| Approve | 20698653 | 549 days ago | IN | 0 ETH | 0.00010253 | ||||
| Approve | 20698609 | 549 days ago | IN | 0 ETH | 0.00010614 | ||||
| Approve | 20698520 | 549 days ago | IN | 0 ETH | 0.00009649 | ||||
| Approve | 20698450 | 549 days ago | IN | 0 ETH | 0.00009909 | ||||
| Approve | 20692178 | 550 days ago | IN | 0 ETH | 0.00128116 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Simba
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity 0.8.26;
import "@openzeppelin/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/access/Ownable.sol";
import "@uniswap-periphery/interfaces/IUniswapV2Router02.sol";
import "@uniswap-core/interfaces/IUniswapV2Factory.sol";
import "./interfaces/IErrors.sol";
import "./interfaces/IEvents.sol";
contract Simba is ERC20Burnable, Ownable, IErrors, IEvents {
uint256 public immutable FEES_MAGNITUDE = 1e6;
uint256 public immutable MAX_FEES = 20e4; // 20%
uint256 public buyLiquidityFee = 1e4; //MAX_BUY_LIQUIDITY_FEE; // 1%
uint256 public buyMarketingFee = 2e4; //MAX_BUY_MARKETING_FEE; // 2%
uint256 public buyTreasuryFee = 1e4; //MAX_BUY_TREASURY_FEE; // 1%
uint256 public buyBurnFee = 1e4; //MAX_BUY_BURN_FEE; // 1%
uint256 public sellLiquidityFee = 1e4; //MAX_SELL_LIQUIDITY_FEE; // 1%
uint256 public sellMarketingFee = 3e4; //MAX_SELL_MARKETING_FEE; // 3%
uint256 public sellTreasuryFee = 1e4; //SELL_TREASURY_FEE; // 1%
uint256 public sellBurnFee;
uint256 public swapTokensAtAmount;
mapping(address => bool) public automatedMarketMakerPairs;
mapping(address => bool) private _isExcludedFromFee;
address public marketingWallet;
address public treasury;
bool private swapping;
IUniswapV2Router02 public uniswapV2Router;
/**
* @dev Modifier to lock the `swap` function during execution to prevent
* multiple deductions of swapping fees.
*/
modifier lockTheSwap() {
swapping = true;
_;
swapping = false;
}
/**
* @dev Receive needed to be able to receive ETH when swapping fees for ETH.
*/
receive() external payable {}
/**
* @dev Transfers the Ownership of contract.
*
*/
constructor(address newOwner, address newMarketingWallet, address newTreasury, address newUniswapV2Router)
ERC20("Simba", "SIMBA")
Ownable(newOwner)
{
if (newOwner == address(0)) revert ZeroAddressNotAllowed();
if (newMarketingWallet == address(0)) revert ZeroAddressNotAllowed();
if (newTreasury == address(0)) revert ZeroAddressNotAllowed();
if (newUniswapV2Router == address(0)) revert ZeroAddressNotAllowed();
_mint(newOwner, 100_000_000 * 10 ** 18); // Total Supply: 100 Million
marketingWallet = newMarketingWallet;
treasury = newTreasury;
uniswapV2Router = IUniswapV2Router02(newUniswapV2Router);
// approve once the uniswapV2Router
_approve(address(this), address(uniswapV2Router), type(uint256).max);
address uniswapV2Pair =
IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());
automatedMarketMakerPairs[uniswapV2Pair] = true;
_isExcludedFromFee[owner()] = true;
_isExcludedFromFee[address(this)] = true;
swapTokensAtAmount = totalSupply() / 1000;
}
/**
* @dev Sets the `marketingWallet`, callable only by the owner.
*
* Emits a {MarketingWalletSet} event.
* Reverts if the provided address is the zero address.
*/
function setMarketingWallet(address payable newMarketingWallet) external onlyOwner {
if (newMarketingWallet == address(0)) revert ZeroAddressNotAllowed();
marketingWallet = newMarketingWallet;
emit MarketingWalletSet(owner(), newMarketingWallet);
}
/**
* @dev Sets the `treasury`, callable only by the owner.
*
* Emits a {TreasurySet} event.
* Reverts if the provided address is the zero address.
*/
function setTreasury(address payable newTreasury) external onlyOwner {
if (newTreasury == address(0)) revert ZeroAddressNotAllowed();
treasury = newTreasury;
emit TreasurySet(owner(), newTreasury);
}
/**
* @dev Sets the contract's fees, callable only by the owner.
* Fees must not exceed the limits.
*
* Emits a {FeesUpdated} event.
* Reverts if the provided fees exceed their limits.
*/
function setFees(
uint256 newBuyLiquidityFee,
uint256 newSellLiquidityFee,
uint256 newBuyMarketingFee,
uint256 newSellMarketingFee,
uint256 newBuyTreasuryFee,
uint256 newSellTreasuryFee,
uint256 newBuyBurnFee,
uint256 newSellBurnFee
) external onlyOwner {
uint256 totalFees = newBuyLiquidityFee + newSellLiquidityFee + newBuyMarketingFee + newSellMarketingFee
+ newBuyTreasuryFee + newSellTreasuryFee + newBuyBurnFee + newSellBurnFee;
if (totalFees > MAX_FEES) revert MaxFeeExceeded();
buyLiquidityFee = newBuyLiquidityFee;
sellLiquidityFee = newSellLiquidityFee;
buyMarketingFee = newBuyMarketingFee;
sellMarketingFee = newSellMarketingFee;
buyTreasuryFee = newBuyTreasuryFee;
sellTreasuryFee = newSellTreasuryFee;
buyBurnFee = newBuyBurnFee;
sellBurnFee = newSellBurnFee;
emit FeesUpdated(
buyLiquidityFee,
sellLiquidityFee,
buyMarketingFee,
sellMarketingFee,
buyTreasuryFee,
sellTreasuryFee,
buyBurnFee
);
}
/**
* @dev Sets `wallet` whether it is excluded from fees or not.
* Callable only by the owner.
*
* Emits a {ExcludedFromFeeSet} event.
* Reverts if the provided address has the same value set.
*/
function setExcludedFromFee(address wallet, bool value) external onlyOwner {
if (_isExcludedFromFee[wallet] == value) revert PairValueAlreadySet(wallet);
_isExcludedFromFee[wallet] = value;
emit ExcludedFromFeeSet(owner(), wallet, value);
}
/**
* @dev Sets whether a given pair is an automated market maker pair or not,
* callable only by the owner.
*
* Emits a {SetAutomatedMarketMakerPair} event.
* Reverts if the provided pair already has the same value set.
*/
function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner {
if (automatedMarketMakerPairs[pair] == value) revert PairValueAlreadySet(pair);
automatedMarketMakerPairs[pair] = value;
emit SetAutomatedMarketMakerPair(pair, value);
}
/**
* @dev The leftover eth from adding liquidity may be send to another address.
* callable only by the owner.
*/
function transferEth(address payable to) external onlyOwner {
to.transfer(address(this).balance);
}
/**
* @dev Internal function to update token balances and handle fees and restrictions on transfers.
*/
function _update(address from, address to, uint256 value) internal override {
if (value == 0 || from == address(0)) {
super._update(from, to, value);
return;
}
bool localSwapping = swapping;
bool canSwap = balanceOf(address(this)) >= swapTokensAtAmount;
if (canSwap && !localSwapping && !automatedMarketMakerPairs[from] && from != owner() && to != owner()) {
swap();
}
bool isBuy = _isBuy(from, to);
bool takeFee =
(isBuy || _isSell(from, to)) && !localSwapping && !_isExcludedFromFee[from] && !_isExcludedFromFee[to];
if (takeFee) {
uint256 fees;
uint256 burnFee;
if (isBuy) {
fees = (value * (buyLiquidityFee + buyMarketingFee + buyTreasuryFee)) / FEES_MAGNITUDE;
burnFee = (value * buyBurnFee) / FEES_MAGNITUDE;
} else {
fees = (value * (sellLiquidityFee + sellMarketingFee + sellTreasuryFee)) / FEES_MAGNITUDE;
burnFee = (value * sellBurnFee) / FEES_MAGNITUDE;
}
super._update(from, address(this), fees);
if (burnFee > 0) super._burn(from, burnFee);
value = value - fees - burnFee;
}
super._update(from, to, value);
}
/**
* @dev Checks if a transaction represents a buy.
* A buy occurs when the sender is a liquidity pool and the recipient is not.
*/
function _isBuy(address from, address to) internal view returns (bool) {
return automatedMarketMakerPairs[from] && !automatedMarketMakerPairs[to];
}
/**
* @dev Checks if a transaction represents a sell.
* A sell occurs when the sender is not a liquidity pool and the recipient is.
*/
function _isSell(address from, address to) internal view returns (bool) {
return !automatedMarketMakerPairs[from] && automatedMarketMakerPairs[to];
}
/**
* @dev Executes the swap of tokens for ETH, distributing fees between team and liquidity.
*/
function swap() internal lockTheSwap {
uint256 localFees =
buyLiquidityFee + buyMarketingFee + buyTreasuryFee + sellLiquidityFee + sellMarketingFee + sellTreasuryFee;
uint256 tokensForLiquidity = swapTokensAtAmount;
if (localFees > 0) {
uint256 tokensForMarketing = swapTokensAtAmount * (buyMarketingFee + sellMarketingFee) / localFees;
uint256 tokensForTreasury = swapTokensAtAmount * (buyTreasuryFee + sellTreasuryFee) / localFees;
swapTokensForEth(tokensForMarketing, marketingWallet);
swapTokensForEth(tokensForTreasury, treasury);
tokensForLiquidity = tokensForLiquidity - tokensForMarketing - tokensForTreasury;
}
uint256 half = tokensForLiquidity / 2;
uint256 otherHalf = tokensForLiquidity - half;
uint256 initialBalance = address(this).balance;
swapTokensForEth(half, address(this));
uint256 newBalance = address(this).balance - initialBalance;
liquify(otherHalf, newBalance);
}
/**
* @dev Uses the amount of tokens and eth balance, to add liquidity to the pool.
*
* Emits a {LiquidityAdded} event.
*/
function liquify(uint256 tokens, uint256 eth) internal {
addLiquidity(tokens, eth);
emit LiquidityAdded(tokens, eth);
}
/**
* @dev Swaps a specified amount of tokens for ETH using the Uniswap router.
*
* Emits a {SwapTokensForEthFailed} event.
*/
function swapTokensForEth(uint256 tokenAmount, address to) internal {
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = uniswapV2Router.WETH();
try uniswapV2Router.swapExactTokensForETH(tokenAmount, 0, path, to, block.timestamp) {}
catch {
emit SwapTokensForEthFailed(tokenAmount);
}
}
/**
* @dev Adds liquidity to the Uniswap pool by providing both tokens and ETH.
*/
function addLiquidity(uint256 tokenAmount, uint256 ethAmount) internal {
uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this), tokenAmount, 0, 0, owner(), block.timestamp);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)
pragma solidity ^0.8.20;
import {ERC20} from "../ERC20.sol";
import {Context} from "../../../utils/Context.sol";
/**
* @dev Extension of {ERC20} that allows token holders to destroy both their own
* tokens and those that they have an allowance for, in a way that can be
* recognized off-chain (via event analysis).
*/
abstract contract ERC20Burnable is Context, ERC20 {
/**
* @dev Destroys a `value` amount of tokens from the caller.
*
* See {ERC20-_burn}.
*/
function burn(uint256 value) public virtual {
_burn(_msgSender(), value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, deducting from
* the caller's allowance.
*
* See {ERC20-_burn} and {ERC20-allowance}.
*
* Requirements:
*
* - the caller must have allowance for ``accounts``'s tokens of at least
* `value`.
*/
function burnFrom(address account, uint256 value) public virtual {
_spendAllowance(account, _msgSender(), value);
_burn(account, value);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../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.
*
* The initial owner is set to the address provided by the deployer. 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;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @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 {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @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 {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_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);
}
}pragma solidity >=0.6.2;
import './IUniswapV2Router01.sol';
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;
}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;
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.26;
interface IErrors {
/**
* @dev Error thrown when the provided address is equal to the zero address.
*/
error ZeroAddressNotAllowed();
/**
* @dev Error thrown when the value for a pair is already set to the desired value.
*/
error PairValueAlreadySet(address pair);
/**
* @dev Error thrown when the provided fees exceed the maximum allowed value.
*/
error MaxFeeExceeded();
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.26;
interface IEvents {
/**
* @dev Emits an event when the owner sets the marketing wallet address.
*/
event MarketingWalletSet(address indexed owner, address indexed newMarketingWallet);
/**
* @dev Emits an event when the owner sets the treasury address.
*/
event TreasurySet(address indexed owner, address indexed newTreasury);
/**
* @dev Emits an event when the owner sets the fees.
*/
event FeesUpdated(
uint256 newBuyLiquidityFee,
uint256 newSellLiquidityFee,
uint256 newBuyMarketingFee,
uint256 newSellMarketingFee,
uint256 newBuyTreasuryFee,
uint256 newSellTreasuryFee,
uint256 newBuyBurnFee
);
/**
* @dev Emits an event when an automated market maker pair is set or updated.
*/
event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
/**
* @dev Emits an event when the owner sets whether an address is excluded from fees or not.
*/
event ExcludedFromFeeSet(address indexed owner, address indexed wallet, bool indexed value);
/**
* @dev Emits an event when an attempt to swap tokens for Ether fails.
*/
event SwapTokensForEthFailed(uint256 amount);
/**
* @dev Emits an event when liquidity is added to the pool.
*/
event LiquidityAdded(uint256 ethReceived, uint256 tokensIntoLiqudity);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.
*
* 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.
*/
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
mapping(address account => uint256) private _balances;
mapping(address account => mapping(address spender => 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 returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual 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 returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual 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 `value`.
*/
function transfer(address to, uint256 value) public virtual returns (bool) {
address owner = _msgSender();
_transfer(owner, to, value);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `value` 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 value) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, value);
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 `value`.
* - the caller must have allowance for ``from``'s tokens of at least
* `value`.
*/
function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, value);
_transfer(from, to, value);
return true;
}
/**
* @dev Moves a `value` 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.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _transfer(address from, address to, uint256 value) internal {
if (from == address(0)) {
revert ERC20InvalidSender(address(0));
}
if (to == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(from, to, value);
}
/**
* @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
* (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
* this function.
*
* Emits a {Transfer} event.
*/
function _update(address from, address to, uint256 value) internal virtual {
if (from == address(0)) {
// Overflow check required: The rest of the code assumes that totalSupply never overflows
_totalSupply += value;
} else {
uint256 fromBalance = _balances[from];
if (fromBalance < value) {
revert ERC20InsufficientBalance(from, fromBalance, value);
}
unchecked {
// Overflow not possible: value <= fromBalance <= totalSupply.
_balances[from] = fromBalance - value;
}
}
if (to == address(0)) {
unchecked {
// Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
_totalSupply -= value;
}
} else {
unchecked {
// Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
_balances[to] += value;
}
}
emit Transfer(from, to, value);
}
/**
* @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
* Relies on the `_update` mechanism
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead.
*/
function _mint(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidReceiver(address(0));
}
_update(address(0), account, value);
}
/**
* @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
* Relies on the `_update` mechanism.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* NOTE: This function is not virtual, {_update} should be overridden instead
*/
function _burn(address account, uint256 value) internal {
if (account == address(0)) {
revert ERC20InvalidSender(address(0));
}
_update(account, address(0), value);
}
/**
* @dev Sets `value` 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.
*
* Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
*/
function _approve(address owner, address spender, uint256 value) internal {
_approve(owner, spender, value, true);
}
/**
* @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
*
* By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
* `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
* `Approval` event during `transferFrom` operations.
*
* Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
* true using the following override:
* ```
* function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
* super._approve(owner, spender, value, true);
* }
* ```
*
* Requirements are the same as {_approve}.
*/
function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
if (owner == address(0)) {
revert ERC20InvalidApprover(address(0));
}
if (spender == address(0)) {
revert ERC20InvalidSpender(address(0));
}
_allowances[owner][spender] = value;
if (emitEvent) {
emit Approval(owner, spender, value);
}
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `value`.
*
* Does not update the allowance value in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Does not emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
if (currentAllowance < value) {
revert ERC20InsufficientAllowance(spender, currentAllowance, value);
}
unchecked {
_approve(owner, spender, currentAllowance - value, false);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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;
}
}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);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @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 value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` 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 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*/
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);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;
/**
* @dev Standard ERC20 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
*/
interface IERC20Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC20InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC20InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
* @param spender Address that may be allowed to operate on tokens without being their owner.
* @param allowance Amount of tokens a `spender` is allowed to operate with.
* @param needed Minimum amount required to perform a transfer.
*/
error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC20InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `spender` to be approved. Used in approvals.
* @param spender Address that may be allowed to operate on tokens without being their owner.
*/
error ERC20InvalidSpender(address spender);
}
/**
* @dev Standard ERC721 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
*/
interface IERC721Errors {
/**
* @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
* Used in balance queries.
* @param owner Address of the current owner of a token.
*/
error ERC721InvalidOwner(address owner);
/**
* @dev Indicates a `tokenId` whose `owner` is the zero address.
* @param tokenId Identifier number of a token.
*/
error ERC721NonexistentToken(uint256 tokenId);
/**
* @dev Indicates an error related to the ownership over a particular token. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param tokenId Identifier number of a token.
* @param owner Address of the current owner of a token.
*/
error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC721InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC721InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param tokenId Identifier number of a token.
*/
error ERC721InsufficientApproval(address operator, uint256 tokenId);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC721InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC721InvalidOperator(address operator);
}
/**
* @dev Standard ERC1155 Errors
* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
*/
interface IERC1155Errors {
/**
* @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
* @param balance Current balance for the interacting account.
* @param needed Minimum amount required to perform a transfer.
* @param tokenId Identifier number of a token.
*/
error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);
/**
* @dev Indicates a failure with the token `sender`. Used in transfers.
* @param sender Address whose tokens are being transferred.
*/
error ERC1155InvalidSender(address sender);
/**
* @dev Indicates a failure with the token `receiver`. Used in transfers.
* @param receiver Address to which tokens are being transferred.
*/
error ERC1155InvalidReceiver(address receiver);
/**
* @dev Indicates a failure with the `operator`’s approval. Used in transfers.
* @param operator Address that may be allowed to operate on tokens without being their owner.
* @param owner Address of the current owner of a token.
*/
error ERC1155MissingApprovalForAll(address operator, address owner);
/**
* @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
* @param approver Address initiating an approval operation.
*/
error ERC1155InvalidApprover(address approver);
/**
* @dev Indicates a failure with the `operator` to be approved. Used in approvals.
* @param operator Address that may be allowed to operate on tokens without being their owner.
*/
error ERC1155InvalidOperator(address operator);
/**
* @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
* Used in batch transfers.
* @param idsLength Length of the array of token identifiers
* @param valuesLength Length of the array of token amounts
*/
error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}{
"remappings": [
"forge-std/=lib/forge-std/src/",
"@openzeppelin/=lib/openzeppelin-contracts/contracts/",
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"@uniswap-periphery/=lib/v2-periphery/contracts/",
"@uniswap-core/=lib/v2-core/contracts/",
"@uniswap/v2-core/=lib/v2-core/",
"ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"v2-core/=lib/v2-core/contracts/",
"v2-periphery/=lib/v2-periphery/contracts/"
],
"optimizer": {
"enabled": true,
"runs": 200
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "paris",
"viaIR": false,
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"newOwner","type":"address"},{"internalType":"address","name":"newMarketingWallet","type":"address"},{"internalType":"address","name":"newTreasury","type":"address"},{"internalType":"address","name":"newUniswapV2Router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"MaxFeeExceeded","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"PairValueAlreadySet","type":"error"},{"inputs":[],"name":"ZeroAddressNotAllowed","type":"error"},{"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":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"wallet","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"ExcludedFromFeeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newBuyLiquidityFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newSellLiquidityFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBuyMarketingFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newSellMarketingFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBuyTreasuryFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newSellTreasuryFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBuyBurnFee","type":"uint256"}],"name":"FeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"LiquidityAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"MarketingWalletSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SwapTokensForEthFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"newTreasury","type":"address"}],"name":"TreasurySet","type":"event"},{"inputs":[],"name":"FEES_MAGNITUDE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyBurnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellBurnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setExcludedFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newBuyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"newSellLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"newBuyMarketingFee","type":"uint256"},{"internalType":"uint256","name":"newSellMarketingFee","type":"uint256"},{"internalType":"uint256","name":"newBuyTreasuryFee","type":"uint256"},{"internalType":"uint256","name":"newSellTreasuryFee","type":"uint256"},{"internalType":"uint256","name":"newBuyBurnFee","type":"uint256"},{"internalType":"uint256","name":"newSellBurnFee","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newMarketingWallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newTreasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"}],"name":"transferEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60c0604052620f424060805262030d4060a0526127106006819055614e2060075560088190556009819055600a819055617530600b55600c5534801561004457600080fd5b50604051612cd6380380612cd683398101604081905261006391610daa565b836040518060400160405280600581526020016453696d626160d81b8152506040518060400160405280600581526020016453494d424160d81b81525081600390816100af9190610e95565b5060046100bc8282610e95565b5050506001600160a01b0381166100ee57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6100f7816103f9565b506001600160a01b03841661011f576040516342bcdf7f60e11b815260040160405180910390fd5b6001600160a01b038316610146576040516342bcdf7f60e11b815260040160405180910390fd5b6001600160a01b03821661016d576040516342bcdf7f60e11b815260040160405180910390fd5b6001600160a01b038116610194576040516342bcdf7f60e11b815260040160405180910390fd5b6101a9846a52b7d2dcc80cd2e400000061044b565b601180546001600160a01b038086166001600160a01b031992831617909255601280548584169083161790556013805492841692909116821790556101f2903090600019610485565b6013546040805163c45a015560e01b815290516000926001600160a01b03169163c45a01559160048083019260209291908290030181865afa15801561023c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102609190610f53565b6001600160a01b031663c9c6539630601360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e69190610f53565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610333573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103579190610f53565b6001600160a01b0381166000908152600f60205260408120805460ff191660019081179091559192506010906103956005546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff1995861617905530815260109092529020805490911660011790556103e86103e160025490565b6103eb9190610f84565b600e55506111659350505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166104755760405163ec442f0560e01b8152600060048201526024016100e5565b61048160008383610497565b5050565b61049283838360016106df565b505050565b8015806104ab57506001600160a01b038316155b156104bb576104928383836107b5565b601254600e54600160a01b90910460ff16906000906104ef306001600160a01b031660009081526020819052604090205490565b101590508080156104fe575081155b801561052357506001600160a01b0385166000908152600f602052604090205460ff16155b801561053d57506005546001600160a01b03868116911614155b801561055757506005546001600160a01b03858116911614155b15610564576105646108df565b60006105708686610a3e565b90506000818061058557506105858787610a88565b801561058f575083155b80156105b457506001600160a01b03871660009081526010602052604090205460ff16155b80156105d957506001600160a01b03861660009081526010602052604090205460ff16155b905080156106cb576000808315610642576080516008546007546006546106009190610fa6565b61060a9190610fa6565b6106149089610fb9565b61061e9190610f84565b9150608051600954886106319190610fb9565b61063b9190610f84565b9050610696565b608051600c54600b54600a546106589190610fa6565b6106629190610fa6565b61066c9089610fb9565b6106769190610f84565b9150608051600d54886106899190610fb9565b6106939190610f84565b90505b6106a18930846107b5565b80156106b1576106b18982610acd565b806106bc8389610fd0565b6106c69190610fd0565b965050505b6106d68787876107b5565b50505050505050565b6001600160a01b0384166107095760405163e602df0560e01b8152600060048201526024016100e5565b6001600160a01b03831661073357604051634a1406b160e11b8152600060048201526024016100e5565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156107af57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516107a691815260200190565b60405180910390a35b50505050565b6001600160a01b0383166107e05780600260008282546107d59190610fa6565b909155506108529050565b6001600160a01b038316600090815260208190526040902054818110156108335760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100e5565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661086e5760028054829003905561088d565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516108d291815260200190565b60405180910390a3505050565b6012805460ff60a01b1916600160a01b179055600c54600b54600a546008546007546006546000959493929161091491610fa6565b61091e9190610fa6565b6109289190610fa6565b6109329190610fa6565b61093c9190610fa6565b600e5490915081156109e957600082600b5460075461095b9190610fa6565b600e546109689190610fb9565b6109729190610f84565b9050600083600c546008546109879190610fa6565b600e546109949190610fb9565b61099e9190610f84565b6011549091506109b89083906001600160a01b0316610b03565b6012546109cf9082906001600160a01b0316610b03565b806109da8385610fd0565b6109e49190610fd0565b925050505b60006109f6600283610f84565b90506000610a048284610fd0565b905047610a118330610b03565b6000610a1d8247610fd0565b9050610a298382610c8a565b50506012805460ff60a01b1916905550505050565b6001600160a01b0382166000908152600f602052604081205460ff168015610a7f57506001600160a01b0382166000908152600f602052604090205460ff16155b90505b92915050565b6001600160a01b0382166000908152600f602052604081205460ff16158015610a7f5750506001600160a01b03166000908152600f602052604090205460ff16919050565b6001600160a01b038216610af757604051634b637e8f60e11b8152600060048201526024016100e5565b61048182600083610497565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110610b3857610b38610fe3565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610b91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb59190610f53565b81600181518110610bc857610bc8610fe3565b6001600160a01b0392831660209182029290920101526013546040516318cbafe560e01b81529116906318cbafe590610c0e908690600090869088904290600401610ff9565b6000604051808303816000875af1925050508015610c4e57506040513d6000823e601f3d908101601f19168201604052610c4b919081019061106b565b60015b6107af576040518381527ff312a8cf41139222bcba78888c1a115141181d71dc3cab51c2cd2e19acb05fcf9060200160405180910390a1505050565b610c948282610cd1565b60408051838152602081018390527f38f8a0c92f4c5b0b6877f878cb4c0c8d348a47b76d716c8e78f425043df9515b910160405180910390a15050565b6013546001600160a01b031663f305d719823085600080610cfa6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610d62573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610d879190611137565b5050505050565b80516001600160a01b0381168114610da557600080fd5b919050565b60008060008060808587031215610dc057600080fd5b610dc985610d8e565b9350610dd760208601610d8e565b9250610de560408601610d8e565b9150610df360608601610d8e565b905092959194509250565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680610e2857607f821691505b602082108103610e4857634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561049257806000526020600020601f840160051c81016020851015610e755750805b601f840160051c820191505b81811015610d875760008155600101610e81565b81516001600160401b03811115610eae57610eae610dfe565b610ec281610ebc8454610e14565b84610e4e565b6020601f821160018114610ef65760008315610ede5750848201515b600019600385901b1c1916600184901b178455610d87565b600084815260208120601f198516915b82811015610f265787850151825560209485019460019092019101610f06565b5084821015610f445786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b600060208284031215610f6557600080fd5b610a7f82610d8e565b634e487b7160e01b600052601160045260246000fd5b600082610fa157634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610a8257610a82610f6e565b8082028115828204841417610a8257610a82610f6e565b81810381811115610a8257610a82610f6e565b634e487b7160e01b600052603260045260246000fd5b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b8181101561104b5783516001600160a01b0316835260209384019390920191600101611024565b50506001600160a01b039590951660608401525050608001529392505050565b60006020828403121561107d57600080fd5b81516001600160401b0381111561109357600080fd5b8201601f810184136110a457600080fd5b80516001600160401b038111156110bd576110bd610dfe565b604051600582901b90603f8201601f191681016001600160401b03811182821017156110eb576110eb610dfe565b60405291825260208184018101929081018784111561110957600080fd5b6020850194505b8385101561112c57845180825260209586019590935001611110565b509695505050505050565b60008060006060848603121561114c57600080fd5b5050815160208301516040909301519094929350919050565b60805160a051611b296111ad600039600081816105a6015261099601526000818161057201528181610fbb0152818161100f0152818161104f01526110a30152611b296000f3fe6080604052600436106102085760003560e01c80637bce5a0411610118578063b628f640116100a0578063e71dc3f51161006f578063e71dc3f514610624578063f0f442601461063a578063f11a24d31461065a578063f2fde38b14610670578063f63743421461069057600080fd5b8063b628f64014610560578063c2300bef14610594578063dd62ed3e146105c8578063e2f456051461060e57600080fd5b806395d89b41116100e757806395d89b41146104c55780639a7a23d6146104da578063a9059cbb146104fa578063adb873bd1461051a578063b62496f51461053057600080fd5b80637bce5a041461045b5780638da5cb5b146104715780638da799291461048f57806392136913146104af57600080fd5b80635c068a8c1161019b5780636b2fb1241161016a5780636b2fb124146103ba57806370a08231146103d0578063715018a61461040657806375f0a8741461041b57806379cc67901461043b57600080fd5b80635c068a8c146103445780635d098b381461035a57806361d027b31461037a5780636612e66f1461039a57600080fd5b806323b872dd116101d757806323b872dd146102c657806330df47af146102e6578063313ce5671461030857806342966c681461032457600080fd5b806306fdde0314610214578063095ea7b31461023f5780631694505e1461026f57806318160ddd146102a757600080fd5b3661020f57005b600080fd5b34801561022057600080fd5b506102296106a6565b60405161023691906116c7565b60405180910390f35b34801561024b57600080fd5b5061025f61025a36600461172a565b610738565b6040519015158152602001610236565b34801561027b57600080fd5b5060135461028f906001600160a01b031681565b6040516001600160a01b039091168152602001610236565b3480156102b357600080fd5b506002545b604051908152602001610236565b3480156102d257600080fd5b5061025f6102e1366004611756565b610752565b3480156102f257600080fd5b50610306610301366004611797565b610776565b005b34801561031457600080fd5b5060405160128152602001610236565b34801561033057600080fd5b5061030661033f3660046117b4565b6107b7565b34801561035057600080fd5b506102b860085481565b34801561036657600080fd5b50610306610375366004611797565b6107c4565b34801561038657600080fd5b5060125461028f906001600160a01b031681565b3480156103a657600080fd5b506103066103b53660046117cd565b61085c565b3480156103c657600080fd5b506102b8600c5481565b3480156103dc57600080fd5b506102b86103eb366004611797565b6001600160a01b031660009081526020819052604090205490565b34801561041257600080fd5b50610306610911565b34801561042757600080fd5b5060115461028f906001600160a01b031681565b34801561044757600080fd5b5061030661045636600461172a565b610925565b34801561046757600080fd5b506102b860075481565b34801561047d57600080fd5b506005546001600160a01b031661028f565b34801561049b57600080fd5b506103066104aa36600461180b565b61093a565b3480156104bb57600080fd5b506102b8600b5481565b3480156104d157600080fd5b50610229610a65565b3480156104e657600080fd5b506103066104f53660046117cd565b610a74565b34801561050657600080fd5b5061025f61051536600461172a565b610b1c565b34801561052657600080fd5b506102b8600d5481565b34801561053c57600080fd5b5061025f61054b366004611797565b600f6020526000908152604090205460ff1681565b34801561056c57600080fd5b506102b87f000000000000000000000000000000000000000000000000000000000000000081565b3480156105a057600080fd5b506102b87f000000000000000000000000000000000000000000000000000000000000000081565b3480156105d457600080fd5b506102b86105e3366004611860565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561061a57600080fd5b506102b8600e5481565b34801561063057600080fd5b506102b860095481565b34801561064657600080fd5b50610306610655366004611797565b610b2a565b34801561066657600080fd5b506102b860065481565b34801561067c57600080fd5b5061030661068b366004611797565b610bc2565b34801561069c57600080fd5b506102b8600a5481565b6060600380546106b59061188e565b80601f01602080910402602001604051908101604052809291908181526020018280546106e19061188e565b801561072e5780601f106107035761010080835404028352916020019161072e565b820191906000526020600020905b81548152906001019060200180831161071157829003601f168201915b5050505050905090565b600033610746818585610bfd565b60019150505b92915050565b600033610760858285610c0f565b61076b858585610c8d565b506001949350505050565b61077e610cec565b6040516001600160a01b038216904780156108fc02916000818181858888f193505050501580156107b3573d6000803e3d6000fd5b5050565b6107c13382610d19565b50565b6107cc610cec565b6001600160a01b0381166107f3576040516342bcdf7f60e11b815260040160405180910390fd5b601180546001600160a01b0383166001600160a01b031990911681179091556108246005546001600160a01b031690565b6001600160a01b03167f666c23eeba092d89ff8023c2d2bf3a7ed09c51437448bcd51d681de2222b289460405160405180910390a350565b610864610cec565b6001600160a01b03821660009081526010602052604090205481151560ff9091161515036108b55760405163247def5b60e21b81526001600160a01b03831660048201526024015b60405180910390fd5b6001600160a01b03828116600081815260106020526040808220805460ff19168615159081179091556005549151909491909116917fb54a91ca08bc28885ac4fb32ccfd131ec9e717cf62bd918bb0782d6da226e3c491a45050565b610919610cec565b6109236000610d4f565b565b610930823383610c0f565b6107b38282610d19565b610942610cec565b600081838587898b8d8f61095691906118de565b61096091906118de565b61096a91906118de565b61097491906118de565b61097e91906118de565b61098891906118de565b61099291906118de565b90507f00000000000000000000000000000000000000000000000000000000000000008111156109d55760405163f4df6ae560e01b815260040160405180910390fd5b6006899055600a8890556007879055600b8690556008859055600c8490556009839055600d829055604080518a8152602081018a9052908101889052606081018790526080810186905260a0810185905260c081018490527f020b4e17880b9764de4da2ebf8857a187cc492ae288e9f3ec0db3e2fdb37a2ec9060e00160405180910390a1505050505050505050565b6060600480546106b59061188e565b610a7c610cec565b6001600160a01b0382166000908152600f602052604090205481151560ff909116151503610ac85760405163247def5b60e21b81526001600160a01b03831660048201526024016108ac565b6001600160a01b0382166000818152600f6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600033610746818585610c8d565b610b32610cec565b6001600160a01b038116610b59576040516342bcdf7f60e11b815260040160405180910390fd5b601280546001600160a01b0383166001600160a01b03199091168117909155610b8a6005546001600160a01b031690565b6001600160a01b03167f21eb548722a564f6e09f039f7aa858ae94c911910f3823b37af2250eeca4f40360405160405180910390a350565b610bca610cec565b6001600160a01b038116610bf457604051631e4fbdf760e01b8152600060048201526024016108ac565b6107c181610d4f565b610c0a8383836001610da1565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610c875781811015610c7857604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016108ac565b610c8784848484036000610da1565b50505050565b6001600160a01b038316610cb757604051634b637e8f60e11b8152600060048201526024016108ac565b6001600160a01b038216610ce15760405163ec442f0560e01b8152600060048201526024016108ac565b610c0a838383610e76565b6005546001600160a01b031633146109235760405163118cdaa760e01b81523360048201526024016108ac565b6001600160a01b038216610d4357604051634b637e8f60e11b8152600060048201526024016108ac565b6107b382600083610e76565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038416610dcb5760405163e602df0560e01b8152600060048201526024016108ac565b6001600160a01b038316610df557604051634a1406b160e11b8152600060048201526024016108ac565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610c8757826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610e6891815260200190565b60405180910390a350505050565b801580610e8a57506001600160a01b038316155b15610e9a57610c0a838383611126565b601254600e5430600090815260208190526040812054600160a01b90930460ff1692909111159050808015610ecd575081155b8015610ef257506001600160a01b0385166000908152600f602052604090205460ff16155b8015610f0c57506005546001600160a01b03868116911614155b8015610f2657506005546001600160a01b03858116911614155b15610f3357610f33611250565b6000610f3f86866113af565b905060008180610f545750610f5487876113f7565b8015610f5e575083155b8015610f8357506001600160a01b03871660009081526010602052604090205460ff16155b8015610fa857506001600160a01b03861660009081526010602052604090205460ff16155b9050801561111257600080831561104d577f0000000000000000000000000000000000000000000000000000000000000000600854600754600654610fed91906118de565b610ff791906118de565b61100190896118f1565b61100b9190611908565b91507f00000000000000000000000000000000000000000000000000000000000000006009548861103c91906118f1565b6110469190611908565b90506110dd565b7f0000000000000000000000000000000000000000000000000000000000000000600c54600b54600a5461108191906118de565b61108b91906118de565b61109590896118f1565b61109f9190611908565b91507f0000000000000000000000000000000000000000000000000000000000000000600d54886110d091906118f1565b6110da9190611908565b90505b6110e8893084611126565b80156110f8576110f88982610d19565b80611103838961192a565b61110d919061192a565b965050505b61111d878787611126565b50505050505050565b6001600160a01b03831661115157806002600082825461114691906118de565b909155506111c39050565b6001600160a01b038316600090815260208190526040902054818110156111a45760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016108ac565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166111df576002805482900390556111fe565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161124391815260200190565b60405180910390a3505050565b6012805460ff60a01b1916600160a01b179055600c54600b54600a5460085460075460065460009594939291611285916118de565b61128f91906118de565b61129991906118de565b6112a391906118de565b6112ad91906118de565b600e54909150811561135a57600082600b546007546112cc91906118de565b600e546112d991906118f1565b6112e39190611908565b9050600083600c546008546112f891906118de565b600e5461130591906118f1565b61130f9190611908565b6011549091506113299083906001600160a01b031661143c565b6012546113409082906001600160a01b031661143c565b8061134b838561192a565b611355919061192a565b925050505b6000611367600283611908565b90506000611375828461192a565b905047611382833061143c565b600061138e824761192a565b905061139a83826115c3565b50506012805460ff60a01b1916905550505050565b6001600160a01b0382166000908152600f602052604081205460ff1680156113f057506001600160a01b0382166000908152600f602052604090205460ff16155b9392505050565b6001600160a01b0382166000908152600f602052604081205460ff161580156113f05750506001600160a01b03166000908152600f602052604090205460ff16919050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061147157611471611953565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156114ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ee9190611969565b8160018151811061150157611501611953565b6001600160a01b0392831660209182029290920101526013546040516318cbafe560e01b81529116906318cbafe590611547908690600090869088904290600401611986565b6000604051808303816000875af192505050801561158757506040513d6000823e601f3d908101601f1916820160405261158491908101906119f8565b60015b610c87576040518381527ff312a8cf41139222bcba78888c1a115141181d71dc3cab51c2cd2e19acb05fcf9060200160405180910390a1505050565b6115cd828261160a565b60408051838152602081018390527f38f8a0c92f4c5b0b6877f878cb4c0c8d348a47b76d716c8e78f425043df9515b910160405180910390a15050565b6013546001600160a01b031663f305d7198230856000806116336005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561169b573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906116c09190611ac5565b5050505050565b602081526000825180602084015260005b818110156116f557602081860181015160408684010152016116d8565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146107c157600080fd5b6000806040838503121561173d57600080fd5b823561174881611715565b946020939093013593505050565b60008060006060848603121561176b57600080fd5b833561177681611715565b9250602084013561178681611715565b929592945050506040919091013590565b6000602082840312156117a957600080fd5b81356113f081611715565b6000602082840312156117c657600080fd5b5035919050565b600080604083850312156117e057600080fd5b82356117eb81611715565b91506020830135801515811461180057600080fd5b809150509250929050565b600080600080600080600080610100898b03121561182857600080fd5b505086359860208801359850604088013597606081013597506080810135965060a0810135955060c0810135945060e0013592509050565b6000806040838503121561187357600080fd5b823561187e81611715565b9150602083013561180081611715565b600181811c908216806118a257607f821691505b6020821081036118c257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561074c5761074c6118c8565b808202811582820484141761074c5761074c6118c8565b60008261192557634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561074c5761074c6118c8565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121561197b57600080fd5b81516113f081611715565b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b818110156119d85783516001600160a01b03168352602093840193909201916001016119b1565b50506001600160a01b039590951660608401525050608001529392505050565b600060208284031215611a0a57600080fd5b815167ffffffffffffffff811115611a2157600080fd5b8201601f81018413611a3257600080fd5b805167ffffffffffffffff811115611a4c57611a4c61193d565b8060051b604051601f19603f830116810181811067ffffffffffffffff82111715611a7957611a7961193d565b604052918252602081840181019290810187841115611a9757600080fd5b6020850194505b83851015611aba57845180825260209586019590935001611a9e565b509695505050505050565b600080600060608486031215611ada57600080fd5b505081516020830151604090930151909492935091905056fea2646970667358221220a4ac589713e1208a14f232b2a489f9a6f2a973aef56df263ab4650fb247acc4764736f6c634300081a0033000000000000000000000000495c4e99b00b1fdcbc8423b985269297751fa344000000000000000000000000ccaca4b8a39acadae19f988332662a226bf13ef100000000000000000000000031fae0eb992887d8887a86e30d5ee4d5a614cd650000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode
0x6080604052600436106102085760003560e01c80637bce5a0411610118578063b628f640116100a0578063e71dc3f51161006f578063e71dc3f514610624578063f0f442601461063a578063f11a24d31461065a578063f2fde38b14610670578063f63743421461069057600080fd5b8063b628f64014610560578063c2300bef14610594578063dd62ed3e146105c8578063e2f456051461060e57600080fd5b806395d89b41116100e757806395d89b41146104c55780639a7a23d6146104da578063a9059cbb146104fa578063adb873bd1461051a578063b62496f51461053057600080fd5b80637bce5a041461045b5780638da5cb5b146104715780638da799291461048f57806392136913146104af57600080fd5b80635c068a8c1161019b5780636b2fb1241161016a5780636b2fb124146103ba57806370a08231146103d0578063715018a61461040657806375f0a8741461041b57806379cc67901461043b57600080fd5b80635c068a8c146103445780635d098b381461035a57806361d027b31461037a5780636612e66f1461039a57600080fd5b806323b872dd116101d757806323b872dd146102c657806330df47af146102e6578063313ce5671461030857806342966c681461032457600080fd5b806306fdde0314610214578063095ea7b31461023f5780631694505e1461026f57806318160ddd146102a757600080fd5b3661020f57005b600080fd5b34801561022057600080fd5b506102296106a6565b60405161023691906116c7565b60405180910390f35b34801561024b57600080fd5b5061025f61025a36600461172a565b610738565b6040519015158152602001610236565b34801561027b57600080fd5b5060135461028f906001600160a01b031681565b6040516001600160a01b039091168152602001610236565b3480156102b357600080fd5b506002545b604051908152602001610236565b3480156102d257600080fd5b5061025f6102e1366004611756565b610752565b3480156102f257600080fd5b50610306610301366004611797565b610776565b005b34801561031457600080fd5b5060405160128152602001610236565b34801561033057600080fd5b5061030661033f3660046117b4565b6107b7565b34801561035057600080fd5b506102b860085481565b34801561036657600080fd5b50610306610375366004611797565b6107c4565b34801561038657600080fd5b5060125461028f906001600160a01b031681565b3480156103a657600080fd5b506103066103b53660046117cd565b61085c565b3480156103c657600080fd5b506102b8600c5481565b3480156103dc57600080fd5b506102b86103eb366004611797565b6001600160a01b031660009081526020819052604090205490565b34801561041257600080fd5b50610306610911565b34801561042757600080fd5b5060115461028f906001600160a01b031681565b34801561044757600080fd5b5061030661045636600461172a565b610925565b34801561046757600080fd5b506102b860075481565b34801561047d57600080fd5b506005546001600160a01b031661028f565b34801561049b57600080fd5b506103066104aa36600461180b565b61093a565b3480156104bb57600080fd5b506102b8600b5481565b3480156104d157600080fd5b50610229610a65565b3480156104e657600080fd5b506103066104f53660046117cd565b610a74565b34801561050657600080fd5b5061025f61051536600461172a565b610b1c565b34801561052657600080fd5b506102b8600d5481565b34801561053c57600080fd5b5061025f61054b366004611797565b600f6020526000908152604090205460ff1681565b34801561056c57600080fd5b506102b87f00000000000000000000000000000000000000000000000000000000000f424081565b3480156105a057600080fd5b506102b87f0000000000000000000000000000000000000000000000000000000000030d4081565b3480156105d457600080fd5b506102b86105e3366004611860565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561061a57600080fd5b506102b8600e5481565b34801561063057600080fd5b506102b860095481565b34801561064657600080fd5b50610306610655366004611797565b610b2a565b34801561066657600080fd5b506102b860065481565b34801561067c57600080fd5b5061030661068b366004611797565b610bc2565b34801561069c57600080fd5b506102b8600a5481565b6060600380546106b59061188e565b80601f01602080910402602001604051908101604052809291908181526020018280546106e19061188e565b801561072e5780601f106107035761010080835404028352916020019161072e565b820191906000526020600020905b81548152906001019060200180831161071157829003601f168201915b5050505050905090565b600033610746818585610bfd565b60019150505b92915050565b600033610760858285610c0f565b61076b858585610c8d565b506001949350505050565b61077e610cec565b6040516001600160a01b038216904780156108fc02916000818181858888f193505050501580156107b3573d6000803e3d6000fd5b5050565b6107c13382610d19565b50565b6107cc610cec565b6001600160a01b0381166107f3576040516342bcdf7f60e11b815260040160405180910390fd5b601180546001600160a01b0383166001600160a01b031990911681179091556108246005546001600160a01b031690565b6001600160a01b03167f666c23eeba092d89ff8023c2d2bf3a7ed09c51437448bcd51d681de2222b289460405160405180910390a350565b610864610cec565b6001600160a01b03821660009081526010602052604090205481151560ff9091161515036108b55760405163247def5b60e21b81526001600160a01b03831660048201526024015b60405180910390fd5b6001600160a01b03828116600081815260106020526040808220805460ff19168615159081179091556005549151909491909116917fb54a91ca08bc28885ac4fb32ccfd131ec9e717cf62bd918bb0782d6da226e3c491a45050565b610919610cec565b6109236000610d4f565b565b610930823383610c0f565b6107b38282610d19565b610942610cec565b600081838587898b8d8f61095691906118de565b61096091906118de565b61096a91906118de565b61097491906118de565b61097e91906118de565b61098891906118de565b61099291906118de565b90507f0000000000000000000000000000000000000000000000000000000000030d408111156109d55760405163f4df6ae560e01b815260040160405180910390fd5b6006899055600a8890556007879055600b8690556008859055600c8490556009839055600d829055604080518a8152602081018a9052908101889052606081018790526080810186905260a0810185905260c081018490527f020b4e17880b9764de4da2ebf8857a187cc492ae288e9f3ec0db3e2fdb37a2ec9060e00160405180910390a1505050505050505050565b6060600480546106b59061188e565b610a7c610cec565b6001600160a01b0382166000908152600f602052604090205481151560ff909116151503610ac85760405163247def5b60e21b81526001600160a01b03831660048201526024016108ac565b6001600160a01b0382166000818152600f6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600033610746818585610c8d565b610b32610cec565b6001600160a01b038116610b59576040516342bcdf7f60e11b815260040160405180910390fd5b601280546001600160a01b0383166001600160a01b03199091168117909155610b8a6005546001600160a01b031690565b6001600160a01b03167f21eb548722a564f6e09f039f7aa858ae94c911910f3823b37af2250eeca4f40360405160405180910390a350565b610bca610cec565b6001600160a01b038116610bf457604051631e4fbdf760e01b8152600060048201526024016108ac565b6107c181610d4f565b610c0a8383836001610da1565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610c875781811015610c7857604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016108ac565b610c8784848484036000610da1565b50505050565b6001600160a01b038316610cb757604051634b637e8f60e11b8152600060048201526024016108ac565b6001600160a01b038216610ce15760405163ec442f0560e01b8152600060048201526024016108ac565b610c0a838383610e76565b6005546001600160a01b031633146109235760405163118cdaa760e01b81523360048201526024016108ac565b6001600160a01b038216610d4357604051634b637e8f60e11b8152600060048201526024016108ac565b6107b382600083610e76565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038416610dcb5760405163e602df0560e01b8152600060048201526024016108ac565b6001600160a01b038316610df557604051634a1406b160e11b8152600060048201526024016108ac565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610c8757826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610e6891815260200190565b60405180910390a350505050565b801580610e8a57506001600160a01b038316155b15610e9a57610c0a838383611126565b601254600e5430600090815260208190526040812054600160a01b90930460ff1692909111159050808015610ecd575081155b8015610ef257506001600160a01b0385166000908152600f602052604090205460ff16155b8015610f0c57506005546001600160a01b03868116911614155b8015610f2657506005546001600160a01b03858116911614155b15610f3357610f33611250565b6000610f3f86866113af565b905060008180610f545750610f5487876113f7565b8015610f5e575083155b8015610f8357506001600160a01b03871660009081526010602052604090205460ff16155b8015610fa857506001600160a01b03861660009081526010602052604090205460ff16155b9050801561111257600080831561104d577f00000000000000000000000000000000000000000000000000000000000f4240600854600754600654610fed91906118de565b610ff791906118de565b61100190896118f1565b61100b9190611908565b91507f00000000000000000000000000000000000000000000000000000000000f42406009548861103c91906118f1565b6110469190611908565b90506110dd565b7f00000000000000000000000000000000000000000000000000000000000f4240600c54600b54600a5461108191906118de565b61108b91906118de565b61109590896118f1565b61109f9190611908565b91507f00000000000000000000000000000000000000000000000000000000000f4240600d54886110d091906118f1565b6110da9190611908565b90505b6110e8893084611126565b80156110f8576110f88982610d19565b80611103838961192a565b61110d919061192a565b965050505b61111d878787611126565b50505050505050565b6001600160a01b03831661115157806002600082825461114691906118de565b909155506111c39050565b6001600160a01b038316600090815260208190526040902054818110156111a45760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016108ac565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166111df576002805482900390556111fe565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161124391815260200190565b60405180910390a3505050565b6012805460ff60a01b1916600160a01b179055600c54600b54600a5460085460075460065460009594939291611285916118de565b61128f91906118de565b61129991906118de565b6112a391906118de565b6112ad91906118de565b600e54909150811561135a57600082600b546007546112cc91906118de565b600e546112d991906118f1565b6112e39190611908565b9050600083600c546008546112f891906118de565b600e5461130591906118f1565b61130f9190611908565b6011549091506113299083906001600160a01b031661143c565b6012546113409082906001600160a01b031661143c565b8061134b838561192a565b611355919061192a565b925050505b6000611367600283611908565b90506000611375828461192a565b905047611382833061143c565b600061138e824761192a565b905061139a83826115c3565b50506012805460ff60a01b1916905550505050565b6001600160a01b0382166000908152600f602052604081205460ff1680156113f057506001600160a01b0382166000908152600f602052604090205460ff16155b9392505050565b6001600160a01b0382166000908152600f602052604081205460ff161580156113f05750506001600160a01b03166000908152600f602052604090205460ff16919050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061147157611471611953565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156114ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ee9190611969565b8160018151811061150157611501611953565b6001600160a01b0392831660209182029290920101526013546040516318cbafe560e01b81529116906318cbafe590611547908690600090869088904290600401611986565b6000604051808303816000875af192505050801561158757506040513d6000823e601f3d908101601f1916820160405261158491908101906119f8565b60015b610c87576040518381527ff312a8cf41139222bcba78888c1a115141181d71dc3cab51c2cd2e19acb05fcf9060200160405180910390a1505050565b6115cd828261160a565b60408051838152602081018390527f38f8a0c92f4c5b0b6877f878cb4c0c8d348a47b76d716c8e78f425043df9515b910160405180910390a15050565b6013546001600160a01b031663f305d7198230856000806116336005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af115801561169b573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906116c09190611ac5565b5050505050565b602081526000825180602084015260005b818110156116f557602081860181015160408684010152016116d8565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146107c157600080fd5b6000806040838503121561173d57600080fd5b823561174881611715565b946020939093013593505050565b60008060006060848603121561176b57600080fd5b833561177681611715565b9250602084013561178681611715565b929592945050506040919091013590565b6000602082840312156117a957600080fd5b81356113f081611715565b6000602082840312156117c657600080fd5b5035919050565b600080604083850312156117e057600080fd5b82356117eb81611715565b91506020830135801515811461180057600080fd5b809150509250929050565b600080600080600080600080610100898b03121561182857600080fd5b505086359860208801359850604088013597606081013597506080810135965060a0810135955060c0810135945060e0013592509050565b6000806040838503121561187357600080fd5b823561187e81611715565b9150602083013561180081611715565b600181811c908216806118a257607f821691505b6020821081036118c257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561074c5761074c6118c8565b808202811582820484141761074c5761074c6118c8565b60008261192557634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561074c5761074c6118c8565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121561197b57600080fd5b81516113f081611715565b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b818110156119d85783516001600160a01b03168352602093840193909201916001016119b1565b50506001600160a01b039590951660608401525050608001529392505050565b600060208284031215611a0a57600080fd5b815167ffffffffffffffff811115611a2157600080fd5b8201601f81018413611a3257600080fd5b805167ffffffffffffffff811115611a4c57611a4c61193d565b8060051b604051601f19603f830116810181811067ffffffffffffffff82111715611a7957611a7961193d565b604052918252602081840181019290810187841115611a9757600080fd5b6020850194505b83851015611aba57845180825260209586019590935001611a9e565b509695505050505050565b600080600060608486031215611ada57600080fd5b505081516020830151604090930151909492935091905056fea2646970667358221220a4ac589713e1208a14f232b2a489f9a6f2a973aef56df263ab4650fb247acc4764736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000495c4e99b00b1fdcbc8423b985269297751fa344000000000000000000000000ccaca4b8a39acadae19f988332662a226bf13ef100000000000000000000000031fae0eb992887d8887a86e30d5ee4d5a614cd650000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
-----Decoded View---------------
Arg [0] : newOwner (address): 0x495C4e99b00B1FdcBC8423b985269297751FA344
Arg [1] : newMarketingWallet (address): 0xCcACa4B8a39AcaDAe19F988332662a226Bf13Ef1
Arg [2] : newTreasury (address): 0x31fAe0eb992887d8887A86E30D5ee4D5a614Cd65
Arg [3] : newUniswapV2Router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000495c4e99b00b1fdcbc8423b985269297751fa344
Arg [1] : 000000000000000000000000ccaca4b8a39acadae19f988332662a226bf13ef1
Arg [2] : 00000000000000000000000031fae0eb992887d8887a86e30d5ee4d5a614cd65
Arg [3] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.97
Net Worth in ETH
0.000468
Token Allocations
BNB
100.00%
Multichain Portfolio | 33 Chains
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.