ERC-20
Overview
Max Total Supply
1,000,000 FG
Holders
35
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000000204111 FGValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
frengate
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.19; /** ███████╗██████╗░███████╗███╗░░██╗░██████╗░░█████╗░████████╗███████╗ ██╔════╝██╔══██╗██╔════╝████╗░██║██╔════╝░██╔══██╗╚══██╔══╝██╔════╝ █████╗░░██████╔╝█████╗░░██╔██╗██║██║░░██╗░███████║░░░██║░░░█████╗░░ ██╔══╝░░██╔══██╗██╔══╝░░██║╚████║██║░░╚██╗██╔══██║░░░██║░░░██╔══╝░░ ██║░░░░░██║░░██║███████╗██║░╚███║╚██████╔╝██║░░██║░░░██║░░░███████╗ ╚═╝░░░░░╚═╝░░╚═╝╚══════╝╚═╝░░╚══╝░╚═════╝░╚═╝░░╚═╝░░░╚═╝░░░╚══════╝ */ import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract frengate is ERC20, Ownable { IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; address payable public taxWallet; bool private swapping; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; bool public tradingActive = false; bool public swapEnabled = false; uint256 public buyTotalFees; uint256 public sellTotalFees; // Exclude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; // Store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping(address => bool) public automatedMarketMakerPairs; event UpdateUniswapV2Router( address indexed newAddress, address indexed oldAddress ); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); constructor(address router, address team, address cexListing) ERC20("frengate", "FG") { uniswapV2Router = IUniswapV2Router02(router); excludeFromMaxTransaction(address(router), true); taxWallet = payable(owner()); uint256 totalTokenSupply = 1_000_000 * 1e18; // 1 million maxTransactionAmount = 5000 * 1e18; maxWallet = 5000 * 1e18; swapTokensAtAmount = (totalTokenSupply * 5) / 10000; // 0.05% buyTotalFees = 25; sellTotalFees = 75; excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromFees(team, true); excludeFromFees(cexListing, true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); excludeFromMaxTransaction(team, true); excludeFromMaxTransaction(cexListing, true); _mint(msg.sender, totalTokenSupply); } receive() external payable {} // Will enable trading, once this is toggeled, it will not be able to be turned off. function enableTrading() external onlyOwner { tradingActive = true; swapEnabled = true; } // Trigger this post launch once price is more stable. Made to avoid whales and snipers hogging supply. function updateFrengateAmounts( uint256 maxTx, uint256 _maxWallet, uint256 buyFees, uint256 sellFees ) external onlyOwner { maxTransactionAmount = maxTx; maxWallet = _maxWallet; buyTotalFees = buyFees; sellTotalFees = sellFees; } function excludeFromMaxTransaction( address updAds, bool isEx ) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair( address pair, bool value ) public onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function setPair(address pair) public onlyOwner { uniswapV2Pair = pair; _setAutomatedMarketMakerPair(pair, true); _isExcludedMaxTransactionAmount[pair] = true; } function setSwapThreshold(uint256 amount) public onlyOwner { swapTokensAtAmount = amount; } function setTaxWallet(address wallet) public onlyOwner { taxWallet = payable(wallet); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } 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) && !swapping ) { if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } // Buying if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } // Selling else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount." ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; // If any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // Only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // Sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = Math.mulDiv( amount, sellTotalFees, 100, Math.Rounding.Up ); } // Buy else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = Math.mulDiv(amount, buyTotalFees, 100, Math.Rounding.Up); } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // Generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // Make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // Accept any amount of ETH; ignore slippage path, taxWallet, block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); if (contractBalance == 0) { return; } swapTokensForEth(contractBalance); } function withdrawStuckFrengate( address _token, address _to ) external onlyOwner { require(_token != address(0), "_token address cannot be 0"); uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); IERC20(_token).transfer(_to, _contractBalance); } function WithdrawStuckEth(address toAddr) external onlyOwner { (bool success, ) = toAddr.call{value: address(this).balance}(""); require(success); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ 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; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ 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; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ 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; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ 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 { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ 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; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ 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); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ 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); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// 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); }
{ "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":"address","name":"router","type":"address"},{"internalType":"address","name":"team","type":"address"},{"internalType":"address","name":"cexListing","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":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[{"internalType":"address","name":"toAddr","type":"address"}],"name":"WithdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"","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":"buyTotalFees","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":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","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":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"setPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"setTaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","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":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTx","type":"uint256"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"},{"internalType":"uint256","name":"buyFees","type":"uint256"},{"internalType":"uint256","name":"sellFees","type":"uint256"}],"name":"updateFrengateAmounts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawStuckFrengate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600c805461ffff191690553480156200001c57600080fd5b506040516200239c3803806200239c8339810160408190526200003f916200044e565b604051806040016040528060088152602001676672656e6761746560c01b81525060405180604001604052806002815260200161464760f01b81525081600390816200008c91906200053c565b5060046200009b82826200053c565b505050620000b8620000b26200021360201b60201c565b62000217565b600680546001600160a01b0319166001600160a01b038516179055620000e083600162000269565b6005546001600160a01b0316600880546001600160a01b0319166001600160a01b039290921691909117905569010f0cf064dd592000006009819055600b5569d3c21bcecceda10000006127106200013a8260056200061e565b6200014691906200063e565b600a556019600d55604b600e55620001726200016a6005546001600160a01b031690565b60016200029e565b6200017f3060016200029e565b6200018e61dead60016200029e565b6200019b8360016200029e565b620001a88260016200029e565b620001c7620001bf6005546001600160a01b031690565b600162000269565b620001d430600162000269565b620001e361dead600162000269565b620001f083600162000269565b620001fd82600162000269565b62000209338262000307565b5050505062000677565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000273620003ce565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b620002a8620003ce565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620003635760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b806002600082825462000377919062000661565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b031633146200042a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200035a565b565b505050565b80516001600160a01b03811681146200044957600080fd5b919050565b6000806000606084860312156200046457600080fd5b6200046f8462000431565b92506200047f6020850162000431565b91506200048f6040850162000431565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620004c357607f821691505b602082108103620004e457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200042c57600081815260208120601f850160051c81016020861015620005135750805b601f850160051c820191505b8181101562000534578281556001016200051f565b505050505050565b81516001600160401b0381111562000558576200055862000498565b6200057081620005698454620004ae565b84620004ea565b602080601f831160018114620005a857600084156200058f5750858301515b600019600386901b1c1916600185901b17855562000534565b600085815260208120601f198616915b82811015620005d957888601518255948401946001909101908401620005b8565b5085821015620005f85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000638576200063862000608565b92915050565b6000826200065c57634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000638576200063862000608565b611d1580620006876000396000f3fe60806040526004361061021e5760003560e01c80638da5cb5b11610123578063bbc0c742116100ab578063e0d004e01161006f578063e0d004e014610661578063e2f4560514610681578063ea414b2814610697578063f2fde38b146106b7578063f8b45b05146106d757600080fd5b8063bbc0c742146105db578063c0246668146105f5578063c8c8ebe414610615578063d85ba0631461062b578063dd62ed3e1461064157600080fd5b8063a1d43a24116100f2578063a1d43a241461052b578063a457c2d71461054b578063a471a8471461056b578063a9059cbb1461058b578063b62496f5146105ab57600080fd5b80638da5cb5b146104b857806395d89b41146104d65780639a7a23d6146104eb5780639d0014b11461050b57600080fd5b806349bd5a5e116101a657806370a082311161017557806370a0823114610416578063715018a61461044c5780637571336a146104635780638187f516146104835780638a8c523c146104a357600080fd5b806349bd5a5e146103885780634fbee193146103a85780636a486a8e146103e15780636ddd1713146103f757600080fd5b806318160ddd116101ed57806318160ddd146102ed57806323b872dd1461030c5780632dc0562d1461032c578063313ce5671461034c578063395093511461036857600080fd5b806306fdde031461022a578063095ea7b31461025557806310d5de53146102855780631694505e146102b557600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061023f6106ed565b60405161024c919061192e565b60405180910390f35b34801561026157600080fd5b50610275610270366004611991565b61077f565b604051901515815260200161024c565b34801561029157600080fd5b506102756102a03660046119bd565b60106020526000908152604090205460ff1681565b3480156102c157600080fd5b506006546102d5906001600160a01b031681565b6040516001600160a01b03909116815260200161024c565b3480156102f957600080fd5b506002545b60405190815260200161024c565b34801561031857600080fd5b506102756103273660046119da565b610799565b34801561033857600080fd5b506008546102d5906001600160a01b031681565b34801561035857600080fd5b506040516012815260200161024c565b34801561037457600080fd5b50610275610383366004611991565b6107bf565b34801561039457600080fd5b506007546102d5906001600160a01b031681565b3480156103b457600080fd5b506102756103c33660046119bd565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156103ed57600080fd5b506102fe600e5481565b34801561040357600080fd5b50600c5461027590610100900460ff1681565b34801561042257600080fd5b506102fe6104313660046119bd565b6001600160a01b031660009081526020819052604090205490565b34801561045857600080fd5b506104616107e1565b005b34801561046f57600080fd5b5061046161047e366004611a29565b6107f5565b34801561048f57600080fd5b5061046161049e3660046119bd565b610828565b3480156104af57600080fd5b5061046161087a565b3480156104c457600080fd5b506005546001600160a01b03166102d5565b3480156104e257600080fd5b5061023f610893565b3480156104f757600080fd5b50610461610506366004611a29565b6108a2565b34801561051757600080fd5b50610461610526366004611a62565b610941565b34801561053757600080fd5b50610461610546366004611a7b565b61094e565b34801561055757600080fd5b50610275610566366004611991565b61096a565b34801561057757600080fd5b50610461610586366004611aad565b6109f0565b34801561059757600080fd5b506102756105a6366004611991565b610b36565b3480156105b757600080fd5b506102756105c63660046119bd565b60116020526000908152604090205460ff1681565b3480156105e757600080fd5b50600c546102759060ff1681565b34801561060157600080fd5b50610461610610366004611a29565b610b44565b34801561062157600080fd5b506102fe60095481565b34801561063757600080fd5b506102fe600d5481565b34801561064d57600080fd5b506102fe61065c366004611aad565b610bab565b34801561066d57600080fd5b5061046161067c3660046119bd565b610bd6565b34801561068d57600080fd5b506102fe600a5481565b3480156106a357600080fd5b506104616106b23660046119bd565b610c3e565b3480156106c357600080fd5b506104616106d23660046119bd565b610c68565b3480156106e357600080fd5b506102fe600b5481565b6060600380546106fc90611adb565b80601f016020809104026020016040519081016040528092919081815260200182805461072890611adb565b80156107755780601f1061074a57610100808354040283529160200191610775565b820191906000526020600020905b81548152906001019060200180831161075857829003601f168201915b5050505050905090565b60003361078d818585610ce1565b60019150505b92915050565b6000336107a7858285610e05565b6107b2858585610e79565b60019150505b9392505050565b60003361078d8185856107d28383610bab565b6107dc9190611b2b565b610ce1565b6107e961143b565b6107f36000611495565b565b6107fd61143b565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b61083061143b565b600780546001600160a01b0319166001600160a01b0383161790556108568160016114e7565b6001600160a01b03166000908152601060205260409020805460ff19166001179055565b61088261143b565b600c805461ffff1916610101179055565b6060600480546106fc90611adb565b6108aa61143b565b6007546001600160a01b03908116908316036109335760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084015b60405180910390fd5b61093d82826114e7565b5050565b61094961143b565b600a55565b61095661143b565b600993909355600b91909155600d55600e55565b600033816109788286610bab565b9050838110156109d85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161092a565b6109e58286868403610ce1565b506001949350505050565b6109f861143b565b6001600160a01b038216610a4e5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f742062652030000000000000604482015260640161092a565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610a95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab99190611b3e565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af1158015610b0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b309190611b57565b50505050565b60003361078d818585610e79565b610b4c61143b565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610bde61143b565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c2b576040519150601f19603f3d011682016040523d82523d6000602084013e610c30565b606091505b505090508061093d57600080fd5b610c4661143b565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b610c7061143b565b6001600160a01b038116610cd55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161092a565b610cde81611495565b50565b6001600160a01b038316610d435760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161092a565b6001600160a01b038216610da45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161092a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610e118484610bab565b90506000198114610b305781811015610e6c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161092a565b610b308484848403610ce1565b6001600160a01b038316610e9f5760405162461bcd60e51b815260040161092a90611b74565b6001600160a01b038216610ec55760405162461bcd60e51b815260040161092a90611bb9565b80600003610ede57610ed98383600061153b565b505050565b6005546001600160a01b03848116911614801590610f0a57506005546001600160a01b03838116911614155b8015610f1e57506001600160a01b03821615155b8015610f3557506001600160a01b03821661dead14155b8015610f4b5750600854600160a01b900460ff16155b1561124457600c5460ff16610fde576001600160a01b0383166000908152600f602052604090205460ff1680610f9957506001600160a01b0382166000908152600f602052604090205460ff165b610fde5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b604482015260640161092a565b6001600160a01b03831660009081526011602052604090205460ff16801561101f57506001600160a01b03821660009081526010602052604090205460ff16155b15611103576009548111156110945760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b606482015260840161092a565b600b546001600160a01b0383166000908152602081905260409020546110ba9083611b2b565b11156110fe5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161092a565b611244565b6001600160a01b03821660009081526011602052604090205460ff16801561114457506001600160a01b03831660009081526010602052604090205460ff16155b156111ba576009548111156110fe5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b606482015260840161092a565b6001600160a01b03821660009081526010602052604090205460ff1661124457600b546001600160a01b0383166000908152602081905260409020546112009083611b2b565b11156112445760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161092a565b30600090815260208190526040902054600a548110801590819061126f5750600c54610100900460ff165b80156112855750600854600160a01b900460ff16155b80156112aa57506001600160a01b03851660009081526011602052604090205460ff16155b80156112cf57506001600160a01b0385166000908152600f602052604090205460ff16155b80156112f457506001600160a01b0384166000908152600f602052604090205460ff16155b15611322576008805460ff60a01b1916600160a01b179055611314611665565b6008805460ff60a01b191690555b6008546001600160a01b0386166000908152600f602052604090205460ff600160a01b90920482161591168061137057506001600160a01b0385166000908152600f602052604090205460ff165b15611379575060005b60008115611427576001600160a01b03861660009081526011602052604090205460ff1680156113ab57506000600e54115b156113c7576113c085600e5460646001611689565b9050611409565b6001600160a01b03871660009081526011602052604090205460ff1680156113f157506000600d54115b156114095761140685600d5460646001611689565b90505b801561141a5761141a87308361153b565b6114248186611bfc565b94505b61143287878761153b565b50505050505050565b6005546001600160a01b031633146107f35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092a565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166115615760405162461bcd60e51b815260040161092a90611b74565b6001600160a01b0382166115875760405162461bcd60e51b815260040161092a90611bb9565b6001600160a01b038316600090815260208190526040902054818110156115ff5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161092a565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b30565b30600090815260208190526040812054908190036116805750565b610cde816116e6565b600080611697868686611844565b905060018360028111156116ad576116ad611c0f565b1480156116ca5750600084806116c5576116c5611c25565b868809115b156116dd576116da600182611b2b565b90505b95945050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061171b5761171b611c3b565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611774573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117989190611c51565b816001815181106117ab576117ab611c3b565b6001600160a01b0392831660209182029290920101526006546117d19130911684610ce1565b60065460085460405163791ac94760e01b81526001600160a01b039283169263791ac9479261180e92879260009288929116904290600401611c6e565b600060405180830381600087803b15801561182857600080fd5b505af115801561183c573d6000803e3d6000fd5b505050505050565b600080806000198587098587029250828110838203039150508060000361187e5783828161187457611874611c25565b04925050506107b8565b8084116118c55760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161092a565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b600060208083528351808285015260005b8181101561195b5785810183015185820160400152820161193f565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610cde57600080fd5b600080604083850312156119a457600080fd5b82356119af8161197c565b946020939093013593505050565b6000602082840312156119cf57600080fd5b81356107b88161197c565b6000806000606084860312156119ef57600080fd5b83356119fa8161197c565b92506020840135611a0a8161197c565b929592945050506040919091013590565b8015158114610cde57600080fd5b60008060408385031215611a3c57600080fd5b8235611a478161197c565b91506020830135611a5781611a1b565b809150509250929050565b600060208284031215611a7457600080fd5b5035919050565b60008060008060808587031215611a9157600080fd5b5050823594602084013594506040840135936060013592509050565b60008060408385031215611ac057600080fd5b8235611acb8161197c565b91506020830135611a578161197c565b600181811c90821680611aef57607f821691505b602082108103611b0f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561079357610793611b15565b600060208284031215611b5057600080fd5b5051919050565b600060208284031215611b6957600080fd5b81516107b881611a1b565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561079357610793611b15565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060208284031215611c6357600080fd5b81516107b88161197c565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611cbe5784516001600160a01b031683529383019391830191600101611c99565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122081d7cf39f49178e803bf03627dcf25e978a42f881f523bdd10a6642338e57e7d64736f6c634300081300330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000002cba072a356b64ce89c55b3b34779671746071bd0000000000000000000000002cba072a356b64ce89c55b3b34779671746071bd
Deployed Bytecode
0x60806040526004361061021e5760003560e01c80638da5cb5b11610123578063bbc0c742116100ab578063e0d004e01161006f578063e0d004e014610661578063e2f4560514610681578063ea414b2814610697578063f2fde38b146106b7578063f8b45b05146106d757600080fd5b8063bbc0c742146105db578063c0246668146105f5578063c8c8ebe414610615578063d85ba0631461062b578063dd62ed3e1461064157600080fd5b8063a1d43a24116100f2578063a1d43a241461052b578063a457c2d71461054b578063a471a8471461056b578063a9059cbb1461058b578063b62496f5146105ab57600080fd5b80638da5cb5b146104b857806395d89b41146104d65780639a7a23d6146104eb5780639d0014b11461050b57600080fd5b806349bd5a5e116101a657806370a082311161017557806370a0823114610416578063715018a61461044c5780637571336a146104635780638187f516146104835780638a8c523c146104a357600080fd5b806349bd5a5e146103885780634fbee193146103a85780636a486a8e146103e15780636ddd1713146103f757600080fd5b806318160ddd116101ed57806318160ddd146102ed57806323b872dd1461030c5780632dc0562d1461032c578063313ce5671461034c578063395093511461036857600080fd5b806306fdde031461022a578063095ea7b31461025557806310d5de53146102855780631694505e146102b557600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061023f6106ed565b60405161024c919061192e565b60405180910390f35b34801561026157600080fd5b50610275610270366004611991565b61077f565b604051901515815260200161024c565b34801561029157600080fd5b506102756102a03660046119bd565b60106020526000908152604090205460ff1681565b3480156102c157600080fd5b506006546102d5906001600160a01b031681565b6040516001600160a01b03909116815260200161024c565b3480156102f957600080fd5b506002545b60405190815260200161024c565b34801561031857600080fd5b506102756103273660046119da565b610799565b34801561033857600080fd5b506008546102d5906001600160a01b031681565b34801561035857600080fd5b506040516012815260200161024c565b34801561037457600080fd5b50610275610383366004611991565b6107bf565b34801561039457600080fd5b506007546102d5906001600160a01b031681565b3480156103b457600080fd5b506102756103c33660046119bd565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156103ed57600080fd5b506102fe600e5481565b34801561040357600080fd5b50600c5461027590610100900460ff1681565b34801561042257600080fd5b506102fe6104313660046119bd565b6001600160a01b031660009081526020819052604090205490565b34801561045857600080fd5b506104616107e1565b005b34801561046f57600080fd5b5061046161047e366004611a29565b6107f5565b34801561048f57600080fd5b5061046161049e3660046119bd565b610828565b3480156104af57600080fd5b5061046161087a565b3480156104c457600080fd5b506005546001600160a01b03166102d5565b3480156104e257600080fd5b5061023f610893565b3480156104f757600080fd5b50610461610506366004611a29565b6108a2565b34801561051757600080fd5b50610461610526366004611a62565b610941565b34801561053757600080fd5b50610461610546366004611a7b565b61094e565b34801561055757600080fd5b50610275610566366004611991565b61096a565b34801561057757600080fd5b50610461610586366004611aad565b6109f0565b34801561059757600080fd5b506102756105a6366004611991565b610b36565b3480156105b757600080fd5b506102756105c63660046119bd565b60116020526000908152604090205460ff1681565b3480156105e757600080fd5b50600c546102759060ff1681565b34801561060157600080fd5b50610461610610366004611a29565b610b44565b34801561062157600080fd5b506102fe60095481565b34801561063757600080fd5b506102fe600d5481565b34801561064d57600080fd5b506102fe61065c366004611aad565b610bab565b34801561066d57600080fd5b5061046161067c3660046119bd565b610bd6565b34801561068d57600080fd5b506102fe600a5481565b3480156106a357600080fd5b506104616106b23660046119bd565b610c3e565b3480156106c357600080fd5b506104616106d23660046119bd565b610c68565b3480156106e357600080fd5b506102fe600b5481565b6060600380546106fc90611adb565b80601f016020809104026020016040519081016040528092919081815260200182805461072890611adb565b80156107755780601f1061074a57610100808354040283529160200191610775565b820191906000526020600020905b81548152906001019060200180831161075857829003601f168201915b5050505050905090565b60003361078d818585610ce1565b60019150505b92915050565b6000336107a7858285610e05565b6107b2858585610e79565b60019150505b9392505050565b60003361078d8185856107d28383610bab565b6107dc9190611b2b565b610ce1565b6107e961143b565b6107f36000611495565b565b6107fd61143b565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b61083061143b565b600780546001600160a01b0319166001600160a01b0383161790556108568160016114e7565b6001600160a01b03166000908152601060205260409020805460ff19166001179055565b61088261143b565b600c805461ffff1916610101179055565b6060600480546106fc90611adb565b6108aa61143b565b6007546001600160a01b03908116908316036109335760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084015b60405180910390fd5b61093d82826114e7565b5050565b61094961143b565b600a55565b61095661143b565b600993909355600b91909155600d55600e55565b600033816109788286610bab565b9050838110156109d85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161092a565b6109e58286868403610ce1565b506001949350505050565b6109f861143b565b6001600160a01b038216610a4e5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f742062652030000000000000604482015260640161092a565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610a95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab99190611b3e565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af1158015610b0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b309190611b57565b50505050565b60003361078d818585610e79565b610b4c61143b565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610bde61143b565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c2b576040519150601f19603f3d011682016040523d82523d6000602084013e610c30565b606091505b505090508061093d57600080fd5b610c4661143b565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b610c7061143b565b6001600160a01b038116610cd55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161092a565b610cde81611495565b50565b6001600160a01b038316610d435760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161092a565b6001600160a01b038216610da45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161092a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610e118484610bab565b90506000198114610b305781811015610e6c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161092a565b610b308484848403610ce1565b6001600160a01b038316610e9f5760405162461bcd60e51b815260040161092a90611b74565b6001600160a01b038216610ec55760405162461bcd60e51b815260040161092a90611bb9565b80600003610ede57610ed98383600061153b565b505050565b6005546001600160a01b03848116911614801590610f0a57506005546001600160a01b03838116911614155b8015610f1e57506001600160a01b03821615155b8015610f3557506001600160a01b03821661dead14155b8015610f4b5750600854600160a01b900460ff16155b1561124457600c5460ff16610fde576001600160a01b0383166000908152600f602052604090205460ff1680610f9957506001600160a01b0382166000908152600f602052604090205460ff165b610fde5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b604482015260640161092a565b6001600160a01b03831660009081526011602052604090205460ff16801561101f57506001600160a01b03821660009081526010602052604090205460ff16155b15611103576009548111156110945760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b606482015260840161092a565b600b546001600160a01b0383166000908152602081905260409020546110ba9083611b2b565b11156110fe5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161092a565b611244565b6001600160a01b03821660009081526011602052604090205460ff16801561114457506001600160a01b03831660009081526010602052604090205460ff16155b156111ba576009548111156110fe5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b606482015260840161092a565b6001600160a01b03821660009081526010602052604090205460ff1661124457600b546001600160a01b0383166000908152602081905260409020546112009083611b2b565b11156112445760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b604482015260640161092a565b30600090815260208190526040902054600a548110801590819061126f5750600c54610100900460ff165b80156112855750600854600160a01b900460ff16155b80156112aa57506001600160a01b03851660009081526011602052604090205460ff16155b80156112cf57506001600160a01b0385166000908152600f602052604090205460ff16155b80156112f457506001600160a01b0384166000908152600f602052604090205460ff16155b15611322576008805460ff60a01b1916600160a01b179055611314611665565b6008805460ff60a01b191690555b6008546001600160a01b0386166000908152600f602052604090205460ff600160a01b90920482161591168061137057506001600160a01b0385166000908152600f602052604090205460ff165b15611379575060005b60008115611427576001600160a01b03861660009081526011602052604090205460ff1680156113ab57506000600e54115b156113c7576113c085600e5460646001611689565b9050611409565b6001600160a01b03871660009081526011602052604090205460ff1680156113f157506000600d54115b156114095761140685600d5460646001611689565b90505b801561141a5761141a87308361153b565b6114248186611bfc565b94505b61143287878761153b565b50505050505050565b6005546001600160a01b031633146107f35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092a565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166115615760405162461bcd60e51b815260040161092a90611b74565b6001600160a01b0382166115875760405162461bcd60e51b815260040161092a90611bb9565b6001600160a01b038316600090815260208190526040902054818110156115ff5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161092a565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b30565b30600090815260208190526040812054908190036116805750565b610cde816116e6565b600080611697868686611844565b905060018360028111156116ad576116ad611c0f565b1480156116ca5750600084806116c5576116c5611c25565b868809115b156116dd576116da600182611b2b565b90505b95945050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061171b5761171b611c3b565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611774573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117989190611c51565b816001815181106117ab576117ab611c3b565b6001600160a01b0392831660209182029290920101526006546117d19130911684610ce1565b60065460085460405163791ac94760e01b81526001600160a01b039283169263791ac9479261180e92879260009288929116904290600401611c6e565b600060405180830381600087803b15801561182857600080fd5b505af115801561183c573d6000803e3d6000fd5b505050505050565b600080806000198587098587029250828110838203039150508060000361187e5783828161187457611874611c25565b04925050506107b8565b8084116118c55760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161092a565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b600060208083528351808285015260005b8181101561195b5785810183015185820160400152820161193f565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610cde57600080fd5b600080604083850312156119a457600080fd5b82356119af8161197c565b946020939093013593505050565b6000602082840312156119cf57600080fd5b81356107b88161197c565b6000806000606084860312156119ef57600080fd5b83356119fa8161197c565b92506020840135611a0a8161197c565b929592945050506040919091013590565b8015158114610cde57600080fd5b60008060408385031215611a3c57600080fd5b8235611a478161197c565b91506020830135611a5781611a1b565b809150509250929050565b600060208284031215611a7457600080fd5b5035919050565b60008060008060808587031215611a9157600080fd5b5050823594602084013594506040840135936060013592509050565b60008060408385031215611ac057600080fd5b8235611acb8161197c565b91506020830135611a578161197c565b600181811c90821680611aef57607f821691505b602082108103611b0f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561079357610793611b15565b600060208284031215611b5057600080fd5b5051919050565b600060208284031215611b6957600080fd5b81516107b881611a1b565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561079357610793611b15565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060208284031215611c6357600080fd5b81516107b88161197c565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611cbe5784516001600160a01b031683529383019391830191600101611c99565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122081d7cf39f49178e803bf03627dcf25e978a42f881f523bdd10a6642338e57e7d64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000002cba072a356b64ce89c55b3b34779671746071bd0000000000000000000000002cba072a356b64ce89c55b3b34779671746071bd
-----Decoded View---------------
Arg [0] : router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : team (address): 0x2CbA072A356B64Ce89c55b3b34779671746071Bd
Arg [2] : cexListing (address): 0x2CbA072A356B64Ce89c55b3b34779671746071Bd
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 0000000000000000000000002cba072a356b64ce89c55b3b34779671746071bd
Arg [2] : 0000000000000000000000002cba072a356b64ce89c55b3b34779671746071bd
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.