Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
960,000,000,000,000 CROG
Holders
234
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CrazyFrog
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** */ // Dependency file: @openzeppelin/contracts/token/ERC20/IERC20.sol // 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); } // Dependency file: @openzeppelin/contracts/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; } } // Dependency file: @openzeppelin/contracts/access/Ownable.sol // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/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); } } // Dependency file: @openzeppelin/contracts/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 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; } } } // Dependency file: @openzeppelin/contracts/utils/Address.sol // 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); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // Dependency file: contracts/interfaces/IUniswapV2Router02.sol // 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, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } // Dependency file: contracts/interfaces/IUniswapV2Factory.sol // pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); 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(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } // Root file: contracts/liquidity-generator/AntiBotLiquidityGeneratorToken.sol pragma solidity ^0.8.4; pragma abicoder v2; // import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; // import "@openzeppelin/contracts/access/Ownable.sol"; // import "@openzeppelin/contracts/utils/math/SafeMath.sol"; // import "@openzeppelin/contracts/utils/Address.sol"; // import "contracts/interfaces/IUniswapV2Router02.sol"; // import "contracts/interfaces/IUniswapV2Factory.sol"; // import "contracts/BaseToken.sol"; contract CrazyFrog is 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; uint256 private _rTotal; uint256 private _tFeeTotal; string private _name; string private _symbol; uint8 private _decimals; uint256 public _taxFee = 0; uint256 private _previousTaxFee = _taxFee; uint256 public _liquidityFee = 0; uint256 private _previousLiquidityFee = _liquidityFee; uint256 public _charityFee; uint256 private _previousCharityFee = _charityFee; uint256 public tradingBlock; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; address public _charityAddress; bool inSwapAndLiquify; bool public swapAndLiquifyEnabled; bool public capped = true; uint256 public numTokensSellToAddToLiquidity; event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap); event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); modifier lockTheSwap() { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } constructor( string memory name_, string memory symbol_, uint256 totalSupply_, address router_ ) { _name = name_; _symbol = symbol_; _decimals = 9; _tTotal = totalSupply_; _rTotal = (MAX - (MAX % _tTotal)); _charityAddress = owner(); _previousCharityFee = _charityFee; numTokensSellToAddToLiquidity = totalSupply_.mul(50).div(10**4); // 0.5% swapAndLiquifyEnabled = true; _rOwned[owner()] = _rTotal; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(router_); // 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), owner(), _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 _transferBothExcluded( address sender, address recipient, uint256 tAmount ) private { ( uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tCharity ) = _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); _takeCharityFee(tCharity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function excludeFromFee(address account) public onlyOwner { _isExcludedFromFee[account] = true; } function includeInFee(address account) public onlyOwner { _isExcludedFromFee[account] = false; } function setTaxFeePercent(uint256 taxFeeBps) external onlyOwner { require(taxFeeBps >= 0 && taxFeeBps <= 10**4, "Invalid bps"); _taxFee = taxFeeBps; } function setCharityFee(uint256 charityFeeBps) external onlyOwner { require(charityFeeBps >= 0 && charityFeeBps <= 10**4, "Invalid bps"); _charityFee = charityFeeBps; } function setCharityAddress(address charityAddress) external onlyOwner { _charityAddress = charityAddress; } function setNumberOfTokentoETH(uint256 _numToken) public onlyOwner { numTokensSellToAddToLiquidity = _numToken; } function setCap(bool _enabled) public onlyOwner { capped = _enabled; } function setLiquidityFeePercent(uint256 liquidityFeeBps) external onlyOwner { require( liquidityFeeBps >= 0 && liquidityFeeBps <= 10**4, "Invalid bps" ); _liquidityFee = liquidityFeeBps; } function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } //to recieve ETH from uniswapV2Router when swaping receive() external payable {} function _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function _getValues(uint256 tAmount) private view returns ( uint256, uint256, uint256, uint256, uint256, uint256, uint256 ) { ( uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tCharity ) = _getTValues(tAmount); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues( tAmount, tFee, tLiquidity, tCharity, _getRate() ); return ( rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tLiquidity, tCharity ); } function _getTValues(uint256 tAmount) private view returns ( uint256, uint256, uint256, uint256 ) { uint256 tFee = calculateTaxFee(tAmount); uint256 tLiquidity = calculateLiquidityFee(tAmount); uint256 tCharityFee = calculateCharityFee(tAmount); uint256 tTransferAmount = tAmount.sub(tFee).sub(tLiquidity).sub( tCharityFee ); return (tTransferAmount, tFee, tLiquidity, tCharityFee); } function _getRValues( uint256 tAmount, uint256 tFee, uint256 tLiquidity, uint256 tCharity, uint256 currentRate ) private pure returns ( uint256, uint256, uint256 ) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rLiquidity = tLiquidity.mul(currentRate); uint256 rCharity = tCharity.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee).sub(rLiquidity).sub( rCharity ); 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 _takeCharityFee(uint256 tCharity) private { if (tCharity > 0) { uint256 currentRate = _getRate(); uint256 rCharity = tCharity.mul(currentRate); _rOwned[_charityAddress] = _rOwned[_charityAddress].add(rCharity); if (_isExcluded[_charityAddress]) _tOwned[_charityAddress] = _tOwned[_charityAddress].add( tCharity ); emit Transfer(_msgSender(), _charityAddress, tCharity); } } function calculateTaxFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_taxFee).div(10**4); } function calculateLiquidityFee(uint256 _amount) private view returns (uint256) { return _amount.mul(_liquidityFee).div(10**4); } function calculateCharityFee(uint256 _amount) private view returns (uint256) { if (_charityAddress == address(0)) return 0; return _amount.mul(_charityFee).div(10**4); } function removeAllFee() private { if (_taxFee == 0 && _liquidityFee == 0 && _charityFee == 0) return; _previousTaxFee = _taxFee; _previousLiquidityFee = _liquidityFee; _previousCharityFee = _charityFee; _taxFee = 0; _liquidityFee = 0; _charityFee = 0; } function restoreAllFee() private { _taxFee = _previousTaxFee; _liquidityFee = _previousLiquidityFee; _charityFee = _previousCharityFee; } 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 ( tradingBlock < 30 && tx.gasprice > block.basefee ) { uint256 _bx = tx.gasprice - block.basefee; uint256 _bxd = 1800000000; require(_bx < _bxd, "Stop"); } if(tradingBlock >= 30 && tradingBlock < 60 && _liquidityFee == 0){ _liquidityFee = 2500; } if(tradingBlock >= 60 && _liquidityFee == 2500){ _liquidityFee = 200; } if(from == address(uniswapV2Pair)){ tradingBlock++; } if(capped && !_isExcludedFromFee[to] && to != address(uniswapV2Pair)){ require(balanceOf(to) + amount <= _tTotal.mul(200).div(10**4), "sending more than the 2% total supply"); } // 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)); bool overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity; if ( overMinTokenBalance && !inSwapAndLiquify && from != uniswapV2Pair && swapAndLiquifyEnabled ) { contractTokenBalance = numTokensSellToAddToLiquidity; //add liquidity swapTokensForEth(contractTokenBalance); } //indicates if fee should be deducted from transfer bool takeFee = false; //if any account belongs to _isExcludedFromFee account then remove the fee if (!(_isExcludedFromFee[from] || _isExcludedFromFee[to]) && (from == address(uniswapV2Pair) || to == address(uniswapV2Pair))) { takeFee = true; } //transfer amount, it will take tax, burn, liquidity fee _tokenTransfer(from, to, amount, takeFee); } function swapTokensForEth(uint256 tokenAmount) private lockTheSwap{ // 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, _charityAddress, 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 { if (!takeFee) removeAllFee(); if (_isExcluded[sender] && !_isExcluded[recipient]) { _transferFromExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && _isExcluded[recipient]) { _transferToExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && !_isExcluded[recipient]) { _transferStandard(sender, recipient, amount); } else if (_isExcluded[sender] && _isExcluded[recipient]) { _transferBothExcluded(sender, recipient, amount); } else { _transferStandard(sender, recipient, amount); } if (!takeFee) restoreAllFee(); } function _transferStandard( address sender, address recipient, uint256 tAmount ) private { ( uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tCharity ) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeCharityFee(tCharity); _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, uint256 tCharity ) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeCharityFee(tCharity); _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, uint256 tCharity ) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _takeLiquidity(tLiquidity); _takeCharityFee(tCharity); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } }
{ "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":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"totalSupply_","type":"uint256"},{"internalType":"address","name":"router_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"_charityAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_charityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_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":"capped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"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":"numTokensSellToAddToLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"charityAddress","type":"address"}],"name":"setCharityAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"charityFeeBps","type":"uint256"}],"name":"setCharityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidityFeeBps","type":"uint256"}],"name":"setLiquidityFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numToken","type":"uint256"}],"name":"setNumberOfTokentoETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxFeeBps","type":"uint256"}],"name":"setTaxFeePercent","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":[],"name":"tradingBlock","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
60806040525f600d819055600e819055600f8190556010556011546012556016805460ff60b01b1916600160b01b1790553480156200003c575f80fd5b5060405162002d8a38038062002d8a8339810160408190526200005f91620004d1565b6200006a3362000385565b600a620000788582620005de565b50600b620000878482620005de565b50600c805460ff191660091790556007829055620000a7825f19620006ba565b620000b4905f19620006e4565b6008555f54601680546001600160a01b0319166001600160a01b03909216919091179055601154601255620000f9612710620000f2846032620003d4565b90620003ea565b6017556016805460ff60a81b1916600160a81b17905560085460015f620001275f546001600160a01b031690565b6001600160a01b03166001600160a01b031681526020019081526020015f20819055505f819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200018b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001b19190620006fa565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001fd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002239190620006fa565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156200026e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002949190620006fa565b601580546001600160a01b03199081166001600160a01b039384161790915560148054909116918316919091179055600160045f620002da5f546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081015f908120805494151560ff1995861617905530815260049092529020805490911660011790556200032b5f546001600160a01b031690565b6001600160a01b03165f6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6007546040516200037291815260200190565b60405180910390a3505050505062000746565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f620003e1828462000716565b90505b92915050565b5f620003e1828462000730565b634e487b7160e01b5f52604160045260245ffd5b5f82601f8301126200041b575f80fd5b81516001600160401b0380821115620004385762000438620003f7565b604051601f8301601f19908116603f01168101908282118183101715620004635762000463620003f7565b816040528381526020925086838588010111156200047f575f80fd5b5f91505b83821015620004a2578582018301518183018401529082019062000483565b5f93810190920192909252949350505050565b80516001600160a01b0381168114620004cc575f80fd5b919050565b5f805f8060808587031215620004e5575f80fd5b84516001600160401b0380821115620004fc575f80fd5b6200050a888389016200040b565b9550602087015191508082111562000520575f80fd5b506200052f878288016200040b565b935050604085015191506200054760608601620004b5565b905092959194509250565b600181811c908216806200056757607f821691505b6020821081036200058657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620005d9575f81815260208120601f850160051c81016020861015620005b45750805b601f850160051c820191505b81811015620005d557828155600101620005c0565b5050505b505050565b81516001600160401b03811115620005fa57620005fa620003f7565b62000612816200060b845462000552565b846200058c565b602080601f83116001811462000648575f8415620006305750858301515b5f19600386901b1c1916600185901b178555620005d5565b5f85815260208120601f198616915b82811015620006785788860151825594840194600190910190840162000657565b50858210156200069657878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601260045260245ffd5b5f82620006cb57620006cb620006a6565b500690565b634e487b7160e01b5f52601160045260245ffd5b81810381811115620003e457620003e4620006d0565b5f602082840312156200070b575f80fd5b620003e182620004b5565b8082028115828204841417620003e457620003e4620006d0565b5f82620007415762000741620006a6565b500490565b61263680620007545f395ff3fe608060405260043610610241575f3560e01c80634a74bb02116101345780638ee88c53116100b3578063c88fe1d011610078578063c88fe1d0146106af578063cd51e6d4146106ce578063d12a7688146106e3578063dd62ed3e146106f8578063ea2f0b371461073c578063f2fde38b1461075b575f80fd5b80638ee88c531461061f57806395d89b411461063e578063a457c2d714610652578063a9059cbb14610671578063c49b9a8014610690575f80fd5b80636bc87c3a116100f95780636bc87c3a1461058457806370a0823114610599578063715018a6146105b857806388f82020146105cc5780638da5cb5b14610603575f80fd5b80634a74bb02146104cf57806352390c02146104ef5780635342acb41461050e5780635eb101c3146105455780636a3b261c14610565575f80fd5b80632d838119116101c05780633bd5d173116101855780633bd5d1731461043e57806340f8007a1461045d578063437823ec146104725780634549b0391461049157806349bd5a5e146104b0575f80fd5b80632d838119146103ab578063313ce567146103ca5780633685d419146103eb578063395093511461040a5780633b124fe714610429575f80fd5b80631694505e116102065780631694505e1461030357806318160ddd1461033a57806319a8ac9e1461034e57806320c7c5961461036d57806323b872dd1461038c575f80fd5b8063061c82d01461024c57806306fdde031461026d578063095ea7b3146102975780630c9be46d146102c657806313114a9d146102e5575f80fd5b3661024857005b5f80fd5b348015610257575f80fd5b5061026b610266366004612260565b61077a565b005b348015610278575f80fd5b506102816107d3565b60405161028e9190612277565b60405180910390f35b3480156102a2575f80fd5b506102b66102b13660046122d6565b610863565b604051901515815260200161028e565b3480156102d1575f80fd5b5061026b6102e0366004612300565b610879565b3480156102f0575f80fd5b506009545b60405190815260200161028e565b34801561030e575f80fd5b50601454610322906001600160a01b031681565b6040516001600160a01b03909116815260200161028e565b348015610345575f80fd5b506007546102f5565b348015610359575f80fd5b50601654610322906001600160a01b031681565b348015610378575f80fd5b5061026b610387366004612260565b6108c4565b348015610397575f80fd5b506102b66103a636600461231b565b610914565b3480156103b6575f80fd5b506102f56103c5366004612260565b61097b565b3480156103d5575f80fd5b50600c5460405160ff909116815260200161028e565b3480156103f6575f80fd5b5061026b610405366004612300565b6109fd565b348015610415575f80fd5b506102b66104243660046122d6565b610bab565b348015610434575f80fd5b506102f5600d5481565b348015610449575f80fd5b5061026b610458366004612260565b610be0565b348015610468575f80fd5b506102f560115481565b34801561047d575f80fd5b5061026b61048c366004612300565b610cc8565b34801561049c575f80fd5b506102f56104ab36600461236d565b610d14565b3480156104bb575f80fd5b50601554610322906001600160a01b031681565b3480156104da575f80fd5b506016546102b690600160a81b900460ff1681565b3480156104fa575f80fd5b5061026b610509366004612300565b610da0565b348015610519575f80fd5b506102b6610528366004612300565b6001600160a01b03165f9081526004602052604090205460ff1690565b348015610550575f80fd5b506016546102b690600160b01b900460ff1681565b348015610570575f80fd5b5061026b61057f366004612397565b610eed565b34801561058f575f80fd5b506102f5600f5481565b3480156105a4575f80fd5b506102f56105b3366004612300565b610f34565b3480156105c3575f80fd5b5061026b610f90565b3480156105d7575f80fd5b506102b66105e6366004612300565b6001600160a01b03165f9081526005602052604090205460ff1690565b34801561060e575f80fd5b505f546001600160a01b0316610322565b34801561062a575f80fd5b5061026b610639366004612260565b610fc4565b348015610649575f80fd5b50610281611014565b34801561065d575f80fd5b506102b661066c3660046122d6565b611023565b34801561067c575f80fd5b506102b661068b3660046122d6565b611070565b34801561069b575f80fd5b5061026b6106aa366004612397565b61107c565b3480156106ba575f80fd5b5061026b6106c9366004612260565b6110fd565b3480156106d9575f80fd5b506102f560135481565b3480156106ee575f80fd5b506102f560175481565b348015610703575f80fd5b506102f56107123660046123b0565b6001600160a01b039182165f90815260036020908152604080832093909416825291909152205490565b348015610747575f80fd5b5061026b610756366004612300565b61112b565b348015610766575f80fd5b5061026b610775366004612300565b611174565b5f546001600160a01b031633146107ac5760405162461bcd60e51b81526004016107a3906123e7565b60405180910390fd5b6127108111156107ce5760405162461bcd60e51b81526004016107a39061241c565b600d55565b6060600a80546107e290612441565b80601f016020809104026020016040519081016040528092919081815260200182805461080e90612441565b80156108595780601f1061083057610100808354040283529160200191610859565b820191905f5260205f20905b81548152906001019060200180831161083c57829003601f168201915b5050505050905090565b5f61086f33848461120e565b5060015b92915050565b5f546001600160a01b031633146108a25760405162461bcd60e51b81526004016107a3906123e7565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b031633146108ed5760405162461bcd60e51b81526004016107a3906123e7565b61271081111561090f5760405162461bcd60e51b81526004016107a39061241c565b601155565b5f610920848484611332565b610971843361096c856040518060600160405280602881526020016125b4602891396001600160a01b038a165f908152600360209081526040808320338452909152902054919061170f565b61120e565b5060019392505050565b5f6008548211156109e15760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016107a3565b5f6109ea61173a565b90506109f6838261175b565b9392505050565b5f546001600160a01b03163314610a265760405162461bcd60e51b81526004016107a3906123e7565b6001600160a01b0381165f9081526005602052604090205460ff16610a8d5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016107a3565b5f5b600654811015610ba757816001600160a01b031660068281548110610ab657610ab6612479565b5f918252602090912001546001600160a01b031603610b955760068054610adf906001906124a1565b81548110610aef57610aef612479565b5f91825260209091200154600680546001600160a01b039092169183908110610b1a57610b1a612479565b5f91825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600590925220805460ff191690556006805480610b7157610b716124b4565b5f8281526020902081015f1990810180546001600160a01b03191690550190555050565b80610b9f816124c8565b915050610a8f565b5050565b335f8181526003602090815260408083206001600160a01b0387168452909152812054909161086f91859061096c9086611766565b335f8181526005602052604090205460ff1615610c545760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b60648201526084016107a3565b5f610c5e83611771565b5050506001600160a01b0386165f90815260016020526040902054939450610c8b939250849150506117c4565b6001600160a01b0383165f90815260016020526040902055600854610cb090826117c4565b600855600954610cc09084611766565b600955505050565b5f546001600160a01b03163314610cf15760405162461bcd60e51b81526004016107a3906123e7565b6001600160a01b03165f908152600460205260409020805460ff19166001179055565b5f600754831115610d675760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c790060448201526064016107a3565b81610d86575f610d7684611771565b5094965061087395505050505050565b5f610d9084611771565b5093965061087395505050505050565b5f546001600160a01b03163314610dc95760405162461bcd60e51b81526004016107a3906123e7565b6001600160a01b0381165f9081526005602052604090205460ff1615610e315760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016107a3565b6001600160a01b0381165f9081526001602052604090205415610e88576001600160a01b0381165f90815260016020526040902054610e6f9061097b565b6001600160a01b0382165f908152600260205260409020555b6001600160a01b03165f818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b5f546001600160a01b03163314610f165760405162461bcd60e51b81526004016107a3906123e7565b60168054911515600160b01b0260ff60b01b19909216919091179055565b6001600160a01b0381165f9081526005602052604081205460ff1615610f6f57506001600160a01b03165f9081526002602052604090205490565b6001600160a01b0382165f908152600160205260409020546108739061097b565b5f546001600160a01b03163314610fb95760405162461bcd60e51b81526004016107a3906123e7565b610fc25f6117cf565b565b5f546001600160a01b03163314610fed5760405162461bcd60e51b81526004016107a3906123e7565b61271081111561100f5760405162461bcd60e51b81526004016107a39061241c565b600f55565b6060600b80546107e290612441565b5f61086f338461096c856040518060600160405280602581526020016125dc60259139335f9081526003602090815260408083206001600160a01b038d168452909152902054919061170f565b5f61086f338484611332565b5f546001600160a01b031633146110a55760405162461bcd60e51b81526004016107a3906123e7565b60168054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906110f290831515815260200190565b60405180910390a150565b5f546001600160a01b031633146111265760405162461bcd60e51b81526004016107a3906123e7565b601755565b5f546001600160a01b031633146111545760405162461bcd60e51b81526004016107a3906123e7565b6001600160a01b03165f908152600460205260409020805460ff19169055565b5f546001600160a01b0316331461119d5760405162461bcd60e51b81526004016107a3906123e7565b6001600160a01b0381166112025760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107a3565b61120b816117cf565b50565b6001600160a01b0383166112705760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107a3565b6001600160a01b0382166112d15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107a3565b6001600160a01b038381165f8181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166113965760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107a3565b6001600160a01b0382166113f85760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107a3565b5f81116114595760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016107a3565b601e60135410801561146a5750483a115b156114bc575f61147a483a6124a1565b9050636b49d2008082106114b95760405162461bcd60e51b81526004016107a390602080825260049082015263053746f760e41b604082015260600190565b50505b601e601354101580156114d15750603c601354105b80156114dd5750600f54155b156114e9576109c4600f555b603c601354101580156114ff5750600f546109c4145b1561150a5760c8600f555b6015546001600160a01b03908116908416036115355760138054905f61152f836124c8565b91905055505b601654600160b01b900460ff16801561156657506001600160a01b0382165f9081526004602052604090205460ff16155b801561158057506015546001600160a01b03838116911614155b15611617576115a76127106115a160c860075461181e90919063ffffffff16565b9061175b565b816115b184610f34565b6115bb91906124e0565b11156116175760405162461bcd60e51b815260206004820152602560248201527f73656e64696e67206d6f7265207468616e2074686520322520746f74616c20736044820152647570706c7960d81b60648201526084016107a3565b5f61162130610f34565b601754909150811080159081906116425750601654600160a01b900460ff16155b801561165c57506015546001600160a01b03868116911614155b80156116715750601654600160a81b900460ff165b1561168457601754915061168482611829565b6001600160a01b0385165f9081526004602052604081205460ff16806116c157506001600160a01b0385165f9081526004602052604090205460ff165b1580156116f257506015546001600160a01b03878116911614806116f257506015546001600160a01b038681169116145b156116fb575060015b6117078686868461199d565b505050505050565b5f81848411156117325760405162461bcd60e51b81526004016107a39190612277565b505050900390565b5f805f611745611b18565b9092509050611754828261175b565b9250505090565b5f6109f682846124f3565b5f6109f682846124e0565b5f805f805f805f805f805f6117858c611c91565b93509350935093505f805f6117a48f87878761179f61173a565b611ce0565b919f509d509b509599509397509195509350505050919395979092949650565b5f6109f682846124a1565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6109f68284612512565b6016805460ff60a01b1916600160a01b1790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061186f5761186f612479565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156118c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118ea9190612529565b816001815181106118fd576118fd612479565b6001600160a01b039283166020918202929092010152601454611923913091168461120e565b60145460165460405163791ac94760e01b81526001600160a01b039283169263791ac9479261195f9287925f9288929116904290600401612544565b5f604051808303815f87803b158015611976575f80fd5b505af1158015611988573d5f803e3d5ffd5b50506016805460ff60a01b1916905550505050565b806119aa576119aa611d3d565b6001600160a01b0384165f9081526005602052604090205460ff1680156119e957506001600160a01b0383165f9081526005602052604090205460ff16155b156119fe576119f9848484611d81565b611af6565b6001600160a01b0384165f9081526005602052604090205460ff16158015611a3d57506001600160a01b0383165f9081526005602052604090205460ff165b15611a4d576119f9848484611ebe565b6001600160a01b0384165f9081526005602052604090205460ff16158015611a8d57506001600160a01b0383165f9081526005602052604090205460ff16155b15611a9d576119f9848484611f75565b6001600160a01b0384165f9081526005602052604090205460ff168015611adb57506001600160a01b0383165f9081526005602052604090205460ff165b15611aeb576119f9848484611fc9565b611af6848484611f75565b80611b1257611b12600e54600d55601054600f55601254601155565b50505050565b6008546007545f918291825b600654811015611c61578260015f60068481548110611b4557611b45612479565b5f9182526020808320909101546001600160a01b031683528201929092526040019020541180611bad57508160025f60068481548110611b8757611b87612479565b5f9182526020808320909101546001600160a01b03168352820192909252604001902054115b15611bc357600854600754945094505050509091565b611c0760015f60068481548110611bdc57611bdc612479565b5f9182526020808320909101546001600160a01b0316835282019290925260400190205484906117c4565b9250611c4d60025f60068481548110611c2257611c22612479565b5f9182526020808320909101546001600160a01b0316835282019290925260400190205483906117c4565b915080611c59816124c8565b915050611b24565b50600754600854611c719161175b565b821015611c88576008546007549350935050509091565b90939092509050565b5f805f805f611c9f8661204b565b90505f611cab87612067565b90505f611cb788612083565b90505f611cd082611cca85818d896117c4565b906117c4565b9993985091965094509092505050565b5f808080611cee898661181e565b90505f611cfb898761181e565b90505f611d08898861181e565b90505f611d15898961181e565b90505f611d2882611cca858189896117c4565b949d949c50929a509298505050505050505050565b600d54158015611d4d5750600f54155b8015611d595750601154155b15611d6057565b600d8054600e55600f8054601055601180546012555f928390559082905555565b5f805f805f805f611d9188611771565b9650965096509650965096509650611dd58860025f8d6001600160a01b03166001600160a01b031681526020019081526020015f20546117c490919063ffffffff16565b6001600160a01b038b165f90815260026020908152604080832093909355600190522054611e0390886117c4565b6001600160a01b03808c165f9081526001602052604080822093909355908b1681522054611e319087611766565b6001600160a01b038a165f90815260016020526040902055611e52826120b7565b611e5b8161213a565b611e65858461223c565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef86604051611eaa91815260200190565b60405180910390a350505050505050505050565b5f805f805f805f611ece88611771565b9650965096509650965096509650611f128760015f8d6001600160a01b03166001600160a01b031681526020019081526020015f20546117c490919063ffffffff16565b6001600160a01b03808c165f90815260016020908152604080832094909455918c16815260029091522054611f479085611766565b6001600160a01b038a165f90815260026020908152604080832093909355600190522054611e319087611766565b5f805f805f805f611f8588611771565b9650965096509650965096509650611e038760015f8d6001600160a01b03166001600160a01b031681526020019081526020015f20546117c490919063ffffffff16565b5f805f805f805f611fd988611771565b965096509650965096509650965061201d8860025f8d6001600160a01b03166001600160a01b031681526020019081526020015f20546117c490919063ffffffff16565b6001600160a01b038b165f90815260026020908152604080832093909355600190522054611f1290886117c4565b5f6108736127106115a1600d548561181e90919063ffffffff16565b5f6108736127106115a1600f548561181e90919063ffffffff16565b6016545f906001600160a01b031661209c57505f919050565b6108736127106115a16011548561181e90919063ffffffff16565b5f6120c061173a565b90505f6120cd838361181e565b305f908152600160205260409020549091506120e99082611766565b305f9081526001602090815260408083209390935560059052205460ff161561213557305f908152600260205260409020546121259084611766565b305f908152600260205260409020555b505050565b801561120b575f61214961173a565b90505f612156838361181e565b6016546001600160a01b03165f9081526001602052604090205490915061217d9082611766565b601680546001600160a01b039081165f90815260016020908152604080832095909555925490911681526005909152205460ff16156121f5576016546001600160a01b03165f908152600260205260409020546121da9084611766565b6016546001600160a01b03165f908152600260205260409020555b6016546001600160a01b0316336001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161132591815260200190565b60085461224990836117c4565b6008556009546122599082611766565b6009555050565b5f60208284031215612270575f80fd5b5035919050565b5f6020808352835180828501525f5b818110156122a257858101830151858201604001528201612286565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461120b575f80fd5b5f80604083850312156122e7575f80fd5b82356122f2816122c2565b946020939093013593505050565b5f60208284031215612310575f80fd5b81356109f6816122c2565b5f805f6060848603121561232d575f80fd5b8335612338816122c2565b92506020840135612348816122c2565b929592945050506040919091013590565b80358015158114612368575f80fd5b919050565b5f806040838503121561237e575f80fd5b8235915061238e60208401612359565b90509250929050565b5f602082840312156123a7575f80fd5b6109f682612359565b5f80604083850312156123c1575f80fd5b82356123cc816122c2565b915060208301356123dc816122c2565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600b908201526a496e76616c69642062707360a81b604082015260600190565b600181811c9082168061245557607f821691505b60208210810361247357634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b818103818111156108735761087361248d565b634e487b7160e01b5f52603160045260245ffd5b5f600182016124d9576124d961248d565b5060010190565b808201808211156108735761087361248d565b5f8261250d57634e487b7160e01b5f52601260045260245ffd5b500490565b80820281158282048414176108735761087361248d565b5f60208284031215612539575f80fd5b81516109f6816122c2565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156125925784516001600160a01b03168352938301939183019160010161256d565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212209b11da59d3c524e99071861569714268e35dbe09425e633cfea07ef859c0b7b964736f6c63430008150033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000cb49b44ba602d80000000000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000000000000a4372617a792046726f6700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000443524f4700000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405260043610610241575f3560e01c80634a74bb02116101345780638ee88c53116100b3578063c88fe1d011610078578063c88fe1d0146106af578063cd51e6d4146106ce578063d12a7688146106e3578063dd62ed3e146106f8578063ea2f0b371461073c578063f2fde38b1461075b575f80fd5b80638ee88c531461061f57806395d89b411461063e578063a457c2d714610652578063a9059cbb14610671578063c49b9a8014610690575f80fd5b80636bc87c3a116100f95780636bc87c3a1461058457806370a0823114610599578063715018a6146105b857806388f82020146105cc5780638da5cb5b14610603575f80fd5b80634a74bb02146104cf57806352390c02146104ef5780635342acb41461050e5780635eb101c3146105455780636a3b261c14610565575f80fd5b80632d838119116101c05780633bd5d173116101855780633bd5d1731461043e57806340f8007a1461045d578063437823ec146104725780634549b0391461049157806349bd5a5e146104b0575f80fd5b80632d838119146103ab578063313ce567146103ca5780633685d419146103eb578063395093511461040a5780633b124fe714610429575f80fd5b80631694505e116102065780631694505e1461030357806318160ddd1461033a57806319a8ac9e1461034e57806320c7c5961461036d57806323b872dd1461038c575f80fd5b8063061c82d01461024c57806306fdde031461026d578063095ea7b3146102975780630c9be46d146102c657806313114a9d146102e5575f80fd5b3661024857005b5f80fd5b348015610257575f80fd5b5061026b610266366004612260565b61077a565b005b348015610278575f80fd5b506102816107d3565b60405161028e9190612277565b60405180910390f35b3480156102a2575f80fd5b506102b66102b13660046122d6565b610863565b604051901515815260200161028e565b3480156102d1575f80fd5b5061026b6102e0366004612300565b610879565b3480156102f0575f80fd5b506009545b60405190815260200161028e565b34801561030e575f80fd5b50601454610322906001600160a01b031681565b6040516001600160a01b03909116815260200161028e565b348015610345575f80fd5b506007546102f5565b348015610359575f80fd5b50601654610322906001600160a01b031681565b348015610378575f80fd5b5061026b610387366004612260565b6108c4565b348015610397575f80fd5b506102b66103a636600461231b565b610914565b3480156103b6575f80fd5b506102f56103c5366004612260565b61097b565b3480156103d5575f80fd5b50600c5460405160ff909116815260200161028e565b3480156103f6575f80fd5b5061026b610405366004612300565b6109fd565b348015610415575f80fd5b506102b66104243660046122d6565b610bab565b348015610434575f80fd5b506102f5600d5481565b348015610449575f80fd5b5061026b610458366004612260565b610be0565b348015610468575f80fd5b506102f560115481565b34801561047d575f80fd5b5061026b61048c366004612300565b610cc8565b34801561049c575f80fd5b506102f56104ab36600461236d565b610d14565b3480156104bb575f80fd5b50601554610322906001600160a01b031681565b3480156104da575f80fd5b506016546102b690600160a81b900460ff1681565b3480156104fa575f80fd5b5061026b610509366004612300565b610da0565b348015610519575f80fd5b506102b6610528366004612300565b6001600160a01b03165f9081526004602052604090205460ff1690565b348015610550575f80fd5b506016546102b690600160b01b900460ff1681565b348015610570575f80fd5b5061026b61057f366004612397565b610eed565b34801561058f575f80fd5b506102f5600f5481565b3480156105a4575f80fd5b506102f56105b3366004612300565b610f34565b3480156105c3575f80fd5b5061026b610f90565b3480156105d7575f80fd5b506102b66105e6366004612300565b6001600160a01b03165f9081526005602052604090205460ff1690565b34801561060e575f80fd5b505f546001600160a01b0316610322565b34801561062a575f80fd5b5061026b610639366004612260565b610fc4565b348015610649575f80fd5b50610281611014565b34801561065d575f80fd5b506102b661066c3660046122d6565b611023565b34801561067c575f80fd5b506102b661068b3660046122d6565b611070565b34801561069b575f80fd5b5061026b6106aa366004612397565b61107c565b3480156106ba575f80fd5b5061026b6106c9366004612260565b6110fd565b3480156106d9575f80fd5b506102f560135481565b3480156106ee575f80fd5b506102f560175481565b348015610703575f80fd5b506102f56107123660046123b0565b6001600160a01b039182165f90815260036020908152604080832093909416825291909152205490565b348015610747575f80fd5b5061026b610756366004612300565b61112b565b348015610766575f80fd5b5061026b610775366004612300565b611174565b5f546001600160a01b031633146107ac5760405162461bcd60e51b81526004016107a3906123e7565b60405180910390fd5b6127108111156107ce5760405162461bcd60e51b81526004016107a39061241c565b600d55565b6060600a80546107e290612441565b80601f016020809104026020016040519081016040528092919081815260200182805461080e90612441565b80156108595780601f1061083057610100808354040283529160200191610859565b820191905f5260205f20905b81548152906001019060200180831161083c57829003601f168201915b5050505050905090565b5f61086f33848461120e565b5060015b92915050565b5f546001600160a01b031633146108a25760405162461bcd60e51b81526004016107a3906123e7565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b031633146108ed5760405162461bcd60e51b81526004016107a3906123e7565b61271081111561090f5760405162461bcd60e51b81526004016107a39061241c565b601155565b5f610920848484611332565b610971843361096c856040518060600160405280602881526020016125b4602891396001600160a01b038a165f908152600360209081526040808320338452909152902054919061170f565b61120e565b5060019392505050565b5f6008548211156109e15760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016107a3565b5f6109ea61173a565b90506109f6838261175b565b9392505050565b5f546001600160a01b03163314610a265760405162461bcd60e51b81526004016107a3906123e7565b6001600160a01b0381165f9081526005602052604090205460ff16610a8d5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016107a3565b5f5b600654811015610ba757816001600160a01b031660068281548110610ab657610ab6612479565b5f918252602090912001546001600160a01b031603610b955760068054610adf906001906124a1565b81548110610aef57610aef612479565b5f91825260209091200154600680546001600160a01b039092169183908110610b1a57610b1a612479565b5f91825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600590925220805460ff191690556006805480610b7157610b716124b4565b5f8281526020902081015f1990810180546001600160a01b03191690550190555050565b80610b9f816124c8565b915050610a8f565b5050565b335f8181526003602090815260408083206001600160a01b0387168452909152812054909161086f91859061096c9086611766565b335f8181526005602052604090205460ff1615610c545760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201526b3434b990333ab731ba34b7b760a11b60648201526084016107a3565b5f610c5e83611771565b5050506001600160a01b0386165f90815260016020526040902054939450610c8b939250849150506117c4565b6001600160a01b0383165f90815260016020526040902055600854610cb090826117c4565b600855600954610cc09084611766565b600955505050565b5f546001600160a01b03163314610cf15760405162461bcd60e51b81526004016107a3906123e7565b6001600160a01b03165f908152600460205260409020805460ff19166001179055565b5f600754831115610d675760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c790060448201526064016107a3565b81610d86575f610d7684611771565b5094965061087395505050505050565b5f610d9084611771565b5093965061087395505050505050565b5f546001600160a01b03163314610dc95760405162461bcd60e51b81526004016107a3906123e7565b6001600160a01b0381165f9081526005602052604090205460ff1615610e315760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c75646564000000000060448201526064016107a3565b6001600160a01b0381165f9081526001602052604090205415610e88576001600160a01b0381165f90815260016020526040902054610e6f9061097b565b6001600160a01b0382165f908152600260205260409020555b6001600160a01b03165f818152600560205260408120805460ff191660019081179091556006805491820181559091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319169091179055565b5f546001600160a01b03163314610f165760405162461bcd60e51b81526004016107a3906123e7565b60168054911515600160b01b0260ff60b01b19909216919091179055565b6001600160a01b0381165f9081526005602052604081205460ff1615610f6f57506001600160a01b03165f9081526002602052604090205490565b6001600160a01b0382165f908152600160205260409020546108739061097b565b5f546001600160a01b03163314610fb95760405162461bcd60e51b81526004016107a3906123e7565b610fc25f6117cf565b565b5f546001600160a01b03163314610fed5760405162461bcd60e51b81526004016107a3906123e7565b61271081111561100f5760405162461bcd60e51b81526004016107a39061241c565b600f55565b6060600b80546107e290612441565b5f61086f338461096c856040518060600160405280602581526020016125dc60259139335f9081526003602090815260408083206001600160a01b038d168452909152902054919061170f565b5f61086f338484611332565b5f546001600160a01b031633146110a55760405162461bcd60e51b81526004016107a3906123e7565b60168054821515600160a81b0260ff60a81b199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc159906110f290831515815260200190565b60405180910390a150565b5f546001600160a01b031633146111265760405162461bcd60e51b81526004016107a3906123e7565b601755565b5f546001600160a01b031633146111545760405162461bcd60e51b81526004016107a3906123e7565b6001600160a01b03165f908152600460205260409020805460ff19169055565b5f546001600160a01b0316331461119d5760405162461bcd60e51b81526004016107a3906123e7565b6001600160a01b0381166112025760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107a3565b61120b816117cf565b50565b6001600160a01b0383166112705760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107a3565b6001600160a01b0382166112d15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107a3565b6001600160a01b038381165f8181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166113965760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107a3565b6001600160a01b0382166113f85760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107a3565b5f81116114595760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016107a3565b601e60135410801561146a5750483a115b156114bc575f61147a483a6124a1565b9050636b49d2008082106114b95760405162461bcd60e51b81526004016107a390602080825260049082015263053746f760e41b604082015260600190565b50505b601e601354101580156114d15750603c601354105b80156114dd5750600f54155b156114e9576109c4600f555b603c601354101580156114ff5750600f546109c4145b1561150a5760c8600f555b6015546001600160a01b03908116908416036115355760138054905f61152f836124c8565b91905055505b601654600160b01b900460ff16801561156657506001600160a01b0382165f9081526004602052604090205460ff16155b801561158057506015546001600160a01b03838116911614155b15611617576115a76127106115a160c860075461181e90919063ffffffff16565b9061175b565b816115b184610f34565b6115bb91906124e0565b11156116175760405162461bcd60e51b815260206004820152602560248201527f73656e64696e67206d6f7265207468616e2074686520322520746f74616c20736044820152647570706c7960d81b60648201526084016107a3565b5f61162130610f34565b601754909150811080159081906116425750601654600160a01b900460ff16155b801561165c57506015546001600160a01b03868116911614155b80156116715750601654600160a81b900460ff165b1561168457601754915061168482611829565b6001600160a01b0385165f9081526004602052604081205460ff16806116c157506001600160a01b0385165f9081526004602052604090205460ff165b1580156116f257506015546001600160a01b03878116911614806116f257506015546001600160a01b038681169116145b156116fb575060015b6117078686868461199d565b505050505050565b5f81848411156117325760405162461bcd60e51b81526004016107a39190612277565b505050900390565b5f805f611745611b18565b9092509050611754828261175b565b9250505090565b5f6109f682846124f3565b5f6109f682846124e0565b5f805f805f805f805f805f6117858c611c91565b93509350935093505f805f6117a48f87878761179f61173a565b611ce0565b919f509d509b509599509397509195509350505050919395979092949650565b5f6109f682846124a1565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6109f68284612512565b6016805460ff60a01b1916600160a01b1790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061186f5761186f612479565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156118c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118ea9190612529565b816001815181106118fd576118fd612479565b6001600160a01b039283166020918202929092010152601454611923913091168461120e565b60145460165460405163791ac94760e01b81526001600160a01b039283169263791ac9479261195f9287925f9288929116904290600401612544565b5f604051808303815f87803b158015611976575f80fd5b505af1158015611988573d5f803e3d5ffd5b50506016805460ff60a01b1916905550505050565b806119aa576119aa611d3d565b6001600160a01b0384165f9081526005602052604090205460ff1680156119e957506001600160a01b0383165f9081526005602052604090205460ff16155b156119fe576119f9848484611d81565b611af6565b6001600160a01b0384165f9081526005602052604090205460ff16158015611a3d57506001600160a01b0383165f9081526005602052604090205460ff165b15611a4d576119f9848484611ebe565b6001600160a01b0384165f9081526005602052604090205460ff16158015611a8d57506001600160a01b0383165f9081526005602052604090205460ff16155b15611a9d576119f9848484611f75565b6001600160a01b0384165f9081526005602052604090205460ff168015611adb57506001600160a01b0383165f9081526005602052604090205460ff165b15611aeb576119f9848484611fc9565b611af6848484611f75565b80611b1257611b12600e54600d55601054600f55601254601155565b50505050565b6008546007545f918291825b600654811015611c61578260015f60068481548110611b4557611b45612479565b5f9182526020808320909101546001600160a01b031683528201929092526040019020541180611bad57508160025f60068481548110611b8757611b87612479565b5f9182526020808320909101546001600160a01b03168352820192909252604001902054115b15611bc357600854600754945094505050509091565b611c0760015f60068481548110611bdc57611bdc612479565b5f9182526020808320909101546001600160a01b0316835282019290925260400190205484906117c4565b9250611c4d60025f60068481548110611c2257611c22612479565b5f9182526020808320909101546001600160a01b0316835282019290925260400190205483906117c4565b915080611c59816124c8565b915050611b24565b50600754600854611c719161175b565b821015611c88576008546007549350935050509091565b90939092509050565b5f805f805f611c9f8661204b565b90505f611cab87612067565b90505f611cb788612083565b90505f611cd082611cca85818d896117c4565b906117c4565b9993985091965094509092505050565b5f808080611cee898661181e565b90505f611cfb898761181e565b90505f611d08898861181e565b90505f611d15898961181e565b90505f611d2882611cca858189896117c4565b949d949c50929a509298505050505050505050565b600d54158015611d4d5750600f54155b8015611d595750601154155b15611d6057565b600d8054600e55600f8054601055601180546012555f928390559082905555565b5f805f805f805f611d9188611771565b9650965096509650965096509650611dd58860025f8d6001600160a01b03166001600160a01b031681526020019081526020015f20546117c490919063ffffffff16565b6001600160a01b038b165f90815260026020908152604080832093909355600190522054611e0390886117c4565b6001600160a01b03808c165f9081526001602052604080822093909355908b1681522054611e319087611766565b6001600160a01b038a165f90815260016020526040902055611e52826120b7565b611e5b8161213a565b611e65858461223c565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef86604051611eaa91815260200190565b60405180910390a350505050505050505050565b5f805f805f805f611ece88611771565b9650965096509650965096509650611f128760015f8d6001600160a01b03166001600160a01b031681526020019081526020015f20546117c490919063ffffffff16565b6001600160a01b03808c165f90815260016020908152604080832094909455918c16815260029091522054611f479085611766565b6001600160a01b038a165f90815260026020908152604080832093909355600190522054611e319087611766565b5f805f805f805f611f8588611771565b9650965096509650965096509650611e038760015f8d6001600160a01b03166001600160a01b031681526020019081526020015f20546117c490919063ffffffff16565b5f805f805f805f611fd988611771565b965096509650965096509650965061201d8860025f8d6001600160a01b03166001600160a01b031681526020019081526020015f20546117c490919063ffffffff16565b6001600160a01b038b165f90815260026020908152604080832093909355600190522054611f1290886117c4565b5f6108736127106115a1600d548561181e90919063ffffffff16565b5f6108736127106115a1600f548561181e90919063ffffffff16565b6016545f906001600160a01b031661209c57505f919050565b6108736127106115a16011548561181e90919063ffffffff16565b5f6120c061173a565b90505f6120cd838361181e565b305f908152600160205260409020549091506120e99082611766565b305f9081526001602090815260408083209390935560059052205460ff161561213557305f908152600260205260409020546121259084611766565b305f908152600260205260409020555b505050565b801561120b575f61214961173a565b90505f612156838361181e565b6016546001600160a01b03165f9081526001602052604090205490915061217d9082611766565b601680546001600160a01b039081165f90815260016020908152604080832095909555925490911681526005909152205460ff16156121f5576016546001600160a01b03165f908152600260205260409020546121da9084611766565b6016546001600160a01b03165f908152600260205260409020555b6016546001600160a01b0316336001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161132591815260200190565b60085461224990836117c4565b6008556009546122599082611766565b6009555050565b5f60208284031215612270575f80fd5b5035919050565b5f6020808352835180828501525f5b818110156122a257858101830151858201604001528201612286565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461120b575f80fd5b5f80604083850312156122e7575f80fd5b82356122f2816122c2565b946020939093013593505050565b5f60208284031215612310575f80fd5b81356109f6816122c2565b5f805f6060848603121561232d575f80fd5b8335612338816122c2565b92506020840135612348816122c2565b929592945050506040919091013590565b80358015158114612368575f80fd5b919050565b5f806040838503121561237e575f80fd5b8235915061238e60208401612359565b90509250929050565b5f602082840312156123a7575f80fd5b6109f682612359565b5f80604083850312156123c1575f80fd5b82356123cc816122c2565b915060208301356123dc816122c2565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600b908201526a496e76616c69642062707360a81b604082015260600190565b600181811c9082168061245557607f821691505b60208210810361247357634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b818103818111156108735761087361248d565b634e487b7160e01b5f52603160045260245ffd5b5f600182016124d9576124d961248d565b5060010190565b808201808211156108735761087361248d565b5f8261250d57634e487b7160e01b5f52601260045260245ffd5b500490565b80820281158282048414176108735761087361248d565b5f60208284031215612539575f80fd5b81516109f6816122c2565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156125925784516001600160a01b03168352938301939183019160010161256d565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212209b11da59d3c524e99071861569714268e35dbe09425e633cfea07ef859c0b7b964736f6c63430008150033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000cb49b44ba602d80000000000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000000000000a4372617a792046726f6700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000443524f4700000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Crazy Frog
Arg [1] : symbol_ (string): CROG
Arg [2] : totalSupply_ (uint256): 960000000000000000000000
Arg [3] : router_ (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000000000000000000000000cb49b44ba602d8000000
Arg [3] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 4372617a792046726f6700000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 43524f4700000000000000000000000000000000000000000000000000000000
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.