Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
35,000,000 LFG
Holders
128
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LFG
Compiler Version
v0.8.1+commit.df193b15
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./ERC20.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; interface IUniswapV2Factory { function createPair( address tokenA, address tokenB ) external returns (address pair); } interface IUniswapV2Router02 { function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); } contract LFG is ERC20, Pausable, Ownable { using SafeMath for uint256; IUniswapV2Router02 private uniswapV2Router; address private WETH; mapping(address => bool) private pairs; uint8 private constant _decimals = 18; bool private inSwap = false; bool private tradingOpen = false; uint256 private tradingTime = 1682420400; address private uniswapV2Pair; bool private isSwapAndLp = false; address public _payee; uint256 public _burnFee = 0; uint256 public _liquidityFee = 45; modifier lockTheSwap() { inSwap = true; _; inSwap = false; } constructor(uint256 _initialSupply) ERC20("LineFi Game Token", "LFG") { _mint(msg.sender, _initialSupply); _payee = msg.sender; uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); WETH = uniswapV2Router.WETH(); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), WETH ); pairs[uniswapV2Pair] = true; } function decimals() public pure override returns (uint8) { return _decimals; } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); } function addPairs(address toPair, bool _enable) public onlyOwner { require(!pairs[toPair], "This pair is already excluded"); pairs[toPair] = _enable; } function pair(address _pair) public view virtual onlyOwner returns (bool) { return pairs[_pair]; } function setPayee(address payee) external onlyOwner { _payee = payee; } function setLiquidityFeePercent(uint256 liquidityFee) external onlyOwner { _liquidityFee = liquidityFee; } function setBurnFee(uint256 burnFee) external onlyOwner { _burnFee = burnFee; } function setIsSwapAndLp(bool _isSwapAndLp) external onlyOwner { isSwapAndLp = _isSwapAndLp; } function _transfer( address from, address to, uint256 amount ) internal virtual override whenNotPaused { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); uint256 fromBalance = balanceOf(from); require( fromBalance >= amount, "ERC20: transfer amount exceeds balance" ); if (!tradingOpen) { if (block.timestamp >= tradingTime) { tradingOpen = true; } } if (tradingOpen) { if (from != address(this) && pairs[to]) { uint256 burnAmount = amount.mul(_burnFee).div(10 ** 3); uint256 liquidityAmount = amount.mul(_liquidityFee).div( 10 ** 3 ); if (liquidityAmount > 0) { _swapTransfer(from, address(this), liquidityAmount); } if (burnAmount > 0) { _swapBurn(from, burnAmount); } if (liquidityAmount > 0) { if (!isSwapAndLp) { swapTokensForEth(liquidityAmount, _payee); } else if (isSwapAndLp && !inSwap) { swapAndLiquify(liquidityAmount); } } super._transfer( from, to, amount.sub(burnAmount).sub(liquidityAmount) ); } else { super._transfer(from, to, amount); } } else { if (to == uniswapV2Pair || from == uniswapV2Pair) { if (from == owner() || to == owner()) { super._transfer(from, to, amount); } else { require(false, "Trading isn't open"); } } else { super._transfer(from, to, amount); } } } function manualswap() external onlyOwner { uint256 contractBalance = balanceOf(address(this)); swapTokensForEth(contractBalance, _payee); } function manualBurn(uint256 amount) public virtual onlyOwner { _burn(address(this), amount); } function swapAndLiquify(uint256 _tokenBalance) private lockTheSwap { uint256 half = _tokenBalance.div(2); uint256 otherHalf = _tokenBalance.sub(half); uint256 initialBalance = address(this).balance; swapTokensForEth(half, address(this)); addLiquidity(otherHalf, address(this).balance.sub(initialBalance)); } function swapTokensForEth( uint256 tokenAmount, address to ) private lockTheSwap { address[] memory path = new address[](2); path[0] = address(this); path[1] = WETH; _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, to, block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 _ethAmount) private { _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.addLiquidityETH{value: _ethAmount}( address(this), tokenAmount, 0, 0, _payee, block.timestamp ); } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal override whenNotPaused { super._beforeTokenTransfer(from, to, amount); } function setTrading(uint256 _tradingTime) external onlyOwner { tradingTime = _tradingTime; } function withdraw(address token) public onlyOwner { if (token == address(0)) { uint amount = address(this).balance; (bool success, ) = payable(_payee).call{value: amount}(""); require(success, "Failed to send Ether"); } else { uint256 amount = ERC20(token).balanceOf(address(this)); ERC20(token).transfer(_payee, amount); } } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 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 (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// 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.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 (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.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableSet. * ==== */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values in the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/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.zeppelin.solutions/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 Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } /** * @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; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** * @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. * * * Requirements:(Validation need to be done upfront.) * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _swapTransfer( address from, address to, uint256 amount ) internal virtual { uint256 fromBalance = _balances[from]; unchecked { _balances[from] = fromBalance - amount; } _balances[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; _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; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), 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 _swapBurn(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; } _totalSupply -= 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 {} }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_initialSupply","type":"uint256"}],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"_burnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"toPair","type":"address"},{"internalType":"bool","name":"_enable","type":"bool"}],"name":"addPairs","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":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"manualBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualswap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"_pair","type":"address"}],"name":"pair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"burnFee","type":"uint256"}],"name":"setBurnFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isSwapAndLp","type":"bool"}],"name":"setIsSwapAndLp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"setLiquidityFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"payee","type":"address"}],"name":"setPayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tradingTime","type":"uint256"}],"name":"setTrading","outputs":[],"stateMutability":"nonpayable","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":[{"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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526009805461ffff19169055636447b2b0600a55600b805460ff60a01b191690556000600d55602d600e553480156200003b57600080fd5b506040516200253f3803806200253f8339810160408190526200005e9162000586565b604051806040016040528060118152602001702634b732a3349023b0b6b2902a37b5b2b760791b815250604051806040016040528060038152602001624c464760e81b8152508160039080519060200190620000bc929190620004b0565b508051620000d2906004906020840190620004b0565b50506005805460ff1916905550620000f3620000ed62000314565b62000318565b620000ff338262000372565b600c80546001600160a01b0319908116331790915560068054909116737a250d5630b4cf539739df2c5dacb4c659f2488d1790819055604080516315ab88c960e31b815290516001600160a01b03929092169163ad5c464891600480820192602092909190829003018186803b1580156200017957600080fd5b505afa1580156200018e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b4919062000556565b600780546001600160a01b0319166001600160a01b039283161790556006546040805163c45a015560e01b81529051919092169163c45a0155916004808301926020929190829003018186803b1580156200020e57600080fd5b505afa15801562000223573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000249919062000556565b6007546040516364e329cb60e11b81526001600160a01b039283169263c9c65396926200027f923092909116906004016200059f565b602060405180830381600087803b1580156200029a57600080fd5b505af1158015620002af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d5919062000556565b600b80546001600160a01b0319166001600160a01b039283161790819055166000908152600860205260409020805460ff191660011790555062000685565b3390565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620003a45760405162461bcd60e51b81526004016200039b90620005e3565b60405180910390fd5b620003b26000838362000454565b8060026000828254620003c6919062000623565b90915550506001600160a01b03821660009081526020819052604081208054839290620003f590849062000623565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906200043a9085906200061a565b60405180910390a3620004506000838362000476565b5050565b6200045e6200047b565b620004768383836200047660201b620009a31760201c565b505050565b62000485620004a7565b15620004a55760405162461bcd60e51b81526004016200039b90620005b9565b565b60055460ff1690565b828054620004be9062000648565b90600052602060002090601f016020900481019282620004e257600085556200052d565b82601f10620004fd57805160ff19168380011785556200052d565b828001600101855582156200052d579182015b828111156200052d57825182559160200191906001019062000510565b506200053b9291506200053f565b5090565b5b808211156200053b576000815560010162000540565b60006020828403121562000568578081fd5b81516001600160a01b03811681146200057f578182fd5b9392505050565b60006020828403121562000598578081fd5b5051919050565b6001600160a01b0392831681529116602082015260400190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b600082198211156200064357634e487b7160e01b81526011600452602481fd5b500190565b6002810460018216806200065d57607f821691505b602082108114156200067f57634e487b7160e01b600052602260045260246000fd5b50919050565b611eaa80620006956000396000f3fe6080604052600436106101f25760003560e01c80636bc87c3a1161010d57806395d89b41116100a0578063c0b0fda21161006f578063c0b0fda21461055c578063c2566db214610571578063c3c8cd8014610586578063dd62ed3e1461059b578063f2fde38b146105bb576101f9565b806395d89b41146104e75780639ed2b171146104fc578063a457c2d71461051c578063a9059cbb1461053c576101f9565b80637fb992f7116100dc5780637fb992f7146104705780638456cb59146104905780638da5cb5b146104a55780638ee88c53146104c7576101f9565b80636bc87c3a1461040657806370a082311461041b578063715018a61461043b57806379cc679014610450576101f9565b8063395093511161018557806342966c681161015457806342966c68146103915780634bf2c7c9146103b157806351cff8d9146103d15780635c975abb146103f1576101f9565b8063395093511461031c5780633f4ba83a1461033c57806340c10f1914610351578063410459ad14610371576101f9565b80632383eb8f116101c15780632383eb8f1461029a57806323b63585146102ba57806323b872dd146102da578063313ce567146102fa576101f9565b806306fdde03146101fe578063095ea7b31461022957806318160ddd146102565780631b81cb6c14610278576101f9565b366101f957005b600080fd5b34801561020a57600080fd5b506102136105db565b60405161022091906118df565b60405180910390f35b34801561023557600080fd5b506102496102443660046117ab565b61066d565b60405161022091906118d4565b34801561026257600080fd5b5061026b61068f565b6040516102209190611d20565b34801561028457600080fd5b50610298610293366004611775565b610695565b005b3480156102a657600080fd5b506102986102b536600461180c565b61070a565b3480156102c657600080fd5b506102986102d536600461180c565b610717565b3480156102e657600080fd5b506102496102f536600461173a565b61072c565b34801561030657600080fd5b5061030f61075a565b6040516102209190611d99565b34801561032857600080fd5b506102496103373660046117ab565b61075f565b34801561034857600080fd5b5061029861078b565b34801561035d57600080fd5b5061029861036c3660046117ab565b61079d565b34801561037d57600080fd5b5061029861038c3660046116ee565b6107b3565b34801561039d57600080fd5b506102986103ac36600461180c565b6107dd565b3480156103bd57600080fd5b506102986103cc36600461180c565b6107ee565b3480156103dd57600080fd5b506102986103ec3660046116ee565b6107fb565b3480156103fd57600080fd5b506102496109a8565b34801561041257600080fd5b5061026b6109b1565b34801561042757600080fd5b5061026b6104363660046116ee565b6109b7565b34801561044757600080fd5b506102986109d6565b34801561045c57600080fd5b5061029861046b3660046117ab565b6109e8565b34801561047c57600080fd5b5061024961048b3660046116ee565b610a04565b34801561049c57600080fd5b50610298610a2d565b3480156104b157600080fd5b506104ba610a3d565b604051610220919061186c565b3480156104d357600080fd5b506102986104e236600461180c565b610a51565b3480156104f357600080fd5b50610213610a5e565b34801561050857600080fd5b506102986105173660046117d4565b610a6d565b34801561052857600080fd5b506102496105373660046117ab565b610a93565b34801561054857600080fd5b506102496105573660046117ab565b610adb565b34801561056857600080fd5b5061026b610af3565b34801561057d57600080fd5b506104ba610af9565b34801561059257600080fd5b50610298610b08565b3480156105a757600080fd5b5061026b6105b6366004611708565b610b35565b3480156105c757600080fd5b506102986105d63660046116ee565b610b60565b6060600380546105ea90611e15565b80601f016020809104026020016040519081016040528092919081815260200182805461061690611e15565b80156106635780601f1061063857610100808354040283529160200191610663565b820191906000526020600020905b81548152906001019060200180831161064657829003601f168201915b5050505050905090565b600080610678610b97565b9050610685818585610b9b565b5060019392505050565b60025490565b61069d610c4f565b6001600160a01b03821660009081526008602052604090205460ff16156106df5760405162461bcd60e51b81526004016106d6906119e5565b60405180910390fd5b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b610712610c4f565b600a55565b61071f610c4f565b6107293082610c8e565b50565b600080610737610b97565b9050610744858285610d7f565b61074f858585610dc9565b506001949350505050565b601290565b60008061076a610b97565b905061068581858561077c8589610b35565b6107869190611da7565b610b9b565b610793610c4f565b61079b611054565b565b6107a5610c4f565b6107af82826110a6565b5050565b6107bb610c4f565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6107296107e8610b97565b82610c8e565b6107f6610c4f565b600d55565b610803610c4f565b6001600160a01b03811661089d57600c5460405147916000916001600160a01b0390911690839061083390611869565b60006040518083038185875af1925050503d8060008114610870576040519150601f19603f3d011682016040523d82523d6000602084013e610875565b606091505b50509050806108965760405162461bcd60e51b81526004016106d690611b21565b5050610729565b6040516370a0823160e01b81526000906001600160a01b038316906370a08231906108cc90309060040161186c565b60206040518083038186803b1580156108e457600080fd5b505afa1580156108f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091c9190611824565b600c5460405163a9059cbb60e01b81529192506001600160a01b038085169263a9059cbb926109519216908590600401611880565b602060405180830381600087803b15801561096b57600080fd5b505af115801561097f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a391906117f0565b505050565b60055460ff1690565b600e5481565b6001600160a01b0381166000908152602081905260409020545b919050565b6109de610c4f565b61079b600061116e565b6109fa826109f4610b97565b83610d7f565b6107af8282610c8e565b6000610a0e610c4f565b506001600160a01b031660009081526008602052604090205460ff1690565b610a35610c4f565b61079b6111c8565b60055461010090046001600160a01b031690565b610a59610c4f565b600e55565b6060600480546105ea90611e15565b610a75610c4f565b600b8054911515600160a01b0260ff60a01b19909216919091179055565b600080610a9e610b97565b90506000610aac8286610b35565b905083811015610ace5760405162461bcd60e51b81526004016106d690611ca4565b61074f8286868403610b9b565b600080610ae6610b97565b9050610685818585610dc9565b600d5481565b600c546001600160a01b031681565b610b10610c4f565b6000610b1b306109b7565b600c549091506107299082906001600160a01b0316611206565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610b68610c4f565b6001600160a01b038116610b8e5760405162461bcd60e51b81526004016106d690611a1c565b6107298161116e565b3390565b6001600160a01b038316610bc15760405162461bcd60e51b81526004016106d690611c34565b6001600160a01b038216610be75760405162461bcd60e51b81526004016106d690611a62565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610c42908590611d20565b60405180910390a3505050565b610c57610b97565b6001600160a01b0316610c68610a3d565b6001600160a01b03161461079b5760405162461bcd60e51b81526004016106d690611b79565b6001600160a01b038216610cb45760405162461bcd60e51b81526004016106d690611bae565b610cc082600083611335565b6001600160a01b03821660009081526020819052604090205481811015610cf95760405162461bcd60e51b81526004016106d6906119a3565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610d28908490611dfe565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d6b908690611d20565b60405180910390a36109a3836000846109a3565b6000610d8b8484610b35565b90506000198114610dc35781811015610db65760405162461bcd60e51b81526004016106d690611aa4565b610dc38484848403610b9b565b50505050565b610dd1611348565b6001600160a01b038316610df75760405162461bcd60e51b81526004016106d690611bef565b6001600160a01b038216610e1d5760405162461bcd60e51b81526004016106d690611932565b6000610e28846109b7565b905081811015610e4a5760405162461bcd60e51b81526004016106d690611adb565b600954610100900460ff16610e7257600a544210610e72576009805461ff0019166101001790555b600954610100900460ff1615610faf576001600160a01b0384163014801590610eb357506001600160a01b03831660009081526008602052604090205460ff165b15610f9f576000610edb6103e8610ed5600d548661136d90919063ffffffff16565b90611380565b90506000610efa6103e8610ed5600e548761136d90919063ffffffff16565b90508015610f0d57610f0d86308361138c565b8115610f1d57610f1d86836113d0565b8015610f7a57600b54600160a01b900460ff16610f5057600c54610f4b9082906001600160a01b0316611206565b610f7a565b600b54600160a01b900460ff168015610f6c575060095460ff16155b15610f7a57610f7a8161147a565b610f988686610f9384610f8d89886114d2565b906114d2565b6114de565b5050610faa565b610faa8484846114de565b610dc3565b600b546001600160a01b0384811691161480610fd85750600b546001600160a01b038581169116145b1561104957610fe5610a3d565b6001600160a01b0316846001600160a01b0316148061101c5750611007610a3d565b6001600160a01b0316836001600160a01b0316145b156110315761102c8484846114de565b610faa565b60405162461bcd60e51b81526004016106d690611c78565b610dc38484846114de565b61105c611602565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61108f610b97565b60405161109c919061186c565b60405180910390a1565b6001600160a01b0382166110cc5760405162461bcd60e51b81526004016106d690611ce9565b6110d860008383611335565b80600260008282546110ea9190611da7565b90915550506001600160a01b03821660009081526020819052604081208054839290611117908490611da7565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061115a908590611d20565b60405180910390a36107af600083836109a3565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111d0611348565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861108f610b97565b6009805460ff19166001179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061125657634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260075482519116908290600190811061129557634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526006546112bb9130911685610b9b565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906112f4908690600090869088904290600401611d29565b600060405180830381600087803b15801561130e57600080fd5b505af1158015611322573d6000803e3d6000fd5b50506009805460ff191690555050505050565b61133d611348565b6109a38383836109a3565b6113506109a8565b1561079b5760405162461bcd60e51b81526004016106d690611b4f565b60006113798284611ddf565b9392505050565b60006113798284611dbf565b6001600160a01b0380841660009081526020819052604080822080548581039091559285168252812080548492906113c5908490611da7565b909155505050505050565b6001600160a01b0382166113f65760405162461bcd60e51b81526004016106d690611bae565b61140282600083611335565b6001600160a01b0382166000908152602081905260409020548181101561143b5760405162461bcd60e51b81526004016106d6906119a3565b6001600160a01b038316600090815260208190526040812083830390556002805484929061146a908490611dfe565b909155506109a390508360008483565b6009805460ff191660011790556000611494826002611380565b905060006114a283836114d2565b9050476114af8330611206565b6114c2826114bd47846114d2565b611626565b50506009805460ff191690555050565b60006113798284611dfe565b6001600160a01b0383166115045760405162461bcd60e51b81526004016106d690611bef565b6001600160a01b03821661152a5760405162461bcd60e51b81526004016106d690611932565b611535838383611335565b6001600160a01b0383166000908152602081905260409020548181101561156e5760405162461bcd60e51b81526004016106d690611adb565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906115a5908490611da7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516115ef9190611d20565b60405180910390a3610dc38484846109a3565b61160a6109a8565b61079b5760405162461bcd60e51b81526004016106d690611975565b60065461163e9030906001600160a01b031684610b9b565b600654600c5460405163f305d71960e01b81526001600160a01b039283169263f305d71992859261167e9230928992600092839216904290600401611899565b6060604051808303818588803b15801561169757600080fd5b505af11580156116ab573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906116d0919061183c565b5050505050565b80356001600160a01b03811681146109d157600080fd5b6000602082840312156116ff578081fd5b611379826116d7565b6000806040838503121561171a578081fd5b611723836116d7565b9150611731602084016116d7565b90509250929050565b60008060006060848603121561174e578081fd5b611757846116d7565b9250611765602085016116d7565b9150604084013590509250925092565b60008060408385031215611787578182fd5b611790836116d7565b915060208301356117a081611e66565b809150509250929050565b600080604083850312156117bd578182fd5b6117c6836116d7565b946020939093013593505050565b6000602082840312156117e5578081fd5b813561137981611e66565b600060208284031215611801578081fd5b815161137981611e66565b60006020828403121561181d578081fd5b5035919050565b600060208284031215611835578081fd5b5051919050565b600080600060608486031215611850578283fd5b8351925060208401519150604084015190509250925092565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b901515815260200190565b6000602080835283518082850152825b8181101561190b578581018301518582016040015282016118ef565b8181111561191c5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b6020808252601d908201527f54686973207061697220697320616c7265616479206578636c75646564000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601d908201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b6020808252601490820152732330b4b632b2103a379039b2b7321022ba3432b960611b604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601290820152712a3930b234b7339034b9b713ba1037b832b760711b604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015611d785784516001600160a01b031683529383019391830191600101611d53565b50506001600160a01b03969096166060850152505050608001529392505050565b60ff91909116815260200190565b60008219821115611dba57611dba611e50565b500190565b600082611dda57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611df957611df9611e50565b500290565b600082821015611e1057611e10611e50565b500390565b600281046001821680611e2957607f821691505b60208210811415611e4a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b801515811461072957600080fdfea2646970667358221220a3f55bc2c3f25377a90b109da1a30f09a744621ab63109144311e163413c9f9d64736f6c6343000801003300000000000000000000000000000000000000000000d3c21bcecceda1000000
Deployed Bytecode
0x6080604052600436106101f25760003560e01c80636bc87c3a1161010d57806395d89b41116100a0578063c0b0fda21161006f578063c0b0fda21461055c578063c2566db214610571578063c3c8cd8014610586578063dd62ed3e1461059b578063f2fde38b146105bb576101f9565b806395d89b41146104e75780639ed2b171146104fc578063a457c2d71461051c578063a9059cbb1461053c576101f9565b80637fb992f7116100dc5780637fb992f7146104705780638456cb59146104905780638da5cb5b146104a55780638ee88c53146104c7576101f9565b80636bc87c3a1461040657806370a082311461041b578063715018a61461043b57806379cc679014610450576101f9565b8063395093511161018557806342966c681161015457806342966c68146103915780634bf2c7c9146103b157806351cff8d9146103d15780635c975abb146103f1576101f9565b8063395093511461031c5780633f4ba83a1461033c57806340c10f1914610351578063410459ad14610371576101f9565b80632383eb8f116101c15780632383eb8f1461029a57806323b63585146102ba57806323b872dd146102da578063313ce567146102fa576101f9565b806306fdde03146101fe578063095ea7b31461022957806318160ddd146102565780631b81cb6c14610278576101f9565b366101f957005b600080fd5b34801561020a57600080fd5b506102136105db565b60405161022091906118df565b60405180910390f35b34801561023557600080fd5b506102496102443660046117ab565b61066d565b60405161022091906118d4565b34801561026257600080fd5b5061026b61068f565b6040516102209190611d20565b34801561028457600080fd5b50610298610293366004611775565b610695565b005b3480156102a657600080fd5b506102986102b536600461180c565b61070a565b3480156102c657600080fd5b506102986102d536600461180c565b610717565b3480156102e657600080fd5b506102496102f536600461173a565b61072c565b34801561030657600080fd5b5061030f61075a565b6040516102209190611d99565b34801561032857600080fd5b506102496103373660046117ab565b61075f565b34801561034857600080fd5b5061029861078b565b34801561035d57600080fd5b5061029861036c3660046117ab565b61079d565b34801561037d57600080fd5b5061029861038c3660046116ee565b6107b3565b34801561039d57600080fd5b506102986103ac36600461180c565b6107dd565b3480156103bd57600080fd5b506102986103cc36600461180c565b6107ee565b3480156103dd57600080fd5b506102986103ec3660046116ee565b6107fb565b3480156103fd57600080fd5b506102496109a8565b34801561041257600080fd5b5061026b6109b1565b34801561042757600080fd5b5061026b6104363660046116ee565b6109b7565b34801561044757600080fd5b506102986109d6565b34801561045c57600080fd5b5061029861046b3660046117ab565b6109e8565b34801561047c57600080fd5b5061024961048b3660046116ee565b610a04565b34801561049c57600080fd5b50610298610a2d565b3480156104b157600080fd5b506104ba610a3d565b604051610220919061186c565b3480156104d357600080fd5b506102986104e236600461180c565b610a51565b3480156104f357600080fd5b50610213610a5e565b34801561050857600080fd5b506102986105173660046117d4565b610a6d565b34801561052857600080fd5b506102496105373660046117ab565b610a93565b34801561054857600080fd5b506102496105573660046117ab565b610adb565b34801561056857600080fd5b5061026b610af3565b34801561057d57600080fd5b506104ba610af9565b34801561059257600080fd5b50610298610b08565b3480156105a757600080fd5b5061026b6105b6366004611708565b610b35565b3480156105c757600080fd5b506102986105d63660046116ee565b610b60565b6060600380546105ea90611e15565b80601f016020809104026020016040519081016040528092919081815260200182805461061690611e15565b80156106635780601f1061063857610100808354040283529160200191610663565b820191906000526020600020905b81548152906001019060200180831161064657829003601f168201915b5050505050905090565b600080610678610b97565b9050610685818585610b9b565b5060019392505050565b60025490565b61069d610c4f565b6001600160a01b03821660009081526008602052604090205460ff16156106df5760405162461bcd60e51b81526004016106d6906119e5565b60405180910390fd5b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b610712610c4f565b600a55565b61071f610c4f565b6107293082610c8e565b50565b600080610737610b97565b9050610744858285610d7f565b61074f858585610dc9565b506001949350505050565b601290565b60008061076a610b97565b905061068581858561077c8589610b35565b6107869190611da7565b610b9b565b610793610c4f565b61079b611054565b565b6107a5610c4f565b6107af82826110a6565b5050565b6107bb610c4f565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6107296107e8610b97565b82610c8e565b6107f6610c4f565b600d55565b610803610c4f565b6001600160a01b03811661089d57600c5460405147916000916001600160a01b0390911690839061083390611869565b60006040518083038185875af1925050503d8060008114610870576040519150601f19603f3d011682016040523d82523d6000602084013e610875565b606091505b50509050806108965760405162461bcd60e51b81526004016106d690611b21565b5050610729565b6040516370a0823160e01b81526000906001600160a01b038316906370a08231906108cc90309060040161186c565b60206040518083038186803b1580156108e457600080fd5b505afa1580156108f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091c9190611824565b600c5460405163a9059cbb60e01b81529192506001600160a01b038085169263a9059cbb926109519216908590600401611880565b602060405180830381600087803b15801561096b57600080fd5b505af115801561097f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a391906117f0565b505050565b60055460ff1690565b600e5481565b6001600160a01b0381166000908152602081905260409020545b919050565b6109de610c4f565b61079b600061116e565b6109fa826109f4610b97565b83610d7f565b6107af8282610c8e565b6000610a0e610c4f565b506001600160a01b031660009081526008602052604090205460ff1690565b610a35610c4f565b61079b6111c8565b60055461010090046001600160a01b031690565b610a59610c4f565b600e55565b6060600480546105ea90611e15565b610a75610c4f565b600b8054911515600160a01b0260ff60a01b19909216919091179055565b600080610a9e610b97565b90506000610aac8286610b35565b905083811015610ace5760405162461bcd60e51b81526004016106d690611ca4565b61074f8286868403610b9b565b600080610ae6610b97565b9050610685818585610dc9565b600d5481565b600c546001600160a01b031681565b610b10610c4f565b6000610b1b306109b7565b600c549091506107299082906001600160a01b0316611206565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610b68610c4f565b6001600160a01b038116610b8e5760405162461bcd60e51b81526004016106d690611a1c565b6107298161116e565b3390565b6001600160a01b038316610bc15760405162461bcd60e51b81526004016106d690611c34565b6001600160a01b038216610be75760405162461bcd60e51b81526004016106d690611a62565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610c42908590611d20565b60405180910390a3505050565b610c57610b97565b6001600160a01b0316610c68610a3d565b6001600160a01b03161461079b5760405162461bcd60e51b81526004016106d690611b79565b6001600160a01b038216610cb45760405162461bcd60e51b81526004016106d690611bae565b610cc082600083611335565b6001600160a01b03821660009081526020819052604090205481811015610cf95760405162461bcd60e51b81526004016106d6906119a3565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610d28908490611dfe565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d6b908690611d20565b60405180910390a36109a3836000846109a3565b6000610d8b8484610b35565b90506000198114610dc35781811015610db65760405162461bcd60e51b81526004016106d690611aa4565b610dc38484848403610b9b565b50505050565b610dd1611348565b6001600160a01b038316610df75760405162461bcd60e51b81526004016106d690611bef565b6001600160a01b038216610e1d5760405162461bcd60e51b81526004016106d690611932565b6000610e28846109b7565b905081811015610e4a5760405162461bcd60e51b81526004016106d690611adb565b600954610100900460ff16610e7257600a544210610e72576009805461ff0019166101001790555b600954610100900460ff1615610faf576001600160a01b0384163014801590610eb357506001600160a01b03831660009081526008602052604090205460ff165b15610f9f576000610edb6103e8610ed5600d548661136d90919063ffffffff16565b90611380565b90506000610efa6103e8610ed5600e548761136d90919063ffffffff16565b90508015610f0d57610f0d86308361138c565b8115610f1d57610f1d86836113d0565b8015610f7a57600b54600160a01b900460ff16610f5057600c54610f4b9082906001600160a01b0316611206565b610f7a565b600b54600160a01b900460ff168015610f6c575060095460ff16155b15610f7a57610f7a8161147a565b610f988686610f9384610f8d89886114d2565b906114d2565b6114de565b5050610faa565b610faa8484846114de565b610dc3565b600b546001600160a01b0384811691161480610fd85750600b546001600160a01b038581169116145b1561104957610fe5610a3d565b6001600160a01b0316846001600160a01b0316148061101c5750611007610a3d565b6001600160a01b0316836001600160a01b0316145b156110315761102c8484846114de565b610faa565b60405162461bcd60e51b81526004016106d690611c78565b610dc38484846114de565b61105c611602565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61108f610b97565b60405161109c919061186c565b60405180910390a1565b6001600160a01b0382166110cc5760405162461bcd60e51b81526004016106d690611ce9565b6110d860008383611335565b80600260008282546110ea9190611da7565b90915550506001600160a01b03821660009081526020819052604081208054839290611117908490611da7565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061115a908590611d20565b60405180910390a36107af600083836109a3565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111d0611348565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861108f610b97565b6009805460ff19166001179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061125657634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260075482519116908290600190811061129557634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526006546112bb9130911685610b9b565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906112f4908690600090869088904290600401611d29565b600060405180830381600087803b15801561130e57600080fd5b505af1158015611322573d6000803e3d6000fd5b50506009805460ff191690555050505050565b61133d611348565b6109a38383836109a3565b6113506109a8565b1561079b5760405162461bcd60e51b81526004016106d690611b4f565b60006113798284611ddf565b9392505050565b60006113798284611dbf565b6001600160a01b0380841660009081526020819052604080822080548581039091559285168252812080548492906113c5908490611da7565b909155505050505050565b6001600160a01b0382166113f65760405162461bcd60e51b81526004016106d690611bae565b61140282600083611335565b6001600160a01b0382166000908152602081905260409020548181101561143b5760405162461bcd60e51b81526004016106d6906119a3565b6001600160a01b038316600090815260208190526040812083830390556002805484929061146a908490611dfe565b909155506109a390508360008483565b6009805460ff191660011790556000611494826002611380565b905060006114a283836114d2565b9050476114af8330611206565b6114c2826114bd47846114d2565b611626565b50506009805460ff191690555050565b60006113798284611dfe565b6001600160a01b0383166115045760405162461bcd60e51b81526004016106d690611bef565b6001600160a01b03821661152a5760405162461bcd60e51b81526004016106d690611932565b611535838383611335565b6001600160a01b0383166000908152602081905260409020548181101561156e5760405162461bcd60e51b81526004016106d690611adb565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906115a5908490611da7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516115ef9190611d20565b60405180910390a3610dc38484846109a3565b61160a6109a8565b61079b5760405162461bcd60e51b81526004016106d690611975565b60065461163e9030906001600160a01b031684610b9b565b600654600c5460405163f305d71960e01b81526001600160a01b039283169263f305d71992859261167e9230928992600092839216904290600401611899565b6060604051808303818588803b15801561169757600080fd5b505af11580156116ab573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906116d0919061183c565b5050505050565b80356001600160a01b03811681146109d157600080fd5b6000602082840312156116ff578081fd5b611379826116d7565b6000806040838503121561171a578081fd5b611723836116d7565b9150611731602084016116d7565b90509250929050565b60008060006060848603121561174e578081fd5b611757846116d7565b9250611765602085016116d7565b9150604084013590509250925092565b60008060408385031215611787578182fd5b611790836116d7565b915060208301356117a081611e66565b809150509250929050565b600080604083850312156117bd578182fd5b6117c6836116d7565b946020939093013593505050565b6000602082840312156117e5578081fd5b813561137981611e66565b600060208284031215611801578081fd5b815161137981611e66565b60006020828403121561181d578081fd5b5035919050565b600060208284031215611835578081fd5b5051919050565b600080600060608486031215611850578283fd5b8351925060208401519150604084015190509250925092565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b901515815260200190565b6000602080835283518082850152825b8181101561190b578581018301518582016040015282016118ef565b8181111561191c5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b6020808252601d908201527f54686973207061697220697320616c7265616479206578636c75646564000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601d908201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b6020808252601490820152732330b4b632b2103a379039b2b7321022ba3432b960611b604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601290820152712a3930b234b7339034b9b713ba1037b832b760711b604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015611d785784516001600160a01b031683529383019391830191600101611d53565b50506001600160a01b03969096166060850152505050608001529392505050565b60ff91909116815260200190565b60008219821115611dba57611dba611e50565b500190565b600082611dda57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611df957611df9611e50565b500290565b600082821015611e1057611e10611e50565b500390565b600281046001821680611e2957607f821691505b60208210811415611e4a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b801515811461072957600080fdfea2646970667358221220a3f55bc2c3f25377a90b109da1a30f09a744621ab63109144311e163413c9f9d64736f6c63430008010033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000d3c21bcecceda1000000
-----Decoded View---------------
Arg [0] : _initialSupply (uint256): 1000000000000000000000000
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000d3c21bcecceda1000000
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.