Overview
TokenID
243
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:
Bitcoin404
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.24; import "./ERC404.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract Bitcoin404 is ERC404 { string public imageURI; constructor( address _owner ) ERC404("Bitcoin404", "BTC404", 18, 10000, _owner) { balanceOf[_owner] = 10000 * 10 ** 18; setWhitelist(_owner, true); } function setImageURI(string memory _imageURI) public onlyOwner { imageURI = _imageURI; } function tokenURI(uint256 id) public view override returns (string memory) { string memory jsonImage = string.concat( string.concat( string.concat('{"name": "Bitcoin 404 #', Strings.toString(id % 404)), '","description":"A collection of 404 bitcoins","external_url":"https://bitcoin404.finance","image":"' ), imageURI ); string memory jsonPostTraits = '"}'; return string.concat( "data:application/json;utf8,", string.concat(jsonImage, jsonPostTraits) ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @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 up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (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; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) 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. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 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. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); 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 (rounding == Rounding.Up && 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 down. * * 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 + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * 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 + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * 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 + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * 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 + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @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 v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; import "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(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) { 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] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); 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 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 returns (bool) { 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 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); } return true; } /// @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; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "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":"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":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"imageURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"_imageURI","type":"string"}],"name":"setImageURI","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":[{"internalType":"bool","name":"","type":"bool"}],"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
60c060405234801562000010575f80fd5b5060405162002006380380620020068339810160408190526200003391620001bd565b604080518082018252600a815269109a5d18dbda5b8d0c0d60b21b60208083019190915282518084019093526006835265109510cd0c0d60d21b9083015290601261271084806001600160a01b038116620000a1576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b03831690811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001620000f786826200028a565b5060026200010685826200028a565b5060ff831660808190526200011d90600a62000465565b62000129908362000475565b60a052505050506001600160a01b0382165f90815260046020526040902069021e19e0c9bab24000009055506200016281600162000169565b506200048f565b5f546001600160a01b0316331462000193576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091165f908152600b60205260409020805460ff1916911515919091179055565b5f60208284031215620001ce575f80fd5b81516001600160a01b0381168114620001e5575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200021557607f821691505b6020821081036200023457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200028557805f5260205f20601f840160051c81016020851015620002615750805b601f840160051c820191505b8181101562000282575f81556001016200026d565b50505b505050565b81516001600160401b03811115620002a657620002a6620001ec565b620002be81620002b7845462000200565b846200023a565b602080601f831160018114620002f4575f8415620002dc5750858301515b5f19600386901b1c1916600185901b1785556200034e565b5f85815260208120601f198616915b82811015620003245788860151825594840194600190910190840162000303565b50858210156200034257878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115620003aa57815f19048211156200038e576200038e62000356565b808516156200039c57918102915b93841c93908002906200036f565b509250929050565b5f82620003c2575060016200045f565b81620003d057505f6200045f565b8160018114620003e95760028114620003f45762000414565b60019150506200045f565b60ff84111562000408576200040862000356565b50506001821b6200045f565b5060208310610133831016604e8410600b841016171562000439575081810a6200045f565b6200044583836200036a565b805f19048211156200045b576200045b62000356565b0290505b92915050565b5f620001e560ff841683620003b2565b80820281158282048414176200045f576200045f62000356565b60805160a051611b4e620004b85f395f6101fa01525f818161024a0152610dfc0152611b4e5ff3fe608060405234801561000f575f80fd5b5060043610610153575f3560e01c80636352211e116100bf578063a9059cbb11610079578063a9059cbb1461032e578063b88d4fde14610341578063c87b56dd14610354578063dd62ed3e14610367578063e985e9c514610391578063f2fde38b146103be575f80fd5b80636352211e146102ad57806370a08231146102c05780638da5cb5b146102df57806395d89b41146102f15780639b19251a146102f9578063a22cb4651461031b575f80fd5b806323b872dd1161011057806323b872dd1461022a5780632b9689581461023d578063313ce5671461024557806342842e0e1461027e5780634f02c4201461029157806353d6fd591461029a575f80fd5b806304787ca21461015757806306fdde031461016c578063081812fc1461018a578063095ea7b3146101ca578063135d088d146101ed57806318160ddd146101f5575b5f80fd5b61016a610165366004611370565b6103d1565b005b61017461040a565b604051610181919061143d565b60405180910390f35b6101b261019836600461146f565b60066020525f90815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610181565b6101dd6101d836600461149c565b610496565b6040519015158152602001610181565b6101746105e1565b61021c7f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610181565b6101dd6102383660046114c4565b6105ee565b61016a610970565b61026c7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610181565b61016a61028c3660046114c4565b6109d4565b61021c60035481565b61016a6102a83660046114fd565b610aab565b6101b26102bb36600461146f565b610afe565b61021c6102ce366004611536565b60046020525f908152604090205481565b5f546101b2906001600160a01b031681565b610174610b38565b6101dd610307366004611536565b600b6020525f908152604090205460ff1681565b61016a6103293660046114fd565b610b45565b6101dd61033c36600461149c565b610bb0565b61016a61034f36600461154f565b610bc3565b61017461036236600461146f565b610c8b565b61021c6103753660046115e2565b600560209081525f928352604080842090915290825290205481565b6101dd61039f3660046115e2565b600760209081525f928352604080842090915290825290205460ff1681565b61016a6103cc366004611536565b610d5c565b5f546001600160a01b031633146103fa576040516282b42960e81b815260040160405180910390fd5b600c610406828261168f565b5050565b6001805461041790611613565b80601f016020809104026020016040519081016040528092919081815260200182805461044390611613565b801561048e5780601f106104655761010080835404028352916020019161048e565b820191905f5260205f20905b81548152906001019060200180831161047157829003601f168201915b505050505081565b5f60035482111580156104a857505f82115b1561057c575f828152600860205260409020546001600160a01b03163381148015906104f757506001600160a01b0381165f90815260076020908152604080832033845290915290205460ff16155b15610514576040516282b42960e81b815260040160405180910390fd5b5f8381526006602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3506105d7565b335f8181526005602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b600c805461041790611613565b5f60035482116108ff575f828152600860205260409020546001600160a01b0385811691161461063157604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b03831661065857604051634e46966960e11b815260040160405180910390fd5b336001600160a01b0385161480159061069457506001600160a01b0384165f90815260076020908152604080832033845290915290205460ff16155b80156106b657505f828152600660205260409020546001600160a01b03163314155b156106d3576040516282b42960e81b815260040160405180910390fd5b6106db610df6565b6001600160a01b0385165f9081526004602052604081208054909190610702908490611763565b909155506107109050610df6565b6001600160a01b038085165f81815260046020908152604080832080549096019095558682526008815284822080546001600160a01b03199081169094179055600681528482208054909316909255918716825260099052908120805461077990600190611763565b8154811061078957610789611776565b5f9182526020808320909101546001600160a01b0388168352600982526040808420878552600a909352909220548154929350839281106107cc576107cc611776565b5f9182526020808320909101929092556001600160a01b03871681526009909152604090208054806108005761080061178a565b5f828152602080822083015f19908101839055909201909255848252600a8152604080832054848452818420556001600160a01b0387168084526009835290832080546001818101835582865293852001879055925290546108629190611763565b5f848152600a602052604080822092909255905184916001600160a01b0380881692908916917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4836001600160a01b0316856001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e0314876108e8610df6565b60405190815260200160405180910390a350610966565b6001600160a01b0384165f9081526005602090815260408083203384529091529020545f198114610958576109348382611763565b6001600160a01b0386165f9081526005602090815260408083203384529091529020555b610963858585610e27565b50505b5060019392505050565b5f546001600160a01b03163314610999576040516282b42960e81b815260040160405180910390fd5b5f80546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b6109df8383836105ee565b506001600160a01b0382163b15801590610a885750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401525f608484015290919084169063150b7a029060a4016020604051808303815f875af1158015610a57573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7b919061179e565b6001600160e01b03191614155b15610aa657604051633da6393160e01b815260040160405180910390fd5b505050565b5f546001600160a01b03163314610ad4576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091165f908152600b60205260409020805460ff1916911515919091179055565b5f818152600860205260409020546001600160a01b031680610b335760405163c5723b5160e01b815260040160405180910390fd5b919050565b6002805461041790611613565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b5f610bbc338484610e27565b9392505050565b610bce8585856105ee565b506001600160a01b0384163b15801590610c665750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610c199033908a908990899089906004016117c5565b6020604051808303815f875af1158015610c35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c59919061179e565b6001600160e01b03191614155b15610c8457604051633da6393160e01b815260040160405180910390fd5b5050505050565b60605f610ca2610c9d6101948561182b565b610fcc565b604051602001610cb2919061183e565b60408051601f1981840301815290829052610ccf91602001611882565b60408051601f1981840301815290829052610cef91600c9060200161191b565b60408051601f1981840301815282820182526002835261227d60f01b6020848101919091529151909350610d279184918491016119a5565b60408051601f1981840301815290829052610d44916020016119d3565b60405160208183030381529060405292505050919050565b5f546001600160a01b03163314610d85576040516282b42960e81b815260040160405180910390fd5b6001600160a01b038116610dac576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b5f610e227f0000000000000000000000000000000000000000000000000000000000000000600a611af7565b905090565b5f80610e31610df6565b6001600160a01b038087165f818152600460205260408082208054948a1683529082205492825293945091929091869190610e6c8386611763565b90915550506001600160a01b038087165f90815260046020908152604080832080548a019055928a168252600b9052205460ff16610efb576001600160a01b0387165f90815260046020526040812054610ec7908590611b05565b610ed18585611b05565b610edb9190611763565b90505f5b81811015610ef857610ef08961105c565b600101610edf565b50505b6001600160a01b0386165f908152600b602052604090205460ff16610f72575f610f258483611b05565b6001600160a01b0388165f90815260046020526040902054610f48908690611b05565b610f529190611763565b90505f5b81811015610f6f57610f678861117d565b600101610f56565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e03148787604051610fb791815260200190565b60405180910390a35060019695505050505050565b60605f610fd883611285565b60010190505f8167ffffffffffffffff811115610ff757610ff761135c565b6040519080825280601f01601f191660200182016040528015611021576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461102b57509392505050565b6001600160a01b03811661108357604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0381165f90815260096020526040812080546110a890600190611763565b815481106110b8576110b8611776565b905f5260205f200154905060095f836001600160a01b03166001600160a01b031681526020019081526020015f208054806110f5576110f561178a565b5f828152602080822083015f19908101839055909201909255828252600a815260408083208390556008825280832080546001600160a01b031990811690915560069092528083208054909216909155518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0381166111a457604051634e46966960e11b815260040160405180910390fd5b60038054600101908190555f818152600860205260409020546001600160a01b0316156111e45760405163119b4fd360e11b815260040160405180910390fd5b5f81815260086020908152604080832080546001600160a01b0319166001600160a01b03871690811790915580845260098352908320805460018181018355828652938520018590559252905461123b9190611763565b5f828152600a602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106112c35772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106112ef576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061130d57662386f26fc10000830492506010015b6305f5e1008310611325576305f5e100830492506008015b612710831061133957612710830492506004015b6064831061134b576064830492506002015b600a83106105db5760010192915050565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215611380575f80fd5b813567ffffffffffffffff80821115611397575f80fd5b818401915084601f8301126113aa575f80fd5b8135818111156113bc576113bc61135c565b604051601f8201601f19908116603f011681019083821181831017156113e4576113e461135c565b816040528281528760208487010111156113fc575f80fd5b826020860160208301375f928101602001929092525095945050505050565b5f5b8381101561143557818101518382015260200161141d565b50505f910152565b602081525f825180602084015261145b81604085016020870161141b565b601f01601f19169190910160400192915050565b5f6020828403121561147f575f80fd5b5035919050565b80356001600160a01b0381168114610b33575f80fd5b5f80604083850312156114ad575f80fd5b6114b683611486565b946020939093013593505050565b5f805f606084860312156114d6575f80fd5b6114df84611486565b92506114ed60208501611486565b9150604084013590509250925092565b5f806040838503121561150e575f80fd5b61151783611486565b91506020830135801515811461152b575f80fd5b809150509250929050565b5f60208284031215611546575f80fd5b610bbc82611486565b5f805f805f60808688031215611563575f80fd5b61156c86611486565b945061157a60208701611486565b935060408601359250606086013567ffffffffffffffff8082111561159d575f80fd5b818801915088601f8301126115b0575f80fd5b8135818111156115be575f80fd5b8960208285010111156115cf575f80fd5b9699959850939650602001949392505050565b5f80604083850312156115f3575f80fd5b6115fc83611486565b915061160a60208401611486565b90509250929050565b600181811c9082168061162757607f821691505b60208210810361164557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610aa657805f5260205f20601f840160051c810160208510156116705750805b601f840160051c820191505b81811015610c84575f815560010161167c565b815167ffffffffffffffff8111156116a9576116a961135c565b6116bd816116b78454611613565b8461164b565b602080601f8311600181146116f0575f84156116d95750858301515b5f19600386901b1c1916600185901b178555611747565b5f85815260208120601f198616915b8281101561171e578886015182559484019460019091019084016116ff565b508582101561173b57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156105db576105db61174f565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b5f602082840312156117ae575f80fd5b81516001600160e01b031981168114610bbc575f80fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290525f828460a08401375f60a0848401015260a0601f19601f85011683010190509695505050505050565b634e487b7160e01b5f52601260045260245ffd5b5f8261183957611839611817565b500690565b7f7b226e616d65223a2022426974636f696e20343034202300000000000000000081525f825161187581601785016020870161141b565b9190910160170192915050565b5f825161189381846020870161141b565b7f222c226465736372697074696f6e223a224120636f6c6c656374696f6e206f669201918252507f2034303420626974636f696e73222c2265787465726e616c5f75726c223a226860208201527f747470733a2f2f626974636f696e3430342e66696e616e6365222c22696d616760408201526332911d1160e11b6060820152606401919050565b5f8351602061192e82856020890161141b565b81840191505f855461193f81611613565b60018281168015611957576001811461196c57611996565b60ff1984168752821515830287019450611996565b895f5260205f205f5b8481101561198e57815489820152908301908701611975565b505082870194505b50929998505050505050505050565b5f83516119b681846020880161141b565b8351908301906119ca81836020880161141b565b01949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081525f8251611a0a81601b85016020870161141b565b91909101601b0192915050565b600181815b80851115611a5157815f1904821115611a3757611a3761174f565b80851615611a4457918102915b93841c9390800290611a1c565b509250929050565b5f82611a67575060016105db565b81611a7357505f6105db565b8160018114611a895760028114611a9357611aaf565b60019150506105db565b60ff841115611aa457611aa461174f565b50506001821b6105db565b5060208310610133831016604e8410600b8410161715611ad2575081810a6105db565b611adc8383611a17565b805f1904821115611aef57611aef61174f565b029392505050565b5f610bbc60ff841683611a59565b5f82611b1357611b13611817565b50049056fea2646970667358221220ed3426cc8fab479d0847692f2be437c26b0a4716e154abf4c75afc5525971d6664736f6c634300081800330000000000000000000000005a8aaa0e801b589011f27e6185c4646c592c98da
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610153575f3560e01c80636352211e116100bf578063a9059cbb11610079578063a9059cbb1461032e578063b88d4fde14610341578063c87b56dd14610354578063dd62ed3e14610367578063e985e9c514610391578063f2fde38b146103be575f80fd5b80636352211e146102ad57806370a08231146102c05780638da5cb5b146102df57806395d89b41146102f15780639b19251a146102f9578063a22cb4651461031b575f80fd5b806323b872dd1161011057806323b872dd1461022a5780632b9689581461023d578063313ce5671461024557806342842e0e1461027e5780634f02c4201461029157806353d6fd591461029a575f80fd5b806304787ca21461015757806306fdde031461016c578063081812fc1461018a578063095ea7b3146101ca578063135d088d146101ed57806318160ddd146101f5575b5f80fd5b61016a610165366004611370565b6103d1565b005b61017461040a565b604051610181919061143d565b60405180910390f35b6101b261019836600461146f565b60066020525f90815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610181565b6101dd6101d836600461149c565b610496565b6040519015158152602001610181565b6101746105e1565b61021c7f00000000000000000000000000000000000000000000021e19e0c9bab240000081565b604051908152602001610181565b6101dd6102383660046114c4565b6105ee565b61016a610970565b61026c7f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff9091168152602001610181565b61016a61028c3660046114c4565b6109d4565b61021c60035481565b61016a6102a83660046114fd565b610aab565b6101b26102bb36600461146f565b610afe565b61021c6102ce366004611536565b60046020525f908152604090205481565b5f546101b2906001600160a01b031681565b610174610b38565b6101dd610307366004611536565b600b6020525f908152604090205460ff1681565b61016a6103293660046114fd565b610b45565b6101dd61033c36600461149c565b610bb0565b61016a61034f36600461154f565b610bc3565b61017461036236600461146f565b610c8b565b61021c6103753660046115e2565b600560209081525f928352604080842090915290825290205481565b6101dd61039f3660046115e2565b600760209081525f928352604080842090915290825290205460ff1681565b61016a6103cc366004611536565b610d5c565b5f546001600160a01b031633146103fa576040516282b42960e81b815260040160405180910390fd5b600c610406828261168f565b5050565b6001805461041790611613565b80601f016020809104026020016040519081016040528092919081815260200182805461044390611613565b801561048e5780601f106104655761010080835404028352916020019161048e565b820191905f5260205f20905b81548152906001019060200180831161047157829003601f168201915b505050505081565b5f60035482111580156104a857505f82115b1561057c575f828152600860205260409020546001600160a01b03163381148015906104f757506001600160a01b0381165f90815260076020908152604080832033845290915290205460ff16155b15610514576040516282b42960e81b815260040160405180910390fd5b5f8381526006602090815260409182902080546001600160a01b0319166001600160a01b038881169182179092559251868152908416917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3506105d7565b335f8181526005602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35b5060015b92915050565b600c805461041790611613565b5f60035482116108ff575f828152600860205260409020546001600160a01b0385811691161461063157604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b03831661065857604051634e46966960e11b815260040160405180910390fd5b336001600160a01b0385161480159061069457506001600160a01b0384165f90815260076020908152604080832033845290915290205460ff16155b80156106b657505f828152600660205260409020546001600160a01b03163314155b156106d3576040516282b42960e81b815260040160405180910390fd5b6106db610df6565b6001600160a01b0385165f9081526004602052604081208054909190610702908490611763565b909155506107109050610df6565b6001600160a01b038085165f81815260046020908152604080832080549096019095558682526008815284822080546001600160a01b03199081169094179055600681528482208054909316909255918716825260099052908120805461077990600190611763565b8154811061078957610789611776565b5f9182526020808320909101546001600160a01b0388168352600982526040808420878552600a909352909220548154929350839281106107cc576107cc611776565b5f9182526020808320909101929092556001600160a01b03871681526009909152604090208054806108005761080061178a565b5f828152602080822083015f19908101839055909201909255848252600a8152604080832054848452818420556001600160a01b0387168084526009835290832080546001818101835582865293852001879055925290546108629190611763565b5f848152600a602052604080822092909255905184916001600160a01b0380881692908916917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4836001600160a01b0316856001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e0314876108e8610df6565b60405190815260200160405180910390a350610966565b6001600160a01b0384165f9081526005602090815260408083203384529091529020545f198114610958576109348382611763565b6001600160a01b0386165f9081526005602090815260408083203384529091529020555b610963858585610e27565b50505b5060019392505050565b5f546001600160a01b03163314610999576040516282b42960e81b815260040160405180910390fd5b5f80546001600160a01b031916815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b6109df8383836105ee565b506001600160a01b0382163b15801590610a885750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401525f608484015290919084169063150b7a029060a4016020604051808303815f875af1158015610a57573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7b919061179e565b6001600160e01b03191614155b15610aa657604051633da6393160e01b815260040160405180910390fd5b505050565b5f546001600160a01b03163314610ad4576040516282b42960e81b815260040160405180910390fd5b6001600160a01b03919091165f908152600b60205260409020805460ff1916911515919091179055565b5f818152600860205260409020546001600160a01b031680610b335760405163c5723b5160e01b815260040160405180910390fd5b919050565b6002805461041790611613565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b5f610bbc338484610e27565b9392505050565b610bce8585856105ee565b506001600160a01b0384163b15801590610c665750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610c199033908a908990899089906004016117c5565b6020604051808303815f875af1158015610c35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c59919061179e565b6001600160e01b03191614155b15610c8457604051633da6393160e01b815260040160405180910390fd5b5050505050565b60605f610ca2610c9d6101948561182b565b610fcc565b604051602001610cb2919061183e565b60408051601f1981840301815290829052610ccf91602001611882565b60408051601f1981840301815290829052610cef91600c9060200161191b565b60408051601f1981840301815282820182526002835261227d60f01b6020848101919091529151909350610d279184918491016119a5565b60408051601f1981840301815290829052610d44916020016119d3565b60405160208183030381529060405292505050919050565b5f546001600160a01b03163314610d85576040516282b42960e81b815260040160405180910390fd5b6001600160a01b038116610dac576040516349e27cff60e01b815260040160405180910390fd5b5f80546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b5f610e227f0000000000000000000000000000000000000000000000000000000000000012600a611af7565b905090565b5f80610e31610df6565b6001600160a01b038087165f818152600460205260408082208054948a1683529082205492825293945091929091869190610e6c8386611763565b90915550506001600160a01b038087165f90815260046020908152604080832080548a019055928a168252600b9052205460ff16610efb576001600160a01b0387165f90815260046020526040812054610ec7908590611b05565b610ed18585611b05565b610edb9190611763565b90505f5b81811015610ef857610ef08961105c565b600101610edf565b50505b6001600160a01b0386165f908152600b602052604090205460ff16610f72575f610f258483611b05565b6001600160a01b0388165f90815260046020526040902054610f48908690611b05565b610f529190611763565b90505f5b81811015610f6f57610f678861117d565b600101610f56565b50505b856001600160a01b0316876001600160a01b03167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e03148787604051610fb791815260200190565b60405180910390a35060019695505050505050565b60605f610fd883611285565b60010190505f8167ffffffffffffffff811115610ff757610ff761135c565b6040519080825280601f01601f191660200182016040528015611021576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461102b57509392505050565b6001600160a01b03811661108357604051636edaef2f60e11b815260040160405180910390fd5b6001600160a01b0381165f90815260096020526040812080546110a890600190611763565b815481106110b8576110b8611776565b905f5260205f200154905060095f836001600160a01b03166001600160a01b031681526020019081526020015f208054806110f5576110f561178a565b5f828152602080822083015f19908101839055909201909255828252600a815260408083208390556008825280832080546001600160a01b031990811690915560069092528083208054909216909155518291906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0381166111a457604051634e46966960e11b815260040160405180910390fd5b60038054600101908190555f818152600860205260409020546001600160a01b0316156111e45760405163119b4fd360e11b815260040160405180910390fd5b5f81815260086020908152604080832080546001600160a01b0319166001600160a01b03871690811790915580845260098352908320805460018181018355828652938520018590559252905461123b9190611763565b5f828152600a602052604080822092909255905182916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106112c35772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106112ef576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061130d57662386f26fc10000830492506010015b6305f5e1008310611325576305f5e100830492506008015b612710831061133957612710830492506004015b6064831061134b576064830492506002015b600a83106105db5760010192915050565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215611380575f80fd5b813567ffffffffffffffff80821115611397575f80fd5b818401915084601f8301126113aa575f80fd5b8135818111156113bc576113bc61135c565b604051601f8201601f19908116603f011681019083821181831017156113e4576113e461135c565b816040528281528760208487010111156113fc575f80fd5b826020860160208301375f928101602001929092525095945050505050565b5f5b8381101561143557818101518382015260200161141d565b50505f910152565b602081525f825180602084015261145b81604085016020870161141b565b601f01601f19169190910160400192915050565b5f6020828403121561147f575f80fd5b5035919050565b80356001600160a01b0381168114610b33575f80fd5b5f80604083850312156114ad575f80fd5b6114b683611486565b946020939093013593505050565b5f805f606084860312156114d6575f80fd5b6114df84611486565b92506114ed60208501611486565b9150604084013590509250925092565b5f806040838503121561150e575f80fd5b61151783611486565b91506020830135801515811461152b575f80fd5b809150509250929050565b5f60208284031215611546575f80fd5b610bbc82611486565b5f805f805f60808688031215611563575f80fd5b61156c86611486565b945061157a60208701611486565b935060408601359250606086013567ffffffffffffffff8082111561159d575f80fd5b818801915088601f8301126115b0575f80fd5b8135818111156115be575f80fd5b8960208285010111156115cf575f80fd5b9699959850939650602001949392505050565b5f80604083850312156115f3575f80fd5b6115fc83611486565b915061160a60208401611486565b90509250929050565b600181811c9082168061162757607f821691505b60208210810361164557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610aa657805f5260205f20601f840160051c810160208510156116705750805b601f840160051c820191505b81811015610c84575f815560010161167c565b815167ffffffffffffffff8111156116a9576116a961135c565b6116bd816116b78454611613565b8461164b565b602080601f8311600181146116f0575f84156116d95750858301515b5f19600386901b1c1916600185901b178555611747565b5f85815260208120601f198616915b8281101561171e578886015182559484019460019091019084016116ff565b508582101561173b57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156105db576105db61174f565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b5f602082840312156117ae575f80fd5b81516001600160e01b031981168114610bbc575f80fd5b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290525f828460a08401375f60a0848401015260a0601f19601f85011683010190509695505050505050565b634e487b7160e01b5f52601260045260245ffd5b5f8261183957611839611817565b500690565b7f7b226e616d65223a2022426974636f696e20343034202300000000000000000081525f825161187581601785016020870161141b565b9190910160170192915050565b5f825161189381846020870161141b565b7f222c226465736372697074696f6e223a224120636f6c6c656374696f6e206f669201918252507f2034303420626974636f696e73222c2265787465726e616c5f75726c223a226860208201527f747470733a2f2f626974636f696e3430342e66696e616e6365222c22696d616760408201526332911d1160e11b6060820152606401919050565b5f8351602061192e82856020890161141b565b81840191505f855461193f81611613565b60018281168015611957576001811461196c57611996565b60ff1984168752821515830287019450611996565b895f5260205f205f5b8481101561198e57815489820152908301908701611975565b505082870194505b50929998505050505050505050565b5f83516119b681846020880161141b565b8351908301906119ca81836020880161141b565b01949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081525f8251611a0a81601b85016020870161141b565b91909101601b0192915050565b600181815b80851115611a5157815f1904821115611a3757611a3761174f565b80851615611a4457918102915b93841c9390800290611a1c565b509250929050565b5f82611a67575060016105db565b81611a7357505f6105db565b8160018114611a895760028114611a9357611aaf565b60019150506105db565b60ff841115611aa457611aa461174f565b50506001821b6105db565b5060208310610133831016604e8410600b8410161715611ad2575081810a6105db565b611adc8383611a17565b805f1904821115611aef57611aef61174f565b029392505050565b5f610bbc60ff841683611a59565b5f82611b1357611b13611817565b50049056fea2646970667358221220ed3426cc8fab479d0847692f2be437c26b0a4716e154abf4c75afc5525971d6664736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005a8aaa0e801b589011f27e6185c4646c592c98da
-----Decoded View---------------
Arg [0] : _owner (address): 0x5A8AAA0e801B589011f27e6185C4646c592C98da
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005a8aaa0e801b589011f27e6185c4646c592c98da
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.