More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 44 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Renounce Ownersh... | 18825112 | 256 days ago | IN | 0 ETH | 0.00092792 | ||||
Approve | 18825109 | 256 days ago | IN | 0 ETH | 0.00190228 | ||||
Set New Fees | 18825106 | 256 days ago | IN | 0 ETH | 0.00110662 | ||||
Remove Limits | 18825095 | 256 days ago | IN | 0 ETH | 0.00112605 | ||||
Approve | 18825080 | 256 days ago | IN | 0 ETH | 0.00185395 | ||||
Set New Fees | 18825072 | 256 days ago | IN | 0 ETH | 0.00117815 | ||||
Approve | 18825060 | 256 days ago | IN | 0 ETH | 0.00178602 | ||||
Approve | 18825058 | 256 days ago | IN | 0 ETH | 0.00199677 | ||||
Approve | 18825055 | 256 days ago | IN | 0 ETH | 0.00175486 | ||||
Approve | 18825053 | 256 days ago | IN | 0 ETH | 0.0019342 | ||||
Approve | 18825053 | 256 days ago | IN | 0 ETH | 0.0019342 | ||||
Approve | 18825053 | 256 days ago | IN | 0 ETH | 0.0019342 | ||||
Approve | 18825053 | 256 days ago | IN | 0 ETH | 0.0019342 | ||||
Approve | 18825052 | 256 days ago | IN | 0 ETH | 0.00179371 | ||||
Approve | 18825052 | 256 days ago | IN | 0 ETH | 0.00188719 | ||||
Approve | 18825052 | 256 days ago | IN | 0 ETH | 0.00188719 | ||||
Approve | 18825052 | 256 days ago | IN | 0 ETH | 0.00188719 | ||||
Approve | 18825052 | 256 days ago | IN | 0 ETH | 0.00188719 | ||||
Approve | 18825052 | 256 days ago | IN | 0 ETH | 0.00188719 | ||||
Approve | 18825052 | 256 days ago | IN | 0 ETH | 0.00188719 | ||||
Approve | 18825052 | 256 days ago | IN | 0 ETH | 0.00188719 | ||||
Approve | 18825052 | 256 days ago | IN | 0 ETH | 0.00188719 | ||||
Approve | 18825052 | 256 days ago | IN | 0 ETH | 0.00188719 | ||||
Approve | 18825052 | 256 days ago | IN | 0 ETH | 0.00188719 | ||||
Approve | 18825052 | 256 days ago | IN | 0 ETH | 0.00193394 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
18825128 | 256 days ago | 0.00320741 ETH | ||||
18825128 | 256 days ago | 0.00256593 ETH | ||||
18825128 | 256 days ago | 0.00064148 ETH | ||||
18825128 | 256 days ago | 0.00641483 ETH | ||||
18825128 | 256 days ago | 0.00339021 ETH | ||||
18825128 | 256 days ago | 0.00271217 ETH | ||||
18825128 | 256 days ago | 0.00067804 ETH | ||||
18825128 | 256 days ago | 0.00678042 ETH | ||||
18825128 | 256 days ago | 0.00358909 ETH | ||||
18825128 | 256 days ago | 0.00287127 ETH | ||||
18825128 | 256 days ago | 0.00071781 ETH | ||||
18825128 | 256 days ago | 0.00717819 ETH | ||||
18825128 | 256 days ago | 0.00380602 ETH | ||||
18825128 | 256 days ago | 0.00304481 ETH | ||||
18825128 | 256 days ago | 0.0007612 ETH | ||||
18825128 | 256 days ago | 0.00761204 ETH | ||||
18825128 | 256 days ago | 0.00404323 ETH | ||||
18825128 | 256 days ago | 0.00323459 ETH | ||||
18825128 | 256 days ago | 0.00080864 ETH | ||||
18825128 | 256 days ago | 0.00808647 ETH | ||||
18825119 | 256 days ago | 0.00430335 ETH | ||||
18825119 | 256 days ago | 0.00344268 ETH | ||||
18825119 | 256 days ago | 0.00086067 ETH | ||||
18825119 | 256 days ago | 0.0086067 ETH | ||||
18825119 | 256 days ago | 0.00458941 ETH |
Loading...
Loading
Contract Name:
WIF
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED // Telegram: https://t.me/apewifhatETH pragma solidity 0.8.20; import "./access/Ownable.sol"; import "./uniswap/IUniswapV2Factory.sol"; import "./uniswap/IUniswapV2Router02.sol"; import "./tokens/ERC20.sol"; contract WIF is ERC20("APEWIFHAT", "WIF"), Ownable { IUniswapV2Factory public constant UNISWAP_FACTORY = IUniswapV2Factory(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f); IUniswapV2Router02 public constant UNISWAP_ROUTER = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address public immutable UNISWAP_V2_PAIR; uint256 constant TOTAL_SUPPLY = 50000000 ether; uint256 public tradingOpenedOnBlock; bool private swapping; address public taxWallet; address public devWallet; address public mkWallet; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; bool public fetchFees = false; uint256 public maxBuyAmount; uint256 public maxSellAmount; uint256 public maxWalletAmount; uint256 public tokenSwapThreshold; uint256 public buyTotalFees = 20; uint256 public sellTotalFees = 30; uint256 public taxedTokens; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; event EnabledTrading(bool tradingActive); event RemovedLimits(); event ExcludeFromFees(address indexed account, bool isExcluded); event UpdatedMaxBuyAmount(uint256 newAmount); event UpdatedMaxSellAmount(uint256 newAmount); event UpdatedMaxWalletAmount(uint256 newAmount); event MaxTransactionExclusion(address _address, bool excluded); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); constructor() { _mint(msg.sender, TOTAL_SUPPLY); _approve(address(this), address(UNISWAP_ROUTER), ~uint256(0)); _excludeFromMaxTransaction(address(UNISWAP_ROUTER), true); UNISWAP_V2_PAIR = UNISWAP_FACTORY.createPair( address(this), UNISWAP_ROUTER.WETH() ); maxBuyAmount = 1000000 * 10**decimals(); maxSellAmount = 1000000 * 10**decimals(); maxWalletAmount = 1000000 * 10**decimals(); tokenSwapThreshold = (totalSupply() * 60) / 10000; devWallet = msg.sender; _excludeFromMaxTransaction(msg.sender, true); _excludeFromMaxTransaction(address(this), true); _excludeFromMaxTransaction(address(0xdead), true); excludeFromFees(msg.sender, true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); } receive() external payable {} function setWallets( address _taxAddress, address _mkAddress, address _devAddress ) public { require( msg.sender == owner() || msg.sender == devWallet, "ERROR: Not authorized" ); require( (_taxAddress != address(0) || _mkAddress != address(0) || _devAddress != address(0)), "Invalid Wallet" ); devWallet = _devAddress; mkWallet = _mkAddress; taxWallet = _taxAddress; } function updateMaxBuyAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 1) / 1_000), "ERROR: Cannot set max buy amount lower than 0.1%" ); maxBuyAmount = newNum; emit UpdatedMaxBuyAmount(maxBuyAmount); } function updateMaxSellAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 1) / 1_000), "ERROR: Cannot set max sell amount lower than 0.1%" ); maxSellAmount = newNum; emit UpdatedMaxSellAmount(maxSellAmount); } function updateMaxWalletAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 3) / 1_000), "ERROR: Cannot set max wallet amount lower than 0.3%" ); maxWalletAmount = newNum; emit UpdatedMaxWalletAmount(maxWalletAmount); } function updateSwapTokensAtAmount(uint256 newAmount) external { require( msg.sender == owner() || msg.sender == devWallet, "ERROR: Not authorized" ); require( newAmount >= (totalSupply() * 1) / 100_000, "ERROR: Swap amount cannot be lower than 0.001% total supply." ); tokenSwapThreshold = newAmount; } function removeLimits() external onlyOwner { limitsInEffect = false; emit RemovedLimits(); } function _excludeFromMaxTransaction(address updAds, bool isExcluded) private { _isExcludedMaxTransactionAmount[updAds] = isExcluded; emit MaxTransactionExclusion(updAds, isExcluded); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function openTrading() public onlyOwner { require( tradingOpenedOnBlock == 0, "ERROR: Token state is already live !" ); tradingOpenedOnBlock = block.number; tradingActive = true; swapEnabled = true; emit EnabledTrading(tradingActive); } function getFees() internal { require(tradingOpenedOnBlock > 0, "Trading not live"); uint256 currentBlock = block.number; uint256 taxTime = tradingOpenedOnBlock + 65; if (currentBlock <= taxTime) { buyTotalFees = 25; sellTotalFees = 25; } else { buyTotalFees = 0; sellTotalFees = 0; fetchFees = false; limitsInEffect = false; emit RemovedLimits(); } } function setNewFees(uint256 newBuyFees, uint256 newSellFees) external { require( msg.sender == owner() || msg.sender == devWallet, "ERROR: Not authorized" ); buyTotalFees = newBuyFees; sellTotalFees = newSellFees; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "amount must be greater than 0"); if (limitsInEffect) { if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) ) { if (!tradingActive) { require( _isExcludedMaxTransactionAmount[from] || _isExcludedMaxTransactionAmount[to], "ERROR: Trading is not active." ); require(from == owner(), "ERROR: Trading is not enabled"); } if ( from == UNISWAP_V2_PAIR && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= maxBuyAmount, "ERROR: Buy transfer amount exceeds the max buy." ); require( amount + balanceOf(to) <= maxWalletAmount, "ERROR: Cannot Exceed max wallet" ); } else if ( to == UNISWAP_V2_PAIR && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= maxSellAmount, "ERROR: Sell transfer amount exceeds the max sell." ); } else if ( !_isExcludedMaxTransactionAmount[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount + balanceOf(to) <= maxWalletAmount, "ERROR: Cannot Exceed max wallet" ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= tokenSwapThreshold; if ( canSwap && swapEnabled && !swapping && !(from == UNISWAP_V2_PAIR) && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = true; if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; if (takeFee) { if (fetchFees) { getFees(); } // Sell if (to == UNISWAP_V2_PAIR && sellTotalFees > 0) { fees = (amount * sellTotalFees) / 100; taxedTokens += fees; } // Buy else if (from == UNISWAP_V2_PAIR && buyTotalFees > 0) { fees = (amount * buyTotalFees) / 100; taxedTokens += fees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = UNISWAP_ROUTER.WETH(); // make the swap UNISWAP_ROUTER.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = taxedTokens; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } if (contractBalance > tokenSwapThreshold) { contractBalance = tokenSwapThreshold; } bool successDev; bool successMk; bool successTax; swapTokensForEth(contractBalance); uint256 ethBalance = address(this).balance; uint256 mkBalance = (ethBalance * 40) / 100; uint256 devBalance = (ethBalance * 10) / 100; uint256 taxBalance = ethBalance - mkBalance - devBalance; if (devBalance > 0) { (successDev, ) = address(devWallet).call{value: devBalance}(""); } if (mkBalance > 0) { (successMk, ) = address(mkWallet).call{value: mkBalance}(""); } if (taxBalance > 0) { (successTax, ) = address(taxWallet).call{value: taxBalance}(""); } } function withdrawStuckToken(address _token) external { require( msg.sender == owner() || msg.sender == devWallet, "ERROR: Not authorized" ); if (_token == address(0x0)) { payable(owner()).transfer(address(this).balance); return; } ERC20 erc20token = ERC20(_token); uint256 balance = erc20token.balanceOf(address(this)); erc20token.transfer(msg.sender, balance); } function withdrawStuckEth() external { require( msg.sender == owner() || msg.sender == devWallet, "ERROR: Not authorized" ); (bool success, ) = address(msg.sender).call{ value: address(this).balance }(""); require(success, "ERROR: failed to withdraw funds"); } }
// 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 "./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 virtual { 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: UNLICENSED pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
//SPDX-License-Identifier: UNLICENSED pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
//SPDX-License-Identifier: UNLICENSED pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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 v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"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"},{"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":"bool","name":"tradingActive","type":"bool"}],"name":"EnabledTrading","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"MaxTransactionExclusion","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":[],"name":"RemovedLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxBuyAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxSellAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxWalletAmount","type":"event"},{"inputs":[],"name":"UNISWAP_FACTORY","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_ROUTER","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_V2_PAIR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"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":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fetchFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mkWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newBuyFees","type":"uint256"},{"internalType":"uint256","name":"newSellFees","type":"uint256"}],"name":"setNewFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_taxAddress","type":"address"},{"internalType":"address","name":"_mkAddress","type":"address"},{"internalType":"address","name":"_devAddress","type":"address"}],"name":"setWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpenedOnBlock","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":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxBuyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxSellAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"withdrawStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040526009805463ffffffff60a01b1916600160a01b1790556014600e55601e600f5534801562000030575f80fd5b506040518060400160405280600981526020016810541155d25192105560ba1b815250604051806040016040528060038152602001622ba4a360e91b81525081600390816200008091906200078d565b5060046200008f82826200078d565b505050620000ac620000a66200031560201b60201c565b62000319565b620000c3336a295be96e640669720000006200036a565b620000e530737a250d5630b4cf539739df2c5dacb4c659f2488d5f19620003aa565b62000106737a250d5630b4cf539739df2c5dacb4c659f2488d6001620003be565b735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f6001600160a01b031663c9c6539630737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200017b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001a1919062000855565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015620001ec573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000212919062000855565b6001600160a01b03166080526200022c6012600a62000993565b6200023b90620f4240620009a3565b600a5560126200024d90600a62000993565b6200025c90620f4240620009a3565b600b556200026d6012600a62000993565b6200027c90620f4240620009a3565b600c556127106200028c60025490565b6200029990603c620009a3565b620002a59190620009bd565b600d55600880546001600160a01b03191633908117909155620002ca906001620003be565b620002d7306001620003be565b620002e661dead6001620003be565b620002f333600162000420565b6200030030600162000420565b6200030f61dead600162000420565b620009f3565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620003995760405163ec442f0560e01b81525f60048201526024015b60405180910390fd5b620003a65f838362000488565b5050565b620003b98383836001620005b7565b505050565b6001600160a01b0382165f81815260126020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b6200042a62000690565b6001600160a01b0382165f81815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038316620004b6578060025f828254620004aa9190620009dd565b90915550620005289050565b6001600160a01b0383165f90815260208190526040902054818110156200050a5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000390565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216620005465760028054829003905562000564565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620005aa91815260200190565b60405180910390a3505050565b6001600160a01b038416620005e25760405163e602df0560e01b81525f600482015260240162000390565b6001600160a01b0383166200060d57604051634a1406b160e11b81525f600482015260240162000390565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156200068a57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516200068191815260200190565b60405180910390a35b50505050565b6005546001600160a01b03163314620006ec5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000390565b565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200071757607f821691505b6020821081036200073657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620003b9575f81815260208120601f850160051c81016020861015620007645750805b601f850160051c820191505b81811015620007855782815560010162000770565b505050505050565b81516001600160401b03811115620007a957620007a9620006ee565b620007c181620007ba845462000702565b846200073c565b602080601f831160018114620007f7575f8415620007df5750858301515b5f19600386901b1c1916600185901b17855562000785565b5f85815260208120601f198616915b82811015620008275788860151825594840194600190910190840162000806565b50858210156200084557878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f6020828403121562000866575f80fd5b81516001600160a01b03811681146200087d575f80fd5b9392505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115620008d857815f1904821115620008bc57620008bc62000884565b80851615620008ca57918102915b93841c93908002906200089d565b509250929050565b5f82620008f0575060016200098d565b81620008fe57505f6200098d565b8160018114620009175760028114620009225762000942565b60019150506200098d565b60ff84111562000936576200093662000884565b50506001821b6200098d565b5060208310610133831016604e8410600b841016171562000967575081810a6200098d565b62000973838362000898565b805f190482111562000989576200098962000884565b0290505b92915050565b5f6200087d60ff841683620008e0565b80820281158282048414176200098d576200098d62000884565b5f82620009d857634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156200098d576200098d62000884565b6080516123e362000a2f5f395f818161076c0152818161143001528181611570015281816117340152818161184101526118c001526123e35ff3fe60806040526004361061024c575f3560e01c80637fa787ba11610134578063c0246668116100b3578063d826492011610078578063d82649201461069d578063d85ba063146106c4578063dc3f0d0f146106d9578063dd62ed3e146106f8578063f2fde38b1461073c578063f40acc3d1461075b575f80fd5b8063c024666814610605578063c18bc19514610624578063c74c0fac14610643578063c9567bf91461066a578063d257b34f1461067e575f80fd5b8063a9059cbb116100f9578063a9059cbb14610573578063aa4bde2814610592578063baccf5cf146105a7578063bbc0c742146105c6578063c02174ca146105e6575f80fd5b80637fa787ba146104fa57806388e765ff1461050e5780638da5cb5b146105235780638ea5220f1461054057806395d89b411461055f575f80fd5b8063313ce567116101cb5780636ddd1713116101905780636ddd17131461044a57806370a082311461046a578063715018a61461049e578063751039fc146104b257806375cb1bd1146104c657806376d628b7146104e5575f80fd5b8063313ce567146103c55780634a62bb65146103e05780636057b3eb1461040057806366d602ae146104205780636a486a8e14610435575f80fd5b806310d5de531161021157806310d5de531461030957806318160ddd1461033757806323b872dd1461034b5780632be32b611461036a5780632dc0562d14610389575f80fd5b8063068acf6c1461025757806306fdde0314610278578063095ea7b3146102a25780630a3b39a3146102d15780630e300099146102f4575f80fd5b3661025357005b5f80fd5b348015610262575f80fd5b50610276610271366004612042565b61078e565b005b348015610283575f80fd5b5061028c6108ff565b6040516102999190612064565b60405180910390f35b3480156102ad575f80fd5b506102c16102bc3660046120af565b61098f565b6040519015158152602001610299565b3480156102dc575f80fd5b506102e660065481565b604051908152602001610299565b3480156102ff575f80fd5b506102e6600d5481565b348015610314575f80fd5b506102c1610323366004612042565b60126020525f908152604090205460ff1681565b348015610342575f80fd5b506002546102e6565b348015610356575f80fd5b506102c16103653660046120d9565b6109a8565b348015610375575f80fd5b50610276610384366004612117565b6109cb565b348015610394575f80fd5b506007546103ad9061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610299565b3480156103d0575f80fd5b5060405160128152602001610299565b3480156103eb575f80fd5b506009546102c190600160a01b900460ff1681565b34801561040b575f80fd5b506009546102c190600160b81b900460ff1681565b34801561042b575f80fd5b506102e6600b5481565b348015610440575f80fd5b506102e6600f5481565b348015610455575f80fd5b506009546102c190600160b01b900460ff1681565b348015610475575f80fd5b506102e6610484366004612042565b6001600160a01b03165f9081526020819052604090205490565b3480156104a9575f80fd5b50610276610a98565b3480156104bd575f80fd5b50610276610aab565b3480156104d1575f80fd5b506102766104e036600461212e565b610aea565b3480156104f0575f80fd5b506102e660105481565b348015610505575f80fd5b50610276610be7565b348015610519575f80fd5b506102e6600a5481565b34801561052e575f80fd5b506005546001600160a01b03166103ad565b34801561054b575f80fd5b506008546103ad906001600160a01b031681565b34801561056a575f80fd5b5061028c610cbe565b34801561057e575f80fd5b506102c161058d3660046120af565b610ccd565b34801561059d575f80fd5b506102e6600c5481565b3480156105b2575f80fd5b506102766105c1366004612176565b610cda565b3480156105d1575f80fd5b506009546102c190600160a81b900460ff1681565b3480156105f1575f80fd5b506009546103ad906001600160a01b031681565b348015610610575f80fd5b5061027661061f3660046121a3565b610d24565b34801561062f575f80fd5b5061027661063e366004612117565b610d8a565b34801561064e575f80fd5b506103ad735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f81565b348015610675575f80fd5b50610276610e53565b348015610689575f80fd5b50610276610698366004612117565b610f15565b3480156106a8575f80fd5b506103ad737a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156106cf575f80fd5b506102e6600e5481565b3480156106e4575f80fd5b506102766106f3366004612117565b610ff0565b348015610703575f80fd5b506102e66107123660046121da565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610747575f80fd5b50610276610756366004612042565b6110b7565b348015610766575f80fd5b506103ad7f000000000000000000000000000000000000000000000000000000000000000081565b6005546001600160a01b03163314806107b157506008546001600160a01b031633145b6107d65760405162461bcd60e51b81526004016107cd90612206565b60405180910390fd5b6001600160a01b03811661081e576005546040516001600160a01b03909116904780156108fc02915f818181858888f1935050505015801561081a573d5f803e3d5ffd5b5050565b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610864573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108889190612235565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303815f875af11580156108d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f9919061224c565b50505050565b60606003805461090e90612267565b80601f016020809104026020016040519081016040528092919081815260200182805461093a90612267565b80156109855780601f1061095c57610100808354040283529160200191610985565b820191905f5260205f20905b81548152906001019060200180831161096857829003601f168201915b5050505050905090565b5f3361099c81858561112d565b60019150505b92915050565b5f336109b585828561113f565b6109c08585856111b4565b506001949350505050565b6109d361196a565b6103e86109df60025490565b6109ea9060016122b3565b6109f491906122ca565b811015610a5c5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a2043616e6e6f7420736574206d61782062757920616d6f756e7460448201526f206c6f776572207468616e20302e312560801b60648201526084016107cd565b600a8190556040518181527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009906020015b60405180910390a150565b610aa061196a565b610aa95f6119c4565b565b610ab361196a565b6009805460ff60a01b191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a1565b6005546001600160a01b0316331480610b0d57506008546001600160a01b031633145b610b295760405162461bcd60e51b81526004016107cd90612206565b6001600160a01b038316151580610b4857506001600160a01b03821615155b80610b5b57506001600160a01b03811615155b610b985760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a590815d85b1b195d60921b60448201526064016107cd565b600880546001600160a01b03199081166001600160a01b0393841617909155600980549091169282169290921790915560078054610100600160a81b0319166101009390921692909202179055565b6005546001600160a01b0316331480610c0a57506008546001600160a01b031633145b610c265760405162461bcd60e51b81526004016107cd90612206565b6040515f90339047908381818185875af1925050503d805f8114610c65576040519150601f19603f3d011682016040523d82523d5f602084013e610c6a565b606091505b5050905080610cbb5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a206661696c656420746f2077697468647261772066756e64730060448201526064016107cd565b50565b60606004805461090e90612267565b5f3361099c8185856111b4565b6005546001600160a01b0316331480610cfd57506008546001600160a01b031633145b610d195760405162461bcd60e51b81526004016107cd90612206565b600e91909155600f55565b610d2c61196a565b6001600160a01b0382165f81815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610d9261196a565b6103e8610d9e60025490565b610da99060036122b3565b610db391906122ca565b811015610e1e5760405162461bcd60e51b815260206004820152603360248201527f4552524f523a2043616e6e6f7420736574206d61782077616c6c657420616d6f604482015272756e74206c6f776572207468616e20302e332560681b60648201526084016107cd565b600c8190556040518181527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc90602001610a8d565b610e5b61196a565b60065415610eb75760405162461bcd60e51b8152602060048201526024808201527f4552524f523a20546f6b656e20737461746520697320616c7265616479206c696044820152637665202160e01b60648201526084016107cd565b436006556009805461010160a81b61ffff60a81b199091161790819055604051600160a81b90910460ff16151581527fe8a59d3db38e5220ac9d0f72590b7ac876e0916dc8f4db3e7614e6f91fe520899060200160405180910390a1565b6005546001600160a01b0316331480610f3857506008546001600160a01b031633145b610f545760405162461bcd60e51b81526004016107cd90612206565b620186a0610f6160025490565b610f6c9060016122b3565b610f7691906122ca565b811015610feb5760405162461bcd60e51b815260206004820152603c60248201527f4552524f523a205377617020616d6f756e742063616e6e6f74206265206c6f7760448201527f6572207468616e20302e3030312520746f74616c20737570706c792e0000000060648201526084016107cd565b600d55565b610ff861196a565b6103e861100460025490565b61100f9060016122b3565b61101991906122ca565b8110156110825760405162461bcd60e51b815260206004820152603160248201527f4552524f523a2043616e6e6f7420736574206d61782073656c6c20616d6f756e60448201527074206c6f776572207468616e20302e312560781b60648201526084016107cd565b600b8190556040518181527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e90602001610a8d565b6110bf61196a565b6001600160a01b0381166111245760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107cd565b610cbb816119c4565b61113a8383836001611a15565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146108f957818110156111a657604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016107cd565b6108f984848484035f611a15565b6001600160a01b0383166112185760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107cd565b6001600160a01b03821661127a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107cd565b5f81116112c95760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e203000000060448201526064016107cd565b600954600160a01b900460ff16156116f0576005546001600160a01b0384811691161480159061130757506005546001600160a01b03838116911614155b801561131b57506001600160a01b03821615155b801561133257506001600160a01b03821661dead14155b156116f057600954600160a81b900460ff1661142e576001600160a01b0383165f9081526012602052604090205460ff168061138557506001600160a01b0382165f9081526012602052604090205460ff165b6113d15760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a2054726164696e67206973206e6f74206163746976652e00000060448201526064016107cd565b6005546001600160a01b0384811691161461142e5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a2054726164696e67206973206e6f7420656e61626c656400000060448201526064016107cd565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614801561148757506001600160a01b0382165f9081526012602052604090205460ff16155b1561156e57600a548111156114f65760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a20427579207472616e7366657220616d6f756e7420657863656560448201526e3239903a34329036b0bc10313abc9760891b60648201526084016107cd565b600c546001600160a01b0383165f9081526020819052604090205461151b90836122e9565b11156115695760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a2043616e6e6f7420457863656564206d61782077616c6c65740060448201526064016107cd565b6116f0565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480156115c757506001600160a01b0383165f9081526012602052604090205460ff16155b1561163857600b548111156115695760405162461bcd60e51b815260206004820152603160248201527f4552524f523a2053656c6c207472616e7366657220616d6f756e74206578636560448201527032b239903a34329036b0bc1039b2b6361760791b60648201526084016107cd565b6001600160a01b0382165f9081526012602052604090205460ff1615801561167857506001600160a01b0383165f9081526012602052604090205460ff16155b156116f057600c546001600160a01b0383165f908152602081905260409020546116a290836122e9565b11156116f05760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a2043616e6e6f7420457863656564206d61782077616c6c65740060448201526064016107cd565b305f90815260208190526040902054600d548110801590819061171c5750600954600160b01b900460ff165b801561172b575060075460ff16155b801561176957507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b801561178d57506001600160a01b0385165f9081526011602052604090205460ff16155b80156117b157506001600160a01b0384165f9081526011602052604090205460ff16155b156117d6576007805460ff191660011790556117cb611ae7565b6007805460ff191690555b6001600160a01b0385165f9081526011602052604090205460019060ff168061181657506001600160a01b0385165f9081526011602052604090205460ff165b1561181e57505f5b5f811561195657600954600160b81b900460ff161561183f5761183f611c96565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b031614801561188157505f600f54115b156118be576064600f548661189691906122b3565b6118a091906122ca565b90508060105f8282546118b391906122e9565b909155506119389050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316876001600160a01b031614801561190057505f600e54115b15611938576064600e548661191591906122b3565b61191f91906122ca565b90508060105f82825461193291906122e9565b90915550505b801561194957611949873083611d49565b61195381866122fc565b94505b611961878787611d49565b50505050505050565b6005546001600160a01b03163314610aa95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cd565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038416611a3e5760405163e602df0560e01b81525f60048201526024016107cd565b6001600160a01b038316611a6757604051634a1406b160e11b81525f60048201526024016107cd565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156108f957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611ad991815260200190565b60405180910390a350505050565b305f90815260208190526040902054601054811580611b04575080155b15611b0d575050565b600d54821115611b1d57600d5491505b5f805f611b2985611da6565b475f6064611b388360286122b3565b611b4291906122ca565b90505f6064611b5284600a6122b3565b611b5c91906122ca565b90505f81611b6a84866122fc565b611b7491906122fc565b90508115611bd1576008546040516001600160a01b039091169083905f81818185875af1925050503d805f8114611bc6576040519150601f19603f3d011682016040523d82523d5f602084013e611bcb565b606091505b50909750505b8215611c2c576009546040516001600160a01b039091169084905f81818185875af1925050503d805f8114611c21576040519150601f19603f3d011682016040523d82523d5f602084013e611c26565b606091505b50909650505b8015611c8b576007546040516101009091046001600160a01b03169082905f81818185875af1925050503d805f8114611c80576040519150601f19603f3d011682016040523d82523d5f602084013e611c85565b606091505b50909550505b505050505050505050565b5f60065411611cda5760405162461bcd60e51b815260206004820152601060248201526f54726164696e67206e6f74206c69766560801b60448201526064016107cd565b60065443905f90611cec9060416122e9565b9050808211611d03576019600e819055600f555050565b5f600e819055600f8190556009805463ff0000ff60a01b191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c9190a15050565b6001600160a01b038316611d7257604051634b637e8f60e11b81525f60048201526024016107cd565b6001600160a01b038216611d9b5760405163ec442f0560e01b81525f60048201526024016107cd565b61113a838383611f08565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110611dd957611dd961230f565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6d9190612323565b81600181518110611e8057611e8061230f565b6001600160a01b039092166020928302919091019091015260405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790611ed79085905f9086903090429060040161233e565b5f604051808303815f87803b158015611eee575f80fd5b505af1158015611f00573d5f803e3d5ffd5b505050505050565b6001600160a01b038316611f32578060025f828254611f2791906122e9565b90915550611fa29050565b6001600160a01b0383165f9081526020819052604090205481811015611f845760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016107cd565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611fbe57600280548290039055611fdc565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161202191815260200190565b60405180910390a3505050565b6001600160a01b0381168114610cbb575f80fd5b5f60208284031215612052575f80fd5b813561205d8161202e565b9392505050565b5f6020808352835180828501525f5b8181101561208f57858101830151858201604001528201612073565b505f604082860101526040601f19601f8301168501019250505092915050565b5f80604083850312156120c0575f80fd5b82356120cb8161202e565b946020939093013593505050565b5f805f606084860312156120eb575f80fd5b83356120f68161202e565b925060208401356121068161202e565b929592945050506040919091013590565b5f60208284031215612127575f80fd5b5035919050565b5f805f60608486031215612140575f80fd5b833561214b8161202e565b9250602084013561215b8161202e565b9150604084013561216b8161202e565b809150509250925092565b5f8060408385031215612187575f80fd5b50508035926020909101359150565b8015158114610cbb575f80fd5b5f80604083850312156121b4575f80fd5b82356121bf8161202e565b915060208301356121cf81612196565b809150509250929050565b5f80604083850312156121eb575f80fd5b82356121f68161202e565b915060208301356121cf8161202e565b60208082526015908201527411549493d48e88139bdd08185d5d1a1bdc9a5e9959605a1b604082015260600190565b5f60208284031215612245575f80fd5b5051919050565b5f6020828403121561225c575f80fd5b815161205d81612196565b600181811c9082168061227b57607f821691505b60208210810361229957634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176109a2576109a261229f565b5f826122e457634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156109a2576109a261229f565b818103818111156109a2576109a261229f565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612333575f80fd5b815161205d8161202e565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b8181101561238c5784516001600160a01b031683529383019391830191600101612367565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220412301afc17d61ff4b3ca9f30001a40113767e991c968e664b903fc32c1cc99964736f6c63430008140033
Deployed Bytecode
0x60806040526004361061024c575f3560e01c80637fa787ba11610134578063c0246668116100b3578063d826492011610078578063d82649201461069d578063d85ba063146106c4578063dc3f0d0f146106d9578063dd62ed3e146106f8578063f2fde38b1461073c578063f40acc3d1461075b575f80fd5b8063c024666814610605578063c18bc19514610624578063c74c0fac14610643578063c9567bf91461066a578063d257b34f1461067e575f80fd5b8063a9059cbb116100f9578063a9059cbb14610573578063aa4bde2814610592578063baccf5cf146105a7578063bbc0c742146105c6578063c02174ca146105e6575f80fd5b80637fa787ba146104fa57806388e765ff1461050e5780638da5cb5b146105235780638ea5220f1461054057806395d89b411461055f575f80fd5b8063313ce567116101cb5780636ddd1713116101905780636ddd17131461044a57806370a082311461046a578063715018a61461049e578063751039fc146104b257806375cb1bd1146104c657806376d628b7146104e5575f80fd5b8063313ce567146103c55780634a62bb65146103e05780636057b3eb1461040057806366d602ae146104205780636a486a8e14610435575f80fd5b806310d5de531161021157806310d5de531461030957806318160ddd1461033757806323b872dd1461034b5780632be32b611461036a5780632dc0562d14610389575f80fd5b8063068acf6c1461025757806306fdde0314610278578063095ea7b3146102a25780630a3b39a3146102d15780630e300099146102f4575f80fd5b3661025357005b5f80fd5b348015610262575f80fd5b50610276610271366004612042565b61078e565b005b348015610283575f80fd5b5061028c6108ff565b6040516102999190612064565b60405180910390f35b3480156102ad575f80fd5b506102c16102bc3660046120af565b61098f565b6040519015158152602001610299565b3480156102dc575f80fd5b506102e660065481565b604051908152602001610299565b3480156102ff575f80fd5b506102e6600d5481565b348015610314575f80fd5b506102c1610323366004612042565b60126020525f908152604090205460ff1681565b348015610342575f80fd5b506002546102e6565b348015610356575f80fd5b506102c16103653660046120d9565b6109a8565b348015610375575f80fd5b50610276610384366004612117565b6109cb565b348015610394575f80fd5b506007546103ad9061010090046001600160a01b031681565b6040516001600160a01b039091168152602001610299565b3480156103d0575f80fd5b5060405160128152602001610299565b3480156103eb575f80fd5b506009546102c190600160a01b900460ff1681565b34801561040b575f80fd5b506009546102c190600160b81b900460ff1681565b34801561042b575f80fd5b506102e6600b5481565b348015610440575f80fd5b506102e6600f5481565b348015610455575f80fd5b506009546102c190600160b01b900460ff1681565b348015610475575f80fd5b506102e6610484366004612042565b6001600160a01b03165f9081526020819052604090205490565b3480156104a9575f80fd5b50610276610a98565b3480156104bd575f80fd5b50610276610aab565b3480156104d1575f80fd5b506102766104e036600461212e565b610aea565b3480156104f0575f80fd5b506102e660105481565b348015610505575f80fd5b50610276610be7565b348015610519575f80fd5b506102e6600a5481565b34801561052e575f80fd5b506005546001600160a01b03166103ad565b34801561054b575f80fd5b506008546103ad906001600160a01b031681565b34801561056a575f80fd5b5061028c610cbe565b34801561057e575f80fd5b506102c161058d3660046120af565b610ccd565b34801561059d575f80fd5b506102e6600c5481565b3480156105b2575f80fd5b506102766105c1366004612176565b610cda565b3480156105d1575f80fd5b506009546102c190600160a81b900460ff1681565b3480156105f1575f80fd5b506009546103ad906001600160a01b031681565b348015610610575f80fd5b5061027661061f3660046121a3565b610d24565b34801561062f575f80fd5b5061027661063e366004612117565b610d8a565b34801561064e575f80fd5b506103ad735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f81565b348015610675575f80fd5b50610276610e53565b348015610689575f80fd5b50610276610698366004612117565b610f15565b3480156106a8575f80fd5b506103ad737a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156106cf575f80fd5b506102e6600e5481565b3480156106e4575f80fd5b506102766106f3366004612117565b610ff0565b348015610703575f80fd5b506102e66107123660046121da565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610747575f80fd5b50610276610756366004612042565b6110b7565b348015610766575f80fd5b506103ad7f000000000000000000000000bfe753ae119eabc837a3da0d48fdc34ea8c353bc81565b6005546001600160a01b03163314806107b157506008546001600160a01b031633145b6107d65760405162461bcd60e51b81526004016107cd90612206565b60405180910390fd5b6001600160a01b03811661081e576005546040516001600160a01b03909116904780156108fc02915f818181858888f1935050505015801561081a573d5f803e3d5ffd5b5050565b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610864573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108889190612235565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303815f875af11580156108d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f9919061224c565b50505050565b60606003805461090e90612267565b80601f016020809104026020016040519081016040528092919081815260200182805461093a90612267565b80156109855780601f1061095c57610100808354040283529160200191610985565b820191905f5260205f20905b81548152906001019060200180831161096857829003601f168201915b5050505050905090565b5f3361099c81858561112d565b60019150505b92915050565b5f336109b585828561113f565b6109c08585856111b4565b506001949350505050565b6109d361196a565b6103e86109df60025490565b6109ea9060016122b3565b6109f491906122ca565b811015610a5c5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a2043616e6e6f7420736574206d61782062757920616d6f756e7460448201526f206c6f776572207468616e20302e312560801b60648201526084016107cd565b600a8190556040518181527ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009906020015b60405180910390a150565b610aa061196a565b610aa95f6119c4565b565b610ab361196a565b6009805460ff60a01b191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a1565b6005546001600160a01b0316331480610b0d57506008546001600160a01b031633145b610b295760405162461bcd60e51b81526004016107cd90612206565b6001600160a01b038316151580610b4857506001600160a01b03821615155b80610b5b57506001600160a01b03811615155b610b985760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a590815d85b1b195d60921b60448201526064016107cd565b600880546001600160a01b03199081166001600160a01b0393841617909155600980549091169282169290921790915560078054610100600160a81b0319166101009390921692909202179055565b6005546001600160a01b0316331480610c0a57506008546001600160a01b031633145b610c265760405162461bcd60e51b81526004016107cd90612206565b6040515f90339047908381818185875af1925050503d805f8114610c65576040519150601f19603f3d011682016040523d82523d5f602084013e610c6a565b606091505b5050905080610cbb5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a206661696c656420746f2077697468647261772066756e64730060448201526064016107cd565b50565b60606004805461090e90612267565b5f3361099c8185856111b4565b6005546001600160a01b0316331480610cfd57506008546001600160a01b031633145b610d195760405162461bcd60e51b81526004016107cd90612206565b600e91909155600f55565b610d2c61196a565b6001600160a01b0382165f81815260116020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610d9261196a565b6103e8610d9e60025490565b610da99060036122b3565b610db391906122ca565b811015610e1e5760405162461bcd60e51b815260206004820152603360248201527f4552524f523a2043616e6e6f7420736574206d61782077616c6c657420616d6f604482015272756e74206c6f776572207468616e20302e332560681b60648201526084016107cd565b600c8190556040518181527fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc90602001610a8d565b610e5b61196a565b60065415610eb75760405162461bcd60e51b8152602060048201526024808201527f4552524f523a20546f6b656e20737461746520697320616c7265616479206c696044820152637665202160e01b60648201526084016107cd565b436006556009805461010160a81b61ffff60a81b199091161790819055604051600160a81b90910460ff16151581527fe8a59d3db38e5220ac9d0f72590b7ac876e0916dc8f4db3e7614e6f91fe520899060200160405180910390a1565b6005546001600160a01b0316331480610f3857506008546001600160a01b031633145b610f545760405162461bcd60e51b81526004016107cd90612206565b620186a0610f6160025490565b610f6c9060016122b3565b610f7691906122ca565b811015610feb5760405162461bcd60e51b815260206004820152603c60248201527f4552524f523a205377617020616d6f756e742063616e6e6f74206265206c6f7760448201527f6572207468616e20302e3030312520746f74616c20737570706c792e0000000060648201526084016107cd565b600d55565b610ff861196a565b6103e861100460025490565b61100f9060016122b3565b61101991906122ca565b8110156110825760405162461bcd60e51b815260206004820152603160248201527f4552524f523a2043616e6e6f7420736574206d61782073656c6c20616d6f756e60448201527074206c6f776572207468616e20302e312560781b60648201526084016107cd565b600b8190556040518181527f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e90602001610a8d565b6110bf61196a565b6001600160a01b0381166111245760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107cd565b610cbb816119c4565b61113a8383836001611a15565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146108f957818110156111a657604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016107cd565b6108f984848484035f611a15565b6001600160a01b0383166112185760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107cd565b6001600160a01b03821661127a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107cd565b5f81116112c95760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e203000000060448201526064016107cd565b600954600160a01b900460ff16156116f0576005546001600160a01b0384811691161480159061130757506005546001600160a01b03838116911614155b801561131b57506001600160a01b03821615155b801561133257506001600160a01b03821661dead14155b156116f057600954600160a81b900460ff1661142e576001600160a01b0383165f9081526012602052604090205460ff168061138557506001600160a01b0382165f9081526012602052604090205460ff165b6113d15760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a2054726164696e67206973206e6f74206163746976652e00000060448201526064016107cd565b6005546001600160a01b0384811691161461142e5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a2054726164696e67206973206e6f7420656e61626c656400000060448201526064016107cd565b7f000000000000000000000000bfe753ae119eabc837a3da0d48fdc34ea8c353bc6001600160a01b0316836001600160a01b031614801561148757506001600160a01b0382165f9081526012602052604090205460ff16155b1561156e57600a548111156114f65760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a20427579207472616e7366657220616d6f756e7420657863656560448201526e3239903a34329036b0bc10313abc9760891b60648201526084016107cd565b600c546001600160a01b0383165f9081526020819052604090205461151b90836122e9565b11156115695760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a2043616e6e6f7420457863656564206d61782077616c6c65740060448201526064016107cd565b6116f0565b7f000000000000000000000000bfe753ae119eabc837a3da0d48fdc34ea8c353bc6001600160a01b0316826001600160a01b03161480156115c757506001600160a01b0383165f9081526012602052604090205460ff16155b1561163857600b548111156115695760405162461bcd60e51b815260206004820152603160248201527f4552524f523a2053656c6c207472616e7366657220616d6f756e74206578636560448201527032b239903a34329036b0bc1039b2b6361760791b60648201526084016107cd565b6001600160a01b0382165f9081526012602052604090205460ff1615801561167857506001600160a01b0383165f9081526012602052604090205460ff16155b156116f057600c546001600160a01b0383165f908152602081905260409020546116a290836122e9565b11156116f05760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a2043616e6e6f7420457863656564206d61782077616c6c65740060448201526064016107cd565b305f90815260208190526040902054600d548110801590819061171c5750600954600160b01b900460ff165b801561172b575060075460ff16155b801561176957507f000000000000000000000000bfe753ae119eabc837a3da0d48fdc34ea8c353bc6001600160a01b0316856001600160a01b031614155b801561178d57506001600160a01b0385165f9081526011602052604090205460ff16155b80156117b157506001600160a01b0384165f9081526011602052604090205460ff16155b156117d6576007805460ff191660011790556117cb611ae7565b6007805460ff191690555b6001600160a01b0385165f9081526011602052604090205460019060ff168061181657506001600160a01b0385165f9081526011602052604090205460ff165b1561181e57505f5b5f811561195657600954600160b81b900460ff161561183f5761183f611c96565b7f000000000000000000000000bfe753ae119eabc837a3da0d48fdc34ea8c353bc6001600160a01b0316866001600160a01b031614801561188157505f600f54115b156118be576064600f548661189691906122b3565b6118a091906122ca565b90508060105f8282546118b391906122e9565b909155506119389050565b7f000000000000000000000000bfe753ae119eabc837a3da0d48fdc34ea8c353bc6001600160a01b0316876001600160a01b031614801561190057505f600e54115b15611938576064600e548661191591906122b3565b61191f91906122ca565b90508060105f82825461193291906122e9565b90915550505b801561194957611949873083611d49565b61195381866122fc565b94505b611961878787611d49565b50505050505050565b6005546001600160a01b03163314610aa95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107cd565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038416611a3e5760405163e602df0560e01b81525f60048201526024016107cd565b6001600160a01b038316611a6757604051634a1406b160e11b81525f60048201526024016107cd565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156108f957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611ad991815260200190565b60405180910390a350505050565b305f90815260208190526040902054601054811580611b04575080155b15611b0d575050565b600d54821115611b1d57600d5491505b5f805f611b2985611da6565b475f6064611b388360286122b3565b611b4291906122ca565b90505f6064611b5284600a6122b3565b611b5c91906122ca565b90505f81611b6a84866122fc565b611b7491906122fc565b90508115611bd1576008546040516001600160a01b039091169083905f81818185875af1925050503d805f8114611bc6576040519150601f19603f3d011682016040523d82523d5f602084013e611bcb565b606091505b50909750505b8215611c2c576009546040516001600160a01b039091169084905f81818185875af1925050503d805f8114611c21576040519150601f19603f3d011682016040523d82523d5f602084013e611c26565b606091505b50909650505b8015611c8b576007546040516101009091046001600160a01b03169082905f81818185875af1925050503d805f8114611c80576040519150601f19603f3d011682016040523d82523d5f602084013e611c85565b606091505b50909550505b505050505050505050565b5f60065411611cda5760405162461bcd60e51b815260206004820152601060248201526f54726164696e67206e6f74206c69766560801b60448201526064016107cd565b60065443905f90611cec9060416122e9565b9050808211611d03576019600e819055600f555050565b5f600e819055600f8190556009805463ff0000ff60a01b191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c9190a15050565b6001600160a01b038316611d7257604051634b637e8f60e11b81525f60048201526024016107cd565b6001600160a01b038216611d9b5760405163ec442f0560e01b81525f60048201526024016107cd565b61113a838383611f08565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110611dd957611dd961230f565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6d9190612323565b81600181518110611e8057611e8061230f565b6001600160a01b039092166020928302919091019091015260405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790611ed79085905f9086903090429060040161233e565b5f604051808303815f87803b158015611eee575f80fd5b505af1158015611f00573d5f803e3d5ffd5b505050505050565b6001600160a01b038316611f32578060025f828254611f2791906122e9565b90915550611fa29050565b6001600160a01b0383165f9081526020819052604090205481811015611f845760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016107cd565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611fbe57600280548290039055611fdc565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161202191815260200190565b60405180910390a3505050565b6001600160a01b0381168114610cbb575f80fd5b5f60208284031215612052575f80fd5b813561205d8161202e565b9392505050565b5f6020808352835180828501525f5b8181101561208f57858101830151858201604001528201612073565b505f604082860101526040601f19601f8301168501019250505092915050565b5f80604083850312156120c0575f80fd5b82356120cb8161202e565b946020939093013593505050565b5f805f606084860312156120eb575f80fd5b83356120f68161202e565b925060208401356121068161202e565b929592945050506040919091013590565b5f60208284031215612127575f80fd5b5035919050565b5f805f60608486031215612140575f80fd5b833561214b8161202e565b9250602084013561215b8161202e565b9150604084013561216b8161202e565b809150509250925092565b5f8060408385031215612187575f80fd5b50508035926020909101359150565b8015158114610cbb575f80fd5b5f80604083850312156121b4575f80fd5b82356121bf8161202e565b915060208301356121cf81612196565b809150509250929050565b5f80604083850312156121eb575f80fd5b82356121f68161202e565b915060208301356121cf8161202e565b60208082526015908201527411549493d48e88139bdd08185d5d1a1bdc9a5e9959605a1b604082015260600190565b5f60208284031215612245575f80fd5b5051919050565b5f6020828403121561225c575f80fd5b815161205d81612196565b600181811c9082168061227b57607f821691505b60208210810361229957634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176109a2576109a261229f565b5f826122e457634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156109a2576109a261229f565b818103818111156109a2576109a261229f565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612333575f80fd5b815161205d8161202e565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b8181101561238c5784516001600160a01b031683529383019391830191600101612367565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220412301afc17d61ff4b3ca9f30001a40113767e991c968e664b903fc32c1cc99964736f6c63430008140033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.