Feature Tip: Add private address tag to any address under My Name Tag !
Latest 25 from a total of 2,051 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21453296 | 7 days ago | IN | 0 ETH | 0.00039642 | ||||
Approve | 21400334 | 14 days ago | IN | 0 ETH | 0.00019796 | ||||
Approve | 21392215 | 16 days ago | IN | 0 ETH | 0.00030305 | ||||
Approve | 21383530 | 17 days ago | IN | 0 ETH | 0.00065672 | ||||
Transfer | 21330573 | 24 days ago | IN | 0 ETH | 0.00195103 | ||||
Approve | 21281518 | 31 days ago | IN | 0 ETH | 0.001139 | ||||
Approve | 21274148 | 32 days ago | IN | 0 ETH | 0.00034464 | ||||
Transfer | 21270776 | 32 days ago | IN | 0 ETH | 0.00089826 | ||||
Approve | 21220819 | 39 days ago | IN | 0 ETH | 0.00043259 | ||||
Approve | 21209811 | 41 days ago | IN | 0 ETH | 0.0005225 | ||||
Approve | 21199356 | 42 days ago | IN | 0 ETH | 0.00088562 | ||||
Approve | 21177738 | 45 days ago | IN | 0 ETH | 0.00046364 | ||||
Approve | 21177726 | 45 days ago | IN | 0 ETH | 0.00088049 | ||||
Approve | 21175878 | 46 days ago | IN | 0 ETH | 0.00146114 | ||||
Approve | 21173573 | 46 days ago | IN | 0 ETH | 0.00093261 | ||||
Approve | 21170492 | 46 days ago | IN | 0 ETH | 0.00124423 | ||||
Approve | 21157106 | 48 days ago | IN | 0 ETH | 0.0004146 | ||||
Approve | 21151405 | 49 days ago | IN | 0 ETH | 0.00053726 | ||||
Approve | 21101838 | 56 days ago | IN | 0 ETH | 0.00040842 | ||||
Approve | 21100679 | 56 days ago | IN | 0 ETH | 0.00025178 | ||||
Approve | 21074794 | 60 days ago | IN | 0 ETH | 0.00037573 | ||||
Approve | 21033508 | 66 days ago | IN | 0 ETH | 0.00015963 | ||||
Approve | 21010441 | 69 days ago | IN | 0 ETH | 0.00031169 | ||||
Approve | 20996397 | 71 days ago | IN | 0 ETH | 0.00044766 | ||||
Approve | 20978388 | 73 days ago | IN | 0 ETH | 0.00078129 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
21453299 | 7 days ago | 0.00017955 ETH | ||||
21383531 | 17 days ago | 0.00112318 ETH | ||||
21281768 | 31 days ago | 0.00508354 ETH | ||||
21274153 | 32 days ago | 0.00478354 ETH | ||||
21220833 | 39 days ago | 0.001814 ETH | ||||
21199356 | 42 days ago | 0.00109672 ETH | ||||
21198495 | 43 days ago | 0.00866032 ETH | ||||
21190440 | 44 days ago | 0.01112155 ETH | ||||
21177735 | 45 days ago | 0.00159229 ETH | ||||
21175890 | 46 days ago | 0.00121388 ETH | ||||
21170494 | 46 days ago | 0.00040505 ETH | ||||
21151408 | 49 days ago | 0.00400705 ETH | ||||
21101840 | 56 days ago | 0.00091969 ETH | ||||
21100679 | 56 days ago | 0.00356263 ETH | ||||
21074862 | 60 days ago | 0.00105585 ETH | ||||
21074851 | 60 days ago | 0.00857354 ETH | ||||
21010441 | 69 days ago | 0.00645944 ETH | ||||
20996401 | 71 days ago | 0.00182658 ETH | ||||
20978391 | 73 days ago | 0.0007484 ETH | ||||
20956996 | 76 days ago | 0.00044271 ETH | ||||
20952788 | 77 days ago | 0.00084212 ETH | ||||
20931358 | 80 days ago | 0.00285869 ETH | ||||
20913184 | 82 days ago | 0.00285869 ETH | ||||
20910100 | 83 days ago | 0.00118208 ETH | ||||
20882782 | 87 days ago | 0.00051122 ETH |
Loading...
Loading
Contract Name:
Main
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity =0.8.20; import {ERC20, IERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {IERC20Metadata} from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IUniswapV2Router02} from "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import {IUniswapV2Factory} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import {IUniswapV2Pair} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; contract Main is IERC20Metadata, ERC20, Ownable { /** * The contract ensures via the '_update' function that a transaction amount does not exceed `maxTxAmount`. * For transactions involving addresses not included in `whitelistedAddresses`, * the function will throw an error if the amount surpasses the `maxTxAmount`. * * The value of `maxTxAmount` can be changed using the `maxTxAmountChange` function. */ uint256 public maxTxAmount; /** * This limit is enforced in the '_update' function of the contract: after executing a transaction, a non-whitelisted address * should still hold a number of tokens not exceeding `maxWalletAmount`. If the limit were to be surpassed as a result * of the transaction, the function would throw an error, thereby preventing the transaction. * * The `maxWalletAmount` value can be updated by calling the `maxWalletChange` function and it applies only to non-whitelisted addresses. */ uint256 public maxWalletAmount; /** * @dev The wallet that receives operation taxes and has the ability to withdraw them. * * It is responsible for receiving operation taxes from buy and sell transactions in `operationsTaxBuy` and `operationsTaxSell` respectively. * * Furthermore, `operationsWallet` is the recipient of any ETH or tokens accidentally sent to the contract and it can withdraw these * via the `withdrawETH` and `withdrawTokens` functions respectively. */ address public operationsWallet; /** * Prevent admin to change critical addresses to this address: */ address public DEAD = 0x000000000000000000000000000000000000dEaD; /** * Determines if transaction fees apply for a specific address. * * This mapping stores a boolean value for each address. If the boolean is true, * the address is exempted from transaction fees, otherwise transaction fees will apply. * * Fees can either be for buying or selling operations and are calculated in the '_update' function. * The exemption status of an address can be changed using the '' method. */ mapping(address => bool) public hasFee; /** * @dev Maintains the whitelist of addresses exempt from transaction limits and fees. * * Addresses in this mapping are not bound by `maxTxAmount` and `maxWalletAmount` restrictions and do not incur tax * from buy/sell transactions. * They are set at contract initialisation and can be modified using `emergencyTaxRemoval`. */ mapping(address => bool) public whitelistedAddresses; /** * @dev The tax rate applied to buy transactions not involving whitelisted addresses. * * This tax, as a percentage, is deducted from buy transactions between non-whitelisted addresses. * The tax is transferred to the operations wallet, thereby reducing the amount of tokens received on purchase. */ uint256 public operationsTaxBuy; /** * @dev The tax rate applied to sell transactions not involving whitelisted addresses. * * This tax, as a percentage, is deducted from sell transactions between non-whitelisted addresses. * The tax is transferred to the operations wallet, therefore reducing the amount of tokens converted back on selling. */ uint256 public operationsTaxSell; /** * @dev An instance of Uniswap V2 router to execute token swaps and liquidity provision. * * This is required for facilitating token swaps on the Uniswap exchange. It's initially set in the constructor * and is used in the `swapAndLiquify` and `_swapTokensForEth` functions to swap tokens for ETH and add liquidity to the pool. */ IUniswapV2Router02 public router; /** * @dev The address of the Uniswap V2 pair for this contract's token and WETH. * * This address represents the Uniswap liquidity pool for this token and Wrapped Ether (WETH). * It's used during buy and sell operations to check if tokens are being bought from or sold into the pair. * It's initially set in the constructor and can be updated using the `updatePair` function. */ address public uniswapV2Pair; /** * @dev A flag indicating if a token swap operation is in progress. * * This boolean is used to prevent reentrancy in the token swapping process. During a sell operation, * it's set to true in the '_update' function just before calling 'swapAndLiquify', and reset to false afterward. */ bool private _progressSwap = false; /** * @dev Thrown when a token transfer amount exceeds the maximum transaction amount (`maxTxAmount`). */ error ERC20TransferExceedsMaxTx(uint256 amount, uint256 maxTxAmount); /** * @dev Thrown when a token transfer would cause the receiver's balance to exceed the maximum wallet amount (`maxWalletAmount`). */ error ERC20TransferExceedsMaxWallet(uint256 amount, uint256 maxWalletAmount); /** * @dev Thrown when an operation is attempted by someone other than the owner or the operations wallet. */ error NotOwnerOrOperations(); /** * @dev Thrown when a token transfer amount exceeds the maximum transaction amount (`maxTxAmount`) allowed. */ error ERC20ExceedsMaxTxAmount(uint256 amount, uint256 maxTxAmount); /** * @dev Thrown when a specified address is invalid (equivalent to the `DEAD` address or the zero address). */ error InvalidAddress(address addr); /** * @dev Thrown when attempting to set `maxTxAmount` to more than 10% of the total supply. */ error CannotSetMaxTxAmountToMoreThan10Percent(); /** * @dev Thrown when attempting to set `maxTxAmount` to less than 0.5% of the total supply. */ error CannotSetMaxTxAmountToLessThanHalfPercent(); /** * @dev Thrown when a eth transfer fails. */ error CallFailed(); /** * @dev Emitted when the operations wallet change process has been finalized * * Event Parameters: * _newWallet {address} - Holds the address of the new operations wallet after the change process */ event SetOperationsWallet(address _newWallet); /** * @dev Emitted when an address is added or removed from the whitelist * * Event Parameters: * addy {address} - Holds the address that is being whitelisted or removed from the whitelist * changer {bool} - Holds the new whitelist status of the address. True if whitelisted, false if removed from whitelist */ event WhitelistAddress(address indexed addy, bool changer); /** * @dev Emitted when ETH is withdrawn from the contract * * Event Parameters: * amount {uint256} - Holds the amount of ETH that was withdrawn */ event WithdrawETH(uint256 amount); /** * @dev Emitted when tokens are withdrawn from the contract * * Event Parameters: * token {address} - Holds the address of the token that was withdrawn * amount {uint256} - Holds the amount of tokens that was withdrawn */ event WithdrawTokens(address token, uint256 amount); /** * @dev Emitted when the maximum transaction amount is changed * * Event Parameters: * from {uint256} - Holds the previous maximum transaction amount * to {uint256} - Holds the new maximum transaction amount */ event MaxWalletChange(uint from, uint to); /** * @dev Emitted when the maximum wallet amount is changed * * Event Parameters: * from {uint256} - Holds the previous maximum wallet amount * to {uint256} - Holds the new maximum wallet amount */ event MaxTxAmountChange(uint from, uint to); /** * @dev Emitted when the Uniswap pair is changed * * Event Parameters: * from {address} - Holds the previous Uniswap pair address * to {address} - Holds the new Uniswap pair address */ event PoolChanged(address indexed from, address indexed to); /** * @dev Emitted when tokens are swapped for ETH * * Event Parameters: * tokensSwapped {uint256} - Holds the amount of tokens that were swapped * ethReceived {uint256} - Holds the amount of ETH that was received */ event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived ); /** * @dev Ensures that the caller is either the contract owner or the operations wallet. * * This modifier restricts access to certain functions to only the owner of the contract or the operations * wallet. It prevents any other account from executing the function the modifier is attached to. */ modifier onlyOwnerOrOperations() { if (owner() != _msgSender() && operationsWallet != _msgSender()) { revert NotOwnerOrOperations(); } _; } /** * @dev Constructs a new instance of the Main contract. * * Sets up the contract with initial supply, treasury, owner, router, operations wallet, tax percentages, * maximum transaction amount, and maximum wallet amount. * Also, it creates a new Uniswap pair for the contract's token and WETH and whitelists critical addresses * including the treasury, the contract owner, the router, and the operations wallet. * * @param _symbol The symbol of the token. * @param _name The name of the token. * @param _totalSupply The total initial supply of tokens. * @param _treasure The treasury to hold all supply. * @param _owner The owner of the contract. * @param _router The Uniswap router to use for token swaps. * @param _operationsWalletAddress The operations wallet to receive fees. * @param _operationsTaxBuyPercentage The tax to be deducted on token buy transactions. * @param _operationsTaxSellPercentage The tax to be deducted on token sell transactions. * @param _maxTxAmount The maximum token amount that can be transferred in a single transaction. * @param _maxWalletAmount The maximum token amount that a non-whitelisted address can hold. */ constructor( string memory _symbol, string memory _name, uint _totalSupply, address _treasure, address _owner, address _router, address _operationsWalletAddress, uint _operationsTaxBuyPercentage, uint _operationsTaxSellPercentage, uint _maxTxAmount, uint _maxWalletAmount ) ERC20(_name, _symbol) /// @dev on OZ 5, we need to inform the contract admin: Ownable(_owner) { maxTxAmount = _maxTxAmount; maxWalletAmount = _maxWalletAmount; operationsTaxBuy = _operationsTaxBuyPercentage; operationsTaxSell = _operationsTaxSellPercentage; router = IUniswapV2Router02(_router); operationsWallet = _operationsWalletAddress; /// @dev: full whitelist treasure as it has all supply: whitelistedAddresses[_treasure] = true; hasFee[_treasure] = true; /// @dev whitelist other important addresses: whitelistedAddresses[owner()] = true; whitelistedAddresses[operationsWallet] = true; whitelistedAddresses[address(this)] = true; whitelistedAddresses[_owner] = true; whitelistedAddresses[msg.sender] = true; // to be able to add liquidity hasFee[address(router)] = true; hasFee[msg.sender] = true; hasFee[operationsWallet] = true; hasFee[address(this)] = true; /// @dev: supply is minted to treasure: _mint(_treasure, _totalSupply); uniswapV2Pair = IUniswapV2Factory(router.factory()).createPair( address(this), router.WETH() ); } /** * @dev Overrides the OpenZeppelin `_update` function with added functionality. * * Implements additional checks for non-whitelisted addresses - transactions must not exceed `maxTxAmount` * and a non-whitelisted receiver's balance after the transaction must not exceed `maxWalletAmount`. * Also, implements tax deductions for transactions made by non-whitelisted addresses - a `operationsTaxBuy` * for purchases and `operationsTaxSell` for sales. If the transaction amount surpasses these conditions or * the receiver's balance including the new amount does surpass `maxWalletAmount`, operations involving the Uniswap pair, * the function throws an error preventing the transaction. * * @param from The sender address. * @param to The recipient address. * @param amount The amount of tokens to be transferred. */ function _update( address from, address to, uint256 amount ) internal override { if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } if (!whitelistedAddresses[from] && !whitelistedAddresses[to]) { if (to != uniswapV2Pair) { if (amount > maxTxAmount) { revert ERC20TransferExceedsMaxTx(amount, maxTxAmount); } if ((amount + balanceOf(to)) > maxWalletAmount) { revert ERC20TransferExceedsMaxWallet( amount, maxWalletAmount ); } } } uint256 transferAmount = amount; if (!hasFee[from] && !hasFee[to]) { if ((from == uniswapV2Pair || to == uniswapV2Pair)) { if (amount > maxTxAmount) { revert ERC20ExceedsMaxTxAmount(amount, maxTxAmount); } // Buy if ( operationsTaxBuy > 0 && uniswapV2Pair == from && !whitelistedAddresses[to] && from != address(this) ) { uint256 feeTokens = (amount * operationsTaxBuy) / 100; super._transfer(from, address(this), feeTokens); transferAmount = amount - feeTokens; } // Sell if ( uniswapV2Pair == to && !whitelistedAddresses[from] && to != address(this) && !_progressSwap ) { uint256 taxSell = operationsTaxSell; _progressSwap = true; swapAndLiquify(); _progressSwap = false; uint256 feeTokens = (amount * taxSell) / 100; super._transfer(from, address(this), feeTokens); transferAmount = amount - feeTokens; } } } super._update(from, to, transferAmount); } /** * @dev Swaps tokens stored in the contract to ether (ETH) * * This function is used to convert tokens in the contract (collected as fees) * to ETH. It is called during a sell operation when the `_progressSwap` flag * is true, indicating that a token swap operation is in progress. * * If the balance of tokens in the contract is greater than 0, the function * calls `_swapTokensForEth` function passing the total token balance of the contract. */ function swapAndLiquify() internal { if (balanceOf(address(this)) == 0) { return; } uint256 contractTokenBalance = balanceOf(address(this)); if (contractTokenBalance > 0) { _swapTokensForEth(contractTokenBalance, 0); } } /** * @dev Swaps a specified amount of tokens for ETH. * * This function is an intermediary called by `swapAndLiquify` when the contract's balance is not empty. * It uses the Uniswap router to perform the swap, trading the contract's tokens for ETH. * The function sets the necessary approvals for the router, formulates the swap path from the contract's token to WETH, * and then initiates the swap with Uniswap. The ETH is then held by the contract and can be withdrawn by the operations wallet. * * @param tokenAmount The amount of tokens to be swapped. * @param tokenAmountOut Expected minimum amount of ETH to receive from swap. */ function _swapTokensForEth( uint256 tokenAmount, uint256 tokenAmountOut ) internal { address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); IERC20(address(this)).approve(address(router), type(uint256).max); router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, tokenAmountOut, path, address(this), block.timestamp ); emit SwapAndLiquify(tokenAmount, address(this).balance); } /** * @dev Updates the contract's Uniswap pair * * This function allows the contract owner or the operations wallet to update * the contract's Uniswap pair. This can be useful to change the liquidity pool in which the token is trading. * * To prevent misuse, it verifies the new pair address is non-zero and not equivalent to the DEAD address. * Reverts with 'InvalidAddress' error if the address is invalid. * * @param _pair The address of the new Uniswap pair. */ function updatePair(address _pair) external onlyOwnerOrOperations { if (_pair == DEAD || _pair == address(0)) { revert InvalidAddress(_pair); } if( _pair.code.length == 0 ) { revert InvalidAddress(_pair); } IUniswapV2Pair pair = IUniswapV2Pair(_pair); // @dev: check if the pair is valid: address token0 = pair.token0(); address token1 = pair.token1(); if (token0 != address(this) && token1 != address(this)) { revert InvalidAddress(_pair); } emit PoolChanged(uniswapV2Pair, _pair); uniswapV2Pair = _pair; } /** * @dev Updates the operations wallet address * * This function allows the contract owner or the operations wallet to update * the operations wallet address. This can be useful to change the wallet that receives * the operations tax. * * To prevent misuse, it verifies the new wallet address is non-zero and not equivalent to the DEAD address. * Reverts with 'InvalidAddress' error if the address is invalid. * * @param _newWallet The address of the new operations wallet. */ function setOperationsWallet( address _newWallet ) external onlyOwnerOrOperations { // @dev: set new wallet: operationsWallet = _newWallet; // @dev: add new wallet to whitelist: whitelistedAddresses[operationsWallet] = true; hasFee[operationsWallet] = true; emit SetOperationsWallet(_newWallet); } /** * @dev Calculates the upper limit for the number of tokens that can be transferred * in a single transaction. * * The upper limit is defined as 10% of the total token supply. The value can be used * as an argument to set the `maxTxAmount` and `maxWalletAmount` in the contract. * * @return {uint256} - Returns the upper limit value for the maximum transaction amount. */ function getUpperTxValue() public view returns (uint256) { return (totalSupply() * 10) / 100; } /** * @dev Calculates the lower limit for the number of tokens that can be transferred * in a single transaction. * * The lower limit is defined as 0.5% of the total token supply. The value can be used * as an argument to verify the `maxTxAmount` and `maxWalletAmount` in the contract. * * @return {uint256} - Returns the lower limit value for the maximum transaction amount. */ function getLowerTxValue() public view returns (uint256) { return (totalSupply() * 1) / 200; } /** * @dev Updates the maximum number of tokens that can be transferred in a single transaction (`maxTxAmount`). * * This function is accessible only to the contract owner. It allows the modification of `maxTxAmount`, * thereby changing the upper limit for the number of tokens that can be transferred in a single transaction * by non-whitelisted addresses. The new `maxTxAmount` needs to be within the range of 0.5% to 10% * of the total token supply. If out of this range, the function will revert. * * @param _maxTxAmount {uint256} - The new maximum number of tokens that can be transferred in a single transaction. */ function maxTxAmountChange( uint256 _maxTxAmount ) external onlyOwner { if (_maxTxAmount > getUpperTxValue() ) { revert CannotSetMaxTxAmountToMoreThan10Percent(); } if (_maxTxAmount < getLowerTxValue() ) { revert CannotSetMaxTxAmountToLessThanHalfPercent(); } emit MaxTxAmountChange(maxTxAmount, _maxTxAmount); maxTxAmount = _maxTxAmount; } /** * @dev Updates the maximum number of tokens that a non-whitelisted address can hold (`maxWalletAmount`). * * This function is accessible only to the contract owner. It allows the modification of `maxWalletAmount`, * thereby changing the upper limit for the number of tokens that a non-whitelisted address can hold. * The new `maxWalletAmount` needs to be within the range of 0.5% to 10% of the total token supply. * If out of this range, the function will revert. * * @param _maxWalletAmount {uint256} - The new maximum number of tokens that any non-whitelisted address can hold. */ function maxWalletChange( uint256 _maxWalletAmount ) external onlyOwner { if (_maxWalletAmount > getUpperTxValue() ) { revert CannotSetMaxTxAmountToMoreThan10Percent(); } if (_maxWalletAmount < getLowerTxValue() ) { revert CannotSetMaxTxAmountToLessThanHalfPercent(); } emit MaxWalletChange(maxWalletAmount, _maxWalletAmount); maxWalletAmount = _maxWalletAmount; } /** * @dev Transfers any ERC20 tokens sent by mistake to this contract, to the operations wallet. * * This function is accessible only to the contract owner or the operations wallet. * It allows the recovery of ERC20 tokens sent by mistake to this contract. * * @param token {address} - The contract address of the ER20 token to be withdrawn. */ function withdrawTokens(address token) external onlyOwnerOrOperations { uint amount = IERC20(token).balanceOf(address(this)); IERC20(token).transfer(operationsWallet, amount); emit WithdrawTokens(token, amount); } /** * @dev Transfers any ether sent by mistake to this contract or collected, to the operations wallet. * * This function is accessible only to the contract owner or the operations wallet. * It allows the recovery of ether sent by mistake to this contract or collect any fee accumulated in the contract. */ function withdrawETH() external onlyOwnerOrOperations { uint amount = address(this).balance; (bool success,) = address(operationsWallet).call{value: amount}(""); if (!success) { revert CallFailed(); } emit WithdrawETH(amount); } /** * @dev Modifies the whitelist status of an address for transactions limits and fees exemption. * * This function is accessible only to the contract owner or the operations wallet. It allows the modification of * the `whitelistedAddresses` mapping for a specific address which determines whether transactions involving * that address are exempt from the `maxTxAmount` and `maxWalletAmount` restrictions and transaction fees. * * @param addy {address} - The address whose whitelist status is to be modified. * @param changer {bool} - The new whitelist status. If true, the address will be whitelisted, otherwise, it will lose its whitelist status. */ function emergencyTaxRemoval( address addy, bool changer ) external onlyOwnerOrOperations { whitelistedAddresses[addy] = changer; emit WhitelistAddress(addy, changer); } /** * @dev callback to receive ethers from uniswapV2Router when swaping */ receive() external payable {} }
// 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) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./extensions/IERC20Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}. * * 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]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * 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. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * 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 returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 default value returned by this function, unless * it's 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 returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual 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 `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` 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 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); 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 `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` 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. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` 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. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ 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 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) (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; } }
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; }
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); }
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; }
{ "evmVersion": "paris", "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"internalType":"address","name":"_treasure","type":"address"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_operationsWalletAddress","type":"address"},{"internalType":"uint256","name":"_operationsTaxBuyPercentage","type":"uint256"},{"internalType":"uint256","name":"_operationsTaxSellPercentage","type":"uint256"},{"internalType":"uint256","name":"_maxTxAmount","type":"uint256"},{"internalType":"uint256","name":"_maxWalletAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CallFailed","type":"error"},{"inputs":[],"name":"CannotSetMaxTxAmountToLessThanHalfPercent","type":"error"},{"inputs":[],"name":"CannotSetMaxTxAmountToMoreThan10Percent","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxTxAmount","type":"uint256"}],"name":"ERC20ExceedsMaxTxAmount","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxTxAmount","type":"uint256"}],"name":"ERC20TransferExceedsMaxTx","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxWalletAmount","type":"uint256"}],"name":"ERC20TransferExceedsMaxWallet","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"InvalidAddress","type":"error"},{"inputs":[],"name":"NotOwnerOrOperations","type":"error"},{"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":"from","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"to","type":"uint256"}],"name":"MaxTxAmountChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"from","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"to","type":"uint256"}],"name":"MaxWalletChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"PoolChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_newWallet","type":"address"}],"name":"SetOperationsWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addy","type":"address"},{"indexed":false,"internalType":"bool","name":"changer","type":"bool"}],"name":"WhitelistAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawETH","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawTokens","type":"event"},{"inputs":[],"name":"DEAD","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"value","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":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addy","type":"address"},{"internalType":"bool","name":"changer","type":"bool"}],"name":"emergencyTaxRemoval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getLowerTxValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUpperTxValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"maxTxAmountChange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletAmount","type":"uint256"}],"name":"maxWalletChange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operationsTaxBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operationsTaxSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operationsWallet","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":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newWallet","type":"address"}],"name":"setOperationsWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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":"value","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":[{"internalType":"address","name":"_pair","type":"address"}],"name":"updatePair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405261dead600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600f60146101000a81548160ff0219169083151502179055503480156200006f57600080fd5b50604051620055e0380380620055e083398181016040528101906200009591906200199a565b868a8c8160039081620000a9919062001d26565b508060049081620000bb919062001d26565b505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620001335760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016200012a919062001e1e565b60405180910390fd5b62000144816200082c60201b60201c565b50816006819055508060078190555083600c8190555082600d8190555085600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600b60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b6000620002a9620008f260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000632888a6200091c60201b60201c565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620006a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006c6919062001e3b565b73ffffffffffffffffffffffffffffffffffffffff1663c9c6539630600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000750573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000776919062001e3b565b6040518363ffffffff1660e01b81526004016200079592919062001e6d565b6020604051808303816000875af1158015620007b5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007db919062001e3b565b600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505050505050505062002286565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620009915760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040162000988919062001e1e565b60405180910390fd5b620009a560008383620009a960201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000a1e5760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040162000a15919062001e1e565b60405180910390fd5b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801562000ac35750600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1562000bda57600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000bd95760065481111562000b6d57806006546040517f1026baf800000000000000000000000000000000000000000000000000000000815260040162000b6492919062001eab565b60405180910390fd5b60075462000b81836200107460201b60201c565b8262000b8e919062001f07565b111562000bd857806007546040517ff4f86d2d00000000000000000000000000000000000000000000000000000000815260040162000bcf92919062001eab565b60405180910390fd5b5b5b6000819050600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801562000c845750600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156200105b57600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148062000d345750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b156200105a5760065482111562000d8857816006546040517fac5219fa00000000000000000000000000000000000000000000000000000000815260040162000d7f92919062001eab565b60405180910390fd5b6000600c5411801562000de857508373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b801562000e3f5750600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b801562000e7857503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b1562000ec55760006064600c548462000e92919062001f42565b62000e9e919062001fbc565b905062000eb3853083620010bc60201b60201c565b808362000ec1919062001ff4565b9150505b8273ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614801562000f6d5750600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b801562000fa657503073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b801562000fc05750600f60149054906101000a900460ff16155b1562001059576000600d5490506001600f60146101000a81548160ff02191690831515021790555062000ff8620011be60201b60201c565b6000600f60146101000a81548160ff02191690831515021790555060006064828562001025919062001f42565b62001031919062001fbc565b905062001046863083620010bc60201b60201c565b808462001054919062001ff4565b925050505b5b5b6200106e8484836200120f60201b60201c565b50505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620011315760006040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260040162001128919062001e1e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620011a65760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016200119d919062001e1e565b60405180910390fd5b620011b9838383620009a960201b60201c565b505050565b6000620011d1306200107460201b60201c565b03156200120d576000620011eb306200107460201b60201c565b905060008111156200120b576200120a8160006200143f60201b60201c565b5b505b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200126557806002600082825462001258919062001f07565b925050819055506200133b565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015620012f4578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620012eb939291906200202f565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620013865780600260008282540392505081905550620013d3565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200143291906200206c565b60405180910390a3505050565b6000600267ffffffffffffffff8111156200145f576200145e62001796565b5b6040519080825280602002602001820160405280156200148e5781602001602082028036833780820191505090505b5090503081600081518110620014a957620014a862002089565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001551573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001577919062001e3b565b816001815181106200158e576200158d62002089565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250503073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b815260040162001647929190620020b8565b6020604051808303816000875af115801562001667573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200168d919062002122565b50600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac94784848430426040518663ffffffff1660e01b8152600401620016f395949392919062002222565b600060405180830381600087803b1580156200170e57600080fd5b505af115801562001723573d6000803e3d6000fd5b505050507f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f838148683476040516200175a92919062001eab565b60405180910390a1505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620017d08262001785565b810181811067ffffffffffffffff82111715620017f257620017f162001796565b5b80604052505050565b60006200180762001767565b9050620018158282620017c5565b919050565b600067ffffffffffffffff82111562001838576200183762001796565b5b620018438262001785565b9050602081019050919050565b60005b838110156200187057808201518184015260208101905062001853565b60008484015250505050565b6000620018936200188d846200181a565b620017fb565b905082815260208101848484011115620018b257620018b162001780565b5b620018bf84828562001850565b509392505050565b600082601f830112620018df57620018de6200177b565b5b8151620018f18482602086016200187c565b91505092915050565b6000819050919050565b6200190f81620018fa565b81146200191b57600080fd5b50565b6000815190506200192f8162001904565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620019628262001935565b9050919050565b620019748162001955565b81146200198057600080fd5b50565b600081519050620019948162001969565b92915050565b60008060008060008060008060008060006101608c8e031215620019c357620019c262001771565b5b60008c015167ffffffffffffffff811115620019e457620019e362001776565b5b620019f28e828f01620018c7565b9b505060208c015167ffffffffffffffff81111562001a165762001a1562001776565b5b62001a248e828f01620018c7565b9a5050604062001a378e828f016200191e565b995050606062001a4a8e828f0162001983565b985050608062001a5d8e828f0162001983565b97505060a062001a708e828f0162001983565b96505060c062001a838e828f0162001983565b95505060e062001a968e828f016200191e565b94505061010062001aaa8e828f016200191e565b93505061012062001abe8e828f016200191e565b92505061014062001ad28e828f016200191e565b9150509295989b509295989b9093969950565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062001b3857607f821691505b60208210810362001b4e5762001b4d62001af0565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262001bb87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262001b79565b62001bc4868362001b79565b95508019841693508086168417925050509392505050565b6000819050919050565b600062001c0762001c0162001bfb84620018fa565b62001bdc565b620018fa565b9050919050565b6000819050919050565b62001c238362001be6565b62001c3b62001c328262001c0e565b84845462001b86565b825550505050565b600090565b62001c5262001c43565b62001c5f81848462001c18565b505050565b5b8181101562001c875762001c7b60008262001c48565b60018101905062001c65565b5050565b601f82111562001cd65762001ca08162001b54565b62001cab8462001b69565b8101602085101562001cbb578190505b62001cd362001cca8562001b69565b83018262001c64565b50505b505050565b600082821c905092915050565b600062001cfb6000198460080262001cdb565b1980831691505092915050565b600062001d16838362001ce8565b9150826002028217905092915050565b62001d318262001ae5565b67ffffffffffffffff81111562001d4d5762001d4c62001796565b5b62001d59825462001b1f565b62001d6682828562001c8b565b600060209050601f83116001811462001d9e576000841562001d89578287015190505b62001d95858262001d08565b86555062001e05565b601f19841662001dae8662001b54565b60005b8281101562001dd85784890151825560018201915060208501945060208101905062001db1565b8683101562001df8578489015162001df4601f89168262001ce8565b8355505b6001600288020188555050505b505050505050565b62001e188162001955565b82525050565b600060208201905062001e35600083018462001e0d565b92915050565b60006020828403121562001e545762001e5362001771565b5b600062001e648482850162001983565b91505092915050565b600060408201905062001e84600083018562001e0d565b62001e93602083018462001e0d565b9392505050565b62001ea581620018fa565b82525050565b600060408201905062001ec2600083018562001e9a565b62001ed1602083018462001e9a565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062001f1482620018fa565b915062001f2183620018fa565b925082820190508082111562001f3c5762001f3b62001ed8565b5b92915050565b600062001f4f82620018fa565b915062001f5c83620018fa565b925082820262001f6c81620018fa565b9150828204841483151762001f865762001f8562001ed8565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062001fc982620018fa565b915062001fd683620018fa565b92508262001fe95762001fe862001f8d565b5b828204905092915050565b60006200200182620018fa565b91506200200e83620018fa565b925082820390508181111562002029576200202862001ed8565b5b92915050565b600060608201905062002046600083018662001e0d565b62002055602083018562001e9a565b62002064604083018462001e9a565b949350505050565b600060208201905062002083600083018462001e9a565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000604082019050620020cf600083018562001e0d565b620020de602083018462001e9a565b9392505050565b60008115159050919050565b620020fc81620020e5565b81146200210857600080fd5b50565b6000815190506200211c81620020f1565b92915050565b6000602082840312156200213b576200213a62001771565b5b60006200214b848285016200210b565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6200218b8162001955565b82525050565b60006200219f838362002180565b60208301905092915050565b6000602082019050919050565b6000620021c58262002154565b620021d181856200215f565b9350620021de8362002170565b8060005b8381101562002215578151620021f9888262002191565b97506200220683620021ab565b925050600181019050620021e2565b5085935050505092915050565b600060a08201905062002239600083018862001e9a565b62002248602083018762001e9a565b81810360408301526200225c8186620021b8565b90506200226d606083018562001e0d565b6200227c608083018462001e9a565b9695505050505050565b61334a80620022966000396000f3fe6080604052600436106101dc5760003560e01c8063715018a611610102578063dd62ed3e11610095578063ef46d6b011610064578063ef46d6b0146106bb578063f2fde38b146106e6578063f887ea401461070f578063fd72e22a1461073a576101e3565b8063dd62ed3e14610615578063e086e5ec14610652578063ee5ecc8914610669578063ef437ff514610692576101e3565b80638da5cb5b116100d15780638da5cb5b1461055757806395d89b4114610582578063a9059cbb146105ad578063aa4bde28146105ea576101e3565b8063715018a6146104ad5780637497e296146104c457806375ca0b46146105015780638c0b5e221461052c576101e3565b80631f6dcb0b1161017a57806349bd5a5e1161014957806349bd5a5e146103f157806349df728c1461041c5780635e27922e1461044557806370a0823114610470576101e3565b80631f6dcb0b1461033557806323b872dd1461035e578063313ce5671461039b57806337df2de2146103c6576101e3565b8063095ea7b3116101b6578063095ea7b31461027b5780630ab68e47146102b857806318160ddd146102e15780631b56bbf91461030c576101e3565b806303fd2a45146101e857806306c933d81461021357806306fdde0314610250576101e3565b366101e357005b600080fd5b3480156101f457600080fd5b506101fd610765565b60405161020a9190612a92565b60405180910390f35b34801561021f57600080fd5b5061023a60048036038101906102359190612ade565b61078b565b6040516102479190612b26565b60405180910390f35b34801561025c57600080fd5b506102656107ab565b6040516102729190612bd1565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d9190612c29565b61083d565b6040516102af9190612b26565b60405180910390f35b3480156102c457600080fd5b506102df60048036038101906102da9190612c69565b610860565b005b3480156102ed57600080fd5b506102f661092f565b6040516103039190612ca5565b60405180910390f35b34801561031857600080fd5b50610333600480360381019061032e9190612ade565b610939565b005b34801561034157600080fd5b5061035c60048036038101906103579190612c69565b610d8d565b005b34801561036a57600080fd5b5061038560048036038101906103809190612cc0565b610e5c565b6040516103929190612b26565b60405180910390f35b3480156103a757600080fd5b506103b0610e8b565b6040516103bd9190612d2f565b60405180910390f35b3480156103d257600080fd5b506103db610e94565b6040516103e89190612ca5565b60405180910390f35b3480156103fd57600080fd5b50610406610ebb565b6040516104139190612a92565b60405180910390f35b34801561042857600080fd5b50610443600480360381019061043e9190612ade565b610ee1565b005b34801561045157600080fd5b5061045a611113565b6040516104679190612ca5565b60405180910390f35b34801561047c57600080fd5b5061049760048036038101906104929190612ade565b611119565b6040516104a49190612ca5565b60405180910390f35b3480156104b957600080fd5b506104c2611161565b005b3480156104d057600080fd5b506104eb60048036038101906104e69190612ade565b611175565b6040516104f89190612b26565b60405180910390f35b34801561050d57600080fd5b50610516611195565b6040516105239190612ca5565b60405180910390f35b34801561053857600080fd5b5061054161119b565b60405161054e9190612ca5565b60405180910390f35b34801561056357600080fd5b5061056c6111a1565b6040516105799190612a92565b60405180910390f35b34801561058e57600080fd5b506105976111cb565b6040516105a49190612bd1565b60405180910390f35b3480156105b957600080fd5b506105d460048036038101906105cf9190612c29565b61125d565b6040516105e19190612b26565b60405180910390f35b3480156105f657600080fd5b506105ff611280565b60405161060c9190612ca5565b60405180910390f35b34801561062157600080fd5b5061063c60048036038101906106379190612d4a565b611286565b6040516106499190612ca5565b60405180910390f35b34801561065e57600080fd5b5061066761130d565b005b34801561067557600080fd5b50610690600480360381019061068b9190612ade565b6114e8565b005b34801561069e57600080fd5b506106b960048036038101906106b49190612db6565b61172d565b005b3480156106c757600080fd5b506106d06118ac565b6040516106dd9190612ca5565b60405180910390f35b3480156106f257600080fd5b5061070d60048036038101906107089190612ade565b6118d3565b005b34801561071b57600080fd5b50610724611959565b6040516107319190612e55565b60405180910390f35b34801561074657600080fd5b5061074f61197f565b60405161075c9190612a92565b60405180910390f35b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b6020528060005260406000206000915054906101000a900460ff1681565b6060600380546107ba90612e9f565b80601f01602080910402602001604051908101604052809291908181526020018280546107e690612e9f565b80156108335780601f1061080857610100808354040283529160200191610833565b820191906000526020600020905b81548152906001019060200180831161081657829003601f168201915b5050505050905090565b6000806108486119a5565b90506108558185856119ad565b600191505092915050565b6108686119bf565b610870610e94565b8111156108a9576040517fd0f20bfd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108b16118ac565b8110156108ea576040517f373afe5c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fe3052f2f134f247948088ca6829f4168989b7313f1b54de88cc18178a249de4b6006548260405161091d929190612ed0565b60405180910390a18060068190555050565b6000600254905090565b6109416119a5565b73ffffffffffffffffffffffffffffffffffffffff1661095f6111a1565b73ffffffffffffffffffffffffffffffffffffffff16141580156109d857506109866119a5565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610a0f576040517f1045f14200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161480610a975750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b15610ad957806040517f8e4c8aa6000000000000000000000000000000000000000000000000000000008152600401610ad09190612a92565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff163b03610b3557806040517f8e4c8aa6000000000000000000000000000000000000000000000000000000008152600401610b2c9190612a92565b60405180910390fd5b600081905060008173ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bab9190612f0e565b905060008273ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1e9190612f0e565b90503073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015610c8857503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b15610cca57836040517f8e4c8aa6000000000000000000000000000000000000000000000000000000008152600401610cc19190612a92565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f89f24f59f1f74b74999221ad0a9ab9b4d1d2b27bddbf6f91b0c773ca0f94064360405160405180910390a383600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b610d956119bf565b610d9d610e94565b811115610dd6576040517fd0f20bfd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610dde6118ac565b811015610e17576040517f373afe5c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f1b970b75ef934269cd0be4373c907bd8a8527f3413dc1ae746eebf30d2aee1cb60075482604051610e4a929190612ed0565b60405180910390a18060078190555050565b600080610e676119a5565b9050610e74858285611a46565b610e7f858585611ada565b60019150509392505050565b60006012905090565b60006064600a610ea261092f565b610eac9190612f6a565b610eb69190612fdb565b905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610ee96119a5565b73ffffffffffffffffffffffffffffffffffffffff16610f076111a1565b73ffffffffffffffffffffffffffffffffffffffff1614158015610f805750610f2e6119a5565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610fb7576040517f1045f14200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610ff29190612a92565b602060405180830381865afa15801561100f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110339190613021565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b815260040161109292919061304e565b6020604051808303816000875af11580156110b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d5919061308c565b507f680f2e4f4032ebf1774e8cdbaddcb1b617a5a606411c8ca96257ada338d3833c828260405161110792919061304e565b60405180910390a15050565b600c5481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111696119bf565b6111736000611bce565b565b600a6020528060005260406000206000915054906101000a900460ff1681565b600d5481565b60065481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546111da90612e9f565b80601f016020809104026020016040519081016040528092919081815260200182805461120690612e9f565b80156112535780601f1061122857610100808354040283529160200191611253565b820191906000526020600020905b81548152906001019060200180831161123657829003601f168201915b5050505050905090565b6000806112686119a5565b9050611275818585611ada565b600191505092915050565b60075481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6113156119a5565b73ffffffffffffffffffffffffffffffffffffffff166113336111a1565b73ffffffffffffffffffffffffffffffffffffffff16141580156113ac575061135a6119a5565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b156113e3576040517f1045f14200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60004790506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611430906130ea565b60006040518083038185875af1925050503d806000811461146d576040519150601f19603f3d011682016040523d82523d6000602084013e611472565b606091505b50509050806114ad576040517f3204506f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f94effa14ea3a1ef396fa2fd829336d1597f1d76b548c26bfa2332869706638af826040516114dc9190612ca5565b60405180910390a15050565b6114f06119a5565b73ffffffffffffffffffffffffffffffffffffffff1661150e6111a1565b73ffffffffffffffffffffffffffffffffffffffff161415801561158757506115356119a5565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b156115be576040517f1045f14200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f56a15c3c0ab49fe2049a0c64f269486c32caf6fa97679f011f7c9c3c82e526ca816040516117229190612a92565b60405180910390a150565b6117356119a5565b73ffffffffffffffffffffffffffffffffffffffff166117536111a1565b73ffffffffffffffffffffffffffffffffffffffff16141580156117cc575061177a6119a5565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15611803576040517f1045f14200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f33e0bf3ce98fac4118d5a0a8fe49e83b6acdfdef32871c9eca20e1528d7701ba826040516118a09190612b26565b60405180910390a25050565b600060c860016118ba61092f565b6118c49190612f6a565b6118ce9190612fdb565b905090565b6118db6119bf565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361194d5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016119449190612a92565b60405180910390fd5b61195681611bce565b50565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b6119ba8383836001611c94565b505050565b6119c76119a5565b73ffffffffffffffffffffffffffffffffffffffff166119e56111a1565b73ffffffffffffffffffffffffffffffffffffffff1614611a4457611a086119a5565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611a3b9190612a92565b60405180910390fd5b565b6000611a528484611286565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611ad45781811015611ac4578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401611abb939291906130ff565b60405180910390fd5b611ad384848484036000611c94565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611b4c5760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401611b439190612a92565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bbe5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401611bb59190612a92565b60405180910390fd5b611bc9838383611e6b565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611d065760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401611cfd9190612a92565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d785760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401611d6f9190612a92565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015611e65578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611e5c9190612ca5565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611edd5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401611ed49190612a92565b60405180910390fd5b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015611f815750600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561208657600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146120855760065481111561202657806006546040517f1026baf800000000000000000000000000000000000000000000000000000000815260040161201d929190612ed0565b60405180910390fd5b60075461203283611119565b8261203d9190613136565b111561208457806007546040517ff4f86d2d00000000000000000000000000000000000000000000000000000000815260040161207b929190612ed0565b60405180910390fd5b5b5b6000819050600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561212f5750600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156124d457600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121dd5750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b156124d35760065482111561222d57816006546040517fac5219fa000000000000000000000000000000000000000000000000000000008152600401612224929190612ed0565b60405180910390fd5b6000600c5411801561228c57508373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b80156122e25750600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b801561231a57503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b156123585760006064600c54846123319190612f6a565b61233b9190612fdb565b9050612348853083611ada565b8083612354919061316a565b9150505b8273ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480156123ff5750600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b801561243757503073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b80156124505750600f60149054906101000a900460ff16155b156124d2576000600d5490506001600f60146101000a81548160ff02191690831515021790555061247f6124e5565b6000600f60146101000a81548160ff0219169083151502179055506000606482856124aa9190612f6a565b6124b49190612fdb565b90506124c1863083611ada565b80846124cd919061316a565b925050505b5b5b6124df84848361251c565b50505050565b60006124f030611119565b031561251a57600061250130611119565b9050600081111561251857612517816000612741565b5b505b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361256e5780600260008282546125629190613136565b92505081905550612641565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156125fa578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016125f1939291906130ff565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361268a57806002600082825403925050819055506126d7565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516127349190612ca5565b60405180910390a3505050565b6000600267ffffffffffffffff81111561275e5761275d61319e565b5b60405190808252806020026020018201604052801561278c5781602001602082028036833780820191505090505b50905030816000815181106127a4576127a36131cd565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561284b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061286f9190612f0e565b81600181518110612883576128826131cd565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250503073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b815260040161293a92919061304e565b6020604051808303816000875af1158015612959573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061297d919061308c565b50600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac94784848430426040518663ffffffff1660e01b81526004016129e19594939291906132ba565b600060405180830381600087803b1580156129fb57600080fd5b505af1158015612a0f573d6000803e3d6000fd5b505050507f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f83814868347604051612a44929190612ed0565b60405180910390a1505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612a7c82612a51565b9050919050565b612a8c81612a71565b82525050565b6000602082019050612aa76000830184612a83565b92915050565b600080fd5b612abb81612a71565b8114612ac657600080fd5b50565b600081359050612ad881612ab2565b92915050565b600060208284031215612af457612af3612aad565b5b6000612b0284828501612ac9565b91505092915050565b60008115159050919050565b612b2081612b0b565b82525050565b6000602082019050612b3b6000830184612b17565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b7b578082015181840152602081019050612b60565b60008484015250505050565b6000601f19601f8301169050919050565b6000612ba382612b41565b612bad8185612b4c565b9350612bbd818560208601612b5d565b612bc681612b87565b840191505092915050565b60006020820190508181036000830152612beb8184612b98565b905092915050565b6000819050919050565b612c0681612bf3565b8114612c1157600080fd5b50565b600081359050612c2381612bfd565b92915050565b60008060408385031215612c4057612c3f612aad565b5b6000612c4e85828601612ac9565b9250506020612c5f85828601612c14565b9150509250929050565b600060208284031215612c7f57612c7e612aad565b5b6000612c8d84828501612c14565b91505092915050565b612c9f81612bf3565b82525050565b6000602082019050612cba6000830184612c96565b92915050565b600080600060608486031215612cd957612cd8612aad565b5b6000612ce786828701612ac9565b9350506020612cf886828701612ac9565b9250506040612d0986828701612c14565b9150509250925092565b600060ff82169050919050565b612d2981612d13565b82525050565b6000602082019050612d446000830184612d20565b92915050565b60008060408385031215612d6157612d60612aad565b5b6000612d6f85828601612ac9565b9250506020612d8085828601612ac9565b9150509250929050565b612d9381612b0b565b8114612d9e57600080fd5b50565b600081359050612db081612d8a565b92915050565b60008060408385031215612dcd57612dcc612aad565b5b6000612ddb85828601612ac9565b9250506020612dec85828601612da1565b9150509250929050565b6000819050919050565b6000612e1b612e16612e1184612a51565b612df6565b612a51565b9050919050565b6000612e2d82612e00565b9050919050565b6000612e3f82612e22565b9050919050565b612e4f81612e34565b82525050565b6000602082019050612e6a6000830184612e46565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612eb757607f821691505b602082108103612eca57612ec9612e70565b5b50919050565b6000604082019050612ee56000830185612c96565b612ef26020830184612c96565b9392505050565b600081519050612f0881612ab2565b92915050565b600060208284031215612f2457612f23612aad565b5b6000612f3284828501612ef9565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612f7582612bf3565b9150612f8083612bf3565b9250828202612f8e81612bf3565b91508282048414831517612fa557612fa4612f3b565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612fe682612bf3565b9150612ff183612bf3565b92508261300157613000612fac565b5b828204905092915050565b60008151905061301b81612bfd565b92915050565b60006020828403121561303757613036612aad565b5b60006130458482850161300c565b91505092915050565b60006040820190506130636000830185612a83565b6130706020830184612c96565b9392505050565b60008151905061308681612d8a565b92915050565b6000602082840312156130a2576130a1612aad565b5b60006130b084828501613077565b91505092915050565b600081905092915050565b50565b60006130d46000836130b9565b91506130df826130c4565b600082019050919050565b60006130f5826130c7565b9150819050919050565b60006060820190506131146000830186612a83565b6131216020830185612c96565b61312e6040830184612c96565b949350505050565b600061314182612bf3565b915061314c83612bf3565b925082820190508082111561316457613163612f3b565b5b92915050565b600061317582612bf3565b915061318083612bf3565b925082820390508181111561319857613197612f3b565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61323181612a71565b82525050565b60006132438383613228565b60208301905092915050565b6000602082019050919050565b6000613267826131fc565b6132718185613207565b935061327c83613218565b8060005b838110156132ad5781516132948882613237565b975061329f8361324f565b925050600181019050613280565b5085935050505092915050565b600060a0820190506132cf6000830188612c96565b6132dc6020830187612c96565b81810360408301526132ee818661325c565b90506132fd6060830185612a83565b61330a6080830184612c96565b969550505050505056fea2646970667358221220810fb204b9936866503f08208534779236def11624d4925290e990c979184f8f64736f6c63430008140033000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000084595161401484a0000000000000000000000000000000a3f614eb0b44f6203695ba246d4ac2b0a9ec6140000000000000000000000000a3f614eb0b44f6203695ba246d4ac2b0a9ec6140000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000000a3f614eb0b44f6203695ba246d4ac2b0a9ec61400000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000002a5a058fc295ed000000000000000000000000000000000000000000000000002a5a058fc295ed00000000000000000000000000000000000000000000000000000000000000000000044e41414900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4e656f4175646974204149000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101dc5760003560e01c8063715018a611610102578063dd62ed3e11610095578063ef46d6b011610064578063ef46d6b0146106bb578063f2fde38b146106e6578063f887ea401461070f578063fd72e22a1461073a576101e3565b8063dd62ed3e14610615578063e086e5ec14610652578063ee5ecc8914610669578063ef437ff514610692576101e3565b80638da5cb5b116100d15780638da5cb5b1461055757806395d89b4114610582578063a9059cbb146105ad578063aa4bde28146105ea576101e3565b8063715018a6146104ad5780637497e296146104c457806375ca0b46146105015780638c0b5e221461052c576101e3565b80631f6dcb0b1161017a57806349bd5a5e1161014957806349bd5a5e146103f157806349df728c1461041c5780635e27922e1461044557806370a0823114610470576101e3565b80631f6dcb0b1461033557806323b872dd1461035e578063313ce5671461039b57806337df2de2146103c6576101e3565b8063095ea7b3116101b6578063095ea7b31461027b5780630ab68e47146102b857806318160ddd146102e15780631b56bbf91461030c576101e3565b806303fd2a45146101e857806306c933d81461021357806306fdde0314610250576101e3565b366101e357005b600080fd5b3480156101f457600080fd5b506101fd610765565b60405161020a9190612a92565b60405180910390f35b34801561021f57600080fd5b5061023a60048036038101906102359190612ade565b61078b565b6040516102479190612b26565b60405180910390f35b34801561025c57600080fd5b506102656107ab565b6040516102729190612bd1565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d9190612c29565b61083d565b6040516102af9190612b26565b60405180910390f35b3480156102c457600080fd5b506102df60048036038101906102da9190612c69565b610860565b005b3480156102ed57600080fd5b506102f661092f565b6040516103039190612ca5565b60405180910390f35b34801561031857600080fd5b50610333600480360381019061032e9190612ade565b610939565b005b34801561034157600080fd5b5061035c60048036038101906103579190612c69565b610d8d565b005b34801561036a57600080fd5b5061038560048036038101906103809190612cc0565b610e5c565b6040516103929190612b26565b60405180910390f35b3480156103a757600080fd5b506103b0610e8b565b6040516103bd9190612d2f565b60405180910390f35b3480156103d257600080fd5b506103db610e94565b6040516103e89190612ca5565b60405180910390f35b3480156103fd57600080fd5b50610406610ebb565b6040516104139190612a92565b60405180910390f35b34801561042857600080fd5b50610443600480360381019061043e9190612ade565b610ee1565b005b34801561045157600080fd5b5061045a611113565b6040516104679190612ca5565b60405180910390f35b34801561047c57600080fd5b5061049760048036038101906104929190612ade565b611119565b6040516104a49190612ca5565b60405180910390f35b3480156104b957600080fd5b506104c2611161565b005b3480156104d057600080fd5b506104eb60048036038101906104e69190612ade565b611175565b6040516104f89190612b26565b60405180910390f35b34801561050d57600080fd5b50610516611195565b6040516105239190612ca5565b60405180910390f35b34801561053857600080fd5b5061054161119b565b60405161054e9190612ca5565b60405180910390f35b34801561056357600080fd5b5061056c6111a1565b6040516105799190612a92565b60405180910390f35b34801561058e57600080fd5b506105976111cb565b6040516105a49190612bd1565b60405180910390f35b3480156105b957600080fd5b506105d460048036038101906105cf9190612c29565b61125d565b6040516105e19190612b26565b60405180910390f35b3480156105f657600080fd5b506105ff611280565b60405161060c9190612ca5565b60405180910390f35b34801561062157600080fd5b5061063c60048036038101906106379190612d4a565b611286565b6040516106499190612ca5565b60405180910390f35b34801561065e57600080fd5b5061066761130d565b005b34801561067557600080fd5b50610690600480360381019061068b9190612ade565b6114e8565b005b34801561069e57600080fd5b506106b960048036038101906106b49190612db6565b61172d565b005b3480156106c757600080fd5b506106d06118ac565b6040516106dd9190612ca5565b60405180910390f35b3480156106f257600080fd5b5061070d60048036038101906107089190612ade565b6118d3565b005b34801561071b57600080fd5b50610724611959565b6040516107319190612e55565b60405180910390f35b34801561074657600080fd5b5061074f61197f565b60405161075c9190612a92565b60405180910390f35b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b6020528060005260406000206000915054906101000a900460ff1681565b6060600380546107ba90612e9f565b80601f01602080910402602001604051908101604052809291908181526020018280546107e690612e9f565b80156108335780601f1061080857610100808354040283529160200191610833565b820191906000526020600020905b81548152906001019060200180831161081657829003601f168201915b5050505050905090565b6000806108486119a5565b90506108558185856119ad565b600191505092915050565b6108686119bf565b610870610e94565b8111156108a9576040517fd0f20bfd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108b16118ac565b8110156108ea576040517f373afe5c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fe3052f2f134f247948088ca6829f4168989b7313f1b54de88cc18178a249de4b6006548260405161091d929190612ed0565b60405180910390a18060068190555050565b6000600254905090565b6109416119a5565b73ffffffffffffffffffffffffffffffffffffffff1661095f6111a1565b73ffffffffffffffffffffffffffffffffffffffff16141580156109d857506109866119a5565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610a0f576040517f1045f14200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161480610a975750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b15610ad957806040517f8e4c8aa6000000000000000000000000000000000000000000000000000000008152600401610ad09190612a92565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff163b03610b3557806040517f8e4c8aa6000000000000000000000000000000000000000000000000000000008152600401610b2c9190612a92565b60405180910390fd5b600081905060008173ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bab9190612f0e565b905060008273ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1e9190612f0e565b90503073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015610c8857503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b15610cca57836040517f8e4c8aa6000000000000000000000000000000000000000000000000000000008152600401610cc19190612a92565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f89f24f59f1f74b74999221ad0a9ab9b4d1d2b27bddbf6f91b0c773ca0f94064360405160405180910390a383600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b610d956119bf565b610d9d610e94565b811115610dd6576040517fd0f20bfd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610dde6118ac565b811015610e17576040517f373afe5c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f1b970b75ef934269cd0be4373c907bd8a8527f3413dc1ae746eebf30d2aee1cb60075482604051610e4a929190612ed0565b60405180910390a18060078190555050565b600080610e676119a5565b9050610e74858285611a46565b610e7f858585611ada565b60019150509392505050565b60006012905090565b60006064600a610ea261092f565b610eac9190612f6a565b610eb69190612fdb565b905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610ee96119a5565b73ffffffffffffffffffffffffffffffffffffffff16610f076111a1565b73ffffffffffffffffffffffffffffffffffffffff1614158015610f805750610f2e6119a5565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610fb7576040517f1045f14200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610ff29190612a92565b602060405180830381865afa15801561100f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110339190613021565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b815260040161109292919061304e565b6020604051808303816000875af11580156110b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d5919061308c565b507f680f2e4f4032ebf1774e8cdbaddcb1b617a5a606411c8ca96257ada338d3833c828260405161110792919061304e565b60405180910390a15050565b600c5481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111696119bf565b6111736000611bce565b565b600a6020528060005260406000206000915054906101000a900460ff1681565b600d5481565b60065481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546111da90612e9f565b80601f016020809104026020016040519081016040528092919081815260200182805461120690612e9f565b80156112535780601f1061122857610100808354040283529160200191611253565b820191906000526020600020905b81548152906001019060200180831161123657829003601f168201915b5050505050905090565b6000806112686119a5565b9050611275818585611ada565b600191505092915050565b60075481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6113156119a5565b73ffffffffffffffffffffffffffffffffffffffff166113336111a1565b73ffffffffffffffffffffffffffffffffffffffff16141580156113ac575061135a6119a5565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b156113e3576040517f1045f14200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60004790506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611430906130ea565b60006040518083038185875af1925050503d806000811461146d576040519150601f19603f3d011682016040523d82523d6000602084013e611472565b606091505b50509050806114ad576040517f3204506f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f94effa14ea3a1ef396fa2fd829336d1597f1d76b548c26bfa2332869706638af826040516114dc9190612ca5565b60405180910390a15050565b6114f06119a5565b73ffffffffffffffffffffffffffffffffffffffff1661150e6111a1565b73ffffffffffffffffffffffffffffffffffffffff161415801561158757506115356119a5565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b156115be576040517f1045f14200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f56a15c3c0ab49fe2049a0c64f269486c32caf6fa97679f011f7c9c3c82e526ca816040516117229190612a92565b60405180910390a150565b6117356119a5565b73ffffffffffffffffffffffffffffffffffffffff166117536111a1565b73ffffffffffffffffffffffffffffffffffffffff16141580156117cc575061177a6119a5565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15611803576040517f1045f14200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f33e0bf3ce98fac4118d5a0a8fe49e83b6acdfdef32871c9eca20e1528d7701ba826040516118a09190612b26565b60405180910390a25050565b600060c860016118ba61092f565b6118c49190612f6a565b6118ce9190612fdb565b905090565b6118db6119bf565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361194d5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016119449190612a92565b60405180910390fd5b61195681611bce565b50565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b6119ba8383836001611c94565b505050565b6119c76119a5565b73ffffffffffffffffffffffffffffffffffffffff166119e56111a1565b73ffffffffffffffffffffffffffffffffffffffff1614611a4457611a086119a5565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611a3b9190612a92565b60405180910390fd5b565b6000611a528484611286565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611ad45781811015611ac4578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401611abb939291906130ff565b60405180910390fd5b611ad384848484036000611c94565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611b4c5760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401611b439190612a92565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bbe5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401611bb59190612a92565b60405180910390fd5b611bc9838383611e6b565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611d065760006040517fe602df05000000000000000000000000000000000000000000000000000000008152600401611cfd9190612a92565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d785760006040517f94280d62000000000000000000000000000000000000000000000000000000008152600401611d6f9190612a92565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015611e65578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611e5c9190612ca5565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611edd5760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401611ed49190612a92565b60405180910390fd5b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015611f815750600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561208657600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146120855760065481111561202657806006546040517f1026baf800000000000000000000000000000000000000000000000000000000815260040161201d929190612ed0565b60405180910390fd5b60075461203283611119565b8261203d9190613136565b111561208457806007546040517ff4f86d2d00000000000000000000000000000000000000000000000000000000815260040161207b929190612ed0565b60405180910390fd5b5b5b6000819050600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561212f5750600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156124d457600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121dd5750600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b156124d35760065482111561222d57816006546040517fac5219fa000000000000000000000000000000000000000000000000000000008152600401612224929190612ed0565b60405180910390fd5b6000600c5411801561228c57508373ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b80156122e25750600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b801561231a57503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b156123585760006064600c54846123319190612f6a565b61233b9190612fdb565b9050612348853083611ada565b8083612354919061316a565b9150505b8273ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480156123ff5750600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b801561243757503073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b80156124505750600f60149054906101000a900460ff16155b156124d2576000600d5490506001600f60146101000a81548160ff02191690831515021790555061247f6124e5565b6000600f60146101000a81548160ff0219169083151502179055506000606482856124aa9190612f6a565b6124b49190612fdb565b90506124c1863083611ada565b80846124cd919061316a565b925050505b5b5b6124df84848361251c565b50505050565b60006124f030611119565b031561251a57600061250130611119565b9050600081111561251857612517816000612741565b5b505b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361256e5780600260008282546125629190613136565b92505081905550612641565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156125fa578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016125f1939291906130ff565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361268a57806002600082825403925050819055506126d7565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516127349190612ca5565b60405180910390a3505050565b6000600267ffffffffffffffff81111561275e5761275d61319e565b5b60405190808252806020026020018201604052801561278c5781602001602082028036833780820191505090505b50905030816000815181106127a4576127a36131cd565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561284b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061286f9190612f0e565b81600181518110612883576128826131cd565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250503073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b815260040161293a92919061304e565b6020604051808303816000875af1158015612959573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061297d919061308c565b50600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac94784848430426040518663ffffffff1660e01b81526004016129e19594939291906132ba565b600060405180830381600087803b1580156129fb57600080fd5b505af1158015612a0f573d6000803e3d6000fd5b505050507f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f83814868347604051612a44929190612ed0565b60405180910390a1505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612a7c82612a51565b9050919050565b612a8c81612a71565b82525050565b6000602082019050612aa76000830184612a83565b92915050565b600080fd5b612abb81612a71565b8114612ac657600080fd5b50565b600081359050612ad881612ab2565b92915050565b600060208284031215612af457612af3612aad565b5b6000612b0284828501612ac9565b91505092915050565b60008115159050919050565b612b2081612b0b565b82525050565b6000602082019050612b3b6000830184612b17565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b7b578082015181840152602081019050612b60565b60008484015250505050565b6000601f19601f8301169050919050565b6000612ba382612b41565b612bad8185612b4c565b9350612bbd818560208601612b5d565b612bc681612b87565b840191505092915050565b60006020820190508181036000830152612beb8184612b98565b905092915050565b6000819050919050565b612c0681612bf3565b8114612c1157600080fd5b50565b600081359050612c2381612bfd565b92915050565b60008060408385031215612c4057612c3f612aad565b5b6000612c4e85828601612ac9565b9250506020612c5f85828601612c14565b9150509250929050565b600060208284031215612c7f57612c7e612aad565b5b6000612c8d84828501612c14565b91505092915050565b612c9f81612bf3565b82525050565b6000602082019050612cba6000830184612c96565b92915050565b600080600060608486031215612cd957612cd8612aad565b5b6000612ce786828701612ac9565b9350506020612cf886828701612ac9565b9250506040612d0986828701612c14565b9150509250925092565b600060ff82169050919050565b612d2981612d13565b82525050565b6000602082019050612d446000830184612d20565b92915050565b60008060408385031215612d6157612d60612aad565b5b6000612d6f85828601612ac9565b9250506020612d8085828601612ac9565b9150509250929050565b612d9381612b0b565b8114612d9e57600080fd5b50565b600081359050612db081612d8a565b92915050565b60008060408385031215612dcd57612dcc612aad565b5b6000612ddb85828601612ac9565b9250506020612dec85828601612da1565b9150509250929050565b6000819050919050565b6000612e1b612e16612e1184612a51565b612df6565b612a51565b9050919050565b6000612e2d82612e00565b9050919050565b6000612e3f82612e22565b9050919050565b612e4f81612e34565b82525050565b6000602082019050612e6a6000830184612e46565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612eb757607f821691505b602082108103612eca57612ec9612e70565b5b50919050565b6000604082019050612ee56000830185612c96565b612ef26020830184612c96565b9392505050565b600081519050612f0881612ab2565b92915050565b600060208284031215612f2457612f23612aad565b5b6000612f3284828501612ef9565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612f7582612bf3565b9150612f8083612bf3565b9250828202612f8e81612bf3565b91508282048414831517612fa557612fa4612f3b565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612fe682612bf3565b9150612ff183612bf3565b92508261300157613000612fac565b5b828204905092915050565b60008151905061301b81612bfd565b92915050565b60006020828403121561303757613036612aad565b5b60006130458482850161300c565b91505092915050565b60006040820190506130636000830185612a83565b6130706020830184612c96565b9392505050565b60008151905061308681612d8a565b92915050565b6000602082840312156130a2576130a1612aad565b5b60006130b084828501613077565b91505092915050565b600081905092915050565b50565b60006130d46000836130b9565b91506130df826130c4565b600082019050919050565b60006130f5826130c7565b9150819050919050565b60006060820190506131146000830186612a83565b6131216020830185612c96565b61312e6040830184612c96565b949350505050565b600061314182612bf3565b915061314c83612bf3565b925082820190508082111561316457613163612f3b565b5b92915050565b600061317582612bf3565b915061318083612bf3565b925082820390508181111561319857613197612f3b565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61323181612a71565b82525050565b60006132438383613228565b60208301905092915050565b6000602082019050919050565b6000613267826131fc565b6132718185613207565b935061327c83613218565b8060005b838110156132ad5781516132948882613237565b975061329f8361324f565b925050600181019050613280565b5085935050505092915050565b600060a0820190506132cf6000830188612c96565b6132dc6020830187612c96565b81810360408301526132ee818661325c565b90506132fd6060830185612a83565b61330a6080830184612c96565b969550505050505056fea2646970667358221220810fb204b9936866503f08208534779236def11624d4925290e990c979184f8f64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000084595161401484a0000000000000000000000000000000a3f614eb0b44f6203695ba246d4ac2b0a9ec6140000000000000000000000000a3f614eb0b44f6203695ba246d4ac2b0a9ec6140000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000000a3f614eb0b44f6203695ba246d4ac2b0a9ec61400000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000002a5a058fc295ed000000000000000000000000000000000000000000000000002a5a058fc295ed00000000000000000000000000000000000000000000000000000000000000000000044e41414900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4e656f4175646974204149000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _symbol (string): NAAI
Arg [1] : _name (string): NeoAudit AI
Arg [2] : _totalSupply (uint256): 10000000000000000000000000
Arg [3] : _treasure (address): 0x0a3f614eb0b44F6203695Ba246d4AC2B0A9Ec614
Arg [4] : _owner (address): 0x0a3f614eb0b44F6203695Ba246d4AC2B0A9Ec614
Arg [5] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [6] : _operationsWalletAddress (address): 0x0a3f614eb0b44F6203695Ba246d4AC2B0A9Ec614
Arg [7] : _operationsTaxBuyPercentage (uint256): 5
Arg [8] : _operationsTaxSellPercentage (uint256): 5
Arg [9] : _maxTxAmount (uint256): 200000000000000000000000
Arg [10] : _maxWalletAmount (uint256): 200000000000000000000000
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [2] : 000000000000000000000000000000000000000000084595161401484a000000
Arg [3] : 0000000000000000000000000a3f614eb0b44f6203695ba246d4ac2b0a9ec614
Arg [4] : 0000000000000000000000000a3f614eb0b44f6203695ba246d4ac2b0a9ec614
Arg [5] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [6] : 0000000000000000000000000a3f614eb0b44f6203695ba246d4ac2b0a9ec614
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 000000000000000000000000000000000000000000002a5a058fc295ed000000
Arg [10] : 000000000000000000000000000000000000000000002a5a058fc295ed000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [12] : 4e41414900000000000000000000000000000000000000000000000000000000
Arg [13] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [14] : 4e656f4175646974204149000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.