ERC-20
Overview
Max Total Supply
8,888,888,888 Pepeland
Holders
123
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.00000000181630532 PepelandValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Pepeland
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 20000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {ERC20UniswapV2InternalSwaps} from "./ERC20UniswapV2InternalSwaps.sol"; contract Pepeland is ERC20, Ownable, ERC20UniswapV2InternalSwaps { /** @notice Minimum threshold in ETH to trigger #swapTokensAndAddLiquidity. */ uint256 public constant SWAP_THRESHOLD_ETH_MIN = 0.005 ether; /** @notice Maximum threshold in ETH to trigger #swapTokensAndAddLiquidity. */ uint256 public constant SWAP_THRESHOLD_ETH_MAX = 50 ether; uint256 private constant _SHARE_LIQUIDITY = 70; uint256 private constant _MAX_SUPPLY = 8_888_888_888 ether; uint256 private constant _SUPPLY_LIQUIDITY = (_MAX_SUPPLY * _SHARE_LIQUIDITY) / 100; uint256 private constant _LAUNCH_BUY_TAX = 0; uint256 private constant _LAUNCH_SELL_TAX = 69_00; uint256 private constant _LAUNCH_TAX_WINDOW = 15 minutes; /** @notice Tax recipient wallet. */ address public taxRecipient; /** @notice Whether address is extempt from transfer tax. */ mapping(address => bool) public taxFreeAccount; /** @notice Whether address is an exchange pool. */ mapping(address => bool) public isExchangePool; /** @notice Threshold in ETH of tokens to collect before triggering #swapTokensAndAddLiquidity. */ uint256 public swapThresholdEth = 0.1 ether; /** @notice Tax manager. @dev Can **NOT** change transfer taxes. */ address public taxManager; /** @notice Buy tax in bps (4.20%). In first hour after adding liquidity, buy tax will be #_LAUNCH_BUY_TAX. */ uint256 public buyTax = 4_20; /** @notice Sell tax in bps (6.9%). In first hour after adding liquidity, sell tax will be #_LAUNCH_SELL_TAX. */ uint256 public sellTax = 6_90; uint256 private _launchTaxEndsAt = type(uint256).max; event TaxRecipientChanged(address indexed taxRecipient); event SwapThresholdChanged(uint256 swapThresholdEth); event TaxFreeStateChanged(address indexed account, bool indexed taxFree); event ExchangePoolStateChanged( address indexed account, bool indexed isExchangePool ); event TaxManagerChanged(address indexed taxManager); event TaxesChanged(uint256 newBuyTax, uint256 newSellTax); event TaxesWithdrawn(uint256 amount); error Unauthorized(); error InvalidParameters(); error InvalidSwapThreshold(); error InvalidTax(); modifier onlyTaxManager() { if (msg.sender != taxManager) { revert Unauthorized(); } _; } constructor( address _owner, address _taxRecipient, address _taxManager ) ERC20("Pepeland", "Pepeland") { _transferOwnership(_owner); taxManager = _taxManager; emit TaxManagerChanged(_taxManager); taxRecipient = _taxRecipient; emit TaxRecipientChanged(_taxRecipient); taxFreeAccount[_taxRecipient] = true; emit TaxFreeStateChanged(_taxRecipient, true); taxFreeAccount[address(this)] = true; emit TaxFreeStateChanged(address(this), true); isExchangePool[pair] = true; emit ExchangePoolStateChanged(pair, true); emit TaxesChanged(buyTax, sellTax); _mint(address(this), _SUPPLY_LIQUIDITY); _mint(_taxRecipient, _MAX_SUPPLY - _SUPPLY_LIQUIDITY); } // *** Owner Interface *** /** * @notice Launch the token by providing liquidity. * @dev Only callable by owner, renounces ownership. */ function launch() external payable onlyOwner { _addInitialLiquidityEth(_SUPPLY_LIQUIDITY, msg.value, msg.sender); _launchTaxEndsAt = block.timestamp + _LAUNCH_TAX_WINDOW; renounceOwnership(); } // *** Tax Manager Interface *** /** * @notice Set `taxFree` state of `account`. * @param account account * @param taxFree true if `account` should be extempt from transfer taxes. * @dev Only callable by taxManager. */ function setTaxFreeAccount( address account, bool taxFree ) external onlyTaxManager { if (taxFreeAccount[account] == taxFree) { revert InvalidParameters(); } taxFreeAccount[account] = taxFree; emit TaxFreeStateChanged(account, taxFree); } /** * @notice Set `exchangePool` state of `account` * @param account account * @param exchangePool whether `account` is an exchangePool * @dev ExchangePool state is used to decide if transfer is a swap * and should trigger #swapTokensAndAddLiquidity. */ function setExchangePool( address account, bool exchangePool ) external onlyTaxManager { if (isExchangePool[account] == exchangePool) { revert InvalidParameters(); } isExchangePool[account] = exchangePool; emit ExchangePoolStateChanged(account, exchangePool); } /** * @notice Transfer taxManager role to `newTaxManager`. * @param newTaxManager new taxManager * @dev Only callable by taxManager. */ function transferTaxManager(address newTaxManager) external onlyTaxManager { if (newTaxManager == taxManager) { revert InvalidParameters(); } taxManager = newTaxManager; emit TaxManagerChanged(newTaxManager); } /** * @notice Set taxRecipient address to `newTaxRecipient`. * @param newTaxRecipient new taxRecipient * @dev Only callable by taxManager. */ function setTaxRecipient(address newTaxRecipient) external onlyTaxManager { if (newTaxRecipient == taxRecipient) { revert InvalidParameters(); } taxRecipient = newTaxRecipient; emit TaxRecipientChanged(newTaxRecipient); } /** * @notice Withdraw tax collected (which would usually be automatically swapped to weth) to taxRecipient * @dev Only callable by taxManager. */ function withdrawTaxes() external onlyTaxManager { uint256 balance = balanceOf(address(this)); if (balance > 0) { super._transfer(address(this), taxRecipient, balance); emit TaxesWithdrawn(balance); } } /** * @notice Change the amount of tokens collected via tax before a swap is triggered. * @param newSwapThresholdEth new threshold received in ETH * @dev Only callable by taxManager */ function setSwapThresholdEth( uint256 newSwapThresholdEth ) external onlyTaxManager { if ( newSwapThresholdEth < SWAP_THRESHOLD_ETH_MIN || newSwapThresholdEth > SWAP_THRESHOLD_ETH_MAX || newSwapThresholdEth == swapThresholdEth ) { revert InvalidSwapThreshold(); } swapThresholdEth = newSwapThresholdEth; emit SwapThresholdChanged(newSwapThresholdEth); } /** * @notice Set tax for buying and selling the token * @param newBuyTax new buy tax in bps * @param newSellTax new sell tax in bps * @dev Only callable by taxManager */ function lowerTaxes( uint256 newBuyTax, uint256 newSellTax ) external onlyTaxManager { if (newBuyTax >= buyTax || newSellTax >= sellTax) { revert InvalidTax(); } buyTax = newBuyTax; sellTax = newSellTax; emit TaxesChanged(newBuyTax, newSellTax); } /** * @notice Threshold of how many tokens to collect from tax before calling #swapTokens. * @dev Depends on swapThresholdEth which can be configured by taxManager. * Restricted to 5% of liquidity. */ function swapThresholdToken() public view returns (uint256) { (uint reserveToken, uint reserveWeth) = _getReserve(); uint256 maxSwapEth = (reserveWeth * 5) / 100; return _getAmountToken( swapThresholdEth > maxSwapEth ? maxSwapEth : swapThresholdEth, reserveToken, reserveWeth ); } /** @notice Get current buy tax depending on current timestamp. */ function currentBuyTax() public view returns (uint256) { return _getTax(true); } /** @notice Get current buy tax depending on current timestamp. */ function currentSellTax() public view returns (uint256) { return _getTax(false); } // *** Internal Interface *** /** @notice IERC20#_transfer */ function _transfer( address from, address to, uint256 amount ) internal virtual override { if ( !taxFreeAccount[from] && !taxFreeAccount[to] && !taxFreeAccount[msg.sender] ) { uint256 fee = amount * _getTax(isExchangePool[from]) / 100_00; super._transfer(from, address(this), fee); unchecked { amount -= fee; } if (isExchangePool[to]) /* selling */ { _swapTokens(swapThresholdToken()); } } super._transfer(from, to, amount); } /** @dev Get transfer tax depending on current timestamp and `isBuy`. */ function _getTax(bool isBuy) private view returns (uint256) { return isBuy ? ( block.timestamp < _launchTaxEndsAt ? _LAUNCH_BUY_TAX : buyTax ) : ( block.timestamp < _launchTaxEndsAt ? _LAUNCH_SELL_TAX : sellTax ); } /** @dev Transfer `amount` tokens from contract balance to `to`. */ function _transferFromContractBalance( address to, uint256 amount ) internal override { super._transfer(address(this), to, amount); } /** * @notice Swap `amountToken` collected from tax to WETH to add to send to taxRecipient. */ function _swapTokens(uint256 amountToken) internal { if (balanceOf(address(this)) < amountToken) { return; } _swapForWETH(amountToken, taxRecipient); } }
// 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); } }
// 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 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); }
// 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 pragma solidity 0.8.19; interface IUniswapV2Pair { function getReserves() external view returns (uint112 reserve0, uint112 reserve1); function swap( uint amount0Out, uint amount1Out, address to, bytes calldata data ) external; function mint(address to) external; } interface IUniswapV2Factory { function createPair( address tokenA, address tokenB ) external returns (address pair); } interface IERC20 { function transferFrom(address from, address to, uint amount) external; function balanceOf(address account) external view returns (uint); function approve(address spender, uint256 amount) external; } interface IWETH { function deposit() external payable; } /** * @notice UniswapV2Pair does not allow to receive to token0 or token1. * As a workaround, this contract can receive tokens and has max approval * for the creator. */ contract ERC20HolderWithApproval { constructor(address token) { IERC20(token).approve(msg.sender, type(uint256).max); } } /** * @notice Gas optimized ERC20 token based on solmate's ERC20 contract. * @dev Optimizations assume a UniswapV2 WETH pair as main liquidity. */ abstract contract ERC20UniswapV2InternalSwaps { address private constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; address private constant FACTORY = 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f; address private immutable wethReceiver; address public immutable pair; error InvalidAddress(); constructor() { // assumption to save additional gas if (address(this) >= WETH) { revert InvalidAddress(); } pair = IUniswapV2Factory(FACTORY).createPair(address(this), WETH); wethReceiver = address(new ERC20HolderWithApproval(WETH)); } /** * @dev Swap tokens to WETH directly on pair, to save gas. * No check for minimal return, susceptible to price manipulation! */ function _swapForWETH(uint amountToken, address to) internal { uint amountWeth = _getAmountWeth(amountToken); _transferFromContractBalance(pair, amountToken); // Pair prevents receiving tokens to one of the pairs addresses IUniswapV2Pair(pair).swap(0, amountWeth, wethReceiver, new bytes(0)); IERC20(WETH).transferFrom(wethReceiver, to, amountWeth); } /** * @dev Add tokens and WETH to liquidity, directly on pair, to save gas. * No check for minimal return, susceptible to price manipulation! * Sufficient WETH in contract balancee assumed! */ function _addLiquidity( uint amountToken, address to ) internal returns (uint amountWeth) { amountWeth = _quoteToken(amountToken); _transferFromContractBalance(pair, amountToken); IERC20(WETH).transferFrom(address(this), pair, amountWeth); IUniswapV2Pair(pair).mint(to); } /** * @dev Add tokens and WETH as initial liquidity, directly on pair, to save gas. * No checks performed. Caller has to make sure to have access to the token before public! * Sufficient WETH in contract balancee assumed! */ function _addInitialLiquidity( uint amountToken, uint amountWeth, address to ) internal { _transferFromContractBalance(pair, amountToken); IERC20(WETH).transferFrom(address(this), pair, amountWeth); IUniswapV2Pair(pair).mint(to); } /** * @dev Add tokens and ETH as initial liquidity, directly on pair, to save gas. * No checks performed. Caller has to make sure to have access to the token before public! * Sufficient ETH in contract balancee assumed! */ function _addInitialLiquidityEth( uint amountToken, uint amountEth, address to ) internal { IWETH(WETH).deposit{value: amountEth}(); _addInitialLiquidity(amountToken, amountEth, to); } /** @dev Transfer all WETH from contract balance to `to`. */ function _sweepWeth(address to) internal returns (uint amountWeth) { amountWeth = IERC20(WETH).balanceOf(address(this)); IERC20(WETH).transferFrom(address(this), to, amountWeth); } /** @dev Transfer all ETH from contract balance to `to`. */ function _sweepEth(address to) internal { _safeTransferETH(to, address(this).balance); } /** @dev Quote `amountToken` in ETH, assuming no fees (used for liquidity). */ function _quoteToken( uint amountToken ) internal view returns (uint amountEth) { (uint reserveToken, uint reserveEth) = IUniswapV2Pair(pair) .getReserves(); amountEth = (amountToken * reserveEth) / reserveToken; } /** @dev Quote `amountToken` in WETH, assuming 0.3% uniswap fees (used for swap). */ function _getAmountWeth( uint amounToken ) internal view returns (uint amountWeth) { (uint reserveToken, uint reserveWeth) = IUniswapV2Pair(pair) .getReserves(); uint amountTokenWithFee = amounToken * 997; uint numerator = amountTokenWithFee * reserveWeth; uint denominator = (reserveToken * 1000) + amountTokenWithFee; amountWeth = numerator / denominator; } /** @dev Quote `amountWeth` in tokens, assuming 0.3% uniswap fees (used for swap). */ function _getAmountToken( uint amounWeth, uint reserveToken, uint reserveWeth ) internal pure returns (uint amountToken) { uint numerator = reserveToken * amounWeth * 1000; uint denominator = (reserveWeth - amounWeth) * 997; amountToken = (numerator / denominator) + 1; } /** @dev Get reserves of pair. */ function _getReserve() internal view returns (uint reserveToken, uint reserveWeth) { (reserveToken, reserveWeth) = IUniswapV2Pair(pair).getReserves(); } /** @dev Transfer `amount` ETH to `to` gas efficiently. */ function _safeTransferETH(address to, uint256 amount) internal { bool success; /// @solidity memory-safe-assembly assembly { // solhint-disable-line no-inline-assembly // Transfer the ETH and store if it succeeded or not. success := call(gas(), to, amount, 0, 0, 0, 0) } require(success, "ETH_TRANSFER_FAILED"); } /** @dev Returns true if `_address` is a contract. */ function _isContract(address _address) internal view returns (bool) { uint32 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(_address) } return (size > 0); } /** @dev Transfeer `amount` tokens from contract balance to `to`. */ function _transferFromContractBalance( address to, uint256 amount ) internal virtual; }
{ "optimizer": { "enabled": true, "runs": 20000 }, "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":"_owner","type":"address"},{"internalType":"address","name":"_taxRecipient","type":"address"},{"internalType":"address","name":"_taxManager","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidAddress","type":"error"},{"inputs":[],"name":"InvalidParameters","type":"error"},{"inputs":[],"name":"InvalidSwapThreshold","type":"error"},{"inputs":[],"name":"InvalidTax","type":"error"},{"inputs":[],"name":"Unauthorized","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":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"bool","name":"isExchangePool","type":"bool"}],"name":"ExchangePoolStateChanged","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":"swapThresholdEth","type":"uint256"}],"name":"SwapThresholdChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"bool","name":"taxFree","type":"bool"}],"name":"TaxFreeStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"taxManager","type":"address"}],"name":"TaxManagerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"taxRecipient","type":"address"}],"name":"TaxRecipientChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newBuyTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newSellTax","type":"uint256"}],"name":"TaxesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TaxesWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"SWAP_THRESHOLD_ETH_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SWAP_THRESHOLD_ETH_MIN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSellTax","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":[{"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":"","type":"address"}],"name":"isExchangePool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newBuyTax","type":"uint256"},{"internalType":"uint256","name":"newSellTax","type":"uint256"}],"name":"lowerTaxes","outputs":[],"stateMutability":"nonpayable","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":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"exchangePool","type":"bool"}],"name":"setExchangePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSwapThresholdEth","type":"uint256"}],"name":"setSwapThresholdEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"taxFree","type":"bool"}],"name":"setTaxFreeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTaxRecipient","type":"address"}],"name":"setTaxRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapThresholdEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapThresholdToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxFreeAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRecipient","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":"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":[{"internalType":"address","name":"newTaxManager","type":"address"}],"name":"transferTaxManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c060405267016345785d8a00006009556101a4600b556102b2600c55600019600d553480156200002f57600080fd5b5060405162002bd738038062002bd783398101604081905262000052916200055e565b60408051808201825260088082526714195c195b185b9960c21b60208084018290528451808601909552918452908301529060036200009283826200064c565b506004620000a182826200064c565b505050620000be620000b86200041260201b60201c565b62000416565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc23010620000f35760405163e6c4247b60e01b815260040160405180910390fd5b6040516364e329cb60e11b815230600482015273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26024820152735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f9063c9c65396906044016020604051808303816000875af11580156200015f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000185919062000718565b6001600160a01b031660a05260405173c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290620001b59062000533565b6001600160a01b039091168152602001604051809103906000f080158015620001e2573d6000803e3d6000fd5b506001600160a01b0316608052620001fa8362000416565b600a80546001600160a01b0319166001600160a01b0383169081179091556040517f4f06221442f29c68561a21b361dae6cd59eeb67b7cded6395d590a4e1d2fd3a290600090a2600680546001600160a01b0319166001600160a01b0384169081179091556040517f252e37823f8325a28d11c9bfaa110c2e0587d3e41cf2a02d5de57536c058e68990600090a26001600160a01b038216600081815260076020526040808220805460ff19166001908117909155905190929160008051602062002bb783398151915291a330600081815260076020526040808220805460ff19166001908117909155905190929160008051602062002bb783398151915291a360a0516001600160a01b0316600081815260086020526040808220805460ff1916600190811790915590519092917fd3763f1074087e38245af8391cfa3acdb23e0553090104fd7b85667d7328752991a37f5eee0b95930ee59011f34615b0b7dc6cc58c01d1f07d04a01a3a1e70d2554cf0600b54600c546040516200038b929190918252602082015260400190565b60405180910390a1620003c5306064620003b360466b1cb8b7702ae75fb695e0000062000753565b620003bf919062000773565b62000468565b62000409826064620003e560466b1cb8b7702ae75fb695e0000062000753565b620003f1919062000773565b620003bf906b1cb8b7702ae75fb695e0000062000796565b505050620007c2565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620004c35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620004d79190620007ac565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b61010b8062002aac83390190565b80516001600160a01b03811681146200055957600080fd5b919050565b6000806000606084860312156200057457600080fd5b6200057f8462000541565b92506200058f6020850162000541565b91506200059f6040850162000541565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005d357607f821691505b602082108103620005f457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200052e57600081815260208120601f850160051c81016020861015620006235750805b601f850160051c820191505b8181101562000644578281556001016200062f565b505050505050565b81516001600160401b03811115620006685762000668620005a8565b6200068081620006798454620005be565b84620005fa565b602080601f831160018114620006b857600084156200069f5750858301515b600019600386901b1c1916600185901b17855562000644565b600085815260208120601f198616915b82811015620006e957888601518255948401946001909101908401620006c8565b5085821015620007085787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200072b57600080fd5b620007368262000541565b9392505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200076d576200076d6200073d565b92915050565b6000826200079157634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156200076d576200076d6200073d565b808201808211156200076d576200076d6200073d565b60805160a05161228c62000820600039600081816105bc0152818161199301528181611a9301528181611afb01528181611bbb01528181611c7e01528181611cef0152611e16015260008181611d1f0152611db5015261228c6000f3fe6080604052600436106102345760003560e01c8063737ea06e11610138578063a8aa1b31116100b0578063ddf4d5191161007f578063e09d6bc611610064578063e09d6bc614610699578063f2fde38b146106b9578063f5a4fa1e146106d957600080fd5b8063ddf4d51914610667578063dfc56b111461067c57600080fd5b8063a8aa1b31146105aa578063a9059cbb146105de578063cc1776d3146105fe578063dd62ed3e1461061457600080fd5b806383e03b341161010757806395d89b41116100ec57806395d89b4114610555578063a2aa18ad1461056a578063a457c2d71461058a57600080fd5b806383e03b34146105155780638da5cb5b1461052a57600080fd5b8063737ea06e14610498578063774378e4146104c557806378e3079e146104da57806381e172ca146104fa57600080fd5b8063313ce567116101cb5780634f7041a51161019a57806357d0a9821161017f57806357d0a9821461042057806370a0823114610440578063715018a61461048357600080fd5b80634f7041a5146103ea57806352fd28a61461040057600080fd5b8063313ce56714610347578063395093511461036357806346829831146103835780634d2377301461039857600080fd5b806318160ddd1161020757806318160ddd146102c257806318f60b69146102d757806323b872dd14610307578063263b82371461032757600080fd5b806301339c211461023957806306fdde0314610243578063095ea7b31461026e5780631465000e1461029e575b600080fd5b610241610709565b005b34801561024f57600080fd5b50610258610757565b6040516102659190611f6b565b60405180910390f35b34801561027a57600080fd5b5061028e610289366004611fae565b6107e9565b6040519015158152602001610265565b3480156102aa57600080fd5b506102b460095481565b604051908152602001610265565b3480156102ce57600080fd5b506002546102b4565b3480156102e357600080fd5b5061028e6102f2366004611fd8565b60086020526000908152604090205460ff1681565b34801561031357600080fd5b5061028e610322366004611ff3565b610803565b34801561033357600080fd5b5061024161034236600461202f565b610827565b34801561035357600080fd5b5060405160128152602001610265565b34801561036f57600080fd5b5061028e61037e366004611fae565b61095e565b34801561038f57600080fd5b506102416109aa565b3480156103a457600080fd5b50600a546103c59073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610265565b3480156103f657600080fd5b506102b4600b5481565b34801561040c57600080fd5b5061024161041b36600461202f565b610a6e565b34801561042c57600080fd5b5061024161043b36600461206b565b610ba5565b34801561044c57600080fd5b506102b461045b366004611fd8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b34801561048f57600080fd5b50610241610c87565b3480156104a457600080fd5b506006546103c59073ffffffffffffffffffffffffffffffffffffffff1681565b3480156104d157600080fd5b506102b4610c99565b3480156104e657600080fd5b506102416104f5366004611fd8565b610caa565b34801561050657600080fd5b506102b46611c37937e0800081565b34801561052157600080fd5b506102b4610dbf565b34801561053657600080fd5b5060055473ffffffffffffffffffffffffffffffffffffffff166103c5565b34801561056157600080fd5b50610258610dcb565b34801561057657600080fd5b50610241610585366004611fd8565b610dda565b34801561059657600080fd5b5061028e6105a5366004611fae565b610eef565b3480156105b657600080fd5b506103c57f000000000000000000000000000000000000000000000000000000000000000081565b3480156105ea57600080fd5b5061028e6105f9366004611fae565b610fc5565b34801561060a57600080fd5b506102b4600c5481565b34801561062057600080fd5b506102b461062f36600461208d565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b34801561067357600080fd5b506102b4610fd3565b34801561068857600080fd5b506102b46802b5e3af16b188000081565b3480156106a557600080fd5b506102416106b43660046120c0565b611025565b3480156106c557600080fd5b506102416106d4366004611fd8565b61110b565b3480156106e557600080fd5b5061028e6106f4366004611fd8565b60076020526000908152604090205460ff1681565b6107116111bf565b61073e606461072d60466b1cb8b7702ae75fb695e00000612108565b610737919061211f565b3433611240565b61074a6103844261215a565b600d55610755610c87565b565b6060600380546107669061216d565b80601f01602080910402602001604051908101604052809291908181526020018280546107929061216d565b80156107df5780601f106107b4576101008083540402835291602001916107df565b820191906000526020600020905b8154815290600101906020018083116107c257829003601f168201915b5050505050905090565b6000336107f78185856112c5565b60019150505b92915050565b600033610811858285611478565b61081c85858561154f565b506001949350505050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314610878576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526008602052604090205481151560ff9091161515036108df576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526008602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917fd3763f1074087e38245af8391cfa3acdb23e0553090104fd7b85667d7328752991a35050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906107f790829086906109a590879061215a565b6112c5565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146109fb576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b306000908152602081905260409020548015610a6b57600654610a3690309073ffffffffffffffffffffffffffffffffffffffff168361166f565b6040518181527f37cc5ea62b518495d042cabfa45c5e43aeae690552efa3b7341854331e05662f906020015b60405180910390a15b50565b600a5473ffffffffffffffffffffffffffffffffffffffff163314610abf576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205481151560ff909116151503610b26576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526007602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917f02ebf20869d52e173b3abfc35a2c8f7efc7901edff0691526afa5d21fa2ce92291a35050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314610bf6576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b5482101580610c095750600c548110155b15610c40576040517f37d4ed5b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b829055600c81905560408051838152602081018390527f5eee0b95930ee59011f34615b0b7dc6cc58c01d1f07d04a01a3a1e70d2554cf0910160405180910390a15050565b610c8f6111bf565b61075560006118de565b6000610ca56000611955565b905090565b600a5473ffffffffffffffffffffffffffffffffffffffff163314610cfb576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065473ffffffffffffffffffffffffffffffffffffffff90811690821603610d50576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f252e37823f8325a28d11c9bfaa110c2e0587d3e41cf2a02d5de57536c058e68990600090a250565b6000610ca56001611955565b6060600480546107669061216d565b600a5473ffffffffffffffffffffffffffffffffffffffff163314610e2b576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5473ffffffffffffffffffffffffffffffffffffffff90811690821603610e80576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f4f06221442f29c68561a21b361dae6cd59eeb67b7cded6395d590a4e1d2fd3a290600090a250565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610fb8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61081c82868684036112c5565b6000336107f781858561154f565b6000806000610fe061198e565b909250905060006064610ff4836005612108565b610ffe919061211f565b905061101d816009541161101457600954611016565b815b8484611a3a565b935050505090565b600a5473ffffffffffffffffffffffffffffffffffffffff163314611076576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6611c37937e0800081108061109357506802b5e3af16b188000081115b8061109f575060095481145b156110d6576040517fcb9e92ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60098190556040518181527f9ff241d1f1e0c30788ac08c45391c423cc5ef3e67f66a46b95a9a8f394759f3690602001610a62565b6111136111bf565b73ffffffffffffffffffffffffffffffffffffffff81166111b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610faf565b610a6b816118de565b60055473ffffffffffffffffffffffffffffffffffffffff163314610755576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610faf565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b15801561129c57600080fd5b505af11580156112b0573d6000803e3d6000fd5b50505050506112c0838383611a8e565b505050565b73ffffffffffffffffffffffffffffffffffffffff8316611367576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610faf565b73ffffffffffffffffffffffffffffffffffffffff821661140a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610faf565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611549578181101561153c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610faf565b61154984848484036112c5565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526007602052604090205460ff161580156115ab575073ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff16155b80156115c757503360009081526007602052604090205460ff16155b156116685773ffffffffffffffffffffffffffffffffffffffff8316600090815260086020526040812054612710906116029060ff16611955565b61160c9084612108565b611616919061211f565b905061162384308361166f565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260086020526040902054918190039160ff161561166657611666611661610fd3565b611c1f565b505b6112c08383835b73ffffffffffffffffffffffffffffffffffffffff8316611712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610faf565b73ffffffffffffffffffffffffffffffffffffffff82166117b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610faf565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260409020548181101561186b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610faf565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611549565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008161197557600d54421061196d57600c546107fd565b611af46107fd565b600d54421061198657600b546107fd565b600092915050565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b81526004016040805180830381865afa1580156119fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1f91906121de565b6dffffffffffffffffffffffffffff91821694911692509050565b600080611a478585612108565b611a53906103e8612108565b90506000611a618685612208565b611a6d906103e5612108565b9050611a79818361211f565b611a8490600161215a565b9695505050505050565b611ab87f000000000000000000000000000000000000000000000000000000000000000084611c5d565b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001660248201526044810183905273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906323b872dd90606401600060405180830381600087803b158015611b6057600080fd5b505af1158015611b74573d6000803e3d6000fd5b50506040517f6a62784200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301527f0000000000000000000000000000000000000000000000000000000000000000169250636a62784291506024015b600060405180830381600087803b158015611c0257600080fd5b505af1158015611c16573d6000803e3d6000fd5b50505050505050565b30600090815260208190526040902054811115611c395750565b600654610a6b90829073ffffffffffffffffffffffffffffffffffffffff16611c6c565b611c6830838361166f565b5050565b6000611c7783611e0f565b9050611ca37f000000000000000000000000000000000000000000000000000000000000000084611c5d565b60408051600080825260208201928390527f022c0d9f0000000000000000000000000000000000000000000000000000000090925273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169163022c0d9f91611d48919085907f0000000000000000000000000000000000000000000000000000000000000000906024810161221b565b600060405180830381600087803b158015611d6257600080fd5b505af1158015611d76573d6000803e3d6000fd5b50506040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152851660248201526044810184905273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc292506323b872dd9150606401611be8565b60008060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b81526004016040805180830381865afa158015611e7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea291906121de565b6dffffffffffffffffffffffffffff91821693501690506000611ec7856103e5612108565b90506000611ed58383612108565b9050600082611ee6866103e8612108565b611ef0919061215a565b9050611efc818361211f565b979650505050505050565b6000815180845260005b81811015611f2d57602081850181015186830182015201611f11565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b602081526000611f7e6020830184611f07565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611fa957600080fd5b919050565b60008060408385031215611fc157600080fd5b611fca83611f85565b946020939093013593505050565b600060208284031215611fea57600080fd5b611f7e82611f85565b60008060006060848603121561200857600080fd5b61201184611f85565b925061201f60208501611f85565b9150604084013590509250925092565b6000806040838503121561204257600080fd5b61204b83611f85565b91506020830135801515811461206057600080fd5b809150509250929050565b6000806040838503121561207e57600080fd5b50508035926020909101359150565b600080604083850312156120a057600080fd5b6120a983611f85565b91506120b760208401611f85565b90509250929050565b6000602082840312156120d257600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820281158282048414176107fd576107fd6120d9565b600082612155577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b808201808211156107fd576107fd6120d9565b600181811c9082168061218157607f821691505b6020821081036121ba577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b80516dffffffffffffffffffffffffffff81168114611fa957600080fd5b600080604083850312156121f157600080fd5b6121fa836121c0565b91506120b7602084016121c0565b818103818111156107fd576107fd6120d9565b84815283602082015273ffffffffffffffffffffffffffffffffffffffff83166040820152608060608201526000611a846080830184611f0756fea26469706673582212200b6ce69cf22da6373c3703d0052a391ca6e3c0155c5254da9d7e376c780ae41864736f6c634300081300336080604052348015600f57600080fd5b5060405161010b38038061010b833981016040819052602c916090565b60405163095ea7b360e01b815233600482015260001960248201526001600160a01b0382169063095ea7b390604401600060405180830381600087803b158015607457600080fd5b505af11580156087573d6000803e3d6000fd5b505050505060be565b60006020828403121560a157600080fd5b81516001600160a01b038116811460b757600080fd5b9392505050565b603f806100cc6000396000f3fe6080604052600080fdfea26469706673582212209e8dfe26ed96a3c7febfde7bbd8a51c7c6822477096574b18151e4effd28e84764736f6c6343000813003302ebf20869d52e173b3abfc35a2c8f7efc7901edff0691526afa5d21fa2ce922000000000000000000000000587534e31637b38624d107f9cf2b5eed028820050000000000000000000000003b2b28739421e0833072d98309eb7b2eb1ce4f810000000000000000000000003b2b28739421e0833072d98309eb7b2eb1ce4f81
Deployed Bytecode
0x6080604052600436106102345760003560e01c8063737ea06e11610138578063a8aa1b31116100b0578063ddf4d5191161007f578063e09d6bc611610064578063e09d6bc614610699578063f2fde38b146106b9578063f5a4fa1e146106d957600080fd5b8063ddf4d51914610667578063dfc56b111461067c57600080fd5b8063a8aa1b31146105aa578063a9059cbb146105de578063cc1776d3146105fe578063dd62ed3e1461061457600080fd5b806383e03b341161010757806395d89b41116100ec57806395d89b4114610555578063a2aa18ad1461056a578063a457c2d71461058a57600080fd5b806383e03b34146105155780638da5cb5b1461052a57600080fd5b8063737ea06e14610498578063774378e4146104c557806378e3079e146104da57806381e172ca146104fa57600080fd5b8063313ce567116101cb5780634f7041a51161019a57806357d0a9821161017f57806357d0a9821461042057806370a0823114610440578063715018a61461048357600080fd5b80634f7041a5146103ea57806352fd28a61461040057600080fd5b8063313ce56714610347578063395093511461036357806346829831146103835780634d2377301461039857600080fd5b806318160ddd1161020757806318160ddd146102c257806318f60b69146102d757806323b872dd14610307578063263b82371461032757600080fd5b806301339c211461023957806306fdde0314610243578063095ea7b31461026e5780631465000e1461029e575b600080fd5b610241610709565b005b34801561024f57600080fd5b50610258610757565b6040516102659190611f6b565b60405180910390f35b34801561027a57600080fd5b5061028e610289366004611fae565b6107e9565b6040519015158152602001610265565b3480156102aa57600080fd5b506102b460095481565b604051908152602001610265565b3480156102ce57600080fd5b506002546102b4565b3480156102e357600080fd5b5061028e6102f2366004611fd8565b60086020526000908152604090205460ff1681565b34801561031357600080fd5b5061028e610322366004611ff3565b610803565b34801561033357600080fd5b5061024161034236600461202f565b610827565b34801561035357600080fd5b5060405160128152602001610265565b34801561036f57600080fd5b5061028e61037e366004611fae565b61095e565b34801561038f57600080fd5b506102416109aa565b3480156103a457600080fd5b50600a546103c59073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610265565b3480156103f657600080fd5b506102b4600b5481565b34801561040c57600080fd5b5061024161041b36600461202f565b610a6e565b34801561042c57600080fd5b5061024161043b36600461206b565b610ba5565b34801561044c57600080fd5b506102b461045b366004611fd8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b34801561048f57600080fd5b50610241610c87565b3480156104a457600080fd5b506006546103c59073ffffffffffffffffffffffffffffffffffffffff1681565b3480156104d157600080fd5b506102b4610c99565b3480156104e657600080fd5b506102416104f5366004611fd8565b610caa565b34801561050657600080fd5b506102b46611c37937e0800081565b34801561052157600080fd5b506102b4610dbf565b34801561053657600080fd5b5060055473ffffffffffffffffffffffffffffffffffffffff166103c5565b34801561056157600080fd5b50610258610dcb565b34801561057657600080fd5b50610241610585366004611fd8565b610dda565b34801561059657600080fd5b5061028e6105a5366004611fae565b610eef565b3480156105b657600080fd5b506103c57f000000000000000000000000dbd320459c030f12302390a59e2c8fd1cecd971481565b3480156105ea57600080fd5b5061028e6105f9366004611fae565b610fc5565b34801561060a57600080fd5b506102b4600c5481565b34801561062057600080fd5b506102b461062f36600461208d565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b34801561067357600080fd5b506102b4610fd3565b34801561068857600080fd5b506102b46802b5e3af16b188000081565b3480156106a557600080fd5b506102416106b43660046120c0565b611025565b3480156106c557600080fd5b506102416106d4366004611fd8565b61110b565b3480156106e557600080fd5b5061028e6106f4366004611fd8565b60076020526000908152604090205460ff1681565b6107116111bf565b61073e606461072d60466b1cb8b7702ae75fb695e00000612108565b610737919061211f565b3433611240565b61074a6103844261215a565b600d55610755610c87565b565b6060600380546107669061216d565b80601f01602080910402602001604051908101604052809291908181526020018280546107929061216d565b80156107df5780601f106107b4576101008083540402835291602001916107df565b820191906000526020600020905b8154815290600101906020018083116107c257829003601f168201915b5050505050905090565b6000336107f78185856112c5565b60019150505b92915050565b600033610811858285611478565b61081c85858561154f565b506001949350505050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314610878576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526008602052604090205481151560ff9091161515036108df576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526008602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917fd3763f1074087e38245af8391cfa3acdb23e0553090104fd7b85667d7328752991a35050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906107f790829086906109a590879061215a565b6112c5565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146109fb576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b306000908152602081905260409020548015610a6b57600654610a3690309073ffffffffffffffffffffffffffffffffffffffff168361166f565b6040518181527f37cc5ea62b518495d042cabfa45c5e43aeae690552efa3b7341854331e05662f906020015b60405180910390a15b50565b600a5473ffffffffffffffffffffffffffffffffffffffff163314610abf576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205481151560ff909116151503610b26576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526007602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917f02ebf20869d52e173b3abfc35a2c8f7efc7901edff0691526afa5d21fa2ce92291a35050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314610bf6576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b5482101580610c095750600c548110155b15610c40576040517f37d4ed5b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b829055600c81905560408051838152602081018390527f5eee0b95930ee59011f34615b0b7dc6cc58c01d1f07d04a01a3a1e70d2554cf0910160405180910390a15050565b610c8f6111bf565b61075560006118de565b6000610ca56000611955565b905090565b600a5473ffffffffffffffffffffffffffffffffffffffff163314610cfb576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065473ffffffffffffffffffffffffffffffffffffffff90811690821603610d50576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f252e37823f8325a28d11c9bfaa110c2e0587d3e41cf2a02d5de57536c058e68990600090a250565b6000610ca56001611955565b6060600480546107669061216d565b600a5473ffffffffffffffffffffffffffffffffffffffff163314610e2b576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5473ffffffffffffffffffffffffffffffffffffffff90811690821603610e80576040517fe523909000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f4f06221442f29c68561a21b361dae6cd59eeb67b7cded6395d590a4e1d2fd3a290600090a250565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610fb8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61081c82868684036112c5565b6000336107f781858561154f565b6000806000610fe061198e565b909250905060006064610ff4836005612108565b610ffe919061211f565b905061101d816009541161101457600954611016565b815b8484611a3a565b935050505090565b600a5473ffffffffffffffffffffffffffffffffffffffff163314611076576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6611c37937e0800081108061109357506802b5e3af16b188000081115b8061109f575060095481145b156110d6576040517fcb9e92ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60098190556040518181527f9ff241d1f1e0c30788ac08c45391c423cc5ef3e67f66a46b95a9a8f394759f3690602001610a62565b6111136111bf565b73ffffffffffffffffffffffffffffffffffffffff81166111b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610faf565b610a6b816118de565b60055473ffffffffffffffffffffffffffffffffffffffff163314610755576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610faf565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663d0e30db0836040518263ffffffff1660e01b81526004016000604051808303818588803b15801561129c57600080fd5b505af11580156112b0573d6000803e3d6000fd5b50505050506112c0838383611a8e565b505050565b73ffffffffffffffffffffffffffffffffffffffff8316611367576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610faf565b73ffffffffffffffffffffffffffffffffffffffff821661140a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610faf565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611549578181101561153c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610faf565b61154984848484036112c5565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526007602052604090205460ff161580156115ab575073ffffffffffffffffffffffffffffffffffffffff821660009081526007602052604090205460ff16155b80156115c757503360009081526007602052604090205460ff16155b156116685773ffffffffffffffffffffffffffffffffffffffff8316600090815260086020526040812054612710906116029060ff16611955565b61160c9084612108565b611616919061211f565b905061162384308361166f565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260086020526040902054918190039160ff161561166657611666611661610fd3565b611c1f565b505b6112c08383835b73ffffffffffffffffffffffffffffffffffffffff8316611712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610faf565b73ffffffffffffffffffffffffffffffffffffffff82166117b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610faf565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260409020548181101561186b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610faf565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611549565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008161197557600d54421061196d57600c546107fd565b611af46107fd565b600d54421061198657600b546107fd565b600092915050565b6000807f000000000000000000000000dbd320459c030f12302390a59e2c8fd1cecd971473ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b81526004016040805180830381865afa1580156119fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1f91906121de565b6dffffffffffffffffffffffffffff91821694911692509050565b600080611a478585612108565b611a53906103e8612108565b90506000611a618685612208565b611a6d906103e5612108565b9050611a79818361211f565b611a8490600161215a565b9695505050505050565b611ab87f000000000000000000000000dbd320459c030f12302390a59e2c8fd1cecd971484611c5d565b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000dbd320459c030f12302390a59e2c8fd1cecd97141660248201526044810183905273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2906323b872dd90606401600060405180830381600087803b158015611b6057600080fd5b505af1158015611b74573d6000803e3d6000fd5b50506040517f6a62784200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301527f000000000000000000000000dbd320459c030f12302390a59e2c8fd1cecd9714169250636a62784291506024015b600060405180830381600087803b158015611c0257600080fd5b505af1158015611c16573d6000803e3d6000fd5b50505050505050565b30600090815260208190526040902054811115611c395750565b600654610a6b90829073ffffffffffffffffffffffffffffffffffffffff16611c6c565b611c6830838361166f565b5050565b6000611c7783611e0f565b9050611ca37f000000000000000000000000dbd320459c030f12302390a59e2c8fd1cecd971484611c5d565b60408051600080825260208201928390527f022c0d9f0000000000000000000000000000000000000000000000000000000090925273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000dbd320459c030f12302390a59e2c8fd1cecd9714169163022c0d9f91611d48919085907f000000000000000000000000b64d1bb770dded982dcdde9a5dbb6fbd9ba94915906024810161221b565b600060405180830381600087803b158015611d6257600080fd5b505af1158015611d76573d6000803e3d6000fd5b50506040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000b64d1bb770dded982dcdde9a5dbb6fbd9ba9491581166004830152851660248201526044810184905273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc292506323b872dd9150606401611be8565b60008060007f000000000000000000000000dbd320459c030f12302390a59e2c8fd1cecd971473ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b81526004016040805180830381865afa158015611e7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea291906121de565b6dffffffffffffffffffffffffffff91821693501690506000611ec7856103e5612108565b90506000611ed58383612108565b9050600082611ee6866103e8612108565b611ef0919061215a565b9050611efc818361211f565b979650505050505050565b6000815180845260005b81811015611f2d57602081850181015186830182015201611f11565b5060006020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b602081526000611f7e6020830184611f07565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611fa957600080fd5b919050565b60008060408385031215611fc157600080fd5b611fca83611f85565b946020939093013593505050565b600060208284031215611fea57600080fd5b611f7e82611f85565b60008060006060848603121561200857600080fd5b61201184611f85565b925061201f60208501611f85565b9150604084013590509250925092565b6000806040838503121561204257600080fd5b61204b83611f85565b91506020830135801515811461206057600080fd5b809150509250929050565b6000806040838503121561207e57600080fd5b50508035926020909101359150565b600080604083850312156120a057600080fd5b6120a983611f85565b91506120b760208401611f85565b90509250929050565b6000602082840312156120d257600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820281158282048414176107fd576107fd6120d9565b600082612155577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b808201808211156107fd576107fd6120d9565b600181811c9082168061218157607f821691505b6020821081036121ba577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b80516dffffffffffffffffffffffffffff81168114611fa957600080fd5b600080604083850312156121f157600080fd5b6121fa836121c0565b91506120b7602084016121c0565b818103818111156107fd576107fd6120d9565b84815283602082015273ffffffffffffffffffffffffffffffffffffffff83166040820152608060608201526000611a846080830184611f0756fea26469706673582212200b6ce69cf22da6373c3703d0052a391ca6e3c0155c5254da9d7e376c780ae41864736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000587534e31637b38624d107f9cf2b5eed028820050000000000000000000000003b2b28739421e0833072d98309eb7b2eb1ce4f810000000000000000000000003b2b28739421e0833072d98309eb7b2eb1ce4f81
-----Decoded View---------------
Arg [0] : _owner (address): 0x587534E31637b38624d107f9CF2B5eed02882005
Arg [1] : _taxRecipient (address): 0x3B2B28739421E0833072D98309eb7B2eB1Ce4F81
Arg [2] : _taxManager (address): 0x3B2B28739421E0833072D98309eb7B2eB1Ce4F81
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000587534e31637b38624d107f9cf2b5eed02882005
Arg [1] : 0000000000000000000000003b2b28739421e0833072d98309eb7b2eb1ce4f81
Arg [2] : 0000000000000000000000003b2b28739421e0833072d98309eb7b2eb1ce4f81
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.