ERC-20
Overview
Max Total Supply
100,000,000 FLOKI2
Holders
134
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
782,484.122686786 FLOKI2Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FLOKI2
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.11; // SPDX-License-Identifier: Unlicensed import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Address.sol"; // pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } // pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } // pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } // pragma solidity >=0.6.2; 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; } contract FLOKI2 is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => uint256) private _balances; mapping (address => bool) private _isExcludedFromFee; mapping (address => bool) private _isExcludedFromMaxTx; mapping (address => bool) private _isExcludedFromMaxWallet; mapping (address => bool) private _isExcluded; mapping (address => bool) marketMakerPair; address[] private _excluded; address private marketingWallet; address private devWallet1; address private devWallet2; address private devWallet3; address private liquidityWallet; uint256 private constant MAX = ~uint256(0); uint256 private _totalSupply = 100000000 * 10**9; uint256 private _rTotal = (MAX - (MAX % _totalSupply)); uint256 private _tFeeTotal; string private _name = "FLOKI2.0"; string private _symbol = "FLOKI2"; uint8 private _decimals = 9; uint256 public _taxFee = 3; uint256 private _previousTaxFee = _taxFee; uint256 public _liquidityFee = 2; uint256 private _previousLiquidityFee = _liquidityFee; uint256 public _devFee = 1; uint256 private _previousdevFee = _devFee; uint256 public _marketingFee = 3; uint256 private _previousMarketingFee = _marketingFee; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; bool inSwapAndLiquify; bool public swapAndLiquifyEnabled = true; uint256 public _maxWallet = 2000000 * 10**9; //1.5% of TS uint256 public _maxTxAmount = 2000000 * 10**9; //0.5% of TS // set this number to adjust the rate of swaps uint256 public numTokensSellToAddToLiquidity = 250000 * 10**9; event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap); event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); event SwapAndSend( uint256 tokensSwapped, uint256 ethReceived, uint256 tokens ); modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor () { _rOwned[_msgSender()] = _rTotal; // IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // KOVAN IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // MAINNET // IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3); // TESTNET // Create a uniswap pair for this new token uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); marketMakerPair[uniswapV2Pair] = true; // set the rest of the contract variables uniswapV2Router = _uniswapV2Router; liquidityWallet = owner(); marketingWallet = payable(0x58980a889308FCcC01bFDD6B4Edc25e72af3329A); devWallet1 = payable(0x8d9b518C9B59480fe5a875BbefEF9C3115699a91); devWallet2 = payable(0x1280Faf6C34b0F39823ef0Edbf4c6064674C4b1B); devWallet3 = payable(0xf9A546CcA2587df50f0d2bb1f42315251098058D); //exclude owner and this contract from fee _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; // Add all the tokens created to the creator of the token _balances[msg.sender] = _totalSupply; // Emit an Transfer event to notify the blockchain that an Transfer has occured emit Transfer(address(0), msg.sender, _totalSupply); // Exclude from max tx _isExcludedFromMaxTx[owner()] = true; _isExcludedFromMaxTx[address(this)] = true; _isExcludedFromMaxTx[address(0x000000000000000000000000000000000000dEaD)] = true; _isExcludedFromMaxTx[address(0)] = true; emit Transfer(address(0), _msgSender(), _totalSupply); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view override returns (uint256) { if (_isExcluded[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } function isExcludedFromReward(address account) public view returns (bool) { return _isExcluded[account]; } function totalFees() public view returns (uint256) { return _tFeeTotal; } function deliver(uint256 tAmount) public { address sender = _msgSender(); require(!_isExcluded[sender], "Excluded addresses cannot call this function"); (uint256 rAmount,,,,,) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rTotal = _rTotal.sub(rAmount); _tFeeTotal = _tFeeTotal.add(tAmount); } function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns(uint256) { require(tAmount <= _totalSupply, "Amount must be less than supply"); if (!deductTransferFee) { (uint256 rAmount,,,,,) = _getValues(tAmount); return rAmount; } else { (,uint256 rTransferAmount,,,,) = _getValues(tAmount); return rTransferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns(uint256) { require(rAmount <= _rTotal, "Amount must be less than total reflections"); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function isExcludedFromMaxTx(address account) public view returns(bool) { return _isExcludedFromMaxTx[account]; } //to recieve ETH from uniswapV2Router when swaping receive() external payable {} function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) { (uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tLiquidity, _getRate()); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity); } function _getTValues(uint256 tAmount) private view returns (uint256, uint256, uint256) { uint256 tFee = calculateTaxFee(tAmount); uint256 tLiquidity = calculateLiquidityPlusFees(tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity); return (tTransferAmount, tFee, tLiquidity); } function _getRValues(uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 currentRate) private pure returns (uint256, uint256, uint256) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rLiquidity = tLiquidity.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity); return (rAmount, rTransferAmount, rFee); } function _getRate() private view returns(uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply.div(tSupply); } function _getCurrentSupply() private view returns(uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _totalSupply; for (uint256 i = 0; i < _excluded.length; i++) { if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _totalSupply); rSupply = rSupply.sub(_rOwned[_excluded[i]]); tSupply = tSupply.sub(_tOwned[_excluded[i]]); } if (rSupply < _rTotal.div(_totalSupply)) return (_rTotal, _totalSupply); return (rSupply, tSupply); } function _takeLiquidity(uint256 tLiquidity) private { uint256 currentRate = _getRate(); uint256 rLiquidity = tLiquidity.mul(currentRate); _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity); if(_isExcluded[address(this)]) _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity); } function calculateTaxFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_taxFee).div( 10**2 ); } function calculateLiquidityPlusFees(uint256 _amount) private view returns (uint256) { return _amount.mul(_liquidityFee + _devFee + _marketingFee).div( 10**2 ); } function removeAllFee() private { if(_taxFee == 0 && _liquidityFee == 0 && _marketingFee == 0 && _devFee == 0) return; _previousTaxFee = _taxFee; _previousLiquidityFee = _liquidityFee; _previousdevFee = _devFee; _previousMarketingFee = _marketingFee; _taxFee = 0; _liquidityFee = 0; _devFee = 0; _marketingFee = 0; } function restoreAllFee() private { _taxFee = _previousTaxFee; _liquidityFee = _previousLiquidityFee; _devFee = _previousdevFee; _marketingFee = _previousMarketingFee; } function isExcludedFromFee(address account) public view returns(bool) { return _isExcludedFromFee[account]; } function _approve(address owner, address spender, uint256 amount) private { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _transfer( address from, address to, uint256 amount ) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if (_isExcludedFromMaxTx[from] == false && _isExcludedFromMaxTx[to] == false && _isExcludedFromMaxWallet[from] == false && _isExcludedFromMaxWallet[to] == false && to != uniswapV2Pair) { require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount."); uint256 contractBalanceRecepient = balanceOf(to); require(contractBalanceRecepient + amount <= _maxWallet, "Exceeds maximum wallet token amount."); } // is the token balance of this contract address over the min number of // tokens that we need to initiate a swap + liquidity lock? // also, don't get caught in a circular liquidity event. // also, don't swap & liquify if sender is uniswap pair. uint256 contractTokenBalance = balanceOf(address(this)); if(contractTokenBalance >= _maxTxAmount) { contractTokenBalance = _maxTxAmount; } bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity; if ( overMinTokenBalance && !inSwapAndLiquify && from != uniswapV2Pair && swapAndLiquifyEnabled ) { contractTokenBalance = numTokensSellToAddToLiquidity; //add liquidity swapAndLiquify(contractTokenBalance); } //indicates if fee should be deducted from transfer bool takeFee = true; //if any account belongs to _isExcludedFromFee account then remove the fee if(_isExcludedFromFee[from] || _isExcludedFromFee[to]){ takeFee = false; } if(!marketMakerPair[to] && !marketMakerPair[from]) { takeFee = false; } //transfer amount, it will take tax, burn, liquidity fee _tokenTransfer(from,to,amount,takeFee); } function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap { // split the contract balance into halves uint256 half = contractTokenBalance.div(2); uint256 otherHalf = contractTokenBalance.sub(half); uint256 totalLiqFee = _marketingFee + _liquidityFee + _devFee; // capture the contract's current ETH balance. // this is so that we can capture exactly the amount of ETH that the // swap creates, and not make the liquidity event include any ETH that // has been manually sent to the contract uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForEth(half); // <- this breaks the ETH -> TART swap when swap+liquify is triggered // how much ETH did we just swap into? uint256 newBalance = address(this).balance.sub(initialBalance); // dev Portion uint256 devBalance = newBalance.div(totalLiqFee).mul(_devFee); // Marketing Portion uint256 marketingBalance = newBalance.div(totalLiqFee).mul(_marketingFee); uint256 finalBalance = newBalance.sub(devBalance).sub(marketingBalance); if (_devFee > 0) { uint256 devAmount = devBalance.div(3); (bool success, ) = devWallet1.call{value: devAmount}(""); require(success, "Failed to send dev amount"); (success, ) = devWallet2.call{value: devAmount}(""); require(success, "Failed to send dev amount"); (success, ) = devWallet3.call{value: devAmount}(""); require(success, "Failed to send dev amount"); } if (_marketingFee > 0) { (bool success, ) = marketingWallet.call{value: marketingBalance}(""); require(success, "Failed to send marketing amount"); } if (_liquidityFee > 0) { addLiquidity(otherHalf, finalBalance, liquidityWallet); // emit event for total liquidity added emit SwapAndLiquify(half, newBalance, otherHalf); } } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount, address lp) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable lp, block.timestamp ); } //pragma solidity ^0.8.4; /** * @notice _burn will destroy tokens from an address inputted and then decrease total supply * An Transfer event will emit with receiever set to zero address * * Requires * - Account cannot be zero * - Account balance has to be bigger or equal to amount */ function _burn(address account, uint256 amount) internal { require(account != address(0), "Floki 2.0: cannot burn from zero address"); require(_balances[account] >= amount, "Floki 2.0: Cannot burn more than the account owns"); // Remove the amount from the account balance _balances[account] = _balances[account] - amount; // Decrease totalSupply _totalSupply = _totalSupply - amount; // Emit event, use zero address as reciever emit Transfer(account, address(0), amount); } /** * @notice burn is used to destroy tokens on an address * * See {_burn} * Requires * - msg.sender must be the token owner * */ function burn(address account, uint256 amount) public onlyOwner returns(bool) { _burn(account, amount); return true; } //this method is responsible for taking all fee, if takeFee is true function _tokenTransfer(address sender, address recipient, uint256 amount,bool takeFee) private { if(!takeFee) removeAllFee(); if (_isExcluded[sender] && !_isExcluded[recipient]) { _transferFromExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && _isExcluded[recipient]) { _transferToExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && !_isExcluded[recipient]) { _transferStandard(sender, recipient, amount); } else if (_isExcluded[sender] && _isExcluded[recipient]) { _transferBothExcluded(sender, recipient, amount); } else { _transferStandard(sender, recipient, amount); } if(!takeFee) restoreAllFee(); } function _transferStandard(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferToExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function multi_airdrop(address[] calldata addresses, uint256[] calldata tokens) external onlyOwner { require(addresses.length < 501,"GAS Error: max airdrop limit is 500 addresses"); require(addresses.length == tokens.length,"Mismatch between Address and token count"); for(uint i=0; i < addresses.length; i++){ _transferStandard(msg.sender,addresses[i],tokens[i]); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","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":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"SwapAndSend","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_devFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","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":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxTx","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"tokens","type":"uint256[]"}],"name":"multi_airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensSellToAddToLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c060405267016345785d8a000060108190556200002090600019620005d9565b6200002e90600019620005fc565b601155604080518082019091526008808252670464c4f4b49322e360c41b6020909201918252620000629160139162000533565b5060408051808201909152600680825265232627a5a49960d11b6020909201918252620000929160149162000533565b506015805460ff19166009179055600360168190556017819055600260188190556019556001601a819055601b55601c819055601d55601e805461ff00191661010017905566071afd498d0000601f81905560205565e35fa931a000602155348015620000fe57600080fd5b506200010a33620004e3565b6011543360009081526001602090815260409182902092909255805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d92839263c45a015592600480830193928290030181865afa15801562000171573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000197919062000622565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200020b919062000622565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000259573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200027f919062000622565b6001600160a01b0390811660a08190526000908152600960205260409020805460ff191660011790558116608052620002c06000546001600160a01b031690565b600f80546001600160a01b03929092166001600160a01b0319928316179055600b805482167358980a889308fccc01bfdd6b4edc25e72af3329a179055600c80548216738d9b518c9b59480fe5a875bbefef9c3115699a91179055600d80548216731280faf6c34b0f39823ef0edbf4c6064674c4b1b179055600e805490911673f9a546cca2587df50f0d2bb1f42315251098058d179055600160056000620003716000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526005835281812080549094166001179093556010543380855260048452828520829055915190815290929160008051602062002dd7833981519152910160405180910390a3600160066000620003fe6000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff19958616179055308152600690925281208054831660019081179091557f1aecba4ebe7a4e0673e4891b2b092b2228e4322380b579fb494fad3da8586e2280548416821790559080527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f880549092161790556200049d3390565b6001600160a01b031660006001600160a01b031660008051602062002dd7833981519152601054604051620004d491815260200190565b60405180910390a35062000691565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620005419062000654565b90600052602060002090601f016020900481019282620005655760008555620005b0565b82601f106200058057805160ff1916838001178555620005b0565b82800160010185558215620005b0579182015b82811115620005b057825182559160200191906001019062000593565b50620005be929150620005c2565b5090565b5b80821115620005be5760008155600101620005c3565b600082620005f757634e487b7160e01b600052601260045260246000fd5b500690565b6000828210156200061d57634e487b7160e01b600052601160045260246000fd5b500390565b6000602082840312156200063557600080fd5b81516001600160a01b03811681146200064d57600080fd5b9392505050565b600181811c908216806200066957607f821691505b602082108114156200068b57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a0516126ef620006e8600039600081816103db01528181610fda015261112901526000818161028a01528181611da901528181611e6201528181611e9e01528181611f1c0152611f8101526126ef6000f3fe6080604052600436106101f25760003560e01c8063658c27a91161010d57806393e35835116100a0578063a9059cbb1161006f578063a9059cbb146105d1578063aa45026b146105f1578063d12a768814610607578063dd62ed3e1461061d578063f2fde38b1461066357600080fd5b806393e358351461055c57806395d89b411461057c5780639dc29fac14610591578063a457c2d7146105b157600080fd5b80637d1db4a5116100dc5780637d1db4a5146104d957806382247ec0146104ef57806388f82020146105055780638da5cb5b1461053e57600080fd5b8063658c27a9146104555780636bc87c3a1461048e57806370a08231146104a4578063715018a6146104c457600080fd5b8063313ce567116101855780634549b039116101545780634549b039146103a957806349bd5a5e146103c95780634a74bb02146103fd5780635342acb41461041c57600080fd5b8063313ce5671461032f57806339509351146103515780633b124fe7146103715780633bd5d1731461038757600080fd5b806318160ddd116101c157806318160ddd146102c457806322976e0d146102d957806323b872dd146102ef5780632d8381191461030f57600080fd5b806306fdde03146101fe578063095ea7b31461022957806313114a9d146102595780631694505e1461027857600080fd5b366101f957005b600080fd5b34801561020a57600080fd5b50610213610683565b604051610220919061222a565b60405180910390f35b34801561023557600080fd5b50610249610244366004612294565b610715565b6040519015158152602001610220565b34801561026557600080fd5b506012545b604051908152602001610220565b34801561028457600080fd5b506102ac7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610220565b3480156102d057600080fd5b5060105461026a565b3480156102e557600080fd5b5061026a601c5481565b3480156102fb57600080fd5b5061024961030a3660046122c0565b61072c565b34801561031b57600080fd5b5061026a61032a366004612301565b610795565b34801561033b57600080fd5b5060155460405160ff9091168152602001610220565b34801561035d57600080fd5b5061024961036c366004612294565b61081e565b34801561037d57600080fd5b5061026a60165481565b34801561039357600080fd5b506103a76103a2366004612301565b610854565b005b3480156103b557600080fd5b5061026a6103c436600461231a565b61093e565b3480156103d557600080fd5b506102ac7f000000000000000000000000000000000000000000000000000000000000000081565b34801561040957600080fd5b50601e5461024990610100900460ff1681565b34801561042857600080fd5b5061024961043736600461234f565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561046157600080fd5b5061024961047036600461234f565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561049a57600080fd5b5061026a60185481565b3480156104b057600080fd5b5061026a6104bf36600461234f565b6109cb565b3480156104d057600080fd5b506103a7610a2a565b3480156104e557600080fd5b5061026a60205481565b3480156104fb57600080fd5b5061026a601f5481565b34801561051157600080fd5b5061024961052036600461234f565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561054a57600080fd5b506000546001600160a01b03166102ac565b34801561056857600080fd5b506103a76105773660046123b8565b610a60565b34801561058857600080fd5b50610213610bbe565b34801561059d57600080fd5b506102496105ac366004612294565b610bcd565b3480156105bd57600080fd5b506102496105cc366004612294565b610c02565b3480156105dd57600080fd5b506102496105ec366004612294565b610c51565b3480156105fd57600080fd5b5061026a601a5481565b34801561061357600080fd5b5061026a60215481565b34801561062957600080fd5b5061026a610638366004612424565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b34801561066f57600080fd5b506103a761067e36600461234f565b610c5e565b60606013805461069290612452565b80601f01602080910402602001604051908101604052809291908181526020018280546106be90612452565b801561070b5780601f106106e05761010080835404028352916020019161070b565b820191906000526020600020905b8154815290600101906020018083116106ee57829003601f168201915b5050505050905090565b6000610722338484610cf9565b5060015b92915050565b6000610739848484610e1d565b61078b84336107868560405180606001604052806028815260200161266d602891396001600160a01b038a166000908152600360209081526040808320338452909152902054919061122e565b610cf9565b5060019392505050565b60006011548211156108015760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084015b60405180910390fd5b600061080b61125a565b9050610817838261127d565b9392505050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916107229185906107869086611289565b3360008181526008602052604090205460ff16156108c95760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b60648201526084016107f8565b60006108d483611295565b505050506001600160a01b038416600090815260016020526040902054919250610900919050826112e4565b6001600160a01b03831660009081526001602052604090205560115461092690826112e4565b6011556012546109369084611289565b601255505050565b60006010548311156109925760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c790060448201526064016107f8565b816109b15760006109a284611295565b50939550610726945050505050565b60006109bc84611295565b50929550610726945050505050565b6001600160a01b03811660009081526008602052604081205460ff1615610a0857506001600160a01b031660009081526002602052604090205490565b6001600160a01b03821660009081526001602052604090205461072690610795565b6000546001600160a01b03163314610a545760405162461bcd60e51b81526004016107f89061248d565b610a5e60006112f0565b565b6000546001600160a01b03163314610a8a5760405162461bcd60e51b81526004016107f89061248d565b6101f58310610af15760405162461bcd60e51b815260206004820152602d60248201527f474153204572726f723a206d61782061697264726f70206c696d69742069732060448201526c3530302061646472657373657360981b60648201526084016107f8565b828114610b515760405162461bcd60e51b815260206004820152602860248201527f4d69736d61746368206265747765656e204164647265737320616e6420746f6b604482015267195b8818dbdd5b9d60c21b60648201526084016107f8565b60005b83811015610bb757610ba533868684818110610b7257610b726124c2565b9050602002016020810190610b87919061234f565b858585818110610b9957610b996124c2565b90506020020135611340565b80610baf816124ee565b915050610b54565b5050505050565b60606014805461069290612452565b600080546001600160a01b03163314610bf85760405162461bcd60e51b81526004016107f89061248d565b6107228383611437565b6000610722338461078685604051806060016040528060258152602001612695602591393360009081526003602090815260408083206001600160a01b038d168452909152902054919061122e565b6000610722338484610e1d565b6000546001600160a01b03163314610c885760405162461bcd60e51b81526004016107f89061248d565b6001600160a01b038116610ced5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107f8565b610cf6816112f0565b50565b6001600160a01b038316610d5b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107f8565b6001600160a01b038216610dbc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107f8565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610e815760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107f8565b6001600160a01b038216610ee35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107f8565b60008111610f455760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016107f8565b6001600160a01b03831660009081526006602052604090205460ff16158015610f8757506001600160a01b03821660009081526006602052604090205460ff16155b8015610fac57506001600160a01b03831660009081526007602052604090205460ff16155b8015610fd157506001600160a01b03821660009081526007602052604090205460ff16155b801561100f57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b156110ee576020548111156110775760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016107f8565b6000611082836109cb565b601f549091506110928383612509565b11156110ec5760405162461bcd60e51b8152602060048201526024808201527f45786365656473206d6178696d756d2077616c6c657420746f6b656e20616d6f6044820152633ab73a1760e11b60648201526084016107f8565b505b60006110f9306109cb565b9050602054811061110957506020545b602154811080159081906111205750601e5460ff16155b801561115e57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b80156111715750601e54610100900460ff165b15611184576021549150611184826115b3565b6001600160a01b03851660009081526005602052604090205460019060ff16806111c657506001600160a01b03851660009081526005602052604090205460ff165b156111cf575060005b6001600160a01b03851660009081526009602052604090205460ff1615801561121157506001600160a01b03861660009081526009602052604090205460ff16155b1561121a575060005b6112268686868461190e565b505050505050565b600081848411156112525760405162461bcd60e51b81526004016107f8919061222a565b505050900390565b6000806000611267611a97565b9092509050611276828261127d565b9250505090565b60006108178284612521565b60006108178284612509565b60008060008060008060008060006112ac8a611c19565b92509250925060008060006112ca8d86866112c561125a565b611c55565b919f909e50909c50959a5093985091965092945050505050565b60006108178284612543565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008060008060008061135287611295565b6001600160a01b038f16600090815260016020526040902054959b5093995091975095509350915061138490876112e4565b6001600160a01b03808b1660009081526001602052604080822093909355908a16815220546113b39086611289565b6001600160a01b0389166000908152600160205260409020556113d581611ca5565b6113df8483611d2e565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161142491815260200190565b60405180910390a3505050505050505050565b6001600160a01b03821661149e5760405162461bcd60e51b815260206004820152602860248201527f466c6f6b6920322e303a2063616e6e6f74206275726e2066726f6d207a65726f604482015267206164647265737360c01b60648201526084016107f8565b6001600160a01b0382166000908152600460205260409020548111156115205760405162461bcd60e51b815260206004820152603160248201527f466c6f6b6920322e303a2043616e6e6f74206275726e206d6f7265207468616e60448201527020746865206163636f756e74206f776e7360781b60648201526084016107f8565b6001600160a01b038216600090815260046020526040902054611544908290612543565b6001600160a01b03831660009081526004602052604090205560105461156b908290612543565b6010556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b601e805460ff1916600117905560006115cd82600261127d565b905060006115db83836112e4565b90506000601a54601854601c546115f29190612509565b6115fc9190612509565b90504761160884611d52565b600061161447836112e4565b90506000611637601a54611631868561127d90919063ffffffff16565b90611f0a565b90506000611654601c54611631878661127d90919063ffffffff16565b9050600061166c8261166686866112e4565b906112e4565b601a54909150156117e957600061168484600361127d565b600c546040519192506000916001600160a01b039091169083908381818185875af1925050503d80600081146116d6576040519150601f19603f3d011682016040523d82523d6000602084013e6116db565b606091505b50509050806116fc5760405162461bcd60e51b81526004016107f89061255a565b600d546040516001600160a01b03909116908390600081818185875af1925050503d8060008114611749576040519150601f19603f3d011682016040523d82523d6000602084013e61174e565b606091505b505080915050806117715760405162461bcd60e51b81526004016107f89061255a565b600e546040516001600160a01b03909116908390600081818185875af1925050503d80600081146117be576040519150601f19603f3d011682016040523d82523d6000602084013e6117c3565b606091505b505080915050806117e65760405162461bcd60e51b81526004016107f89061255a565b50505b601c541561189657600b546040516000916001600160a01b03169084908381818185875af1925050503d806000811461183e576040519150601f19603f3d011682016040523d82523d6000602084013e611843565b606091505b50509050806118945760405162461bcd60e51b815260206004820152601f60248201527f4661696c656420746f2073656e64206d61726b6574696e6720616d6f756e740060448201526064016107f8565b505b601854156118f957600f546118b790889083906001600160a01b0316611f16565b60408051898152602081018690529081018890527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15b5050601e805460ff1916905550505050505050565b8061191b5761191b611ff0565b6001600160a01b03841660009081526008602052604090205460ff16801561195c57506001600160a01b03831660009081526008602052604090205460ff16155b156119715761196c84848461204b565b611a6f565b6001600160a01b03841660009081526008602052604090205460ff161580156119b257506001600160a01b03831660009081526008602052604090205460ff165b156119c25761196c8484846120be565b6001600160a01b03841660009081526008602052604090205460ff16158015611a0457506001600160a01b03831660009081526008602052604090205460ff16155b15611a145761196c848484611340565b6001600160a01b03841660009081526008602052604090205460ff168015611a5457506001600160a01b03831660009081526008602052604090205460ff165b15611a645761196c848484612167565b611a6f848484611340565b80611a9157611a91601754601655601954601855601b54601a55601d54601c55565b50505050565b6011546010546000918291825b600a54811015611be9578260016000600a8481548110611ac657611ac66124c2565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611b3157508160026000600a8481548110611b0a57611b0a6124c2565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611b4757601154601054945094505050509091565b611b8d60016000600a8481548110611b6157611b616124c2565b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906112e4565b9250611bd560026000600a8481548110611ba957611ba96124c2565b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906112e4565b915080611be1816124ee565b915050611aa4565b50601054601154611bf99161127d565b821015611c10576011546010549350935050509091565b90939092509050565b600080600080611c28856121da565b90506000611c35866121fc565b90506000611c478261166689866112e4565b979296509094509092505050565b6000808080611c648886611f0a565b90506000611c728887611f0a565b90506000611c808888611f0a565b90506000611c928261166686866112e4565b939b939a50919850919650505050505050565b6000611caf61125a565b90506000611cbd8383611f0a565b30600090815260016020526040902054909150611cda9082611289565b3060009081526001602090815260408083209390935560089052205460ff1615611d295730600090815260026020526040902054611d189084611289565b306000908152600260205260409020555b505050565b601154611d3b90836112e4565b601155601254611d4b9082611289565b6012555050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611d8757611d876124c2565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e299190612591565b81600181518110611e3c57611e3c6124c2565b60200260200101906001600160a01b031690816001600160a01b031681525050611e87307f000000000000000000000000000000000000000000000000000000000000000084610cf9565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611edc9085906000908690309042906004016125ae565b600060405180830381600087803b158015611ef657600080fd5b505af1158015611226573d6000803e3d6000fd5b6000610817828461261f565b611f41307f000000000000000000000000000000000000000000000000000000000000000085610cf9565b60405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0382811660848301524260a48301527f0000000000000000000000000000000000000000000000000000000000000000169063f305d71990849060c40160606040518083038185885af1158015611fcb573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611226919061263e565b6016541580156120005750601854155b801561200c5750601c54155b80156120185750601a54155b1561201f57565b6016805460175560188054601955601a8054601b55601c8054601d556000938490559183905582905555565b60008060008060008061205d87611295565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061208f90886112e4565b6001600160a01b038a1660009081526002602090815260408083209390935560019052205461138490876112e4565b6000806000806000806120d087611295565b6001600160a01b038f16600090815260016020526040902054959b5093995091975095509350915061210290876112e4565b6001600160a01b03808b16600090815260016020908152604080832094909455918b168152600290915220546121389084611289565b6001600160a01b0389166000908152600260209081526040808320939093556001905220546113b39086611289565b60008060008060008061217987611295565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506121ab90886112e4565b6001600160a01b038a1660009081526002602090815260408083209390935560019052205461210290876112e4565b600061072660646121f660165485611f0a90919063ffffffff16565b9061127d565b600061072660646121f6601c54601a546018546122199190612509565b6122239190612509565b8590611f0a565b600060208083528351808285015260005b818110156122575785810183015185820160400152820161223b565b81811115612269576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610cf657600080fd5b600080604083850312156122a757600080fd5b82356122b28161227f565b946020939093013593505050565b6000806000606084860312156122d557600080fd5b83356122e08161227f565b925060208401356122f08161227f565b929592945050506040919091013590565b60006020828403121561231357600080fd5b5035919050565b6000806040838503121561232d57600080fd5b823591506020830135801515811461234457600080fd5b809150509250929050565b60006020828403121561236157600080fd5b81356108178161227f565b60008083601f84011261237e57600080fd5b50813567ffffffffffffffff81111561239657600080fd5b6020830191508360208260051b85010111156123b157600080fd5b9250929050565b600080600080604085870312156123ce57600080fd5b843567ffffffffffffffff808211156123e657600080fd5b6123f28883890161236c565b9096509450602087013591508082111561240b57600080fd5b506124188782880161236c565b95989497509550505050565b6000806040838503121561243757600080fd5b82356124428161227f565b915060208301356123448161227f565b600181811c9082168061246657607f821691505b6020821081141561248757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415612502576125026124d8565b5060010190565b6000821982111561251c5761251c6124d8565b500190565b60008261253e57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612555576125556124d8565b500390565b60208082526019908201527f4661696c656420746f2073656e642064657620616d6f756e7400000000000000604082015260600190565b6000602082840312156125a357600080fd5b81516108178161227f565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156125fe5784516001600160a01b0316835293830193918301916001016125d9565b50506001600160a01b03969096166060850152505050608001529392505050565b6000816000190483118215151615612639576126396124d8565b500290565b60008060006060848603121561265357600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212208020e83b98a278503699bca1e8e9e388682985c03fec9d5dcb317758acc19afd64736f6c634300080b0033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
Deployed Bytecode
0x6080604052600436106101f25760003560e01c8063658c27a91161010d57806393e35835116100a0578063a9059cbb1161006f578063a9059cbb146105d1578063aa45026b146105f1578063d12a768814610607578063dd62ed3e1461061d578063f2fde38b1461066357600080fd5b806393e358351461055c57806395d89b411461057c5780639dc29fac14610591578063a457c2d7146105b157600080fd5b80637d1db4a5116100dc5780637d1db4a5146104d957806382247ec0146104ef57806388f82020146105055780638da5cb5b1461053e57600080fd5b8063658c27a9146104555780636bc87c3a1461048e57806370a08231146104a4578063715018a6146104c457600080fd5b8063313ce567116101855780634549b039116101545780634549b039146103a957806349bd5a5e146103c95780634a74bb02146103fd5780635342acb41461041c57600080fd5b8063313ce5671461032f57806339509351146103515780633b124fe7146103715780633bd5d1731461038757600080fd5b806318160ddd116101c157806318160ddd146102c457806322976e0d146102d957806323b872dd146102ef5780632d8381191461030f57600080fd5b806306fdde03146101fe578063095ea7b31461022957806313114a9d146102595780631694505e1461027857600080fd5b366101f957005b600080fd5b34801561020a57600080fd5b50610213610683565b604051610220919061222a565b60405180910390f35b34801561023557600080fd5b50610249610244366004612294565b610715565b6040519015158152602001610220565b34801561026557600080fd5b506012545b604051908152602001610220565b34801561028457600080fd5b506102ac7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610220565b3480156102d057600080fd5b5060105461026a565b3480156102e557600080fd5b5061026a601c5481565b3480156102fb57600080fd5b5061024961030a3660046122c0565b61072c565b34801561031b57600080fd5b5061026a61032a366004612301565b610795565b34801561033b57600080fd5b5060155460405160ff9091168152602001610220565b34801561035d57600080fd5b5061024961036c366004612294565b61081e565b34801561037d57600080fd5b5061026a60165481565b34801561039357600080fd5b506103a76103a2366004612301565b610854565b005b3480156103b557600080fd5b5061026a6103c436600461231a565b61093e565b3480156103d557600080fd5b506102ac7f0000000000000000000000005cfbb2b8d013c97c81317434b32b70bed83242b981565b34801561040957600080fd5b50601e5461024990610100900460ff1681565b34801561042857600080fd5b5061024961043736600461234f565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561046157600080fd5b5061024961047036600461234f565b6001600160a01b031660009081526006602052604090205460ff1690565b34801561049a57600080fd5b5061026a60185481565b3480156104b057600080fd5b5061026a6104bf36600461234f565b6109cb565b3480156104d057600080fd5b506103a7610a2a565b3480156104e557600080fd5b5061026a60205481565b3480156104fb57600080fd5b5061026a601f5481565b34801561051157600080fd5b5061024961052036600461234f565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561054a57600080fd5b506000546001600160a01b03166102ac565b34801561056857600080fd5b506103a76105773660046123b8565b610a60565b34801561058857600080fd5b50610213610bbe565b34801561059d57600080fd5b506102496105ac366004612294565b610bcd565b3480156105bd57600080fd5b506102496105cc366004612294565b610c02565b3480156105dd57600080fd5b506102496105ec366004612294565b610c51565b3480156105fd57600080fd5b5061026a601a5481565b34801561061357600080fd5b5061026a60215481565b34801561062957600080fd5b5061026a610638366004612424565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b34801561066f57600080fd5b506103a761067e36600461234f565b610c5e565b60606013805461069290612452565b80601f01602080910402602001604051908101604052809291908181526020018280546106be90612452565b801561070b5780601f106106e05761010080835404028352916020019161070b565b820191906000526020600020905b8154815290600101906020018083116106ee57829003601f168201915b5050505050905090565b6000610722338484610cf9565b5060015b92915050565b6000610739848484610e1d565b61078b84336107868560405180606001604052806028815260200161266d602891396001600160a01b038a166000908152600360209081526040808320338452909152902054919061122e565b610cf9565b5060019392505050565b60006011548211156108015760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084015b60405180910390fd5b600061080b61125a565b9050610817838261127d565b9392505050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916107229185906107869086611289565b3360008181526008602052604090205460ff16156108c95760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b60648201526084016107f8565b60006108d483611295565b505050506001600160a01b038416600090815260016020526040902054919250610900919050826112e4565b6001600160a01b03831660009081526001602052604090205560115461092690826112e4565b6011556012546109369084611289565b601255505050565b60006010548311156109925760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c790060448201526064016107f8565b816109b15760006109a284611295565b50939550610726945050505050565b60006109bc84611295565b50929550610726945050505050565b6001600160a01b03811660009081526008602052604081205460ff1615610a0857506001600160a01b031660009081526002602052604090205490565b6001600160a01b03821660009081526001602052604090205461072690610795565b6000546001600160a01b03163314610a545760405162461bcd60e51b81526004016107f89061248d565b610a5e60006112f0565b565b6000546001600160a01b03163314610a8a5760405162461bcd60e51b81526004016107f89061248d565b6101f58310610af15760405162461bcd60e51b815260206004820152602d60248201527f474153204572726f723a206d61782061697264726f70206c696d69742069732060448201526c3530302061646472657373657360981b60648201526084016107f8565b828114610b515760405162461bcd60e51b815260206004820152602860248201527f4d69736d61746368206265747765656e204164647265737320616e6420746f6b604482015267195b8818dbdd5b9d60c21b60648201526084016107f8565b60005b83811015610bb757610ba533868684818110610b7257610b726124c2565b9050602002016020810190610b87919061234f565b858585818110610b9957610b996124c2565b90506020020135611340565b80610baf816124ee565b915050610b54565b5050505050565b60606014805461069290612452565b600080546001600160a01b03163314610bf85760405162461bcd60e51b81526004016107f89061248d565b6107228383611437565b6000610722338461078685604051806060016040528060258152602001612695602591393360009081526003602090815260408083206001600160a01b038d168452909152902054919061122e565b6000610722338484610e1d565b6000546001600160a01b03163314610c885760405162461bcd60e51b81526004016107f89061248d565b6001600160a01b038116610ced5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107f8565b610cf6816112f0565b50565b6001600160a01b038316610d5b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107f8565b6001600160a01b038216610dbc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107f8565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610e815760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107f8565b6001600160a01b038216610ee35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107f8565b60008111610f455760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016107f8565b6001600160a01b03831660009081526006602052604090205460ff16158015610f8757506001600160a01b03821660009081526006602052604090205460ff16155b8015610fac57506001600160a01b03831660009081526007602052604090205460ff16155b8015610fd157506001600160a01b03821660009081526007602052604090205460ff16155b801561100f57507f0000000000000000000000005cfbb2b8d013c97c81317434b32b70bed83242b96001600160a01b0316826001600160a01b031614155b156110ee576020548111156110775760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016107f8565b6000611082836109cb565b601f549091506110928383612509565b11156110ec5760405162461bcd60e51b8152602060048201526024808201527f45786365656473206d6178696d756d2077616c6c657420746f6b656e20616d6f6044820152633ab73a1760e11b60648201526084016107f8565b505b60006110f9306109cb565b9050602054811061110957506020545b602154811080159081906111205750601e5460ff16155b801561115e57507f0000000000000000000000005cfbb2b8d013c97c81317434b32b70bed83242b96001600160a01b0316856001600160a01b031614155b80156111715750601e54610100900460ff165b15611184576021549150611184826115b3565b6001600160a01b03851660009081526005602052604090205460019060ff16806111c657506001600160a01b03851660009081526005602052604090205460ff165b156111cf575060005b6001600160a01b03851660009081526009602052604090205460ff1615801561121157506001600160a01b03861660009081526009602052604090205460ff16155b1561121a575060005b6112268686868461190e565b505050505050565b600081848411156112525760405162461bcd60e51b81526004016107f8919061222a565b505050900390565b6000806000611267611a97565b9092509050611276828261127d565b9250505090565b60006108178284612521565b60006108178284612509565b60008060008060008060008060006112ac8a611c19565b92509250925060008060006112ca8d86866112c561125a565b611c55565b919f909e50909c50959a5093985091965092945050505050565b60006108178284612543565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008060008060008061135287611295565b6001600160a01b038f16600090815260016020526040902054959b5093995091975095509350915061138490876112e4565b6001600160a01b03808b1660009081526001602052604080822093909355908a16815220546113b39086611289565b6001600160a01b0389166000908152600160205260409020556113d581611ca5565b6113df8483611d2e565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161142491815260200190565b60405180910390a3505050505050505050565b6001600160a01b03821661149e5760405162461bcd60e51b815260206004820152602860248201527f466c6f6b6920322e303a2063616e6e6f74206275726e2066726f6d207a65726f604482015267206164647265737360c01b60648201526084016107f8565b6001600160a01b0382166000908152600460205260409020548111156115205760405162461bcd60e51b815260206004820152603160248201527f466c6f6b6920322e303a2043616e6e6f74206275726e206d6f7265207468616e60448201527020746865206163636f756e74206f776e7360781b60648201526084016107f8565b6001600160a01b038216600090815260046020526040902054611544908290612543565b6001600160a01b03831660009081526004602052604090205560105461156b908290612543565b6010556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b601e805460ff1916600117905560006115cd82600261127d565b905060006115db83836112e4565b90506000601a54601854601c546115f29190612509565b6115fc9190612509565b90504761160884611d52565b600061161447836112e4565b90506000611637601a54611631868561127d90919063ffffffff16565b90611f0a565b90506000611654601c54611631878661127d90919063ffffffff16565b9050600061166c8261166686866112e4565b906112e4565b601a54909150156117e957600061168484600361127d565b600c546040519192506000916001600160a01b039091169083908381818185875af1925050503d80600081146116d6576040519150601f19603f3d011682016040523d82523d6000602084013e6116db565b606091505b50509050806116fc5760405162461bcd60e51b81526004016107f89061255a565b600d546040516001600160a01b03909116908390600081818185875af1925050503d8060008114611749576040519150601f19603f3d011682016040523d82523d6000602084013e61174e565b606091505b505080915050806117715760405162461bcd60e51b81526004016107f89061255a565b600e546040516001600160a01b03909116908390600081818185875af1925050503d80600081146117be576040519150601f19603f3d011682016040523d82523d6000602084013e6117c3565b606091505b505080915050806117e65760405162461bcd60e51b81526004016107f89061255a565b50505b601c541561189657600b546040516000916001600160a01b03169084908381818185875af1925050503d806000811461183e576040519150601f19603f3d011682016040523d82523d6000602084013e611843565b606091505b50509050806118945760405162461bcd60e51b815260206004820152601f60248201527f4661696c656420746f2073656e64206d61726b6574696e6720616d6f756e740060448201526064016107f8565b505b601854156118f957600f546118b790889083906001600160a01b0316611f16565b60408051898152602081018690529081018890527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15b5050601e805460ff1916905550505050505050565b8061191b5761191b611ff0565b6001600160a01b03841660009081526008602052604090205460ff16801561195c57506001600160a01b03831660009081526008602052604090205460ff16155b156119715761196c84848461204b565b611a6f565b6001600160a01b03841660009081526008602052604090205460ff161580156119b257506001600160a01b03831660009081526008602052604090205460ff165b156119c25761196c8484846120be565b6001600160a01b03841660009081526008602052604090205460ff16158015611a0457506001600160a01b03831660009081526008602052604090205460ff16155b15611a145761196c848484611340565b6001600160a01b03841660009081526008602052604090205460ff168015611a5457506001600160a01b03831660009081526008602052604090205460ff165b15611a645761196c848484612167565b611a6f848484611340565b80611a9157611a91601754601655601954601855601b54601a55601d54601c55565b50505050565b6011546010546000918291825b600a54811015611be9578260016000600a8481548110611ac657611ac66124c2565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611b3157508160026000600a8481548110611b0a57611b0a6124c2565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611b4757601154601054945094505050509091565b611b8d60016000600a8481548110611b6157611b616124c2565b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906112e4565b9250611bd560026000600a8481548110611ba957611ba96124c2565b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906112e4565b915080611be1816124ee565b915050611aa4565b50601054601154611bf99161127d565b821015611c10576011546010549350935050509091565b90939092509050565b600080600080611c28856121da565b90506000611c35866121fc565b90506000611c478261166689866112e4565b979296509094509092505050565b6000808080611c648886611f0a565b90506000611c728887611f0a565b90506000611c808888611f0a565b90506000611c928261166686866112e4565b939b939a50919850919650505050505050565b6000611caf61125a565b90506000611cbd8383611f0a565b30600090815260016020526040902054909150611cda9082611289565b3060009081526001602090815260408083209390935560089052205460ff1615611d295730600090815260026020526040902054611d189084611289565b306000908152600260205260409020555b505050565b601154611d3b90836112e4565b601155601254611d4b9082611289565b6012555050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611d8757611d876124c2565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e299190612591565b81600181518110611e3c57611e3c6124c2565b60200260200101906001600160a01b031690816001600160a01b031681525050611e87307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610cf9565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611edc9085906000908690309042906004016125ae565b600060405180830381600087803b158015611ef657600080fd5b505af1158015611226573d6000803e3d6000fd5b6000610817828461261f565b611f41307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d85610cf9565b60405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0382811660848301524260a48301527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063f305d71990849060c40160606040518083038185885af1158015611fcb573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611226919061263e565b6016541580156120005750601854155b801561200c5750601c54155b80156120185750601a54155b1561201f57565b6016805460175560188054601955601a8054601b55601c8054601d556000938490559183905582905555565b60008060008060008061205d87611295565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061208f90886112e4565b6001600160a01b038a1660009081526002602090815260408083209390935560019052205461138490876112e4565b6000806000806000806120d087611295565b6001600160a01b038f16600090815260016020526040902054959b5093995091975095509350915061210290876112e4565b6001600160a01b03808b16600090815260016020908152604080832094909455918b168152600290915220546121389084611289565b6001600160a01b0389166000908152600260209081526040808320939093556001905220546113b39086611289565b60008060008060008061217987611295565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506121ab90886112e4565b6001600160a01b038a1660009081526002602090815260408083209390935560019052205461210290876112e4565b600061072660646121f660165485611f0a90919063ffffffff16565b9061127d565b600061072660646121f6601c54601a546018546122199190612509565b6122239190612509565b8590611f0a565b600060208083528351808285015260005b818110156122575785810183015185820160400152820161223b565b81811115612269576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610cf657600080fd5b600080604083850312156122a757600080fd5b82356122b28161227f565b946020939093013593505050565b6000806000606084860312156122d557600080fd5b83356122e08161227f565b925060208401356122f08161227f565b929592945050506040919091013590565b60006020828403121561231357600080fd5b5035919050565b6000806040838503121561232d57600080fd5b823591506020830135801515811461234457600080fd5b809150509250929050565b60006020828403121561236157600080fd5b81356108178161227f565b60008083601f84011261237e57600080fd5b50813567ffffffffffffffff81111561239657600080fd5b6020830191508360208260051b85010111156123b157600080fd5b9250929050565b600080600080604085870312156123ce57600080fd5b843567ffffffffffffffff808211156123e657600080fd5b6123f28883890161236c565b9096509450602087013591508082111561240b57600080fd5b506124188782880161236c565b95989497509550505050565b6000806040838503121561243757600080fd5b82356124428161227f565b915060208301356123448161227f565b600181811c9082168061246657607f821691505b6020821081141561248757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415612502576125026124d8565b5060010190565b6000821982111561251c5761251c6124d8565b500190565b60008261253e57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612555576125556124d8565b500390565b60208082526019908201527f4661696c656420746f2073656e642064657620616d6f756e7400000000000000604082015260600190565b6000602082840312156125a357600080fd5b81516108178161227f565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156125fe5784516001600160a01b0316835293830193918301916001016125d9565b50506001600160a01b03969096166060850152505050608001529392505050565b6000816000190483118215151615612639576126396124d8565b500290565b60008060006060848603121561265357600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212208020e83b98a278503699bca1e8e9e388682985c03fec9d5dcb317758acc19afd64736f6c634300080b0033
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.