ERC-721
Overview
Max Total Supply
1,289 YDB
Holders
1,117
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 YDBLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
YayDickbutts
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; /* * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } contract YayDickbutts is IERC721A { address private _owner; function owner() public view returns(address){ return _owner; } modifier onlyOwner() { require(_owner==msg.sender); _; } uint256 public constant MAX_SUPPLY = 1555; uint256 public MAX_FREE = 1111; uint256 public MAX_FREE_PER_WALLET = 1; uint256 public COST = 0.002 ether; string private constant _name = "YayDickbutts"; string private constant _symbol = "YDB"; string private _baseURI = "0x5fe437C91Eef26664ff3aA8125a3436d2A9A4b4F"; constructor() { _owner = msg.sender; } function mint(uint256 amount) external payable{ address _caller = _msgSenderERC721A(); require(totalSupply() + amount <= MAX_SUPPLY, "SoldOut"); require(amount*COST <= msg.value, "Value to Low"); require(amount <= 10, "max 10 per TX"); _mint(_caller, amount); } function freeMint() external{ address _caller = _msgSenderERC721A(); uint256 amount = 1; require(totalSupply() + amount <= MAX_FREE, "Freemint SoldOut"); require(amount + _numberMinted(_caller) <= MAX_FREE_PER_WALLET, "Max per Wallet"); _mint(_caller, amount); } // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex = 0; // The number of tokens burned. // uint256 private _burnCounter; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; function setData(string memory _base) external onlyOwner{ _baseURI = _base; } function setConfig(uint256 _MAX_FREE_PER_WALLET, uint256 _COST, uint256 _MAX_FREE) external onlyOwner{ MAX_FREE_PER_WALLET = _MAX_FREE_PER_WALLET; COST = _COST; MAX_FREE = _MAX_FREE; } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (_addressToUint256(owner) == 0) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI; return bytes(baseURI).length != 0 ? string(abi.encodePacked("ipfs://", baseURI, "/", _toString(tokenId), ".json")) : ""; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex; } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (_addressToUint256(to) == 0) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); address approvedAddress = _tokenApprovals[tokenId]; bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || approvedAddress == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); // Clear approvals from the previous owner. if (_addressToUint256(approvedAddress) != 0) { delete _tokenApprovals[tokenId]; } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"tokenId","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":"uint256","name":"_MAX_FREE_PER_WALLET","type":"uint256"},{"internalType":"uint256","name":"_COST","type":"uint256"},{"internalType":"uint256","name":"_MAX_FREE","type":"uint256"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_base","type":"string"}],"name":"setData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052610457600155600160025566071afd498d00006003556040518060600160405280602a81526020016200295c602a91396004908162000044919062000318565b5060006005553480156200005757600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620003ff565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200012057607f821691505b602082108103620001365762000135620000d8565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620001a07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000161565b620001ac868362000161565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620001f9620001f3620001ed84620001c4565b620001ce565b620001c4565b9050919050565b6000819050919050565b6200021583620001d8565b6200022d620002248262000200565b8484546200016e565b825550505050565b600090565b6200024462000235565b620002518184846200020a565b505050565b5b8181101562000279576200026d6000826200023a565b60018101905062000257565b5050565b601f821115620002c85762000292816200013c565b6200029d8462000151565b81016020851015620002ad578190505b620002c5620002bc8562000151565b83018262000256565b50505b505050565b600082821c905092915050565b6000620002ed60001984600802620002cd565b1980831691505092915050565b6000620003088383620002da565b9150826002028217905092915050565b62000323826200009e565b67ffffffffffffffff8111156200033f576200033e620000a9565b5b6200034b825462000107565b620003588282856200027d565b600060209050601f8311600181146200039057600084156200037b578287015190505b620003878582620002fa565b865550620003f7565b601f198416620003a0866200013c565b60005b82811015620003ca57848901518255600182019150602085019450602081019050620003a3565b86831015620003ea5784890151620003e6601f891682620002da565b8355505b6001600288020188555050505b505050505050565b61254d806200040f6000396000f3fe60806040526004361061014b5760003560e01c80636352211e116100b6578063a22cb4651161006f578063a22cb4651461045d578063b88d4fde14610486578063bf8fbbd2146104af578063c87b56dd146104da578063e985e9c514610517578063ed6661c2146105545761014b565b80636352211e1461034657806370a08231146103835780638da5cb5b146103c057806395d89b41146103eb57806398710d1e14610416578063a0712d68146104415761014b565b806323b872dd1161010857806323b872dd1461027257806332cb6b0c1461029b5780633ccfd60b146102c657806342842e0e146102dd57806347064d6a146103065780635b70ea9f1461032f5761014b565b806301ffc9a71461015057806306fdde031461018d578063081812fc146101b8578063095ea7b3146101f5578063129ee21a1461021e57806318160ddd14610247575b600080fd5b34801561015c57600080fd5b5061017760048036038101906101729190611788565b61057f565b60405161018491906117d0565b60405180910390f35b34801561019957600080fd5b506101a2610611565b6040516101af919061187b565b60405180910390f35b3480156101c457600080fd5b506101df60048036038101906101da91906118d3565b61064e565b6040516101ec9190611941565b60405180910390f35b34801561020157600080fd5b5061021c60048036038101906102179190611988565b6106ca565b005b34801561022a57600080fd5b50610245600480360381019061024091906119c8565b610843565b005b34801561025357600080fd5b5061025c6108b5565b6040516102699190611a2a565b60405180910390f35b34801561027e57600080fd5b5061029960048036038101906102949190611a45565b6108c8565b005b3480156102a757600080fd5b506102b06108d8565b6040516102bd9190611a2a565b60405180910390f35b3480156102d257600080fd5b506102db6108de565b005b3480156102e957600080fd5b5061030460048036038101906102ff9190611a45565b610985565b005b34801561031257600080fd5b5061032d60048036038101906103289190611bcd565b6109a5565b005b34801561033b57600080fd5b50610344610a10565b005b34801561035257600080fd5b5061036d600480360381019061036891906118d3565b610adf565b60405161037a9190611941565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190611c16565b610af1565b6040516103b79190611a2a565b60405180910390f35b3480156103cc57600080fd5b506103d5610b85565b6040516103e29190611941565b60405180910390f35b3480156103f757600080fd5b50610400610bae565b60405161040d919061187b565b60405180910390f35b34801561042257600080fd5b5061042b610beb565b6040516104389190611a2a565b60405180910390f35b61045b600480360381019061045691906118d3565b610bf1565b005b34801561046957600080fd5b50610484600480360381019061047f9190611c6f565b610cf6565b005b34801561049257600080fd5b506104ad60048036038101906104a89190611d50565b610e6d565b005b3480156104bb57600080fd5b506104c4610e7e565b6040516104d19190611a2a565b60405180910390f35b3480156104e657600080fd5b5061050160048036038101906104fc91906118d3565b610e84565b60405161050e919061187b565b60405180910390f35b34801561052357600080fd5b5061053e60048036038101906105399190611dd3565b610fa5565b60405161054b91906117d0565b60405180910390f35b34801561056057600080fd5b50610569611039565b6040516105769190611a2a565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105da57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061060a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606040518060400160405280600c81526020017f5961794469636b62757474730000000000000000000000000000000000000000815250905090565b60006106598261103f565b61068f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106d582611060565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361070f57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1661072e61112c565b73ffffffffffffffffffffffffffffffffffffffff16146107915761075a8161075561112c565b610fa5565b610790576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826008600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461089b57600080fd5b826002819055508160038190555080600181905550505050565b60006108bf611134565b60055403905090565b6108d3838383611139565b505050565b61061381565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461093657600080fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610981573d6000803e3d6000fd5b5050565b6109a083838360405180602001604052806000815250610e6d565b505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109fd57600080fd5b8060049081610a0c919061201f565b5050565b6000610a1a61112c565b905060006001905060015481610a2e6108b5565b610a389190612120565b1115610a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a70906121a0565b60405180910390fd5b600254610a85836114af565b82610a909190612120565b1115610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac89061220c565b60405180910390fd5b610adb8282611506565b5050565b6000610aea82611060565b9050919050565b600080610afd836116a8565b03610b34576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606040518060400160405280600381526020017f5944420000000000000000000000000000000000000000000000000000000000815250905090565b60025481565b6000610bfb61112c565b905061061382610c096108b5565b610c139190612120565b1115610c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4b90612278565b60405180910390fd5b3460035483610c639190612298565b1115610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b90612326565b60405180910390fd5b600a821115610ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdf90612392565b60405180910390fd5b610cf28183611506565b5050565b610cfe61112c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d62576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060096000610d6f61112c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610e1c61112c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610e6191906117d0565b60405180910390a35050565b610e78848484611139565b50505050565b60035481565b6060610e8f8261103f565b610ec5576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060048054610ed490611e42565b80601f0160208091040260200160405190810160405280929190818152602001828054610f0090611e42565b8015610f4d5780601f10610f2257610100808354040283529160200191610f4d565b820191906000526020600020905b815481529060010190602001808311610f3057829003601f168201915b505050505090506000815103610f725760405180602001604052806000815250610f9d565b80610f7c846116b2565b604051602001610f8d9291906124d2565b6040516020818303038152906040525b915050919050565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60015481565b60008161104a611134565b11158015611059575060055482105b9050919050565b6000808290508061106f611134565b116110f5576005548110156110f45760006006600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036110f2575b600081036110e85760066000836001900393508381526020019081526020016000205490506110be565b8092505050611127565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b600061114482611060565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111ab576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff1661120461112c565b73ffffffffffffffffffffffffffffffffffffffff16148061123357506112328661122d61112c565b610fa5565b5b80611270575061124161112c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b9050806112a9576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006112b4836116a8565b146112f0576008600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6113b7876116a8565b1717600660008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361143f576000600185019050600060066000838152602001908152602001600020540361143d57600554811461143c578360066000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46114a7868686600161170c565b505050505050565b600067ffffffffffffffff6040600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b600060055490506000611518846116a8565b0361154f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203611589576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160406001901b178202600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e16115ee60018414611712565b901b60a042901b6115fe856116a8565b171760066000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210611624578160058190555050506116a3600084838561170c565b505050565b6000819050919050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156116f857600183039250600a81066030018353600a810490506116d8565b508181036020830392508083525050919050565b50505050565b6000819050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61176581611730565b811461177057600080fd5b50565b6000813590506117828161175c565b92915050565b60006020828403121561179e5761179d611726565b5b60006117ac84828501611773565b91505092915050565b60008115159050919050565b6117ca816117b5565b82525050565b60006020820190506117e560008301846117c1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561182557808201518184015260208101905061180a565b60008484015250505050565b6000601f19601f8301169050919050565b600061184d826117eb565b61185781856117f6565b9350611867818560208601611807565b61187081611831565b840191505092915050565b600060208201905081810360008301526118958184611842565b905092915050565b6000819050919050565b6118b08161189d565b81146118bb57600080fd5b50565b6000813590506118cd816118a7565b92915050565b6000602082840312156118e9576118e8611726565b5b60006118f7848285016118be565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061192b82611900565b9050919050565b61193b81611920565b82525050565b60006020820190506119566000830184611932565b92915050565b61196581611920565b811461197057600080fd5b50565b6000813590506119828161195c565b92915050565b6000806040838503121561199f5761199e611726565b5b60006119ad85828601611973565b92505060206119be858286016118be565b9150509250929050565b6000806000606084860312156119e1576119e0611726565b5b60006119ef868287016118be565b9350506020611a00868287016118be565b9250506040611a11868287016118be565b9150509250925092565b611a248161189d565b82525050565b6000602082019050611a3f6000830184611a1b565b92915050565b600080600060608486031215611a5e57611a5d611726565b5b6000611a6c86828701611973565b9350506020611a7d86828701611973565b9250506040611a8e868287016118be565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611ada82611831565b810181811067ffffffffffffffff82111715611af957611af8611aa2565b5b80604052505050565b6000611b0c61171c565b9050611b188282611ad1565b919050565b600067ffffffffffffffff821115611b3857611b37611aa2565b5b611b4182611831565b9050602081019050919050565b82818337600083830152505050565b6000611b70611b6b84611b1d565b611b02565b905082815260208101848484011115611b8c57611b8b611a9d565b5b611b97848285611b4e565b509392505050565b600082601f830112611bb457611bb3611a98565b5b8135611bc4848260208601611b5d565b91505092915050565b600060208284031215611be357611be2611726565b5b600082013567ffffffffffffffff811115611c0157611c0061172b565b5b611c0d84828501611b9f565b91505092915050565b600060208284031215611c2c57611c2b611726565b5b6000611c3a84828501611973565b91505092915050565b611c4c816117b5565b8114611c5757600080fd5b50565b600081359050611c6981611c43565b92915050565b60008060408385031215611c8657611c85611726565b5b6000611c9485828601611973565b9250506020611ca585828601611c5a565b9150509250929050565b600067ffffffffffffffff821115611cca57611cc9611aa2565b5b611cd382611831565b9050602081019050919050565b6000611cf3611cee84611caf565b611b02565b905082815260208101848484011115611d0f57611d0e611a9d565b5b611d1a848285611b4e565b509392505050565b600082601f830112611d3757611d36611a98565b5b8135611d47848260208601611ce0565b91505092915050565b60008060008060808587031215611d6a57611d69611726565b5b6000611d7887828801611973565b9450506020611d8987828801611973565b9350506040611d9a878288016118be565b925050606085013567ffffffffffffffff811115611dbb57611dba61172b565b5b611dc787828801611d22565b91505092959194509250565b60008060408385031215611dea57611de9611726565b5b6000611df885828601611973565b9250506020611e0985828601611973565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611e5a57607f821691505b602082108103611e6d57611e6c611e13565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302611ed57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82611e98565b611edf8683611e98565b95508019841693508086168417925050509392505050565b6000819050919050565b6000611f1c611f17611f128461189d565b611ef7565b61189d565b9050919050565b6000819050919050565b611f3683611f01565b611f4a611f4282611f23565b848454611ea5565b825550505050565b600090565b611f5f611f52565b611f6a818484611f2d565b505050565b5b81811015611f8e57611f83600082611f57565b600181019050611f70565b5050565b601f821115611fd357611fa481611e73565b611fad84611e88565b81016020851015611fbc578190505b611fd0611fc885611e88565b830182611f6f565b50505b505050565b600082821c905092915050565b6000611ff660001984600802611fd8565b1980831691505092915050565b600061200f8383611fe5565b9150826002028217905092915050565b612028826117eb565b67ffffffffffffffff81111561204157612040611aa2565b5b61204b8254611e42565b612056828285611f92565b600060209050601f8311600181146120895760008415612077578287015190505b6120818582612003565b8655506120e9565b601f19841661209786611e73565b60005b828110156120bf5784890151825560018201915060208501945060208101905061209a565b868310156120dc57848901516120d8601f891682611fe5565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061212b8261189d565b91506121368361189d565b925082820190508082111561214e5761214d6120f1565b5b92915050565b7f467265656d696e7420536f6c644f757400000000000000000000000000000000600082015250565b600061218a6010836117f6565b915061219582612154565b602082019050919050565b600060208201905081810360008301526121b98161217d565b9050919050565b7f4d6178207065722057616c6c6574000000000000000000000000000000000000600082015250565b60006121f6600e836117f6565b9150612201826121c0565b602082019050919050565b60006020820190508181036000830152612225816121e9565b9050919050565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b60006122626007836117f6565b915061226d8261222c565b602082019050919050565b6000602082019050818103600083015261229181612255565b9050919050565b60006122a38261189d565b91506122ae8361189d565b92508282026122bc8161189d565b915082820484148315176122d3576122d26120f1565b5b5092915050565b7f56616c756520746f204c6f770000000000000000000000000000000000000000600082015250565b6000612310600c836117f6565b915061231b826122da565b602082019050919050565b6000602082019050818103600083015261233f81612303565b9050919050565b7f6d61782031302070657220545800000000000000000000000000000000000000600082015250565b600061237c600d836117f6565b915061238782612346565b602082019050919050565b600060208201905081810360008301526123ab8161236f565b9050919050565b600081905092915050565b7f697066733a2f2f00000000000000000000000000000000000000000000000000600082015250565b60006123f36007836123b2565b91506123fe826123bd565b600782019050919050565b6000612414826117eb565b61241e81856123b2565b935061242e818560208601611807565b80840191505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b60006124706001836123b2565b915061247b8261243a565b600182019050919050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006124bc6005836123b2565b91506124c782612486565b600582019050919050565b60006124dd826123e6565b91506124e98285612409565b91506124f482612463565b91506125008284612409565b915061250b826124af565b9150819050939250505056fea26469706673582212205c5d394ee22c5e2eb3f84c48561ce5af4e3e7a49e1cdbb30edf6b391fcfed86764736f6c63430008110033307835666534333743393145656632363636346666336141383132356133343336643241394134623446
Deployed Bytecode
0x60806040526004361061014b5760003560e01c80636352211e116100b6578063a22cb4651161006f578063a22cb4651461045d578063b88d4fde14610486578063bf8fbbd2146104af578063c87b56dd146104da578063e985e9c514610517578063ed6661c2146105545761014b565b80636352211e1461034657806370a08231146103835780638da5cb5b146103c057806395d89b41146103eb57806398710d1e14610416578063a0712d68146104415761014b565b806323b872dd1161010857806323b872dd1461027257806332cb6b0c1461029b5780633ccfd60b146102c657806342842e0e146102dd57806347064d6a146103065780635b70ea9f1461032f5761014b565b806301ffc9a71461015057806306fdde031461018d578063081812fc146101b8578063095ea7b3146101f5578063129ee21a1461021e57806318160ddd14610247575b600080fd5b34801561015c57600080fd5b5061017760048036038101906101729190611788565b61057f565b60405161018491906117d0565b60405180910390f35b34801561019957600080fd5b506101a2610611565b6040516101af919061187b565b60405180910390f35b3480156101c457600080fd5b506101df60048036038101906101da91906118d3565b61064e565b6040516101ec9190611941565b60405180910390f35b34801561020157600080fd5b5061021c60048036038101906102179190611988565b6106ca565b005b34801561022a57600080fd5b50610245600480360381019061024091906119c8565b610843565b005b34801561025357600080fd5b5061025c6108b5565b6040516102699190611a2a565b60405180910390f35b34801561027e57600080fd5b5061029960048036038101906102949190611a45565b6108c8565b005b3480156102a757600080fd5b506102b06108d8565b6040516102bd9190611a2a565b60405180910390f35b3480156102d257600080fd5b506102db6108de565b005b3480156102e957600080fd5b5061030460048036038101906102ff9190611a45565b610985565b005b34801561031257600080fd5b5061032d60048036038101906103289190611bcd565b6109a5565b005b34801561033b57600080fd5b50610344610a10565b005b34801561035257600080fd5b5061036d600480360381019061036891906118d3565b610adf565b60405161037a9190611941565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190611c16565b610af1565b6040516103b79190611a2a565b60405180910390f35b3480156103cc57600080fd5b506103d5610b85565b6040516103e29190611941565b60405180910390f35b3480156103f757600080fd5b50610400610bae565b60405161040d919061187b565b60405180910390f35b34801561042257600080fd5b5061042b610beb565b6040516104389190611a2a565b60405180910390f35b61045b600480360381019061045691906118d3565b610bf1565b005b34801561046957600080fd5b50610484600480360381019061047f9190611c6f565b610cf6565b005b34801561049257600080fd5b506104ad60048036038101906104a89190611d50565b610e6d565b005b3480156104bb57600080fd5b506104c4610e7e565b6040516104d19190611a2a565b60405180910390f35b3480156104e657600080fd5b5061050160048036038101906104fc91906118d3565b610e84565b60405161050e919061187b565b60405180910390f35b34801561052357600080fd5b5061053e60048036038101906105399190611dd3565b610fa5565b60405161054b91906117d0565b60405180910390f35b34801561056057600080fd5b50610569611039565b6040516105769190611a2a565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105da57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061060a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606040518060400160405280600c81526020017f5961794469636b62757474730000000000000000000000000000000000000000815250905090565b60006106598261103f565b61068f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106d582611060565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361070f57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1661072e61112c565b73ffffffffffffffffffffffffffffffffffffffff16146107915761075a8161075561112c565b610fa5565b610790576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826008600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461089b57600080fd5b826002819055508160038190555080600181905550505050565b60006108bf611134565b60055403905090565b6108d3838383611139565b505050565b61061381565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461093657600080fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610981573d6000803e3d6000fd5b5050565b6109a083838360405180602001604052806000815250610e6d565b505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109fd57600080fd5b8060049081610a0c919061201f565b5050565b6000610a1a61112c565b905060006001905060015481610a2e6108b5565b610a389190612120565b1115610a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a70906121a0565b60405180910390fd5b600254610a85836114af565b82610a909190612120565b1115610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac89061220c565b60405180910390fd5b610adb8282611506565b5050565b6000610aea82611060565b9050919050565b600080610afd836116a8565b03610b34576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606040518060400160405280600381526020017f5944420000000000000000000000000000000000000000000000000000000000815250905090565b60025481565b6000610bfb61112c565b905061061382610c096108b5565b610c139190612120565b1115610c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4b90612278565b60405180910390fd5b3460035483610c639190612298565b1115610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b90612326565b60405180910390fd5b600a821115610ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdf90612392565b60405180910390fd5b610cf28183611506565b5050565b610cfe61112c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d62576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060096000610d6f61112c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610e1c61112c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610e6191906117d0565b60405180910390a35050565b610e78848484611139565b50505050565b60035481565b6060610e8f8261103f565b610ec5576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060048054610ed490611e42565b80601f0160208091040260200160405190810160405280929190818152602001828054610f0090611e42565b8015610f4d5780601f10610f2257610100808354040283529160200191610f4d565b820191906000526020600020905b815481529060010190602001808311610f3057829003601f168201915b505050505090506000815103610f725760405180602001604052806000815250610f9d565b80610f7c846116b2565b604051602001610f8d9291906124d2565b6040516020818303038152906040525b915050919050565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60015481565b60008161104a611134565b11158015611059575060055482105b9050919050565b6000808290508061106f611134565b116110f5576005548110156110f45760006006600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036110f2575b600081036110e85760066000836001900393508381526020019081526020016000205490506110be565b8092505050611127565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b600061114482611060565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111ab576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff1661120461112c565b73ffffffffffffffffffffffffffffffffffffffff16148061123357506112328661122d61112c565b610fa5565b5b80611270575061124161112c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b9050806112a9576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006112b4836116a8565b146112f0576008600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6113b7876116a8565b1717600660008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361143f576000600185019050600060066000838152602001908152602001600020540361143d57600554811461143c578360066000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46114a7868686600161170c565b505050505050565b600067ffffffffffffffff6040600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b600060055490506000611518846116a8565b0361154f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203611589576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160406001901b178202600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e16115ee60018414611712565b901b60a042901b6115fe856116a8565b171760066000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210611624578160058190555050506116a3600084838561170c565b505050565b6000819050919050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156116f857600183039250600a81066030018353600a810490506116d8565b508181036020830392508083525050919050565b50505050565b6000819050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61176581611730565b811461177057600080fd5b50565b6000813590506117828161175c565b92915050565b60006020828403121561179e5761179d611726565b5b60006117ac84828501611773565b91505092915050565b60008115159050919050565b6117ca816117b5565b82525050565b60006020820190506117e560008301846117c1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561182557808201518184015260208101905061180a565b60008484015250505050565b6000601f19601f8301169050919050565b600061184d826117eb565b61185781856117f6565b9350611867818560208601611807565b61187081611831565b840191505092915050565b600060208201905081810360008301526118958184611842565b905092915050565b6000819050919050565b6118b08161189d565b81146118bb57600080fd5b50565b6000813590506118cd816118a7565b92915050565b6000602082840312156118e9576118e8611726565b5b60006118f7848285016118be565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061192b82611900565b9050919050565b61193b81611920565b82525050565b60006020820190506119566000830184611932565b92915050565b61196581611920565b811461197057600080fd5b50565b6000813590506119828161195c565b92915050565b6000806040838503121561199f5761199e611726565b5b60006119ad85828601611973565b92505060206119be858286016118be565b9150509250929050565b6000806000606084860312156119e1576119e0611726565b5b60006119ef868287016118be565b9350506020611a00868287016118be565b9250506040611a11868287016118be565b9150509250925092565b611a248161189d565b82525050565b6000602082019050611a3f6000830184611a1b565b92915050565b600080600060608486031215611a5e57611a5d611726565b5b6000611a6c86828701611973565b9350506020611a7d86828701611973565b9250506040611a8e868287016118be565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611ada82611831565b810181811067ffffffffffffffff82111715611af957611af8611aa2565b5b80604052505050565b6000611b0c61171c565b9050611b188282611ad1565b919050565b600067ffffffffffffffff821115611b3857611b37611aa2565b5b611b4182611831565b9050602081019050919050565b82818337600083830152505050565b6000611b70611b6b84611b1d565b611b02565b905082815260208101848484011115611b8c57611b8b611a9d565b5b611b97848285611b4e565b509392505050565b600082601f830112611bb457611bb3611a98565b5b8135611bc4848260208601611b5d565b91505092915050565b600060208284031215611be357611be2611726565b5b600082013567ffffffffffffffff811115611c0157611c0061172b565b5b611c0d84828501611b9f565b91505092915050565b600060208284031215611c2c57611c2b611726565b5b6000611c3a84828501611973565b91505092915050565b611c4c816117b5565b8114611c5757600080fd5b50565b600081359050611c6981611c43565b92915050565b60008060408385031215611c8657611c85611726565b5b6000611c9485828601611973565b9250506020611ca585828601611c5a565b9150509250929050565b600067ffffffffffffffff821115611cca57611cc9611aa2565b5b611cd382611831565b9050602081019050919050565b6000611cf3611cee84611caf565b611b02565b905082815260208101848484011115611d0f57611d0e611a9d565b5b611d1a848285611b4e565b509392505050565b600082601f830112611d3757611d36611a98565b5b8135611d47848260208601611ce0565b91505092915050565b60008060008060808587031215611d6a57611d69611726565b5b6000611d7887828801611973565b9450506020611d8987828801611973565b9350506040611d9a878288016118be565b925050606085013567ffffffffffffffff811115611dbb57611dba61172b565b5b611dc787828801611d22565b91505092959194509250565b60008060408385031215611dea57611de9611726565b5b6000611df885828601611973565b9250506020611e0985828601611973565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611e5a57607f821691505b602082108103611e6d57611e6c611e13565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302611ed57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82611e98565b611edf8683611e98565b95508019841693508086168417925050509392505050565b6000819050919050565b6000611f1c611f17611f128461189d565b611ef7565b61189d565b9050919050565b6000819050919050565b611f3683611f01565b611f4a611f4282611f23565b848454611ea5565b825550505050565b600090565b611f5f611f52565b611f6a818484611f2d565b505050565b5b81811015611f8e57611f83600082611f57565b600181019050611f70565b5050565b601f821115611fd357611fa481611e73565b611fad84611e88565b81016020851015611fbc578190505b611fd0611fc885611e88565b830182611f6f565b50505b505050565b600082821c905092915050565b6000611ff660001984600802611fd8565b1980831691505092915050565b600061200f8383611fe5565b9150826002028217905092915050565b612028826117eb565b67ffffffffffffffff81111561204157612040611aa2565b5b61204b8254611e42565b612056828285611f92565b600060209050601f8311600181146120895760008415612077578287015190505b6120818582612003565b8655506120e9565b601f19841661209786611e73565b60005b828110156120bf5784890151825560018201915060208501945060208101905061209a565b868310156120dc57848901516120d8601f891682611fe5565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061212b8261189d565b91506121368361189d565b925082820190508082111561214e5761214d6120f1565b5b92915050565b7f467265656d696e7420536f6c644f757400000000000000000000000000000000600082015250565b600061218a6010836117f6565b915061219582612154565b602082019050919050565b600060208201905081810360008301526121b98161217d565b9050919050565b7f4d6178207065722057616c6c6574000000000000000000000000000000000000600082015250565b60006121f6600e836117f6565b9150612201826121c0565b602082019050919050565b60006020820190508181036000830152612225816121e9565b9050919050565b7f536f6c644f757400000000000000000000000000000000000000000000000000600082015250565b60006122626007836117f6565b915061226d8261222c565b602082019050919050565b6000602082019050818103600083015261229181612255565b9050919050565b60006122a38261189d565b91506122ae8361189d565b92508282026122bc8161189d565b915082820484148315176122d3576122d26120f1565b5b5092915050565b7f56616c756520746f204c6f770000000000000000000000000000000000000000600082015250565b6000612310600c836117f6565b915061231b826122da565b602082019050919050565b6000602082019050818103600083015261233f81612303565b9050919050565b7f6d61782031302070657220545800000000000000000000000000000000000000600082015250565b600061237c600d836117f6565b915061238782612346565b602082019050919050565b600060208201905081810360008301526123ab8161236f565b9050919050565b600081905092915050565b7f697066733a2f2f00000000000000000000000000000000000000000000000000600082015250565b60006123f36007836123b2565b91506123fe826123bd565b600782019050919050565b6000612414826117eb565b61241e81856123b2565b935061242e818560208601611807565b80840191505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b60006124706001836123b2565b915061247b8261243a565b600182019050919050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006124bc6005836123b2565b91506124c782612486565b600582019050919050565b60006124dd826123e6565b91506124e98285612409565b91506124f482612463565b91506125008284612409565b915061250b826124af565b9150819050939250505056fea26469706673582212205c5d394ee22c5e2eb3f84c48561ce5af4e3e7a49e1cdbb30edf6b391fcfed86764736f6c63430008110033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.