ERC-20
Overview
Max Total Supply
100,000 APEBANK
Holders
138
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
169.69054235245574007 APEBANKValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
APEBANK
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 310 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicensed /* ApeBank Token (APEBANK) Website: http://ape-bank.xyz Twitter: https://twitter.com/weareapebank Telegram: https://t.me/apebankpreverify &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&5?P&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&#?. .J&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&B~ !5~ !#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&P: ?#@#7 ^G&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&J.:Y&&&&&Y..Y&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& ^G&&&&&&&P^ 7#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&###&&&&G^ !#@&&&&&&&@#~ ~G&&&&##&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&B5?~^::P&&&J..^7YG#&&&#GY7^..Y&&&5::^!?5B&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&P!: .~7JY#&&&&5: .::^!?!:::. ^P&&&&BYJ7^. :7G&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&. ^YB&&&&&&&&&&B!.^557~?5Y^.7#&&&&&&&&&&BY^ .?#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&#~ .?#&&&&&&&&&&&&&&J.:Y&@&J.:Y&&&&&&&&&&&&&@#7. !#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&? .7&&&&&&&&&&&&&&&&&P^ 7P! ~G&&&&&&&&&&&&&&&&&!..J&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&~..P&&&&&&&&&&&&&&&&&. .?#&&&&&&&&&&&&&&&&&&5..!@&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&#G5Y:..G&&&&&&&&&&&&&&&&&&&&5?P&&&&&&&&&&&&&&&&&&&&5..^Y5G&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&#J^......G&&&&&&&&&#BG5555PB#&@@@&#BP555PGB&&&&&&&&&&P......^J#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&B^ .7GG:.:B&&&&&&#P7^........^!5BY!:........~B&&&&&&&&P..^BP7. ~#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&? .?&@B:.:B&&&&&5~ ~?5GBBGPJ!. . .!YPGBBG5J5#&&&&&&&&G..^#@&!. Y&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&? .?@&B:.:B&&&&?. ~P&&&&&@@&&&G7~?B&&&@@&&&&&&&BPB&&&&B:.^#&&7. Y&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&G:.:P@B:.^#&&&5..~#&&&&&#PG&&&&&&&&&&#PP#&&&&&&!.:P&&&B:.:#@P: :B&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&5: :JY..^#&&&7..Y@&&&&B^..7&&&&&&&&#!..~B&&&&&?. ?&&&B:.:5?. ^P&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&B?: ...~#&&&? .7&&&&&P. ~#&&&&&&&#^ .G&&&&&!..Y&&&#^... ^JB&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&#P7..~&&&&B^ .Y&&&&&P?JB&&&&&&&&&G??P&&&&#J. ~#&&&#^..?P#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&@5..!&&&&&B!. ~5B&&@@&&&&&&&&&&&&&@@&&BY~ .!B&&&&&~..G@&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Y..!&&&&&&&5!. .~!?B&&&&&&&&&&&&&G7!^. :!P&&&&&&&~..P&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Y..7&&&&&&&&&B57. .G&&&&&&&&&&&&&5. .?PB&&&&&&&&&!..5&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&5..!&&&&&&&&&&@P..!&&&&&&&&&&&&&&#^..G@&&&&&&&&&&~..P&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&B^..P@&&&&&&&&&G..^#&&&&&&&&&&&&&B:.:B&&&&&&&&&@5..~#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&5..^G&&&&&&&&&&?..!B&&&&&&&&&&&G~..J&&&&&&&&&&P:.:P&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&5: .J#&&&&&&&&&J: :?G#&&&&&#P?: :Y&&&&&&&&&B?. ^P&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&B7^~B&&&&&&&&&&B?^..:~!!!^: .^JB&&&&&&&#P7: :?B&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&!: .^Y5B&&&&&&#GY?!~~~!?YG#&&&&&&BY!: .^JB&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Y. .~JP#&&@@@@&&&&@@@@@&&#P?~. :!YG&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&B57^. :~7Y5GBBB#BBGG5J7~: .^?P#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&#GY7~:.....:::.....:~?5G#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&#BGP5YYYYY5PGB#&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& */ pragma solidity 0.8.13; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./interface/IUniswap.sol"; contract APEBANK is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public immutable uniswapV2Pair; bool private inSwapAndLiquify; bool public swapAndLiquifyEnabled = true; bool public enableEarlySellTax = true; uint256 public maxSellTransactionAmount = 10000 * (10**18); uint256 public maxBuyTransactionAmount = 2000 * (10**18); uint256 public maxWalletToken = 4000 * (10**18); uint256 public swapTokensAtAmount = 10 * (10**18); uint256 private buyTotalFees = 10; uint256 public sellTotalFees = 10; uint256 public earlySellTotalFee = 20; uint256 public burnFee = 0; address public deadWallet = 0x000000000000000000000000000000000000dEaD; uint256 public liquidityPercent = 40; uint256 public treasuryPercent = 30; uint256 public marketingPercent = 20; uint256 public devPercent = 10; uint256 totalWalletRewardsPercent; uint256 totalTeamWalletRewardsPercent; address payable public liquidityWallet = payable(0x701Fd87560C8743c23bdC164FC00D8AFBa2425c5); address payable public treasuryWallet = payable(0xF7906486265d916e8978Add49Bc56e187d6e2DFe); address payable public marketingWallet = payable(0xC3145a81a1e8B8706cDF6C47332AED5f628de562); address payable public devWallet = payable(0x84BcA3F73092dfc979e5c6043768F6D380ebea0F); mapping (address => bool) private _isExcludedFromFees; mapping (address => bool) public automatedMarketMakerPairs; mapping (address => uint256) public lastTxTimestamp; event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress); event LiquidityWalletUpdated(address indexed newLiquidityWallet, address indexed oldLiquidityWallet); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event GasForProcessingUpdated(uint256 indexed newValue, uint256 indexed oldValue); event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify( uint256 tokensIntoLiqudity, uint256 ethReceived ); event ChangeWalletRewardPercents( uint256 newLiquidityPercent, uint256 newTreasuryPercent, uint256 newMarketingPercent, uint256 newDevPercent, uint256 newTotalWalletRewardsPercent, uint256 newTotalTeamWalletRewardsPercent ); modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor() ERC20("ApeBank Token", "APEBANK") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; _setAutomatedMarketMakerPair(_uniswapV2Pair, true); excludeFromFees(owner(), true); excludeFromFees(liquidityWallet, true); excludeFromFees(treasuryWallet, true); excludeFromFees(marketingWallet, true); excludeFromFees(devWallet, true); excludeFromFees(address(this), true); totalWalletRewardsPercent = liquidityPercent + treasuryPercent + marketingPercent + devPercent; totalTeamWalletRewardsPercent = treasuryPercent + marketingPercent + devPercent; _mint(owner(), 100000 * (10**18)); } receive() external payable { } function changeWalletRewardPercents( uint256 newLiquidityPercent, uint256 newTreasuryPercent, uint256 newMarketingPercent, uint256 newDevPercent ) external onlyOwner { liquidityPercent = newLiquidityPercent; treasuryPercent = newTreasuryPercent; marketingPercent = newMarketingPercent; devPercent = newDevPercent; totalWalletRewardsPercent = newLiquidityPercent + newTreasuryPercent + newMarketingPercent + newDevPercent; totalTeamWalletRewardsPercent = newTreasuryPercent + newMarketingPercent + newDevPercent; emit ChangeWalletRewardPercents( newLiquidityPercent, newTreasuryPercent, newMarketingPercent, newDevPercent, totalWalletRewardsPercent, totalTeamWalletRewardsPercent ); } function updateUniswapV2Router(address newAddress) public onlyOwner { require(newAddress != address(uniswapV2Router), "Byrdov: The router already has that address"); uniswapV2Router = IUniswapV2Router02(newAddress); emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router)); } function excludeFromFees(address account, bool excluded) public onlyOwner { require(_isExcludedFromFees[account] != excluded, "ApeBank Token: Account is already the value of 'excluded'"); _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "ApeBank Token: The UniSwap pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require(automatedMarketMakerPairs[pair] != value, "ApeBank Token: Automated market maker pair is already set to that value"); automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function isExcludedFromFees(address account) public view returns(bool) { return _isExcludedFromFees[account]; } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } function setMaxSellTransaction(uint256 _maxSellTxAmount) public onlyOwner { require(maxSellTransactionAmount>totalSupply().div(1000), "value is too low"); maxSellTransactionAmount = _maxSellTxAmount; } function setMaxBuyTransaction(uint256 _maxBuyTxAmount) public onlyOwner { require(maxBuyTransactionAmount>totalSupply().div(1000), "value is too low"); maxBuyTransactionAmount = _maxBuyTxAmount; } function setMaxWalletToken(uint256 _maxToken) external onlyOwner { require(maxWalletToken>totalSupply().div(1000), "value is too low"); maxWalletToken = _maxToken; } function setSwapTokensAtAmount(uint256 _newAmount) public onlyOwner { swapTokensAtAmount = _newAmount; } function updateLiquidityWallet(address payable newLiquidityWallet) public onlyOwner { excludeFromFees(newLiquidityWallet, true); liquidityWallet = newLiquidityWallet; emit LiquidityWalletUpdated(newLiquidityWallet, liquidityWallet); } function setTreasuryWallet(address payable wallet) public onlyOwner { treasuryWallet = wallet; } function setMarketingWallet(address payable wallet) public onlyOwner { marketingWallet = wallet; } function setDevWallet(address payable wallet) public onlyOwner { devWallet = wallet; } function updateBuyTotalTax(uint256 _buyTotalFees) public onlyOwner { require(buyTotalFees <= 15, "Fee too high"); buyTotalFees = _buyTotalFees; } function updateSellTotalTax(uint256 _sellTotalFees) public onlyOwner { require(sellTotalFees <= 15, "Fee too high"); sellTotalFees = _sellTotalFees; } function updateEarlySellTotalTax(uint256 _earlySellTotalFee) public onlyOwner { require(earlySellTotalFee <= 20, "Fee too high"); earlySellTotalFee = _earlySellTotalFee; } function setEarlySellTax(bool onoff) external onlyOwner { enableEarlySellTax = onoff; } function setAutoBurn(uint256 _burnFee) external onlyOwner { require(_burnFee <= 5, "value too high"); burnFee = _burnFee; } function swapTokensForEth(uint256 tokenAmount) private { 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), ~uint256(0)); } uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, 0, liquidityWallet, block.timestamp ); } function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap { uint256 previousContractETHBalance = address(this).balance; uint256 tokensForLiquidity = contractTokenBalance.mul(liquidityPercent).div(totalWalletRewardsPercent); uint256 halfForETH = tokensForLiquidity.div(2); uint256 otherHalfForTokens = tokensForLiquidity.sub(halfForETH); swapTokensForEth(halfForETH); uint256 ethReceivedFromSwapForLiquidity = address(this).balance.sub(previousContractETHBalance); addLiquidity(otherHalfForTokens, ethReceivedFromSwapForLiquidity); uint256 tokensForTeamWallets = contractTokenBalance.sub(tokensForLiquidity); swapTokensForEth(tokensForTeamWallets); uint256 ethForTreasuryWallet = address(this).balance.mul(treasuryPercent).div(totalTeamWalletRewardsPercent); treasuryWallet.transfer(ethForTreasuryWallet); uint256 ethForMarketingWallet = address(this).balance.mul(marketingPercent).div(totalTeamWalletRewardsPercent.sub(treasuryPercent)); marketingWallet.transfer(ethForMarketingWallet); uint256 ethForDevWallet = address(this).balance; devWallet.transfer(ethForDevWallet); emit SwapAndLiquify(otherHalfForTokens, ethReceivedFromSwapForLiquidity); } function _transfer(address from, address to, uint256 amount) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if(amount == 0) { super._transfer(from, to, 0); return; } if(automatedMarketMakerPairs[from] && (!_isExcludedFromFees[from]) && (!_isExcludedFromFees[to])) { require(amount <= maxBuyTransactionAmount, "amount exceeds the maxBuyTransactionAmount."); uint256 contractBalanceRecipient = balanceOf(to); require(contractBalanceRecipient + amount <= maxWalletToken,"Exceeds maximum wallet token amount."); lastTxTimestamp[to] = block.timestamp; } if(automatedMarketMakerPairs[to] && (!_isExcludedFromFees[from]) && (!_isExcludedFromFees[to])) { require(amount <= maxSellTransactionAmount, "amount exceeds the maxSellTransactionAmount."); } uint256 contractTokenBalance = balanceOf(address(this)); bool contractTokenBalanaceIsEnoughToSwapAndLiquify = contractTokenBalance >= swapTokensAtAmount; if( contractTokenBalanaceIsEnoughToSwapAndLiquify && !inSwapAndLiquify && automatedMarketMakerPairs[to] && swapAndLiquifyEnabled ) { contractTokenBalance = swapTokensAtAmount; swapAndLiquify(contractTokenBalance); } uint256 fees = 10; uint256 burnShare = 0; if(!_isExcludedFromFees[from] && !_isExcludedFromFees[to]) { uint256 _totalFees = buyTotalFees; if (automatedMarketMakerPairs[to]) { uint256 span = block.timestamp - lastTxTimestamp[from]; if(enableEarlySellTax && span <= 24 hours) { _totalFees = earlySellTotalFee; } else if(!enableEarlySellTax) { _totalFees = sellTotalFees; } } fees = amount.mul(_totalFees).div(100); burnShare = amount.mul(burnFee).div(100); if(fees > 0) { super._transfer(from, address(this), fees); } if(burnShare > 0) { super._transfer(from, deadWallet, burnShare); } amount = amount.sub(fees.add(burnShare)); } super._transfer(from, to, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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; } _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; _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; } _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.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.13; 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); } 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; } 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; } 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; }
// 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 (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
{ "optimizer": { "enabled": true, "runs": 310 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newLiquidityPercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTreasuryPercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newMarketingPercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newDevPercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTotalWalletRewardsPercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTotalTeamWalletRewardsPercent","type":"uint256"}],"name":"ChangeWalletRewardPercents","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newLiquidityWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldLiquidityWallet","type":"address"}],"name":"LiquidityWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLiquidityPercent","type":"uint256"},{"internalType":"uint256","name":"newTreasuryPercent","type":"uint256"},{"internalType":"uint256","name":"newMarketingPercent","type":"uint256"},{"internalType":"uint256","name":"newDevPercent","type":"uint256"}],"name":"changeWalletRewardPercents","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deadWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earlySellTotalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableEarlySellTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastTxTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletToken","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_burnFee","type":"uint256"}],"name":"setAutoBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"wallet","type":"address"}],"name":"setDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"onoff","type":"bool"}],"name":"setEarlySellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"wallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBuyTxAmount","type":"uint256"}],"name":"setMaxBuyTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSellTxAmount","type":"uint256"}],"name":"setMaxSellTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxToken","type":"uint256"}],"name":"setMaxWalletToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"wallet","type":"address"}],"name":"setTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","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":"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":[],"name":"treasuryPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","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":"uint256","name":"_buyTotalFees","type":"uint256"}],"name":"updateBuyTotalTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_earlySellTotalFee","type":"uint256"}],"name":"updateEarlySellTotalTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newLiquidityWallet","type":"address"}],"name":"updateLiquidityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellTotalFees","type":"uint256"}],"name":"updateSellTotalTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040526006805461010160a81b61ffff60a81b1990911617905569021e19e0c9bab2400000600755686c6b935b8bbd40000060085568d8d726b7177a800000600955678ac7230489e80000600a908155600b819055600c8190556014600d8190556000600e55600f80546001600160a01b031990811661dead179091556028601055601e60115560129190915560139190915560168054821673701fd87560c8743c23bdc164fc00d8afba2425c517905560178054821673f7906486265d916e8978add49bc56e187d6e2dfe17905560188054821673c3145a81a1e8b8706cdf6c47332aed5f628de562179055601980549091167384bca3f73092dfc979e5c6043768f6d380ebea0f1790553480156200011a57600080fd5b50604080518082018252600d81526c20b832a130b735902a37b5b2b760991b60208083019182528351808501909452600784526641504542414e4b60c81b9084015281519192916200016f91600391620007e3565b50805162000185906004906020840190620007e3565b505050620001a26200019c6200045560201b60201c565b62000459565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001fc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000222919062000889565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000270573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000296919062000889565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200030a919062000889565b600680546001600160a01b0319166001600160a01b0385811691909117909155811660805290506200033e816001620004ab565b6200035d620003556005546001600160a01b031690565b6001620005ab565b60165462000376906001600160a01b03166001620005ab565b6017546200038f906001600160a01b03166001620005ab565b601854620003a8906001600160a01b03166001620005ab565b601954620003c1906001600160a01b03166001620005ab565b620003ce306001620005ab565b601354601254601154601054620003e69190620008bb565b620003f29190620008bb565b620003fe9190620008bb565b601455601354601254601154620004169190620008bb565b620004229190620008bb565b6015556200044d6200043c6005546001600160a01b031690565b69152d02c7e14af6800000620006fe565b50506200091e565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152601b602052604090205481151560ff909116151503620005575760405162461bcd60e51b815260206004820152604760248201527f41706542616e6b20546f6b656e3a204175746f6d61746564206d61726b65742060448201527f6d616b6572207061697220697320616c72656164792073657420746f20746861606482015266742076616c756560c81b608482015260a4015b60405180910390fd5b6001600160a01b0382166000818152601b6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620006075760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200054e565b6001600160a01b0382166000908152601a602052604090205481151560ff9091161515036200069f5760405162461bcd60e51b815260206004820152603960248201527f41706542616e6b20546f6b656e3a204163636f756e7420697320616c7265616460448201527f79207468652076616c7565206f6620276578636c75646564270000000000000060648201526084016200054e565b6001600160a01b0382166000818152601a6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620007565760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200054e565b80600260008282546200076a9190620008bb565b90915550506001600160a01b0382166000908152602081905260408120805483929062000799908490620008bb565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620007f190620008e2565b90600052602060002090601f01602090048101928262000815576000855562000860565b82601f106200083057805160ff191683800117855562000860565b8280016001018555821562000860579182015b828111156200086057825182559160200191906001019062000843565b506200086e92915062000872565b5090565b5b808211156200086e576000815560010162000873565b6000602082840312156200089c57600080fd5b81516001600160a01b0381168114620008b457600080fd5b9392505050565b60008219821115620008dd57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620008f757607f821691505b6020821081036200091857634e487b7160e01b600052602260045260246000fd5b50919050565b6080516128716200094160003960008181610561015261104f01526128716000f3fe6080604052600436106103645760003560e01c806385141a77116101c6578063b3b5e043116100f7578063e2f4560511610095578063e6c75f711161006f578063e6c75f7114610a20578063f2fde38b14610a36578063fc3c28af14610a56578063fce589d814610a6c57600080fd5b8063e2f45605146109ca578063e37ba8f9146109e0578063e5c4005c14610a0057600080fd5b8063c49b9a80116100d1578063c49b9a801461092e578063d46980161461094e578063d8020a181461096e578063dd62ed3e1461098457600080fd5b8063b3b5e043146108be578063b62496f5146108de578063c02466681461090e57600080fd5b8063a457c2d711610164578063a9059cbb1161013e578063a9059cbb14610848578063afa4f3b214610868578063b068375514610888578063b2f5260a1461089e57600080fd5b8063a457c2d7146107e7578063a4d15b6414610807578063a8602fea1461082857600080fd5b806391d55f41116101a057806391d55f411461077257806395d89b41146107925780639a7a23d6146107a7578063a2657778146107c757600080fd5b806385141a77146107145780638da5cb5b146107345780638ea5220f1461075257600080fd5b80634626402b116102a05780635d098b381161023e5780636a486a8e116102185780636a486a8e1461069357806370a08231146106a9578063715018a6146106df57806375f0a874146106f457600080fd5b80635d098b38146106335780636078a9b51461065357806365b8dbc01461067357600080fd5b80634fbee1931161027a5780634fbee193146105a4578063533f9630146105dd5780635aa821a9146105fd5780635c38ffe21461061357600080fd5b80634626402b1461052f57806349bd5a5e1461054f5780634a74bb021461058357600080fd5b80631aa04b881161030d578063313ce567116102e7578063313ce567146104a657806339509351146104c25780633cb0337a146104e25780634551bbe91461050257600080fd5b80631aa04b881461044e5780631f53ac021461046457806323b872dd1461048657600080fd5b8063095ea7b31161033e578063095ea7b3146103d15780631694505e1461040157806318160ddd1461043957600080fd5b806302259e9e1461037057806304ef9d581461039957806306fdde03146103af57600080fd5b3661036b57005b600080fd5b34801561037c57600080fd5b5061038660075481565b6040519081526020015b60405180910390f35b3480156103a557600080fd5b5061038660115481565b3480156103bb57600080fd5b506103c4610a82565b6040516103909190612497565b3480156103dd57600080fd5b506103f16103ec366004612501565b610b14565b6040519015158152602001610390565b34801561040d57600080fd5b50600654610421906001600160a01b031681565b6040516001600160a01b039091168152602001610390565b34801561044557600080fd5b50600254610386565b34801561045a57600080fd5b50610386600d5481565b34801561047057600080fd5b5061048461047f36600461252d565b610b2c565b005b34801561049257600080fd5b506103f16104a136600461254a565b610b81565b3480156104b257600080fd5b5060405160128152602001610390565b3480156104ce57600080fd5b506103f16104dd366004612501565b610ba5565b3480156104ee57600080fd5b506104846104fd36600461258b565b610be4565b34801561050e57600080fd5b5061038661051d36600461252d565b601c6020526000908152604090205481565b34801561053b57600080fd5b50601754610421906001600160a01b031681565b34801561055b57600080fd5b506104217f000000000000000000000000000000000000000000000000000000000000000081565b34801561058f57600080fd5b506006546103f190600160a81b900460ff1681565b3480156105b057600080fd5b506103f16105bf36600461252d565b6001600160a01b03166000908152601a602052604090205460ff1690565b3480156105e957600080fd5b506104846105f83660046125bd565b610cc0565b34801561060957600080fd5b5061038660085481565b34801561061f57600080fd5b5061048461062e3660046125bd565b610d31565b34801561063f57600080fd5b5061048461064e36600461252d565b610db8565b34801561065f57600080fd5b5061048461066e3660046125bd565b610e04565b34801561067f57600080fd5b5061048461068e36600461252d565b610e75565b34801561069f57600080fd5b50610386600c5481565b3480156106b557600080fd5b506103866106c436600461252d565b6001600160a01b031660009081526020819052604090205490565b3480156106eb57600080fd5b50610484610f5d565b34801561070057600080fd5b50601854610421906001600160a01b031681565b34801561072057600080fd5b50600f54610421906001600160a01b031681565b34801561074057600080fd5b506005546001600160a01b0316610421565b34801561075e57600080fd5b50601954610421906001600160a01b031681565b34801561077e57600080fd5b5061048461078d3660046125bd565b610f93565b34801561079e57600080fd5b506103c4611014565b3480156107b357600080fd5b506104846107c23660046125eb565b611023565b3480156107d357600080fd5b506104846107e2366004612620565b61111b565b3480156107f357600080fd5b506103f1610802366004612501565b611163565b34801561081357600080fd5b506006546103f190600160b01b900460ff1681565b34801561083457600080fd5b5061048461084336600461252d565b6111f5565b34801561085457600080fd5b506103f1610863366004612501565b611241565b34801561087457600080fd5b506104846108833660046125bd565b61124f565b34801561089457600080fd5b5061038660105481565b3480156108aa57600080fd5b506104846108b93660046125bd565b61127e565b3480156108ca57600080fd5b506104846108d93660046125bd565b6112ef565b3480156108ea57600080fd5b506103f16108f936600461252d565b601b6020526000908152604090205460ff1681565b34801561091a57600080fd5b506104846109293660046125eb565b611370565b34801561093a57600080fd5b50610484610949366004612620565b61148f565b34801561095a57600080fd5b50601654610421906001600160a01b031681565b34801561097a57600080fd5b5061038660125481565b34801561099057600080fd5b5061038661099f36600461263b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156109d657600080fd5b50610386600a5481565b3480156109ec57600080fd5b506104846109fb36600461252d565b611511565b348015610a0c57600080fd5b50610484610a1b3660046125bd565b611592565b348015610a2c57600080fd5b5061038660095481565b348015610a4257600080fd5b50610484610a5136600461252d565b611603565b348015610a6257600080fd5b5061038660135481565b348015610a7857600080fd5b50610386600e5481565b606060038054610a9190612674565b80601f0160208091040260200160405190810160405280929190818152602001828054610abd90612674565b8015610b0a5780601f10610adf57610100808354040283529160200191610b0a565b820191906000526020600020905b815481529060010190602001808311610aed57829003601f168201915b5050505050905090565b600033610b2281858561169e565b5060019392505050565b6005546001600160a01b03163314610b5f5760405162461bcd60e51b8152600401610b56906126ae565b60405180910390fd5b601980546001600160a01b0319166001600160a01b0392909216919091179055565b600033610b8f8582856117c2565b610b9a858585611854565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610b229082908690610bdf9087906126f9565b61169e565b6005546001600160a01b03163314610c0e5760405162461bcd60e51b8152600401610b56906126ae565b60108490556011839055601282905560138190558082610c2e85876126f9565b610c3891906126f9565b610c4291906126f9565b60145580610c5083856126f9565b610c5a91906126f9565b6015819055601454604080518781526020810187905290810185905260608101849052608081019190915260a08101919091527f4a0da8f732734cc4e1e5caa7bd03d0ee6bc90081fe7ebe1d31098b5f4e76ae1e9060c00160405180910390a150505050565b6005546001600160a01b03163314610cea5760405162461bcd60e51b8152600401610b56906126ae565b600f600b541115610d2c5760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b6044820152606401610b56565b600b55565b6005546001600160a01b03163314610d5b5760405162461bcd60e51b8152600401610b56906126ae565b610d706103e8610d6a60025490565b90611d4e565b60075411610db35760405162461bcd60e51b815260206004820152601060248201526f76616c756520697320746f6f206c6f7760801b6044820152606401610b56565b600755565b6005546001600160a01b03163314610de25760405162461bcd60e51b8152600401610b56906126ae565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610e2e5760405162461bcd60e51b8152600401610b56906126ae565b6014600d541115610e705760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b6044820152606401610b56565b600d55565b6005546001600160a01b03163314610e9f5760405162461bcd60e51b8152600401610b56906126ae565b6006546001600160a01b0390811690821603610f115760405162461bcd60e51b815260206004820152602b60248201527f427972646f763a2054686520726f7574657220616c726561647920686173207460448201526a686174206164647265737360a81b6064820152608401610b56565b600680546001600160a01b0319166001600160a01b03831690811790915560405181907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a350565b6005546001600160a01b03163314610f875760405162461bcd60e51b8152600401610b56906126ae565b610f916000611d61565b565b6005546001600160a01b03163314610fbd5760405162461bcd60e51b8152600401610b56906126ae565b610fcc6103e8610d6a60025490565b6009541161100f5760405162461bcd60e51b815260206004820152601060248201526f76616c756520697320746f6f206c6f7760801b6044820152606401610b56565b600955565b606060048054610a9190612674565b6005546001600160a01b0316331461104d5760405162461bcd60e51b8152600401610b56906126ae565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03160361110d5760405162461bcd60e51b815260206004820152605060248201527f41706542616e6b20546f6b656e3a2054686520556e695377617020706169722060448201527f63616e6e6f742062652072656d6f7665642066726f6d206175746f6d6174656460648201526f4d61726b65744d616b6572506169727360801b608482015260a401610b56565b6111178282611db3565b5050565b6005546001600160a01b031633146111455760405162461bcd60e51b8152600401610b56906126ae565b60068054911515600160b01b0260ff60b01b19909216919091179055565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156111e85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b56565b610b9a828686840361169e565b6005546001600160a01b0316331461121f5760405162461bcd60e51b8152600401610b56906126ae565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b600033610b22818585611854565b6005546001600160a01b031633146112795760405162461bcd60e51b8152600401610b56906126ae565b600a55565b6005546001600160a01b031633146112a85760405162461bcd60e51b8152600401610b56906126ae565b600f600c5411156112ea5760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b6044820152606401610b56565b600c55565b6005546001600160a01b031633146113195760405162461bcd60e51b8152600401610b56906126ae565b6113286103e8610d6a60025490565b6008541161136b5760405162461bcd60e51b815260206004820152601060248201526f76616c756520697320746f6f206c6f7760801b6044820152606401610b56565b600855565b6005546001600160a01b0316331461139a5760405162461bcd60e51b8152600401610b56906126ae565b6001600160a01b0382166000908152601a602052604090205481151560ff9091161515036114305760405162461bcd60e51b815260206004820152603960248201527f41706542616e6b20546f6b656e3a204163636f756e7420697320616c7265616460448201527f79207468652076616c7565206f6620276578636c7564656427000000000000006064820152608401610b56565b6001600160a01b0382166000818152601a6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146114b95760405162461bcd60e51b8152600401610b56906126ae565b60068054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061150690831515815260200190565b60405180910390a150565b6005546001600160a01b0316331461153b5760405162461bcd60e51b8152600401610b56906126ae565b611546816001611370565b601680546001600160a01b0319166001600160a01b03831690811790915560405181907f6080503d1da552ae8eb4b7b8a20245d9fabed014180510e7d1a05ea08fdb0f3e90600090a350565b6005546001600160a01b031633146115bc5760405162461bcd60e51b8152600401610b56906126ae565b60058111156115fe5760405162461bcd60e51b815260206004820152600e60248201526d0ecc2d8eaca40e8dede40d0d2ced60931b6044820152606401610b56565b600e55565b6005546001600160a01b0316331461162d5760405162461bcd60e51b8152600401610b56906126ae565b6001600160a01b0381166116925760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b56565b61169b81611d61565b50565b6001600160a01b0383166117005760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b56565b6001600160a01b0382166117615760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b56565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461184e57818110156118415760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b56565b61184e848484840361169e565b50505050565b6001600160a01b0383166118b85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b56565b6001600160a01b03821661191a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b56565b806000036119335761192e83836000611ead565b505050565b6001600160a01b0383166000908152601b602052604090205460ff16801561197457506001600160a01b0383166000908152601a602052604090205460ff16155b801561199957506001600160a01b0382166000908152601a602052604090205460ff16155b15611aa157600854811115611a045760405162461bcd60e51b815260206004820152602b60248201527f616d6f756e74206578636565647320746865206d61784275795472616e73616360448201526a3a34b7b720b6b7bab73a1760a91b6064820152608401610b56565b6001600160a01b038216600090815260208190526040902054600954611a2a83836126f9565b1115611a845760405162461bcd60e51b8152602060048201526024808201527f45786365656473206d6178696d756d2077616c6c657420746f6b656e20616d6f6044820152633ab73a1760e11b6064820152608401610b56565b506001600160a01b0382166000908152601c602052604090204290555b6001600160a01b0382166000908152601b602052604090205460ff168015611ae257506001600160a01b0383166000908152601a602052604090205460ff16155b8015611b0757506001600160a01b0382166000908152601a602052604090205460ff16155b15611b7357600754811115611b735760405162461bcd60e51b815260206004820152602c60248201527f616d6f756e74206578636565647320746865206d617853656c6c5472616e736160448201526b31ba34b7b720b6b7bab73a1760a11b6064820152608401610b56565b30600090815260208190526040902054600a5481108015908190611ba15750600654600160a01b900460ff16155b8015611bc557506001600160a01b0384166000908152601b602052604090205460ff165b8015611bda5750600654600160a81b900460ff165b15611bed57600a549150611bed8261207b565b6001600160a01b0385166000908152601a6020526040812054600a919060ff16158015611c3357506001600160a01b0386166000908152601a602052604090205460ff16155b15611d3a57600b546001600160a01b0387166000908152601b602052604090205460ff1615611cc6576001600160a01b0388166000908152601c6020526040812054611c7f9042612711565b600654909150600160b01b900460ff168015611c9e5750620151808111155b15611cad57600d549150611cc4565b600654600160b01b900460ff16611cc457600c5491505b505b611cd56064610d6a888461224c565b9250611cf16064610d6a600e548961224c90919063ffffffff16565b91508215611d0457611d04883085611ead565b8115611d2257600f54611d229089906001600160a01b031684611ead565b611d36611d2f8484612258565b8790612264565b9550505b611d45878787611ead565b50505050505050565b6000611d5a8284612728565b9392505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152601b602052604090205481151560ff909116151503611e595760405162461bcd60e51b815260206004820152604760248201527f41706542616e6b20546f6b656e3a204175746f6d61746564206d61726b65742060448201527f6d616b6572207061697220697320616c72656164792073657420746f20746861606482015266742076616c756560c81b608482015260a401610b56565b6001600160a01b0382166000818152601b6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611f115760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b56565b6001600160a01b038216611f735760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b56565b6001600160a01b03831660009081526020819052604090205481811015611feb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b56565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906120229084906126f9565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161206e91815260200190565b60405180910390a361184e565b6006805460ff60a01b1916600160a01b17905560145460105447916000916120a99190610d6a90869061224c565b905060006120b8826002611d4e565b905060006120c68383612264565b90506120d182612270565b60006120dd4786612264565b90506120e982826123fb565b60006120f58786612264565b905061210081612270565b600061211d601554610d6a6011544761224c90919063ffffffff16565b6017546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015612158573d6000803e3d6000fd5b50600061218361217560115460155461226490919063ffffffff16565b601254610d6a90479061224c565b6018546040519192506001600160a01b03169082156108fc029083906000818181858888f193505050501580156121be573d6000803e3d6000fd5b5060195460405147916001600160a01b03169082156108fc029083906000818181858888f193505050501580156121f9573d6000803e3d6000fd5b5060408051878152602081018790527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a150506006805460ff60a01b191690555050505050505050565b6000611d5a828461274a565b6000611d5a82846126f9565b6000611d5a8284612711565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106122a5576122a5612769565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156122fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612322919061277f565b8160018151811061233557612335612769565b6001600160a01b039283166020918202929092018101919091526006543060009081526001835260408082209290941681529152205482111561238c5760065461238c9030906001600160a01b031660001961169e565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906123c590859060009086903090429060040161279c565b600060405180830381600087803b1580156123df57600080fd5b505af11580156123f3573d6000803e3d6000fd5b505050505050565b60065460165460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af115801561246b573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612490919061280d565b5050505050565b600060208083528351808285015260005b818110156124c4578581018301518582016040015282016124a8565b818111156124d6576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461169b57600080fd5b6000806040838503121561251457600080fd5b823561251f816124ec565b946020939093013593505050565b60006020828403121561253f57600080fd5b8135611d5a816124ec565b60008060006060848603121561255f57600080fd5b833561256a816124ec565b9250602084013561257a816124ec565b929592945050506040919091013590565b600080600080608085870312156125a157600080fd5b5050823594602084013594506040840135936060013592509050565b6000602082840312156125cf57600080fd5b5035919050565b803580151581146125e657600080fd5b919050565b600080604083850312156125fe57600080fd5b8235612609816124ec565b9150612617602084016125d6565b90509250929050565b60006020828403121561263257600080fd5b611d5a826125d6565b6000806040838503121561264e57600080fd5b8235612659816124ec565b91506020830135612669816124ec565b809150509250929050565b600181811c9082168061268857607f821691505b6020821081036126a857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561270c5761270c6126e3565b500190565b600082821015612723576127236126e3565b500390565b60008261274557634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612764576127646126e3565b500290565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561279157600080fd5b8151611d5a816124ec565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156127ec5784516001600160a01b0316835293830193918301916001016127c7565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561282257600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212208d33dea300d9b50b5771562700c415057b913c53cbfa33fde9601bd4c5230d3e64736f6c634300080d0033
Deployed Bytecode
0x6080604052600436106103645760003560e01c806385141a77116101c6578063b3b5e043116100f7578063e2f4560511610095578063e6c75f711161006f578063e6c75f7114610a20578063f2fde38b14610a36578063fc3c28af14610a56578063fce589d814610a6c57600080fd5b8063e2f45605146109ca578063e37ba8f9146109e0578063e5c4005c14610a0057600080fd5b8063c49b9a80116100d1578063c49b9a801461092e578063d46980161461094e578063d8020a181461096e578063dd62ed3e1461098457600080fd5b8063b3b5e043146108be578063b62496f5146108de578063c02466681461090e57600080fd5b8063a457c2d711610164578063a9059cbb1161013e578063a9059cbb14610848578063afa4f3b214610868578063b068375514610888578063b2f5260a1461089e57600080fd5b8063a457c2d7146107e7578063a4d15b6414610807578063a8602fea1461082857600080fd5b806391d55f41116101a057806391d55f411461077257806395d89b41146107925780639a7a23d6146107a7578063a2657778146107c757600080fd5b806385141a77146107145780638da5cb5b146107345780638ea5220f1461075257600080fd5b80634626402b116102a05780635d098b381161023e5780636a486a8e116102185780636a486a8e1461069357806370a08231146106a9578063715018a6146106df57806375f0a874146106f457600080fd5b80635d098b38146106335780636078a9b51461065357806365b8dbc01461067357600080fd5b80634fbee1931161027a5780634fbee193146105a4578063533f9630146105dd5780635aa821a9146105fd5780635c38ffe21461061357600080fd5b80634626402b1461052f57806349bd5a5e1461054f5780634a74bb021461058357600080fd5b80631aa04b881161030d578063313ce567116102e7578063313ce567146104a657806339509351146104c25780633cb0337a146104e25780634551bbe91461050257600080fd5b80631aa04b881461044e5780631f53ac021461046457806323b872dd1461048657600080fd5b8063095ea7b31161033e578063095ea7b3146103d15780631694505e1461040157806318160ddd1461043957600080fd5b806302259e9e1461037057806304ef9d581461039957806306fdde03146103af57600080fd5b3661036b57005b600080fd5b34801561037c57600080fd5b5061038660075481565b6040519081526020015b60405180910390f35b3480156103a557600080fd5b5061038660115481565b3480156103bb57600080fd5b506103c4610a82565b6040516103909190612497565b3480156103dd57600080fd5b506103f16103ec366004612501565b610b14565b6040519015158152602001610390565b34801561040d57600080fd5b50600654610421906001600160a01b031681565b6040516001600160a01b039091168152602001610390565b34801561044557600080fd5b50600254610386565b34801561045a57600080fd5b50610386600d5481565b34801561047057600080fd5b5061048461047f36600461252d565b610b2c565b005b34801561049257600080fd5b506103f16104a136600461254a565b610b81565b3480156104b257600080fd5b5060405160128152602001610390565b3480156104ce57600080fd5b506103f16104dd366004612501565b610ba5565b3480156104ee57600080fd5b506104846104fd36600461258b565b610be4565b34801561050e57600080fd5b5061038661051d36600461252d565b601c6020526000908152604090205481565b34801561053b57600080fd5b50601754610421906001600160a01b031681565b34801561055b57600080fd5b506104217f00000000000000000000000086963be9ba579a996d87fad33ff5099b729f7a5a81565b34801561058f57600080fd5b506006546103f190600160a81b900460ff1681565b3480156105b057600080fd5b506103f16105bf36600461252d565b6001600160a01b03166000908152601a602052604090205460ff1690565b3480156105e957600080fd5b506104846105f83660046125bd565b610cc0565b34801561060957600080fd5b5061038660085481565b34801561061f57600080fd5b5061048461062e3660046125bd565b610d31565b34801561063f57600080fd5b5061048461064e36600461252d565b610db8565b34801561065f57600080fd5b5061048461066e3660046125bd565b610e04565b34801561067f57600080fd5b5061048461068e36600461252d565b610e75565b34801561069f57600080fd5b50610386600c5481565b3480156106b557600080fd5b506103866106c436600461252d565b6001600160a01b031660009081526020819052604090205490565b3480156106eb57600080fd5b50610484610f5d565b34801561070057600080fd5b50601854610421906001600160a01b031681565b34801561072057600080fd5b50600f54610421906001600160a01b031681565b34801561074057600080fd5b506005546001600160a01b0316610421565b34801561075e57600080fd5b50601954610421906001600160a01b031681565b34801561077e57600080fd5b5061048461078d3660046125bd565b610f93565b34801561079e57600080fd5b506103c4611014565b3480156107b357600080fd5b506104846107c23660046125eb565b611023565b3480156107d357600080fd5b506104846107e2366004612620565b61111b565b3480156107f357600080fd5b506103f1610802366004612501565b611163565b34801561081357600080fd5b506006546103f190600160b01b900460ff1681565b34801561083457600080fd5b5061048461084336600461252d565b6111f5565b34801561085457600080fd5b506103f1610863366004612501565b611241565b34801561087457600080fd5b506104846108833660046125bd565b61124f565b34801561089457600080fd5b5061038660105481565b3480156108aa57600080fd5b506104846108b93660046125bd565b61127e565b3480156108ca57600080fd5b506104846108d93660046125bd565b6112ef565b3480156108ea57600080fd5b506103f16108f936600461252d565b601b6020526000908152604090205460ff1681565b34801561091a57600080fd5b506104846109293660046125eb565b611370565b34801561093a57600080fd5b50610484610949366004612620565b61148f565b34801561095a57600080fd5b50601654610421906001600160a01b031681565b34801561097a57600080fd5b5061038660125481565b34801561099057600080fd5b5061038661099f36600461263b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156109d657600080fd5b50610386600a5481565b3480156109ec57600080fd5b506104846109fb36600461252d565b611511565b348015610a0c57600080fd5b50610484610a1b3660046125bd565b611592565b348015610a2c57600080fd5b5061038660095481565b348015610a4257600080fd5b50610484610a5136600461252d565b611603565b348015610a6257600080fd5b5061038660135481565b348015610a7857600080fd5b50610386600e5481565b606060038054610a9190612674565b80601f0160208091040260200160405190810160405280929190818152602001828054610abd90612674565b8015610b0a5780601f10610adf57610100808354040283529160200191610b0a565b820191906000526020600020905b815481529060010190602001808311610aed57829003601f168201915b5050505050905090565b600033610b2281858561169e565b5060019392505050565b6005546001600160a01b03163314610b5f5760405162461bcd60e51b8152600401610b56906126ae565b60405180910390fd5b601980546001600160a01b0319166001600160a01b0392909216919091179055565b600033610b8f8582856117c2565b610b9a858585611854565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610b229082908690610bdf9087906126f9565b61169e565b6005546001600160a01b03163314610c0e5760405162461bcd60e51b8152600401610b56906126ae565b60108490556011839055601282905560138190558082610c2e85876126f9565b610c3891906126f9565b610c4291906126f9565b60145580610c5083856126f9565b610c5a91906126f9565b6015819055601454604080518781526020810187905290810185905260608101849052608081019190915260a08101919091527f4a0da8f732734cc4e1e5caa7bd03d0ee6bc90081fe7ebe1d31098b5f4e76ae1e9060c00160405180910390a150505050565b6005546001600160a01b03163314610cea5760405162461bcd60e51b8152600401610b56906126ae565b600f600b541115610d2c5760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b6044820152606401610b56565b600b55565b6005546001600160a01b03163314610d5b5760405162461bcd60e51b8152600401610b56906126ae565b610d706103e8610d6a60025490565b90611d4e565b60075411610db35760405162461bcd60e51b815260206004820152601060248201526f76616c756520697320746f6f206c6f7760801b6044820152606401610b56565b600755565b6005546001600160a01b03163314610de25760405162461bcd60e51b8152600401610b56906126ae565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610e2e5760405162461bcd60e51b8152600401610b56906126ae565b6014600d541115610e705760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b6044820152606401610b56565b600d55565b6005546001600160a01b03163314610e9f5760405162461bcd60e51b8152600401610b56906126ae565b6006546001600160a01b0390811690821603610f115760405162461bcd60e51b815260206004820152602b60248201527f427972646f763a2054686520726f7574657220616c726561647920686173207460448201526a686174206164647265737360a81b6064820152608401610b56565b600680546001600160a01b0319166001600160a01b03831690811790915560405181907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a350565b6005546001600160a01b03163314610f875760405162461bcd60e51b8152600401610b56906126ae565b610f916000611d61565b565b6005546001600160a01b03163314610fbd5760405162461bcd60e51b8152600401610b56906126ae565b610fcc6103e8610d6a60025490565b6009541161100f5760405162461bcd60e51b815260206004820152601060248201526f76616c756520697320746f6f206c6f7760801b6044820152606401610b56565b600955565b606060048054610a9190612674565b6005546001600160a01b0316331461104d5760405162461bcd60e51b8152600401610b56906126ae565b7f00000000000000000000000086963be9ba579a996d87fad33ff5099b729f7a5a6001600160a01b0316826001600160a01b03160361110d5760405162461bcd60e51b815260206004820152605060248201527f41706542616e6b20546f6b656e3a2054686520556e695377617020706169722060448201527f63616e6e6f742062652072656d6f7665642066726f6d206175746f6d6174656460648201526f4d61726b65744d616b6572506169727360801b608482015260a401610b56565b6111178282611db3565b5050565b6005546001600160a01b031633146111455760405162461bcd60e51b8152600401610b56906126ae565b60068054911515600160b01b0260ff60b01b19909216919091179055565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156111e85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b56565b610b9a828686840361169e565b6005546001600160a01b0316331461121f5760405162461bcd60e51b8152600401610b56906126ae565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b600033610b22818585611854565b6005546001600160a01b031633146112795760405162461bcd60e51b8152600401610b56906126ae565b600a55565b6005546001600160a01b031633146112a85760405162461bcd60e51b8152600401610b56906126ae565b600f600c5411156112ea5760405162461bcd60e51b815260206004820152600c60248201526b08ccaca40e8dede40d0d2ced60a31b6044820152606401610b56565b600c55565b6005546001600160a01b031633146113195760405162461bcd60e51b8152600401610b56906126ae565b6113286103e8610d6a60025490565b6008541161136b5760405162461bcd60e51b815260206004820152601060248201526f76616c756520697320746f6f206c6f7760801b6044820152606401610b56565b600855565b6005546001600160a01b0316331461139a5760405162461bcd60e51b8152600401610b56906126ae565b6001600160a01b0382166000908152601a602052604090205481151560ff9091161515036114305760405162461bcd60e51b815260206004820152603960248201527f41706542616e6b20546f6b656e3a204163636f756e7420697320616c7265616460448201527f79207468652076616c7565206f6620276578636c7564656427000000000000006064820152608401610b56565b6001600160a01b0382166000818152601a6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146114b95760405162461bcd60e51b8152600401610b56906126ae565b60068054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1599061150690831515815260200190565b60405180910390a150565b6005546001600160a01b0316331461153b5760405162461bcd60e51b8152600401610b56906126ae565b611546816001611370565b601680546001600160a01b0319166001600160a01b03831690811790915560405181907f6080503d1da552ae8eb4b7b8a20245d9fabed014180510e7d1a05ea08fdb0f3e90600090a350565b6005546001600160a01b031633146115bc5760405162461bcd60e51b8152600401610b56906126ae565b60058111156115fe5760405162461bcd60e51b815260206004820152600e60248201526d0ecc2d8eaca40e8dede40d0d2ced60931b6044820152606401610b56565b600e55565b6005546001600160a01b0316331461162d5760405162461bcd60e51b8152600401610b56906126ae565b6001600160a01b0381166116925760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b56565b61169b81611d61565b50565b6001600160a01b0383166117005760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b56565b6001600160a01b0382166117615760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b56565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461184e57818110156118415760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b56565b61184e848484840361169e565b50505050565b6001600160a01b0383166118b85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b56565b6001600160a01b03821661191a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b56565b806000036119335761192e83836000611ead565b505050565b6001600160a01b0383166000908152601b602052604090205460ff16801561197457506001600160a01b0383166000908152601a602052604090205460ff16155b801561199957506001600160a01b0382166000908152601a602052604090205460ff16155b15611aa157600854811115611a045760405162461bcd60e51b815260206004820152602b60248201527f616d6f756e74206578636565647320746865206d61784275795472616e73616360448201526a3a34b7b720b6b7bab73a1760a91b6064820152608401610b56565b6001600160a01b038216600090815260208190526040902054600954611a2a83836126f9565b1115611a845760405162461bcd60e51b8152602060048201526024808201527f45786365656473206d6178696d756d2077616c6c657420746f6b656e20616d6f6044820152633ab73a1760e11b6064820152608401610b56565b506001600160a01b0382166000908152601c602052604090204290555b6001600160a01b0382166000908152601b602052604090205460ff168015611ae257506001600160a01b0383166000908152601a602052604090205460ff16155b8015611b0757506001600160a01b0382166000908152601a602052604090205460ff16155b15611b7357600754811115611b735760405162461bcd60e51b815260206004820152602c60248201527f616d6f756e74206578636565647320746865206d617853656c6c5472616e736160448201526b31ba34b7b720b6b7bab73a1760a11b6064820152608401610b56565b30600090815260208190526040902054600a5481108015908190611ba15750600654600160a01b900460ff16155b8015611bc557506001600160a01b0384166000908152601b602052604090205460ff165b8015611bda5750600654600160a81b900460ff165b15611bed57600a549150611bed8261207b565b6001600160a01b0385166000908152601a6020526040812054600a919060ff16158015611c3357506001600160a01b0386166000908152601a602052604090205460ff16155b15611d3a57600b546001600160a01b0387166000908152601b602052604090205460ff1615611cc6576001600160a01b0388166000908152601c6020526040812054611c7f9042612711565b600654909150600160b01b900460ff168015611c9e5750620151808111155b15611cad57600d549150611cc4565b600654600160b01b900460ff16611cc457600c5491505b505b611cd56064610d6a888461224c565b9250611cf16064610d6a600e548961224c90919063ffffffff16565b91508215611d0457611d04883085611ead565b8115611d2257600f54611d229089906001600160a01b031684611ead565b611d36611d2f8484612258565b8790612264565b9550505b611d45878787611ead565b50505050505050565b6000611d5a8284612728565b9392505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152601b602052604090205481151560ff909116151503611e595760405162461bcd60e51b815260206004820152604760248201527f41706542616e6b20546f6b656e3a204175746f6d61746564206d61726b65742060448201527f6d616b6572207061697220697320616c72656164792073657420746f20746861606482015266742076616c756560c81b608482015260a401610b56565b6001600160a01b0382166000818152601b6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611f115760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b56565b6001600160a01b038216611f735760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b56565b6001600160a01b03831660009081526020819052604090205481811015611feb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b56565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906120229084906126f9565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161206e91815260200190565b60405180910390a361184e565b6006805460ff60a01b1916600160a01b17905560145460105447916000916120a99190610d6a90869061224c565b905060006120b8826002611d4e565b905060006120c68383612264565b90506120d182612270565b60006120dd4786612264565b90506120e982826123fb565b60006120f58786612264565b905061210081612270565b600061211d601554610d6a6011544761224c90919063ffffffff16565b6017546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015612158573d6000803e3d6000fd5b50600061218361217560115460155461226490919063ffffffff16565b601254610d6a90479061224c565b6018546040519192506001600160a01b03169082156108fc029083906000818181858888f193505050501580156121be573d6000803e3d6000fd5b5060195460405147916001600160a01b03169082156108fc029083906000818181858888f193505050501580156121f9573d6000803e3d6000fd5b5060408051878152602081018790527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a150506006805460ff60a01b191690555050505050505050565b6000611d5a828461274a565b6000611d5a82846126f9565b6000611d5a8284612711565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106122a5576122a5612769565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156122fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612322919061277f565b8160018151811061233557612335612769565b6001600160a01b039283166020918202929092018101919091526006543060009081526001835260408082209290941681529152205482111561238c5760065461238c9030906001600160a01b031660001961169e565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906123c590859060009086903090429060040161279c565b600060405180830381600087803b1580156123df57600080fd5b505af11580156123f3573d6000803e3d6000fd5b505050505050565b60065460165460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af115801561246b573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612490919061280d565b5050505050565b600060208083528351808285015260005b818110156124c4578581018301518582016040015282016124a8565b818111156124d6576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461169b57600080fd5b6000806040838503121561251457600080fd5b823561251f816124ec565b946020939093013593505050565b60006020828403121561253f57600080fd5b8135611d5a816124ec565b60008060006060848603121561255f57600080fd5b833561256a816124ec565b9250602084013561257a816124ec565b929592945050506040919091013590565b600080600080608085870312156125a157600080fd5b5050823594602084013594506040840135936060013592509050565b6000602082840312156125cf57600080fd5b5035919050565b803580151581146125e657600080fd5b919050565b600080604083850312156125fe57600080fd5b8235612609816124ec565b9150612617602084016125d6565b90509250929050565b60006020828403121561263257600080fd5b611d5a826125d6565b6000806040838503121561264e57600080fd5b8235612659816124ec565b91506020830135612669816124ec565b809150509250929050565b600181811c9082168061268857607f821691505b6020821081036126a857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561270c5761270c6126e3565b500190565b600082821015612723576127236126e3565b500390565b60008261274557634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612764576127646126e3565b500290565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561279157600080fd5b8151611d5a816124ec565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156127ec5784516001600160a01b0316835293830193918301916001016127c7565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561282257600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212208d33dea300d9b50b5771562700c415057b913c53cbfa33fde9601bd4c5230d3e64736f6c634300080d0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.