ERC-20
Overview
Max Total Supply
1,000,000,000 ORACUL
Holders
8
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
11,785,838.611592937262502107 ORACULValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
OraculAi
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 200 runs
Other Settings:
shanghai EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** /* .oooooo. oooo .o. ooooo d8P' `Y8b `888 .888. `888' 888 888 oooo d8b .oooo. .ooooo. oooo oooo 888 .8"888. 888 888 888 `888""8P `P )88b d88' `"Y8 `888 `888 888 .8' `888. 888 888 888 888 .oP"888 888 888 888 888 .88ooo8888. 888 `88b d88' 888 d8( 888 888 .o8 888 888 888 .8' `888. 888 `Y8bood8P' d888b `Y888""8o `Y8bod8P' `V88V"V8P' o888o o88o o8888o o888o - Web: https://oracul.co/ - Telegram: https://t.me/oracul_ai - X: https://twitter.com/Oracul_ai */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance( address sender, uint256 balance, uint256 needed ); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred.c */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance( address spender, uint256 allowance, uint256 needed ); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval( address indexed owner, address indexed spender, uint256 value ); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance( address owner, address spender ) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 value ) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance( address owner, address spender ) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve( address spender, uint256 value ) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom( address from, address to, uint256 value ) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve( address owner, address spender, uint256 value, bool emitEvent ) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 value ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance( spender, currentAllowance, value ); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.20; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys a `value` amount of tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 value) public virtual { _burn(_msgSender(), value); } /** * @dev Destroys a `value` amount of tokens from `account`, deducting from * the caller's allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `value`. */ function burnFrom(address account, uint256 value) public virtual { _spendAllowance(account, _msgSender(), value); _burn(account, value); } } // Compatible with OpenZeppelin Contracts ^5.0.0 pragma solidity ^0.8.20; interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint ); function getPair( address tokenA, address tokenB ) external view returns (address pair); function createPair( address tokenA, address tokenB ) external returns (address pair); } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } interface IBeautifulToken { event SwapTokensAtAmountUpdated(uint256 value); event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); event DistributeFeeTokens(uint256 tokens); event V2RouterUpdated( address indexed newAddress, address indexed oldAddress ); event SetAutomatedMarketMakerPair(address indexed pair, bool value); event ExcludeFromTax(address indexed _user, bool _isExcludeFromTax); event TaxUpdated(uint256 buyTax, uint256 sellTax); event MaxBuyCapUpdated(uint256 oldCap, uint256 newCap); event MaxSellCapUpdated(uint256 oldCap, uint256 newCap); event OpenTrading(bool); event RemoveLimits(); error TradeOpened(); error TradeNotOpened(); } contract OraculAi is IBeautifulToken, ERC20, ERC20Burnable, Ownable { IUniswapV2Router02 public uniswapV2Router; mapping(address => bool) public automatedMarketMakerPairs; mapping(address => bool) public isExcludeFromTax; address public pair; address[] public feeReceivers; uint256[] public feeDividers; uint256 public absorbFeeRate; address public marketingWallet; address public liquidityWallet; uint256 public MAX_SUPPLY = 1_000_000_000 * (10 ** decimals()); uint256 public buyTax; uint256 public sellTax; uint256 public maxBuyCap; uint256 public maxSellCap; bool private swapping; bool public swapAndLiquifyEnabled = true; bool public tradeOpened = false; uint256 public swapTokensAtAmount; constructor() ERC20("Oracul Ai", "ORACUL") Ownable(msg.sender) { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); uniswapV2Router = _uniswapV2Router; buyTax = 5; sellTax = 5; _setUpAbsorbFee(); maxBuyCap = MAX_SUPPLY / 50; maxSellCap = MAX_SUPPLY / 50; swapTokensAtAmount = MAX_SUPPLY / 200; isExcludeFromTax[address(msg.sender)] = true; // excluding deployer isExcludeFromTax[address(this)] = true; _mint(msg.sender, MAX_SUPPLY); } /** * @dev this function is used to set up fee before deployment */ function _setUpAbsorbFee() private { absorbFeeRate = 0; } /** * @dev this function is for open trading */ function openTrading() external onlyOwner { if (tradeOpened == true) { revert TradeOpened(); } address _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()) .getPair(address(this), uniswapV2Router.WETH()); pair = _uniswapV2Pair; automatedMarketMakerPairs[_uniswapV2Pair] = true; tradeOpened = true; emit OpenTrading(true); } /** * @dev this function is for open trading */ function removeLimits() external onlyOwner { maxBuyCap = MAX_SUPPLY; maxSellCap = MAX_SUPPLY; emit RemoveLimits(); } /** * @dev function for setting Automated MarketMaker Pair * @param _pair address for pair. * @param _value boolean true or false. */ function setAutomatedMarketMakerPair( address _pair, bool _value ) external onlyOwner { require( automatedMarketMakerPairs[_pair] != _value, "PairIsAlreadyGivenValue" ); automatedMarketMakerPairs[_pair] = _value; emit SetAutomatedMarketMakerPair(_pair, _value); } /** * @dev Function to update isExcludeFromTax mapping to exclude or include From Tax * @param _user The address to be exclude or include From Tax * @param _isExcludeFromTax true or false */ function excludeFromTax( address _user, bool _isExcludeFromTax ) external onlyOwner { isExcludeFromTax[_user] = _isExcludeFromTax; emit ExcludeFromTax(_user, _isExcludeFromTax); } function lockLpToken(uint256 buyFee, uint256 sellFee) external onlyOwner { buyTax = buyFee; sellTax = sellFee; emit TaxUpdated(buyFee, sellFee); } /** * @dev Function to update MaxBuyCap * @param cap cap in amounts of tokens in wei */ function setMaxBuyCap(uint256 cap) external onlyOwner { require( cap >= totalSupply() / 100, "maxBuy Cannot be less than 1% of totalSupply" ); emit MaxBuyCapUpdated(maxBuyCap, cap); maxBuyCap = cap; } /** * @dev Function to update MaxSellCap * @param cap cap in amounts of tokens in wei */ function setMaxSellCap(uint256 cap) external onlyOwner { require( cap >= totalSupply() / 100, "maxSell Cannot be less than 1% of totalSupply" ); emit MaxSellCapUpdated(maxSellCap, cap); maxSellCap = cap; } /** * @dev Function to toggle swap and liquify feature * @param _enabled true or false */ function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } //to receive ETH from uniswapV2Router when swaping receive() external payable {} // The following function is overriden to support fees on transfers function _update( address from, address to, uint256 value ) internal override(ERC20) { if (tradeOpened == false && (from != owner() && to != owner())) { revert TradeNotOpened(); } if ( !swapping && from != address(uniswapV2Router) && //router -> pair is removing liquidity which shouldn't have max !isExcludeFromTax[to] //no max for those excluded from fees ) { _validateTransfer(from, to, value, true); } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( swapAndLiquifyEnabled && canSwap && !swapping && !automatedMarketMakerPairs[from] && from != owner() && to != owner() ) { swapping = true; uint256 swapTokens = (contractTokenBalance * (100 - absorbFeeRate)) / 100; _swapAndLiquidifyUnderlying(swapTokens); uint256 sellTokens = balanceOf(address(this)); _distributeFeeTokens(sellTokens); swapping = false; } bool takeFee = !swapping; // if any account belongs to isExcludeFromTax account then remove the fee if (isExcludeFromTax[from] || isExcludeFromTax[to]) { takeFee = false; } if (takeFee) { uint256 fees; if (_isBuy(from)) { fees = (value * buyTax) / 100; } else if (_isSell(from, to)) { fees = (value * sellTax) / 100; } value = value - fees; super._update(from, address(this), fees); } super._update(from, to, value); } // helper functions for buy, sell, lp, swap on uniswap function _isSell( address sender, address recipient ) internal view returns (bool) { return sender != address(uniswapV2Router) && automatedMarketMakerPairs[recipient]; } function _isBuy(address sender) internal view returns (bool) { return automatedMarketMakerPairs[sender]; } function _swapAndLiquidifyUnderlying(uint256 contractTokenBalance) private { uint256 half = contractTokenBalance / 2; uint256 otherHalf = contractTokenBalance - half; uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered // how much ETH did we just swap into? uint256 newBalance = address(this).balance - initialBalance; // add liquidity to uniswap _addLiquidityUnderlying(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } 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 try uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ) {} catch {} } function _addLiquidityUnderlying( uint256 tokenAmount, uint256 ethAmount ) private { _approve(address(this), address(uniswapV2Router), tokenAmount); try uniswapV2Router.addLiquidityETH{ value: ethAmount }( address(this), tokenAmount, 0, 0, liquidityWallet, block.timestamp ) {} catch {} } function _distributeFeeTokens(uint256 tokens) private { for (uint i = 0; i < feeDividers.length; i++) { _transfer( address(this), feeReceivers[i], (tokens * feeDividers[i]) / 100 ); } emit DistributeFeeTokens(tokens); } function _validateTransfer( address sender, address recipient, uint256 amount, bool takeFee ) private view { // Do not check if we are not open trading if (tradeOpened == false) { return; } // Excluded addresses don't have limits if (takeFee) { if (_isBuy(sender) && maxBuyCap != 0) { require(amount <= maxBuyCap, "Buy amount exceeds limit"); } else if (_isSell(sender, recipient) && maxSellCap != 0) { require(amount <= maxSellCap, "Sell amount exceeds limit"); } } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "shanghai", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"TradeNotOpened","type":"error"},{"inputs":[],"name":"TradeOpened","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"DistributeFeeTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"bool","name":"_isExcludeFromTax","type":"bool"}],"name":"ExcludeFromTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldCap","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newCap","type":"uint256"}],"name":"MaxBuyCapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldCap","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newCap","type":"uint256"}],"name":"MaxSellCapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"","type":"bool"}],"name":"OpenTrading","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":[],"name":"RemoveLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SwapTokensAtAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"buyTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sellTax","type":"uint256"}],"name":"TaxUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"V2RouterUpdated","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"absorbFeeRate","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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyTax","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":"_user","type":"address"},{"internalType":"bool","name":"_isExcludeFromTax","type":"bool"}],"name":"excludeFromTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"feeDividers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"feeReceivers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludeFromTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyFee","type":"uint256"},{"internalType":"uint256","name":"sellFee","type":"uint256"}],"name":"lockLpToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","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":"removeLimits","outputs":[],"stateMutability":"nonpayable","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":"_pair","type":"address"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cap","type":"uint256"}],"name":"setMaxBuyCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cap","type":"uint256"}],"name":"setMaxSellCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradeOpened","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052620000126012600a62000d40565b6200002290633b9aca0062000d50565b600f556014805462ffff00191661010017905534801562000041575f80fd5b5033604051806040016040528060098152602001684f726163756c20416960b81b8152506040518060400160405280600681526020016513d49050d55360d21b815250816003908162000095919062000e00565b506004620000a4828262000e00565b5050506001600160a01b038116620000d657604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620000e181620001a0565b50600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155600560108190556011556200011f5f600c55565b6032600f5462000130919062000ec8565b601255600f54620001449060329062000ec8565b601355600f54620001589060c89062000ec8565b601555335f818152600860205260408082208054600160ff1991821681179092553084529190922080549091169091179055600f54620001999190620001f1565b5062000ff6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166200021c5760405163ec442f0560e01b81525f6004820152602401620000cd565b620002295f83836200022d565b5050565b60145462010000900460ff161580156200026f57506005546001600160a01b038481169116148015906200026f57506005546001600160a01b03838116911614155b156200028e5760405163025052a560e61b815260040160405180910390fd5b60145460ff16158015620002b057506006546001600160a01b03848116911614155b8015620002d557506001600160a01b0382165f9081526008602052604090205460ff16155b15620002ea57620002ea8383836001620004f6565b305f908152602081905260409020546015546014549082101590610100900460ff168015620003165750805b801562000326575060145460ff16155b80156200034b57506001600160a01b0385165f9081526007602052604090205460ff16155b80156200036657506005546001600160a01b03868116911614155b80156200038157506005546001600160a01b03858116911614155b15620003f4576014805460ff19166001179055600c545f90606490620003a8908262000ee8565b620003b4908562000d50565b620003c0919062000ec8565b9050620003cd8162000612565b305f90815260208190526040902054620003e781620006a0565b50506014805460ff191690555b6014546001600160a01b0386165f9081526008602052604090205460ff918216159116806200043a57506001600160a01b0385165f9081526008602052604090205460ff165b156200044357505f5b8015620004e1576001600160a01b0386165f9081526007602052604081205460ff161562000491576064601054866200047d919062000d50565b62000489919062000ec8565b9050620004c4565b6200049d878762000763565b15620004c457606460115486620004b5919062000d50565b620004c1919062000ec8565b90505b620004d0818662000ee8565b9450620004df873083620007a4565b505b620004ee868686620007a4565b505050505050565b60145462010000900460ff16156200060c5780156200060c576001600160a01b0384165f9081526007602052604090205460ff16801562000538575060125415155b156200059857601254821115620005925760405162461bcd60e51b815260206004820152601860248201527f42757920616d6f756e742065786365656473206c696d697400000000000000006044820152606401620000cd565b6200060c565b620005a4848462000763565b8015620005b2575060135415155b156200060c576013548211156200060c5760405162461bcd60e51b815260206004820152601960248201527f53656c6c20616d6f756e742065786365656473206c696d6974000000000000006044820152606401620000cd565b50505050565b5f6200062060028362000ec8565b90505f6200062f828462000ee8565b9050476200063d83620008d3565b5f6200064a824762000ee8565b905062000658838262000a33565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b5f5b600b548110156200072c576200072330600a8381548110620006c857620006c862000efe565b905f5260205f20015f9054906101000a90046001600160a01b03166064600b8581548110620006fb57620006fb62000efe565b905f5260205f2001548662000711919062000d50565b6200071d919062000ec8565b62000aea565b600101620006a2565b506040518181527f88437947f9cbc04f50ea6ffceb9de5d9d59570e76d480ae51710bd9fb9f32ae19060200160405180910390a150565b6006545f906001600160a01b038481169116148015906200079b57506001600160a01b0382165f9081526007602052604090205460ff165b90505b92915050565b6001600160a01b038316620007d2578060025f828254620007c6919062000f12565b90915550620008449050565b6001600160a01b0383165f9081526020819052604090205481811015620008265760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000cd565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216620008625760028054829003905562000880565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620008c691815260200190565b60405180910390a3505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811062000909576200090962000efe565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801562000961573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000987919062000f28565b816001815181106200099d576200099d62000efe565b6001600160a01b039283166020918202929092010152600654620009c5913091168462000b52565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790620009ff9085905f9086903090429060040162000f57565b5f604051808303815f87803b15801562000a17575f80fd5b505af192505050801562000a29575060015b1562000229575050565b60065462000a4d9030906001600160a01b03168462000b52565b600654600e5460405163f305d71960e01b8152306004820152602481018590525f6044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af19350505050801562000adc575060408051601f3d908101601f1916820190925262000ad99181019062000fca565b60015b1562000229575b5050505050565b6001600160a01b03831662000b1557604051634b637e8f60e11b81525f6004820152602401620000cd565b6001600160a01b03821662000b405760405163ec442f0560e01b81525f6004820152602401620000cd565b62000b4d8383836200022d565b505050565b62000b4d83838360016001600160a01b03841662000b865760405163e602df0560e01b81525f6004820152602401620000cd565b6001600160a01b03831662000bb157604051634a1406b160e11b81525f6004820152602401620000cd565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156200060c57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405162000c2591815260200190565b60405180910390a350505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111562000c8757815f190482111562000c6b5762000c6b62000c33565b8085161562000c7957918102915b93841c939080029062000c4c565b509250929050565b5f8262000c9f575060016200079e565b8162000cad57505f6200079e565b816001811462000cc6576002811462000cd15762000cf1565b60019150506200079e565b60ff84111562000ce55762000ce562000c33565b50506001821b6200079e565b5060208310610133831016604e8410600b841016171562000d16575081810a6200079e565b62000d22838362000c47565b805f190482111562000d385762000d3862000c33565b029392505050565b5f6200079b60ff84168362000c8f565b80820281158282048414176200079e576200079e62000c33565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168062000d9357607f821691505b60208210810362000db257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000b4d57805f5260205f20601f840160051c8101602085101562000ddf5750805b601f840160051c820191505b8181101562000ae3575f815560010162000deb565b81516001600160401b0381111562000e1c5762000e1c62000d6a565b62000e348162000e2d845462000d7e565b8462000db8565b602080601f83116001811462000e6a575f841562000e525750858301515b5f19600386901b1c1916600185901b178555620004ee565b5f85815260208120601f198616915b8281101562000e9a5788860151825594840194600190910190840162000e79565b508582101562000eb857878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f8262000ee357634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156200079e576200079e62000c33565b634e487b7160e01b5f52603260045260245ffd5b808201808211156200079e576200079e62000c33565b5f6020828403121562000f39575f80fd5b81516001600160a01b038116811462000f50575f80fd5b9392505050565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b8181101562000fa95784516001600160a01b03168352938301939183019160010162000f82565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f6060848603121562000fdd575f80fd5b8351925060208401519150604084015190509250925092565b611c5e80620010045f395ff3fe60806040526004361061022b575f3560e01c80637b6de8d711610129578063c6a30647116100a8578063e2f456051161006d578063e2f456051461067b578063e68f643414610690578063e6dd8856146106af578063f2fde38b146106c4578063fcb75d9d146106e3575f80fd5b8063c6a30647146105d0578063c9567bf9146105ef578063cc1776d314610603578063d469801614610618578063dd62ed3e14610637575f80fd5b80639a7a23d6116100ee5780639a7a23d614610526578063a8aa1b3114610545578063a9059cbb14610564578063b62496f514610583578063c49b9a80146105b1575f80fd5b80637b6de8d7146104935780638da5cb5b146104b257806395d89b41146104cf578063961cc9f8146104e35780639708e25014610511575f80fd5b80634a74bb02116101b557806370a082311161017a57806370a08231146103f9578063715018a61461042d578063751039fc1461044157806375f0a8741461045557806379cc679014610474575f80fd5b80634a74bb02146103695780634f7041a5146103875780635b3817601461039c578063667967f1146103bb5780636bd11819146103da575f80fd5b806323b872dd116101fb57806323b872dd146102e457806324c3491814610303578063313ce5671461031857806332cb6b0c1461033357806342966c6814610348575f80fd5b806306fdde0314610236578063095ea7b3146102605780631694505e1461028f57806318160ddd146102c6575f80fd5b3661023257005b5f80fd5b348015610241575f80fd5b5061024a610702565b6040516102579190611904565b60405180910390f35b34801561026b575f80fd5b5061027f61027a366004611964565b610792565b6040519015158152602001610257565b34801561029a575f80fd5b506006546102ae906001600160a01b031681565b6040516001600160a01b039091168152602001610257565b3480156102d1575f80fd5b506002545b604051908152602001610257565b3480156102ef575f80fd5b5061027f6102fe36600461198e565b6107ab565b34801561030e575f80fd5b506102d6600c5481565b348015610323575f80fd5b5060405160128152602001610257565b34801561033e575f80fd5b506102d6600f5481565b348015610353575f80fd5b506103676103623660046119cc565b6107ce565b005b348015610374575f80fd5b5060145461027f90610100900460ff1681565b348015610392575f80fd5b506102d660105481565b3480156103a7575f80fd5b506102ae6103b63660046119cc565b6107db565b3480156103c6575f80fd5b506102d66103d53660046119cc565b610803565b3480156103e5575f80fd5b5060145461027f9062010000900460ff1681565b348015610404575f80fd5b506102d66104133660046119e3565b6001600160a01b03165f9081526020819052604090205490565b348015610438575f80fd5b50610367610822565b34801561044c575f80fd5b50610367610835565b348015610460575f80fd5b50600d546102ae906001600160a01b031681565b34801561047f575f80fd5b5061036761048e366004611964565b610872565b34801561049e575f80fd5b506103676104ad3660046119fe565b61088b565b3480156104bd575f80fd5b506005546001600160a01b03166102ae565b3480156104da575f80fd5b5061024a6108da565b3480156104ee575f80fd5b5061027f6104fd3660046119e3565b60086020525f908152604090205460ff1681565b34801561051c575f80fd5b506102d660135481565b348015610531575f80fd5b50610367610540366004611a32565b6108e9565b348015610550575f80fd5b506009546102ae906001600160a01b031681565b34801561056f575f80fd5b5061027f61057e366004611964565b6109c4565b34801561058e575f80fd5b5061027f61059d3660046119e3565b60076020525f908152604090205460ff1681565b3480156105bc575f80fd5b506103676105cb366004611a65565b6109d1565b3480156105db575f80fd5b506103676105ea366004611a32565b610a2d565b3480156105fa575f80fd5b50610367610a8c565b34801561060e575f80fd5b506102d660115481565b348015610623575f80fd5b50600e546102ae906001600160a01b031681565b348015610642575f80fd5b506102d6610651366004611a7e565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610686575f80fd5b506102d660155481565b34801561069b575f80fd5b506103676106aa3660046119cc565b610c9c565b3480156106ba575f80fd5b506102d660125481565b3480156106cf575f80fd5b506103676106de3660046119e3565b610d5f565b3480156106ee575f80fd5b506103676106fd3660046119cc565b610d99565b60606003805461071190611ab5565b80601f016020809104026020016040519081016040528092919081815260200182805461073d90611ab5565b80156107885780601f1061075f57610100808354040283529160200191610788565b820191905f5260205f20905b81548152906001019060200180831161076b57829003601f168201915b5050505050905090565b5f3361079f818585610e5b565b60019150505b92915050565b5f336107b8858285610e6d565b6107c3858585610ee8565b506001949350505050565b6107d83382610f45565b50565b600a81815481106107ea575f80fd5b5f918252602090912001546001600160a01b0316905081565b600b8181548110610812575f80fd5b5f91825260209091200154905081565b61082a610f79565b6108335f610fa6565b565b61083d610f79565b600f5460128190556013556040517f56cd40e702ad44e23718371585a7a88bfb79ab8ea81a03c7f8945fabc3c279cf905f90a1565b61087d823383610e6d565b6108878282610f45565b5050565b610893610f79565b6010829055601181905560408051838152602081018390527fb841faf0d1b32571f4ef966a2f35e3ae51f3cdda45318c3da5570a5b2ad85605910160405180910390a15050565b60606004805461071190611ab5565b6108f1610f79565b6001600160a01b0382165f9081526007602052604090205481151560ff9091161515036109655760405162461bcd60e51b815260206004820152601760248201527f506169724973416c7265616479476976656e56616c756500000000000000000060448201526064015b60405180910390fd5b6001600160a01b0382165f81815260076020908152604091829020805460ff191685151590811790915591519182527fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91015b60405180910390a25050565b5f3361079f818585610ee8565b6109d9610f79565b601480548215156101000261ff00199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990610a2290831515815260200190565b60405180910390a150565b610a35610f79565b6001600160a01b0382165f81815260086020908152604091829020805460ff191685151590811790915591519182527f7e9c88b87a525bea9b5a9169ddf4660ad19e19b88ea5057a584ee4d31cceec9c91016109b8565b610a94610f79565b60145462010000900460ff161515600103610ac25760405163176dfd6d60e21b815260040160405180910390fd5b6006546040805163c45a015560e01b815290515f926001600160a01b03169163c45a01559160048083019260209291908290030181865afa158015610b09573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2d9190611aed565b6001600160a01b031663e6a439053060065f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb09190611aed565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610bf9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c1d9190611aed565b600980546001600160a01b0383166001600160a01b031990911681179091555f90815260076020908152604091829020805460ff191660019081179091556014805462ff000019166201000017905591519182529192507f1f600db0df6d805ecdba9e86fb22102b65e03ebd7311928418efa609804ddcf79101610a22565b610ca4610f79565b6064610caf60025490565b610cb99190611b1c565b811015610d1e5760405162461bcd60e51b815260206004820152602d60248201527f6d617853656c6c2043616e6e6f74206265206c657373207468616e203125206f60448201526c6620746f74616c537570706c7960981b606482015260840161095c565b60135460408051918252602082018390527f12bf45c61b66f0927229652515d6cfd15abd8d60f90ddd1f2a0abc1aed87e229910160405180910390a1601355565b610d67610f79565b6001600160a01b038116610d9057604051631e4fbdf760e01b81525f600482015260240161095c565b6107d881610fa6565b610da1610f79565b6064610dac60025490565b610db69190611b1c565b811015610e1a5760405162461bcd60e51b815260206004820152602c60248201527f6d61784275792043616e6e6f74206265206c657373207468616e203125206f6660448201526b20746f74616c537570706c7960a01b606482015260840161095c565b60125460408051918252602082018390527f1146bdc56e690d4231f59e950050325db142ae360e77ae43a09710897b557eeb910160405180910390a1601255565b610e688383836001610ff7565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610ee25781811015610ed457604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161095c565b610ee284848484035f610ff7565b50505050565b6001600160a01b038316610f1157604051634b637e8f60e11b81525f600482015260240161095c565b6001600160a01b038216610f3a5760405163ec442f0560e01b81525f600482015260240161095c565b610e688383836110c9565b6001600160a01b038216610f6e57604051634b637e8f60e11b81525f600482015260240161095c565b610887825f836110c9565b6005546001600160a01b031633146108335760405163118cdaa760e01b815233600482015260240161095c565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0384166110205760405163e602df0560e01b81525f600482015260240161095c565b6001600160a01b03831661104957604051634a1406b160e11b81525f600482015260240161095c565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610ee257826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516110bb91815260200190565b60405180910390a350505050565b60145462010000900460ff1615801561110957506005546001600160a01b0384811691161480159061110957506005546001600160a01b03838116911614155b156111275760405163025052a560e61b815260040160405180910390fd5b60145460ff1615801561114857506006546001600160a01b03848116911614155b801561116c57506001600160a01b0382165f9081526008602052604090205460ff16155b1561117e5761117e8383836001611364565b305f908152602081905260409020546015546014549082101590610100900460ff1680156111a95750805b80156111b8575060145460ff16155b80156111dc57506001600160a01b0385165f9081526007602052604090205460ff16155b80156111f657506005546001600160a01b03868116911614155b801561121057506005546001600160a01b03858116911614155b15611278576014805460ff19166001179055600c545f906064906112349082611b3b565b61123e9085611b4e565b6112489190611b1c565b90506112538161146d565b305f9081526020819052604090205461126b816114f1565b50506014805460ff191690555b6014546001600160a01b0386165f9081526008602052604090205460ff918216159116806112bd57506001600160a01b0385165f9081526008602052604090205460ff165b156112c557505f5b8015611351576001600160a01b0386165f9081526007602052604081205460ff161561130c576064601054866112fb9190611b4e565b6113059190611b1c565b9050611338565b61131687876115a0565b156113385760646011548661132b9190611b4e565b6113359190611b1c565b90505b6113428186611b3b565b945061134f8730836115de565b505b61135c8686866115de565b505050505050565b60145462010000900460ff1615610ee2578015610ee2576001600160a01b0384165f9081526007602052604090205460ff1680156113a3575060125415155b156113ff576012548211156113fa5760405162461bcd60e51b815260206004820152601860248201527f42757920616d6f756e742065786365656473206c696d69740000000000000000604482015260640161095c565b610ee2565b61140984846115a0565b8015611416575060135415155b15610ee257601354821115610ee25760405162461bcd60e51b815260206004820152601960248201527f53656c6c20616d6f756e742065786365656473206c696d697400000000000000604482015260640161095c565b5f611479600283611b1c565b90505f6114868284611b3b565b90504761149283611704565b5f61149d8247611b3b565b90506114a98382611854565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b5f5b600b5481101561156f5761156730600a838154811061151457611514611b65565b905f5260205f20015f9054906101000a90046001600160a01b03166064600b858154811061154457611544611b65565b905f5260205f200154866115589190611b4e565b6115629190611b1c565b610ee8565b6001016114f3565b506040518181527f88437947f9cbc04f50ea6ffceb9de5d9d59570e76d480ae51710bd9fb9f32ae190602001610a22565b6006545f906001600160a01b038481169116148015906115d757506001600160a01b0382165f9081526007602052604090205460ff165b9392505050565b6001600160a01b038316611608578060025f8282546115fd9190611b79565b909155506116789050565b6001600160a01b0383165f908152602081905260409020548181101561165a5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161095c565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611694576002805482900390556116b2565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516116f791815260200190565b60405180910390a3505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061173757611737611b65565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561178e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b29190611aed565b816001815181106117c5576117c5611b65565b6001600160a01b0392831660209182029290920101526006546117eb9130911684610e5b565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906118239085905f90869030904290600401611b8c565b5f604051808303815f87803b15801561183a575f80fd5b505af192505050801561184b575060015b15610887575050565b60065461186c9030906001600160a01b031684610e5b565b600654600e5460405163f305d71960e01b8152306004820152602481018590525f6044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1935050505080156118f8575060408051601f3d908101601f191682019092526118f591810190611bfd565b60015b15610887575050505050565b5f602080835283518060208501525f5b8181101561193057858101830151858201604001528201611914565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146107d8575f80fd5b5f8060408385031215611975575f80fd5b823561198081611950565b946020939093013593505050565b5f805f606084860312156119a0575f80fd5b83356119ab81611950565b925060208401356119bb81611950565b929592945050506040919091013590565b5f602082840312156119dc575f80fd5b5035919050565b5f602082840312156119f3575f80fd5b81356115d781611950565b5f8060408385031215611a0f575f80fd5b50508035926020909101359150565b80358015158114611a2d575f80fd5b919050565b5f8060408385031215611a43575f80fd5b8235611a4e81611950565b9150611a5c60208401611a1e565b90509250929050565b5f60208284031215611a75575f80fd5b6115d782611a1e565b5f8060408385031215611a8f575f80fd5b8235611a9a81611950565b91506020830135611aaa81611950565b809150509250929050565b600181811c90821680611ac957607f821691505b602082108103611ae757634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611afd575f80fd5b81516115d781611950565b634e487b7160e01b5f52601160045260245ffd5b5f82611b3657634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156107a5576107a5611b08565b80820281158282048414176107a5576107a5611b08565b634e487b7160e01b5f52603260045260245ffd5b808201808211156107a5576107a5611b08565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611bdc5784516001600160a01b031683529383019391830191600101611bb7565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f60608486031215611c0f575f80fd5b835192506020840151915060408401519050925092509256fea2646970667358221220be26aed9345e21db34086abc9fd2a744afc246148dd388b849c6a8dfdc754c2564736f6c63430008180033
Deployed Bytecode
0x60806040526004361061022b575f3560e01c80637b6de8d711610129578063c6a30647116100a8578063e2f456051161006d578063e2f456051461067b578063e68f643414610690578063e6dd8856146106af578063f2fde38b146106c4578063fcb75d9d146106e3575f80fd5b8063c6a30647146105d0578063c9567bf9146105ef578063cc1776d314610603578063d469801614610618578063dd62ed3e14610637575f80fd5b80639a7a23d6116100ee5780639a7a23d614610526578063a8aa1b3114610545578063a9059cbb14610564578063b62496f514610583578063c49b9a80146105b1575f80fd5b80637b6de8d7146104935780638da5cb5b146104b257806395d89b41146104cf578063961cc9f8146104e35780639708e25014610511575f80fd5b80634a74bb02116101b557806370a082311161017a57806370a08231146103f9578063715018a61461042d578063751039fc1461044157806375f0a8741461045557806379cc679014610474575f80fd5b80634a74bb02146103695780634f7041a5146103875780635b3817601461039c578063667967f1146103bb5780636bd11819146103da575f80fd5b806323b872dd116101fb57806323b872dd146102e457806324c3491814610303578063313ce5671461031857806332cb6b0c1461033357806342966c6814610348575f80fd5b806306fdde0314610236578063095ea7b3146102605780631694505e1461028f57806318160ddd146102c6575f80fd5b3661023257005b5f80fd5b348015610241575f80fd5b5061024a610702565b6040516102579190611904565b60405180910390f35b34801561026b575f80fd5b5061027f61027a366004611964565b610792565b6040519015158152602001610257565b34801561029a575f80fd5b506006546102ae906001600160a01b031681565b6040516001600160a01b039091168152602001610257565b3480156102d1575f80fd5b506002545b604051908152602001610257565b3480156102ef575f80fd5b5061027f6102fe36600461198e565b6107ab565b34801561030e575f80fd5b506102d6600c5481565b348015610323575f80fd5b5060405160128152602001610257565b34801561033e575f80fd5b506102d6600f5481565b348015610353575f80fd5b506103676103623660046119cc565b6107ce565b005b348015610374575f80fd5b5060145461027f90610100900460ff1681565b348015610392575f80fd5b506102d660105481565b3480156103a7575f80fd5b506102ae6103b63660046119cc565b6107db565b3480156103c6575f80fd5b506102d66103d53660046119cc565b610803565b3480156103e5575f80fd5b5060145461027f9062010000900460ff1681565b348015610404575f80fd5b506102d66104133660046119e3565b6001600160a01b03165f9081526020819052604090205490565b348015610438575f80fd5b50610367610822565b34801561044c575f80fd5b50610367610835565b348015610460575f80fd5b50600d546102ae906001600160a01b031681565b34801561047f575f80fd5b5061036761048e366004611964565b610872565b34801561049e575f80fd5b506103676104ad3660046119fe565b61088b565b3480156104bd575f80fd5b506005546001600160a01b03166102ae565b3480156104da575f80fd5b5061024a6108da565b3480156104ee575f80fd5b5061027f6104fd3660046119e3565b60086020525f908152604090205460ff1681565b34801561051c575f80fd5b506102d660135481565b348015610531575f80fd5b50610367610540366004611a32565b6108e9565b348015610550575f80fd5b506009546102ae906001600160a01b031681565b34801561056f575f80fd5b5061027f61057e366004611964565b6109c4565b34801561058e575f80fd5b5061027f61059d3660046119e3565b60076020525f908152604090205460ff1681565b3480156105bc575f80fd5b506103676105cb366004611a65565b6109d1565b3480156105db575f80fd5b506103676105ea366004611a32565b610a2d565b3480156105fa575f80fd5b50610367610a8c565b34801561060e575f80fd5b506102d660115481565b348015610623575f80fd5b50600e546102ae906001600160a01b031681565b348015610642575f80fd5b506102d6610651366004611a7e565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610686575f80fd5b506102d660155481565b34801561069b575f80fd5b506103676106aa3660046119cc565b610c9c565b3480156106ba575f80fd5b506102d660125481565b3480156106cf575f80fd5b506103676106de3660046119e3565b610d5f565b3480156106ee575f80fd5b506103676106fd3660046119cc565b610d99565b60606003805461071190611ab5565b80601f016020809104026020016040519081016040528092919081815260200182805461073d90611ab5565b80156107885780601f1061075f57610100808354040283529160200191610788565b820191905f5260205f20905b81548152906001019060200180831161076b57829003601f168201915b5050505050905090565b5f3361079f818585610e5b565b60019150505b92915050565b5f336107b8858285610e6d565b6107c3858585610ee8565b506001949350505050565b6107d83382610f45565b50565b600a81815481106107ea575f80fd5b5f918252602090912001546001600160a01b0316905081565b600b8181548110610812575f80fd5b5f91825260209091200154905081565b61082a610f79565b6108335f610fa6565b565b61083d610f79565b600f5460128190556013556040517f56cd40e702ad44e23718371585a7a88bfb79ab8ea81a03c7f8945fabc3c279cf905f90a1565b61087d823383610e6d565b6108878282610f45565b5050565b610893610f79565b6010829055601181905560408051838152602081018390527fb841faf0d1b32571f4ef966a2f35e3ae51f3cdda45318c3da5570a5b2ad85605910160405180910390a15050565b60606004805461071190611ab5565b6108f1610f79565b6001600160a01b0382165f9081526007602052604090205481151560ff9091161515036109655760405162461bcd60e51b815260206004820152601760248201527f506169724973416c7265616479476976656e56616c756500000000000000000060448201526064015b60405180910390fd5b6001600160a01b0382165f81815260076020908152604091829020805460ff191685151590811790915591519182527fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91015b60405180910390a25050565b5f3361079f818585610ee8565b6109d9610f79565b601480548215156101000261ff00199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990610a2290831515815260200190565b60405180910390a150565b610a35610f79565b6001600160a01b0382165f81815260086020908152604091829020805460ff191685151590811790915591519182527f7e9c88b87a525bea9b5a9169ddf4660ad19e19b88ea5057a584ee4d31cceec9c91016109b8565b610a94610f79565b60145462010000900460ff161515600103610ac25760405163176dfd6d60e21b815260040160405180910390fd5b6006546040805163c45a015560e01b815290515f926001600160a01b03169163c45a01559160048083019260209291908290030181865afa158015610b09573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2d9190611aed565b6001600160a01b031663e6a439053060065f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b8c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb09190611aed565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610bf9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c1d9190611aed565b600980546001600160a01b0383166001600160a01b031990911681179091555f90815260076020908152604091829020805460ff191660019081179091556014805462ff000019166201000017905591519182529192507f1f600db0df6d805ecdba9e86fb22102b65e03ebd7311928418efa609804ddcf79101610a22565b610ca4610f79565b6064610caf60025490565b610cb99190611b1c565b811015610d1e5760405162461bcd60e51b815260206004820152602d60248201527f6d617853656c6c2043616e6e6f74206265206c657373207468616e203125206f60448201526c6620746f74616c537570706c7960981b606482015260840161095c565b60135460408051918252602082018390527f12bf45c61b66f0927229652515d6cfd15abd8d60f90ddd1f2a0abc1aed87e229910160405180910390a1601355565b610d67610f79565b6001600160a01b038116610d9057604051631e4fbdf760e01b81525f600482015260240161095c565b6107d881610fa6565b610da1610f79565b6064610dac60025490565b610db69190611b1c565b811015610e1a5760405162461bcd60e51b815260206004820152602c60248201527f6d61784275792043616e6e6f74206265206c657373207468616e203125206f6660448201526b20746f74616c537570706c7960a01b606482015260840161095c565b60125460408051918252602082018390527f1146bdc56e690d4231f59e950050325db142ae360e77ae43a09710897b557eeb910160405180910390a1601255565b610e688383836001610ff7565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610ee25781811015610ed457604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161095c565b610ee284848484035f610ff7565b50505050565b6001600160a01b038316610f1157604051634b637e8f60e11b81525f600482015260240161095c565b6001600160a01b038216610f3a5760405163ec442f0560e01b81525f600482015260240161095c565b610e688383836110c9565b6001600160a01b038216610f6e57604051634b637e8f60e11b81525f600482015260240161095c565b610887825f836110c9565b6005546001600160a01b031633146108335760405163118cdaa760e01b815233600482015260240161095c565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0384166110205760405163e602df0560e01b81525f600482015260240161095c565b6001600160a01b03831661104957604051634a1406b160e11b81525f600482015260240161095c565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610ee257826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516110bb91815260200190565b60405180910390a350505050565b60145462010000900460ff1615801561110957506005546001600160a01b0384811691161480159061110957506005546001600160a01b03838116911614155b156111275760405163025052a560e61b815260040160405180910390fd5b60145460ff1615801561114857506006546001600160a01b03848116911614155b801561116c57506001600160a01b0382165f9081526008602052604090205460ff16155b1561117e5761117e8383836001611364565b305f908152602081905260409020546015546014549082101590610100900460ff1680156111a95750805b80156111b8575060145460ff16155b80156111dc57506001600160a01b0385165f9081526007602052604090205460ff16155b80156111f657506005546001600160a01b03868116911614155b801561121057506005546001600160a01b03858116911614155b15611278576014805460ff19166001179055600c545f906064906112349082611b3b565b61123e9085611b4e565b6112489190611b1c565b90506112538161146d565b305f9081526020819052604090205461126b816114f1565b50506014805460ff191690555b6014546001600160a01b0386165f9081526008602052604090205460ff918216159116806112bd57506001600160a01b0385165f9081526008602052604090205460ff165b156112c557505f5b8015611351576001600160a01b0386165f9081526007602052604081205460ff161561130c576064601054866112fb9190611b4e565b6113059190611b1c565b9050611338565b61131687876115a0565b156113385760646011548661132b9190611b4e565b6113359190611b1c565b90505b6113428186611b3b565b945061134f8730836115de565b505b61135c8686866115de565b505050505050565b60145462010000900460ff1615610ee2578015610ee2576001600160a01b0384165f9081526007602052604090205460ff1680156113a3575060125415155b156113ff576012548211156113fa5760405162461bcd60e51b815260206004820152601860248201527f42757920616d6f756e742065786365656473206c696d69740000000000000000604482015260640161095c565b610ee2565b61140984846115a0565b8015611416575060135415155b15610ee257601354821115610ee25760405162461bcd60e51b815260206004820152601960248201527f53656c6c20616d6f756e742065786365656473206c696d697400000000000000604482015260640161095c565b5f611479600283611b1c565b90505f6114868284611b3b565b90504761149283611704565b5f61149d8247611b3b565b90506114a98382611854565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b5f5b600b5481101561156f5761156730600a838154811061151457611514611b65565b905f5260205f20015f9054906101000a90046001600160a01b03166064600b858154811061154457611544611b65565b905f5260205f200154866115589190611b4e565b6115629190611b1c565b610ee8565b6001016114f3565b506040518181527f88437947f9cbc04f50ea6ffceb9de5d9d59570e76d480ae51710bd9fb9f32ae190602001610a22565b6006545f906001600160a01b038481169116148015906115d757506001600160a01b0382165f9081526007602052604090205460ff165b9392505050565b6001600160a01b038316611608578060025f8282546115fd9190611b79565b909155506116789050565b6001600160a01b0383165f908152602081905260409020548181101561165a5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161095c565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611694576002805482900390556116b2565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516116f791815260200190565b60405180910390a3505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061173757611737611b65565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561178e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b29190611aed565b816001815181106117c5576117c5611b65565b6001600160a01b0392831660209182029290920101526006546117eb9130911684610e5b565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906118239085905f90869030904290600401611b8c565b5f604051808303815f87803b15801561183a575f80fd5b505af192505050801561184b575060015b15610887575050565b60065461186c9030906001600160a01b031684610e5b565b600654600e5460405163f305d71960e01b8152306004820152602481018590525f6044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1935050505080156118f8575060408051601f3d908101601f191682019092526118f591810190611bfd565b60015b15610887575050505050565b5f602080835283518060208501525f5b8181101561193057858101830151858201604001528201611914565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146107d8575f80fd5b5f8060408385031215611975575f80fd5b823561198081611950565b946020939093013593505050565b5f805f606084860312156119a0575f80fd5b83356119ab81611950565b925060208401356119bb81611950565b929592945050506040919091013590565b5f602082840312156119dc575f80fd5b5035919050565b5f602082840312156119f3575f80fd5b81356115d781611950565b5f8060408385031215611a0f575f80fd5b50508035926020909101359150565b80358015158114611a2d575f80fd5b919050565b5f8060408385031215611a43575f80fd5b8235611a4e81611950565b9150611a5c60208401611a1e565b90509250929050565b5f60208284031215611a75575f80fd5b6115d782611a1e565b5f8060408385031215611a8f575f80fd5b8235611a9a81611950565b91506020830135611aaa81611950565b809150509250929050565b600181811c90821680611ac957607f821691505b602082108103611ae757634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611afd575f80fd5b81516115d781611950565b634e487b7160e01b5f52601160045260245ffd5b5f82611b3657634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156107a5576107a5611b08565b80820281158282048414176107a5576107a5611b08565b634e487b7160e01b5f52603260045260245ffd5b808201808211156107a5576107a5611b08565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611bdc5784516001600160a01b031683529383019391830191600101611bb7565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f60608486031215611c0f575f80fd5b835192506020840151915060408401519050925092509256fea2646970667358221220be26aed9345e21db34086abc9fd2a744afc246148dd388b849c6a8dfdc754c2564736f6c63430008180033
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.