ERC-20
Overview
Max Total Supply
200,000,000 KRYPTO
Holders
127
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
8,351.563429333 KRYPTOValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KryptoInu
Compiler Version
v0.8.10+commit.fc410830
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.10; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract KryptoInu is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcludedFromFee; mapping(address => bool) private _isExcluded; address[] private _excluded; uint256 private constant MAX = ~uint256(0); uint256 private _tTotal = 200 * 10**6 * 10**9; uint256 private _rTotal = (MAX - (MAX % _tTotal)); uint256 private _tFeeTotal; string private _name = "Krypto Inu"; string private _symbol = "KRYPTO"; uint8 private _decimals = 9; struct BuyFee { uint16 adminFee; uint16 taxFee; } struct SellFee { uint16 adminFee; uint16 taxFee; } BuyFee public buyFee; SellFee public sellFee; uint16 private _taxFee; uint16 private _adminFee; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; address public _adminWallet = payable(address(0x123)); bool internal inSwapAndLiquify; bool public swapAndLiquifyEnabled = true; uint256 public _maxTxAmount = 2 * 10**6 * 10**9; uint256 private numTokensSellToAddToLiquidity = 1 * 10**5 * 10**9; event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap); event SwapAndLiquifyEnabledUpdated(bool enabled); modifier lockTheSwap() { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor() { _rOwned[_msgSender()] = _rTotal; buyFee.adminFee = 2; buyFee.taxFee = 2; sellFee.adminFee = 2; sellFee.taxFee = 3; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // Create a uniswap pair for this new token uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair( address(this), _uniswapV2Router.WETH() ); // set the rest of the contract variables uniswapV2Router = _uniswapV2Router; //exclude owner and this contract from fee _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; emit Transfer(address(0), _msgSender(), _tTotal); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { if (_isExcluded[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance") ); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero") ); return true; } function isExcludedFromReward(address account) public view returns (bool) { return _isExcluded[account]; } function totalFees() public view returns (uint256) { return _tFeeTotal; } function deliver(uint256 tAmount) public { address sender = _msgSender(); require(!_isExcluded[sender], "Excluded addresses cannot call this function"); (uint256 rAmount, , , , ) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rTotal = _rTotal.sub(rAmount); _tFeeTotal = _tFeeTotal.add(tAmount); } function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns (uint256) { require(tAmount <= _tTotal, "Amount must be less than supply"); if (!deductTransferFee) { (uint256 rAmount, , , , ) = _getValues(tAmount); return rAmount; } else { (, uint256 rTransferAmount, , , ) = _getValues(tAmount); return rTransferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns (uint256) { require(rAmount <= _rTotal, "Amount must be less than total reflections"); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } function excludeFromReward(address account) public onlyOwner { // require(account != 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, 'We can not exclude Uniswap router.'); 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 excludeFromFee(address account) external onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) external onlyOwner { _isExcludedFromFee[account] = false; } function setBuyFee(uint16 market, uint16 tax) external onlyOwner { buyFee.adminFee = market; buyFee.taxFee = tax; } function setSellFee(uint16 market, uint16 tax) external onlyOwner { sellFee.adminFee = market; sellFee.taxFee = tax; } function setNumTokensSellToAddToLiquidity(uint256 numTokens) external onlyOwner { numTokensSellToAddToLiquidity = numTokens; } function updateRouter(address newAddress) external onlyOwner { require(newAddress != address(uniswapV2Router), "TOKEN: The router already has that address"); uniswapV2Router = IUniswapV2Router02(newAddress); address _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), uniswapV2Router.WETH() ); uniswapV2Pair = _uniswapV2Pair; } function setMaxTx(uint256 maxTx) external onlyOwner { _maxTxAmount = maxTx; } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } function claimStuckTokens(address _token) external onlyOwner { require(_token != address(this), "No rug pulls :)"); if (_token == address(0x0)) { payable(owner()).transfer(address(this).balance); return; } IERC20 erc20token = IERC20(_token); uint256 balance = erc20token.balanceOf(address(this)); erc20token.transfer(owner(), balance); } //to recieve ETH from uniswapV2Router when swaping receive() external payable {this;} 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 tTransferAmount, uint256 tFee, uint256 tAdmin) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tAdmin, _getRate()); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee); } function _getTValues(uint256 tAmount) private view returns ( uint256, uint256, uint256 ) { uint256 tFee = calculateTaxFee(tAmount); uint256 tAdmin = calculateAdminFee(tAmount); uint256 tTransferAmount = tAmount.sub(tFee); tTransferAmount = tTransferAmount.sub(tAdmin); return (tTransferAmount, tFee, tAdmin); } function _getRValues( uint256 tAmount, uint256 tFee, uint256 tAdmin, uint256 currentRate ) private pure returns ( uint256, uint256, uint256 ) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rAdmin = tAdmin.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rAdmin); 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 _takeAdmin(uint256 tAdmin) private { uint256 currentRate = _getRate(); uint256 rAdmin = tAdmin.mul(currentRate); _rOwned[address(this)] = _rOwned[address(this)].add(rAdmin); _tOwned[address(this)] = _tOwned[address(this)].add(tAdmin); } function calculateTaxFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_taxFee).div(10**2); } function calculateAdminFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_adminFee).div(10**2); } function removeAllFee() private { _taxFee = 0; _adminFee = 0; } function setBuy() private { _taxFee = buyFee.taxFee; _adminFee = buyFee.adminFee; } function setSell() private { _taxFee = sellFee.taxFee; _adminFee = sellFee.adminFee; } function isExcludedFromFee(address account) public view returns (bool) { return _isExcludedFromFee[account]; } function _approve( address owner, address spender, uint256 amount ) private { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _transfer( address from, address to, uint256 amount ) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if (from != owner() && to != owner()) { require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount."); } // is the token balance of this contract address over the min number of // tokens that we need to initiate a swap + liquidity lock? // also, don't get caught in a circular liquidity event. // also, don't swap & liquify if sender is uniswap pair. uint256 contractTokenBalance = balanceOf(address(this)); if (contractTokenBalance >= _maxTxAmount) { contractTokenBalance = _maxTxAmount; } bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity; if (overMinTokenBalance && !inSwapAndLiquify && from != uniswapV2Pair && swapAndLiquifyEnabled) { contractTokenBalance = numTokensSellToAddToLiquidity; swapAndSendFee(contractTokenBalance); } //indicates if fee should be deducted from transfer bool takeFee = true; //if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) { takeFee = false; } //transfer amount, it will take tax, reward, liquidity fee _tokenTransfer(from, to, amount, takeFee); } function swapAndSendFee(uint256 amount) private lockTheSwap { uint256 initialBalance = address(this).balance; swapTokensForEth(amount); uint256 newBalance = address(this).balance.sub(initialBalance); payable(_adminWallet).transfer(newBalance); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } //this method is responsible for taking all fee, if takeFee is true function _tokenTransfer( address sender, address recipient, uint256 amount, bool takeFee ) private { removeAllFee(); if (takeFee) { if (sender == uniswapV2Pair) { setBuy(); } if (recipient == uniswapV2Pair) { setSell(); } } if (_isExcluded[sender] && !_isExcluded[recipient]) { _transferFromExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && _isExcluded[recipient]) { _transferToExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && !_isExcluded[recipient]) { _transferStandard(sender, recipient, amount); } else if (_isExcluded[sender] && _isExcluded[recipient]) { _transferBothExcluded(sender, recipient, amount); } else { _transferStandard(sender, recipient, amount); } } function _transferStandard( address sender, address recipient, uint256 tAmount ) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee) = _getValues( tAmount ); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeAdmin(calculateAdminFee(tAmount)); _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) = _getValues( tAmount ); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeAdmin(calculateAdminFee(tAmount)); _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) = _getValues( tAmount ); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeAdmin(calculateAdminFee(tAmount)); _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) = _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); _takeAdmin(calculateAdminFee(tAmount)); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } }
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; }
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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_adminWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","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":"buyFee","outputs":[{"internalType":"uint16","name":"adminFee","type":"uint16"},{"internalType":"uint16","name":"taxFee","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"claimStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":[{"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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint16","name":"adminFee","type":"uint16"},{"internalType":"uint16","name":"taxFee","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"market","type":"uint16"},{"internalType":"uint16","name":"tax","type":"uint16"}],"name":"setBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTx","type":"uint256"}],"name":"setMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"setNumTokensSellToAddToLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"market","type":"uint16"},{"internalType":"uint16","name":"tax","type":"uint16"}],"name":"setSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526702c68af0bb140000600781905562000020906000196200044d565b6200002e9060001962000470565b60085560408051808201909152600a808252694b727970746f20496e7560b01b6020909201918252620000629181620003a7565b50604080518082019091526006808252654b525950544f60d01b60209092019182526200009291600b91620003a7565b50600c805460ff19166009179055601180547501000000000000000000000000000000000000000123600161ff0160a01b031990911617905566071afd498d0000601255655af3107a4000601355348015620000ed57600080fd5b50620000f93362000357565b6008543360009081526001602090815260409182902092909255600d805463ffffffff199081166202000217909155600e805490911662030002179055805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d92839263c45a015592600480830193928290030181865afa15801562000183573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a9919062000496565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001f7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021d919062000496565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200026b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000291919062000496565b601080546001600160a01b0319166001600160a01b03928316179055600f8054600160201b600160c01b0319166401000000008484160217905560008054909116815260046020526040808220805460ff1990811660019081179092553084529190922080549091169091179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6007546040516200034891815260200190565b60405180910390a35062000505565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620003b590620004c8565b90600052602060002090601f016020900481019282620003d9576000855562000424565b82601f10620003f457805160ff191683800117855562000424565b8280016001018555821562000424579182015b828111156200042457825182559160200191906001019062000407565b506200043292915062000436565b5090565b5b8082111562000432576000815560010162000437565b6000826200046b57634e487b7160e01b600052601260045260246000fd5b500690565b6000828210156200049157634e487b7160e01b600052601160045260246000fd5b500390565b600060208284031215620004a957600080fd5b81516001600160a01b0381168114620004c157600080fd5b9392505050565b600181811c90821680620004dd57607f821691505b60208210811415620004ff57634e487b7160e01b600052602260045260246000fd5b50919050565b6126a880620005156000396000f3fe6080604052600436106102295760003560e01c80635342acb411610123578063a9059cbb116100ab578063ea2f0b371161006f578063ea2f0b37146106e4578063ec2a520a14610704578063f0f165af14610724578063f2fde38b14610744578063f9d0831a1461076457600080fd5b8063a9059cbb1461061e578063bc3371821461063e578063c49b9a801461065e578063c851cc321461067e578063dd62ed3e1461069e57600080fd5b80637d1db4a5116100f25780637d1db4a51461057c57806388f82020146105925780638da5cb5b146105cb57806395d89b41146105e9578063a457c2d7146105fe57600080fd5b80635342acb4146104ee57806370a0823114610527578063715018a6146105475780637afad2491461055c57600080fd5b8063313ce567116101b15780634549b039116101755780634549b03914610448578063470624021461046857806349bd5a5e1461048d5780634a74bb02146104ad57806352390c02146104ce57600080fd5b8063313ce567146103a45780633685d419146103c657806339509351146103e85780633bd5d17314610408578063437823ec1461042857600080fd5b80631694505e116101f85780631694505e146102e757806318160ddd1461030f57806323b872dd146103245780632b14ca56146103445780632d8381191461038457600080fd5b806306fdde0314610235578063095ea7b3146102605780630ed220831461029057806313114a9d146102c857600080fd5b3661023057005b600080fd5b34801561024157600080fd5b5061024a610784565b6040516102579190612279565b60405180910390f35b34801561026c57600080fd5b5061028061027b3660046122e3565b610816565b6040519015158152602001610257565b34801561029c57600080fd5b506011546102b0906001600160a01b031681565b6040516001600160a01b039091168152602001610257565b3480156102d457600080fd5b506009545b604051908152602001610257565b3480156102f357600080fd5b50600f546102b09064010000000090046001600160a01b031681565b34801561031b57600080fd5b506007546102d9565b34801561033057600080fd5b5061028061033f36600461230f565b61082d565b34801561035057600080fd5b50600e546103699061ffff808216916201000090041682565b6040805161ffff938416815292909116602083015201610257565b34801561039057600080fd5b506102d961039f366004612350565b610896565b3480156103b057600080fd5b50600c5460405160ff9091168152602001610257565b3480156103d257600080fd5b506103e66103e1366004612369565b61091f565b005b3480156103f457600080fd5b506102806104033660046122e3565b610ab4565b34801561041457600080fd5b506103e6610423366004612350565b610aea565b34801561043457600080fd5b506103e6610443366004612369565b610bd2565b34801561045457600080fd5b506102d9610463366004612394565b610bfe565b34801561047457600080fd5b50600d546103699061ffff808216916201000090041682565b34801561049957600080fd5b506010546102b0906001600160a01b031681565b3480156104b957600080fd5b5060115461028090600160a81b900460ff1681565b3480156104da57600080fd5b506103e66104e9366004612369565b610c89565b3480156104fa57600080fd5b50610280610509366004612369565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561053357600080fd5b506102d9610542366004612369565b610dba565b34801561055357600080fd5b506103e6610e19565b34801561056857600080fd5b506103e66105773660046123db565b610e2d565b34801561058857600080fd5b506102d960125481565b34801561059e57600080fd5b506102806105ad366004612369565b6001600160a01b031660009081526005602052604090205460ff1690565b3480156105d757600080fd5b506000546001600160a01b03166102b0565b3480156105f557600080fd5b5061024a610e5d565b34801561060a57600080fd5b506102806106193660046122e3565b610e6c565b34801561062a57600080fd5b506102806106393660046122e3565b610ebb565b34801561064a57600080fd5b506103e6610659366004612350565b610ec8565b34801561066a57600080fd5b506103e661067936600461240e565b610ed5565b34801561068a57600080fd5b506103e6610699366004612369565b610f35565b3480156106aa57600080fd5b506102d96106b936600461242b565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b3480156106f057600080fd5b506103e66106ff366004612369565b611171565b34801561071057600080fd5b506103e661071f3660046123db565b61119a565b34801561073057600080fd5b506103e661073f366004612350565b6111ca565b34801561075057600080fd5b506103e661075f366004612369565b6111d7565b34801561077057600080fd5b506103e661077f366004612369565b611250565b6060600a805461079390612459565b80601f01602080910402602001604051908101604052809291908181526020018280546107bf90612459565b801561080c5780601f106107e15761010080835404028352916020019161080c565b820191906000526020600020905b8154815290600101906020018083116107ef57829003601f168201915b5050505050905090565b60006108233384846113f2565b5060015b92915050565b600061083a848484611516565b61088c843361088785604051806060016040528060288152602001612626602891396001600160a01b038a16600090815260036020908152604080832033845290915290205491906117ac565b6113f2565b5060019392505050565b60006008548211156109025760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084015b60405180910390fd5b600061090c6117d8565b905061091883826117fb565b9392505050565b610927611807565b6001600160a01b03811660009081526005602052604090205460ff1661098f5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016108f9565b60005b600654811015610ab057816001600160a01b0316600682815481106109b9576109b9612494565b6000918252602090912001546001600160a01b03161415610a9e57600680546109e4906001906124c0565b815481106109f4576109f4612494565b600091825260209091200154600680546001600160a01b039092169183908110610a2057610a20612494565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600590925220805460ff191690556006805480610a7857610a786124d7565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610aa8816124ed565b915050610992565b5050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916108239185906108879086611861565b3360008181526005602052604090205460ff1615610b5f5760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b60648201526084016108f9565b6000610b6a8361186d565b505050506001600160a01b038316600090815260016020526040902054909150610b9490826118b8565b6001600160a01b038316600090815260016020526040902055600854610bba90826118b8565b600855600954610bca9084611861565b600955505050565b610bda611807565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b6000600754831115610c525760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c790060448201526064016108f9565b81610c70576000610c628461186d565b509294506108279350505050565b6000610c7b8461186d565b509194506108279350505050565b610c91611807565b6001600160a01b03811660009081526005602052604090205460ff1615610cfa5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016108f9565b6001600160a01b03811660009081526001602052604090205415610d54576001600160a01b038116600090815260016020526040902054610d3a90610896565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6001600160a01b03811660009081526005602052604081205460ff1615610df757506001600160a01b031660009081526002602052604090205490565b6001600160a01b03821660009081526001602052604090205461082790610896565b610e21611807565b610e2b60006118c4565b565b610e35611807565b600d805461ffff928316620100000263ffffffff199091169290931691909117919091179055565b6060600b805461079390612459565b600061082333846108878560405180606001604052806025815260200161264e602591393360009081526003602090815260408083206001600160a01b038d16845290915290205491906117ac565b6000610823338484611516565b610ed0611807565b601255565b610edd611807565b60118054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990610f2a90831515815260200190565b60405180910390a150565b610f3d611807565b600f546001600160a01b03828116640100000000909204161415610fb65760405162461bcd60e51b815260206004820152602a60248201527f544f4b454e3a2054686520726f7574657220616c7265616479206861732074686044820152696174206164647265737360b01b60648201526084016108f9565b80600f60046101000a8154816001600160a01b0302191690836001600160a01b031602179055506000600f60049054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611032573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110569190612508565b6001600160a01b031663c9c6539630600f60049054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110dc9190612508565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611129573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114d9190612508565b601080546001600160a01b0319166001600160a01b03929092169190911790555050565b611179611807565b6001600160a01b03166000908152600460205260409020805460ff19169055565b6111a2611807565b600e805461ffff928316620100000263ffffffff199091169290931691909117919091179055565b6111d2611807565b601355565b6111df611807565b6001600160a01b0381166112445760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108f9565b61124d816118c4565b50565b611258611807565b6001600160a01b0381163014156112a35760405162461bcd60e51b815260206004820152600f60248201526e4e6f207275672070756c6c73203a2960881b60448201526064016108f9565b6001600160a01b0381166112eb57600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610ab0573d6000803e3d6000fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611334573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113589190612525565b9050816001600160a01b031663a9059cbb61137b6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156113c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ec919061253e565b50505050565b6001600160a01b0383166114545760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108f9565b6001600160a01b0382166114b55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108f9565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661157a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108f9565b6001600160a01b0382166115dc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108f9565b6000811161163e5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016108f9565b6000546001600160a01b0384811691161480159061166a57506000546001600160a01b03838116911614155b156116d2576012548111156116d25760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016108f9565b60006116dd30610dba565b905060125481106116ed57506012545b6013548110801590819061170b5750601154600160a01b900460ff16155b801561172557506010546001600160a01b03868116911614155b801561173a5750601154600160a81b900460ff165b1561174d57601354915061174d82611914565b6001600160a01b03851660009081526004602052604090205460019060ff168061178f57506001600160a01b03851660009081526004602052604090205460ff165b15611798575060005b6117a48686868461198b565b505050505050565b600081848411156117d05760405162461bcd60e51b81526004016108f99190612279565b505050900390565b60008060006117e5611b81565b90925090506117f482826117fb565b9250505090565b6000610918828461255b565b6000546001600160a01b03163314610e2b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f9565b6000610918828461257d565b60008060008060008060008061188289611d03565b92509250925060008060006118a08c868661189b6117d8565b611d47565b919e909d50909b509599509397509395505050505050565b600061091882846124c0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6011805460ff60a01b1916600160a01b1790554761193182611d9d565b600061193d47836118b8565b6011546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015611978573d6000803e3d6000fd5b50506011805460ff60a01b191690555050565b61199d600f805463ffffffff19169055565b8015611a2d576010546001600160a01b03858116911614156119e8576119e8600d54600f805461ffff8084166201000090810263ffffffff1990931694041692909217919091179055565b6010546001600160a01b0384811691161415611a2d57611a2d600e54600f805461ffff8084166201000090810263ffffffff1990931694041692909217919091179055565b6001600160a01b03841660009081526005602052604090205460ff168015611a6e57506001600160a01b03831660009081526005602052604090205460ff16155b15611a8357611a7e848484611f18565b6113ec565b6001600160a01b03841660009081526005602052604090205460ff16158015611ac457506001600160a01b03831660009081526005602052604090205460ff165b15611ad457611a7e848484612042565b6001600160a01b03841660009081526005602052604090205460ff16158015611b1657506001600160a01b03831660009081526005602052604090205460ff16155b15611b2657611a7e8484846120e8565b6001600160a01b03841660009081526005602052604090205460ff168015611b6657506001600160a01b03831660009081526005602052604090205460ff165b15611b7657611a7e848484612129565b6113ec8484846120e8565b6008546007546000918291825b600654811015611cd357826001600060068481548110611bb057611bb0612494565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611c1b5750816002600060068481548110611bf457611bf4612494565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611c3157600854600754945094505050509091565b611c776001600060068481548110611c4b57611c4b612494565b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906118b8565b9250611cbf6002600060068481548110611c9357611c93612494565b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906118b8565b915080611ccb816124ed565b915050611b8e565b50600754600854611ce3916117fb565b821015611cfa576008546007549350935050509091565b90939092509050565b600080600080611d1285612199565b90506000611d1f866121bb565b90506000611d2d87846118b8565b9050611d3981836118b8565b979296509094509092505050565b6000808080611d5688866121d9565b90506000611d6488876121d9565b90506000611d7288886121d9565b90506000611d8a82611d8486866118b8565b906118b8565b939b939a50919850919650505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611dd257611dd2612494565b60200260200101906001600160a01b031690816001600160a01b031681525050600f60049054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e699190612508565b81600181518110611e7c57611e7c612494565b6001600160a01b039283166020918202929092010152600f54611eaa913091640100000000900416846113f2565b600f5460405163791ac94760e01b81526401000000009091046001600160a01b03169063791ac94790611eea908590600090869030904290600401612595565b600060405180830381600087803b158015611f0457600080fd5b505af11580156117a4573d6000803e3d6000fd5b6000806000806000611f298661186d565b6001600160a01b038d1660009081526002602052604090205494995092975090955093509150611f5990876118b8565b6001600160a01b038916600090815260026020908152604080832093909355600190522054611f8890866118b8565b6001600160a01b03808a166000908152600160205260408082209390935590891681522054611fb79085611861565b6001600160a01b038816600090815260016020526040902055611fe1611fdc876121bb565b6121e5565b611feb8382612255565b866001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161203091815260200190565b60405180910390a35050505050505050565b60008060008060006120538661186d565b6001600160a01b038d166000908152600160205260409020549499509297509095509350915061208390866118b8565b6001600160a01b03808a16600090815260016020908152604080832094909455918a168152600290915220546120b99083611861565b6001600160a01b038816600090815260026020908152604080832093909355600190522054611fb79085611861565b60008060008060006120f98661186d565b6001600160a01b038d1660009081526001602052604090205494995092975090955093509150611f8890866118b8565b600080600080600061213a8661186d565b6001600160a01b038d166000908152600260205260409020549499509297509095509350915061216a90876118b8565b6001600160a01b03891660009081526002602090815260408083209390935560019052205461208390866118b8565b600f54600090610827906064906121b590859061ffff166121d9565b906117fb565b600f54600090610827906064906121b590859062010000900461ffff165b60006109188284612606565b60006121ef6117d8565b905060006121fd83836121d9565b3060009081526001602052604090205490915061221a9082611861565b306000908152600160209081526040808320939093556002905220546122409084611861565b30600090815260026020526040902055505050565b60085461226290836118b8565b6008556009546122729082611861565b6009555050565b600060208083528351808285015260005b818110156122a65785810183015185820160400152820161228a565b818111156122b8576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461124d57600080fd5b600080604083850312156122f657600080fd5b8235612301816122ce565b946020939093013593505050565b60008060006060848603121561232457600080fd5b833561232f816122ce565b9250602084013561233f816122ce565b929592945050506040919091013590565b60006020828403121561236257600080fd5b5035919050565b60006020828403121561237b57600080fd5b8135610918816122ce565b801515811461124d57600080fd5b600080604083850312156123a757600080fd5b8235915060208301356123b981612386565b809150509250929050565b803561ffff811681146123d657600080fd5b919050565b600080604083850312156123ee57600080fd5b6123f7836123c4565b9150612405602084016123c4565b90509250929050565b60006020828403121561242057600080fd5b813561091881612386565b6000806040838503121561243e57600080fd5b8235612449816122ce565b915060208301356123b9816122ce565b600181811c9082168061246d57607f821691505b6020821081141561248e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156124d2576124d26124aa565b500390565b634e487b7160e01b600052603160045260246000fd5b6000600019821415612501576125016124aa565b5060010190565b60006020828403121561251a57600080fd5b8151610918816122ce565b60006020828403121561253757600080fd5b5051919050565b60006020828403121561255057600080fd5b815161091881612386565b60008261257857634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115612590576125906124aa565b500190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156125e55784516001600160a01b0316835293830193918301916001016125c0565b50506001600160a01b03969096166060850152505050608001529392505050565b6000816000190483118215151615612620576126206124aa565b50029056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122029ef4b51a68adbb23b22fa92c67ce231dfc2d1c4cd55f67178eb830d047c199f64736f6c634300080a0033
Deployed Bytecode
0x6080604052600436106102295760003560e01c80635342acb411610123578063a9059cbb116100ab578063ea2f0b371161006f578063ea2f0b37146106e4578063ec2a520a14610704578063f0f165af14610724578063f2fde38b14610744578063f9d0831a1461076457600080fd5b8063a9059cbb1461061e578063bc3371821461063e578063c49b9a801461065e578063c851cc321461067e578063dd62ed3e1461069e57600080fd5b80637d1db4a5116100f25780637d1db4a51461057c57806388f82020146105925780638da5cb5b146105cb57806395d89b41146105e9578063a457c2d7146105fe57600080fd5b80635342acb4146104ee57806370a0823114610527578063715018a6146105475780637afad2491461055c57600080fd5b8063313ce567116101b15780634549b039116101755780634549b03914610448578063470624021461046857806349bd5a5e1461048d5780634a74bb02146104ad57806352390c02146104ce57600080fd5b8063313ce567146103a45780633685d419146103c657806339509351146103e85780633bd5d17314610408578063437823ec1461042857600080fd5b80631694505e116101f85780631694505e146102e757806318160ddd1461030f57806323b872dd146103245780632b14ca56146103445780632d8381191461038457600080fd5b806306fdde0314610235578063095ea7b3146102605780630ed220831461029057806313114a9d146102c857600080fd5b3661023057005b600080fd5b34801561024157600080fd5b5061024a610784565b6040516102579190612279565b60405180910390f35b34801561026c57600080fd5b5061028061027b3660046122e3565b610816565b6040519015158152602001610257565b34801561029c57600080fd5b506011546102b0906001600160a01b031681565b6040516001600160a01b039091168152602001610257565b3480156102d457600080fd5b506009545b604051908152602001610257565b3480156102f357600080fd5b50600f546102b09064010000000090046001600160a01b031681565b34801561031b57600080fd5b506007546102d9565b34801561033057600080fd5b5061028061033f36600461230f565b61082d565b34801561035057600080fd5b50600e546103699061ffff808216916201000090041682565b6040805161ffff938416815292909116602083015201610257565b34801561039057600080fd5b506102d961039f366004612350565b610896565b3480156103b057600080fd5b50600c5460405160ff9091168152602001610257565b3480156103d257600080fd5b506103e66103e1366004612369565b61091f565b005b3480156103f457600080fd5b506102806104033660046122e3565b610ab4565b34801561041457600080fd5b506103e6610423366004612350565b610aea565b34801561043457600080fd5b506103e6610443366004612369565b610bd2565b34801561045457600080fd5b506102d9610463366004612394565b610bfe565b34801561047457600080fd5b50600d546103699061ffff808216916201000090041682565b34801561049957600080fd5b506010546102b0906001600160a01b031681565b3480156104b957600080fd5b5060115461028090600160a81b900460ff1681565b3480156104da57600080fd5b506103e66104e9366004612369565b610c89565b3480156104fa57600080fd5b50610280610509366004612369565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561053357600080fd5b506102d9610542366004612369565b610dba565b34801561055357600080fd5b506103e6610e19565b34801561056857600080fd5b506103e66105773660046123db565b610e2d565b34801561058857600080fd5b506102d960125481565b34801561059e57600080fd5b506102806105ad366004612369565b6001600160a01b031660009081526005602052604090205460ff1690565b3480156105d757600080fd5b506000546001600160a01b03166102b0565b3480156105f557600080fd5b5061024a610e5d565b34801561060a57600080fd5b506102806106193660046122e3565b610e6c565b34801561062a57600080fd5b506102806106393660046122e3565b610ebb565b34801561064a57600080fd5b506103e6610659366004612350565b610ec8565b34801561066a57600080fd5b506103e661067936600461240e565b610ed5565b34801561068a57600080fd5b506103e6610699366004612369565b610f35565b3480156106aa57600080fd5b506102d96106b936600461242b565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b3480156106f057600080fd5b506103e66106ff366004612369565b611171565b34801561071057600080fd5b506103e661071f3660046123db565b61119a565b34801561073057600080fd5b506103e661073f366004612350565b6111ca565b34801561075057600080fd5b506103e661075f366004612369565b6111d7565b34801561077057600080fd5b506103e661077f366004612369565b611250565b6060600a805461079390612459565b80601f01602080910402602001604051908101604052809291908181526020018280546107bf90612459565b801561080c5780601f106107e15761010080835404028352916020019161080c565b820191906000526020600020905b8154815290600101906020018083116107ef57829003601f168201915b5050505050905090565b60006108233384846113f2565b5060015b92915050565b600061083a848484611516565b61088c843361088785604051806060016040528060288152602001612626602891396001600160a01b038a16600090815260036020908152604080832033845290915290205491906117ac565b6113f2565b5060019392505050565b60006008548211156109025760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084015b60405180910390fd5b600061090c6117d8565b905061091883826117fb565b9392505050565b610927611807565b6001600160a01b03811660009081526005602052604090205460ff1661098f5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016108f9565b60005b600654811015610ab057816001600160a01b0316600682815481106109b9576109b9612494565b6000918252602090912001546001600160a01b03161415610a9e57600680546109e4906001906124c0565b815481106109f4576109f4612494565b600091825260209091200154600680546001600160a01b039092169183908110610a2057610a20612494565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600590925220805460ff191690556006805480610a7857610a786124d7565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b80610aa8816124ed565b915050610992565b5050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916108239185906108879086611861565b3360008181526005602052604090205460ff1615610b5f5760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b60648201526084016108f9565b6000610b6a8361186d565b505050506001600160a01b038316600090815260016020526040902054909150610b9490826118b8565b6001600160a01b038316600090815260016020526040902055600854610bba90826118b8565b600855600954610bca9084611861565b600955505050565b610bda611807565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b6000600754831115610c525760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c790060448201526064016108f9565b81610c70576000610c628461186d565b509294506108279350505050565b6000610c7b8461186d565b509194506108279350505050565b610c91611807565b6001600160a01b03811660009081526005602052604090205460ff1615610cfa5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016108f9565b6001600160a01b03811660009081526001602052604090205415610d54576001600160a01b038116600090815260016020526040902054610d3a90610896565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b6001600160a01b03811660009081526005602052604081205460ff1615610df757506001600160a01b031660009081526002602052604090205490565b6001600160a01b03821660009081526001602052604090205461082790610896565b610e21611807565b610e2b60006118c4565b565b610e35611807565b600d805461ffff928316620100000263ffffffff199091169290931691909117919091179055565b6060600b805461079390612459565b600061082333846108878560405180606001604052806025815260200161264e602591393360009081526003602090815260408083206001600160a01b038d16845290915290205491906117ac565b6000610823338484611516565b610ed0611807565b601255565b610edd611807565b60118054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990610f2a90831515815260200190565b60405180910390a150565b610f3d611807565b600f546001600160a01b03828116640100000000909204161415610fb65760405162461bcd60e51b815260206004820152602a60248201527f544f4b454e3a2054686520726f7574657220616c7265616479206861732074686044820152696174206164647265737360b01b60648201526084016108f9565b80600f60046101000a8154816001600160a01b0302191690836001600160a01b031602179055506000600f60049054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611032573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110569190612508565b6001600160a01b031663c9c6539630600f60049054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110dc9190612508565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611129573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114d9190612508565b601080546001600160a01b0319166001600160a01b03929092169190911790555050565b611179611807565b6001600160a01b03166000908152600460205260409020805460ff19169055565b6111a2611807565b600e805461ffff928316620100000263ffffffff199091169290931691909117919091179055565b6111d2611807565b601355565b6111df611807565b6001600160a01b0381166112445760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108f9565b61124d816118c4565b50565b611258611807565b6001600160a01b0381163014156112a35760405162461bcd60e51b815260206004820152600f60248201526e4e6f207275672070756c6c73203a2960881b60448201526064016108f9565b6001600160a01b0381166112eb57600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610ab0573d6000803e3d6000fd5b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611334573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113589190612525565b9050816001600160a01b031663a9059cbb61137b6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156113c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ec919061253e565b50505050565b6001600160a01b0383166114545760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108f9565b6001600160a01b0382166114b55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108f9565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661157a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108f9565b6001600160a01b0382166115dc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108f9565b6000811161163e5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016108f9565b6000546001600160a01b0384811691161480159061166a57506000546001600160a01b03838116911614155b156116d2576012548111156116d25760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016108f9565b60006116dd30610dba565b905060125481106116ed57506012545b6013548110801590819061170b5750601154600160a01b900460ff16155b801561172557506010546001600160a01b03868116911614155b801561173a5750601154600160a81b900460ff165b1561174d57601354915061174d82611914565b6001600160a01b03851660009081526004602052604090205460019060ff168061178f57506001600160a01b03851660009081526004602052604090205460ff165b15611798575060005b6117a48686868461198b565b505050505050565b600081848411156117d05760405162461bcd60e51b81526004016108f99190612279565b505050900390565b60008060006117e5611b81565b90925090506117f482826117fb565b9250505090565b6000610918828461255b565b6000546001600160a01b03163314610e2b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f9565b6000610918828461257d565b60008060008060008060008061188289611d03565b92509250925060008060006118a08c868661189b6117d8565b611d47565b919e909d50909b509599509397509395505050505050565b600061091882846124c0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6011805460ff60a01b1916600160a01b1790554761193182611d9d565b600061193d47836118b8565b6011546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015611978573d6000803e3d6000fd5b50506011805460ff60a01b191690555050565b61199d600f805463ffffffff19169055565b8015611a2d576010546001600160a01b03858116911614156119e8576119e8600d54600f805461ffff8084166201000090810263ffffffff1990931694041692909217919091179055565b6010546001600160a01b0384811691161415611a2d57611a2d600e54600f805461ffff8084166201000090810263ffffffff1990931694041692909217919091179055565b6001600160a01b03841660009081526005602052604090205460ff168015611a6e57506001600160a01b03831660009081526005602052604090205460ff16155b15611a8357611a7e848484611f18565b6113ec565b6001600160a01b03841660009081526005602052604090205460ff16158015611ac457506001600160a01b03831660009081526005602052604090205460ff165b15611ad457611a7e848484612042565b6001600160a01b03841660009081526005602052604090205460ff16158015611b1657506001600160a01b03831660009081526005602052604090205460ff16155b15611b2657611a7e8484846120e8565b6001600160a01b03841660009081526005602052604090205460ff168015611b6657506001600160a01b03831660009081526005602052604090205460ff165b15611b7657611a7e848484612129565b6113ec8484846120e8565b6008546007546000918291825b600654811015611cd357826001600060068481548110611bb057611bb0612494565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611c1b5750816002600060068481548110611bf457611bf4612494565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b15611c3157600854600754945094505050509091565b611c776001600060068481548110611c4b57611c4b612494565b60009182526020808320909101546001600160a01b0316835282019290925260400190205484906118b8565b9250611cbf6002600060068481548110611c9357611c93612494565b60009182526020808320909101546001600160a01b0316835282019290925260400190205483906118b8565b915080611ccb816124ed565b915050611b8e565b50600754600854611ce3916117fb565b821015611cfa576008546007549350935050509091565b90939092509050565b600080600080611d1285612199565b90506000611d1f866121bb565b90506000611d2d87846118b8565b9050611d3981836118b8565b979296509094509092505050565b6000808080611d5688866121d9565b90506000611d6488876121d9565b90506000611d7288886121d9565b90506000611d8a82611d8486866118b8565b906118b8565b939b939a50919850919650505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611dd257611dd2612494565b60200260200101906001600160a01b031690816001600160a01b031681525050600f60049054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e699190612508565b81600181518110611e7c57611e7c612494565b6001600160a01b039283166020918202929092010152600f54611eaa913091640100000000900416846113f2565b600f5460405163791ac94760e01b81526401000000009091046001600160a01b03169063791ac94790611eea908590600090869030904290600401612595565b600060405180830381600087803b158015611f0457600080fd5b505af11580156117a4573d6000803e3d6000fd5b6000806000806000611f298661186d565b6001600160a01b038d1660009081526002602052604090205494995092975090955093509150611f5990876118b8565b6001600160a01b038916600090815260026020908152604080832093909355600190522054611f8890866118b8565b6001600160a01b03808a166000908152600160205260408082209390935590891681522054611fb79085611861565b6001600160a01b038816600090815260016020526040902055611fe1611fdc876121bb565b6121e5565b611feb8382612255565b866001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161203091815260200190565b60405180910390a35050505050505050565b60008060008060006120538661186d565b6001600160a01b038d166000908152600160205260409020549499509297509095509350915061208390866118b8565b6001600160a01b03808a16600090815260016020908152604080832094909455918a168152600290915220546120b99083611861565b6001600160a01b038816600090815260026020908152604080832093909355600190522054611fb79085611861565b60008060008060006120f98661186d565b6001600160a01b038d1660009081526001602052604090205494995092975090955093509150611f8890866118b8565b600080600080600061213a8661186d565b6001600160a01b038d166000908152600260205260409020549499509297509095509350915061216a90876118b8565b6001600160a01b03891660009081526002602090815260408083209390935560019052205461208390866118b8565b600f54600090610827906064906121b590859061ffff166121d9565b906117fb565b600f54600090610827906064906121b590859062010000900461ffff165b60006109188284612606565b60006121ef6117d8565b905060006121fd83836121d9565b3060009081526001602052604090205490915061221a9082611861565b306000908152600160209081526040808320939093556002905220546122409084611861565b30600090815260026020526040902055505050565b60085461226290836118b8565b6008556009546122729082611861565b6009555050565b600060208083528351808285015260005b818110156122a65785810183015185820160400152820161228a565b818111156122b8576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461124d57600080fd5b600080604083850312156122f657600080fd5b8235612301816122ce565b946020939093013593505050565b60008060006060848603121561232457600080fd5b833561232f816122ce565b9250602084013561233f816122ce565b929592945050506040919091013590565b60006020828403121561236257600080fd5b5035919050565b60006020828403121561237b57600080fd5b8135610918816122ce565b801515811461124d57600080fd5b600080604083850312156123a757600080fd5b8235915060208301356123b981612386565b809150509250929050565b803561ffff811681146123d657600080fd5b919050565b600080604083850312156123ee57600080fd5b6123f7836123c4565b9150612405602084016123c4565b90509250929050565b60006020828403121561242057600080fd5b813561091881612386565b6000806040838503121561243e57600080fd5b8235612449816122ce565b915060208301356123b9816122ce565b600181811c9082168061246d57607f821691505b6020821081141561248e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156124d2576124d26124aa565b500390565b634e487b7160e01b600052603160045260246000fd5b6000600019821415612501576125016124aa565b5060010190565b60006020828403121561251a57600080fd5b8151610918816122ce565b60006020828403121561253757600080fd5b5051919050565b60006020828403121561255057600080fd5b815161091881612386565b60008261257857634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115612590576125906124aa565b500190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156125e55784516001600160a01b0316835293830193918301916001016125c0565b50506001600160a01b03969096166060850152505050608001529392505050565b6000816000190483118215151615612620576126206124aa565b50029056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122029ef4b51a68adbb23b22fa92c67ce231dfc2d1c4cd55f67178eb830d047c199f64736f6c634300080a0033
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.