Feature Tip: Add private address tag to any address under My Name Tag !
Overview
TokenID
8658
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:
ChaosGems
Compiler Version
v0.8.23+commit.f704f362
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris 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 ChaosGems is ERC404 { string public dataURI = "ipfs://QmdsxU2WSpqYARBg4RrRgUMvjMwqKxPkR41e6jmsgqUFfG/"; constructor(address _owner) ERC404("Chaos Gems", "GEMS", 18, 8888, _owner) { balanceOf[_owner] = 8888 * (10 ** 18); } function setDataURI(string memory _dataURI) public onlyOwner { dataURI = _dataURI; } function setNameSymbol( string memory _name, string memory _symbol ) public onlyOwner { _setNameSymbol(_name, _symbol); } function tokenURI(uint256 id) public view override returns (string memory) { uint256 seed = uint256(keccak256(abi.encodePacked(id))) % 25501; string memory image; string memory color; if (seed <= 1275) { image = "gold.png"; color = "Gold"; } else if (seed <= 3315) { image = "purple.png"; color = "Purple"; } else if (seed <= 5865) { image = "red.png"; color = "Red"; } else if (seed <= 8925) { image = "cyan.png"; color = "Cyan"; } else if (seed <= 12750) { image = "blue.png"; color = "Blue"; } else if (seed <= 17850) { image = "green.png"; color = "Green"; } else if (seed <= 25500) { image = "white.png"; color = "White"; } string memory jsonPreImage = string.concat( string.concat( string.concat('{"name": "CHAOS GEM #', Strings.toString(id)), '","description":"7 unique Chaos Gems have been unleashed with a novel approach to ERC404s. 8888 Chaos Gems with varying rarity. Collect all 7 Gems to unlock the true power of this innovative ERC404.","external_url":"https://chaosgems.xyz","image":"' ), string.concat(dataURI, image) ); string memory jsonPostImage = string.concat( '","attributes":[{"trait_type":"Color","value":"', color ); string memory jsonPostTraits = '"}]}'; return string.concat( "data:application/json;utf8,", string.concat( string.concat(jsonPreImage, jsonPostImage), jsonPostTraits ) ); } }
// 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/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; // @ERC404+ Array of burnt IDs uint256[] public _burnedTokenIds; /// @dev Current mint counter, monotonically increasing to ensure accurate ownership uint256 public minted; /// @dev Current mint counter, monotonically increasing to ensure accurate ownership uint256 public max_mint; // 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; max_mint = _totalNativeSupply; symbol = _symbol; decimals = _decimals; totalSupply = _totalNativeSupply * (10 ** decimals); whitelist[msg.sender] = true; } /// @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 (minted > max_mint && _burnedTokenIds.length > 0) { uint256 lastIndex = _burnedTokenIds.length - 1; id = _burnedTokenIds[lastIndex]; _burnedTokenIds.pop(); } 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]; // push ID inside of burnt array _burnedTokenIds.push(id); emit Transfer(from, address(0), id); } function _setNameSymbol( string memory _name, string memory _symbol ) internal { name = _name; symbol = _symbol; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "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"}],"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":"uint256","name":"","type":"uint256"}],"name":"_burnedTokenIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"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":"dataURI","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":"max_mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_dataURI","type":"string"}],"name":"setDataURI","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":"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
610120604052603660c0818152906200265960e039600e9062000023908262000244565b503480156200003157600080fd5b506040516200268f3803806200268f833981016040819052620000549162000310565b604080518082018252600a8152694368616f732047656d7360b01b6020808301919091528251808401909352600483526347454d5360e01b908301529060126122b884806001600160a01b038116620000c0576040516349e27cff60e01b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b03831690811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600162000117868262000244565b50600582905560026200012b858262000244565b5060ff831660808190526200014290600a62000457565b6200014e908362000468565b60a0525050336000908152600d60209081526040808320805460ff191660011790556001600160a01b0396909616825260069052939093206901e1d1c72d5b97e0000090555062000482915050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001c857607f821691505b602082108103620001e957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023f576000816000526020600020601f850160051c810160208610156200021a5750805b601f850160051c820191505b818110156200023b5782815560010162000226565b5050505b505050565b81516001600160401b038111156200026057620002606200019d565b6200027881620002718454620001b3565b84620001ef565b602080601f831160018114620002b05760008415620002975750858301515b600019600386901b1c1916600185901b1785556200023b565b600085815260208120601f198616915b82811015620002e157888601518255948401946001909101908401620002c0565b5085821015620003005787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200032357600080fd5b81516001600160a01b03811681146200033b57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620003995781600019048211156200037d576200037d62000342565b808516156200038b57918102915b93841c93908002906200035d565b509250929050565b600082620003b25750600162000451565b81620003c15750600062000451565b8160018114620003da5760028114620003e55762000405565b600191505062000451565b60ff841115620003f957620003f962000342565b50506001821b62000451565b5060208310610133831016604e8410600b84101617156200042a575081810a62000451565b62000436838362000358565b80600019048211156200044d576200044d62000342565b0290505b92915050565b60006200033b60ff841683620003a1565b808202811582820484141762000451576200045162000342565b60805160a0516121aa620004af600039600061023501526000818161029a01526111c201526121aa6000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c80636352211e116100f9578063b88d4fde11610097578063dd62ed3e11610071578063dd62ed3e146103e9578063e985e9c514610414578063f28ca1dd14610442578063f2fde38b1461044a57600080fd5b8063b88d4fde146103ba578063c87b56dd146103cd578063d7c64e7f146103e057600080fd5b806395d89b41116100d357806395d89b41146103695780639b19251a14610371578063a22cb46514610394578063a9059cbb146103a757600080fd5b80636352211e1461032357806370a08231146103365780638da5cb5b1461035657600080fd5b80632b968958116101665780634f02c420116101405780634f02c420146102e1578063504334c2146102ea57806353d6fd59146102fd57806356bb8cb61461031057600080fd5b80632b9689581461028d578063313ce5671461029557806342842e0e146102ce57600080fd5b806306fdde03146101ae578063081812fc146101cc578063095ea7b31461020d57806318160ddd1461023057806318d217c31461026557806323b872dd1461027a575b600080fd5b6101b661045d565b6040516101c3919061181c565b60405180910390f35b6101f56101da36600461184f565b6008602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101c3565b61022061021b36600461187f565b6104eb565b60405190151581526020016101c3565b6102577f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016101c3565b61027861027336600461194c565b61063c565b005b610278610288366004611989565b610676565b6102786109ff565b6102bc7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101c3565b6102786102dc366004611989565b610a65565b61025760045481565b6102786102f83660046119c5565b610b3a565b61027861030b366004611a29565b610b6e565b61025761031e36600461184f565b610bc3565b6101f561033136600461184f565b610be4565b610257610344366004611a65565b60066020526000908152604090205481565b6000546101f5906001600160a01b031681565b6101b6610c1f565b61022061037f366004611a65565b600d6020526000908152604090205460ff1681565b6102786103a2366004611a29565b610c2c565b6102206103b536600461187f565b610c98565b6102786103c8366004611a80565b610cac565b6101b66103db36600461184f565b610d6f565b61025760055481565b6102576103f7366004611b1b565b600760209081526000928352604080842090915290825290205481565b610220610422366004611b1b565b600960209081526000928352604080842090915290825290205460ff1681565b6101b6611112565b610278610458366004611a65565b61111f565b6001805461046a90611b4e565b80601f016020809104026020016040519081016040528092919081815260200182805461049690611b4e565b80156104e35780601f106104b8576101008083540402835291602001916104e3565b820191906000526020600020905b8154815290600101906020018083116104c657829003601f168201915b505050505081565b600060045482111580156104ff5750600082115b156105d6576000828152600a60205260409020546001600160a01b031633811480159061055057506001600160a01b038116600090815260096020908152604080832033845290915290205460ff16155b1561056d576040516282b42960e81b815260040160405180910390fd5b60008381526008602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350610632565b3360008181526007602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b6000546001600160a01b03163314610666576040516282b42960e81b815260040160405180910390fd5b600e6106728282611bd8565b5050565b6004548111610990576000818152600a60205260409020546001600160a01b038481169116146106b957604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0382166106e057604051634e46966960e11b815260040160405180910390fd5b336001600160a01b0384161480159061071d57506001600160a01b038316600090815260096020908152604080832033845290915290205460ff16155b801561074057506000818152600860205260409020546001600160a01b03163314155b1561075d576040516282b42960e81b815260040160405180910390fd5b6107656111bb565b6001600160a01b0384166000908152600660205260408120805490919061078d908490611cae565b9091555061079b90506111bb565b6001600160a01b0380841660008181526006602090815260408083208054909601909555858252600a815284822080546001600160a01b031990811690941790556008815284822080549093169092559186168252600b9052908120805461080590600190611cae565b8154811061081557610815611cc1565b60009182526020808320909101546001600160a01b0387168352600b82526040808420868552600c9093529092205481549293508392811061085957610859611cc1565b60009182526020808320909101929092556001600160a01b0386168152600b9091526040902080548061088e5761088e611cd7565b600082815260208082208301600019908101839055909201909255838252600c8152604080832054848452818420556001600160a01b038616808452600b835290832080546001818101835582865293852001869055925290546108f29190611cae565b6000838152600c602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e0314876109796111bb565b60405190815260200160405180910390a350505050565b6001600160a01b038316600090815260076020908152604080832033845290915290205460001981146109ec576109c78282611cae565b6001600160a01b03851660009081526007602090815260408083203384529091529020555b6109f78484846111ed565b50505b505050565b6000546001600160a01b03163314610a29576040516282b42960e81b815260040160405180910390fd5b600080546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b610a70838383610676565b6001600160a01b0382163b15801590610b1c5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610aeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0f9190611ced565b6001600160e01b03191614155b156109fa57604051633da6393160e01b815260040160405180910390fd5b6000546001600160a01b03163314610b64576040516282b42960e81b815260040160405180910390fd5b610672828261139b565b6000546001600160a01b03163314610b98576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b60038181548110610bd357600080fd5b600091825260209091200154905081565b6000818152600a60205260409020546001600160a01b031680610c1a5760405163c5723b5160e01b815260040160405180910390fd5b919050565b6002805461046a90611b4e565b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610ca53384846111ed565b9392505050565b610cb7858585610676565b6001600160a01b0384163b15801590610d515750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610d019033908a90899089908990600401611d17565b6020604051808303816000875af1158015610d20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d449190611ced565b6001600160e01b03191614155b156109f757604051633da6393160e01b815260040160405180910390fd5b6060600061639d83604051602001610d8991815260200190565b6040516020818303038152906040528051906020012060001c610dac9190611d81565b90506060806104fb8311610e015760405180604001604052806008815260200167676f6c642e706e6760c01b81525091506040518060400160405280600481526020016311dbdb1960e21b8152509050610fe3565b610cf38311610e55576040518060400160405280600a815260200169707572706c652e706e6760b01b815250915060405180604001604052806006815260200165507572706c6560d01b8152509050610fe3565b6116e98311610ea357604051806040016040528060078152602001667265642e706e6760c81b81525091506040518060400160405280600381526020016214995960ea1b8152509050610fe3565b6122dd8311610ef357604051806040016040528060088152602001676379616e2e706e6760c01b81525091506040518060400160405280600481526020016321bcb0b760e11b8152509050610fe3565b6131ce8311610f435760405180604001604052806008815260200167626c75652e706e6760c01b815250915060405180604001604052806004815260200163426c756560e01b8152509050610fe3565b6145ba8311610f955760405180604001604052806009815260200168677265656e2e706e6760b81b81525091506040518060400160405280600581526020016423b932b2b760d91b8152509050610fe3565b61639c8311610fe3576040518060400160405280600981526020016877686974652e706e6760b81b815250915060405180604001604052806005815260200164576869746560d81b81525090505b6000610fee866113b4565b604051602001610ffe9190611d95565b60408051601f198184030181529082905261101b91602001611dd3565b604051602081830303815290604052600e8460405160200161103e929190611f1e565b60408051601f198184030181529082905261105c9291602001611fa5565b60405160208183030381529060405290506000826040516020016110809190611fcb565b60408051601f1981840301815282820182526004835263227d5d7d60e01b60208481019190915291519093506110ba918591859101611fa5565b60408051601f19818403018152908290526110d9918390602001611fa5565b60408051601f19818403018152908290526110f691602001612028565b6040516020818303038152906040529650505050505050919050565b600e805461046a90611b4e565b6000546001600160a01b03163314611149576040516282b42960e81b815260040160405180910390fd5b6001600160a01b038116611170576040516349e27cff60e01b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b60006111e87f0000000000000000000000000000000000000000000000000000000000000000600a612151565b905090565b6000806111f86111bb565b6001600160a01b038087166000818152600660205260408082208054948a16835290822054928252939450919290918691906112348386611cae565b90915550506001600160a01b03808716600090815260066020908152604080832080548a019055928a168252600d9052205460ff166112c6576001600160a01b038716600090815260066020526040812054611291908590612160565b61129b8585612160565b6112a59190611cae565b905060005b818110156112c3576112bb89611447565b6001016112aa565b50505b6001600160a01b0386166000908152600d602052604090205460ff166113415760006112f28483612160565b6001600160a01b038816600090815260066020526040902054611316908690612160565b6113209190611cae565b905060005b8181101561133e57611336886115a1565b600101611325565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e0314878760405161138691815260200190565b60405180910390a35060019695505050505050565b60016113a78382611bd8565b5060026109fa8282611bd8565b606060006113c183611720565b600101905060008167ffffffffffffffff8111156113e1576113e16118a9565b6040519080825280601f01601f19166020018201604052801561140b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461141557509392505050565b6001600160a01b03811661146e57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0381166000908152600b60205260408120805461149490600190611cae565b815481106114a4576114a4611cc1565b90600052602060002001549050600b6000836001600160a01b03166001600160a01b031681526020019081526020016000208054806114e5576114e5611cd7565b600082815260208082208301600019908101839055909201909255828252600c81526040808320839055600a825280832080546001600160a01b031990811690915560089092528083208054909216909155600380546001810182559083527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b01839055518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0381166115c857604051634e46966960e11b815260040160405180910390fd5b6004805460010190819055600554811180156115e5575060035415155b15611647576003546000906115fc90600190611cae565b90506003818154811061161157611611611cc1565b90600052602060002001549150600380548061162f5761162f611cd7565b60019003818190600052602060002001600090559055505b6000818152600a60205260409020546001600160a01b03161561167d5760405163119b4fd360e11b815260040160405180910390fd5b6000818152600a6020908152604080832080546001600160a01b0319166001600160a01b038716908117909155808452600b835290832080546001818101835582865293852001859055925290546116d59190611cae565b6000828152600c602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061175f5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061178b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106117a957662386f26fc10000830492506010015b6305f5e10083106117c1576305f5e100830492506008015b61271083106117d557612710830492506004015b606483106117e7576064830492506002015b600a83106106365760010192915050565b60005b838110156118135781810151838201526020016117fb565b50506000910152565b602081526000825180602084015261183b8160408501602087016117f8565b601f01601f19169190910160400192915050565b60006020828403121561186157600080fd5b5035919050565b80356001600160a01b0381168114610c1a57600080fd5b6000806040838503121561189257600080fd5b61189b83611868565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126118d057600080fd5b813567ffffffffffffffff808211156118eb576118eb6118a9565b604051601f8301601f19908116603f01168101908282118183101715611913576119136118a9565b8160405283815286602085880101111561192c57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561195e57600080fd5b813567ffffffffffffffff81111561197557600080fd5b611981848285016118bf565b949350505050565b60008060006060848603121561199e57600080fd5b6119a784611868565b92506119b560208501611868565b9150604084013590509250925092565b600080604083850312156119d857600080fd5b823567ffffffffffffffff808211156119f057600080fd5b6119fc868387016118bf565b93506020850135915080821115611a1257600080fd5b50611a1f858286016118bf565b9150509250929050565b60008060408385031215611a3c57600080fd5b611a4583611868565b915060208301358015158114611a5a57600080fd5b809150509250929050565b600060208284031215611a7757600080fd5b610ca582611868565b600080600080600060808688031215611a9857600080fd5b611aa186611868565b9450611aaf60208701611868565b935060408601359250606086013567ffffffffffffffff80821115611ad357600080fd5b818801915088601f830112611ae757600080fd5b813581811115611af657600080fd5b896020828501011115611b0857600080fd5b9699959850939650602001949392505050565b60008060408385031215611b2e57600080fd5b611b3783611868565b9150611b4560208401611868565b90509250929050565b600181811c90821680611b6257607f821691505b602082108103611b8257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156109fa576000816000526020600020601f850160051c81016020861015611bb15750805b601f850160051c820191505b81811015611bd057828155600101611bbd565b505050505050565b815167ffffffffffffffff811115611bf257611bf26118a9565b611c0681611c008454611b4e565b84611b88565b602080601f831160018114611c3b5760008415611c235750858301515b600019600386901b1c1916600185901b178555611bd0565b600085815260208120601f198616915b82811015611c6a57888601518255948401946001909101908401611c4b565b5085821015611c885787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8181038181111561063657610636611c98565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b600060208284031215611cff57600080fd5b81516001600160e01b031981168114610ca557600080fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b634e487b7160e01b600052601260045260246000fd5b600082611d9057611d90611d6b565b500690565b747b226e616d65223a20224348414f532047454d202360581b81528151600090611dc68160158501602087016117f8565b9190910160150192915050565b60008251611de58184602087016117f8565b7f222c226465736372697074696f6e223a223720756e69717565204368616f73209201918252507f47656d732068617665206265656e20756e6c656173686564207769746820612060208201527f6e6f76656c20617070726f61636820746f20455243343034732e20383838382060408201527f4368616f732047656d7320776974682076617279696e67207261726974792e2060608201527f436f6c6c65637420616c6c20372047656d7320746f20756e6c6f636b2074686560808201527f207472756520706f776572206f66207468697320696e6e6f766174697665204560a08201527f52433430342e222c2265787465726e616c5f75726c223a2268747470733a2f2f60c08201527f6368616f7367656d732e78797a222c22696d616765223a22000000000000000060e082015260f801919050565b6000808454611f2c81611b4e565b60018281168015611f445760018114611f5957611f88565b60ff1984168752821515830287019450611f88565b8860005260208060002060005b85811015611f7f5781548a820152908401908201611f66565b50505082870194505b505050508351611f9c8183602088016117f8565b01949350505050565b60008351611fb78184602088016117f8565b835190830190611f9c8183602088016117f8565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a224381526e37b637b91116113b30b63ab2911d1160891b60208201526000825161201b81602f8501602087016117f8565b91909101602f0192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081526000825161206081601b8501602087016117f8565b91909101601b0192915050565b600181815b808511156120a857816000190482111561208e5761208e611c98565b8085161561209b57918102915b93841c9390800290612072565b509250929050565b6000826120bf57506001610636565b816120cc57506000610636565b81600181146120e257600281146120ec57612108565b6001915050610636565b60ff8411156120fd576120fd611c98565b50506001821b610636565b5060208310610133831016604e8410600b841016171561212b575081810a610636565b612135838361206d565b806000190482111561214957612149611c98565b029392505050565b6000610ca560ff8416836120b0565b60008261216f5761216f611d6b565b50049056fea26469706673582212204c2c1c21e95e0019ad2dd7550a63859a4b48fa30f0edebb8a5ad2f06d1f4828d64736f6c63430008170033697066733a2f2f516d64737855325753707159415242673452725267554d766a4d77714b78506b52343165366a6d736771554666472f000000000000000000000000ce5a41c2a88281bf3fb59064a4a753b524d10953
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a95760003560e01c80636352211e116100f9578063b88d4fde11610097578063dd62ed3e11610071578063dd62ed3e146103e9578063e985e9c514610414578063f28ca1dd14610442578063f2fde38b1461044a57600080fd5b8063b88d4fde146103ba578063c87b56dd146103cd578063d7c64e7f146103e057600080fd5b806395d89b41116100d357806395d89b41146103695780639b19251a14610371578063a22cb46514610394578063a9059cbb146103a757600080fd5b80636352211e1461032357806370a08231146103365780638da5cb5b1461035657600080fd5b80632b968958116101665780634f02c420116101405780634f02c420146102e1578063504334c2146102ea57806353d6fd59146102fd57806356bb8cb61461031057600080fd5b80632b9689581461028d578063313ce5671461029557806342842e0e146102ce57600080fd5b806306fdde03146101ae578063081812fc146101cc578063095ea7b31461020d57806318160ddd1461023057806318d217c31461026557806323b872dd1461027a575b600080fd5b6101b661045d565b6040516101c3919061181c565b60405180910390f35b6101f56101da36600461184f565b6008602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101c3565b61022061021b36600461187f565b6104eb565b60405190151581526020016101c3565b6102577f0000000000000000000000000000000000000000000001e1d1c72d5b97e0000081565b6040519081526020016101c3565b61027861027336600461194c565b61063c565b005b610278610288366004611989565b610676565b6102786109ff565b6102bc7f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff90911681526020016101c3565b6102786102dc366004611989565b610a65565b61025760045481565b6102786102f83660046119c5565b610b3a565b61027861030b366004611a29565b610b6e565b61025761031e36600461184f565b610bc3565b6101f561033136600461184f565b610be4565b610257610344366004611a65565b60066020526000908152604090205481565b6000546101f5906001600160a01b031681565b6101b6610c1f565b61022061037f366004611a65565b600d6020526000908152604090205460ff1681565b6102786103a2366004611a29565b610c2c565b6102206103b536600461187f565b610c98565b6102786103c8366004611a80565b610cac565b6101b66103db36600461184f565b610d6f565b61025760055481565b6102576103f7366004611b1b565b600760209081526000928352604080842090915290825290205481565b610220610422366004611b1b565b600960209081526000928352604080842090915290825290205460ff1681565b6101b6611112565b610278610458366004611a65565b61111f565b6001805461046a90611b4e565b80601f016020809104026020016040519081016040528092919081815260200182805461049690611b4e565b80156104e35780601f106104b8576101008083540402835291602001916104e3565b820191906000526020600020905b8154815290600101906020018083116104c657829003601f168201915b505050505081565b600060045482111580156104ff5750600082115b156105d6576000828152600a60205260409020546001600160a01b031633811480159061055057506001600160a01b038116600090815260096020908152604080832033845290915290205460ff16155b1561056d576040516282b42960e81b815260040160405180910390fd5b60008381526008602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350610632565b3360008181526007602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b6000546001600160a01b03163314610666576040516282b42960e81b815260040160405180910390fd5b600e6106728282611bd8565b5050565b6004548111610990576000818152600a60205260409020546001600160a01b038481169116146106b957604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0382166106e057604051634e46966960e11b815260040160405180910390fd5b336001600160a01b0384161480159061071d57506001600160a01b038316600090815260096020908152604080832033845290915290205460ff16155b801561074057506000818152600860205260409020546001600160a01b03163314155b1561075d576040516282b42960e81b815260040160405180910390fd5b6107656111bb565b6001600160a01b0384166000908152600660205260408120805490919061078d908490611cae565b9091555061079b90506111bb565b6001600160a01b0380841660008181526006602090815260408083208054909601909555858252600a815284822080546001600160a01b031990811690941790556008815284822080549093169092559186168252600b9052908120805461080590600190611cae565b8154811061081557610815611cc1565b60009182526020808320909101546001600160a01b0387168352600b82526040808420868552600c9093529092205481549293508392811061085957610859611cc1565b60009182526020808320909101929092556001600160a01b0386168152600b9091526040902080548061088e5761088e611cd7565b600082815260208082208301600019908101839055909201909255838252600c8152604080832054848452818420556001600160a01b038616808452600b835290832080546001818101835582865293852001869055925290546108f29190611cae565b6000838152600c602052604080822092909255905183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4826001600160a01b0316846001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e0314876109796111bb565b60405190815260200160405180910390a350505050565b6001600160a01b038316600090815260076020908152604080832033845290915290205460001981146109ec576109c78282611cae565b6001600160a01b03851660009081526007602090815260408083203384529091529020555b6109f78484846111ed565b50505b505050565b6000546001600160a01b03163314610a29576040516282b42960e81b815260040160405180910390fd5b600080546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b610a70838383610676565b6001600160a01b0382163b15801590610b1c5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610aeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0f9190611ced565b6001600160e01b03191614155b156109fa57604051633da6393160e01b815260040160405180910390fd5b6000546001600160a01b03163314610b64576040516282b42960e81b815260040160405180910390fd5b610672828261139b565b6000546001600160a01b03163314610b98576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b60038181548110610bd357600080fd5b600091825260209091200154905081565b6000818152600a60205260409020546001600160a01b031680610c1a5760405163c5723b5160e01b815260040160405180910390fd5b919050565b6002805461046a90611b4e565b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610ca53384846111ed565b9392505050565b610cb7858585610676565b6001600160a01b0384163b15801590610d515750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610d019033908a90899089908990600401611d17565b6020604051808303816000875af1158015610d20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d449190611ced565b6001600160e01b03191614155b156109f757604051633da6393160e01b815260040160405180910390fd5b6060600061639d83604051602001610d8991815260200190565b6040516020818303038152906040528051906020012060001c610dac9190611d81565b90506060806104fb8311610e015760405180604001604052806008815260200167676f6c642e706e6760c01b81525091506040518060400160405280600481526020016311dbdb1960e21b8152509050610fe3565b610cf38311610e55576040518060400160405280600a815260200169707572706c652e706e6760b01b815250915060405180604001604052806006815260200165507572706c6560d01b8152509050610fe3565b6116e98311610ea357604051806040016040528060078152602001667265642e706e6760c81b81525091506040518060400160405280600381526020016214995960ea1b8152509050610fe3565b6122dd8311610ef357604051806040016040528060088152602001676379616e2e706e6760c01b81525091506040518060400160405280600481526020016321bcb0b760e11b8152509050610fe3565b6131ce8311610f435760405180604001604052806008815260200167626c75652e706e6760c01b815250915060405180604001604052806004815260200163426c756560e01b8152509050610fe3565b6145ba8311610f955760405180604001604052806009815260200168677265656e2e706e6760b81b81525091506040518060400160405280600581526020016423b932b2b760d91b8152509050610fe3565b61639c8311610fe3576040518060400160405280600981526020016877686974652e706e6760b81b815250915060405180604001604052806005815260200164576869746560d81b81525090505b6000610fee866113b4565b604051602001610ffe9190611d95565b60408051601f198184030181529082905261101b91602001611dd3565b604051602081830303815290604052600e8460405160200161103e929190611f1e565b60408051601f198184030181529082905261105c9291602001611fa5565b60405160208183030381529060405290506000826040516020016110809190611fcb565b60408051601f1981840301815282820182526004835263227d5d7d60e01b60208481019190915291519093506110ba918591859101611fa5565b60408051601f19818403018152908290526110d9918390602001611fa5565b60408051601f19818403018152908290526110f691602001612028565b6040516020818303038152906040529650505050505050919050565b600e805461046a90611b4e565b6000546001600160a01b03163314611149576040516282b42960e81b815260040160405180910390fd5b6001600160a01b038116611170576040516349e27cff60e01b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b60006111e87f0000000000000000000000000000000000000000000000000000000000000012600a612151565b905090565b6000806111f86111bb565b6001600160a01b038087166000818152600660205260408082208054948a16835290822054928252939450919290918691906112348386611cae565b90915550506001600160a01b03808716600090815260066020908152604080832080548a019055928a168252600d9052205460ff166112c6576001600160a01b038716600090815260066020526040812054611291908590612160565b61129b8585612160565b6112a59190611cae565b905060005b818110156112c3576112bb89611447565b6001016112aa565b50505b6001600160a01b0386166000908152600d602052604090205460ff166113415760006112f28483612160565b6001600160a01b038816600090815260066020526040902054611316908690612160565b6113209190611cae565b905060005b8181101561133e57611336886115a1565b600101611325565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e0314878760405161138691815260200190565b60405180910390a35060019695505050505050565b60016113a78382611bd8565b5060026109fa8282611bd8565b606060006113c183611720565b600101905060008167ffffffffffffffff8111156113e1576113e16118a9565b6040519080825280601f01601f19166020018201604052801561140b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461141557509392505050565b6001600160a01b03811661146e57604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0381166000908152600b60205260408120805461149490600190611cae565b815481106114a4576114a4611cc1565b90600052602060002001549050600b6000836001600160a01b03166001600160a01b031681526020019081526020016000208054806114e5576114e5611cd7565b600082815260208082208301600019908101839055909201909255828252600c81526040808320839055600a825280832080546001600160a01b031990811690915560089092528083208054909216909155600380546001810182559083527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b01839055518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0381166115c857604051634e46966960e11b815260040160405180910390fd5b6004805460010190819055600554811180156115e5575060035415155b15611647576003546000906115fc90600190611cae565b90506003818154811061161157611611611cc1565b90600052602060002001549150600380548061162f5761162f611cd7565b60019003818190600052602060002001600090559055505b6000818152600a60205260409020546001600160a01b03161561167d5760405163119b4fd360e11b815260040160405180910390fd5b6000818152600a6020908152604080832080546001600160a01b0319166001600160a01b038716908117909155808452600b835290832080546001818101835582865293852001859055925290546116d59190611cae565b6000828152600c602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061175f5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061178b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106117a957662386f26fc10000830492506010015b6305f5e10083106117c1576305f5e100830492506008015b61271083106117d557612710830492506004015b606483106117e7576064830492506002015b600a83106106365760010192915050565b60005b838110156118135781810151838201526020016117fb565b50506000910152565b602081526000825180602084015261183b8160408501602087016117f8565b601f01601f19169190910160400192915050565b60006020828403121561186157600080fd5b5035919050565b80356001600160a01b0381168114610c1a57600080fd5b6000806040838503121561189257600080fd5b61189b83611868565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126118d057600080fd5b813567ffffffffffffffff808211156118eb576118eb6118a9565b604051601f8301601f19908116603f01168101908282118183101715611913576119136118a9565b8160405283815286602085880101111561192c57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561195e57600080fd5b813567ffffffffffffffff81111561197557600080fd5b611981848285016118bf565b949350505050565b60008060006060848603121561199e57600080fd5b6119a784611868565b92506119b560208501611868565b9150604084013590509250925092565b600080604083850312156119d857600080fd5b823567ffffffffffffffff808211156119f057600080fd5b6119fc868387016118bf565b93506020850135915080821115611a1257600080fd5b50611a1f858286016118bf565b9150509250929050565b60008060408385031215611a3c57600080fd5b611a4583611868565b915060208301358015158114611a5a57600080fd5b809150509250929050565b600060208284031215611a7757600080fd5b610ca582611868565b600080600080600060808688031215611a9857600080fd5b611aa186611868565b9450611aaf60208701611868565b935060408601359250606086013567ffffffffffffffff80821115611ad357600080fd5b818801915088601f830112611ae757600080fd5b813581811115611af657600080fd5b896020828501011115611b0857600080fd5b9699959850939650602001949392505050565b60008060408385031215611b2e57600080fd5b611b3783611868565b9150611b4560208401611868565b90509250929050565b600181811c90821680611b6257607f821691505b602082108103611b8257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156109fa576000816000526020600020601f850160051c81016020861015611bb15750805b601f850160051c820191505b81811015611bd057828155600101611bbd565b505050505050565b815167ffffffffffffffff811115611bf257611bf26118a9565b611c0681611c008454611b4e565b84611b88565b602080601f831160018114611c3b5760008415611c235750858301515b600019600386901b1c1916600185901b178555611bd0565b600085815260208120601f198616915b82811015611c6a57888601518255948401946001909101908401611c4b565b5085821015611c885787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8181038181111561063657610636611c98565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b600060208284031215611cff57600080fd5b81516001600160e01b031981168114610ca557600080fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b634e487b7160e01b600052601260045260246000fd5b600082611d9057611d90611d6b565b500690565b747b226e616d65223a20224348414f532047454d202360581b81528151600090611dc68160158501602087016117f8565b9190910160150192915050565b60008251611de58184602087016117f8565b7f222c226465736372697074696f6e223a223720756e69717565204368616f73209201918252507f47656d732068617665206265656e20756e6c656173686564207769746820612060208201527f6e6f76656c20617070726f61636820746f20455243343034732e20383838382060408201527f4368616f732047656d7320776974682076617279696e67207261726974792e2060608201527f436f6c6c65637420616c6c20372047656d7320746f20756e6c6f636b2074686560808201527f207472756520706f776572206f66207468697320696e6e6f766174697665204560a08201527f52433430342e222c2265787465726e616c5f75726c223a2268747470733a2f2f60c08201527f6368616f7367656d732e78797a222c22696d616765223a22000000000000000060e082015260f801919050565b6000808454611f2c81611b4e565b60018281168015611f445760018114611f5957611f88565b60ff1984168752821515830287019450611f88565b8860005260208060002060005b85811015611f7f5781548a820152908401908201611f66565b50505082870194505b505050508351611f9c8183602088016117f8565b01949350505050565b60008351611fb78184602088016117f8565b835190830190611f9c8183602088016117f8565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a224381526e37b637b91116113b30b63ab2911d1160891b60208201526000825161201b81602f8501602087016117f8565b91909101602f0192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081526000825161206081601b8501602087016117f8565b91909101601b0192915050565b600181815b808511156120a857816000190482111561208e5761208e611c98565b8085161561209b57918102915b93841c9390800290612072565b509250929050565b6000826120bf57506001610636565b816120cc57506000610636565b81600181146120e257600281146120ec57612108565b6001915050610636565b60ff8411156120fd576120fd611c98565b50506001821b610636565b5060208310610133831016604e8410600b841016171561212b575081810a610636565b612135838361206d565b806000190482111561214957612149611c98565b029392505050565b6000610ca560ff8416836120b0565b60008261216f5761216f611d6b565b50049056fea26469706673582212204c2c1c21e95e0019ad2dd7550a63859a4b48fa30f0edebb8a5ad2f06d1f4828d64736f6c63430008170033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ce5a41c2a88281bf3fb59064a4a753b524d10953
-----Decoded View---------------
Arg [0] : _owner (address): 0xCe5a41C2a88281BF3FB59064A4A753b524D10953
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ce5a41c2a88281bf3fb59064a4a753b524d10953
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.