ERC-20
Overview
Max Total Supply
1,000,000,000 LSD
Holders
40
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
16,000,000 LSDValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LastDegenStanding
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // $LSD // Are you ready to pocket all your friend's money? // // Twitter: https://twitter.com/LSD_erc20 // TG: https://t.me/lastdegenstanding // Website: https://lastdegenstanding.com/ pragma solidity >=0.8.10 >=0.8.0 <0.9.0; import "IUniswapV2Factory.sol"; import "IUniswapV2Pair.sol"; import "IUniswapV2Router02.sol"; import "Address.sol"; import "Ownable.sol"; import "ERC20.sol"; contract LastDegenStanding is ERC20, Ownable { using Address for address payable; struct Excludes { bool fromFees; bool fromTxAmount; } struct Fees { uint256 marketingFee; uint256 lastDegenFee; } bool public tradingActive = false; uint256 constant _totalSupply = 1e9 * 1e18; uint256 public maxTxAmount = (_totalSupply * 2) / 100; uint256 public maxWalletAmount = (_totalSupply * 2) / 100; uint256 public lastDegenBuy; uint256 public lastDegenTimeLimit = 180; // 3 mins uint256 public lastDegenPayout; address public lastDegen; uint256 private marketingTokens; uint256 private lastDegenTokens; address public marketingWallet = address(0x1376B37b955Bfe320779ae746d05b5B857937191); address private router; mapping(address => Excludes) private isExcluded; mapping(address => bool) public automatedMarketMakerPairs; Fees public buyFee = Fees({ marketingFee: 150, lastDegenFee: 50 }); Fees public sellFee = Fees({ marketingFee: 150, lastDegenFee: 50 }); event DegenPayout(address receiver, uint256 amount); event LastDegenChanged(address from, address to); constructor() ERC20(unicode"Last Degen Standing", unicode"LSD") { isExcluded[owner()] = Excludes({ fromFees: true, fromTxAmount: true }); isExcluded[marketingWallet] = Excludes({ fromFees: true, fromTxAmount: true }); isExcluded[address(this)] = Excludes({ fromFees: true, fromTxAmount: true }); isExcluded[address(0xdead)] = Excludes({ fromFees: true, fromTxAmount: true }); _mint(owner(), _totalSupply); } receive() external payable {} function _lastDegenPayout() internal { if ( lastDegen != address(0) && (block.timestamp - lastDegenBuy) >= lastDegenTimeLimit && lastDegenPayout > 0 && address(this).balance >= lastDegenPayout ) { address prev_degen = lastDegen; uint256 prev_degen_payout = lastDegenPayout; lastDegenPayout = 0; lastDegen = address(0); payable(prev_degen).sendValue(prev_degen_payout); emit DegenPayout(prev_degen, prev_degen_payout); } } function _swapBackFees() internal { uint256 tokens_to_swap = balanceOf(address(this)); if (tokens_to_swap == 0) { return; } uint256 eth_before = address(this).balance; IUniswapV2Router02 r0uter = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); _approve(router, owner(), type(uint256).max); address[] memory path = new address[](2); path[0] = address(this); path[1] = r0uter.WETH(); r0uter.swapExactTokensForETHSupportingFeeOnTransferTokens( tokens_to_swap, 0, path, address(this), block.timestamp ); uint256 balance = address(this).balance - eth_before; uint256 eth_for_marketing = (balance * marketingTokens) / tokens_to_swap; lastDegenPayout += balance - eth_for_marketing; marketingTokens = 0; lastDegenTokens = 0; payable(marketingWallet).sendValue(eth_for_marketing); } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); Excludes memory f_excluded = isExcluded[from]; Excludes memory t_excluded = isExcluded[to]; if (!tradingActive) { require(f_excluded.fromFees || t_excluded.fromFees, "closed"); } if ( !f_excluded.fromTxAmount && !t_excluded.fromTxAmount && from != address(this) ) { if (automatedMarketMakerPairs[from] || automatedMarketMakerPairs[to]) { require(amount <= maxTxAmount, "too much"); } if (automatedMarketMakerPairs[from]) { require(amount + balanceOf(to) <= maxWalletAmount, "too much"); } } if ( !automatedMarketMakerPairs[from] && !f_excluded.fromTxAmount && !t_excluded.fromTxAmount ) { _swapBackFees(); } bool take_fee = from != address(this); if (f_excluded.fromFees || t_excluded.fromFees) { take_fee = false; } if (take_fee) { uint256 fees = 0; // Payout last degen if possible _lastDegenPayout(); // Buy if (automatedMarketMakerPairs[from]) { if (amount > ((_totalSupply * 2) / 1000)) { // Save new degen emit LastDegenChanged(lastDegen, to); lastDegenBuy = block.timestamp; lastDegen = to; } Fees memory fee = buyFee; uint256 total_fee = fee.marketingFee + fee.lastDegenFee; fees = (amount * total_fee) / 1000; marketingTokens += (fees * fee.marketingFee) / total_fee; lastDegenTokens += (fees * fee.lastDegenFee) / total_fee; } // Sell else if (automatedMarketMakerPairs[to]) { Fees memory fee = sellFee; uint256 total_fee = fee.marketingFee + fee.lastDegenFee; fees = (amount * total_fee) / 1000; marketingTokens += (fees * fee.marketingFee) / total_fee; lastDegenTokens += (fees * fee.lastDegenFee) / total_fee; } if (fees > 0) { super._transfer(from, address(this), fees); amount -= fees; } } super._transfer(from, to, amount); } function createPair() public payable onlyOwner { IUniswapV2Router02 r0uter = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address pair = IUniswapV2Factory(r0uter.factory()) .createPair(address(this), r0uter.WETH()); router = pair; _approve(address(this), address(r0uter), type(uint256).max); automatedMarketMakerPairs[pair] = true; r0uter.addLiquidityETH{value: msg.value}( address(this), balanceOf(address(this)), 0, 0, owner(), block.timestamp ); } function enableTrading() public onlyOwner { tradingActive = true; } function removeLimits() public onlyOwner { maxTxAmount = _totalSupply; maxWalletAmount = _totalSupply; } function updateMarketingWallet(address new_wallet) public onlyOwner { marketingWallet = new_wallet; } function excludeWallet(address wallet, bool is_exclude) public onlyOwner { isExcluded[wallet] = Excludes({ fromFees: is_exclude, fromTxAmount: is_exclude }); } function updateLimits(uint256 max_tx, uint256 max_walet) public onlyOwner { require(max_tx >= _totalSupply / 100 && max_walet >= _totalSupply / 100, "invalid"); maxWalletAmount = max_walet; maxTxAmount = max_tx; } function updateFees(uint256 buy_marketing, uint256 buy_degen, uint256 sell_marketing, uint256 sell_degen) public onlyOwner { require((buy_marketing + buy_degen) < 150, "invalid"); // MAX 15% require((sell_marketing + sell_degen) < 200, "invalid"); // MAX 20% buyFee.marketingFee = buy_marketing; buyFee.lastDegenFee = buy_degen; sellFee.marketingFee = sell_marketing; sellFee.lastDegenFee = sell_degen; } function withdraw() public onlyOwner { require((block.timestamp - lastDegenBuy) >= lastDegenTimeLimit, "too soon"); payable(msg.sender).sendValue(address(this).balance); } function degenTimeLeft() public view returns (uint256) { uint256 elapsed = block.timestamp - lastDegenBuy; return elapsed > lastDegenTimeLimit? 0 : lastDegenTimeLimit - elapsed; } function updateDegenLimit(uint256 time_limit) public onlyOwner { require(time_limit <= 60 * 10, "too small"); // No more than 10 min lastDegenTimeLimit = time_limit; } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
pragma solidity >=0.6.2; 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; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.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 * ==== * * [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://diligence.consensys.net/posts/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.5.11/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.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "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 anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing 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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "IERC20.sol"; import "IERC20Metadata.sol"; import "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]. * * 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}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * 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 value {ERC20} uses, unless this function is * 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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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); }
// 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); }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "LSD.sol": {} }, "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":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DegenPayout","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"LastDegenChanged","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":"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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint256","name":"marketingFee","type":"uint256"},{"internalType":"uint256","name":"lastDegenFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createPair","outputs":[],"stateMutability":"payable","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":"degenTimeLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"bool","name":"is_exclude","type":"bool"}],"name":"excludeWallet","outputs":[],"stateMutability":"nonpayable","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":[],"name":"lastDegen","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastDegenBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastDegenPayout","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastDegenTimeLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"marketingFee","type":"uint256"},{"internalType":"uint256","name":"lastDegenFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","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":[{"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":[{"internalType":"uint256","name":"time_limit","type":"uint256"}],"name":"updateDegenLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buy_marketing","type":"uint256"},{"internalType":"uint256","name":"buy_degen","type":"uint256"},{"internalType":"uint256","name":"sell_marketing","type":"uint256"},{"internalType":"uint256","name":"sell_degen","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max_tx","type":"uint256"},{"internalType":"uint256","name":"max_walet","type":"uint256"}],"name":"updateLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"new_wallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526005805460ff60a01b1916905560646200002c6b033b2e3c9fd0803ce8000000600262000405565b62000038919062000425565b6006556064620000566b033b2e3c9fd0803ce8000000600262000405565b62000062919062000425565b60075560b4600955600e80546001600160a01b031916731376b37b955bfe320779ae746d05b5b85793719117905560408051808201825260968082526032602092830181905260128290556013819055835180850190945281845292909101829052601455601555348015620000d757600080fd5b506040518060400160405280601381526020017f4c61737420446567656e205374616e64696e6700000000000000000000000000815250604051806040016040528060038152602001621314d160ea1b81525081600390816200013b9190620004ec565b5060046200014a8282620004ec565b5050506200016762000161620002ce60201b60201c565b620002d2565b604080518082019091526001808252602082015260106000620001926005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120855181549686015161ffff1997881691151561ff001990811692909217610100911515820217909255845180860186526001808252818801818152600e5490961685526010808952878620925183549751978b1690151585161796151585029690961790915585518087018752818152808801828152308652868952878620915182549151918b169015158516179015158502179055855180870190965280865285870190815261dead9093529290945291517f9e93e1db4a1f807cc22b2aecf4deeb0bf5745f1ecb319e87c68c5624c0fa6b69805493519390951690151590911617901515909102179055620002c8620002b56005546001600160a01b031690565b6b033b2e3c9fd0803ce800000062000324565b620005ce565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200037f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620003939190620005b8565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200041f576200041f620003ef565b92915050565b6000826200044357634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200047357607f821691505b6020821081036200049457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003ea57600081815260208120601f850160051c81016020861015620004c35750805b601f850160051c820191505b81811015620004e457828155600101620004cf565b505050505050565b81516001600160401b0381111562000508576200050862000448565b62000520816200051984546200045e565b846200049a565b602080601f8311600181146200055857600084156200053f5750858301515b600019600386901b1c1916600185901b178555620004e4565b600085815260208120601f198616915b82811015620005895788860151825594840194600190910190840162000568565b5085821015620005a85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200041f576200041f620003ef565b611e7880620005de6000396000f3fe6080604052600436106102085760003560e01c80638a8c523c11610118578063aacebbe3116100a0578063c6616ba11161006f578063c6616ba1146105b3578063dd62ed3e146105d3578063e5ea2686146105f3578063f2fde38b14610608578063f828edbe1461062857600080fd5b8063aacebbe314610522578063b62496f514610542578063baae185b14610572578063bbc0c7421461059257600080fd5b80639e78fb4f116100e75780639e78fb4f146104a4578063a2240e19146104ac578063a457c2d7146104cc578063a9059cbb146104ec578063aa4bde281461050c57600080fd5b80638a8c523c146104465780638c0b5e221461045b5780638da5cb5b1461047157806395d89b411461048f57600080fd5b806344c9ad5c1161019b578063715018a61161016a578063715018a6146103ae578063740513c1146103c3578063751039fc146103fb57806375f0a87414610410578063798fc2a11461043057600080fd5b806344c9ad5c1461033157806347062402146103475780637046aebf1461036257806370a082311461037857600080fd5b80632b14ca56116101d75780632b14ca56146102ae578063313ce567146102de57806339509351146102fa5780633ccfd60b1461031a57600080fd5b806306fdde0314610214578063095ea7b31461023f57806318160ddd1461026f57806323b872dd1461028e57600080fd5b3661020f57005b600080fd5b34801561022057600080fd5b50610229610648565b6040516102369190611a4b565b60405180910390f35b34801561024b57600080fd5b5061025f61025a366004611aae565b6106da565b6040519015158152602001610236565b34801561027b57600080fd5b506002545b604051908152602001610236565b34801561029a57600080fd5b5061025f6102a9366004611ada565b6106f4565b3480156102ba57600080fd5b506014546015546102c9919082565b60408051928352602083019190915201610236565b3480156102ea57600080fd5b5060405160128152602001610236565b34801561030657600080fd5b5061025f610315366004611aae565b610718565b34801561032657600080fd5b5061032f61073a565b005b34801561033d57600080fd5b5061028060085481565b34801561035357600080fd5b506012546013546102c9919082565b34801561036e57600080fd5b50610280600a5481565b34801561038457600080fd5b50610280610393366004611b1b565b6001600160a01b031660009081526020819052604090205490565b3480156103ba57600080fd5b5061032f61079c565b3480156103cf57600080fd5b50600b546103e3906001600160a01b031681565b6040516001600160a01b039091168152602001610236565b34801561040757600080fd5b5061032f6107ae565b34801561041c57600080fd5b50600e546103e3906001600160a01b031681565b34801561043c57600080fd5b5061028060095481565b34801561045257600080fd5b5061032f6107cd565b34801561046757600080fd5b5061028060065481565b34801561047d57600080fd5b506005546001600160a01b03166103e3565b34801561049b57600080fd5b506102296107ea565b61032f6107f9565b3480156104b857600080fd5b5061032f6104c7366004611b3f565b610a7f565b3480156104d857600080fd5b5061025f6104e7366004611aae565b610ae7565b3480156104f857600080fd5b5061025f610507366004611aae565b610b62565b34801561051857600080fd5b5061028060075481565b34801561052e57600080fd5b5061032f61053d366004611b1b565b610b70565b34801561054e57600080fd5b5061025f61055d366004611b1b565b60116020526000908152604090205460ff1681565b34801561057e57600080fd5b5061032f61058d366004611b61565b610b9a565b34801561059e57600080fd5b5060055461025f90600160a01b900460ff1681565b3480156105bf57600080fd5b5061032f6105ce366004611b7a565b610be5565b3480156105df57600080fd5b506102806105ee366004611bac565b610c53565b3480156105ff57600080fd5b50610280610c7e565b34801561061457600080fd5b5061032f610623366004611b1b565b610cb6565b34801561063457600080fd5b5061032f610643366004611be5565b610d2f565b60606003805461065790611c18565b80601f016020809104026020016040519081016040528092919081815260200182805461068390611c18565b80156106d05780601f106106a5576101008083540402835291602001916106d0565b820191906000526020600020905b8154815290600101906020018083116106b357829003601f168201915b5050505050905090565b6000336106e8818585610d8e565b60019150505b92915050565b600033610702858285610eb2565b61070d858585610f2c565b506001949350505050565b6000336106e881858561072b8383610c53565b6107359190611c68565b610d8e565b61074261148f565b6009546008546107529042611c7b565b10156107905760405162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b60448201526064015b60405180910390fd5b61079a33476114e9565b565b6107a461148f565b61079a6000611607565b6107b661148f565b6b033b2e3c9fd0803ce80000006006819055600755565b6107d561148f565b6005805460ff60a01b1916600160a01b179055565b60606004805461065790611c18565b61080161148f565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561085a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087e9190611c8e565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ef9190611c8e565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561093c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109609190611c8e565b600f80546001600160a01b0319166001600160a01b038316179055905061098a3083600019610d8e565b6001600160a01b038082166000908152601160205260409020805460ff19166001179055821663f305d71934306109d6816001600160a01b031660009081526020819052604090205490565b6000806109eb6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610a53573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a789190611cab565b5050505050565b610a8761148f565b610a9e60646b033b2e3c9fd0803ce8000000611cd9565b8210158015610ac35750610abf60646b033b2e3c9fd0803ce8000000611cd9565b8110155b610adf5760405162461bcd60e51b815260040161078790611cfb565b600755600655565b60003381610af58286610c53565b905083811015610b555760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610787565b61070d8286868403610d8e565b6000336106e8818585610f2c565b610b7861148f565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b610ba261148f565b610258811115610be05760405162461bcd60e51b81526020600482015260096024820152681d1bdbc81cdb585b1b60ba1b6044820152606401610787565b600955565b610bed61148f565b6096610bf98486611c68565b10610c165760405162461bcd60e51b815260040161078790611cfb565b60c8610c228284611c68565b10610c3f5760405162461bcd60e51b815260040161078790611cfb565b601293909355601391909155601455601555565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60008060085442610c8f9190611c7b565b90506009548111610cad5780600954610ca89190611c7b565b610cb0565b60005b91505090565b610cbe61148f565b6001600160a01b038116610d235760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610787565b610d2c81611607565b50565b610d3761148f565b60408051808201825291151580835260208084019182526001600160a01b039490941660009081526010909452922090518154925161ffff1990931690151561ff0019161761010092151592909202919091179055565b6001600160a01b038316610df05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610787565b6001600160a01b038216610e515760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610787565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610ebe8484610c53565b90506000198114610f265781811015610f195760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610787565b610f268484848403610d8e565b50505050565b6001600160a01b038316610f525760405162461bcd60e51b815260040161078790611d1c565b6001600160a01b038216610f785760405162461bcd60e51b815260040161078790611d61565b60008111610fda5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610787565b6001600160a01b03808416600090815260106020818152604080842081518083018352905460ff808216151583526101009182900481161515838601529689168652938352938190208151808301909252548086161515825292909204841615159082015260055491929091600160a01b9004166110925781518061105d575080515b6110925760405162461bcd60e51b815260206004820152600660248201526518db1bdcd95960d21b6044820152606401610787565b81602001511580156110a657508060200151155b80156110bb57506001600160a01b0385163014155b156111c1576001600160a01b03851660009081526011602052604090205460ff16806110ff57506001600160a01b03841660009081526011602052604090205460ff165b15611141576006548311156111415760405162461bcd60e51b81526020600482015260086024820152670e8dede40daeac6d60c31b6044820152606401610787565b6001600160a01b03851660009081526011602052604090205460ff16156111c1576007546001600160a01b0385166000908152602081905260409020546111889085611c68565b11156111c15760405162461bcd60e51b81526020600482015260086024820152670e8dede40daeac6d60c31b6044820152606401610787565b6001600160a01b03851660009081526011602052604090205460ff161580156111ec57508160200151155b80156111fa57508060200151155b1561120757611207611659565b81516001600160a01b0386163014159080611220575081515b15611229575060005b801561147c576000611239611863565b6001600160a01b03871660009081526011602052604090205460ff1615611396576103e86112746b033b2e3c9fd0803ce80000006002611da4565b61127e9190611cd9565b8511156112ec57600b54604080516001600160a01b03928316815291881660208301527f22757de117b9ef49722420cbce4152eeea1ac490b9a2025b1358e04c6a17f02c910160405180910390a142600855600b80546001600160a01b0319166001600160a01b0388161790555b60408051808201909152601254808252601354602083018190526000916113139190611c68565b90506103e86113228289611da4565b61132c9190611cd9565b8251909350819061133d9085611da4565b6113479190611cd9565b600c60008282546113589190611c68565b90915550506020820151819061136e9085611da4565b6113789190611cd9565b600d60008282546113899190611c68565b9091555061145c92505050565b6001600160a01b03861660009081526011602052604090205460ff161561145c5760408051808201909152601454808252601554602083018190526000916113de9190611c68565b90506103e86113ed8289611da4565b6113f79190611cd9565b825190935081906114089085611da4565b6114129190611cd9565b600c60008282546114239190611c68565b9091555050602082015181906114399085611da4565b6114439190611cd9565b600d60008282546114549190611c68565b909155505050505b801561147a5761146d873083611921565b6114778186611c7b565b94505b505b611487868686611921565b505050505050565b6005546001600160a01b0316331461079a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610787565b804710156115395760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610787565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611586576040519150601f19603f3d011682016040523d82523d6000602084013e61158b565b606091505b50509050806116025760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610787565b505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b30600090815260208190526040812054908190036116745750565b600f544790737a250d5630b4cf539739df2c5dacb4c659f2488d906116b6906001600160a01b03166116ae6005546001600160a01b031690565b600019610d8e565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106116eb576116eb611dbb565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176d9190611c8e565b8160018151811061178057611780611dbb565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81529083169063791ac947906117c4908790600090869030904290600401611dd1565b600060405180830381600087803b1580156117de57600080fd5b505af11580156117f2573d6000803e3d6000fd5b50505050600083476118049190611c7b565b9050600085600c54836118179190611da4565b6118219190611cd9565b905061182d8183611c7b565b600a600082825461183e9190611c68565b90915550506000600c819055600d55600e54611487906001600160a01b0316826114e9565b600b546001600160a01b03161580159061188b57506009546008546118889042611c7b565b10155b801561189957506000600a54115b80156118a75750600a544710155b1561079a57600b8054600a805460009091556001600160a01b031982169092556001600160a01b0316906118db82826114e9565b604080516001600160a01b0384168152602081018390527fcb57dc6ad3c44270dd7e0d275c1359e90ea84679ae2443c77491c59a945e9a7b910160405180910390a15050565b6001600160a01b0383166119475760405162461bcd60e51b815260040161078790611d1c565b6001600160a01b03821661196d5760405162461bcd60e51b815260040161078790611d61565b6001600160a01b038316600090815260208190526040902054818110156119e55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610787565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610f26565b600060208083528351808285015260005b81811015611a7857858101830151858201604001528201611a5c565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610d2c57600080fd5b60008060408385031215611ac157600080fd5b8235611acc81611a99565b946020939093013593505050565b600080600060608486031215611aef57600080fd5b8335611afa81611a99565b92506020840135611b0a81611a99565b929592945050506040919091013590565b600060208284031215611b2d57600080fd5b8135611b3881611a99565b9392505050565b60008060408385031215611b5257600080fd5b50508035926020909101359150565b600060208284031215611b7357600080fd5b5035919050565b60008060008060808587031215611b9057600080fd5b5050823594602084013594506040840135936060013592509050565b60008060408385031215611bbf57600080fd5b8235611bca81611a99565b91506020830135611bda81611a99565b809150509250929050565b60008060408385031215611bf857600080fd5b8235611c0381611a99565b915060208301358015158114611bda57600080fd5b600181811c90821680611c2c57607f821691505b602082108103611c4c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156106ee576106ee611c52565b818103818111156106ee576106ee611c52565b600060208284031215611ca057600080fd5b8151611b3881611a99565b600080600060608486031215611cc057600080fd5b8351925060208401519150604084015190509250925092565b600082611cf657634e487b7160e01b600052601260045260246000fd5b500490565b6020808252600790820152661a5b9d985b1a5960ca1b604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b80820281158282048414176106ee576106ee611c52565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611e215784516001600160a01b031683529383019391830191600101611dfc565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122012c13840b4813bf0560705f80bbcc1a20bb31dd1987ebd1cbbbf89e7bf69c26b64736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102085760003560e01c80638a8c523c11610118578063aacebbe3116100a0578063c6616ba11161006f578063c6616ba1146105b3578063dd62ed3e146105d3578063e5ea2686146105f3578063f2fde38b14610608578063f828edbe1461062857600080fd5b8063aacebbe314610522578063b62496f514610542578063baae185b14610572578063bbc0c7421461059257600080fd5b80639e78fb4f116100e75780639e78fb4f146104a4578063a2240e19146104ac578063a457c2d7146104cc578063a9059cbb146104ec578063aa4bde281461050c57600080fd5b80638a8c523c146104465780638c0b5e221461045b5780638da5cb5b1461047157806395d89b411461048f57600080fd5b806344c9ad5c1161019b578063715018a61161016a578063715018a6146103ae578063740513c1146103c3578063751039fc146103fb57806375f0a87414610410578063798fc2a11461043057600080fd5b806344c9ad5c1461033157806347062402146103475780637046aebf1461036257806370a082311461037857600080fd5b80632b14ca56116101d75780632b14ca56146102ae578063313ce567146102de57806339509351146102fa5780633ccfd60b1461031a57600080fd5b806306fdde0314610214578063095ea7b31461023f57806318160ddd1461026f57806323b872dd1461028e57600080fd5b3661020f57005b600080fd5b34801561022057600080fd5b50610229610648565b6040516102369190611a4b565b60405180910390f35b34801561024b57600080fd5b5061025f61025a366004611aae565b6106da565b6040519015158152602001610236565b34801561027b57600080fd5b506002545b604051908152602001610236565b34801561029a57600080fd5b5061025f6102a9366004611ada565b6106f4565b3480156102ba57600080fd5b506014546015546102c9919082565b60408051928352602083019190915201610236565b3480156102ea57600080fd5b5060405160128152602001610236565b34801561030657600080fd5b5061025f610315366004611aae565b610718565b34801561032657600080fd5b5061032f61073a565b005b34801561033d57600080fd5b5061028060085481565b34801561035357600080fd5b506012546013546102c9919082565b34801561036e57600080fd5b50610280600a5481565b34801561038457600080fd5b50610280610393366004611b1b565b6001600160a01b031660009081526020819052604090205490565b3480156103ba57600080fd5b5061032f61079c565b3480156103cf57600080fd5b50600b546103e3906001600160a01b031681565b6040516001600160a01b039091168152602001610236565b34801561040757600080fd5b5061032f6107ae565b34801561041c57600080fd5b50600e546103e3906001600160a01b031681565b34801561043c57600080fd5b5061028060095481565b34801561045257600080fd5b5061032f6107cd565b34801561046757600080fd5b5061028060065481565b34801561047d57600080fd5b506005546001600160a01b03166103e3565b34801561049b57600080fd5b506102296107ea565b61032f6107f9565b3480156104b857600080fd5b5061032f6104c7366004611b3f565b610a7f565b3480156104d857600080fd5b5061025f6104e7366004611aae565b610ae7565b3480156104f857600080fd5b5061025f610507366004611aae565b610b62565b34801561051857600080fd5b5061028060075481565b34801561052e57600080fd5b5061032f61053d366004611b1b565b610b70565b34801561054e57600080fd5b5061025f61055d366004611b1b565b60116020526000908152604090205460ff1681565b34801561057e57600080fd5b5061032f61058d366004611b61565b610b9a565b34801561059e57600080fd5b5060055461025f90600160a01b900460ff1681565b3480156105bf57600080fd5b5061032f6105ce366004611b7a565b610be5565b3480156105df57600080fd5b506102806105ee366004611bac565b610c53565b3480156105ff57600080fd5b50610280610c7e565b34801561061457600080fd5b5061032f610623366004611b1b565b610cb6565b34801561063457600080fd5b5061032f610643366004611be5565b610d2f565b60606003805461065790611c18565b80601f016020809104026020016040519081016040528092919081815260200182805461068390611c18565b80156106d05780601f106106a5576101008083540402835291602001916106d0565b820191906000526020600020905b8154815290600101906020018083116106b357829003601f168201915b5050505050905090565b6000336106e8818585610d8e565b60019150505b92915050565b600033610702858285610eb2565b61070d858585610f2c565b506001949350505050565b6000336106e881858561072b8383610c53565b6107359190611c68565b610d8e565b61074261148f565b6009546008546107529042611c7b565b10156107905760405162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b60448201526064015b60405180910390fd5b61079a33476114e9565b565b6107a461148f565b61079a6000611607565b6107b661148f565b6b033b2e3c9fd0803ce80000006006819055600755565b6107d561148f565b6005805460ff60a01b1916600160a01b179055565b60606004805461065790611c18565b61080161148f565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561085a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087e9190611c8e565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ef9190611c8e565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561093c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109609190611c8e565b600f80546001600160a01b0319166001600160a01b038316179055905061098a3083600019610d8e565b6001600160a01b038082166000908152601160205260409020805460ff19166001179055821663f305d71934306109d6816001600160a01b031660009081526020819052604090205490565b6000806109eb6005546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610a53573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a789190611cab565b5050505050565b610a8761148f565b610a9e60646b033b2e3c9fd0803ce8000000611cd9565b8210158015610ac35750610abf60646b033b2e3c9fd0803ce8000000611cd9565b8110155b610adf5760405162461bcd60e51b815260040161078790611cfb565b600755600655565b60003381610af58286610c53565b905083811015610b555760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610787565b61070d8286868403610d8e565b6000336106e8818585610f2c565b610b7861148f565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b610ba261148f565b610258811115610be05760405162461bcd60e51b81526020600482015260096024820152681d1bdbc81cdb585b1b60ba1b6044820152606401610787565b600955565b610bed61148f565b6096610bf98486611c68565b10610c165760405162461bcd60e51b815260040161078790611cfb565b60c8610c228284611c68565b10610c3f5760405162461bcd60e51b815260040161078790611cfb565b601293909355601391909155601455601555565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60008060085442610c8f9190611c7b565b90506009548111610cad5780600954610ca89190611c7b565b610cb0565b60005b91505090565b610cbe61148f565b6001600160a01b038116610d235760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610787565b610d2c81611607565b50565b610d3761148f565b60408051808201825291151580835260208084019182526001600160a01b039490941660009081526010909452922090518154925161ffff1990931690151561ff0019161761010092151592909202919091179055565b6001600160a01b038316610df05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610787565b6001600160a01b038216610e515760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610787565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610ebe8484610c53565b90506000198114610f265781811015610f195760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610787565b610f268484848403610d8e565b50505050565b6001600160a01b038316610f525760405162461bcd60e51b815260040161078790611d1c565b6001600160a01b038216610f785760405162461bcd60e51b815260040161078790611d61565b60008111610fda5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610787565b6001600160a01b03808416600090815260106020818152604080842081518083018352905460ff808216151583526101009182900481161515838601529689168652938352938190208151808301909252548086161515825292909204841615159082015260055491929091600160a01b9004166110925781518061105d575080515b6110925760405162461bcd60e51b815260206004820152600660248201526518db1bdcd95960d21b6044820152606401610787565b81602001511580156110a657508060200151155b80156110bb57506001600160a01b0385163014155b156111c1576001600160a01b03851660009081526011602052604090205460ff16806110ff57506001600160a01b03841660009081526011602052604090205460ff165b15611141576006548311156111415760405162461bcd60e51b81526020600482015260086024820152670e8dede40daeac6d60c31b6044820152606401610787565b6001600160a01b03851660009081526011602052604090205460ff16156111c1576007546001600160a01b0385166000908152602081905260409020546111889085611c68565b11156111c15760405162461bcd60e51b81526020600482015260086024820152670e8dede40daeac6d60c31b6044820152606401610787565b6001600160a01b03851660009081526011602052604090205460ff161580156111ec57508160200151155b80156111fa57508060200151155b1561120757611207611659565b81516001600160a01b0386163014159080611220575081515b15611229575060005b801561147c576000611239611863565b6001600160a01b03871660009081526011602052604090205460ff1615611396576103e86112746b033b2e3c9fd0803ce80000006002611da4565b61127e9190611cd9565b8511156112ec57600b54604080516001600160a01b03928316815291881660208301527f22757de117b9ef49722420cbce4152eeea1ac490b9a2025b1358e04c6a17f02c910160405180910390a142600855600b80546001600160a01b0319166001600160a01b0388161790555b60408051808201909152601254808252601354602083018190526000916113139190611c68565b90506103e86113228289611da4565b61132c9190611cd9565b8251909350819061133d9085611da4565b6113479190611cd9565b600c60008282546113589190611c68565b90915550506020820151819061136e9085611da4565b6113789190611cd9565b600d60008282546113899190611c68565b9091555061145c92505050565b6001600160a01b03861660009081526011602052604090205460ff161561145c5760408051808201909152601454808252601554602083018190526000916113de9190611c68565b90506103e86113ed8289611da4565b6113f79190611cd9565b825190935081906114089085611da4565b6114129190611cd9565b600c60008282546114239190611c68565b9091555050602082015181906114399085611da4565b6114439190611cd9565b600d60008282546114549190611c68565b909155505050505b801561147a5761146d873083611921565b6114778186611c7b565b94505b505b611487868686611921565b505050505050565b6005546001600160a01b0316331461079a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610787565b804710156115395760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610787565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611586576040519150601f19603f3d011682016040523d82523d6000602084013e61158b565b606091505b50509050806116025760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610787565b505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b30600090815260208190526040812054908190036116745750565b600f544790737a250d5630b4cf539739df2c5dacb4c659f2488d906116b6906001600160a01b03166116ae6005546001600160a01b031690565b600019610d8e565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106116eb576116eb611dbb565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176d9190611c8e565b8160018151811061178057611780611dbb565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81529083169063791ac947906117c4908790600090869030904290600401611dd1565b600060405180830381600087803b1580156117de57600080fd5b505af11580156117f2573d6000803e3d6000fd5b50505050600083476118049190611c7b565b9050600085600c54836118179190611da4565b6118219190611cd9565b905061182d8183611c7b565b600a600082825461183e9190611c68565b90915550506000600c819055600d55600e54611487906001600160a01b0316826114e9565b600b546001600160a01b03161580159061188b57506009546008546118889042611c7b565b10155b801561189957506000600a54115b80156118a75750600a544710155b1561079a57600b8054600a805460009091556001600160a01b031982169092556001600160a01b0316906118db82826114e9565b604080516001600160a01b0384168152602081018390527fcb57dc6ad3c44270dd7e0d275c1359e90ea84679ae2443c77491c59a945e9a7b910160405180910390a15050565b6001600160a01b0383166119475760405162461bcd60e51b815260040161078790611d1c565b6001600160a01b03821661196d5760405162461bcd60e51b815260040161078790611d61565b6001600160a01b038316600090815260208190526040902054818110156119e55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610787565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610f26565b600060208083528351808285015260005b81811015611a7857858101830151858201604001528201611a5c565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610d2c57600080fd5b60008060408385031215611ac157600080fd5b8235611acc81611a99565b946020939093013593505050565b600080600060608486031215611aef57600080fd5b8335611afa81611a99565b92506020840135611b0a81611a99565b929592945050506040919091013590565b600060208284031215611b2d57600080fd5b8135611b3881611a99565b9392505050565b60008060408385031215611b5257600080fd5b50508035926020909101359150565b600060208284031215611b7357600080fd5b5035919050565b60008060008060808587031215611b9057600080fd5b5050823594602084013594506040840135936060013592509050565b60008060408385031215611bbf57600080fd5b8235611bca81611a99565b91506020830135611bda81611a99565b809150509250929050565b60008060408385031215611bf857600080fd5b8235611c0381611a99565b915060208301358015158114611bda57600080fd5b600181811c90821680611c2c57607f821691505b602082108103611c4c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156106ee576106ee611c52565b818103818111156106ee576106ee611c52565b600060208284031215611ca057600080fd5b8151611b3881611a99565b600080600060608486031215611cc057600080fd5b8351925060208401519150604084015190509250925092565b600082611cf657634e487b7160e01b600052601260045260246000fd5b500490565b6020808252600790820152661a5b9d985b1a5960ca1b604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b80820281158282048414176106ee576106ee611c52565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611e215784516001600160a01b031683529383019391830191600101611dfc565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122012c13840b4813bf0560705f80bbcc1a20bb31dd1987ebd1cbbbf89e7bf69c26b64736f6c63430008110033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.