ERC-20
Overview
Max Total Supply
10,000,000 ATH
Holders
24
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.639483864420783135 ATHValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
AthenaAI
Compiler Version
v0.8.23+commit.f704f362
Contract Source Code (Solidity Standard Json-Input format)
/** Website: athena-ai.network Twitter: https://twitter.com/AthenaAI_tech Telegram: https://t.me/AthenaAI_Portal **/ // SPDX-License-Identifier: MIT pragma solidity 0.8.23; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "../interfaces/IUniswapV2Router02.sol"; contract AthenaAI is Context, IERC20, Ownable { using SafeERC20 for IERC20; // constant uint256 constant public DENOMINATOR = 10000; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcludedFromFee; mapping(address => bool) private _buyerMap; address payable private _taxWallet; uint256 private _initialBuyTax = 3000; uint256 private _initialSellTax = 4000; uint256 private _finalBuyTax = 500; uint256 private _finalSellTax = 500; uint256 private _preventSwapBefore = 15; uint256 private _buyCount = 0; uint256 public startTime; uint256 private _decimals = 18; uint256 private _tTotal = 10000000 * 10 ** _decimals; // 10 million string private _name = unicode"AthenaAI"; string private _symbol = unicode"ATH"; uint256 private _maxTxAmount = (_tTotal * 500) / DENOMINATOR; // 5% of total supply uint256 private _maxWalletSize = (_tTotal * 200) / DENOMINATOR; // 2% of total supply uint256 private _taxSwapThreshold = _tTotal * 50 / DENOMINATOR; // 0.5% of total supply uint256 private _maxTaxSwap = _tTotal * 10 / DENOMINATOR; // 0.1% of total supply IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool public tradingOpen = false; bool public inSwap = false; bool public swapEnabled = false; bool public addedLP = false; bool public holdToken = false; modifier lockTheSwap { inSwap = true; _; inSwap = false; } event MaxTxAmountUpdated(uint _maxTxAmount); event TaxWalletUpdate(address taxWallet_); constructor (address router_, address taxWallet_) Ownable(msg.sender){ _taxWallet = payable(taxWallet_); _isExcludedFromFee[msg.sender] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[_taxWallet] = true; uniswapV2Router = IUniswapV2Router02(router_); _balances[owner()] = _tTotal; emit Transfer(address(0), owner(), _tTotal); emit TaxWalletUpdate(address(_taxWallet)); } //ERC20 functions function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint256) { return _decimals; } function totalSupply() public view override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { require(_allowances[sender][_msgSender()] >= amount, "ERC20: Allowances not enough"); _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()] - amount); return true; } // private functions function _approve(address owner, address spender, uint256 amount) private { 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); } function _transfer(address from, address to, uint256 amount) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "ERC20: Transfer amount must be greater than zero"); uint256 taxAmount = 0; (uint256 _buyTax, uint256 _sellTax) = getTax(); if (from != owner() && to != owner()) { if (from == uniswapV2Pair && to != address(uniswapV2Router) && !_isExcludedFromFee[to]) { require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount."); require(tradingOpen, "Trading not open"); require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize."); if (_buyCount < _preventSwapBefore) { require(!isContract(to), "Not allow contract buy now"); } _buyCount++; _buyerMap[to] = true; } // buy tax taxAmount = amount * (_buyTax) / (DENOMINATOR); if (to == uniswapV2Pair && from != address(this)) { require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount."); //sell tax taxAmount = amount * (_sellTax) / (DENOMINATOR); require(_buyCount > _preventSwapBefore || _buyerMap[from], "Seller is not buyer"); } uint256 contractTokenBalance = balanceOf(address(this)); uint256 _taxSwap = _maxTaxSwap; if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance > _taxSwapThreshold && _buyCount > _preventSwapBefore ) { swapTokensForEth(min(amount, min(contractTokenBalance, _taxSwap))); uint256 contractETHBalance = address(this).balance; if (contractETHBalance > 0) { sendETHToFee(address(this).balance); } } } // add liquidity dont charge fee if (_isExcludedFromFee[to] && to == address(uniswapV2Pair) && !holdToken) { taxAmount = 0; } // no fee when transfer if (to != uniswapV2Pair && from != uniswapV2Pair) { taxAmount = 0; } if (taxAmount > 0) { _balances[address(this)] = _balances[address(this)] + (taxAmount); emit Transfer(from, address(this), taxAmount); } _balances[from] = _balances[from] - (amount); _balances[to] = _balances[to] + (amount - (taxAmount)); emit Transfer(from, to, amount - (taxAmount)); } function swapTokensForEth(uint256 tokenAmount) private lockTheSwap { if (tokenAmount == 0) {return;} if (!tradingOpen) {return;} address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, _taxWallet, block.timestamp ); } function sendETHToFee(uint256 amount) private { _taxWallet.transfer(amount); } receive() external payable {} // Restrict functions and public functions function removeLimits() external onlyOwner { _maxTxAmount = _tTotal; _maxWalletSize = _tTotal; emit MaxTxAmountUpdated(_tTotal); } function addLiquidity() external onlyOwner() { require(!tradingOpen && !addedLP, "trading is already open"); _approve(address(this), address(uniswapV2Router), _tTotal); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH()); _isExcludedFromFee[address(uniswapV2Pair)] = true; uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this), balanceOf(address(this)), 0, 0, owner(), block.timestamp); IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max); _isExcludedFromFee[address(uniswapV2Pair)] = false; addedLP = true; } function enableTrading() external onlyOwner { require(!tradingOpen, "trading is already open"); if(uniswapV2Pair == address(0)) { uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).getPair(address(this), uniswapV2Router.WETH()); } swapEnabled = true; tradingOpen = true; startTime = block.timestamp; } function setMaxTxPercentToDefault() external onlyOwner() { _maxTxAmount = _tTotal / 100; // Updates the maxTxAmount to be 1% of total supply emit MaxTxAmountUpdated(_maxTxAmount); // Emitting event for the update operation } function manualSwap() external { require(_msgSender() == _taxWallet, "Only tax wallet"); uint256 tokenBalance = balanceOf(address(this)); if (tokenBalance > 0) { swapTokensForEth(tokenBalance); } uint256 ethBalance = address(this).balance; if (ethBalance > 0) { sendETHToFee(ethBalance); } } function changeMaxTaxSwap(uint256 _amount) external { require(_msgSender() == _taxWallet, "Only tax wallet"); require(_amount > 0 && _amount < _tTotal, "Invalid value"); _maxTaxSwap = _amount; } function changeTaxSwapThreshold(uint256 _amount) external { require(_amount > 0 && _amount < _tTotal, "Invalid value"); require(_msgSender() == _taxWallet, "Only tax wallet"); _taxSwapThreshold = _amount; } function changeTaxWallet(address taxWallet_) external { require(_msgSender() == _taxWallet, "Only tax wallet"); require(taxWallet_ != address(0), "Invalid address"); _isExcludedFromFee[_taxWallet] = false; _taxWallet = payable(taxWallet_); _isExcludedFromFee[_taxWallet] = true; emit TaxWalletUpdate(address(_taxWallet)); } function excludeFromFee(address _user) external onlyOwner { _isExcludedFromFee[_user] = true; } function includeFromFee(address _user) external onlyOwner { _isExcludedFromFee[_user] = false; } function taxWallet() external view returns(address) { require(msg.sender == address(_taxWallet), "Only tax wallet"); return _taxWallet; } // Views function getTax() public view returns (uint _buy, uint _sell) { if(startTime == 0) { return (_initialBuyTax, _initialSellTax); } if (startTime + 60 * 3 >= block.timestamp) { return (_initialBuyTax, _initialSellTax); } else if (startTime + 60 * 3 < block.timestamp && block.timestamp <= startTime + 60 * 12) { return (2000, 3000); } else if (startTime + 60 * 12 < block.timestamp && block.timestamp <= startTime + 60 * 20) { return (1000, 2000); } else if (block.timestamp > startTime + 60 * 20) { return (_finalBuyTax, _finalSellTax); } } function isContract(address account) private view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return size > 0; } function initialBuyTax() external view returns (uint) { return _initialBuyTax; } function initialSellTax() external view returns (uint) { return _initialSellTax; } function finalBuyTax() external view returns (uint) { return _finalBuyTax; } function finalSellTax() external view returns (uint) { return _finalSellTax; } function maxTxAmount() external view returns (uint) { return _maxTxAmount; } function maxWalletSize() external view returns (uint) { return _maxWalletSize; } function taxSwapThreshold() external view returns (uint) { return _taxSwapThreshold; } function maxTaxSwap() external view returns (uint) { return _maxTaxSwap; } function min(uint256 a, uint256 b) private pure returns (uint256){ return (a > b) ? b : a; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; import {IERC20Permit} from "../extensions/IERC20Permit.sol"; import {Address} from "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev An operation with an ERC20 token failed. */ error SafeERC20FailedOperation(address token); /** * @dev Indicates a failed `decreaseAllowance` request. */ error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease); /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value))); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value))); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); forceApprove(token, spender, oldAllowance + value); } /** * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no * value, non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal { unchecked { uint256 currentAllowance = token.allowance(address(this), spender); if (currentAllowance < requestedDecrease) { revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease); } forceApprove(token, spender, currentAllowance - requestedDecrease); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value)); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0))); _callOptionalReturn(token, approvalCall); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data); if (returndata.length != 0 && !abi.decode(returndata, (bool))) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @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 or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * 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. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @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`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) 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 FailedInnerCall(); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
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; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); // for avax function WAVAX() external pure returns (address); function addLiquidityAVAX( address token, uint amountTokenDesired, uint amountTokenMin, uint amountAVAXMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountAVAX, uint liquidity); // for avax 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: UNLICENSED 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; function swapExactTokensForAVAXSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "evmVersion": "paris", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"router_","type":"address"},{"internalType":"address","name":"taxWallet_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","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":"address","name":"taxWallet_","type":"address"}],"name":"TaxWalletUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"addedLP","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"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":"changeMaxTaxSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"changeTaxSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"taxWallet_","type":"address"}],"name":"changeTaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTax","outputs":[{"internalType":"uint256","name":"_buy","type":"uint256"},{"internalType":"uint256","name":"_sell","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"holdToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"includeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTaxSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setMaxTxPercentToDefault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052610bb8600655610fa06007556101f46008556101f4600955600f600a556000600b556012600d55600d54600a6200003c919062000411565b6200004b906298968062000426565b600e55604080518082019091526008815267417468656e61414960c01b6020820152600f906200007c9082620004e7565b50604080518082019091526003815262082a8960eb1b6020820152601090620000a69082620004e7565b50612710600e546101f4620000bc919062000426565b620000c89190620005b3565b601155612710600e5460c8620000df919062000426565b620000eb9190620005b3565b601255612710600e54603262000102919062000426565b6200010e9190620005b3565b601355612710600e54600a62000125919062000426565b620001319190620005b3565b6014556016805464ffffffffff60a01b191690553480156200015257600080fd5b5060405162002772380380620027728339810160408190526200017591620005f3565b33806200019c57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b620001a781620002ac565b50600580546001600160a01b038381166001600160a01b0319928316178355336000908152600360209081526040808320805460ff19908116600190811790925530855282852080548216831790559654851684528184208054909716811790965560158054898616961695909517909455600e5482548416835294815283822085905581549351948552929091169290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36005546040516001600160a01b0390911681527f9a5950144c135c4ca7cfeed1549eeb7309d0270f4269aabbe564ba06adb4584d9060200160405180910390a150506200062b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000353578160001904821115620003375762000337620002fc565b808516156200034557918102915b93841c939080029062000317565b509250929050565b6000826200036c575060016200040b565b816200037b575060006200040b565b81600181146200039457600281146200039f57620003bf565b60019150506200040b565b60ff841115620003b357620003b3620002fc565b50506001821b6200040b565b5060208310610133831016604e8410600b8410161715620003e4575081810a6200040b565b620003f0838362000312565b8060001904821115620004075762000407620002fc565b0290505b92915050565b60006200041f83836200035b565b9392505050565b80820281158282048414176200040b576200040b620002fc565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200046b57607f821691505b6020821081036200048c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004e2576000816000526020600020601f850160051c81016020861015620004bd5750805b601f850160051c820191505b81811015620004de57828155600101620004c9565b5050505b505050565b81516001600160401b0381111562000503576200050362000440565b6200051b8162000514845462000456565b8462000492565b602080601f8311600181146200055357600084156200053a5750858301515b600019600386901b1c1916600185901b178555620004de565b600085815260208120601f198616915b82811015620005845788860151825594840194600190910190840162000563565b5085821015620005a35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082620005d157634e487b7160e01b600052601260045260246000fd5b500490565b80516001600160a01b0381168114620005ee57600080fd5b919050565b600080604083850312156200060757600080fd5b6200061283620005d6565b91506200062260208401620005d6565b90509250929050565b612137806200063b6000396000f3fe60806040526004361061024a5760003560e01c8063715018a611610139578063a9059cbb116100b6578063dd62ed3e1161007a578063dd62ed3e1461064f578063e6fe10b614610695578063e8078d94146106aa578063f2fde38b146106bf578063ff511828146106df578063ffb54a99146106ff57600080fd5b8063a9059cbb146105b8578063a943dc8b146105d8578063cb711595146105f9578063d830678614610619578063db05944c1461063a57600080fd5b80638c0b5e22116100fd5780638c0b5e22146105455780638da5cb5b1461055a5780638f3fa86014610578578063918f86741461058d57806395d89b41146105a357600080fd5b8063715018a6146104d0578063751039fc146104e557806378e97925146104fa5780637efd4be7146105105780638a8c523c1461053057600080fd5b8063437823ec116101c75780635e7b655c1161018b5780635e7b655c1461043a57806362997f8c1461044f5780636727ba9b146104645780636ddd17131461047957806370a082311461049a57600080fd5b8063437823ec146103a657806349bd5a5e146103c657806351bc3c85146103e657806354b762a6146103fb57806358d375331461042557600080fd5b806318160ddd1161020e57806318160ddd1461032857806323b872dd146103475780632dc0562d14610367578063313ce5671461037c5780633912ff971461039157600080fd5b8063050197701461025657806306fdde031461028c578063095ea7b3146102ae5780631694505e146102ce57806317e92c751461030657600080fd5b3661025157005b600080fd5b34801561026257600080fd5b5060165461027790600160b81b900460ff1681565b60405190151581526020015b60405180910390f35b34801561029857600080fd5b506102a1610720565b6040516102839190611dda565b3480156102ba57600080fd5b506102776102c9366004611e3e565b6107b2565b3480156102da57600080fd5b506015546102ee906001600160a01b031681565b6040516001600160a01b039091168152602001610283565b34801561031257600080fd5b50610326610321366004611e6a565b6107c9565b005b34801561033457600080fd5b50600e545b604051908152602001610283565b34801561035357600080fd5b50610277610362366004611e83565b610857565b34801561037357600080fd5b506102ee61091a565b34801561038857600080fd5b50600d54610339565b34801561039d57600080fd5b50600654610339565b3480156103b257600080fd5b506103266103c1366004611ec4565b610957565b3480156103d257600080fd5b506016546102ee906001600160a01b031681565b3480156103f257600080fd5b50610326610983565b34801561040757600080fd5b506104106109e9565b60408051928352602083019190915201610283565b34801561043157600080fd5b50600854610339565b34801561044657600080fd5b50601354610339565b34801561045b57600080fd5b50601454610339565b34801561047057600080fd5b50610326610ac2565b34801561048557600080fd5b5060165461027790600160b01b900460ff1681565b3480156104a657600080fd5b506103396104b5366004611ec4565b6001600160a01b031660009081526001602052604090205490565b3480156104dc57600080fd5b50610326610b14565b3480156104f157600080fd5b50610326610b28565b34801561050657600080fd5b50610339600c5481565b34801561051c57600080fd5b5061032661052b366004611e6a565b610b6d565b34801561053c57600080fd5b50610326610bf2565b34801561055157600080fd5b50601154610339565b34801561056657600080fd5b506000546001600160a01b03166102ee565b34801561058457600080fd5b50601254610339565b34801561059957600080fd5b5061033961271081565b3480156105af57600080fd5b506102a1610e08565b3480156105c457600080fd5b506102776105d3366004611e3e565b610e17565b3480156105e457600080fd5b5060165461027790600160c01b900460ff1681565b34801561060557600080fd5b50610326610614366004611ec4565b610e24565b34801561062557600080fd5b5060165461027790600160a81b900460ff1681565b34801561064657600080fd5b50600754610339565b34801561065b57600080fd5b5061033961066a366004611ee1565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156106a157600080fd5b50600954610339565b3480156106b657600080fd5b50610326610f25565b3480156106cb57600080fd5b506103266106da366004611ec4565b6112db565b3480156106eb57600080fd5b506103266106fa366004611ec4565b611319565b34801561070b57600080fd5b5060165461027790600160a01b900460ff1681565b6060600f805461072f90611f1a565b80601f016020809104026020016040519081016040528092919081815260200182805461075b90611f1a565b80156107a85780601f1061077d576101008083540402835291602001916107a8565b820191906000526020600020905b81548152906001019060200180831161078b57829003601f168201915b5050505050905090565b60006107bf338484611342565b5060015b92915050565b6005546001600160a01b0316336001600160a01b0316146108055760405162461bcd60e51b81526004016107fc90611f54565b60405180910390fd5b6000811180156108165750600e5481105b6108525760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b60448201526064016107fc565b601455565b6001600160a01b03831660009081526002602090815260408083203384529091528120548211156108ca5760405162461bcd60e51b815260206004820152601c60248201527f45524332303a20416c6c6f77616e636573206e6f7420656e6f7567680000000060448201526064016107fc565b6108d5848484611466565b6001600160a01b03841660009081526002602090815260408083203380855292529091205461091091869161090b908690611f93565b611342565b5060019392505050565b6005546000906001600160a01b031633146109475760405162461bcd60e51b81526004016107fc90611f54565b506005546001600160a01b031690565b61095f611b74565b6001600160a01b03166000908152600360205260409020805460ff19166001179055565b6005546001600160a01b0316336001600160a01b0316146109b65760405162461bcd60e51b81526004016107fc90611f54565b3060009081526001602052604090205480156109d5576109d581611ba1565b4780156109e5576109e581611d38565b5050565b600080600c54600003610a025750506006546007549091565b42600c5460b4610a129190611fa6565b10610a235750506006546007549091565b42600c5460b4610a339190611fa6565b108015610a4e5750600c54610a4a906102d0611fa6565b4211155b15610a5f57506107d091610bb89150565b42600c546102d0610a709190611fa6565b108015610a8b5750600c54610a87906104b0611fa6565b4211155b15610a9c57506103e8916107d09150565b600c54610aab906104b0611fa6565b421115610abe5750506008546009549091565b9091565b610aca611b74565b6064600e54610ad99190611fb9565b60118190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf906020015b60405180910390a1565b610b1c611b74565b610b266000611d72565b565b610b30611b74565b600e54601181905560128190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf90602001610b0a565b600081118015610b7e5750600e5481105b610bba5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b60448201526064016107fc565b6005546001600160a01b0316336001600160a01b031614610bed5760405162461bcd60e51b81526004016107fc90611f54565b601355565b610bfa611b74565b601654600160a01b900460ff1615610c4e5760405162461bcd60e51b81526020600482015260176024820152763a3930b234b7339034b99030b63932b0b23c9037b832b760491b60448201526064016107fc565b6016546001600160a01b0316610deb57601560009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd59190611fdb565b6001600160a01b031663e6a4390530601560009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5b9190611fdb565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610da6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dca9190611fdb565b601680546001600160a01b0319166001600160a01b03929092169190911790555b6016805462ff00ff60a01b19166201000160a01b17905542600c55565b60606010805461072f90611f1a565b60006107bf338484611466565b6005546001600160a01b0316336001600160a01b031614610e575760405162461bcd60e51b81526004016107fc90611f54565b6001600160a01b038116610e9f5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016107fc565b600580546001600160a01b039081166000908152600360209081526040808320805460ff1990811690915585546001600160a01b0319168786169081178755845292819020805490931660011790925592549051911681527f9a5950144c135c4ca7cfeed1549eeb7309d0270f4269aabbe564ba06adb4584d910160405180910390a150565b610f2d611b74565b601654600160a01b900460ff16158015610f515750601654600160b81b900460ff16155b610f975760405162461bcd60e51b81526020600482015260176024820152763a3930b234b7339034b99030b63932b0b23c9037b832b760491b60448201526064016107fc565b601554600e54610fb49130916001600160a01b0390911690611342565b601560009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611007573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102b9190611fdb565b6001600160a01b031663c9c6539630601560009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561108d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b19190611fdb565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156110fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111229190611fdb565b601680546001600160a01b039283166001600160a01b031990911681179091556000908152600360205260409020805460ff191660011790556015541663f305d7194730611185816001600160a01b031660009081526001602052604090205490565b60008061119a6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611202573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906112279190611ff8565b505060165460155460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015611280573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a49190612026565b50601680546001600160a01b03166000908152600360205260409020805460ff19169055805460ff60b81b1916600160b81b179055565b6112e3611b74565b6001600160a01b03811661130d57604051631e4fbdf760e01b8152600060048201526024016107fc565b61131681611d72565b50565b611321611b74565b6001600160a01b03166000908152600360205260409020805460ff19169055565b6001600160a01b0383166113a45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107fc565b6001600160a01b0382166114055760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107fc565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166114ca5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107fc565b6001600160a01b03821661152c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107fc565b600081116115955760405162461bcd60e51b815260206004820152603060248201527f45524332303a205472616e7366657220616d6f756e74206d757374206265206760448201526f726561746572207468616e207a65726f60801b60648201526084016107fc565b600080806115a16109e9565b915091506115b76000546001600160a01b031690565b6001600160a01b0316866001600160a01b0316141580156115e657506000546001600160a01b03868116911614155b156119a1576016546001600160a01b03878116911614801561161657506015546001600160a01b03868116911614155b801561163b57506001600160a01b03851660009081526003602052604090205460ff16155b156117e95760115484111561168e5760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b60448201526064016107fc565b601654600160a01b900460ff166116da5760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b60448201526064016107fc565b601254846116fd876001600160a01b031660009081526001602052604090205490565b6117079190611fa6565b11156117555760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016107fc565b600a54600b5410156117b057843b156117b05760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420616c6c6f7720636f6e747261637420627579206e6f7700000000000060448201526064016107fc565b600b80549060006117c083612048565b90915550506001600160a01b0385166000908152600460205260409020805460ff191660011790555b6127106117f68386612061565b6118009190611fb9565b6016549093506001600160a01b03868116911614801561182957506001600160a01b0386163014155b156119015760115484111561187c5760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b60448201526064016107fc565b6127106118898286612061565b6118939190611fb9565b9250600a54600b5411806118bf57506001600160a01b03861660009081526004602052604090205460ff165b6119015760405162461bcd60e51b815260206004820152601360248201527229b2b63632b91034b9903737ba10313abcb2b960691b60448201526064016107fc565b30600090815260016020526040902054601454601654600160a81b900460ff1615801561193b57506016546001600160a01b038881169116145b80156119505750601654600160b01b900460ff165b801561195d575060135482115b801561196c5750600a54600b54115b1561199e5761198c611987876119828585611dc2565b611dc2565b611ba1565b47801561199c5761199c47611d38565b505b50505b6001600160a01b03851660009081526003602052604090205460ff1680156119d657506016546001600160a01b038681169116145b80156119ec5750601654600160c01b900460ff16155b156119f657600092505b6016546001600160a01b03868116911614801590611a2257506016546001600160a01b03878116911614155b15611a2c57600092505b8215611aa75730600090815260016020526040902054611a4d908490611fa6565b30600081815260016020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a9e9087815260200190565b60405180910390a35b6001600160a01b038616600090815260016020526040902054611acb908590611f93565b6001600160a01b038716600090815260016020526040902055611aee8385611f93565b6001600160a01b038616600090815260016020526040902054611b119190611fa6565b6001600160a01b0380871660008181526001602052604090209290925587167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611b5b8688611f93565b60405190815260200160405180910390a3505050505050565b6000546001600160a01b03163314610b265760405163118cdaa760e01b81523360048201526024016107fc565b6016805460ff60a81b1916600160a81b1790558015611d2857601654600160a01b900460ff1615611d28576040805160028082526060820183526000926020830190803683370190505090503081600081518110611c0157611c01612078565b6001600160a01b03928316602091820292909201810191909152601554604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c7e9190611fdb565b81600181518110611c9157611c91612078565b6001600160a01b039283166020918202929092010152601554611cb79130911684611342565b60155460055460405163791ac94760e01b81526001600160a01b039283169263791ac94792611cf49287926000928892911690429060040161208e565b600060405180830381600087803b158015611d0e57600080fd5b505af1158015611d22573d6000803e3d6000fd5b50505050505b506016805460ff60a81b19169055565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156109e5573d6000803e3d6000fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000818311611dd15782611dd3565b815b9392505050565b60006020808352835180602085015260005b81811015611e0857858101830151858201604001528201611dec565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461131657600080fd5b60008060408385031215611e5157600080fd5b8235611e5c81611e29565b946020939093013593505050565b600060208284031215611e7c57600080fd5b5035919050565b600080600060608486031215611e9857600080fd5b8335611ea381611e29565b92506020840135611eb381611e29565b929592945050506040919091013590565b600060208284031215611ed657600080fd5b8135611dd381611e29565b60008060408385031215611ef457600080fd5b8235611eff81611e29565b91506020830135611f0f81611e29565b809150509250929050565b600181811c90821680611f2e57607f821691505b602082108103611f4e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600f908201526e13db9b1e481d185e081dd85b1b195d608a1b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b818103818111156107c3576107c3611f7d565b808201808211156107c3576107c3611f7d565b600082611fd657634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611fed57600080fd5b8151611dd381611e29565b60008060006060848603121561200d57600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561203857600080fd5b81518015158114611dd357600080fd5b60006001820161205a5761205a611f7d565b5060010190565b80820281158282048414176107c3576107c3611f7d565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156120e05784516001600160a01b0316835293830193918301916001016120bb565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122067ec82d78dd91115e5c795f8790d962582c4e6e7d5a2fc3850078314013d8d4964736f6c634300081700330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000081aaa54e76b190650fee1b100ff735a092f57452
Deployed Bytecode
0x60806040526004361061024a5760003560e01c8063715018a611610139578063a9059cbb116100b6578063dd62ed3e1161007a578063dd62ed3e1461064f578063e6fe10b614610695578063e8078d94146106aa578063f2fde38b146106bf578063ff511828146106df578063ffb54a99146106ff57600080fd5b8063a9059cbb146105b8578063a943dc8b146105d8578063cb711595146105f9578063d830678614610619578063db05944c1461063a57600080fd5b80638c0b5e22116100fd5780638c0b5e22146105455780638da5cb5b1461055a5780638f3fa86014610578578063918f86741461058d57806395d89b41146105a357600080fd5b8063715018a6146104d0578063751039fc146104e557806378e97925146104fa5780637efd4be7146105105780638a8c523c1461053057600080fd5b8063437823ec116101c75780635e7b655c1161018b5780635e7b655c1461043a57806362997f8c1461044f5780636727ba9b146104645780636ddd17131461047957806370a082311461049a57600080fd5b8063437823ec146103a657806349bd5a5e146103c657806351bc3c85146103e657806354b762a6146103fb57806358d375331461042557600080fd5b806318160ddd1161020e57806318160ddd1461032857806323b872dd146103475780632dc0562d14610367578063313ce5671461037c5780633912ff971461039157600080fd5b8063050197701461025657806306fdde031461028c578063095ea7b3146102ae5780631694505e146102ce57806317e92c751461030657600080fd5b3661025157005b600080fd5b34801561026257600080fd5b5060165461027790600160b81b900460ff1681565b60405190151581526020015b60405180910390f35b34801561029857600080fd5b506102a1610720565b6040516102839190611dda565b3480156102ba57600080fd5b506102776102c9366004611e3e565b6107b2565b3480156102da57600080fd5b506015546102ee906001600160a01b031681565b6040516001600160a01b039091168152602001610283565b34801561031257600080fd5b50610326610321366004611e6a565b6107c9565b005b34801561033457600080fd5b50600e545b604051908152602001610283565b34801561035357600080fd5b50610277610362366004611e83565b610857565b34801561037357600080fd5b506102ee61091a565b34801561038857600080fd5b50600d54610339565b34801561039d57600080fd5b50600654610339565b3480156103b257600080fd5b506103266103c1366004611ec4565b610957565b3480156103d257600080fd5b506016546102ee906001600160a01b031681565b3480156103f257600080fd5b50610326610983565b34801561040757600080fd5b506104106109e9565b60408051928352602083019190915201610283565b34801561043157600080fd5b50600854610339565b34801561044657600080fd5b50601354610339565b34801561045b57600080fd5b50601454610339565b34801561047057600080fd5b50610326610ac2565b34801561048557600080fd5b5060165461027790600160b01b900460ff1681565b3480156104a657600080fd5b506103396104b5366004611ec4565b6001600160a01b031660009081526001602052604090205490565b3480156104dc57600080fd5b50610326610b14565b3480156104f157600080fd5b50610326610b28565b34801561050657600080fd5b50610339600c5481565b34801561051c57600080fd5b5061032661052b366004611e6a565b610b6d565b34801561053c57600080fd5b50610326610bf2565b34801561055157600080fd5b50601154610339565b34801561056657600080fd5b506000546001600160a01b03166102ee565b34801561058457600080fd5b50601254610339565b34801561059957600080fd5b5061033961271081565b3480156105af57600080fd5b506102a1610e08565b3480156105c457600080fd5b506102776105d3366004611e3e565b610e17565b3480156105e457600080fd5b5060165461027790600160c01b900460ff1681565b34801561060557600080fd5b50610326610614366004611ec4565b610e24565b34801561062557600080fd5b5060165461027790600160a81b900460ff1681565b34801561064657600080fd5b50600754610339565b34801561065b57600080fd5b5061033961066a366004611ee1565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156106a157600080fd5b50600954610339565b3480156106b657600080fd5b50610326610f25565b3480156106cb57600080fd5b506103266106da366004611ec4565b6112db565b3480156106eb57600080fd5b506103266106fa366004611ec4565b611319565b34801561070b57600080fd5b5060165461027790600160a01b900460ff1681565b6060600f805461072f90611f1a565b80601f016020809104026020016040519081016040528092919081815260200182805461075b90611f1a565b80156107a85780601f1061077d576101008083540402835291602001916107a8565b820191906000526020600020905b81548152906001019060200180831161078b57829003601f168201915b5050505050905090565b60006107bf338484611342565b5060015b92915050565b6005546001600160a01b0316336001600160a01b0316146108055760405162461bcd60e51b81526004016107fc90611f54565b60405180910390fd5b6000811180156108165750600e5481105b6108525760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b60448201526064016107fc565b601455565b6001600160a01b03831660009081526002602090815260408083203384529091528120548211156108ca5760405162461bcd60e51b815260206004820152601c60248201527f45524332303a20416c6c6f77616e636573206e6f7420656e6f7567680000000060448201526064016107fc565b6108d5848484611466565b6001600160a01b03841660009081526002602090815260408083203380855292529091205461091091869161090b908690611f93565b611342565b5060019392505050565b6005546000906001600160a01b031633146109475760405162461bcd60e51b81526004016107fc90611f54565b506005546001600160a01b031690565b61095f611b74565b6001600160a01b03166000908152600360205260409020805460ff19166001179055565b6005546001600160a01b0316336001600160a01b0316146109b65760405162461bcd60e51b81526004016107fc90611f54565b3060009081526001602052604090205480156109d5576109d581611ba1565b4780156109e5576109e581611d38565b5050565b600080600c54600003610a025750506006546007549091565b42600c5460b4610a129190611fa6565b10610a235750506006546007549091565b42600c5460b4610a339190611fa6565b108015610a4e5750600c54610a4a906102d0611fa6565b4211155b15610a5f57506107d091610bb89150565b42600c546102d0610a709190611fa6565b108015610a8b5750600c54610a87906104b0611fa6565b4211155b15610a9c57506103e8916107d09150565b600c54610aab906104b0611fa6565b421115610abe5750506008546009549091565b9091565b610aca611b74565b6064600e54610ad99190611fb9565b60118190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf906020015b60405180910390a1565b610b1c611b74565b610b266000611d72565b565b610b30611b74565b600e54601181905560128190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf90602001610b0a565b600081118015610b7e5750600e5481105b610bba5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b60448201526064016107fc565b6005546001600160a01b0316336001600160a01b031614610bed5760405162461bcd60e51b81526004016107fc90611f54565b601355565b610bfa611b74565b601654600160a01b900460ff1615610c4e5760405162461bcd60e51b81526020600482015260176024820152763a3930b234b7339034b99030b63932b0b23c9037b832b760491b60448201526064016107fc565b6016546001600160a01b0316610deb57601560009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd59190611fdb565b6001600160a01b031663e6a4390530601560009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5b9190611fdb565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610da6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dca9190611fdb565b601680546001600160a01b0319166001600160a01b03929092169190911790555b6016805462ff00ff60a01b19166201000160a01b17905542600c55565b60606010805461072f90611f1a565b60006107bf338484611466565b6005546001600160a01b0316336001600160a01b031614610e575760405162461bcd60e51b81526004016107fc90611f54565b6001600160a01b038116610e9f5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016107fc565b600580546001600160a01b039081166000908152600360209081526040808320805460ff1990811690915585546001600160a01b0319168786169081178755845292819020805490931660011790925592549051911681527f9a5950144c135c4ca7cfeed1549eeb7309d0270f4269aabbe564ba06adb4584d910160405180910390a150565b610f2d611b74565b601654600160a01b900460ff16158015610f515750601654600160b81b900460ff16155b610f975760405162461bcd60e51b81526020600482015260176024820152763a3930b234b7339034b99030b63932b0b23c9037b832b760491b60448201526064016107fc565b601554600e54610fb49130916001600160a01b0390911690611342565b601560009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611007573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102b9190611fdb565b6001600160a01b031663c9c6539630601560009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561108d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b19190611fdb565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156110fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111229190611fdb565b601680546001600160a01b039283166001600160a01b031990911681179091556000908152600360205260409020805460ff191660011790556015541663f305d7194730611185816001600160a01b031660009081526001602052604090205490565b60008061119a6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611202573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906112279190611ff8565b505060165460155460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015611280573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a49190612026565b50601680546001600160a01b03166000908152600360205260409020805460ff19169055805460ff60b81b1916600160b81b179055565b6112e3611b74565b6001600160a01b03811661130d57604051631e4fbdf760e01b8152600060048201526024016107fc565b61131681611d72565b50565b611321611b74565b6001600160a01b03166000908152600360205260409020805460ff19169055565b6001600160a01b0383166113a45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107fc565b6001600160a01b0382166114055760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107fc565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166114ca5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107fc565b6001600160a01b03821661152c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107fc565b600081116115955760405162461bcd60e51b815260206004820152603060248201527f45524332303a205472616e7366657220616d6f756e74206d757374206265206760448201526f726561746572207468616e207a65726f60801b60648201526084016107fc565b600080806115a16109e9565b915091506115b76000546001600160a01b031690565b6001600160a01b0316866001600160a01b0316141580156115e657506000546001600160a01b03868116911614155b156119a1576016546001600160a01b03878116911614801561161657506015546001600160a01b03868116911614155b801561163b57506001600160a01b03851660009081526003602052604090205460ff16155b156117e95760115484111561168e5760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b60448201526064016107fc565b601654600160a01b900460ff166116da5760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b60448201526064016107fc565b601254846116fd876001600160a01b031660009081526001602052604090205490565b6117079190611fa6565b11156117555760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016107fc565b600a54600b5410156117b057843b156117b05760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420616c6c6f7720636f6e747261637420627579206e6f7700000000000060448201526064016107fc565b600b80549060006117c083612048565b90915550506001600160a01b0385166000908152600460205260409020805460ff191660011790555b6127106117f68386612061565b6118009190611fb9565b6016549093506001600160a01b03868116911614801561182957506001600160a01b0386163014155b156119015760115484111561187c5760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b60448201526064016107fc565b6127106118898286612061565b6118939190611fb9565b9250600a54600b5411806118bf57506001600160a01b03861660009081526004602052604090205460ff165b6119015760405162461bcd60e51b815260206004820152601360248201527229b2b63632b91034b9903737ba10313abcb2b960691b60448201526064016107fc565b30600090815260016020526040902054601454601654600160a81b900460ff1615801561193b57506016546001600160a01b038881169116145b80156119505750601654600160b01b900460ff165b801561195d575060135482115b801561196c5750600a54600b54115b1561199e5761198c611987876119828585611dc2565b611dc2565b611ba1565b47801561199c5761199c47611d38565b505b50505b6001600160a01b03851660009081526003602052604090205460ff1680156119d657506016546001600160a01b038681169116145b80156119ec5750601654600160c01b900460ff16155b156119f657600092505b6016546001600160a01b03868116911614801590611a2257506016546001600160a01b03878116911614155b15611a2c57600092505b8215611aa75730600090815260016020526040902054611a4d908490611fa6565b30600081815260016020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a9e9087815260200190565b60405180910390a35b6001600160a01b038616600090815260016020526040902054611acb908590611f93565b6001600160a01b038716600090815260016020526040902055611aee8385611f93565b6001600160a01b038616600090815260016020526040902054611b119190611fa6565b6001600160a01b0380871660008181526001602052604090209290925587167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611b5b8688611f93565b60405190815260200160405180910390a3505050505050565b6000546001600160a01b03163314610b265760405163118cdaa760e01b81523360048201526024016107fc565b6016805460ff60a81b1916600160a81b1790558015611d2857601654600160a01b900460ff1615611d28576040805160028082526060820183526000926020830190803683370190505090503081600081518110611c0157611c01612078565b6001600160a01b03928316602091820292909201810191909152601554604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c7e9190611fdb565b81600181518110611c9157611c91612078565b6001600160a01b039283166020918202929092010152601554611cb79130911684611342565b60155460055460405163791ac94760e01b81526001600160a01b039283169263791ac94792611cf49287926000928892911690429060040161208e565b600060405180830381600087803b158015611d0e57600080fd5b505af1158015611d22573d6000803e3d6000fd5b50505050505b506016805460ff60a81b19169055565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156109e5573d6000803e3d6000fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000818311611dd15782611dd3565b815b9392505050565b60006020808352835180602085015260005b81811015611e0857858101830151858201604001528201611dec565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461131657600080fd5b60008060408385031215611e5157600080fd5b8235611e5c81611e29565b946020939093013593505050565b600060208284031215611e7c57600080fd5b5035919050565b600080600060608486031215611e9857600080fd5b8335611ea381611e29565b92506020840135611eb381611e29565b929592945050506040919091013590565b600060208284031215611ed657600080fd5b8135611dd381611e29565b60008060408385031215611ef457600080fd5b8235611eff81611e29565b91506020830135611f0f81611e29565b809150509250929050565b600181811c90821680611f2e57607f821691505b602082108103611f4e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600f908201526e13db9b1e481d185e081dd85b1b195d608a1b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b818103818111156107c3576107c3611f7d565b808201808211156107c3576107c3611f7d565b600082611fd657634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611fed57600080fd5b8151611dd381611e29565b60008060006060848603121561200d57600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561203857600080fd5b81518015158114611dd357600080fd5b60006001820161205a5761205a611f7d565b5060010190565b80820281158282048414176107c3576107c3611f7d565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156120e05784516001600160a01b0316835293830193918301916001016120bb565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122067ec82d78dd91115e5c795f8790d962582c4e6e7d5a2fc3850078314013d8d4964736f6c63430008170033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000081aaa54e76b190650fee1b100ff735a092f57452
-----Decoded View---------------
Arg [0] : router_ (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : taxWallet_ (address): 0x81aaA54E76B190650FEE1B100FF735a092f57452
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 00000000000000000000000081aaa54e76b190650fee1b100ff735a092f57452
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.