Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Launchpad
Overview
Max Total Supply
100,000,000 CHEF
Holders
884 ( -0.113%)
Market
Price
$0.00 @ 0.000000 ETH (+5.42%)
Onchain Market Cap
$79,422.00
Circulating Supply Market Cap
$72,952.00
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Chefdotfun
Compiler Version
v0.8.25+commit.b61c2a91
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.8.25; // SPDX-License-Identifier: MIT /** Let's cook Cryptocurrency Chef.fun is a cutting-edge platform designed to simplify the process of token deployment and provide investors with early access to promising crypto projects that are technically safe. App: https://chef.fun/ Website: https://web.chef.fun/ Documentation: https://chef-fun-organization.gitbook.io/chef.fun Twitter: https://x.com/chefdotfun Telegram Portal: https://t.me/chefdotfun */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @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); } 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); } contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the 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 override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } } contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() external virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } library Address { function isContract(address account) internal view returns (bool) { return account.code.length > 0; } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } library SafeERC20 { using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } function _callOptionalReturn(IERC20 token, bytes memory data) private { bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } } interface ILpPair { function sync() external; } interface IDexRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external; } interface IDexFactory { function createPair(address tokenA, address tokenB) external returns (address pair); } contract Chefdotfun is ERC20, Ownable { mapping (address => bool) public exemptFromFees; mapping (address => bool) public exemptFromLimits; bool public tradingAllowed; mapping (address => bool) public isAMMPair; address public marketingAddress; address public devAddress; uint256 public lastSwapBackBlock; Taxes public buyTax; Taxes public sellTax; uint256 public whitelistStartTime; mapping (address => bool) public whitelistedAddress; bool public whitelistActive = true; TokensForTax public tokensForTax; mapping(address => uint256) private _holderLastTransferBlock; // MEV protection bool public antiMevEnabled = true; bool public limited = true; uint256 public swapTokensAtAmt; address public immutable lpPair; IDexRouter public immutable dexRouter; address public immutable WETH; TxLimits public txLimits; uint64 public constant FEE_DIVISOR = 10000; uint256 public launchBlock; bool public dynamicTaxOn; bool public dynamicLiquidityTax; bool public transferDelayEnabled = false; // structs struct TxLimits { uint128 transactionLimit; uint128 walletLimit; } struct Taxes { uint64 marketingTax; uint64 devTax; uint64 liquidityTax; uint64 totalTax; } struct TokensForTax { uint80 tokensForMarketing; uint80 tokensForLiquidity; uint80 tokensForDev; bool gasSaver; } // events event UpdatedTransactionLimit(uint newMax); event UpdatedWalletLimit(uint newMax); event SetExemptFromFees(address _address, bool _isExempt); event SetExemptFromLimits(address _address, bool _isExempt); event RemovedLimits(); event UpdatedBuyTax(uint newAmt); event UpdatedSellTax(uint newAmt); // constructor constructor() ERC20("Chefdotfun", "CHEF") { _mint(msg.sender, 100_000_000 * 1e18); address _v2Router; dynamicTaxOn = true; dynamicLiquidityTax = false; // @dev assumes WETH pair if(block.chainid == 1){ _v2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; whitelistedAddress[0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD] = true; whitelistedAddress[0x000000fee13a103A10D593b9AE06b3e05F2E7E1c] = true; } else if(block.chainid == 5){ _v2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; } else if(block.chainid == 97){ _v2Router = 0xD99D1c33F9fC3444f8101754aBC46c52416550D1; } else if(block.chainid == 42161){ _v2Router = 0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506; } else if(block.chainid == 8453){ // BASE _v2Router = 0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24; whitelistedAddress[0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD] = true; whitelistedAddress[0x5d64D14D2CF4fe5fe4e65B1c7E3D11e18D493091] = true; } else { revert("Chain not configured"); } dexRouter = IDexRouter(_v2Router); txLimits.transactionLimit = uint128(totalSupply() * 10 / 10000); txLimits.walletLimit = uint128(totalSupply() * 10 / 10000); swapTokensAtAmt = totalSupply() * 25 / 100000; marketingAddress = 0x72a9c7fC3885D5f723eDbC2BA2b88A738de562Ae; // update devAddress = 0xd7858Fd58D6BBDE9347F19428b6cF887cD263183; // update buyTax.marketingTax = 1600; // 1% = 100 buyTax.liquidityTax = 0; buyTax.devTax = 400; buyTax.totalTax = buyTax.marketingTax + buyTax.liquidityTax + buyTax.devTax; sellTax.marketingTax = 1600; sellTax.liquidityTax = 0; sellTax.devTax = 400; sellTax.totalTax = sellTax.marketingTax + sellTax.liquidityTax + sellTax.devTax; tokensForTax.gasSaver = true; WETH = dexRouter.WETH(); lpPair = IDexFactory(dexRouter.factory()).createPair(address(this), WETH); isAMMPair[lpPair] = true; exemptFromLimits[lpPair] = true; exemptFromLimits[msg.sender] = true; exemptFromLimits[address(this)] = true; exemptFromFees[msg.sender] = true; exemptFromFees[address(this)] = true; exemptFromFees[address(dexRouter)] = true; _approve(address(this), address(dexRouter), type(uint256).max); _approve(address(msg.sender), address(dexRouter), totalSupply()); } function _transfer( address from, address to, uint256 amount ) internal virtual override { if(!exemptFromFees[from] && !exemptFromFees[to]){ require(tradingAllowed, "Trading not active"); amount -= handleTax(from, to, amount); checkLimits(from, to, amount); } super._transfer(from,to,amount); } function checkLimits(address from, address to, uint256 amount) internal { if(limited){ bool exFromLimitsTo = exemptFromLimits[to]; uint256 balanceOfTo = balanceOf(to); TxLimits memory _txLimits = txLimits; if(whitelistActive){ if(whitelistStartTime + 5 minutes > block.timestamp){ if (isAMMPair[from] && !exFromLimitsTo) { require(whitelistedAddress[to], "Not whitelisted"); } else if (isAMMPair[to] && !exemptFromLimits[from]) { require(whitelistedAddress[from], "Not whitelisted"); } else if(!exFromLimitsTo) { require(whitelistedAddress[to] && whitelistedAddress[from], "Not whitelisted"); } } else { whitelistActive = false; launchBlock = block.number; transferDelayEnabled = true; } } // buy if (isAMMPair[from] && !exFromLimitsTo) { require(amount <= _txLimits.transactionLimit, "Max Txn"); require(amount + balanceOfTo <= _txLimits.walletLimit, "Max Wallet"); } // sell else if (isAMMPair[to] && !exemptFromLimits[from]) { require(amount <= _txLimits.transactionLimit, "Max Txn"); } else if(!exFromLimitsTo) { require(amount + balanceOfTo <= _txLimits.walletLimit, "Max Wallet"); } if(transferDelayEnabled){ if (to != address(dexRouter) && to != address(lpPair)){ require(_holderLastTransferBlock[tx.origin] < block.number, "Transfer Delay"); if(from == address(lpPair)){ require(tx.origin == to, "no buying to external wallets yet"); } } } } if (antiMevEnabled){ if(isAMMPair[to]){ require(_holderLastTransferBlock[from] < block.number, "Anti MEV"); } else { _holderLastTransferBlock[to] = block.number; _holderLastTransferBlock[tx.origin] = block.number; } } } function handleTax(address from, address to, uint256 amount) internal returns (uint256){ if(balanceOf(address(this)) >= swapTokensAtAmt && isAMMPair[to] && lastSwapBackBlock + 1 <= block.number) { convertTaxes(); } if(dynamicTaxOn && !whitelistActive){ setInternalTaxes(); } uint128 tax = 0; Taxes memory taxes; if (isAMMPair[to]){ taxes = sellTax; } else if(isAMMPair[from]){ taxes = buyTax; } if(taxes.totalTax > 0){ TokensForTax memory tokensForTaxUpdate = tokensForTax; tax = uint128(amount * taxes.totalTax / FEE_DIVISOR); tokensForTaxUpdate.tokensForLiquidity += uint80(tax * taxes.liquidityTax / taxes.totalTax / 1e9); tokensForTaxUpdate.tokensForMarketing += uint80(tax * taxes.marketingTax / taxes.totalTax / 1e9); tokensForTaxUpdate.tokensForDev += uint80(tax * taxes.devTax / taxes.totalTax / 1e9); tokensForTax = tokensForTaxUpdate; super._transfer(from, address(this), tax); } return tax; } function swapTokensForETH(uint256 tokenAmt) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = WETH; dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmt, 0, path, address(this), block.timestamp ); } function convertTaxes() private { uint256 contractBalance = balanceOf(address(this)); TokensForTax memory tokensForTaxMem = tokensForTax; uint256 totalTokensToSwap = uint256(tokensForTaxMem.tokensForLiquidity) + uint256(tokensForTaxMem.tokensForMarketing) + uint256(tokensForTaxMem.tokensForDev); if(contractBalance == 0 || totalTokensToSwap == 0) {return;} lastSwapBackBlock = block.number; if(contractBalance > swapTokensAtAmt * 20){ contractBalance = swapTokensAtAmt * 20; } if(tokensForTaxMem.tokensForLiquidity > 0){ uint256 liquidityTokens = contractBalance * tokensForTaxMem.tokensForLiquidity / totalTokensToSwap; super._transfer(address(this), lpPair, liquidityTokens); try ILpPair(lpPair).sync(){} catch {} contractBalance -= liquidityTokens; totalTokensToSwap -= tokensForTaxMem.tokensForLiquidity; } if(contractBalance > 0){ swapTokensForETH(contractBalance); uint256 ethBalance = address(this).balance; bool success; if(tokensForTaxMem.tokensForDev > 0){ (success,) = devAddress.call{value: ethBalance * tokensForTaxMem.tokensForDev / totalTokensToSwap}(""); } ethBalance = address(this).balance; if(ethBalance > 0){ (success,) = marketingAddress.call{value: ethBalance}(""); } } tokensForTaxMem.tokensForLiquidity = 0; tokensForTaxMem.tokensForMarketing = 0; tokensForTaxMem.tokensForDev = 0; tokensForTax = tokensForTaxMem; } // owner functions function setExemptFromFee(address _address, bool _isExempt) external onlyOwner { require(_address != address(0), "Zero Address"); require(_address != address(this), "Cannot unexempt contract"); exemptFromFees[_address] = _isExempt; emit SetExemptFromFees(_address, _isExempt); } function setExemptFromLimit(address _address, bool _isExempt) external onlyOwner { require(_address != address(0), "Zero Address"); if(!_isExempt){ require(_address != lpPair, "Cannot remove pair"); } exemptFromLimits[_address] = _isExempt; emit SetExemptFromLimits(_address, _isExempt); } function updateTransactionLimit(uint128 newNumInTokens) external onlyOwner { require(newNumInTokens >= (totalSupply() * 1 / 1000)/(10**decimals()), "Too low"); txLimits.transactionLimit = uint128(newNumInTokens * (10**decimals())); emit UpdatedTransactionLimit(txLimits.transactionLimit); } function updateWalletLimit(uint128 newNumInTokens) external onlyOwner { require(newNumInTokens >= (totalSupply() * 1 / 1000)/(10**decimals()), "Too low"); txLimits.walletLimit = uint128(newNumInTokens * (10**decimals())); emit UpdatedWalletLimit(txLimits.walletLimit); } function updateSwapTokensAmt(uint256 newAmount) external onlyOwner { require(newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply."); require(newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply."); swapTokensAtAmt = newAmount; } function updateBuyTax(uint64 _marketingTax, uint64 _liquidityTax, uint64 _devTax) external onlyOwner { Taxes memory taxes; taxes.marketingTax = _marketingTax; taxes.liquidityTax = _liquidityTax; taxes.devTax = _devTax; taxes.totalTax = _marketingTax + _liquidityTax + _devTax; require(taxes.totalTax <= 1000, "Keep tax below 10%"); emit UpdatedBuyTax(taxes.totalTax); buyTax = taxes; } function updateSellTax(uint64 _marketingTax, uint64 _liquidityTax, uint64 _devTax) external onlyOwner { Taxes memory taxes; taxes.marketingTax = _marketingTax; taxes.liquidityTax = _liquidityTax; taxes.devTax = _devTax; taxes.totalTax = _marketingTax + _liquidityTax + _devTax; require(taxes.totalTax <= 1000, "Keep tax below 10%"); emit UpdatedSellTax(taxes.totalTax); sellTax = taxes; } function renounceDevTax() external { require(msg.sender == devAddress, "Not dev"); Taxes memory buyTaxes = buyTax; buyTaxes.marketingTax += buyTaxes.devTax; buyTaxes.devTax = 0; buyTax = buyTaxes; Taxes memory sellTaxes = sellTax; sellTaxes.marketingTax += sellTaxes.devTax; sellTaxes.devTax = 0; sellTax = sellTaxes; } function enableTrading() external onlyOwner { require(!tradingAllowed, "Trading already enabled"); tradingAllowed = true; lastSwapBackBlock = block.number; whitelistStartTime = block.timestamp; } function removeLimits() external onlyOwner { limited = false; TxLimits memory _txLimits; uint256 supply = totalSupply(); _txLimits.transactionLimit = uint128(supply); _txLimits.walletLimit = uint128(supply); txLimits = _txLimits; emit RemovedLimits(); } function updateMevBlockerEnabled(bool _enabled) external onlyOwner { antiMevEnabled = _enabled; } function removeTransferDelay() external onlyOwner { require(transferDelayEnabled, "Already disabled!"); transferDelayEnabled = false; } function airdropToWallets(address[] calldata wallets, uint256[] calldata amountsInWei) external onlyOwner { require(wallets.length == amountsInWei.length, "arrays length mismatch"); for(uint256 i = 0; i < wallets.length; i++){ super._transfer(msg.sender, wallets[i], amountsInWei[i]); } } function whitelistWallets(address[] calldata wallets, bool _whitelist) external onlyOwner { for(uint256 i = 0; i < wallets.length; i++){ whitelistedAddress[wallets[i]] = _whitelist; } } function shutOffWhitelist() external onlyOwner { require(whitelistActive, "Whitelist not active"); whitelistActive = false; launchBlock = block.number; transferDelayEnabled = true; } function rescueTokens(address _token, address _to) external onlyOwner { require(_token != address(0), "_token address cannot be 0"); uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); SafeERC20.safeTransfer(IERC20(_token),_to, _contractBalance); } function updateMarketingAddress(address _address) external onlyOwner { require(_address != address(0), "zero address"); marketingAddress = _address; } function updateDevAddress(address _address) external onlyOwner { require(_address != address(0), "zero address"); devAddress = _address; } function removeDynamicTax() external onlyOwner { require(dynamicTaxOn, "Already off"); dynamicTaxOn = false; } receive() payable external {} function setInternalTaxes() internal { Taxes memory newBuyTax = buyTax; Taxes memory newSellTax = sellTax; TxLimits memory _txLimits = txLimits; uint256 currentBlock = block.number; uint256 blocksSinceLaunch = currentBlock - launchBlock; uint256 decay = blocksSinceLaunch / 10; if(decay >= 11){ dynamicTaxOn = false; newBuyTax.totalTax = 500; newSellTax.totalTax = 500; limited = false; uint256 supply = totalSupply(); _txLimits.transactionLimit = uint128(supply); _txLimits.walletLimit = uint128(supply); txLimits = _txLimits; emit RemovedLimits(); } else if (decay > 0) { newBuyTax.totalTax = uint64(2000 - (decay * 100)); newSellTax.totalTax = uint64(2000 - (decay * 100)); _txLimits.transactionLimit = uint128(totalSupply() * decay / 1000); _txLimits.walletLimit = uint128(totalSupply() * decay / 1000); } if(buyTax.totalTax != newBuyTax.totalTax){ if(dynamicLiquidityTax){ newBuyTax.marketingTax = newBuyTax.totalTax * 6 / 10; newBuyTax.liquidityTax = newBuyTax.totalTax * 2 / 10; } else { newBuyTax.marketingTax = newBuyTax.totalTax * 8 / 10; newBuyTax.liquidityTax = 0; } newBuyTax.devTax = newBuyTax.totalTax - newBuyTax.marketingTax - newBuyTax.liquidityTax; buyTax = newBuyTax; } if(sellTax.totalTax != newSellTax.totalTax){ if(dynamicLiquidityTax){ newSellTax.marketingTax = newSellTax.totalTax * 6 / 10; newSellTax.liquidityTax = newSellTax.totalTax * 2 / 10; } else { newSellTax.marketingTax = newSellTax.totalTax * 8 / 10; newSellTax.liquidityTax = 0; } newSellTax.devTax = newSellTax.totalTax - newSellTax.marketingTax - newSellTax.liquidityTax; sellTax = newSellTax; } if(_txLimits.transactionLimit != txLimits.transactionLimit){ txLimits = _txLimits; } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"SetExemptFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"SetExemptFromLimits","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":"newAmt","type":"uint256"}],"name":"UpdatedBuyTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedSellTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"UpdatedTransactionLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"UpdatedWalletLimit","type":"event"},{"inputs":[],"name":"FEE_DIVISOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint256[]","name":"amountsInWei","type":"uint256[]"}],"name":"airdropToWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"antiMevEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax","outputs":[{"internalType":"uint64","name":"marketingTax","type":"uint64"},{"internalType":"uint64","name":"devTax","type":"uint64"},{"internalType":"uint64","name":"liquidityTax","type":"uint64"},{"internalType":"uint64","name":"totalTax","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dexRouter","outputs":[{"internalType":"contract IDexRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dynamicLiquidityTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dynamicTaxOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"exemptFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"exemptFromLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAMMPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastSwapBackBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limited","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAddress","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeDynamicTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeTransferDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceDevTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint64","name":"marketingTax","type":"uint64"},{"internalType":"uint64","name":"devTax","type":"uint64"},{"internalType":"uint64","name":"liquidityTax","type":"uint64"},{"internalType":"uint64","name":"totalTax","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"setExemptFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"setExemptFromLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shutOffWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTax","outputs":[{"internalType":"uint80","name":"tokensForMarketing","type":"uint80"},{"internalType":"uint80","name":"tokensForLiquidity","type":"uint80"},{"internalType":"uint80","name":"tokensForDev","type":"uint80"},{"internalType":"bool","name":"gasSaver","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"txLimits","outputs":[{"internalType":"uint128","name":"transactionLimit","type":"uint128"},{"internalType":"uint128","name":"walletLimit","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_marketingTax","type":"uint64"},{"internalType":"uint64","name":"_liquidityTax","type":"uint64"},{"internalType":"uint64","name":"_devTax","type":"uint64"}],"name":"updateBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"updateDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"updateMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"updateMevBlockerEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_marketingTax","type":"uint64"},{"internalType":"uint64","name":"_liquidityTax","type":"uint64"},{"internalType":"uint64","name":"_devTax","type":"uint64"}],"name":"updateSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"newNumInTokens","type":"uint128"}],"name":"updateTransactionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"newNumInTokens","type":"uint128"}],"name":"updateWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"bool","name":"_whitelist","type":"bool"}],"name":"whitelistWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60e06040526011805460ff191660011790556014805461010161ffff199091161790556018805462ff000019169055348015610039575f80fd5b506040518060400160405280600a81526020016921b432b33237ba333ab760b11b8152506040518060400160405280600481526020016321a422a360e11b8152508160039081610089919061096e565b506004610096828261096e565b5050505f6100a86106ec60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250905f907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061010a336a52b7d2dcc80cd2e40000006106f0565b6018805461ffff191660019081179091555f904690036101a0575060106020525f80516020614a768339815191528054600160ff19918216811790925570fee13a103a10d593b9ae06b3e05f2e7e1c5f527f7459047b7e5793814c8b045861cbc499ecbb52190e4e73936903011a823a184b80549091169091179055737a250d5630b4cf539739df2c5dacb4c659f2488d6102df565b466005036101c35750737a250d5630b4cf539739df2c5dacb4c659f2488d6102df565b466061036101e6575073d99d1c33f9fc3444f8101754abc46c52416550d16102df565b4661a4b10361020a5750731b02da8cb0d097eb8d57a175b88c7d8b479975066102df565b4661210503610292575060106020525f80516020614a768339815191528054600160ff199182168117909255735d64d14d2cf4fe5fe4e65b1c7e3d11e18d4930915f527fb54756be539d49c08924f97b75665d52d12e92acd0af82842fc0c265f4b6df1080549091169091179055734752ba5dbc23f44d87826276bf6fd6b1c372ad246102df565b60405162461bcd60e51b815260206004820152601460248201527f436861696e206e6f7420636f6e6669677572656400000000000000000000000060448201526064015b60405180910390fd5b6001600160a01b03811660a0526127106102f860025490565b61030390600a610a41565b61030d9190610a5e565b601680546001600160801b0319166001600160801b039290921691909117905561271061033960025490565b61034490600a610a41565b61034e9190610a5e565b601680546001600160801b03928316600160801b029216919091179055620186a061037860025490565b610383906019610a41565b61038d9190610a5e565b601555600a80547372a9c7fc3885d5f723edbc2ba2b88a738de562ae6001600160a01b031991821617909155600b805473d7858fd58d6bbde9347f19428b6cf887cd2631839216919091179055600d80546001600160c01b031916690190000000000000064017908190556001600160401b0368010000000000000000820481169161042491600160801b90910416610640610a7d565b61042e9190610a7d565b600d80546001600160c01b0316600160c01b6001600160401b0393841602179055600e80546001600160c01b0319166901900000000000000640179081905568010000000000000000810482169161049091600160801b900416610640610a7d565b61049a9190610a7d565b600e80546001600160401b0392909216600160c01b026001600160c01b039092169190911790556012805460ff60f01b1916600160f01b17905560a051604080516315ab88c960e31b815290516001600160a01b039092169163ad5c4648916004808201926020929091908290030181865afa15801561051c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105409190610aa4565b6001600160a01b031660c0816001600160a01b03168152505060a0516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610597573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105bb9190610aa4565b60c0516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303815f875af1158015610609573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061062d9190610aa4565b6001600160a01b0390811660808190525f9081526009602090815260408083208054600160ff19918216811790925560078452828520805482168317905533808652838620805483168417905530808752848720805484168517905590865260069094528285208054821683179055838552828520805482168317905560a05195861685529190932080549091169092179091556106cc915f196107b3565b6106e63360a0516106e16107ad60201b60201c565b6107b3565b50610ae4565b3390565b6001600160a01b0382166107465760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016102d6565b8060025f8282546107579190610ad1565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60025490565b6001600160a01b0383166108155760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016102d6565b6001600160a01b0382166108765760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016102d6565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806108fe57607f821691505b60208210810361091c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561096957805f5260205f20601f840160051c810160208510156109475750805b601f840160051c820191505b81811015610966575f8155600101610953565b50505b505050565b81516001600160401b03811115610987576109876108d6565b61099b8161099584546108ea565b84610922565b602080601f8311600181146109ce575f84156109b75750858301515b5f19600386901b1c1916600185901b178555610a25565b5f85815260208120601f198616915b828110156109fc578886015182559484019460019091019084016109dd565b5085821015610a1957878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610a5857610a58610a2d565b92915050565b5f82610a7857634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160401b03818116838216019080821115610a9d57610a9d610a2d565b5092915050565b5f60208284031215610ab4575f80fd5b81516001600160a01b0381168114610aca575f80fd5b9392505050565b80820180821115610a5857610a58610a2d565b60805160a05160c051613f30610b465f395f8181610985015261361b01525f81816103df01528181612b28015261367201525f81816105aa01528181611d4b01528181612b6501528181612bef01528181612ef70152612f1e0152613f305ff3fe608060405260043610610374575f3560e01c806375808631116101c8578063ad5c4648116100fd578063c876d0b91161009d578063dd62ed3e1161006d578063dd62ed3e14610b05578063f270fde414610b24578063f2fde38b14610b6e578063f8686f0714610b8d575f80fd5b8063c876d0b914610a74578063cc1776d314610a93578063ccad03e114610ad1578063d00efb2f14610af0575f80fd5b8063bbd9e5b4116100d8578063bbd9e5b4146109f3578063bedafd0114610a12578063c30796ab14610a31578063c78d0fa014610a5f575f80fd5b8063ad5c464814610974578063b0249cc6146109a7578063bba3325d146109d5575f80fd5b80639292caaf116101685780639e93ad8e116101435780639e93ad8e146108ea578063a457c2d714610917578063a5ece94114610936578063a9059cbb14610955575f80fd5b80639292caaf146108ad57806395d89b41146108c25780639e7261af146108d6575f80fd5b80638a8c523c116101a35780638a8c523c1461082f5780638becc57d146108435780638d3e6e40146108625780638da5cb5b14610890575f80fd5b806375808631146107de57806385033762146107f2578063860a32ec14610811575f80fd5b80633ad10ef6116102a95780635a90a49e116102495780636d7adcad116102195780636d7adcad1461070e57806370a0823114610782578063715018a6146107b6578063751039fc146107ca575f80fd5b80635a90a49e14610694578063627e9d8e146106c257806366ebd39a146106db5780636a7bd94b146106fa575f80fd5b80634f7041a5116102845780634f7041a5146105cc57806353371be01461063d5780635431c94e146106565780635975899414610675575f80fd5b80633ad10ef614610565578063432e95a514610584578063452ed4f114610599575f80fd5b80632369bf8311610314578063313ce567116102ef578063313ce567146104f3578063362919a71461050e57806336e18e19146105275780633950935114610546575f80fd5b80632369bf831461049657806323b872dd146104b5578063286965a7146104d4575f80fd5b8063095ea7b31161034f578063095ea7b31461041957806318160ddd1461043857806321045918146104565780632307b44114610477575f80fd5b806302ce58131461037f57806306fdde03146103ad5780630758d924146103ce575f80fd5b3661037b57005b5f80fd5b34801561038a575f80fd5b506011546103989060ff1681565b60405190151581526020015b60405180910390f35b3480156103b8575f80fd5b506103c1610ba1565b6040516103a4919061384a565b3480156103d9575f80fd5b506104017f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016103a4565b348015610424575f80fd5b5061039861043336600461389a565b610c31565b348015610443575f80fd5b506002545b6040519081526020016103a4565b348015610461575f80fd5b506104756104703660046138c2565b610c4a565b005b348015610482575f80fd5b50610475610491366004613920565b610d9e565b3480156104a1575f80fd5b506104756104b0366004613986565b610e72565b3480156104c0575f80fd5b506103986104cf3660046139a6565b610f03565b3480156104df575f80fd5b506104756104ee3660046139f5565b610f26565b3480156104fe575f80fd5b50604051601281526020016103a4565b348015610519575f80fd5b506018546103989060ff1681565b348015610532575f80fd5b50610475610541366004613a35565b61109e565b348015610551575f80fd5b5061039861056036600461389a565b6111b6565b348015610570575f80fd5b50600b54610401906001600160a01b031681565b34801561058f575f80fd5b50610448600c5481565b3480156105a4575f80fd5b506104017f000000000000000000000000000000000000000000000000000000000000000081565b3480156105d7575f80fd5b50600d5461060a906001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b604080516001600160401b03958616815293851660208501529184169183019190915290911660608201526080016103a4565b348015610648575f80fd5b506008546103989060ff1681565b348015610661575f80fd5b50610475610670366004613a5b565b6111d7565b348015610680575f80fd5b5061047561068f366004613a9c565b6112d1565b34801561069f575f80fd5b506103986106ae366004613986565b60066020525f908152604090205460ff1681565b3480156106cd575f80fd5b506014546103989060ff1681565b3480156106e6575f80fd5b506104756106f5366004613a35565b61130e565b348015610705575f80fd5b50610475611422565b348015610719575f80fd5b5060125461074d906001600160501b0380821691600160501b8104821691600160a01b82041690600160f01b900460ff1684565b6040516103a494939291906001600160501b039485168152928416602084015292166040820152901515606082015260800190565b34801561078d575f80fd5b5061044861079c366004613986565b6001600160a01b03165f9081526020819052604090205490565b3480156107c1575f80fd5b506104756114b6565b3480156107d5575f80fd5b50610475611529565b3480156107e9575f80fd5b506104756115c9565b3480156107fd575f80fd5b5061047561080c366004613986565b61176e565b34801561081c575f80fd5b5060145461039890610100900460ff1681565b34801561083a575f80fd5b506104756117ff565b34801561084e575f80fd5b5061047561085d3660046139f5565b611893565b34801561086d575f80fd5b5061039861087c366004613986565b60076020525f908152604090205460ff1681565b34801561089b575f80fd5b506005546001600160a01b0316610401565b3480156108b8575f80fd5b50610448600f5481565b3480156108cd575f80fd5b506103c1611a0b565b3480156108e1575f80fd5b50610475611a1a565b3480156108f5575f80fd5b506108ff61271081565b6040516001600160401b0390911681526020016103a4565b348015610922575f80fd5b5061039861093136600461389a565b611a90565b348015610941575f80fd5b50600a54610401906001600160a01b031681565b348015610960575f80fd5b5061039861096f36600461389a565b611b0a565b34801561097f575f80fd5b506104017f000000000000000000000000000000000000000000000000000000000000000081565b3480156109b2575f80fd5b506103986109c1366004613986565b60096020525f908152604090205460ff1681565b3480156109e0575f80fd5b5060185461039890610100900460ff1681565b3480156109fe575f80fd5b50610475610a0d366004613ab7565b611b17565b348015610a1d575f80fd5b50610475610a2c366004613b09565b611bab565b348015610a3c575f80fd5b50610398610a4b366004613986565b60106020525f908152604090205460ff1681565b348015610a6a575f80fd5b5061044860155481565b348015610a7f575f80fd5b506018546103989062010000900460ff1681565b348015610a9e575f80fd5b50600e5461060a906001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b348015610adc575f80fd5b50610475610aeb366004613b09565b611cd5565b348015610afb575f80fd5b5061044860175481565b348015610b10575f80fd5b50610448610b1f366004613a5b565b611e1a565b348015610b2f575f80fd5b50601654610b4e906001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152016103a4565b348015610b79575f80fd5b50610475610b88366004613986565b611e44565b348015610b98575f80fd5b50610475611f2e565b606060038054610bb090613b3e565b80601f0160208091040260200160405190810160405280929190818152602001828054610bdc90613b3e565b8015610c275780601f10610bfe57610100808354040283529160200191610c27565b820191905f5260205f20905b815481529060010190602001808311610c0a57829003601f168201915b5050505050905090565b5f33610c3e818585611fb2565b60019150505b92915050565b6005546001600160a01b03163314610c7d5760405162461bcd60e51b8152600401610c7490613b76565b60405180910390fd5b620186a0610c8a60025490565b610c95906001613bbf565b610c9f9190613bea565b811015610d0c5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610c74565b6103e8610d1860025490565b610d23906005613bbf565b610d2d9190613bea565b811115610d995760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610c74565b601555565b6005546001600160a01b03163314610dc85760405162461bcd60e51b8152600401610c7490613b76565b828114610e105760405162461bcd60e51b81526020600482015260166024820152750c2e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b6044820152606401610c74565b5f5b83811015610e6b57610e6333868684818110610e3057610e30613bfd565b9050602002016020810190610e459190613986565b858585818110610e5757610e57613bfd565b905060200201356120d5565b600101610e12565b5050505050565b6005546001600160a01b03163314610e9c5760405162461bcd60e51b8152600401610c7490613b76565b6001600160a01b038116610ee15760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610c74565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b5f33610f10858285612278565b610f1b8585856122ea565b506001949350505050565b6005546001600160a01b03163314610f505760405162461bcd60e51b8152600401610c7490613b76565b604080516080810182525f60608201526001600160401b03858116825284811692820192909252908216602082015281610f8a8486613c11565b610f949190613c11565b6001600160401b0316606082018190526103e81015610fea5760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610c74565b60608101516040516001600160401b0390911681527fa02824f65350567bc405e202b741e7ca6274004a9feeb44149df72b8bd599c979060200160405180910390a18051600e8054602084015160408501516060909501516001600160401b03908116600160c01b026001600160c01b03968216600160801b02969096166001600160801b03928216600160401b026001600160801b03199094169190951617919091171691909117919091179055505050565b6005546001600160a01b031633146110c85760405162461bcd60e51b8152600401610c7490613b76565b6110d46012600a613d18565b6103e86110e060025490565b6110eb906001613bbf565b6110f59190613bea565b6110ff9190613bea565b816001600160801b031610156111415760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610c74565b61114d6012600a613d18565b611160906001600160801b038316613bbf565b601680546001600160801b0319166001600160801b039290921691821790556040519081527f6710da7d4acedae09cb83751ae24c150719ef67dcbc1e02049f171d13c6b44e6906020015b60405180910390a150565b5f33610c3e8185856111c88383611e1a565b6111d29190613d26565b611fb2565b6005546001600160a01b031633146112015760405162461bcd60e51b8152600401610c7490613b76565b6001600160a01b0382166112575760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610c74565b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa15801561129b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112bf9190613d39565b90506112cc8383836123a3565b505050565b6005546001600160a01b031633146112fb5760405162461bcd60e51b8152600401610c7490613b76565b6014805460ff1916911515919091179055565b6005546001600160a01b031633146113385760405162461bcd60e51b8152600401610c7490613b76565b6113446012600a613d18565b6103e861135060025490565b61135b906001613bbf565b6113659190613bea565b61136f9190613bea565b816001600160801b031610156113b15760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610c74565b6113bd6012600a613d18565b6113d0906001600160801b038316613bbf565b601680546001600160801b03908116600160801b93821684021791829055604051929091041681527fde064515fae8f8bb6d8ff19d2c6ba704322def7494147d8a971266430ade0788906020016111ab565b6005546001600160a01b0316331461144c5760405162461bcd60e51b8152600401610c7490613b76565b60115460ff166114955760405162461bcd60e51b815260206004820152601460248201527357686974656c697374206e6f742061637469766560601b6044820152606401610c74565b6011805460ff19169055436017556018805462ff0000191662010000179055565b6005546001600160a01b031633146114e05760405162461bcd60e51b8152600401610c7490613b76565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146115535760405162461bcd60e51b8152600401610c7490613b76565b6014805461ff0019169055604080518082019091525f80825260208201525f61157b60025490565b6001600160801b03811680845260208401819052600160801b8102176016556040519091507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a15050565b600b546001600160a01b0316331461160d5760405162461bcd60e51b81526020600482015260076024820152662737ba103232bb60c91b6044820152606401610c74565b60408051608081018252600d546001600160401b03808216808452600160401b8304821660208501819052600160801b8404831695850195909552600160c01b9092041660608301529091908290611666908390613c11565b6001600160401b039081169091525f6020848101919091528351600d80546040808801516060808a01519588166001600160c01b031990941693909317600160801b9188168202176001600160c01b0316600160c01b9588168602179093558051608081018252600e54808816808352600160401b8204891697830188905294810488169282019290925293900490941693820193909352925090829061170e908390613c11565b6001600160401b039081169091525f60208401528251600e805460408601516060909601519284166001600160c01b031990911617600160801b95841695909502949094176001600160c01b0316600160c01b9190921602179091555050565b6005546001600160a01b031633146117985760405162461bcd60e51b8152600401610c7490613b76565b6001600160a01b0381166117dd5760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610c74565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146118295760405162461bcd60e51b8152600401610c7490613b76565b60085460ff161561187c5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610c74565b6008805460ff1916600117905543600c5542600f55565b6005546001600160a01b031633146118bd5760405162461bcd60e51b8152600401610c7490613b76565b604080516080810182525f60608201526001600160401b038581168252848116928201929092529082166020820152816118f78486613c11565b6119019190613c11565b6001600160401b0316606082018190526103e810156119575760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610c74565b60608101516040516001600160401b0390911681527f5380a61520019ce8270d583f62f1b2b9f4f4372e1acaaf708f4865cecece05089060200160405180910390a18051600d8054602084015160408501516060909501516001600160401b03908116600160c01b026001600160c01b03968216600160801b02969096166001600160801b03928216600160401b026001600160801b03199094169190951617919091171691909117919091179055505050565b606060048054610bb090613b3e565b6005546001600160a01b03163314611a445760405162461bcd60e51b8152600401610c7490613b76565b60185460ff16611a845760405162461bcd60e51b815260206004820152600b60248201526a20b63932b0b23c9037b33360a91b6044820152606401610c74565b6018805460ff19169055565b5f3381611a9d8286611e1a565b905083811015611afd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c74565b610f1b8286868403611fb2565b5f33610c3e8185856122ea565b6005546001600160a01b03163314611b415760405162461bcd60e51b8152600401610c7490613b76565b5f5b82811015611ba5578160105f868685818110611b6157611b61613bfd565b9050602002016020810190611b769190613986565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600101611b43565b50505050565b6005546001600160a01b03163314611bd55760405162461bcd60e51b8152600401610c7490613b76565b6001600160a01b038216611c1a5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610c74565b306001600160a01b03831603611c725760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420756e6578656d707420636f6e747261637400000000000000006044820152606401610c74565b6001600160a01b0382165f81815260066020908152604091829020805460ff19168515159081179091558251938452908301527f998cce27cbf44405c67eb636a634d5e2f2e6ff248b3d71fbbbb022f3c4c6dd2d91015b60405180910390a15050565b6005546001600160a01b03163314611cff5760405162461bcd60e51b8152600401610c7490613b76565b6001600160a01b038216611d445760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610c74565b80611dbf577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603611dbf5760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b6b7bb32903830b4b960711b6044820152606401610c74565b6001600160a01b0382165f81815260076020908152604091829020805460ff19168515159081179091558251938452908301527f8f9f40630a1d139e6cf69b4f447ca47a36f10a017524efaa38252e516fa227ce9101611cc9565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6005546001600160a01b03163314611e6e5760405162461bcd60e51b8152600401610c7490613b76565b6001600160a01b038116611ed35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c74565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611f585760405162461bcd60e51b8152600401610c7490613b76565b60185462010000900460ff16611fa45760405162461bcd60e51b8152602060048201526011602482015270416c72656164792064697361626c65642160781b6044820152606401610c74565b6018805462ff000019169055565b6001600160a01b0383166120145760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c74565b6001600160a01b0382166120755760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c74565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166121395760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c74565b6001600160a01b03821661219b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c74565b6001600160a01b0383165f90815260208190526040902054818110156122125760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c74565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b5f6122838484611e1a565b90505f198114611ba557818110156122dd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c74565b611ba58484848403611fb2565b6001600160a01b0383165f9081526006602052604090205460ff1615801561232a57506001600160a01b0382165f9081526006602052604090205460ff16155b156123985760085460ff166123765760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610c74565b6123818383836123f5565b61238b9082613d50565b905061239883838361278e565b6112cc8383836120d5565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526112cc908490612d2e565b601554305f9081526020819052604081205490911115801561242e57506001600160a01b0383165f9081526009602052604090205460ff165b8015612448575043600c5460016124459190613d26565b11155b1561245557612455612dff565b60185460ff16801561246a575060115460ff16155b15612477576124776130e5565b604080516080810182525f8082526020808301829052828401829052606083018290526001600160a01b0387168252600990529182205460ff1615612503575060408051608081018252600e546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b9004909116606082015261256c565b6001600160a01b0386165f9081526009602052604090205460ff161561256c575060408051608081018252600d546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b900490911660608201525b60608101516001600160401b03161561277c57604080516080810182526012546001600160501b038082168352600160501b820481166020840152600160a01b82041692820192909252600160f01b90910460ff161515606080830191909152820151612710906125e6906001600160401b031687613bbf565b6125f09190613bea565b9250633b9aca0082606001516001600160401b031683604001516001600160401b03168561261e9190613d63565b6126289190613d8e565b6126329190613d8e565b816020018181516126439190613db3565b6001600160501b031690525060608201518251633b9aca00916001600160401b0390811691612673911686613d63565b61267d9190613d8e565b6126879190613d8e565b81518290612696908390613db3565b6001600160501b031690525060608201516020830151633b9aca00916001600160401b03908116916126c9911686613d63565b6126d39190613d8e565b6126dd9190613d8e565b816040018181516126ee9190613db3565b6001600160501b039081169091528251601280546020860151604087015160608801511515600160f01b0260ff60f01b19918716600160a01b02919091166affffffffffffffffffffff60a01b19928716600160501b026001600160a01b031990941695909616949094179190911716929092171790555061277a87306001600160801b0386166120d5565b505b506001600160801b0316949350505050565b601454610100900460ff1615612c8c576001600160a01b0382165f90815260076020908152604080832054838352928190205481518083019092526016546001600160801b038082168452600160801b909104169282019290925260115460ff93841693161561296f5742600f5461012c6128099190613d26565b111561294f576001600160a01b0386165f9081526009602052604090205460ff168015612834575082155b15612875576001600160a01b0385165f9081526010602052604090205460ff166128705760405162461bcd60e51b8152600401610c7490613dd3565b61296f565b6001600160a01b0385165f9081526009602052604090205460ff1680156128b457506001600160a01b0386165f9081526007602052604090205460ff16155b156128f0576001600160a01b0386165f9081526010602052604090205460ff166128705760405162461bcd60e51b8152600401610c7490613dd3565b82612870576001600160a01b0385165f9081526010602052604090205460ff16801561293357506001600160a01b0386165f9081526010602052604090205460ff165b6128705760405162461bcd60e51b8152600401610c7490613dd3565b6011805460ff19169055436017556018805462ff00001916620100001790555b6001600160a01b0386165f9081526009602052604090205460ff168015612994575082155b15612a355780516001600160801b03168411156129dd5760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610c74565b60208101516001600160801b03166129f58386613d26565b1115612a305760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610c74565b612b15565b6001600160a01b0385165f9081526009602052604090205460ff168015612a7457506001600160a01b0386165f9081526007602052604090205460ff16155b15612abd5780516001600160801b0316841115612a305760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610c74565b82612b155760208101516001600160801b0316612ada8386613d26565b1115612b155760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610c74565b60185462010000900460ff1615612c88577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614158015612b9a57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b15612c8857325f908152601360205260409020544311612bed5760405162461bcd60e51b815260206004820152600e60248201526d5472616e736665722044656c617960901b6044820152606401610c74565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b031603612c8857326001600160a01b03861614612c885760405162461bcd60e51b815260206004820152602160248201527f6e6f20627579696e6720746f2065787465726e616c2077616c6c6574732079656044820152601d60fa1b6064820152608401610c74565b5050505b60145460ff16156112cc576001600160a01b0382165f9081526009602052604090205460ff1615612d08576001600160a01b0383165f9081526013602052604090205443116112cc5760405162461bcd60e51b815260206004820152600860248201526720b73a349026a2ab60c11b6044820152606401610c74565b506001600160a01b03165f90815260136020526040808220439081905532835291205550565b5f612d82826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166135b09092919063ffffffff16565b8051909150156112cc5780806020019051810190612da09190613dfc565b6112cc5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c74565b305f90815260208190526040812054604080516080810182526012546001600160501b03808216808452600160501b8304821660208501819052600160a01b8404909216948401859052600160f01b90920460ff161515606084015293945090925f9291612e6c91613d26565b612e769190613d26565b9050821580612e83575080155b15612e8d57505050565b43600c55601554612e9f906014613bbf565b831115612eb757601554612eb4906014613bbf565b92505b60208201516001600160501b031615612faf575f8183602001516001600160501b031685612ee59190613bbf565b612eef9190613bea565b9050612f1c307f0000000000000000000000000000000000000000000000000000000000000000836120d5565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015612f74575f80fd5b505af1925050508015612f85575060015b50612f908185613d50565b935082602001516001600160501b031682612fab9190613d50565b9150505b82156130ad57612fbe836135c6565b604082015147905f906001600160501b03161561304c57600b5460408501516001600160a01b03909116908490612ffe906001600160501b031685613bbf565b6130089190613bea565b6040515f81818185875af1925050503d805f8114613041576040519150601f19603f3d011682016040523d82523d5f602084013e613046565b606091505b50909150505b47915081156130aa57600a546040516001600160a01b039091169083905f81818185875af1925050503d805f811461309f576040519150601f19603f3d011682016040523d82523d5f602084013e6130a4565b606091505b50909150505b50505b505f602082018190528082526040820152601280546060909201511515600160f01b026001600160f81b031990921691909117905550565b6040805160808082018352600d546001600160401b038082168452600160401b8083048216602080870191909152600160801b808504841687890152600160c01b94859004841660608089019190915288519687018952600e5480861688529384048516878401528184048516878a0152949092049092169284019290925284518086019095526016546001600160801b038082168752929004909116908401526017549192909143905f9061319b9083613d50565b90505f6131a9600a83613bea565b9050600b8110613230576018805460ff191690556101f460608088018290528601526014805461ff00191690555f6131e060025490565b6001600160801b03811680875260208701819052600160801b8102176016556040519091507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a1506132dc565b80156132dc57613241816064613bbf565b61324d906107d0613d50565b6001600160401b03166060870152613266816064613bbf565b613272906107d0613d50565b6001600160401b031660608601526103e88161328d60025490565b6132979190613bbf565b6132a19190613bea565b6001600160801b031684526103e8816132b960025490565b6132c39190613bbf565b6132cd9190613bea565b6001600160801b031660208501525b6060860151600d54600160c01b90046001600160401b0390811691161461342757601854610100900460ff161561336557600a866060015160066133209190613e17565b61332a9190613e3a565b6001600160401b031686526060860151600a90613348906002613e17565b6133529190613e3a565b6001600160401b03166040870152613394565b600a866060015160086133789190613e17565b6133829190613e3a565b6001600160401b031686525f60408701525b6040860151865160608801516133aa9190613e53565b6133b49190613e53565b6001600160401b03908116602088018190528751600d805460408b015160608c01518616600160c01b026001600160c01b03918716600160801b02919091166001600160801b03600160401b9096026001600160801b031990931694909616939093171792909216929092179190911790555b6060850151600e54600160c01b90046001600160401b0390811691161461357257601854610100900460ff16156134b057600a8560600151600661346b9190613e17565b6134759190613e3a565b6001600160401b031685526060850151600a90613493906002613e17565b61349d9190613e3a565b6001600160401b031660408601526134df565b600a856060015160086134c39190613e17565b6134cd9190613e3a565b6001600160401b031685525f60408601525b6040850151855160608701516134f59190613e53565b6134ff9190613e53565b6001600160401b03908116602087018190528651600e805460408a015160608b01518616600160c01b026001600160c01b03918716600160801b02919091166001600160801b03600160401b9096026001600160801b031990931694909616939093171792909216929092179190911790555b60165484516001600160801b039081169116146135a857835160208501516001600160801b03908116600160801b029116176016555b505050505050565b60606135be84845f856136da565b949350505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106135f9576135f9613bfd565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061364d5761364d613bfd565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063791ac947906136b19085905f90869030904290600401613e73565b5f604051808303815f87803b1580156136c8575f80fd5b505af11580156135a8573d5f803e3d5ffd5b60608247101561373b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610c74565b5f80866001600160a01b031685876040516137569190613ee4565b5f6040518083038185875af1925050503d805f8114613790576040519150601f19603f3d011682016040523d82523d5f602084013e613795565b606091505b50915091506137a6878383876137b1565b979650505050505050565b6060831561381f5782515f03613818576001600160a01b0385163b6138185760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c74565b50816135be565b6135be83838151156138345781518083602001fd5b8060405162461bcd60e51b8152600401610c7491905b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114613895575f80fd5b919050565b5f80604083850312156138ab575f80fd5b6138b48361387f565b946020939093013593505050565b5f602082840312156138d2575f80fd5b5035919050565b5f8083601f8401126138e9575f80fd5b5081356001600160401b038111156138ff575f80fd5b6020830191508360208260051b8501011115613919575f80fd5b9250929050565b5f805f8060408587031215613933575f80fd5b84356001600160401b0380821115613949575f80fd5b613955888389016138d9565b9096509450602087013591508082111561396d575f80fd5b5061397a878288016138d9565b95989497509550505050565b5f60208284031215613996575f80fd5b61399f8261387f565b9392505050565b5f805f606084860312156139b8575f80fd5b6139c18461387f565b92506139cf6020850161387f565b9150604084013590509250925092565b80356001600160401b0381168114613895575f80fd5b5f805f60608486031215613a07575f80fd5b613a10846139df565b9250613a1e602085016139df565b9150613a2c604085016139df565b90509250925092565b5f60208284031215613a45575f80fd5b81356001600160801b038116811461399f575f80fd5b5f8060408385031215613a6c575f80fd5b613a758361387f565b9150613a836020840161387f565b90509250929050565b8015158114613a99575f80fd5b50565b5f60208284031215613aac575f80fd5b813561399f81613a8c565b5f805f60408486031215613ac9575f80fd5b83356001600160401b03811115613ade575f80fd5b613aea868287016138d9565b9094509250506020840135613afe81613a8c565b809150509250925092565b5f8060408385031215613b1a575f80fd5b613b238361387f565b91506020830135613b3381613a8c565b809150509250929050565b600181811c90821680613b5257607f821691505b602082108103613b7057634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610c4457610c44613bab565b634e487b7160e01b5f52601260045260245ffd5b5f82613bf857613bf8613bd6565b500490565b634e487b7160e01b5f52603260045260245ffd5b6001600160401b03818116838216019080821115613c3157613c31613bab565b5092915050565b600181815b80851115613c7257815f1904821115613c5857613c58613bab565b80851615613c6557918102915b93841c9390800290613c3d565b509250929050565b5f82613c8857506001610c44565b81613c9457505f610c44565b8160018114613caa5760028114613cb457613cd0565b6001915050610c44565b60ff841115613cc557613cc5613bab565b50506001821b610c44565b5060208310610133831016604e8410600b8410161715613cf3575081810a610c44565b613cfd8383613c38565b805f1904821115613d1057613d10613bab565b029392505050565b5f61399f60ff841683613c7a565b80820180821115610c4457610c44613bab565b5f60208284031215613d49575f80fd5b5051919050565b81810381811115610c4457610c44613bab565b6001600160801b03818116838216028082169190828114613d8657613d86613bab565b505092915050565b5f6001600160801b0380841680613da757613da7613bd6565b92169190910492915050565b6001600160501b03818116838216019080821115613c3157613c31613bab565b6020808252600f908201526e139bdd081dda1a5d195b1a5cdd1959608a1b604082015260600190565b5f60208284031215613e0c575f80fd5b815161399f81613a8c565b6001600160401b03818116838216028082169190828114613d8657613d86613bab565b5f6001600160401b0380841680613da757613da7613bd6565b6001600160401b03828116828216039080821115613c3157613c31613bab565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015613ec35784516001600160a01b031683529383019391830191600101613e9e565b50506001600160a01b03969096166060850152505050608001529392505050565b5f82518060208501845e5f92019182525091905056fea264697066735822122068b8ac9db2a4d41b074e908cfec20d772b4f538f3ad9f0bc63c625d7f1dc459264736f6c6343000819003397b435510745019339bbf24c9c9eda4197852c5fb92645a8d2720a5db17c566f
Deployed Bytecode
0x608060405260043610610374575f3560e01c806375808631116101c8578063ad5c4648116100fd578063c876d0b91161009d578063dd62ed3e1161006d578063dd62ed3e14610b05578063f270fde414610b24578063f2fde38b14610b6e578063f8686f0714610b8d575f80fd5b8063c876d0b914610a74578063cc1776d314610a93578063ccad03e114610ad1578063d00efb2f14610af0575f80fd5b8063bbd9e5b4116100d8578063bbd9e5b4146109f3578063bedafd0114610a12578063c30796ab14610a31578063c78d0fa014610a5f575f80fd5b8063ad5c464814610974578063b0249cc6146109a7578063bba3325d146109d5575f80fd5b80639292caaf116101685780639e93ad8e116101435780639e93ad8e146108ea578063a457c2d714610917578063a5ece94114610936578063a9059cbb14610955575f80fd5b80639292caaf146108ad57806395d89b41146108c25780639e7261af146108d6575f80fd5b80638a8c523c116101a35780638a8c523c1461082f5780638becc57d146108435780638d3e6e40146108625780638da5cb5b14610890575f80fd5b806375808631146107de57806385033762146107f2578063860a32ec14610811575f80fd5b80633ad10ef6116102a95780635a90a49e116102495780636d7adcad116102195780636d7adcad1461070e57806370a0823114610782578063715018a6146107b6578063751039fc146107ca575f80fd5b80635a90a49e14610694578063627e9d8e146106c257806366ebd39a146106db5780636a7bd94b146106fa575f80fd5b80634f7041a5116102845780634f7041a5146105cc57806353371be01461063d5780635431c94e146106565780635975899414610675575f80fd5b80633ad10ef614610565578063432e95a514610584578063452ed4f114610599575f80fd5b80632369bf8311610314578063313ce567116102ef578063313ce567146104f3578063362919a71461050e57806336e18e19146105275780633950935114610546575f80fd5b80632369bf831461049657806323b872dd146104b5578063286965a7146104d4575f80fd5b8063095ea7b31161034f578063095ea7b31461041957806318160ddd1461043857806321045918146104565780632307b44114610477575f80fd5b806302ce58131461037f57806306fdde03146103ad5780630758d924146103ce575f80fd5b3661037b57005b5f80fd5b34801561038a575f80fd5b506011546103989060ff1681565b60405190151581526020015b60405180910390f35b3480156103b8575f80fd5b506103c1610ba1565b6040516103a4919061384a565b3480156103d9575f80fd5b506104017f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016103a4565b348015610424575f80fd5b5061039861043336600461389a565b610c31565b348015610443575f80fd5b506002545b6040519081526020016103a4565b348015610461575f80fd5b506104756104703660046138c2565b610c4a565b005b348015610482575f80fd5b50610475610491366004613920565b610d9e565b3480156104a1575f80fd5b506104756104b0366004613986565b610e72565b3480156104c0575f80fd5b506103986104cf3660046139a6565b610f03565b3480156104df575f80fd5b506104756104ee3660046139f5565b610f26565b3480156104fe575f80fd5b50604051601281526020016103a4565b348015610519575f80fd5b506018546103989060ff1681565b348015610532575f80fd5b50610475610541366004613a35565b61109e565b348015610551575f80fd5b5061039861056036600461389a565b6111b6565b348015610570575f80fd5b50600b54610401906001600160a01b031681565b34801561058f575f80fd5b50610448600c5481565b3480156105a4575f80fd5b506104017f0000000000000000000000006a9bd61f5be68a57ece1780b9c00e868f32e8a3f81565b3480156105d7575f80fd5b50600d5461060a906001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b604080516001600160401b03958616815293851660208501529184169183019190915290911660608201526080016103a4565b348015610648575f80fd5b506008546103989060ff1681565b348015610661575f80fd5b50610475610670366004613a5b565b6111d7565b348015610680575f80fd5b5061047561068f366004613a9c565b6112d1565b34801561069f575f80fd5b506103986106ae366004613986565b60066020525f908152604090205460ff1681565b3480156106cd575f80fd5b506014546103989060ff1681565b3480156106e6575f80fd5b506104756106f5366004613a35565b61130e565b348015610705575f80fd5b50610475611422565b348015610719575f80fd5b5060125461074d906001600160501b0380821691600160501b8104821691600160a01b82041690600160f01b900460ff1684565b6040516103a494939291906001600160501b039485168152928416602084015292166040820152901515606082015260800190565b34801561078d575f80fd5b5061044861079c366004613986565b6001600160a01b03165f9081526020819052604090205490565b3480156107c1575f80fd5b506104756114b6565b3480156107d5575f80fd5b50610475611529565b3480156107e9575f80fd5b506104756115c9565b3480156107fd575f80fd5b5061047561080c366004613986565b61176e565b34801561081c575f80fd5b5060145461039890610100900460ff1681565b34801561083a575f80fd5b506104756117ff565b34801561084e575f80fd5b5061047561085d3660046139f5565b611893565b34801561086d575f80fd5b5061039861087c366004613986565b60076020525f908152604090205460ff1681565b34801561089b575f80fd5b506005546001600160a01b0316610401565b3480156108b8575f80fd5b50610448600f5481565b3480156108cd575f80fd5b506103c1611a0b565b3480156108e1575f80fd5b50610475611a1a565b3480156108f5575f80fd5b506108ff61271081565b6040516001600160401b0390911681526020016103a4565b348015610922575f80fd5b5061039861093136600461389a565b611a90565b348015610941575f80fd5b50600a54610401906001600160a01b031681565b348015610960575f80fd5b5061039861096f36600461389a565b611b0a565b34801561097f575f80fd5b506104017f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b3480156109b2575f80fd5b506103986109c1366004613986565b60096020525f908152604090205460ff1681565b3480156109e0575f80fd5b5060185461039890610100900460ff1681565b3480156109fe575f80fd5b50610475610a0d366004613ab7565b611b17565b348015610a1d575f80fd5b50610475610a2c366004613b09565b611bab565b348015610a3c575f80fd5b50610398610a4b366004613986565b60106020525f908152604090205460ff1681565b348015610a6a575f80fd5b5061044860155481565b348015610a7f575f80fd5b506018546103989062010000900460ff1681565b348015610a9e575f80fd5b50600e5461060a906001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b348015610adc575f80fd5b50610475610aeb366004613b09565b611cd5565b348015610afb575f80fd5b5061044860175481565b348015610b10575f80fd5b50610448610b1f366004613a5b565b611e1a565b348015610b2f575f80fd5b50601654610b4e906001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152016103a4565b348015610b79575f80fd5b50610475610b88366004613986565b611e44565b348015610b98575f80fd5b50610475611f2e565b606060038054610bb090613b3e565b80601f0160208091040260200160405190810160405280929190818152602001828054610bdc90613b3e565b8015610c275780601f10610bfe57610100808354040283529160200191610c27565b820191905f5260205f20905b815481529060010190602001808311610c0a57829003601f168201915b5050505050905090565b5f33610c3e818585611fb2565b60019150505b92915050565b6005546001600160a01b03163314610c7d5760405162461bcd60e51b8152600401610c7490613b76565b60405180910390fd5b620186a0610c8a60025490565b610c95906001613bbf565b610c9f9190613bea565b811015610d0c5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610c74565b6103e8610d1860025490565b610d23906005613bbf565b610d2d9190613bea565b811115610d995760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610c74565b601555565b6005546001600160a01b03163314610dc85760405162461bcd60e51b8152600401610c7490613b76565b828114610e105760405162461bcd60e51b81526020600482015260166024820152750c2e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b6044820152606401610c74565b5f5b83811015610e6b57610e6333868684818110610e3057610e30613bfd565b9050602002016020810190610e459190613986565b858585818110610e5757610e57613bfd565b905060200201356120d5565b600101610e12565b5050505050565b6005546001600160a01b03163314610e9c5760405162461bcd60e51b8152600401610c7490613b76565b6001600160a01b038116610ee15760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610c74565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b5f33610f10858285612278565b610f1b8585856122ea565b506001949350505050565b6005546001600160a01b03163314610f505760405162461bcd60e51b8152600401610c7490613b76565b604080516080810182525f60608201526001600160401b03858116825284811692820192909252908216602082015281610f8a8486613c11565b610f949190613c11565b6001600160401b0316606082018190526103e81015610fea5760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610c74565b60608101516040516001600160401b0390911681527fa02824f65350567bc405e202b741e7ca6274004a9feeb44149df72b8bd599c979060200160405180910390a18051600e8054602084015160408501516060909501516001600160401b03908116600160c01b026001600160c01b03968216600160801b02969096166001600160801b03928216600160401b026001600160801b03199094169190951617919091171691909117919091179055505050565b6005546001600160a01b031633146110c85760405162461bcd60e51b8152600401610c7490613b76565b6110d46012600a613d18565b6103e86110e060025490565b6110eb906001613bbf565b6110f59190613bea565b6110ff9190613bea565b816001600160801b031610156111415760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610c74565b61114d6012600a613d18565b611160906001600160801b038316613bbf565b601680546001600160801b0319166001600160801b039290921691821790556040519081527f6710da7d4acedae09cb83751ae24c150719ef67dcbc1e02049f171d13c6b44e6906020015b60405180910390a150565b5f33610c3e8185856111c88383611e1a565b6111d29190613d26565b611fb2565b6005546001600160a01b031633146112015760405162461bcd60e51b8152600401610c7490613b76565b6001600160a01b0382166112575760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610c74565b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa15801561129b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112bf9190613d39565b90506112cc8383836123a3565b505050565b6005546001600160a01b031633146112fb5760405162461bcd60e51b8152600401610c7490613b76565b6014805460ff1916911515919091179055565b6005546001600160a01b031633146113385760405162461bcd60e51b8152600401610c7490613b76565b6113446012600a613d18565b6103e861135060025490565b61135b906001613bbf565b6113659190613bea565b61136f9190613bea565b816001600160801b031610156113b15760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610c74565b6113bd6012600a613d18565b6113d0906001600160801b038316613bbf565b601680546001600160801b03908116600160801b93821684021791829055604051929091041681527fde064515fae8f8bb6d8ff19d2c6ba704322def7494147d8a971266430ade0788906020016111ab565b6005546001600160a01b0316331461144c5760405162461bcd60e51b8152600401610c7490613b76565b60115460ff166114955760405162461bcd60e51b815260206004820152601460248201527357686974656c697374206e6f742061637469766560601b6044820152606401610c74565b6011805460ff19169055436017556018805462ff0000191662010000179055565b6005546001600160a01b031633146114e05760405162461bcd60e51b8152600401610c7490613b76565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146115535760405162461bcd60e51b8152600401610c7490613b76565b6014805461ff0019169055604080518082019091525f80825260208201525f61157b60025490565b6001600160801b03811680845260208401819052600160801b8102176016556040519091507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a15050565b600b546001600160a01b0316331461160d5760405162461bcd60e51b81526020600482015260076024820152662737ba103232bb60c91b6044820152606401610c74565b60408051608081018252600d546001600160401b03808216808452600160401b8304821660208501819052600160801b8404831695850195909552600160c01b9092041660608301529091908290611666908390613c11565b6001600160401b039081169091525f6020848101919091528351600d80546040808801516060808a01519588166001600160c01b031990941693909317600160801b9188168202176001600160c01b0316600160c01b9588168602179093558051608081018252600e54808816808352600160401b8204891697830188905294810488169282019290925293900490941693820193909352925090829061170e908390613c11565b6001600160401b039081169091525f60208401528251600e805460408601516060909601519284166001600160c01b031990911617600160801b95841695909502949094176001600160c01b0316600160c01b9190921602179091555050565b6005546001600160a01b031633146117985760405162461bcd60e51b8152600401610c7490613b76565b6001600160a01b0381166117dd5760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610c74565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146118295760405162461bcd60e51b8152600401610c7490613b76565b60085460ff161561187c5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610c74565b6008805460ff1916600117905543600c5542600f55565b6005546001600160a01b031633146118bd5760405162461bcd60e51b8152600401610c7490613b76565b604080516080810182525f60608201526001600160401b038581168252848116928201929092529082166020820152816118f78486613c11565b6119019190613c11565b6001600160401b0316606082018190526103e810156119575760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610c74565b60608101516040516001600160401b0390911681527f5380a61520019ce8270d583f62f1b2b9f4f4372e1acaaf708f4865cecece05089060200160405180910390a18051600d8054602084015160408501516060909501516001600160401b03908116600160c01b026001600160c01b03968216600160801b02969096166001600160801b03928216600160401b026001600160801b03199094169190951617919091171691909117919091179055505050565b606060048054610bb090613b3e565b6005546001600160a01b03163314611a445760405162461bcd60e51b8152600401610c7490613b76565b60185460ff16611a845760405162461bcd60e51b815260206004820152600b60248201526a20b63932b0b23c9037b33360a91b6044820152606401610c74565b6018805460ff19169055565b5f3381611a9d8286611e1a565b905083811015611afd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c74565b610f1b8286868403611fb2565b5f33610c3e8185856122ea565b6005546001600160a01b03163314611b415760405162461bcd60e51b8152600401610c7490613b76565b5f5b82811015611ba5578160105f868685818110611b6157611b61613bfd565b9050602002016020810190611b769190613986565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600101611b43565b50505050565b6005546001600160a01b03163314611bd55760405162461bcd60e51b8152600401610c7490613b76565b6001600160a01b038216611c1a5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610c74565b306001600160a01b03831603611c725760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420756e6578656d707420636f6e747261637400000000000000006044820152606401610c74565b6001600160a01b0382165f81815260066020908152604091829020805460ff19168515159081179091558251938452908301527f998cce27cbf44405c67eb636a634d5e2f2e6ff248b3d71fbbbb022f3c4c6dd2d91015b60405180910390a15050565b6005546001600160a01b03163314611cff5760405162461bcd60e51b8152600401610c7490613b76565b6001600160a01b038216611d445760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610c74565b80611dbf577f0000000000000000000000006a9bd61f5be68a57ece1780b9c00e868f32e8a3f6001600160a01b0316826001600160a01b031603611dbf5760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b6b7bb32903830b4b960711b6044820152606401610c74565b6001600160a01b0382165f81815260076020908152604091829020805460ff19168515159081179091558251938452908301527f8f9f40630a1d139e6cf69b4f447ca47a36f10a017524efaa38252e516fa227ce9101611cc9565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6005546001600160a01b03163314611e6e5760405162461bcd60e51b8152600401610c7490613b76565b6001600160a01b038116611ed35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c74565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611f585760405162461bcd60e51b8152600401610c7490613b76565b60185462010000900460ff16611fa45760405162461bcd60e51b8152602060048201526011602482015270416c72656164792064697361626c65642160781b6044820152606401610c74565b6018805462ff000019169055565b6001600160a01b0383166120145760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c74565b6001600160a01b0382166120755760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c74565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166121395760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c74565b6001600160a01b03821661219b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c74565b6001600160a01b0383165f90815260208190526040902054818110156122125760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c74565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b5f6122838484611e1a565b90505f198114611ba557818110156122dd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c74565b611ba58484848403611fb2565b6001600160a01b0383165f9081526006602052604090205460ff1615801561232a57506001600160a01b0382165f9081526006602052604090205460ff16155b156123985760085460ff166123765760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610c74565b6123818383836123f5565b61238b9082613d50565b905061239883838361278e565b6112cc8383836120d5565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526112cc908490612d2e565b601554305f9081526020819052604081205490911115801561242e57506001600160a01b0383165f9081526009602052604090205460ff165b8015612448575043600c5460016124459190613d26565b11155b1561245557612455612dff565b60185460ff16801561246a575060115460ff16155b15612477576124776130e5565b604080516080810182525f8082526020808301829052828401829052606083018290526001600160a01b0387168252600990529182205460ff1615612503575060408051608081018252600e546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b9004909116606082015261256c565b6001600160a01b0386165f9081526009602052604090205460ff161561256c575060408051608081018252600d546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b900490911660608201525b60608101516001600160401b03161561277c57604080516080810182526012546001600160501b038082168352600160501b820481166020840152600160a01b82041692820192909252600160f01b90910460ff161515606080830191909152820151612710906125e6906001600160401b031687613bbf565b6125f09190613bea565b9250633b9aca0082606001516001600160401b031683604001516001600160401b03168561261e9190613d63565b6126289190613d8e565b6126329190613d8e565b816020018181516126439190613db3565b6001600160501b031690525060608201518251633b9aca00916001600160401b0390811691612673911686613d63565b61267d9190613d8e565b6126879190613d8e565b81518290612696908390613db3565b6001600160501b031690525060608201516020830151633b9aca00916001600160401b03908116916126c9911686613d63565b6126d39190613d8e565b6126dd9190613d8e565b816040018181516126ee9190613db3565b6001600160501b039081169091528251601280546020860151604087015160608801511515600160f01b0260ff60f01b19918716600160a01b02919091166affffffffffffffffffffff60a01b19928716600160501b026001600160a01b031990941695909616949094179190911716929092171790555061277a87306001600160801b0386166120d5565b505b506001600160801b0316949350505050565b601454610100900460ff1615612c8c576001600160a01b0382165f90815260076020908152604080832054838352928190205481518083019092526016546001600160801b038082168452600160801b909104169282019290925260115460ff93841693161561296f5742600f5461012c6128099190613d26565b111561294f576001600160a01b0386165f9081526009602052604090205460ff168015612834575082155b15612875576001600160a01b0385165f9081526010602052604090205460ff166128705760405162461bcd60e51b8152600401610c7490613dd3565b61296f565b6001600160a01b0385165f9081526009602052604090205460ff1680156128b457506001600160a01b0386165f9081526007602052604090205460ff16155b156128f0576001600160a01b0386165f9081526010602052604090205460ff166128705760405162461bcd60e51b8152600401610c7490613dd3565b82612870576001600160a01b0385165f9081526010602052604090205460ff16801561293357506001600160a01b0386165f9081526010602052604090205460ff165b6128705760405162461bcd60e51b8152600401610c7490613dd3565b6011805460ff19169055436017556018805462ff00001916620100001790555b6001600160a01b0386165f9081526009602052604090205460ff168015612994575082155b15612a355780516001600160801b03168411156129dd5760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610c74565b60208101516001600160801b03166129f58386613d26565b1115612a305760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610c74565b612b15565b6001600160a01b0385165f9081526009602052604090205460ff168015612a7457506001600160a01b0386165f9081526007602052604090205460ff16155b15612abd5780516001600160801b0316841115612a305760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610c74565b82612b155760208101516001600160801b0316612ada8386613d26565b1115612b155760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610c74565b60185462010000900460ff1615612c88577f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316856001600160a01b031614158015612b9a57507f0000000000000000000000006a9bd61f5be68a57ece1780b9c00e868f32e8a3f6001600160a01b0316856001600160a01b031614155b15612c8857325f908152601360205260409020544311612bed5760405162461bcd60e51b815260206004820152600e60248201526d5472616e736665722044656c617960901b6044820152606401610c74565b7f0000000000000000000000006a9bd61f5be68a57ece1780b9c00e868f32e8a3f6001600160a01b0316866001600160a01b031603612c8857326001600160a01b03861614612c885760405162461bcd60e51b815260206004820152602160248201527f6e6f20627579696e6720746f2065787465726e616c2077616c6c6574732079656044820152601d60fa1b6064820152608401610c74565b5050505b60145460ff16156112cc576001600160a01b0382165f9081526009602052604090205460ff1615612d08576001600160a01b0383165f9081526013602052604090205443116112cc5760405162461bcd60e51b815260206004820152600860248201526720b73a349026a2ab60c11b6044820152606401610c74565b506001600160a01b03165f90815260136020526040808220439081905532835291205550565b5f612d82826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166135b09092919063ffffffff16565b8051909150156112cc5780806020019051810190612da09190613dfc565b6112cc5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c74565b305f90815260208190526040812054604080516080810182526012546001600160501b03808216808452600160501b8304821660208501819052600160a01b8404909216948401859052600160f01b90920460ff161515606084015293945090925f9291612e6c91613d26565b612e769190613d26565b9050821580612e83575080155b15612e8d57505050565b43600c55601554612e9f906014613bbf565b831115612eb757601554612eb4906014613bbf565b92505b60208201516001600160501b031615612faf575f8183602001516001600160501b031685612ee59190613bbf565b612eef9190613bea565b9050612f1c307f0000000000000000000000006a9bd61f5be68a57ece1780b9c00e868f32e8a3f836120d5565b7f0000000000000000000000006a9bd61f5be68a57ece1780b9c00e868f32e8a3f6001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015612f74575f80fd5b505af1925050508015612f85575060015b50612f908185613d50565b935082602001516001600160501b031682612fab9190613d50565b9150505b82156130ad57612fbe836135c6565b604082015147905f906001600160501b03161561304c57600b5460408501516001600160a01b03909116908490612ffe906001600160501b031685613bbf565b6130089190613bea565b6040515f81818185875af1925050503d805f8114613041576040519150601f19603f3d011682016040523d82523d5f602084013e613046565b606091505b50909150505b47915081156130aa57600a546040516001600160a01b039091169083905f81818185875af1925050503d805f811461309f576040519150601f19603f3d011682016040523d82523d5f602084013e6130a4565b606091505b50909150505b50505b505f602082018190528082526040820152601280546060909201511515600160f01b026001600160f81b031990921691909117905550565b6040805160808082018352600d546001600160401b038082168452600160401b8083048216602080870191909152600160801b808504841687890152600160c01b94859004841660608089019190915288519687018952600e5480861688529384048516878401528184048516878a0152949092049092169284019290925284518086019095526016546001600160801b038082168752929004909116908401526017549192909143905f9061319b9083613d50565b90505f6131a9600a83613bea565b9050600b8110613230576018805460ff191690556101f460608088018290528601526014805461ff00191690555f6131e060025490565b6001600160801b03811680875260208701819052600160801b8102176016556040519091507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a1506132dc565b80156132dc57613241816064613bbf565b61324d906107d0613d50565b6001600160401b03166060870152613266816064613bbf565b613272906107d0613d50565b6001600160401b031660608601526103e88161328d60025490565b6132979190613bbf565b6132a19190613bea565b6001600160801b031684526103e8816132b960025490565b6132c39190613bbf565b6132cd9190613bea565b6001600160801b031660208501525b6060860151600d54600160c01b90046001600160401b0390811691161461342757601854610100900460ff161561336557600a866060015160066133209190613e17565b61332a9190613e3a565b6001600160401b031686526060860151600a90613348906002613e17565b6133529190613e3a565b6001600160401b03166040870152613394565b600a866060015160086133789190613e17565b6133829190613e3a565b6001600160401b031686525f60408701525b6040860151865160608801516133aa9190613e53565b6133b49190613e53565b6001600160401b03908116602088018190528751600d805460408b015160608c01518616600160c01b026001600160c01b03918716600160801b02919091166001600160801b03600160401b9096026001600160801b031990931694909616939093171792909216929092179190911790555b6060850151600e54600160c01b90046001600160401b0390811691161461357257601854610100900460ff16156134b057600a8560600151600661346b9190613e17565b6134759190613e3a565b6001600160401b031685526060850151600a90613493906002613e17565b61349d9190613e3a565b6001600160401b031660408601526134df565b600a856060015160086134c39190613e17565b6134cd9190613e3a565b6001600160401b031685525f60408601525b6040850151855160608701516134f59190613e53565b6134ff9190613e53565b6001600160401b03908116602087018190528651600e805460408a015160608b01518616600160c01b026001600160c01b03918716600160801b02919091166001600160801b03600160401b9096026001600160801b031990931694909616939093171792909216929092179190911790555b60165484516001600160801b039081169116146135a857835160208501516001600160801b03908116600160801b029116176016555b505050505050565b60606135be84845f856136da565b949350505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106135f9576135f9613bfd565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160018151811061364d5761364d613bfd565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063791ac947906136b19085905f90869030904290600401613e73565b5f604051808303815f87803b1580156136c8575f80fd5b505af11580156135a8573d5f803e3d5ffd5b60608247101561373b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610c74565b5f80866001600160a01b031685876040516137569190613ee4565b5f6040518083038185875af1925050503d805f8114613790576040519150601f19603f3d011682016040523d82523d5f602084013e613795565b606091505b50915091506137a6878383876137b1565b979650505050505050565b6060831561381f5782515f03613818576001600160a01b0385163b6138185760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c74565b50816135be565b6135be83838151156138345781518083602001fd5b8060405162461bcd60e51b8152600401610c7491905b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114613895575f80fd5b919050565b5f80604083850312156138ab575f80fd5b6138b48361387f565b946020939093013593505050565b5f602082840312156138d2575f80fd5b5035919050565b5f8083601f8401126138e9575f80fd5b5081356001600160401b038111156138ff575f80fd5b6020830191508360208260051b8501011115613919575f80fd5b9250929050565b5f805f8060408587031215613933575f80fd5b84356001600160401b0380821115613949575f80fd5b613955888389016138d9565b9096509450602087013591508082111561396d575f80fd5b5061397a878288016138d9565b95989497509550505050565b5f60208284031215613996575f80fd5b61399f8261387f565b9392505050565b5f805f606084860312156139b8575f80fd5b6139c18461387f565b92506139cf6020850161387f565b9150604084013590509250925092565b80356001600160401b0381168114613895575f80fd5b5f805f60608486031215613a07575f80fd5b613a10846139df565b9250613a1e602085016139df565b9150613a2c604085016139df565b90509250925092565b5f60208284031215613a45575f80fd5b81356001600160801b038116811461399f575f80fd5b5f8060408385031215613a6c575f80fd5b613a758361387f565b9150613a836020840161387f565b90509250929050565b8015158114613a99575f80fd5b50565b5f60208284031215613aac575f80fd5b813561399f81613a8c565b5f805f60408486031215613ac9575f80fd5b83356001600160401b03811115613ade575f80fd5b613aea868287016138d9565b9094509250506020840135613afe81613a8c565b809150509250925092565b5f8060408385031215613b1a575f80fd5b613b238361387f565b91506020830135613b3381613a8c565b809150509250929050565b600181811c90821680613b5257607f821691505b602082108103613b7057634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610c4457610c44613bab565b634e487b7160e01b5f52601260045260245ffd5b5f82613bf857613bf8613bd6565b500490565b634e487b7160e01b5f52603260045260245ffd5b6001600160401b03818116838216019080821115613c3157613c31613bab565b5092915050565b600181815b80851115613c7257815f1904821115613c5857613c58613bab565b80851615613c6557918102915b93841c9390800290613c3d565b509250929050565b5f82613c8857506001610c44565b81613c9457505f610c44565b8160018114613caa5760028114613cb457613cd0565b6001915050610c44565b60ff841115613cc557613cc5613bab565b50506001821b610c44565b5060208310610133831016604e8410600b8410161715613cf3575081810a610c44565b613cfd8383613c38565b805f1904821115613d1057613d10613bab565b029392505050565b5f61399f60ff841683613c7a565b80820180821115610c4457610c44613bab565b5f60208284031215613d49575f80fd5b5051919050565b81810381811115610c4457610c44613bab565b6001600160801b03818116838216028082169190828114613d8657613d86613bab565b505092915050565b5f6001600160801b0380841680613da757613da7613bd6565b92169190910492915050565b6001600160501b03818116838216019080821115613c3157613c31613bab565b6020808252600f908201526e139bdd081dda1a5d195b1a5cdd1959608a1b604082015260600190565b5f60208284031215613e0c575f80fd5b815161399f81613a8c565b6001600160401b03818116838216028082169190828114613d8657613d86613bab565b5f6001600160401b0380841680613da757613da7613bd6565b6001600160401b03828116828216039080821115613c3157613c31613bab565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015613ec35784516001600160a01b031683529383019391830191600101613e9e565b50506001600160a01b03969096166060850152505050608001529392505050565b5f82518060208501845e5f92019182525091905056fea264697066735822122068b8ac9db2a4d41b074e908cfec20d772b4f538f3ad9f0bc63c625d7f1dc459264736f6c63430008190033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.