Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Finance
Overview
Max Total Supply
128,000,000 DEFIDO
Holders
233 (0.00%)
Market
Price
$0.00 @ 0.000000 ETH (+15.46%)
Onchain Market Cap
$42,772.48
Circulating Supply Market Cap
$291,146.00
Other Info
Token Contract (WITH 9 Decimals)
Balance
4,672.06530256 DEFIDOValue
$1.56 ( ~0.000458043448350684 Eth) [0.0037%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DeFido
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 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 DeFido is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; address payable public marketingAddress = payable(0x55397d991ec9A3E74AA9F6A5fdbcba2ce222Fc7C); // 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 = 128000000 * 10**9; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; string private _name = 'DeFido'; string private _symbol = 'DEFIDO'; uint8 private _decimals = 9; uint256 public _taxFee = 4; uint256 private _previousTaxFee = _taxFee; uint256 public _liquidityFee = 4; uint256 private _previousLiquidityFee = _liquidityFee; uint256 public _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 toggleTrading() external onlyOwner { tradingOpen = tradingOpen ? false : true; } 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) external view returns (bool) { return _isExcluded[account]; } function totalFees() external view returns (uint256) { return _tFeeTotal; } function deliver(uint256 tAmount) external { 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) external 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) external view returns (bool) { return _isExcludedFromFee[account]; } function excludeFromFee(address account) external onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) external 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) external 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": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"_feeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"toggleTrading","outputs":[],"stateMutability":"nonpayable","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
60a0604052600180546001600160a01b0319167355397d991ec9a3e74aa9f6a5fdbcba2ce222fc7c1790556ddead0000000000000000000000006080526701c6bf5263400000600a8190556200005890600019620002c2565b620000669060001962000261565b600b556040805180820190915260068082526544654669646f60d01b60209092019182526200009891600d91620001bb565b506040805180820190915260068082526544454649444f60d01b6020909201918252620000c891600e91620001bb565b50600f805460ff19166009179055600460108190556011819055601281905560138190556014556017805460ff60a81b191690553480156200010957600080fd5b5062000115336200016b565b600b5433600081815260026020908152604080832094909455600a549351938452919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3620002e3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620001c99062000285565b90600052602060002090601f016020900481019282620001ed576000855562000238565b82601f106200020857805160ff191683800117855562000238565b8280016001018555821562000238579182015b82811115620002385782518255916020019190600101906200021b565b50620002469291506200024a565b5090565b5b808211156200024657600081556001016200024b565b6000828210156200028057634e487b7160e01b81526011600452602481fd5b500390565b600181811c908216806200029a57607f821691505b60208210811415620002bc57634e487b7160e01b600052602260045260246000fd5b50919050565b600082620002de57634e487b7160e01b81526012600452602481fd5b500690565b60805160601c612b426200030260003960006103910152612b426000f3fe6080604052600436106102555760003560e01c80635342acb41161013957806395d89b41116100b6578063c9567bf91161007a578063c9567bf91461071f578063db2e21bc14610734578063dd62ed3e14610749578063ea2f0b371461078f578063f2fde38b146107af578063f375b253146107cf57600080fd5b806395d89b4114610694578063a457c2d7146106a9578063a5ece941146106c9578063a9059cbb146106e9578063b2131f7d1461070957600080fd5b80638203f5fe116100fd5780638203f5fe146105e857806388f82020146105fd5780638da5cb5b146106365780638ee88c5314610654578063906e9dd01461067457600080fd5b80635342acb41461052b578063610d5b19146105645780636bc87c3a1461059d57806370a08231146105b3578063715018a6146105d357600080fd5b8063313ce567116101d25780633bd5d173116101965780633bd5d1731461046b578063437823ec1461048b5780634549b039146104ab57806345596e2e146104cb57806349bd5a5e146104eb57806352390c021461050b57600080fd5b8063313ce567146103d3578063362a3c5d146103f55780633685d4191461041557806339509351146104355780633b124fe71461045557600080fd5b80631694505e116102195780631694505e1461031257806318160ddd1461034a57806323b872dd1461035f57806327c8f8351461037f5780632d838119146103b357600080fd5b8063061c82d01461026157806306fdde0314610283578063095ea7b3146102ae5780630f120fc3146102de57806313114a9d146102f357600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b5061028161027c366004612891565b6107ef565b005b34801561028f57600080fd5b50610298610827565b6040516102a59190612914565b60405180910390f35b3480156102ba57600080fd5b506102ce6102c9366004612866565b6108b9565b60405190151581526020016102a5565b3480156102ea57600080fd5b506102816108d0565b3480156102ff57600080fd5b50600c545b6040519081526020016102a5565b34801561031e57600080fd5b50601654610332906001600160a01b031681565b6040516001600160a01b0390911681526020016102a5565b34801561035657600080fd5b50600a54610304565b34801561036b57600080fd5b506102ce61037a366004612826565b610933565b34801561038b57600080fd5b506103327f000000000000000000000000000000000000000000000000000000000000000081565b3480156103bf57600080fd5b506103046103ce366004612891565b61099c565b3480156103df57600080fd5b50600f5460405160ff90911681526020016102a5565b34801561040157600080fd5b506102816104103660046127b6565b610a20565b34801561042157600080fd5b506102816104303660046127b6565b610c06565b34801561044157600080fd5b506102ce610450366004612866565b610dcb565b34801561046157600080fd5b5061030460105481565b34801561047757600080fd5b50610281610486366004612891565b610e01565b34801561049757600080fd5b506102816104a63660046127b6565b610eeb565b3480156104b757600080fd5b506103046104c63660046128a9565b610f39565b3480156104d757600080fd5b506102816104e6366004612891565b610fc6565b3480156104f757600080fd5b50601754610332906001600160a01b031681565b34801561051757600080fd5b506102816105263660046127b6565b610ff5565b34801561053757600080fd5b506102ce6105463660046127b6565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561057057600080fd5b506102ce61057f3660046127b6565b6001600160a01b031660009081526005602052604090205460ff1690565b3480156105a957600080fd5b5061030460125481565b3480156105bf57600080fd5b506103046105ce3660046127b6565b611148565b3480156105df57600080fd5b506102816111a7565b3480156105f457600080fd5b506102816111dd565b34801561060957600080fd5b506102ce6106183660046127b6565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561064257600080fd5b506000546001600160a01b0316610332565b34801561066057600080fd5b5061028161066f366004612891565b6113f7565b34801561068057600080fd5b5061028161068f3660046127b6565b611426565b3480156106a057600080fd5b50610298611472565b3480156106b557600080fd5b506102ce6106c4366004612866565b611481565b3480156106d557600080fd5b50600154610332906001600160a01b031681565b3480156106f557600080fd5b506102ce610704366004612866565b6114d0565b34801561071557600080fd5b5061030460145481565b34801561072b57600080fd5b506102816114dd565b34801561074057600080fd5b5061028161152c565b34801561075557600080fd5b506103046107643660046127ee565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561079b57600080fd5b506102816107aa3660046127b6565b611581565b3480156107bb57600080fd5b506102816107ca3660046127b6565b6115cc565b3480156107db57600080fd5b506102816107ea3660046127b6565b611667565b6000546001600160a01b031633146108225760405162461bcd60e51b815260040161081990612967565b60405180910390fd5b601055565b6060600d805461083690612a67565b80601f016020809104026020016040519081016040528092919081815260200182805461086290612a67565b80156108af5780601f10610884576101008083540402835291602001916108af565b820191906000526020600020905b81548152906001019060200180831161089257829003601f168201915b5050505050905090565b60006108c63384846117cd565b5060015b92915050565b6000546001600160a01b031633146108fa5760405162461bcd60e51b815260040161081990612967565b601754600160a81b900460ff16610912576001610915565b60005b60178054911515600160a81b0260ff60a81b19909216919091179055565b60006109408484846118f1565b610992843361098d85604051806060016040528060288152602001612ae9602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190611d40565b6117cd565b5060019392505050565b6000600b54821115610a035760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610819565b6000610a0d611d6c565b9050610a198382611d8f565b9392505050565b6000546001600160a01b03163314610a4a5760405162461bcd60e51b815260040161081990612967565b6001600160a01b03811660009081526005602052604090205460ff16610ab25760405162461bcd60e51b815260206004820152601a60248201527f4163636f756e74206973206e6f7420626c61636b6c69737465640000000000006044820152606401610819565b60005b600654811015610c0257816001600160a01b031660068281548110610aea57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610bf05760068054610b1590600190612a50565b81548110610b3357634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600680546001600160a01b039092169183908110610b6d57634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600590915260409020805460ff191690556006805480610bca57634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610bfa81612aa2565b915050610ab5565b5050565b6000546001600160a01b03163314610c305760405162461bcd60e51b815260040161081990612967565b6001600160a01b03811660009081526008602052604090205460ff16610c985760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610819565b60005b600954811015610c0257816001600160a01b031660098281548110610cd057634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610db95760098054610cfb90600190612a50565b81548110610d1957634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600980546001600160a01b039092169183908110610d5357634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600382526040808220829055600890925220805460ff191690556009805480610bca57634e487b7160e01b600052603160045260246000fd5b80610dc381612aa2565b915050610c9b565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916108c691859061098d9086611d9b565b3360008181526008602052604090205460ff1615610e765760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610819565b6000610e8183611da7565b505050506001600160a01b038416600090815260026020526040902054919250610ead91905082611df6565b6001600160a01b038316600090815260026020526040902055600b54610ed39082611df6565b600b55600c54610ee39084611d9b565b600c55505050565b6000546001600160a01b03163314610f155760405162461bcd60e51b815260040161081990612967565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000600a54831115610f8d5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610819565b81610fac576000610f9d84611da7565b509395506108ca945050505050565b6000610fb784611da7565b509295506108ca945050505050565b6000546001600160a01b03163314610ff05760405162461bcd60e51b815260040161081990612967565b601455565b6000546001600160a01b0316331461101f5760405162461bcd60e51b815260040161081990612967565b6001600160a01b03811660009081526008602052604090205460ff16156110885760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610819565b6001600160a01b038116600090815260026020526040902054156110e2576001600160a01b0381166000908152600260205260409020546110c89061099c565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b03166000818152600860205260408120805460ff191660019081179091556009805491820181559091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160a01b0319169091179055565b6001600160a01b03811660009081526008602052604081205460ff161561118557506001600160a01b031660009081526003602052604090205490565b6001600160a01b0382166000908152600260205260409020546108ca9061099c565b6000546001600160a01b031633146111d15760405162461bcd60e51b815260040161081990612967565b6111db6000611e02565b565b6000546001600160a01b031633146112075760405162461bcd60e51b815260040161081990612967565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561125957600080fd5b505afa15801561126d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129191906127d2565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156112d957600080fd5b505afa1580156112ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131191906127d2565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561135957600080fd5b505af115801561136d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139191906127d2565b601780546001600160a01b03199081166001600160a01b0393841617909155601680549091169282169290921790915560008054909116815260076020526040808220805460ff1990811660019081179092553084529190922080549091169091179055565b6000546001600160a01b031633146114215760405162461bcd60e51b815260040161081990612967565b601255565b6000546001600160a01b031633146114505760405162461bcd60e51b815260040161081990612967565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6060600e805461083690612a67565b60006108c6338461098d85604051806060016040528060258152602001612b11602591393360009081526004602090815260408083206001600160a01b038d1684529091529020549190611d40565b60006108c63384846118f1565b6000546001600160a01b031633146115075760405162461bcd60e51b815260040161081990612967565b6013546012556011546010556017805460ff60a81b1916600160a81b17905542601555565b6000546001600160a01b031633146115565760405162461bcd60e51b815260040161081990612967565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f15050505050565b6000546001600160a01b031633146115ab5760405162461bcd60e51b815260040161081990612967565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6000546001600160a01b031633146115f65760405162461bcd60e51b815260040161081990612967565b6001600160a01b03811661165b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610819565b61166481611e02565b50565b6000546001600160a01b031633146116915760405162461bcd60e51b815260040161081990612967565b737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03821614156116fe5760405162461bcd60e51b815260206004820152601c60248201527f57652063616e206e6f7420626c61636b6c69737420556e6973776170000000006044820152606401610819565b6001600160a01b03811660009081526005602052604090205460ff16156117675760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e7420697320616c726561647920626c61636b6c697374656400006044820152606401610819565b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6001600160a01b03831661182f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610819565b6001600160a01b0382166118905760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610819565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166119555760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610819565b6001600160a01b0382166119b75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610819565b60008111611a195760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610819565b6001600160a01b03821660009081526005602052604090205460ff1615611a7c5760405162461bcd60e51b8152602060048201526017602482015276596f752068617665206e6f20706f77657220686572652160481b6044820152606401610819565b3360009081526005602052604090205460ff1615611ad65760405162461bcd60e51b8152602060048201526017602482015276596f752068617665206e6f20706f77657220686572652160481b6044820152606401610819565b6017546001600160a01b038481169116148015611b0157506016546001600160a01b03838116911614155b8015611b2657506001600160a01b03821660009081526007602052604090205460ff16155b15611bf457601754600160a81b900460ff16611b845760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e00000000000000006044820152606401610819565b601554421415611bf4576001600160a01b0382166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b03191690911790555b6000611bff30611148565b601754909150600160a01b900460ff16158015611c255750601754600160a81b900460ff165b8015611c3e57506017546001600160a01b038481169116145b15611cb0578015611cb057601454601754611c7991606491611c739190611c6d906001600160a01b0316611148565b90611e52565b90611d8f565b811115611ca757601454601754611ca491606491611c739190611c6d906001600160a01b0316611148565b90505b611cb081611e5e565b6017546000906001600160a01b0386811691161480611cdc57506017546001600160a01b038581169116145b8015611d2457506001600160a01b03851660009081526007602052604090205460ff1680611d2257506001600160a01b03841660009081526007602052604090205460ff165b155b15611d2d575060015b611d3985858584611e9b565b5050505050565b60008184841115611d645760405162461bcd60e51b81526004016108199190612914565b505050900390565b6000806000611d79611fc6565b9092509050611d888282611d8f565b9250505090565b6000610a198284612a11565b6000610a1982846129f9565b6000806000806000806000806000611dbe8a612180565b9250925092506000806000611ddc8d8686611dd7611d6c565b6121c2565b919f909e50909c50959a5093985091965092945050505050565b6000610a198284612a50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610a198284612a31565b6017805460ff60a01b1916600160a01b179055611e7a81612212565b478015611e8a57611e8a476123d0565b50506017805460ff60a01b19169055565b80611ea857611ea861241d565b6001600160a01b03841660009081526008602052604090205460ff168015611ee957506001600160a01b03831660009081526008602052604090205460ff16155b15611efe57611ef984848461244b565b611faa565b6001600160a01b03841660009081526008602052604090205460ff16158015611f3f57506001600160a01b03831660009081526008602052604090205460ff165b15611f4f57611ef9848484612571565b6001600160a01b03841660009081526008602052604090205460ff168015611f8f57506001600160a01b03831660009081526008602052604090205460ff165b15611f9f57611ef984848461261a565b611faa84848461268d565b80611fc057611fc0601154601055601354601255565b50505050565b600b54600a546000918291825b6009548110156121505782600260006009848154811061200357634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061207c575081600360006009848154811061205557634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561209257600b54600a54945094505050509091565b6120e660026000600984815481106120ba57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611df6565b925061213c600360006009848154811061211057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611df6565b91508061214881612aa2565b915050611fd3565b50600a54600b5461216091611d8f565b82101561217757600b54600a549350935050509091565b90939092509050565b60008060008061218f856126d1565b9050600061219c866126ed565b905060006121b4826121ae8986611df6565b90611df6565b979296509094509092505050565b60008080806121d18886611e52565b905060006121df8887611e52565b905060006121ed8888611e52565b905060006121ff826121ae8686611df6565b939b939a50919850919650505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061225557634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156122a957600080fd5b505afa1580156122bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e191906127d2565b8160018151811061230257634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260165461232891309116846117cd565b60165460405163791ac94760e01b81526001600160a01b039091169063791ac947906123619085906000908690309042906004016129bd565b600060405180830381600087803b15801561237b57600080fd5b505af115801561238f573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a782826040516123c492919061299c565b60405180910390a15050565b6001546040516001600160a01b03909116908290600081818185875af1925050503d8060008114611fc0576040519150601f19603f3d011682016040523d82523d6000602084013e611fc0565b60105415801561242d5750601254155b1561243457565b601080546011556012805460135560009182905555565b60008060008060008061245d87611da7565b6001600160a01b038f16600090815260036020526040902054959b5093995091975095509350915061248f9088611df6565b6001600160a01b038a166000908152600360209081526040808320939093556002905220546124be9087611df6565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546124ed9086611d9b565b6001600160a01b03891660009081526002602052604090205561250f81612709565b6125198483612792565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161255e91815260200190565b60405180910390a3505050505050505050565b60008060008060008061258387611da7565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506125b59087611df6565b6001600160a01b03808b16600090815260026020908152604080832094909455918b168152600390915220546125eb9084611d9b565b6001600160a01b0389166000908152600360209081526040808320939093556002905220546124ed9086611d9b565b60008060008060008061262c87611da7565b6001600160a01b038f16600090815260036020526040902054959b5093995091975095509350915061265e9088611df6565b6001600160a01b038a166000908152600360209081526040808320939093556002905220546125b59087611df6565b60008060008060008061269f87611da7565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506124be9087611df6565b60006108ca6064611c7360105485611e5290919063ffffffff16565b60006108ca6064611c7360125485611e5290919063ffffffff16565b6000612713611d6c565b905060006127218383611e52565b3060009081526002602052604090205490915061273e9082611d9b565b3060009081526002602090815260408083209390935560089052205460ff161561278d573060009081526003602052604090205461277c9084611d9b565b306000908152600360205260409020555b505050565b600b5461279f9083611df6565b600b55600c546127af9082611d9b565b600c555050565b6000602082840312156127c7578081fd5b8135610a1981612ad3565b6000602082840312156127e3578081fd5b8151610a1981612ad3565b60008060408385031215612800578081fd5b823561280b81612ad3565b9150602083013561281b81612ad3565b809150509250929050565b60008060006060848603121561283a578081fd5b833561284581612ad3565b9250602084013561285581612ad3565b929592945050506040919091013590565b60008060408385031215612878578182fd5b823561288381612ad3565b946020939093013593505050565b6000602082840312156128a2578081fd5b5035919050565b600080604083850312156128bb578182fd5b823591506020830135801515811461281b578182fd5b6000815180845260208085019450808401835b838110156129095781516001600160a01b0316875295820195908201906001016128e4565b509495945050505050565b6000602080835283518082850152825b8181101561294057858101830151858201604001528201612924565b818111156129515783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8281526040602082015260006129b560408301846128d1565b949350505050565b85815284602082015260a0604082015260006129dc60a08301866128d1565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115612a0c57612a0c612abd565b500190565b600082612a2c57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612a4b57612a4b612abd565b500290565b600082821015612a6257612a62612abd565b500390565b600181811c90821680612a7b57607f821691505b60208210811415612a9c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612ab657612ab6612abd565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461166457600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa164736f6c6343000804000a
Deployed Bytecode
0x6080604052600436106102555760003560e01c80635342acb41161013957806395d89b41116100b6578063c9567bf91161007a578063c9567bf91461071f578063db2e21bc14610734578063dd62ed3e14610749578063ea2f0b371461078f578063f2fde38b146107af578063f375b253146107cf57600080fd5b806395d89b4114610694578063a457c2d7146106a9578063a5ece941146106c9578063a9059cbb146106e9578063b2131f7d1461070957600080fd5b80638203f5fe116100fd5780638203f5fe146105e857806388f82020146105fd5780638da5cb5b146106365780638ee88c5314610654578063906e9dd01461067457600080fd5b80635342acb41461052b578063610d5b19146105645780636bc87c3a1461059d57806370a08231146105b3578063715018a6146105d357600080fd5b8063313ce567116101d25780633bd5d173116101965780633bd5d1731461046b578063437823ec1461048b5780634549b039146104ab57806345596e2e146104cb57806349bd5a5e146104eb57806352390c021461050b57600080fd5b8063313ce567146103d3578063362a3c5d146103f55780633685d4191461041557806339509351146104355780633b124fe71461045557600080fd5b80631694505e116102195780631694505e1461031257806318160ddd1461034a57806323b872dd1461035f57806327c8f8351461037f5780632d838119146103b357600080fd5b8063061c82d01461026157806306fdde0314610283578063095ea7b3146102ae5780630f120fc3146102de57806313114a9d146102f357600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b5061028161027c366004612891565b6107ef565b005b34801561028f57600080fd5b50610298610827565b6040516102a59190612914565b60405180910390f35b3480156102ba57600080fd5b506102ce6102c9366004612866565b6108b9565b60405190151581526020016102a5565b3480156102ea57600080fd5b506102816108d0565b3480156102ff57600080fd5b50600c545b6040519081526020016102a5565b34801561031e57600080fd5b50601654610332906001600160a01b031681565b6040516001600160a01b0390911681526020016102a5565b34801561035657600080fd5b50600a54610304565b34801561036b57600080fd5b506102ce61037a366004612826565b610933565b34801561038b57600080fd5b506103327f000000000000000000000000000000000000000000000000000000000000dead81565b3480156103bf57600080fd5b506103046103ce366004612891565b61099c565b3480156103df57600080fd5b50600f5460405160ff90911681526020016102a5565b34801561040157600080fd5b506102816104103660046127b6565b610a20565b34801561042157600080fd5b506102816104303660046127b6565b610c06565b34801561044157600080fd5b506102ce610450366004612866565b610dcb565b34801561046157600080fd5b5061030460105481565b34801561047757600080fd5b50610281610486366004612891565b610e01565b34801561049757600080fd5b506102816104a63660046127b6565b610eeb565b3480156104b757600080fd5b506103046104c63660046128a9565b610f39565b3480156104d757600080fd5b506102816104e6366004612891565b610fc6565b3480156104f757600080fd5b50601754610332906001600160a01b031681565b34801561051757600080fd5b506102816105263660046127b6565b610ff5565b34801561053757600080fd5b506102ce6105463660046127b6565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561057057600080fd5b506102ce61057f3660046127b6565b6001600160a01b031660009081526005602052604090205460ff1690565b3480156105a957600080fd5b5061030460125481565b3480156105bf57600080fd5b506103046105ce3660046127b6565b611148565b3480156105df57600080fd5b506102816111a7565b3480156105f457600080fd5b506102816111dd565b34801561060957600080fd5b506102ce6106183660046127b6565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561064257600080fd5b506000546001600160a01b0316610332565b34801561066057600080fd5b5061028161066f366004612891565b6113f7565b34801561068057600080fd5b5061028161068f3660046127b6565b611426565b3480156106a057600080fd5b50610298611472565b3480156106b557600080fd5b506102ce6106c4366004612866565b611481565b3480156106d557600080fd5b50600154610332906001600160a01b031681565b3480156106f557600080fd5b506102ce610704366004612866565b6114d0565b34801561071557600080fd5b5061030460145481565b34801561072b57600080fd5b506102816114dd565b34801561074057600080fd5b5061028161152c565b34801561075557600080fd5b506103046107643660046127ee565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561079b57600080fd5b506102816107aa3660046127b6565b611581565b3480156107bb57600080fd5b506102816107ca3660046127b6565b6115cc565b3480156107db57600080fd5b506102816107ea3660046127b6565b611667565b6000546001600160a01b031633146108225760405162461bcd60e51b815260040161081990612967565b60405180910390fd5b601055565b6060600d805461083690612a67565b80601f016020809104026020016040519081016040528092919081815260200182805461086290612a67565b80156108af5780601f10610884576101008083540402835291602001916108af565b820191906000526020600020905b81548152906001019060200180831161089257829003601f168201915b5050505050905090565b60006108c63384846117cd565b5060015b92915050565b6000546001600160a01b031633146108fa5760405162461bcd60e51b815260040161081990612967565b601754600160a81b900460ff16610912576001610915565b60005b60178054911515600160a81b0260ff60a81b19909216919091179055565b60006109408484846118f1565b610992843361098d85604051806060016040528060288152602001612ae9602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190611d40565b6117cd565b5060019392505050565b6000600b54821115610a035760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610819565b6000610a0d611d6c565b9050610a198382611d8f565b9392505050565b6000546001600160a01b03163314610a4a5760405162461bcd60e51b815260040161081990612967565b6001600160a01b03811660009081526005602052604090205460ff16610ab25760405162461bcd60e51b815260206004820152601a60248201527f4163636f756e74206973206e6f7420626c61636b6c69737465640000000000006044820152606401610819565b60005b600654811015610c0257816001600160a01b031660068281548110610aea57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610bf05760068054610b1590600190612a50565b81548110610b3357634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600680546001600160a01b039092169183908110610b6d57634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600590915260409020805460ff191690556006805480610bca57634e487b7160e01b600052603160045260246000fd5b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610bfa81612aa2565b915050610ab5565b5050565b6000546001600160a01b03163314610c305760405162461bcd60e51b815260040161081990612967565b6001600160a01b03811660009081526008602052604090205460ff16610c985760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610819565b60005b600954811015610c0257816001600160a01b031660098281548110610cd057634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610db95760098054610cfb90600190612a50565b81548110610d1957634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600980546001600160a01b039092169183908110610d5357634e487b7160e01b600052603260045260246000fd5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600382526040808220829055600890925220805460ff191690556009805480610bca57634e487b7160e01b600052603160045260246000fd5b80610dc381612aa2565b915050610c9b565b3360008181526004602090815260408083206001600160a01b038716845290915281205490916108c691859061098d9086611d9b565b3360008181526008602052604090205460ff1615610e765760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b6064820152608401610819565b6000610e8183611da7565b505050506001600160a01b038416600090815260026020526040902054919250610ead91905082611df6565b6001600160a01b038316600090815260026020526040902055600b54610ed39082611df6565b600b55600c54610ee39084611d9b565b600c55505050565b6000546001600160a01b03163314610f155760405162461bcd60e51b815260040161081990612967565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000600a54831115610f8d5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610819565b81610fac576000610f9d84611da7565b509395506108ca945050505050565b6000610fb784611da7565b509295506108ca945050505050565b6000546001600160a01b03163314610ff05760405162461bcd60e51b815260040161081990612967565b601455565b6000546001600160a01b0316331461101f5760405162461bcd60e51b815260040161081990612967565b6001600160a01b03811660009081526008602052604090205460ff16156110885760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610819565b6001600160a01b038116600090815260026020526040902054156110e2576001600160a01b0381166000908152600260205260409020546110c89061099c565b6001600160a01b0382166000908152600360205260409020555b6001600160a01b03166000818152600860205260408120805460ff191660019081179091556009805491820181559091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0180546001600160a01b0319169091179055565b6001600160a01b03811660009081526008602052604081205460ff161561118557506001600160a01b031660009081526003602052604090205490565b6001600160a01b0382166000908152600260205260409020546108ca9061099c565b6000546001600160a01b031633146111d15760405162461bcd60e51b815260040161081990612967565b6111db6000611e02565b565b6000546001600160a01b031633146112075760405162461bcd60e51b815260040161081990612967565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561125957600080fd5b505afa15801561126d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129191906127d2565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156112d957600080fd5b505afa1580156112ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131191906127d2565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561135957600080fd5b505af115801561136d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139191906127d2565b601780546001600160a01b03199081166001600160a01b0393841617909155601680549091169282169290921790915560008054909116815260076020526040808220805460ff1990811660019081179092553084529190922080549091169091179055565b6000546001600160a01b031633146114215760405162461bcd60e51b815260040161081990612967565b601255565b6000546001600160a01b031633146114505760405162461bcd60e51b815260040161081990612967565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6060600e805461083690612a67565b60006108c6338461098d85604051806060016040528060258152602001612b11602591393360009081526004602090815260408083206001600160a01b038d1684529091529020549190611d40565b60006108c63384846118f1565b6000546001600160a01b031633146115075760405162461bcd60e51b815260040161081990612967565b6013546012556011546010556017805460ff60a81b1916600160a81b17905542601555565b6000546001600160a01b031633146115565760405162461bcd60e51b815260040161081990612967565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f15050505050565b6000546001600160a01b031633146115ab5760405162461bcd60e51b815260040161081990612967565b6001600160a01b03166000908152600760205260409020805460ff19169055565b6000546001600160a01b031633146115f65760405162461bcd60e51b815260040161081990612967565b6001600160a01b03811661165b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610819565b61166481611e02565b50565b6000546001600160a01b031633146116915760405162461bcd60e51b815260040161081990612967565b737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03821614156116fe5760405162461bcd60e51b815260206004820152601c60248201527f57652063616e206e6f7420626c61636b6c69737420556e6973776170000000006044820152606401610819565b6001600160a01b03811660009081526005602052604090205460ff16156117675760405162461bcd60e51b815260206004820152601e60248201527f4163636f756e7420697320616c726561647920626c61636b6c697374656400006044820152606401610819565b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6001600160a01b03831661182f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610819565b6001600160a01b0382166118905760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610819565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166119555760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610819565b6001600160a01b0382166119b75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610819565b60008111611a195760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610819565b6001600160a01b03821660009081526005602052604090205460ff1615611a7c5760405162461bcd60e51b8152602060048201526017602482015276596f752068617665206e6f20706f77657220686572652160481b6044820152606401610819565b3360009081526005602052604090205460ff1615611ad65760405162461bcd60e51b8152602060048201526017602482015276596f752068617665206e6f20706f77657220686572652160481b6044820152606401610819565b6017546001600160a01b038481169116148015611b0157506016546001600160a01b03838116911614155b8015611b2657506001600160a01b03821660009081526007602052604090205460ff16155b15611bf457601754600160a81b900460ff16611b845760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642e00000000000000006044820152606401610819565b601554421415611bf4576001600160a01b0382166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b03191690911790555b6000611bff30611148565b601754909150600160a01b900460ff16158015611c255750601754600160a81b900460ff165b8015611c3e57506017546001600160a01b038481169116145b15611cb0578015611cb057601454601754611c7991606491611c739190611c6d906001600160a01b0316611148565b90611e52565b90611d8f565b811115611ca757601454601754611ca491606491611c739190611c6d906001600160a01b0316611148565b90505b611cb081611e5e565b6017546000906001600160a01b0386811691161480611cdc57506017546001600160a01b038581169116145b8015611d2457506001600160a01b03851660009081526007602052604090205460ff1680611d2257506001600160a01b03841660009081526007602052604090205460ff165b155b15611d2d575060015b611d3985858584611e9b565b5050505050565b60008184841115611d645760405162461bcd60e51b81526004016108199190612914565b505050900390565b6000806000611d79611fc6565b9092509050611d888282611d8f565b9250505090565b6000610a198284612a11565b6000610a1982846129f9565b6000806000806000806000806000611dbe8a612180565b9250925092506000806000611ddc8d8686611dd7611d6c565b6121c2565b919f909e50909c50959a5093985091965092945050505050565b6000610a198284612a50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610a198284612a31565b6017805460ff60a01b1916600160a01b179055611e7a81612212565b478015611e8a57611e8a476123d0565b50506017805460ff60a01b19169055565b80611ea857611ea861241d565b6001600160a01b03841660009081526008602052604090205460ff168015611ee957506001600160a01b03831660009081526008602052604090205460ff16155b15611efe57611ef984848461244b565b611faa565b6001600160a01b03841660009081526008602052604090205460ff16158015611f3f57506001600160a01b03831660009081526008602052604090205460ff165b15611f4f57611ef9848484612571565b6001600160a01b03841660009081526008602052604090205460ff168015611f8f57506001600160a01b03831660009081526008602052604090205460ff165b15611f9f57611ef984848461261a565b611faa84848461268d565b80611fc057611fc0601154601055601354601255565b50505050565b600b54600a546000918291825b6009548110156121505782600260006009848154811061200357634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054118061207c575081600360006009848154811061205557634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561209257600b54600a54945094505050509091565b6120e660026000600984815481106120ba57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490611df6565b925061213c600360006009848154811061211057634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390611df6565b91508061214881612aa2565b915050611fd3565b50600a54600b5461216091611d8f565b82101561217757600b54600a549350935050509091565b90939092509050565b60008060008061218f856126d1565b9050600061219c866126ed565b905060006121b4826121ae8986611df6565b90611df6565b979296509094509092505050565b60008080806121d18886611e52565b905060006121df8887611e52565b905060006121ed8888611e52565b905060006121ff826121ae8686611df6565b939b939a50919850919650505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061225557634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156122a957600080fd5b505afa1580156122bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e191906127d2565b8160018151811061230257634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260165461232891309116846117cd565b60165460405163791ac94760e01b81526001600160a01b039091169063791ac947906123619085906000908690309042906004016129bd565b600060405180830381600087803b15801561237b57600080fd5b505af115801561238f573d6000803e3d6000fd5b505050507f32cde87eb454f3a0b875ab23547023107cfad454363ec88ba5695e2c24aa52a782826040516123c492919061299c565b60405180910390a15050565b6001546040516001600160a01b03909116908290600081818185875af1925050503d8060008114611fc0576040519150601f19603f3d011682016040523d82523d6000602084013e611fc0565b60105415801561242d5750601254155b1561243457565b601080546011556012805460135560009182905555565b60008060008060008061245d87611da7565b6001600160a01b038f16600090815260036020526040902054959b5093995091975095509350915061248f9088611df6565b6001600160a01b038a166000908152600360209081526040808320939093556002905220546124be9087611df6565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546124ed9086611d9b565b6001600160a01b03891660009081526002602052604090205561250f81612709565b6125198483612792565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161255e91815260200190565b60405180910390a3505050505050505050565b60008060008060008061258387611da7565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506125b59087611df6565b6001600160a01b03808b16600090815260026020908152604080832094909455918b168152600390915220546125eb9084611d9b565b6001600160a01b0389166000908152600360209081526040808320939093556002905220546124ed9086611d9b565b60008060008060008061262c87611da7565b6001600160a01b038f16600090815260036020526040902054959b5093995091975095509350915061265e9088611df6565b6001600160a01b038a166000908152600360209081526040808320939093556002905220546125b59087611df6565b60008060008060008061269f87611da7565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506124be9087611df6565b60006108ca6064611c7360105485611e5290919063ffffffff16565b60006108ca6064611c7360125485611e5290919063ffffffff16565b6000612713611d6c565b905060006127218383611e52565b3060009081526002602052604090205490915061273e9082611d9b565b3060009081526002602090815260408083209390935560089052205460ff161561278d573060009081526003602052604090205461277c9084611d9b565b306000908152600360205260409020555b505050565b600b5461279f9083611df6565b600b55600c546127af9082611d9b565b600c555050565b6000602082840312156127c7578081fd5b8135610a1981612ad3565b6000602082840312156127e3578081fd5b8151610a1981612ad3565b60008060408385031215612800578081fd5b823561280b81612ad3565b9150602083013561281b81612ad3565b809150509250929050565b60008060006060848603121561283a578081fd5b833561284581612ad3565b9250602084013561285581612ad3565b929592945050506040919091013590565b60008060408385031215612878578182fd5b823561288381612ad3565b946020939093013593505050565b6000602082840312156128a2578081fd5b5035919050565b600080604083850312156128bb578182fd5b823591506020830135801515811461281b578182fd5b6000815180845260208085019450808401835b838110156129095781516001600160a01b0316875295820195908201906001016128e4565b509495945050505050565b6000602080835283518082850152825b8181101561294057858101830151858201604001528201612924565b818111156129515783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8281526040602082015260006129b560408301846128d1565b949350505050565b85815284602082015260a0604082015260006129dc60a08301866128d1565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115612a0c57612a0c612abd565b500190565b600082612a2c57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612a4b57612a4b612abd565b500290565b600082821015612a6257612a62612abd565b500390565b600181811c90821680612a7b57607f821691505b60208210811415612a9c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612ab657612ab6612abd565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461166457600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa164736f6c6343000804000a
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.