Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
450,000,000 OS
Holders
122
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
394,036.084833942993955298 OSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OneSwapToken
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/************************************************** Twitter: https://twitter.com/oneswap_erc Telegram: https://t.me/oneswap_erc Website: https://oneswap.site Whitepaper: https://oneswap.site/whitepaper.pdf Platform: https://oneswap-app.vercel.app/ **************************************************/ // SPDX-License-Identifier: MIT pragma solidity 0.8.21; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract OneSwapToken is ERC20, Ownable { using Address for address payable; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; mapping(address => bool) private _isExcludedFromFees; uint256 public feesOnBuy; uint256 public feesOnSell; uint256 private liquidityProvider; address public oneSwapWallet; address private _liquidityProviderWallet; uint256 public swapTokensAtAmount; bool private swapping; bool public swapEnabled; event ExcludeFromFees(address indexed account, bool isExcluded); event OneSwapWalletChanged(address oneSwapWallet); event LiquiditydWalletChanged(address _liquidityProviderWallet); event UpdateFees(uint256 feesOnBuy, uint256 feesOnSell); event SwapAndSendOneSwap(uint256 tokensSwapped, uint256 ethSend); event SwapTokensAtAmountUpdated(uint256 swapTokensAtAmount); error LiquidityProviderUnauthorizedAccount(address account); modifier onlyLiquidityProvider() { _checkLiquidityProvider(); _; } constructor() ERC20("One Swap", "OS") { if (block.chainid == 1 || block.chainid == 5) { uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); // ETH Uniswap Mainnet and Testnet } else if (block.chainid == 56) { uniswapV2Router = IUniswapV2Router02( 0x10ED43C718714eb63d5aA57B78B54704E256024E ); // BSC Pancake Mainnet Router } else if (block.chainid == 97) { uniswapV2Router = IUniswapV2Router02( 0xD99D1c33F9fC3444f8101754aBC46c52416550D1 ); // BSC Pancake Testnet Router } else { revert(); } _approve(address(this), address(uniswapV2Router), type(uint256).max); feesOnBuy = 5; feesOnSell = 5; oneSwapWallet = 0xff3905655B6df45A2E0F16d5730d8F9bF427A1f3; _liquidityProviderWallet = 0x443634DcD7543AB0Bf11Bd3f0ee8aaBF79e8549A; //redemitdaoinvestments.eth address airdropWallet = 0xc35f4316dDaffA2783E223A7051c64E3D3ea509E; _isExcludedFromMaxWalletLimit[owner()] = true; _isExcludedFromMaxWalletLimit[address(this)] = true; _isExcludedFromMaxWalletLimit[address(0xdead)] = true; _isExcludedFromMaxWalletLimit[oneSwapWallet] = true; _isExcludedFromMaxWalletLimit[_liquidityProviderWallet] = true; _isExcludedFromMaxWalletLimit[airdropWallet] = true; _isExcludedFromFees[owner()] = true; _isExcludedFromFees[address(0xdead)] = true; _isExcludedFromFees[address(this)] = true; _isExcludedFromFees[oneSwapWallet] = true; _isExcludedFromFees[_liquidityProviderWallet] = true; _isExcludedFromFees[airdropWallet] = true; uint256 _totalSupply = 450_000_000 * (10**decimals()); _mint(airdropWallet, (_totalSupply * 4) / 100); _mint(_liquidityProviderWallet, (_totalSupply * 96) / 100); swapTokensAtAmount = (totalSupply() * 1) / 1000; maxWalletAmount = (totalSupply() * 2) / 100; tradingEnabled = false; swapEnabled = false; } receive() external payable {} function burn(uint256 amount) external { _burn(msg.sender, amount); } function claimStuckTokens(address token) external onlyOwner { if (token == address(0x0)) { payable(msg.sender).sendValue(address(this).balance); return; } IERC20 ERC20token = IERC20(token); uint256 balance = ERC20token.balanceOf(address(this)); ERC20token.transfer(msg.sender, balance); } function _checkLiquidityProvider() internal view virtual { if (liquidityProviderWallet() != _msgSender()) { revert LiquidityProviderUnauthorizedAccount(_msgSender()); } } function liquidityProviderWallet() public view virtual returns (address) { return _liquidityProviderWallet; } function excludeFromFees(address account, bool excluded) external onlyOwner { require( _isExcludedFromFees[account] != excluded, "Account is already the value of 'excluded'" ); _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function updateFees(uint256 _feesOnSell, uint256 _feesOnBuy) external onlyOwner { require(_feesOnSell <= feesOnSell, "You can only decrease the fees"); require(_feesOnBuy <= feesOnBuy, "You can only decrease the fees"); feesOnSell = _feesOnSell; feesOnBuy = _feesOnBuy; emit UpdateFees(feesOnSell, feesOnBuy); } function changeOneSwapWallet(address _oneSwapWallet) external onlyOwner { require( _oneSwapWallet != oneSwapWallet, "OneSwap wallet is already that address" ); require( _oneSwapWallet != address(0), "OneSwap wallet cannot be the zero address" ); oneSwapWallet = _oneSwapWallet; emit OneSwapWalletChanged(oneSwapWallet); } function changeLiquidityWallet(address liquidityProviderWallet_) external onlyLiquidityProvider { require( liquidityProviderWallet_ != _liquidityProviderWallet, "LiquidityProvider wallet is already that address" ); require( liquidityProviderWallet_ != address(0), "LiquidityProvider wallet cannot be the zero address" ); _liquidityProviderWallet = liquidityProviderWallet_; emit LiquiditydWalletChanged(_liquidityProviderWallet); } bool public tradingEnabled; uint256 public tradingBlock; uint256 public tradingTime; function enableTrading() external onlyLiquidityProvider { require(!tradingEnabled, "Trading already enabled."); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), uniswapV2Router.WETH() ); _approve(address(this), address(uniswapV2Pair), type(uint256).max); IERC20(uniswapV2Pair).approve( address(uniswapV2Router), type(uint256).max ); uniswapV2Router.addLiquidityETH{value: address(this).balance}( address(this), balanceOf(address(this)), 0, 0, liquidityProviderWallet(), block.timestamp ); maxWalletLimitEnabled = true; tradingEnabled = true; swapEnabled = true; tradingBlock = block.number; tradingTime = block.timestamp; } 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( tradingEnabled || _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading not yet enabled!" ); if (amount == 0) { super._transfer(from, to, 0); return; } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if (canSwap && !swapping && to == uniswapV2Pair && swapEnabled) { swapping = true; swapAndSendOneSwap(contractTokenBalance); swapping = false; } uint256 feeOnBuy; uint256 feeOnSell; if (block.timestamp > tradingTime + (30 minutes)) { // Stage normal feeOnBuy = feesOnBuy; feeOnSell = feesOnSell; } else if (block.timestamp > tradingTime + (25 minutes)) { // Stage 6 feeOnBuy = 10; feeOnSell = 10; } else if (block.timestamp > tradingTime + (20 minutes)) { // Stage 5 feeOnBuy = 15; feeOnSell = 15; } else if (block.timestamp > tradingTime + (15 minutes)) { // Stage 4 feeOnBuy = 20; feeOnSell = 20; } else if (block.timestamp > tradingTime + (10 minutes)) { // Stage 3 feeOnBuy = 25; feeOnSell = 25; } else if (block.timestamp > tradingTime + (5 minutes)) { // Stage 2 feeOnBuy = 30; feeOnSell = 30; } else { // Stage 1 feeOnBuy = 35; feeOnSell = 35; } uint256 _totalFees; if (_isExcludedFromFees[from] || _isExcludedFromFees[to] || swapping) { _totalFees = 0; } else if (from == uniswapV2Pair) { if (block.number <= tradingBlock) { _totalFees = 99; } else { _totalFees = feeOnBuy; } } else if (to == uniswapV2Pair) { _totalFees = feeOnSell; } else { _totalFees = 0; } if (_totalFees > 0) { uint256 fees = (amount * _totalFees) / 100; amount = amount - fees; super._transfer(from, address(this), fees); liquidityProvider += fees / 4; } if (maxWalletLimitEnabled) { if ( !_isExcludedFromMaxWalletLimit[from] && !_isExcludedFromMaxWalletLimit[to] && to != uniswapV2Pair ) { uint256 balance = balanceOf(to); require( balance + amount <= maxWalletAmount, "MaxWallet: Recipient exceeds the maxWalletAmount" ); } } super._transfer(from, to, amount); } function setSwapEnabled(bool _enabled) external onlyOwner { require(swapEnabled != _enabled, "swapEnabled already at this state."); swapEnabled = _enabled; } function setSwapTokensAtAmount(uint256 newAmount) external onlyOwner { require( newAmount >= totalSupply() / 1_000_000, "SwapTokensAtAmount must be greater than 0.0001% of total supply" ); require( newAmount <= totalSupply() / 1_000, "SwapTokensAtAmount must be greater than 0.1% of total supply" ); swapTokensAtAmount = newAmount; emit SwapTokensAtAmountUpdated(swapTokensAtAmount); } function swapAndSendOneSwap(uint256 tokenAmount) private { uint256 initialBalance = address(this).balance; address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); uint256 newBalance = address(this).balance - initialBalance; uint256 liquidityProviderAmount = (newBalance * liquidityProvider) / tokenAmount; payable(_liquidityProviderWallet).sendValue(liquidityProviderAmount); payable(oneSwapWallet).sendValue(address(this).balance); liquidityProvider = 0; emit SwapAndSendOneSwap(tokenAmount, newBalance); } mapping(address => bool) private _isExcludedFromMaxWalletLimit; bool public maxWalletLimitEnabled; uint256 public maxWalletAmount; event ExcludedFromMaxWalletLimit(address indexed account, bool isExcluded); event MaxWalletLimitStateChanged(bool maxWalletLimit); event MaxWalletLimitAmountChanged(uint256 maxWalletAmount); function setEnableMaxWalletLimit(bool enable) external onlyOwner { require( enable != maxWalletLimitEnabled, "Max wallet limit is already set to that state" ); maxWalletLimitEnabled = enable; emit MaxWalletLimitStateChanged(maxWalletLimitEnabled); } function excludeFromMaxWallet(address account, bool exclude) external onlyOwner { require( _isExcludedFromMaxWalletLimit[account] != exclude, "Account is already set to that state" ); require(account != address(this), "Can't set this address."); _isExcludedFromMaxWalletLimit[account] = exclude; emit ExcludedFromMaxWalletLimit(account, exclude); } function isExcludedFromMaxWalletLimit(address account) public view returns (bool) { return _isExcludedFromMaxWalletLimit[account]; } }
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 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.8.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 * ==== * * [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://diligence.consensys.net/posts/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.5.11/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.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.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); } }
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); }
// 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":[{"internalType":"address","name":"account","type":"address"}],"name":"LiquidityProviderUnauthorizedAccount","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":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludedFromMaxWalletLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_liquidityProviderWallet","type":"address"}],"name":"LiquiditydWalletChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxWalletAmount","type":"uint256"}],"name":"MaxWalletLimitAmountChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"maxWalletLimit","type":"bool"}],"name":"MaxWalletLimitStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oneSwapWallet","type":"address"}],"name":"OneSwapWalletChanged","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":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethSend","type":"uint256"}],"name":"SwapAndSendOneSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"swapTokensAtAmount","type":"uint256"}],"name":"SwapTokensAtAmountUpdated","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":false,"internalType":"uint256","name":"feesOnBuy","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feesOnSell","type":"uint256"}],"name":"UpdateFees","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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"liquidityProviderWallet_","type":"address"}],"name":"changeLiquidityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_oneSwapWallet","type":"address"}],"name":"changeOneSwapWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"claimStuckTokens","outputs":[],"stateMutability":"nonpayable","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":"enableTrading","outputs":[],"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":"exclude","type":"bool"}],"name":"excludeFromMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feesOnBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feesOnSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxWalletLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityProviderWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletLimitEnabled","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":"oneSwapWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enable","type":"bool"}],"name":"setEnableMaxWalletLimit","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingTime","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":[],"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":[{"internalType":"uint256","name":"_feesOnSell","type":"uint256"},{"internalType":"uint256","name":"_feesOnBuy","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801562000010575f80fd5b506040518060400160405280600881526020016704f6e6520537761760c41b815250604051806040016040528060028152602001614f5360f01b81525081600390816200005e9190620006e7565b5060046200006d8282620006e7565b5050506200008a620000846200040260201b60201c565b62000406565b46600114806200009a5750466005145b15620000cc57600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790556200013a565b466038036200010157600680546001600160a01b0319167310ed43c718714eb63d5aa57b78b54704e256024e1790556200013a565b466061036200013657600680546001600160a01b03191673d99d1c33f9fc3444f8101754abc46c52416550d11790556200013a565b5f80fd5b600654620001559030906001600160a01b03165f1962000457565b60056009819055600a55600c80546001600160a01b031990811673ff3905655b6df45a2e0f16d5730d8f9bf427a1f317909155600d805490911673443634dcd7543ab0bf11bd3f0ee8aabf79e8549a17905573c35f4316ddaffa2783e223a7051c64e3d3ea509e600160125f620001d46005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905530815260129093528183208054851660019081179091557f1120e10407cab1193d7c5139d9aae5536deb3d83e855f25f8e42f811c01f56f78054861682179055600c54821684528284208054861682179055600d548216845282842080548616821790559085168352908220805490931681179092556008906200028d6005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905560089093527f046fee3d77c34a6c5e10c3be6dc4b132c30449dbf4f0bc07684896dd093342998054851660019081179091553084528284208054861682179055600c54821684528284208054861682179055600d54821684528284208054861682179055908516835290822080549093161790915562000338601290565b6200034590600a620008be565b6200035590631ad27480620008d5565b90506200037d8260646200036b846004620008d5565b620003779190620008ef565b62000582565b600d546200039d906001600160a01b031660646200036b846060620008d5565b6103e8620003aa60025490565b620003b7906001620008d5565b620003c39190620008ef565b600e556064620003d260025490565b620003df906002620008d5565b620003eb9190620008ef565b6014555050600f805462ffff001916905562000925565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038316620004bf5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620005225760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620004b6565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620005da5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004b6565b8060025f828254620005ed91906200090f565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200067157607f821691505b6020821081036200069057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000643575f81815260208120601f850160051c81016020861015620006be5750805b601f850160051c820191505b81811015620006df57828155600101620006ca565b505050505050565b81516001600160401b0381111562000703576200070362000648565b6200071b816200071484546200065c565b8462000696565b602080601f83116001811462000751575f8415620007395750858301515b5f19600386901b1c1916600185901b178555620006df565b5f85815260208120601f198616915b82811015620007815788860151825594840194600190910190840162000760565b50858210156200079f57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200080357815f1904821115620007e757620007e7620007af565b80851615620007f557918102915b93841c9390800290620007c8565b509250929050565b5f826200081b57506001620008b8565b816200082957505f620008b8565b81600181146200084257600281146200084d576200086d565b6001915050620008b8565b60ff841115620008615762000861620007af565b50506001821b620008b8565b5060208310610133831016604e8410600b841016171562000892575081810a620008b8565b6200089e8383620007c3565b805f1904821115620008b457620008b4620007af565b0290505b92915050565b5f620008ce60ff8416836200080b565b9392505050565b8082028115828204841417620008b857620008b8620007af565b5f826200090a57634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115620008b857620008b8620007af565b61260380620009335f395ff3fe608060405260043610610236575f3560e01c80637ba54f1f11610129578063b8158d60116100a8578063e01af92c1161006d578063e01af92c146106a3578063e2f45605146106c2578063e4e44893146106d7578063f2fde38b146106ec578063f9d0831a1461070b575f80fd5b8063b8158d601461061c578063c024666814610631578063cd51e6d414610650578063d2fcc00114610665578063dd62ed3e14610684575f80fd5b8063a457c2d7116100ee578063a457c2d714610573578063a8a69b9d14610592578063a9059cbb146105c9578063aa4bde28146105e8578063afa4f3b2146105fd575f80fd5b80637ba54f1f146104f05780637d71b6c91461050f5780638a8c523c1461052e5780638da5cb5b1461054257806395d89b411461055f575f80fd5b806339509351116101b55780636db794371161017a5780636db794371461044e5780636ddd17131461046d57806370a082311461048b578063715018a6146104bf57806379243028146104d3575f80fd5b8063395093511461039b57806342966c68146103ba57806349bd5a5e146103d95780634ada218b146103f85780634fbee19314610417575f80fd5b806318160ddd116101fb57806318160ddd1461031557806321a9d82a1461032957806323b872dd146103425780632a6c7dba14610361578063313ce56714610380575f80fd5b806306fdde0314610241578063095ea7b31461026b5780630ce302941461029a57806314c07959146102bd5780631694505e146102de575f80fd5b3661023d57005b5f80fd5b34801561024c575f80fd5b5061025561072a565b60405161026291906121f7565b60405180910390f35b348015610276575f80fd5b5061028a610285366004612256565b6107ba565b6040519015158152602001610262565b3480156102a5575f80fd5b506102af600a5481565b604051908152602001610262565b3480156102c8575f80fd5b506102dc6102d7366004612280565b6107d3565b005b3480156102e9575f80fd5b506006546102fd906001600160a01b031681565b6040516001600160a01b039091168152602001610262565b348015610320575f80fd5b506002546102af565b348015610334575f80fd5b5060135461028a9060ff1681565b34801561034d575f80fd5b5061028a61035c3660046122a2565b61090a565b34801561036c575f80fd5b506102dc61037b3660046122ed565b61092d565b34801561038b575f80fd5b5060405160128152602001610262565b3480156103a6575f80fd5b5061028a6103b5366004612256565b6109ea565b3480156103c5575f80fd5b506102dc6103d4366004612308565b610a0b565b3480156103e4575f80fd5b506007546102fd906001600160a01b031681565b348015610403575f80fd5b50600f5461028a9062010000900460ff1681565b348015610422575f80fd5b5061028a610431366004612280565b6001600160a01b03165f9081526008602052604090205460ff1690565b348015610459575f80fd5b506102dc61046836600461231f565b610a18565b348015610478575f80fd5b50600f5461028a90610100900460ff1681565b348015610496575f80fd5b506102af6104a5366004612280565b6001600160a01b03165f9081526020819052604090205490565b3480156104ca575f80fd5b506102dc610b0b565b3480156104de575f80fd5b50600d546001600160a01b03166102fd565b3480156104fb575f80fd5b506102dc61050a366004612280565b610b1e565b34801561051a575f80fd5b50600c546102fd906001600160a01b031681565b348015610539575f80fd5b506102dc610c5d565b34801561054d575f80fd5b506005546001600160a01b03166102fd565b34801561056a575f80fd5b50610255610fc3565b34801561057e575f80fd5b5061028a61058d366004612256565b610fd2565b34801561059d575f80fd5b5061028a6105ac366004612280565b6001600160a01b03165f9081526012602052604090205460ff1690565b3480156105d4575f80fd5b5061028a6105e3366004612256565b61104c565b3480156105f3575f80fd5b506102af60145481565b348015610608575f80fd5b506102dc610617366004612308565b611059565b348015610627575f80fd5b506102af60115481565b34801561063c575f80fd5b506102dc61064b36600461233f565b6111ad565b34801561065b575f80fd5b506102af60105481565b348015610670575f80fd5b506102dc61067f36600461233f565b611296565b34801561068f575f80fd5b506102af61069e366004612376565b6113c8565b3480156106ae575f80fd5b506102dc6106bd3660046122ed565b6113f2565b3480156106cd575f80fd5b506102af600e5481565b3480156106e2575f80fd5b506102af60095481565b3480156106f7575f80fd5b506102dc610706366004612280565b611481565b348015610716575f80fd5b506102dc610725366004612280565b6114f7565b606060038054610739906123a2565b80601f0160208091040260200160405190810160405280929190818152602001828054610765906123a2565b80156107b05780601f10610787576101008083540402835291602001916107b0565b820191905f5260205f20905b81548152906001019060200180831161079357829003601f168201915b5050505050905090565b5f336107c78185856115f8565b60019150505b92915050565b6107db61171b565b600c546001600160a01b039081169082160361084d5760405162461bcd60e51b815260206004820152602660248201527f4f6e65537761702077616c6c657420697320616c72656164792074686174206160448201526564647265737360d01b60648201526084015b60405180910390fd5b6001600160a01b0381166108b55760405162461bcd60e51b815260206004820152602960248201527f4f6e65537761702077616c6c65742063616e6e6f7420626520746865207a65726044820152686f206164647265737360b81b6064820152608401610844565b600c80546001600160a01b0319166001600160a01b0383169081179091556040519081527f6c1678431ba16c2db396aa83c7fc14762b43b01e260130e9bd52de8952662b61906020015b60405180910390a150565b5f33610917858285611775565b6109228585856117e7565b506001949350505050565b61093561171b565b60135460ff161515811515036109a35760405162461bcd60e51b815260206004820152602d60248201527f4d61782077616c6c6574206c696d697420697320616c7265616479207365742060448201526c746f207468617420737461746560981b6064820152608401610844565b6013805460ff191682151590811790915560405160ff909116151581527f670f884265aba2d05e7c26efbc42f8365effc4cb3fcfcefddba0c0b71a6231f1906020016108ff565b5f336107c78185856109fc83836113c8565b610a0691906123ee565b6115f8565b610a153382611c39565b50565b610a2061171b565b600a54821115610a725760405162461bcd60e51b815260206004820152601e60248201527f596f752063616e206f6e6c7920646563726561736520746865206665657300006044820152606401610844565b600954811115610ac45760405162461bcd60e51b815260206004820152601e60248201527f596f752063616e206f6e6c7920646563726561736520746865206665657300006044820152606401610844565b600a829055600981905560408051838152602081018390527f53482196ef67ac615caab1c3eca2c270acbfdcd75e57c5f24c1b98b10c8e6e04910160405180910390a15050565b610b1361171b565b610b1c5f611d69565b565b610b26611dba565b600d546001600160a01b0390811690821603610b9d5760405162461bcd60e51b815260206004820152603060248201527f4c697175696469747950726f76696465722077616c6c657420697320616c726560448201526f6164792074686174206164647265737360801b6064820152608401610844565b6001600160a01b038116610c0f5760405162461bcd60e51b815260206004820152603360248201527f4c697175696469747950726f76696465722077616c6c65742063616e6e6f7420604482015272626520746865207a65726f206164647265737360681b6064820152608401610844565b600d80546001600160a01b0319166001600160a01b0383169081179091556040519081527fe2491a2abd15e120355965e3bef7a5e9570d67de30ffddb7fc7408d0cb5450f8906020016108ff565b610c65611dba565b600f5462010000900460ff1615610cbe5760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642e00000000000000006044820152606401610844565b60065f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d329190612401565b6001600160a01b031663c9c653963060065f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610db59190612401565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610dff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e239190612401565b600780546001600160a01b0319166001600160a01b03929092169182179055610e4f9030905f196115f8565b60075460065460405163095ea7b360e01b81526001600160a01b0391821660048201525f19602482015291169063095ea7b3906044016020604051808303815f875af1158015610ea1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec5919061241c565b506006546001600160a01b031663f305d7194730610ef7816001600160a01b03165f9081526020819052604090205490565b5f80610f0b600d546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610f71573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610f969190612437565b50506013805460ff1916600117905550600f80546201010062ffff00199091161790554360105542601155565b606060048054610739906123a2565b5f3381610fdf82866113c8565b90508381101561103f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610844565b61092282868684036115f8565b5f336107c78185856117e7565b61106161171b565b620f424061106e60025490565b6110789190612462565b8110156110ed5760405162461bcd60e51b815260206004820152603f60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3030303125206f6620746f74616c20737570706c79006064820152608401610844565b6103e86110f960025490565b6111039190612462565b8111156111785760405162461bcd60e51b815260206004820152603c60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3125206f6620746f74616c20737570706c79000000006064820152608401610844565b600e8190556040518181527f7c26bfee26f82e8cb57af48f4019cc64582db6fac7bad778433f10572ae8b145906020016108ff565b6111b561171b565b6001600160a01b0382165f9081526008602052604090205481151560ff9091161515036112375760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610844565b6001600160a01b0382165f81815260086020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b61129e61171b565b6001600160a01b0382165f9081526012602052604090205481151560ff9091161515036113195760405162461bcd60e51b8152602060048201526024808201527f4163636f756e7420697320616c72656164792073657420746f207468617420736044820152637461746560e01b6064820152608401610844565b306001600160a01b038316036113715760405162461bcd60e51b815260206004820152601760248201527f43616e277420736574207468697320616464726573732e0000000000000000006044820152606401610844565b6001600160a01b0382165f81815260126020908152604091829020805460ff191685151590811790915591519182527f1d9a11e204b58ad56c619c61600e42167624659d218f0143f1f64956b0daae6c910161128a565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6113fa61171b565b801515600f60019054906101000a900460ff161515036114675760405162461bcd60e51b815260206004820152602260248201527f73776170456e61626c656420616c726561647920617420746869732073746174604482015261329760f11b6064820152608401610844565b600f80549115156101000261ff0019909216919091179055565b61148961171b565b6001600160a01b0381166114ee5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610844565b610a1581611d69565b6114ff61171b565b6001600160a01b03811661151757610a153347611de7565b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa15801561155d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115819190612481565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303815f875af11580156115ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f2919061241c565b50505050565b6001600160a01b03831661165a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610844565b6001600160a01b0382166116bb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610844565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610b1c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610844565b5f61178084846113c8565b90505f1981146115f257818110156117da5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610844565b6115f284848484036115f8565b6001600160a01b03831661180d5760405162461bcd60e51b815260040161084490612498565b6001600160a01b0382166118335760405162461bcd60e51b8152600401610844906124dd565b600f5462010000900460ff168061186157506001600160a01b0383165f9081526008602052604090205460ff165b8061188357506001600160a01b0382165f9081526008602052604090205460ff165b6118cf5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642100000000000000006044820152606401610844565b805f036118e6576118e183835f611efc565b505050565b305f90815260208190526040902054600e548110801590819061190c5750600f5460ff16155b801561192557506007546001600160a01b038581169116145b80156119385750600f54610100900460ff165b1561195e57600f805460ff1916600117905561195382612024565b600f805460ff191690555b5f8060115461070861197091906123ee565b421115611984575050600954600a54611a30565b601154611993906105dc6123ee565b4211156119a55750600a905080611a30565b6011546119b4906104b06123ee565b4211156119c65750600f905080611a30565b6011546119d5906103846123ee565b4211156119e757506014905080611a30565b6011546119f6906102586123ee565b421115611a0857506019905080611a30565b601154611a179061012c6123ee565b421115611a295750601e905080611a30565b5060239050805b6001600160a01b0387165f9081526008602052604081205460ff1680611a6d57506001600160a01b0387165f9081526008602052604090205460ff165b80611a7a5750600f5460ff165b15611a8657505f611ad4565b6007546001600160a01b0390811690891603611ab4576010544311611aad57506063611ad4565b5081611ad4565b6007546001600160a01b0390811690881603611ad1575080611ad4565b505f5b8015611b2c575f6064611ae78389612520565b611af19190612462565b9050611afd8188612537565b9650611b0a893083611efc565b611b15600482612462565b600b5f828254611b2591906123ee565b9091555050505b60135460ff1615611c24576001600160a01b0388165f9081526012602052604090205460ff16158015611b7757506001600160a01b0387165f9081526012602052604090205460ff16155b8015611b9157506007546001600160a01b03888116911614155b15611c24576001600160a01b0387165f90815260208190526040902054601454611bbb88836123ee565b1115611c225760405162461bcd60e51b815260206004820152603060248201527f4d617857616c6c65743a20526563697069656e7420657863656564732074686560448201526f081b585e15d85b1b195d105b5bdd5b9d60821b6064820152608401610844565b505b611c2f888888611efc565b5050505050505050565b6001600160a01b038216611c995760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610844565b6001600160a01b0382165f9081526020819052604090205481811015611d0c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610844565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b600d546001600160a01b03163314610b1c57604051639eaab64360e01b8152336004820152602401610844565b80471015611e375760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610844565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611e80576040519150601f19603f3d011682016040523d82523d5f602084013e611e85565b606091505b50509050806118e15760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610844565b6001600160a01b038316611f225760405162461bcd60e51b815260040161084490612498565b6001600160a01b038216611f485760405162461bcd60e51b8152600401610844906124dd565b6001600160a01b0383165f9081526020819052604090205481811015611fbf5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610844565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36115f2565b60408051600280825260608201835247925f92919060208301908036833701905050905030815f8151811061205b5761205b61254a565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156120b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120d69190612401565b816001815181106120e9576120e961254a565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac9479061212e9086905f9086903090429060040161255e565b5f604051808303815f87803b158015612145575f80fd5b505af1158015612157573d5f803e3d5ffd5b505050505f82476121689190612537565b90505f84600b548361217a9190612520565b6121849190612462565b600d5490915061219d906001600160a01b031682611de7565b600c546121b3906001600160a01b031647611de7565b5f600b5560408051868152602081018490527ffe306650d607f6875ee6bc76c5335c897668e85ce812d31e367460dd5cfb5efa910160405180910390a15050505050565b5f6020808352835180828501525f5b8181101561222257858101830151858201604001528201612206565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610a15575f80fd5b5f8060408385031215612267575f80fd5b823561227281612242565b946020939093013593505050565b5f60208284031215612290575f80fd5b813561229b81612242565b9392505050565b5f805f606084860312156122b4575f80fd5b83356122bf81612242565b925060208401356122cf81612242565b929592945050506040919091013590565b8015158114610a15575f80fd5b5f602082840312156122fd575f80fd5b813561229b816122e0565b5f60208284031215612318575f80fd5b5035919050565b5f8060408385031215612330575f80fd5b50508035926020909101359150565b5f8060408385031215612350575f80fd5b823561235b81612242565b9150602083013561236b816122e0565b809150509250929050565b5f8060408385031215612387575f80fd5b823561239281612242565b9150602083013561236b81612242565b600181811c908216806123b657607f821691505b6020821081036123d457634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156107cd576107cd6123da565b5f60208284031215612411575f80fd5b815161229b81612242565b5f6020828403121561242c575f80fd5b815161229b816122e0565b5f805f60608486031215612449575f80fd5b8351925060208401519150604084015190509250925092565b5f8261247c57634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215612491575f80fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b80820281158282048414176107cd576107cd6123da565b818103818111156107cd576107cd6123da565b634e487b7160e01b5f52603260045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156125ac5784516001600160a01b031683529383019391830191600101612587565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220c8bcc7da30ab0ebdf5f0aa1a1f4e3a2498a6456b8830016ae20c31036c4c612e64736f6c63430008150033
Deployed Bytecode
0x608060405260043610610236575f3560e01c80637ba54f1f11610129578063b8158d60116100a8578063e01af92c1161006d578063e01af92c146106a3578063e2f45605146106c2578063e4e44893146106d7578063f2fde38b146106ec578063f9d0831a1461070b575f80fd5b8063b8158d601461061c578063c024666814610631578063cd51e6d414610650578063d2fcc00114610665578063dd62ed3e14610684575f80fd5b8063a457c2d7116100ee578063a457c2d714610573578063a8a69b9d14610592578063a9059cbb146105c9578063aa4bde28146105e8578063afa4f3b2146105fd575f80fd5b80637ba54f1f146104f05780637d71b6c91461050f5780638a8c523c1461052e5780638da5cb5b1461054257806395d89b411461055f575f80fd5b806339509351116101b55780636db794371161017a5780636db794371461044e5780636ddd17131461046d57806370a082311461048b578063715018a6146104bf57806379243028146104d3575f80fd5b8063395093511461039b57806342966c68146103ba57806349bd5a5e146103d95780634ada218b146103f85780634fbee19314610417575f80fd5b806318160ddd116101fb57806318160ddd1461031557806321a9d82a1461032957806323b872dd146103425780632a6c7dba14610361578063313ce56714610380575f80fd5b806306fdde0314610241578063095ea7b31461026b5780630ce302941461029a57806314c07959146102bd5780631694505e146102de575f80fd5b3661023d57005b5f80fd5b34801561024c575f80fd5b5061025561072a565b60405161026291906121f7565b60405180910390f35b348015610276575f80fd5b5061028a610285366004612256565b6107ba565b6040519015158152602001610262565b3480156102a5575f80fd5b506102af600a5481565b604051908152602001610262565b3480156102c8575f80fd5b506102dc6102d7366004612280565b6107d3565b005b3480156102e9575f80fd5b506006546102fd906001600160a01b031681565b6040516001600160a01b039091168152602001610262565b348015610320575f80fd5b506002546102af565b348015610334575f80fd5b5060135461028a9060ff1681565b34801561034d575f80fd5b5061028a61035c3660046122a2565b61090a565b34801561036c575f80fd5b506102dc61037b3660046122ed565b61092d565b34801561038b575f80fd5b5060405160128152602001610262565b3480156103a6575f80fd5b5061028a6103b5366004612256565b6109ea565b3480156103c5575f80fd5b506102dc6103d4366004612308565b610a0b565b3480156103e4575f80fd5b506007546102fd906001600160a01b031681565b348015610403575f80fd5b50600f5461028a9062010000900460ff1681565b348015610422575f80fd5b5061028a610431366004612280565b6001600160a01b03165f9081526008602052604090205460ff1690565b348015610459575f80fd5b506102dc61046836600461231f565b610a18565b348015610478575f80fd5b50600f5461028a90610100900460ff1681565b348015610496575f80fd5b506102af6104a5366004612280565b6001600160a01b03165f9081526020819052604090205490565b3480156104ca575f80fd5b506102dc610b0b565b3480156104de575f80fd5b50600d546001600160a01b03166102fd565b3480156104fb575f80fd5b506102dc61050a366004612280565b610b1e565b34801561051a575f80fd5b50600c546102fd906001600160a01b031681565b348015610539575f80fd5b506102dc610c5d565b34801561054d575f80fd5b506005546001600160a01b03166102fd565b34801561056a575f80fd5b50610255610fc3565b34801561057e575f80fd5b5061028a61058d366004612256565b610fd2565b34801561059d575f80fd5b5061028a6105ac366004612280565b6001600160a01b03165f9081526012602052604090205460ff1690565b3480156105d4575f80fd5b5061028a6105e3366004612256565b61104c565b3480156105f3575f80fd5b506102af60145481565b348015610608575f80fd5b506102dc610617366004612308565b611059565b348015610627575f80fd5b506102af60115481565b34801561063c575f80fd5b506102dc61064b36600461233f565b6111ad565b34801561065b575f80fd5b506102af60105481565b348015610670575f80fd5b506102dc61067f36600461233f565b611296565b34801561068f575f80fd5b506102af61069e366004612376565b6113c8565b3480156106ae575f80fd5b506102dc6106bd3660046122ed565b6113f2565b3480156106cd575f80fd5b506102af600e5481565b3480156106e2575f80fd5b506102af60095481565b3480156106f7575f80fd5b506102dc610706366004612280565b611481565b348015610716575f80fd5b506102dc610725366004612280565b6114f7565b606060038054610739906123a2565b80601f0160208091040260200160405190810160405280929190818152602001828054610765906123a2565b80156107b05780601f10610787576101008083540402835291602001916107b0565b820191905f5260205f20905b81548152906001019060200180831161079357829003601f168201915b5050505050905090565b5f336107c78185856115f8565b60019150505b92915050565b6107db61171b565b600c546001600160a01b039081169082160361084d5760405162461bcd60e51b815260206004820152602660248201527f4f6e65537761702077616c6c657420697320616c72656164792074686174206160448201526564647265737360d01b60648201526084015b60405180910390fd5b6001600160a01b0381166108b55760405162461bcd60e51b815260206004820152602960248201527f4f6e65537761702077616c6c65742063616e6e6f7420626520746865207a65726044820152686f206164647265737360b81b6064820152608401610844565b600c80546001600160a01b0319166001600160a01b0383169081179091556040519081527f6c1678431ba16c2db396aa83c7fc14762b43b01e260130e9bd52de8952662b61906020015b60405180910390a150565b5f33610917858285611775565b6109228585856117e7565b506001949350505050565b61093561171b565b60135460ff161515811515036109a35760405162461bcd60e51b815260206004820152602d60248201527f4d61782077616c6c6574206c696d697420697320616c7265616479207365742060448201526c746f207468617420737461746560981b6064820152608401610844565b6013805460ff191682151590811790915560405160ff909116151581527f670f884265aba2d05e7c26efbc42f8365effc4cb3fcfcefddba0c0b71a6231f1906020016108ff565b5f336107c78185856109fc83836113c8565b610a0691906123ee565b6115f8565b610a153382611c39565b50565b610a2061171b565b600a54821115610a725760405162461bcd60e51b815260206004820152601e60248201527f596f752063616e206f6e6c7920646563726561736520746865206665657300006044820152606401610844565b600954811115610ac45760405162461bcd60e51b815260206004820152601e60248201527f596f752063616e206f6e6c7920646563726561736520746865206665657300006044820152606401610844565b600a829055600981905560408051838152602081018390527f53482196ef67ac615caab1c3eca2c270acbfdcd75e57c5f24c1b98b10c8e6e04910160405180910390a15050565b610b1361171b565b610b1c5f611d69565b565b610b26611dba565b600d546001600160a01b0390811690821603610b9d5760405162461bcd60e51b815260206004820152603060248201527f4c697175696469747950726f76696465722077616c6c657420697320616c726560448201526f6164792074686174206164647265737360801b6064820152608401610844565b6001600160a01b038116610c0f5760405162461bcd60e51b815260206004820152603360248201527f4c697175696469747950726f76696465722077616c6c65742063616e6e6f7420604482015272626520746865207a65726f206164647265737360681b6064820152608401610844565b600d80546001600160a01b0319166001600160a01b0383169081179091556040519081527fe2491a2abd15e120355965e3bef7a5e9570d67de30ffddb7fc7408d0cb5450f8906020016108ff565b610c65611dba565b600f5462010000900460ff1615610cbe5760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642e00000000000000006044820152606401610844565b60065f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d329190612401565b6001600160a01b031663c9c653963060065f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610db59190612401565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610dff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e239190612401565b600780546001600160a01b0319166001600160a01b03929092169182179055610e4f9030905f196115f8565b60075460065460405163095ea7b360e01b81526001600160a01b0391821660048201525f19602482015291169063095ea7b3906044016020604051808303815f875af1158015610ea1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec5919061241c565b506006546001600160a01b031663f305d7194730610ef7816001600160a01b03165f9081526020819052604090205490565b5f80610f0b600d546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610f71573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610f969190612437565b50506013805460ff1916600117905550600f80546201010062ffff00199091161790554360105542601155565b606060048054610739906123a2565b5f3381610fdf82866113c8565b90508381101561103f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610844565b61092282868684036115f8565b5f336107c78185856117e7565b61106161171b565b620f424061106e60025490565b6110789190612462565b8110156110ed5760405162461bcd60e51b815260206004820152603f60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3030303125206f6620746f74616c20737570706c79006064820152608401610844565b6103e86110f960025490565b6111039190612462565b8111156111785760405162461bcd60e51b815260206004820152603c60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3125206f6620746f74616c20737570706c79000000006064820152608401610844565b600e8190556040518181527f7c26bfee26f82e8cb57af48f4019cc64582db6fac7bad778433f10572ae8b145906020016108ff565b6111b561171b565b6001600160a01b0382165f9081526008602052604090205481151560ff9091161515036112375760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610844565b6001600160a01b0382165f81815260086020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b61129e61171b565b6001600160a01b0382165f9081526012602052604090205481151560ff9091161515036113195760405162461bcd60e51b8152602060048201526024808201527f4163636f756e7420697320616c72656164792073657420746f207468617420736044820152637461746560e01b6064820152608401610844565b306001600160a01b038316036113715760405162461bcd60e51b815260206004820152601760248201527f43616e277420736574207468697320616464726573732e0000000000000000006044820152606401610844565b6001600160a01b0382165f81815260126020908152604091829020805460ff191685151590811790915591519182527f1d9a11e204b58ad56c619c61600e42167624659d218f0143f1f64956b0daae6c910161128a565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6113fa61171b565b801515600f60019054906101000a900460ff161515036114675760405162461bcd60e51b815260206004820152602260248201527f73776170456e61626c656420616c726561647920617420746869732073746174604482015261329760f11b6064820152608401610844565b600f80549115156101000261ff0019909216919091179055565b61148961171b565b6001600160a01b0381166114ee5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610844565b610a1581611d69565b6114ff61171b565b6001600160a01b03811661151757610a153347611de7565b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa15801561155d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115819190612481565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303815f875af11580156115ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f2919061241c565b50505050565b6001600160a01b03831661165a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610844565b6001600160a01b0382166116bb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610844565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610b1c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610844565b5f61178084846113c8565b90505f1981146115f257818110156117da5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610844565b6115f284848484036115f8565b6001600160a01b03831661180d5760405162461bcd60e51b815260040161084490612498565b6001600160a01b0382166118335760405162461bcd60e51b8152600401610844906124dd565b600f5462010000900460ff168061186157506001600160a01b0383165f9081526008602052604090205460ff165b8061188357506001600160a01b0382165f9081526008602052604090205460ff165b6118cf5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642100000000000000006044820152606401610844565b805f036118e6576118e183835f611efc565b505050565b305f90815260208190526040902054600e548110801590819061190c5750600f5460ff16155b801561192557506007546001600160a01b038581169116145b80156119385750600f54610100900460ff165b1561195e57600f805460ff1916600117905561195382612024565b600f805460ff191690555b5f8060115461070861197091906123ee565b421115611984575050600954600a54611a30565b601154611993906105dc6123ee565b4211156119a55750600a905080611a30565b6011546119b4906104b06123ee565b4211156119c65750600f905080611a30565b6011546119d5906103846123ee565b4211156119e757506014905080611a30565b6011546119f6906102586123ee565b421115611a0857506019905080611a30565b601154611a179061012c6123ee565b421115611a295750601e905080611a30565b5060239050805b6001600160a01b0387165f9081526008602052604081205460ff1680611a6d57506001600160a01b0387165f9081526008602052604090205460ff165b80611a7a5750600f5460ff165b15611a8657505f611ad4565b6007546001600160a01b0390811690891603611ab4576010544311611aad57506063611ad4565b5081611ad4565b6007546001600160a01b0390811690881603611ad1575080611ad4565b505f5b8015611b2c575f6064611ae78389612520565b611af19190612462565b9050611afd8188612537565b9650611b0a893083611efc565b611b15600482612462565b600b5f828254611b2591906123ee565b9091555050505b60135460ff1615611c24576001600160a01b0388165f9081526012602052604090205460ff16158015611b7757506001600160a01b0387165f9081526012602052604090205460ff16155b8015611b9157506007546001600160a01b03888116911614155b15611c24576001600160a01b0387165f90815260208190526040902054601454611bbb88836123ee565b1115611c225760405162461bcd60e51b815260206004820152603060248201527f4d617857616c6c65743a20526563697069656e7420657863656564732074686560448201526f081b585e15d85b1b195d105b5bdd5b9d60821b6064820152608401610844565b505b611c2f888888611efc565b5050505050505050565b6001600160a01b038216611c995760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610844565b6001600160a01b0382165f9081526020819052604090205481811015611d0c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610844565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b600d546001600160a01b03163314610b1c57604051639eaab64360e01b8152336004820152602401610844565b80471015611e375760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610844565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611e80576040519150601f19603f3d011682016040523d82523d5f602084013e611e85565b606091505b50509050806118e15760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610844565b6001600160a01b038316611f225760405162461bcd60e51b815260040161084490612498565b6001600160a01b038216611f485760405162461bcd60e51b8152600401610844906124dd565b6001600160a01b0383165f9081526020819052604090205481811015611fbf5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610844565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36115f2565b60408051600280825260608201835247925f92919060208301908036833701905050905030815f8151811061205b5761205b61254a565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156120b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120d69190612401565b816001815181106120e9576120e961254a565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac9479061212e9086905f9086903090429060040161255e565b5f604051808303815f87803b158015612145575f80fd5b505af1158015612157573d5f803e3d5ffd5b505050505f82476121689190612537565b90505f84600b548361217a9190612520565b6121849190612462565b600d5490915061219d906001600160a01b031682611de7565b600c546121b3906001600160a01b031647611de7565b5f600b5560408051868152602081018490527ffe306650d607f6875ee6bc76c5335c897668e85ce812d31e367460dd5cfb5efa910160405180910390a15050505050565b5f6020808352835180828501525f5b8181101561222257858101830151858201604001528201612206565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610a15575f80fd5b5f8060408385031215612267575f80fd5b823561227281612242565b946020939093013593505050565b5f60208284031215612290575f80fd5b813561229b81612242565b9392505050565b5f805f606084860312156122b4575f80fd5b83356122bf81612242565b925060208401356122cf81612242565b929592945050506040919091013590565b8015158114610a15575f80fd5b5f602082840312156122fd575f80fd5b813561229b816122e0565b5f60208284031215612318575f80fd5b5035919050565b5f8060408385031215612330575f80fd5b50508035926020909101359150565b5f8060408385031215612350575f80fd5b823561235b81612242565b9150602083013561236b816122e0565b809150509250929050565b5f8060408385031215612387575f80fd5b823561239281612242565b9150602083013561236b81612242565b600181811c908216806123b657607f821691505b6020821081036123d457634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156107cd576107cd6123da565b5f60208284031215612411575f80fd5b815161229b81612242565b5f6020828403121561242c575f80fd5b815161229b816122e0565b5f805f60608486031215612449575f80fd5b8351925060208401519150604084015190509250925092565b5f8261247c57634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215612491575f80fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b80820281158282048414176107cd576107cd6123da565b818103818111156107cd576107cd6123da565b634e487b7160e01b5f52603260045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156125ac5784516001600160a01b031683529383019391830191600101612587565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220c8bcc7da30ab0ebdf5f0aa1a1f4e3a2498a6456b8830016ae20c31036c4c612e64736f6c63430008150033
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.