Overview
TokenID
4211
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
MollyGenesis
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "./ERC404.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract MollyGenesis is ERC404 { string public baseTokenURI = "https://app.mollygateway.com/api/metadata/"; constructor( address _owner ) ERC404("MollyGenesisOG", "YUMYUM", 18, 2100, _owner) { balanceOf[_owner] = 2100 * 10 ** 18; } 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 string.concat(baseTokenURI, Strings.toString(id)); } }
// 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)); } }
//SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; abstract contract Ownable { event OwnershipTransferred(address indexed user, address indexed newOwner); error Unauthorized(); error InvalidOwner(); address public owner; modifier onlyOwner() virtual { if (msg.sender != owner) revert Unauthorized(); _; } constructor(address _owner) { if (_owner == address(0)) revert InvalidOwner(); owner = _owner; emit OwnershipTransferred(address(0), _owner); } function transferOwnership(address _owner) public virtual onlyOwner { if (_owner == address(0)) revert InvalidOwner(); owner = _owner; emit OwnershipTransferred(msg.sender, _owner); } function revokeOwnership() public virtual onlyOwner { owner = address(0); emit OwnershipTransferred(msg.sender, address(0)); } } abstract contract ERC721Receiver { function onERC721Received( address, address, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC721Receiver.onERC721Received.selector; } } /// @notice ERC404 /// A gas-efficient, mixed ERC20 / ERC721 implementation /// with native liquidity and fractionalization. /// /// This is an experimental standard designed to integrate /// with pre-existing ERC20 / ERC721 support as smoothly as /// possible. /// /// @dev In order to support full functionality of ERC20 and ERC721 /// supply assumptions are made that slightly constraint usage. /// Ensure decimals are sufficiently large (standard 18 recommended) /// as ids are effectively encoded in the lowest range of amounts. /// /// NFTs are spent on ERC20 functions in a FILO queue, this is by /// design. /// abstract contract ERC404 is Ownable { // Events event ERC20Transfer( address indexed from, address indexed to, uint256 amount ); 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 ); // Errors error NotFound(); error AlreadyExists(); error InvalidRecipient(); error InvalidSender(); error UnsafeRecipient(); // 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(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 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(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; } }
// 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/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; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyExists","type":"error"},{"inputs":[],"name":"InvalidOwner","type":"error"},{"inputs":[],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"InvalidSender","type":"error"},{"inputs":[],"name":"NotFound","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":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","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":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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":[{"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":"revokeOwnership","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","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":"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":"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":"_owner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60c06040526040518060600160405280602a815260200162003cc5602a9139600c90816200002e9190620004e6565b503480156200003b575f80fd5b5060405162003cef38038062003cef83398181016040528101906200006191906200062f565b6040518060400160405280600e81526020017f4d6f6c6c7947656e657369734f470000000000000000000000000000000000008152506040518060400160405280600681526020017f59554d59554d0000000000000000000000000000000000000000000000000000815250601261083484805f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036200013a576040517f49e27cff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3508460019081620001e59190620004e6565b508360029081620001f79190620004e6565b508260ff1660808160ff1681525050608051600a620002179190620007e8565b8262000224919062000838565b60a0818152505050505050506871d75ab9b92050000060045f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505062000882565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680620002fe57607f821691505b602082108103620003145762000313620002b9565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620003787fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200033b565b6200038486836200033b565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620003ce620003c8620003c2846200039c565b620003a5565b6200039c565b9050919050565b5f819050919050565b620003e983620003ae565b62000401620003f882620003d5565b84845462000347565b825550505050565b5f90565b6200041762000409565b62000424818484620003de565b505050565b5b818110156200044b576200043f5f826200040d565b6001810190506200042a565b5050565b601f8211156200049a5762000464816200031a565b6200046f846200032c565b810160208510156200047f578190505b620004976200048e856200032c565b83018262000429565b50505b505050565b5f82821c905092915050565b5f620004bc5f19846008026200049f565b1980831691505092915050565b5f620004d68383620004ab565b9150826002028217905092915050565b620004f18262000282565b67ffffffffffffffff8111156200050d576200050c6200028c565b5b620005198254620002e6565b620005268282856200044f565b5f60209050601f8311600181146200055c575f841562000547578287015190505b620005538582620004c9565b865550620005c2565b601f1984166200056c866200031a565b5f5b8281101562000595578489015182556001820191506020850194506020810190506200056e565b86831015620005b55784890151620005b1601f891682620004ab565b8355505b6001600288020188555050505b505050505050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620005f982620005ce565b9050919050565b6200060b81620005ed565b811462000616575f80fd5b50565b5f81519050620006298162000600565b92915050565b5f60208284031215620006475762000646620005ca565b5b5f620006568482850162000619565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b6001851115620006e957808604811115620006c157620006c06200065f565b5b6001851615620006d15780820291505b8081029050620006e1856200068c565b9450620006a1565b94509492505050565b5f82620007035760019050620007d5565b8162000712575f9050620007d5565b81600181146200072b576002811462000736576200076c565b6001915050620007d5565b60ff8411156200074b576200074a6200065f565b5b8360020a9150848211156200076557620007646200065f565b5b50620007d5565b5060208310610133831016604e8410600b8410161715620007a65782820a905083811115620007a0576200079f6200065f565b5b620007d5565b620007b5848484600162000698565b92509050818404811115620007cf57620007ce6200065f565b5b81810290505b9392505050565b5f60ff82169050919050565b5f620007f4826200039c565b91506200080183620007dc565b9250620008307fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484620006f2565b905092915050565b5f62000844826200039c565b915062000851836200039c565b925082820262000861816200039c565b915082820484148315176200087b576200087a6200065f565b5b5092915050565b60805160a05161341a620008ab5f395f61088601525f81816111c00152611b6e015261341a5ff3fe608060405234801561000f575f80fd5b5060043610610171575f3560e01c806370a08231116100dc578063b88d4fde11610095578063dd62ed3e1161006f578063dd62ed3e14610449578063e0df5b6f14610479578063e985e9c514610495578063f2fde38b146104c557610171565b8063b88d4fde146103df578063c87b56dd146103fb578063d547cfb71461042b57610171565b806370a08231146102f75780638da5cb5b1461032757806395d89b41146103455780639b19251a14610363578063a22cb46514610393578063a9059cbb146103af57610171565b8063313ce5671161012e578063313ce5671461023757806342842e0e146102555780634f02c42014610271578063504334c21461028f57806353d6fd59146102ab5780636352211e146102c757610171565b806306fdde0314610175578063081812fc14610193578063095ea7b3146101c357806318160ddd146101f357806323b872dd146102115780632b9689581461022d575b5f80fd5b61017d6104e1565b60405161018a9190612672565b60405180910390f35b6101ad60048036038101906101a891906126d6565b61056d565b6040516101ba9190612740565b60405180910390f35b6101dd60048036038101906101d89190612783565b61059d565b6040516101ea91906127db565b60405180910390f35b6101fb610884565b6040516102089190612803565b60405180910390f35b61022b6004803603810190610226919061281c565b6108a8565b005b61023561109f565b005b61023f6111be565b60405161024c9190612887565b60405180910390f35b61026f600480360381019061026a919061281c565b6111e2565b005b610279611311565b6040516102869190612803565b60405180910390f35b6102a960048036038101906102a491906129cc565b611317565b005b6102c560048036038101906102c09190612a6c565b6113a9565b005b6102e160048036038101906102dc91906126d6565b611485565b6040516102ee9190612740565b60405180910390f35b610311600480360381019061030c9190612aaa565b611523565b60405161031e9190612803565b60405180910390f35b61032f611538565b60405161033c9190612740565b60405180910390f35b61034d61155b565b60405161035a9190612672565b60405180910390f35b61037d60048036038101906103789190612aaa565b6115e7565b60405161038a91906127db565b60405180910390f35b6103ad60048036038101906103a89190612a6c565b611604565b005b6103c960048036038101906103c49190612783565b6116fc565b6040516103d691906127db565b60405180910390f35b6103f960048036038101906103f49190612b32565b611710565b005b610415600480360381019061041091906126d6565b611845565b6040516104229190612672565b60405180910390f35b610433611879565b6040516104409190612672565b60405180910390f35b610463600480360381019061045e9190612bb6565b611905565b6040516104709190612803565b60405180910390f35b610493600480360381019061048e9190612bf4565b611925565b005b6104af60048036038101906104aa9190612bb6565b6119bc565b6040516104bc91906127db565b60405180910390f35b6104df60048036038101906104da9190612aaa565b6119e6565b005b600180546104ee90612c68565b80601f016020809104026020016040519081016040528092919081815260200182805461051a90612c68565b80156105655780601f1061053c57610100808354040283529160200191610565565b820191905f5260205f20905b81548152906001019060200180831161054857829003601f168201915b505050505081565b6006602052805f5260405f205f915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60035482111580156105af57505f82115b15610797575f60085f8481526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141580156106a6575060075f8273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b156106dd576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8360065f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925856040516107899190612803565b60405180910390a35061087a565b8160055f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108719190612803565b60405180910390a35b6001905092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6003548111610f605760085f8281526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610946576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036109ab576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015610a69575060075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015610ad1575060065f8281526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15610b08576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b10611b6b565b60045f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610b5b9190612cc5565b92505081905550610b6a611b6b565b60045f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508160085f8381526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060065f8281526020019081526020015f205f6101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555f60095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20600160095f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2080549050610cc09190612cc5565b81548110610cd157610cd0612cf8565b5b905f5260205f20015490508060095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20600a5f8581526020019081526020015f205481548110610d3d57610d3c612cf8565b5b905f5260205f20018190555060095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805480610d9657610d95612d25565b5b600190038181905f5260205f20015f90559055600a5f8381526020019081526020015f2054600a5f8381526020019081526020015f208190555060095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2082908060018154018082558091505060019003905f5260205f20015f9091909190915055600160095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2080549050610e7e9190612cc5565b600a5f8481526020019081526020015f2081905550818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610f45611b6b565b604051610f529190612803565b60405180910390a35061109a565b5f60055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461108c57818161100f9190612cc5565b60055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b611097848484611b9e565b50505b505050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611123576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f805f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3565b7f000000000000000000000000000000000000000000000000000000000000000081565b6111ed8383836108a8565b5f8273ffffffffffffffffffffffffffffffffffffffff163b141580156112d5575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b815260040161127393929190612d85565b6020604051808303815f875af115801561128f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112b39190612e22565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b1561130c576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60035481565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461139b576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113a58282611ee2565b5050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461142d576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b5f60085f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361151e576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6004602052805f5260405f205f915090505481565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6002805461156890612c68565b80601f016020809104026020016040519081016040528092919081815260200182805461159490612c68565b80156115df5780601f106115b6576101008083540402835291602001916115df565b820191905f5260205f20905b8154815290600101906020018083116115c257829003601f168201915b505050505081565b600b602052805f5260405f205f915054906101000a900460ff1681565b8060075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116f091906127db565b60405180910390a35050565b5f611708338484611b9e565b905092915050565b61171b8585856108a8565b5f8473ffffffffffffffffffffffffffffffffffffffff163b14158015611807575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b81526004016117a5959493929190612e79565b6020604051808303815f875af11580156117c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117e59190612e22565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b1561183e576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b6060600c61185283611f06565b604051602001611863929190612f91565b6040516020818303038152906040529050919050565b600c805461188690612c68565b80601f01602080910402602001604051908101604052809291908181526020018280546118b290612c68565b80156118fd5780601f106118d4576101008083540402835291602001916118fd565b820191905f5260205f20905b8154815290600101906020018083116118e057829003601f168201915b505050505081565b6005602052815f5260405f20602052805f5260405f205f91509150505481565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119a9576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c90816119b8919061313f565b5050565b6007602052815f5260405f20602052805f5260405f205f915091509054906101000a900460ff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a6a576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611acf576040517f49e27cff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b5f7f0000000000000000000000000000000000000000000000000000000000000000600a611b99919061333d565b905090565b5f80611ba8611b6b565b90505f60045f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490505f60045f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508460045f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254611c789190612cc5565b925050819055508460045f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550600b5f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611d9c575f8360045f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611d6191906133b4565b8484611d6d91906133b4565b611d779190612cc5565b90505f5b81811015611d9957611d8c89611fd0565b8080600101915050611d7b565b50505b600b5f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611e6f575f8382611df791906133b4565b8460045f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611e4091906133b4565b611e4a9190612cc5565b90505f5b81811015611e6c57611e5f88612215565b8080600101915050611e4e565b50505b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e03148787604051611ecc9190612803565b60405180910390a3600193505050509392505050565b8160019081611ef1919061313f565b508060029081611f01919061313f565b505050565b60605f6001611f1484612497565b0190505f8167ffffffffffffffff811115611f3257611f316128a8565b5b6040519080825280601f01601f191660200182016040528015611f645781602001600182028036833780820191505090505b5090505f82602001820190505b600115611fc5578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611fba57611fb9613387565b5b0494505f8503611f71575b819350505050919050565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612035576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20600160095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805490506120c09190612cc5565b815481106120d1576120d0612cf8565b5b905f5260205f200154905060095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2080548061212957612128612d25565b5b600190038181905f5260205f20015f90559055600a5f8281526020019081526020015f205f905560085f8281526020019081526020015f205f6101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560065f8281526020019081526020015f205f6101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055805f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361227a576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60035f81548092919060010191905055505f60035490505f73ffffffffffffffffffffffffffffffffffffffff1660085f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612326576040517f23369fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8160085f8381526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f9091909190915055600160095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805490506124239190612cc5565b600a5f8381526020019081526020015f2081905550808273ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106124f3577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816124e9576124e8613387565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612530576d04ee2d6d415b85acef8100000000838161252657612525613387565b5b0492506020810190505b662386f26fc10000831061255f57662386f26fc10000838161255557612554613387565b5b0492506010810190505b6305f5e1008310612588576305f5e100838161257e5761257d613387565b5b0492506008810190505b61271083106125ad5761271083816125a3576125a2613387565b5b0492506004810190505b606483106125d057606483816125c6576125c5613387565b5b0492506002810190505b600a83106125df576001810190505b80915050919050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561261f578082015181840152602081019050612604565b5f8484015250505050565b5f601f19601f8301169050919050565b5f612644826125e8565b61264e81856125f2565b935061265e818560208601612602565b6126678161262a565b840191505092915050565b5f6020820190508181035f83015261268a818461263a565b905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f819050919050565b6126b5816126a3565b81146126bf575f80fd5b50565b5f813590506126d0816126ac565b92915050565b5f602082840312156126eb576126ea61269b565b5b5f6126f8848285016126c2565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61272a82612701565b9050919050565b61273a81612720565b82525050565b5f6020820190506127535f830184612731565b92915050565b61276281612720565b811461276c575f80fd5b50565b5f8135905061277d81612759565b92915050565b5f80604083850312156127995761279861269b565b5b5f6127a68582860161276f565b92505060206127b7858286016126c2565b9150509250929050565b5f8115159050919050565b6127d5816127c1565b82525050565b5f6020820190506127ee5f8301846127cc565b92915050565b6127fd816126a3565b82525050565b5f6020820190506128165f8301846127f4565b92915050565b5f805f606084860312156128335761283261269b565b5b5f6128408682870161276f565b93505060206128518682870161276f565b9250506040612862868287016126c2565b9150509250925092565b5f60ff82169050919050565b6128818161286c565b82525050565b5f60208201905061289a5f830184612878565b92915050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6128de8261262a565b810181811067ffffffffffffffff821117156128fd576128fc6128a8565b5b80604052505050565b5f61290f612692565b905061291b82826128d5565b919050565b5f67ffffffffffffffff82111561293a576129396128a8565b5b6129438261262a565b9050602081019050919050565b828183375f83830152505050565b5f61297061296b84612920565b612906565b90508281526020810184848401111561298c5761298b6128a4565b5b612997848285612950565b509392505050565b5f82601f8301126129b3576129b26128a0565b5b81356129c384826020860161295e565b91505092915050565b5f80604083850312156129e2576129e161269b565b5b5f83013567ffffffffffffffff8111156129ff576129fe61269f565b5b612a0b8582860161299f565b925050602083013567ffffffffffffffff811115612a2c57612a2b61269f565b5b612a388582860161299f565b9150509250929050565b612a4b816127c1565b8114612a55575f80fd5b50565b5f81359050612a6681612a42565b92915050565b5f8060408385031215612a8257612a8161269b565b5b5f612a8f8582860161276f565b9250506020612aa085828601612a58565b9150509250929050565b5f60208284031215612abf57612abe61269b565b5b5f612acc8482850161276f565b91505092915050565b5f80fd5b5f80fd5b5f8083601f840112612af257612af16128a0565b5b8235905067ffffffffffffffff811115612b0f57612b0e612ad5565b5b602083019150836001820283011115612b2b57612b2a612ad9565b5b9250929050565b5f805f805f60808688031215612b4b57612b4a61269b565b5b5f612b588882890161276f565b9550506020612b698882890161276f565b9450506040612b7a888289016126c2565b935050606086013567ffffffffffffffff811115612b9b57612b9a61269f565b5b612ba788828901612add565b92509250509295509295909350565b5f8060408385031215612bcc57612bcb61269b565b5b5f612bd98582860161276f565b9250506020612bea8582860161276f565b9150509250929050565b5f60208284031215612c0957612c0861269b565b5b5f82013567ffffffffffffffff811115612c2657612c2561269f565b5b612c328482850161299f565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612c7f57607f821691505b602082108103612c9257612c91612c3b565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612ccf826126a3565b9150612cda836126a3565b9250828203905081811115612cf257612cf1612c98565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd5b5f82825260208201905092915050565b50565b5f612d705f83612d52565b9150612d7b82612d62565b5f82019050919050565b5f608082019050612d985f830186612731565b612da56020830185612731565b612db260408301846127f4565b8181036060830152612dc381612d65565b9050949350505050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612e0181612dcd565b8114612e0b575f80fd5b50565b5f81519050612e1c81612df8565b92915050565b5f60208284031215612e3757612e3661269b565b5b5f612e4484828501612e0e565b91505092915050565b5f612e588385612d52565b9350612e65838584612950565b612e6e8361262a565b840190509392505050565b5f608082019050612e8c5f830188612731565b612e996020830187612731565b612ea660408301866127f4565b8181036060830152612eb9818486612e4d565b90509695505050505050565b5f81905092915050565b5f819050815f5260205f209050919050565b5f8154612eed81612c68565b612ef78186612ec5565b9450600182165f8114612f115760018114612f2657612f58565b60ff1983168652811515820286019350612f58565b612f2f85612ecf565b5f5b83811015612f5057815481890152600182019150602081019050612f31565b838801955050505b50505092915050565b5f612f6b826125e8565b612f758185612ec5565b9350612f85818560208601612602565b80840191505092915050565b5f612f9c8285612ee1565b9150612fa88284612f61565b91508190509392505050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302612ffe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612fc3565b6130088683612fc3565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61304361303e613039846126a3565b613020565b6126a3565b9050919050565b5f819050919050565b61305c83613029565b6130706130688261304a565b848454612fcf565b825550505050565b5f90565b613084613078565b61308f818484613053565b505050565b5b818110156130b2576130a75f8261307c565b600181019050613095565b5050565b601f8211156130f7576130c881612ecf565b6130d184612fb4565b810160208510156130e0578190505b6130f46130ec85612fb4565b830182613094565b50505b505050565b5f82821c905092915050565b5f6131175f19846008026130fc565b1980831691505092915050565b5f61312f8383613108565b9150826002028217905092915050565b613148826125e8565b67ffffffffffffffff811115613161576131606128a8565b5b61316b8254612c68565b6131768282856130b6565b5f60209050601f8311600181146131a7575f8415613195578287015190505b61319f8582613124565b865550613206565b601f1984166131b586612ecf565b5f5b828110156131dc578489015182556001820191506020850194506020810190506131b7565b868310156131f957848901516131f5601f891682613108565b8355505b6001600288020188555050505b505050505050565b5f8160011c9050919050565b5f808291508390505b60018511156132635780860481111561323f5761323e612c98565b5b600185161561324e5780820291505b808102905061325c8561320e565b9450613223565b94509492505050565b5f8261327b5760019050613336565b81613288575f9050613336565b816001811461329e57600281146132a8576132d7565b6001915050613336565b60ff8411156132ba576132b9612c98565b5b8360020a9150848211156132d1576132d0612c98565b5b50613336565b5060208310610133831016604e8410600b841016171561330c5782820a90508381111561330757613306612c98565b5b613336565b613319848484600161321a565b925090508184048111156133305761332f612c98565b5b81810290505b9392505050565b5f613347826126a3565b91506133528361286c565b925061337f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461326c565b905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6133be826126a3565b91506133c9836126a3565b9250826133d9576133d8613387565b5b82820490509291505056fea2646970667358221220559afec351a4f60890dc79507f4db91806a1d56457f4fdb11af3c67b7cfbbedc64736f6c6343000818003368747470733a2f2f6170702e6d6f6c6c79676174657761792e636f6d2f6170692f6d657461646174612f000000000000000000000000d3b2fdb6443f45c546eb12151dfba79a75a813a2
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610171575f3560e01c806370a08231116100dc578063b88d4fde11610095578063dd62ed3e1161006f578063dd62ed3e14610449578063e0df5b6f14610479578063e985e9c514610495578063f2fde38b146104c557610171565b8063b88d4fde146103df578063c87b56dd146103fb578063d547cfb71461042b57610171565b806370a08231146102f75780638da5cb5b1461032757806395d89b41146103455780639b19251a14610363578063a22cb46514610393578063a9059cbb146103af57610171565b8063313ce5671161012e578063313ce5671461023757806342842e0e146102555780634f02c42014610271578063504334c21461028f57806353d6fd59146102ab5780636352211e146102c757610171565b806306fdde0314610175578063081812fc14610193578063095ea7b3146101c357806318160ddd146101f357806323b872dd146102115780632b9689581461022d575b5f80fd5b61017d6104e1565b60405161018a9190612672565b60405180910390f35b6101ad60048036038101906101a891906126d6565b61056d565b6040516101ba9190612740565b60405180910390f35b6101dd60048036038101906101d89190612783565b61059d565b6040516101ea91906127db565b60405180910390f35b6101fb610884565b6040516102089190612803565b60405180910390f35b61022b6004803603810190610226919061281c565b6108a8565b005b61023561109f565b005b61023f6111be565b60405161024c9190612887565b60405180910390f35b61026f600480360381019061026a919061281c565b6111e2565b005b610279611311565b6040516102869190612803565b60405180910390f35b6102a960048036038101906102a491906129cc565b611317565b005b6102c560048036038101906102c09190612a6c565b6113a9565b005b6102e160048036038101906102dc91906126d6565b611485565b6040516102ee9190612740565b60405180910390f35b610311600480360381019061030c9190612aaa565b611523565b60405161031e9190612803565b60405180910390f35b61032f611538565b60405161033c9190612740565b60405180910390f35b61034d61155b565b60405161035a9190612672565b60405180910390f35b61037d60048036038101906103789190612aaa565b6115e7565b60405161038a91906127db565b60405180910390f35b6103ad60048036038101906103a89190612a6c565b611604565b005b6103c960048036038101906103c49190612783565b6116fc565b6040516103d691906127db565b60405180910390f35b6103f960048036038101906103f49190612b32565b611710565b005b610415600480360381019061041091906126d6565b611845565b6040516104229190612672565b60405180910390f35b610433611879565b6040516104409190612672565b60405180910390f35b610463600480360381019061045e9190612bb6565b611905565b6040516104709190612803565b60405180910390f35b610493600480360381019061048e9190612bf4565b611925565b005b6104af60048036038101906104aa9190612bb6565b6119bc565b6040516104bc91906127db565b60405180910390f35b6104df60048036038101906104da9190612aaa565b6119e6565b005b600180546104ee90612c68565b80601f016020809104026020016040519081016040528092919081815260200182805461051a90612c68565b80156105655780601f1061053c57610100808354040283529160200191610565565b820191905f5260205f20905b81548152906001019060200180831161054857829003601f168201915b505050505081565b6006602052805f5260405f205f915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60035482111580156105af57505f82115b15610797575f60085f8481526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141580156106a6575060075f8273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b156106dd576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8360065f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925856040516107899190612803565b60405180910390a35061087a565b8160055f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108719190612803565b60405180910390a35b6001905092915050565b7f000000000000000000000000000000000000000000000071d75ab9b92050000081565b6003548111610f605760085f8281526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610946576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036109ab576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015610a69575060075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015610ad1575060065f8281526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15610b08576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b10611b6b565b60045f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610b5b9190612cc5565b92505081905550610b6a611b6b565b60045f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508160085f8381526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060065f8281526020019081526020015f205f6101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555f60095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20600160095f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2080549050610cc09190612cc5565b81548110610cd157610cd0612cf8565b5b905f5260205f20015490508060095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20600a5f8581526020019081526020015f205481548110610d3d57610d3c612cf8565b5b905f5260205f20018190555060095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805480610d9657610d95612d25565b5b600190038181905f5260205f20015f90559055600a5f8381526020019081526020015f2054600a5f8381526020019081526020015f208190555060095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2082908060018154018082558091505060019003905f5260205f20015f9091909190915055600160095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2080549050610e7e9190612cc5565b600a5f8481526020019081526020015f2081905550818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e031487610f45611b6b565b604051610f529190612803565b60405180910390a35061109a565b5f60055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461108c57818161100f9190612cc5565b60055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b611097848484611b9e565b50505b505050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611123576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f805f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3565b7f000000000000000000000000000000000000000000000000000000000000001281565b6111ed8383836108a8565b5f8273ffffffffffffffffffffffffffffffffffffffff163b141580156112d5575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b815260040161127393929190612d85565b6020604051808303815f875af115801561128f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112b39190612e22565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b1561130c576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60035481565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461139b576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113a58282611ee2565b5050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461142d576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b5f60085f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361151e576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6004602052805f5260405f205f915090505481565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6002805461156890612c68565b80601f016020809104026020016040519081016040528092919081815260200182805461159490612c68565b80156115df5780601f106115b6576101008083540402835291602001916115df565b820191905f5260205f20905b8154815290600101906020018083116115c257829003601f168201915b505050505081565b600b602052805f5260405f205f915054906101000a900460ff1681565b8060075f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116f091906127db565b60405180910390a35050565b5f611708338484611b9e565b905092915050565b61171b8585856108a8565b5f8473ffffffffffffffffffffffffffffffffffffffff163b14158015611807575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b81526004016117a5959493929190612e79565b6020604051808303815f875af11580156117c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117e59190612e22565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b1561183e576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b6060600c61185283611f06565b604051602001611863929190612f91565b6040516020818303038152906040529050919050565b600c805461188690612c68565b80601f01602080910402602001604051908101604052809291908181526020018280546118b290612c68565b80156118fd5780601f106118d4576101008083540402835291602001916118fd565b820191905f5260205f20905b8154815290600101906020018083116118e057829003601f168201915b505050505081565b6005602052815f5260405f20602052805f5260405f205f91509150505481565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119a9576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c90816119b8919061313f565b5050565b6007602052815f5260405f20602052805f5260405f205f915091509054906101000a900460ff1681565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a6a576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611acf576040517f49e27cff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b5f7f0000000000000000000000000000000000000000000000000000000000000012600a611b99919061333d565b905090565b5f80611ba8611b6b565b90505f60045f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490505f60045f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508460045f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254611c789190612cc5565b925050819055508460045f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550600b5f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611d9c575f8360045f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611d6191906133b4565b8484611d6d91906133b4565b611d779190612cc5565b90505f5b81811015611d9957611d8c89611fd0565b8080600101915050611d7b565b50505b600b5f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611e6f575f8382611df791906133b4565b8460045f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611e4091906133b4565b611e4a9190612cc5565b90505f5b81811015611e6c57611e5f88612215565b8080600101915050611e4e565b50505b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e03148787604051611ecc9190612803565b60405180910390a3600193505050509392505050565b8160019081611ef1919061313f565b508060029081611f01919061313f565b505050565b60605f6001611f1484612497565b0190505f8167ffffffffffffffff811115611f3257611f316128a8565b5b6040519080825280601f01601f191660200182016040528015611f645781602001600182028036833780820191505090505b5090505f82602001820190505b600115611fc5578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611fba57611fb9613387565b5b0494505f8503611f71575b819350505050919050565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612035576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f60095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20600160095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805490506120c09190612cc5565b815481106120d1576120d0612cf8565b5b905f5260205f200154905060095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2080548061212957612128612d25565b5b600190038181905f5260205f20015f90559055600a5f8281526020019081526020015f205f905560085f8281526020019081526020015f205f6101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560065f8281526020019081526020015f205f6101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055805f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361227a576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60035f81548092919060010191905055505f60035490505f73ffffffffffffffffffffffffffffffffffffffff1660085f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612326576040517f23369fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8160085f8381526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f9091909190915055600160095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805490506124239190612cc5565b600a5f8381526020019081526020015f2081905550808273ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106124f3577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816124e9576124e8613387565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612530576d04ee2d6d415b85acef8100000000838161252657612525613387565b5b0492506020810190505b662386f26fc10000831061255f57662386f26fc10000838161255557612554613387565b5b0492506010810190505b6305f5e1008310612588576305f5e100838161257e5761257d613387565b5b0492506008810190505b61271083106125ad5761271083816125a3576125a2613387565b5b0492506004810190505b606483106125d057606483816125c6576125c5613387565b5b0492506002810190505b600a83106125df576001810190505b80915050919050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561261f578082015181840152602081019050612604565b5f8484015250505050565b5f601f19601f8301169050919050565b5f612644826125e8565b61264e81856125f2565b935061265e818560208601612602565b6126678161262a565b840191505092915050565b5f6020820190508181035f83015261268a818461263a565b905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f819050919050565b6126b5816126a3565b81146126bf575f80fd5b50565b5f813590506126d0816126ac565b92915050565b5f602082840312156126eb576126ea61269b565b5b5f6126f8848285016126c2565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61272a82612701565b9050919050565b61273a81612720565b82525050565b5f6020820190506127535f830184612731565b92915050565b61276281612720565b811461276c575f80fd5b50565b5f8135905061277d81612759565b92915050565b5f80604083850312156127995761279861269b565b5b5f6127a68582860161276f565b92505060206127b7858286016126c2565b9150509250929050565b5f8115159050919050565b6127d5816127c1565b82525050565b5f6020820190506127ee5f8301846127cc565b92915050565b6127fd816126a3565b82525050565b5f6020820190506128165f8301846127f4565b92915050565b5f805f606084860312156128335761283261269b565b5b5f6128408682870161276f565b93505060206128518682870161276f565b9250506040612862868287016126c2565b9150509250925092565b5f60ff82169050919050565b6128818161286c565b82525050565b5f60208201905061289a5f830184612878565b92915050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6128de8261262a565b810181811067ffffffffffffffff821117156128fd576128fc6128a8565b5b80604052505050565b5f61290f612692565b905061291b82826128d5565b919050565b5f67ffffffffffffffff82111561293a576129396128a8565b5b6129438261262a565b9050602081019050919050565b828183375f83830152505050565b5f61297061296b84612920565b612906565b90508281526020810184848401111561298c5761298b6128a4565b5b612997848285612950565b509392505050565b5f82601f8301126129b3576129b26128a0565b5b81356129c384826020860161295e565b91505092915050565b5f80604083850312156129e2576129e161269b565b5b5f83013567ffffffffffffffff8111156129ff576129fe61269f565b5b612a0b8582860161299f565b925050602083013567ffffffffffffffff811115612a2c57612a2b61269f565b5b612a388582860161299f565b9150509250929050565b612a4b816127c1565b8114612a55575f80fd5b50565b5f81359050612a6681612a42565b92915050565b5f8060408385031215612a8257612a8161269b565b5b5f612a8f8582860161276f565b9250506020612aa085828601612a58565b9150509250929050565b5f60208284031215612abf57612abe61269b565b5b5f612acc8482850161276f565b91505092915050565b5f80fd5b5f80fd5b5f8083601f840112612af257612af16128a0565b5b8235905067ffffffffffffffff811115612b0f57612b0e612ad5565b5b602083019150836001820283011115612b2b57612b2a612ad9565b5b9250929050565b5f805f805f60808688031215612b4b57612b4a61269b565b5b5f612b588882890161276f565b9550506020612b698882890161276f565b9450506040612b7a888289016126c2565b935050606086013567ffffffffffffffff811115612b9b57612b9a61269f565b5b612ba788828901612add565b92509250509295509295909350565b5f8060408385031215612bcc57612bcb61269b565b5b5f612bd98582860161276f565b9250506020612bea8582860161276f565b9150509250929050565b5f60208284031215612c0957612c0861269b565b5b5f82013567ffffffffffffffff811115612c2657612c2561269f565b5b612c328482850161299f565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612c7f57607f821691505b602082108103612c9257612c91612c3b565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612ccf826126a3565b9150612cda836126a3565b9250828203905081811115612cf257612cf1612c98565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd5b5f82825260208201905092915050565b50565b5f612d705f83612d52565b9150612d7b82612d62565b5f82019050919050565b5f608082019050612d985f830186612731565b612da56020830185612731565b612db260408301846127f4565b8181036060830152612dc381612d65565b9050949350505050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612e0181612dcd565b8114612e0b575f80fd5b50565b5f81519050612e1c81612df8565b92915050565b5f60208284031215612e3757612e3661269b565b5b5f612e4484828501612e0e565b91505092915050565b5f612e588385612d52565b9350612e65838584612950565b612e6e8361262a565b840190509392505050565b5f608082019050612e8c5f830188612731565b612e996020830187612731565b612ea660408301866127f4565b8181036060830152612eb9818486612e4d565b90509695505050505050565b5f81905092915050565b5f819050815f5260205f209050919050565b5f8154612eed81612c68565b612ef78186612ec5565b9450600182165f8114612f115760018114612f2657612f58565b60ff1983168652811515820286019350612f58565b612f2f85612ecf565b5f5b83811015612f5057815481890152600182019150602081019050612f31565b838801955050505b50505092915050565b5f612f6b826125e8565b612f758185612ec5565b9350612f85818560208601612602565b80840191505092915050565b5f612f9c8285612ee1565b9150612fa88284612f61565b91508190509392505050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302612ffe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612fc3565b6130088683612fc3565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61304361303e613039846126a3565b613020565b6126a3565b9050919050565b5f819050919050565b61305c83613029565b6130706130688261304a565b848454612fcf565b825550505050565b5f90565b613084613078565b61308f818484613053565b505050565b5b818110156130b2576130a75f8261307c565b600181019050613095565b5050565b601f8211156130f7576130c881612ecf565b6130d184612fb4565b810160208510156130e0578190505b6130f46130ec85612fb4565b830182613094565b50505b505050565b5f82821c905092915050565b5f6131175f19846008026130fc565b1980831691505092915050565b5f61312f8383613108565b9150826002028217905092915050565b613148826125e8565b67ffffffffffffffff811115613161576131606128a8565b5b61316b8254612c68565b6131768282856130b6565b5f60209050601f8311600181146131a7575f8415613195578287015190505b61319f8582613124565b865550613206565b601f1984166131b586612ecf565b5f5b828110156131dc578489015182556001820191506020850194506020810190506131b7565b868310156131f957848901516131f5601f891682613108565b8355505b6001600288020188555050505b505050505050565b5f8160011c9050919050565b5f808291508390505b60018511156132635780860481111561323f5761323e612c98565b5b600185161561324e5780820291505b808102905061325c8561320e565b9450613223565b94509492505050565b5f8261327b5760019050613336565b81613288575f9050613336565b816001811461329e57600281146132a8576132d7565b6001915050613336565b60ff8411156132ba576132b9612c98565b5b8360020a9150848211156132d1576132d0612c98565b5b50613336565b5060208310610133831016604e8410600b841016171561330c5782820a90508381111561330757613306612c98565b5b613336565b613319848484600161321a565b925090508184048111156133305761332f612c98565b5b81810290505b9392505050565b5f613347826126a3565b91506133528361286c565b925061337f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461326c565b905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6133be826126a3565b91506133c9836126a3565b9250826133d9576133d8613387565b5b82820490509291505056fea2646970667358221220559afec351a4f60890dc79507f4db91806a1d56457f4fdb11af3c67b7cfbbedc64736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d3b2fdb6443f45c546eb12151dfba79a75a813a2
-----Decoded View---------------
Arg [0] : _owner (address): 0xd3B2fdB6443f45C546EB12151dFBa79A75a813a2
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000d3b2fdb6443f45c546eb12151dfba79a75a813a2
Loading...
Loading
Loading...
Loading
[ 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.