ERC-20
Overview
Max Total Supply
8,888 DRGN
Holders
15
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
195.228084501615328725 DRGNValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
eggy
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* Telegram: https://t.me/playdrgn Twitter: https://twitter.com/DragonGame404 Website: https://www.playdrgn.com/ WhitePaper: https://www.playdrgn.com/whitepaper */ /* DRAGON GAME -------- Fight for $DRGN onchain | The gamified iteration of ERC404 🐉 ( ) /\ _ ( \ | ( \ ( \.( ) _____ \ \ \ ` ` ) \ ( ___ / _ \ (_` \+ . x ( .\ \/ \____-----------/ (o) \_ - .- \+ ; ( O \____ ) \_____________ ` \ / (__ +- .( -'.- <. - _ VVVVVVV VV V\ \/ (_____ ._._: <_ - <- _ (-- _AAAAAAA__A_/ | . /./.+- . .- / +-- - . \______________//_ \_______ (__ ' /x / x _/ ( \___' \ / , x / ( ' . / . / | \ / / / _/ / + / \/ ' (__/ / \ */ pragma solidity ^0.8.10; import "./ERC404.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract eggy is ERC404, Pausable { using Strings for uint256; mapping (address => uint256) public userBuylimit; mapping (address => uint256) public userSelllimit; bool public applyTxLimit = false; uint256 public buyLimit; uint256 public sellLimit; uint256 public txLimit; string public baseTokenURI; constructor( address _owner, uint256 _totalSupply, uint8 _decimal, uint256 _buylimit, uint256 _selllimit ) ERC404("Dragon Game", "DRGN", _decimal, _totalSupply, _owner) { balanceOf[_owner] = _totalSupply * 10 ** _decimal; buyLimit = _buylimit * 10 ** _decimal; sellLimit = _selllimit * 10 ** _decimal; txLimit = 10 * 10 ** _decimal; setWhitelist(_owner, true); } function initRouters() public onlyOwner() { setWhitelist(address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D), true); // Uniswap Router (V2) setWhitelist(address(0x80a64c6D7f12C47B7c66c5B4E20E72bc1FCd5d9e), true); // Maestro Router 2 setWhitelist(address(0x000000d40B595B94918a28b27d1e2C66F43A51d3), true); // MEV Bot setWhitelist(address(0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE), true); // Li.Fi Router setWhitelist(address(0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD), true); // Uniswap Universal setWhitelist(address(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2), true); // wrapped ether setWhitelist(address(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f), true); // uniswap whitelist setWhitelist(address(0x3328F7f4A1D1C57c35df56bBf0c9dCAFCA309C49), true); // Banana Router } function setLimit(uint256 _buylimit, uint256 _selllimit) public onlyOwner{ buyLimit = _buylimit; sellLimit = _selllimit; } function setTxLimuit(uint256 _txlimit) public onlyOwner{ txLimit = _txlimit; } function _mint( address to ) internal override whenNotPaused{ return super._mint(to); } function toggleApplyLimit(bool _apply) external onlyOwner{ applyTxLimit = _apply; } function _transfer( address from, address to, uint256 amount ) internal override virtual whenNotPaused returns (bool){ if(applyTxLimit){ require(amount < txLimit, "exceed tx limit"); } if(!whitelist[from]){ userSelllimit[from] += amount; require(userSelllimit[from] <= sellLimit, "not allowed anymore to sell"); } if(!whitelist[to]){ userBuylimit[to] += amount; require(userBuylimit[to] <= buyLimit, "not allowed anymore to buy"); } return super._transfer(from, to, amount); } function setTokenURI(string memory _tokenURI) public onlyOwner { baseTokenURI = _tokenURI; } function setNameSymbol( string memory _name, string memory _symbol ) public onlyOwner { _setNameSymbol(_name, _symbol); } function tokenURI(uint256 id) public view override returns (string memory) { return bytes(baseTokenURI).length > 0 ? string.concat(baseTokenURI, id.toString()) : ""; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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 v5.0.0) (access/Ownable2Step.sol) pragma solidity ^0.8.20; import {Ownable} from "./Ownable.sol"; /** * @dev Contract module which provides access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is specified at deployment time in the constructor for `Ownable`. This * can later be changed with {transferOwnership} and {acceptOwnership}. * * This module is used through inheritance. It will make available all functions * from parent (Ownable). */ abstract contract Ownable2Step is Ownable { address private _pendingOwner; event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner); /** * @dev Returns the address of the pending owner. */ function pendingOwner() public view virtual returns (address) { return _pendingOwner; } /** * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual override onlyOwner { _pendingOwner = newOwner; emit OwnershipTransferStarted(owner(), newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner. * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual override { delete _pendingOwner; super._transferOwnership(newOwner); } /** * @dev The new owner accepts the ownership transfer. */ function acceptOwnership() public virtual { address sender = _msgSender(); if (pendingOwner() != sender) { revert OwnableUnauthorizedAccount(sender); } _transferOwnership(sender); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ 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. */ 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. */ 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. */ 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. */ 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 largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol) pragma solidity ^0.8.20; import {Context} from "../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 { bool private _paused; /** * @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); /** * @dev The operation failed because the contract is paused. */ error EnforcedPause(); /** * @dev The operation failed because the contract is not paused. */ error ExpectedPause(); /** * @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 { if (paused()) { revert EnforcedPause(); } } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { if (!paused()) { revert ExpectedPause(); } } /** * @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 (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; import {Math} from "./math/Math.sol"; import {SignedMath} from "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal * representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } }
import "@openzeppelin/contracts/access/Ownable2Step.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; pragma solidity ^0.8.0; abstract contract ERC721Receiver { function onERC721Received( address, address, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC721Receiver.onERC721Received.selector; } } abstract contract ERC404 is Ownable2Step { event ERC20Transfer(bytes32 indexed topic0, address indexed from, address indexed to, uint256 tokens) anonymous; event Approval(address indexed owner, address indexed spender, uint256 amount); event Transfer( address indexed from, address indexed to, uint256 indexed id); event ERC721Approval(address indexed owner, address indexed spender, uint256 indexed id ); event ApprovalForAll(address indexed owner, address indexed operator, bool approved ); bytes32 constant private TRANSFER_TOPIC = keccak256(bytes("Transfer(address,address,uint256)")); error NotFound(); error AlreadyExists(); error InvalidRecipient(); error InvalidSender(); error UnsafeRecipient(); error Unauthorized(); error InvalidOwner(); // Metadata /// @dev Token name string public name; /// @dev Token symbol string public symbol; /// @dev Decimals for fractional representation uint8 public immutable decimals; /// @dev Total supply in fractionalized representation uint256 public immutable totalSupply; /// @dev Current mint counter, monotonically increasing to ensure accurate ownership uint256 public minted; // Mappings /// @dev Balance of user in fractional representation mapping(address => uint256) public balanceOf; /// @dev Allowance of user in fractional representation mapping(address => mapping(address => uint256)) public allowance; /// @dev Approval in native representaion mapping(uint256 => address) public getApproved; /// @dev Approval for all in native representation mapping(address => mapping(address => bool)) public isApprovedForAll; /// @dev Owner of id in native representation mapping(uint256 => address) internal _ownerOf; /// @dev Array of owned ids in native representation mapping(address => uint256[]) internal _owned; /// @dev Tracks indices for the _owned mapping mapping(uint256 => uint256) internal _ownedIndex; /// @dev Addresses whitelisted from minting / burning for gas savings (pairs, routers, etc) mapping(address => bool) public whitelist; // Constructor constructor( string memory _name, string memory _symbol, uint8 _decimals, uint256 _totalNativeSupply, address _owner ) Ownable(_owner) { name = _name; symbol = _symbol; decimals = _decimals; totalSupply = _totalNativeSupply * (10 ** decimals); } /// @notice Initialization function to set pairs / etc /// saving gas by avoiding mint / burn on unnecessary targets function setWhitelist(address target, bool state) public onlyOwner { whitelist[target] = state; } /// @notice Function to find owner of a given native token function ownerOf(uint256 id) public view virtual returns (address owner) { owner = _ownerOf[id]; if (owner == address(0)) { revert NotFound(); } } /// @notice tokenURI must be implemented by child contract function tokenURI(uint256 id) public view virtual returns (string memory); /// @notice Function for token approvals /// @dev This function assumes id / native if amount less than or equal to current max id function approve( address spender, uint256 amountOrId ) public virtual returns (bool) { if (amountOrId <= minted && amountOrId > 0) { address owner = _ownerOf[amountOrId]; if (msg.sender != owner && !isApprovedForAll[owner][msg.sender]) { revert Unauthorized(); } getApproved[amountOrId] = spender; emit Approval(owner, spender, amountOrId); } else { allowance[msg.sender][spender] = amountOrId; emit Approval(msg.sender, spender, amountOrId); } return true; } /// @notice Function native approvals function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } /// @notice Function for mixed transfers /// @dev This function assumes id / native if amount less than or equal to current max id function transferFrom( address from, address to, uint256 amountOrId ) public virtual { if (amountOrId <= minted) { if (from != _ownerOf[amountOrId]) { revert InvalidSender(); } if (to == address(0)) { revert InvalidRecipient(); } if ( msg.sender != from && !isApprovedForAll[from][msg.sender] && msg.sender != getApproved[amountOrId] ) { revert Unauthorized(); } balanceOf[from] -= _getUnit(); unchecked { balanceOf[to] += _getUnit(); } _ownerOf[amountOrId] = to; delete getApproved[amountOrId]; // update _owned for sender uint256 updatedId = _owned[from][_owned[from].length - 1]; _owned[from][_ownedIndex[amountOrId]] = updatedId; // pop _owned[from].pop(); // update index for the moved id _ownedIndex[updatedId] = _ownedIndex[amountOrId]; // push token to to owned _owned[to].push(amountOrId); // update index for to owned _ownedIndex[amountOrId] = _owned[to].length - 1; emit Transfer(from, to, amountOrId); emit ERC20Transfer(TRANSFER_TOPIC, from, to, _getUnit()); } else { uint256 allowed = allowance[from][msg.sender]; if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amountOrId; _transfer(from, to, amountOrId); } } /// @notice Function for fractional transfers function transfer( address to, uint256 amount ) public virtual returns (bool) { return _transfer(msg.sender, to, amount); } /// @notice Function for native transfers with contract support function safeTransferFrom( address from, address to, uint256 id ) public virtual { transferFrom(from, to, id); if ( to.code.length != 0 && ERC721Receiver(to).onERC721Received(msg.sender, from, id, "") != ERC721Receiver.onERC721Received.selector ) { revert UnsafeRecipient(); } } /// @notice Function for native transfers with contract support and callback data function safeTransferFrom( address from, address to, uint256 id, bytes calldata data ) public virtual { transferFrom(from, to, id); if ( to.code.length != 0 && ERC721Receiver(to).onERC721Received(msg.sender, from, id, data) != ERC721Receiver.onERC721Received.selector ) { revert UnsafeRecipient(); } } /// @notice Internal function for fractional transfers function _transfer( address from, address to, uint256 amount ) internal virtual returns (bool) { uint256 unit = _getUnit(); uint256 balanceBeforeSender = balanceOf[from]; uint256 balanceBeforeReceiver = balanceOf[to]; balanceOf[from] -= amount; unchecked { balanceOf[to] += amount; } // Skip burn for certain addresses to save gas if (!whitelist[from]) { uint256 tokens_to_burn = (balanceBeforeSender / unit) - (balanceOf[from] / unit); for (uint256 i = 0; i < tokens_to_burn; i++) { _burn(from); } } // Skip minting for certain addresses to save gas if (!whitelist[to]) { uint256 tokens_to_mint = (balanceOf[to] / unit) - (balanceBeforeReceiver / unit); for (uint256 i = 0; i < tokens_to_mint; i++) { _mint(to); } } emit ERC20Transfer(TRANSFER_TOPIC, from, to, amount); return true; } // Internal utility logic function _getUnit() internal view returns (uint256) { return 10 ** decimals; } function _mint(address to) internal virtual { if (to == address(0)) { revert InvalidRecipient(); } unchecked { minted++; } uint256 id = minted; if (_ownerOf[id] != address(0)) { revert AlreadyExists(); } _ownerOf[id] = to; _owned[to].push(id); _ownedIndex[id] = _owned[to].length - 1; emit Transfer(address(0), to, id); } function _burn(address from) internal virtual { if (from == address(0)) { revert InvalidSender(); } uint256 id = _owned[from][_owned[from].length - 1]; _owned[from].pop(); delete _ownedIndex[id]; delete _ownerOf[id]; delete getApproved[id]; emit Transfer(from, address(0), id); } function _setNameSymbol( string memory _name, string memory _symbol ) internal { name = _name; symbol = _symbol; } }
{ "evmVersion": "paris", "optimizer": { "enabled": false, "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":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"internalType":"uint8","name":"_decimal","type":"uint8"},{"internalType":"uint256","name":"_buylimit","type":"uint256"},{"internalType":"uint256","name":"_selllimit","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyExists","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[],"name":"InvalidOwner","type":"error"},{"inputs":[],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"InvalidSender","type":"error"},{"inputs":[],"name":"NotFound","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"UnsafeRecipient","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":true,"inputs":[{"indexed":true,"internalType":"bytes32","name":"topic0","type":"bytes32"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"ERC20Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"ERC721Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"applyTxLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initRouters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minted","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":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buylimit","type":"uint256"},{"internalType":"uint256","name":"_selllimit","type":"uint256"}],"name":"setLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"setNameSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_txlimit","type":"uint256"}],"name":"setTxLimuit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_apply","type":"bool"}],"name":"toggleApplyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","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":"amountOrId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"txLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userBuylimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userSelllimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60c06040526000601060006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b5060405162004a0938038062004a098339818101604052810190620000529190620005c2565b6040518060400160405280600b81526020017f447261676f6e2047616d650000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4452474e0000000000000000000000000000000000000000000000000000000081525084868880600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620001375760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016200012e91906200065b565b60405180910390fd5b6200014881620002a460201b60201c565b5084600290816200015a9190620008e8565b5083600390816200016c9190620008e8565b508260ff1660808160ff1681525050608051600a6200018c919062000b52565b8262000199919062000ba3565b60a0818152505050505050506000600d60006101000a81548160ff02191690831515021790555082600a620001cf919062000b52565b84620001dc919062000ba3565b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082600a6200022e919062000b52565b826200023b919062000ba3565b60118190555082600a62000250919062000b52565b816200025d919062000ba3565b60128190555082600a62000272919062000b52565b600a62000280919062000ba3565b60138190555062000299856001620002dd60201b60201c565b505050505062000bee565b600160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055620002da816200034860201b60201c565b50565b620002ed6200040c60201b60201c565b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200041c620004ae60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000442620004b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620004ac576200046e620004ae60201b60201c565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401620004a391906200065b565b60405180910390fd5b565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200051182620004e4565b9050919050565b620005238162000504565b81146200052f57600080fd5b50565b600081519050620005438162000518565b92915050565b6000819050919050565b6200055e8162000549565b81146200056a57600080fd5b50565b6000815190506200057e8162000553565b92915050565b600060ff82169050919050565b6200059c8162000584565b8114620005a857600080fd5b50565b600081519050620005bc8162000591565b92915050565b600080600080600060a08688031215620005e157620005e0620004df565b5b6000620005f18882890162000532565b955050602062000604888289016200056d565b94505060406200061788828901620005ab565b93505060606200062a888289016200056d565b92505060806200063d888289016200056d565b9150509295509295909350565b620006558162000504565b82525050565b60006020820190506200067260008301846200064a565b92915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006fa57607f821691505b60208210810362000710576200070f620006b2565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200077a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200073b565b6200078686836200073b565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620007c9620007c3620007bd8462000549565b6200079e565b62000549565b9050919050565b6000819050919050565b620007e583620007a8565b620007fd620007f482620007d0565b84845462000748565b825550505050565b600090565b6200081462000805565b62000821818484620007da565b505050565b5b8181101562000849576200083d6000826200080a565b60018101905062000827565b5050565b601f8211156200089857620008628162000716565b6200086d846200072b565b810160208510156200087d578190505b620008956200088c856200072b565b83018262000826565b50505b505050565b600082821c905092915050565b6000620008bd600019846008026200089d565b1980831691505092915050565b6000620008d88383620008aa565b9150826002028217905092915050565b620008f38262000678565b67ffffffffffffffff8111156200090f576200090e62000683565b5b6200091b8254620006e1565b620009288282856200084d565b600060209050601f8311600181146200096057600084156200094b578287015190505b620009578582620008ca565b865550620009c7565b601f198416620009708662000716565b60005b828110156200099a5784890151825560018201915060208501945060208101905062000973565b86831015620009ba5784890151620009b6601f891682620008aa565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111562000a5d5780860481111562000a355762000a34620009cf565b5b600185161562000a455780820291505b808102905062000a5585620009fe565b945062000a15565b94509492505050565b60008262000a78576001905062000b4b565b8162000a88576000905062000b4b565b816001811462000aa1576002811462000aac5762000ae2565b600191505062000b4b565b60ff84111562000ac15762000ac0620009cf565b5b8360020a91508482111562000adb5762000ada620009cf565b5b5062000b4b565b5060208310610133831016604e8410600b841016171562000b1c5782820a90508381111562000b165762000b15620009cf565b5b62000b4b565b62000b2b848484600162000a0b565b9250905081840481111562000b455762000b44620009cf565b5b81810290505b9392505050565b600062000b5f8262000549565b915062000b6c8362000584565b925062000b9b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000a66565b905092915050565b600062000bb08262000549565b915062000bbd8362000549565b925082820262000bcd8162000549565b9150828204841483151762000be75762000be6620009cf565b5b5092915050565b60805160a051613dee62000c1b6000396000610adb0152600081816113740152611e040152613dee6000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c80636caae83211610130578063b88d4fde116100b8578063e2d6f33a1161007c578063e2d6f33a14610655578063e30c397814610685578063e985e9c5146106a3578063f2fde38b146106d3578063f349b173146106ef57610232565b8063b88d4fde1461059f578063c87b56dd146105bb578063d547cfb7146105eb578063dd62ed3e14610609578063e0df5b6f1461063957610232565b80638da5cb5b116100ff5780638da5cb5b146104e757806395d89b41146105055780639b19251a14610523578063a22cb46514610553578063a9059cbb1461056f57610232565b80636caae8321461048557806370a08231146104a3578063715018a6146104d357806379ba5097146104dd57610232565b8063315d90dc116101be57806353d6fd591161018257806353d6fd59146103e1578063589210d9146103fd578063590642ed1461041b5780635c975abb146104375780636352211e1461045557610232565b8063315d90dc1461036357806342842e0e1461036d5780634f02c420146103895780634f91e48c146103a7578063504334c2146103c557610232565b80631e70b6df116102055780631e70b6df146102d3578063207add91146102f157806321f591ce1461030d57806323b872dd14610329578063313ce5671461034557610232565b806306fdde0314610237578063081812fc14610255578063095ea7b31461028557806318160ddd146102b5575b600080fd5b61023f61071f565b60405161024c9190612d87565b60405180910390f35b61026f600480360381019061026a9190612df3565b6107ad565b60405161027c9190612e61565b60405180910390f35b61029f600480360381019061029a9190612ea8565b6107e0565b6040516102ac9190612f03565b60405180910390f35b6102bd610ad9565b6040516102ca9190612f2d565b60405180910390f35b6102db610afd565b6040516102e89190612f03565b60405180910390f35b61030b60048036038101906103069190612f48565b610b10565b005b61032760048036038101906103229190612df3565b610b2a565b005b610343600480360381019061033e9190612f88565b610b3c565b005b61034d611372565b60405161035a9190612ff7565b60405180910390f35b61036b611396565b005b61038760048036038101906103829190612f88565b611495565b005b6103916115c8565b60405161039e9190612f2d565b60405180910390f35b6103af6115ce565b6040516103bc9190612f2d565b60405180910390f35b6103df60048036038101906103da9190613147565b6115d4565b005b6103fb60048036038101906103f691906131eb565b6115ea565b005b61040561164d565b6040516104129190612f2d565b60405180910390f35b6104356004803603810190610430919061322b565b611653565b005b61043f611678565b60405161044c9190612f03565b60405180910390f35b61046f600480360381019061046a9190612df3565b61168f565b60405161047c9190612e61565b60405180910390f35b61048d611732565b60405161049a9190612f2d565b60405180910390f35b6104bd60048036038101906104b89190613258565b611738565b6040516104ca9190612f2d565b60405180910390f35b6104db611750565b005b6104e5611764565b005b6104ef6117f3565b6040516104fc9190612e61565b60405180910390f35b61050d61181c565b60405161051a9190612d87565b60405180910390f35b61053d60048036038101906105389190613258565b6118aa565b60405161054a9190612f03565b60405180910390f35b61056d600480360381019061056891906131eb565b6118ca565b005b61058960048036038101906105849190612ea8565b6119c7565b6040516105969190612f03565b60405180910390f35b6105b960048036038101906105b491906132e5565b6119dc565b005b6105d560048036038101906105d09190612df3565b611b15565b6040516105e29190612d87565b60405180910390f35b6105f3611b75565b6040516106009190612d87565b60405180910390f35b610623600480360381019061061e919061336d565b611c03565b6040516106309190612f2d565b60405180910390f35b610653600480360381019061064e91906133ad565b611c28565b005b61066f600480360381019061066a9190613258565b611c43565b60405161067c9190612f2d565b60405180910390f35b61068d611c5b565b60405161069a9190612e61565b60405180910390f35b6106bd60048036038101906106b8919061336d565b611c85565b6040516106ca9190612f03565b60405180910390f35b6106ed60048036038101906106e89190613258565b611cb4565b005b61070960048036038101906107049190613258565b611d61565b6040516107169190612f2d565b60405180910390f35b6002805461072c90613425565b80601f016020809104026020016040519081016040528092919081815260200182805461075890613425565b80156107a55780601f1061077a576101008083540402835291602001916107a5565b820191906000526020600020905b81548152906001019060200180831161078857829003601f168201915b505050505081565b60076020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060045482111580156107f45750600082115b156109e85760006009600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141580156108f45750600860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561092b576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b836007600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925856040516109da9190612f2d565b60405180910390a350610acf565b81600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610ac69190612f2d565b60405180910390a35b6001905092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b601060009054906101000a900460ff1681565b610b18611d79565b81601181905550806012819055505050565b610b32611d79565b8060138190555050565b600454811161122a576009600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610bdd576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c43576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015610d065750600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b8015610d7157506007600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15610da8576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610db0611e00565b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610dfe9190613485565b92505081905550610e0d611e00565b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816009600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506007600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050610f719190613485565b81548110610f8257610f816134b9565b5b9060005260206000200154905080600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600b60008581526020019081526020016000205481548110610ff457610ff36134b9565b5b9060005260206000200181905550600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480611051576110506134e8565b5b60019003818190600052602060002001600090559055600b600083815260200190815260200160002054600b600083815260200190815260200160002081905550600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208290806001815401808255809150506001900390600052602060002001600090919091909150556001600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506111479190613485565b600b600084815260200190815260200160002081905550818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16604051806060016040528060218152602001613d98602191398051906020012061120f611e00565b60405161121c9190612f2d565b60405180910390a35061136d565b6000600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461135f5781816112de9190613485565b600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b61136a848484611e34565b50505b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b61139e611d79565b6113bd737a250d5630b4cf539739df2c5dacb4c659f2488d60016115ea565b6113dc7380a64c6d7f12c47b7c66c5b4e20e72bc1fcd5d9e60016115ea565b6113f870d40b595b94918a28b27d1e2c66f43a51d360016115ea565b611417731231deb6f5749ef6ce6943a275a1d3e7486f4eae60016115ea565b611436733fc91a3afd70395cd496c647d5a6cc9d4b2b7fad60016115ea565b61145573c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260016115ea565b611474735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f60016115ea565b611493733328f7f4a1d1c57c35df56bbf0c9dcafca309c4960016115ea565b565b6114a0838383610b3c565b60008273ffffffffffffffffffffffffffffffffffffffff163b1415801561158c575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b81526004016115279392919061354e565b6020604051808303816000875af1158015611546573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156a91906135f0565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b156115c3576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60045481565b60125481565b6115dc611d79565b6115e68282612104565b5050565b6115f2611d79565b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60115481565b61165b611d79565b80601060006101000a81548160ff02191690831515021790555050565b6000600d60009054906101000a900460ff16905090565b60006009600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361172d576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60135481565b60056020528060005260406000206000915090505481565b611758611d79565b6117626000612128565b565b600061176e612159565b90508073ffffffffffffffffffffffffffffffffffffffff1661178f611c5b565b73ffffffffffffffffffffffffffffffffffffffff16146117e757806040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016117de9190612e61565b60405180910390fd5b6117f081612128565b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6003805461182990613425565b80601f016020809104026020016040519081016040528092919081815260200182805461185590613425565b80156118a25780601f10611877576101008083540402835291602001916118a2565b820191906000526020600020905b81548152906001019060200180831161188557829003601f168201915b505050505081565b600c6020528060005260406000206000915054906101000a900460ff1681565b80600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119bb9190612f03565b60405180910390a35050565b60006119d4338484611e34565b905092915050565b6119e7858585610b3c565b60008473ffffffffffffffffffffffffffffffffffffffff163b14158015611ad7575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b8152600401611a7295949392919061364a565b6020604051808303816000875af1158015611a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ab591906135f0565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611b0e576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b6060600060148054611b2690613425565b905011611b425760405180602001604052806000815250611b6e565b6014611b4d83612161565b604051602001611b5e92919061376c565b6040516020818303038152906040525b9050919050565b60148054611b8290613425565b80601f0160208091040260200160405190810160405280929190818152602001828054611bae90613425565b8015611bfb5780601f10611bd057610100808354040283529160200191611bfb565b820191906000526020600020905b815481529060010190602001808311611bde57829003601f168201915b505050505081565b6006602052816000526040600020602052806000526040600020600091509150505481565b611c30611d79565b8060149081611c3f9190613927565b5050565b600e6020528060005260406000206000915090505481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60086020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b611cbc611d79565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16611d1c6117f3565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b600f6020528060005260406000206000915090505481565b611d81612159565b73ffffffffffffffffffffffffffffffffffffffff16611d9f6117f3565b73ffffffffffffffffffffffffffffffffffffffff1614611dfe57611dc2612159565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611df59190612e61565b60405180910390fd5b565b60007f0000000000000000000000000000000000000000000000000000000000000000600a611e2f9190613b2c565b905090565b6000611e3e61222f565b601060009054906101000a900460ff1615611e98576013548210611e97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8e90613bc3565b60405180910390fd5b5b600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611fc45781600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f389190613be3565b92505081905550601254600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115611fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fba90613c63565b60405180910390fd5b5b600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166120f05781600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120649190613be3565b92505081905550601154600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156120ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e690613ccf565b60405180910390fd5b5b6120fb848484612270565b90509392505050565b81600290816121139190613927565b5080600390816121239190613927565b505050565b600160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055612156816125da565b50565b600033905090565b6060600060016121708461269e565b01905060008167ffffffffffffffff81111561218f5761218e61301c565b5b6040519080825280601f01601f1916602001820160405280156121c15781602001600182028036833780820191505090505b509050600082602001820190505b600115612224578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161221857612217613cef565b5b049450600085036121cf575b819350505050919050565b612237611678565b1561226e576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b60008061227b611e00565b90506000600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084600560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123549190613485565b9250508190555084600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661248857600083600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124469190613d1e565b84846124529190613d1e565b61245c9190613485565b905060005b8181101561248557612472896127f1565b808061247d90613d4f565b915050612461565b50505b600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661256857600083826124e79190613d1e565b84600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546125329190613d1e565b61253c9190613485565b905060005b818110156125655761255288612a4d565b808061255d90613d4f565b915050612541565b50505b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16604051806060016040528060218152602001613d986021913980519060200120876040516125c49190612f2d565b60405180910390a3600193505050509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106126fc577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816126f2576126f1613cef565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612739576d04ee2d6d415b85acef8100000000838161272f5761272e613cef565b5b0492506020810190505b662386f26fc10000831061276857662386f26fc10000838161275e5761275d613cef565b5b0492506010810190505b6305f5e1008310612791576305f5e100838161278757612786613cef565b5b0492506008810190505b61271083106127b65761271083816127ac576127ab613cef565b5b0492506004810190505b606483106127d957606483816127cf576127ce613cef565b5b0492506002810190505b600a83106127e8576001810190505b80915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612857576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506128e79190613485565b815481106128f8576128f76134b9565b5b90600052602060002001549050600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480612954576129536134e8565b5b60019003818190600052602060002001600090559055600b6000828152602001908152602001600020600090556009600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556007600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905580600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612a5561222f565b612a5e81612a61565b50565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612ac7576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60046000815480929190600101919050555060006004549050600073ffffffffffffffffffffffffffffffffffffffff166009600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612b79576040517f23369fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816009600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150506001900390600052602060002001600090919091909150556001600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050612c809190613485565b600b600083815260200190815260200160002081905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d31578082015181840152602081019050612d16565b60008484015250505050565b6000601f19601f8301169050919050565b6000612d5982612cf7565b612d638185612d02565b9350612d73818560208601612d13565b612d7c81612d3d565b840191505092915050565b60006020820190508181036000830152612da18184612d4e565b905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b612dd081612dbd565b8114612ddb57600080fd5b50565b600081359050612ded81612dc7565b92915050565b600060208284031215612e0957612e08612db3565b5b6000612e1784828501612dde565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e4b82612e20565b9050919050565b612e5b81612e40565b82525050565b6000602082019050612e766000830184612e52565b92915050565b612e8581612e40565b8114612e9057600080fd5b50565b600081359050612ea281612e7c565b92915050565b60008060408385031215612ebf57612ebe612db3565b5b6000612ecd85828601612e93565b9250506020612ede85828601612dde565b9150509250929050565b60008115159050919050565b612efd81612ee8565b82525050565b6000602082019050612f186000830184612ef4565b92915050565b612f2781612dbd565b82525050565b6000602082019050612f426000830184612f1e565b92915050565b60008060408385031215612f5f57612f5e612db3565b5b6000612f6d85828601612dde565b9250506020612f7e85828601612dde565b9150509250929050565b600080600060608486031215612fa157612fa0612db3565b5b6000612faf86828701612e93565b9350506020612fc086828701612e93565b9250506040612fd186828701612dde565b9150509250925092565b600060ff82169050919050565b612ff181612fdb565b82525050565b600060208201905061300c6000830184612fe8565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61305482612d3d565b810181811067ffffffffffffffff821117156130735761307261301c565b5b80604052505050565b6000613086612da9565b9050613092828261304b565b919050565b600067ffffffffffffffff8211156130b2576130b161301c565b5b6130bb82612d3d565b9050602081019050919050565b82818337600083830152505050565b60006130ea6130e584613097565b61307c565b90508281526020810184848401111561310657613105613017565b5b6131118482856130c8565b509392505050565b600082601f83011261312e5761312d613012565b5b813561313e8482602086016130d7565b91505092915050565b6000806040838503121561315e5761315d612db3565b5b600083013567ffffffffffffffff81111561317c5761317b612db8565b5b61318885828601613119565b925050602083013567ffffffffffffffff8111156131a9576131a8612db8565b5b6131b585828601613119565b9150509250929050565b6131c881612ee8565b81146131d357600080fd5b50565b6000813590506131e5816131bf565b92915050565b6000806040838503121561320257613201612db3565b5b600061321085828601612e93565b9250506020613221858286016131d6565b9150509250929050565b60006020828403121561324157613240612db3565b5b600061324f848285016131d6565b91505092915050565b60006020828403121561326e5761326d612db3565b5b600061327c84828501612e93565b91505092915050565b600080fd5b600080fd5b60008083601f8401126132a5576132a4613012565b5b8235905067ffffffffffffffff8111156132c2576132c1613285565b5b6020830191508360018202830111156132de576132dd61328a565b5b9250929050565b60008060008060006080868803121561330157613300612db3565b5b600061330f88828901612e93565b955050602061332088828901612e93565b945050604061333188828901612dde565b935050606086013567ffffffffffffffff81111561335257613351612db8565b5b61335e8882890161328f565b92509250509295509295909350565b6000806040838503121561338457613383612db3565b5b600061339285828601612e93565b92505060206133a385828601612e93565b9150509250929050565b6000602082840312156133c3576133c2612db3565b5b600082013567ffffffffffffffff8111156133e1576133e0612db8565b5b6133ed84828501613119565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061343d57607f821691505b6020821081036134505761344f6133f6565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061349082612dbd565b915061349b83612dbd565b92508282039050818111156134b3576134b2613456565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600082825260208201905092915050565b50565b6000613538600083613517565b915061354382613528565b600082019050919050565b60006080820190506135636000830186612e52565b6135706020830185612e52565b61357d6040830184612f1e565b818103606083015261358e8161352b565b9050949350505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6135cd81613598565b81146135d857600080fd5b50565b6000815190506135ea816135c4565b92915050565b60006020828403121561360657613605612db3565b5b6000613614848285016135db565b91505092915050565b60006136298385613517565b93506136368385846130c8565b61363f83612d3d565b840190509392505050565b600060808201905061365f6000830188612e52565b61366c6020830187612e52565b6136796040830186612f1e565b818103606083015261368c81848661361d565b90509695505050505050565b600081905092915050565b60008190508160005260206000209050919050565b600081546136c581613425565b6136cf8186613698565b945060018216600081146136ea57600181146136ff57613732565b60ff1983168652811515820286019350613732565b613708856136a3565b60005b8381101561372a5781548189015260018201915060208101905061370b565b838801955050505b50505092915050565b600061374682612cf7565b6137508185613698565b9350613760818560208601612d13565b80840191505092915050565b600061377882856136b8565b9150613784828461373b565b91508190509392505050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026137dd7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826137a0565b6137e786836137a0565b95508019841693508086168417925050509392505050565b6000819050919050565b600061382461381f61381a84612dbd565b6137ff565b612dbd565b9050919050565b6000819050919050565b61383e83613809565b61385261384a8261382b565b8484546137ad565b825550505050565b600090565b61386761385a565b613872818484613835565b505050565b5b818110156138965761388b60008261385f565b600181019050613878565b5050565b601f8211156138db576138ac816136a3565b6138b584613790565b810160208510156138c4578190505b6138d86138d085613790565b830182613877565b50505b505050565b600082821c905092915050565b60006138fe600019846008026138e0565b1980831691505092915050565b600061391783836138ed565b9150826002028217905092915050565b61393082612cf7565b67ffffffffffffffff8111156139495761394861301c565b5b6139538254613425565b61395e82828561389a565b600060209050601f831160018114613991576000841561397f578287015190505b613989858261390b565b8655506139f1565b601f19841661399f866136a3565b60005b828110156139c7578489015182556001820191506020850194506020810190506139a2565b868310156139e457848901516139e0601f8916826138ed565b8355505b6001600288020188555050505b505050505050565b60008160011c9050919050565b6000808291508390505b6001851115613a5057808604811115613a2c57613a2b613456565b5b6001851615613a3b5780820291505b8081029050613a49856139f9565b9450613a10565b94509492505050565b600082613a695760019050613b25565b81613a775760009050613b25565b8160018114613a8d5760028114613a9757613ac6565b6001915050613b25565b60ff841115613aa957613aa8613456565b5b8360020a915084821115613ac057613abf613456565b5b50613b25565b5060208310610133831016604e8410600b8410161715613afb5782820a905083811115613af657613af5613456565b5b613b25565b613b088484846001613a06565b92509050818404811115613b1f57613b1e613456565b5b81810290505b9392505050565b6000613b3782612dbd565b9150613b4283612fdb565b9250613b6f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484613a59565b905092915050565b7f657863656564207478206c696d69740000000000000000000000000000000000600082015250565b6000613bad600f83612d02565b9150613bb882613b77565b602082019050919050565b60006020820190508181036000830152613bdc81613ba0565b9050919050565b6000613bee82612dbd565b9150613bf983612dbd565b9250828201905080821115613c1157613c10613456565b5b92915050565b7f6e6f7420616c6c6f77656420616e796d6f726520746f2073656c6c0000000000600082015250565b6000613c4d601b83612d02565b9150613c5882613c17565b602082019050919050565b60006020820190508181036000830152613c7c81613c40565b9050919050565b7f6e6f7420616c6c6f77656420616e796d6f726520746f20627579000000000000600082015250565b6000613cb9601a83612d02565b9150613cc482613c83565b602082019050919050565b60006020820190508181036000830152613ce881613cac565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d2982612dbd565b9150613d3483612dbd565b925082613d4457613d43613cef565b5b828204905092915050565b6000613d5a82612dbd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613d8c57613d8b613456565b5b60018201905091905056fe5472616e7366657228616464726573732c616464726573732c75696e7432353629a264697066735822122063294650d9c1103fa21e839161d5aeb0d8a9563cfc93a323f4ea66440b3abb9c64736f6c6343000815003300000000000000000000000015090ec902b0aafec30d2b651da5c7ac49c8c6d700000000000000000000000000000000000000000000000000000000000022b800000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000005f5e1000000000000000000000000000000000000000000000000000000000005f5e100
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102325760003560e01c80636caae83211610130578063b88d4fde116100b8578063e2d6f33a1161007c578063e2d6f33a14610655578063e30c397814610685578063e985e9c5146106a3578063f2fde38b146106d3578063f349b173146106ef57610232565b8063b88d4fde1461059f578063c87b56dd146105bb578063d547cfb7146105eb578063dd62ed3e14610609578063e0df5b6f1461063957610232565b80638da5cb5b116100ff5780638da5cb5b146104e757806395d89b41146105055780639b19251a14610523578063a22cb46514610553578063a9059cbb1461056f57610232565b80636caae8321461048557806370a08231146104a3578063715018a6146104d357806379ba5097146104dd57610232565b8063315d90dc116101be57806353d6fd591161018257806353d6fd59146103e1578063589210d9146103fd578063590642ed1461041b5780635c975abb146104375780636352211e1461045557610232565b8063315d90dc1461036357806342842e0e1461036d5780634f02c420146103895780634f91e48c146103a7578063504334c2146103c557610232565b80631e70b6df116102055780631e70b6df146102d3578063207add91146102f157806321f591ce1461030d57806323b872dd14610329578063313ce5671461034557610232565b806306fdde0314610237578063081812fc14610255578063095ea7b31461028557806318160ddd146102b5575b600080fd5b61023f61071f565b60405161024c9190612d87565b60405180910390f35b61026f600480360381019061026a9190612df3565b6107ad565b60405161027c9190612e61565b60405180910390f35b61029f600480360381019061029a9190612ea8565b6107e0565b6040516102ac9190612f03565b60405180910390f35b6102bd610ad9565b6040516102ca9190612f2d565b60405180910390f35b6102db610afd565b6040516102e89190612f03565b60405180910390f35b61030b60048036038101906103069190612f48565b610b10565b005b61032760048036038101906103229190612df3565b610b2a565b005b610343600480360381019061033e9190612f88565b610b3c565b005b61034d611372565b60405161035a9190612ff7565b60405180910390f35b61036b611396565b005b61038760048036038101906103829190612f88565b611495565b005b6103916115c8565b60405161039e9190612f2d565b60405180910390f35b6103af6115ce565b6040516103bc9190612f2d565b60405180910390f35b6103df60048036038101906103da9190613147565b6115d4565b005b6103fb60048036038101906103f691906131eb565b6115ea565b005b61040561164d565b6040516104129190612f2d565b60405180910390f35b6104356004803603810190610430919061322b565b611653565b005b61043f611678565b60405161044c9190612f03565b60405180910390f35b61046f600480360381019061046a9190612df3565b61168f565b60405161047c9190612e61565b60405180910390f35b61048d611732565b60405161049a9190612f2d565b60405180910390f35b6104bd60048036038101906104b89190613258565b611738565b6040516104ca9190612f2d565b60405180910390f35b6104db611750565b005b6104e5611764565b005b6104ef6117f3565b6040516104fc9190612e61565b60405180910390f35b61050d61181c565b60405161051a9190612d87565b60405180910390f35b61053d60048036038101906105389190613258565b6118aa565b60405161054a9190612f03565b60405180910390f35b61056d600480360381019061056891906131eb565b6118ca565b005b61058960048036038101906105849190612ea8565b6119c7565b6040516105969190612f03565b60405180910390f35b6105b960048036038101906105b491906132e5565b6119dc565b005b6105d560048036038101906105d09190612df3565b611b15565b6040516105e29190612d87565b60405180910390f35b6105f3611b75565b6040516106009190612d87565b60405180910390f35b610623600480360381019061061e919061336d565b611c03565b6040516106309190612f2d565b60405180910390f35b610653600480360381019061064e91906133ad565b611c28565b005b61066f600480360381019061066a9190613258565b611c43565b60405161067c9190612f2d565b60405180910390f35b61068d611c5b565b60405161069a9190612e61565b60405180910390f35b6106bd60048036038101906106b8919061336d565b611c85565b6040516106ca9190612f03565b60405180910390f35b6106ed60048036038101906106e89190613258565b611cb4565b005b61070960048036038101906107049190613258565b611d61565b6040516107169190612f2d565b60405180910390f35b6002805461072c90613425565b80601f016020809104026020016040519081016040528092919081815260200182805461075890613425565b80156107a55780601f1061077a576101008083540402835291602001916107a5565b820191906000526020600020905b81548152906001019060200180831161078857829003601f168201915b505050505081565b60076020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060045482111580156107f45750600082115b156109e85760006009600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141580156108f45750600860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561092b576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b836007600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925856040516109da9190612f2d565b60405180910390a350610acf565b81600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610ac69190612f2d565b60405180910390a35b6001905092915050565b7f0000000000000000000000000000000000000000000001e1d1c72d5b97e0000081565b601060009054906101000a900460ff1681565b610b18611d79565b81601181905550806012819055505050565b610b32611d79565b8060138190555050565b600454811161122a576009600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610bdd576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c43576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015610d065750600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b8015610d7157506007600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15610da8576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610db0611e00565b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610dfe9190613485565b92505081905550610e0d611e00565b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816009600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506007600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050610f719190613485565b81548110610f8257610f816134b9565b5b9060005260206000200154905080600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600b60008581526020019081526020016000205481548110610ff457610ff36134b9565b5b9060005260206000200181905550600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480611051576110506134e8565b5b60019003818190600052602060002001600090559055600b600083815260200190815260200160002054600b600083815260200190815260200160002081905550600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208290806001815401808255809150506001900390600052602060002001600090919091909150556001600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506111479190613485565b600b600084815260200190815260200160002081905550818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16604051806060016040528060218152602001613d98602191398051906020012061120f611e00565b60405161121c9190612f2d565b60405180910390a35061136d565b6000600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461135f5781816112de9190613485565b600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b61136a848484611e34565b50505b505050565b7f000000000000000000000000000000000000000000000000000000000000001281565b61139e611d79565b6113bd737a250d5630b4cf539739df2c5dacb4c659f2488d60016115ea565b6113dc7380a64c6d7f12c47b7c66c5b4e20e72bc1fcd5d9e60016115ea565b6113f870d40b595b94918a28b27d1e2c66f43a51d360016115ea565b611417731231deb6f5749ef6ce6943a275a1d3e7486f4eae60016115ea565b611436733fc91a3afd70395cd496c647d5a6cc9d4b2b7fad60016115ea565b61145573c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260016115ea565b611474735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f60016115ea565b611493733328f7f4a1d1c57c35df56bbf0c9dcafca309c4960016115ea565b565b6114a0838383610b3c565b60008273ffffffffffffffffffffffffffffffffffffffff163b1415801561158c575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b81526004016115279392919061354e565b6020604051808303816000875af1158015611546573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156a91906135f0565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b156115c3576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60045481565b60125481565b6115dc611d79565b6115e68282612104565b5050565b6115f2611d79565b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60115481565b61165b611d79565b80601060006101000a81548160ff02191690831515021790555050565b6000600d60009054906101000a900460ff16905090565b60006009600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361172d576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60135481565b60056020528060005260406000206000915090505481565b611758611d79565b6117626000612128565b565b600061176e612159565b90508073ffffffffffffffffffffffffffffffffffffffff1661178f611c5b565b73ffffffffffffffffffffffffffffffffffffffff16146117e757806040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016117de9190612e61565b60405180910390fd5b6117f081612128565b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6003805461182990613425565b80601f016020809104026020016040519081016040528092919081815260200182805461185590613425565b80156118a25780601f10611877576101008083540402835291602001916118a2565b820191906000526020600020905b81548152906001019060200180831161188557829003601f168201915b505050505081565b600c6020528060005260406000206000915054906101000a900460ff1681565b80600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119bb9190612f03565b60405180910390a35050565b60006119d4338484611e34565b905092915050565b6119e7858585610b3c565b60008473ffffffffffffffffffffffffffffffffffffffff163b14158015611ad7575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b8152600401611a7295949392919061364a565b6020604051808303816000875af1158015611a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ab591906135f0565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611b0e576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b6060600060148054611b2690613425565b905011611b425760405180602001604052806000815250611b6e565b6014611b4d83612161565b604051602001611b5e92919061376c565b6040516020818303038152906040525b9050919050565b60148054611b8290613425565b80601f0160208091040260200160405190810160405280929190818152602001828054611bae90613425565b8015611bfb5780601f10611bd057610100808354040283529160200191611bfb565b820191906000526020600020905b815481529060010190602001808311611bde57829003601f168201915b505050505081565b6006602052816000526040600020602052806000526040600020600091509150505481565b611c30611d79565b8060149081611c3f9190613927565b5050565b600e6020528060005260406000206000915090505481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60086020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b611cbc611d79565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16611d1c6117f3565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b600f6020528060005260406000206000915090505481565b611d81612159565b73ffffffffffffffffffffffffffffffffffffffff16611d9f6117f3565b73ffffffffffffffffffffffffffffffffffffffff1614611dfe57611dc2612159565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611df59190612e61565b60405180910390fd5b565b60007f0000000000000000000000000000000000000000000000000000000000000012600a611e2f9190613b2c565b905090565b6000611e3e61222f565b601060009054906101000a900460ff1615611e98576013548210611e97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8e90613bc3565b60405180910390fd5b5b600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611fc45781600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f389190613be3565b92505081905550601254600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115611fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fba90613c63565b60405180910390fd5b5b600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166120f05781600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120649190613be3565b92505081905550601154600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156120ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e690613ccf565b60405180910390fd5b5b6120fb848484612270565b90509392505050565b81600290816121139190613927565b5080600390816121239190613927565b505050565b600160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055612156816125da565b50565b600033905090565b6060600060016121708461269e565b01905060008167ffffffffffffffff81111561218f5761218e61301c565b5b6040519080825280601f01601f1916602001820160405280156121c15781602001600182028036833780820191505090505b509050600082602001820190505b600115612224578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161221857612217613cef565b5b049450600085036121cf575b819350505050919050565b612237611678565b1561226e576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b60008061227b611e00565b90506000600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084600560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123549190613485565b9250508190555084600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661248857600083600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124469190613d1e565b84846124529190613d1e565b61245c9190613485565b905060005b8181101561248557612472896127f1565b808061247d90613d4f565b915050612461565b50505b600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661256857600083826124e79190613d1e565b84600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546125329190613d1e565b61253c9190613485565b905060005b818110156125655761255288612a4d565b808061255d90613d4f565b915050612541565b50505b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16604051806060016040528060218152602001613d986021913980519060200120876040516125c49190612f2d565b60405180910390a3600193505050509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106126fc577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816126f2576126f1613cef565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612739576d04ee2d6d415b85acef8100000000838161272f5761272e613cef565b5b0492506020810190505b662386f26fc10000831061276857662386f26fc10000838161275e5761275d613cef565b5b0492506010810190505b6305f5e1008310612791576305f5e100838161278757612786613cef565b5b0492506008810190505b61271083106127b65761271083816127ac576127ab613cef565b5b0492506004810190505b606483106127d957606483816127cf576127ce613cef565b5b0492506002810190505b600a83106127e8576001810190505b80915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612857576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506128e79190613485565b815481106128f8576128f76134b9565b5b90600052602060002001549050600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480612954576129536134e8565b5b60019003818190600052602060002001600090559055600b6000828152602001908152602001600020600090556009600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556007600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905580600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612a5561222f565b612a5e81612a61565b50565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612ac7576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60046000815480929190600101919050555060006004549050600073ffffffffffffffffffffffffffffffffffffffff166009600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612b79576040517f23369fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816009600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150506001900390600052602060002001600090919091909150556001600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050612c809190613485565b600b600083815260200190815260200160002081905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d31578082015181840152602081019050612d16565b60008484015250505050565b6000601f19601f8301169050919050565b6000612d5982612cf7565b612d638185612d02565b9350612d73818560208601612d13565b612d7c81612d3d565b840191505092915050565b60006020820190508181036000830152612da18184612d4e565b905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b612dd081612dbd565b8114612ddb57600080fd5b50565b600081359050612ded81612dc7565b92915050565b600060208284031215612e0957612e08612db3565b5b6000612e1784828501612dde565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e4b82612e20565b9050919050565b612e5b81612e40565b82525050565b6000602082019050612e766000830184612e52565b92915050565b612e8581612e40565b8114612e9057600080fd5b50565b600081359050612ea281612e7c565b92915050565b60008060408385031215612ebf57612ebe612db3565b5b6000612ecd85828601612e93565b9250506020612ede85828601612dde565b9150509250929050565b60008115159050919050565b612efd81612ee8565b82525050565b6000602082019050612f186000830184612ef4565b92915050565b612f2781612dbd565b82525050565b6000602082019050612f426000830184612f1e565b92915050565b60008060408385031215612f5f57612f5e612db3565b5b6000612f6d85828601612dde565b9250506020612f7e85828601612dde565b9150509250929050565b600080600060608486031215612fa157612fa0612db3565b5b6000612faf86828701612e93565b9350506020612fc086828701612e93565b9250506040612fd186828701612dde565b9150509250925092565b600060ff82169050919050565b612ff181612fdb565b82525050565b600060208201905061300c6000830184612fe8565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61305482612d3d565b810181811067ffffffffffffffff821117156130735761307261301c565b5b80604052505050565b6000613086612da9565b9050613092828261304b565b919050565b600067ffffffffffffffff8211156130b2576130b161301c565b5b6130bb82612d3d565b9050602081019050919050565b82818337600083830152505050565b60006130ea6130e584613097565b61307c565b90508281526020810184848401111561310657613105613017565b5b6131118482856130c8565b509392505050565b600082601f83011261312e5761312d613012565b5b813561313e8482602086016130d7565b91505092915050565b6000806040838503121561315e5761315d612db3565b5b600083013567ffffffffffffffff81111561317c5761317b612db8565b5b61318885828601613119565b925050602083013567ffffffffffffffff8111156131a9576131a8612db8565b5b6131b585828601613119565b9150509250929050565b6131c881612ee8565b81146131d357600080fd5b50565b6000813590506131e5816131bf565b92915050565b6000806040838503121561320257613201612db3565b5b600061321085828601612e93565b9250506020613221858286016131d6565b9150509250929050565b60006020828403121561324157613240612db3565b5b600061324f848285016131d6565b91505092915050565b60006020828403121561326e5761326d612db3565b5b600061327c84828501612e93565b91505092915050565b600080fd5b600080fd5b60008083601f8401126132a5576132a4613012565b5b8235905067ffffffffffffffff8111156132c2576132c1613285565b5b6020830191508360018202830111156132de576132dd61328a565b5b9250929050565b60008060008060006080868803121561330157613300612db3565b5b600061330f88828901612e93565b955050602061332088828901612e93565b945050604061333188828901612dde565b935050606086013567ffffffffffffffff81111561335257613351612db8565b5b61335e8882890161328f565b92509250509295509295909350565b6000806040838503121561338457613383612db3565b5b600061339285828601612e93565b92505060206133a385828601612e93565b9150509250929050565b6000602082840312156133c3576133c2612db3565b5b600082013567ffffffffffffffff8111156133e1576133e0612db8565b5b6133ed84828501613119565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061343d57607f821691505b6020821081036134505761344f6133f6565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061349082612dbd565b915061349b83612dbd565b92508282039050818111156134b3576134b2613456565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600082825260208201905092915050565b50565b6000613538600083613517565b915061354382613528565b600082019050919050565b60006080820190506135636000830186612e52565b6135706020830185612e52565b61357d6040830184612f1e565b818103606083015261358e8161352b565b9050949350505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6135cd81613598565b81146135d857600080fd5b50565b6000815190506135ea816135c4565b92915050565b60006020828403121561360657613605612db3565b5b6000613614848285016135db565b91505092915050565b60006136298385613517565b93506136368385846130c8565b61363f83612d3d565b840190509392505050565b600060808201905061365f6000830188612e52565b61366c6020830187612e52565b6136796040830186612f1e565b818103606083015261368c81848661361d565b90509695505050505050565b600081905092915050565b60008190508160005260206000209050919050565b600081546136c581613425565b6136cf8186613698565b945060018216600081146136ea57600181146136ff57613732565b60ff1983168652811515820286019350613732565b613708856136a3565b60005b8381101561372a5781548189015260018201915060208101905061370b565b838801955050505b50505092915050565b600061374682612cf7565b6137508185613698565b9350613760818560208601612d13565b80840191505092915050565b600061377882856136b8565b9150613784828461373b565b91508190509392505050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026137dd7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826137a0565b6137e786836137a0565b95508019841693508086168417925050509392505050565b6000819050919050565b600061382461381f61381a84612dbd565b6137ff565b612dbd565b9050919050565b6000819050919050565b61383e83613809565b61385261384a8261382b565b8484546137ad565b825550505050565b600090565b61386761385a565b613872818484613835565b505050565b5b818110156138965761388b60008261385f565b600181019050613878565b5050565b601f8211156138db576138ac816136a3565b6138b584613790565b810160208510156138c4578190505b6138d86138d085613790565b830182613877565b50505b505050565b600082821c905092915050565b60006138fe600019846008026138e0565b1980831691505092915050565b600061391783836138ed565b9150826002028217905092915050565b61393082612cf7565b67ffffffffffffffff8111156139495761394861301c565b5b6139538254613425565b61395e82828561389a565b600060209050601f831160018114613991576000841561397f578287015190505b613989858261390b565b8655506139f1565b601f19841661399f866136a3565b60005b828110156139c7578489015182556001820191506020850194506020810190506139a2565b868310156139e457848901516139e0601f8916826138ed565b8355505b6001600288020188555050505b505050505050565b60008160011c9050919050565b6000808291508390505b6001851115613a5057808604811115613a2c57613a2b613456565b5b6001851615613a3b5780820291505b8081029050613a49856139f9565b9450613a10565b94509492505050565b600082613a695760019050613b25565b81613a775760009050613b25565b8160018114613a8d5760028114613a9757613ac6565b6001915050613b25565b60ff841115613aa957613aa8613456565b5b8360020a915084821115613ac057613abf613456565b5b50613b25565b5060208310610133831016604e8410600b8410161715613afb5782820a905083811115613af657613af5613456565b5b613b25565b613b088484846001613a06565b92509050818404811115613b1f57613b1e613456565b5b81810290505b9392505050565b6000613b3782612dbd565b9150613b4283612fdb565b9250613b6f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484613a59565b905092915050565b7f657863656564207478206c696d69740000000000000000000000000000000000600082015250565b6000613bad600f83612d02565b9150613bb882613b77565b602082019050919050565b60006020820190508181036000830152613bdc81613ba0565b9050919050565b6000613bee82612dbd565b9150613bf983612dbd565b9250828201905080821115613c1157613c10613456565b5b92915050565b7f6e6f7420616c6c6f77656420616e796d6f726520746f2073656c6c0000000000600082015250565b6000613c4d601b83612d02565b9150613c5882613c17565b602082019050919050565b60006020820190508181036000830152613c7c81613c40565b9050919050565b7f6e6f7420616c6c6f77656420616e796d6f726520746f20627579000000000000600082015250565b6000613cb9601a83612d02565b9150613cc482613c83565b602082019050919050565b60006020820190508181036000830152613ce881613cac565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d2982612dbd565b9150613d3483612dbd565b925082613d4457613d43613cef565b5b828204905092915050565b6000613d5a82612dbd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613d8c57613d8b613456565b5b60018201905091905056fe5472616e7366657228616464726573732c616464726573732c75696e7432353629a264697066735822122063294650d9c1103fa21e839161d5aeb0d8a9563cfc93a323f4ea66440b3abb9c64736f6c63430008150033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000015090ec902b0aafec30d2b651da5c7ac49c8c6d700000000000000000000000000000000000000000000000000000000000022b800000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000005f5e1000000000000000000000000000000000000000000000000000000000005f5e100
-----Decoded View---------------
Arg [0] : _owner (address): 0x15090eC902B0aAFec30D2b651DA5c7AC49c8C6d7
Arg [1] : _totalSupply (uint256): 8888
Arg [2] : _decimal (uint8): 18
Arg [3] : _buylimit (uint256): 100000000
Arg [4] : _selllimit (uint256): 100000000
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000015090ec902b0aafec30d2b651da5c7ac49c8c6d7
Arg [1] : 00000000000000000000000000000000000000000000000000000000000022b8
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000000000000000000000000000000000000005f5e100
Arg [4] : 0000000000000000000000000000000000000000000000000000000005f5e100
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.