Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
65 freshdrops
Holders
59
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 freshdropsLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
freshdrops
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; import "./ERC721A.sol"; //////////////////////////////////////////////////////////////////////////////////////////// // // // . // // .++. // // :++++. // // -+++*++. // // -++++++++: // // =++++++++++: // // =++++++++++++- // // =++++++++++++++= // // .+++++++++++++++++= // // .++++++++++++++++++++. // // :++++++++++++++++++++++. // // -++++++++++++++++++++++++: // // =++++++++++++++++++++++++++- // // .+++++++++++++++++++++++++++++= // // +++++++++++++++++++++++++++++++= // // -++++++++++++++++++++++++++++++++- // // ++++++++++++++++++++++++++++++++++ // // .++++++++++++++++++++++++++++++++++ // // .++++++++++++++++++++++++++++++++++ // // +++++++++++++++++++++++++++++++++= // // :++++++++++++++++++++++++++++++++. // // -++++++++++++++++++++++++++++++: // // -++++++++++++++++++++++++++++: // // .=+++++++++++++++++++*++++= // // .-++++++++++++++++++++-. // // .-=++++++++++++=-. // // .::::::. // // // // .:.. ..:-. // // -++++***+++++: // // :++++++++++. // // .++++++++. // // .++++++ // // .+++= // // += // // // //////////////////////////////////////////////////////////////////////////////////////////// contract freshdrops is ERC721A, Ownable, ReentrancyGuard, ERC2981, IERC1155Receiver { using Strings for uint256; using SafeMath for uint256; uint256 public passId; uint256 public constant MAX_SUPPLY = 500; uint256 public tokenPrice = .39 ether; string public baseURIExtended = "https://metadata.freshdrops.workers.dev/?id="; string public extension = ""; bool public claimActive = false; uint96 public tokenRoyalties = 1000; // 10% royalty address royaltyPayout = 0xB2AEcc6424F0d6f61533A05373ea88D3CcA8aC6a; // TODO: change mapping(address => uint256) public passesReceived; mapping(address => uint256) public passesToMint; constructor() ERC721A("freshdrops", "freshdrops") { _safeMint(owner(), 1); // one to initialize the contract _setDefaultRoyalty(royaltyPayout, tokenRoyalties); // set intial default royalties } modifier callerIsUser() { require(tx.origin == msg.sender, "FD: The caller is another contract"); _; } function setPassId(uint256 _id) external onlyOwner { passId = _id; } function openClaim() external onlyOwner { claimActive = true; } function closeClaim() external onlyOwner { claimActive = false; } function setBaseURI(string memory _uri) external onlyOwner { baseURIExtended = _uri; } function setTokenPrice(uint256 _newPrice) external onlyOwner { tokenPrice = _newPrice; } function setExtension(string memory _extension) external onlyOwner { extension = _extension; } function mint(uint256 amount) external payable callerIsUser nonReentrant { require(claimActive, "FD: Sale is not active"); require(amount > 0, "FD: Must attempt to mint at least 1 token"); require( passesToMint[msg.sender] > 0, "FD: Have not deposited any OG passes to claim" ); require( passesToMint[msg.sender] >= amount, "FD: Deposited balance is less than quantity trying to mint" ); require( totalSupply() + amount <= MAX_SUPPLY, "FD: Purchase would exceed MAX_SUPPLY" ); require(tokenPrice * amount == msg.value, "FD: Incorrect ETH value specified"); _safeMint(msg.sender, amount); if(amount > passesToMint[msg.sender]){ passesToMint[msg.sender] = 0; } else { passesToMint[msg.sender] -= amount; } } function tokenURI(uint256 tokenId) public view override(ERC721A) returns (string memory) { require(_exists(tokenId), "FD: Token does not exist"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string( abi.encodePacked(baseURI, tokenId.toString(), extension) ) : ""; } function _baseURI() internal view virtual override returns (string memory) { return baseURIExtended; } // WITHDRAW function withdraw() external onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "FD: Nothing to withdraw"); require(payable(msg.sender).send(address(this).balance)); } // ROYALTIES function supportsInterface(bytes4 interfaceId) public view override(ERC721A, ERC2981, IERC165) returns (bool) { return super.supportsInterface(interfaceId); } function setTokenRoyalties(uint96 _royalties) external onlyOwner { tokenRoyalties = _royalties; _setDefaultRoyalty(royaltyPayout, tokenRoyalties); } function setRoyaltyPayoutAddress(address _payoutAddress) external onlyOwner { royaltyPayout = _payoutAddress; _setDefaultRoyalty(royaltyPayout, tokenRoyalties); } // 1155 RECEIVER function onERC1155Received( address, address _from, uint256 _id, uint256 _value, bytes calldata ) external override returns (bytes4) { if(_id == passId){ incrementPass(_from, _value); } return bytes4( keccak256( "onERC1155Received(address,address,uint256,uint256,bytes)" ) ); } function onERC1155BatchReceived( address, address, uint256[] calldata, uint256[] calldata, bytes calldata ) external pure override returns (bytes4) { return bytes4( keccak256( "onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)" ) ); } // PASS SETTING function incrementPass(address _addr, uint256 _val) internal { passesReceived[_addr] += _val; } function validatePass(address _addr, uint256 _val) external onlyOwner{ require(passesReceived[_addr] > 0, "FD: No passes to validate for this address"); require(passesReceived[_addr] >= _val, "FD: Not enough passes received to validate"); passesToMint[_addr] += _val; if(_val > passesReceived[_addr]){ passesReceived[_addr] -= 0; } else { passesReceived[_addr] -= _val; } } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @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 Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. 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; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _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 _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary 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 { _addressData[owner].aux = aux; } /** * 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) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // 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. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @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, tokenId.toString())) : ""; } /** * @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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @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 == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if ( to.isContract() && !_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 && !_ownerships[tokenId].burned; } 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. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) 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 or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if ( !_checkContractOnERC721Received( address(0), to, updatedIndex++, _data ) ) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is 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 { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } 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 Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @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 IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // 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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// 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 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","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":"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":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURIExtended","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"closeClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"extension","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"openClaim","outputs":[],"stateMutability":"nonpayable","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":"passId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"passesReceived","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"passesToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_extension","type":"string"}],"name":"setExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"setPassId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_payoutAddress","type":"address"}],"name":"setRoyaltyPayoutAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"_royalties","type":"uint96"}],"name":"setTokenRoyalties","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":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenRoyalties","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"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":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"uint256","name":"_val","type":"uint256"}],"name":"validatePass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526705698eef06670000600d556040518060600160405280602c815260200162005978602c9139600e90805190602001906200004192919062000af7565b5060405180602001604052806000815250600f90805190602001906200006992919062000af7565b506000601060006101000a81548160ff0219169083151502179055506103e8601060016101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555073b2aecc6424f0d6f61533a05373ea88d3cca8ac6a601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200011a57600080fd5b506040518060400160405280600a81526020017f667265736864726f7073000000000000000000000000000000000000000000008152506040518060400160405280600a81526020017f667265736864726f70730000000000000000000000000000000000000000000081525081600290805190602001906200019f92919062000af7565b508060039080519060200190620001b892919062000af7565b50620001c96200026f60201b60201c565b6000819055505050620001f1620001e56200027460201b60201c565b6200027c60201b60201c565b60016009819055506200021b6200020d6200034260201b60201c565b60016200036c60201b60201c565b62000269601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060019054906101000a90046bffffffffffffffffffffffff166200039260201b60201c565b62000f13565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6200038e8282604051806020016040528060008152506200053660201b60201c565b5050565b620003a26200055060201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000403576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003fa9062000cf5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000476576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200046d9062000d17565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600a60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6200054b83838360016200055a60201b60201c565b505050565b6000612710905090565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415620005c8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084141562000604576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200061960008683876200095660201b60201c565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015620007f15750620007f08773ffffffffffffffffffffffffffffffffffffffff166200095c60201b62001dbf1760201c565b5b15620008c4575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46200086f60008884806001019550886200097f60201b60201c565b620008a6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415620007f8578260005414620008be57600080fd5b62000931565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415620008c5575b8160008190555050506200094f600086838762000af160201b60201c565b5050505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620009ad6200027460201b60201c565b8786866040518563ffffffff1660e01b8152600401620009d1949392919062000ca1565b602060405180830381600087803b158015620009ec57600080fd5b505af192505050801562000a2057506040513d601f19601f8201168201806040525081019062000a1d919062000bbe565b60015b62000a9e573d806000811462000a53576040519150601f19603f3d011682016040523d82523d6000602084013e62000a58565b606091505b5060008151141562000a96576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b82805462000b059062000e06565b90600052602060002090601f01602090048101928262000b29576000855562000b75565b82601f1062000b4457805160ff191683800117855562000b75565b8280016001018555821562000b75579182015b8281111562000b7457825182559160200191906001019062000b57565b5b50905062000b84919062000b88565b5090565b5b8082111562000ba357600081600090555060010162000b89565b5090565b60008151905062000bb88162000ef9565b92915050565b60006020828403121562000bd75762000bd662000e6b565b5b600062000be78482850162000ba7565b91505092915050565b62000bfb8162000d66565b82525050565b600062000c0e8262000d39565b62000c1a818562000d44565b935062000c2c81856020860162000dd0565b62000c378162000e70565b840191505092915050565b600062000c51602a8362000d55565b915062000c5e8262000e81565b604082019050919050565b600062000c7860198362000d55565b915062000c858262000ed0565b602082019050919050565b62000c9b8162000dc6565b82525050565b600060808201905062000cb8600083018762000bf0565b62000cc7602083018662000bf0565b62000cd6604083018562000c90565b818103606083015262000cea818462000c01565b905095945050505050565b6000602082019050818103600083015262000d108162000c42565b9050919050565b6000602082019050818103600083015262000d328162000c69565b9050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600062000d738262000da6565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000df057808201518184015260208101905062000dd3565b8381111562000e00576000848401525b50505050565b6000600282049050600182168062000e1f57607f821691505b6020821081141562000e365762000e3562000e3c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b62000f048162000d7a565b811462000f1057600080fd5b50565b614a558062000f236000396000f3fe60806040526004361061023b5760003560e01c8063715018a61161012e578063bc197c81116100ab578063d4a6a2fd1161006f578063d4a6a2fd1461084d578063e4d3d44814610878578063e985e9c5146108a3578063f23a6e61146108e0578063f2fde38b1461091d5761023b565b8063bc197c8114610756578063c2fc94a114610793578063c87b56dd146107aa578063ccd83927146107e7578063cce47205146108245761023b565b8063a0712d68116100f2578063a0712d6814610682578063a22cb4651461069e578063b4ba17ab146106c7578063b5b4ae1214610704578063b88d4fde1461072d5761023b565b8063715018a6146105c15780637e2285aa146105d85780637ff9b596146106015780638da5cb5b1461062c57806395d89b41146106575761023b565b80632dff8423116101bc57806345aeefde1161018057806345aeefde146104cc57806355f804b3146104f55780636352211e1461051e5780636a61e5fc1461055b57806370a08231146105845761023b565b80632dff84231461040b57806332cb6b0c146104365780633ccfd60b1461046157806342842e0e14610478578063444b7aaf146104a15761023b565b80631ebdcaae116102035780631ebdcaae1461033957806323b872dd14610362578063293cdbf11461038b5780632a55205a146103a25780632d5537b0146103e05761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e557806318160ddd1461030e575b600080fd5b34801561024c57600080fd5b50610267600480360381019061026291906138be565b610946565b6040516102749190613e59565b60405180910390f35b34801561028957600080fd5b50610292610958565b60405161029f9190613e8f565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca9190613961565b6109ea565b6040516102dc9190613dc9565b60405180910390f35b3480156102f157600080fd5b5061030c6004803603810190610307919061387e565b610a66565b005b34801561031a57600080fd5b50610323610b71565b60405161033091906140b1565b60405180910390f35b34801561034557600080fd5b50610360600480360381019061035b91906139ce565b610b88565b005b34801561036e57600080fd5b50610389600480360381019061038491906136ce565b610c0a565b005b34801561039757600080fd5b506103a0610c1a565b005b3480156103ae57600080fd5b506103c960048036038101906103c4919061398e565b610c3f565b6040516103d7929190613e30565b60405180910390f35b3480156103ec57600080fd5b506103f5610e2a565b6040516104029190613e8f565b60405180910390f35b34801561041757600080fd5b50610420610eb8565b60405161042d91906140cc565b60405180910390f35b34801561044257600080fd5b5061044b610ed6565b60405161045891906140b1565b60405180910390f35b34801561046d57600080fd5b50610476610edc565b005b34801561048457600080fd5b5061049f600480360381019061049a91906136ce565b610f6d565b005b3480156104ad57600080fd5b506104b6610f8d565b6040516104c391906140b1565b60405180910390f35b3480156104d857600080fd5b506104f360048036038101906104ee9190613585565b610f93565b005b34801561050157600080fd5b5061051c60048036038101906105179190613918565b611025565b005b34801561052a57600080fd5b5061054560048036038101906105409190613961565b611047565b6040516105529190613dc9565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d9190613961565b61105d565b005b34801561059057600080fd5b506105ab60048036038101906105a69190613585565b61106f565b6040516105b891906140b1565b60405180910390f35b3480156105cd57600080fd5b506105d661113f565b005b3480156105e457600080fd5b506105ff60048036038101906105fa9190613918565b611153565b005b34801561060d57600080fd5b50610616611175565b60405161062391906140b1565b60405180910390f35b34801561063857600080fd5b5061064161117b565b60405161064e9190613dc9565b60405180910390f35b34801561066357600080fd5b5061066c6111a5565b6040516106799190613e8f565b60405180910390f35b61069c60048036038101906106979190613961565b611237565b005b3480156106aa57600080fd5b506106c560048036038101906106c0919061383e565b61162c565b005b3480156106d357600080fd5b506106ee60048036038101906106e99190613585565b6117a4565b6040516106fb91906140b1565b60405180910390f35b34801561071057600080fd5b5061072b6004803603810190610726919061387e565b6117bc565b005b34801561073957600080fd5b50610754600480360381019061074f9190613721565b611a1c565b005b34801561076257600080fd5b5061077d600480360381019061077891906135f2565b611a98565b60405161078a9190613e74565b60405180910390f35b34801561079f57600080fd5b506107a8611ac9565b005b3480156107b657600080fd5b506107d160048036038101906107cc9190613961565b611aee565b6040516107de9190613e8f565b60405180910390f35b3480156107f357600080fd5b5061080e60048036038101906108099190613585565b611b98565b60405161081b91906140b1565b60405180910390f35b34801561083057600080fd5b5061084b60048036038101906108469190613961565b611bb0565b005b34801561085957600080fd5b50610862611bc2565b60405161086f9190613e59565b60405180910390f35b34801561088457600080fd5b5061088d611bd5565b60405161089a9190613e8f565b60405180910390f35b3480156108af57600080fd5b506108ca60048036038101906108c591906135b2565b611c63565b6040516108d79190613e59565b60405180910390f35b3480156108ec57600080fd5b50610907600480360381019061090291906137a4565b611cf7565b6040516109149190613e74565b60405180910390f35b34801561092957600080fd5b50610944600480360381019061093f9190613585565b611d3b565b005b600061095182611de2565b9050919050565b606060028054610967906143a9565b80601f0160208091040260200160405190810160405280929190818152602001828054610993906143a9565b80156109e05780601f106109b5576101008083540402835291602001916109e0565b820191906000526020600020905b8154815290600101906020018083116109c357829003601f168201915b5050505050905090565b60006109f582611e5c565b610a2b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a7182611047565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ad9576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610af8611eaa565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b2a5750610b2881610b23611eaa565b611c63565b155b15610b61576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b6c838383611eb2565b505050565b6000610b7b611f64565b6001546000540303905090565b610b90611f69565b80601060016101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550610c07601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060019054906101000a90046bffffffffffffffffffffffff16611fe7565b50565b610c1583838361217d565b505050565b610c22611f69565b6001601060006101000a81548160ff021916908315150217905550565b6000806000600b60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610dd557600a6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610ddf612633565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610e0b919061424d565b610e15919061421c565b90508160000151819350935050509250929050565b600f8054610e37906143a9565b80601f0160208091040260200160405190810160405280929190818152602001828054610e63906143a9565b8015610eb05780601f10610e8557610100808354040283529160200191610eb0565b820191906000526020600020905b815481529060010190602001808311610e9357829003601f168201915b505050505081565b601060019054906101000a90046bffffffffffffffffffffffff1681565b6101f481565b610ee4611f69565b600047905060008111610f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2390613f91565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610f6a57600080fd5b50565b610f8883838360405180602001604052806000815250611a1c565b505050565b600c5481565b610f9b611f69565b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611022601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060019054906101000a90046bffffffffffffffffffffffff16611fe7565b50565b61102d611f69565b80600e9080519060200190611043929190613295565b5050565b60006110528261263d565b600001519050919050565b611065611f69565b80600d8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110d7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611147611f69565b61115160006128cc565b565b61115b611f69565b80600f9080519060200190611171929190613295565b5050565b600d5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546111b4906143a9565b80601f01602080910402602001604051908101604052809291908181526020018280546111e0906143a9565b801561122d5780601f106112025761010080835404028352916020019161122d565b820191906000526020600020905b81548152906001019060200180831161121057829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146112a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129c90614091565b60405180910390fd5b600260095414156112eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e290614031565b60405180910390fd5b6002600981905550601060009054906101000a900460ff16611342576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133990613f31565b60405180910390fd5b60008111611385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137c90613fd1565b60405180910390fd5b6000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fe90613f11565b60405180910390fd5b80601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148090613f51565b60405180910390fd5b6101f481611495610b71565b61149f91906141c6565b11156114e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d790613f71565b60405180910390fd5b3481600d546114ef919061424d565b1461152f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152690614011565b60405180910390fd5b6115393382612992565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548111156115ca576000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611621565b80601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461161991906142a7565b925050819055505b600160098190555050565b611634611eaa565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611699576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006116a6611eaa565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611753611eaa565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117989190613e59565b60405180910390a35050565b60126020528060005260406000206000915090505481565b6117c4611f69565b6000601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183d90613eb1565b60405180910390fd5b80601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156118c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bf90614071565b60405180910390fd5b80601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461191791906141c6565b92505081905550601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548111156119c1576000601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119b591906142a7565b92505081905550611a18565b80601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a1091906142a7565b925050819055505b5050565b611a2784848461217d565b611a468373ffffffffffffffffffffffffffffffffffffffff16611dbf565b8015611a5b5750611a59848484846129b0565b155b15611a92576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60007fbc197c819b3e337a6f9652dd10becd7eef83032af3b9d958d3d42f6694146621905098975050505050505050565b611ad1611f69565b6000601060006101000a81548160ff021916908315150217905550565b6060611af982611e5c565b611b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2f90613ed1565b60405180910390fd5b6000611b42612b10565b90506000815111611b625760405180602001604052806000815250611b90565b80611b6c84612ba2565b600f604051602001611b8093929190613d98565b6040516020818303038152906040525b915050919050565b60136020528060005260406000206000915090505481565b611bb8611f69565b80600c8190555050565b601060009054906101000a900460ff1681565b600e8054611be2906143a9565b80601f0160208091040260200160405190810160405280929190818152602001828054611c0e906143a9565b8015611c5b5780601f10611c3057610100808354040283529160200191611c5b565b820191906000526020600020905b815481529060010190602001808311611c3e57829003601f168201915b505050505081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600c54851415611d0e57611d0d8685612d03565b5b7ff23a6e612e1ff4830e658fe43f4e3cb4a5f8170bd5d9e69fb5d7a7fa9e4fdf9790509695505050505050565b611d43611f69565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611db3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611daa90613ef1565b60405180910390fd5b611dbc816128cc565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e555750611e5482612d5d565b5b9050919050565b600081611e67611f64565b11158015611e76575060005482105b8015611ea3575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b611f71611eaa565b73ffffffffffffffffffffffffffffffffffffffff16611f8f61117b565b73ffffffffffffffffffffffffffffffffffffffff1614611fe5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdc90613fb1565b60405180910390fd5b565b611fef612633565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561204d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204490613ff1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b490614051565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600a60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60006121888261263d565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146121f3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612214611eaa565b73ffffffffffffffffffffffffffffffffffffffff16148061224357506122428561223d611eaa565b611c63565b5b806122885750612251611eaa565b73ffffffffffffffffffffffffffffffffffffffff16612270846109ea565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806122c1576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612328576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123358585856001612e3f565b61234160008487611eb2565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156125c15760005482146125c057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461262c8585856001612e45565b5050505050565b6000612710905090565b61264561331b565b600082905080612653611f64565b11158015612662575060005481105b15612895576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161289357600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127775780925050506128c7565b5b60011561289257818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461288d5780925050506128c7565b612778565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6129ac828260405180602001604052806000815250612e4b565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129d6611eaa565b8786866040518563ffffffff1660e01b81526004016129f89493929190613de4565b602060405180830381600087803b158015612a1257600080fd5b505af1925050508015612a4357506040513d601f19601f82011682018060405250810190612a4091906138eb565b60015b612abd573d8060008114612a73576040519150601f19603f3d011682016040523d82523d6000602084013e612a78565b606091505b50600081511415612ab5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600e8054612b1f906143a9565b80601f0160208091040260200160405190810160405280929190818152602001828054612b4b906143a9565b8015612b985780601f10612b6d57610100808354040283529160200191612b98565b820191906000526020600020905b815481529060010190602001808311612b7b57829003601f168201915b5050505050905090565b60606000821415612bea576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cfe565b600082905060005b60008214612c1c578080612c059061440c565b915050600a82612c15919061421c565b9150612bf2565b60008167ffffffffffffffff811115612c3857612c37614542565b5b6040519080825280601f01601f191660200182016040528015612c6a5781602001600182028036833780820191505090505b5090505b60008514612cf757600182612c8391906142a7565b9150600a85612c929190614455565b6030612c9e91906141c6565b60f81b818381518110612cb457612cb3614513565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cf0919061421c565b9450612c6e565b8093505050505b919050565b80601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d5291906141c6565b925050819055505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e2857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612e385750612e3782612e5d565b5b9050919050565b50505050565b50505050565b612e588383836001612ec7565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612f34576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612f6f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612f7c6000868387612e3f565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561314657506131458773ffffffffffffffffffffffffffffffffffffffff16611dbf565b5b1561320c575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131bb60008884806001019550886129b0565b6131f1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561314c57826000541461320757600080fd5b613278565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561320d575b81600081905550505061328e6000868387612e45565b5050505050565b8280546132a1906143a9565b90600052602060002090601f0160209004810192826132c3576000855561330a565b82601f106132dc57805160ff191683800117855561330a565b8280016001018555821561330a579182015b828111156133095782518255916020019190600101906132ee565b5b509050613317919061335e565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561337757600081600090555060010161335f565b5090565b600061338e6133898461410c565b6140e7565b9050828152602081018484840111156133aa576133a9614580565b5b6133b5848285614367565b509392505050565b60006133d06133cb8461413d565b6140e7565b9050828152602081018484840111156133ec576133eb614580565b5b6133f7848285614367565b509392505050565b60008135905061340e816149ac565b92915050565b60008083601f84011261342a57613429614576565b5b8235905067ffffffffffffffff81111561344757613446614571565b5b6020830191508360208202830111156134635761346261457b565b5b9250929050565b600081359050613479816149c3565b92915050565b60008135905061348e816149da565b92915050565b6000815190506134a3816149da565b92915050565b60008083601f8401126134bf576134be614576565b5b8235905067ffffffffffffffff8111156134dc576134db614571565b5b6020830191508360018202830111156134f8576134f761457b565b5b9250929050565b600082601f83011261351457613513614576565b5b813561352484826020860161337b565b91505092915050565b600082601f83011261354257613541614576565b5b81356135528482602086016133bd565b91505092915050565b60008135905061356a816149f1565b92915050565b60008135905061357f81614a08565b92915050565b60006020828403121561359b5761359a61458a565b5b60006135a9848285016133ff565b91505092915050565b600080604083850312156135c9576135c861458a565b5b60006135d7858286016133ff565b92505060206135e8858286016133ff565b9150509250929050565b60008060008060008060008060a0898b0312156136125761361161458a565b5b60006136208b828c016133ff565b98505060206136318b828c016133ff565b975050604089013567ffffffffffffffff81111561365257613651614585565b5b61365e8b828c01613414565b9650965050606089013567ffffffffffffffff81111561368157613680614585565b5b61368d8b828c01613414565b9450945050608089013567ffffffffffffffff8111156136b0576136af614585565b5b6136bc8b828c016134a9565b92509250509295985092959890939650565b6000806000606084860312156136e7576136e661458a565b5b60006136f5868287016133ff565b9350506020613706868287016133ff565b92505060406137178682870161355b565b9150509250925092565b6000806000806080858703121561373b5761373a61458a565b5b6000613749878288016133ff565b945050602061375a878288016133ff565b935050604061376b8782880161355b565b925050606085013567ffffffffffffffff81111561378c5761378b614585565b5b613798878288016134ff565b91505092959194509250565b60008060008060008060a087890312156137c1576137c061458a565b5b60006137cf89828a016133ff565b96505060206137e089828a016133ff565b95505060406137f189828a0161355b565b945050606061380289828a0161355b565b935050608087013567ffffffffffffffff81111561382357613822614585565b5b61382f89828a016134a9565b92509250509295509295509295565b600080604083850312156138555761385461458a565b5b6000613863858286016133ff565b92505060206138748582860161346a565b9150509250929050565b600080604083850312156138955761389461458a565b5b60006138a3858286016133ff565b92505060206138b48582860161355b565b9150509250929050565b6000602082840312156138d4576138d361458a565b5b60006138e28482850161347f565b91505092915050565b6000602082840312156139015761390061458a565b5b600061390f84828501613494565b91505092915050565b60006020828403121561392e5761392d61458a565b5b600082013567ffffffffffffffff81111561394c5761394b614585565b5b6139588482850161352d565b91505092915050565b6000602082840312156139775761397661458a565b5b60006139858482850161355b565b91505092915050565b600080604083850312156139a5576139a461458a565b5b60006139b38582860161355b565b92505060206139c48582860161355b565b9150509250929050565b6000602082840312156139e4576139e361458a565b5b60006139f284828501613570565b91505092915050565b613a04816142db565b82525050565b613a13816142ed565b82525050565b613a22816142f9565b82525050565b6000613a3382614183565b613a3d8185614199565b9350613a4d818560208601614376565b613a568161458f565b840191505092915050565b6000613a6c8261418e565b613a7681856141aa565b9350613a86818560208601614376565b613a8f8161458f565b840191505092915050565b6000613aa58261418e565b613aaf81856141bb565b9350613abf818560208601614376565b80840191505092915050565b60008154613ad8816143a9565b613ae281866141bb565b94506001821660008114613afd5760018114613b0e57613b41565b60ff19831686528186019350613b41565b613b178561416e565b60005b83811015613b3957815481890152600182019150602081019050613b1a565b838801955050505b50505092915050565b6000613b57602a836141aa565b9150613b62826145a0565b604082019050919050565b6000613b7a6018836141aa565b9150613b85826145ef565b602082019050919050565b6000613b9d6026836141aa565b9150613ba882614618565b604082019050919050565b6000613bc0602d836141aa565b9150613bcb82614667565b604082019050919050565b6000613be36016836141aa565b9150613bee826146b6565b602082019050919050565b6000613c06603a836141aa565b9150613c11826146df565b604082019050919050565b6000613c296024836141aa565b9150613c348261472e565b604082019050919050565b6000613c4c6017836141aa565b9150613c578261477d565b602082019050919050565b6000613c6f6020836141aa565b9150613c7a826147a6565b602082019050919050565b6000613c926029836141aa565b9150613c9d826147cf565b604082019050919050565b6000613cb5602a836141aa565b9150613cc08261481e565b604082019050919050565b6000613cd86021836141aa565b9150613ce38261486d565b604082019050919050565b6000613cfb601f836141aa565b9150613d06826148bc565b602082019050919050565b6000613d1e6019836141aa565b9150613d29826148e5565b602082019050919050565b6000613d41602a836141aa565b9150613d4c8261490e565b604082019050919050565b6000613d646022836141aa565b9150613d6f8261495d565b604082019050919050565b613d8381614345565b82525050565b613d928161434f565b82525050565b6000613da48286613a9a565b9150613db08285613a9a565b9150613dbc8284613acb565b9150819050949350505050565b6000602082019050613dde60008301846139fb565b92915050565b6000608082019050613df960008301876139fb565b613e0660208301866139fb565b613e136040830185613d7a565b8181036060830152613e258184613a28565b905095945050505050565b6000604082019050613e4560008301856139fb565b613e526020830184613d7a565b9392505050565b6000602082019050613e6e6000830184613a0a565b92915050565b6000602082019050613e896000830184613a19565b92915050565b60006020820190508181036000830152613ea98184613a61565b905092915050565b60006020820190508181036000830152613eca81613b4a565b9050919050565b60006020820190508181036000830152613eea81613b6d565b9050919050565b60006020820190508181036000830152613f0a81613b90565b9050919050565b60006020820190508181036000830152613f2a81613bb3565b9050919050565b60006020820190508181036000830152613f4a81613bd6565b9050919050565b60006020820190508181036000830152613f6a81613bf9565b9050919050565b60006020820190508181036000830152613f8a81613c1c565b9050919050565b60006020820190508181036000830152613faa81613c3f565b9050919050565b60006020820190508181036000830152613fca81613c62565b9050919050565b60006020820190508181036000830152613fea81613c85565b9050919050565b6000602082019050818103600083015261400a81613ca8565b9050919050565b6000602082019050818103600083015261402a81613ccb565b9050919050565b6000602082019050818103600083015261404a81613cee565b9050919050565b6000602082019050818103600083015261406a81613d11565b9050919050565b6000602082019050818103600083015261408a81613d34565b9050919050565b600060208201905081810360008301526140aa81613d57565b9050919050565b60006020820190506140c66000830184613d7a565b92915050565b60006020820190506140e16000830184613d89565b92915050565b60006140f1614102565b90506140fd82826143db565b919050565b6000604051905090565b600067ffffffffffffffff82111561412757614126614542565b5b6141308261458f565b9050602081019050919050565b600067ffffffffffffffff82111561415857614157614542565b5b6141618261458f565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006141d182614345565b91506141dc83614345565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561421157614210614486565b5b828201905092915050565b600061422782614345565b915061423283614345565b925082614242576142416144b5565b5b828204905092915050565b600061425882614345565b915061426383614345565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561429c5761429b614486565b5b828202905092915050565b60006142b282614345565b91506142bd83614345565b9250828210156142d0576142cf614486565b5b828203905092915050565b60006142e682614325565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015614394578082015181840152602081019050614379565b838111156143a3576000848401525b50505050565b600060028204905060018216806143c157607f821691505b602082108114156143d5576143d46144e4565b5b50919050565b6143e48261458f565b810181811067ffffffffffffffff8211171561440357614402614542565b5b80604052505050565b600061441782614345565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561444a57614449614486565b5b600182019050919050565b600061446082614345565b915061446b83614345565b92508261447b5761447a6144b5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f46443a204e6f2070617373657320746f2076616c696461746520666f7220746860008201527f6973206164647265737300000000000000000000000000000000000000000000602082015250565b7f46443a20546f6b656e20646f6573206e6f742065786973740000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46443a2048617665206e6f74206465706f736974656420616e79204f4720706160008201527f7373657320746f20636c61696d00000000000000000000000000000000000000602082015250565b7f46443a2053616c65206973206e6f742061637469766500000000000000000000600082015250565b7f46443a204465706f73697465642062616c616e6365206973206c65737320746860008201527f616e207175616e7469747920747279696e6720746f206d696e74000000000000602082015250565b7f46443a20507572636861736520776f756c6420657863656564204d41585f535560008201527f50504c5900000000000000000000000000000000000000000000000000000000602082015250565b7f46443a204e6f7468696e6720746f207769746864726177000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f46443a204d75737420617474656d707420746f206d696e74206174206c65617360008201527f74203120746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f46443a20496e636f7272656374204554482076616c756520737065636966696560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b7f46443a204e6f7420656e6f75676820706173736573207265636569766564207460008201527f6f2076616c696461746500000000000000000000000000000000000000000000602082015250565b7f46443a205468652063616c6c657220697320616e6f7468657220636f6e74726160008201527f6374000000000000000000000000000000000000000000000000000000000000602082015250565b6149b5816142db565b81146149c057600080fd5b50565b6149cc816142ed565b81146149d757600080fd5b50565b6149e3816142f9565b81146149ee57600080fd5b50565b6149fa81614345565b8114614a0557600080fd5b50565b614a118161434f565b8114614a1c57600080fd5b5056fea2646970667358221220a9ed69e16e85bc30c7359758094c8415a0d7e2b4686862d72ea6cc552fc224dc64736f6c6343000807003368747470733a2f2f6d657461646174612e667265736864726f70732e776f726b6572732e6465762f3f69643d
Deployed Bytecode
0x60806040526004361061023b5760003560e01c8063715018a61161012e578063bc197c81116100ab578063d4a6a2fd1161006f578063d4a6a2fd1461084d578063e4d3d44814610878578063e985e9c5146108a3578063f23a6e61146108e0578063f2fde38b1461091d5761023b565b8063bc197c8114610756578063c2fc94a114610793578063c87b56dd146107aa578063ccd83927146107e7578063cce47205146108245761023b565b8063a0712d68116100f2578063a0712d6814610682578063a22cb4651461069e578063b4ba17ab146106c7578063b5b4ae1214610704578063b88d4fde1461072d5761023b565b8063715018a6146105c15780637e2285aa146105d85780637ff9b596146106015780638da5cb5b1461062c57806395d89b41146106575761023b565b80632dff8423116101bc57806345aeefde1161018057806345aeefde146104cc57806355f804b3146104f55780636352211e1461051e5780636a61e5fc1461055b57806370a08231146105845761023b565b80632dff84231461040b57806332cb6b0c146104365780633ccfd60b1461046157806342842e0e14610478578063444b7aaf146104a15761023b565b80631ebdcaae116102035780631ebdcaae1461033957806323b872dd14610362578063293cdbf11461038b5780632a55205a146103a25780632d5537b0146103e05761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e557806318160ddd1461030e575b600080fd5b34801561024c57600080fd5b50610267600480360381019061026291906138be565b610946565b6040516102749190613e59565b60405180910390f35b34801561028957600080fd5b50610292610958565b60405161029f9190613e8f565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca9190613961565b6109ea565b6040516102dc9190613dc9565b60405180910390f35b3480156102f157600080fd5b5061030c6004803603810190610307919061387e565b610a66565b005b34801561031a57600080fd5b50610323610b71565b60405161033091906140b1565b60405180910390f35b34801561034557600080fd5b50610360600480360381019061035b91906139ce565b610b88565b005b34801561036e57600080fd5b50610389600480360381019061038491906136ce565b610c0a565b005b34801561039757600080fd5b506103a0610c1a565b005b3480156103ae57600080fd5b506103c960048036038101906103c4919061398e565b610c3f565b6040516103d7929190613e30565b60405180910390f35b3480156103ec57600080fd5b506103f5610e2a565b6040516104029190613e8f565b60405180910390f35b34801561041757600080fd5b50610420610eb8565b60405161042d91906140cc565b60405180910390f35b34801561044257600080fd5b5061044b610ed6565b60405161045891906140b1565b60405180910390f35b34801561046d57600080fd5b50610476610edc565b005b34801561048457600080fd5b5061049f600480360381019061049a91906136ce565b610f6d565b005b3480156104ad57600080fd5b506104b6610f8d565b6040516104c391906140b1565b60405180910390f35b3480156104d857600080fd5b506104f360048036038101906104ee9190613585565b610f93565b005b34801561050157600080fd5b5061051c60048036038101906105179190613918565b611025565b005b34801561052a57600080fd5b5061054560048036038101906105409190613961565b611047565b6040516105529190613dc9565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d9190613961565b61105d565b005b34801561059057600080fd5b506105ab60048036038101906105a69190613585565b61106f565b6040516105b891906140b1565b60405180910390f35b3480156105cd57600080fd5b506105d661113f565b005b3480156105e457600080fd5b506105ff60048036038101906105fa9190613918565b611153565b005b34801561060d57600080fd5b50610616611175565b60405161062391906140b1565b60405180910390f35b34801561063857600080fd5b5061064161117b565b60405161064e9190613dc9565b60405180910390f35b34801561066357600080fd5b5061066c6111a5565b6040516106799190613e8f565b60405180910390f35b61069c60048036038101906106979190613961565b611237565b005b3480156106aa57600080fd5b506106c560048036038101906106c0919061383e565b61162c565b005b3480156106d357600080fd5b506106ee60048036038101906106e99190613585565b6117a4565b6040516106fb91906140b1565b60405180910390f35b34801561071057600080fd5b5061072b6004803603810190610726919061387e565b6117bc565b005b34801561073957600080fd5b50610754600480360381019061074f9190613721565b611a1c565b005b34801561076257600080fd5b5061077d600480360381019061077891906135f2565b611a98565b60405161078a9190613e74565b60405180910390f35b34801561079f57600080fd5b506107a8611ac9565b005b3480156107b657600080fd5b506107d160048036038101906107cc9190613961565b611aee565b6040516107de9190613e8f565b60405180910390f35b3480156107f357600080fd5b5061080e60048036038101906108099190613585565b611b98565b60405161081b91906140b1565b60405180910390f35b34801561083057600080fd5b5061084b60048036038101906108469190613961565b611bb0565b005b34801561085957600080fd5b50610862611bc2565b60405161086f9190613e59565b60405180910390f35b34801561088457600080fd5b5061088d611bd5565b60405161089a9190613e8f565b60405180910390f35b3480156108af57600080fd5b506108ca60048036038101906108c591906135b2565b611c63565b6040516108d79190613e59565b60405180910390f35b3480156108ec57600080fd5b50610907600480360381019061090291906137a4565b611cf7565b6040516109149190613e74565b60405180910390f35b34801561092957600080fd5b50610944600480360381019061093f9190613585565b611d3b565b005b600061095182611de2565b9050919050565b606060028054610967906143a9565b80601f0160208091040260200160405190810160405280929190818152602001828054610993906143a9565b80156109e05780601f106109b5576101008083540402835291602001916109e0565b820191906000526020600020905b8154815290600101906020018083116109c357829003601f168201915b5050505050905090565b60006109f582611e5c565b610a2b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a7182611047565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ad9576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610af8611eaa565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b2a5750610b2881610b23611eaa565b611c63565b155b15610b61576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b6c838383611eb2565b505050565b6000610b7b611f64565b6001546000540303905090565b610b90611f69565b80601060016101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550610c07601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060019054906101000a90046bffffffffffffffffffffffff16611fe7565b50565b610c1583838361217d565b505050565b610c22611f69565b6001601060006101000a81548160ff021916908315150217905550565b6000806000600b60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610dd557600a6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610ddf612633565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610e0b919061424d565b610e15919061421c565b90508160000151819350935050509250929050565b600f8054610e37906143a9565b80601f0160208091040260200160405190810160405280929190818152602001828054610e63906143a9565b8015610eb05780601f10610e8557610100808354040283529160200191610eb0565b820191906000526020600020905b815481529060010190602001808311610e9357829003601f168201915b505050505081565b601060019054906101000a90046bffffffffffffffffffffffff1681565b6101f481565b610ee4611f69565b600047905060008111610f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2390613f91565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610f6a57600080fd5b50565b610f8883838360405180602001604052806000815250611a1c565b505050565b600c5481565b610f9b611f69565b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611022601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060019054906101000a90046bffffffffffffffffffffffff16611fe7565b50565b61102d611f69565b80600e9080519060200190611043929190613295565b5050565b60006110528261263d565b600001519050919050565b611065611f69565b80600d8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110d7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611147611f69565b61115160006128cc565b565b61115b611f69565b80600f9080519060200190611171929190613295565b5050565b600d5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546111b4906143a9565b80601f01602080910402602001604051908101604052809291908181526020018280546111e0906143a9565b801561122d5780601f106112025761010080835404028352916020019161122d565b820191906000526020600020905b81548152906001019060200180831161121057829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146112a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129c90614091565b60405180910390fd5b600260095414156112eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e290614031565b60405180910390fd5b6002600981905550601060009054906101000a900460ff16611342576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133990613f31565b60405180910390fd5b60008111611385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137c90613fd1565b60405180910390fd5b6000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fe90613f11565b60405180910390fd5b80601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148090613f51565b60405180910390fd5b6101f481611495610b71565b61149f91906141c6565b11156114e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d790613f71565b60405180910390fd5b3481600d546114ef919061424d565b1461152f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152690614011565b60405180910390fd5b6115393382612992565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548111156115ca576000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611621565b80601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461161991906142a7565b925050819055505b600160098190555050565b611634611eaa565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611699576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006116a6611eaa565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611753611eaa565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117989190613e59565b60405180910390a35050565b60126020528060005260406000206000915090505481565b6117c4611f69565b6000601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183d90613eb1565b60405180910390fd5b80601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156118c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bf90614071565b60405180910390fd5b80601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461191791906141c6565b92505081905550601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548111156119c1576000601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119b591906142a7565b92505081905550611a18565b80601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a1091906142a7565b925050819055505b5050565b611a2784848461217d565b611a468373ffffffffffffffffffffffffffffffffffffffff16611dbf565b8015611a5b5750611a59848484846129b0565b155b15611a92576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60007fbc197c819b3e337a6f9652dd10becd7eef83032af3b9d958d3d42f6694146621905098975050505050505050565b611ad1611f69565b6000601060006101000a81548160ff021916908315150217905550565b6060611af982611e5c565b611b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2f90613ed1565b60405180910390fd5b6000611b42612b10565b90506000815111611b625760405180602001604052806000815250611b90565b80611b6c84612ba2565b600f604051602001611b8093929190613d98565b6040516020818303038152906040525b915050919050565b60136020528060005260406000206000915090505481565b611bb8611f69565b80600c8190555050565b601060009054906101000a900460ff1681565b600e8054611be2906143a9565b80601f0160208091040260200160405190810160405280929190818152602001828054611c0e906143a9565b8015611c5b5780601f10611c3057610100808354040283529160200191611c5b565b820191906000526020600020905b815481529060010190602001808311611c3e57829003601f168201915b505050505081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600c54851415611d0e57611d0d8685612d03565b5b7ff23a6e612e1ff4830e658fe43f4e3cb4a5f8170bd5d9e69fb5d7a7fa9e4fdf9790509695505050505050565b611d43611f69565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611db3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611daa90613ef1565b60405180910390fd5b611dbc816128cc565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e555750611e5482612d5d565b5b9050919050565b600081611e67611f64565b11158015611e76575060005482105b8015611ea3575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b611f71611eaa565b73ffffffffffffffffffffffffffffffffffffffff16611f8f61117b565b73ffffffffffffffffffffffffffffffffffffffff1614611fe5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdc90613fb1565b60405180910390fd5b565b611fef612633565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561204d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204490613ff1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b490614051565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600a60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60006121888261263d565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146121f3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612214611eaa565b73ffffffffffffffffffffffffffffffffffffffff16148061224357506122428561223d611eaa565b611c63565b5b806122885750612251611eaa565b73ffffffffffffffffffffffffffffffffffffffff16612270846109ea565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806122c1576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612328576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123358585856001612e3f565b61234160008487611eb2565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156125c15760005482146125c057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461262c8585856001612e45565b5050505050565b6000612710905090565b61264561331b565b600082905080612653611f64565b11158015612662575060005481105b15612895576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161289357600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127775780925050506128c7565b5b60011561289257818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461288d5780925050506128c7565b612778565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6129ac828260405180602001604052806000815250612e4b565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129d6611eaa565b8786866040518563ffffffff1660e01b81526004016129f89493929190613de4565b602060405180830381600087803b158015612a1257600080fd5b505af1925050508015612a4357506040513d601f19601f82011682018060405250810190612a4091906138eb565b60015b612abd573d8060008114612a73576040519150601f19603f3d011682016040523d82523d6000602084013e612a78565b606091505b50600081511415612ab5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600e8054612b1f906143a9565b80601f0160208091040260200160405190810160405280929190818152602001828054612b4b906143a9565b8015612b985780601f10612b6d57610100808354040283529160200191612b98565b820191906000526020600020905b815481529060010190602001808311612b7b57829003601f168201915b5050505050905090565b60606000821415612bea576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cfe565b600082905060005b60008214612c1c578080612c059061440c565b915050600a82612c15919061421c565b9150612bf2565b60008167ffffffffffffffff811115612c3857612c37614542565b5b6040519080825280601f01601f191660200182016040528015612c6a5781602001600182028036833780820191505090505b5090505b60008514612cf757600182612c8391906142a7565b9150600a85612c929190614455565b6030612c9e91906141c6565b60f81b818381518110612cb457612cb3614513565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cf0919061421c565b9450612c6e565b8093505050505b919050565b80601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d5291906141c6565b925050819055505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e2857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612e385750612e3782612e5d565b5b9050919050565b50505050565b50505050565b612e588383836001612ec7565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612f34576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612f6f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612f7c6000868387612e3f565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561314657506131458773ffffffffffffffffffffffffffffffffffffffff16611dbf565b5b1561320c575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131bb60008884806001019550886129b0565b6131f1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561314c57826000541461320757600080fd5b613278565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561320d575b81600081905550505061328e6000868387612e45565b5050505050565b8280546132a1906143a9565b90600052602060002090601f0160209004810192826132c3576000855561330a565b82601f106132dc57805160ff191683800117855561330a565b8280016001018555821561330a579182015b828111156133095782518255916020019190600101906132ee565b5b509050613317919061335e565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561337757600081600090555060010161335f565b5090565b600061338e6133898461410c565b6140e7565b9050828152602081018484840111156133aa576133a9614580565b5b6133b5848285614367565b509392505050565b60006133d06133cb8461413d565b6140e7565b9050828152602081018484840111156133ec576133eb614580565b5b6133f7848285614367565b509392505050565b60008135905061340e816149ac565b92915050565b60008083601f84011261342a57613429614576565b5b8235905067ffffffffffffffff81111561344757613446614571565b5b6020830191508360208202830111156134635761346261457b565b5b9250929050565b600081359050613479816149c3565b92915050565b60008135905061348e816149da565b92915050565b6000815190506134a3816149da565b92915050565b60008083601f8401126134bf576134be614576565b5b8235905067ffffffffffffffff8111156134dc576134db614571565b5b6020830191508360018202830111156134f8576134f761457b565b5b9250929050565b600082601f83011261351457613513614576565b5b813561352484826020860161337b565b91505092915050565b600082601f83011261354257613541614576565b5b81356135528482602086016133bd565b91505092915050565b60008135905061356a816149f1565b92915050565b60008135905061357f81614a08565b92915050565b60006020828403121561359b5761359a61458a565b5b60006135a9848285016133ff565b91505092915050565b600080604083850312156135c9576135c861458a565b5b60006135d7858286016133ff565b92505060206135e8858286016133ff565b9150509250929050565b60008060008060008060008060a0898b0312156136125761361161458a565b5b60006136208b828c016133ff565b98505060206136318b828c016133ff565b975050604089013567ffffffffffffffff81111561365257613651614585565b5b61365e8b828c01613414565b9650965050606089013567ffffffffffffffff81111561368157613680614585565b5b61368d8b828c01613414565b9450945050608089013567ffffffffffffffff8111156136b0576136af614585565b5b6136bc8b828c016134a9565b92509250509295985092959890939650565b6000806000606084860312156136e7576136e661458a565b5b60006136f5868287016133ff565b9350506020613706868287016133ff565b92505060406137178682870161355b565b9150509250925092565b6000806000806080858703121561373b5761373a61458a565b5b6000613749878288016133ff565b945050602061375a878288016133ff565b935050604061376b8782880161355b565b925050606085013567ffffffffffffffff81111561378c5761378b614585565b5b613798878288016134ff565b91505092959194509250565b60008060008060008060a087890312156137c1576137c061458a565b5b60006137cf89828a016133ff565b96505060206137e089828a016133ff565b95505060406137f189828a0161355b565b945050606061380289828a0161355b565b935050608087013567ffffffffffffffff81111561382357613822614585565b5b61382f89828a016134a9565b92509250509295509295509295565b600080604083850312156138555761385461458a565b5b6000613863858286016133ff565b92505060206138748582860161346a565b9150509250929050565b600080604083850312156138955761389461458a565b5b60006138a3858286016133ff565b92505060206138b48582860161355b565b9150509250929050565b6000602082840312156138d4576138d361458a565b5b60006138e28482850161347f565b91505092915050565b6000602082840312156139015761390061458a565b5b600061390f84828501613494565b91505092915050565b60006020828403121561392e5761392d61458a565b5b600082013567ffffffffffffffff81111561394c5761394b614585565b5b6139588482850161352d565b91505092915050565b6000602082840312156139775761397661458a565b5b60006139858482850161355b565b91505092915050565b600080604083850312156139a5576139a461458a565b5b60006139b38582860161355b565b92505060206139c48582860161355b565b9150509250929050565b6000602082840312156139e4576139e361458a565b5b60006139f284828501613570565b91505092915050565b613a04816142db565b82525050565b613a13816142ed565b82525050565b613a22816142f9565b82525050565b6000613a3382614183565b613a3d8185614199565b9350613a4d818560208601614376565b613a568161458f565b840191505092915050565b6000613a6c8261418e565b613a7681856141aa565b9350613a86818560208601614376565b613a8f8161458f565b840191505092915050565b6000613aa58261418e565b613aaf81856141bb565b9350613abf818560208601614376565b80840191505092915050565b60008154613ad8816143a9565b613ae281866141bb565b94506001821660008114613afd5760018114613b0e57613b41565b60ff19831686528186019350613b41565b613b178561416e565b60005b83811015613b3957815481890152600182019150602081019050613b1a565b838801955050505b50505092915050565b6000613b57602a836141aa565b9150613b62826145a0565b604082019050919050565b6000613b7a6018836141aa565b9150613b85826145ef565b602082019050919050565b6000613b9d6026836141aa565b9150613ba882614618565b604082019050919050565b6000613bc0602d836141aa565b9150613bcb82614667565b604082019050919050565b6000613be36016836141aa565b9150613bee826146b6565b602082019050919050565b6000613c06603a836141aa565b9150613c11826146df565b604082019050919050565b6000613c296024836141aa565b9150613c348261472e565b604082019050919050565b6000613c4c6017836141aa565b9150613c578261477d565b602082019050919050565b6000613c6f6020836141aa565b9150613c7a826147a6565b602082019050919050565b6000613c926029836141aa565b9150613c9d826147cf565b604082019050919050565b6000613cb5602a836141aa565b9150613cc08261481e565b604082019050919050565b6000613cd86021836141aa565b9150613ce38261486d565b604082019050919050565b6000613cfb601f836141aa565b9150613d06826148bc565b602082019050919050565b6000613d1e6019836141aa565b9150613d29826148e5565b602082019050919050565b6000613d41602a836141aa565b9150613d4c8261490e565b604082019050919050565b6000613d646022836141aa565b9150613d6f8261495d565b604082019050919050565b613d8381614345565b82525050565b613d928161434f565b82525050565b6000613da48286613a9a565b9150613db08285613a9a565b9150613dbc8284613acb565b9150819050949350505050565b6000602082019050613dde60008301846139fb565b92915050565b6000608082019050613df960008301876139fb565b613e0660208301866139fb565b613e136040830185613d7a565b8181036060830152613e258184613a28565b905095945050505050565b6000604082019050613e4560008301856139fb565b613e526020830184613d7a565b9392505050565b6000602082019050613e6e6000830184613a0a565b92915050565b6000602082019050613e896000830184613a19565b92915050565b60006020820190508181036000830152613ea98184613a61565b905092915050565b60006020820190508181036000830152613eca81613b4a565b9050919050565b60006020820190508181036000830152613eea81613b6d565b9050919050565b60006020820190508181036000830152613f0a81613b90565b9050919050565b60006020820190508181036000830152613f2a81613bb3565b9050919050565b60006020820190508181036000830152613f4a81613bd6565b9050919050565b60006020820190508181036000830152613f6a81613bf9565b9050919050565b60006020820190508181036000830152613f8a81613c1c565b9050919050565b60006020820190508181036000830152613faa81613c3f565b9050919050565b60006020820190508181036000830152613fca81613c62565b9050919050565b60006020820190508181036000830152613fea81613c85565b9050919050565b6000602082019050818103600083015261400a81613ca8565b9050919050565b6000602082019050818103600083015261402a81613ccb565b9050919050565b6000602082019050818103600083015261404a81613cee565b9050919050565b6000602082019050818103600083015261406a81613d11565b9050919050565b6000602082019050818103600083015261408a81613d34565b9050919050565b600060208201905081810360008301526140aa81613d57565b9050919050565b60006020820190506140c66000830184613d7a565b92915050565b60006020820190506140e16000830184613d89565b92915050565b60006140f1614102565b90506140fd82826143db565b919050565b6000604051905090565b600067ffffffffffffffff82111561412757614126614542565b5b6141308261458f565b9050602081019050919050565b600067ffffffffffffffff82111561415857614157614542565b5b6141618261458f565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006141d182614345565b91506141dc83614345565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561421157614210614486565b5b828201905092915050565b600061422782614345565b915061423283614345565b925082614242576142416144b5565b5b828204905092915050565b600061425882614345565b915061426383614345565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561429c5761429b614486565b5b828202905092915050565b60006142b282614345565b91506142bd83614345565b9250828210156142d0576142cf614486565b5b828203905092915050565b60006142e682614325565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015614394578082015181840152602081019050614379565b838111156143a3576000848401525b50505050565b600060028204905060018216806143c157607f821691505b602082108114156143d5576143d46144e4565b5b50919050565b6143e48261458f565b810181811067ffffffffffffffff8211171561440357614402614542565b5b80604052505050565b600061441782614345565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561444a57614449614486565b5b600182019050919050565b600061446082614345565b915061446b83614345565b92508261447b5761447a6144b5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f46443a204e6f2070617373657320746f2076616c696461746520666f7220746860008201527f6973206164647265737300000000000000000000000000000000000000000000602082015250565b7f46443a20546f6b656e20646f6573206e6f742065786973740000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46443a2048617665206e6f74206465706f736974656420616e79204f4720706160008201527f7373657320746f20636c61696d00000000000000000000000000000000000000602082015250565b7f46443a2053616c65206973206e6f742061637469766500000000000000000000600082015250565b7f46443a204465706f73697465642062616c616e6365206973206c65737320746860008201527f616e207175616e7469747920747279696e6720746f206d696e74000000000000602082015250565b7f46443a20507572636861736520776f756c6420657863656564204d41585f535560008201527f50504c5900000000000000000000000000000000000000000000000000000000602082015250565b7f46443a204e6f7468696e6720746f207769746864726177000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f46443a204d75737420617474656d707420746f206d696e74206174206c65617360008201527f74203120746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f46443a20496e636f7272656374204554482076616c756520737065636966696560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b7f46443a204e6f7420656e6f75676820706173736573207265636569766564207460008201527f6f2076616c696461746500000000000000000000000000000000000000000000602082015250565b7f46443a205468652063616c6c657220697320616e6f7468657220636f6e74726160008201527f6374000000000000000000000000000000000000000000000000000000000000602082015250565b6149b5816142db565b81146149c057600080fd5b50565b6149cc816142ed565b81146149d757600080fd5b50565b6149e3816142f9565b81146149ee57600080fd5b50565b6149fa81614345565b8114614a0557600080fd5b50565b614a118161434f565b8114614a1c57600080fd5b5056fea2646970667358221220a9ed69e16e85bc30c7359758094c8415a0d7e2b4686862d72ea6cc552fc224dc64736f6c63430008070033
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.