ERC-20
Overview
Max Total Supply
1,000,000,000 VCASH
Holders
493
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
54,337.655330903114902664 VCASHValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
VoidCashV2
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.16; /** website: https://void.cash/ twitter: https://twitter.com/voidcasherc telegram: https://t.me/voidcashportal medium: https://medium.com/@voidcash prepare to enter the ██╗ ██╗ ██████╗ ██╗██████╗ ██║ ██║██╔═══██╗██║██╔══██╗ ██║ ██║██║ ██║██║██║ ██║ ╚██╗ ██╔╝██║ ██║██║██║ ██║ ╚████╔╝ ╚██████╔╝██║██████╔╝ ╚═══╝ ╚═════╝ ╚═╝╚═════╝ */ import "./interfaces.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract VoidCashV2 is ERC20, Ownable { // events event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress); event ExcludeFromFees(address indexed account, bool excluded); event ExcludeFromMaxTransaction(address indexed account, bool excluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity); // errors error ErrMintDisabled(); error ErrERC20FromZero(); error ErrERC20ToZero(); error ErrTradingNotActive(); error ErrBuyTransferExceedsMaxTransactionAmount(); error ErrBuyExceedsMaxWallet(); error ErrSellTransferExceedsMaxTransactionAmount(); error ErrMaxWallet(); error ErrMigrateDisabled(); error ErrTotalSupplyExceeded(); error ErrFeeTooHigh(); error ErrSwapAmountTooLow(); error ErrSwapAmountTooHigh(); error ErrPairCannotBeRemoved(); // constants uint256 public constant maxSupply = 1 * 1e9 ether; address constant devWallet = 0xBd6B81EddEee88395DBB3A1bb68684A2A83C0E7C; address public constant v1ContractAddress = 0xf774dBf3144fC8AdE7043c7F6634C88cF83140f3; IUniswapV2Router02 public constant uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address public immutable uniswapV2Pair; address private constant burnAddress = address(0xdead); // states bool public tradingEnabled = false; bool public swapEnabled = false; bool public limitsEnabled = true; bool public migrateV1Enabled = false; bool public mintEnabled = true; uint256 public maxTransactionAmount; uint256 public maxWallet; uint256 public swapTokensAtAmount; uint256 public buyLiquidityFee; uint256 public buyDevFee; uint256 public sellLiquidityFee; uint256 public sellDevFee; uint256 public tokensForLiquidity; uint256 public tokensForDev; bool private isSwapping; // - exclude from fees and max transaction amount mapping(address => bool) public isExcludedFromFees; mapping(address => bool) public isExcludedMaxTransactionAmount; // - store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping(address => bool) public automatedMarketMakerPairs; // constructor constructor() ERC20("void.cash", unicode"VCASH") { // create uniswap pair address _uniswapPair = IUniswapV2Factory(uniswapV2Router.factory()) .createPair(address(this), uniswapV2Router.WETH()); uniswapV2Pair = _uniswapPair; // initialize states maxTransactionAmount = 2 * 1e7 ether; // 2% from total supply maxTransactionAmountTxn maxWallet = 2 * 1e7 ether; // 2% from total supply maxWallet swapTokensAtAmount = maxSupply / 1000; // 0.1% swap wallet buyLiquidityFee = 0; buyDevFee = 0; sellLiquidityFee = 1; sellDevFee = 2; // exclude from paying fees or having max transaction amount excludeFromFees(msg.sender, true); excludeFromFees(address(this), true); excludeFromFees(burnAddress, true); excludeFromMaxTransaction(address(uniswapV2Router), true); excludeFromMaxTransaction(address(_uniswapPair), true); excludeFromMaxTransaction(msg.sender, true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(burnAddress, true); // set amm pair _setAutomatedMarketMakerPair(address(_uniswapPair), true); } // receive receive() external payable {} // transfer function _transfer(address from, address to, uint256 amount) internal override { if (from == address(0)) { revert ErrERC20FromZero(); } if (to == address(0)) { revert ErrERC20ToZero(); } // zero amount if (amount == 0) { super._transfer(from, to, 0); return; } bool isBuying = automatedMarketMakerPairs[from] && !isExcludedMaxTransactionAmount[to]; bool isSelling = automatedMarketMakerPairs[to] && !isExcludedMaxTransactionAmount[from]; bool isOwner = from == owner() || to == owner(); bool isBurning = to == burnAddress; // check limits if (limitsEnabled && !isSwapping && !isOwner && !isBurning) { if (!tradingEnabled) { if (!isExcludedFromFees[from] && !isExcludedFromFees[to]) { revert ErrTradingNotActive(); } } if (isBuying) { if (amount > maxTransactionAmount) { revert ErrBuyTransferExceedsMaxTransactionAmount(); } if (amount + balanceOf(to) > maxWallet) { revert ErrBuyExceedsMaxWallet(); } } else if (isSelling) { if (amount > maxTransactionAmount) { revert ErrSellTransferExceedsMaxTransactionAmount(); } } else if (!isExcludedMaxTransactionAmount[to]) { if (amount + balanceOf(to) > maxWallet) { revert ErrMaxWallet(); } } } // swap if (swapEnabled && balanceOf(address(this)) >= swapTokensAtAmount && !isSwapping && !automatedMarketMakerPairs[from] && !isExcludedFromFees[from] && !isExcludedFromFees[to]) { isSwapping = true; _swap(); isSwapping = false; } // fees uint256 fees = 0; if (!isSwapping && !isExcludedFromFees[from] && !isExcludedFromFees[to]) { // only take fees on buys/sells, never on wallet transfers uint256 sellTotalFees = sellLiquidityFee + sellDevFee; uint256 buyTotalFees = buyLiquidityFee + buyDevFee; // on sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = amount * sellTotalFees / 100; tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees; tokensForDev += fees * sellDevFee / sellTotalFees; super._transfer(from, address(this), fees); } // on buy else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount * buyTotalFees / 100; tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees; tokensForDev += fees * buyDevFee / buyTotalFees; super._transfer(from, address(this), fees); } } super._transfer(from, to, amount - fees); } // swapV1ForV2 function migrateV1Tokens(uint256 amount) external { if (!migrateV1Enabled) { revert ErrMigrateDisabled(); } // check supply uint256 _totalSupply = totalSupply(); if (_totalSupply + amount > maxSupply) { revert ErrTotalSupplyExceeded(); } // burn V1 tokens IERC20(v1ContractAddress).transferFrom(msg.sender, devWallet, amount); // mint V2 tokens _mint(msg.sender, amount); } // owners only struct Airdrop { uint256 amount; address addr; } function mintAndAirdrop(Airdrop[] calldata arr) external onlyOwner { if (!mintEnabled) { revert ErrMintDisabled(); } uint256 _totalSupply = totalSupply(); uint256 _amount = 0; for (uint i = 0; i < arr.length; i++) { _amount += arr[i].amount; if (_totalSupply + _amount > maxSupply) { revert ErrTotalSupplyExceeded(); } _mint(arr[i].addr, arr[i].amount); } } function excludeFromMaxTransaction(address addr, bool excluded) public onlyOwner { isExcludedMaxTransactionAmount[addr] = excluded; emit ExcludeFromMaxTransaction(addr, excluded); } function excludeFromFees(address addr, bool excluded) public onlyOwner { isExcludedFromFees[addr] = excluded; emit ExcludeFromFees(addr, excluded); } function enableTrading() external onlyOwner { tradingEnabled = true; swapEnabled = true; } function pauseTrading() external onlyOwner { tradingEnabled = false; swapEnabled = false; } function removeLimits() external onlyOwner { limitsEnabled = false; } function setFees(uint256 _buyLiquidityFee, uint256 _buyDevFee, uint256 _sellLiquidityFee, uint256 _sellDevFee) external onlyOwner { if (buyLiquidityFee + buyDevFee > 10) { revert ErrFeeTooHigh(); } if (sellLiquidityFee + sellDevFee > 10) { revert ErrFeeTooHigh(); } buyLiquidityFee = _buyLiquidityFee; buyDevFee = _buyDevFee; sellLiquidityFee = _sellLiquidityFee; sellDevFee = _sellDevFee; } function setSwapTokensAtAmount(uint256 newAmount) external onlyOwner { uint256 _totalSupply = totalSupply(); if (newAmount < _totalSupply / 100000) { revert ErrSwapAmountTooLow(); } if (newAmount > _totalSupply * 5 / 1000) { revert ErrSwapAmountTooHigh(); } swapTokensAtAmount = newAmount; } function setSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function setMaxTransactionAmount(uint256 max) external onlyOwner { maxTransactionAmount = max; } function setMaxWallet(uint256 max) external onlyOwner { maxWallet = max; } function setEnableMigrateV1Token(bool enabled) external onlyOwner { migrateV1Enabled = enabled; } function disableMint() external onlyOwner { mintEnabled = false; } // private function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function _swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function _addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer _approve(address(this), address(uniswapV2Router), tokenAmount); // add liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, 0, devWallet, block.timestamp ); } function _swap() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForDev; // nothing to swap if (contractBalance == 0 || totalTokensToSwap == 0) { return; } // swap amount uint256 swapAmount = contractBalance; if (swapAmount > swapTokensAtAmount * 20) { swapAmount = swapTokensAtAmount * 20; } // split liquidity tokens - 0.5 keep as is, 0.5 swap to ETH uint256 totalLiquidityTokens = swapAmount * tokensForLiquidity / totalTokensToSwap; uint256 liquidityTokens = totalLiquidityTokens / 2; uint256 devTokens = swapAmount - totalLiquidityTokens; uint256 liquidityETHTokens = totalLiquidityTokens - liquidityTokens; uint256 initialETHBalance = address(this).balance; _swapTokensForEth(devTokens + liquidityETHTokens); uint256 gainedETH = address(this).balance - initialETHBalance; uint256 ethForLiquidity = gainedETH * liquidityETHTokens / (liquidityETHTokens + devTokens); // reset states tokensForLiquidity = 0; tokensForDev = 0; // add liquidity if (liquidityTokens > 0 && ethForLiquidity > 0) { _addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify( devTokens + liquidityETHTokens, gainedETH, liquidityTokens ); } // dev transfer payable(address(devWallet)).transfer(address(this).balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/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; } _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; _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; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.16; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } interface IWETH { function balanceOf(address account) external view returns (uint256); function approve(address guy, uint wad) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "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"},{"inputs":[],"name":"ErrBuyExceedsMaxWallet","type":"error"},{"inputs":[],"name":"ErrBuyTransferExceedsMaxTransactionAmount","type":"error"},{"inputs":[],"name":"ErrERC20FromZero","type":"error"},{"inputs":[],"name":"ErrERC20ToZero","type":"error"},{"inputs":[],"name":"ErrFeeTooHigh","type":"error"},{"inputs":[],"name":"ErrMaxWallet","type":"error"},{"inputs":[],"name":"ErrMigrateDisabled","type":"error"},{"inputs":[],"name":"ErrMintDisabled","type":"error"},{"inputs":[],"name":"ErrPairCannotBeRemoved","type":"error"},{"inputs":[],"name":"ErrSellTransferExceedsMaxTransactionAmount","type":"error"},{"inputs":[],"name":"ErrSwapAmountTooHigh","type":"error"},{"inputs":[],"name":"ErrSwapAmountTooLow","type":"error"},{"inputs":[],"name":"ErrTotalSupplyExceeded","type":"error"},{"inputs":[],"name":"ErrTradingNotActive","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"ExcludeFromMaxTransaction","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"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":"","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":[],"name":"buyDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxTransaction","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":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","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":"migrateV1Enabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"migrateV1Tokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"addr","type":"address"}],"internalType":"struct VoidCashV2.Airdrop[]","name":"arr","type":"tuple[]"}],"name":"mintAndAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setEnableMigrateV1Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_buyDevFee","type":"uint256"},{"internalType":"uint256","name":"_sellLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"_sellDevFee","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","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":"tokensForDev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v1ContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040526005805464ffffffffff60a01b19166201000160b01b1790553480156200002a57600080fd5b50604051806040016040528060098152602001680ecded2c85cc6c2e6d60bb1b815250604051806040016040528060058152602001640ac8682a6960db1b81525081600390816200007c919062000586565b5060046200008b828262000586565b505050620000a8620000a26200030960201b60201c565b6200030d565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000123919062000652565b6001600160a01b031663c9c6539630737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000185573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ab919062000652565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620001f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021f919062000652565b6001600160a01b0381166080526a108b2a2c28029094000000600681905560075590506200025c6103e86b033b2e3c9fd0803ce800000062000684565b60085560006009819055600a556001600b8190556002600c55620002829033906200035f565b6200028f3060016200035f565b6200029e61dead60016200035f565b620002bf737a250d5630b4cf539739df2c5dacb4c659f2488d6001620003c9565b620002cc816001620003c9565b620002d9336001620003c9565b620002e6306001620003c9565b620002f561dead6001620003c9565b620003028160016200042c565b50620006a7565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200036962000480565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b620003d362000480565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f089101620003bd565b6001600160a01b038216600081815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620004df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200050c57607f821691505b6020821081036200052d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200058157600081815260208120601f850160051c810160208610156200055c5750805b601f850160051c820191505b818110156200057d5782815560010162000568565b5050505b505050565b81516001600160401b03811115620005a257620005a2620004e1565b620005ba81620005b38454620004f7565b8462000533565b602080601f831160018114620005f25760008415620005d95750858301515b600019600386901b1c1916600185901b1785556200057d565b600085815260208120601f198616915b82811015620006235788860151825594840194600190910190840162000602565b5085821015620006425787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200066557600080fd5b81516001600160a01b03811681146200067d57600080fd5b9392505050565b600082620006a257634e487b7160e01b600052601260045260246000fd5b500490565b6080516122cd620006c3600039600061048d01526122cd6000f3fe6080604052600436106102b25760003560e01c80638a8c523c11610175578063c8c8ebe4116100dc578063e01af92c11610095578063f12027a21161006f578063f12027a21461086e578063f2fde38b1461088f578063f6374342146108af578063f8b45b05146108c557600080fd5b8063e01af92c14610822578063e2f4560514610842578063f11a24d31461085857600080fd5b8063c8c8ebe41461076b578063d123973014610781578063d13b09ee146107a2578063d5abeb01146107c2578063dd62ed3e146107e2578063de54565e1461080257600080fd5b8063a457c2d71161012e578063a457c2d71461069b578063a9059cbb146106bb578063afa4f3b2146106db578063b62496f5146106fb578063c02466681461072b578063c62761f61461074b57600080fd5b80638a8c523c146106115780638da5cb5b1461062657806395d89b41146106445780639c3b4fdc146106595780639fccce321461066f578063a0d82dc51461068557600080fd5b806339509351116102195780636ddd1713116101d25780636ddd1713146105505780636fcba3771461057157806370a0823114610591578063715018a6146105c7578063751039fc146105dc5780637571336a146105f157600080fd5b8063395093511461045b57806349bd5a5e1461047b5780634ada218b146104af5780634bb2c785146104d05780634fbee193146105005780635d0044ca1461053057600080fd5b80631a8145bb1161026b5780631a8145bb146103b35780631e293c10146103c957806323b872dd146103e9578063313ce5671461040957806334452f38146104255780633582ad231461043a57600080fd5b806302ee2714146102be57806306fdde0314610303578063095ea7b3146103255780631031e36e146103555780631694505e1461036c57806318160ddd1461039457600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102e673f774dbf3144fc8ade7043c7f6634c88cf83140f381565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561030f57600080fd5b506103186108db565b6040516102fa9190611e92565b34801561033157600080fd5b50610345610340366004611ef5565b61096d565b60405190151581526020016102fa565b34801561036157600080fd5b5061036a610987565b005b34801561037857600080fd5b506102e6737a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156103a057600080fd5b506002545b6040519081526020016102fa565b3480156103bf57600080fd5b506103a5600d5481565b3480156103d557600080fd5b5061036a6103e4366004611f21565b61099f565b3480156103f557600080fd5b50610345610404366004611f3a565b6109ac565b34801561041557600080fd5b50604051601281526020016102fa565b34801561043157600080fd5b5061036a6109d0565b34801561044657600080fd5b5060055461034590600160b01b900460ff1681565b34801561046757600080fd5b50610345610476366004611ef5565b6109e7565b34801561048757600080fd5b506102e67f000000000000000000000000000000000000000000000000000000000000000081565b3480156104bb57600080fd5b5060055461034590600160a01b900460ff1681565b3480156104dc57600080fd5b506103456104eb366004611f7b565b60116020526000908152604090205460ff1681565b34801561050c57600080fd5b5061034561051b366004611f7b565b60106020526000908152604090205460ff1681565b34801561053c57600080fd5b5061036a61054b366004611f21565b610a09565b34801561055c57600080fd5b5060055461034590600160a81b900460ff1681565b34801561057d57600080fd5b5061036a61058c366004611f9f565b610a16565b34801561059d57600080fd5b506103a56105ac366004611f7b565b6001600160a01b031660009081526020819052604090205490565b3480156105d357600080fd5b5061036a610a93565b3480156105e857600080fd5b5061036a610aa7565b3480156105fd57600080fd5b5061036a61060c366004611fdf565b610abe565b34801561061d57600080fd5b5061036a610b26565b34801561063257600080fd5b506005546001600160a01b03166102e6565b34801561065057600080fd5b50610318610b45565b34801561066557600080fd5b506103a5600a5481565b34801561067b57600080fd5b506103a5600e5481565b34801561069157600080fd5b506103a5600c5481565b3480156106a757600080fd5b506103456106b6366004611ef5565b610b54565b3480156106c757600080fd5b506103456106d6366004611ef5565b610bd4565b3480156106e757600080fd5b5061036a6106f6366004611f21565b610be2565b34801561070757600080fd5b50610345610716366004611f7b565b60126020526000908152604090205460ff1681565b34801561073757600080fd5b5061036a610746366004611fdf565b610c62565b34801561075757600080fd5b5061036a610766366004612018565b610cc2565b34801561077757600080fd5b506103a560065481565b34801561078d57600080fd5b5060055461034590600160c01b900460ff1681565b3480156107ae57600080fd5b5061036a6107bd366004612035565b610ce8565b3480156107ce57600080fd5b506103a56b033b2e3c9fd0803ce800000081565b3480156107ee57600080fd5b506103a56107fd3660046120aa565b610df7565b34801561080e57600080fd5b5061036a61081d366004611f21565b610e22565b34801561082e57600080fd5b5061036a61083d366004612018565b610f34565b34801561084e57600080fd5b506103a560085481565b34801561086457600080fd5b506103a560095481565b34801561087a57600080fd5b5060055461034590600160b81b900460ff1681565b34801561089b57600080fd5b5061036a6108aa366004611f7b565b610f5a565b3480156108bb57600080fd5b506103a5600b5481565b3480156108d157600080fd5b506103a560075481565b6060600380546108ea906120d8565b80601f0160208091040260200160405190810160405280929190818152602001828054610916906120d8565b80156109635780601f1061093857610100808354040283529160200191610963565b820191906000526020600020905b81548152906001019060200180831161094657829003601f168201915b5050505050905090565b60003361097b818585610fd3565b60019150505b92915050565b61098f6110f7565b6005805461ffff60a01b19169055565b6109a76110f7565b600655565b6000336109ba858285611151565b6109c58585856111cb565b506001949350505050565b6109d86110f7565b6005805460ff60c01b19169055565b60003361097b8185856109fa8383610df7565b610a049190612128565b610fd3565b610a116110f7565b600755565b610a1e6110f7565b600a8054600954610a2f9190612128565b1115610a4e57604051632e917a5b60e21b815260040160405180910390fd5b600a600c54600b54610a609190612128565b1115610a7f57604051632e917a5b60e21b815260040160405180910390fd5b600993909355600a91909155600b55600c55565b610a9b6110f7565b610aa56000611789565b565b610aaf6110f7565b6005805460ff60b01b19169055565b610ac66110f7565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f0891015b60405180910390a25050565b610b2e6110f7565b6005805461ffff60a01b191661010160a01b179055565b6060600480546108ea906120d8565b60003381610b628286610df7565b905083811015610bc75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6109c58286868403610fd3565b60003361097b8185856111cb565b610bea6110f7565b6000610bf560025490565b9050610c04620186a08261213b565b821015610c24576040516358bbffab60e11b815260040160405180910390fd5b6103e8610c3282600561215d565b610c3c919061213b565b821115610c5c57604051632a2d300d60e21b815260040160405180910390fd5b50600855565b610c6a6110f7565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610b1a565b610cca6110f7565b60058054911515600160b81b0260ff60b81b19909216919091179055565b610cf06110f7565b600554600160c01b900460ff16610d1a57604051633cf9ae0160e21b815260040160405180910390fd5b6000610d2560025490565b90506000805b83811015610df057848482818110610d4557610d4561217c565b610d589260409091020135905083612128565b91506b033b2e3c9fd0803ce8000000610d718385612128565b1115610d90576040516303b356bb60e01b815260040160405180910390fd5b610dde858583818110610da557610da561217c565b9050604002016020016020810190610dbd9190611f7b565b868684818110610dcf57610dcf61217c565b905060400201600001356117db565b80610de881612192565b915050610d2b565b5050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600554600160b81b900460ff16610e4c5760405163639d29cf60e01b815260040160405180910390fd5b6000610e5760025490565b90506b033b2e3c9fd0803ce8000000610e708383612128565b1115610e8f576040516303b356bb60e01b815260040160405180910390fd5b6040516323b872dd60e01b815233600482015273bd6b81eddeee88395dbb3a1bb68684a2a83c0e7c60248201526044810183905273f774dbf3144fc8ade7043c7f6634c88cf83140f3906323b872dd906064016020604051808303816000875af1158015610f01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2591906121ab565b50610f3033836117db565b5050565b610f3c6110f7565b60058054911515600160a81b0260ff60a81b19909216919091179055565b610f626110f7565b6001600160a01b038116610fc75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bbe565b610fd081611789565b50565b6001600160a01b0383166110355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bbe565b6001600160a01b0382166110965760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bbe565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610aa55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bbe565b600061115d8484610df7565b905060001981146111c557818110156111b85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610bbe565b6111c58484848403610fd3565b50505050565b6001600160a01b0383166111f257604051639bb3027160e01b815260040160405180910390fd5b6001600160a01b0382166112195760405163a614588560e01b815260040160405180910390fd5b806000036112325761122d838360006118ba565b505050565b6001600160a01b03831660009081526012602052604081205460ff16801561127357506001600160a01b03831660009081526011602052604090205460ff16155b6001600160a01b0384166000908152601260205260408120549192509060ff1680156112b857506001600160a01b03851660009081526011602052604090205460ff16155b905060006112ce6005546001600160a01b031690565b6001600160a01b0316866001600160a01b031614806112fa57506005546001600160a01b038681169116145b60055490915061dead6001600160a01b0387161490600160b01b900460ff1680156113285750600f5460ff16155b8015611332575081155b801561133c575080155b156114b657600554600160a01b900460ff166113b2576001600160a01b03871660009081526010602052604090205460ff1615801561139457506001600160a01b03861660009081526010602052604090205460ff16155b156113b25760405163aa1d7f2f60e01b815260040160405180910390fd5b8315611428576006548511156113de576040516001620be30360e01b0319815260040160405180910390fd5b6007546001600160a01b0387166000908152602081905260409020546114049087612128565b11156114235760405163cfdbc44960e01b815260040160405180910390fd5b6114b6565b82156114515760065485111561142357604051630242f39f60e61b815260040160405180910390fd5b6001600160a01b03861660009081526011602052604090205460ff166114b6576007546001600160a01b0387166000908152602081905260409020546114979087612128565b11156114b65760405163e064ad6960e01b815260040160405180910390fd5b600554600160a81b900460ff1680156114e057506008543060009081526020819052604090205410155b80156114ef5750600f5460ff16155b801561151457506001600160a01b03871660009081526012602052604090205460ff16155b801561153957506001600160a01b03871660009081526010602052604090205460ff16155b801561155e57506001600160a01b03861660009081526010602052604090205460ff16155b1561158357600f805460ff19166001179055611578611a88565b600f805460ff191690555b600f5460009060ff161580156115b257506001600160a01b03881660009081526010602052604090205460ff16155b80156115d757506001600160a01b03871660009081526010602052604090205460ff16155b1561176b576000600c54600b546115ee9190612128565b90506000600a546009546116029190612128565b6001600160a01b038a1660009081526012602052604090205490915060ff16801561162d5750600082115b156116b957606461163e838a61215d565b611648919061213b565b925081600b5484611659919061215d565b611663919061213b565b600d60008282546116749190612128565b9091555050600c548290611688908561215d565b611692919061213b565b600e60008282546116a39190612128565b909155506116b490508a30856118ba565b611768565b6001600160a01b038a1660009081526012602052604090205460ff1680156116e15750600081115b156117685760646116f2828a61215d565b6116fc919061213b565b9250806009548461170d919061215d565b611717919061213b565b600d60008282546117289190612128565b9091555050600a54819061173c908561215d565b611746919061213b565b600e60008282546117579190612128565b9091555061176890508a30856118ba565b50505b61177f888861177a848a6121c8565b6118ba565b5050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166118315760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610bbe565b80600260008282546118439190612128565b90915550506001600160a01b03821660009081526020819052604081208054839290611870908490612128565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b03831661191e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610bbe565b6001600160a01b0382166119805760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610bbe565b6001600160a01b038316600090815260208190526040902054818110156119f85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bbe565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611a2f908490612128565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a7b91815260200190565b60405180910390a36111c5565b3060009081526020819052604081205490506000600e54600d54611aac9190612128565b9050811580611ab9575080155b15611ac2575050565b6008548290611ad290601461215d565b811115611aea57600854611ae790601461215d565b90505b600082600d5483611afb919061215d565b611b05919061213b565b90506000611b1460028361213b565b90506000611b2283856121c8565b90506000611b3083856121c8565b905047611b45611b408385612128565b611c34565b6000611b5182476121c8565b90506000611b5f8585612128565b611b69858461215d565b611b73919061213b565b6000600d819055600e5590508515801590611b8e5750600081115b15611be757611b9d8682611dc7565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561611bc88587612128565b6040805191825260208201859052810188905260600160405180910390a15b60405173bd6b81eddeee88395dbb3a1bb68684a2a83c0e7c904780156108fc02916000818181858888f19350505050158015611c27573d6000803e3d6000fd5b5050505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611c6957611c6961217c565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cff91906121db565b81600181518110611d1257611d1261217c565b60200260200101906001600160a01b031690816001600160a01b031681525050611d5130737a250d5630b4cf539739df2c5dacb4c659f2488d84610fd3565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790611d919085906000908690309042906004016121f8565b600060405180830381600087803b158015611dab57600080fd5b505af1158015611dbf573d6000803e3d6000fd5b505050505050565b611de630737a250d5630b4cf539739df2c5dacb4c659f2488d84610fd3565b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015273bd6b81eddeee88395dbb3a1bb68684a2a83c0e7c60848201524260a4820152737a250d5630b4cf539739df2c5dacb4c659f2488d9063f305d71990839060c40160606040518083038185885af1158015611e6d573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610df09190612269565b600060208083528351808285015260005b81811015611ebf57858101830151858201604001528201611ea3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610fd057600080fd5b60008060408385031215611f0857600080fd5b8235611f1381611ee0565b946020939093013593505050565b600060208284031215611f3357600080fd5b5035919050565b600080600060608486031215611f4f57600080fd5b8335611f5a81611ee0565b92506020840135611f6a81611ee0565b929592945050506040919091013590565b600060208284031215611f8d57600080fd5b8135611f9881611ee0565b9392505050565b60008060008060808587031215611fb557600080fd5b5050823594602084013594506040840135936060013592509050565b8015158114610fd057600080fd5b60008060408385031215611ff257600080fd5b8235611ffd81611ee0565b9150602083013561200d81611fd1565b809150509250929050565b60006020828403121561202a57600080fd5b8135611f9881611fd1565b6000806020838503121561204857600080fd5b823567ffffffffffffffff8082111561206057600080fd5b818501915085601f83011261207457600080fd5b81358181111561208357600080fd5b8660208260061b850101111561209857600080fd5b60209290920196919550909350505050565b600080604083850312156120bd57600080fd5b82356120c881611ee0565b9150602083013561200d81611ee0565b600181811c908216806120ec57607f821691505b60208210810361210c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561098157610981612112565b60008261215857634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561217757612177612112565b500290565b634e487b7160e01b600052603260045260246000fd5b6000600182016121a4576121a4612112565b5060010190565b6000602082840312156121bd57600080fd5b8151611f9881611fd1565b8181038181111561098157610981612112565b6000602082840312156121ed57600080fd5b8151611f9881611ee0565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156122485784516001600160a01b031683529383019391830191600101612223565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561227e57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220f8afa7f2dfdbfd900799a3a0fce80bb90dd645e36d0cad8d017a9bffef84b8bd64736f6c63430008100033
Deployed Bytecode
0x6080604052600436106102b25760003560e01c80638a8c523c11610175578063c8c8ebe4116100dc578063e01af92c11610095578063f12027a21161006f578063f12027a21461086e578063f2fde38b1461088f578063f6374342146108af578063f8b45b05146108c557600080fd5b8063e01af92c14610822578063e2f4560514610842578063f11a24d31461085857600080fd5b8063c8c8ebe41461076b578063d123973014610781578063d13b09ee146107a2578063d5abeb01146107c2578063dd62ed3e146107e2578063de54565e1461080257600080fd5b8063a457c2d71161012e578063a457c2d71461069b578063a9059cbb146106bb578063afa4f3b2146106db578063b62496f5146106fb578063c02466681461072b578063c62761f61461074b57600080fd5b80638a8c523c146106115780638da5cb5b1461062657806395d89b41146106445780639c3b4fdc146106595780639fccce321461066f578063a0d82dc51461068557600080fd5b806339509351116102195780636ddd1713116101d25780636ddd1713146105505780636fcba3771461057157806370a0823114610591578063715018a6146105c7578063751039fc146105dc5780637571336a146105f157600080fd5b8063395093511461045b57806349bd5a5e1461047b5780634ada218b146104af5780634bb2c785146104d05780634fbee193146105005780635d0044ca1461053057600080fd5b80631a8145bb1161026b5780631a8145bb146103b35780631e293c10146103c957806323b872dd146103e9578063313ce5671461040957806334452f38146104255780633582ad231461043a57600080fd5b806302ee2714146102be57806306fdde0314610303578063095ea7b3146103255780631031e36e146103555780631694505e1461036c57806318160ddd1461039457600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102e673f774dbf3144fc8ade7043c7f6634c88cf83140f381565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561030f57600080fd5b506103186108db565b6040516102fa9190611e92565b34801561033157600080fd5b50610345610340366004611ef5565b61096d565b60405190151581526020016102fa565b34801561036157600080fd5b5061036a610987565b005b34801561037857600080fd5b506102e6737a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156103a057600080fd5b506002545b6040519081526020016102fa565b3480156103bf57600080fd5b506103a5600d5481565b3480156103d557600080fd5b5061036a6103e4366004611f21565b61099f565b3480156103f557600080fd5b50610345610404366004611f3a565b6109ac565b34801561041557600080fd5b50604051601281526020016102fa565b34801561043157600080fd5b5061036a6109d0565b34801561044657600080fd5b5060055461034590600160b01b900460ff1681565b34801561046757600080fd5b50610345610476366004611ef5565b6109e7565b34801561048757600080fd5b506102e67f0000000000000000000000008d6f94407a05e8bd68539574f3fc3c279674291981565b3480156104bb57600080fd5b5060055461034590600160a01b900460ff1681565b3480156104dc57600080fd5b506103456104eb366004611f7b565b60116020526000908152604090205460ff1681565b34801561050c57600080fd5b5061034561051b366004611f7b565b60106020526000908152604090205460ff1681565b34801561053c57600080fd5b5061036a61054b366004611f21565b610a09565b34801561055c57600080fd5b5060055461034590600160a81b900460ff1681565b34801561057d57600080fd5b5061036a61058c366004611f9f565b610a16565b34801561059d57600080fd5b506103a56105ac366004611f7b565b6001600160a01b031660009081526020819052604090205490565b3480156105d357600080fd5b5061036a610a93565b3480156105e857600080fd5b5061036a610aa7565b3480156105fd57600080fd5b5061036a61060c366004611fdf565b610abe565b34801561061d57600080fd5b5061036a610b26565b34801561063257600080fd5b506005546001600160a01b03166102e6565b34801561065057600080fd5b50610318610b45565b34801561066557600080fd5b506103a5600a5481565b34801561067b57600080fd5b506103a5600e5481565b34801561069157600080fd5b506103a5600c5481565b3480156106a757600080fd5b506103456106b6366004611ef5565b610b54565b3480156106c757600080fd5b506103456106d6366004611ef5565b610bd4565b3480156106e757600080fd5b5061036a6106f6366004611f21565b610be2565b34801561070757600080fd5b50610345610716366004611f7b565b60126020526000908152604090205460ff1681565b34801561073757600080fd5b5061036a610746366004611fdf565b610c62565b34801561075757600080fd5b5061036a610766366004612018565b610cc2565b34801561077757600080fd5b506103a560065481565b34801561078d57600080fd5b5060055461034590600160c01b900460ff1681565b3480156107ae57600080fd5b5061036a6107bd366004612035565b610ce8565b3480156107ce57600080fd5b506103a56b033b2e3c9fd0803ce800000081565b3480156107ee57600080fd5b506103a56107fd3660046120aa565b610df7565b34801561080e57600080fd5b5061036a61081d366004611f21565b610e22565b34801561082e57600080fd5b5061036a61083d366004612018565b610f34565b34801561084e57600080fd5b506103a560085481565b34801561086457600080fd5b506103a560095481565b34801561087a57600080fd5b5060055461034590600160b81b900460ff1681565b34801561089b57600080fd5b5061036a6108aa366004611f7b565b610f5a565b3480156108bb57600080fd5b506103a5600b5481565b3480156108d157600080fd5b506103a560075481565b6060600380546108ea906120d8565b80601f0160208091040260200160405190810160405280929190818152602001828054610916906120d8565b80156109635780601f1061093857610100808354040283529160200191610963565b820191906000526020600020905b81548152906001019060200180831161094657829003601f168201915b5050505050905090565b60003361097b818585610fd3565b60019150505b92915050565b61098f6110f7565b6005805461ffff60a01b19169055565b6109a76110f7565b600655565b6000336109ba858285611151565b6109c58585856111cb565b506001949350505050565b6109d86110f7565b6005805460ff60c01b19169055565b60003361097b8185856109fa8383610df7565b610a049190612128565b610fd3565b610a116110f7565b600755565b610a1e6110f7565b600a8054600954610a2f9190612128565b1115610a4e57604051632e917a5b60e21b815260040160405180910390fd5b600a600c54600b54610a609190612128565b1115610a7f57604051632e917a5b60e21b815260040160405180910390fd5b600993909355600a91909155600b55600c55565b610a9b6110f7565b610aa56000611789565b565b610aaf6110f7565b6005805460ff60b01b19169055565b610ac66110f7565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f0891015b60405180910390a25050565b610b2e6110f7565b6005805461ffff60a01b191661010160a01b179055565b6060600480546108ea906120d8565b60003381610b628286610df7565b905083811015610bc75760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6109c58286868403610fd3565b60003361097b8185856111cb565b610bea6110f7565b6000610bf560025490565b9050610c04620186a08261213b565b821015610c24576040516358bbffab60e11b815260040160405180910390fd5b6103e8610c3282600561215d565b610c3c919061213b565b821115610c5c57604051632a2d300d60e21b815260040160405180910390fd5b50600855565b610c6a6110f7565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79101610b1a565b610cca6110f7565b60058054911515600160b81b0260ff60b81b19909216919091179055565b610cf06110f7565b600554600160c01b900460ff16610d1a57604051633cf9ae0160e21b815260040160405180910390fd5b6000610d2560025490565b90506000805b83811015610df057848482818110610d4557610d4561217c565b610d589260409091020135905083612128565b91506b033b2e3c9fd0803ce8000000610d718385612128565b1115610d90576040516303b356bb60e01b815260040160405180910390fd5b610dde858583818110610da557610da561217c565b9050604002016020016020810190610dbd9190611f7b565b868684818110610dcf57610dcf61217c565b905060400201600001356117db565b80610de881612192565b915050610d2b565b5050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600554600160b81b900460ff16610e4c5760405163639d29cf60e01b815260040160405180910390fd5b6000610e5760025490565b90506b033b2e3c9fd0803ce8000000610e708383612128565b1115610e8f576040516303b356bb60e01b815260040160405180910390fd5b6040516323b872dd60e01b815233600482015273bd6b81eddeee88395dbb3a1bb68684a2a83c0e7c60248201526044810183905273f774dbf3144fc8ade7043c7f6634c88cf83140f3906323b872dd906064016020604051808303816000875af1158015610f01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2591906121ab565b50610f3033836117db565b5050565b610f3c6110f7565b60058054911515600160a81b0260ff60a81b19909216919091179055565b610f626110f7565b6001600160a01b038116610fc75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bbe565b610fd081611789565b50565b6001600160a01b0383166110355760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bbe565b6001600160a01b0382166110965760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bbe565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610aa55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bbe565b600061115d8484610df7565b905060001981146111c557818110156111b85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610bbe565b6111c58484848403610fd3565b50505050565b6001600160a01b0383166111f257604051639bb3027160e01b815260040160405180910390fd5b6001600160a01b0382166112195760405163a614588560e01b815260040160405180910390fd5b806000036112325761122d838360006118ba565b505050565b6001600160a01b03831660009081526012602052604081205460ff16801561127357506001600160a01b03831660009081526011602052604090205460ff16155b6001600160a01b0384166000908152601260205260408120549192509060ff1680156112b857506001600160a01b03851660009081526011602052604090205460ff16155b905060006112ce6005546001600160a01b031690565b6001600160a01b0316866001600160a01b031614806112fa57506005546001600160a01b038681169116145b60055490915061dead6001600160a01b0387161490600160b01b900460ff1680156113285750600f5460ff16155b8015611332575081155b801561133c575080155b156114b657600554600160a01b900460ff166113b2576001600160a01b03871660009081526010602052604090205460ff1615801561139457506001600160a01b03861660009081526010602052604090205460ff16155b156113b25760405163aa1d7f2f60e01b815260040160405180910390fd5b8315611428576006548511156113de576040516001620be30360e01b0319815260040160405180910390fd5b6007546001600160a01b0387166000908152602081905260409020546114049087612128565b11156114235760405163cfdbc44960e01b815260040160405180910390fd5b6114b6565b82156114515760065485111561142357604051630242f39f60e61b815260040160405180910390fd5b6001600160a01b03861660009081526011602052604090205460ff166114b6576007546001600160a01b0387166000908152602081905260409020546114979087612128565b11156114b65760405163e064ad6960e01b815260040160405180910390fd5b600554600160a81b900460ff1680156114e057506008543060009081526020819052604090205410155b80156114ef5750600f5460ff16155b801561151457506001600160a01b03871660009081526012602052604090205460ff16155b801561153957506001600160a01b03871660009081526010602052604090205460ff16155b801561155e57506001600160a01b03861660009081526010602052604090205460ff16155b1561158357600f805460ff19166001179055611578611a88565b600f805460ff191690555b600f5460009060ff161580156115b257506001600160a01b03881660009081526010602052604090205460ff16155b80156115d757506001600160a01b03871660009081526010602052604090205460ff16155b1561176b576000600c54600b546115ee9190612128565b90506000600a546009546116029190612128565b6001600160a01b038a1660009081526012602052604090205490915060ff16801561162d5750600082115b156116b957606461163e838a61215d565b611648919061213b565b925081600b5484611659919061215d565b611663919061213b565b600d60008282546116749190612128565b9091555050600c548290611688908561215d565b611692919061213b565b600e60008282546116a39190612128565b909155506116b490508a30856118ba565b611768565b6001600160a01b038a1660009081526012602052604090205460ff1680156116e15750600081115b156117685760646116f2828a61215d565b6116fc919061213b565b9250806009548461170d919061215d565b611717919061213b565b600d60008282546117289190612128565b9091555050600a54819061173c908561215d565b611746919061213b565b600e60008282546117579190612128565b9091555061176890508a30856118ba565b50505b61177f888861177a848a6121c8565b6118ba565b5050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166118315760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610bbe565b80600260008282546118439190612128565b90915550506001600160a01b03821660009081526020819052604081208054839290611870908490612128565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b03831661191e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610bbe565b6001600160a01b0382166119805760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610bbe565b6001600160a01b038316600090815260208190526040902054818110156119f85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bbe565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611a2f908490612128565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a7b91815260200190565b60405180910390a36111c5565b3060009081526020819052604081205490506000600e54600d54611aac9190612128565b9050811580611ab9575080155b15611ac2575050565b6008548290611ad290601461215d565b811115611aea57600854611ae790601461215d565b90505b600082600d5483611afb919061215d565b611b05919061213b565b90506000611b1460028361213b565b90506000611b2283856121c8565b90506000611b3083856121c8565b905047611b45611b408385612128565b611c34565b6000611b5182476121c8565b90506000611b5f8585612128565b611b69858461215d565b611b73919061213b565b6000600d819055600e5590508515801590611b8e5750600081115b15611be757611b9d8682611dc7565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561611bc88587612128565b6040805191825260208201859052810188905260600160405180910390a15b60405173bd6b81eddeee88395dbb3a1bb68684a2a83c0e7c904780156108fc02916000818181858888f19350505050158015611c27573d6000803e3d6000fd5b5050505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611c6957611c6961217c565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cff91906121db565b81600181518110611d1257611d1261217c565b60200260200101906001600160a01b031690816001600160a01b031681525050611d5130737a250d5630b4cf539739df2c5dacb4c659f2488d84610fd3565b60405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790611d919085906000908690309042906004016121f8565b600060405180830381600087803b158015611dab57600080fd5b505af1158015611dbf573d6000803e3d6000fd5b505050505050565b611de630737a250d5630b4cf539739df2c5dacb4c659f2488d84610fd3565b60405163f305d71960e01b815230600482015260248101839052600060448201819052606482015273bd6b81eddeee88395dbb3a1bb68684a2a83c0e7c60848201524260a4820152737a250d5630b4cf539739df2c5dacb4c659f2488d9063f305d71990839060c40160606040518083038185885af1158015611e6d573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610df09190612269565b600060208083528351808285015260005b81811015611ebf57858101830151858201604001528201611ea3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610fd057600080fd5b60008060408385031215611f0857600080fd5b8235611f1381611ee0565b946020939093013593505050565b600060208284031215611f3357600080fd5b5035919050565b600080600060608486031215611f4f57600080fd5b8335611f5a81611ee0565b92506020840135611f6a81611ee0565b929592945050506040919091013590565b600060208284031215611f8d57600080fd5b8135611f9881611ee0565b9392505050565b60008060008060808587031215611fb557600080fd5b5050823594602084013594506040840135936060013592509050565b8015158114610fd057600080fd5b60008060408385031215611ff257600080fd5b8235611ffd81611ee0565b9150602083013561200d81611fd1565b809150509250929050565b60006020828403121561202a57600080fd5b8135611f9881611fd1565b6000806020838503121561204857600080fd5b823567ffffffffffffffff8082111561206057600080fd5b818501915085601f83011261207457600080fd5b81358181111561208357600080fd5b8660208260061b850101111561209857600080fd5b60209290920196919550909350505050565b600080604083850312156120bd57600080fd5b82356120c881611ee0565b9150602083013561200d81611ee0565b600181811c908216806120ec57607f821691505b60208210810361210c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561098157610981612112565b60008261215857634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561217757612177612112565b500290565b634e487b7160e01b600052603260045260246000fd5b6000600182016121a4576121a4612112565b5060010190565b6000602082840312156121bd57600080fd5b8151611f9881611fd1565b8181038181111561098157610981612112565b6000602082840312156121ed57600080fd5b8151611f9881611ee0565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156122485784516001600160a01b031683529383019391830191600101612223565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561227e57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220f8afa7f2dfdbfd900799a3a0fce80bb90dd645e36d0cad8d017a9bffef84b8bd64736f6c63430008100033
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.