Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 243 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 20787084 | 59 days ago | IN | 0 ETH | 0.00066492 | ||||
Transfer | 19854696 | 189 days ago | IN | 0 ETH | 0.00092921 | ||||
Approve | 17699723 | 491 days ago | IN | 0 ETH | 0.00061225 | ||||
Approve | 17690573 | 492 days ago | IN | 0 ETH | 0.00115852 | ||||
Approve | 17620500 | 502 days ago | IN | 0 ETH | 0.00084119 | ||||
Approve | 17611438 | 504 days ago | IN | 0 ETH | 0.00060315 | ||||
Approve | 17545142 | 513 days ago | IN | 0 ETH | 0.000774 | ||||
Approve | 17436489 | 528 days ago | IN | 0 ETH | 0.00139319 | ||||
Approve | 17414846 | 531 days ago | IN | 0 ETH | 0.00215035 | ||||
Approve | 17406011 | 532 days ago | IN | 0 ETH | 0.0009388 | ||||
Approve | 17358022 | 539 days ago | IN | 0 ETH | 0.00167011 | ||||
Approve | 17353247 | 540 days ago | IN | 0 ETH | 0.00131646 | ||||
Approve | 17349648 | 540 days ago | IN | 0 ETH | 0.00125172 | ||||
Approve | 17348911 | 541 days ago | IN | 0 ETH | 0.00129148 | ||||
Approve | 17348685 | 541 days ago | IN | 0 ETH | 0.00115606 | ||||
Approve | 17346367 | 541 days ago | IN | 0 ETH | 0.00253481 | ||||
Approve | 17337909 | 542 days ago | IN | 0 ETH | 0.0017474 | ||||
Approve | 17332951 | 543 days ago | IN | 0 ETH | 0.00138529 | ||||
Approve | 17322075 | 544 days ago | IN | 0 ETH | 0.00177748 | ||||
Approve | 17317046 | 545 days ago | IN | 0 ETH | 0.00225134 | ||||
Approve | 17301251 | 547 days ago | IN | 0 ETH | 0.00162388 | ||||
Approve | 17296503 | 548 days ago | IN | 0 ETH | 0.00187184 | ||||
Approve | 17288552 | 549 days ago | IN | 0 ETH | 0.00300125 | ||||
Approve | 17284390 | 550 days ago | IN | 0 ETH | 0.0019437 | ||||
Approve | 17282241 | 550 days ago | IN | 0 ETH | 0.0025961 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
19854696 | 189 days ago | 0.00190871 ETH | ||||
19854696 | 189 days ago | 0.00190871 ETH | ||||
17699725 | 491 days ago | 0.00725383 ETH | ||||
17699725 | 491 days ago | 0.00725383 ETH | ||||
17690576 | 492 days ago | 0.01086465 ETH | ||||
17690576 | 492 days ago | 0.01086465 ETH | ||||
17620502 | 502 days ago | 0.00088128 ETH | ||||
17620502 | 502 days ago | 0.00088128 ETH | ||||
17563744 | 510 days ago | 0.00220569 ETH | ||||
17563744 | 510 days ago | 0.00220569 ETH | ||||
17560422 | 511 days ago | 0.0043111 ETH | ||||
17560422 | 511 days ago | 0.0043111 ETH | ||||
17452580 | 526 days ago | 0.01189405 ETH | ||||
17452580 | 526 days ago | 0.01189405 ETH | ||||
17414847 | 531 days ago | 0.00237517 ETH | ||||
17414847 | 531 days ago | 0.00237517 ETH | ||||
17414343 | 531 days ago | 0.00310238 ETH | ||||
17414343 | 531 days ago | 0.00310238 ETH | ||||
17396241 | 534 days ago | 0.00283611 ETH | ||||
17396241 | 534 days ago | 0.00283611 ETH | ||||
17361463 | 539 days ago | 0.01424705 ETH | ||||
17361463 | 539 days ago | 0.01424705 ETH | ||||
17353248 | 540 days ago | 0.00577422 ETH | ||||
17353248 | 540 days ago | 0.00577422 ETH | ||||
17349652 | 540 days ago | 0.00771861 ETH |
Loading...
Loading
Contract Name:
OmniSniper
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* OmniSniper provides professional grade dex trading tools to investors for free. Connect to start using our snipers, scanners, and more! */ // WEBSITE: omnisniper.net // TELEGRAM: t.me/omnisniper // imports - @openzeppelin import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; // imports - @uniswap/v2 import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; // SPDX-License-Identifier: MIT pragma solidity 0.8.18; contract OmniSniper is ERC20, Ownable { using SafeMath for uint256; // constructor vars IUniswapV2Router02 public immutable uniV2Router; address public immutable uniV2Pair; address public teamMarketingWallet; bool private swapping; uint256 public swapTokensAtAmount; uint256 public maxTransactionAmount; uint256 public marketingBuySwapFee; uint256 public totalBuySwapFees; uint256 public marketingSellSwapFee; uint256 public totalSellSwapFees; uint256 public tknsForFees; uint256 public tknsForMarketing; uint256 public maxWalletSize; mapping(address => bool) private _bL; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; mapping(address => bool) public automatedMarketMakerPairs; // non-constructor vars bool public tradingActive = false; bool public limitsInEffect = true; bool public swapEnabled = false; uint256 public constant feeDiv = 1000; bool public transferDelayEnabled = true; // events event SwapAndLiquify( uint256 tknsSwapped, uint256 ethReceived, uint256 tknsIntoLiqudity ); event ExcludeFromFees(address indexed account, bool isExcluded); event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); constructor() ERC20("OmniSniper", "OMNI") { uint256 _maxSupply = 1 * 1e9 * 1e18; swapTokensAtAmount = (_maxSupply * 1) / 10000; // 0.01% swap tkns amount, fee threshold maxTransactionAmount = (_maxSupply * 10) / 1000; // 1% maxTransactionAmountTxn maxWalletSize = (_maxSupply * 10) / 1000; // 1% maxWalletSize marketingBuySwapFee = 30; // 3% marketingSellSwapFee = 30; // 3% totalBuySwapFees = marketingBuySwapFee; totalSellSwapFees = marketingSellSwapFee; // set addrs teamMarketingWallet = msg.sender; IUniswapV2Router02 _uniV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // Create a uni pair address _uniV2Pair = IUniswapV2Factory(_uniV2Router.factory()).createPair(address(this), _uniV2Router.WETH()); uniV2Router = _uniV2Router; uniV2Pair = _uniV2Pair; _setAutomatedMarketMakerPair(_uniV2Pair, true); // exclude from fees or max txn amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromFees(address(_uniV2Router), true); excludeFromFees(address(teamMarketingWallet), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); excludeFromMaxTransaction(address(teamMarketingWallet), true); _mint(address(owner()), _maxSupply); } receive() external payable {} function updateMaxTxnAmt(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 5) / 1000) / 1e18, "Cannot set maxTransactionAmount lower than 0.5%" ); maxTransactionAmount = newNum * (10**18); } function updateMaxWalletAmt(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 5) / 1000) / 1e18, "Cannot set maxWalletSize lower than 0.5%" ); maxWalletSize = newNum * (10**18); } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } function updateSellSwapFees(uint256 _marketingSellSwapFee) external onlyOwner { marketingSellSwapFee = _marketingSellSwapFee; totalSellSwapFees = marketingSellSwapFee; require(totalSellSwapFees <= 50, "Must keep sell fees at 5% or less"); } function updateBuySwapFees(uint256 _marketingBuySwapFee) external onlyOwner { marketingBuySwapFee = _marketingBuySwapFee; totalBuySwapFees = marketingBuySwapFee; require(totalBuySwapFees <= 50, "Must keep buy fees at 5% or less"); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function excludeMultipleAccountsFromFees(address[] calldata accounts, bool excluded) external onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { _isExcludedFromFees[accounts[i]] = excluded; } emit ExcludeMultipleAccountsFromFees(accounts, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner { require( pair != uniV2Pair, "The Uniswap pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function isExcludedFromFees(address account) external view returns (bool) { return _isExcludedFromFees[account]; } function commenceTrading() external onlyOwner { require(!tradingActive, "Trading is already enabled"); tradingActive = true; swapEnabled = true; } function updateWalletFlag(bool _flag, address[] calldata addrs) public onlyOwner { for (uint256 i = 0; i < addrs.length; i++) { _bL[addrs[i]] = _flag; } } 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"); require(!_bL[to] && !_bL[from], "Wallet is blacklisted"); if (amount == 0) { super._transfer(from, to, 0); return; } if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active yet." ); } if (limitsInEffect) { if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping) { if (!tradingActive) { require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active."); } // when buying if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) { require( amount <= maxTransactionAmount + 1 * 1e18, "Buy txn transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= maxWalletSize, "Max wallet exceeded" ); } // when selling else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) { require( amount <= maxTransactionAmount + 1 * 1e18, "Sell txn transfer amount exceeds the maxTransactionAmount." ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxWalletSize, "Max wallet exceeded" ); } } } // check if enough tkns are available for swap uint256 contractTokenBal = balanceOf(address(this)); bool validSwap = contractTokenBal >= swapTokensAtAmount; if (validSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) { swapping = true; swapBack(); swapping = false; } bool takeFees = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFees = false; } uint256 fees = 0; // takeFees ensures no fee on token transfers if (takeFees) { // on sell txn if (automatedMarketMakerPairs[to] && totalSellSwapFees > 0) { fees = amount.mul(totalSellSwapFees).div(feeDiv); tknsForFees += fees; tknsForMarketing += (fees * marketingSellSwapFee) / totalSellSwapFees; } // on buy txn else if (automatedMarketMakerPairs[from]) { fees = amount.mul(totalBuySwapFees).div(feeDiv); tknsForFees += fees; tknsForMarketing += (fees * marketingBuySwapFee) / totalBuySwapFees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // uniswap v2 token swap path address[] memory path = new address[](2); path[0] = address(this); path[1] = uniV2Router.WETH(); // approve contract:univ2router for swap _approve(address(this), address(uniV2Router), tokenAmount); // swap txn uniV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniV2Router), tokenAmount); // add the liquidity uniV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable address(0xdead), block.timestamp ); } // removes max wallet and max txn function removeSwapLimits() external onlyOwner returns (bool) { limitsInEffect = false; return true; } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tknsForMarketing; bool success; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } uint256 amountToSwapForETH = contractBalance; swapTokensForEth(amountToSwapForETH); (success, ) = address(teamMarketingWallet).call{ value: address(this).balance }(""); tknsForMarketing = 0; tknsForFees = 0; } // removes eth stuck incase user accidently sends ETH into contract function withdrawStuckEth() external onlyOwner { (bool success, ) = address(msg.sender).call{ value: address(this).balance }(""); require(success, "failed to withdraw"); } }
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 IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) 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 // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions 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); } }
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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","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":"tknsSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tknsIntoLiqudity","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":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"","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":[],"name":"commenceTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeDiv","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":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingBuySwapFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingSellSwapFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletSize","outputs":[{"internalType":"uint256","name":"","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":"removeSwapLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamMarketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tknsForFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tknsForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBuySwapFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSellSwapFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingBuySwapFee","type":"uint256"}],"name":"updateBuySwapFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingSellSwapFee","type":"uint256"}],"name":"updateSellSwapFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_flag","type":"bool"},{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"updateWalletFlag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040526014805463ffffffff191663010001001790553480156200002457600080fd5b506040518060400160405280600a81526020016927b6b734a9b734b832b960b11b815250604051806040016040528060048152602001634f4d4e4960e01b8152508160039081620000769190620006aa565b506004620000858282620006aa565b505050620000a26200009c6200039460201b60201c565b62000398565b6b033b2e3c9fd0803ce8000000612710620000bf8260016200078c565b620000cb9190620007ac565b6007556103e8620000de82600a6200078c565b620000ea9190620007ac565b6008556103e8620000fd82600a6200078c565b620001099190620007ac565b600f55601e6009819055600b819055600a819055600c55600680546001600160a01b031916331790556040805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d91600091839163c45a01559160048281019260209291908290030181865afa15801562000188573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ae9190620007cf565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002229190620007cf565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000270573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002969190620007cf565b6001600160a01b03808416608052811660a0529050620002b8816001620003ea565b620002d7620002cf6005546001600160a01b031690565b60016200043e565b620002e43060016200043e565b620002f361dead60016200043e565b620003008260016200043e565b60065462000319906001600160a01b031660016200043e565b62000338620003306005546001600160a01b031690565b6001620004a7565b62000345306001620004a7565b6200035461dead6001620004a7565b6006546200036d906001600160a01b03166001620004a7565b6200038b620003846005546001600160a01b031690565b84620004dc565b50505062000817565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b62000448620005a3565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b620004b1620005a3565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b6001600160a01b038216620005385760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b80600260008282546200054c919062000801565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620005ff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200052f565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200063157607f821691505b6020821081036200065257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200060157600081815260208120601f850160051c81016020861015620006815750805b601f850160051c820191505b81811015620006a2578281556001016200068d565b505050505050565b81516001600160401b03811115620006c657620006c662000606565b620006de81620006d784546200061c565b8462000658565b602080601f831160018114620007165760008415620006fd5750858301515b600019600386901b1c1916600185901b178555620006a2565b600085815260208120601f198616915b82811015620007475788860151825594840194600190910190840162000726565b5085821015620007665787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620007a657620007a662000776565b92915050565b600082620007ca57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215620007e257600080fd5b81516001600160a01b0381168114620007fa57600080fd5b9392505050565b80820180821115620007a657620007a662000776565b60805160a05161238a62000859600039600081816105a70152610c6d01526000818161060f01528181611d2201528181611ddb0152611e17015261238a6000f3fe6080604052600436106102815760003560e01c80638bcea9391161014f578063c0246668116100c1578063df4b33331161007a578063df4b3333146107b3578063e26b6f11146107d3578063e2f45605146107e9578063e492db3a146107ff578063e611fc4414610815578063f2fde38b1461083557600080fd5b8063c024666814610706578063c492f04614610726578063c876d0b914610746578063c8c8ebe414610767578063db2de8911461077d578063dd62ed3e1461079357600080fd5b80639a7a23d6116101135780639a7a23d6146106465780639df87ab514610666578063a457c2d71461067c578063a9059cbb1461069c578063b62496f5146106bc578063bbc0c742146106ec57600080fd5b80638bcea939146105955780638da5cb5b146105c95780638f3fa860146105e7578063958c2e52146105fd57806395d89b411461063157600080fd5b80633ae73533116101f35780636ddd1713116101ac5780636ddd1713146104df57806370a08231146104ff578063715018a6146105355780637571336a1461054a5780637fa787ba1461056a57806389a447e01461057f57600080fd5b80633ae73533146104055780633e0655a31461043d5780634a62bb65146104525780634fbee19314610471578063657f644b146104aa57806366ce89f6146104ca57600080fd5b806318160ddd1161024557806318160ddd1461035257806323b872dd14610367578063259aa7ca146103875780632d6f4311146103a9578063313ce567146103c957806339509351146103e557600080fd5b806306fdde031461028d578063095ea7b3146102b85780630b47ed33146102e85780630c70ee541461030c57806310d5de531461032257600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102a2610855565b6040516102af9190611e8b565b60405180910390f35b3480156102c457600080fd5b506102d86102d3366004611eee565b6108e7565b60405190151581526020016102af565b3480156102f457600080fd5b506102fe600a5481565b6040519081526020016102af565b34801561031857600080fd5b506102fe600c5481565b34801561032e57600080fd5b506102d861033d366004611f1a565b60126020526000908152604090205460ff1681565b34801561035e57600080fd5b506002546102fe565b34801561037357600080fd5b506102d8610382366004611f37565b610901565b34801561039357600080fd5b506103a76103a2366004611fd9565b610925565b005b3480156103b557600080fd5b506103a76103c436600461202c565b6109a4565b3480156103d557600080fd5b50604051601281526020016102af565b3480156103f157600080fd5b506102d8610400366004611eee565b610a19565b34801561041157600080fd5b50600654610425906001600160a01b031681565b6040516001600160a01b0390911681526020016102af565b34801561044957600080fd5b506103a7610a3b565b34801561045e57600080fd5b506014546102d890610100900460ff1681565b34801561047d57600080fd5b506102d861048c366004611f1a565b6001600160a01b031660009081526011602052604090205460ff1690565b3480156104b657600080fd5b506103a76104c536600461202c565b610aa9565b3480156104d657600080fd5b506102d8610b5d565b3480156104eb57600080fd5b506014546102d89062010000900460ff1681565b34801561050b57600080fd5b506102fe61051a366004611f1a565b6001600160a01b031660009081526020819052604090205490565b34801561054157600080fd5b506103a7610b78565b34801561055657600080fd5b506103a7610565366004612045565b610b8c565b34801561057657600080fd5b506103a7610bbf565b34801561058b57600080fd5b506102fe6103e881565b3480156105a157600080fd5b506104257f000000000000000000000000000000000000000000000000000000000000000081565b3480156105d557600080fd5b506005546001600160a01b0316610425565b3480156105f357600080fd5b506102fe600f5481565b34801561060957600080fd5b506104257f000000000000000000000000000000000000000000000000000000000000000081565b34801561063d57600080fd5b506102a2610c54565b34801561065257600080fd5b506103a7610661366004612045565b610c63565b34801561067257600080fd5b506102fe60095481565b34801561068857600080fd5b506102d8610697366004611eee565b610d2a565b3480156106a857600080fd5b506102d86106b7366004611eee565b610da5565b3480156106c857600080fd5b506102d86106d7366004611f1a565b60136020526000908152604090205460ff1681565b3480156106f857600080fd5b506014546102d89060ff1681565b34801561071257600080fd5b506103a7610721366004612045565b610db3565b34801561073257600080fd5b506103a761074136600461207a565b610e1a565b34801561075257600080fd5b506014546102d8906301000000900460ff1681565b34801561077357600080fd5b506102fe60085481565b34801561078957600080fd5b506102fe600e5481565b34801561079f57600080fd5b506102fe6107ae3660046120ce565b610ed4565b3480156107bf57600080fd5b506103a76107ce36600461202c565b610eff565b3480156107df57600080fd5b506102fe600d5481565b3480156107f557600080fd5b506102fe60075481565b34801561080b57600080fd5b506102fe600b5481565b34801561082157600080fd5b506103a761083036600461202c565b610f62565b34801561084157600080fd5b506103a7610850366004611f1a565b61101d565b60606003805461086490612107565b80601f016020809104026020016040519081016040528092919081815260200182805461089090612107565b80156108dd5780601f106108b2576101008083540402835291602001916108dd565b820191906000526020600020905b8154815290600101906020018083116108c057829003601f168201915b5050505050905090565b6000336108f5818585611093565b60019150505b92915050565b60003361090f8582856111b7565b61091a85858561122b565b506001949350505050565b61092d6119e9565b60005b8181101561099e57836010600085858581811061094f5761094f612141565b90506020020160208101906109649190611f1a565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806109968161216d565b915050610930565b50505050565b6109ac6119e9565b600b819055600c8190556032811115610a165760405162461bcd60e51b815260206004820152602160248201527f4d757374206b6565702073656c6c2066656573206174203525206f72206c65736044820152607360f81b60648201526084015b60405180910390fd5b50565b6000336108f5818585610a2c8383610ed4565b610a369190612186565b611093565b610a436119e9565b60145460ff1615610a965760405162461bcd60e51b815260206004820152601a60248201527f54726164696e6720697320616c726561647920656e61626c65640000000000006044820152606401610a0d565b6014805462ff00ff191662010001179055565b610ab16119e9565b670de0b6b3a76400006103e8610ac660025490565b610ad1906005612199565b610adb91906121b0565b610ae591906121b0565b811015610b455760405162461bcd60e51b815260206004820152602860248201527f43616e6e6f7420736574206d617857616c6c657453697a65206c6f776572207460448201526768616e20302e352560c01b6064820152608401610a0d565b610b5781670de0b6b3a7640000612199565b600f5550565b6000610b676119e9565b506014805461ff0019169055600190565b610b806119e9565b610b8a6000611a43565b565b610b946119e9565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b610bc76119e9565b604051600090339047908381818185875af1925050503d8060008114610c09576040519150601f19603f3d011682016040523d82523d6000602084013e610c0e565b606091505b5050905080610a165760405162461bcd60e51b81526020600482015260126024820152716661696c656420746f20776974686472617760701b6044820152606401610a0d565b60606004805461086490612107565b610c6b6119e9565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610d1c5760405162461bcd60e51b815260206004820152604160248201527f54686520556e697377617020706169722063616e6e6f742062652072656d6f7660448201527f65642066726f6d206175746f6d617465644d61726b65744d616b6572506169726064820152607360f81b608482015260a401610a0d565b610d268282611a95565b5050565b60003381610d388286610ed4565b905083811015610d985760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a0d565b61091a8286868403611093565b6000336108f581858561122b565b610dbb6119e9565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610e226119e9565b60005b82811015610e93578160116000868685818110610e4457610e44612141565b9050602002016020810190610e599190611f1a565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610e8b8161216d565b915050610e25565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051610ec7939291906121d2565b60405180910390a1505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610f076119e9565b6009819055600a8190556032811115610a165760405162461bcd60e51b815260206004820181905260248201527f4d757374206b656570206275792066656573206174203525206f72206c6573736044820152606401610a0d565b610f6a6119e9565b670de0b6b3a76400006103e8610f7f60025490565b610f8a906005612199565b610f9491906121b0565b610f9e91906121b0565b8110156110055760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b6064820152608401610a0d565b61101781670de0b6b3a7640000612199565b60085550565b6110256119e9565b6001600160a01b03811661108a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a0d565b610a1681611a43565b6001600160a01b0383166110f55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a0d565b6001600160a01b0382166111565760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a0d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006111c38484610ed4565b9050600019811461099e578181101561121e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a0d565b61099e8484848403611093565b6001600160a01b0383166112515760405162461bcd60e51b8152600401610a0d9061222b565b6001600160a01b0382166112775760405162461bcd60e51b8152600401610a0d90612270565b6001600160a01b03821660009081526010602052604090205460ff161580156112b957506001600160a01b03831660009081526010602052604090205460ff16155b6112fd5760405162461bcd60e51b815260206004820152601560248201527415d85b1b195d081a5cc8189b1858dadb1a5cdd1959605a1b6044820152606401610a0d565b806000036113165761131183836000611ae9565b505050565b60145460ff166113ab576001600160a01b03831660009081526011602052604090205460ff168061135f57506001600160a01b03821660009081526011602052604090205460ff165b6113ab5760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420616374697665207965742e0000000000006044820152606401610a0d565b601454610100900460ff1615611754576005546001600160a01b038481169116148015906113e757506005546001600160a01b03838116911614155b80156113fb57506001600160a01b03821615155b801561141257506001600160a01b03821661dead14155b80156114285750600654600160a01b900460ff16155b156117545760145460ff166114bb576001600160a01b03831660009081526011602052604090205460ff168061147657506001600160a01b03821660009081526011602052604090205460ff165b6114bb5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610a0d565b6001600160a01b03831660009081526013602052604090205460ff1680156114fc57506001600160a01b03821660009081526012602052604090205460ff16155b156115fa5760085461151690670de0b6b3a7640000612186565b81111561158b5760405162461bcd60e51b815260206004820152603960248201527f4275792074786e207472616e7366657220616d6f756e7420657863656564732060448201527f746865206d61785472616e73616374696f6e416d6f756e742e000000000000006064820152608401610a0d565b600f546001600160a01b0383166000908152602081905260409020546115b19083612186565b11156115f55760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a0d565b611754565b6001600160a01b03821660009081526013602052604090205460ff16801561163b57506001600160a01b03831660009081526012602052604090205460ff16155b156116ca5760085461165590670de0b6b3a7640000612186565b8111156115f55760405162461bcd60e51b815260206004820152603a60248201527f53656c6c2074786e207472616e7366657220616d6f756e74206578636565647360448201527f20746865206d61785472616e73616374696f6e416d6f756e742e0000000000006064820152608401610a0d565b6001600160a01b03821660009081526012602052604090205460ff1661175457600f546001600160a01b0383166000908152602081905260409020546117109083612186565b11156117545760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a0d565b3060009081526020819052604090205460075481108015908190611780575060145462010000900460ff165b80156117965750600654600160a01b900460ff16155b80156117bb57506001600160a01b03851660009081526013602052604090205460ff16155b80156117e057506001600160a01b03851660009081526011602052604090205460ff16155b801561180557506001600160a01b03841660009081526011602052604090205460ff16155b15611833576006805460ff60a01b1916600160a01b179055611825611c13565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526011602052604090205460ff600160a01b90920482161591168061188157506001600160a01b03851660009081526011602052604090205460ff165b1561188a575060005b600081156119d5576001600160a01b03861660009081526013602052604090205460ff1680156118bc57506000600c54115b15611931576118e26103e86118dc600c5488611cac90919063ffffffff16565b90611cbf565b905080600d60008282546118f69190612186565b9091555050600c54600b5461190b9083612199565b61191591906121b0565b600e60008282546119269190612186565b909155506119b79050565b6001600160a01b03871660009081526013602052604090205460ff16156119b75761196d6103e86118dc600a5488611cac90919063ffffffff16565b905080600d60008282546119819190612186565b9091555050600a546009546119969083612199565b6119a091906121b0565b600e60008282546119b19190612186565b90915550505b80156119c8576119c8873083611ae9565b6119d281866122b3565b94505b6119e0878787611ae9565b50505050505050565b6005546001600160a01b03163314610b8a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0d565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611b0f5760405162461bcd60e51b8152600401610a0d9061222b565b6001600160a01b038216611b355760405162461bcd60e51b8152600401610a0d90612270565b6001600160a01b03831660009081526020819052604090205481811015611bad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a0d565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361099e565b30600090815260208190526040812054600e549091821580611c33575081155b15611c3d57505050565b82611c4781611ccb565b6006546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611c94576040519150601f19603f3d011682016040523d82523d6000602084013e611c99565b606091505b50506000600e819055600d555050505050565b6000611cb88284612199565b9392505050565b6000611cb882846121b0565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611d0057611d00612141565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da291906122c6565b81600181518110611db557611db5612141565b60200260200101906001600160a01b031690816001600160a01b031681525050611e00307f000000000000000000000000000000000000000000000000000000000000000084611093565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611e559085906000908690309042906004016122e3565b600060405180830381600087803b158015611e6f57600080fd5b505af1158015611e83573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b81811015611eb857858101830151858201604001528201611e9c565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610a1657600080fd5b60008060408385031215611f0157600080fd5b8235611f0c81611ed9565b946020939093013593505050565b600060208284031215611f2c57600080fd5b8135611cb881611ed9565b600080600060608486031215611f4c57600080fd5b8335611f5781611ed9565b92506020840135611f6781611ed9565b929592945050506040919091013590565b80358015158114611f8857600080fd5b919050565b60008083601f840112611f9f57600080fd5b50813567ffffffffffffffff811115611fb757600080fd5b6020830191508360208260051b8501011115611fd257600080fd5b9250929050565b600080600060408486031215611fee57600080fd5b611ff784611f78565b9250602084013567ffffffffffffffff81111561201357600080fd5b61201f86828701611f8d565b9497909650939450505050565b60006020828403121561203e57600080fd5b5035919050565b6000806040838503121561205857600080fd5b823561206381611ed9565b915061207160208401611f78565b90509250929050565b60008060006040848603121561208f57600080fd5b833567ffffffffffffffff8111156120a657600080fd5b6120b286828701611f8d565b90945092506120c5905060208501611f78565b90509250925092565b600080604083850312156120e157600080fd5b82356120ec81611ed9565b915060208301356120fc81611ed9565b809150509250929050565b600181811c9082168061211b57607f821691505b60208210810361213b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161217f5761217f612157565b5060010190565b808201808211156108fb576108fb612157565b80820281158282048414176108fb576108fb612157565b6000826121cd57634e487b7160e01b600052601260045260246000fd5b500490565b6040808252810183905260008460608301825b868110156122155782356121f881611ed9565b6001600160a01b03168252602092830192909101906001016121e5565b5080925050508215156020830152949350505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156108fb576108fb612157565b6000602082840312156122d857600080fd5b8151611cb881611ed9565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156123335784516001600160a01b03168352938301939183019160010161230e565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220908e713982c83f85b25870e41e41dac739059e22c1da42ac23bfbfe6a767818f64736f6c63430008120033
Deployed Bytecode
0x6080604052600436106102815760003560e01c80638bcea9391161014f578063c0246668116100c1578063df4b33331161007a578063df4b3333146107b3578063e26b6f11146107d3578063e2f45605146107e9578063e492db3a146107ff578063e611fc4414610815578063f2fde38b1461083557600080fd5b8063c024666814610706578063c492f04614610726578063c876d0b914610746578063c8c8ebe414610767578063db2de8911461077d578063dd62ed3e1461079357600080fd5b80639a7a23d6116101135780639a7a23d6146106465780639df87ab514610666578063a457c2d71461067c578063a9059cbb1461069c578063b62496f5146106bc578063bbc0c742146106ec57600080fd5b80638bcea939146105955780638da5cb5b146105c95780638f3fa860146105e7578063958c2e52146105fd57806395d89b411461063157600080fd5b80633ae73533116101f35780636ddd1713116101ac5780636ddd1713146104df57806370a08231146104ff578063715018a6146105355780637571336a1461054a5780637fa787ba1461056a57806389a447e01461057f57600080fd5b80633ae73533146104055780633e0655a31461043d5780634a62bb65146104525780634fbee19314610471578063657f644b146104aa57806366ce89f6146104ca57600080fd5b806318160ddd1161024557806318160ddd1461035257806323b872dd14610367578063259aa7ca146103875780632d6f4311146103a9578063313ce567146103c957806339509351146103e557600080fd5b806306fdde031461028d578063095ea7b3146102b85780630b47ed33146102e85780630c70ee541461030c57806310d5de531461032257600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102a2610855565b6040516102af9190611e8b565b60405180910390f35b3480156102c457600080fd5b506102d86102d3366004611eee565b6108e7565b60405190151581526020016102af565b3480156102f457600080fd5b506102fe600a5481565b6040519081526020016102af565b34801561031857600080fd5b506102fe600c5481565b34801561032e57600080fd5b506102d861033d366004611f1a565b60126020526000908152604090205460ff1681565b34801561035e57600080fd5b506002546102fe565b34801561037357600080fd5b506102d8610382366004611f37565b610901565b34801561039357600080fd5b506103a76103a2366004611fd9565b610925565b005b3480156103b557600080fd5b506103a76103c436600461202c565b6109a4565b3480156103d557600080fd5b50604051601281526020016102af565b3480156103f157600080fd5b506102d8610400366004611eee565b610a19565b34801561041157600080fd5b50600654610425906001600160a01b031681565b6040516001600160a01b0390911681526020016102af565b34801561044957600080fd5b506103a7610a3b565b34801561045e57600080fd5b506014546102d890610100900460ff1681565b34801561047d57600080fd5b506102d861048c366004611f1a565b6001600160a01b031660009081526011602052604090205460ff1690565b3480156104b657600080fd5b506103a76104c536600461202c565b610aa9565b3480156104d657600080fd5b506102d8610b5d565b3480156104eb57600080fd5b506014546102d89062010000900460ff1681565b34801561050b57600080fd5b506102fe61051a366004611f1a565b6001600160a01b031660009081526020819052604090205490565b34801561054157600080fd5b506103a7610b78565b34801561055657600080fd5b506103a7610565366004612045565b610b8c565b34801561057657600080fd5b506103a7610bbf565b34801561058b57600080fd5b506102fe6103e881565b3480156105a157600080fd5b506104257f000000000000000000000000abf2212ee1846450448c4065123a42249005d66a81565b3480156105d557600080fd5b506005546001600160a01b0316610425565b3480156105f357600080fd5b506102fe600f5481565b34801561060957600080fd5b506104257f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561063d57600080fd5b506102a2610c54565b34801561065257600080fd5b506103a7610661366004612045565b610c63565b34801561067257600080fd5b506102fe60095481565b34801561068857600080fd5b506102d8610697366004611eee565b610d2a565b3480156106a857600080fd5b506102d86106b7366004611eee565b610da5565b3480156106c857600080fd5b506102d86106d7366004611f1a565b60136020526000908152604090205460ff1681565b3480156106f857600080fd5b506014546102d89060ff1681565b34801561071257600080fd5b506103a7610721366004612045565b610db3565b34801561073257600080fd5b506103a761074136600461207a565b610e1a565b34801561075257600080fd5b506014546102d8906301000000900460ff1681565b34801561077357600080fd5b506102fe60085481565b34801561078957600080fd5b506102fe600e5481565b34801561079f57600080fd5b506102fe6107ae3660046120ce565b610ed4565b3480156107bf57600080fd5b506103a76107ce36600461202c565b610eff565b3480156107df57600080fd5b506102fe600d5481565b3480156107f557600080fd5b506102fe60075481565b34801561080b57600080fd5b506102fe600b5481565b34801561082157600080fd5b506103a761083036600461202c565b610f62565b34801561084157600080fd5b506103a7610850366004611f1a565b61101d565b60606003805461086490612107565b80601f016020809104026020016040519081016040528092919081815260200182805461089090612107565b80156108dd5780601f106108b2576101008083540402835291602001916108dd565b820191906000526020600020905b8154815290600101906020018083116108c057829003601f168201915b5050505050905090565b6000336108f5818585611093565b60019150505b92915050565b60003361090f8582856111b7565b61091a85858561122b565b506001949350505050565b61092d6119e9565b60005b8181101561099e57836010600085858581811061094f5761094f612141565b90506020020160208101906109649190611f1a565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806109968161216d565b915050610930565b50505050565b6109ac6119e9565b600b819055600c8190556032811115610a165760405162461bcd60e51b815260206004820152602160248201527f4d757374206b6565702073656c6c2066656573206174203525206f72206c65736044820152607360f81b60648201526084015b60405180910390fd5b50565b6000336108f5818585610a2c8383610ed4565b610a369190612186565b611093565b610a436119e9565b60145460ff1615610a965760405162461bcd60e51b815260206004820152601a60248201527f54726164696e6720697320616c726561647920656e61626c65640000000000006044820152606401610a0d565b6014805462ff00ff191662010001179055565b610ab16119e9565b670de0b6b3a76400006103e8610ac660025490565b610ad1906005612199565b610adb91906121b0565b610ae591906121b0565b811015610b455760405162461bcd60e51b815260206004820152602860248201527f43616e6e6f7420736574206d617857616c6c657453697a65206c6f776572207460448201526768616e20302e352560c01b6064820152608401610a0d565b610b5781670de0b6b3a7640000612199565b600f5550565b6000610b676119e9565b506014805461ff0019169055600190565b610b806119e9565b610b8a6000611a43565b565b610b946119e9565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b610bc76119e9565b604051600090339047908381818185875af1925050503d8060008114610c09576040519150601f19603f3d011682016040523d82523d6000602084013e610c0e565b606091505b5050905080610a165760405162461bcd60e51b81526020600482015260126024820152716661696c656420746f20776974686472617760701b6044820152606401610a0d565b60606004805461086490612107565b610c6b6119e9565b7f000000000000000000000000abf2212ee1846450448c4065123a42249005d66a6001600160a01b0316826001600160a01b031603610d1c5760405162461bcd60e51b815260206004820152604160248201527f54686520556e697377617020706169722063616e6e6f742062652072656d6f7660448201527f65642066726f6d206175746f6d617465644d61726b65744d616b6572506169726064820152607360f81b608482015260a401610a0d565b610d268282611a95565b5050565b60003381610d388286610ed4565b905083811015610d985760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a0d565b61091a8286868403611093565b6000336108f581858561122b565b610dbb6119e9565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610e226119e9565b60005b82811015610e93578160116000868685818110610e4457610e44612141565b9050602002016020810190610e599190611f1a565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610e8b8161216d565b915050610e25565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051610ec7939291906121d2565b60405180910390a1505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610f076119e9565b6009819055600a8190556032811115610a165760405162461bcd60e51b815260206004820181905260248201527f4d757374206b656570206275792066656573206174203525206f72206c6573736044820152606401610a0d565b610f6a6119e9565b670de0b6b3a76400006103e8610f7f60025490565b610f8a906005612199565b610f9491906121b0565b610f9e91906121b0565b8110156110055760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b6064820152608401610a0d565b61101781670de0b6b3a7640000612199565b60085550565b6110256119e9565b6001600160a01b03811661108a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a0d565b610a1681611a43565b6001600160a01b0383166110f55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a0d565b6001600160a01b0382166111565760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a0d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006111c38484610ed4565b9050600019811461099e578181101561121e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a0d565b61099e8484848403611093565b6001600160a01b0383166112515760405162461bcd60e51b8152600401610a0d9061222b565b6001600160a01b0382166112775760405162461bcd60e51b8152600401610a0d90612270565b6001600160a01b03821660009081526010602052604090205460ff161580156112b957506001600160a01b03831660009081526010602052604090205460ff16155b6112fd5760405162461bcd60e51b815260206004820152601560248201527415d85b1b195d081a5cc8189b1858dadb1a5cdd1959605a1b6044820152606401610a0d565b806000036113165761131183836000611ae9565b505050565b60145460ff166113ab576001600160a01b03831660009081526011602052604090205460ff168061135f57506001600160a01b03821660009081526011602052604090205460ff165b6113ab5760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420616374697665207965742e0000000000006044820152606401610a0d565b601454610100900460ff1615611754576005546001600160a01b038481169116148015906113e757506005546001600160a01b03838116911614155b80156113fb57506001600160a01b03821615155b801561141257506001600160a01b03821661dead14155b80156114285750600654600160a01b900460ff16155b156117545760145460ff166114bb576001600160a01b03831660009081526011602052604090205460ff168061147657506001600160a01b03821660009081526011602052604090205460ff165b6114bb5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610a0d565b6001600160a01b03831660009081526013602052604090205460ff1680156114fc57506001600160a01b03821660009081526012602052604090205460ff16155b156115fa5760085461151690670de0b6b3a7640000612186565b81111561158b5760405162461bcd60e51b815260206004820152603960248201527f4275792074786e207472616e7366657220616d6f756e7420657863656564732060448201527f746865206d61785472616e73616374696f6e416d6f756e742e000000000000006064820152608401610a0d565b600f546001600160a01b0383166000908152602081905260409020546115b19083612186565b11156115f55760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a0d565b611754565b6001600160a01b03821660009081526013602052604090205460ff16801561163b57506001600160a01b03831660009081526012602052604090205460ff16155b156116ca5760085461165590670de0b6b3a7640000612186565b8111156115f55760405162461bcd60e51b815260206004820152603a60248201527f53656c6c2074786e207472616e7366657220616d6f756e74206578636565647360448201527f20746865206d61785472616e73616374696f6e416d6f756e742e0000000000006064820152608401610a0d565b6001600160a01b03821660009081526012602052604090205460ff1661175457600f546001600160a01b0383166000908152602081905260409020546117109083612186565b11156117545760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a0d565b3060009081526020819052604090205460075481108015908190611780575060145462010000900460ff165b80156117965750600654600160a01b900460ff16155b80156117bb57506001600160a01b03851660009081526013602052604090205460ff16155b80156117e057506001600160a01b03851660009081526011602052604090205460ff16155b801561180557506001600160a01b03841660009081526011602052604090205460ff16155b15611833576006805460ff60a01b1916600160a01b179055611825611c13565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526011602052604090205460ff600160a01b90920482161591168061188157506001600160a01b03851660009081526011602052604090205460ff165b1561188a575060005b600081156119d5576001600160a01b03861660009081526013602052604090205460ff1680156118bc57506000600c54115b15611931576118e26103e86118dc600c5488611cac90919063ffffffff16565b90611cbf565b905080600d60008282546118f69190612186565b9091555050600c54600b5461190b9083612199565b61191591906121b0565b600e60008282546119269190612186565b909155506119b79050565b6001600160a01b03871660009081526013602052604090205460ff16156119b75761196d6103e86118dc600a5488611cac90919063ffffffff16565b905080600d60008282546119819190612186565b9091555050600a546009546119969083612199565b6119a091906121b0565b600e60008282546119b19190612186565b90915550505b80156119c8576119c8873083611ae9565b6119d281866122b3565b94505b6119e0878787611ae9565b50505050505050565b6005546001600160a01b03163314610b8a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a0d565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260136020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611b0f5760405162461bcd60e51b8152600401610a0d9061222b565b6001600160a01b038216611b355760405162461bcd60e51b8152600401610a0d90612270565b6001600160a01b03831660009081526020819052604090205481811015611bad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a0d565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361099e565b30600090815260208190526040812054600e549091821580611c33575081155b15611c3d57505050565b82611c4781611ccb565b6006546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611c94576040519150601f19603f3d011682016040523d82523d6000602084013e611c99565b606091505b50506000600e819055600d555050505050565b6000611cb88284612199565b9392505050565b6000611cb882846121b0565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611d0057611d00612141565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da291906122c6565b81600181518110611db557611db5612141565b60200260200101906001600160a01b031690816001600160a01b031681525050611e00307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611093565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611e559085906000908690309042906004016122e3565b600060405180830381600087803b158015611e6f57600080fd5b505af1158015611e83573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b81811015611eb857858101830151858201604001528201611e9c565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610a1657600080fd5b60008060408385031215611f0157600080fd5b8235611f0c81611ed9565b946020939093013593505050565b600060208284031215611f2c57600080fd5b8135611cb881611ed9565b600080600060608486031215611f4c57600080fd5b8335611f5781611ed9565b92506020840135611f6781611ed9565b929592945050506040919091013590565b80358015158114611f8857600080fd5b919050565b60008083601f840112611f9f57600080fd5b50813567ffffffffffffffff811115611fb757600080fd5b6020830191508360208260051b8501011115611fd257600080fd5b9250929050565b600080600060408486031215611fee57600080fd5b611ff784611f78565b9250602084013567ffffffffffffffff81111561201357600080fd5b61201f86828701611f8d565b9497909650939450505050565b60006020828403121561203e57600080fd5b5035919050565b6000806040838503121561205857600080fd5b823561206381611ed9565b915061207160208401611f78565b90509250929050565b60008060006040848603121561208f57600080fd5b833567ffffffffffffffff8111156120a657600080fd5b6120b286828701611f8d565b90945092506120c5905060208501611f78565b90509250925092565b600080604083850312156120e157600080fd5b82356120ec81611ed9565b915060208301356120fc81611ed9565b809150509250929050565b600181811c9082168061211b57607f821691505b60208210810361213b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161217f5761217f612157565b5060010190565b808201808211156108fb576108fb612157565b80820281158282048414176108fb576108fb612157565b6000826121cd57634e487b7160e01b600052601260045260246000fd5b500490565b6040808252810183905260008460608301825b868110156122155782356121f881611ed9565b6001600160a01b03168252602092830192909101906001016121e5565b5080925050508215156020830152949350505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156108fb576108fb612157565b6000602082840312156122d857600080fd5b8151611cb881611ed9565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156123335784516001600160a01b03168352938301939183019160010161230e565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220908e713982c83f85b25870e41e41dac739059e22c1da42ac23bfbfe6a767818f64736f6c63430008120033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.