ERC-20
Overview
Max Total Supply
250,000,000 DUNG
Holders
1,175
Market
Price
$0.00 @ 0.000001 ETH
Onchain Market Cap
$407,910.00
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
13,428 DUNGValue
$21.91 ( ~0.00885006908561196 Eth) [0.0054%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Scarab
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 10000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** * Scarab ($DUNG) * * Website: scarab.tools * Telegram: t.me/scarabtools * Twitter: twitter.com/scarabtools * * ▄▄ * ╫█ ╔▓▓▓▄▄▄▓▓┐ █▀ * ┐ ╙▀═╗▄▄▓█▓▓▓▓▓▓█▌▄▄═╙╙ * ▒ ╔▓▓▓▓▓▓▓▓▓▓▓▌╓ ╒╛ * ▐ ╙▓█▓▓▓▓▓▓╬╫█▓╙ ╧ * ─▓▓╣▒ ╓▒▒▓▓╬▓▓▓▓▓▓▓▓▓▓▒▒╗╓ ▌▐▄ * ╠▓█╬ ╔╬╣╣▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╬╬╬╖ └█▓▓╙ * ╟▓▓▒ ▓╬╬╣▓▓▓▓▓▓▓▓▓▓▓▓╬╣╬███╬╣╣▌ ┌█▓▓▀ * ╫▓▌╓▓╬╬╣▓▓▓▓▓▓▓▓▓▓▓▓╣╬▒╚╨╣██▓╬╬▓░█▓▌ * ▓█▓╬╬╣▓▓▓╣▓▓▓▓▓▓▓▓█▓▓╬▒░░╫▓▓╬╬╬╬█▓ * ╫╬╬╣▓▓▓▓▓▓▓▓▓████████▓▓╣▓▓▓▓╬╬╬▌ * ╬╫╣╣╣▓╣▓▓▓▓▓████████▓▓▓▓▓▓▓▓╬╣ * ╙╙╙╙╠▓████▓▓██████████▓╬╬╠╨╙ * ╓▄▄╬╣╬╬╣╬╬╣╣╬╬▓╬╬▓▓╬▓╬╩▒╠▒▓▓▓▓█╬▄╓ * ╓▄▓▓▓▀╟▓▓▓╣▓▓▓╣╣╬▓▓▓▓▓▓▓▓▌╬╠╚▒▒╬▓╣▓▓█▀▓▓▌▒▄ * ╓▄▓█▓┘ ╫▓╬╣▓▓▓▓▓▓▓▓▓▓▓▓▓███▓╬╠╠╬╣▓▓▓╣▓▌ ╙██▓▒ * ▓█▓ ▓▓╣╬▓▓▓▓▓▓▓▓▓▓███████▓▓╣▓▓▓▓▓╣██ ╫█▓▀ * ╣█ █▓╣╣▓▓▓▓▓▓▓▓██████████▓▓▓▓▓▓▓╬██ ▓█ * ╣─ ▓▓╬╣▓▓╬▓▓▓▓▓██████████▓▓▓▓▓▓▓╣██▄ ╠█ * ▓ ▄█▓╬╣▓▓▓╣▓▓▓▓▓███████████▓▓▓▓▓╣████╦ ╫─ * ▓ ▓██▓▌╣╣▓▓╣╣▓▓▓▓▓▓███████████▓▓▓▓█╙╙█▓ ╫░ * └ ▐██╙▀▓╬╣╣▓▓╣╣▓▓▓▓▓▓███████████▓▓▓▀ ╫█▒ └▌ * ╠█▌ ╙╣╬╣▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█████▓█▓▀ ║█▓ * ║█▌ └╩▓╬╣▓▓▓▓▓▓▓▓▓▓▓▓▓█████▓╩ ║█▓─ * ╢██─ ╙▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╨ ▓▓▓ * ╒▓█▌ ╙╩▀▓▓▓╬╬╣╣╣▀╩╙ ▐▓█╩ * └╙▓█▌ └╙└└└ ╔██▓░ * ╫▀█▓ ╢▓╩▌ * ╙▌▓▌ ║▀ ▀ * ╦ ╨▀▄ ▓╨ * └╙▀─ █ * └ ┘ * */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; import { Ownable } from "openzeppelin/access/Ownable.sol"; import { ERC20 } from "openzeppelin/token/ERC20/ERC20.sol"; import { IERC20 } from "openzeppelin/token/ERC20/IERC20.sol"; import { IUniswapV2Factory } from "uni-v2/interfaces/IUniswapV2Factory.sol"; import { IUniswapV2Router02 } from "uni-v2-periphery/interfaces/IUniswapV2Router02.sol"; contract Scarab is ERC20, Ownable { uint256 public constant TOTAL_SUPPLY = 250_000_000 * 1e18; IUniswapV2Router02 public immutable uniswapV2Router; address public uniswapV2Pair; uint256 public tradeLimit; uint256 public walletLimit; uint256 public feeSwapThreshold; bool public tradingEnabled; bool public transferDelayEnabled = true; bool public limitsEnabled = true; uint256 public sellFee = 500; // 5% uint256 public buyFee = 500; // 5% address payable internal _teamWallet; bool private _isSwapping; mapping(address => bool) public pools; mapping(address => bool) internal _exemptFromLimits; mapping(address => bool) internal _exemptFromFees; mapping(address => uint256) internal _lastTransferBlock; // EVENTS event FeeExemption(address indexed account, bool isExempt); event PoolUpdate(address indexed pair, bool indexed value); // ERRORS error CannotRemoveDefaultPair(); error MaximumFee(); error MinimumLimit(); error MinimumSwapThreshold(); error MaximumSwapThreshold(); error TradingDisabled(); error AlreadyInitialized(); error BlockTransferLimit(); error TradeLimitExceeded(); error WalletLimitExceeded(); // -------------- // INIT constructor() ERC20("Scarab", "DUNG") { uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); tradeLimit = _applyBasisPoints(TOTAL_SUPPLY, 100); // 1% walletLimit = _applyBasisPoints(TOTAL_SUPPLY, 100); // 1% feeSwapThreshold = _applyBasisPoints(TOTAL_SUPPLY, 5); // 0.05% _teamWallet = payable(owner()); _exemptFromLimits[address(uniswapV2Router)] = true; _exemptFromLimits[owner()] = true; _exemptFromLimits[address(this)] = true; _exemptFromFees[owner()] = true; _exemptFromFees[address(this)] = true; _mint(msg.sender, TOTAL_SUPPLY); } function openTrading() external onlyOwner { if (tradingEnabled) revert AlreadyInitialized(); _approve(address(this), address(uniswapV2Router), TOTAL_SUPPLY); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH()); IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint256).max); pools[address(uniswapV2Pair)] = true; _exemptFromLimits[address(uniswapV2Pair)] = true; uniswapV2Router.addLiquidityETH{ value: address(this).balance }( address(this), balanceOf(address(this)), 0, 0, owner(), block.timestamp ); tradingEnabled = true; } receive() external payable { } // -------------- // TRANSFER function _transfer(address from, address to, uint256 amount) internal override { /* solhint-disable reason-string */ require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); /* solhint-enable reason-string */ if (amount == 0) { super._transfer(from, to, 0); return; } _handleLimits(from, to, amount); uint256 finalAmount = _chargeFees(from, to, amount); _handleFeeSwap(from, to); super._transfer(from, to, finalAmount); } // -------------- // LIMITS function _handleLimits(address from, address to, uint256 amount) internal { if (!limitsEnabled || _isSwapping || from == owner() || to == owner()) { return; } if (!tradingEnabled && !_exemptFromLimits[from] && !_exemptFromLimits[to]) { revert TradingDisabled(); } _applyTransferDelay(to); _applyLimits(from, to, amount); } /// @dev Limit buys to one per block function _applyTransferDelay(address to) internal { if (!transferDelayEnabled) { return; } if (to == address(uniswapV2Router) || to == address(uniswapV2Pair)) { return; } if (_lastTransferBlock[to] >= block.number) { revert BlockTransferLimit(); } _lastTransferBlock[to] = block.number; } /// @dev Apply trade and balance limits function _applyLimits(address from, address to, uint256 amount) internal view { // buy if (pools[from] && !_exemptFromLimits[to]) { if (amount > tradeLimit) revert TradeLimitExceeded(); if (amount + balanceOf(to) > walletLimit) revert WalletLimitExceeded(); } // sell else if (pools[to] && !_exemptFromLimits[from]) { if (amount > tradeLimit) revert TradeLimitExceeded(); } // transfer else if (!_exemptFromLimits[to]) { if (amount + balanceOf(to) > walletLimit) revert WalletLimitExceeded(); } } // -------------- // FEES function _chargeFees(address from, address to, uint256 amount) internal returns (uint256) { if (_isSwapping || _exemptFromFees[from] || _exemptFromFees[to]) { return amount; } uint256 fees = 0; if (pools[to] && sellFee > 0) { fees = _applyBasisPoints(amount, sellFee); } else if (pools[from] && buyFee > 0) { fees = _applyBasisPoints(amount, buyFee); } if (fees > 0) { super._transfer(from, address(this), fees); } return amount - fees; } /// @dev swaps and distributes accumulated fees function _handleFeeSwap(address from, address to) internal { bool canSwap = balanceOf(address(this)) >= feeSwapThreshold; // non-exempt sellers trigger fee swaps if (canSwap && !_isSwapping && !pools[from] && pools[to] && !_exemptFromFees[from]) { _isSwapping = true; _swapAndDistributeFees(); _isSwapping = false; } } function _swapAndDistributeFees() internal { uint256 contractBalance = balanceOf(address(this)); if (contractBalance == 0) { return; } if (contractBalance > feeSwapThreshold * 20) { contractBalance = feeSwapThreshold * 20; } _swapTokensForEth(contractBalance); (bool sent,) = _teamWallet.call{ value: address(this).balance }(""); require(sent, "send failed"); } // -------------- // ADMIN function removeLimits() external onlyOwner { limitsEnabled = false; } function disableTransferDelay() external onlyOwner { transferDelayEnabled = false; } /// @notice Set swap size limit to `amount` tokens (in token units) function setTradeLimit(uint256 amount) external onlyOwner { // minimim 0.1% of supply amount *= 1e18; if (amount < _applyBasisPoints(TOTAL_SUPPLY, 10)) revert MinimumLimit(); tradeLimit = amount; } /// @notice Set wallet balance limit to `amount` tokens (in token units) function setWalletLimit(uint256 amount) external onlyOwner { // minimim 0.1% of supply amount *= 1e18; if (amount < _applyBasisPoints(TOTAL_SUPPLY, 10)) revert MinimumLimit(); walletLimit = amount; } function setExemptFromFees(address addr, bool exempt) external onlyOwner { _exemptFromFees[addr] = exempt; emit FeeExemption(addr, exempt); } function setExemptFromLimits(address addr, bool exempt) external onlyOwner { _exemptFromLimits[addr] = exempt; } /// Set buy fee in basis points function setBuyFee(uint256 fee) external onlyOwner { if (fee > 500) revert MaximumFee(); // 5% buyFee = fee; } /// Set sell fee in basis points function setSellFee(uint256 fee) external onlyOwner { if (fee > 500) revert MaximumFee(); // 5% sellFee = fee; } function setPool(address pool, bool value) external onlyOwner { if (pool == uniswapV2Pair) revert CannotRemoveDefaultPair(); _setPool(pool, value); } function _setPool(address pool, bool value) private { pools[pool] = value; emit PoolUpdate(pool, value); } /// @notice Set fee swap threshold to `basisPoints` as a fraction of total supply /// Set to 10000 to disable fee swaps function setFeeSwapThreshold(uint256 basisPoints) external onlyOwner { if (basisPoints < 1) revert MinimumSwapThreshold(); if (basisPoints > 10_000) revert MaximumSwapThreshold(); feeSwapThreshold = _applyBasisPoints(TOTAL_SUPPLY, basisPoints); } function setTeamWallet(address addr) external onlyOwner { _teamWallet = payable(addr); } // -------------- // HELPERS function _applyBasisPoints(uint256 amount, uint256 basisPoints) internal pure returns (uint256) { return (amount * basisPoints) / 10_000; } function _swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _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.8.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]. * * 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}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * 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 value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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); }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
{ "remappings": [ "@clones/=lib/playpen/lib/clones-with-immutable-args/src/", "clones-with-immutable-args/=lib/playpen/lib/clones-with-immutable-args/src/", "create3-factory/=lib/playpen/lib/create3-factory/", "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "joe-v2/=lib/joe-v2/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/openzeppelin-contracts/contracts/", "playpen/=lib/playpen/src/", "prb-test/=lib/prb-test/src/", "solmate/=lib/solmate/src/", "src/=src/", "uni-v2-periphery/=lib/v2-periphery/contracts/", "uni-v2/=lib/v2-core/contracts/", "uni-v3/=lib/v3-core/contracts/", "v2-core/=lib/v2-core/contracts/", "v2-periphery/=lib/v2-periphery/contracts/", "v3-core/=lib/v3-core/", "weird-erc20/=lib/playpen/lib/solmate/lib/weird-erc20/src/" ], "optimizer": { "enabled": true, "runs": 10000 }, "metadata": { "bytecodeHash": "none", "appendCBOR": false }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyInitialized","type":"error"},{"inputs":[],"name":"BlockTransferLimit","type":"error"},{"inputs":[],"name":"CannotRemoveDefaultPair","type":"error"},{"inputs":[],"name":"MaximumFee","type":"error"},{"inputs":[],"name":"MaximumSwapThreshold","type":"error"},{"inputs":[],"name":"MinimumLimit","type":"error"},{"inputs":[],"name":"MinimumSwapThreshold","type":"error"},{"inputs":[],"name":"TradeLimitExceeded","type":"error"},{"inputs":[],"name":"TradingDisabled","type":"error"},{"inputs":[],"name":"WalletLimitExceeded","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":false,"internalType":"bool","name":"isExempt","type":"bool"}],"name":"FeeExemption","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"PoolUpdate","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":"TOTAL_SUPPLY","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":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableTransferDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"limitsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"pools","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"setExemptFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"setExemptFromLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"basisPoints","type":"uint256"}],"name":"setFeeSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setTradeLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradeLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"walletLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a0604052600a805462ffff001916620101001790556101f4600b819055600c553480156200002d57600080fd5b506040518060400160405280600681526020016529b1b0b930b160d11b8152506040518060400160405280600481526020016344554e4760e01b81525081600390816200007b9190620003a5565b5060046200008a8282620003a5565b505050620000a7620000a1620001ba60201b60201c565b620001be565b737a250d5630b4cf539739df2c5dacb4c659f2488d608052620000d76acecb8f27f4200f3a000000606462000210565b600755620000f26acecb8f27f4200f3a000000606462000210565b6008556200010d6acecb8f27f4200f3a000000600562000210565b60095560058054600d80546001600160a01b0319166001600160a01b0392831617905560805181166000908152600f60209081526040808320805460ff1990811660019081179092558654861685528285208054821683179055308086528386208054831684179055965490951684526010909252808320805485168317905593825292902080549091169091179055620001b4336acecb8f27f4200f3a00000062000236565b620004da565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061271062000221838562000487565b6200022d9190620004a1565b90505b92915050565b6001600160a01b038216620002915760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620002a59190620004c4565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200032c57607f821691505b6020821081036200034d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002fc57600081815260208120601f850160051c810160208610156200037c5750805b601f850160051c820191505b818110156200039d5782815560010162000388565b505050505050565b81516001600160401b03811115620003c157620003c162000301565b620003d981620003d2845462000317565b8462000353565b602080601f831160018114620004115760008415620003f85750858301515b600019600386901b1c1916600185901b1785556200039d565b600085815260208120601f198616915b82811015620004425788860151825594840194600190910190840162000421565b5085821015620004615787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000230576200023062000471565b600082620004bf57634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000230576200023062000471565b60805161251d620005356000396000818161034401528181610cfd01528181610d2f01528181610dc001528181610f280152818161103401528181611c5801528181612000015281816120b9015261210e015261251d6000f3fe6080604052600436106102895760003560e01c8063751039fc11610153578063a4063dbc116100cb578063dd62ed3e1161007f578063e884f26011610064578063e884f2601461071d578063f1d5f51714610732578063f2fde38b1461075257600080fd5b8063dd62ed3e146106c1578063de2870711461070757600080fd5b8063a9059cbb116100b0578063a9059cbb1461066d578063c876d0b91461068d578063c9567bf9146106ac57600080fd5b8063a4063dbc1461061d578063a457c2d71461064d57600080fd5b80638b4cee0811610122578063902d55a511610107578063902d55a5146105c957806395d89b41146105e8578063a13d1a2b146105fd57600080fd5b80638b4cee081461058b5780638da5cb5b146105ab57600080fd5b8063751039fc1461051657806377b27d1f1461052b578063793e75cd1461054b5780637d55efda1461056b57600080fd5b80632fec27041161020157806347062402116101b55780634ada218b1161019a5780634ada218b146104b157806370a08231146104cb578063715018a61461050157600080fd5b8063470624021461047b57806349bd5a5e1461049157600080fd5b80633582ad23116101e65780633582ad231461042557806339509351146104455780633c8463a11461046557600080fd5b80632fec2704146103f3578063313ce5671461040957600080fd5b80631694505e1161025857806320bec12c1161023d57806320bec12c1461039d57806323b872dd146103bd5780632b14ca56146103dd57600080fd5b80631694505e1461033257806318160ddd1461037e57600080fd5b806306fdde0314610295578063095ea7b3146102c05780630cc835a3146102f05780631525ff7d1461031257600080fd5b3661029057005b600080fd5b3480156102a157600080fd5b506102aa610772565b6040516102b79190612182565b60405180910390f35b3480156102cc57600080fd5b506102e06102db366004612203565b610804565b60405190151581526020016102b7565b3480156102fc57600080fd5b5061031061030b36600461222f565b61081e565b005b34801561031e57600080fd5b5061031061032d366004612248565b610867565b34801561033e57600080fd5b506103667f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102b7565b34801561038a57600080fd5b506002545b6040519081526020016102b7565b3480156103a957600080fd5b506103106103b8366004612273565b6108a9565b3480156103c957600080fd5b506102e06103d83660046122ac565b610907565b3480156103e957600080fd5b5061038f600b5481565b3480156103ff57600080fd5b5061038f60075481565b34801561041557600080fd5b50604051601281526020016102b7565b34801561043157600080fd5b50600a546102e09062010000900460ff1681565b34801561045157600080fd5b506102e0610460366004612203565b61092d565b34801561047157600080fd5b5061038f60085481565b34801561048757600080fd5b5061038f600c5481565b34801561049d57600080fd5b50600654610366906001600160a01b031681565b3480156104bd57600080fd5b50600a546102e09060ff1681565b3480156104d757600080fd5b5061038f6104e6366004612248565b6001600160a01b031660009081526020819052604090205490565b34801561050d57600080fd5b5061031061096c565b34801561052257600080fd5b50610310610980565b34801561053757600080fd5b50610310610546366004612273565b6109b2565b34801561055757600080fd5b5061031061056636600461222f565b610a37565b34801561057757600080fd5b5061031061058636600461222f565b610aa7565b34801561059757600080fd5b506103106105a636600461222f565b610b41565b3480156105b757600080fd5b506005546001600160a01b0316610366565b3480156105d557600080fd5b5061038f6acecb8f27f4200f3a00000081565b3480156105f457600080fd5b506102aa610b8a565b34801561060957600080fd5b50610310610618366004612273565b610b99565b34801561062957600080fd5b506102e0610638366004612248565b600e6020526000908152604090205460ff1681565b34801561065957600080fd5b506102e0610668366004612203565b610bea565b34801561067957600080fd5b506102e0610688366004612203565b610ca4565b34801561069957600080fd5b50600a546102e090610100900460ff1681565b3480156106b857600080fd5b50610310610cb2565b3480156106cd57600080fd5b5061038f6106dc3660046122ed565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561071357600080fd5b5061038f60095481565b34801561072957600080fd5b5061031061114a565b34801561073e57600080fd5b5061031061074d36600461222f565b61117c565b34801561075e57600080fd5b5061031061076d366004612248565b6111ec565b6060600380546107819061231b565b80601f01602080910402602001604051908101604052809291908181526020018280546107ad9061231b565b80156107fa5780601f106107cf576101008083540402835291602001916107fa565b820191906000526020600020905b8154815290600101906020018083116107dd57829003601f168201915b5050505050905090565b60003361081281858561127c565b60019150505b92915050565b6108266113d4565b6101f4811115610862576040517fbafb3c5700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c55565b61086f6113d4565b600d80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6108b16113d4565b6006546001600160a01b03908116908316036108f9576040517f2e4479d000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610903828261142e565b5050565b6000336109158582856114a0565b610920858585611550565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610812908290869061096790879061239d565b61127c565b6109746113d4565b61097e6000611690565b565b6109886113d4565b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff169055565b6109ba6113d4565b6001600160a01b03821660008181526010602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915591519182527ff39897000beaac558924c501ba3ebd842aac4c20c0f2540cbd7f36eee731e580910160405180910390a25050565b610a3f6113d4565b610a51670de0b6b3a7640000826123b0565b9050610a696acecb8f27f4200f3a000000600a6116fa565b811015610aa2576040517f3b210adc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600755565b610aaf6113d4565b6001811015610aea576040517f789288f100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612710811115610b26576040517f5d62a18500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b3b6acecb8f27f4200f3a000000826116fa565b60095550565b610b496113d4565b6101f4811115610b85576040517fbafb3c5700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b55565b6060600480546107819061231b565b610ba16113d4565b6001600160a01b03919091166000908152600f6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610c8c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610c99828686840361127c565b506001949350505050565b600033610812818585611550565b610cba6113d4565b600a5460ff1615610cf7576040517f0dc149f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d2d307f00000000000000000000000000000000000000000000000000000000000000006acecb8f27f4200f3a00000061127c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610daf91906123c7565b6001600160a01b031663c9c65396307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4091906123c7565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec991906123c7565b600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039283169081179091556040517f095ea7b30000000000000000000000000000000000000000000000000000000081527f000000000000000000000000000000000000000000000000000000000000000090921660048301527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60248301529063095ea7b3906044016020604051808303816000875af1158015610f9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc291906123e4565b50600680546001600160a01b039081166000908152600e60209081526040808320805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009182168117909255955485168452600f83528184208054909616179094553080835290829052929020547f00000000000000000000000000000000000000000000000000000000000000009091169163f305d719914791906000806110756005546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156110f5573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061111a9190612401565b5050600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905550565b6111526113d4565b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055565b6111846113d4565b611196670de0b6b3a7640000826123b0565b90506111ae6acecb8f27f4200f3a000000600a6116fa565b8110156111e7576040517f3b210adc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600855565b6111f46113d4565b6001600160a01b0381166112705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c83565b61127981611690565b50565b6001600160a01b0383166112f75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610c83565b6001600160a01b0382166113735760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610c83565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b0316331461097e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c83565b6001600160a01b0382166000818152600e602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917fda8433dc2b32d1308609c08b02e4f1691c51a5ff9e5b2d4a15f990856bd31abe91a35050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461154a578181101561153d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c83565b61154a848484840361127c565b50505050565b6001600160a01b0383166115cc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610c83565b6001600160a01b0382166116485760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610c83565b806000036116615761165c83836000611713565b505050565b61166c838383611900565b6000611679848484611a08565b90506116858484611b1f565b61154a848483611713565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061271061170983856123b0565b610926919061242f565b6001600160a01b03831661178f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610c83565b6001600160a01b03821661180b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610c83565b6001600160a01b0383166000908152602081905260409020548181101561189a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610c83565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361154a565b600a5462010000900460ff1615806119325750600d5474010000000000000000000000000000000000000000900460ff165b8061194a57506005546001600160a01b038481169116145b8061196257506005546001600160a01b038381169116145b1561196c57505050565b600a5460ff1615801561199857506001600160a01b0383166000908152600f602052604090205460ff16155b80156119bd57506001600160a01b0382166000908152600f602052604090205460ff16155b156119f4576040517fbcb8b8fb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119fd82611c44565b61165c838383611d18565b600d5460009074010000000000000000000000000000000000000000900460ff1680611a4c57506001600160a01b03841660009081526010602052604090205460ff165b80611a6f57506001600160a01b03831660009081526010602052604090205460ff165b15611a7b575080610926565b6001600160a01b0383166000908152600e602052604081205460ff168015611aa557506000600b54115b15611abd57611ab683600b546116fa565b9050611afb565b6001600160a01b0385166000908152600e602052604090205460ff168015611ae757506000600c54115b15611afb57611af883600c546116fa565b90505b8015611b0c57611b0c853083611713565b611b16818461246a565b95945050505050565b60095430600090815260208190526040902054108015908190611b5d5750600d5474010000000000000000000000000000000000000000900460ff16155b8015611b8257506001600160a01b0383166000908152600e602052604090205460ff16155b8015611ba657506001600160a01b0382166000908152600e602052604090205460ff165b8015611bcb57506001600160a01b03831660009081526010602052604090205460ff16155b1561165c57600d80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055611c17611ebc565b600d80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055505050565b600a54610100900460ff16611c565750565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b03161480611ca357506006546001600160a01b038281169116145b15611cab5750565b6001600160a01b0381166000908152601160205260409020544311611cfc576040517f954883f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03166000908152601160205260409020439055565b6001600160a01b0383166000908152600e602052604090205460ff168015611d5957506001600160a01b0382166000908152600f602052604090205460ff16155b15611df957600754811115611d9a576040517f31598d3200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008546001600160a01b0383166000908152602081905260409020545b611dc1908361239d565b111561165c576040517f746f460700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0382166000908152600e602052604090205460ff168015611e3a57506001600160a01b0383166000908152600f602052604090205460ff16155b15611e7b5760075481111561165c576040517f31598d3200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0382166000908152600f602052604090205460ff1661165c576008546001600160a01b038316600090815260208190526040902054611db7565b3060009081526020819052604081205490819003611ed75750565b600954611ee59060146123b0565b811115611efd57600954611efa9060146123b0565b90505b611f0681611fa9565b600d546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611f53576040519150601f19603f3d011682016040523d82523d6000602084013e611f58565b606091505b50509050806109035760405162461bcd60e51b815260206004820152600b60248201527f73656e64206661696c65640000000000000000000000000000000000000000006044820152606401610c83565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611fde57611fde61247d565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561205c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061208091906123c7565b816001815181106120935761209361247d565b60200260200101906001600160a01b031690816001600160a01b0316815250506120de307f00000000000000000000000000000000000000000000000000000000000000008461127c565b6040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac9479061214c9085906000908690309042906004016124ac565b600060405180830381600087803b15801561216657600080fd5b505af115801561217a573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b818110156121af57858101830151858201604001528201612193565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b6001600160a01b038116811461127957600080fd5b6000806040838503121561221657600080fd5b8235612221816121ee565b946020939093013593505050565b60006020828403121561224157600080fd5b5035919050565b60006020828403121561225a57600080fd5b8135610926816121ee565b801515811461127957600080fd5b6000806040838503121561228657600080fd5b8235612291816121ee565b915060208301356122a181612265565b809150509250929050565b6000806000606084860312156122c157600080fd5b83356122cc816121ee565b925060208401356122dc816121ee565b929592945050506040919091013590565b6000806040838503121561230057600080fd5b823561230b816121ee565b915060208301356122a1816121ee565b600181811c9082168061232f57607f821691505b602082108103612368577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156108185761081861236e565b80820281158282048414176108185761081861236e565b6000602082840312156123d957600080fd5b8151610926816121ee565b6000602082840312156123f657600080fd5b815161092681612265565b60008060006060848603121561241657600080fd5b8351925060208401519150604084015190509250925092565b600082612465577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b818103818111156108185761081861236e565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124fc5784516001600160a01b0316835293830193918301916001016124d7565b50506001600160a01b0396909616606085015250505060800152939250505056
Deployed Bytecode
0x6080604052600436106102895760003560e01c8063751039fc11610153578063a4063dbc116100cb578063dd62ed3e1161007f578063e884f26011610064578063e884f2601461071d578063f1d5f51714610732578063f2fde38b1461075257600080fd5b8063dd62ed3e146106c1578063de2870711461070757600080fd5b8063a9059cbb116100b0578063a9059cbb1461066d578063c876d0b91461068d578063c9567bf9146106ac57600080fd5b8063a4063dbc1461061d578063a457c2d71461064d57600080fd5b80638b4cee0811610122578063902d55a511610107578063902d55a5146105c957806395d89b41146105e8578063a13d1a2b146105fd57600080fd5b80638b4cee081461058b5780638da5cb5b146105ab57600080fd5b8063751039fc1461051657806377b27d1f1461052b578063793e75cd1461054b5780637d55efda1461056b57600080fd5b80632fec27041161020157806347062402116101b55780634ada218b1161019a5780634ada218b146104b157806370a08231146104cb578063715018a61461050157600080fd5b8063470624021461047b57806349bd5a5e1461049157600080fd5b80633582ad23116101e65780633582ad231461042557806339509351146104455780633c8463a11461046557600080fd5b80632fec2704146103f3578063313ce5671461040957600080fd5b80631694505e1161025857806320bec12c1161023d57806320bec12c1461039d57806323b872dd146103bd5780632b14ca56146103dd57600080fd5b80631694505e1461033257806318160ddd1461037e57600080fd5b806306fdde0314610295578063095ea7b3146102c05780630cc835a3146102f05780631525ff7d1461031257600080fd5b3661029057005b600080fd5b3480156102a157600080fd5b506102aa610772565b6040516102b79190612182565b60405180910390f35b3480156102cc57600080fd5b506102e06102db366004612203565b610804565b60405190151581526020016102b7565b3480156102fc57600080fd5b5061031061030b36600461222f565b61081e565b005b34801561031e57600080fd5b5061031061032d366004612248565b610867565b34801561033e57600080fd5b506103667f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102b7565b34801561038a57600080fd5b506002545b6040519081526020016102b7565b3480156103a957600080fd5b506103106103b8366004612273565b6108a9565b3480156103c957600080fd5b506102e06103d83660046122ac565b610907565b3480156103e957600080fd5b5061038f600b5481565b3480156103ff57600080fd5b5061038f60075481565b34801561041557600080fd5b50604051601281526020016102b7565b34801561043157600080fd5b50600a546102e09062010000900460ff1681565b34801561045157600080fd5b506102e0610460366004612203565b61092d565b34801561047157600080fd5b5061038f60085481565b34801561048757600080fd5b5061038f600c5481565b34801561049d57600080fd5b50600654610366906001600160a01b031681565b3480156104bd57600080fd5b50600a546102e09060ff1681565b3480156104d757600080fd5b5061038f6104e6366004612248565b6001600160a01b031660009081526020819052604090205490565b34801561050d57600080fd5b5061031061096c565b34801561052257600080fd5b50610310610980565b34801561053757600080fd5b50610310610546366004612273565b6109b2565b34801561055757600080fd5b5061031061056636600461222f565b610a37565b34801561057757600080fd5b5061031061058636600461222f565b610aa7565b34801561059757600080fd5b506103106105a636600461222f565b610b41565b3480156105b757600080fd5b506005546001600160a01b0316610366565b3480156105d557600080fd5b5061038f6acecb8f27f4200f3a00000081565b3480156105f457600080fd5b506102aa610b8a565b34801561060957600080fd5b50610310610618366004612273565b610b99565b34801561062957600080fd5b506102e0610638366004612248565b600e6020526000908152604090205460ff1681565b34801561065957600080fd5b506102e0610668366004612203565b610bea565b34801561067957600080fd5b506102e0610688366004612203565b610ca4565b34801561069957600080fd5b50600a546102e090610100900460ff1681565b3480156106b857600080fd5b50610310610cb2565b3480156106cd57600080fd5b5061038f6106dc3660046122ed565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561071357600080fd5b5061038f60095481565b34801561072957600080fd5b5061031061114a565b34801561073e57600080fd5b5061031061074d36600461222f565b61117c565b34801561075e57600080fd5b5061031061076d366004612248565b6111ec565b6060600380546107819061231b565b80601f01602080910402602001604051908101604052809291908181526020018280546107ad9061231b565b80156107fa5780601f106107cf576101008083540402835291602001916107fa565b820191906000526020600020905b8154815290600101906020018083116107dd57829003601f168201915b5050505050905090565b60003361081281858561127c565b60019150505b92915050565b6108266113d4565b6101f4811115610862576040517fbafb3c5700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c55565b61086f6113d4565b600d80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6108b16113d4565b6006546001600160a01b03908116908316036108f9576040517f2e4479d000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610903828261142e565b5050565b6000336109158582856114a0565b610920858585611550565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610812908290869061096790879061239d565b61127c565b6109746113d4565b61097e6000611690565b565b6109886113d4565b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff169055565b6109ba6113d4565b6001600160a01b03821660008181526010602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915591519182527ff39897000beaac558924c501ba3ebd842aac4c20c0f2540cbd7f36eee731e580910160405180910390a25050565b610a3f6113d4565b610a51670de0b6b3a7640000826123b0565b9050610a696acecb8f27f4200f3a000000600a6116fa565b811015610aa2576040517f3b210adc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600755565b610aaf6113d4565b6001811015610aea576040517f789288f100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612710811115610b26576040517f5d62a18500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b3b6acecb8f27f4200f3a000000826116fa565b60095550565b610b496113d4565b6101f4811115610b85576040517fbafb3c5700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b55565b6060600480546107819061231b565b610ba16113d4565b6001600160a01b03919091166000908152600f6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610c8c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610c99828686840361127c565b506001949350505050565b600033610812818585611550565b610cba6113d4565b600a5460ff1615610cf7576040517f0dc149f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d2d307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6acecb8f27f4200f3a00000061127c565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610daf91906123c7565b6001600160a01b031663c9c65396307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4091906123c7565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec991906123c7565b600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039283169081179091556040517f095ea7b30000000000000000000000000000000000000000000000000000000081527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d90921660048301527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60248301529063095ea7b3906044016020604051808303816000875af1158015610f9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc291906123e4565b50600680546001600160a01b039081166000908152600e60209081526040808320805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009182168117909255955485168452600f83528184208054909616179094553080835290829052929020547f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169163f305d719914791906000806110756005546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156110f5573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061111a9190612401565b5050600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905550565b6111526113d4565b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055565b6111846113d4565b611196670de0b6b3a7640000826123b0565b90506111ae6acecb8f27f4200f3a000000600a6116fa565b8110156111e7576040517f3b210adc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600855565b6111f46113d4565b6001600160a01b0381166112705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c83565b61127981611690565b50565b6001600160a01b0383166112f75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610c83565b6001600160a01b0382166113735760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610c83565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b0316331461097e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c83565b6001600160a01b0382166000818152600e602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915590519092917fda8433dc2b32d1308609c08b02e4f1691c51a5ff9e5b2d4a15f990856bd31abe91a35050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461154a578181101561153d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c83565b61154a848484840361127c565b50505050565b6001600160a01b0383166115cc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610c83565b6001600160a01b0382166116485760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610c83565b806000036116615761165c83836000611713565b505050565b61166c838383611900565b6000611679848484611a08565b90506116858484611b1f565b61154a848483611713565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061271061170983856123b0565b610926919061242f565b6001600160a01b03831661178f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610c83565b6001600160a01b03821661180b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610c83565b6001600160a01b0383166000908152602081905260409020548181101561189a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610c83565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361154a565b600a5462010000900460ff1615806119325750600d5474010000000000000000000000000000000000000000900460ff165b8061194a57506005546001600160a01b038481169116145b8061196257506005546001600160a01b038381169116145b1561196c57505050565b600a5460ff1615801561199857506001600160a01b0383166000908152600f602052604090205460ff16155b80156119bd57506001600160a01b0382166000908152600f602052604090205460ff16155b156119f4576040517fbcb8b8fb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119fd82611c44565b61165c838383611d18565b600d5460009074010000000000000000000000000000000000000000900460ff1680611a4c57506001600160a01b03841660009081526010602052604090205460ff165b80611a6f57506001600160a01b03831660009081526010602052604090205460ff165b15611a7b575080610926565b6001600160a01b0383166000908152600e602052604081205460ff168015611aa557506000600b54115b15611abd57611ab683600b546116fa565b9050611afb565b6001600160a01b0385166000908152600e602052604090205460ff168015611ae757506000600c54115b15611afb57611af883600c546116fa565b90505b8015611b0c57611b0c853083611713565b611b16818461246a565b95945050505050565b60095430600090815260208190526040902054108015908190611b5d5750600d5474010000000000000000000000000000000000000000900460ff16155b8015611b8257506001600160a01b0383166000908152600e602052604090205460ff16155b8015611ba657506001600160a01b0382166000908152600e602052604090205460ff165b8015611bcb57506001600160a01b03831660009081526010602052604090205460ff16155b1561165c57600d80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055611c17611ebc565b600d80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055505050565b600a54610100900460ff16611c565750565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316816001600160a01b03161480611ca357506006546001600160a01b038281169116145b15611cab5750565b6001600160a01b0381166000908152601160205260409020544311611cfc576040517f954883f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03166000908152601160205260409020439055565b6001600160a01b0383166000908152600e602052604090205460ff168015611d5957506001600160a01b0382166000908152600f602052604090205460ff16155b15611df957600754811115611d9a576040517f31598d3200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008546001600160a01b0383166000908152602081905260409020545b611dc1908361239d565b111561165c576040517f746f460700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0382166000908152600e602052604090205460ff168015611e3a57506001600160a01b0383166000908152600f602052604090205460ff16155b15611e7b5760075481111561165c576040517f31598d3200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0382166000908152600f602052604090205460ff1661165c576008546001600160a01b038316600090815260208190526040902054611db7565b3060009081526020819052604081205490819003611ed75750565b600954611ee59060146123b0565b811115611efd57600954611efa9060146123b0565b90505b611f0681611fa9565b600d546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611f53576040519150601f19603f3d011682016040523d82523d6000602084013e611f58565b606091505b50509050806109035760405162461bcd60e51b815260206004820152600b60248201527f73656e64206661696c65640000000000000000000000000000000000000000006044820152606401610c83565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611fde57611fde61247d565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561205c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061208091906123c7565b816001815181106120935761209361247d565b60200260200101906001600160a01b031690816001600160a01b0316815250506120de307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461127c565b6040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac9479061214c9085906000908690309042906004016124ac565b600060405180830381600087803b15801561216657600080fd5b505af115801561217a573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b818110156121af57858101830151858201604001528201612193565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b6001600160a01b038116811461127957600080fd5b6000806040838503121561221657600080fd5b8235612221816121ee565b946020939093013593505050565b60006020828403121561224157600080fd5b5035919050565b60006020828403121561225a57600080fd5b8135610926816121ee565b801515811461127957600080fd5b6000806040838503121561228657600080fd5b8235612291816121ee565b915060208301356122a181612265565b809150509250929050565b6000806000606084860312156122c157600080fd5b83356122cc816121ee565b925060208401356122dc816121ee565b929592945050506040919091013590565b6000806040838503121561230057600080fd5b823561230b816121ee565b915060208301356122a1816121ee565b600181811c9082168061232f57607f821691505b602082108103612368577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156108185761081861236e565b80820281158282048414176108185761081861236e565b6000602082840312156123d957600080fd5b8151610926816121ee565b6000602082840312156123f657600080fd5b815161092681612265565b60008060006060848603121561241657600080fd5b8351925060208401519150604084015190509250925092565b600082612465577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b818103818111156108185761081861236e565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124fc5784516001600160a01b0316835293830193918301916001016124d7565b50506001600160a01b0396909616606085015250505060800152939250505056
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.