More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 292 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 18443936 | 394 days ago | IN | 0 ETH | 0.00078264 | ||||
Approve | 18160755 | 434 days ago | IN | 0 ETH | 0.00021174 | ||||
Approve | 18067152 | 447 days ago | IN | 0 ETH | 0.00061191 | ||||
Approve | 17923791 | 467 days ago | IN | 0 ETH | 0.00100498 | ||||
Approve | 17906610 | 470 days ago | IN | 0 ETH | 0.00113919 | ||||
Approve | 17905320 | 470 days ago | IN | 0 ETH | 0.00032332 | ||||
Approve | 17900064 | 470 days ago | IN | 0 ETH | 0.00078487 | ||||
Rescue ETH | 17898583 | 471 days ago | IN | 0 ETH | 0.000378 | ||||
Approve | 17896493 | 471 days ago | IN | 0 ETH | 0.00061238 | ||||
Approve | 17895382 | 471 days ago | IN | 0 ETH | 0.00058615 | ||||
Approve | 17894902 | 471 days ago | IN | 0 ETH | 0.00062545 | ||||
Approve | 17894538 | 471 days ago | IN | 0 ETH | 0.00088342 | ||||
Approve | 17894532 | 471 days ago | IN | 0 ETH | 0.00089898 | ||||
Approve | 17894501 | 471 days ago | IN | 0 ETH | 0.000688 | ||||
Approve | 17894475 | 471 days ago | IN | 0 ETH | 0.00069135 | ||||
Approve | 17894464 | 471 days ago | IN | 0 ETH | 0.0006572 | ||||
Approve | 17894456 | 471 days ago | IN | 0 ETH | 0.0006611 | ||||
Approve | 17894428 | 471 days ago | IN | 0 ETH | 0.00066842 | ||||
Approve | 17894424 | 471 days ago | IN | 0 ETH | 0.00084132 | ||||
Approve | 17894413 | 471 days ago | IN | 0 ETH | 0.00083643 | ||||
Approve | 17894406 | 471 days ago | IN | 0 ETH | 0.00073993 | ||||
Approve | 17894390 | 471 days ago | IN | 0 ETH | 0.00075094 | ||||
Approve | 17894371 | 471 days ago | IN | 0 ETH | 0.00083895 | ||||
Approve | 17894366 | 471 days ago | IN | 0 ETH | 0.00083071 | ||||
Approve | 17894362 | 471 days ago | IN | 0 ETH | 0.00085242 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
17898583 | 471 days ago | 0.01133985 ETH | ||||
17894541 | 471 days ago | 0.01442814 ETH | ||||
17894541 | 471 days ago | 0.01442814 ETH | ||||
17894541 | 471 days ago | 0.00009413 ETH | ||||
17894541 | 471 days ago | 0.00721407 ETH | ||||
17894541 | 471 days ago | 0.03607035 ETH | ||||
17894362 | 471 days ago | 0.04994272 ETH | ||||
17894362 | 471 days ago | 0.04994272 ETH | ||||
17894362 | 471 days ago | 0.00067102 ETH | ||||
17894362 | 471 days ago | 0.02497136 ETH | ||||
17894362 | 471 days ago | 0.1248568 ETH | ||||
17894191 | 471 days ago | 0.08736551 ETH | ||||
17894191 | 471 days ago | 0.08736551 ETH | ||||
17894191 | 471 days ago | 0.0016034 ETH | ||||
17894191 | 471 days ago | 0.04368275 ETH | ||||
17894191 | 471 days ago | 0.21841377 ETH | ||||
17894154 | 471 days ago | 0.05370285 ETH | ||||
17894154 | 471 days ago | 0.05370285 ETH | ||||
17894154 | 471 days ago | 0.00076566 ETH | ||||
17894154 | 471 days ago | 0.02685142 ETH | ||||
17894154 | 471 days ago | 0.13425713 ETH | ||||
17894134 | 471 days ago | 0.01420829 ETH | ||||
17894134 | 471 days ago | 0.01420829 ETH | ||||
17894134 | 471 days ago | 0.00009527 ETH | ||||
17894134 | 471 days ago | 0.00710414 ETH |
Loading...
Loading
Contract Name:
COOKE
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: UNLICENSED import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; pragma solidity ^0.8.20; /* Cooke Clicker - Click to produce, get upgrades to boost your gameplay and earn $COOKE 🍪👀 Twitter: https://twitter.com/CookeClicker Telegram: https://t.me/CookeClicker Website: https://Cookeclicker.xyz */ contract COOKE is ERC20("Cooke Clicker", "COOKE"), Ownable { using Address for address payable; IUniswapV2Router02 public router; address public pair; bool private _liquidityMutex = false; bool private providingLiquidity = false; bool public tradingEnabled = false; uint256 private tokenLiquidityThreshold = 1_000_00 * 10 ** 18; uint256 public maxWalletLimit = 200_000 * 10 ** 18; uint256 private genesis_block; uint256 private deadline = 5; uint256 private launchtax = 25; address private marketingWallet; address private devWallet; struct Taxes { uint256 marketing; uint256 liquidity; uint256 dev; } Taxes public taxes = Taxes(15, 1, 2); Taxes public sellTaxes = Taxes(20, 1, 2); mapping(address => bool) public exemptFee; mapping(address => bool) private isearlybuyer; modifier mutexLock() { if (!_liquidityMutex) { _liquidityMutex = true; _; _liquidityMutex = false; } } function setPair(address pairAddress) external onlyOwner { pair = pairAddress; } function initialAirdrop( address[] calldata recipients, uint256[] calldata values ) external onlyOwner { require(recipients.length == values.length); for (uint256 i; i < recipients.length; ) { _transfer(msg.sender, recipients[i], values[i]); unchecked { i++; } } } constructor() { marketingWallet = msg.sender; devWallet = msg.sender; _mint(msg.sender, 100_000_00 * 10 ** 18); IUniswapV2Router02 _router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); router = _router; exemptFee[address(this)] = true; exemptFee[msg.sender] = true; exemptFee[marketingWallet] = true; exemptFee[devWallet] = true; _approve(address(this), address(router), type(uint256).max); } function approve( address spender, uint256 amount ) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = allowance(sender, _msgSender()); require( currentAllowance >= amount, "ERC20: transfer amount exceeds allowance" ); _approve(sender, _msgSender(), currentAllowance - amount); return true; } function increaseAllowance( address spender, uint256 addedValue ) public override returns (bool) { uint256 currentAllowance = allowance(_msgSender(), spender); _approve(_msgSender(), spender, currentAllowance + addedValue); return true; } function decreaseAllowance( address spender, uint256 subtractedValue ) public override returns (bool) { uint256 currentAllowance = allowance(_msgSender(), spender); require( currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero" ); _approve(_msgSender(), spender, currentAllowance - subtractedValue); return true; } function transfer( address recipient, uint256 amount ) public override returns (bool) { _transfer(msg.sender, recipient, amount); return true; } function _transfer( address sender, address recipient, uint256 amount ) internal override { require(amount > 0, "Transfer amount must be greater than zero"); require( !isearlybuyer[sender] && !isearlybuyer[recipient], "You can't transfer tokens" ); if (!exemptFee[sender] && !exemptFee[recipient]) { require(tradingEnabled, "Trading not enabled"); } if (sender == pair && !exemptFee[recipient] && !_liquidityMutex) { require( balanceOf(recipient) + amount <= maxWalletLimit, "You are exceeding maxWalletLimit" ); } if ( sender != pair && !exemptFee[recipient] && !exemptFee[sender] && !_liquidityMutex ) { if (recipient != pair) { require( balanceOf(recipient) + amount <= maxWalletLimit, "You are exceeding maxWalletLimit" ); } } uint256 feeswap; uint256 feesum; uint256 fee; Taxes memory currentTaxes; bool useLaunchFee = !exemptFee[sender] && !exemptFee[recipient] && block.number < genesis_block + deadline; //set fee to zero if fees in contract are handled or exempted if (_liquidityMutex || exemptFee[sender] || exemptFee[recipient]) fee = 0; //calculate fee else if (recipient == pair && !useLaunchFee) { feeswap = sellTaxes.liquidity + sellTaxes.marketing + sellTaxes.dev; feesum = feeswap; currentTaxes = sellTaxes; } else if (!useLaunchFee) { feeswap = taxes.liquidity + taxes.marketing + taxes.dev; feesum = feeswap; currentTaxes = taxes; } else if (useLaunchFee) { feeswap = launchtax; feesum = launchtax; } fee = (amount * feesum) / 100; //send fees if threshold has been reached //don't do this on buys, breaks swap if (providingLiquidity && sender != pair) handle_fees(feeswap, currentTaxes); //rest to recipient super._transfer(sender, recipient, amount - fee); if (fee > 0) { //send the fee to the contract if (feeswap > 0) { uint256 feeAmount = (amount * feeswap) / 100; super._transfer(sender, address(this), feeAmount); } } } function handle_fees( uint256 feeswap, Taxes memory swapTaxes ) private mutexLock { if (feeswap == 0) { return; } uint256 contractBalance = balanceOf(address(this)); if (contractBalance >= tokenLiquidityThreshold) { if (tokenLiquidityThreshold > 1) { contractBalance = tokenLiquidityThreshold; } // Split the contract balance into halves uint256 denominator = feeswap * 2; uint256 tokensToAddLiquidityWith = (contractBalance * swapTaxes.liquidity) / denominator; uint256 toSwap = contractBalance - tokensToAddLiquidityWith; uint256 initialBalance = address(this).balance; swapTokensForETH(toSwap); uint256 deltaBalance = address(this).balance - initialBalance; uint256 unitBalance = deltaBalance / (denominator - swapTaxes.liquidity); uint256 ethToAddLiquidityWith = unitBalance * swapTaxes.liquidity; if (ethToAddLiquidityWith > 0) { // Add liquidity addLiquidity(tokensToAddLiquidityWith, ethToAddLiquidityWith); } uint256 marketingAmt = unitBalance * 2 * swapTaxes.marketing; if (marketingAmt > 0) { payable(marketingWallet).sendValue(marketingAmt); } uint256 devAmt = unitBalance * 2 * swapTaxes.dev; if (devAmt > 0) { payable(devWallet).sendValue(devAmt); } } } function swapTokensForETH(uint256 tokenAmount) private { // generate the pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); // make the swap router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // add the liquidity router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable devWallet, block.timestamp ); } function updateLiquidityProvide(bool state) external onlyOwner { //update liquidity providing state providingLiquidity = state; } function updateLiquidityTreshhold(uint256 new_amount) external onlyOwner { //update the treshhold tokenLiquidityThreshold = new_amount * 10 ** decimals(); } function UpdateBuyTaxes( uint256 _marketing, uint256 _liquidity, uint256 _dev ) external onlyOwner { taxes = Taxes(_marketing, _liquidity, _dev); } function SetSellTaxes( uint256 _marketing, uint256 _liquidity, uint256 _dev ) external onlyOwner { sellTaxes = Taxes(_marketing, _liquidity, _dev); } function enableTrading() external onlyOwner { require(!tradingEnabled, "Trading is already enabled"); tradingEnabled = true; providingLiquidity = true; genesis_block = block.number; } function updatedeadline(uint256 _deadline) external onlyOwner { require(!tradingEnabled, "Can't change when trading has started"); require(_deadline < 3, "Block should be less than 3"); deadline = _deadline; } function updateMarketingWallet(address newWallet) external onlyOwner { marketingWallet = newWallet; } function updateDevWallet(address newWallet) external onlyOwner { devWallet = newWallet; } function updateIsEarlyBuyer( address account, bool state ) external onlyOwner { isearlybuyer[account] = state; } function bulkIsEarlyBuyer( address[] memory accounts, bool state ) external onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { isearlybuyer[accounts[i]] = state; } } function updateExemptFee(address _address, bool state) external onlyOwner { exemptFee[_address] = state; } function bulkExemptFee( address[] memory accounts, bool state ) external onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { exemptFee[accounts[i]] = state; } } function updateMaxWalletLimit(uint256 maxWallet) external onlyOwner { maxWalletLimit = maxWallet * 10 ** decimals(); } function rescueETH(uint256 weiAmount) external { payable(devWallet).transfer(weiAmount); } function rescueERC20(address tokenAdd, uint256 amount) external { IERC20(tokenAdd).transfer(devWallet, amount); } // fallbacks receive() external payable {} }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ 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"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ 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); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ 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"); _beforeTokenTransfer(from, to, amount); 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); _afterTokenTransfer(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"); _beforeTokenTransfer(address(0), account, amount); _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); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), 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); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_marketing","type":"uint256"},{"internalType":"uint256","name":"_liquidity","type":"uint256"},{"internalType":"uint256","name":"_dev","type":"uint256"}],"name":"SetSellTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketing","type":"uint256"},{"internalType":"uint256","name":"_liquidity","type":"uint256"},{"internalType":"uint256","name":"_dev","type":"uint256"}],"name":"UpdateBuyTaxes","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":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"state","type":"bool"}],"name":"bulkExemptFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"state","type":"bool"}],"name":"bulkIsEarlyBuyer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"exemptFee","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":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"initialAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxWalletLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAdd","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTaxes","outputs":[{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"dev","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pairAddress","type":"address"}],"name":"setPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxes","outputs":[{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"dev","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"updateExemptFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"updateIsEarlyBuyer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"updateLiquidityProvide","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"new_amount","type":"uint256"}],"name":"updateLiquidityTreshhold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxWallet","type":"uint256"}],"name":"updateMaxWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_deadline","type":"uint256"}],"name":"updatedeadline","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6007805462ffffff60a01b1916905569152d02c7e14af6800000600855692a5a058fc295ed0000006009556005600b556019600c55600f6080819052600160a0819052600260c081905291805560108190556011829055610140604052601460e081905261010082905261012083905260128190556013919091555534801562000087575f80fd5b506040518060400160405280600d81526020016c21b7b7b5b29021b634b1b5b2b960991b81525060405180604001604052806005815260200164434f4f4b4560d81b8152508160039081620000dd9190620004c3565b506004620000ec8282620004c3565b5050506200010962000103620001de60201b60201c565b620001e2565b600d8054336001600160a01b03199182168117909255600e80549091168217905562000141906a084595161401484a00000062000233565b600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081178255305f81815260156020526040808220805460ff1990811660019081179092553384528284208054821683179055600d546001600160a01b0390811685528385208054831684179055600e54811685529290932080549093161790915592549192620001d792165f19620002f8565b50620005b1565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166200028f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060025f828254620002a291906200058b565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0383166200035c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000286565b6001600160a01b038216620003bf5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000286565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200044d57607f821691505b6020821081036200046c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200041f575f81815260208120601f850160051c810160208610156200049a5750805b601f850160051c820191505b81811015620004bb57828155600101620004a6565b505050505050565b81516001600160401b03811115620004df57620004df62000424565b620004f781620004f0845462000438565b8462000472565b602080601f8311600181146200052d575f8415620005155750858301515b5f19600386901b1c1916600185901b178555620004bb565b5f85815260208120601f198616915b828110156200055d578886015182559484019460019091019084016200053c565b50858210156200057b57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620005ab57634e487b7160e01b5f52601160045260245ffd5b92915050565b61224680620005bf5f395ff3fe60806040526004361061021f575f3560e01c8063728f8eea1161011e578063a457c2d7116100a8578063dd62ed3e1161006d578063dd62ed3e14610667578063edaa1168146106ab578063f2fde38b146106ca578063f66895a3146106e9578063f887ea4014610707575f80fd5b8063a457c2d7146105bd578063a8aa1b31146105dc578063a9059cbb146105fb578063aacebbe31461061a578063c5d32bb214610639575f80fd5b80638cd4426d116100ee5780638cd4426d1461051b5780638da5cb5b1461053a57806395d89b411461056b5780639d282cd61461057f5780639e252f001461059e575f80fd5b8063728f8eea146104905780638187f516146104c95780638514022d146104e85780638a8c523c14610507575f80fd5b8063313ce567116101aa5780634ada218b1161016f5780634ada218b146103f45780634e736f221461041457806366a88d961461043357806370a0823114610448578063715018a61461047c575f80fd5b8063313ce5671461035d578063355496ca14610378578063395093511461039757806342b6fa11146103b65780634324deae146103d5575f80fd5b80631340538f116101f05780631340538f146102c357806318160ddd146102e25780631816467f14610300578063215d92a61461031f57806323b872dd1461033e575f80fd5b806206a2101461022a57806306fdde031461024b578063095ea7b3146102755780630e375a5c146102a4575f80fd5b3661022657005b5f80fd5b348015610235575f80fd5b50610249610244366004611c62565b610726565b005b348015610256575f80fd5b5061025f61079b565b60405161026c9190611cc9565b60405180910390f35b348015610280575f80fd5b5061029461028f366004611d38565b61082b565b604051901515815260200161026c565b3480156102af575f80fd5b506102496102be366004611d8e565b610841565b3480156102ce575f80fd5b506102496102dd366004611e60565b6108b2565b3480156102ed575f80fd5b506002545b60405190815260200161026c565b34801561030b575f80fd5b5061024961031a366004611e82565b6108d8565b34801561032a575f80fd5b50610249610339366004611d8e565b610902565b348015610349575f80fd5b50610294610358366004611e9d565b61096e565b348015610368575f80fd5b506040516012815260200161026c565b348015610383575f80fd5b50610249610392366004611edb565b610a0c565b3480156103a2575f80fd5b506102946103b1366004611d38565b610a3e565b3480156103c1575f80fd5b506102496103d0366004611f12565b610a88565b3480156103e0575f80fd5b506102496103ef366004611f12565b610aac565b3480156103ff575f80fd5b5060075461029490600160b01b900460ff1681565b34801561041f575f80fd5b5061024961042e366004611f29565b610ad0565b34801561043e575f80fd5b506102f260095481565b348015610453575f80fd5b506102f2610462366004611e82565b6001600160a01b03165f9081526020819052604090205490565b348015610487575f80fd5b50610249610afe565b34801561049b575f80fd5b50600f546010546011546104ae92919083565b6040805193845260208401929092529082015260600161026c565b3480156104d4575f80fd5b506102496104e3366004611e82565b610b11565b3480156104f3575f80fd5b50610249610502366004611edb565b610b3b565b348015610512575f80fd5b50610249610b6d565b348015610526575f80fd5b50610249610535366004611d38565b610bea565b348015610545575f80fd5b506005546001600160a01b03165b6040516001600160a01b03909116815260200161026c565b348015610576575f80fd5b5061025f610c5e565b34801561058a575f80fd5b50610249610599366004611f29565b610c6d565b3480156105a9575f80fd5b506102496105b8366004611f12565b610c9b565b3480156105c8575f80fd5b506102946105d7366004611d38565b610cd6565b3480156105e7575f80fd5b50600754610553906001600160a01b031681565b348015610606575f80fd5b50610294610615366004611d38565b610d50565b348015610625575f80fd5b50610249610634366004611e82565b610d5c565b348015610644575f80fd5b50610294610653366004611e82565b60156020525f908152604090205460ff1681565b348015610672575f80fd5b506102f2610681366004611f52565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156106b6575f80fd5b506102496106c5366004611f12565b610d86565b3480156106d5575f80fd5b506102496106e4366004611e82565b610e4b565b3480156106f4575f80fd5b506012546013546014546104ae92919083565b348015610712575f80fd5b50600654610553906001600160a01b031681565b61072e610ec4565b828114610739575f80fd5b5f5b838110156107945761078c3386868481811061075957610759611f7e565b905060200201602081019061076e9190611e82565b85858581811061078057610780611f7e565b90506020020135610f1e565b60010161073b565b5050505050565b6060600380546107aa90611f92565b80601f01602080910402602001604051908101604052809291908181526020018280546107d690611f92565b80156108215780601f106107f857610100808354040283529160200191610821565b820191905f5260205f20905b81548152906001019060200180831161080457829003601f168201915b5050505050905090565b5f6108373384846114b5565b5060015b92915050565b610849610ec4565b5f5b82518110156108ad578160155f85848151811061086a5761086a611f7e565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055806108a581611fde565b91505061084b565b505050565b6108ba610ec4565b60078054911515600160a81b0260ff60a81b19909216919091179055565b6108e0610ec4565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b61090a610ec4565b5f5b82518110156108ad578160165f85848151811061092b5761092b611f7e565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff19169115159190911790558061096681611fde565b91505061090c565b5f61097a848484610f1e565b5f6109858533610681565b9050828110156109ed5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610a0185336109fc8685611ff6565b6114b5565b506001949350505050565b610a14610ec4565b6001600160a01b03919091165f908152601560205260409020805460ff1916911515919091179055565b5f80610a6d335b6001600160a01b039081165f9081526001602090815260408083209389168352929052205490565b9050610a7e33856109fc8685612009565b5060019392505050565b610a90610ec4565b610a9c6012600a6120fc565b610aa6908261210a565b60085550565b610ab4610ec4565b610ac06012600a6120fc565b610aca908261210a565b60095550565b610ad8610ec4565b604080516060810182528481526020810184905201819052601292909255601355601455565b610b06610ec4565b610b0f5f6115d8565b565b610b19610ec4565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b610b43610ec4565b6001600160a01b03919091165f908152601660205260409020805460ff1916911515919091179055565b610b75610ec4565b600754600160b01b900460ff1615610bcf5760405162461bcd60e51b815260206004820152601a60248201527f54726164696e6720697320616c726561647920656e61626c656400000000000060448201526064016109e4565b6007805461ffff60a81b191661010160a81b17905543600a55565b600e5460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303815f875af1158015610c3a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ad9190612121565b6060600480546107aa90611f92565b610c75610ec4565b604080516060810182528481526020810184905201819052600f92909255601055601155565b600e546040516001600160a01b039091169082156108fc029083905f818181858888f19350505050158015610cd2573d5f803e3d5ffd5b5050565b5f80610ce133610a45565b905082811015610d415760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109e4565b610a7e33856109fc8685611ff6565b5f610837338484610f1e565b610d64610ec4565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b610d8e610ec4565b600754600160b01b900460ff1615610df65760405162461bcd60e51b815260206004820152602560248201527f43616e2774206368616e6765207768656e2074726164696e6720686173207374604482015264185c9d195960da1b60648201526084016109e4565b60038110610e465760405162461bcd60e51b815260206004820152601b60248201527f426c6f636b2073686f756c64206265206c657373207468616e2033000000000060448201526064016109e4565b600b55565b610e53610ec4565b6001600160a01b038116610eb85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109e4565b610ec1816115d8565b50565b6005546001600160a01b03163314610b0f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109e4565b5f8111610f7f5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016109e4565b6001600160a01b0383165f9081526016602052604090205460ff16158015610fbf57506001600160a01b0382165f9081526016602052604090205460ff16155b61100b5760405162461bcd60e51b815260206004820152601960248201527f596f752063616e2774207472616e7366657220746f6b656e730000000000000060448201526064016109e4565b6001600160a01b0383165f9081526015602052604090205460ff1615801561104b57506001600160a01b0382165f9081526015602052604090205460ff16155b1561109f57600754600160b01b900460ff1661109f5760405162461bcd60e51b8152602060048201526013602482015272151c98591a5b99c81b9bdd08195b98589b1959606a1b60448201526064016109e4565b6007546001600160a01b0384811691161480156110d457506001600160a01b0382165f9081526015602052604090205460ff16155b80156110ea5750600754600160a01b900460ff16155b156111695760095481611111846001600160a01b03165f9081526020819052604090205490565b61111b9190612009565b11156111695760405162461bcd60e51b815260206004820181905260248201527f596f752061726520657863656564696e67206d617857616c6c65744c696d697460448201526064016109e4565b6007546001600160a01b0384811691161480159061119f57506001600160a01b0382165f9081526015602052604090205460ff16155b80156111c357506001600160a01b0383165f9081526015602052604090205460ff16155b80156111d95750600754600160a01b900460ff16155b1561126d576007546001600160a01b0383811691161461126d5760095481611215846001600160a01b03165f9081526020819052604090205490565b61121f9190612009565b111561126d5760405162461bcd60e51b815260206004820181905260248201527f596f752061726520657863656564696e67206d617857616c6c65744c696d697460448201526064016109e4565b5f805f61129160405180606001604052805f81526020015f81526020015f81525090565b6001600160a01b0387165f9081526015602052604081205460ff161580156112d157506001600160a01b0387165f9081526015602052604090205460ff16155b80156112eb5750600b54600a546112e89190612009565b43105b600754909150600160a01b900460ff168061131d57506001600160a01b0388165f9081526015602052604090205460ff165b8061133f57506001600160a01b0387165f9081526015602052604090205460ff165b1561134c575f9250611416565b6007546001600160a01b038881169116148015611367575080155b156113b75760145460125460135461137f9190612009565b6113899190612009565b6040805160608101825260125481526013546020820152601454918101919091529095508594509150611416565b8061140757601154600f546010546113cf9190612009565b6113d99190612009565b60408051606081018252600f5481526010546020820152601154918101919091529095508594509150611416565b801561141657600c5494508493505b6064611422858861210a565b61142c919061213c565b600754909350600160a81b900460ff16801561145657506007546001600160a01b03898116911614155b15611465576114658583611629565b6114798888611474868a611ff6565b611799565b82156114ab5784156114ab575f6064611492878961210a565b61149c919061213c565b90506114a9893083611799565b505b5050505050505050565b6001600160a01b0383166115175760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109e4565b6001600160a01b0382166115785760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109e4565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b600754600160a01b900460ff16610cd2576007805460ff60a01b1916600160a01b179055811561178857305f908152602081905260409020546008548110611786576001600854111561167b57506008545b5f61168784600261210a565b90505f8184602001518461169b919061210a565b6116a5919061213c565b90505f6116b28285611ff6565b9050476116be8261193c565b5f6116c98247611ff6565b90505f8760200151866116dc9190611ff6565b6116e6908361213c565b90505f8860200151826116f9919061210a565b9050801561170b5761170b8682611a73565b88515f9061171a84600261210a565b611724919061210a565b9050801561174257600d54611742906001600160a01b031682611b05565b60408a01515f9061175485600261210a565b61175e919061210a565b9050801561177c57600e5461177c906001600160a01b031682611b05565b5050505050505050505b505b6007805460ff60a01b191690555050565b6001600160a01b0383166117fd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109e4565b6001600160a01b03821661185f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109e4565b6001600160a01b0383165f90815260208190526040902054818110156118d65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109e4565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061196f5761196f611f7e565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156119c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ea919061215b565b816001815181106119fd576119fd611f7e565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac94790611a429085905f90869030904290600401612176565b5f604051808303815f87803b158015611a59575f80fd5b505af1158015611a6b573d5f803e3d5ffd5b505050505050565b600654600e5460405163f305d71960e01b8152306004820152602481018590525f6044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1158015611ae0573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061079491906121e5565b80471015611b555760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109e4565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611b9e576040519150601f19603f3d011682016040523d82523d5f602084013e611ba3565b606091505b50509050806108ad5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109e4565b5f8083601f840112611c2a575f80fd5b50813567ffffffffffffffff811115611c41575f80fd5b6020830191508360208260051b8501011115611c5b575f80fd5b9250929050565b5f805f8060408587031215611c75575f80fd5b843567ffffffffffffffff80821115611c8c575f80fd5b611c9888838901611c1a565b90965094506020870135915080821115611cb0575f80fd5b50611cbd87828801611c1a565b95989497509550505050565b5f6020808352835180828501525f5b81811015611cf457858101830151858201604001528201611cd8565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610ec1575f80fd5b8035611d3381611d14565b919050565b5f8060408385031215611d49575f80fd5b8235611d5481611d14565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b8015158114610ec1575f80fd5b8035611d3381611d76565b5f8060408385031215611d9f575f80fd5b823567ffffffffffffffff80821115611db6575f80fd5b818501915085601f830112611dc9575f80fd5b8135602082821115611ddd57611ddd611d62565b8160051b604051601f19603f83011681018181108682111715611e0257611e02611d62565b604052928352818301935084810182019289841115611e1f575f80fd5b948201945b83861015611e4457611e3586611d28565b85529482019493820193611e24565b9650611e539050878201611d83565b9450505050509250929050565b5f60208284031215611e70575f80fd5b8135611e7b81611d76565b9392505050565b5f60208284031215611e92575f80fd5b8135611e7b81611d14565b5f805f60608486031215611eaf575f80fd5b8335611eba81611d14565b92506020840135611eca81611d14565b929592945050506040919091013590565b5f8060408385031215611eec575f80fd5b8235611ef781611d14565b91506020830135611f0781611d76565b809150509250929050565b5f60208284031215611f22575f80fd5b5035919050565b5f805f60608486031215611f3b575f80fd5b505081359360208301359350604090920135919050565b5f8060408385031215611f63575f80fd5b8235611f6e81611d14565b91506020830135611f0781611d14565b634e487b7160e01b5f52603260045260245ffd5b600181811c90821680611fa657607f821691505b602082108103611fc457634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b5f60018201611fef57611fef611fca565b5060010190565b8181038181111561083b5761083b611fca565b8082018082111561083b5761083b611fca565b600181815b8085111561205657815f190482111561203c5761203c611fca565b8085161561204957918102915b93841c9390800290612021565b509250929050565b5f8261206c5750600161083b565b8161207857505f61083b565b816001811461208e5760028114612098576120b4565b600191505061083b565b60ff8411156120a9576120a9611fca565b50506001821b61083b565b5060208310610133831016604e8410600b84101617156120d7575081810a61083b565b6120e1838361201c565b805f19048211156120f4576120f4611fca565b029392505050565b5f611e7b60ff84168361205e565b808202811582820484141761083b5761083b611fca565b5f60208284031215612131575f80fd5b8151611e7b81611d76565b5f8261215657634e487b7160e01b5f52601260045260245ffd5b500490565b5f6020828403121561216b575f80fd5b8151611e7b81611d14565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156121c45784516001600160a01b03168352938301939183019160010161219f565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f606084860312156121f7575f80fd5b835192506020840151915060408401519050925092509256fea26469706673582212205f2a9654116bdb289c158f1b107525b496397e7c226b918f8de57003f01dbcde64736f6c63430008140033
Deployed Bytecode
0x60806040526004361061021f575f3560e01c8063728f8eea1161011e578063a457c2d7116100a8578063dd62ed3e1161006d578063dd62ed3e14610667578063edaa1168146106ab578063f2fde38b146106ca578063f66895a3146106e9578063f887ea4014610707575f80fd5b8063a457c2d7146105bd578063a8aa1b31146105dc578063a9059cbb146105fb578063aacebbe31461061a578063c5d32bb214610639575f80fd5b80638cd4426d116100ee5780638cd4426d1461051b5780638da5cb5b1461053a57806395d89b411461056b5780639d282cd61461057f5780639e252f001461059e575f80fd5b8063728f8eea146104905780638187f516146104c95780638514022d146104e85780638a8c523c14610507575f80fd5b8063313ce567116101aa5780634ada218b1161016f5780634ada218b146103f45780634e736f221461041457806366a88d961461043357806370a0823114610448578063715018a61461047c575f80fd5b8063313ce5671461035d578063355496ca14610378578063395093511461039757806342b6fa11146103b65780634324deae146103d5575f80fd5b80631340538f116101f05780631340538f146102c357806318160ddd146102e25780631816467f14610300578063215d92a61461031f57806323b872dd1461033e575f80fd5b806206a2101461022a57806306fdde031461024b578063095ea7b3146102755780630e375a5c146102a4575f80fd5b3661022657005b5f80fd5b348015610235575f80fd5b50610249610244366004611c62565b610726565b005b348015610256575f80fd5b5061025f61079b565b60405161026c9190611cc9565b60405180910390f35b348015610280575f80fd5b5061029461028f366004611d38565b61082b565b604051901515815260200161026c565b3480156102af575f80fd5b506102496102be366004611d8e565b610841565b3480156102ce575f80fd5b506102496102dd366004611e60565b6108b2565b3480156102ed575f80fd5b506002545b60405190815260200161026c565b34801561030b575f80fd5b5061024961031a366004611e82565b6108d8565b34801561032a575f80fd5b50610249610339366004611d8e565b610902565b348015610349575f80fd5b50610294610358366004611e9d565b61096e565b348015610368575f80fd5b506040516012815260200161026c565b348015610383575f80fd5b50610249610392366004611edb565b610a0c565b3480156103a2575f80fd5b506102946103b1366004611d38565b610a3e565b3480156103c1575f80fd5b506102496103d0366004611f12565b610a88565b3480156103e0575f80fd5b506102496103ef366004611f12565b610aac565b3480156103ff575f80fd5b5060075461029490600160b01b900460ff1681565b34801561041f575f80fd5b5061024961042e366004611f29565b610ad0565b34801561043e575f80fd5b506102f260095481565b348015610453575f80fd5b506102f2610462366004611e82565b6001600160a01b03165f9081526020819052604090205490565b348015610487575f80fd5b50610249610afe565b34801561049b575f80fd5b50600f546010546011546104ae92919083565b6040805193845260208401929092529082015260600161026c565b3480156104d4575f80fd5b506102496104e3366004611e82565b610b11565b3480156104f3575f80fd5b50610249610502366004611edb565b610b3b565b348015610512575f80fd5b50610249610b6d565b348015610526575f80fd5b50610249610535366004611d38565b610bea565b348015610545575f80fd5b506005546001600160a01b03165b6040516001600160a01b03909116815260200161026c565b348015610576575f80fd5b5061025f610c5e565b34801561058a575f80fd5b50610249610599366004611f29565b610c6d565b3480156105a9575f80fd5b506102496105b8366004611f12565b610c9b565b3480156105c8575f80fd5b506102946105d7366004611d38565b610cd6565b3480156105e7575f80fd5b50600754610553906001600160a01b031681565b348015610606575f80fd5b50610294610615366004611d38565b610d50565b348015610625575f80fd5b50610249610634366004611e82565b610d5c565b348015610644575f80fd5b50610294610653366004611e82565b60156020525f908152604090205460ff1681565b348015610672575f80fd5b506102f2610681366004611f52565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156106b6575f80fd5b506102496106c5366004611f12565b610d86565b3480156106d5575f80fd5b506102496106e4366004611e82565b610e4b565b3480156106f4575f80fd5b506012546013546014546104ae92919083565b348015610712575f80fd5b50600654610553906001600160a01b031681565b61072e610ec4565b828114610739575f80fd5b5f5b838110156107945761078c3386868481811061075957610759611f7e565b905060200201602081019061076e9190611e82565b85858581811061078057610780611f7e565b90506020020135610f1e565b60010161073b565b5050505050565b6060600380546107aa90611f92565b80601f01602080910402602001604051908101604052809291908181526020018280546107d690611f92565b80156108215780601f106107f857610100808354040283529160200191610821565b820191905f5260205f20905b81548152906001019060200180831161080457829003601f168201915b5050505050905090565b5f6108373384846114b5565b5060015b92915050565b610849610ec4565b5f5b82518110156108ad578160155f85848151811061086a5761086a611f7e565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055806108a581611fde565b91505061084b565b505050565b6108ba610ec4565b60078054911515600160a81b0260ff60a81b19909216919091179055565b6108e0610ec4565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b61090a610ec4565b5f5b82518110156108ad578160165f85848151811061092b5761092b611f7e565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff19169115159190911790558061096681611fde565b91505061090c565b5f61097a848484610f1e565b5f6109858533610681565b9050828110156109ed5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b610a0185336109fc8685611ff6565b6114b5565b506001949350505050565b610a14610ec4565b6001600160a01b03919091165f908152601560205260409020805460ff1916911515919091179055565b5f80610a6d335b6001600160a01b039081165f9081526001602090815260408083209389168352929052205490565b9050610a7e33856109fc8685612009565b5060019392505050565b610a90610ec4565b610a9c6012600a6120fc565b610aa6908261210a565b60085550565b610ab4610ec4565b610ac06012600a6120fc565b610aca908261210a565b60095550565b610ad8610ec4565b604080516060810182528481526020810184905201819052601292909255601355601455565b610b06610ec4565b610b0f5f6115d8565b565b610b19610ec4565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b610b43610ec4565b6001600160a01b03919091165f908152601660205260409020805460ff1916911515919091179055565b610b75610ec4565b600754600160b01b900460ff1615610bcf5760405162461bcd60e51b815260206004820152601a60248201527f54726164696e6720697320616c726561647920656e61626c656400000000000060448201526064016109e4565b6007805461ffff60a81b191661010160a81b17905543600a55565b600e5460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303815f875af1158015610c3a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ad9190612121565b6060600480546107aa90611f92565b610c75610ec4565b604080516060810182528481526020810184905201819052600f92909255601055601155565b600e546040516001600160a01b039091169082156108fc029083905f818181858888f19350505050158015610cd2573d5f803e3d5ffd5b5050565b5f80610ce133610a45565b905082811015610d415760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109e4565b610a7e33856109fc8685611ff6565b5f610837338484610f1e565b610d64610ec4565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b610d8e610ec4565b600754600160b01b900460ff1615610df65760405162461bcd60e51b815260206004820152602560248201527f43616e2774206368616e6765207768656e2074726164696e6720686173207374604482015264185c9d195960da1b60648201526084016109e4565b60038110610e465760405162461bcd60e51b815260206004820152601b60248201527f426c6f636b2073686f756c64206265206c657373207468616e2033000000000060448201526064016109e4565b600b55565b610e53610ec4565b6001600160a01b038116610eb85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109e4565b610ec1816115d8565b50565b6005546001600160a01b03163314610b0f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109e4565b5f8111610f7f5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016109e4565b6001600160a01b0383165f9081526016602052604090205460ff16158015610fbf57506001600160a01b0382165f9081526016602052604090205460ff16155b61100b5760405162461bcd60e51b815260206004820152601960248201527f596f752063616e2774207472616e7366657220746f6b656e730000000000000060448201526064016109e4565b6001600160a01b0383165f9081526015602052604090205460ff1615801561104b57506001600160a01b0382165f9081526015602052604090205460ff16155b1561109f57600754600160b01b900460ff1661109f5760405162461bcd60e51b8152602060048201526013602482015272151c98591a5b99c81b9bdd08195b98589b1959606a1b60448201526064016109e4565b6007546001600160a01b0384811691161480156110d457506001600160a01b0382165f9081526015602052604090205460ff16155b80156110ea5750600754600160a01b900460ff16155b156111695760095481611111846001600160a01b03165f9081526020819052604090205490565b61111b9190612009565b11156111695760405162461bcd60e51b815260206004820181905260248201527f596f752061726520657863656564696e67206d617857616c6c65744c696d697460448201526064016109e4565b6007546001600160a01b0384811691161480159061119f57506001600160a01b0382165f9081526015602052604090205460ff16155b80156111c357506001600160a01b0383165f9081526015602052604090205460ff16155b80156111d95750600754600160a01b900460ff16155b1561126d576007546001600160a01b0383811691161461126d5760095481611215846001600160a01b03165f9081526020819052604090205490565b61121f9190612009565b111561126d5760405162461bcd60e51b815260206004820181905260248201527f596f752061726520657863656564696e67206d617857616c6c65744c696d697460448201526064016109e4565b5f805f61129160405180606001604052805f81526020015f81526020015f81525090565b6001600160a01b0387165f9081526015602052604081205460ff161580156112d157506001600160a01b0387165f9081526015602052604090205460ff16155b80156112eb5750600b54600a546112e89190612009565b43105b600754909150600160a01b900460ff168061131d57506001600160a01b0388165f9081526015602052604090205460ff165b8061133f57506001600160a01b0387165f9081526015602052604090205460ff165b1561134c575f9250611416565b6007546001600160a01b038881169116148015611367575080155b156113b75760145460125460135461137f9190612009565b6113899190612009565b6040805160608101825260125481526013546020820152601454918101919091529095508594509150611416565b8061140757601154600f546010546113cf9190612009565b6113d99190612009565b60408051606081018252600f5481526010546020820152601154918101919091529095508594509150611416565b801561141657600c5494508493505b6064611422858861210a565b61142c919061213c565b600754909350600160a81b900460ff16801561145657506007546001600160a01b03898116911614155b15611465576114658583611629565b6114798888611474868a611ff6565b611799565b82156114ab5784156114ab575f6064611492878961210a565b61149c919061213c565b90506114a9893083611799565b505b5050505050505050565b6001600160a01b0383166115175760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109e4565b6001600160a01b0382166115785760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109e4565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b600754600160a01b900460ff16610cd2576007805460ff60a01b1916600160a01b179055811561178857305f908152602081905260409020546008548110611786576001600854111561167b57506008545b5f61168784600261210a565b90505f8184602001518461169b919061210a565b6116a5919061213c565b90505f6116b28285611ff6565b9050476116be8261193c565b5f6116c98247611ff6565b90505f8760200151866116dc9190611ff6565b6116e6908361213c565b90505f8860200151826116f9919061210a565b9050801561170b5761170b8682611a73565b88515f9061171a84600261210a565b611724919061210a565b9050801561174257600d54611742906001600160a01b031682611b05565b60408a01515f9061175485600261210a565b61175e919061210a565b9050801561177c57600e5461177c906001600160a01b031682611b05565b5050505050505050505b505b6007805460ff60a01b191690555050565b6001600160a01b0383166117fd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109e4565b6001600160a01b03821661185f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109e4565b6001600160a01b0383165f90815260208190526040902054818110156118d65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109e4565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061196f5761196f611f7e565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156119c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ea919061215b565b816001815181106119fd576119fd611f7e565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac94790611a429085905f90869030904290600401612176565b5f604051808303815f87803b158015611a59575f80fd5b505af1158015611a6b573d5f803e3d5ffd5b505050505050565b600654600e5460405163f305d71960e01b8152306004820152602481018590525f6044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1158015611ae0573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061079491906121e5565b80471015611b555760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109e4565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611b9e576040519150601f19603f3d011682016040523d82523d5f602084013e611ba3565b606091505b50509050806108ad5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109e4565b5f8083601f840112611c2a575f80fd5b50813567ffffffffffffffff811115611c41575f80fd5b6020830191508360208260051b8501011115611c5b575f80fd5b9250929050565b5f805f8060408587031215611c75575f80fd5b843567ffffffffffffffff80821115611c8c575f80fd5b611c9888838901611c1a565b90965094506020870135915080821115611cb0575f80fd5b50611cbd87828801611c1a565b95989497509550505050565b5f6020808352835180828501525f5b81811015611cf457858101830151858201604001528201611cd8565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610ec1575f80fd5b8035611d3381611d14565b919050565b5f8060408385031215611d49575f80fd5b8235611d5481611d14565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b8015158114610ec1575f80fd5b8035611d3381611d76565b5f8060408385031215611d9f575f80fd5b823567ffffffffffffffff80821115611db6575f80fd5b818501915085601f830112611dc9575f80fd5b8135602082821115611ddd57611ddd611d62565b8160051b604051601f19603f83011681018181108682111715611e0257611e02611d62565b604052928352818301935084810182019289841115611e1f575f80fd5b948201945b83861015611e4457611e3586611d28565b85529482019493820193611e24565b9650611e539050878201611d83565b9450505050509250929050565b5f60208284031215611e70575f80fd5b8135611e7b81611d76565b9392505050565b5f60208284031215611e92575f80fd5b8135611e7b81611d14565b5f805f60608486031215611eaf575f80fd5b8335611eba81611d14565b92506020840135611eca81611d14565b929592945050506040919091013590565b5f8060408385031215611eec575f80fd5b8235611ef781611d14565b91506020830135611f0781611d76565b809150509250929050565b5f60208284031215611f22575f80fd5b5035919050565b5f805f60608486031215611f3b575f80fd5b505081359360208301359350604090920135919050565b5f8060408385031215611f63575f80fd5b8235611f6e81611d14565b91506020830135611f0781611d14565b634e487b7160e01b5f52603260045260245ffd5b600181811c90821680611fa657607f821691505b602082108103611fc457634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b5f60018201611fef57611fef611fca565b5060010190565b8181038181111561083b5761083b611fca565b8082018082111561083b5761083b611fca565b600181815b8085111561205657815f190482111561203c5761203c611fca565b8085161561204957918102915b93841c9390800290612021565b509250929050565b5f8261206c5750600161083b565b8161207857505f61083b565b816001811461208e5760028114612098576120b4565b600191505061083b565b60ff8411156120a9576120a9611fca565b50506001821b61083b565b5060208310610133831016604e8410600b84101617156120d7575081810a61083b565b6120e1838361201c565b805f19048211156120f4576120f4611fca565b029392505050565b5f611e7b60ff84168361205e565b808202811582820484141761083b5761083b611fca565b5f60208284031215612131575f80fd5b8151611e7b81611d76565b5f8261215657634e487b7160e01b5f52601260045260245ffd5b500490565b5f6020828403121561216b575f80fd5b8151611e7b81611d14565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156121c45784516001600160a01b03168352938301939183019160010161219f565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f606084860312156121f7575f80fd5b835192506020840151915060408401519050925092509256fea26469706673582212205f2a9654116bdb289c158f1b107525b496397e7c226b918f8de57003f01dbcde64736f6c63430008140033
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.