ERC-20
Overview
Max Total Supply
1,000,000,000 BOSS
Holders
232
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
2,571,779 BOSSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
BOSSToken
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.20; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; interface UniswapInterfaceMulticall { function getCurrentBlockTimestamp() external view returns (uint256); } interface IUniswapV2Router01 { function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); } interface IUniswapV2Router02 is IUniswapV2Router01 { function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } contract BOSSToken is ERC20, Ownable, ReentrancyGuard { UniswapInterfaceMulticall immutable public multicallContract; uint256 public buyFeePercentage; uint256 public sellFeePercentage; address public uniswapRouterV2; address public universalRouter; address public uniswapV2Pair; address public uniswapFeeCollector; address public wethAddress; address public teamAddress; uint256 public feePool; bool public isBuyPaused; bool public isSellPaused; event LiquidityAddedFromFees(uint256 amountToken, uint256 amountETH, uint256 liquidity); event BuyFeeUpdated(uint256 newBuyFee); event SellFeeUpdated(uint256 newSellFee); event BuyPaused(); event BuyUnpaused(); event SellPaused(); event SellUnpaused(); constructor(address initialOwner, address pteamAddress, address puniswapRouterV2, address puniversalRouter, address puniswapV2Pair, address puniswapFeeCollector, address pwethAddress, address pmulticallContract) ERC20("Birds of Space", "BOSS") Ownable(initialOwner) { require(puniswapRouterV2 != address(0), "BOSSToken: Uniswap Router V2 address is zero"); require(puniversalRouter != address(0), "BOSSToken: Universal Router address is zero"); require(puniswapV2Pair != address(0), "BOSSToken: Uniswap V2 Pair address is zero"); require(puniswapFeeCollector != address(0), "BOSSToken: Uniswap Fee Collector address is zero"); require(pwethAddress != address(0), "BOSSToken: WETH address is zero"); require(initialOwner != address(0), "BOSSToken: initial owner is zero"); require(pteamAddress != address(0), "BOSSToken: team address is zero"); _mint(msg.sender, 1_000_000_000 * (10 ** 18)); feePool = 0; isBuyPaused = false; isSellPaused = false; buyFeePercentage = 0; sellFeePercentage = 0; uniswapRouterV2 = puniswapRouterV2; universalRouter = puniversalRouter; uniswapV2Pair = puniswapV2Pair; uniswapFeeCollector = puniswapFeeCollector; wethAddress = pwethAddress; teamAddress = pteamAddress; multicallContract = UniswapInterfaceMulticall(pmulticallContract); } function isContract(address target) internal view returns (bool) { if (target.code.length == 0) { return false; } else { return true; } } function addLiquidity(uint256 tokenAmount, uint256 ethAmount, address router) internal returns (bool) { uint256 expiredTimestamp = multicallContract.getCurrentBlockTimestamp() + 60; address currentOwner = owner(); // Approve token transfer to cover all possible scenarios _approve(address(this), address(router), tokenAmount); try IUniswapV2Router02(router).addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable currentOwner, expiredTimestamp ) returns (uint256 amountToken, uint256 amountETH, uint256 liquidity) { // Emit an event with the amount of tokens and ETH added feePool -= tokenAmount; return true; } catch { // Handle the case where the call fails return false; } } function swapTokensForETH( address tokenIn, address router, uint256 baseAllFee ) internal returns (bool) { if(feePool > 0) { require(tokenIn != address(0), "BOSSToken: tokenIn address is zero"); require(router != address(0), "BOSSToken: router address is zero"); uint256 allFee = baseAllFee/2; bool approvalSuccess = IERC20(tokenIn).approve(router, allFee); require(approvalSuccess, "BOSSToken: Token approval failed"); uint256 allowedAmount = IERC20(tokenIn).allowance( address(this), router ); address[] memory path = new address[](2); path[0] = tokenIn; path[1] = wethAddress; uint256 expiredTimestamp = multicallContract.getCurrentBlockTimestamp()+60; try IUniswapV2Router02(router) .swapExactTokensForETHSupportingFeeOnTransferTokens( allowedAmount, 0, path, address(this), expiredTimestamp ) { // Set the fee pool to 0 if the swap is successful feePool -= allFee; } catch { feePool += 0; } } return true; } function _update( address from, address to, uint256 value ) internal virtual override { require(to != address(0), "BOSSToken: to address is zero"); uint256 feeAmount = 0; // Check if buying or selling is paused if (isBuyPaused && from == universalRouter) { revert("Buying is paused"); } if (isSellPaused && to == uniswapV2Pair) { revert("Selling is paused"); } if (to == uniswapFeeCollector) { swapTokensForETH(address(this), address(uniswapRouterV2), feePool); return super._update(to, address(this), 0); } if (from != address(0) && (to == uniswapV2Pair)) { feeAmount = (value * sellFeePercentage) / 10_000; } else if (!isContract(to) && (from == universalRouter)) { feeAmount = (value * buyFeePercentage) / 10_000; } if (feeAmount > 0) { unchecked { feePool += feeAmount; value -= feeAmount; super._update(from, address(this), feeAmount); } } return super._update(from, to, value); } /** * @dev Updates the Uniswap-related addresses used in the contract. * @param puniswapRouterV2 The address of the Uniswap V2 Router. * @param puniversalRouter The address of the Universal Router. * @param puniswapV2Pair The address of the Uniswap V2 Pair for this token. * @param puniswapFeeCollector The address of the Uniswap Fee Collector. * @param pwethAddress The address of the Wrapped Ether (WETH) token. */ function updateUniswapAddresses( address puniswapRouterV2, address puniversalRouter, address puniswapV2Pair, address puniswapFeeCollector, address pwethAddress ) external onlyOwner { require( puniswapRouterV2 != address(0), "Invalid Uniswap V2 Router address" ); require( puniversalRouter != address(0), "Invalid Universal Router address" ); require( puniswapV2Pair != address(0), "Invalid Uniswap V2 Pair address" ); require( puniswapFeeCollector != address(0), "Invalid Uniswap Fee Collector address" ); require(pwethAddress != address(0), "Invalid WETH address"); uniswapRouterV2 = puniswapRouterV2; universalRouter = puniversalRouter; uniswapV2Pair = puniswapV2Pair; uniswapFeeCollector = puniswapFeeCollector; wethAddress = pwethAddress; } /** * @dev Transfers all Ether balance from the contract to the owner. * This function can only be called by the contract owner. */ function reallocationEther() external nonReentrant onlyOwner { address payable to = payable(msg.sender); require(to != address(0), "BOSSToken: Cannot transfer to zero address"); to.transfer(address(this).balance); } /** * @dev Sets the buy fee percentage for Uniswap V2 transactions. * @param pbuyFeePercentage The new buy fee percentage to be applied on Uniswap V2 purchases (0-10000, representing 0-100%). */ function setBuyFeePercentage(uint256 pbuyFeePercentage) external onlyOwner { require(pbuyFeePercentage <= 2_500, "Buy fee too high"); buyFeePercentage = pbuyFeePercentage; emit BuyFeeUpdated(pbuyFeePercentage); } /** * @dev Sets the sell fee percentage for Uniswap V2 transactions. * @param psellFeePercentage The new sell fee percentage to be applied on Uniswap V2 sales (0-10000, representing 0-100%). */ function setSellFeePercentage( uint256 psellFeePercentage ) external onlyOwner { require(psellFeePercentage <= 2_500, "Sell fee too high"); sellFeePercentage = psellFeePercentage; emit SellFeeUpdated(psellFeePercentage); } /** * @dev Pauses the buying functionality of the token. * This function can only be called by the contract owner. * When paused, buy transactions will be rejected. */ function pauseBuy() external onlyOwner { isBuyPaused = true; emit BuyPaused(); } /** * @dev Resumes the buying functionality of the token. * This function can only be called by the contract owner. * When unpaused, buy transactions will be allowed again. */ function unpauseBuy() external onlyOwner { isBuyPaused = false; emit BuyUnpaused(); } /** * @dev Pauses the selling functionality of the token. * This function can only be called by the contract owner. * When paused, sell transactions will be rejected. */ function pauseSell() external onlyOwner { isSellPaused = true; emit SellPaused(); } /** * @dev Resumes the selling functionality of the token. * This function can only be called by the contract owner. * When unpaused, sell transactions will be allowed again. */ function unpauseSell() external onlyOwner { isSellPaused = false; emit SellUnpaused(); } /** * @dev Updates the team address for receiving allocated Ether from tax swaps. * @param pteamAddress The new address to receive the team's portion of Ether from tax swap operations. */ function setTeamAddress(address pteamAddress) external onlyOwner { require(pteamAddress != address(0), "Invalid team address"); teamAddress = pteamAddress; } receive() external payable { if (isContract(msg.sender)) { distributeFees(); } } fallback() external payable {} function distributeFees() internal { uint256 tokenTeamShare = (feePool * 2_000) / 10_000; uint256 tokenLiquidityShare = feePool - tokenTeamShare; uint256 ethTeamShare = (msg.value * 2_000) / 10_000; uint256 ethLiquidityShare = msg.value - ethTeamShare; if(addLiquidity(tokenLiquidityShare, ethLiquidityShare, address(uniswapRouterV2))){ feePool += tokenTeamShare; payable(teamAddress).transfer(ethTeamShare); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}. * * 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. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => 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 returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual 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 `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` 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 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); 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 `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` 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. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` 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. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ 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 v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @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 value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol) pragma solidity ^0.8.20; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant NOT_ENTERED = 1; uint256 private constant ENTERED = 2; uint256 private _status; /** * @dev Unauthorized reentrant call. */ error ReentrancyGuardReentrantCall(); constructor() { _status = NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be NOT_ENTERED if (_status == ENTERED) { revert ReentrancyGuardReentrantCall(); } // Any calls to nonReentrant after this point will fail _status = ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == ENTERED; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"},{"internalType":"address","name":"pteamAddress","type":"address"},{"internalType":"address","name":"puniswapRouterV2","type":"address"},{"internalType":"address","name":"puniversalRouter","type":"address"},{"internalType":"address","name":"puniswapV2Pair","type":"address"},{"internalType":"address","name":"puniswapFeeCollector","type":"address"},{"internalType":"address","name":"pwethAddress","type":"address"},{"internalType":"address","name":"pmulticallContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newBuyFee","type":"uint256"}],"name":"BuyFeeUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"BuyPaused","type":"event"},{"anonymous":false,"inputs":[],"name":"BuyUnpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountToken","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountETH","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidity","type":"uint256"}],"name":"LiquidityAddedFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newSellFee","type":"uint256"}],"name":"SellFeeUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"SellPaused","type":"event"},{"anonymous":false,"inputs":[],"name":"SellUnpaused","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"},{"stateMutability":"payable","type":"fallback"},{"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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFeePercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feePool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBuyPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSellPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"multicallContract","outputs":[{"internalType":"contract UniswapInterfaceMulticall","name":"","type":"address"}],"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":"pauseBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reallocationEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFeePercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pbuyFeePercentage","type":"uint256"}],"name":"setBuyFeePercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"psellFeePercentage","type":"uint256"}],"name":"setSellFeePercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pteamAddress","type":"address"}],"name":"setTeamAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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":"value","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":"uniswapFeeCollector","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapRouterV2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"universalRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpauseBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpauseSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"puniswapRouterV2","type":"address"},{"internalType":"address","name":"puniversalRouter","type":"address"},{"internalType":"address","name":"puniswapV2Pair","type":"address"},{"internalType":"address","name":"puniswapFeeCollector","type":"address"},{"internalType":"address","name":"pwethAddress","type":"address"}],"name":"updateUniswapAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wethAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040523480156200001157600080fd5b5060405162002c2538038062002c25833981016040819052620000349162000c6b565b876040518060400160405280600e81526020016d4269726473206f6620537061636560901b81525060405180604001604052806004815260200163424f535360e01b81525081600390816200008a919062000dba565b50600462000099828262000dba565b5050506001600160a01b038116620000cc57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000d78162000445565b5060016006556001600160a01b0386166200014a5760405162461bcd60e51b815260206004820152602c60248201527f424f5353546f6b656e3a20556e697377617020526f757465722056322061646460448201526b72657373206973207a65726f60a01b6064820152608401620000c3565b6001600160a01b038516620001b65760405162461bcd60e51b815260206004820152602b60248201527f424f5353546f6b656e3a20556e6976657273616c20526f75746572206164647260448201526a657373206973207a65726f60a81b6064820152608401620000c3565b6001600160a01b038416620002215760405162461bcd60e51b815260206004820152602a60248201527f424f5353546f6b656e3a20556e697377617020563220506169722061646472656044820152697373206973207a65726f60b01b6064820152608401620000c3565b6001600160a01b038316620002925760405162461bcd60e51b815260206004820152603060248201527f424f5353546f6b656e3a20556e69737761702046656520436f6c6c6563746f7260448201526f2061646472657373206973207a65726f60801b6064820152608401620000c3565b6001600160a01b038216620002ea5760405162461bcd60e51b815260206004820152601f60248201527f424f5353546f6b656e3a20574554482061646472657373206973207a65726f006044820152606401620000c3565b6001600160a01b038816620003425760405162461bcd60e51b815260206004820181905260248201527f424f5353546f6b656e3a20696e697469616c206f776e6572206973207a65726f6044820152606401620000c3565b6001600160a01b0387166200039a5760405162461bcd60e51b815260206004820152601f60248201527f424f5353546f6b656e3a207465616d2061646472657373206973207a65726f006044820152606401620000c3565b620003b2336b033b2e3c9fd0803ce800000062000497565b6000600f8190556010805461ffff191690556007819055600855600980546001600160a01b03199081166001600160a01b0398891617909155600a8054821696881696909617909555600b8054861694871694909417909355600c8054851692861692909217909155600d80548416918516919091179055600e8054909216938316939093179055166080525062000fdb565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620004c35760405163ec442f0560e01b815260006004820152602401620000c3565b620004d160008383620004d5565b5050565b6001600160a01b0382166200052d5760405162461bcd60e51b815260206004820152601d60248201527f424f5353546f6b656e3a20746f2061646472657373206973207a65726f0000006044820152606401620000c3565b60105460009060ff168015620005505750600a546001600160a01b038581169116145b15620005925760405162461bcd60e51b815260206004820152601060248201526f109d5e5a5b99c81a5cc81c185d5cd95960821b6044820152606401620000c3565b601054610100900460ff168015620005b75750600b546001600160a01b038481169116145b15620005fa5760405162461bcd60e51b815260206004820152601160248201527014d95b1b1a5b99c81a5cc81c185d5cd959607a1b6044820152606401620000c3565b600c546001600160a01b03908116908416036200064557600954600f54620006309130916001600160a01b039091169062000714565b506200063f8330600062000af6565b50505050565b6001600160a01b038416158015906200066b5750600b546001600160a01b038481169116145b1562000698576127106008548362000684919062000e9c565b62000690919062000ebc565b9050620006e6565b620006a38362000c29565b158015620006be5750600a546001600160a01b038581169116145b15620006e65761271060075483620006d7919062000e9c565b620006e3919062000ebc565b90505b80156200070757600f80548201905590819003906200070784308362000af6565b6200063f84848462000af6565b600f546000901562000aec576001600160a01b038416620007835760405162461bcd60e51b815260206004820152602260248201527f424f5353546f6b656e3a20746f6b656e496e2061646472657373206973207a65604482015261726f60f01b6064820152608401620000c3565b6001600160a01b038316620007e55760405162461bcd60e51b815260206004820152602160248201527f424f5353546f6b656e3a20726f757465722061646472657373206973207a65726044820152606f60f81b6064820152608401620000c3565b6000620007f460028462000ebc565b60405163095ea7b360e01b81526001600160a01b0386811660048301526024820183905291925060009187169063095ea7b3906044016020604051808303816000875af11580156200084a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000870919062000edf565b905080620008c15760405162461bcd60e51b815260206004820181905260248201527f424f5353546f6b656e3a20546f6b656e20617070726f76616c206661696c65646044820152606401620000c3565b604051636eb1769f60e11b81523060048201526001600160a01b0386811660248301526000919088169063dd62ed3e90604401602060405180830381865afa15801562000912573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000938919062000f0a565b6040805160028082526060820183529293506000929091602083019080368337019050509050878160008151811062000975576200097562000f24565b6001600160a01b039283166020918202929092010152600d54825191169082906001908110620009a957620009a962000f24565b60200260200101906001600160a01b031690816001600160a01b03168152505060006080516001600160a01b0316630f28c97d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000a0c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a32919062000f0a565b62000a3f90603c62000f3a565b60405163791ac94760e01b81529091506001600160a01b0389169063791ac9479062000a7990869060009087903090889060040162000f50565b600060405180830381600087803b15801562000a9457600080fd5b505af192505050801562000aa6575060015b62000acc576000600f600082825462000ac0919062000f3a565b9091555062000ae69050565b84600f600082825462000ae0919062000fc5565b90915550505b50505050505b5060019392505050565b6001600160a01b03831662000b2557806002600082825462000b19919062000f3a565b9091555062000b999050565b6001600160a01b0383166000908152602081905260409020548181101562000b7a5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000c3565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821662000bb75760028054829003905562000bd6565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000c1c91815260200190565b60405180910390a3505050565b6000816001600160a01b03163b60000362000c4657506000919050565b506001919050565b919050565b80516001600160a01b038116811462000c4e57600080fd5b600080600080600080600080610100898b03121562000c8957600080fd5b62000c948962000c53565b975062000ca460208a0162000c53565b965062000cb460408a0162000c53565b955062000cc460608a0162000c53565b945062000cd460808a0162000c53565b935062000ce460a08a0162000c53565b925062000cf460c08a0162000c53565b915062000d0460e08a0162000c53565b90509295985092959890939650565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000d3e57607f821691505b60208210810362000d5f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000db5576000816000526020600020601f850160051c8101602086101562000d905750805b601f850160051c820191505b8181101562000db15782815560010162000d9c565b5050505b505050565b81516001600160401b0381111562000dd65762000dd662000d13565b62000dee8162000de7845462000d29565b8462000d65565b602080601f83116001811462000e26576000841562000e0d5750858301515b600019600386901b1c1916600185901b17855562000db1565b600085815260208120601f198616915b8281101562000e575788860151825594840194600190910190840162000e36565b508582101562000e765787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000eb65762000eb662000e86565b92915050565b60008262000eda57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121562000ef257600080fd5b8151801515811462000f0357600080fd5b9392505050565b60006020828403121562000f1d57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b8082018082111562000eb65762000eb662000e86565b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b8181101562000fa45784516001600160a01b03168352938301939183019160010162000f7d565b50506001600160a01b03969096166060850152505050608001529392505050565b8181038181111562000eb65762000eb662000e86565b608051611c20620010056000396000818161032c01528181610dc1015261164f0152611c206000f3fe6080604052600436106101da5760003560e01c8063715018a611610101578063ae2e933b1161009a578063dd62ed3e1161006c578063dd62ed3e14610565578063e208a939146105ab578063eb8520aa146105c1578063f2fde38b146105e1578063f63f98a61461060157005b8063ae2e933b146104ff578063c1fc3d8114610515578063d44545e714610535578063d8e5f6111461054b57005b80639754a7d8116100d35780639754a7d8146104a0578063a38eb622146104b5578063a9059cbb146104ca578063aaefb3c3146104ea57005b8063715018a6146104385780637c32f8611461044d5780638da5cb5b1461046d57806395d89b411461048b57005b80633a07b5dc116101735780634f9f8357116101455780634f9f8357146103ad578063596fa9e3146103c25780636690864e146103e257806370a082311461040257005b80633a07b5dc1461031a57806349bd5a5e1461034e5780634f0e0ef31461036e5780634f9202e81461038e57005b806323b872dd116101ac57806323b872dd146102a9578063313ce567146102c9578063343dfc47146102e557806335a9e4df146102fa57005b806306fdde03146101f7578063095ea7b31461022257806318160ddd146102525780631c75f0851461027157005b366101f5576101e833610621565b156101f5576101f561064a565b005b34801561020357600080fd5b5061020c610720565b60405161021991906118b1565b60405180910390f35b34801561022e57600080fd5b5061024261023d366004611917565b6107b2565b6040519015158152602001610219565b34801561025e57600080fd5b506002545b604051908152602001610219565b34801561027d57600080fd5b50600e54610291906001600160a01b031681565b6040516001600160a01b039091168152602001610219565b3480156102b557600080fd5b506102426102c4366004611941565b6107cc565b3480156102d557600080fd5b5060405160128152602001610219565b3480156102f157600080fd5b506101f56107f2565b34801561030657600080fd5b50600a54610291906001600160a01b031681565b34801561032657600080fd5b506102917f000000000000000000000000000000000000000000000000000000000000000081565b34801561035a57600080fd5b50600b54610291906001600160a01b031681565b34801561037a57600080fd5b50600d54610291906001600160a01b031681565b34801561039a57600080fd5b5060105461024290610100900460ff1681565b3480156103b957600080fd5b506101f56108ab565b3480156103ce57600080fd5b50600954610291906001600160a01b031681565b3480156103ee57600080fd5b506101f56103fd36600461197d565b6108e9565b34801561040e57600080fd5b5061026361041d36600461197d565b6001600160a01b031660009081526020819052604090205490565b34801561044457600080fd5b506101f5610960565b34801561045957600080fd5b506101f5610468366004611998565b610972565b34801561047957600080fd5b506005546001600160a01b0316610291565b34801561049757600080fd5b5061020c610b96565b3480156104ac57600080fd5b506101f5610ba5565b3480156104c157600080fd5b506101f5610be7565b3480156104d657600080fd5b506102426104e5366004611917565b610c27565b3480156104f657600080fd5b506101f5610c35565b34801561050b57600080fd5b50610263600f5481565b34801561052157600080fd5b506101f56105303660046119fd565b610c72565b34801561054157600080fd5b5061026360075481565b34801561055757600080fd5b506010546102429060ff1681565b34801561057157600080fd5b50610263610580366004611a16565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156105b757600080fd5b5061026360085481565b3480156105cd57600080fd5b50600c54610291906001600160a01b031681565b3480156105ed57600080fd5b506101f56105fc36600461197d565b610cfb565b34801561060d57600080fd5b506101f561061c3660046119fd565b610d39565b6000816001600160a01b03163b60000361063d57506000919050565b506001919050565b919050565b6000612710600f546107d061065f9190611a5f565b6106699190611a76565b9050600081600f5461067b9190611a98565b9050600061271061068e346107d0611a5f565b6106989190611a76565b905060006106a68234611a98565b6009549091506106c290849083906001600160a01b0316610dbc565b1561071a5783600f60008282546106d99190611aab565b9091555050600e546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015610718573d6000803e3d6000fd5b505b50505050565b60606003805461072f90611abe565b80601f016020809104026020016040519081016040528092919081815260200182805461075b90611abe565b80156107a85780601f1061077d576101008083540402835291602001916107a8565b820191906000526020600020905b81548152906001019060200180831161078b57829003601f168201915b5050505050905090565b6000336107c0818585610f2c565b60019150505b92915050565b6000336107da858285610f3e565b6107e5858585610fb6565b60019150505b9392505050565b6107fa611015565b61080261103f565b33806108685760405162461bcd60e51b815260206004820152602a60248201527f424f5353546f6b656e3a2043616e6e6f74207472616e7366657220746f207a65604482015269726f206164647265737360b01b60648201526084015b60405180910390fd5b6040516001600160a01b038216904780156108fc02916000818181858888f1935050505015801561089d573d6000803e3d6000fd5b50506108a96001600655565b565b6108b361103f565b6010805461ff00191690556040517fcedc564c036e3fd2dd44323ce8b815c731dae6a27a74bcc1fa2710af50d81c5e90600090a1565b6108f161103f565b6001600160a01b03811661093e5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964207465616d206164647265737360601b604482015260640161085f565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b61096861103f565b6108a9600061106c565b61097a61103f565b6001600160a01b0385166109da5760405162461bcd60e51b815260206004820152602160248201527f496e76616c696420556e697377617020563220526f75746572206164647265736044820152607360f81b606482015260840161085f565b6001600160a01b038416610a305760405162461bcd60e51b815260206004820181905260248201527f496e76616c696420556e6976657273616c20526f757465722061646472657373604482015260640161085f565b6001600160a01b038316610a865760405162461bcd60e51b815260206004820152601f60248201527f496e76616c696420556e69737761702056322050616972206164647265737300604482015260640161085f565b6001600160a01b038216610aea5760405162461bcd60e51b815260206004820152602560248201527f496e76616c696420556e69737761702046656520436f6c6c6563746f72206164604482015264647265737360d81b606482015260840161085f565b6001600160a01b038116610b375760405162461bcd60e51b8152602060048201526014602482015273496e76616c69642057455448206164647265737360601b604482015260640161085f565b600980546001600160a01b03199081166001600160a01b0397881617909155600a8054821695871695909517909455600b8054851693861693909317909255600c80548416918516919091179055600d80549092169216919091179055565b60606004805461072f90611abe565b610bad61103f565b6010805461ff0019166101001790556040517f0ea5d24b3a4383f3e5b70fe2b986945838aae33da1c1919eaaa87016c2e2c70090600090a1565b610bef61103f565b6010805460ff191660011790556040517f8a7eeb133b73900810c0d1e21522a1f828e901bc802766a1d4b3f8ecf99ebfcb90600090a1565b6000336107c0818585610fb6565b610c3d61103f565b6010805460ff191690556040517f9d5a5988ace295ab0a8818ceda04f066906e11d396d372cc5259aaab554590b590600090a1565b610c7a61103f565b6109c4811115610cbf5760405162461bcd60e51b815260206004820152601060248201526f084eaf240cccaca40e8dede40d0d2ced60831b604482015260640161085f565b60078190556040518181527f7c1445c98b278c9970d007fca6048704bcb25af7cc4a04eb56565d9a9f149ca3906020015b60405180910390a150565b610d0361103f565b6001600160a01b038116610d2d57604051631e4fbdf760e01b81526000600482015260240161085f565b610d368161106c565b50565b610d4161103f565b6109c4811115610d875760405162461bcd60e51b81526020600482015260116024820152700a6cad8d840cccaca40e8dede40d0d2ced607b1b604482015260640161085f565b60088190556040518181527f495ee53ee22006979ebc689a00ed737d7c13b6419142f82dcaea4ed95ac1e78090602001610cf0565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630f28c97d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e419190611af8565b610e4c90603c611aab565b90506000610e626005546001600160a01b031690565b9050610e6f308588610f2c565b60405163f305d71960e01b81523060048201526024810187905260006044820181905260648201526001600160a01b03828116608483015260a4820184905285169063f305d71990879060c40160606040518083038185885af193505050508015610ef7575060408051601f3d908101601f19168201909252610ef491810190611b11565b60015b610f06576000925050506107eb565b88600f6000828254610f189190611a98565b90915550600196506107eb95505050505050565b610f3983838360016110be565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461071a5781811015610fa757604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161085f565b61071a848484840360006110be565b6001600160a01b038316610fe057604051634b637e8f60e11b81526000600482015260240161085f565b6001600160a01b03821661100a5760405163ec442f0560e01b81526000600482015260240161085f565b610f39838383611193565b60026006540361103857604051633ee5aeb560e01b815260040160405180910390fd5b6002600655565b6005546001600160a01b031633146108a95760405163118cdaa760e01b815233600482015260240161085f565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166110e85760405163e602df0560e01b81526000600482015260240161085f565b6001600160a01b03831661111257604051634a1406b160e11b81526000600482015260240161085f565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561071a57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161118591815260200190565b60405180910390a350505050565b6001600160a01b0382166111e95760405162461bcd60e51b815260206004820152601d60248201527f424f5353546f6b656e3a20746f2061646472657373206973207a65726f000000604482015260640161085f565b60105460009060ff16801561120b5750600a546001600160a01b038581169116145b1561124b5760405162461bcd60e51b815260206004820152601060248201526f109d5e5a5b99c81a5cc81c185d5cd95960821b604482015260640161085f565b601054610100900460ff16801561126f5750600b546001600160a01b038481169116145b156112b05760405162461bcd60e51b815260206004820152601160248201527014d95b1b1a5b99c81a5cc81c185d5cd959607a1b604482015260640161085f565b600c546001600160a01b03908116908416036112f057600954600f546112e39130916001600160a01b03909116906113ab565b5061071a83306000611787565b6001600160a01b038416158015906113155750600b546001600160a01b038481169116145b1561133c576127106008548361132b9190611a5f565b6113359190611a76565b9050611382565b61134583610621565b15801561135f5750600a546001600160a01b038581169116145b1561138257612710600754836113759190611a5f565b61137f9190611a76565b90505b80156113a057600f80548201905590819003906113a0843083611787565b61071a848484611787565b600f546000901561177d576001600160a01b0384166114175760405162461bcd60e51b815260206004820152602260248201527f424f5353546f6b656e3a20746f6b656e496e2061646472657373206973207a65604482015261726f60f01b606482015260840161085f565b6001600160a01b0383166114775760405162461bcd60e51b815260206004820152602160248201527f424f5353546f6b656e3a20726f757465722061646472657373206973207a65726044820152606f60f81b606482015260840161085f565b6000611484600284611a76565b60405163095ea7b360e01b81526001600160a01b0386811660048301526024820183905291925060009187169063095ea7b3906044016020604051808303816000875af11580156114d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fd9190611b3f565b90508061154c5760405162461bcd60e51b815260206004820181905260248201527f424f5353546f6b656e3a20546f6b656e20617070726f76616c206661696c6564604482015260640161085f565b604051636eb1769f60e11b81523060048201526001600160a01b0386811660248301526000919088169063dd62ed3e90604401602060405180830381865afa15801561159c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c09190611af8565b604080516002808252606082018352929350600092909160208301908036833701905050905087816000815181106115fa576115fa611b61565b6001600160a01b039283166020918202929092010152600d5482519116908290600190811061162b5761162b611b61565b60200260200101906001600160a01b031690816001600160a01b03168152505060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630f28c97d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116cf9190611af8565b6116da90603c611aab565b60405163791ac94760e01b81529091506001600160a01b0389169063791ac94790611712908690600090879030908890600401611b77565b600060405180830381600087803b15801561172c57600080fd5b505af192505050801561173d575060015b61175f576000600f60008282546117549190611aab565b909155506117779050565b84600f60008282546117719190611a98565b90915550505b50505050505b5060019392505050565b6001600160a01b0383166117b25780600260008282546117a79190611aab565b909155506118249050565b6001600160a01b038316600090815260208190526040902054818110156118055760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161085f565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166118405760028054829003905561185f565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118a491815260200190565b60405180910390a3505050565b60006020808352835180602085015260005b818110156118df578581018301518582016040015282016118c3565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461064557600080fd5b6000806040838503121561192a57600080fd5b61193383611900565b946020939093013593505050565b60008060006060848603121561195657600080fd5b61195f84611900565b925061196d60208501611900565b9150604084013590509250925092565b60006020828403121561198f57600080fd5b6107eb82611900565b600080600080600060a086880312156119b057600080fd5b6119b986611900565b94506119c760208701611900565b93506119d560408701611900565b92506119e360608701611900565b91506119f160808701611900565b90509295509295909350565b600060208284031215611a0f57600080fd5b5035919050565b60008060408385031215611a2957600080fd5b611a3283611900565b9150611a4060208401611900565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107c6576107c6611a49565b600082611a9357634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156107c6576107c6611a49565b808201808211156107c6576107c6611a49565b600181811c90821680611ad257607f821691505b602082108103611af257634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611b0a57600080fd5b5051919050565b600080600060608486031215611b2657600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611b5157600080fd5b815180151581146107eb57600080fd5b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015611bc95784516001600160a01b031683529383019391830191600101611ba4565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212201f07b484567a968470ebf3024531536b8bcbd5087f935d68bd6f0d2fb4802a7a64736f6c63430008180033000000000000000000000000b75980d5a06416a86e73a023ee856be90f778659000000000000000000000000e90f50df0bf66234b231000e5fbdcb2221028c410000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000003fc91a3afd70395cd496c647d5a6cc9d4b2b7fad0000000000000000000000007299acb52e80a2678cbd5daac12b18e0311e051c000000000000000000000000000000fee13a103a10d593b9ae06b3e05f2e7e1c000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001f98415757620b543a52e61c46b32eb19261f984
Deployed Bytecode
0x6080604052600436106101da5760003560e01c8063715018a611610101578063ae2e933b1161009a578063dd62ed3e1161006c578063dd62ed3e14610565578063e208a939146105ab578063eb8520aa146105c1578063f2fde38b146105e1578063f63f98a61461060157005b8063ae2e933b146104ff578063c1fc3d8114610515578063d44545e714610535578063d8e5f6111461054b57005b80639754a7d8116100d35780639754a7d8146104a0578063a38eb622146104b5578063a9059cbb146104ca578063aaefb3c3146104ea57005b8063715018a6146104385780637c32f8611461044d5780638da5cb5b1461046d57806395d89b411461048b57005b80633a07b5dc116101735780634f9f8357116101455780634f9f8357146103ad578063596fa9e3146103c25780636690864e146103e257806370a082311461040257005b80633a07b5dc1461031a57806349bd5a5e1461034e5780634f0e0ef31461036e5780634f9202e81461038e57005b806323b872dd116101ac57806323b872dd146102a9578063313ce567146102c9578063343dfc47146102e557806335a9e4df146102fa57005b806306fdde03146101f7578063095ea7b31461022257806318160ddd146102525780631c75f0851461027157005b366101f5576101e833610621565b156101f5576101f561064a565b005b34801561020357600080fd5b5061020c610720565b60405161021991906118b1565b60405180910390f35b34801561022e57600080fd5b5061024261023d366004611917565b6107b2565b6040519015158152602001610219565b34801561025e57600080fd5b506002545b604051908152602001610219565b34801561027d57600080fd5b50600e54610291906001600160a01b031681565b6040516001600160a01b039091168152602001610219565b3480156102b557600080fd5b506102426102c4366004611941565b6107cc565b3480156102d557600080fd5b5060405160128152602001610219565b3480156102f157600080fd5b506101f56107f2565b34801561030657600080fd5b50600a54610291906001600160a01b031681565b34801561032657600080fd5b506102917f0000000000000000000000001f98415757620b543a52e61c46b32eb19261f98481565b34801561035a57600080fd5b50600b54610291906001600160a01b031681565b34801561037a57600080fd5b50600d54610291906001600160a01b031681565b34801561039a57600080fd5b5060105461024290610100900460ff1681565b3480156103b957600080fd5b506101f56108ab565b3480156103ce57600080fd5b50600954610291906001600160a01b031681565b3480156103ee57600080fd5b506101f56103fd36600461197d565b6108e9565b34801561040e57600080fd5b5061026361041d36600461197d565b6001600160a01b031660009081526020819052604090205490565b34801561044457600080fd5b506101f5610960565b34801561045957600080fd5b506101f5610468366004611998565b610972565b34801561047957600080fd5b506005546001600160a01b0316610291565b34801561049757600080fd5b5061020c610b96565b3480156104ac57600080fd5b506101f5610ba5565b3480156104c157600080fd5b506101f5610be7565b3480156104d657600080fd5b506102426104e5366004611917565b610c27565b3480156104f657600080fd5b506101f5610c35565b34801561050b57600080fd5b50610263600f5481565b34801561052157600080fd5b506101f56105303660046119fd565b610c72565b34801561054157600080fd5b5061026360075481565b34801561055757600080fd5b506010546102429060ff1681565b34801561057157600080fd5b50610263610580366004611a16565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156105b757600080fd5b5061026360085481565b3480156105cd57600080fd5b50600c54610291906001600160a01b031681565b3480156105ed57600080fd5b506101f56105fc36600461197d565b610cfb565b34801561060d57600080fd5b506101f561061c3660046119fd565b610d39565b6000816001600160a01b03163b60000361063d57506000919050565b506001919050565b919050565b6000612710600f546107d061065f9190611a5f565b6106699190611a76565b9050600081600f5461067b9190611a98565b9050600061271061068e346107d0611a5f565b6106989190611a76565b905060006106a68234611a98565b6009549091506106c290849083906001600160a01b0316610dbc565b1561071a5783600f60008282546106d99190611aab565b9091555050600e546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015610718573d6000803e3d6000fd5b505b50505050565b60606003805461072f90611abe565b80601f016020809104026020016040519081016040528092919081815260200182805461075b90611abe565b80156107a85780601f1061077d576101008083540402835291602001916107a8565b820191906000526020600020905b81548152906001019060200180831161078b57829003601f168201915b5050505050905090565b6000336107c0818585610f2c565b60019150505b92915050565b6000336107da858285610f3e565b6107e5858585610fb6565b60019150505b9392505050565b6107fa611015565b61080261103f565b33806108685760405162461bcd60e51b815260206004820152602a60248201527f424f5353546f6b656e3a2043616e6e6f74207472616e7366657220746f207a65604482015269726f206164647265737360b01b60648201526084015b60405180910390fd5b6040516001600160a01b038216904780156108fc02916000818181858888f1935050505015801561089d573d6000803e3d6000fd5b50506108a96001600655565b565b6108b361103f565b6010805461ff00191690556040517fcedc564c036e3fd2dd44323ce8b815c731dae6a27a74bcc1fa2710af50d81c5e90600090a1565b6108f161103f565b6001600160a01b03811661093e5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964207465616d206164647265737360601b604482015260640161085f565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b61096861103f565b6108a9600061106c565b61097a61103f565b6001600160a01b0385166109da5760405162461bcd60e51b815260206004820152602160248201527f496e76616c696420556e697377617020563220526f75746572206164647265736044820152607360f81b606482015260840161085f565b6001600160a01b038416610a305760405162461bcd60e51b815260206004820181905260248201527f496e76616c696420556e6976657273616c20526f757465722061646472657373604482015260640161085f565b6001600160a01b038316610a865760405162461bcd60e51b815260206004820152601f60248201527f496e76616c696420556e69737761702056322050616972206164647265737300604482015260640161085f565b6001600160a01b038216610aea5760405162461bcd60e51b815260206004820152602560248201527f496e76616c696420556e69737761702046656520436f6c6c6563746f72206164604482015264647265737360d81b606482015260840161085f565b6001600160a01b038116610b375760405162461bcd60e51b8152602060048201526014602482015273496e76616c69642057455448206164647265737360601b604482015260640161085f565b600980546001600160a01b03199081166001600160a01b0397881617909155600a8054821695871695909517909455600b8054851693861693909317909255600c80548416918516919091179055600d80549092169216919091179055565b60606004805461072f90611abe565b610bad61103f565b6010805461ff0019166101001790556040517f0ea5d24b3a4383f3e5b70fe2b986945838aae33da1c1919eaaa87016c2e2c70090600090a1565b610bef61103f565b6010805460ff191660011790556040517f8a7eeb133b73900810c0d1e21522a1f828e901bc802766a1d4b3f8ecf99ebfcb90600090a1565b6000336107c0818585610fb6565b610c3d61103f565b6010805460ff191690556040517f9d5a5988ace295ab0a8818ceda04f066906e11d396d372cc5259aaab554590b590600090a1565b610c7a61103f565b6109c4811115610cbf5760405162461bcd60e51b815260206004820152601060248201526f084eaf240cccaca40e8dede40d0d2ced60831b604482015260640161085f565b60078190556040518181527f7c1445c98b278c9970d007fca6048704bcb25af7cc4a04eb56565d9a9f149ca3906020015b60405180910390a150565b610d0361103f565b6001600160a01b038116610d2d57604051631e4fbdf760e01b81526000600482015260240161085f565b610d368161106c565b50565b610d4161103f565b6109c4811115610d875760405162461bcd60e51b81526020600482015260116024820152700a6cad8d840cccaca40e8dede40d0d2ced607b1b604482015260640161085f565b60088190556040518181527f495ee53ee22006979ebc689a00ed737d7c13b6419142f82dcaea4ed95ac1e78090602001610cf0565b6000807f0000000000000000000000001f98415757620b543a52e61c46b32eb19261f9846001600160a01b0316630f28c97d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e419190611af8565b610e4c90603c611aab565b90506000610e626005546001600160a01b031690565b9050610e6f308588610f2c565b60405163f305d71960e01b81523060048201526024810187905260006044820181905260648201526001600160a01b03828116608483015260a4820184905285169063f305d71990879060c40160606040518083038185885af193505050508015610ef7575060408051601f3d908101601f19168201909252610ef491810190611b11565b60015b610f06576000925050506107eb565b88600f6000828254610f189190611a98565b90915550600196506107eb95505050505050565b610f3983838360016110be565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461071a5781811015610fa757604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161085f565b61071a848484840360006110be565b6001600160a01b038316610fe057604051634b637e8f60e11b81526000600482015260240161085f565b6001600160a01b03821661100a5760405163ec442f0560e01b81526000600482015260240161085f565b610f39838383611193565b60026006540361103857604051633ee5aeb560e01b815260040160405180910390fd5b6002600655565b6005546001600160a01b031633146108a95760405163118cdaa760e01b815233600482015260240161085f565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166110e85760405163e602df0560e01b81526000600482015260240161085f565b6001600160a01b03831661111257604051634a1406b160e11b81526000600482015260240161085f565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561071a57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161118591815260200190565b60405180910390a350505050565b6001600160a01b0382166111e95760405162461bcd60e51b815260206004820152601d60248201527f424f5353546f6b656e3a20746f2061646472657373206973207a65726f000000604482015260640161085f565b60105460009060ff16801561120b5750600a546001600160a01b038581169116145b1561124b5760405162461bcd60e51b815260206004820152601060248201526f109d5e5a5b99c81a5cc81c185d5cd95960821b604482015260640161085f565b601054610100900460ff16801561126f5750600b546001600160a01b038481169116145b156112b05760405162461bcd60e51b815260206004820152601160248201527014d95b1b1a5b99c81a5cc81c185d5cd959607a1b604482015260640161085f565b600c546001600160a01b03908116908416036112f057600954600f546112e39130916001600160a01b03909116906113ab565b5061071a83306000611787565b6001600160a01b038416158015906113155750600b546001600160a01b038481169116145b1561133c576127106008548361132b9190611a5f565b6113359190611a76565b9050611382565b61134583610621565b15801561135f5750600a546001600160a01b038581169116145b1561138257612710600754836113759190611a5f565b61137f9190611a76565b90505b80156113a057600f80548201905590819003906113a0843083611787565b61071a848484611787565b600f546000901561177d576001600160a01b0384166114175760405162461bcd60e51b815260206004820152602260248201527f424f5353546f6b656e3a20746f6b656e496e2061646472657373206973207a65604482015261726f60f01b606482015260840161085f565b6001600160a01b0383166114775760405162461bcd60e51b815260206004820152602160248201527f424f5353546f6b656e3a20726f757465722061646472657373206973207a65726044820152606f60f81b606482015260840161085f565b6000611484600284611a76565b60405163095ea7b360e01b81526001600160a01b0386811660048301526024820183905291925060009187169063095ea7b3906044016020604051808303816000875af11580156114d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fd9190611b3f565b90508061154c5760405162461bcd60e51b815260206004820181905260248201527f424f5353546f6b656e3a20546f6b656e20617070726f76616c206661696c6564604482015260640161085f565b604051636eb1769f60e11b81523060048201526001600160a01b0386811660248301526000919088169063dd62ed3e90604401602060405180830381865afa15801561159c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c09190611af8565b604080516002808252606082018352929350600092909160208301908036833701905050905087816000815181106115fa576115fa611b61565b6001600160a01b039283166020918202929092010152600d5482519116908290600190811061162b5761162b611b61565b60200260200101906001600160a01b031690816001600160a01b03168152505060007f0000000000000000000000001f98415757620b543a52e61c46b32eb19261f9846001600160a01b0316630f28c97d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116cf9190611af8565b6116da90603c611aab565b60405163791ac94760e01b81529091506001600160a01b0389169063791ac94790611712908690600090879030908890600401611b77565b600060405180830381600087803b15801561172c57600080fd5b505af192505050801561173d575060015b61175f576000600f60008282546117549190611aab565b909155506117779050565b84600f60008282546117719190611a98565b90915550505b50505050505b5060019392505050565b6001600160a01b0383166117b25780600260008282546117a79190611aab565b909155506118249050565b6001600160a01b038316600090815260208190526040902054818110156118055760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161085f565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166118405760028054829003905561185f565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516118a491815260200190565b60405180910390a3505050565b60006020808352835180602085015260005b818110156118df578581018301518582016040015282016118c3565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461064557600080fd5b6000806040838503121561192a57600080fd5b61193383611900565b946020939093013593505050565b60008060006060848603121561195657600080fd5b61195f84611900565b925061196d60208501611900565b9150604084013590509250925092565b60006020828403121561198f57600080fd5b6107eb82611900565b600080600080600060a086880312156119b057600080fd5b6119b986611900565b94506119c760208701611900565b93506119d560408701611900565b92506119e360608701611900565b91506119f160808701611900565b90509295509295909350565b600060208284031215611a0f57600080fd5b5035919050565b60008060408385031215611a2957600080fd5b611a3283611900565b9150611a4060208401611900565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107c6576107c6611a49565b600082611a9357634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156107c6576107c6611a49565b808201808211156107c6576107c6611a49565b600181811c90821680611ad257607f821691505b602082108103611af257634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611b0a57600080fd5b5051919050565b600080600060608486031215611b2657600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611b5157600080fd5b815180151581146107eb57600080fd5b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015611bc95784516001600160a01b031683529383019391830191600101611ba4565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212201f07b484567a968470ebf3024531536b8bcbd5087f935d68bd6f0d2fb4802a7a64736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b75980d5a06416a86e73a023ee856be90f778659000000000000000000000000e90f50df0bf66234b231000e5fbdcb2221028c410000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000003fc91a3afd70395cd496c647d5a6cc9d4b2b7fad0000000000000000000000007299acb52e80a2678cbd5daac12b18e0311e051c000000000000000000000000000000fee13a103a10d593b9ae06b3e05f2e7e1c000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000001f98415757620b543a52e61c46b32eb19261f984
-----Decoded View---------------
Arg [0] : initialOwner (address): 0xB75980d5a06416A86e73A023EE856bE90F778659
Arg [1] : pteamAddress (address): 0xE90f50DF0bf66234B231000e5fBdcb2221028c41
Arg [2] : puniswapRouterV2 (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [3] : puniversalRouter (address): 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD
Arg [4] : puniswapV2Pair (address): 0x7299acB52E80a2678Cbd5DAAC12B18e0311E051c
Arg [5] : puniswapFeeCollector (address): 0x000000fee13a103A10D593b9AE06b3e05F2E7E1c
Arg [6] : pwethAddress (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [7] : pmulticallContract (address): 0x1F98415757620B543A52E61c46B32eB19261F984
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 000000000000000000000000b75980d5a06416a86e73a023ee856be90f778659
Arg [1] : 000000000000000000000000e90f50df0bf66234b231000e5fbdcb2221028c41
Arg [2] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [3] : 0000000000000000000000003fc91a3afd70395cd496c647d5a6cc9d4b2b7fad
Arg [4] : 0000000000000000000000007299acb52e80a2678cbd5daac12b18e0311e051c
Arg [5] : 000000000000000000000000000000fee13a103a10d593b9ae06b3e05f2e7e1c
Arg [6] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [7] : 0000000000000000000000001f98415757620b543a52e61c46b32eb19261f984
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.