Token migration announcement. FLOKI
token contract has migrated to a new address.
Overview
Max Total Supply
10,000,000,000,000 FLOKI
Holders
54,813 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FLOKI
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 888 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol'; import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol'; import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol'; contract FLOKI is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; address payable public marketingAddress = payable(0x2b9d5c7f2EAD1A221d771Fb6bb5E35Df04D60AB0); // Marketing Address address public immutable deadAddress = 0x000000000000000000000000000000000000dEaD; mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isSniper; address[] private _confirmedSnipers; mapping(address => bool) private _isExcludedFromFee; mapping(address => bool) private _isExcluded; address[] private _excluded; uint256 private constant MAX = ~uint256(0); uint256 private _tTotal = 10000000000000 * 10**9; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; string private _name = 'FLOKI'; string private _symbol = 'FLOKI'; uint8 private _decimals = 9; uint256 public _taxFee; uint256 private _previousTaxFee = _taxFee; uint256 public _liquidityFee = 4; uint256 private _previousLiquidityFee = _liquidityFee; uint256 private _feeRate = 4; uint256 launchTime; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool inSwapAndLiquify; bool tradingOpen = false; event SwapETHForTokens(uint256 amountIn, address[] path); event SwapTokensForETH(uint256 amountIn, address[] path); modifier lockTheSwap() { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor() { _rOwned[_msgSender()] = _rTotal; emit Transfer(address(0), _msgSender(), _tTotal); } function initContract() external onlyOwner { // PancakeSwap: 0x10ED43C718714eb63d5aA57B78B54704E256024E // Uniswap V2: 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair( address(this), _uniswapV2Router.WETH() ); uniswapV2Router = _uniswapV2Router; _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; } function openTrading() external onlyOwner { _liquidityFee = _previousLiquidityFee; _taxFee = _previousTaxFee; tradingOpen = true; launchTime = block.timestamp; } 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 _tTotal; } 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 <= _tTotal, '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 excludeFromReward(address account) public onlyOwner { require(!_isExcluded[account], 'Account is already excluded'); if (_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcluded[account] = true; _excluded.push(account); } function includeInReward(address account) external onlyOwner { require(_isExcluded[account], 'Account is already excluded'); for (uint256 i = 0; i < _excluded.length; i++) { if (_excluded[i] == account) { _excluded[i] = _excluded[_excluded.length - 1]; _tOwned[account] = 0; _isExcluded[account] = false; _excluded.pop(); break; } } } 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'); require(!_isSniper[to], 'You have no power here!'); require(!_isSniper[msg.sender], 'You have no power here!'); // buy if ( from == uniswapV2Pair && to != address(uniswapV2Router) && !_isExcludedFromFee[to] ) { require(tradingOpen, 'Trading not yet enabled.'); //antibot if (block.timestamp == launchTime) { _isSniper[to] = true; _confirmedSnipers.push(to); } } uint256 contractTokenBalance = balanceOf(address(this)); //sell if (!inSwapAndLiquify && tradingOpen && to == uniswapV2Pair) { if (contractTokenBalance > 0) { if ( contractTokenBalance > balanceOf(uniswapV2Pair).mul(_feeRate).div(100) ) { contractTokenBalance = balanceOf(uniswapV2Pair).mul(_feeRate).div( 100 ); } swapTokens(contractTokenBalance); } } bool takeFee = false; //take fee only on swaps if ( (from == uniswapV2Pair || to == uniswapV2Pair) && !(_isExcludedFromFee[from] || _isExcludedFromFee[to]) ) { takeFee = true; } _tokenTransfer(from, to, amount, takeFee); } function swapTokens(uint256 contractTokenBalance) private lockTheSwap { swapTokensForEth(contractTokenBalance); //Send to Marketing address uint256 contractETHBalance = address(this).balance; if (contractETHBalance > 0) { sendETHToMarketing(address(this).balance); } } function sendETHToMarketing(uint256 amount) private { // Ignore the boolean return value. If it gets stuck, then retrieve via `emergencyWithdraw`. marketingAddress.call{value: amount}(""); } 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), // The contract block.timestamp ); emit SwapTokensForETH(tokenAmount, path); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) 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 owner(), block.timestamp ); } 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]) { _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 _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 _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 = calculateLiquidityFee(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 = _tTotal; for (uint256 i = 0; i < _excluded.length; i++) { if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal); rSupply = rSupply.sub(_rOwned[_excluded[i]]); tSupply = tSupply.sub(_tOwned[_excluded[i]]); } if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal); 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 calculateLiquidityFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_liquidityFee).div(10**2); } function removeAllFee() private { if (_taxFee == 0 && _liquidityFee == 0) return; _previousTaxFee = _taxFee; _previousLiquidityFee = _liquidityFee; _taxFee = 0; _liquidityFee = 0; } function restoreAllFee() private { _taxFee = _previousTaxFee; _liquidityFee = _previousLiquidityFee; } function isExcludedFromFee(address account) public view returns (bool) { return _isExcludedFromFee[account]; } function excludeFromFee(address account) public onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) public onlyOwner { _isExcludedFromFee[account] = false; } function setTaxFeePercent(uint256 taxFee) external onlyOwner { _taxFee = taxFee; } function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner { _liquidityFee = liquidityFee; } function setMarketingAddress(address _marketingAddress) external onlyOwner { marketingAddress = payable(_marketingAddress); } function transferToAddressETH(address payable recipient, uint256 amount) private { recipient.transfer(amount); } function isRemovedSniper(address account) public view returns (bool) { return _isSniper[account]; } function _removeSniper(address account) external onlyOwner { require( account != 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, 'We can not blacklist Uniswap' ); require(!_isSniper[account], 'Account is already blacklisted'); _isSniper[account] = true; _confirmedSnipers.push(account); } function _amnestySniper(address account) external onlyOwner { require(_isSniper[account], 'Account is not blacklisted'); for (uint256 i = 0; i < _confirmedSnipers.length; i++) { if (_confirmedSnipers[i] == account) { _confirmedSnipers[i] = _confirmedSnipers[_confirmedSnipers.length - 1]; _isSniper[account] = false; _confirmedSnipers.pop(); break; } } } function setFeeRate(uint256 rate) external onlyOwner { _feeRate = rate; } //to recieve ETH from uniswapV2Router when swaping receive() external payable {} // Withdraw ETH that gets stuck in contract by accident function emergencyWithdraw() external onlyOwner { payable(owner()).send(address(this).balance); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT 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 no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private 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); } } } }
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; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT 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; } }
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); }
{ "metadata": { "bytecodeHash": "none" }, "optimizer": { "enabled": true, "runs": 888 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapETHForTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapTokensForETH","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"_amnestySniper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"_removeSniper","outputs":[],"stateMutability":"nonpayable","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":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","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":[],"name":"initContract","outputs":[],"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":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isRemovedSniper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"rate","type":"uint256"}],"name":"setFeeRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"setLiquidityFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingAddress","type":"address"}],"name":"setMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxFee","type":"uint256"}],"name":"setTaxFeePercent","outputs":[],"stateMutability":"nonpayable","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
60a0604052600180546001600160a01b031916732b9d5c7f2ead1a221d771fb6bb5e35df04d60ab01790556ddead00000000000000000000000060805269021e19e0c9bab2400000600a8190556200005a90600019620002be565b62000068906000196200025d565b600b5560408051808201909152600580825264464c4f4b4960d81b60209092019182526200009991600d91620001b7565b5060408051808201909152600580825264464c4f4b4960d81b6020909201918252620000c891600e91620001b7565b50600f805460ff191660091790556010546011556004601281905560138190556014556017805460ff60a81b191690553480156200010557600080fd5b50620001113362000167565b600b5433600081815260026020908152604080832094909455600a549351938452919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3620002df565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620001c59062000281565b90600052602060002090601f016020900481019282620001e9576000855562000234565b82601f106200020457805160ff191683800117855562000234565b8280016001018555821562000234579182015b828111156200023457825182559160200191906001019062000217565b506200024292915062000246565b5090565b5b8082111562000242576000815560010162000247565b6000828210156200027c57634e487b7160e01b81526011600452602481fd5b500390565b600181811c908216806200029657607f821691505b60208210811415620002b857634e487b7160e01b600052602260045260246000fd5b50919050565b600082620002da57634e487b7160e01b81526012600452602481fd5b500690565b60805160601c612dd2620002fe60003960006103e60152612dd26000f3fe6080604052600436106102bf5760003560e01c80635342acb41161016e57806395d89b41116100cb578063db2e21bc1161007f578063ea2f0b3711610064578063ea2f0b37146107ce578063f2fde38b146107ee578063f375b2531461080e57600080fd5b8063db2e21bc14610773578063dd62ed3e1461078857600080fd5b8063a5ece941116100b0578063a5ece9411461071e578063a9059cbb1461073e578063c9567bf91461075e57600080fd5b806395d89b41146106e9578063a457c2d7146106fe57600080fd5b80638203f5fe116101225780638da5cb5b116101075780638da5cb5b1461068b5780638ee88c53146106a9578063906e9dd0146106c957600080fd5b80638203f5fe1461063d57806388f820201461065257600080fd5b80636bc87c3a116101535780636bc87c3a146105f257806370a0823114610608578063715018a61461062857600080fd5b80635342acb414610580578063610d5b19146105b957600080fd5b8063362a3c5d1161021c578063437823ec116101d057806345596e2e116101b557806345596e2e1461052057806349bd5a5e1461054057806352390c021461056057600080fd5b8063437823ec146104e05780634549b0391461050057600080fd5b80633950935111610201578063395093511461048a5780633b124fe7146104aa5780633bd5d173146104c057600080fd5b8063362a3c5d1461044a5780633685d4191461046a57600080fd5b806318160ddd1161027357806327c8f8351161025857806327c8f835146103d45780632d83811914610408578063313ce5671461042857600080fd5b806318160ddd1461039f57806323b872dd146103b457600080fd5b8063095ea7b3116102a4578063095ea7b31461031857806313114a9d146103485780631694505e1461036757600080fd5b8063061c82d0146102cb57806306fdde03146102ed57600080fd5b366102c657005b600080fd5b3480156102d757600080fd5b506102eb6102e6366004612b36565b61082e565b005b3480156102f957600080fd5b50610302610880565b60405161030f9190612bb9565b60405180910390f35b34801561032457600080fd5b50610338610333366004612b0b565b610912565b604051901515815260200161030f565b34801561035457600080fd5b50600c545b60405190815260200161030f565b34801561037357600080fd5b50601654610387906001600160a01b031681565b6040516001600160a01b03909116815260200161030f565b3480156103ab57600080fd5b50600a54610359565b3480156103c057600080fd5b506103386103cf366004612acb565b610929565b3480156103e057600080fd5b506103877f000000000000000000000000000000000000000000000000000000000000000081565b34801561041457600080fd5b50610359610423366004612b36565b610992565b34801561043457600080fd5b50600f5460405160ff909116815260200161030f565b34801561045657600080fd5b506102eb610465366004612a5b565b610a29565b34801561047657600080fd5b506102eb610485366004612a5b565b610c2d565b34801561049657600080fd5b506103386104a5366004612b0b565b610e10565b3480156104b657600080fd5b5061035960105481565b3480156104cc57600080fd5b506102eb6104db366004612b36565b610e46565b3480156104ec57600080fd5b506102eb6104fb366004612a5b565b610f41565b34801561050c57600080fd5b5061035961051b366004612b4e565b610fad565b34801561052c57600080fd5b506102eb61053b366004612b36565b61103a565b34801561054c57600080fd5b50601754610387906001600160a01b031681565b34801561056c57600080fd5b506102eb61057b366004612a5b565b611087565b34801561058c57600080fd5b5061033861059b366004612a5b565b6001600160a01b031660009081526007602052604090205460ff1690565b3480156105c557600080fd5b506103386105d4366004612a5b565b6001600160a01b031660009081526005602052604090205460ff1690565b3480156105fe57600080fd5b5061035960125481565b34801561061457600080fd5b50610359610623366004612a5b565b6111f8565b34801561063457600080fd5b506102eb611257565b34801561064957600080fd5b506102eb6112ab565b34801561065e57600080fd5b5061033861066d366004612a5b565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561069757600080fd5b506000546001600160a01b0316610387565b3480156106b557600080fd5b506102eb6106c4366004612b36565b6114fb565b3480156106d557600080fd5b506102eb6106e4366004612a5b565b611548565b3480156106f557600080fd5b506103026115b2565b34801561070a57600080fd5b50610338610719366004612b0b565b6115c1565b34801561072a57600080fd5b50600154610387906001600160a01b031681565b34801561074a57600080fd5b50610338610759366004612b0b565b611610565b34801561076a57600080fd5b506102eb61161d565b34801561077f57600080fd5b506102eb6116a5565b34801561079457600080fd5b506103596107a3366004612a93565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156107da57600080fd5b506102eb6107e9366004612a5b565b611718565b3480156107fa57600080fd5b506102eb610809366004612a5b565b611781565b34801561081a57600080fd5b506102eb610829366004612a5b565b611851565b6000546001600160a01b0316331461087b5760405162461bcd60e51b81526020600482018190526024820152600080516020612d8183398151915260448201526064015b60405180910390fd5b601055565b6060600d805461088f90612cd7565b80601f01602080910402602001604051908101604052809291908181526020018280546108bb90612cd7565b80156109085780601f106108dd57610100808354040283529160200191610908565b820191906000526020600020905b8154815290600101906020018083116108eb57829003601f168201915b5050505050905090565b600061091f3384846119d5565b5060015b92915050565b6000610936848484611b12565b610988843361098385604051806060016040528060288152602001612d59602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190611fb3565b6119d5565b5060019392505050565b6000600b54821115610a0c5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201527f65666c656374696f6e73000000000000000000000000000000000000000000006064820152608401610872565b6000610a16611fdf565b9050610a228382612002565b9392505050565b6000546001600160a01b03163314610a715760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b6001600160a01b03811660009081526005602052604090205460ff16610ad95760405162461bcd60e51b815260206004820152601a60248201527f4163636f756e74206973206e6f7420626c61636b6c69737465640000000000006044820152606401610872565b60005b600654811015610c2957816001600160a01b031660068281548110610b1157634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610c175760068054610b3c90600190612cc0565b81548110610b5a57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600680546001600160a01b039092169183908110610b9457634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600590915260409020805460ff191690556006805480610bf157634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610c2181612d12565b915050610adc565b5050565b6000546001600160a01b03163314610c755760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b6001600160a01b03811660009081526008602052604090205460ff16610cdd5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610872565b60005b600954811015610c2957816001600160a01b031660098281548110610d1557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610dfe5760098054610d4090600190612cc0565b81548110610d5e57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600980546001600160a01b039092169183908110610d9857634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600382526040808220829055600890925220805460ff191690556009805480610bf157634e487b7160e01b600052603160045260246000fd5b80610e0881612d12565b915050610ce0565b3360008181526004602090815260408083206001600160a01b0387168452909152812054909161091f918590610983908661200e565b3360008181526008602052604090205460ff1615610ecc5760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201527f6869732066756e6374696f6e00000000000000000000000000000000000000006064820152608401610872565b6000610ed78361201a565b505050506001600160a01b038416600090815260026020526040902054919250610f0391905082612069565b6001600160a01b038316600090815260026020526040902055600b54610f299082612069565b600b55600c54610f39908461200e565b600c55505050565b6000546001600160a01b03163314610f895760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000600a548311156110015760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610872565b816110205760006110118461201a565b50939550610923945050505050565b600061102b8461201a565b50929550610923945050505050565b6000546001600160a01b031633146110825760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b601455565b6000546001600160a01b031633146110cf5760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b6001600160a01b03811660009081526008602052604090205460ff16156111385760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610872565b6001600160a01b03811660009081526002602052604090205415611192576001600160a01b03811660009081526002602052604090205461117890610992565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b03166000818152600860205260408120805460ff191660019081179091556009805491820181559091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160a01b0319169091179055565b6001600160a01b03811660009081526008602052604081205460ff161561123557506001600160a01b031660009081526003602052604090205490565b6001600160a01b03821660009081526002602052604090205461092390610992565b6000546001600160a01b0316331461129f5760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b6112a96000612075565b565b6000546001600160a01b031633146112f35760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561134557600080fd5b505afa158015611359573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137d9190612a77565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156113c557600080fd5b505afa1580156113d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fd9190612a77565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561145d57600080fd5b505af1158015611471573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114959190612a77565b601780546001600160a01b03199081166001600160a01b0393841617909155601680549091169282169290921790915560008054909116815260076020526040808220805460ff1990811660019081179092553084529190922080549091169091179055565b6000546001600160a01b031633146115435760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b601255565b6000546001600160a01b031633146115905760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6060600e805461088f90612cd7565b600061091f338461098385604051806060016040528060258152602001612da1602591393360009081526004602090815260408083206001600160a01b038d1684529091529020549190611fb3565b600061091f338484611b12565b6000546001600160a01b031633146116655760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b601354601255601154601055601780547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16600160a81b17905542601555565b6000546001600160a01b031633146116ed5760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f15050505050565b6000546001600160a01b031633146117605760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6000546001600160a01b031633146117c95760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b6001600160a01b0381166118455760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610872565b61184e81612075565b50565b6000546001600160a01b031633146118995760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03821614156119065760405162461bcd60e51b815260206004820152601c60248201527f57652063616e206e6f7420626c61636b6c69737420556e6973776170000000006044820152606401610872565b6001600160a01b03811660009081526005602052604090205460ff161561196f5760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e7420697320616c726561647920626c61636b6c697374656400006044820152606401610872565b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6001600160a01b038316611a505760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610872565b6001600160a01b038216611ab15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610872565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611b8e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610872565b6001600160a01b038216611c0a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610872565b60008111611c805760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610872565b6001600160a01b03821660009081526005602052604090205460ff1615611ce95760405162461bcd60e51b815260206004820152601760248201527f596f752068617665206e6f20706f7765722068657265210000000000000000006044820152606401610872565b3360009081526005602052604090205460ff1615611d495760405162461bcd60e51b815260206004820152601760248201527f596f752068617665206e6f20706f7765722068657265210000000000000000006044820152606401610872565b6017546001600160a01b038481169116148015611d7457506016546001600160a01b03838116911614155b8015611d9957506001600160a01b03821660009081526007602052604090205460ff16155b15611e6757601754600160a81b900460ff16611df75760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e00000000000000006044820152606401610872565b601554421415611e67576001600160a01b0382166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b03191690911790555b6000611e72306111f8565b601754909150600160a01b900460ff16158015611e985750601754600160a81b900460ff165b8015611eb157506017546001600160a01b038481169116145b15611f23578015611f2357601454601754611eec91606491611ee69190611ee0906001600160a01b03166111f8565b906120c5565b90612002565b811115611f1a57601454601754611f1791606491611ee69190611ee0906001600160a01b03166111f8565b90505b611f23816120d1565b6017546000906001600160a01b0386811691161480611f4f57506017546001600160a01b038581169116145b8015611f9757506001600160a01b03851660009081526007602052604090205460ff1680611f9557506001600160a01b03841660009081526007602052604090205460ff165b155b15611fa0575060015b611fac8585858461210e565b5050505050565b60008184841115611fd75760405162461bcd60e51b81526004016108729190612bb9565b505050900390565b6000806000611fec612239565b9092509050611ffb8282612002565b9250505090565b6000610a228284612c81565b6000610a228284612c69565b60008060008060008060008060006120318a6123f3565b925092509250600080600061204f8d868661204a611fdf565b612435565b919f909e50909c50959a5093985091965092945050505050565b6000610a228284612cc0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610a228284612ca1565b6017805460ff60a01b1916600160a01b1790556120ed81612485565b4780156120fd576120fd47612675565b50506017805460ff60a01b19169055565b8061211b5761211b6126c2565b6001600160a01b03841660009081526008602052604090205460ff16801561215c57506001600160a01b03831660009081526008602052604090205460ff16155b156121715761216c8484846126f0565b61221d565b6001600160a01b03841660009081526008602052604090205460ff161580156121b257506001600160a01b03831660009081526008602052604090205460ff165b156121c25761216c848484612816565b6001600160a01b03841660009081526008602052604090205460ff16801561220257506001600160a01b03831660009081526008602052604090205460ff165b156122125761216c8484846128bf565b61221d848484612932565b8061223357612233601154601055601354601255565b50505050565b600b54600a546000918291825b6009548110156123c35782600260006009848154811061227657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806122ef57508160036000600984815481106122c857634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561230557600b54600a54945094505050509091565b612359600260006009848154811061232d57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490612069565b92506123af600360006009848154811061238357634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390612069565b9150806123bb81612d12565b915050612246565b50600a54600b546123d391612002565b8210156123ea57600b54600a549350935050509091565b90939092509050565b60008060008061240285612976565b9050600061240f86612992565b90506000612427826124218986612069565b90612069565b979296509094509092505050565b600080808061244488866120c5565b9050600061245288876120c5565b9050600061246088886120c5565b90506000612472826124218686612069565b939b939a50919850919650505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106124c857634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601654604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c4648926004808301939192829003018186803b15801561253557600080fd5b505afa158015612549573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061256d9190612a77565b8160018151811061258e57634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526016546125b491309116846119d5565b6016546040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063791ac94790612606908590600090869030904290600401612c2d565b600060405180830381600087803b15801561262057600080fd5b505af1158015612634573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a78282604051612669929190612c0c565b60405180910390a15050565b6001546040516001600160a01b03909116908290600081818185875af1925050503d8060008114612233576040519150601f19603f3d011682016040523d82523d6000602084013e612233565b6010541580156126d25750601254155b156126d957565b601080546011556012805460135560009182905555565b6000806000806000806127028761201a565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506127349088612069565b6001600160a01b038a166000908152600360209081526040808320939093556002905220546127639087612069565b6001600160a01b03808b1660009081526002602052604080822093909355908a1681522054612792908661200e565b6001600160a01b0389166000908152600260205260409020556127b4816129ae565b6127be8483612a37565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161280391815260200190565b60405180910390a3505050505050505050565b6000806000806000806128288761201a565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061285a9087612069565b6001600160a01b03808b16600090815260026020908152604080832094909455918b16815260039091522054612890908461200e565b6001600160a01b038916600090815260036020908152604080832093909355600290522054612792908661200e565b6000806000806000806128d18761201a565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506129039088612069565b6001600160a01b038a1660009081526003602090815260408083209390935560029052205461285a9087612069565b6000806000806000806129448761201a565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506127639087612069565b60006109236064611ee6601054856120c590919063ffffffff16565b60006109236064611ee6601254856120c590919063ffffffff16565b60006129b8611fdf565b905060006129c683836120c5565b306000908152600260205260409020549091506129e3908261200e565b3060009081526002602090815260408083209390935560089052205460ff1615612a325730600090815260036020526040902054612a21908461200e565b306000908152600360205260409020555b505050565b600b54612a449083612069565b600b55600c54612a54908261200e565b600c555050565b600060208284031215612a6c578081fd5b8135610a2281612d43565b600060208284031215612a88578081fd5b8151610a2281612d43565b60008060408385031215612aa5578081fd5b8235612ab081612d43565b91506020830135612ac081612d43565b809150509250929050565b600080600060608486031215612adf578081fd5b8335612aea81612d43565b92506020840135612afa81612d43565b929592945050506040919091013590565b60008060408385031215612b1d578182fd5b8235612b2881612d43565b946020939093013593505050565b600060208284031215612b47578081fd5b5035919050565b60008060408385031215612b60578182fd5b8235915060208301358015158114612ac0578182fd5b6000815180845260208085019450808401835b83811015612bae5781516001600160a01b031687529582019590820190600101612b89565b509495945050505050565b6000602080835283518082850152825b81811015612be557858101830151858201604001528201612bc9565b81811115612bf65783604083870101525b50601f01601f1916929092016040019392505050565b828152604060208201526000612c256040830184612b76565b949350505050565b85815284602082015260a060408201526000612c4c60a0830186612b76565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115612c7c57612c7c612d2d565b500190565b600082612c9c57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612cbb57612cbb612d2d565b500290565b600082821015612cd257612cd2612d2d565b500390565b600181811c90821680612ceb57607f821691505b60208210811415612d0c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612d2657612d26612d2d565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461184e57600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa164736f6c6343000804000a
Deployed Bytecode
0x6080604052600436106102bf5760003560e01c80635342acb41161016e57806395d89b41116100cb578063db2e21bc1161007f578063ea2f0b3711610064578063ea2f0b37146107ce578063f2fde38b146107ee578063f375b2531461080e57600080fd5b8063db2e21bc14610773578063dd62ed3e1461078857600080fd5b8063a5ece941116100b0578063a5ece9411461071e578063a9059cbb1461073e578063c9567bf91461075e57600080fd5b806395d89b41146106e9578063a457c2d7146106fe57600080fd5b80638203f5fe116101225780638da5cb5b116101075780638da5cb5b1461068b5780638ee88c53146106a9578063906e9dd0146106c957600080fd5b80638203f5fe1461063d57806388f820201461065257600080fd5b80636bc87c3a116101535780636bc87c3a146105f257806370a0823114610608578063715018a61461062857600080fd5b80635342acb414610580578063610d5b19146105b957600080fd5b8063362a3c5d1161021c578063437823ec116101d057806345596e2e116101b557806345596e2e1461052057806349bd5a5e1461054057806352390c021461056057600080fd5b8063437823ec146104e05780634549b0391461050057600080fd5b80633950935111610201578063395093511461048a5780633b124fe7146104aa5780633bd5d173146104c057600080fd5b8063362a3c5d1461044a5780633685d4191461046a57600080fd5b806318160ddd1161027357806327c8f8351161025857806327c8f835146103d45780632d83811914610408578063313ce5671461042857600080fd5b806318160ddd1461039f57806323b872dd146103b457600080fd5b8063095ea7b3116102a4578063095ea7b31461031857806313114a9d146103485780631694505e1461036757600080fd5b8063061c82d0146102cb57806306fdde03146102ed57600080fd5b366102c657005b600080fd5b3480156102d757600080fd5b506102eb6102e6366004612b36565b61082e565b005b3480156102f957600080fd5b50610302610880565b60405161030f9190612bb9565b60405180910390f35b34801561032457600080fd5b50610338610333366004612b0b565b610912565b604051901515815260200161030f565b34801561035457600080fd5b50600c545b60405190815260200161030f565b34801561037357600080fd5b50601654610387906001600160a01b031681565b6040516001600160a01b03909116815260200161030f565b3480156103ab57600080fd5b50600a54610359565b3480156103c057600080fd5b506103386103cf366004612acb565b610929565b3480156103e057600080fd5b506103877f000000000000000000000000000000000000000000000000000000000000dead81565b34801561041457600080fd5b50610359610423366004612b36565b610992565b34801561043457600080fd5b50600f5460405160ff909116815260200161030f565b34801561045657600080fd5b506102eb610465366004612a5b565b610a29565b34801561047657600080fd5b506102eb610485366004612a5b565b610c2d565b34801561049657600080fd5b506103386104a5366004612b0b565b610e10565b3480156104b657600080fd5b5061035960105481565b3480156104cc57600080fd5b506102eb6104db366004612b36565b610e46565b3480156104ec57600080fd5b506102eb6104fb366004612a5b565b610f41565b34801561050c57600080fd5b5061035961051b366004612b4e565b610fad565b34801561052c57600080fd5b506102eb61053b366004612b36565b61103a565b34801561054c57600080fd5b50601754610387906001600160a01b031681565b34801561056c57600080fd5b506102eb61057b366004612a5b565b611087565b34801561058c57600080fd5b5061033861059b366004612a5b565b6001600160a01b031660009081526007602052604090205460ff1690565b3480156105c557600080fd5b506103386105d4366004612a5b565b6001600160a01b031660009081526005602052604090205460ff1690565b3480156105fe57600080fd5b5061035960125481565b34801561061457600080fd5b50610359610623366004612a5b565b6111f8565b34801561063457600080fd5b506102eb611257565b34801561064957600080fd5b506102eb6112ab565b34801561065e57600080fd5b5061033861066d366004612a5b565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561069757600080fd5b506000546001600160a01b0316610387565b3480156106b557600080fd5b506102eb6106c4366004612b36565b6114fb565b3480156106d557600080fd5b506102eb6106e4366004612a5b565b611548565b3480156106f557600080fd5b506103026115b2565b34801561070a57600080fd5b50610338610719366004612b0b565b6115c1565b34801561072a57600080fd5b50600154610387906001600160a01b031681565b34801561074a57600080fd5b50610338610759366004612b0b565b611610565b34801561076a57600080fd5b506102eb61161d565b34801561077f57600080fd5b506102eb6116a5565b34801561079457600080fd5b506103596107a3366004612a93565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156107da57600080fd5b506102eb6107e9366004612a5b565b611718565b3480156107fa57600080fd5b506102eb610809366004612a5b565b611781565b34801561081a57600080fd5b506102eb610829366004612a5b565b611851565b6000546001600160a01b0316331461087b5760405162461bcd60e51b81526020600482018190526024820152600080516020612d8183398151915260448201526064015b60405180910390fd5b601055565b6060600d805461088f90612cd7565b80601f01602080910402602001604051908101604052809291908181526020018280546108bb90612cd7565b80156109085780601f106108dd57610100808354040283529160200191610908565b820191906000526020600020905b8154815290600101906020018083116108eb57829003601f168201915b5050505050905090565b600061091f3384846119d5565b5060015b92915050565b6000610936848484611b12565b610988843361098385604051806060016040528060288152602001612d59602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190611fb3565b6119d5565b5060019392505050565b6000600b54821115610a0c5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201527f65666c656374696f6e73000000000000000000000000000000000000000000006064820152608401610872565b6000610a16611fdf565b9050610a228382612002565b9392505050565b6000546001600160a01b03163314610a715760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b6001600160a01b03811660009081526005602052604090205460ff16610ad95760405162461bcd60e51b815260206004820152601a60248201527f4163636f756e74206973206e6f7420626c61636b6c69737465640000000000006044820152606401610872565b60005b600654811015610c2957816001600160a01b031660068281548110610b1157634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610c175760068054610b3c90600190612cc0565b81548110610b5a57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600680546001600160a01b039092169183908110610b9457634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600590915260409020805460ff191690556006805480610bf157634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610c2181612d12565b915050610adc565b5050565b6000546001600160a01b03163314610c755760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b6001600160a01b03811660009081526008602052604090205460ff16610cdd5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610872565b60005b600954811015610c2957816001600160a01b031660098281548110610d1557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610dfe5760098054610d4090600190612cc0565b81548110610d5e57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600980546001600160a01b039092169183908110610d9857634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600382526040808220829055600890925220805460ff191690556009805480610bf157634e487b7160e01b600052603160045260246000fd5b80610e0881612d12565b915050610ce0565b3360008181526004602090815260408083206001600160a01b0387168452909152812054909161091f918590610983908661200e565b3360008181526008602052604090205460ff1615610ecc5760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201527f6869732066756e6374696f6e00000000000000000000000000000000000000006064820152608401610872565b6000610ed78361201a565b505050506001600160a01b038416600090815260026020526040902054919250610f0391905082612069565b6001600160a01b038316600090815260026020526040902055600b54610f299082612069565b600b55600c54610f39908461200e565b600c55505050565b6000546001600160a01b03163314610f895760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000600a548311156110015760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610872565b816110205760006110118461201a565b50939550610923945050505050565b600061102b8461201a565b50929550610923945050505050565b6000546001600160a01b031633146110825760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b601455565b6000546001600160a01b031633146110cf5760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b6001600160a01b03811660009081526008602052604090205460ff16156111385760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610872565b6001600160a01b03811660009081526002602052604090205415611192576001600160a01b03811660009081526002602052604090205461117890610992565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b03166000818152600860205260408120805460ff191660019081179091556009805491820181559091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160a01b0319169091179055565b6001600160a01b03811660009081526008602052604081205460ff161561123557506001600160a01b031660009081526003602052604090205490565b6001600160a01b03821660009081526002602052604090205461092390610992565b6000546001600160a01b0316331461129f5760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b6112a96000612075565b565b6000546001600160a01b031633146112f35760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561134557600080fd5b505afa158015611359573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137d9190612a77565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156113c557600080fd5b505afa1580156113d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fd9190612a77565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561145d57600080fd5b505af1158015611471573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114959190612a77565b601780546001600160a01b03199081166001600160a01b0393841617909155601680549091169282169290921790915560008054909116815260076020526040808220805460ff1990811660019081179092553084529190922080549091169091179055565b6000546001600160a01b031633146115435760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b601255565b6000546001600160a01b031633146115905760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6060600e805461088f90612cd7565b600061091f338461098385604051806060016040528060258152602001612da1602591393360009081526004602090815260408083206001600160a01b038d1684529091529020549190611fb3565b600061091f338484611b12565b6000546001600160a01b031633146116655760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b601354601255601154601055601780547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16600160a81b17905542601555565b6000546001600160a01b031633146116ed5760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f15050505050565b6000546001600160a01b031633146117605760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6000546001600160a01b031633146117c95760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b6001600160a01b0381166118455760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610872565b61184e81612075565b50565b6000546001600160a01b031633146118995760405162461bcd60e51b81526020600482018190526024820152600080516020612d818339815191526044820152606401610872565b737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03821614156119065760405162461bcd60e51b815260206004820152601c60248201527f57652063616e206e6f7420626c61636b6c69737420556e6973776170000000006044820152606401610872565b6001600160a01b03811660009081526005602052604090205460ff161561196f5760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e7420697320616c726561647920626c61636b6c697374656400006044820152606401610872565b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6001600160a01b038316611a505760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610872565b6001600160a01b038216611ab15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610872565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611b8e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610872565b6001600160a01b038216611c0a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610872565b60008111611c805760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610872565b6001600160a01b03821660009081526005602052604090205460ff1615611ce95760405162461bcd60e51b815260206004820152601760248201527f596f752068617665206e6f20706f7765722068657265210000000000000000006044820152606401610872565b3360009081526005602052604090205460ff1615611d495760405162461bcd60e51b815260206004820152601760248201527f596f752068617665206e6f20706f7765722068657265210000000000000000006044820152606401610872565b6017546001600160a01b038481169116148015611d7457506016546001600160a01b03838116911614155b8015611d9957506001600160a01b03821660009081526007602052604090205460ff16155b15611e6757601754600160a81b900460ff16611df75760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e00000000000000006044820152606401610872565b601554421415611e67576001600160a01b0382166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b03191690911790555b6000611e72306111f8565b601754909150600160a01b900460ff16158015611e985750601754600160a81b900460ff165b8015611eb157506017546001600160a01b038481169116145b15611f23578015611f2357601454601754611eec91606491611ee69190611ee0906001600160a01b03166111f8565b906120c5565b90612002565b811115611f1a57601454601754611f1791606491611ee69190611ee0906001600160a01b03166111f8565b90505b611f23816120d1565b6017546000906001600160a01b0386811691161480611f4f57506017546001600160a01b038581169116145b8015611f9757506001600160a01b03851660009081526007602052604090205460ff1680611f9557506001600160a01b03841660009081526007602052604090205460ff165b155b15611fa0575060015b611fac8585858461210e565b5050505050565b60008184841115611fd75760405162461bcd60e51b81526004016108729190612bb9565b505050900390565b6000806000611fec612239565b9092509050611ffb8282612002565b9250505090565b6000610a228284612c81565b6000610a228284612c69565b60008060008060008060008060006120318a6123f3565b925092509250600080600061204f8d868661204a611fdf565b612435565b919f909e50909c50959a5093985091965092945050505050565b6000610a228284612cc0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610a228284612ca1565b6017805460ff60a01b1916600160a01b1790556120ed81612485565b4780156120fd576120fd47612675565b50506017805460ff60a01b19169055565b8061211b5761211b6126c2565b6001600160a01b03841660009081526008602052604090205460ff16801561215c57506001600160a01b03831660009081526008602052604090205460ff16155b156121715761216c8484846126f0565b61221d565b6001600160a01b03841660009081526008602052604090205460ff161580156121b257506001600160a01b03831660009081526008602052604090205460ff165b156121c25761216c848484612816565b6001600160a01b03841660009081526008602052604090205460ff16801561220257506001600160a01b03831660009081526008602052604090205460ff165b156122125761216c8484846128bf565b61221d848484612932565b8061223357612233601154601055601354601255565b50505050565b600b54600a546000918291825b6009548110156123c35782600260006009848154811061227657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b0316835282019290925260400190205411806122ef57508160036000600984815481106122c857634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561230557600b54600a54945094505050509091565b612359600260006009848154811061232d57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490612069565b92506123af600360006009848154811061238357634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390612069565b9150806123bb81612d12565b915050612246565b50600a54600b546123d391612002565b8210156123ea57600b54600a549350935050509091565b90939092509050565b60008060008061240285612976565b9050600061240f86612992565b90506000612427826124218986612069565b90612069565b979296509094509092505050565b600080808061244488866120c5565b9050600061245288876120c5565b9050600061246088886120c5565b90506000612472826124218686612069565b939b939a50919850919650505050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106124c857634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601654604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c4648926004808301939192829003018186803b15801561253557600080fd5b505afa158015612549573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061256d9190612a77565b8160018151811061258e57634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526016546125b491309116846119d5565b6016546040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063791ac94790612606908590600090869030904290600401612c2d565b600060405180830381600087803b15801561262057600080fd5b505af1158015612634573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a78282604051612669929190612c0c565b60405180910390a15050565b6001546040516001600160a01b03909116908290600081818185875af1925050503d8060008114612233576040519150601f19603f3d011682016040523d82523d6000602084013e612233565b6010541580156126d25750601254155b156126d957565b601080546011556012805460135560009182905555565b6000806000806000806127028761201a565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506127349088612069565b6001600160a01b038a166000908152600360209081526040808320939093556002905220546127639087612069565b6001600160a01b03808b1660009081526002602052604080822093909355908a1681522054612792908661200e565b6001600160a01b0389166000908152600260205260409020556127b4816129ae565b6127be8483612a37565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161280391815260200190565b60405180910390a3505050505050505050565b6000806000806000806128288761201a565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061285a9087612069565b6001600160a01b03808b16600090815260026020908152604080832094909455918b16815260039091522054612890908461200e565b6001600160a01b038916600090815260036020908152604080832093909355600290522054612792908661200e565b6000806000806000806128d18761201a565b6001600160a01b038f16600090815260036020526040902054959b509399509197509550935091506129039088612069565b6001600160a01b038a1660009081526003602090815260408083209390935560029052205461285a9087612069565b6000806000806000806129448761201a565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506127639087612069565b60006109236064611ee6601054856120c590919063ffffffff16565b60006109236064611ee6601254856120c590919063ffffffff16565b60006129b8611fdf565b905060006129c683836120c5565b306000908152600260205260409020549091506129e3908261200e565b3060009081526002602090815260408083209390935560089052205460ff1615612a325730600090815260036020526040902054612a21908461200e565b306000908152600360205260409020555b505050565b600b54612a449083612069565b600b55600c54612a54908261200e565b600c555050565b600060208284031215612a6c578081fd5b8135610a2281612d43565b600060208284031215612a88578081fd5b8151610a2281612d43565b60008060408385031215612aa5578081fd5b8235612ab081612d43565b91506020830135612ac081612d43565b809150509250929050565b600080600060608486031215612adf578081fd5b8335612aea81612d43565b92506020840135612afa81612d43565b929592945050506040919091013590565b60008060408385031215612b1d578182fd5b8235612b2881612d43565b946020939093013593505050565b600060208284031215612b47578081fd5b5035919050565b60008060408385031215612b60578182fd5b8235915060208301358015158114612ac0578182fd5b6000815180845260208085019450808401835b83811015612bae5781516001600160a01b031687529582019590820190600101612b89565b509495945050505050565b6000602080835283518082850152825b81811015612be557858101830151858201604001528201612bc9565b81811115612bf65783604083870101525b50601f01601f1916929092016040019392505050565b828152604060208201526000612c256040830184612b76565b949350505050565b85815284602082015260a060408201526000612c4c60a0830186612b76565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115612c7c57612c7c612d2d565b500190565b600082612c9c57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612cbb57612cbb612d2d565b500290565b600082821015612cd257612cd2612d2d565b500390565b600181811c90821680612ceb57607f821691505b60208210811415612d0c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612d2657612d26612d2d565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461184e57600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa164736f6c6343000804000a
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.