Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 15 from a total of 15 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 18143578 | 469 days ago | IN | 0 ETH | 0.00220101 | ||||
Approve | 18143578 | 469 days ago | IN | 0 ETH | 0.00220101 | ||||
Approve | 18143576 | 469 days ago | IN | 0 ETH | 0.0022168 | ||||
Approve | 18143567 | 469 days ago | IN | 0 ETH | 0.00182239 | ||||
Approve | 18143558 | 469 days ago | IN | 0 ETH | 0.00214836 | ||||
Approve | 18143545 | 469 days ago | IN | 0 ETH | 0.0021338 | ||||
Set Max Fee Sett... | 18143543 | 469 days ago | IN | 0 ETH | 0.00204884 | ||||
Approve | 18143539 | 469 days ago | IN | 0 ETH | 0.00272695 | ||||
Approve | 18143534 | 469 days ago | IN | 0 ETH | 0.00215758 | ||||
Approve | 18143533 | 469 days ago | IN | 0 ETH | 0.00278472 | ||||
Approve | 18143533 | 469 days ago | IN | 0 ETH | 0.00217952 | ||||
Approve | 18143532 | 469 days ago | IN | 0 ETH | 0.00292439 | ||||
Set Max Tx Setti... | 18143532 | 469 days ago | IN | 0 ETH | 0.00163135 | ||||
Enable Trading | 18143531 | 469 days ago | IN | 0 ETH | 0.00129483 | ||||
Approve | 18143523 | 469 days ago | IN | 0 ETH | 0.0016901 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x85A5B926...00ED81193 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
MinesweeperPvP
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** Minesweeper PvP - Dive deep into strategic battles against your friends, and up the stakes with $MSPVP wagers! Website: https://minesweeperpvp.com/ Telegram: https://t.me/MinesweeperPvP Twitter: https://twitter.com/minesweeperpvp **/ // SPDX-License-Identifier: MIT pragma solidity 0.8.21; /** * @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; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } ////// lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) /* pragma solidity ^0.8.0; */ /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @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 Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function swapExactTokensForETHSupportingFeeOnTransferTokens( 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; } interface IUniswapV2Pair { function sync() external; } contract MinesweeperPvP is Context, IERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniRouterV02; address public uniswap02Pair; bool public isTradingEnabled = false; mapping(address => uint256) private balances; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcludedFromFee; uint256 private feeForLiquidityPercentage; uint256 private feeForRevenuePercentage; address public liquidityFeeAddress; address public revenueFeeAddress; string private constant _name = "Minesweeper PvP"; string private constant _symbol = "MSPVP"; uint8 private constant _decimals = 9; uint256 private _tTotal = 10000000 * 10 ** _decimals; uint256 public _maxAmountPerWallet = 350000 * 10 ** _decimals; uint256 public _maxAmountPerTx = 350000 * 10 ** _decimals; uint256 public swapTokenThreshold = 100000 * 10 ** _decimals; uint256 public forceSwapCounter; struct BuyFeeStruct { uint256 liquidity; uint256 revenue; } struct SellFeeStruct { uint256 liquidity; uint256 revenue; } BuyFeeStruct public buyFeeSettings; SellFeeStruct public sellFeeSettings; bool private isInSwapMode; event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity); constructor (address marketingAddress, address liquidityAddress) { revenueFeeAddress = marketingAddress; liquidityFeeAddress = liquidityAddress; balances[_msgSender()] = _tTotal; sellFeeSettings.liquidity = 1; sellFeeSettings.revenue = 1; buyFeeSettings.liquidity = 1; buyFeeSettings.revenue = 1; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); uniRouterV02 = _uniswapV2Router; uniswap02Pair = _uniswapV2Pair; _isExcludedFromFee[msg.sender] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[address(0x00)] = true; _isExcludedFromFee[address(0xdead)] = true; emit Transfer(address(0), _msgSender(), _tTotal); } function name() public pure returns (string memory) {return _name;} function symbol() public pure returns (string memory) {return _symbol;} function decimals() public pure returns (uint8) {return _decimals;} function totalSupply() public view override returns (uint256) {return _tTotal;} function balanceOf(address account) public view override returns (uint256) {return balances[account];} function transfer(address recipient, uint256 amount) public override returns (bool) {_transfer(_msgSender(), recipient, amount); return true;} function allowance(address owner, address spender) public view override returns (uint256) {return _allowances[owner][spender];} function approve(address spender, uint256 amount) public override returns (bool) {_approve(_msgSender(), spender, amount); return true;} function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()] - 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] - subtractedValue); return true;} function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFee[address(account)] = excluded;} function enableTrading() external onlyOwner { isTradingEnabled = true; } receive() external payable {} function takeFeesFromBuy(uint256 amount, address from) private returns (uint256) { uint256 liquidityFeeToken = amount * buyFeeSettings.liquidity / 100; uint256 marketingFeeTokens = amount * buyFeeSettings.revenue / 100; balances[address(this)] += liquidityFeeToken + marketingFeeTokens; emit Transfer(from, address(this), marketingFeeTokens + liquidityFeeToken); return (amount - liquidityFeeToken - marketingFeeTokens); } function takeFeesFromSell(uint256 amount, address from) private returns (uint256) { uint256 liquidityFeeToken = amount * sellFeeSettings.liquidity / 100; uint256 marketingFeeTokens = amount * sellFeeSettings.revenue / 100; balances[address(this)] += liquidityFeeToken + marketingFeeTokens; emit Transfer(from, address(this), marketingFeeTokens + liquidityFeeToken); return (amount - liquidityFeeToken - marketingFeeTokens); } function setMaxTxSetting(uint256 _maxTx, uint256 _maxWallet) public onlyOwner { require(_maxTx + _maxWallet > _tTotal / 1000, "Should be bigger than 0,1%"); _maxAmountPerTx = _maxTx; _maxAmountPerWallet = _maxWallet; } function setMaxFeeSetting(uint256 _buyMarketingFee, uint256 _buyLiquidityFee, uint256 _sellMarketingFee, uint256 _sellLiquidityFee) public onlyOwner { require(_buyMarketingFee + _buyLiquidityFee < 500 || _sellLiquidityFee + _sellMarketingFee < 500, "Can't change fee higher than 49%"); buyFeeSettings.liquidity = _buyLiquidityFee; buyFeeSettings.revenue = _buyMarketingFee; sellFeeSettings.liquidity = _sellLiquidityFee; sellFeeSettings.revenue = _sellMarketingFee; } function isExcludedFromFee(address account) public view returns (bool) { return _isExcludedFromFee[account]; } function _approve(address owner, address spender, uint256 amount) private { 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 _transfer( address from, address to, uint256 amount ) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); balances[from] -= amount; uint256 transferAmount = amount; bool takeFee; if (!isTradingEnabled) { require(_isExcludedFromFee[from] || _isExcludedFromFee[to], "Trading is not active."); } if (!_isExcludedFromFee[from] && !_isExcludedFromFee[to]) { takeFee = true; } if (takeFee) { if (to != uniswap02Pair) { require(amount <= _maxAmountPerTx, "Transfer Amount exceeds the maxTxnsAmount"); require(balanceOf(to) + amount <= _maxAmountPerWallet, "Transfer amount exceeds the maxWalletAmount."); transferAmount = takeFeesFromBuy(amount, to); } if (from != uniswap02Pair) { require(amount <= _maxAmountPerTx, "Transfer Amount exceeds the maxTxnsAmount"); transferAmount = takeFeesFromSell(amount, from); forceSwapCounter += 1; if (balanceOf(address(this)) >= swapTokenThreshold && !isInSwapMode) { isInSwapMode = true; swapFees(swapTokenThreshold); isInSwapMode = false; forceSwapCounter = 0; } if (forceSwapCounter > 5 && !isInSwapMode) { isInSwapMode = true; swapFees(balanceOf(address(this))); isInSwapMode = false; forceSwapCounter = 0; } } if (to != uniswap02Pair && from != uniswap02Pair) { require(amount <= _maxAmountPerTx, "Transfer Amount exceeds the maxTxnsAmount"); require(balanceOf(to) + amount <= _maxAmountPerWallet, "Transfer amount exceeds the maxWalletAmount."); } } balances[to] += transferAmount; emit Transfer(from, to, transferAmount); } function swapFees(uint256 amount) private { uint256 contractBalance = amount; uint256 liquidityTokens = contractBalance * (buyFeeSettings.liquidity + sellFeeSettings.liquidity) / (buyFeeSettings.revenue + buyFeeSettings.liquidity + sellFeeSettings.revenue + sellFeeSettings.liquidity); uint256 marketingTokens = contractBalance * (buyFeeSettings.revenue + sellFeeSettings.revenue) / (buyFeeSettings.revenue + buyFeeSettings.liquidity + sellFeeSettings.revenue + sellFeeSettings.liquidity); uint256 totalTokensToSwap = liquidityTokens + marketingTokens; uint256 tokensForLiquidity = liquidityTokens.div(2); uint256 amountToSwapForETH = contractBalance.sub(tokensForLiquidity); uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance.sub(initialETHBalance); uint256 ethForLiquidity = ethBalance.mul(liquidityTokens).div(totalTokensToSwap); addLiquidity(tokensForLiquidity, ethForLiquidity); payable(revenueFeeAddress).transfer(address(this).balance); } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniRouterV02.WETH(); _approve(address(this), address(uniRouterV02), tokenAmount); uniRouterV02.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { _approve(address(this), address(uniRouterV02), tokenAmount); uniRouterV02.addLiquidityETH{value: ethAmount} ( address(this), tokenAmount, 0, 0, liquidityFeeAddress, block.timestamp ); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"marketingAddress","type":"address"},{"internalType":"address","name":"liquidityAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_maxAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxAmountPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFeeSettings","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"revenue","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSwapCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFeeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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":"revenueFeeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellFeeSettings","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"revenue","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyMarketingFee","type":"uint256"},{"internalType":"uint256","name":"_buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_sellMarketingFee","type":"uint256"},{"internalType":"uint256","name":"_sellLiquidityFee","type":"uint256"}],"name":"setMaxFeeSetting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTx","type":"uint256"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"setMaxTxSetting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokenThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniRouterV02","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswap02Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x6080604052600436106101c8575f3560e01c80638a8c523c116100f2578063b08e8eef11610092578063dd62ed3e11610062578063dd62ed3e1461054f578063ee88d56314610593578063f2fde38b146105ad578063f4846b51146105cc575f80fd5b8063b08e8eef146104dd578063c0246668146104f2578063d6344c1314610511578063d9d3b46d14610530575f80fd5b8063a457c2d7116100cd578063a457c2d71461046b578063a6d553061461048a578063a9059cbb146104a9578063a9951046146104c8575f80fd5b80638a8c523c1461040e5780638da5cb5b1461042257806395d89b411461043e575f80fd5b806339509351116101685780635342acb4116101385780635342acb4146103605780635ea59c2d1461039757806370a08231146103c6578063715018a6146103fa575f80fd5b806339509351146102e0578063397dbed7146102ff578063479d2b3514610314578063501a53541461034b575f80fd5b8063095ea7b3116101a3578063095ea7b31461026957806318160ddd1461028857806323b872dd146102a6578063313ce567146102c5575f80fd5b8063064a59d0146101d357806306e5f69a1461020857806306fdde0314610229575f80fd5b366101cf57005b5f80fd5b3480156101de575f80fd5b506002546101f390600160a01b900460ff1681565b60405190151581526020015b60405180910390f35b348015610213575f80fd5b50610227610222366004611454565b6105eb565b005b348015610234575f80fd5b5060408051808201909152600f81526e04d696e65737765657065722050765608c1b60208201525b6040516101ff9190611483565b348015610274575f80fd5b506101f36102833660046114e2565b6106a0565b348015610293575f80fd5b50600a545b6040519081526020016101ff565b3480156102b1575f80fd5b506101f36102c036600461150c565b6106b6565b3480156102d0575f80fd5b50604051600981526020016101ff565b3480156102eb575f80fd5b506101f36102fa3660046114e2565b610706565b34801561030a575f80fd5b50610298600b5481565b34801561031f575f80fd5b50600954610333906001600160a01b031681565b6040516001600160a01b0390911681526020016101ff565b348015610356575f80fd5b50610298600d5481565b34801561036b575f80fd5b506101f361037a36600461154a565b6001600160a01b03165f9081526005602052604090205460ff1690565b3480156103a2575f80fd5b50600f546010546103b1919082565b604080519283526020830191909152016101ff565b3480156103d1575f80fd5b506102986103e036600461154a565b6001600160a01b03165f9081526003602052604090205490565b348015610405575f80fd5b5061022761073c565b348015610419575f80fd5b50610227610770565b34801561042d575f80fd5b505f546001600160a01b0316610333565b348015610449575f80fd5b5060408051808201909152600581526404d535056560dc1b602082015261025c565b348015610476575f80fd5b506101f36104853660046114e2565b6107ae565b348015610495575f80fd5b506102276104a4366004611565565b6107e4565b3480156104b4575f80fd5b506101f36104c33660046114e2565b61087f565b3480156104d3575f80fd5b50610298600c5481565b3480156104e8575f80fd5b50610298600e5481565b3480156104fd575f80fd5b5061022761050c366004611585565b61088b565b34801561051c575f80fd5b50600154610333906001600160a01b031681565b34801561053b575f80fd5b50600254610333906001600160a01b031681565b34801561055a575f80fd5b506102986105693660046115c0565b6001600160a01b039182165f90815260046020908152604080832093909416825291909152205490565b34801561059e575f80fd5b506011546012546103b1919082565b3480156105b8575f80fd5b506102276105c736600461154a565b6108de565b3480156105d7575f80fd5b50600854610333906001600160a01b031681565b5f546001600160a01b0316331461061d5760405162461bcd60e51b8152600401610614906115ec565b60405180910390fd5b6101f461062a8486611635565b108061064057506101f461063e8383611635565b105b61068c5760405162461bcd60e51b815260206004820181905260248201527f43616e2774206368616e67652066656520686967686572207468616e203439256044820152606401610614565b600f92909255601092909255601155601255565b5f6106ac338484610978565b5060015b92915050565b5f6106c2848484610a9b565b6001600160a01b0384165f908152600460209081526040808320338085529252909120546106fc9186916106f7908690611648565b610978565b5060019392505050565b335f8181526004602090815260408083206001600160a01b038716845290915281205490916106ac9185906106f7908690611635565b5f546001600160a01b031633146107655760405162461bcd60e51b8152600401610614906115ec565b61076e5f610f87565b565b5f546001600160a01b031633146107995760405162461bcd60e51b8152600401610614906115ec565b6002805460ff60a01b1916600160a01b179055565b335f8181526004602090815260408083206001600160a01b038716845290915281205490916106ac9185906106f7908690611648565b5f546001600160a01b0316331461080d5760405162461bcd60e51b8152600401610614906115ec565b6103e8600a5461081d919061165b565b6108278284611635565b116108745760405162461bcd60e51b815260206004820152601a60248201527f53686f756c6420626520626967676572207468616e20302c31250000000000006044820152606401610614565b600c91909155600b55565b5f6106ac338484610a9b565b5f546001600160a01b031633146108b45760405162461bcd60e51b8152600401610614906115ec565b6001600160a01b03919091165f908152600560205260409020805460ff1916911515919091179055565b5f546001600160a01b031633146109075760405162461bcd60e51b8152600401610614906115ec565b6001600160a01b03811661096c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610614565b61097581610f87565b50565b6001600160a01b0383166109da5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610614565b6001600160a01b038216610a3b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610614565b6001600160a01b038381165f8181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610aff5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610614565b6001600160a01b038216610b615760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610614565b5f8111610bc25760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610614565b6001600160a01b0383165f9081526003602052604081208054839290610be9908490611648565b909155505060025481905f90600160a01b900460ff16610c85576001600160a01b0385165f9081526005602052604090205460ff1680610c4057506001600160a01b0384165f9081526005602052604090205460ff165b610c855760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610614565b6001600160a01b0385165f9081526005602052604090205460ff16158015610cc557506001600160a01b0384165f9081526005602052604090205460ff16155b15610cce575060015b8015610f05576002546001600160a01b03858116911614610d6257600c54831115610d0b5760405162461bcd60e51b81526004016106149061167a565b600b5483610d2d866001600160a01b03165f9081526003602052604090205490565b610d379190611635565b1115610d555760405162461bcd60e51b8152600401610614906116c3565b610d5f8385610fd6565b91505b6002546001600160a01b03868116911614610e6857600c54831115610d995760405162461bcd60e51b81526004016106149061167a565b610da383866110a9565b91506001600e5f828254610db79190611635565b9091555050600d54305f9081526003602052604090205410158015610ddf575060135460ff16155b15610e0c576013805460ff19166001179055600d54610dfd906110dd565b6013805460ff191690555f600e555b6005600e54118015610e21575060135460ff16155b15610e68576013805460ff19166001179055610e59610e54306001600160a01b03165f9081526003602052604090205490565b6110dd565b6013805460ff191690555f600e555b6002546001600160a01b03858116911614801590610e9457506002546001600160a01b03868116911614155b15610f0557600c54831115610ebb5760405162461bcd60e51b81526004016106149061167a565b600b5483610edd866001600160a01b03165f9081526003602052604090205490565b610ee79190611635565b1115610f055760405162461bcd60e51b8152600401610614906116c3565b6001600160a01b0384165f9081526003602052604081208054849290610f2c908490611635565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f7891815260200190565b60405180910390a35050505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f806064600f5f015485610fea919061170f565b610ff4919061165b565b90505f6064600f600101548661100a919061170f565b611014919061165b565b90506110208183611635565b305f908152600360205260408120805490919061103e908490611635565b909155503090506001600160a01b0385167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61107a8585611635565b60405190815260200160405180910390a3806110968387611648565b6110a09190611648565b95945050505050565b5f80606460115f0154856110bd919061170f565b6110c7919061165b565b90505f60646011600101548661100a919061170f565b601154601254600f5460105484935f93909290916110fb9190611635565b6111059190611635565b61110f9190611635565b601154600f5461111f9190611635565b611129908461170f565b611133919061165b565b601154601254600f546010549394505f9361114e9190611635565b6111589190611635565b6111629190611635565b6012546010546111729190611635565b61117c908561170f565b611186919061165b565b90505f6111938284611635565b90505f6111a184600261122b565b90505f6111ae868361123d565b9050476111ba82611248565b5f6111c5478361123d565b90505f6111dc866111d6848b611398565b9061122b565b90506111e885826113a3565b6009546040516001600160a01b03909116904780156108fc02915f818181858888f1935050505015801561121e573d5f803e3d5ffd5b5050505050505050505050565b5f611236828461165b565b9392505050565b5f6112368284611648565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061127b5761127b611726565b6001600160a01b03928316602091820292909201810191909152600154604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156112d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112f6919061173a565b8160018151811061130957611309611726565b6001600160a01b03928316602091820292909201015260015461132f9130911684610978565b60015460405163791ac94760e01b81526001600160a01b039091169063791ac947906113679085905f90869030904290600401611755565b5f604051808303815f87803b15801561137e575f80fd5b505af1158015611390573d5f803e3d5ffd5b505050505050565b5f611236828461170f565b6001546113bb9030906001600160a01b031684610978565b60015460085460405163f305d71960e01b8152306004820152602481018590525f6044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1158015611428573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061144d91906117c4565b5050505050565b5f805f8060808587031215611467575f80fd5b5050823594602084013594506040840135936060013592509050565b5f6020808352835180828501525f5b818110156114ae57858101830151858201604001528201611492565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610975575f80fd5b5f80604083850312156114f3575f80fd5b82356114fe816114ce565b946020939093013593505050565b5f805f6060848603121561151e575f80fd5b8335611529816114ce565b92506020840135611539816114ce565b929592945050506040919091013590565b5f6020828403121561155a575f80fd5b8135611236816114ce565b5f8060408385031215611576575f80fd5b50508035926020909101359150565b5f8060408385031215611596575f80fd5b82356115a1816114ce565b9150602083013580151581146115b5575f80fd5b809150509250929050565b5f80604083850312156115d1575f80fd5b82356115dc816114ce565b915060208301356115b5816114ce565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106b0576106b0611621565b818103818111156106b0576106b0611621565b5f8261167557634e487b7160e01b5f52601260045260245ffd5b500490565b60208082526029908201527f5472616e7366657220416d6f756e74206578636565647320746865206d6178546040820152681e1b9cd05b5bdd5b9d60ba1b606082015260800190565b6020808252602c908201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785760408201526b30b63632ba20b6b7bab73a1760a11b606082015260800190565b80820281158282048414176106b0576106b0611621565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561174a575f80fd5b8151611236816114ce565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156117a35784516001600160a01b03168352938301939183019160010161177e565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f606084860312156117d6575f80fd5b835192506020840151915060408401519050925092509256fea2646970667358221220b5a48f2c8853b3760d91202986c7169ed0f2f0e27cdcfcc387fc8aa09a084dba64736f6c63430008150033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.