ERC-20
Overview
Max Total Supply
100,000,000,000 Vitalinci
Holders
55
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,805,000,000 VitalinciValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Vitalinci
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* // SPDX-License-Identifier: MIT Leonardo's last living descendant, who conquered the blockchain with his giant dick. He is a legend. He is the god of ETH. He is Vitalik. (or she, not confirmed yet but got a huge fat cock btw.) TG: https://t.me/leonardodavitalinci */ pragma solidity 0.8.7; /** * @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; } } /** * @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); } } /** * @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); } /** * @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); } /** * @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 {} } interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); 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(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval( address indexed owner, address indexed spender, uint256 value ); event Transfer(address indexed from, address indexed to, uint256 value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 value ) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn( address indexed sender, uint256 amount0, uint256 amount1, address indexed to ); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns ( uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast ); function price0CumulativeLast() external view returns (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } contract Vitalinci is ERC20, Ownable { IUniswapV2Router02 private _uniswapV2Router; address private _uniswapV2Pair; address private _feeWallet; bool private _swapping; bool public limitsInEffect; bool private _isTradingActive; bool private _nodeReward; uint256 private _startAt; uint256 private _deadBlocks; uint256 public maxTxAmount; uint256 public maxWallet; uint256 public swapTokensAtAmount; uint256 private _buyFees; uint256 private _sellFees; uint256 private _buyMarketingFee; uint256 private _buyLiquidityFee; uint256 private _sellMarketingFee; uint256 private _sellLiquidityFee; uint256 private _tokensForMarketing; uint256 private _tokensForLiquidity; // exlcude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) private _isExcludedMaxTxAmount; mapping(address => bool) private automatedMarketMakerPairs; // blacklist snipers mapping(address => bool) public blacklist; // Events event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event FeeWalletUpdated( address indexed newWallet, address indexed oldWallet ); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); constructor() ERC20("Leonardo Da Vitalinci", "Vitalinci") { _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); _uniswapV2Pair = address(0); // Total supply 100,000,000,000 uint256 totalSupply = 100_000_000_000 * 1e18; // Set default fees _buyMarketingFee = 20; // 2% _buyLiquidityFee = 30; // 3% _sellMarketingFee = 20; // 2% _sellLiquidityFee = 30; // 3% // No trading yet _isTradingActive = false; _nodeReward = false; _startAt = 0; _deadBlocks = 0; limitsInEffect = true; // Set fees for buy and sell side _buyFees = _buyMarketingFee + _buyLiquidityFee; _sellFees = _sellMarketingFee + _sellLiquidityFee; // Max TX amount is 2% of total supply maxTxAmount = (totalSupply * 20) / 1000; // Max wallet amount is 2.5% of total supply maxWallet = (totalSupply * 30) / 1000; // Set auto lp limit swapTokensAtAmount = (totalSupply * 30) / 10000; _feeWallet = address(owner()); // set as fee wallet // exclude from paying fees or having max transaction amount excludeFromFees(address(0xdead), true); excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); excludeFromMaxTransaction(owner(), true); /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(address(owner()), totalSupply); } /** * @dev Change state, to prevent infinite loop during transfer * modifier. * */ modifier lockSwap() { _swapping = true; _; _swapping = false; } /** * @dev Create a Uniswap pair contract * * This function can only be called by the owner. It will create a Uniswap pair and saves the pair address * * Emits an {Pair Created} event. * * Requirements: * * - `_uniswapV2Pair` must be the zero address. */ function initializeContract() external onlyOwner { require(_uniswapV2Pair == address(0), "pair already created"); // Create pair _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); // Store the pair automatedMarketMakerPairs[_uniswapV2Pair] = true; } /** * @dev Add liquidity to the pair contract and allow trading * * This function can only be called by the owner. It will fund the pair contract with WETH + FRAC token combinations. * all FRAC token will be transfered to the pair * * Emits an {Liquidity Added} event. * * Requirements: * * - `_uniswapV2Pair` must not be the zero address. * - `_isTradingActive` must be false. */ function allowTrading(uint256 deadblock) external onlyOwner { require(_uniswapV2Pair != address(0), "pair not yet created"); require(!_isTradingActive, "trade is already open"); // Allow trading _isTradingActive = true; _deadBlocks = deadblock; _startAt = block.number; } /** * @dev Update the Auto Liqify feature's token limit * * This function can only be called by the owner. The new limits for the Auto Liquify feature will be updated * * * Requirements: * * - `newAmount` must be greater than 0.001% of the total supply * - `newAmount` must be less than 0.5% of the total supply */ function updateMaxTxAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 1) / 1000), "Cannot set maxTransactionAmount lower than 0.1%" ); maxTxAmount = newNum; } function updateMaxWallet(uint256 newNum) external onlyOwner { maxWallet = newNum; } /** * @dev Update the Auto Liqify feature's token limit * * This function can only be called by the owner. The new limits for the Auto Liquify feature will be updated * * * Requirements: * * - `newAmount` must be greater than 0.001% of the total supply * - `newAmount` must be less than 0.5% of the total supply */ function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner { require( newAmount >= (totalSupply() * 1) / 100000, "cannot be lower than 0.001% total supply." ); require( newAmount <= (totalSupply() * 5) / 1000, "cannot be higher than 0.5% total supply." ); swapTokensAtAmount = newAmount; } /** * @dev Remove the trading limits * * This function can only be called by the owner. It will remove the transfer limits from the contract. */ function removeLimits() external { limitsInEffect = false; } /** * @dev Remove a dedicated address from the blacklist * * This function can only be called by the owner. It remove one dedicated address from the blacklist * * Requirements: * * - `account` must be blacklisted. */ function removeFromBlacklist(address account) external onlyOwner { require(blacklist[account] == true, "account is not in the blacklist"); blacklist[account] = false; } /** * @dev Update the trading fees * * This function can only be called by the owner. It will update the trading fees of the contrcat * * Requirements: * * - `buyMarketingFee` must not greater than 10%. * - `buyLiquidityFee` must not greater than 10%. * - `sellMarketingFee` must not greater than 10%. * - `sellLiquidityFee` must not greater than 10%. */ function setFee( uint256 buyMarketingFee, uint256 buyLiquidityFee, uint256 sellMarketingFee, uint256 sellLiquidityFee ) external onlyOwner { _buyMarketingFee = buyMarketingFee; _buyLiquidityFee = buyLiquidityFee; _sellMarketingFee = sellMarketingFee; _sellLiquidityFee = sellLiquidityFee; _buyFees = _buyMarketingFee + _buyLiquidityFee; _sellFees = _sellMarketingFee + _sellLiquidityFee; } /** * @dev Exclude a dedicated address from the trading fees * * This function can only be called by the owner. It will exclude a given address from the trading fees. * * Emits an {ExcludeFromFees} event. * */ function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } /** * @dev Exclude a dedicated address from max transactions * * This function can only be called by the owner. It will exclude a given address from the transaction limits. * */ function excludeFromMaxTransaction(address account, bool excluded) public onlyOwner { _isExcludedMaxTxAmount[account] = excluded; } /** * @dev Add liquidity to the pair contract and allow trading * * This function can only be called by the owner. It will fund the pair contract with WETH + FRAC token combinations. * all FRAC token will be transfered to the pair * * Emits an {Liquidity Added} event. * * Requirements: * * - `_uniswapV2Pair` must not be the zero address. * - `_isTradingActive` must be false. */ function updateFeeWallet(address newWallet) external onlyOwner { emit FeeWalletUpdated(newWallet, _feeWallet); _feeWallet = newWallet; } /** * @dev Check if the conditions are met for Auto Liquify * * Internal function to determine if the Auto Liquify feature should perform a swap or not * * Requirements: * */ function _canSwap(address from, address to) private view returns (bool) { uint256 totalTokensForSwap = _tokensForLiquidity + _tokensForMarketing; bool canSwap = totalTokensForSwap >= swapTokensAtAmount; return canSwap && !_swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]; } /** * @dev Check if limits are applicable * * Internal function to check if limits are applicable * */ function _hasLimits( address from, address to, bool takeFee ) private view returns (bool) { return from != owner() && to != owner() && !_isExcludedMaxTxAmount[tx.origin] && !_isExcludedMaxTxAmount[from] && !_isExcludedMaxTxAmount[to] && to != address(0xdead) && to != address(0) && limitsInEffect && takeFee && from != address(this); } /** * @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 override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "ERC20: amount must be greater than 0"); require(!blacklist[from], "Bot detected"); if (!(_isExcludedFromFees[from] || _isExcludedFromFees[to])) require(_isTradingActive, "trading is not active"); if (_canSwap(from, to)) swapBack(); bool takeFee = !_swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } if (_hasLimits(from, to, takeFee)) { // enfore limits require(amount <= maxTxAmount, "max transaction amount exceeded"); if (automatedMarketMakerPairs[from]) { require( (amount + balanceOf(to)) <= maxWallet, "max wallet amount exceeded" ); } } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // when buy if (automatedMarketMakerPairs[from]) { if ((block.number < _startAt + _deadBlocks)) { blacklist[to] = true; } fees = (amount * _buyFees) / 1000; _tokensForLiquidity += (fees * _buyLiquidityFee) / _buyFees; _tokensForMarketing += (fees * _buyMarketingFee) / _buyFees; } // when sell else if (automatedMarketMakerPairs[to]) { fees = (amount * _sellFees) / 1000; _tokensForLiquidity += (fees * _sellLiquidityFee) / _sellFees; _tokensForMarketing += (fees * _sellMarketingFee) / _sellFees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount = amount - fees; } super._transfer(from, to, amount); } /** * @dev Perform a swap from GRMX to ETH * * Internal function to swap FRAC tokens to WETH * */ function _swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of FRAC -> 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 ); } /** * @dev Add liquidity to the pair contract * * Internal function, it will fund the pair contract with WETH + FRAC token combinations. * all FRAC token will be transfered to the pair * * Emits an {Liquidity Added} event. * */ function _addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(_uniswapV2Router), tokenAmount); // add the liquidity _uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable _feeWallet, block.timestamp ); } /** * @dev Swap back the marketing + liquidity fees to WETH * * Internal function to swap back the FRAC tokens to WETH for further use * */ function swapBack() private lockSwap { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = _tokensForLiquidity + _tokensForMarketing; if (contractBalance == 0 || totalTokensToSwap == 0) return; if (contractBalance > swapTokensAtAmount) { contractBalance = swapTokensAtAmount; } uint256 liquidityTokens = (contractBalance * _tokensForLiquidity) / totalTokensToSwap / 2; uint256 amountToSwapForETH = totalTokensToSwap - liquidityTokens; uint256 initialETHBalance = address(this).balance; _swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance - initialETHBalance; uint256 ethForMarketing = (ethBalance * _tokensForMarketing) / totalTokensToSwap; uint256 ethForLiquidity = ethBalance - ethForMarketing; _tokensForLiquidity = 0; _tokensForMarketing = 0; payable(_feeWallet).transfer(ethForMarketing); if (liquidityTokens > 0 && ethForLiquidity > 0) { _addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify( amountToSwapForETH, ethForLiquidity, _tokensForLiquidity ); } } /** * @dev Swap back the marketing + liquidity fees to WETH * * External function to force a swap back the FRAC tokens to WETH for further use * */ function forceSwap() external { swapBack(); } /** * @dev Free up stucked balance on the contract * */ function forceSend() external { payable(_feeWallet).transfer(address(this).balance); } receive() external payable {} }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"FeeWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"deadblock","type":"uint256"}],"name":"allowTrading","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initializeContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyMarketingFee","type":"uint256"},{"internalType":"uint256","name":"buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"sellMarketingFee","type":"uint256"},{"internalType":"uint256","name":"sellLiquidityFee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082018252601581527f4c656f6e6172646f20446120566974616c696e63690000000000000000000000602080830191825283518085019094526009845268566974616c696e636960b81b90840152815191929162000078916003916200047a565b5080516200008e9060049060208401906200047a565b505050620000ab620000a56200026160201b60201c565b62000265565b600680546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1790915560078054909116905560146010819055601e6011819055601282905560138190556008805460006009819055600a5562ffffff60a81b1916600160a81b1790556c01431e0fae6d7217caa0000000916200012f919062000520565b600e5560135460125462000144919062000520565b600f556103e8620001578260146200055e565b6200016391906200053b565b600b556103e86200017682601e6200055e565b6200018291906200053b565b600c556127106200019582601e6200055e565b620001a191906200053b565b600d55600554600880546001600160a01b0319166001600160a01b03909216919091179055620001d561dead6001620002b7565b620001f4620001ec6005546001600160a01b031690565b6001620002b7565b62000201306001620002b7565b6200020e30600162000320565b6200021d61dead600162000320565b6200023c620002346005546001600160a01b031690565b600162000320565b6200025a620002536005546001600160a01b031690565b8262000355565b50620005d3565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002c16200041c565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6200032a6200041c565b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6001600160a01b038216620003b15760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060026000828254620003c5919062000520565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620004785760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620003a8565b565b828054620004889062000580565b90600052602060002090601f016020900481019282620004ac5760008555620004f7565b82601f10620004c757805160ff1916838001178555620004f7565b82800160010185558215620004f7579182015b82811115620004f7578251825591602001919060010190620004da565b506200050592915062000509565b5090565b5b808211156200050557600081556001016200050a565b60008219821115620005365762000536620005bd565b500190565b6000826200055957634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156200057b576200057b620005bd565b500290565b600181811c908216806200059557607f821691505b60208210811415620005b757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b61208880620005e36000396000f3fe6080604052600436106101e75760003560e01c8063890a477b11610102578063c024666811610095578063e2f4560511610064578063e2f4560514610568578063f2fde38b1461057e578063f8b45b051461059e578063f9f92be4146105b457600080fd5b8063c0246668146104f3578063d257b34f14610513578063dd62ed3e14610533578063df778d261461055357600080fd5b80639eb32fdb116100d15780639eb32fdb1461047e578063a2a957bb14610493578063a457c2d7146104b3578063a9059cbb146104d357600080fd5b8063890a477b1461040b5780638c0b5e221461042b5780638da5cb5b1461044157806395d89b411461046957600080fd5b80634a62bb651161017a57806370a082311161014957806370a0823114610381578063715018a6146103b7578063751039fc146103cc5780637571336a146103eb57600080fd5b80634a62bb6514610300578063537df3b6146103215780636256d18114610341578063667185241461036157600080fd5b80631c499ab0116101b65780631c499ab01461028457806323b872dd146102a4578063313ce567146102c457806339509351146102e057600080fd5b806306fdde03146101f3578063095ea7b31461021e57806312b77e8a1461024e57806318160ddd1461026557600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b506102086105e4565b6040516102159190611e18565b60405180910390f35b34801561022a57600080fd5b5061023e610239366004611d73565b610676565b6040519015158152602001610215565b34801561025a57600080fd5b5061026361068e565b005b34801561027157600080fd5b506002545b604051908152602001610215565b34801561029057600080fd5b5061026361029f366004611d9f565b6106ca565b3480156102b057600080fd5b5061023e6102bf366004611cff565b6106d7565b3480156102d057600080fd5b5060405160128152602001610215565b3480156102ec57600080fd5b5061023e6102fb366004611d73565b6106fb565b34801561030c57600080fd5b5060085461023e90600160a81b900460ff1681565b34801561032d57600080fd5b5061026361033c366004611c85565b61071d565b34801561034d57600080fd5b5061026361035c366004611d9f565b6107b8565b34801561036d57600080fd5b5061026361037c366004611c85565b61084d565b34801561038d57600080fd5b5061027661039c366004611c85565b6001600160a01b031660009081526020819052604090205490565b3480156103c357600080fd5b506102636108b2565b3480156103d857600080fd5b506102636008805460ff60a81b19169055565b3480156103f757600080fd5b50610263610406366004611d40565b6108c6565b34801561041757600080fd5b50610263610426366004611d9f565b6108f9565b34801561043757600080fd5b50610276600b5481565b34801561044d57600080fd5b506005546040516001600160a01b039091168152602001610215565b34801561047557600080fd5b506102086109be565b34801561048a57600080fd5b506102636109cd565b34801561049f57600080fd5b506102636104ae366004611de6565b610bfa565b3480156104bf57600080fd5b5061023e6104ce366004611d73565b610c3c565b3480156104df57600080fd5b5061023e6104ee366004611d73565b610cb7565b3480156104ff57600080fd5b5061026361050e366004611d40565b610cc5565b34801561051f57600080fd5b5061026361052e366004611d9f565b610d2c565b34801561053f57600080fd5b5061027661054e366004611cc6565b610e3d565b34801561055f57600080fd5b50610263610e68565b34801561057457600080fd5b50610276600d5481565b34801561058a57600080fd5b50610263610599366004611c85565b610e70565b3480156105aa57600080fd5b50610276600c5481565b3480156105c057600080fd5b5061023e6105cf366004611c85565b60196020526000908152604090205460ff1681565b6060600380546105f390611fd6565b80601f016020809104026020016040519081016040528092919081815260200182805461061f90611fd6565b801561066c5780601f106106415761010080835404028352916020019161066c565b820191906000526020600020905b81548152906001019060200180831161064f57829003601f168201915b5050505050905090565b600033610684818585610ee6565b5060019392505050565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156106c7573d6000803e3d6000fd5b50565b6106d261100a565b600c55565b6000336106e5858285611064565b6106f08585856110de565b506001949350505050565b60003361068481858561070e8383610e3d565b6107189190611f66565b610ee6565b61072561100a565b6001600160a01b03811660009081526019602052604090205460ff1615156001146107975760405162461bcd60e51b815260206004820152601f60248201527f6163636f756e74206973206e6f7420696e2074686520626c61636b6c6973740060448201526064015b60405180910390fd5b6001600160a01b03166000908152601960205260409020805460ff19169055565b6107c061100a565b6103e86107cc60025490565b6107d7906001611fa0565b6107e19190611f7e565b8110156108485760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b606482015260840161078e565b600b55565b61085561100a565b6008546040516001600160a01b03918216918316907f362a006325d32978b283e449d254cfcf93e2cccc321603ead9a74238d8dbf36e90600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6108ba61100a565b6108c4600061158f565b565b6108ce61100a565b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b61090161100a565b6007546001600160a01b03166109505760405162461bcd60e51b81526020600482015260146024820152731c185a5c881b9bdd081e595d0818dc99585d195960621b604482015260640161078e565b600854600160b01b900460ff16156109a25760405162461bcd60e51b81526020600482015260156024820152743a3930b2329034b99030b63932b0b23c9037b832b760591b604482015260640161078e565b6008805460ff60b01b1916600160b01b179055600a5543600955565b6060600480546105f390611fd6565b6109d561100a565b6007546001600160a01b031615610a255760405162461bcd60e51b81526020600482015260146024820152731c185a5c88185b1c9958591e4818dc99585d195960621b604482015260640161078e565b600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610a7357600080fd5b505afa158015610a87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aab9190611ca9565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610b0857600080fd5b505afa158015610b1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b409190611ca9565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610b8857600080fd5b505af1158015610b9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc09190611ca9565b600780546001600160a01b0319166001600160a01b039290921691821790556000908152601860205260409020805460ff19166001179055565b610c0261100a565b6010849055601183905560128290556013819055610c208385611f66565b600e55601354601254610c339190611f66565b600f5550505050565b60003381610c4a8286610e3d565b905083811015610caa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161078e565b6106f08286868403610ee6565b6000336106848185856110de565b610ccd61100a565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610d3461100a565b620186a0610d4160025490565b610d4c906001611fa0565b610d569190611f7e565b811015610db75760405162461bcd60e51b815260206004820152602960248201527f63616e6e6f74206265206c6f776572207468616e20302e3030312520746f7461604482015268361039bab838363c9760b91b606482015260840161078e565b6103e8610dc360025490565b610dce906005611fa0565b610dd89190611f7e565b811115610e385760405162461bcd60e51b815260206004820152602860248201527f63616e6e6f7420626520686967686572207468616e20302e352520746f74616c6044820152671039bab838363c9760c11b606482015260840161078e565b600d55565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6108c46115e1565b610e7861100a565b6001600160a01b038116610edd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161078e565b6106c78161158f565b6001600160a01b038316610f485760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161078e565b6001600160a01b038216610fa95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161078e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146108c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161078e565b60006110708484610e3d565b905060001981146110d857818110156110cb5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161078e565b6110d88484848403610ee6565b50505050565b6001600160a01b0383166111045760405162461bcd60e51b815260040161078e90611eb0565b6001600160a01b03821661112a5760405162461bcd60e51b815260040161078e90611e6d565b600081116111865760405162461bcd60e51b8152602060048201526024808201527f45524332303a20616d6f756e74206d75737420626520677265617465722074686044820152630616e20360e41b606482015260840161078e565b6001600160a01b03831660009081526019602052604090205460ff16156111de5760405162461bcd60e51b815260206004820152600c60248201526b109bdd0819195d1958dd195960a21b604482015260640161078e565b6001600160a01b03831660009081526016602052604090205460ff168061121d57506001600160a01b03821660009081526016602052604090205460ff165b61127257600854600160b01b900460ff166112725760405162461bcd60e51b815260206004820152601560248201527474726164696e67206973206e6f742061637469766560581b604482015260640161078e565b61127c838361177b565b15611289576112896115e1565b6008546001600160a01b03841660009081526016602052604090205460ff600160a01b9092048216159116806112d757506001600160a01b03831660009081526016602052604090205460ff165b156112e0575060005b6112eb848483611827565b156113d757600b548211156113425760405162461bcd60e51b815260206004820152601f60248201527f6d6178207472616e73616374696f6e20616d6f756e7420657863656564656400604482015260640161078e565b6001600160a01b03841660009081526018602052604090205460ff16156113d757600c546001600160a01b0384166000908152602081905260409020546113899084611f66565b11156113d75760405162461bcd60e51b815260206004820152601a60248201527f6d61782077616c6c657420616d6f756e74206578636565646564000000000000604482015260640161078e565b6000811561157d576001600160a01b03851660009081526018602052604090205460ff16156114bf57600a546009546114109190611f66565b43101561143b576001600160a01b0384166000908152601960205260409020805460ff191660011790555b6103e8600e548461144c9190611fa0565b6114569190611f7e565b9050600e54601154826114699190611fa0565b6114739190611f7e565b601560008282546114849190611f66565b9091555050600e546010546114999083611fa0565b6114a39190611f7e565b601460008282546114b49190611f66565b9091555061155f9050565b6001600160a01b03841660009081526018602052604090205460ff161561155f576103e8600f54846114f19190611fa0565b6114fb9190611f7e565b9050600f546013548261150e9190611fa0565b6115189190611f7e565b601560008282546115299190611f66565b9091555050600f5460125461153e9083611fa0565b6115489190611f7e565b601460008282546115599190611f66565b90915550505b801561157057611570853083611936565b61157a8184611fbf565b92505b611588858585611936565b5050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008805460ff60a01b1916600160a01b17905530600090815260208190526040812054905060006014546015546116189190611f66565b9050811580611625575080155b1561163157505061176c565b600d5482111561164157600d5491505b6000600282601554856116549190611fa0565b61165e9190611f7e565b6116689190611f7e565b905060006116768284611fbf565b90504761168282611a60565b600061168e8247611fbf565b9050600085601454836116a19190611fa0565b6116ab9190611f7e565b905060006116b98284611fbf565b6000601581905560148190556008546040519293506001600160a01b03169184156108fc0291859190818181858888f193505050501580156116ff573d6000803e3d6000fd5b506000861180156117105750600081115b156117635761171f8682611bc9565b601554604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b50505050505050505b6008805460ff60a01b19169055565b60008060145460155461178e9190611f66565b600d54909150811080159081906117af5750600854600160a01b900460ff16155b80156117d457506001600160a01b03851660009081526018602052604090205460ff16155b80156117f957506001600160a01b03851660009081526016602052604090205460ff16155b801561181e57506001600160a01b03841660009081526016602052604090205460ff16155b95945050505050565b600061183b6005546001600160a01b031690565b6001600160a01b0316846001600160a01b03161415801561186a57506005546001600160a01b03848116911614155b801561188657503260009081526017602052604090205460ff16155b80156118ab57506001600160a01b03841660009081526017602052604090205460ff16155b80156118d057506001600160a01b03831660009081526017602052604090205460ff16155b80156118e757506001600160a01b03831661dead14155b80156118fb57506001600160a01b03831615155b80156119105750600854600160a81b900460ff165b80156119195750815b801561192e57506001600160a01b0384163014155b949350505050565b6001600160a01b03831661195c5760405162461bcd60e51b815260040161078e90611eb0565b6001600160a01b0382166119825760405162461bcd60e51b815260040161078e90611e6d565b6001600160a01b038316600090815260208190526040902054818110156119fa5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161078e565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36110d8565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a9557611a95612027565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611ae957600080fd5b505afa158015611afd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b219190611ca9565b81600181518110611b3457611b34612027565b6001600160a01b039283166020918202929092010152600654611b5a9130911684610ee6565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611b93908590600090869030904290600401611ef5565b600060405180830381600087803b158015611bad57600080fd5b505af1158015611bc1573d6000803e3d6000fd5b505050505050565b600654611be19030906001600160a01b031684610ee6565b60065460085460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b158015611c4c57600080fd5b505af1158015611c60573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906115889190611db8565b600060208284031215611c9757600080fd5b8135611ca28161203d565b9392505050565b600060208284031215611cbb57600080fd5b8151611ca28161203d565b60008060408385031215611cd957600080fd5b8235611ce48161203d565b91506020830135611cf48161203d565b809150509250929050565b600080600060608486031215611d1457600080fd5b8335611d1f8161203d565b92506020840135611d2f8161203d565b929592945050506040919091013590565b60008060408385031215611d5357600080fd5b8235611d5e8161203d565b915060208301358015158114611cf457600080fd5b60008060408385031215611d8657600080fd5b8235611d918161203d565b946020939093013593505050565b600060208284031215611db157600080fd5b5035919050565b600080600060608486031215611dcd57600080fd5b8351925060208401519150604084015190509250925092565b60008060008060808587031215611dfc57600080fd5b5050823594602084013594506040840135936060013592509050565b600060208083528351808285015260005b81811015611e4557858101830151858201604001528201611e29565b81811115611e57576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f455784516001600160a01b031683529383019391830191600101611f20565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611f7957611f79612011565b500190565b600082611f9b57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611fba57611fba612011565b500290565b600082821015611fd157611fd1612011565b500390565b600181811c90821680611fea57607f821691505b6020821081141561200b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03811681146106c757600080fdfea26469706673582212205bea698c531d0d0754df95a8cc75dc2ecf9c60fa349982794ce3ca0da8f7af0b64736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101e75760003560e01c8063890a477b11610102578063c024666811610095578063e2f4560511610064578063e2f4560514610568578063f2fde38b1461057e578063f8b45b051461059e578063f9f92be4146105b457600080fd5b8063c0246668146104f3578063d257b34f14610513578063dd62ed3e14610533578063df778d261461055357600080fd5b80639eb32fdb116100d15780639eb32fdb1461047e578063a2a957bb14610493578063a457c2d7146104b3578063a9059cbb146104d357600080fd5b8063890a477b1461040b5780638c0b5e221461042b5780638da5cb5b1461044157806395d89b411461046957600080fd5b80634a62bb651161017a57806370a082311161014957806370a0823114610381578063715018a6146103b7578063751039fc146103cc5780637571336a146103eb57600080fd5b80634a62bb6514610300578063537df3b6146103215780636256d18114610341578063667185241461036157600080fd5b80631c499ab0116101b65780631c499ab01461028457806323b872dd146102a4578063313ce567146102c457806339509351146102e057600080fd5b806306fdde03146101f3578063095ea7b31461021e57806312b77e8a1461024e57806318160ddd1461026557600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b506102086105e4565b6040516102159190611e18565b60405180910390f35b34801561022a57600080fd5b5061023e610239366004611d73565b610676565b6040519015158152602001610215565b34801561025a57600080fd5b5061026361068e565b005b34801561027157600080fd5b506002545b604051908152602001610215565b34801561029057600080fd5b5061026361029f366004611d9f565b6106ca565b3480156102b057600080fd5b5061023e6102bf366004611cff565b6106d7565b3480156102d057600080fd5b5060405160128152602001610215565b3480156102ec57600080fd5b5061023e6102fb366004611d73565b6106fb565b34801561030c57600080fd5b5060085461023e90600160a81b900460ff1681565b34801561032d57600080fd5b5061026361033c366004611c85565b61071d565b34801561034d57600080fd5b5061026361035c366004611d9f565b6107b8565b34801561036d57600080fd5b5061026361037c366004611c85565b61084d565b34801561038d57600080fd5b5061027661039c366004611c85565b6001600160a01b031660009081526020819052604090205490565b3480156103c357600080fd5b506102636108b2565b3480156103d857600080fd5b506102636008805460ff60a81b19169055565b3480156103f757600080fd5b50610263610406366004611d40565b6108c6565b34801561041757600080fd5b50610263610426366004611d9f565b6108f9565b34801561043757600080fd5b50610276600b5481565b34801561044d57600080fd5b506005546040516001600160a01b039091168152602001610215565b34801561047557600080fd5b506102086109be565b34801561048a57600080fd5b506102636109cd565b34801561049f57600080fd5b506102636104ae366004611de6565b610bfa565b3480156104bf57600080fd5b5061023e6104ce366004611d73565b610c3c565b3480156104df57600080fd5b5061023e6104ee366004611d73565b610cb7565b3480156104ff57600080fd5b5061026361050e366004611d40565b610cc5565b34801561051f57600080fd5b5061026361052e366004611d9f565b610d2c565b34801561053f57600080fd5b5061027661054e366004611cc6565b610e3d565b34801561055f57600080fd5b50610263610e68565b34801561057457600080fd5b50610276600d5481565b34801561058a57600080fd5b50610263610599366004611c85565b610e70565b3480156105aa57600080fd5b50610276600c5481565b3480156105c057600080fd5b5061023e6105cf366004611c85565b60196020526000908152604090205460ff1681565b6060600380546105f390611fd6565b80601f016020809104026020016040519081016040528092919081815260200182805461061f90611fd6565b801561066c5780601f106106415761010080835404028352916020019161066c565b820191906000526020600020905b81548152906001019060200180831161064f57829003601f168201915b5050505050905090565b600033610684818585610ee6565b5060019392505050565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156106c7573d6000803e3d6000fd5b50565b6106d261100a565b600c55565b6000336106e5858285611064565b6106f08585856110de565b506001949350505050565b60003361068481858561070e8383610e3d565b6107189190611f66565b610ee6565b61072561100a565b6001600160a01b03811660009081526019602052604090205460ff1615156001146107975760405162461bcd60e51b815260206004820152601f60248201527f6163636f756e74206973206e6f7420696e2074686520626c61636b6c6973740060448201526064015b60405180910390fd5b6001600160a01b03166000908152601960205260409020805460ff19169055565b6107c061100a565b6103e86107cc60025490565b6107d7906001611fa0565b6107e19190611f7e565b8110156108485760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b606482015260840161078e565b600b55565b61085561100a565b6008546040516001600160a01b03918216918316907f362a006325d32978b283e449d254cfcf93e2cccc321603ead9a74238d8dbf36e90600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6108ba61100a565b6108c4600061158f565b565b6108ce61100a565b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b61090161100a565b6007546001600160a01b03166109505760405162461bcd60e51b81526020600482015260146024820152731c185a5c881b9bdd081e595d0818dc99585d195960621b604482015260640161078e565b600854600160b01b900460ff16156109a25760405162461bcd60e51b81526020600482015260156024820152743a3930b2329034b99030b63932b0b23c9037b832b760591b604482015260640161078e565b6008805460ff60b01b1916600160b01b179055600a5543600955565b6060600480546105f390611fd6565b6109d561100a565b6007546001600160a01b031615610a255760405162461bcd60e51b81526020600482015260146024820152731c185a5c88185b1c9958591e4818dc99585d195960621b604482015260640161078e565b600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610a7357600080fd5b505afa158015610a87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aab9190611ca9565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610b0857600080fd5b505afa158015610b1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b409190611ca9565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610b8857600080fd5b505af1158015610b9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc09190611ca9565b600780546001600160a01b0319166001600160a01b039290921691821790556000908152601860205260409020805460ff19166001179055565b610c0261100a565b6010849055601183905560128290556013819055610c208385611f66565b600e55601354601254610c339190611f66565b600f5550505050565b60003381610c4a8286610e3d565b905083811015610caa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161078e565b6106f08286868403610ee6565b6000336106848185856110de565b610ccd61100a565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610d3461100a565b620186a0610d4160025490565b610d4c906001611fa0565b610d569190611f7e565b811015610db75760405162461bcd60e51b815260206004820152602960248201527f63616e6e6f74206265206c6f776572207468616e20302e3030312520746f7461604482015268361039bab838363c9760b91b606482015260840161078e565b6103e8610dc360025490565b610dce906005611fa0565b610dd89190611f7e565b811115610e385760405162461bcd60e51b815260206004820152602860248201527f63616e6e6f7420626520686967686572207468616e20302e352520746f74616c6044820152671039bab838363c9760c11b606482015260840161078e565b600d55565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6108c46115e1565b610e7861100a565b6001600160a01b038116610edd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161078e565b6106c78161158f565b6001600160a01b038316610f485760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161078e565b6001600160a01b038216610fa95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161078e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146108c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161078e565b60006110708484610e3d565b905060001981146110d857818110156110cb5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161078e565b6110d88484848403610ee6565b50505050565b6001600160a01b0383166111045760405162461bcd60e51b815260040161078e90611eb0565b6001600160a01b03821661112a5760405162461bcd60e51b815260040161078e90611e6d565b600081116111865760405162461bcd60e51b8152602060048201526024808201527f45524332303a20616d6f756e74206d75737420626520677265617465722074686044820152630616e20360e41b606482015260840161078e565b6001600160a01b03831660009081526019602052604090205460ff16156111de5760405162461bcd60e51b815260206004820152600c60248201526b109bdd0819195d1958dd195960a21b604482015260640161078e565b6001600160a01b03831660009081526016602052604090205460ff168061121d57506001600160a01b03821660009081526016602052604090205460ff165b61127257600854600160b01b900460ff166112725760405162461bcd60e51b815260206004820152601560248201527474726164696e67206973206e6f742061637469766560581b604482015260640161078e565b61127c838361177b565b15611289576112896115e1565b6008546001600160a01b03841660009081526016602052604090205460ff600160a01b9092048216159116806112d757506001600160a01b03831660009081526016602052604090205460ff165b156112e0575060005b6112eb848483611827565b156113d757600b548211156113425760405162461bcd60e51b815260206004820152601f60248201527f6d6178207472616e73616374696f6e20616d6f756e7420657863656564656400604482015260640161078e565b6001600160a01b03841660009081526018602052604090205460ff16156113d757600c546001600160a01b0384166000908152602081905260409020546113899084611f66565b11156113d75760405162461bcd60e51b815260206004820152601a60248201527f6d61782077616c6c657420616d6f756e74206578636565646564000000000000604482015260640161078e565b6000811561157d576001600160a01b03851660009081526018602052604090205460ff16156114bf57600a546009546114109190611f66565b43101561143b576001600160a01b0384166000908152601960205260409020805460ff191660011790555b6103e8600e548461144c9190611fa0565b6114569190611f7e565b9050600e54601154826114699190611fa0565b6114739190611f7e565b601560008282546114849190611f66565b9091555050600e546010546114999083611fa0565b6114a39190611f7e565b601460008282546114b49190611f66565b9091555061155f9050565b6001600160a01b03841660009081526018602052604090205460ff161561155f576103e8600f54846114f19190611fa0565b6114fb9190611f7e565b9050600f546013548261150e9190611fa0565b6115189190611f7e565b601560008282546115299190611f66565b9091555050600f5460125461153e9083611fa0565b6115489190611f7e565b601460008282546115599190611f66565b90915550505b801561157057611570853083611936565b61157a8184611fbf565b92505b611588858585611936565b5050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008805460ff60a01b1916600160a01b17905530600090815260208190526040812054905060006014546015546116189190611f66565b9050811580611625575080155b1561163157505061176c565b600d5482111561164157600d5491505b6000600282601554856116549190611fa0565b61165e9190611f7e565b6116689190611f7e565b905060006116768284611fbf565b90504761168282611a60565b600061168e8247611fbf565b9050600085601454836116a19190611fa0565b6116ab9190611f7e565b905060006116b98284611fbf565b6000601581905560148190556008546040519293506001600160a01b03169184156108fc0291859190818181858888f193505050501580156116ff573d6000803e3d6000fd5b506000861180156117105750600081115b156117635761171f8682611bc9565b601554604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b50505050505050505b6008805460ff60a01b19169055565b60008060145460155461178e9190611f66565b600d54909150811080159081906117af5750600854600160a01b900460ff16155b80156117d457506001600160a01b03851660009081526018602052604090205460ff16155b80156117f957506001600160a01b03851660009081526016602052604090205460ff16155b801561181e57506001600160a01b03841660009081526016602052604090205460ff16155b95945050505050565b600061183b6005546001600160a01b031690565b6001600160a01b0316846001600160a01b03161415801561186a57506005546001600160a01b03848116911614155b801561188657503260009081526017602052604090205460ff16155b80156118ab57506001600160a01b03841660009081526017602052604090205460ff16155b80156118d057506001600160a01b03831660009081526017602052604090205460ff16155b80156118e757506001600160a01b03831661dead14155b80156118fb57506001600160a01b03831615155b80156119105750600854600160a81b900460ff165b80156119195750815b801561192e57506001600160a01b0384163014155b949350505050565b6001600160a01b03831661195c5760405162461bcd60e51b815260040161078e90611eb0565b6001600160a01b0382166119825760405162461bcd60e51b815260040161078e90611e6d565b6001600160a01b038316600090815260208190526040902054818110156119fa5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161078e565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36110d8565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a9557611a95612027565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611ae957600080fd5b505afa158015611afd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b219190611ca9565b81600181518110611b3457611b34612027565b6001600160a01b039283166020918202929092010152600654611b5a9130911684610ee6565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611b93908590600090869030904290600401611ef5565b600060405180830381600087803b158015611bad57600080fd5b505af1158015611bc1573d6000803e3d6000fd5b505050505050565b600654611be19030906001600160a01b031684610ee6565b60065460085460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b158015611c4c57600080fd5b505af1158015611c60573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906115889190611db8565b600060208284031215611c9757600080fd5b8135611ca28161203d565b9392505050565b600060208284031215611cbb57600080fd5b8151611ca28161203d565b60008060408385031215611cd957600080fd5b8235611ce48161203d565b91506020830135611cf48161203d565b809150509250929050565b600080600060608486031215611d1457600080fd5b8335611d1f8161203d565b92506020840135611d2f8161203d565b929592945050506040919091013590565b60008060408385031215611d5357600080fd5b8235611d5e8161203d565b915060208301358015158114611cf457600080fd5b60008060408385031215611d8657600080fd5b8235611d918161203d565b946020939093013593505050565b600060208284031215611db157600080fd5b5035919050565b600080600060608486031215611dcd57600080fd5b8351925060208401519150604084015190509250925092565b60008060008060808587031215611dfc57600080fd5b5050823594602084013594506040840135936060013592509050565b600060208083528351808285015260005b81811015611e4557858101830151858201604001528201611e29565b81811115611e57576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f455784516001600160a01b031683529383019391830191600101611f20565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611f7957611f79612011565b500190565b600082611f9b57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611fba57611fba612011565b500290565b600082821015611fd157611fd1612011565b500390565b600181811c90821680611fea57607f821691505b6020821081141561200b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03811681146106c757600080fdfea26469706673582212205bea698c531d0d0754df95a8cc75dc2ecf9c60fa349982794ce3ca0da8f7af0b64736f6c63430008070033
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.