More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 221 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 20512981 | 148 days ago | IN | 0 ETH | 0.00052381 | ||||
Approve | 20144452 | 200 days ago | IN | 0 ETH | 0.00017266 | ||||
Approve | 18394720 | 445 days ago | IN | 0 ETH | 0.00062044 | ||||
Approve | 18380446 | 447 days ago | IN | 0 ETH | 0.00039365 | ||||
Approve | 18380429 | 447 days ago | IN | 0 ETH | 0.00044564 | ||||
Transfer | 18378047 | 447 days ago | IN | 0 ETH | 0.00071268 | ||||
Transfer | 18377952 | 447 days ago | IN | 0 ETH | 0.00087501 | ||||
Transfer | 18377888 | 447 days ago | IN | 0 ETH | 0.00241051 | ||||
Transfer | 18374923 | 448 days ago | IN | 0 ETH | 0.00041708 | ||||
Transfer | 18374906 | 448 days ago | IN | 0 ETH | 0.00056232 | ||||
Transfer | 18374902 | 448 days ago | IN | 0 ETH | 0.00043307 | ||||
Transfer | 18374883 | 448 days ago | IN | 0 ETH | 0.00047277 | ||||
Transfer | 18374880 | 448 days ago | IN | 0 ETH | 0.00047246 | ||||
Transfer | 18374843 | 448 days ago | IN | 0 ETH | 0.00074402 | ||||
Transfer | 18374529 | 448 days ago | IN | 0 ETH | 0.00054429 | ||||
Transfer | 18374515 | 448 days ago | IN | 0 ETH | 0.0002822 | ||||
Transfer | 18374505 | 448 days ago | IN | 0 ETH | 0.00053495 | ||||
Transfer | 18374499 | 448 days ago | IN | 0 ETH | 0.00051549 | ||||
Transfer | 18374486 | 448 days ago | IN | 0 ETH | 0.00050086 | ||||
Transfer | 18374475 | 448 days ago | IN | 0 ETH | 0.00058138 | ||||
Transfer | 18374463 | 448 days ago | IN | 0 ETH | 0.00056114 | ||||
Transfer | 18374451 | 448 days ago | IN | 0 ETH | 0.00053476 | ||||
Transfer | 18374440 | 448 days ago | IN | 0 ETH | 0.00060276 | ||||
Transfer | 18374428 | 448 days ago | IN | 0 ETH | 0.00054072 | ||||
Transfer | 18374415 | 448 days ago | IN | 0 ETH | 0.00051354 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
20512982 | 148 days ago | 0.00010961 ETH | ||||
20512982 | 148 days ago | 0.0000548 ETH | ||||
20512982 | 148 days ago | 0.00010961 ETH | ||||
20512982 | 148 days ago | 0.00027403 ETH | ||||
20144452 | 200 days ago | 0.00015604 ETH | ||||
20144452 | 200 days ago | 0.00007802 ETH | ||||
20144452 | 200 days ago | 0.00015604 ETH | ||||
20144452 | 200 days ago | 0.0003901 ETH | ||||
18394721 | 445 days ago | 0.00067957 ETH | ||||
18394721 | 445 days ago | 0.00033978 ETH | ||||
18394721 | 445 days ago | 0.00067957 ETH | ||||
18394721 | 445 days ago | 0.00169893 ETH | ||||
18380447 | 447 days ago | 0.00389892 ETH | ||||
18380447 | 447 days ago | 0.00194946 ETH | ||||
18380447 | 447 days ago | 0.00389892 ETH | ||||
18380447 | 447 days ago | 0.0097473 ETH | ||||
18342577 | 452 days ago | 0.00017548 ETH | ||||
18342577 | 452 days ago | 0.00008774 ETH | ||||
18342577 | 452 days ago | 0.00017548 ETH | ||||
18342577 | 452 days ago | 0.0004387 ETH | ||||
18342296 | 452 days ago | 0.00018786 ETH | ||||
18342296 | 452 days ago | 0.00009393 ETH | ||||
18342296 | 452 days ago | 0.00018786 ETH | ||||
18342296 | 452 days ago | 0.00046966 ETH | ||||
18340885 | 452 days ago | 0.0035933 ETH |
Loading...
Loading
Contract Name:
Ares
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.21; import "@openzeppelin/[email protected]/access/Ownable.sol"; import "@openzeppelin/[email protected]/token/ERC20/ERC20.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; /// @title Ares Token /// @notice An erc20 token contract with buy/sell fees /// @dev Inherits the OpenZepplin ERC20, Ownable implementation contract Ares is ERC20, Ownable { /// @notice custom errors error MaxFeeLimitExceeded(); error ZeroAddressNotAllowed(); error UpdateBoolValue(); error AmountNotInLimits(); error CanNotModifyMainPair(); error LimitsAlreadyDisabled(); error CannotClaimNativeToken(); error NotAuthorized(); /// @notice Max Fee limit for buy OR sell side uint16 constant public MAX_FEE_LIMIT = 5; /// @notice Minimum swap threshold amount that can be set /// to swap collected tax tokens to eth uint256 constant private MIN_SWAP_AT_AMOUNT = 1e3 * 1e9; /// @notice max supply of token uint256 constant private maxSupply = 4e7 * 1e9; // 40 million ///@notice max tokens that can swapped to convert fees to eth in single tx uint256 constant private MAX_SWAP_AMOUNT = 125_000 * 1e9; ///@notice burn address address constant public DEAD = address(0xdead); ///@notice wrapper contract to manage transferWithLock address private wrapperContract; ///@notice higest eth spent by single wallet uint256 private highestBuyAmount; /// @notice max wallet amount uint256 public maxWalletAmount = 125_000 * 1e9; /// max wallet status bool private limitEnabled = true; /// @notice struct for fees on buy side struct BuyFee { uint16 marketing; uint16 lottery; uint16 highBuyReward; } /// @notice struct for fees on sell side struct SellFee { uint16 marketing; uint16 lottery; uint16 highBuyReward; } /// @notice buyFees BuyFee public buyFees; /// @notice sellFees SellFee public sellFees; /// @notice sum of buy fees uint256 public totalBuyFees; /// @notice sum of sell fees uint256 private totalSellFees; /// @notice current highest eth spender address address public highestEthSpender; /// @notice lottery wallet address public lotteryWallet = 0x1d5393bda55199494b7845F8a2c7BA986145BC02; /// @notice marketing wallet address public marketingWallet = 0x46C5Ca6f51A67F380259b76bb17A58bD25F64359; /// @notice store winners in array address [] private winners; /// @notice address of uniswap V2 pair address public immutable uniswapV2Pair; /// @notice address of router IUniswapV2Router02 public immutable uniswapV2Router; /// @notice token threshold after which collected fees will be swapped to ether uint256 public swapTokensAtAmount = 1000 * 1e9; // 1000 tokens /// @dev last lp burn timestamp uint256 public lastBurnTimestamp; /// @dev total eth distributed till date in rewards uint256 public totalEthDistributed; /// @notice current higest eth spend amount mapping (address => uint256) public userBuyAmount; /// @notice mapping of user address which are excluded from fees mapping(address => bool) public isExcludedFromFees; /// @notice mapping of valid pair addresses mapping(address=> bool) public isLiquidityPair; /// @notice keep track of last buy Timestamp; mapping (address => uint256) private lastBuyTimestamp; /// @notice keep track of locked amount; mapping (address => uint256) private lockedAmount; /// @notice keep track of sent tokens mapping(address => uint256) private movedUnlockedAmount; /// @notice bool variable to indicate if collected fees can be swapped /// for ether or not bool public swapEnabled = true; /// @notice bool variable to be used while swapping bool private swapping; event SwapTokensAmountUpdated (uint256 indexed newAmount); event FeeWalletUpdated(address indexed newDevWallet, address indexed newMarketingWallet); event ExcludedFromFees (address account, bool value); event NewLPUpdated(address lp, bool value); event BuyFeesUpdated(uint16 lotteryFee, uint16 marketingFee, uint16 highBuyRewardFee); event SellFeesUpdated(uint16 lotteryFee, uint16 marketingFee, uint16 highBuyRewardFee); /// @notice Deploys the smart contract, /// update buy, sell fees, /// set the uniswap router address /// create uniswap v2 pair address, exclude the deployer, token address, /// burn wallet and fee wallet from fees. Mint the supply to owner. constructor() ERC20("Ares Baby", "$ARES"){ buyFees.marketing = 2; buyFees.lottery = 2; buyFees.highBuyReward = 1; sellFees.marketing = 2; sellFees.lottery = 2; sellFees.highBuyReward = 1; totalBuyFees = 5; totalSellFees = 5; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D //uniswap v2 router Mainnet and goerli ); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); isLiquidityPair[uniswapV2Pair] = true; isExcludedFromFees[msg.sender] = true; isExcludedFromFees[address(this)] = true; isExcludedFromFees[lotteryWallet] = true; isExcludedFromFees[marketingWallet]=true; isExcludedFromFees[DEAD] = true; wrapperContract = address(msg.sender); _mint(owner(), maxSupply); } /// @notice receive external ether receive () external payable {} ///@notice returns token decimals function decimals () public pure override returns (uint8) { return 9; } ///@dev update fee wallet ///@param _newLotteryFeeWallet: new dev wallet address ///@param _newMarketingFeeWallet: new marketing wallet address ///Requirements - /// _newLotteryFeeWallet address should not be zero address. function updateFeeWallets (address _newLotteryFeeWallet, address _newMarketingFeeWallet) external onlyOwner { if(_newLotteryFeeWallet == address(0) || _newMarketingFeeWallet == address(0)){ revert ZeroAddressNotAllowed(); } lotteryWallet = _newLotteryFeeWallet; marketingWallet = _newMarketingFeeWallet; emit FeeWalletUpdated(lotteryWallet, marketingWallet); } ///@dev update fees for buy ///@param lottery: new lottery fees ///@param marketing: new marketing fees ///@param highBuyReward: new high buy reward fees ///Requirements- /// sum of buy and sell should be less than equal to MAX_FEE function updateBuyFees (uint16 lottery, uint16 marketing, uint16 highBuyReward) external onlyOwner { if(lottery + marketing + highBuyReward > MAX_FEE_LIMIT){ revert MaxFeeLimitExceeded(); } buyFees.lottery = lottery; buyFees.marketing = marketing; buyFees.highBuyReward = highBuyReward; totalBuyFees = buyFees.lottery + buyFees.marketing + buyFees.highBuyReward; emit BuyFeesUpdated(lottery, marketing, highBuyReward); } ///@dev update fees for sell ///@param lottery: new lottery fees ///@param marketing: new marketing fees ///@param highBuyReward: new high buy reward fees ///Requirements- /// sum of buy and sell should be less than equal to MAX_FEE function updateSellFees (uint16 lottery, uint16 marketing, uint16 highBuyReward) external onlyOwner { if(lottery + marketing + highBuyReward > MAX_FEE_LIMIT){ revert MaxFeeLimitExceeded(); } sellFees.lottery = lottery; sellFees.marketing = marketing; sellFees.highBuyReward = highBuyReward; totalSellFees = lottery + marketing + highBuyReward; emit SellFeesUpdated(lottery, marketing, highBuyReward); } ///@dev exclude or include in fee mapping ///@param user: user to exclude or include in fee ///Requirements - /// owner must enter correct bool value function excludeFromFees (address user, bool isExcluded) external onlyOwner { if(isExcludedFromFees[user] == isExcluded){ revert UpdateBoolValue(); } isExcludedFromFees[user] = isExcluded; emit ExcludedFromFees(user, isExcluded); } ///@dev add or remove new pairs ///@param newPair; new pair address ///@param value: boolean value true true for adding, false for removing ///Requirements - ///Can't modify uniswapV2Pair (main pair) function manageLiquidityPairs (address newPair, bool value) external onlyOwner{ if(newPair == uniswapV2Pair){ revert CanNotModifyMainPair(); } isLiquidityPair[newPair] = value; emit NewLPUpdated(newPair, value); } ///@dev update the swap token amount ///@param _newSwapAmount: new token amount to swap threshold ///Requirements-- /// amount must greator than equal to MIN_SWAP_AT_AMOUNT function updateSwapTokensAtAmount (uint256 _newSwapAmount) external onlyOwner { if(_newSwapAmount < MIN_SWAP_AT_AMOUNT && _newSwapAmount > maxSupply / 100){ revert AmountNotInLimits(); } swapTokensAtAmount = _newSwapAmount; emit SwapTokensAmountUpdated(_newSwapAmount); } /// @notice remove limits globally /// @dev owner can remove the limits globally, /// once called it can never be restored function removeLimits() external onlyOwner { if(!limitEnabled){ revert LimitsAlreadyDisabled(); } limitEnabled = false; } /// @notice owner can claim other than native token /// @param token: token to rescue function claimStuckedTokens (address token) external onlyOwner { if(token == address(this)){ revert CannotClaimNativeToken(); } uint256 balance = IERC20(token).balanceOf(address(this)); IERC20(token).transfer(lotteryWallet, balance); } /// @dev claim stucked ether /// @param wallet: to which eth is being sent function claimEther(address wallet) external onlyOwner { (bool sent,) = wallet.call{value: address(this).balance}(""); require (sent, "eth transfer failed"); } function updateWrapper (address _wrapper) external onlyOwner { if(_wrapper == address(0)){ revert ZeroAddressNotAllowed(); } isExcludedFromFees[_wrapper] = true; wrapperContract = _wrapper; } ///@notice transfer function to manage token transfer/fees/limits ///@param from: token sender ///@param to: token receiver ///@param amount: amount to transfer ///@dev Moves a `value` amount of tokens from `from` to `to` /// there is fees on buy and sell transfer (based on liquidityPairAddress) /// Requirements -- /// from and to address should not be zero address /// amount must be greator than 0 /// trading should be enabled (owner and excluded address are exception) 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(amount > 0, "Transfer amount must be greater than zero"); uint256 contractBalance = balanceOf(address(this)); if ( swapEnabled && //if this is true !swapping && //if this is false !isLiquidityPair[from] && //if this is false !isExcludedFromFees[from] && //if this is false !isExcludedFromFees[to] && //if this false contractBalance >=swapTokensAtAmount //if this is true ) { if(contractBalance > MAX_SWAP_AMOUNT){ contractBalance = MAX_SWAP_AMOUNT; } swapping = true; swapAndliquify(contractBalance); swapping = false; } if( !swapping && //if this is false !isLiquidityPair[from] && //if this is false !isExcludedFromFees[from] && //if this is false !isExcludedFromFees[to] &&block.timestamp > lastBurnTimestamp + 1 hours){ uint256 lpBalance = balanceOf(uniswapV2Pair); uint256 amountToBurn = (lpBalance * 25) / 10000; //0.25% every hour lastBurnTimestamp = block.timestamp; super._transfer(uniswapV2Pair, DEAD, amountToBurn); IUniswapV2Pair(uniswapV2Pair).sync(); } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (isExcludedFromFees[from] || isExcludedFromFees[to]) { takeFee = false; } /// check unlocked amount for user, if it's not a buy transaction if(!isLiquidityPair[from]){ uint256 tAmount = lockedAmount[from]; (uint256 unlockedAmount, uint256 difference) = getUnlockedAmount(from); uint256 claimedAmount = movedUnlockedAmount[from]; require (unlockedAmount > 0, "No unlocked Tokens Yet"); if(unlockedAmount > difference){ if(unlockedAmount <= tAmount + difference && amount > unlockedAmount - difference){ require (amount <= unlockedAmount, "try to transfer less amount, 10% unlock per day"); movedUnlockedAmount[from] = claimedAmount + amount - difference; } else { movedUnlockedAmount[from] = claimedAmount + amount; } } if(unlockedAmount > tAmount && tAmount > 0){ lockedAmount[from] = 0; movedUnlockedAmount[from] = 0; } } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // if limits enabled, check maxWalletAmount limit if(limitEnabled){ if(!isLiquidityPair[to]){ require (balanceOf(to) + amount < maxWalletAmount, "maxWalletLimit exceeds"); } } uint256 currentEth = 0; //on sell if ( isLiquidityPair[to] && totalSellFees > 0) { fees = (amount * totalSellFees) / 100; } // on buy else if (isLiquidityPair[from] && totalBuyFees > 0) { fees = (amount * totalBuyFees) / 100; lastBuyTimestamp[to] = block.timestamp; uint256 lockedAmountUser = lockedAmount[to]; lockedAmount[to] = lockedAmountUser + (amount - fees); uint256 userPrevBuy = userBuyAmount[to]; currentEth = getEthForAmount(amount); uint256 totalEthSpentByUser = userPrevBuy + currentEth; userBuyAmount[to] = totalEthSpentByUser; if(totalEthSpentByUser > highestBuyAmount){ highestBuyAmount = totalEthSpentByUser; if(highestEthSpender != to){ highestEthSpender = to; winners.push(to); } } } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } /// @notice transfer tokens with lock /// @dev owner can send tokens to users with lockup /// 10% amount is unlocked instantly, rest unlocked 10% per day function transferWithLock(address to, uint256 amount) external { if(msg.sender != wrapperContract){ revert NotAuthorized(); } uint256 lockedAmountUser = lockedAmount[to]; lockedAmount[to] = lockedAmountUser + amount; lastBuyTimestamp[to] = block.timestamp; super._transfer(msg.sender, to, amount); } /// @dev swap the input tokens to ether and send to designated wallets function swapAndliquify(uint256 amount) private { bool success; uint256 totalFees = totalBuyFees + totalSellFees; uint256 totalLotteryFees = buyFees.lottery + sellFees.lottery; uint256 totalRewardFees = buyFees.highBuyReward + sellFees.highBuyReward; uint256 ethBalance = address(this).balance; swapTokensForEth(amount); uint256 newBalance = address(this).balance - ethBalance; uint256 lotteryShare = (totalLotteryFees * newBalance) / totalFees; uint256 userRewardShare = (totalRewardFees * newBalance) / totalFees; (success,) = payable(lotteryWallet).call{value: lotteryShare}(""); (success,) = payable(highestEthSpender).call{value: userRewardShare}(""); (success,) = marketingWallet.call{value: address(this).balance}(""); totalEthDistributed = totalEthDistributed + userRewardShare; } ///@notice private function to swap tax to eth ///@param tokenAmount: token amount to swap for eth function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); if(allowance(address(this), address(uniswapV2Router)) < tokenAmount){ _approve(address(this), address(uniswapV2Router), type(uint256).max); } // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } /// @notice returns eth amount /// @param tokenAmount: tokens bought by the user /// eth - eth spent by the user function getEthForAmount(uint256 tokenAmount) private view returns (uint256 eth){ address tokenA = uniswapV2Router.WETH(); (uint reserve0, uint reserve1,) = IUniswapV2Pair(uniswapV2Pair).getReserves(); address token0 = IUniswapV2Pair(uniswapV2Pair).token0(); (uint reserveA, uint reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0); uint256 ethReserve = reserveA; uint256 tokenReserve = reserveB; if(ethReserve > 0 && tokenReserve > 0){ eth = uniswapV2Router.getAmountIn(tokenAmount, ethReserve, tokenReserve); } } ///@return totalAmount and difference for user that's unlocked function getUnlockedAmount(address user) public view returns (uint256 totalAmount, uint256 difference){ uint256 tAmount = lockedAmount[user]; uint256 claimedAmount = movedUnlockedAmount[user]; uint256 userBalance = balanceOf(user); if(!isLiquidityPair[user]){ uint256 unlockedPerDay = (tAmount * 10) / 100; //10 percent instant then 10% per day afterwards uint256 daysElapsed = (block.timestamp - lastBuyTimestamp[user] ) / 1 days; uint256 unlockedAmount = (daysElapsed * unlockedPerDay) + unlockedPerDay; if(unlockedAmount >= claimedAmount){ unlockedAmount = unlockedAmount - claimedAmount; } if (unlockedAmount < claimedAmount){ unlockedAmount = unlockedAmount + claimedAmount - claimedAmount; } if(userBalance >= tAmount){ difference = userBalance + claimedAmount - tAmount; } if(userBalance < tAmount){ difference = userBalance - (tAmount - claimedAmount); } if(unlockedAmount < tAmount){ totalAmount = unlockedAmount + difference; return (totalAmount, difference); } if(unlockedAmount >= tAmount){ totalAmount = balanceOf(user); return (totalAmount, difference); } } } /// @return Last six winners in ascending orders with eth amounts function getLastSixWinners() public view returns (address[6] memory, uint256[6] memory) { uint256 length = winners.length; address[6] memory lastSixAddresses; uint256[6] memory lastSixEthSpent; uint256 startIndex = (length > 6) ? length - 6 : 0; uint256 count = 0; // Initialize count to track unique addresses for (int256 i = int256(length) - 1; i >= int256(startIndex) && count < 6; i--) { address winnerAddress = winners[uint256(i)]; bool isUnique = true; for (uint256 j = uint256(i) + 1; j < length; j++) { if (winners[j] == winnerAddress) { isUnique = false; break; } } if (isUnique) { lastSixAddresses[count] = winnerAddress; lastSixEthSpent[count] = userBuyAmount[winnerAddress]; // Retrieve ethSpent from mapping count++; } } // Fill remaining slots with empty addresses (0) for (uint256 i = count; i < 6; i++) { lastSixAddresses[i] = address(0); } return (lastSixAddresses, lastSixEthSpent); } }
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; }
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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * 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}. * * 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 default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual 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.9.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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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); }
{ "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"},{"inputs":[],"name":"AmountNotInLimits","type":"error"},{"inputs":[],"name":"CanNotModifyMainPair","type":"error"},{"inputs":[],"name":"CannotClaimNativeToken","type":"error"},{"inputs":[],"name":"LimitsAlreadyDisabled","type":"error"},{"inputs":[],"name":"MaxFeeLimitExceeded","type":"error"},{"inputs":[],"name":"NotAuthorized","type":"error"},{"inputs":[],"name":"UpdateBoolValue","type":"error"},{"inputs":[],"name":"ZeroAddressNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"lotteryFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"marketingFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"highBuyRewardFee","type":"uint16"}],"name":"BuyFeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"ExcludedFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newDevWallet","type":"address"},{"indexed":true,"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"FeeWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"lp","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"NewLPUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"lotteryFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"marketingFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"highBuyRewardFee","type":"uint16"}],"name":"SellFeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"SwapTokensAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEAD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE_LIMIT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFees","outputs":[{"internalType":"uint16","name":"marketing","type":"uint16"},{"internalType":"uint16","name":"lottery","type":"uint16"},{"internalType":"uint16","name":"highBuyReward","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"claimEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"claimStuckedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getLastSixWinners","outputs":[{"internalType":"address[6]","name":"","type":"address[6]"},{"internalType":"uint256[6]","name":"","type":"uint256[6]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getUnlockedAmount","outputs":[{"internalType":"uint256","name":"totalAmount","type":"uint256"},{"internalType":"uint256","name":"difference","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"highestEthSpender","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isLiquidityPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastBurnTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lotteryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newPair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"manageLiquidityPairs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","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":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFees","outputs":[{"internalType":"uint16","name":"marketing","type":"uint16"},{"internalType":"uint16","name":"lottery","type":"uint16"},{"internalType":"uint16","name":"highBuyReward","type":"uint16"}],"stateMutability":"view","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":"totalBuyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalEthDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferWithLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"lottery","type":"uint16"},{"internalType":"uint16","name":"marketing","type":"uint16"},{"internalType":"uint16","name":"highBuyReward","type":"uint16"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newLotteryFeeWallet","type":"address"},{"internalType":"address","name":"_newMarketingFeeWallet","type":"address"}],"name":"updateFeeWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"lottery","type":"uint16"},{"internalType":"uint16","name":"marketing","type":"uint16"},{"internalType":"uint16","name":"highBuyReward","type":"uint16"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newSwapAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wrapper","type":"address"}],"name":"updateWrapper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040526571afd498d0006008556009805460ff199081166001908117909255600f80546001600160a01b0319908116731d5393bda55199494b7845f8a2c7ba986145bc0217909155601080549091167346c5ca6f51a67f380259b76bb17a58bd25f6435917905564e8d4a51000601255601b8054909116909117905534801562000089575f80fd5b506040518060400160405280600981526020016841726573204261627960b81b81525060405180604001604052806005815260200164244152455360d81b8152508160039081620000db91906200052a565b506004620000ea82826200052a565b50505062000107620001016200036d60201b60201c565b62000371565b600a805464010002000265ffffffffffff199182168117909255600b805490911690911790556005600c819055600d55737a250d5630b4cf539739df2c5dacb4c659f2488d60a08190526040805163c45a015560e01b81529051829163c45a01559160048281019260209291908290030181865afa1580156200018c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001b29190620005f2565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001fe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002249190620005f2565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156200026f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002959190620005f2565b6001600160a01b0390811660808190525f9081526017602090815260408083208054600160ff19918216811790925533808652601690945282852080548216831790553085528285208054821683179055600f5486168552828520805482168317905560105486168552918420805483168217905561dead9093527f290d80ce586bfe95e1ebf348e3ba109df813891ad867417e64d38c5a50473b578054909116909217909155600680546001600160a01b0319169091179055600554620003669116668e1bc9bf040000620003c2565b5062000647565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166200041d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060025f82825462000430919062000621565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620004b457607f821691505b602082108103620004d357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000486575f81815260208120601f850160051c81016020861015620005015750805b601f850160051c820191505b8181101562000522578281556001016200050d565b505050505050565b81516001600160401b038111156200054657620005466200048b565b6200055e816200055784546200049f565b84620004d9565b602080601f83116001811462000594575f84156200057c5750858301515b5f19600386901b1c1916600185901b17855562000522565b5f85815260208120601f198616915b82811015620005c457888601518255948401946001909101908401620005a3565b5085821015620005e257878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f6020828403121562000603575f80fd5b81516001600160a01b03811681146200061a575f80fd5b9392505050565b808201808211156200064157634e487b7160e01b5f52601160045260245ffd5b92915050565b60805160a051612bab620006bd5f395f818161034f015281816121f7015281816123f6015281816124cc01528181612584015281816125b401526125f101525f818161045a015281816112160152818161192601528181611980015281816119aa0152818161227b01526123130152612bab5ff3fe60806040526004361061026d575f3560e01c8063751039fc1161014a578063aa4bde28116100be578063dd62ed3e11610078578063dd62ed3e1461078d578063e0f3ccf5146107ac578063e2f4560514610801578063e4748b9e14610816578063f2adc27514610846578063f2fde38b14610865575f80fd5b8063aa4bde28146106e7578063b384f764146106fc578063b9e937001461071b578063bfdc33a814610730578063c02466681461074f578063d257b34f1461076e575f80fd5b80639e824ea41161010f5780639e824ea4146106255780639edc5f0f14610644578063a364b0771461066b578063a457c2d71461068a578063a85c3182146106a9578063a9059cbb146106c8575f80fd5b8063751039fc146105a257806375f0a874146105b65780638da5cb5b146105d557806395d89b41146105f25780639a2a42b814610606575f80fd5b80633d3d937d116101e15780635cb02dd8116101a65780635cb02dd8146104d857806363f54101146104f75780636b7f3df3146105165780636ddd17131461054157806370a082311461055a578063715018a61461058e575f80fd5b80633d3d937d14610400578063420d4a021461041557806349bd5a5e146104495780634fbee1931461047c5780635c9a05b8146104aa575f80fd5b80631694505e116102325780631694505e1461033e57806318160ddd146103715780631ee2fcd61461038557806323b872dd146103a7578063313ce567146103c657806339509351146103e1575f80fd5b806302a71bde1461027857806303fd2a45146102a057806306d8eb1a146102cd57806306fdde03146102ee578063095ea7b31461030f575f80fd5b3661027457005b5f80fd5b348015610283575f80fd5b5061028d60145481565b6040519081526020015b60405180910390f35b3480156102ab575f80fd5b506102b561dead81565b6040516001600160a01b039091168152602001610297565b3480156102d8575f80fd5b506102ec6102e736600461268b565b610884565b005b3480156102f9575f80fd5b5061030261097a565b60405161029791906126cb565b34801561031a575f80fd5b5061032e61032936600461272a565b610a0a565b6040519015158152602001610297565b348015610349575f80fd5b506102b57f000000000000000000000000000000000000000000000000000000000000000081565b34801561037c575f80fd5b5060025461028d565b348015610390575f80fd5b50610399610a23565b604051610297929190612754565b3480156103b2575f80fd5b5061032e6103c13660046127b8565b610be7565b3480156103d1575f80fd5b5060405160098152602001610297565b3480156103ec575f80fd5b5061032e6103fb36600461272a565b610c0a565b34801561040b575f80fd5b5061028d60135481565b348015610420575f80fd5b5061043461042f3660046127f6565b610c2b565b60408051928352602083019190915201610297565b348015610454575f80fd5b506102b57f000000000000000000000000000000000000000000000000000000000000000081565b348015610487575f80fd5b5061032e6104963660046127f6565b60166020525f908152604090205460ff1681565b3480156104b5575f80fd5b5061032e6104c43660046127f6565b60176020525f908152604090205460ff1681565b3480156104e3575f80fd5b506102ec6104f23660046127f6565b610d93565b348015610502575f80fd5b506102ec61051136600461268b565b610e39565b348015610521575f80fd5b5061028d6105303660046127f6565b60156020525f908152604090205481565b34801561054c575f80fd5b50601b5461032e9060ff1681565b348015610565575f80fd5b5061028d6105743660046127f6565b6001600160a01b03165f9081526020819052604090205490565b348015610599575f80fd5b506102ec610f13565b3480156105ad575f80fd5b506102ec610f26565b3480156105c1575f80fd5b506010546102b5906001600160a01b031681565b3480156105e0575f80fd5b506005546001600160a01b03166102b5565b3480156105fd575f80fd5b50610302610f5d565b348015610611575f80fd5b506102ec6106203660046127f6565b610f6c565b348015610630575f80fd5b506102ec61063f3660046127f6565b610fd1565b34801561064f575f80fd5b50610658600581565b60405161ffff9091168152602001610297565b348015610676575f80fd5b50600f546102b5906001600160a01b031681565b348015610695575f80fd5b5061032e6106a436600461272a565b6110e5565b3480156106b4575f80fd5b506102ec6106c3366004612818565b61115f565b3480156106d3575f80fd5b5061032e6106e236600461272a565b6111ff565b3480156106f2575f80fd5b5061028d60085481565b348015610707575f80fd5b506102ec61071636600461285c565b61120c565b348015610726575f80fd5b5061028d600c5481565b34801561073b575f80fd5b506102ec61074a36600461272a565b6112c9565b34801561075a575f80fd5b506102ec61076936600461285c565b611347565b348015610779575f80fd5b506102ec610788366004612888565b6113ea565b348015610798575f80fd5b5061028d6107a7366004612818565b611466565b3480156107b7575f80fd5b50600b546107dc9061ffff808216916201000081048216916401000000009091041683565b6040805161ffff94851681529284166020840152921691810191909152606001610297565b34801561080c575f80fd5b5061028d60125481565b348015610821575f80fd5b50600a546107dc9061ffff808216916201000081048216916401000000009091041683565b348015610851575f80fd5b50600e546102b5906001600160a01b031681565b348015610870575f80fd5b506102ec61087f3660046127f6565b611490565b61088c611509565b60058161089984866128b3565b6108a391906128b3565b61ffff1611156108c6576040516314c9b50160e21b815260040160405180910390fd5b600a805461ffff83811664010000000090810265ffff0000ffff19838916620100009081029190911665ffffffffffff1990951694909417878416171793849055830481169261091c92818316929104166128b3565b61092691906128b3565b61ffff908116600c556040805185831681528483166020820152918316908201527f06efcc0c3ba71ef690b36db9519dd60e59f2c6f9785149f7a6d8aff683953119906060015b60405180910390a1505050565b606060038054610989906128d5565b80601f01602080910402602001604051908101604052809291908181526020018280546109b5906128d5565b8015610a005780601f106109d757610100808354040283529160200191610a00565b820191905f5260205f20905b8154815290600101906020018083116109e357829003601f168201915b5050505050905090565b5f33610a17818585611563565b60019150505b92915050565b610a2b612657565b610a33612657565b601154610a3e612657565b610a46612657565b5f60068411610a55575f610a60565b610a6060068561290d565b90505f80610a6f600187612920565b90505b828112158015610a825750600682105b15610b95575f60118281548110610a9b57610a9b61293f565b5f9182526020822001546001600160a01b03169150600190610abd8483612953565b90505b88811015610b1857826001600160a01b031660118281548110610ae557610ae561293f565b5f918252602090912001546001600160a01b031603610b06575f9150610b18565b80610b1081612966565b915050610ac0565b508015610b805781878560068110610b3257610b3261293f565b6001600160a01b03928316602091820292909201919091529083165f90815260159091526040902054868560068110610b6d57610b6d61293f565b602002015283610b7c81612966565b9450505b50508080610b8d9061297e565b915050610a72565b50805b6006811015610bd9575f858260068110610bb457610bb461293f565b6001600160a01b03909216602092909202015280610bd181612966565b915050610b98565b509296919550909350505050565b5f33610bf4858285611686565b610bff8585856116fe565b506001949350505050565b5f33610a17818585610c1c8383611466565b610c269190612953565b611563565b6001600160a01b0381165f90815260196020908152604080832054601a8352818420548484528285205460179094529184205484939192919060ff16610d8b575f6064610c7985600a612999565b610c8391906129b0565b6001600160a01b0388165f90815260186020526040812054919250906201518090610cae904261290d565b610cb891906129b0565b90505f82610cc68184612999565b610cd09190612953565b9050848110610ce657610ce3858261290d565b90505b84811015610d065784610cf98183612953565b610d03919061290d565b90505b858410610d255785610d188686612953565b610d22919061290d565b96505b85841015610d4457610d37858761290d565b610d41908561290d565b96505b85811015610d6357610d568782612953565b9750505050505050915091565b858110610d87576001600160a01b0389165f90815260208190526040902054610d56565b5050505b505050915091565b610d9b611509565b5f816001600160a01b0316476040515f6040518083038185875af1925050503d805f8114610de4576040519150601f19603f3d011682016040523d82523d5f602084013e610de9565b606091505b5050905080610e355760405162461bcd60e51b8152602060048201526013602482015272195d1a081d1c985b9cd9995c8819985a5b1959606a1b60448201526064015b60405180910390fd5b5050565b610e41611509565b600581610e4e84866128b3565b610e5891906128b3565b61ffff161115610e7b576040516314c9b50160e21b815260040160405180910390fd5b600b805461ffff8381166401000000000265ffff0000ffff1982881662010000021665ffffffffffff19909316929092179085161717905580610ebe83856128b3565b610ec891906128b3565b61ffff908116600d556040805185831681528483166020820152918316908201527fb7111304f4504208f44262583cff9c5aa335b2a427f487d507d22bdd41c3a8c19060600161096d565b610f1b611509565b610f245f611eb9565b565b610f2e611509565b60095460ff16610f51576040516369e7456560e01b815260040160405180910390fd5b6009805460ff19169055565b606060048054610989906128d5565b610f74611509565b6001600160a01b038116610f9b576040516342bcdf7f60e11b815260040160405180910390fd5b6001600160a01b03165f818152601660205260409020805460ff19166001179055600680546001600160a01b0319169091179055565b610fd9611509565b306001600160a01b03821603611002576040516374e6759b60e11b815260040160405180910390fd5b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa158015611046573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061106a91906129cf565b600f5460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810183905291925083169063a9059cbb906044016020604051808303815f875af11580156110bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110e091906129e6565b505050565b5f33816110f28286611466565b9050838110156111525760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610e2c565b610bff8286868403611563565b611167611509565b6001600160a01b038216158061118457506001600160a01b038116155b156111a2576040516342bcdf7f60e11b815260040160405180910390fd5b600f80546001600160a01b03199081166001600160a01b03858116918217909355601080549092169284169283179091556040517f362a006325d32978b283e449d254cfcf93e2cccc321603ead9a74238d8dbf36e905f90a35050565b5f33610a178185856116fe565b611214611509565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036112665760405163c41988a760e01b815260040160405180910390fd5b6001600160a01b0382165f81815260176020908152604091829020805460ff19168515159081179091558251938452908301527f35f8ff653a43436c7a79b967cb5f339996dfc0c017ff2f3ecce3314593144e8f91015b60405180910390a15050565b6006546001600160a01b031633146112f45760405163ea8e4eb560e01b815260040160405180910390fd5b6001600160a01b0382165f908152601960205260409020546113168282612953565b6001600160a01b0384165f9081526019602090815260408083209390935560189052204290556110e0338484611f0a565b61134f611509565b6001600160a01b0382165f9081526016602052604090205481151560ff90911615150361138f576040516363f958f760e11b815260040160405180910390fd5b6001600160a01b0382165f81815260166020908152604091829020805460ff19168515159081179091558251938452908301527f3499bfcf9673677ba552f3fe2ea274ec7e6246da31c3c87e115b45a9b0db2efb91016112bd565b6113f2611509565b64e8d4a510008110801561141657506114136064668e1bc9bf0400006129b0565b81115b1561143457604051635a8b6c0d60e01b815260040160405180910390fd5b601281905560405181907f28ea3a80049e637c2f1bf658d47a07f688bea6e931f3c1930cf4a4daf97b1860905f90a250565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b611498611509565b6001600160a01b0381166114fd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e2c565b61150681611eb9565b50565b6005546001600160a01b03163314610f245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e2c565b6001600160a01b0383166115c55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610e2c565b6001600160a01b0382166116265760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610e2c565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6116918484611466565b90505f1981146116f857818110156116eb5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610e2c565b6116f88484848403611563565b50505050565b6001600160a01b0383166117245760405162461bcd60e51b8152600401610e2c90612a01565b6001600160a01b03821661174a5760405162461bcd60e51b8152600401610e2c90612a46565b5f81116117ab5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610e2c565b305f90815260208190526040902054601b5460ff1680156117d45750601b54610100900460ff16155b80156117f857506001600160a01b0384165f9081526017602052604090205460ff16155b801561181c57506001600160a01b0384165f9081526016602052604090205460ff16155b801561184057506001600160a01b0383165f9081526016602052604090205460ff16155b801561184e57506012548110155b1561188e576571afd498d00081111561186a57506571afd498d0005b601b805461ff00191661010017905561188281612032565b601b805461ff00191690555b601b54610100900460ff161580156118be57506001600160a01b0384165f9081526017602052604090205460ff16155b80156118e257506001600160a01b0384165f9081526016602052604090205460ff16155b801561190657506001600160a01b0383165f9081526016602052604090205460ff16155b801561191f575060135461191c90610e10612953565b42115b15611a19577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165f908152602081905260408120549061271061196b836019612999565b61197591906129b0565b4260135590506119a87f000000000000000000000000000000000000000000000000000000000000000061dead83611f0a565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611a00575f80fd5b505af1158015611a12573d5f803e3d5ffd5b5050505050505b601b546001600160a01b0385165f9081526016602052604090205460ff610100909204821615911680611a6357506001600160a01b0384165f9081526016602052604090205460ff165b15611a6b57505f5b6001600160a01b0385165f9081526017602052604090205460ff16611c39576001600160a01b0385165f908152601960205260408120549080611aad88610c2b565b6001600160a01b038a165f908152601a6020526040902054919350915082611b105760405162461bcd60e51b8152602060048201526016602482015275139bc81d5b9b1bd8dad95908151bdad95b9cc816595d60521b6044820152606401610e2c565b81831115611bfb57611b228285612953565b8311158015611b395750611b36828461290d565b87115b15611bd85782871115611ba65760405162461bcd60e51b815260206004820152602f60248201527f74727920746f207472616e73666572206c65737320616d6f756e742c2031302560448201526e20756e6c6f636b207065722064617960881b6064820152608401610e2c565b81611bb18883612953565b611bbb919061290d565b6001600160a01b038a165f908152601a6020526040902055611bfb565b611be28782612953565b6001600160a01b038a165f908152601a60205260409020555b8383118015611c0957505f84115b15611c34576001600160a01b0389165f908152601960209081526040808320839055601a9091528120555b505050505b5f8115611ea65760095460ff1615611cdc576001600160a01b0385165f9081526017602052604090205460ff16611cdc5760085484611c8c876001600160a01b03165f9081526020819052604090205490565b611c969190612953565b10611cdc5760405162461bcd60e51b81526020600482015260166024820152756d617857616c6c65744c696d6974206578636565647360501b6044820152606401610e2c565b6001600160a01b0385165f9081526017602052604081205460ff168015611d0457505f600d54115b15611d2a576064600d5486611d199190612999565b611d2391906129b0565b9150611e87565b6001600160a01b0387165f9081526017602052604090205460ff168015611d5257505f600c54115b15611e87576064600c5486611d679190612999565b611d7191906129b0565b6001600160a01b0387165f9081526018602090815260408083204290556019909152902054909250611da3838761290d565b611dad9082612953565b6001600160a01b0388165f90815260196020908152604080832093909355601590522054611dda876121f3565b92505f611de78483612953565b6001600160a01b038a165f908152601560205260409020819055600754909150811115611e83576007819055600e546001600160a01b038a8116911614611e8357600e80546001600160a01b038b166001600160a01b03199182168117909255601180546001810182555f919091527f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c6801805490911690911790555b5050505b8115611e9857611e98873084611f0a565b611ea2828661290d565b9450505b611eb1868686611f0a565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038316611f305760405162461bcd60e51b8152600401610e2c90612a01565b6001600160a01b038216611f565760405162461bcd60e51b8152600401610e2c90612a46565b6001600160a01b0383165f9081526020819052604090205481811015611fcd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610e2c565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36116f8565b5f80600d54600c546120449190612953565b600b54600a549192505f9161206b9161ffff620100009182900481169291909104166128b3565b600b54600a5461ffff92831693505f92612093926401000000009081900482169204166128b3565b61ffff169050476120a386612477565b5f6120ae824761290d565b90505f856120bc8387612999565b6120c691906129b0565b90505f866120d48487612999565b6120de91906129b0565b600f546040519192506001600160a01b03169083905f81818185875af1925050503d805f8114612129576040519150601f19603f3d011682016040523d82523d5f602084013e61212e565b606091505b5050600e546040519199506001600160a01b03169082905f81818185875af1925050503d805f811461217b576040519150601f19603f3d011682016040523d82523d5f602084013e612180565b606091505b50506010546040519199506001600160a01b03169047905f81818185875af1925050503d805f81146121cd576040519150601f19603f3d011682016040523d82523d5f602084013e6121d2565b606091505b50506014549098506121e5908290612953565b601455505050505050505050565b5f807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612251573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122759190612a89565b90505f807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156122d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122f99190612aba565b506001600160701b031691506001600160701b031691505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa15801561236d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123919190612a89565b90505f80826001600160a01b0316866001600160a01b0316146123b55783856123b8565b84845b9092509050818181158015906123cd57505f81115b1561246a576040516385f8c25960e01b8152600481018b905260248101839052604481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906385f8c25990606401602060405180830381865afa158015612443573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061246791906129cf565b98505b5050505050505050919050565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106124aa576124aa61293f565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612526573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061254a9190612a89565b8160018151811061255d5761255d61293f565b60200260200101906001600160a01b031690816001600160a01b031681525050816125a8307f0000000000000000000000000000000000000000000000000000000000000000611466565b10156125da576125da307f00000000000000000000000000000000000000000000000000000000000000005f19611563565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac9479061262e9085905f90869030904290600401612b06565b5f604051808303815f87803b158015612645575f80fd5b505af1158015611eb1573d5f803e3d5ffd5b6040518060c001604052806006906020820280368337509192915050565b803561ffff81168114612686575f80fd5b919050565b5f805f6060848603121561269d575f80fd5b6126a684612675565b92506126b460208501612675565b91506126c260408501612675565b90509250925092565b5f6020808352835180828501525f5b818110156126f6578581018301518582016040015282016126da565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611506575f80fd5b5f806040838503121561273b575f80fd5b823561274681612716565b946020939093013593505050565b610180810181845f5b60068110156127855781516001600160a01b031683526020928301929091019060010161275d565b50505060c08201835f5b60068110156127ae57815183526020928301929091019060010161278f565b5050509392505050565b5f805f606084860312156127ca575f80fd5b83356127d581612716565b925060208401356127e581612716565b929592945050506040919091013590565b5f60208284031215612806575f80fd5b813561281181612716565b9392505050565b5f8060408385031215612829575f80fd5b823561283481612716565b9150602083013561284481612716565b809150509250929050565b8015158114611506575f80fd5b5f806040838503121561286d575f80fd5b823561287881612716565b915060208301356128448161284f565b5f60208284031215612898575f80fd5b5035919050565b634e487b7160e01b5f52601160045260245ffd5b61ffff8181168382160190808211156128ce576128ce61289f565b5092915050565b600181811c908216806128e957607f821691505b60208210810361290757634e487b7160e01b5f52602260045260245ffd5b50919050565b81810381811115610a1d57610a1d61289f565b8181035f8312801583831316838312821617156128ce576128ce61289f565b634e487b7160e01b5f52603260045260245ffd5b80820180821115610a1d57610a1d61289f565b5f600182016129775761297761289f565b5060010190565b5f600160ff1b82016129925761299261289f565b505f190190565b8082028115828204841417610a1d57610a1d61289f565b5f826129ca57634e487b7160e01b5f52601260045260245ffd5b500490565b5f602082840312156129df575f80fd5b5051919050565b5f602082840312156129f6575f80fd5b81516128118161284f565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b5f60208284031215612a99575f80fd5b815161281181612716565b80516001600160701b0381168114612686575f80fd5b5f805f60608486031215612acc575f80fd5b612ad584612aa4565b9250612ae360208501612aa4565b9150604084015163ffffffff81168114612afb575f80fd5b809150509250925092565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b81811015612b545784516001600160a01b031683529383019391830191600101612b2f565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220231fa8c79d4432fde90848836726e49192ca000e34e72652fa43854c908df1e164736f6c63430008150033
Deployed Bytecode
0x60806040526004361061026d575f3560e01c8063751039fc1161014a578063aa4bde28116100be578063dd62ed3e11610078578063dd62ed3e1461078d578063e0f3ccf5146107ac578063e2f4560514610801578063e4748b9e14610816578063f2adc27514610846578063f2fde38b14610865575f80fd5b8063aa4bde28146106e7578063b384f764146106fc578063b9e937001461071b578063bfdc33a814610730578063c02466681461074f578063d257b34f1461076e575f80fd5b80639e824ea41161010f5780639e824ea4146106255780639edc5f0f14610644578063a364b0771461066b578063a457c2d71461068a578063a85c3182146106a9578063a9059cbb146106c8575f80fd5b8063751039fc146105a257806375f0a874146105b65780638da5cb5b146105d557806395d89b41146105f25780639a2a42b814610606575f80fd5b80633d3d937d116101e15780635cb02dd8116101a65780635cb02dd8146104d857806363f54101146104f75780636b7f3df3146105165780636ddd17131461054157806370a082311461055a578063715018a61461058e575f80fd5b80633d3d937d14610400578063420d4a021461041557806349bd5a5e146104495780634fbee1931461047c5780635c9a05b8146104aa575f80fd5b80631694505e116102325780631694505e1461033e57806318160ddd146103715780631ee2fcd61461038557806323b872dd146103a7578063313ce567146103c657806339509351146103e1575f80fd5b806302a71bde1461027857806303fd2a45146102a057806306d8eb1a146102cd57806306fdde03146102ee578063095ea7b31461030f575f80fd5b3661027457005b5f80fd5b348015610283575f80fd5b5061028d60145481565b6040519081526020015b60405180910390f35b3480156102ab575f80fd5b506102b561dead81565b6040516001600160a01b039091168152602001610297565b3480156102d8575f80fd5b506102ec6102e736600461268b565b610884565b005b3480156102f9575f80fd5b5061030261097a565b60405161029791906126cb565b34801561031a575f80fd5b5061032e61032936600461272a565b610a0a565b6040519015158152602001610297565b348015610349575f80fd5b506102b57f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561037c575f80fd5b5060025461028d565b348015610390575f80fd5b50610399610a23565b604051610297929190612754565b3480156103b2575f80fd5b5061032e6103c13660046127b8565b610be7565b3480156103d1575f80fd5b5060405160098152602001610297565b3480156103ec575f80fd5b5061032e6103fb36600461272a565b610c0a565b34801561040b575f80fd5b5061028d60135481565b348015610420575f80fd5b5061043461042f3660046127f6565b610c2b565b60408051928352602083019190915201610297565b348015610454575f80fd5b506102b57f000000000000000000000000c5742849cc71a734bd0c6f69a3ba4afe878a6e4e81565b348015610487575f80fd5b5061032e6104963660046127f6565b60166020525f908152604090205460ff1681565b3480156104b5575f80fd5b5061032e6104c43660046127f6565b60176020525f908152604090205460ff1681565b3480156104e3575f80fd5b506102ec6104f23660046127f6565b610d93565b348015610502575f80fd5b506102ec61051136600461268b565b610e39565b348015610521575f80fd5b5061028d6105303660046127f6565b60156020525f908152604090205481565b34801561054c575f80fd5b50601b5461032e9060ff1681565b348015610565575f80fd5b5061028d6105743660046127f6565b6001600160a01b03165f9081526020819052604090205490565b348015610599575f80fd5b506102ec610f13565b3480156105ad575f80fd5b506102ec610f26565b3480156105c1575f80fd5b506010546102b5906001600160a01b031681565b3480156105e0575f80fd5b506005546001600160a01b03166102b5565b3480156105fd575f80fd5b50610302610f5d565b348015610611575f80fd5b506102ec6106203660046127f6565b610f6c565b348015610630575f80fd5b506102ec61063f3660046127f6565b610fd1565b34801561064f575f80fd5b50610658600581565b60405161ffff9091168152602001610297565b348015610676575f80fd5b50600f546102b5906001600160a01b031681565b348015610695575f80fd5b5061032e6106a436600461272a565b6110e5565b3480156106b4575f80fd5b506102ec6106c3366004612818565b61115f565b3480156106d3575f80fd5b5061032e6106e236600461272a565b6111ff565b3480156106f2575f80fd5b5061028d60085481565b348015610707575f80fd5b506102ec61071636600461285c565b61120c565b348015610726575f80fd5b5061028d600c5481565b34801561073b575f80fd5b506102ec61074a36600461272a565b6112c9565b34801561075a575f80fd5b506102ec61076936600461285c565b611347565b348015610779575f80fd5b506102ec610788366004612888565b6113ea565b348015610798575f80fd5b5061028d6107a7366004612818565b611466565b3480156107b7575f80fd5b50600b546107dc9061ffff808216916201000081048216916401000000009091041683565b6040805161ffff94851681529284166020840152921691810191909152606001610297565b34801561080c575f80fd5b5061028d60125481565b348015610821575f80fd5b50600a546107dc9061ffff808216916201000081048216916401000000009091041683565b348015610851575f80fd5b50600e546102b5906001600160a01b031681565b348015610870575f80fd5b506102ec61087f3660046127f6565b611490565b61088c611509565b60058161089984866128b3565b6108a391906128b3565b61ffff1611156108c6576040516314c9b50160e21b815260040160405180910390fd5b600a805461ffff83811664010000000090810265ffff0000ffff19838916620100009081029190911665ffffffffffff1990951694909417878416171793849055830481169261091c92818316929104166128b3565b61092691906128b3565b61ffff908116600c556040805185831681528483166020820152918316908201527f06efcc0c3ba71ef690b36db9519dd60e59f2c6f9785149f7a6d8aff683953119906060015b60405180910390a1505050565b606060038054610989906128d5565b80601f01602080910402602001604051908101604052809291908181526020018280546109b5906128d5565b8015610a005780601f106109d757610100808354040283529160200191610a00565b820191905f5260205f20905b8154815290600101906020018083116109e357829003601f168201915b5050505050905090565b5f33610a17818585611563565b60019150505b92915050565b610a2b612657565b610a33612657565b601154610a3e612657565b610a46612657565b5f60068411610a55575f610a60565b610a6060068561290d565b90505f80610a6f600187612920565b90505b828112158015610a825750600682105b15610b95575f60118281548110610a9b57610a9b61293f565b5f9182526020822001546001600160a01b03169150600190610abd8483612953565b90505b88811015610b1857826001600160a01b031660118281548110610ae557610ae561293f565b5f918252602090912001546001600160a01b031603610b06575f9150610b18565b80610b1081612966565b915050610ac0565b508015610b805781878560068110610b3257610b3261293f565b6001600160a01b03928316602091820292909201919091529083165f90815260159091526040902054868560068110610b6d57610b6d61293f565b602002015283610b7c81612966565b9450505b50508080610b8d9061297e565b915050610a72565b50805b6006811015610bd9575f858260068110610bb457610bb461293f565b6001600160a01b03909216602092909202015280610bd181612966565b915050610b98565b509296919550909350505050565b5f33610bf4858285611686565b610bff8585856116fe565b506001949350505050565b5f33610a17818585610c1c8383611466565b610c269190612953565b611563565b6001600160a01b0381165f90815260196020908152604080832054601a8352818420548484528285205460179094529184205484939192919060ff16610d8b575f6064610c7985600a612999565b610c8391906129b0565b6001600160a01b0388165f90815260186020526040812054919250906201518090610cae904261290d565b610cb891906129b0565b90505f82610cc68184612999565b610cd09190612953565b9050848110610ce657610ce3858261290d565b90505b84811015610d065784610cf98183612953565b610d03919061290d565b90505b858410610d255785610d188686612953565b610d22919061290d565b96505b85841015610d4457610d37858761290d565b610d41908561290d565b96505b85811015610d6357610d568782612953565b9750505050505050915091565b858110610d87576001600160a01b0389165f90815260208190526040902054610d56565b5050505b505050915091565b610d9b611509565b5f816001600160a01b0316476040515f6040518083038185875af1925050503d805f8114610de4576040519150601f19603f3d011682016040523d82523d5f602084013e610de9565b606091505b5050905080610e355760405162461bcd60e51b8152602060048201526013602482015272195d1a081d1c985b9cd9995c8819985a5b1959606a1b60448201526064015b60405180910390fd5b5050565b610e41611509565b600581610e4e84866128b3565b610e5891906128b3565b61ffff161115610e7b576040516314c9b50160e21b815260040160405180910390fd5b600b805461ffff8381166401000000000265ffff0000ffff1982881662010000021665ffffffffffff19909316929092179085161717905580610ebe83856128b3565b610ec891906128b3565b61ffff908116600d556040805185831681528483166020820152918316908201527fb7111304f4504208f44262583cff9c5aa335b2a427f487d507d22bdd41c3a8c19060600161096d565b610f1b611509565b610f245f611eb9565b565b610f2e611509565b60095460ff16610f51576040516369e7456560e01b815260040160405180910390fd5b6009805460ff19169055565b606060048054610989906128d5565b610f74611509565b6001600160a01b038116610f9b576040516342bcdf7f60e11b815260040160405180910390fd5b6001600160a01b03165f818152601660205260409020805460ff19166001179055600680546001600160a01b0319169091179055565b610fd9611509565b306001600160a01b03821603611002576040516374e6759b60e11b815260040160405180910390fd5b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa158015611046573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061106a91906129cf565b600f5460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810183905291925083169063a9059cbb906044016020604051808303815f875af11580156110bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110e091906129e6565b505050565b5f33816110f28286611466565b9050838110156111525760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610e2c565b610bff8286868403611563565b611167611509565b6001600160a01b038216158061118457506001600160a01b038116155b156111a2576040516342bcdf7f60e11b815260040160405180910390fd5b600f80546001600160a01b03199081166001600160a01b03858116918217909355601080549092169284169283179091556040517f362a006325d32978b283e449d254cfcf93e2cccc321603ead9a74238d8dbf36e905f90a35050565b5f33610a178185856116fe565b611214611509565b7f000000000000000000000000c5742849cc71a734bd0c6f69a3ba4afe878a6e4e6001600160a01b0316826001600160a01b0316036112665760405163c41988a760e01b815260040160405180910390fd5b6001600160a01b0382165f81815260176020908152604091829020805460ff19168515159081179091558251938452908301527f35f8ff653a43436c7a79b967cb5f339996dfc0c017ff2f3ecce3314593144e8f91015b60405180910390a15050565b6006546001600160a01b031633146112f45760405163ea8e4eb560e01b815260040160405180910390fd5b6001600160a01b0382165f908152601960205260409020546113168282612953565b6001600160a01b0384165f9081526019602090815260408083209390935560189052204290556110e0338484611f0a565b61134f611509565b6001600160a01b0382165f9081526016602052604090205481151560ff90911615150361138f576040516363f958f760e11b815260040160405180910390fd5b6001600160a01b0382165f81815260166020908152604091829020805460ff19168515159081179091558251938452908301527f3499bfcf9673677ba552f3fe2ea274ec7e6246da31c3c87e115b45a9b0db2efb91016112bd565b6113f2611509565b64e8d4a510008110801561141657506114136064668e1bc9bf0400006129b0565b81115b1561143457604051635a8b6c0d60e01b815260040160405180910390fd5b601281905560405181907f28ea3a80049e637c2f1bf658d47a07f688bea6e931f3c1930cf4a4daf97b1860905f90a250565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b611498611509565b6001600160a01b0381166114fd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e2c565b61150681611eb9565b50565b6005546001600160a01b03163314610f245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e2c565b6001600160a01b0383166115c55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610e2c565b6001600160a01b0382166116265760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610e2c565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6116918484611466565b90505f1981146116f857818110156116eb5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610e2c565b6116f88484848403611563565b50505050565b6001600160a01b0383166117245760405162461bcd60e51b8152600401610e2c90612a01565b6001600160a01b03821661174a5760405162461bcd60e51b8152600401610e2c90612a46565b5f81116117ab5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610e2c565b305f90815260208190526040902054601b5460ff1680156117d45750601b54610100900460ff16155b80156117f857506001600160a01b0384165f9081526017602052604090205460ff16155b801561181c57506001600160a01b0384165f9081526016602052604090205460ff16155b801561184057506001600160a01b0383165f9081526016602052604090205460ff16155b801561184e57506012548110155b1561188e576571afd498d00081111561186a57506571afd498d0005b601b805461ff00191661010017905561188281612032565b601b805461ff00191690555b601b54610100900460ff161580156118be57506001600160a01b0384165f9081526017602052604090205460ff16155b80156118e257506001600160a01b0384165f9081526016602052604090205460ff16155b801561190657506001600160a01b0383165f9081526016602052604090205460ff16155b801561191f575060135461191c90610e10612953565b42115b15611a19577f000000000000000000000000c5742849cc71a734bd0c6f69a3ba4afe878a6e4e6001600160a01b03165f908152602081905260408120549061271061196b836019612999565b61197591906129b0565b4260135590506119a87f000000000000000000000000c5742849cc71a734bd0c6f69a3ba4afe878a6e4e61dead83611f0a565b7f000000000000000000000000c5742849cc71a734bd0c6f69a3ba4afe878a6e4e6001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015611a00575f80fd5b505af1158015611a12573d5f803e3d5ffd5b5050505050505b601b546001600160a01b0385165f9081526016602052604090205460ff610100909204821615911680611a6357506001600160a01b0384165f9081526016602052604090205460ff165b15611a6b57505f5b6001600160a01b0385165f9081526017602052604090205460ff16611c39576001600160a01b0385165f908152601960205260408120549080611aad88610c2b565b6001600160a01b038a165f908152601a6020526040902054919350915082611b105760405162461bcd60e51b8152602060048201526016602482015275139bc81d5b9b1bd8dad95908151bdad95b9cc816595d60521b6044820152606401610e2c565b81831115611bfb57611b228285612953565b8311158015611b395750611b36828461290d565b87115b15611bd85782871115611ba65760405162461bcd60e51b815260206004820152602f60248201527f74727920746f207472616e73666572206c65737320616d6f756e742c2031302560448201526e20756e6c6f636b207065722064617960881b6064820152608401610e2c565b81611bb18883612953565b611bbb919061290d565b6001600160a01b038a165f908152601a6020526040902055611bfb565b611be28782612953565b6001600160a01b038a165f908152601a60205260409020555b8383118015611c0957505f84115b15611c34576001600160a01b0389165f908152601960209081526040808320839055601a9091528120555b505050505b5f8115611ea65760095460ff1615611cdc576001600160a01b0385165f9081526017602052604090205460ff16611cdc5760085484611c8c876001600160a01b03165f9081526020819052604090205490565b611c969190612953565b10611cdc5760405162461bcd60e51b81526020600482015260166024820152756d617857616c6c65744c696d6974206578636565647360501b6044820152606401610e2c565b6001600160a01b0385165f9081526017602052604081205460ff168015611d0457505f600d54115b15611d2a576064600d5486611d199190612999565b611d2391906129b0565b9150611e87565b6001600160a01b0387165f9081526017602052604090205460ff168015611d5257505f600c54115b15611e87576064600c5486611d679190612999565b611d7191906129b0565b6001600160a01b0387165f9081526018602090815260408083204290556019909152902054909250611da3838761290d565b611dad9082612953565b6001600160a01b0388165f90815260196020908152604080832093909355601590522054611dda876121f3565b92505f611de78483612953565b6001600160a01b038a165f908152601560205260409020819055600754909150811115611e83576007819055600e546001600160a01b038a8116911614611e8357600e80546001600160a01b038b166001600160a01b03199182168117909255601180546001810182555f919091527f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c6801805490911690911790555b5050505b8115611e9857611e98873084611f0a565b611ea2828661290d565b9450505b611eb1868686611f0a565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038316611f305760405162461bcd60e51b8152600401610e2c90612a01565b6001600160a01b038216611f565760405162461bcd60e51b8152600401610e2c90612a46565b6001600160a01b0383165f9081526020819052604090205481811015611fcd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610e2c565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36116f8565b5f80600d54600c546120449190612953565b600b54600a549192505f9161206b9161ffff620100009182900481169291909104166128b3565b600b54600a5461ffff92831693505f92612093926401000000009081900482169204166128b3565b61ffff169050476120a386612477565b5f6120ae824761290d565b90505f856120bc8387612999565b6120c691906129b0565b90505f866120d48487612999565b6120de91906129b0565b600f546040519192506001600160a01b03169083905f81818185875af1925050503d805f8114612129576040519150601f19603f3d011682016040523d82523d5f602084013e61212e565b606091505b5050600e546040519199506001600160a01b03169082905f81818185875af1925050503d805f811461217b576040519150601f19603f3d011682016040523d82523d5f602084013e612180565b606091505b50506010546040519199506001600160a01b03169047905f81818185875af1925050503d805f81146121cd576040519150601f19603f3d011682016040523d82523d5f602084013e6121d2565b606091505b50506014549098506121e5908290612953565b601455505050505050505050565b5f807f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612251573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122759190612a89565b90505f807f000000000000000000000000c5742849cc71a734bd0c6f69a3ba4afe878a6e4e6001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156122d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122f99190612aba565b506001600160701b031691506001600160701b031691505f7f000000000000000000000000c5742849cc71a734bd0c6f69a3ba4afe878a6e4e6001600160a01b0316630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa15801561236d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123919190612a89565b90505f80826001600160a01b0316866001600160a01b0316146123b55783856123b8565b84845b9092509050818181158015906123cd57505f81115b1561246a576040516385f8c25960e01b8152600481018b905260248101839052604481018290527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316906385f8c25990606401602060405180830381865afa158015612443573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061246791906129cf565b98505b5050505050505050919050565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106124aa576124aa61293f565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612526573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061254a9190612a89565b8160018151811061255d5761255d61293f565b60200260200101906001600160a01b031690816001600160a01b031681525050816125a8307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d611466565b10156125da576125da307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d5f19611563565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac9479061262e9085905f90869030904290600401612b06565b5f604051808303815f87803b158015612645575f80fd5b505af1158015611eb1573d5f803e3d5ffd5b6040518060c001604052806006906020820280368337509192915050565b803561ffff81168114612686575f80fd5b919050565b5f805f6060848603121561269d575f80fd5b6126a684612675565b92506126b460208501612675565b91506126c260408501612675565b90509250925092565b5f6020808352835180828501525f5b818110156126f6578581018301518582016040015282016126da565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611506575f80fd5b5f806040838503121561273b575f80fd5b823561274681612716565b946020939093013593505050565b610180810181845f5b60068110156127855781516001600160a01b031683526020928301929091019060010161275d565b50505060c08201835f5b60068110156127ae57815183526020928301929091019060010161278f565b5050509392505050565b5f805f606084860312156127ca575f80fd5b83356127d581612716565b925060208401356127e581612716565b929592945050506040919091013590565b5f60208284031215612806575f80fd5b813561281181612716565b9392505050565b5f8060408385031215612829575f80fd5b823561283481612716565b9150602083013561284481612716565b809150509250929050565b8015158114611506575f80fd5b5f806040838503121561286d575f80fd5b823561287881612716565b915060208301356128448161284f565b5f60208284031215612898575f80fd5b5035919050565b634e487b7160e01b5f52601160045260245ffd5b61ffff8181168382160190808211156128ce576128ce61289f565b5092915050565b600181811c908216806128e957607f821691505b60208210810361290757634e487b7160e01b5f52602260045260245ffd5b50919050565b81810381811115610a1d57610a1d61289f565b8181035f8312801583831316838312821617156128ce576128ce61289f565b634e487b7160e01b5f52603260045260245ffd5b80820180821115610a1d57610a1d61289f565b5f600182016129775761297761289f565b5060010190565b5f600160ff1b82016129925761299261289f565b505f190190565b8082028115828204841417610a1d57610a1d61289f565b5f826129ca57634e487b7160e01b5f52601260045260245ffd5b500490565b5f602082840312156129df575f80fd5b5051919050565b5f602082840312156129f6575f80fd5b81516128118161284f565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b5f60208284031215612a99575f80fd5b815161281181612716565b80516001600160701b0381168114612686575f80fd5b5f805f60608486031215612acc575f80fd5b612ad584612aa4565b9250612ae360208501612aa4565b9150604084015163ffffffff81168114612afb575f80fd5b809150509250925092565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b81811015612b545784516001600160a01b031683529383019391830191600101612b2f565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220231fa8c79d4432fde90848836726e49192ca000e34e72652fa43854c908df1e164736f6c63430008150033
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.