ERC-721
Overview
Max Total Supply
2,200 GP
Holders
737
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 GPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Glitchpop
Compiler Version
v0.8.9+commit.e5eed63a
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.9 <0.9.0; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract Glitchpop is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; uint256 public cost; uint256 public maxFreeMintsPerTx; uint256 public maxFreeSupply; uint256 public maxMintAmountPerTx; uint256 public maxSupply; uint256 public maxPerWallet; string baseURI; string public baseExtension = ".json"; bool public paused = true; mapping(address => uint256) private mintedFreeAmount; constructor( string memory _initBaseURI, string memory _tokenName, string memory _tokenSymbol, uint256 _cost, uint256 _maxFreeMintsPerTx, uint256 _maxFreeSupply, uint256 _maxMintAmountPerTx, uint256 _maxSupply, uint256 _maxPerWallet ) ERC721A(_tokenName, _tokenSymbol) { setBaseURI(_initBaseURI); setPrice(_cost); setMaxFreePerTx(_maxFreeMintsPerTx); setMaxFreeSupply(_maxFreeSupply); setMaxPerTx(_maxMintAmountPerTx); setMaxPerWallet(_maxPerWallet); setMaxSupply(_maxSupply); _mint(msg.sender, 1); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } modifier mintCompliance(uint256 _mintAmount) { if (totalSupply() + _mintAmount < maxFreeSupply + 1) { mintedFreeAmount[msg.sender] += _mintAmount; } require(mintedFreeAmount[msg.sender] <= maxFreeMintsPerTx, "Exceeds free max per tx!"); require(_numberMinted(msg.sender) + _mintAmount <= maxPerWallet, "Exceeds max wallet limits!"); require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!"); require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!"); _; } modifier mintPriceCompliance(uint256 _mintAmount) { uint256 price = cost; if (totalSupply() + _mintAmount < maxFreeSupply + 1) { price = 0; } require(msg.value >= price * _mintAmount, "Insufficient funds!"); _; } function mint(uint256 _mintAmount) public payable mintPriceCompliance(_mintAmount) mintCompliance(_mintAmount) { require(!paused, "The contract is paused!"); _mint(_msgSender(), _mintAmount); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, tokenId.toString(), baseExtension ) ) : ""; } function setMaxFreePerTx(uint256 _maxFreeMintsPerTx) public onlyOwner { maxFreeMintsPerTx = _maxFreeMintsPerTx; } function setMaxFreeSupply(uint256 _maxFreeSupply) public onlyOwner { maxFreeSupply = _maxFreeSupply; } function setMaxPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function setMaxSupply(uint256 _maxSupply) public onlyOwner { maxSupply = _maxSupply; } function setMaxPerWallet(uint256 _maxPerWallet) public onlyOwner { maxPerWallet = _maxPerWallet; } function ownerAirdrop(uint256 _mintAmount, address _receiver) public onlyOwner { _mint(_receiver, _mintAmount); } function setPrice(uint256 _cost) public onlyOwner { cost = _cost; } function setPaused() public onlyOwner { paused = !paused; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function withdraw() external onlyOwner { uint256 balance = address(this).balance; (bool success, ) = _msgSender().call{value: balance}(""); require(success, "Failed to send"); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // 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 bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // 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` // - [232..255] `extraData` 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @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 - _burnCounter - _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 Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @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 (owner == address(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 number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary 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); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * 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; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * 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 Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @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; } /** * @dev See {IERC721Metadata-tokenURI}. */ 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(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); 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-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 { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @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 for each mint. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _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] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _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] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @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 transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // 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 Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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 { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // 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, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * 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` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @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) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @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] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ 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(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of 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 through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 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`. * * 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 approved 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 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 ) external; /** * @dev Transfers `tokenId` token 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 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"uint256","name":"_cost","type":"uint256"},{"internalType":"uint256","name":"_maxFreeMintsPerTx","type":"uint256"},{"internalType":"uint256","name":"_maxFreeSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"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":"previousOwner","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":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"maxFreeMintsPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","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":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"ownerAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeMintsPerTx","type":"uint256"}],"name":"setMaxFreePerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeSupply","type":"uint256"}],"name":"setMaxFreeSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setPrice","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060119080519060200190620000519291906200096e565b506001601260006101000a81548160ff0219169083151502179055503480156200007a57600080fd5b50604051620046b6380380620046b68339818101604052810190620000a0919062000bf6565b87878160029080519060200190620000ba9291906200096e565b508060039080519060200190620000d39291906200096e565b50620000e4620001ad60201b60201c565b60008190555050506200010c62000100620001b660201b60201c565b620001be60201b60201c565b600160098190555062000125896200028460201b60201c565b62000136866200032f60201b60201c565b6200014785620003c860201b60201c565b62000158846200046160201b60201c565b6200016983620004fa60201b60201c565b6200017a816200059360201b60201c565b6200018b826200062c60201b60201c565b6200019e336001620006c560201b60201c565b50505050505050505062000e1a565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000294620001b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002ba620008c460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000313576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200030a9062000d93565b60405180910390fd5b80601090805190602001906200032b9291906200096e565b5050565b6200033f620001b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000365620008c460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003be576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003b59062000d93565b60405180910390fd5b80600a8190555050565b620003d8620001b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003fe620008c460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000457576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200044e9062000d93565b60405180910390fd5b80600b8190555050565b62000471620001b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000497620008c460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620004f0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004e79062000d93565b60405180910390fd5b80600c8190555050565b6200050a620001b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000530620008c460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000589576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005809062000d93565b60405180910390fd5b80600d8190555050565b620005a3620001b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620005c9620008c460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000622576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006199062000d93565b60405180910390fd5b80600f8190555050565b6200063c620001b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000662620008c460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620006bb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006b29062000d93565b60405180910390fd5b80600e8190555050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141562000733576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156200076f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620007846000848385620008ee60201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506200081383620007f56000866000620008f460201b60201c565b62000806856200092460201b60201c565b176200093460201b60201c565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106200083757806000819055505050620008bf60008483856200095f60201b60201c565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b50505050565b60008060e883901c905060e8620009138686846200096560201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60009392505050565b8280546200097c9062000de4565b90600052602060002090601f016020900481019282620009a05760008555620009ec565b82601f10620009bb57805160ff1916838001178555620009ec565b82800160010185558215620009ec579182015b82811115620009eb578251825591602001919060010190620009ce565b5b509050620009fb9190620009ff565b5090565b5b8082111562000a1a57600081600090555060010162000a00565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000a878262000a3c565b810181811067ffffffffffffffff8211171562000aa95762000aa862000a4d565b5b80604052505050565b600062000abe62000a1e565b905062000acc828262000a7c565b919050565b600067ffffffffffffffff82111562000aef5762000aee62000a4d565b5b62000afa8262000a3c565b9050602081019050919050565b60005b8381101562000b2757808201518184015260208101905062000b0a565b8381111562000b37576000848401525b50505050565b600062000b5462000b4e8462000ad1565b62000ab2565b90508281526020810184848401111562000b735762000b7262000a37565b5b62000b8084828562000b07565b509392505050565b600082601f83011262000ba05762000b9f62000a32565b5b815162000bb284826020860162000b3d565b91505092915050565b6000819050919050565b62000bd08162000bbb565b811462000bdc57600080fd5b50565b60008151905062000bf08162000bc5565b92915050565b60008060008060008060008060006101208a8c03121562000c1c5762000c1b62000a28565b5b60008a015167ffffffffffffffff81111562000c3d5762000c3c62000a2d565b5b62000c4b8c828d0162000b88565b99505060208a015167ffffffffffffffff81111562000c6f5762000c6e62000a2d565b5b62000c7d8c828d0162000b88565b98505060408a015167ffffffffffffffff81111562000ca15762000ca062000a2d565b5b62000caf8c828d0162000b88565b975050606062000cc28c828d0162000bdf565b965050608062000cd58c828d0162000bdf565b95505060a062000ce88c828d0162000bdf565b94505060c062000cfb8c828d0162000bdf565b93505060e062000d0e8c828d0162000bdf565b92505061010062000d228c828d0162000bdf565b9150509295985092959850929598565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000d7b60208362000d32565b915062000d888262000d43565b602082019050919050565b6000602082019050818103600083015262000dae8162000d6c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000dfd57607f821691505b6020821081141562000e145762000e1362000db5565b5b50919050565b61388c8062000e2a6000396000f3fe60806040526004361061021a5760003560e01c80636f8b44b011610123578063b20c3c4e116100ab578063d5abeb011161006f578063d5abeb0114610776578063da3ef23f146107a1578063e268e4d3146107ca578063e985e9c5146107f3578063f2fde38b146108305761021a565b8063b20c3c4e14610691578063b88d4fde146106bc578063c6682862146106e5578063c6f6f21614610710578063c87b56dd146107395761021a565b806391b7f5ed116100f257806391b7f5ed146105cd57806394354fd0146105f657806395d89b4114610621578063a0712d681461064c578063a22cb465146106685761021a565b80636f8b44b01461052557806370a082311461054e578063715018a61461058b5780638da5cb5b146105a25761021a565b80633ccfd60b116101a65780634751333411610175578063475133341461044057806355f804b31461046b5780635b28fd91146104945780635c975abb146104bd5780636352211e146104e85761021a565b80633ccfd60b146103ac57806340f070a8146103c357806342842e0e146103ec578063453c2310146104155761021a565b806313faede6116101ed57806313faede6146102ed57806318160ddd1461031857806323b872dd146103435780632cfee9901461036c57806337a66d85146103955761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b50610246600480360381019061024191906128aa565b610859565b60405161025391906128f2565b60405180910390f35b34801561026857600080fd5b506102716108eb565b60405161027e91906129a6565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a991906129fe565b61097d565b6040516102bb9190612a6c565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e69190612ab3565b6109f9565b005b3480156102f957600080fd5b50610302610b3a565b60405161030f9190612b02565b60405180910390f35b34801561032457600080fd5b5061032d610b40565b60405161033a9190612b02565b60405180910390f35b34801561034f57600080fd5b5061036a60048036038101906103659190612b1d565b610b57565b005b34801561037857600080fd5b50610393600480360381019061038e9190612b70565b610e7c565b005b3480156103a157600080fd5b506103aa610f06565b005b3480156103b857600080fd5b506103c1610fae565b005b3480156103cf57600080fd5b506103ea60048036038101906103e591906129fe565b6110e6565b005b3480156103f857600080fd5b50610413600480360381019061040e9190612b1d565b61116c565b005b34801561042157600080fd5b5061042a61118c565b6040516104379190612b02565b60405180910390f35b34801561044c57600080fd5b50610455611192565b6040516104629190612b02565b60405180910390f35b34801561047757600080fd5b50610492600480360381019061048d9190612ce5565b611198565b005b3480156104a057600080fd5b506104bb60048036038101906104b691906129fe565b61122e565b005b3480156104c957600080fd5b506104d26112b4565b6040516104df91906128f2565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a91906129fe565b6112c7565b60405161051c9190612a6c565b60405180910390f35b34801561053157600080fd5b5061054c600480360381019061054791906129fe565b6112d9565b005b34801561055a57600080fd5b5061057560048036038101906105709190612d2e565b61135f565b6040516105829190612b02565b60405180910390f35b34801561059757600080fd5b506105a0611418565b005b3480156105ae57600080fd5b506105b76114a0565b6040516105c49190612a6c565b60405180910390f35b3480156105d957600080fd5b506105f460048036038101906105ef91906129fe565b6114ca565b005b34801561060257600080fd5b5061060b611550565b6040516106189190612b02565b60405180910390f35b34801561062d57600080fd5b50610636611556565b60405161064391906129a6565b60405180910390f35b610666600480360381019061066191906129fe565b6115e8565b005b34801561067457600080fd5b5061068f600480360381019061068a9190612d87565b6118d6565b005b34801561069d57600080fd5b506106a6611a4e565b6040516106b39190612b02565b60405180910390f35b3480156106c857600080fd5b506106e360048036038101906106de9190612e68565b611a54565b005b3480156106f157600080fd5b506106fa611ac7565b60405161070791906129a6565b60405180910390f35b34801561071c57600080fd5b50610737600480360381019061073291906129fe565b611b55565b005b34801561074557600080fd5b50610760600480360381019061075b91906129fe565b611bdb565b60405161076d91906129a6565b60405180910390f35b34801561078257600080fd5b5061078b611c85565b6040516107989190612b02565b60405180910390f35b3480156107ad57600080fd5b506107c860048036038101906107c39190612ce5565b611c8b565b005b3480156107d657600080fd5b506107f160048036038101906107ec91906129fe565b611d21565b005b3480156107ff57600080fd5b5061081a60048036038101906108159190612eeb565b611da7565b60405161082791906128f2565b60405180910390f35b34801561083c57600080fd5b5061085760048036038101906108529190612d2e565b611e3b565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108b457506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108e45750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546108fa90612f5a565b80601f016020809104026020016040519081016040528092919081815260200182805461092690612f5a565b80156109735780601f1061094857610100808354040283529160200191610973565b820191906000526020600020905b81548152906001019060200180831161095657829003601f168201915b5050505050905090565b600061098882611f33565b6109be576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a04826112c7565b90508073ffffffffffffffffffffffffffffffffffffffff16610a25611f92565b73ffffffffffffffffffffffffffffffffffffffff1614610a8857610a5181610a4c611f92565b611da7565b610a87576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600a5481565b6000610b4a611f9a565b6001546000540303905090565b6000610b6282611fa3565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bc9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610bd584612071565b91509150610beb8187610be6611f92565b612093565b610c3757610c0086610bfb611f92565b611da7565b610c36576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610c9e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610cab86868660016120d7565b8015610cb657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610d8485610d608888876120dd565b7c020000000000000000000000000000000000000000000000000000000017612105565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610e0c576000600185019050600060046000838152602001908152602001600020541415610e0a576000548114610e09578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e748686866001612130565b505050505050565b610e84612136565b73ffffffffffffffffffffffffffffffffffffffff16610ea26114a0565b73ffffffffffffffffffffffffffffffffffffffff1614610ef8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eef90612fd8565b60405180910390fd5b610f02818361213e565b5050565b610f0e612136565b73ffffffffffffffffffffffffffffffffffffffff16610f2c6114a0565b73ffffffffffffffffffffffffffffffffffffffff1614610f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7990612fd8565b60405180910390fd5b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b610fb6612136565b73ffffffffffffffffffffffffffffffffffffffff16610fd46114a0565b73ffffffffffffffffffffffffffffffffffffffff161461102a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102190612fd8565b60405180910390fd5b60004790506000611039612136565b73ffffffffffffffffffffffffffffffffffffffff168260405161105c90613029565b60006040518083038185875af1925050503d8060008114611099576040519150601f19603f3d011682016040523d82523d6000602084013e61109e565b606091505b50509050806110e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d99061308a565b60405180910390fd5b5050565b6110ee612136565b73ffffffffffffffffffffffffffffffffffffffff1661110c6114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611162576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115990612fd8565b60405180910390fd5b80600b8190555050565b61118783838360405180602001604052806000815250611a54565b505050565b600f5481565b600c5481565b6111a0612136565b73ffffffffffffffffffffffffffffffffffffffff166111be6114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120b90612fd8565b60405180910390fd5b806010908051906020019061122a92919061279b565b5050565b611236612136565b73ffffffffffffffffffffffffffffffffffffffff166112546114a0565b73ffffffffffffffffffffffffffffffffffffffff16146112aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a190612fd8565b60405180910390fd5b80600c8190555050565b601260009054906101000a900460ff1681565b60006112d282611fa3565b9050919050565b6112e1612136565b73ffffffffffffffffffffffffffffffffffffffff166112ff6114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134c90612fd8565b60405180910390fd5b80600e8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113c7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611420612136565b73ffffffffffffffffffffffffffffffffffffffff1661143e6114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b90612fd8565b60405180910390fd5b61149e6000612312565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114d2612136565b73ffffffffffffffffffffffffffffffffffffffff166114f06114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611546576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153d90612fd8565b60405180910390fd5b80600a8190555050565b600d5481565b60606003805461156590612f5a565b80601f016020809104026020016040519081016040528092919081815260200182805461159190612f5a565b80156115de5780601f106115b3576101008083540402835291602001916115de565b820191906000526020600020905b8154815290600101906020018083116115c157829003601f168201915b5050505050905090565b806000600a5490506001600c546115ff91906130d9565b82611608610b40565b61161291906130d9565b101561161d57600090505b8181611629919061312f565b34101561166b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611662906131d5565b60405180910390fd5b826001600c5461167b91906130d9565b81611684610b40565b61168e91906130d9565b10156116eb5780601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116e391906130d9565b925050819055505b600b54601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561176f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176690613241565b60405180910390fd5b600f548161177c336123d8565b61178691906130d9565b11156117c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117be906132ad565b60405180910390fd5b6000811180156117d95750600d548111155b611818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180f90613319565b60405180910390fd5b600e5481611824610b40565b61182e91906130d9565b111561186f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186690613385565b60405180910390fd5b601260009054906101000a900460ff16156118bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b6906133f1565b60405180910390fd5b6118d06118ca612136565b8561213e565b50505050565b6118de611f92565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611943576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611950611f92565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119fd611f92565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a4291906128f2565b60405180910390a35050565b600b5481565b611a5f848484610b57565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611ac157611a8a8484848461242f565b611ac0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60118054611ad490612f5a565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0090612f5a565b8015611b4d5780601f10611b2257610100808354040283529160200191611b4d565b820191906000526020600020905b815481529060010190602001808311611b3057829003601f168201915b505050505081565b611b5d612136565b73ffffffffffffffffffffffffffffffffffffffff16611b7b6114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc890612fd8565b60405180910390fd5b80600d8190555050565b6060611be682611f33565b611c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1c90613483565b60405180910390fd5b6000611c2f61258f565b90506000815111611c4f5760405180602001604052806000815250611c7d565b80611c5984612621565b6011604051602001611c6d93929190613573565b6040516020818303038152906040525b915050919050565b600e5481565b611c93612136565b73ffffffffffffffffffffffffffffffffffffffff16611cb16114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe90612fd8565b60405180910390fd5b8060119080519060200190611d1d92919061279b565b5050565b611d29612136565b73ffffffffffffffffffffffffffffffffffffffff16611d476114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9490612fd8565b60405180910390fd5b80600f8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e43612136565b73ffffffffffffffffffffffffffffffffffffffff16611e616114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eae90612fd8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1e90613616565b60405180910390fd5b611f3081612312565b50565b600081611f3e611f9a565b11158015611f4d575060005482105b8015611f8b575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b60008082905080611fb2611f9a565b1161203a576000548110156120395760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612037575b600081141561202d576004600083600190039350838152602001908152602001600020549050612002565b809250505061206c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86120f4868684612782565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121ab576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156121e6576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121f360008483856120d7565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061226a8361225b60008660006120dd565b6122648561278b565b17612105565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061228e5780600081905550505061230d6000848385612130565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612455611f92565b8786866040518563ffffffff1660e01b8152600401612477949392919061368b565b602060405180830381600087803b15801561249157600080fd5b505af19250505080156124c257506040513d601f19601f820116820180604052508101906124bf91906136ec565b60015b61253c573d80600081146124f2576040519150601f19603f3d011682016040523d82523d6000602084013e6124f7565b606091505b50600081511415612534576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606010805461259e90612f5a565b80601f01602080910402602001604051908101604052809291908181526020018280546125ca90612f5a565b80156126175780601f106125ec57610100808354040283529160200191612617565b820191906000526020600020905b8154815290600101906020018083116125fa57829003601f168201915b5050505050905090565b60606000821415612669576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061277d565b600082905060005b6000821461269b57808061268490613719565b915050600a826126949190613791565b9150612671565b60008167ffffffffffffffff8111156126b7576126b6612bba565b5b6040519080825280601f01601f1916602001820160405280156126e95781602001600182028036833780820191505090505b5090505b600085146127765760018261270291906137c2565b9150600a8561271191906137f6565b603061271d91906130d9565b60f81b81838151811061273357612732613827565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561276f9190613791565b94506126ed565b8093505050505b919050565b60009392505050565b60006001821460e11b9050919050565b8280546127a790612f5a565b90600052602060002090601f0160209004810192826127c95760008555612810565b82601f106127e257805160ff1916838001178555612810565b82800160010185558215612810579182015b8281111561280f5782518255916020019190600101906127f4565b5b50905061281d9190612821565b5090565b5b8082111561283a576000816000905550600101612822565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61288781612852565b811461289257600080fd5b50565b6000813590506128a48161287e565b92915050565b6000602082840312156128c0576128bf612848565b5b60006128ce84828501612895565b91505092915050565b60008115159050919050565b6128ec816128d7565b82525050565b600060208201905061290760008301846128e3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561294757808201518184015260208101905061292c565b83811115612956576000848401525b50505050565b6000601f19601f8301169050919050565b60006129788261290d565b6129828185612918565b9350612992818560208601612929565b61299b8161295c565b840191505092915050565b600060208201905081810360008301526129c0818461296d565b905092915050565b6000819050919050565b6129db816129c8565b81146129e657600080fd5b50565b6000813590506129f8816129d2565b92915050565b600060208284031215612a1457612a13612848565b5b6000612a22848285016129e9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612a5682612a2b565b9050919050565b612a6681612a4b565b82525050565b6000602082019050612a816000830184612a5d565b92915050565b612a9081612a4b565b8114612a9b57600080fd5b50565b600081359050612aad81612a87565b92915050565b60008060408385031215612aca57612ac9612848565b5b6000612ad885828601612a9e565b9250506020612ae9858286016129e9565b9150509250929050565b612afc816129c8565b82525050565b6000602082019050612b176000830184612af3565b92915050565b600080600060608486031215612b3657612b35612848565b5b6000612b4486828701612a9e565b9350506020612b5586828701612a9e565b9250506040612b66868287016129e9565b9150509250925092565b60008060408385031215612b8757612b86612848565b5b6000612b95858286016129e9565b9250506020612ba685828601612a9e565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612bf28261295c565b810181811067ffffffffffffffff82111715612c1157612c10612bba565b5b80604052505050565b6000612c2461283e565b9050612c308282612be9565b919050565b600067ffffffffffffffff821115612c5057612c4f612bba565b5b612c598261295c565b9050602081019050919050565b82818337600083830152505050565b6000612c88612c8384612c35565b612c1a565b905082815260208101848484011115612ca457612ca3612bb5565b5b612caf848285612c66565b509392505050565b600082601f830112612ccc57612ccb612bb0565b5b8135612cdc848260208601612c75565b91505092915050565b600060208284031215612cfb57612cfa612848565b5b600082013567ffffffffffffffff811115612d1957612d1861284d565b5b612d2584828501612cb7565b91505092915050565b600060208284031215612d4457612d43612848565b5b6000612d5284828501612a9e565b91505092915050565b612d64816128d7565b8114612d6f57600080fd5b50565b600081359050612d8181612d5b565b92915050565b60008060408385031215612d9e57612d9d612848565b5b6000612dac85828601612a9e565b9250506020612dbd85828601612d72565b9150509250929050565b600067ffffffffffffffff821115612de257612de1612bba565b5b612deb8261295c565b9050602081019050919050565b6000612e0b612e0684612dc7565b612c1a565b905082815260208101848484011115612e2757612e26612bb5565b5b612e32848285612c66565b509392505050565b600082601f830112612e4f57612e4e612bb0565b5b8135612e5f848260208601612df8565b91505092915050565b60008060008060808587031215612e8257612e81612848565b5b6000612e9087828801612a9e565b9450506020612ea187828801612a9e565b9350506040612eb2878288016129e9565b925050606085013567ffffffffffffffff811115612ed357612ed261284d565b5b612edf87828801612e3a565b91505092959194509250565b60008060408385031215612f0257612f01612848565b5b6000612f1085828601612a9e565b9250506020612f2185828601612a9e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612f7257607f821691505b60208210811415612f8657612f85612f2b565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612fc2602083612918565b9150612fcd82612f8c565b602082019050919050565b60006020820190508181036000830152612ff181612fb5565b9050919050565b600081905092915050565b50565b6000613013600083612ff8565b915061301e82613003565b600082019050919050565b600061303482613006565b9150819050919050565b7f4661696c656420746f2073656e64000000000000000000000000000000000000600082015250565b6000613074600e83612918565b915061307f8261303e565b602082019050919050565b600060208201905081810360008301526130a381613067565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130e4826129c8565b91506130ef836129c8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613124576131236130aa565b5b828201905092915050565b600061313a826129c8565b9150613145836129c8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561317e5761317d6130aa565b5b828202905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b60006131bf601383612918565b91506131ca82613189565b602082019050919050565b600060208201905081810360008301526131ee816131b2565b9050919050565b7f457863656564732066726565206d617820706572207478210000000000000000600082015250565b600061322b601883612918565b9150613236826131f5565b602082019050919050565b6000602082019050818103600083015261325a8161321e565b9050919050565b7f45786365656473206d61782077616c6c6574206c696d69747321000000000000600082015250565b6000613297601a83612918565b91506132a282613261565b602082019050919050565b600060208201905081810360008301526132c68161328a565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000613303601483612918565b915061330e826132cd565b602082019050919050565b60006020820190508181036000830152613332816132f6565b9050919050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b600061336f601483612918565b915061337a82613339565b602082019050919050565b6000602082019050818103600083015261339e81613362565b9050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b60006133db601783612918565b91506133e6826133a5565b602082019050919050565b6000602082019050818103600083015261340a816133ce565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061346d602f83612918565b915061347882613411565b604082019050919050565b6000602082019050818103600083015261349c81613460565b9050919050565b600081905092915050565b60006134b98261290d565b6134c381856134a3565b93506134d3818560208601612929565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461350181612f5a565b61350b81866134a3565b9450600182166000811461352657600181146135375761356a565b60ff1983168652818601935061356a565b613540856134df565b60005b8381101561356257815481890152600182019150602081019050613543565b838801955050505b50505092915050565b600061357f82866134ae565b915061358b82856134ae565b915061359782846134f4565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613600602683612918565b915061360b826135a4565b604082019050919050565b6000602082019050818103600083015261362f816135f3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061365d82613636565b6136678185613641565b9350613677818560208601612929565b6136808161295c565b840191505092915050565b60006080820190506136a06000830187612a5d565b6136ad6020830186612a5d565b6136ba6040830185612af3565b81810360608301526136cc8184613652565b905095945050505050565b6000815190506136e68161287e565b92915050565b60006020828403121561370257613701612848565b5b6000613710848285016136d7565b91505092915050565b6000613724826129c8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613757576137566130aa565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061379c826129c8565b91506137a7836129c8565b9250826137b7576137b6613762565b5b828204905092915050565b60006137cd826129c8565b91506137d8836129c8565b9250828210156137eb576137ea6130aa565b5b828203905092915050565b6000613801826129c8565b915061380c836129c8565b92508261381c5761381b613762565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220c900c7a4c5acd2aa650feb6b239e3d1f992e3ba14b6fbfad5b7f496610e36e5664736f6c634300080900330000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000089800000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d594e52436e516b31373551655931584765735543596a635a5441487878766d416f354a474d3246664a6169762f000000000000000000000000000000000000000000000000000000000000000000000000000000000009476c69746368706f70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024750000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061021a5760003560e01c80636f8b44b011610123578063b20c3c4e116100ab578063d5abeb011161006f578063d5abeb0114610776578063da3ef23f146107a1578063e268e4d3146107ca578063e985e9c5146107f3578063f2fde38b146108305761021a565b8063b20c3c4e14610691578063b88d4fde146106bc578063c6682862146106e5578063c6f6f21614610710578063c87b56dd146107395761021a565b806391b7f5ed116100f257806391b7f5ed146105cd57806394354fd0146105f657806395d89b4114610621578063a0712d681461064c578063a22cb465146106685761021a565b80636f8b44b01461052557806370a082311461054e578063715018a61461058b5780638da5cb5b146105a25761021a565b80633ccfd60b116101a65780634751333411610175578063475133341461044057806355f804b31461046b5780635b28fd91146104945780635c975abb146104bd5780636352211e146104e85761021a565b80633ccfd60b146103ac57806340f070a8146103c357806342842e0e146103ec578063453c2310146104155761021a565b806313faede6116101ed57806313faede6146102ed57806318160ddd1461031857806323b872dd146103435780632cfee9901461036c57806337a66d85146103955761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b50610246600480360381019061024191906128aa565b610859565b60405161025391906128f2565b60405180910390f35b34801561026857600080fd5b506102716108eb565b60405161027e91906129a6565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a991906129fe565b61097d565b6040516102bb9190612a6c565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e69190612ab3565b6109f9565b005b3480156102f957600080fd5b50610302610b3a565b60405161030f9190612b02565b60405180910390f35b34801561032457600080fd5b5061032d610b40565b60405161033a9190612b02565b60405180910390f35b34801561034f57600080fd5b5061036a60048036038101906103659190612b1d565b610b57565b005b34801561037857600080fd5b50610393600480360381019061038e9190612b70565b610e7c565b005b3480156103a157600080fd5b506103aa610f06565b005b3480156103b857600080fd5b506103c1610fae565b005b3480156103cf57600080fd5b506103ea60048036038101906103e591906129fe565b6110e6565b005b3480156103f857600080fd5b50610413600480360381019061040e9190612b1d565b61116c565b005b34801561042157600080fd5b5061042a61118c565b6040516104379190612b02565b60405180910390f35b34801561044c57600080fd5b50610455611192565b6040516104629190612b02565b60405180910390f35b34801561047757600080fd5b50610492600480360381019061048d9190612ce5565b611198565b005b3480156104a057600080fd5b506104bb60048036038101906104b691906129fe565b61122e565b005b3480156104c957600080fd5b506104d26112b4565b6040516104df91906128f2565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a91906129fe565b6112c7565b60405161051c9190612a6c565b60405180910390f35b34801561053157600080fd5b5061054c600480360381019061054791906129fe565b6112d9565b005b34801561055a57600080fd5b5061057560048036038101906105709190612d2e565b61135f565b6040516105829190612b02565b60405180910390f35b34801561059757600080fd5b506105a0611418565b005b3480156105ae57600080fd5b506105b76114a0565b6040516105c49190612a6c565b60405180910390f35b3480156105d957600080fd5b506105f460048036038101906105ef91906129fe565b6114ca565b005b34801561060257600080fd5b5061060b611550565b6040516106189190612b02565b60405180910390f35b34801561062d57600080fd5b50610636611556565b60405161064391906129a6565b60405180910390f35b610666600480360381019061066191906129fe565b6115e8565b005b34801561067457600080fd5b5061068f600480360381019061068a9190612d87565b6118d6565b005b34801561069d57600080fd5b506106a6611a4e565b6040516106b39190612b02565b60405180910390f35b3480156106c857600080fd5b506106e360048036038101906106de9190612e68565b611a54565b005b3480156106f157600080fd5b506106fa611ac7565b60405161070791906129a6565b60405180910390f35b34801561071c57600080fd5b50610737600480360381019061073291906129fe565b611b55565b005b34801561074557600080fd5b50610760600480360381019061075b91906129fe565b611bdb565b60405161076d91906129a6565b60405180910390f35b34801561078257600080fd5b5061078b611c85565b6040516107989190612b02565b60405180910390f35b3480156107ad57600080fd5b506107c860048036038101906107c39190612ce5565b611c8b565b005b3480156107d657600080fd5b506107f160048036038101906107ec91906129fe565b611d21565b005b3480156107ff57600080fd5b5061081a60048036038101906108159190612eeb565b611da7565b60405161082791906128f2565b60405180910390f35b34801561083c57600080fd5b5061085760048036038101906108529190612d2e565b611e3b565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108b457506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108e45750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546108fa90612f5a565b80601f016020809104026020016040519081016040528092919081815260200182805461092690612f5a565b80156109735780601f1061094857610100808354040283529160200191610973565b820191906000526020600020905b81548152906001019060200180831161095657829003601f168201915b5050505050905090565b600061098882611f33565b6109be576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a04826112c7565b90508073ffffffffffffffffffffffffffffffffffffffff16610a25611f92565b73ffffffffffffffffffffffffffffffffffffffff1614610a8857610a5181610a4c611f92565b611da7565b610a87576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600a5481565b6000610b4a611f9a565b6001546000540303905090565b6000610b6282611fa3565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bc9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610bd584612071565b91509150610beb8187610be6611f92565b612093565b610c3757610c0086610bfb611f92565b611da7565b610c36576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610c9e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610cab86868660016120d7565b8015610cb657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610d8485610d608888876120dd565b7c020000000000000000000000000000000000000000000000000000000017612105565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610e0c576000600185019050600060046000838152602001908152602001600020541415610e0a576000548114610e09578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e748686866001612130565b505050505050565b610e84612136565b73ffffffffffffffffffffffffffffffffffffffff16610ea26114a0565b73ffffffffffffffffffffffffffffffffffffffff1614610ef8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eef90612fd8565b60405180910390fd5b610f02818361213e565b5050565b610f0e612136565b73ffffffffffffffffffffffffffffffffffffffff16610f2c6114a0565b73ffffffffffffffffffffffffffffffffffffffff1614610f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7990612fd8565b60405180910390fd5b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b610fb6612136565b73ffffffffffffffffffffffffffffffffffffffff16610fd46114a0565b73ffffffffffffffffffffffffffffffffffffffff161461102a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102190612fd8565b60405180910390fd5b60004790506000611039612136565b73ffffffffffffffffffffffffffffffffffffffff168260405161105c90613029565b60006040518083038185875af1925050503d8060008114611099576040519150601f19603f3d011682016040523d82523d6000602084013e61109e565b606091505b50509050806110e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d99061308a565b60405180910390fd5b5050565b6110ee612136565b73ffffffffffffffffffffffffffffffffffffffff1661110c6114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611162576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115990612fd8565b60405180910390fd5b80600b8190555050565b61118783838360405180602001604052806000815250611a54565b505050565b600f5481565b600c5481565b6111a0612136565b73ffffffffffffffffffffffffffffffffffffffff166111be6114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120b90612fd8565b60405180910390fd5b806010908051906020019061122a92919061279b565b5050565b611236612136565b73ffffffffffffffffffffffffffffffffffffffff166112546114a0565b73ffffffffffffffffffffffffffffffffffffffff16146112aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a190612fd8565b60405180910390fd5b80600c8190555050565b601260009054906101000a900460ff1681565b60006112d282611fa3565b9050919050565b6112e1612136565b73ffffffffffffffffffffffffffffffffffffffff166112ff6114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134c90612fd8565b60405180910390fd5b80600e8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113c7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611420612136565b73ffffffffffffffffffffffffffffffffffffffff1661143e6114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b90612fd8565b60405180910390fd5b61149e6000612312565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114d2612136565b73ffffffffffffffffffffffffffffffffffffffff166114f06114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611546576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153d90612fd8565b60405180910390fd5b80600a8190555050565b600d5481565b60606003805461156590612f5a565b80601f016020809104026020016040519081016040528092919081815260200182805461159190612f5a565b80156115de5780601f106115b3576101008083540402835291602001916115de565b820191906000526020600020905b8154815290600101906020018083116115c157829003601f168201915b5050505050905090565b806000600a5490506001600c546115ff91906130d9565b82611608610b40565b61161291906130d9565b101561161d57600090505b8181611629919061312f565b34101561166b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611662906131d5565b60405180910390fd5b826001600c5461167b91906130d9565b81611684610b40565b61168e91906130d9565b10156116eb5780601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116e391906130d9565b925050819055505b600b54601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561176f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176690613241565b60405180910390fd5b600f548161177c336123d8565b61178691906130d9565b11156117c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117be906132ad565b60405180910390fd5b6000811180156117d95750600d548111155b611818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180f90613319565b60405180910390fd5b600e5481611824610b40565b61182e91906130d9565b111561186f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186690613385565b60405180910390fd5b601260009054906101000a900460ff16156118bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b6906133f1565b60405180910390fd5b6118d06118ca612136565b8561213e565b50505050565b6118de611f92565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611943576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611950611f92565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119fd611f92565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a4291906128f2565b60405180910390a35050565b600b5481565b611a5f848484610b57565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611ac157611a8a8484848461242f565b611ac0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60118054611ad490612f5a565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0090612f5a565b8015611b4d5780601f10611b2257610100808354040283529160200191611b4d565b820191906000526020600020905b815481529060010190602001808311611b3057829003601f168201915b505050505081565b611b5d612136565b73ffffffffffffffffffffffffffffffffffffffff16611b7b6114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc890612fd8565b60405180910390fd5b80600d8190555050565b6060611be682611f33565b611c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1c90613483565b60405180910390fd5b6000611c2f61258f565b90506000815111611c4f5760405180602001604052806000815250611c7d565b80611c5984612621565b6011604051602001611c6d93929190613573565b6040516020818303038152906040525b915050919050565b600e5481565b611c93612136565b73ffffffffffffffffffffffffffffffffffffffff16611cb16114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe90612fd8565b60405180910390fd5b8060119080519060200190611d1d92919061279b565b5050565b611d29612136565b73ffffffffffffffffffffffffffffffffffffffff16611d476114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9490612fd8565b60405180910390fd5b80600f8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e43612136565b73ffffffffffffffffffffffffffffffffffffffff16611e616114a0565b73ffffffffffffffffffffffffffffffffffffffff1614611eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eae90612fd8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1e90613616565b60405180910390fd5b611f3081612312565b50565b600081611f3e611f9a565b11158015611f4d575060005482105b8015611f8b575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b60008082905080611fb2611f9a565b1161203a576000548110156120395760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612037575b600081141561202d576004600083600190039350838152602001908152602001600020549050612002565b809250505061206c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86120f4868684612782565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121ab576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156121e6576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121f360008483856120d7565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061226a8361225b60008660006120dd565b6122648561278b565b17612105565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061228e5780600081905550505061230d6000848385612130565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612455611f92565b8786866040518563ffffffff1660e01b8152600401612477949392919061368b565b602060405180830381600087803b15801561249157600080fd5b505af19250505080156124c257506040513d601f19601f820116820180604052508101906124bf91906136ec565b60015b61253c573d80600081146124f2576040519150601f19603f3d011682016040523d82523d6000602084013e6124f7565b606091505b50600081511415612534576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606010805461259e90612f5a565b80601f01602080910402602001604051908101604052809291908181526020018280546125ca90612f5a565b80156126175780601f106125ec57610100808354040283529160200191612617565b820191906000526020600020905b8154815290600101906020018083116125fa57829003601f168201915b5050505050905090565b60606000821415612669576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061277d565b600082905060005b6000821461269b57808061268490613719565b915050600a826126949190613791565b9150612671565b60008167ffffffffffffffff8111156126b7576126b6612bba565b5b6040519080825280601f01601f1916602001820160405280156126e95781602001600182028036833780820191505090505b5090505b600085146127765760018261270291906137c2565b9150600a8561271191906137f6565b603061271d91906130d9565b60f81b81838151811061273357612732613827565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561276f9190613791565b94506126ed565b8093505050505b919050565b60009392505050565b60006001821460e11b9050919050565b8280546127a790612f5a565b90600052602060002090601f0160209004810192826127c95760008555612810565b82601f106127e257805160ff1916838001178555612810565b82800160010185558215612810579182015b8281111561280f5782518255916020019190600101906127f4565b5b50905061281d9190612821565b5090565b5b8082111561283a576000816000905550600101612822565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61288781612852565b811461289257600080fd5b50565b6000813590506128a48161287e565b92915050565b6000602082840312156128c0576128bf612848565b5b60006128ce84828501612895565b91505092915050565b60008115159050919050565b6128ec816128d7565b82525050565b600060208201905061290760008301846128e3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561294757808201518184015260208101905061292c565b83811115612956576000848401525b50505050565b6000601f19601f8301169050919050565b60006129788261290d565b6129828185612918565b9350612992818560208601612929565b61299b8161295c565b840191505092915050565b600060208201905081810360008301526129c0818461296d565b905092915050565b6000819050919050565b6129db816129c8565b81146129e657600080fd5b50565b6000813590506129f8816129d2565b92915050565b600060208284031215612a1457612a13612848565b5b6000612a22848285016129e9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612a5682612a2b565b9050919050565b612a6681612a4b565b82525050565b6000602082019050612a816000830184612a5d565b92915050565b612a9081612a4b565b8114612a9b57600080fd5b50565b600081359050612aad81612a87565b92915050565b60008060408385031215612aca57612ac9612848565b5b6000612ad885828601612a9e565b9250506020612ae9858286016129e9565b9150509250929050565b612afc816129c8565b82525050565b6000602082019050612b176000830184612af3565b92915050565b600080600060608486031215612b3657612b35612848565b5b6000612b4486828701612a9e565b9350506020612b5586828701612a9e565b9250506040612b66868287016129e9565b9150509250925092565b60008060408385031215612b8757612b86612848565b5b6000612b95858286016129e9565b9250506020612ba685828601612a9e565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612bf28261295c565b810181811067ffffffffffffffff82111715612c1157612c10612bba565b5b80604052505050565b6000612c2461283e565b9050612c308282612be9565b919050565b600067ffffffffffffffff821115612c5057612c4f612bba565b5b612c598261295c565b9050602081019050919050565b82818337600083830152505050565b6000612c88612c8384612c35565b612c1a565b905082815260208101848484011115612ca457612ca3612bb5565b5b612caf848285612c66565b509392505050565b600082601f830112612ccc57612ccb612bb0565b5b8135612cdc848260208601612c75565b91505092915050565b600060208284031215612cfb57612cfa612848565b5b600082013567ffffffffffffffff811115612d1957612d1861284d565b5b612d2584828501612cb7565b91505092915050565b600060208284031215612d4457612d43612848565b5b6000612d5284828501612a9e565b91505092915050565b612d64816128d7565b8114612d6f57600080fd5b50565b600081359050612d8181612d5b565b92915050565b60008060408385031215612d9e57612d9d612848565b5b6000612dac85828601612a9e565b9250506020612dbd85828601612d72565b9150509250929050565b600067ffffffffffffffff821115612de257612de1612bba565b5b612deb8261295c565b9050602081019050919050565b6000612e0b612e0684612dc7565b612c1a565b905082815260208101848484011115612e2757612e26612bb5565b5b612e32848285612c66565b509392505050565b600082601f830112612e4f57612e4e612bb0565b5b8135612e5f848260208601612df8565b91505092915050565b60008060008060808587031215612e8257612e81612848565b5b6000612e9087828801612a9e565b9450506020612ea187828801612a9e565b9350506040612eb2878288016129e9565b925050606085013567ffffffffffffffff811115612ed357612ed261284d565b5b612edf87828801612e3a565b91505092959194509250565b60008060408385031215612f0257612f01612848565b5b6000612f1085828601612a9e565b9250506020612f2185828601612a9e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612f7257607f821691505b60208210811415612f8657612f85612f2b565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612fc2602083612918565b9150612fcd82612f8c565b602082019050919050565b60006020820190508181036000830152612ff181612fb5565b9050919050565b600081905092915050565b50565b6000613013600083612ff8565b915061301e82613003565b600082019050919050565b600061303482613006565b9150819050919050565b7f4661696c656420746f2073656e64000000000000000000000000000000000000600082015250565b6000613074600e83612918565b915061307f8261303e565b602082019050919050565b600060208201905081810360008301526130a381613067565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130e4826129c8565b91506130ef836129c8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613124576131236130aa565b5b828201905092915050565b600061313a826129c8565b9150613145836129c8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561317e5761317d6130aa565b5b828202905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b60006131bf601383612918565b91506131ca82613189565b602082019050919050565b600060208201905081810360008301526131ee816131b2565b9050919050565b7f457863656564732066726565206d617820706572207478210000000000000000600082015250565b600061322b601883612918565b9150613236826131f5565b602082019050919050565b6000602082019050818103600083015261325a8161321e565b9050919050565b7f45786365656473206d61782077616c6c6574206c696d69747321000000000000600082015250565b6000613297601a83612918565b91506132a282613261565b602082019050919050565b600060208201905081810360008301526132c68161328a565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000613303601483612918565b915061330e826132cd565b602082019050919050565b60006020820190508181036000830152613332816132f6565b9050919050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b600061336f601483612918565b915061337a82613339565b602082019050919050565b6000602082019050818103600083015261339e81613362565b9050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b60006133db601783612918565b91506133e6826133a5565b602082019050919050565b6000602082019050818103600083015261340a816133ce565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061346d602f83612918565b915061347882613411565b604082019050919050565b6000602082019050818103600083015261349c81613460565b9050919050565b600081905092915050565b60006134b98261290d565b6134c381856134a3565b93506134d3818560208601612929565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461350181612f5a565b61350b81866134a3565b9450600182166000811461352657600181146135375761356a565b60ff1983168652818601935061356a565b613540856134df565b60005b8381101561356257815481890152600182019150602081019050613543565b838801955050505b50505092915050565b600061357f82866134ae565b915061358b82856134ae565b915061359782846134f4565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613600602683612918565b915061360b826135a4565b604082019050919050565b6000602082019050818103600083015261362f816135f3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061365d82613636565b6136678185613641565b9350613677818560208601612929565b6136808161295c565b840191505092915050565b60006080820190506136a06000830187612a5d565b6136ad6020830186612a5d565b6136ba6040830185612af3565b81810360608301526136cc8184613652565b905095945050505050565b6000815190506136e68161287e565b92915050565b60006020828403121561370257613701612848565b5b6000613710848285016136d7565b91505092915050565b6000613724826129c8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613757576137566130aa565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061379c826129c8565b91506137a7836129c8565b9250826137b7576137b6613762565b5b828204905092915050565b60006137cd826129c8565b91506137d8836129c8565b9250828210156137eb576137ea6130aa565b5b828203905092915050565b6000613801826129c8565b915061380c836129c8565b92508261381c5761381b613762565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220c900c7a4c5acd2aa650feb6b239e3d1f992e3ba14b6fbfad5b7f496610e36e5664736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000089800000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d594e52436e516b31373551655931584765735543596a635a5441487878766d416f354a474d3246664a6169762f000000000000000000000000000000000000000000000000000000000000000000000000000000000009476c69746368706f70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024750000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _initBaseURI (string): ipfs://QmYNRCnQk175QeY1XGesUCYjcZTAHxxvmAo5JGM2FfJaiv/
Arg [1] : _tokenName (string): Glitchpop
Arg [2] : _tokenSymbol (string): GP
Arg [3] : _cost (uint256): 10000000000000000
Arg [4] : _maxFreeMintsPerTx (uint256): 3
Arg [5] : _maxFreeSupply (uint256): 500
Arg [6] : _maxMintAmountPerTx (uint256): 3
Arg [7] : _maxSupply (uint256): 2200
Arg [8] : _maxPerWallet (uint256): 3
-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [3] : 000000000000000000000000000000000000000000000000002386f26fc10000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000898
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [10] : 697066733a2f2f516d594e52436e516b31373551655931584765735543596a63
Arg [11] : 5a5441487878766d416f354a474d3246664a6169762f00000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [13] : 476c69746368706f700000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [15] : 4750000000000000000000000000000000000000000000000000000000000000
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.