Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,614 EGGCO
Holders
487
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 EGGCOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
EGGCO
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.4; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract EGGCO is ERC721A, Ownable{ using ECDSA for bytes32; uint256 public MAX_MINT = 5; uint256 public MAX_ADMIN_MINT = 223; uint256 public COST = 69000000000000000; uint256 public COLLECTION_SIZE = 8000; bool public openForPublic; address private signer; address payable private EGGWALLET; uint256 public adminMints; string internal baseURI; struct URI { string path;//the path uint256 upto;//represents tokens from the top of the last URI upto this value } URI[] private URIs; constructor() ERC721A("E.G.G. Collective", "EGGCO"){ baseURI = "ipfs://Qme2MQ5xt88ohcGDA3ZhmHMFJMdhWs6YtbfnenTGPs5yKj"; //Placeholder Token signer = 0xBf2AB93ec5f9661A8F97211981fF2199F0A09D9c; EGGWALLET = payable(0xCf8dC536e9016a89298eC9a57b17e455Fe3451eA); } function mint(uint256 quantity, uint8 mintType, bytes memory signature) external payable { require(mintType == 0); require(quantity > 0, "Zero mint dissallowed"); require(quantity <= MAX_MINT, "Exceeds max mint per transaction"); require(_totalMinted() + quantity <= COLLECTION_SIZE, "Mint would exceed collection size"); require(msg.value >= COST * quantity, "insufficient funds"); if(!openForPublic) require(verify(msg.sender, mintType, signature), "ACCESS DENIED"); _mint(msg.sender, quantity); } function verify(address user, uint8 mintType, bytes memory signature) private view returns (bool){ return keccak256(abi.encode(user, mintType)).toEthSignedMessageHash().recover(signature) == signer; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); bool locatedURI; uint256 index; for(uint256 i = 0; i < URIs.length; i++){ if(tokenId <= URIs[i].upto){ locatedURI = true; index = i; break; } } return locatedURI ? string(abi.encodePacked(URIs[index].path, _toString(tokenId + 1), ".json")) : baseURI; } function revealBatch(string memory newURI, uint256 upto) public onlyOwner{ if(URIs.length > 0) require(URIs[URIs.length - 1].upto < upto, "Batch must not include existing batches"); require(upto <= _totalMinted(), "Batch includes unminted tokens"); URI memory uri = URI(newURI, upto); URIs.push(uri); } function adminMint(uint256 quantity) public onlyOwner{ require(_totalMinted() + quantity <= COLLECTION_SIZE, "Would exceed collection size"); require(adminMints + quantity <= MAX_ADMIN_MINT, "Would exceed max admin mints"); adminMints += quantity; _mint(msg.sender, quantity); } function withdraw() public onlyOwner{ EGGWALLET.transfer(address(this).balance); } function setOpenForPublic() public onlyOwner{ openForPublic = !openForPublic; } function setSigner(address newSigner) public onlyOwner{ signer = newSigner; } function setPlaceholder(string memory newURI) public onlyOwner{ baseURI = newURI; } function setPrice(uint256 newPrice) public onlyOwner{ COST = newPrice; } }
// 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 (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// 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; } }
// 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); } }
{ "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":[],"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":[],"name":"COLLECTION_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ADMIN_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"adminMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint8","name":"mintType","type":"uint8"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openForPublic","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"},{"internalType":"uint256","name":"upto","type":"uint256"}],"name":"revealBatch","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":[],"name":"setOpenForPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setPlaceholder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setSigner","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
6080604052600560095560df600a5566f5232269808000600b55611f40600c553480156200002c57600080fd5b506040518060400160405280601181526020017f452e472e472e20436f6c6c6563746976650000000000000000000000000000008152506040518060400160405280600581526020017f454747434f0000000000000000000000000000000000000000000000000000008152508160029080519060200190620000b1929190620002b8565b508060039080519060200190620000ca929190620002b8565b50620000db620001e560201b60201c565b600081905550505062000103620000f7620001ea60201b60201c565b620001f260201b60201c565b60405180606001604052806035815260200162004224603591396010908051906020019062000134929190620002b8565b5073bf2ab93ec5f9661a8f97211981ff2199f0a09d9c600d60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073cf8dc536e9016a89298ec9a57b17e455fe3451ea600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620003cd565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002c69062000368565b90600052602060002090601f016020900481019282620002ea576000855562000336565b82601f106200030557805160ff191683800117855562000336565b8280016001018555821562000336579182015b828111156200033557825182559160200191906001019062000318565b5b50905062000345919062000349565b5090565b5b80821115620003645760008160009055506001016200034a565b5090565b600060028204905060018216806200038157607f821691505b602082108114156200039857620003976200039e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b613e4780620003dd6000396000f3fe6080604052600436106101d85760003560e01c80638da5cb5b11610102578063cc1afc5411610095578063eff3c4e711610064578063eff3c4e714610675578063f0292a03146106a0578063f2fde38b146106cb578063f4e8b450146106f4576101d8565b8063cc1afc54146105c6578063d0c801d5146105f1578063d8258d951461060d578063e985e9c514610638576101d8565b8063b88d4fde116100d1578063b88d4fde1461050c578063bf8fbbd214610535578063c1f2612314610560578063c87b56dd14610589576101d8565b80638da5cb5b1461046457806391b7f5ed1461048f57806395d89b41146104b8578063a22cb465146104e3576101d8565b80633ccfd60b1161017a5780636c19e783116101495780636c19e783146103d057806370a08231146103f9578063715018a614610436578063817abd9d1461044d576101d8565b80633ccfd60b1461032a57806342842e0e146103415780636352211e1461036a57806363f7e095146103a7576101d8565b8063095ea7b3116101b6578063095ea7b31461028257806318160ddd146102ab57806323b872dd146102d65780632f21f307146102ff576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612d93565b61071d565b60405161021191906133c6565b60405180910390f35b34801561022657600080fd5b5061022f6107af565b60405161023c9190613426565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190612e7a565b610841565b6040516102799190613336565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190612d57565b6108bd565b005b3480156102b757600080fd5b506102c06109fe565b6040516102cd9190613628565b60405180910390f35b3480156102e257600080fd5b506102fd60048036038101906102f89190612c51565b610a15565b005b34801561030b57600080fd5b50610314610d3a565b6040516103219190613628565b60405180910390f35b34801561033657600080fd5b5061033f610d40565b005b34801561034d57600080fd5b5061036860048036038101906103639190612c51565b610e27565b005b34801561037657600080fd5b50610391600480360381019061038c9190612e7a565b610e47565b60405161039e9190613336565b60405180910390f35b3480156103b357600080fd5b506103ce60048036038101906103c99190612e26565b610e59565b005b3480156103dc57600080fd5b506103f760048036038101906103f29190612bec565b61103f565b005b34801561040557600080fd5b50610420600480360381019061041b9190612bec565b6110ff565b60405161042d9190613628565b60405180910390f35b34801561044257600080fd5b5061044b6111b8565b005b34801561045957600080fd5b50610462611240565b005b34801561047057600080fd5b506104796112e8565b6040516104869190613336565b60405180910390f35b34801561049b57600080fd5b506104b660048036038101906104b19190612e7a565b611312565b005b3480156104c457600080fd5b506104cd611398565b6040516104da9190613426565b60405180910390f35b3480156104ef57600080fd5b5061050a60048036038101906105059190612d1b565b61142a565b005b34801561051857600080fd5b50610533600480360381019061052e9190612ca0565b6115a2565b005b34801561054157600080fd5b5061054a611615565b6040516105579190613628565b60405180910390f35b34801561056c57600080fd5b5061058760048036038101906105829190612e7a565b61161b565b005b34801561059557600080fd5b506105b060048036038101906105ab9190612e7a565b611766565b6040516105bd9190613426565b60405180910390f35b3480156105d257600080fd5b506105db61194b565b6040516105e89190613628565b60405180910390f35b61060b60048036038101906106069190612ea3565b611951565b005b34801561061957600080fd5b50610622611afe565b60405161062f9190613628565b60405180910390f35b34801561064457600080fd5b5061065f600480360381019061065a9190612c15565b611b04565b60405161066c91906133c6565b60405180910390f35b34801561068157600080fd5b5061068a611b98565b60405161069791906133c6565b60405180910390f35b3480156106ac57600080fd5b506106b5611bab565b6040516106c29190613628565b60405180910390f35b3480156106d757600080fd5b506106f260048036038101906106ed9190612bec565b611bb1565b005b34801561070057600080fd5b5061071b60048036038101906107169190612de5565b611ca9565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107a85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546107be906138d3565b80601f01602080910402602001604051908101604052809291908181526020018280546107ea906138d3565b80156108375780601f1061080c57610100808354040283529160200191610837565b820191906000526020600020905b81548152906001019060200180831161081a57829003601f168201915b5050505050905090565b600061084c82611d3f565b610882576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108c882610e47565b90508073ffffffffffffffffffffffffffffffffffffffff166108e9611d9e565b73ffffffffffffffffffffffffffffffffffffffff161461094c5761091581610910611d9e565b611b04565b61094b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610a08611da6565b6001546000540303905090565b6000610a2082611dab565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a87576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610a9384611e79565b91509150610aa98187610aa4611d9e565b611e9b565b610af557610abe86610ab9611d9e565b611b04565b610af4576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610b5c576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b698686866001611edf565b8015610b7457600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610c4285610c1e888887611ee5565b7c020000000000000000000000000000000000000000000000000000000017611f0d565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610cca576000600185019050600060046000838152602001908152602001600020541415610cc8576000548114610cc7578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d328686866001611f38565b505050505050565b600a5481565b610d48611f3e565b73ffffffffffffffffffffffffffffffffffffffff16610d666112e8565b73ffffffffffffffffffffffffffffffffffffffff1614610dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db390613588565b60405180910390fd5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e24573d6000803e3d6000fd5b50565b610e42838383604051806020016040528060008152506115a2565b505050565b6000610e5282611dab565b9050919050565b610e61611f3e565b73ffffffffffffffffffffffffffffffffffffffff16610e7f6112e8565b73ffffffffffffffffffffffffffffffffffffffff1614610ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecc90613588565b60405180910390fd5b60006011805490501115610f82578060116001601180549050610ef891906137d2565b81548110610f2f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600202016001015410610f81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f78906135c8565b60405180910390fd5b5b610f8a611f46565b811115610fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc3906135e8565b60405180910390fd5b600060405180604001604052808481526020018381525090506011819080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001908051906020019061102d9291906129fb565b50602082015181600101555050505050565b611047611f3e565b73ffffffffffffffffffffffffffffffffffffffff166110656112e8565b73ffffffffffffffffffffffffffffffffffffffff16146110bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b290613588565b60405180910390fd5b80600d60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611167576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6111c0611f3e565b73ffffffffffffffffffffffffffffffffffffffff166111de6112e8565b73ffffffffffffffffffffffffffffffffffffffff1614611234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122b90613588565b60405180910390fd5b61123e6000611f59565b565b611248611f3e565b73ffffffffffffffffffffffffffffffffffffffff166112666112e8565b73ffffffffffffffffffffffffffffffffffffffff16146112bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b390613588565b60405180910390fd5b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61131a611f3e565b73ffffffffffffffffffffffffffffffffffffffff166113386112e8565b73ffffffffffffffffffffffffffffffffffffffff161461138e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138590613588565b60405180910390fd5b80600b8190555050565b6060600380546113a7906138d3565b80601f01602080910402602001604051908101604052809291908181526020018280546113d3906138d3565b80156114205780601f106113f557610100808354040283529160200191611420565b820191906000526020600020905b81548152906001019060200180831161140357829003601f168201915b5050505050905090565b611432611d9e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611497576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006114a4611d9e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611551611d9e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161159691906133c6565b60405180910390a35050565b6115ad848484610a15565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461160f576115d88484848461201f565b61160e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600b5481565b611623611f3e565b73ffffffffffffffffffffffffffffffffffffffff166116416112e8565b73ffffffffffffffffffffffffffffffffffffffff1614611697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168e90613588565b60405180910390fd5b600c54816116a3611f46565b6116ad9190613722565b11156116ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e5906134a8565b60405180910390fd5b600a5481600f546116ff9190613722565b1115611740576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173790613568565b60405180910390fd5b80600f60008282546117529190613722565b92505081905550611763338261217f565b50565b606061177182611d3f565b6117a7576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060005b60118054905081101561182b57601181815481106117f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060020201600101548511611818576001925080915061182b565b808061182390613936565b9150506117ad565b50816118c1576010805461183e906138d3565b80601f016020809104026020016040519081016040528092919081815260200182805461186a906138d3565b80156118b75780601f1061188c576101008083540402835291602001916118b7565b820191906000526020600020905b81548152906001019060200180831161189a57829003601f168201915b5050505050611942565b601181815481106118fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020160000161192160018661191c9190613722565b612353565b6040516020016119329291906132e1565b6040516020818303038152906040525b92505050919050565b600f5481565b60008260ff161461196157600080fd5b600083116119a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199b90613508565b60405180910390fd5b6009548311156119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e090613608565b60405180910390fd5b600c54836119f5611f46565b6119ff9190613722565b1115611a40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a37906134c8565b60405180910390fd5b82600b54611a4e9190613778565b341015611a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a87906135a8565b60405180910390fd5b600d60009054906101000a900460ff16611aef57611aaf3383836123ad565b611aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae590613548565b60405180910390fd5b5b611af9338461217f565b505050565b600c5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60009054906101000a900460ff1681565b60095481565b611bb9611f3e565b73ffffffffffffffffffffffffffffffffffffffff16611bd76112e8565b73ffffffffffffffffffffffffffffffffffffffff1614611c2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2490613588565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9490613488565b60405180910390fd5b611ca681611f59565b50565b611cb1611f3e565b73ffffffffffffffffffffffffffffffffffffffff16611ccf6112e8565b73ffffffffffffffffffffffffffffffffffffffff1614611d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1c90613588565b60405180910390fd5b8060109080519060200190611d3b9291906129fb565b5050565b600081611d4a611da6565b11158015611d59575060005482105b8015611d97575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080611dba611da6565b11611e4257600054811015611e415760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611e3f575b6000811415611e35576004600083600190039350838152602001908152602001600020549050611e0a565b8092505050611e74565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611efc86868461244b565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b6000611f50611da6565b60005403905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612045611d9e565b8786866040518563ffffffff1660e01b81526004016120679493929190613351565b602060405180830381600087803b15801561208157600080fd5b505af19250505080156120b257506040513d601f19601f820116820180604052508101906120af9190612dbc565b60015b61212c573d80600081146120e2576040519150601f19603f3d011682016040523d82523d6000602084013e6120e7565b606091505b50600081511415612124576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121ec576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612227576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122346000848385611edf565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506122ab8361229c6000866000611ee5565b6122a585612454565b17611f0d565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106122cf5780600081905550505061234e6000848385611f38565b505050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561239957600183039250600a81066030018353600a81049050612379565b508181036020830392508083525050919050565b6000600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661242b8361241d878760405160200161240292919061339d565b60405160208183030381529060405280519060200120612464565b61249490919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff161490509392505050565b60009392505050565b60006001821460e11b9050919050565b6000816040516020016124779190613310565b604051602081830303815290604052805190602001209050919050565b60008060006124a385856124bb565b915091506124b08161253e565b819250505092915050565b6000806041835114156124fd5760008060006020860151925060408601519150606086015160001a90506124f18782858561288f565b94509450505050612537565b60408351141561252e57600080602085015191506040850151905061252386838361299c565b935093505050612537565b60006002915091505b9250929050565b60006004811115612578577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156125b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156125bc5761288c565b600160048111156125f6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561262f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266790613448565b60405180910390fd5b600260048111156126aa577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156126e3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271b90613468565b60405180910390fd5b6003600481111561275e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612797577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156127d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cf906134e8565b60405180910390fd5b600480811115612811577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561284a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561288b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288290613528565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156128ca576000600391509150612993565b601b8560ff16141580156128e25750601c8560ff1614155b156128f4576000600491509150612993565b60006001878787876040516000815260200160405260405161291994939291906133e1565b6020604051602081039080840390855afa15801561293b573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561298a57600060019250925050612993565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6129df9190613722565b90506129ed8782888561288f565b935093505050935093915050565b828054612a07906138d3565b90600052602060002090601f016020900481019282612a295760008555612a70565b82601f10612a4257805160ff1916838001178555612a70565b82800160010185558215612a70579182015b82811115612a6f578251825591602001919060010190612a54565b5b509050612a7d9190612a81565b5090565b5b80821115612a9a576000816000905550600101612a82565b5090565b6000612ab1612aac84613668565b613643565b905082815260208101848484011115612ac957600080fd5b612ad4848285613891565b509392505050565b6000612aef612aea84613699565b613643565b905082815260208101848484011115612b0757600080fd5b612b12848285613891565b509392505050565b600081359050612b2981613d9e565b92915050565b600081359050612b3e81613db5565b92915050565b600081359050612b5381613dcc565b92915050565b600081519050612b6881613dcc565b92915050565b600082601f830112612b7f57600080fd5b8135612b8f848260208601612a9e565b91505092915050565b600082601f830112612ba957600080fd5b8135612bb9848260208601612adc565b91505092915050565b600081359050612bd181613de3565b92915050565b600081359050612be681613dfa565b92915050565b600060208284031215612bfe57600080fd5b6000612c0c84828501612b1a565b91505092915050565b60008060408385031215612c2857600080fd5b6000612c3685828601612b1a565b9250506020612c4785828601612b1a565b9150509250929050565b600080600060608486031215612c6657600080fd5b6000612c7486828701612b1a565b9350506020612c8586828701612b1a565b9250506040612c9686828701612bc2565b9150509250925092565b60008060008060808587031215612cb657600080fd5b6000612cc487828801612b1a565b9450506020612cd587828801612b1a565b9350506040612ce687828801612bc2565b925050606085013567ffffffffffffffff811115612d0357600080fd5b612d0f87828801612b6e565b91505092959194509250565b60008060408385031215612d2e57600080fd5b6000612d3c85828601612b1a565b9250506020612d4d85828601612b2f565b9150509250929050565b60008060408385031215612d6a57600080fd5b6000612d7885828601612b1a565b9250506020612d8985828601612bc2565b9150509250929050565b600060208284031215612da557600080fd5b6000612db384828501612b44565b91505092915050565b600060208284031215612dce57600080fd5b6000612ddc84828501612b59565b91505092915050565b600060208284031215612df757600080fd5b600082013567ffffffffffffffff811115612e1157600080fd5b612e1d84828501612b98565b91505092915050565b60008060408385031215612e3957600080fd5b600083013567ffffffffffffffff811115612e5357600080fd5b612e5f85828601612b98565b9250506020612e7085828601612bc2565b9150509250929050565b600060208284031215612e8c57600080fd5b6000612e9a84828501612bc2565b91505092915050565b600080600060608486031215612eb857600080fd5b6000612ec686828701612bc2565b9350506020612ed786828701612bd7565b925050604084013567ffffffffffffffff811115612ef457600080fd5b612f0086828701612b6e565b9150509250925092565b612f1381613806565b82525050565b612f2281613818565b82525050565b612f3181613824565b82525050565b612f48612f4382613824565b61397f565b82525050565b6000612f59826136df565b612f6381856136f5565b9350612f738185602086016138a0565b612f7c81613a16565b840191505092915050565b6000612f92826136ea565b612f9c8185613706565b9350612fac8185602086016138a0565b612fb581613a16565b840191505092915050565b6000612fcb826136ea565b612fd58185613717565b9350612fe58185602086016138a0565b80840191505092915050565b60008154612ffe816138d3565b6130088186613717565b94506001821660008114613023576001811461303457613067565b60ff19831686528186019350613067565b61303d856136ca565b60005b8381101561305f57815481890152600182019150602081019050613040565b838801955050505b50505092915050565b600061307d601883613706565b915061308882613a27565b602082019050919050565b60006130a0601f83613706565b91506130ab82613a50565b602082019050919050565b60006130c3601c83613717565b91506130ce82613a79565b601c82019050919050565b60006130e6602683613706565b91506130f182613aa2565b604082019050919050565b6000613109601c83613706565b915061311482613af1565b602082019050919050565b600061312c602183613706565b915061313782613b1a565b604082019050919050565b600061314f602283613706565b915061315a82613b69565b604082019050919050565b6000613172601583613706565b915061317d82613bb8565b602082019050919050565b6000613195602283613706565b91506131a082613be1565b604082019050919050565b60006131b8600d83613706565b91506131c382613c30565b602082019050919050565b60006131db601c83613706565b91506131e682613c59565b602082019050919050565b60006131fe600583613717565b915061320982613c82565b600582019050919050565b6000613221602083613706565b915061322c82613cab565b602082019050919050565b6000613244601283613706565b915061324f82613cd4565b602082019050919050565b6000613267602783613706565b915061327282613cfd565b604082019050919050565b600061328a601e83613706565b915061329582613d4c565b602082019050919050565b60006132ad602083613706565b91506132b882613d75565b602082019050919050565b6132cc8161387a565b82525050565b6132db81613884565b82525050565b60006132ed8285612ff1565b91506132f98284612fc0565b9150613304826131f1565b91508190509392505050565b600061331b826130b6565b91506133278284612f37565b60208201915081905092915050565b600060208201905061334b6000830184612f0a565b92915050565b60006080820190506133666000830187612f0a565b6133736020830186612f0a565b61338060408301856132c3565b81810360608301526133928184612f4e565b905095945050505050565b60006040820190506133b26000830185612f0a565b6133bf60208301846132d2565b9392505050565b60006020820190506133db6000830184612f19565b92915050565b60006080820190506133f66000830187612f28565b61340360208301866132d2565b6134106040830185612f28565b61341d6060830184612f28565b95945050505050565b600060208201905081810360008301526134408184612f87565b905092915050565b6000602082019050818103600083015261346181613070565b9050919050565b6000602082019050818103600083015261348181613093565b9050919050565b600060208201905081810360008301526134a1816130d9565b9050919050565b600060208201905081810360008301526134c1816130fc565b9050919050565b600060208201905081810360008301526134e18161311f565b9050919050565b6000602082019050818103600083015261350181613142565b9050919050565b6000602082019050818103600083015261352181613165565b9050919050565b6000602082019050818103600083015261354181613188565b9050919050565b60006020820190508181036000830152613561816131ab565b9050919050565b60006020820190508181036000830152613581816131ce565b9050919050565b600060208201905081810360008301526135a181613214565b9050919050565b600060208201905081810360008301526135c181613237565b9050919050565b600060208201905081810360008301526135e18161325a565b9050919050565b600060208201905081810360008301526136018161327d565b9050919050565b60006020820190508181036000830152613621816132a0565b9050919050565b600060208201905061363d60008301846132c3565b92915050565b600061364d61365e565b90506136598282613905565b919050565b6000604051905090565b600067ffffffffffffffff821115613683576136826139e7565b5b61368c82613a16565b9050602081019050919050565b600067ffffffffffffffff8211156136b4576136b36139e7565b5b6136bd82613a16565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061372d8261387a565b91506137388361387a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561376d5761376c613989565b5b828201905092915050565b60006137838261387a565b915061378e8361387a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137c7576137c6613989565b5b828202905092915050565b60006137dd8261387a565b91506137e88361387a565b9250828210156137fb576137fa613989565b5b828203905092915050565b60006138118261385a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156138be5780820151818401526020810190506138a3565b838111156138cd576000848401525b50505050565b600060028204905060018216806138eb57607f821691505b602082108114156138ff576138fe6139b8565b5b50919050565b61390e82613a16565b810181811067ffffffffffffffff8211171561392d5761392c6139e7565b5b80604052505050565b60006139418261387a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561397457613973613989565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f576f756c642065786365656420636f6c6c656374696f6e2073697a6500000000600082015250565b7f4d696e7420776f756c642065786365656420636f6c6c656374696f6e2073697a60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f5a65726f206d696e742064697373616c6c6f7765640000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4143434553532044454e49454400000000000000000000000000000000000000600082015250565b7f576f756c6420657863656564206d61782061646d696e206d696e747300000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f4261746368206d757374206e6f7420696e636c756465206578697374696e672060008201527f6261746368657300000000000000000000000000000000000000000000000000602082015250565b7f426174636820696e636c7564657320756e6d696e74656420746f6b656e730000600082015250565b7f45786365656473206d6178206d696e7420706572207472616e73616374696f6e600082015250565b613da781613806565b8114613db257600080fd5b50565b613dbe81613818565b8114613dc957600080fd5b50565b613dd58161382e565b8114613de057600080fd5b50565b613dec8161387a565b8114613df757600080fd5b50565b613e0381613884565b8114613e0e57600080fd5b5056fea2646970667358221220cbc0ecb8db7277efc1de192ce5b7c818f86cee7568a53b7cb0bdbfc9de33900764736f6c63430008040033697066733a2f2f516d65324d5135787438386f6863474441335a686d484d464a4d6468577336597462666e656e5447507335794b6a
Deployed Bytecode
0x6080604052600436106101d85760003560e01c80638da5cb5b11610102578063cc1afc5411610095578063eff3c4e711610064578063eff3c4e714610675578063f0292a03146106a0578063f2fde38b146106cb578063f4e8b450146106f4576101d8565b8063cc1afc54146105c6578063d0c801d5146105f1578063d8258d951461060d578063e985e9c514610638576101d8565b8063b88d4fde116100d1578063b88d4fde1461050c578063bf8fbbd214610535578063c1f2612314610560578063c87b56dd14610589576101d8565b80638da5cb5b1461046457806391b7f5ed1461048f57806395d89b41146104b8578063a22cb465146104e3576101d8565b80633ccfd60b1161017a5780636c19e783116101495780636c19e783146103d057806370a08231146103f9578063715018a614610436578063817abd9d1461044d576101d8565b80633ccfd60b1461032a57806342842e0e146103415780636352211e1461036a57806363f7e095146103a7576101d8565b8063095ea7b3116101b6578063095ea7b31461028257806318160ddd146102ab57806323b872dd146102d65780632f21f307146102ff576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612d93565b61071d565b60405161021191906133c6565b60405180910390f35b34801561022657600080fd5b5061022f6107af565b60405161023c9190613426565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190612e7a565b610841565b6040516102799190613336565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a49190612d57565b6108bd565b005b3480156102b757600080fd5b506102c06109fe565b6040516102cd9190613628565b60405180910390f35b3480156102e257600080fd5b506102fd60048036038101906102f89190612c51565b610a15565b005b34801561030b57600080fd5b50610314610d3a565b6040516103219190613628565b60405180910390f35b34801561033657600080fd5b5061033f610d40565b005b34801561034d57600080fd5b5061036860048036038101906103639190612c51565b610e27565b005b34801561037657600080fd5b50610391600480360381019061038c9190612e7a565b610e47565b60405161039e9190613336565b60405180910390f35b3480156103b357600080fd5b506103ce60048036038101906103c99190612e26565b610e59565b005b3480156103dc57600080fd5b506103f760048036038101906103f29190612bec565b61103f565b005b34801561040557600080fd5b50610420600480360381019061041b9190612bec565b6110ff565b60405161042d9190613628565b60405180910390f35b34801561044257600080fd5b5061044b6111b8565b005b34801561045957600080fd5b50610462611240565b005b34801561047057600080fd5b506104796112e8565b6040516104869190613336565b60405180910390f35b34801561049b57600080fd5b506104b660048036038101906104b19190612e7a565b611312565b005b3480156104c457600080fd5b506104cd611398565b6040516104da9190613426565b60405180910390f35b3480156104ef57600080fd5b5061050a60048036038101906105059190612d1b565b61142a565b005b34801561051857600080fd5b50610533600480360381019061052e9190612ca0565b6115a2565b005b34801561054157600080fd5b5061054a611615565b6040516105579190613628565b60405180910390f35b34801561056c57600080fd5b5061058760048036038101906105829190612e7a565b61161b565b005b34801561059557600080fd5b506105b060048036038101906105ab9190612e7a565b611766565b6040516105bd9190613426565b60405180910390f35b3480156105d257600080fd5b506105db61194b565b6040516105e89190613628565b60405180910390f35b61060b60048036038101906106069190612ea3565b611951565b005b34801561061957600080fd5b50610622611afe565b60405161062f9190613628565b60405180910390f35b34801561064457600080fd5b5061065f600480360381019061065a9190612c15565b611b04565b60405161066c91906133c6565b60405180910390f35b34801561068157600080fd5b5061068a611b98565b60405161069791906133c6565b60405180910390f35b3480156106ac57600080fd5b506106b5611bab565b6040516106c29190613628565b60405180910390f35b3480156106d757600080fd5b506106f260048036038101906106ed9190612bec565b611bb1565b005b34801561070057600080fd5b5061071b60048036038101906107169190612de5565b611ca9565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107a85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546107be906138d3565b80601f01602080910402602001604051908101604052809291908181526020018280546107ea906138d3565b80156108375780601f1061080c57610100808354040283529160200191610837565b820191906000526020600020905b81548152906001019060200180831161081a57829003601f168201915b5050505050905090565b600061084c82611d3f565b610882576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108c882610e47565b90508073ffffffffffffffffffffffffffffffffffffffff166108e9611d9e565b73ffffffffffffffffffffffffffffffffffffffff161461094c5761091581610910611d9e565b611b04565b61094b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610a08611da6565b6001546000540303905090565b6000610a2082611dab565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a87576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610a9384611e79565b91509150610aa98187610aa4611d9e565b611e9b565b610af557610abe86610ab9611d9e565b611b04565b610af4576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610b5c576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b698686866001611edf565b8015610b7457600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610c4285610c1e888887611ee5565b7c020000000000000000000000000000000000000000000000000000000017611f0d565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610cca576000600185019050600060046000838152602001908152602001600020541415610cc8576000548114610cc7578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d328686866001611f38565b505050505050565b600a5481565b610d48611f3e565b73ffffffffffffffffffffffffffffffffffffffff16610d666112e8565b73ffffffffffffffffffffffffffffffffffffffff1614610dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db390613588565b60405180910390fd5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e24573d6000803e3d6000fd5b50565b610e42838383604051806020016040528060008152506115a2565b505050565b6000610e5282611dab565b9050919050565b610e61611f3e565b73ffffffffffffffffffffffffffffffffffffffff16610e7f6112e8565b73ffffffffffffffffffffffffffffffffffffffff1614610ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecc90613588565b60405180910390fd5b60006011805490501115610f82578060116001601180549050610ef891906137d2565b81548110610f2f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600202016001015410610f81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f78906135c8565b60405180910390fd5b5b610f8a611f46565b811115610fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc3906135e8565b60405180910390fd5b600060405180604001604052808481526020018381525090506011819080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001908051906020019061102d9291906129fb565b50602082015181600101555050505050565b611047611f3e565b73ffffffffffffffffffffffffffffffffffffffff166110656112e8565b73ffffffffffffffffffffffffffffffffffffffff16146110bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b290613588565b60405180910390fd5b80600d60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611167576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6111c0611f3e565b73ffffffffffffffffffffffffffffffffffffffff166111de6112e8565b73ffffffffffffffffffffffffffffffffffffffff1614611234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122b90613588565b60405180910390fd5b61123e6000611f59565b565b611248611f3e565b73ffffffffffffffffffffffffffffffffffffffff166112666112e8565b73ffffffffffffffffffffffffffffffffffffffff16146112bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b390613588565b60405180910390fd5b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61131a611f3e565b73ffffffffffffffffffffffffffffffffffffffff166113386112e8565b73ffffffffffffffffffffffffffffffffffffffff161461138e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138590613588565b60405180910390fd5b80600b8190555050565b6060600380546113a7906138d3565b80601f01602080910402602001604051908101604052809291908181526020018280546113d3906138d3565b80156114205780601f106113f557610100808354040283529160200191611420565b820191906000526020600020905b81548152906001019060200180831161140357829003601f168201915b5050505050905090565b611432611d9e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611497576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006114a4611d9e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611551611d9e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161159691906133c6565b60405180910390a35050565b6115ad848484610a15565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461160f576115d88484848461201f565b61160e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600b5481565b611623611f3e565b73ffffffffffffffffffffffffffffffffffffffff166116416112e8565b73ffffffffffffffffffffffffffffffffffffffff1614611697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168e90613588565b60405180910390fd5b600c54816116a3611f46565b6116ad9190613722565b11156116ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e5906134a8565b60405180910390fd5b600a5481600f546116ff9190613722565b1115611740576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173790613568565b60405180910390fd5b80600f60008282546117529190613722565b92505081905550611763338261217f565b50565b606061177182611d3f565b6117a7576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060005b60118054905081101561182b57601181815481106117f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060020201600101548511611818576001925080915061182b565b808061182390613936565b9150506117ad565b50816118c1576010805461183e906138d3565b80601f016020809104026020016040519081016040528092919081815260200182805461186a906138d3565b80156118b75780601f1061188c576101008083540402835291602001916118b7565b820191906000526020600020905b81548152906001019060200180831161189a57829003601f168201915b5050505050611942565b601181815481106118fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020160000161192160018661191c9190613722565b612353565b6040516020016119329291906132e1565b6040516020818303038152906040525b92505050919050565b600f5481565b60008260ff161461196157600080fd5b600083116119a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199b90613508565b60405180910390fd5b6009548311156119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e090613608565b60405180910390fd5b600c54836119f5611f46565b6119ff9190613722565b1115611a40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a37906134c8565b60405180910390fd5b82600b54611a4e9190613778565b341015611a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a87906135a8565b60405180910390fd5b600d60009054906101000a900460ff16611aef57611aaf3383836123ad565b611aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae590613548565b60405180910390fd5b5b611af9338461217f565b505050565b600c5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60009054906101000a900460ff1681565b60095481565b611bb9611f3e565b73ffffffffffffffffffffffffffffffffffffffff16611bd76112e8565b73ffffffffffffffffffffffffffffffffffffffff1614611c2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2490613588565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9490613488565b60405180910390fd5b611ca681611f59565b50565b611cb1611f3e565b73ffffffffffffffffffffffffffffffffffffffff16611ccf6112e8565b73ffffffffffffffffffffffffffffffffffffffff1614611d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1c90613588565b60405180910390fd5b8060109080519060200190611d3b9291906129fb565b5050565b600081611d4a611da6565b11158015611d59575060005482105b8015611d97575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080611dba611da6565b11611e4257600054811015611e415760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611e3f575b6000811415611e35576004600083600190039350838152602001908152602001600020549050611e0a565b8092505050611e74565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611efc86868461244b565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b6000611f50611da6565b60005403905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612045611d9e565b8786866040518563ffffffff1660e01b81526004016120679493929190613351565b602060405180830381600087803b15801561208157600080fd5b505af19250505080156120b257506040513d601f19601f820116820180604052508101906120af9190612dbc565b60015b61212c573d80600081146120e2576040519150601f19603f3d011682016040523d82523d6000602084013e6120e7565b606091505b50600081511415612124576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121ec576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612227576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122346000848385611edf565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506122ab8361229c6000866000611ee5565b6122a585612454565b17611f0d565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106122cf5780600081905550505061234e6000848385611f38565b505050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561239957600183039250600a81066030018353600a81049050612379565b508181036020830392508083525050919050565b6000600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661242b8361241d878760405160200161240292919061339d565b60405160208183030381529060405280519060200120612464565b61249490919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff161490509392505050565b60009392505050565b60006001821460e11b9050919050565b6000816040516020016124779190613310565b604051602081830303815290604052805190602001209050919050565b60008060006124a385856124bb565b915091506124b08161253e565b819250505092915050565b6000806041835114156124fd5760008060006020860151925060408601519150606086015160001a90506124f18782858561288f565b94509450505050612537565b60408351141561252e57600080602085015191506040850151905061252386838361299c565b935093505050612537565b60006002915091505b9250929050565b60006004811115612578577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156125b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156125bc5761288c565b600160048111156125f6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561262f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266790613448565b60405180910390fd5b600260048111156126aa577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156126e3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271b90613468565b60405180910390fd5b6003600481111561275e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612797577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156127d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cf906134e8565b60405180910390fd5b600480811115612811577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561284a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561288b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288290613528565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156128ca576000600391509150612993565b601b8560ff16141580156128e25750601c8560ff1614155b156128f4576000600491509150612993565b60006001878787876040516000815260200160405260405161291994939291906133e1565b6020604051602081039080840390855afa15801561293b573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561298a57600060019250925050612993565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6129df9190613722565b90506129ed8782888561288f565b935093505050935093915050565b828054612a07906138d3565b90600052602060002090601f016020900481019282612a295760008555612a70565b82601f10612a4257805160ff1916838001178555612a70565b82800160010185558215612a70579182015b82811115612a6f578251825591602001919060010190612a54565b5b509050612a7d9190612a81565b5090565b5b80821115612a9a576000816000905550600101612a82565b5090565b6000612ab1612aac84613668565b613643565b905082815260208101848484011115612ac957600080fd5b612ad4848285613891565b509392505050565b6000612aef612aea84613699565b613643565b905082815260208101848484011115612b0757600080fd5b612b12848285613891565b509392505050565b600081359050612b2981613d9e565b92915050565b600081359050612b3e81613db5565b92915050565b600081359050612b5381613dcc565b92915050565b600081519050612b6881613dcc565b92915050565b600082601f830112612b7f57600080fd5b8135612b8f848260208601612a9e565b91505092915050565b600082601f830112612ba957600080fd5b8135612bb9848260208601612adc565b91505092915050565b600081359050612bd181613de3565b92915050565b600081359050612be681613dfa565b92915050565b600060208284031215612bfe57600080fd5b6000612c0c84828501612b1a565b91505092915050565b60008060408385031215612c2857600080fd5b6000612c3685828601612b1a565b9250506020612c4785828601612b1a565b9150509250929050565b600080600060608486031215612c6657600080fd5b6000612c7486828701612b1a565b9350506020612c8586828701612b1a565b9250506040612c9686828701612bc2565b9150509250925092565b60008060008060808587031215612cb657600080fd5b6000612cc487828801612b1a565b9450506020612cd587828801612b1a565b9350506040612ce687828801612bc2565b925050606085013567ffffffffffffffff811115612d0357600080fd5b612d0f87828801612b6e565b91505092959194509250565b60008060408385031215612d2e57600080fd5b6000612d3c85828601612b1a565b9250506020612d4d85828601612b2f565b9150509250929050565b60008060408385031215612d6a57600080fd5b6000612d7885828601612b1a565b9250506020612d8985828601612bc2565b9150509250929050565b600060208284031215612da557600080fd5b6000612db384828501612b44565b91505092915050565b600060208284031215612dce57600080fd5b6000612ddc84828501612b59565b91505092915050565b600060208284031215612df757600080fd5b600082013567ffffffffffffffff811115612e1157600080fd5b612e1d84828501612b98565b91505092915050565b60008060408385031215612e3957600080fd5b600083013567ffffffffffffffff811115612e5357600080fd5b612e5f85828601612b98565b9250506020612e7085828601612bc2565b9150509250929050565b600060208284031215612e8c57600080fd5b6000612e9a84828501612bc2565b91505092915050565b600080600060608486031215612eb857600080fd5b6000612ec686828701612bc2565b9350506020612ed786828701612bd7565b925050604084013567ffffffffffffffff811115612ef457600080fd5b612f0086828701612b6e565b9150509250925092565b612f1381613806565b82525050565b612f2281613818565b82525050565b612f3181613824565b82525050565b612f48612f4382613824565b61397f565b82525050565b6000612f59826136df565b612f6381856136f5565b9350612f738185602086016138a0565b612f7c81613a16565b840191505092915050565b6000612f92826136ea565b612f9c8185613706565b9350612fac8185602086016138a0565b612fb581613a16565b840191505092915050565b6000612fcb826136ea565b612fd58185613717565b9350612fe58185602086016138a0565b80840191505092915050565b60008154612ffe816138d3565b6130088186613717565b94506001821660008114613023576001811461303457613067565b60ff19831686528186019350613067565b61303d856136ca565b60005b8381101561305f57815481890152600182019150602081019050613040565b838801955050505b50505092915050565b600061307d601883613706565b915061308882613a27565b602082019050919050565b60006130a0601f83613706565b91506130ab82613a50565b602082019050919050565b60006130c3601c83613717565b91506130ce82613a79565b601c82019050919050565b60006130e6602683613706565b91506130f182613aa2565b604082019050919050565b6000613109601c83613706565b915061311482613af1565b602082019050919050565b600061312c602183613706565b915061313782613b1a565b604082019050919050565b600061314f602283613706565b915061315a82613b69565b604082019050919050565b6000613172601583613706565b915061317d82613bb8565b602082019050919050565b6000613195602283613706565b91506131a082613be1565b604082019050919050565b60006131b8600d83613706565b91506131c382613c30565b602082019050919050565b60006131db601c83613706565b91506131e682613c59565b602082019050919050565b60006131fe600583613717565b915061320982613c82565b600582019050919050565b6000613221602083613706565b915061322c82613cab565b602082019050919050565b6000613244601283613706565b915061324f82613cd4565b602082019050919050565b6000613267602783613706565b915061327282613cfd565b604082019050919050565b600061328a601e83613706565b915061329582613d4c565b602082019050919050565b60006132ad602083613706565b91506132b882613d75565b602082019050919050565b6132cc8161387a565b82525050565b6132db81613884565b82525050565b60006132ed8285612ff1565b91506132f98284612fc0565b9150613304826131f1565b91508190509392505050565b600061331b826130b6565b91506133278284612f37565b60208201915081905092915050565b600060208201905061334b6000830184612f0a565b92915050565b60006080820190506133666000830187612f0a565b6133736020830186612f0a565b61338060408301856132c3565b81810360608301526133928184612f4e565b905095945050505050565b60006040820190506133b26000830185612f0a565b6133bf60208301846132d2565b9392505050565b60006020820190506133db6000830184612f19565b92915050565b60006080820190506133f66000830187612f28565b61340360208301866132d2565b6134106040830185612f28565b61341d6060830184612f28565b95945050505050565b600060208201905081810360008301526134408184612f87565b905092915050565b6000602082019050818103600083015261346181613070565b9050919050565b6000602082019050818103600083015261348181613093565b9050919050565b600060208201905081810360008301526134a1816130d9565b9050919050565b600060208201905081810360008301526134c1816130fc565b9050919050565b600060208201905081810360008301526134e18161311f565b9050919050565b6000602082019050818103600083015261350181613142565b9050919050565b6000602082019050818103600083015261352181613165565b9050919050565b6000602082019050818103600083015261354181613188565b9050919050565b60006020820190508181036000830152613561816131ab565b9050919050565b60006020820190508181036000830152613581816131ce565b9050919050565b600060208201905081810360008301526135a181613214565b9050919050565b600060208201905081810360008301526135c181613237565b9050919050565b600060208201905081810360008301526135e18161325a565b9050919050565b600060208201905081810360008301526136018161327d565b9050919050565b60006020820190508181036000830152613621816132a0565b9050919050565b600060208201905061363d60008301846132c3565b92915050565b600061364d61365e565b90506136598282613905565b919050565b6000604051905090565b600067ffffffffffffffff821115613683576136826139e7565b5b61368c82613a16565b9050602081019050919050565b600067ffffffffffffffff8211156136b4576136b36139e7565b5b6136bd82613a16565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061372d8261387a565b91506137388361387a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561376d5761376c613989565b5b828201905092915050565b60006137838261387a565b915061378e8361387a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137c7576137c6613989565b5b828202905092915050565b60006137dd8261387a565b91506137e88361387a565b9250828210156137fb576137fa613989565b5b828203905092915050565b60006138118261385a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156138be5780820151818401526020810190506138a3565b838111156138cd576000848401525b50505050565b600060028204905060018216806138eb57607f821691505b602082108114156138ff576138fe6139b8565b5b50919050565b61390e82613a16565b810181811067ffffffffffffffff8211171561392d5761392c6139e7565b5b80604052505050565b60006139418261387a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561397457613973613989565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f576f756c642065786365656420636f6c6c656374696f6e2073697a6500000000600082015250565b7f4d696e7420776f756c642065786365656420636f6c6c656374696f6e2073697a60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f5a65726f206d696e742064697373616c6c6f7765640000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4143434553532044454e49454400000000000000000000000000000000000000600082015250565b7f576f756c6420657863656564206d61782061646d696e206d696e747300000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f4261746368206d757374206e6f7420696e636c756465206578697374696e672060008201527f6261746368657300000000000000000000000000000000000000000000000000602082015250565b7f426174636820696e636c7564657320756e6d696e74656420746f6b656e730000600082015250565b7f45786365656473206d6178206d696e7420706572207472616e73616374696f6e600082015250565b613da781613806565b8114613db257600080fd5b50565b613dbe81613818565b8114613dc957600080fd5b50565b613dd58161382e565b8114613de057600080fd5b50565b613dec8161387a565b8114613df757600080fd5b50565b613e0381613884565b8114613e0e57600080fd5b5056fea2646970667358221220cbc0ecb8db7277efc1de192ce5b7c818f86cee7568a53b7cb0bdbfc9de33900764736f6c63430008040033
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.