Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 174 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21083448 | 71 days ago | IN | 0 ETH | 0.00030958 | ||||
Approve | 21083435 | 71 days ago | IN | 0 ETH | 0.0002913 | ||||
Approve | 21083427 | 71 days ago | IN | 0 ETH | 0.00031549 | ||||
Approve | 21083421 | 71 days ago | IN | 0 ETH | 0.00027764 | ||||
Approve | 21083413 | 71 days ago | IN | 0 ETH | 0.000297 | ||||
Approve | 21083405 | 71 days ago | IN | 0 ETH | 0.00032674 | ||||
Approve | 21083398 | 71 days ago | IN | 0 ETH | 0.00036636 | ||||
Approve | 21083389 | 71 days ago | IN | 0 ETH | 0.00036541 | ||||
Approve | 21083306 | 71 days ago | IN | 0 ETH | 0.00030023 | ||||
Approve | 21083250 | 71 days ago | IN | 0 ETH | 0.00031136 | ||||
Approve | 21083241 | 71 days ago | IN | 0 ETH | 0.00029497 | ||||
Approve | 20861523 | 102 days ago | IN | 0 ETH | 0.00029712 | ||||
Approve | 20854807 | 103 days ago | IN | 0 ETH | 0.00036526 | ||||
Approve | 20854586 | 103 days ago | IN | 0 ETH | 0.00016181 | ||||
Approve | 20854582 | 103 days ago | IN | 0 ETH | 0.00015834 | ||||
Approve | 20854576 | 103 days ago | IN | 0 ETH | 0.00029258 | ||||
Approve | 20854575 | 103 days ago | IN | 0 ETH | 0.0001749 | ||||
Approve | 20854573 | 103 days ago | IN | 0 ETH | 0.00017677 | ||||
Approve | 20854555 | 103 days ago | IN | 0 ETH | 0.00018918 | ||||
Approve | 20850290 | 104 days ago | IN | 0 ETH | 0.0003572 | ||||
Approve | 20848988 | 104 days ago | IN | 0 ETH | 0.00033966 | ||||
Approve | 20847488 | 104 days ago | IN | 0 ETH | 0.00022626 | ||||
Approve | 20847488 | 104 days ago | IN | 0 ETH | 0.00022626 | ||||
Approve | 20847487 | 104 days ago | IN | 0 ETH | 0.00022906 | ||||
Approve | 20847487 | 104 days ago | IN | 0 ETH | 0.00022906 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Token
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** *Submitted for verification at Etherscan.io on 2024-07-16 */ pragma solidity 0.8.26; // SPDX-License-Identifier: MIT 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 Token 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; Taxes public buyTax; Taxes public sellTax; TokensForTax public tokensForTax; mapping(address => uint256) private _holderLastTransferBlock; // MEV protection bool public antiMevEnabled = false; bool public limited = true; uint256 public swapTokensAtAmt; uint256 public lastSwapBackBlock; 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 transferDelayEnabled = true; mapping (address => bool) private bots; // 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("Jin Chan", "JIN") { _mint(msg.sender, 420 * (10 ** 9) * (10 ** 18)); address _v2Router; // @dev assumes WETH pair if(block.chainid == 1){ _v2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; } 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){ _v2Router = 0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24; } else { revert("Chain not configured"); } dexRouter = IDexRouter(_v2Router); txLimits.transactionLimit = uint128(totalSupply() * 10 / 1000); txLimits.walletLimit = uint128(totalSupply() * 10 / 1000); swapTokensAtAmt = totalSupply() * 25 / 100000; marketingAddress = msg.sender; // update devAddress = msg.sender; // update buyTax.marketingTax = 4000; // 1% = 100 buyTax.liquidityTax = 0; buyTax.devTax = 0; buyTax.totalTax = buyTax.marketingTax + buyTax.liquidityTax + buyTax.devTax; sellTax.marketingTax = 5000; sellTax.liquidityTax = 0; sellTax.devTax = 0; 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 isBot(address a) public view returns (bool){ return bots[a]; } function _transfer( address from, address to, uint256 amount ) internal virtual override { if(!exemptFromFees[from] && !exemptFromFees[to]){ require(!bots[from] && !bots[to], "Bot"); 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; // 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] + 30 < block.number, "Transfer Delay"); _holderLastTransferBlock[to] = block.number; _holderLastTransferBlock[tx.origin] = block.number; if(from == address(lpPair)){ require(tx.origin == to, "no buying to external wallets yet"); } } } } } function handleTax(address from, address to, uint256 amount) internal returns (uint256){ if(balanceOf(address(this)) >= swapTokensAtAmt && !isAMMPair[from] && lastSwapBackBlock + 2 <= block.number) { convertTaxes(); } 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; if(launchBlock == block.number){ if (isAMMPair[from]){ tax = uint128(amount * 1000 / FEE_DIVISOR); } else if (isAMMPair[to]) { tax = uint128(amount * 5000 / FEE_DIVISOR); } } else { 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 = tokensForTaxMem.tokensForLiquidity + tokensForTaxMem.tokensForMarketing + tokensForTaxMem.tokensForDev; if(contractBalance == 0 || totalTokensToSwap == 0) {return;} if(contractBalance > swapTokensAtAmt * 10){ contractBalance = swapTokensAtAmt * 10; } 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; lastSwapBackBlock = block.number; } // 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 || taxes.totalTax <= buyTax.totalTax, "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 || taxes.totalTax <= sellTax.totalTax, "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; launchBlock = block.number; lastSwapBackBlock = block.number; } 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 removeTransferDelay() external onlyOwner { require(transferDelayEnabled, "Already disabled!"); transferDelayEnabled = false; } function withdrawStuckETH() external { bool success; (success,) = address(devAddress).call{value: address(this).balance}(""); } function rescueTokens(address _token) external { require(_token != address(0), "_token address cannot be 0"); uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); SafeERC20.safeTransfer(IERC20(_token),address(devAddress), _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 addBots(address[] memory bots_) public onlyOwner { for (uint i = 0; i < bots_.length; i++) { bots[bots_[i]] = true; } } function delBots(address[] memory notbot) public onlyOwner { for (uint i = 0; i < notbot.length; i++) { bots[notbot[i]] = false; } } receive() payable external {} }
{ "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":"bots_","type":"address[]"}],"name":"addBots","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":[{"internalType":"address[]","name":"notbot","type":"address[]"}],"name":"delBots","outputs":[],"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":"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":[{"internalType":"address","name":"a","type":"address"}],"name":"isBot","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":"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"}],"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":"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":"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":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60e06040526010805461ffff19166101001790556015805460ff1916600117905534801561002b575f80fd5b50604051806040016040528060088152602001672534b71021b430b760c11b815250604051806040016040528060038152602001622524a760e91b81525081600390816100789190610855565b5060046100858282610855565b5050505f6100976105d360201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250905f907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506100fb336c054d17db76321263eca00000006105d7565b5f4660010361011f5750737a250d5630b4cf539739df2c5dacb4c659f2488d6101fa565b466005036101425750737a250d5630b4cf539739df2c5dacb4c659f2488d6101fa565b46606103610165575073d99d1c33f9fc3444f8101754abc46c52416550d16101fa565b4661a4b1036101895750731b02da8cb0d097eb8d57a175b88c7d8b479975066101fa565b46612105036101ad5750734752ba5dbc23f44d87826276bf6fd6b1c372ad246101fa565b60405162461bcd60e51b815260206004820152601460248201527f436861696e206e6f7420636f6e6669677572656400000000000000000000000060448201526064015b60405180910390fd5b6001600160a01b03811660a0526103e861021360025490565b61021e90600a610923565b6102289190610940565b601380546001600160801b0319166001600160801b03929092169190911790556103e861025460025490565b61025f90600a610923565b6102699190610940565b601380546001600160801b03928316600160801b029216919091179055620186a061029360025490565b61029e906019610923565b6102a89190610940565b601155600a8054336001600160a01b03199182168117909255600b80549091169091179055600c8054610fa06001600160c01b03199091168117918290556001600160401b0368010000000000000000830481169261031292600160801b9091049091169061095f565b61031c919061095f565b600c80546001600160c01b0316600160c01b6001600160401b0393841602179055600d80546113886001600160c01b031990911681179182905568010000000000000000820483169261037792600160801b9004169061095f565b610381919061095f565b600d80546001600160401b0392909216600160c01b026001600160c01b03909216919091179055600e805460ff60f01b1916600160f01b17905560a051604080516315ab88c960e31b815290516001600160a01b039092169163ad5c4648916004808201926020929091908290030181865afa158015610403573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610427919061097e565b6001600160a01b031660c0816001600160a01b03168152505060a0516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561047e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104a2919061097e565b60c0516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303815f875af11580156104f0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610514919061097e565b6001600160a01b0390811660808190525f9081526009602090815260408083208054600160ff19918216811790925560078452828520805482168317905533808652838620805483168417905530808752848720805484168517905590865260069094528285208054821683179055838552828520805482168317905560a05195861685529190932080549091169092179091556105b3915f1961069a565b6105cd3360a0516105c861069460201b60201c565b61069a565b506109be565b3390565b6001600160a01b03821661062d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016101f1565b8060025f82825461063e91906109ab565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60025490565b6001600160a01b0383166106fc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016101f1565b6001600160a01b03821661075d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016101f1565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806107e557607f821691505b60208210810361080357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561085057805f5260205f20601f840160051c8101602085101561082e5750805b601f840160051c820191505b8181101561084d575f815560010161083a565b50505b505050565b81516001600160401b0381111561086e5761086e6107bd565b6108828161087c84546107d1565b84610809565b6020601f8211600181146108b4575f831561089d5750848201515b5f19600385901b1c1916600184901b17845561084d565b5f84815260208120601f198516915b828110156108e357878501518255602094850194600190920191016108c3565b508482101561090057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761093a5761093a61090f565b92915050565b5f8261095a57634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160401b03818116838216019081111561093a5761093a61090f565b5f6020828403121561098e575f80fd5b81516001600160a01b03811681146109a4575f80fd5b9392505050565b8082018082111561093a5761093a61090f565b60805160a05160c051613632610a205f395f81816108b30152612eb301525f818161035c015281816127550152612f0a01525f818161055301528181611a3a015281816127920152818161284c01528181612b950152612bbc01526136325ff3fe6080604052600436106102f5575f3560e01c80637580863111610189578063b0249cc6116100d8578063d00efb2f11610092578063f270fde41161006d578063f270fde414610a00578063f2fde38b14610a4a578063f5648a4f14610a69578063f8686f0714610a7d575f80fd5b8063d00efb2f146109ad578063d34628cc146109c2578063dd62ed3e146109e1575f80fd5b8063b0249cc6146108d5578063bedafd0114610903578063c78d0fa014610922578063c876d0b914610937578063cc1776d314610950578063ccad03e11461098e575f80fd5b80638da5cb5b11610143578063a457c2d71161011e578063a457c2d714610845578063a5ece94114610864578063a9059cbb14610883578063ad5c4648146108a2575f80fd5b80638da5cb5b146107e757806395d89b41146108045780639e93ad8e14610818575f80fd5b806375808631146107355780638503376214610749578063860a32ec146107685780638a8c523c146107865780638becc57d1461079a5780638d3e6e40146107b9575f80fd5b80633ad10ef6116102455780635a90a49e116101ff5780636d7adcad116101da5780636d7adcad1461066557806370a08231146106d9578063715018a61461070d578063751039fc14610721575f80fd5b80635a90a49e146105ff578063627e9d8e1461062d57806366ebd39a14610646575f80fd5b80633ad10ef6146104d75780633bbac579146104f6578063432e95a51461052d578063452ed4f1146105425780634f7041a51461057557806353371be0146105e6575f80fd5b80632369bf83116102b0578063313ce5671161028b578063313ce5671461045f57806331c2d8471461047a57806336e18e191461049957806339509351146104b8575f80fd5b80632369bf831461040257806323b872dd14610421578063286965a714610440575f80fd5b8062ae3bf81461030057806306fdde03146103215780630758d9241461034b578063095ea7b31461039657806318160ddd146103c557806321045918146103e3575f80fd5b366102fc57005b5f80fd5b34801561030b575f80fd5b5061031f61031a36600461302a565b610a91565b005b34801561032c575f80fd5b50610335610b73565b604051610342919061304a565b60405180910390f35b348015610356575f80fd5b5061037e7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610342565b3480156103a1575f80fd5b506103b56103b036600461307f565b610c03565b6040519015158152602001610342565b3480156103d0575f80fd5b506002545b604051908152602001610342565b3480156103ee575f80fd5b5061031f6103fd3660046130a7565b610c1c565b34801561040d575f80fd5b5061031f61041c36600461302a565b610d67565b34801561042c575f80fd5b506103b561043b3660046130be565b610df8565b34801561044b575f80fd5b5061031f61045a36600461310e565b610e1b565b34801561046a575f80fd5b5060405160128152602001610342565b348015610485575f80fd5b5061031f610494366004613162565b610fb8565b3480156104a4575f80fd5b5061031f6104b336600461322a565b61103c565b3480156104c3575f80fd5b506103b56104d236600461307f565b611154565b3480156104e2575f80fd5b50600b5461037e906001600160a01b031681565b348015610501575f80fd5b506103b561051036600461302a565b6001600160a01b03165f9081526016602052604090205460ff1690565b348015610538575f80fd5b506103d560125481565b34801561054d575f80fd5b5061037e7f000000000000000000000000000000000000000000000000000000000000000081565b348015610580575f80fd5b50600c546105b3906001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b604080516001600160401b0395861681529385166020850152918416918301919091529091166060820152608001610342565b3480156105f1575f80fd5b506008546103b59060ff1681565b34801561060a575f80fd5b506103b561061936600461302a565b60066020525f908152604090205460ff1681565b348015610638575f80fd5b506010546103b59060ff1681565b348015610651575f80fd5b5061031f61066036600461322a565b611175565b348015610670575f80fd5b50600e546106a4906001600160501b0380821691600160501b8104821691600160a01b82041690600160f01b900460ff1684565b60405161034294939291906001600160501b039485168152928416602084015292166040820152901515606082015260800190565b3480156106e4575f80fd5b506103d56106f336600461302a565b6001600160a01b03165f9081526020819052604090205490565b348015610718575f80fd5b5061031f611289565b34801561072c575f80fd5b5061031f6112fc565b348015610740575f80fd5b5061031f61139c565b348015610754575f80fd5b5061031f61076336600461302a565b611541565b348015610773575f80fd5b506010546103b590610100900460ff1681565b348015610791575f80fd5b5061031f6115d2565b3480156107a5575f80fd5b5061031f6107b436600461310e565b611667565b3480156107c4575f80fd5b506103b56107d336600461302a565b60076020525f908152604090205460ff1681565b3480156107f2575f80fd5b506005546001600160a01b031661037e565b34801561080f575f80fd5b50610335611804565b348015610823575f80fd5b5061082d61271081565b6040516001600160401b039091168152602001610342565b348015610850575f80fd5b506103b561085f36600461307f565b611813565b34801561086f575f80fd5b50600a5461037e906001600160a01b031681565b34801561088e575f80fd5b506103b561089d36600461307f565b61188d565b3480156108ad575f80fd5b5061037e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156108e0575f80fd5b506103b56108ef36600461302a565b60096020525f908152604090205460ff1681565b34801561090e575f80fd5b5061031f61091d366004613260565b61189a565b34801561092d575f80fd5b506103d560115481565b348015610942575f80fd5b506015546103b59060ff1681565b34801561095b575f80fd5b50600d546105b3906001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b348015610999575f80fd5b5061031f6109a8366004613260565b6119c4565b3480156109b8575f80fd5b506103d560145481565b3480156109cd575f80fd5b5061031f6109dc366004613162565b611b09565b3480156109ec575f80fd5b506103d56109fb366004613295565b611b8e565b348015610a0b575f80fd5b50601354610a2a906001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610342565b348015610a55575f80fd5b5061031f610a6436600461302a565b611bb8565b348015610a74575f80fd5b5061031f611ca2565b348015610a88575f80fd5b5061031f611cf7565b6001600160a01b038116610aec5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f74206265203000000000000060448201526064015b60405180910390fd5b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610b30573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5491906132c6565b600b54909150610b6f9083906001600160a01b031683611d73565b5050565b606060038054610b82906132dd565b80601f0160208091040260200160405190810160405280929190818152602001828054610bae906132dd565b8015610bf95780601f10610bd057610100808354040283529160200191610bf9565b820191905f5260205f20905b815481529060010190602001808311610bdc57829003601f168201915b5050505050905090565b5f33610c10818585611dca565b60019150505b92915050565b6005546001600160a01b03163314610c465760405162461bcd60e51b8152600401610ae390613315565b620186a0610c5360025490565b610c5e90600161335e565b610c689190613389565b811015610cd55760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610ae3565b6103e8610ce160025490565b610cec90600561335e565b610cf69190613389565b811115610d625760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610ae3565b601155565b6005546001600160a01b03163314610d915760405162461bcd60e51b8152600401610ae390613315565b6001600160a01b038116610dd65760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610ae3565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b5f33610e05858285611eed565b610e10858585611f5f565b506001949350505050565b6005546001600160a01b03163314610e455760405162461bcd60e51b8152600401610ae390613315565b604080516080810182525f60608201526001600160401b03858116825284811692820192909252908216602082015281610e7f848661339c565b610e89919061339c565b6001600160401b0316606082018190526103e8101580610ec35750600d5460608201516001600160401b03600160c01b9092048216911611155b610f045760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610ae3565b60608101516040516001600160401b0390911681527fa02824f65350567bc405e202b741e7ca6274004a9feeb44149df72b8bd599c979060200160405180910390a18051600d8054602084015160408501516060909501516001600160401b03908116600160c01b026001600160c01b03968216600160801b02969096166001600160801b03928216600160401b026001600160801b03199094169190951617919091171691909117919091179055505050565b6005546001600160a01b03163314610fe25760405162461bcd60e51b8152600401610ae390613315565b5f5b8151811015610b6f575f60165f848481518110611003576110036133bb565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055600101610fe4565b6005546001600160a01b031633146110665760405162461bcd60e51b8152600401610ae390613315565b6110726012600a6134b2565b6103e861107e60025490565b61108990600161335e565b6110939190613389565b61109d9190613389565b816001600160801b031610156110df5760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610ae3565b6110eb6012600a6134b2565b6110fe906001600160801b03831661335e565b601380546001600160801b0319166001600160801b039290921691821790556040519081527f6710da7d4acedae09cb83751ae24c150719ef67dcbc1e02049f171d13c6b44e6906020015b60405180910390a150565b5f33610c108185856111668383611b8e565b61117091906134c0565b611dca565b6005546001600160a01b0316331461119f5760405162461bcd60e51b8152600401610ae390613315565b6111ab6012600a6134b2565b6103e86111b760025490565b6111c290600161335e565b6111cc9190613389565b6111d69190613389565b816001600160801b031610156112185760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610ae3565b6112246012600a6134b2565b611237906001600160801b03831661335e565b601380546001600160801b03908116600160801b93821684021791829055604051929091041681527fde064515fae8f8bb6d8ff19d2c6ba704322def7494147d8a971266430ade078890602001611149565b6005546001600160a01b031633146112b35760405162461bcd60e51b8152600401610ae390613315565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146113265760405162461bcd60e51b8152600401610ae390613315565b6010805461ff0019169055604080518082019091525f80825260208201525f61134e60025490565b6001600160801b03811680845260208401819052600160801b8102176013556040519091507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a15050565b600b546001600160a01b031633146113e05760405162461bcd60e51b81526020600482015260076024820152662737ba103232bb60c91b6044820152606401610ae3565b60408051608081018252600c546001600160401b03808216808452600160401b8304821660208501819052600160801b8404831695850195909552600160c01b909204166060830152909190829061143990839061339c565b6001600160401b039081169091525f6020848101919091528351600c80546040808801516060808a01519588166001600160c01b031990941693909317600160801b9188168202176001600160c01b0316600160c01b9588168602179093558051608081018252600d54808816808352600160401b820489169783018890529481048816928201929092529390049094169382019390935292509082906114e190839061339c565b6001600160401b039081169091525f60208401528251600d805460408601516060909601519284166001600160c01b031990911617600160801b95841695909502949094176001600160c01b0316600160c01b9190921602179091555050565b6005546001600160a01b0316331461156b5760405162461bcd60e51b8152600401610ae390613315565b6001600160a01b0381166115b05760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610ae3565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146115fc5760405162461bcd60e51b8152600401610ae390613315565b60085460ff161561164f5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610ae3565b6008805460ff19166001179055436014819055601255565b6005546001600160a01b031633146116915760405162461bcd60e51b8152600401610ae390613315565b604080516080810182525f60608201526001600160401b038581168252848116928201929092529082166020820152816116cb848661339c565b6116d5919061339c565b6001600160401b0316606082018190526103e810158061170f5750600c5460608201516001600160401b03600160c01b9092048216911611155b6117505760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610ae3565b60608101516040516001600160401b0390911681527f5380a61520019ce8270d583f62f1b2b9f4f4372e1acaaf708f4865cecece05089060200160405180910390a18051600c8054602084015160408501516060909501516001600160401b03908116600160c01b026001600160c01b03968216600160801b02969096166001600160801b03928216600160401b026001600160801b03199094169190951617919091171691909117919091179055505050565b606060048054610b82906132dd565b5f33816118208286611b8e565b9050838110156118805760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610ae3565b610e108286868403611dca565b5f33610c10818585611f5f565b6005546001600160a01b031633146118c45760405162461bcd60e51b8152600401610ae390613315565b6001600160a01b0382166119095760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610ae3565b306001600160a01b038316036119615760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420756e6578656d707420636f6e747261637400000000000000006044820152606401610ae3565b6001600160a01b0382165f81815260066020908152604091829020805460ff19168515159081179091558251938452908301527f998cce27cbf44405c67eb636a634d5e2f2e6ff248b3d71fbbbb022f3c4c6dd2d91015b60405180910390a15050565b6005546001600160a01b031633146119ee5760405162461bcd60e51b8152600401610ae390613315565b6001600160a01b038216611a335760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610ae3565b80611aae577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603611aae5760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b6b7bb32903830b4b960711b6044820152606401610ae3565b6001600160a01b0382165f81815260076020908152604091829020805460ff19168515159081179091558251938452908301527f8f9f40630a1d139e6cf69b4f447ca47a36f10a017524efaa38252e516fa227ce91016119b8565b6005546001600160a01b03163314611b335760405162461bcd60e51b8152600401610ae390613315565b5f5b8151811015610b6f57600160165f848481518110611b5557611b556133bb565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055600101611b35565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6005546001600160a01b03163314611be25760405162461bcd60e51b8152600401610ae390613315565b6001600160a01b038116611c475760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ae3565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b600b546040515f916001600160a01b03169047908381818185875af1925050503d805f8114611cec576040519150601f19603f3d011682016040523d82523d5f602084013e611cf1565b606091505b50505050565b6005546001600160a01b03163314611d215760405162461bcd60e51b8152600401610ae390613315565b60155460ff16611d675760405162461bcd60e51b8152602060048201526011602482015270416c72656164792064697361626c65642160781b6044820152606401610ae3565b6015805460ff19169055565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611dc590849061208a565b505050565b6001600160a01b038316611e2c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ae3565b6001600160a01b038216611e8d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ae3565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f611ef88484611b8e565b90505f198114611cf15781811015611f525760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610ae3565b611cf18484848403611dca565b6001600160a01b0383165f9081526006602052604090205460ff16158015611f9f57506001600160a01b0382165f9081526006602052604090205460ff16155b1561207f576001600160a01b0383165f9081526016602052604090205460ff16158015611fe457506001600160a01b0382165f9081526016602052604090205460ff16155b6120165760405162461bcd60e51b8152602060048201526003602482015262109bdd60ea1b6044820152606401610ae3565b60085460ff1661205d5760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610ae3565b61206883838361215b565b61207290826134d3565b905061207f838383612550565b611dc58383836128df565b5f6120de826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a829092919063ffffffff16565b805190915015611dc557808060200190518101906120fc91906134e6565b611dc55760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610ae3565b601154305f9081526020819052604081205490911115801561219557506001600160a01b0384165f9081526009602052604090205460ff16155b80156121af57504360125460026121ac91906134c0565b11155b156121bc576121bc612a98565b604080516080810182525f8082526020808301829052828401829052606083018290526001600160a01b0387168252600990529182205460ff1615612248575060408051608081018252600d546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b900490911660608201526122b1565b6001600160a01b0386165f9081526009602052604090205460ff16156122b1575060408051608081018252600c546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b900490911660608201525b60608101516001600160401b03161561253e5760408051608081018252600e546001600160501b038082168352600160501b820481166020840152600160a01b82041692820192909252600160f01b90910460ff161515606082015260145443900361238b576001600160a01b0387165f9081526009602052604090205460ff161561235757612710612346866103e861335e565b6123509190613389565b92506123b4565b6001600160a01b0386165f9081526009602052604090205460ff1615612386576127106123468661138861335e565b6123b4565b6060820151612710906123a7906001600160401b03168761335e565b6123b19190613389565b92505b633b9aca0082606001516001600160401b031683604001516001600160401b0316856123e09190613501565b6123ea919061352a565b6123f4919061352a565b816020018181516124059190613557565b6001600160501b031690525060608201518251633b9aca00916001600160401b0390811691612435911686613501565b61243f919061352a565b612449919061352a565b81518290612458908390613557565b6001600160501b031690525060608201516020830151633b9aca00916001600160401b039081169161248b911686613501565b612495919061352a565b61249f919061352a565b816040018181516124b09190613557565b6001600160501b039081169091528251600e80546020860151604087015160608801511515600160f01b0260ff60f01b19918716600160a01b02919091166affffffffffffffffffffff60a01b19928716600160501b026001600160a01b031990941695909616949094179190911716929092171790555061253c87306001600160801b0386166128df565b505b506001600160801b0316949350505050565b601054610100900460ff1615611dc5576001600160a01b038281165f9081526007602090815260408083205483835281842054825180840184526013546001600160801b038082168352600160801b90910416818601529589168552600990935292205460ff9283169391921680156125c7575082155b156126685780516001600160801b03168411156126105760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610ae3565b60208101516001600160801b031661262883866134c0565b11156126635760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610ae3565b612748565b6001600160a01b0385165f9081526009602052604090205460ff1680156126a757506001600160a01b0386165f9081526007602052604090205460ff16155b156126f05780516001600160801b03168411156126635760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610ae3565b826127485760208101516001600160801b031661270d83866134c0565b11156127485760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610ae3565b60155460ff16156128d7577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b0316141580156127c757507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b156128d757325f908152600f602052604090205443906127e890601e6134c0565b106128265760405162461bcd60e51b815260206004820152600e60248201526d5472616e736665722044656c617960901b6044820152606401610ae3565b6001600160a01b038086165f908152600f602052604080822043908190553283529120557f00000000000000000000000000000000000000000000000000000000000000008116908716036128d757326001600160a01b038616146128d75760405162461bcd60e51b815260206004820152602160248201527f6e6f20627579696e6720746f2065787465726e616c2077616c6c6574732079656044820152601d60fa1b6064820152608401610ae3565b505050505050565b6001600160a01b0383166129435760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610ae3565b6001600160a01b0382166129a55760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610ae3565b6001600160a01b0383165f9081526020819052604090205481811015612a1c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610ae3565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b6060612a9084845f85612d87565b949350505050565b305f9081526020819052604081205460408051608081018252600e546001600160501b03808216808452600160501b8304821660208501819052600160a01b8404909216948401859052600160f01b90920460ff161515606084015293945090925f9291612b0591613557565b612b0f9190613557565b6001600160501b03169050821580612b25575080155b15612b2f57505050565b601154612b3d90600a61335e565b831115612b5557601154612b5290600a61335e565b92505b60208201516001600160501b031615612c4d575f8183602001516001600160501b031685612b83919061335e565b612b8d9190613389565b9050612bba307f0000000000000000000000000000000000000000000000000000000000000000836128df565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015612c12575f80fd5b505af1925050508015612c23575060015b50612c2e81856134d3565b935082602001516001600160501b031682612c4991906134d3565b9150505b8215612d4b57612c5c83612e5e565b604082015147905f906001600160501b031615612cea57600b5460408501516001600160a01b03909116908490612c9c906001600160501b03168561335e565b612ca69190613389565b6040515f81818185875af1925050503d805f8114612cdf576040519150601f19603f3d011682016040523d82523d5f602084013e612ce4565b606091505b50909150505b4791508115612d4857600a546040516001600160a01b039091169083905f81818185875af1925050503d805f8114612d3d576040519150601f19603f3d011682016040523d82523d5f602084013e612d42565b606091505b50909150505b50505b505f602082018190528082526040820152600e80546060909201511515600160f01b026001600160f81b03199092169190911790555043601255565b606082471015612de85760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610ae3565b5f80866001600160a01b03168587604051612e039190613576565b5f6040518083038185875af1925050503d805f8114612e3d576040519150601f19603f3d011682016040523d82523d5f602084013e612e42565b606091505b5091509150612e5387838387612f72565b979650505050505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110612e9157612e916133bb565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110612ee557612ee56133bb565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063791ac94790612f499085905f9086903090429060040161358c565b5f604051808303815f87803b158015612f60575f80fd5b505af11580156128d7573d5f803e3d5ffd5b60608315612fe05782515f03612fd9576001600160a01b0385163b612fd95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610ae3565b5081612a90565b612a908383815115612ff55781518083602001fd5b8060405162461bcd60e51b8152600401610ae3919061304a565b80356001600160a01b0381168114613025575f80fd5b919050565b5f6020828403121561303a575f80fd5b6130438261300f565b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f8060408385031215613090575f80fd5b6130998361300f565b946020939093013593505050565b5f602082840312156130b7575f80fd5b5035919050565b5f805f606084860312156130d0575f80fd5b6130d98461300f565b92506130e76020850161300f565b929592945050506040919091013590565b80356001600160401b0381168114613025575f80fd5b5f805f60608486031215613120575f80fd5b613129846130f8565b9250613137602085016130f8565b9150613145604085016130f8565b90509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215613172575f80fd5b81356001600160401b03811115613187575f80fd5b8201601f81018413613197575f80fd5b80356001600160401b038111156131b0576131b061314e565b8060051b604051601f19603f83011681018181106001600160401b03821117156131dc576131dc61314e565b6040529182526020818401810192908101878411156131f9575f80fd5b6020850194505b8385101561321f576132118561300f565b815260209485019401613200565b509695505050505050565b5f6020828403121561323a575f80fd5b81356001600160801b0381168114613043575f80fd5b801515811461325d575f80fd5b50565b5f8060408385031215613271575f80fd5b61327a8361300f565b9150602083013561328a81613250565b809150509250929050565b5f80604083850312156132a6575f80fd5b6132af8361300f565b91506132bd6020840161300f565b90509250929050565b5f602082840312156132d6575f80fd5b5051919050565b600181811c908216806132f157607f821691505b60208210810361330f57634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610c1657610c1661334a565b634e487b7160e01b5f52601260045260245ffd5b5f8261339757613397613375565b500490565b6001600160401b038181168382160190811115610c1657610c1661334a565b634e487b7160e01b5f52603260045260245ffd5b6001815b600184111561340a578085048111156133ee576133ee61334a565b60018416156133fc57908102905b60019390931c9280026133d3565b935093915050565b5f8261342057506001610c16565b8161342c57505f610c16565b8160018114613442576002811461344c57613468565b6001915050610c16565b60ff84111561345d5761345d61334a565b50506001821b610c16565b5060208310610133831016604e8410600b841016171561348b575081810a610c16565b6134975f1984846133cf565b805f19048211156134aa576134aa61334a565b029392505050565b5f61304360ff841683613412565b80820180821115610c1657610c1661334a565b81810381811115610c1657610c1661334a565b5f602082840312156134f6575f80fd5b815161304381613250565b6001600160801b0381811683821602908116908181146135235761352361334a565b5092915050565b5f6001600160801b0383168061354257613542613375565b806001600160801b0384160491505092915050565b6001600160501b038181168382160190811115610c1657610c1661334a565b5f82518060208501845e5f920191825250919050565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b818110156135dc5783516001600160a01b03168352602093840193909201916001016135b5565b50506001600160a01b03959095166060840152505060800152939250505056fea2646970667358221220159216571e3719b4ede2eaaeae1e8abf4e032d83af1ea56fddf429ee86aa940464736f6c634300081a0033
Deployed Bytecode
0x6080604052600436106102f5575f3560e01c80637580863111610189578063b0249cc6116100d8578063d00efb2f11610092578063f270fde41161006d578063f270fde414610a00578063f2fde38b14610a4a578063f5648a4f14610a69578063f8686f0714610a7d575f80fd5b8063d00efb2f146109ad578063d34628cc146109c2578063dd62ed3e146109e1575f80fd5b8063b0249cc6146108d5578063bedafd0114610903578063c78d0fa014610922578063c876d0b914610937578063cc1776d314610950578063ccad03e11461098e575f80fd5b80638da5cb5b11610143578063a457c2d71161011e578063a457c2d714610845578063a5ece94114610864578063a9059cbb14610883578063ad5c4648146108a2575f80fd5b80638da5cb5b146107e757806395d89b41146108045780639e93ad8e14610818575f80fd5b806375808631146107355780638503376214610749578063860a32ec146107685780638a8c523c146107865780638becc57d1461079a5780638d3e6e40146107b9575f80fd5b80633ad10ef6116102455780635a90a49e116101ff5780636d7adcad116101da5780636d7adcad1461066557806370a08231146106d9578063715018a61461070d578063751039fc14610721575f80fd5b80635a90a49e146105ff578063627e9d8e1461062d57806366ebd39a14610646575f80fd5b80633ad10ef6146104d75780633bbac579146104f6578063432e95a51461052d578063452ed4f1146105425780634f7041a51461057557806353371be0146105e6575f80fd5b80632369bf83116102b0578063313ce5671161028b578063313ce5671461045f57806331c2d8471461047a57806336e18e191461049957806339509351146104b8575f80fd5b80632369bf831461040257806323b872dd14610421578063286965a714610440575f80fd5b8062ae3bf81461030057806306fdde03146103215780630758d9241461034b578063095ea7b31461039657806318160ddd146103c557806321045918146103e3575f80fd5b366102fc57005b5f80fd5b34801561030b575f80fd5b5061031f61031a36600461302a565b610a91565b005b34801561032c575f80fd5b50610335610b73565b604051610342919061304a565b60405180910390f35b348015610356575f80fd5b5061037e7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610342565b3480156103a1575f80fd5b506103b56103b036600461307f565b610c03565b6040519015158152602001610342565b3480156103d0575f80fd5b506002545b604051908152602001610342565b3480156103ee575f80fd5b5061031f6103fd3660046130a7565b610c1c565b34801561040d575f80fd5b5061031f61041c36600461302a565b610d67565b34801561042c575f80fd5b506103b561043b3660046130be565b610df8565b34801561044b575f80fd5b5061031f61045a36600461310e565b610e1b565b34801561046a575f80fd5b5060405160128152602001610342565b348015610485575f80fd5b5061031f610494366004613162565b610fb8565b3480156104a4575f80fd5b5061031f6104b336600461322a565b61103c565b3480156104c3575f80fd5b506103b56104d236600461307f565b611154565b3480156104e2575f80fd5b50600b5461037e906001600160a01b031681565b348015610501575f80fd5b506103b561051036600461302a565b6001600160a01b03165f9081526016602052604090205460ff1690565b348015610538575f80fd5b506103d560125481565b34801561054d575f80fd5b5061037e7f00000000000000000000000043ba944d2171cf4d2398e477d485dd0e88fff38581565b348015610580575f80fd5b50600c546105b3906001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b604080516001600160401b0395861681529385166020850152918416918301919091529091166060820152608001610342565b3480156105f1575f80fd5b506008546103b59060ff1681565b34801561060a575f80fd5b506103b561061936600461302a565b60066020525f908152604090205460ff1681565b348015610638575f80fd5b506010546103b59060ff1681565b348015610651575f80fd5b5061031f61066036600461322a565b611175565b348015610670575f80fd5b50600e546106a4906001600160501b0380821691600160501b8104821691600160a01b82041690600160f01b900460ff1684565b60405161034294939291906001600160501b039485168152928416602084015292166040820152901515606082015260800190565b3480156106e4575f80fd5b506103d56106f336600461302a565b6001600160a01b03165f9081526020819052604090205490565b348015610718575f80fd5b5061031f611289565b34801561072c575f80fd5b5061031f6112fc565b348015610740575f80fd5b5061031f61139c565b348015610754575f80fd5b5061031f61076336600461302a565b611541565b348015610773575f80fd5b506010546103b590610100900460ff1681565b348015610791575f80fd5b5061031f6115d2565b3480156107a5575f80fd5b5061031f6107b436600461310e565b611667565b3480156107c4575f80fd5b506103b56107d336600461302a565b60076020525f908152604090205460ff1681565b3480156107f2575f80fd5b506005546001600160a01b031661037e565b34801561080f575f80fd5b50610335611804565b348015610823575f80fd5b5061082d61271081565b6040516001600160401b039091168152602001610342565b348015610850575f80fd5b506103b561085f36600461307f565b611813565b34801561086f575f80fd5b50600a5461037e906001600160a01b031681565b34801561088e575f80fd5b506103b561089d36600461307f565b61188d565b3480156108ad575f80fd5b5061037e7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b3480156108e0575f80fd5b506103b56108ef36600461302a565b60096020525f908152604090205460ff1681565b34801561090e575f80fd5b5061031f61091d366004613260565b61189a565b34801561092d575f80fd5b506103d560115481565b348015610942575f80fd5b506015546103b59060ff1681565b34801561095b575f80fd5b50600d546105b3906001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b348015610999575f80fd5b5061031f6109a8366004613260565b6119c4565b3480156109b8575f80fd5b506103d560145481565b3480156109cd575f80fd5b5061031f6109dc366004613162565b611b09565b3480156109ec575f80fd5b506103d56109fb366004613295565b611b8e565b348015610a0b575f80fd5b50601354610a2a906001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610342565b348015610a55575f80fd5b5061031f610a6436600461302a565b611bb8565b348015610a74575f80fd5b5061031f611ca2565b348015610a88575f80fd5b5061031f611cf7565b6001600160a01b038116610aec5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f74206265203000000000000060448201526064015b60405180910390fd5b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610b30573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5491906132c6565b600b54909150610b6f9083906001600160a01b031683611d73565b5050565b606060038054610b82906132dd565b80601f0160208091040260200160405190810160405280929190818152602001828054610bae906132dd565b8015610bf95780601f10610bd057610100808354040283529160200191610bf9565b820191905f5260205f20905b815481529060010190602001808311610bdc57829003601f168201915b5050505050905090565b5f33610c10818585611dca565b60019150505b92915050565b6005546001600160a01b03163314610c465760405162461bcd60e51b8152600401610ae390613315565b620186a0610c5360025490565b610c5e90600161335e565b610c689190613389565b811015610cd55760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610ae3565b6103e8610ce160025490565b610cec90600561335e565b610cf69190613389565b811115610d625760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610ae3565b601155565b6005546001600160a01b03163314610d915760405162461bcd60e51b8152600401610ae390613315565b6001600160a01b038116610dd65760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610ae3565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b5f33610e05858285611eed565b610e10858585611f5f565b506001949350505050565b6005546001600160a01b03163314610e455760405162461bcd60e51b8152600401610ae390613315565b604080516080810182525f60608201526001600160401b03858116825284811692820192909252908216602082015281610e7f848661339c565b610e89919061339c565b6001600160401b0316606082018190526103e8101580610ec35750600d5460608201516001600160401b03600160c01b9092048216911611155b610f045760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610ae3565b60608101516040516001600160401b0390911681527fa02824f65350567bc405e202b741e7ca6274004a9feeb44149df72b8bd599c979060200160405180910390a18051600d8054602084015160408501516060909501516001600160401b03908116600160c01b026001600160c01b03968216600160801b02969096166001600160801b03928216600160401b026001600160801b03199094169190951617919091171691909117919091179055505050565b6005546001600160a01b03163314610fe25760405162461bcd60e51b8152600401610ae390613315565b5f5b8151811015610b6f575f60165f848481518110611003576110036133bb565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055600101610fe4565b6005546001600160a01b031633146110665760405162461bcd60e51b8152600401610ae390613315565b6110726012600a6134b2565b6103e861107e60025490565b61108990600161335e565b6110939190613389565b61109d9190613389565b816001600160801b031610156110df5760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610ae3565b6110eb6012600a6134b2565b6110fe906001600160801b03831661335e565b601380546001600160801b0319166001600160801b039290921691821790556040519081527f6710da7d4acedae09cb83751ae24c150719ef67dcbc1e02049f171d13c6b44e6906020015b60405180910390a150565b5f33610c108185856111668383611b8e565b61117091906134c0565b611dca565b6005546001600160a01b0316331461119f5760405162461bcd60e51b8152600401610ae390613315565b6111ab6012600a6134b2565b6103e86111b760025490565b6111c290600161335e565b6111cc9190613389565b6111d69190613389565b816001600160801b031610156112185760405162461bcd60e51b8152602060048201526007602482015266546f6f206c6f7760c81b6044820152606401610ae3565b6112246012600a6134b2565b611237906001600160801b03831661335e565b601380546001600160801b03908116600160801b93821684021791829055604051929091041681527fde064515fae8f8bb6d8ff19d2c6ba704322def7494147d8a971266430ade078890602001611149565b6005546001600160a01b031633146112b35760405162461bcd60e51b8152600401610ae390613315565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146113265760405162461bcd60e51b8152600401610ae390613315565b6010805461ff0019169055604080518082019091525f80825260208201525f61134e60025490565b6001600160801b03811680845260208401819052600160801b8102176013556040519091507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a15050565b600b546001600160a01b031633146113e05760405162461bcd60e51b81526020600482015260076024820152662737ba103232bb60c91b6044820152606401610ae3565b60408051608081018252600c546001600160401b03808216808452600160401b8304821660208501819052600160801b8404831695850195909552600160c01b909204166060830152909190829061143990839061339c565b6001600160401b039081169091525f6020848101919091528351600c80546040808801516060808a01519588166001600160c01b031990941693909317600160801b9188168202176001600160c01b0316600160c01b9588168602179093558051608081018252600d54808816808352600160401b820489169783018890529481048816928201929092529390049094169382019390935292509082906114e190839061339c565b6001600160401b039081169091525f60208401528251600d805460408601516060909601519284166001600160c01b031990911617600160801b95841695909502949094176001600160c01b0316600160c01b9190921602179091555050565b6005546001600160a01b0316331461156b5760405162461bcd60e51b8152600401610ae390613315565b6001600160a01b0381166115b05760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610ae3565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146115fc5760405162461bcd60e51b8152600401610ae390613315565b60085460ff161561164f5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610ae3565b6008805460ff19166001179055436014819055601255565b6005546001600160a01b031633146116915760405162461bcd60e51b8152600401610ae390613315565b604080516080810182525f60608201526001600160401b038581168252848116928201929092529082166020820152816116cb848661339c565b6116d5919061339c565b6001600160401b0316606082018190526103e810158061170f5750600c5460608201516001600160401b03600160c01b9092048216911611155b6117505760405162461bcd60e51b81526020600482015260126024820152714b656570207461782062656c6f772031302560701b6044820152606401610ae3565b60608101516040516001600160401b0390911681527f5380a61520019ce8270d583f62f1b2b9f4f4372e1acaaf708f4865cecece05089060200160405180910390a18051600c8054602084015160408501516060909501516001600160401b03908116600160c01b026001600160c01b03968216600160801b02969096166001600160801b03928216600160401b026001600160801b03199094169190951617919091171691909117919091179055505050565b606060048054610b82906132dd565b5f33816118208286611b8e565b9050838110156118805760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610ae3565b610e108286868403611dca565b5f33610c10818585611f5f565b6005546001600160a01b031633146118c45760405162461bcd60e51b8152600401610ae390613315565b6001600160a01b0382166119095760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610ae3565b306001600160a01b038316036119615760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420756e6578656d707420636f6e747261637400000000000000006044820152606401610ae3565b6001600160a01b0382165f81815260066020908152604091829020805460ff19168515159081179091558251938452908301527f998cce27cbf44405c67eb636a634d5e2f2e6ff248b3d71fbbbb022f3c4c6dd2d91015b60405180910390a15050565b6005546001600160a01b031633146119ee5760405162461bcd60e51b8152600401610ae390613315565b6001600160a01b038216611a335760405162461bcd60e51b815260206004820152600c60248201526b5a65726f204164647265737360a01b6044820152606401610ae3565b80611aae577f00000000000000000000000043ba944d2171cf4d2398e477d485dd0e88fff3856001600160a01b0316826001600160a01b031603611aae5760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b6b7bb32903830b4b960711b6044820152606401610ae3565b6001600160a01b0382165f81815260076020908152604091829020805460ff19168515159081179091558251938452908301527f8f9f40630a1d139e6cf69b4f447ca47a36f10a017524efaa38252e516fa227ce91016119b8565b6005546001600160a01b03163314611b335760405162461bcd60e51b8152600401610ae390613315565b5f5b8151811015610b6f57600160165f848481518110611b5557611b556133bb565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055600101611b35565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6005546001600160a01b03163314611be25760405162461bcd60e51b8152600401610ae390613315565b6001600160a01b038116611c475760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ae3565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b600b546040515f916001600160a01b03169047908381818185875af1925050503d805f8114611cec576040519150601f19603f3d011682016040523d82523d5f602084013e611cf1565b606091505b50505050565b6005546001600160a01b03163314611d215760405162461bcd60e51b8152600401610ae390613315565b60155460ff16611d675760405162461bcd60e51b8152602060048201526011602482015270416c72656164792064697361626c65642160781b6044820152606401610ae3565b6015805460ff19169055565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611dc590849061208a565b505050565b6001600160a01b038316611e2c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ae3565b6001600160a01b038216611e8d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ae3565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f611ef88484611b8e565b90505f198114611cf15781811015611f525760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610ae3565b611cf18484848403611dca565b6001600160a01b0383165f9081526006602052604090205460ff16158015611f9f57506001600160a01b0382165f9081526006602052604090205460ff16155b1561207f576001600160a01b0383165f9081526016602052604090205460ff16158015611fe457506001600160a01b0382165f9081526016602052604090205460ff16155b6120165760405162461bcd60e51b8152602060048201526003602482015262109bdd60ea1b6044820152606401610ae3565b60085460ff1661205d5760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610ae3565b61206883838361215b565b61207290826134d3565b905061207f838383612550565b611dc58383836128df565b5f6120de826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a829092919063ffffffff16565b805190915015611dc557808060200190518101906120fc91906134e6565b611dc55760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610ae3565b601154305f9081526020819052604081205490911115801561219557506001600160a01b0384165f9081526009602052604090205460ff16155b80156121af57504360125460026121ac91906134c0565b11155b156121bc576121bc612a98565b604080516080810182525f8082526020808301829052828401829052606083018290526001600160a01b0387168252600990529182205460ff1615612248575060408051608081018252600d546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b900490911660608201526122b1565b6001600160a01b0386165f9081526009602052604090205460ff16156122b1575060408051608081018252600c546001600160401b038082168352600160401b820481166020840152600160801b8204811693830193909352600160c01b900490911660608201525b60608101516001600160401b03161561253e5760408051608081018252600e546001600160501b038082168352600160501b820481166020840152600160a01b82041692820192909252600160f01b90910460ff161515606082015260145443900361238b576001600160a01b0387165f9081526009602052604090205460ff161561235757612710612346866103e861335e565b6123509190613389565b92506123b4565b6001600160a01b0386165f9081526009602052604090205460ff1615612386576127106123468661138861335e565b6123b4565b6060820151612710906123a7906001600160401b03168761335e565b6123b19190613389565b92505b633b9aca0082606001516001600160401b031683604001516001600160401b0316856123e09190613501565b6123ea919061352a565b6123f4919061352a565b816020018181516124059190613557565b6001600160501b031690525060608201518251633b9aca00916001600160401b0390811691612435911686613501565b61243f919061352a565b612449919061352a565b81518290612458908390613557565b6001600160501b031690525060608201516020830151633b9aca00916001600160401b039081169161248b911686613501565b612495919061352a565b61249f919061352a565b816040018181516124b09190613557565b6001600160501b039081169091528251600e80546020860151604087015160608801511515600160f01b0260ff60f01b19918716600160a01b02919091166affffffffffffffffffffff60a01b19928716600160501b026001600160a01b031990941695909616949094179190911716929092171790555061253c87306001600160801b0386166128df565b505b506001600160801b0316949350505050565b601054610100900460ff1615611dc5576001600160a01b038281165f9081526007602090815260408083205483835281842054825180840184526013546001600160801b038082168352600160801b90910416818601529589168552600990935292205460ff9283169391921680156125c7575082155b156126685780516001600160801b03168411156126105760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610ae3565b60208101516001600160801b031661262883866134c0565b11156126635760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610ae3565b612748565b6001600160a01b0385165f9081526009602052604090205460ff1680156126a757506001600160a01b0386165f9081526007602052604090205460ff16155b156126f05780516001600160801b03168411156126635760405162461bcd60e51b815260206004820152600760248201526626b0bc102a3c3760c91b6044820152606401610ae3565b826127485760208101516001600160801b031661270d83866134c0565b11156127485760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610ae3565b60155460ff16156128d7577f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316856001600160a01b0316141580156127c757507f00000000000000000000000043ba944d2171cf4d2398e477d485dd0e88fff3856001600160a01b0316856001600160a01b031614155b156128d757325f908152600f602052604090205443906127e890601e6134c0565b106128265760405162461bcd60e51b815260206004820152600e60248201526d5472616e736665722044656c617960901b6044820152606401610ae3565b6001600160a01b038086165f908152600f602052604080822043908190553283529120557f00000000000000000000000043ba944d2171cf4d2398e477d485dd0e88fff3858116908716036128d757326001600160a01b038616146128d75760405162461bcd60e51b815260206004820152602160248201527f6e6f20627579696e6720746f2065787465726e616c2077616c6c6574732079656044820152601d60fa1b6064820152608401610ae3565b505050505050565b6001600160a01b0383166129435760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610ae3565b6001600160a01b0382166129a55760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610ae3565b6001600160a01b0383165f9081526020819052604090205481811015612a1c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610ae3565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b6060612a9084845f85612d87565b949350505050565b305f9081526020819052604081205460408051608081018252600e546001600160501b03808216808452600160501b8304821660208501819052600160a01b8404909216948401859052600160f01b90920460ff161515606084015293945090925f9291612b0591613557565b612b0f9190613557565b6001600160501b03169050821580612b25575080155b15612b2f57505050565b601154612b3d90600a61335e565b831115612b5557601154612b5290600a61335e565b92505b60208201516001600160501b031615612c4d575f8183602001516001600160501b031685612b83919061335e565b612b8d9190613389565b9050612bba307f00000000000000000000000043ba944d2171cf4d2398e477d485dd0e88fff385836128df565b7f00000000000000000000000043ba944d2171cf4d2398e477d485dd0e88fff3856001600160a01b031663fff6cae96040518163ffffffff1660e01b81526004015f604051808303815f87803b158015612c12575f80fd5b505af1925050508015612c23575060015b50612c2e81856134d3565b935082602001516001600160501b031682612c4991906134d3565b9150505b8215612d4b57612c5c83612e5e565b604082015147905f906001600160501b031615612cea57600b5460408501516001600160a01b03909116908490612c9c906001600160501b03168561335e565b612ca69190613389565b6040515f81818185875af1925050503d805f8114612cdf576040519150601f19603f3d011682016040523d82523d5f602084013e612ce4565b606091505b50909150505b4791508115612d4857600a546040516001600160a01b039091169083905f81818185875af1925050503d805f8114612d3d576040519150601f19603f3d011682016040523d82523d5f602084013e612d42565b606091505b50909150505b50505b505f602082018190528082526040820152600e80546060909201511515600160f01b026001600160f81b03199092169190911790555043601255565b606082471015612de85760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610ae3565b5f80866001600160a01b03168587604051612e039190613576565b5f6040518083038185875af1925050503d805f8114612e3d576040519150601f19603f3d011682016040523d82523d5f602084013e612e42565b606091505b5091509150612e5387838387612f72565b979650505050505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110612e9157612e916133bb565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110612ee557612ee56133bb565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063791ac94790612f499085905f9086903090429060040161358c565b5f604051808303815f87803b158015612f60575f80fd5b505af11580156128d7573d5f803e3d5ffd5b60608315612fe05782515f03612fd9576001600160a01b0385163b612fd95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610ae3565b5081612a90565b612a908383815115612ff55781518083602001fd5b8060405162461bcd60e51b8152600401610ae3919061304a565b80356001600160a01b0381168114613025575f80fd5b919050565b5f6020828403121561303a575f80fd5b6130438261300f565b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f8060408385031215613090575f80fd5b6130998361300f565b946020939093013593505050565b5f602082840312156130b7575f80fd5b5035919050565b5f805f606084860312156130d0575f80fd5b6130d98461300f565b92506130e76020850161300f565b929592945050506040919091013590565b80356001600160401b0381168114613025575f80fd5b5f805f60608486031215613120575f80fd5b613129846130f8565b9250613137602085016130f8565b9150613145604085016130f8565b90509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215613172575f80fd5b81356001600160401b03811115613187575f80fd5b8201601f81018413613197575f80fd5b80356001600160401b038111156131b0576131b061314e565b8060051b604051601f19603f83011681018181106001600160401b03821117156131dc576131dc61314e565b6040529182526020818401810192908101878411156131f9575f80fd5b6020850194505b8385101561321f576132118561300f565b815260209485019401613200565b509695505050505050565b5f6020828403121561323a575f80fd5b81356001600160801b0381168114613043575f80fd5b801515811461325d575f80fd5b50565b5f8060408385031215613271575f80fd5b61327a8361300f565b9150602083013561328a81613250565b809150509250929050565b5f80604083850312156132a6575f80fd5b6132af8361300f565b91506132bd6020840161300f565b90509250929050565b5f602082840312156132d6575f80fd5b5051919050565b600181811c908216806132f157607f821691505b60208210810361330f57634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610c1657610c1661334a565b634e487b7160e01b5f52601260045260245ffd5b5f8261339757613397613375565b500490565b6001600160401b038181168382160190811115610c1657610c1661334a565b634e487b7160e01b5f52603260045260245ffd5b6001815b600184111561340a578085048111156133ee576133ee61334a565b60018416156133fc57908102905b60019390931c9280026133d3565b935093915050565b5f8261342057506001610c16565b8161342c57505f610c16565b8160018114613442576002811461344c57613468565b6001915050610c16565b60ff84111561345d5761345d61334a565b50506001821b610c16565b5060208310610133831016604e8410600b841016171561348b575081810a610c16565b6134975f1984846133cf565b805f19048211156134aa576134aa61334a565b029392505050565b5f61304360ff841683613412565b80820180821115610c1657610c1661334a565b81810381811115610c1657610c1661334a565b5f602082840312156134f6575f80fd5b815161304381613250565b6001600160801b0381811683821602908116908181146135235761352361334a565b5092915050565b5f6001600160801b0383168061354257613542613375565b806001600160801b0384160491505092915050565b6001600160501b038181168382160190811115610c1657610c1661334a565b5f82518060208501845e5f920191825250919050565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b818110156135dc5783516001600160a01b03168352602093840193909201916001016135b5565b50506001600160a01b03959095166060840152505060800152939250505056fea2646970667358221220159216571e3719b4ede2eaaeae1e8abf4e032d83af1ea56fddf429ee86aa940464736f6c634300081a0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.