ERC-721
Overview
Max Total Supply
2,000 TB
Holders
328
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 TBLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TRAVELBIRBS
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "./ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/[email protected]/utils/cryptography/MerkleProof.sol"; import "./DefaultOperatorFilterer.sol"; contract TRAVELBIRBS is ERC721A, DefaultOperatorFilterer, Ownable { using Strings for uint256; // Supply and Price uint256 public constant wlSupply = 1000; uint256 public constant maxSupply = 2000; uint256 public WLcost = 0.0088 ether; uint256 public publicCost = 0.0099 ether; // WL bytes32 private merkleRoot; // Memory bool public wlActive; bool public pubActive; string private baseURI; bool public appendedID; // Claim tracker mapping(address => uint256) public whitelistClaimed; mapping(address => uint256) public publicClaimed; constructor() ERC721A("TRAVELBIRBS", "TB") { } function mint(uint256 _quantity) external payable { require(_quantity > 0); uint256 s = totalSupply(); require(msg.value >= publicCost * _quantity); require(s + _quantity <= maxSupply, "Cant go over supply"); require(pubActive, "PUBLIC_INACTIVE"); require(publicClaimed[msg.sender] + _quantity <= 10, "PUBLICPAID_MAXED"); unchecked { publicClaimed[msg.sender] += _quantity; } _safeMint(msg.sender, _quantity); delete s; } function promoMint(address _account, uint256 _quantity) external onlyOwner { uint256 s = totalSupply(); require(s + _quantity <= maxSupply, "Over Supply"); require(_quantity > 0, "QUANTITY_INVALID"); _safeMint(_account, _quantity); } function wlpremint(uint256 _quantity) public payable { require(_quantity > 0); require(wlActive, "WLSALE_INACTIVE"); uint256 s = totalSupply(); require(s + _quantity <= wlSupply, "Cant go over supply"); require(whitelistClaimed[msg.sender] + _quantity <= 2, "WL_MAXED"); unchecked { whitelistClaimed[msg.sender] += _quantity; } _safeMint(msg.sender, _quantity); delete s; } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } function setWLCost(uint256 _newCost) public onlyOwner { WLcost = _newCost; } function setpublicCost(uint256 _newCost) public onlyOwner { publicCost = _newCost; } function activateWLSale() external onlyOwner { !wlActive ? wlActive = true : wlActive = false; } function activatePublicSale() external onlyOwner { !pubActive ? pubActive = true : pubActive = false; } function numberMinted(address owner) external view returns (uint256) { return _numberMinted(owner); } function setBaseURI(string calldata _baseURI, bool appendID) external onlyOwner { if (!appendedID && appendID) appendedID = appendID; baseURI = _baseURI; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "Cannot query non-existent token"); if (appendedID) { return string(abi.encodePacked(baseURI, _tokenId.toString())); } else { return baseURI; } } function withdraw() public payable onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success); } function withdrawAny(uint256 _amount) public payable onlyOwner { (bool success, ) = payable(msg.sender).call{value: _amount}(""); require(success); } function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// 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 // 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 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.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// 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 (last updated v4.8.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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 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.8.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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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 pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
// 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
{ "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":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WLcost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activatePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"activateWLSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"appendedID","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","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":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"promoMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pubActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"bool","name":"appendID","type":"bool"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setWLCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setpublicCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawAny","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wlActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"wlpremint","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6080604052661f438daa06000060095566232bff5f46c000600a553480156200002757600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600b81526020017f54524156454c42495242530000000000000000000000000000000000000000008152506040518060400160405280600281526020017f54420000000000000000000000000000000000000000000000000000000000008152508160029081620000bc919062000651565b508060039081620000ce919062000651565b50620000df6200030460201b60201c565b600081905550505060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620002dc578015620001a2576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001689291906200077d565b600060405180830381600087803b1580156200018357600080fd5b505af115801562000198573d6000803e3d6000fd5b50505050620002db565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200025c576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620002229291906200077d565b600060405180830381600087803b1580156200023d57600080fd5b505af115801562000252573d6000803e3d6000fd5b50505050620002da565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002a59190620007aa565b600060405180830381600087803b158015620002c057600080fd5b505af1158015620002d5573d6000803e3d6000fd5b505050505b5b5b5050620002fe620002f26200030960201b60201c565b6200031160201b60201c565b620007c7565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200045957607f821691505b6020821081036200046f576200046e62000411565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004d97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200049a565b620004e586836200049a565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005326200052c6200052684620004fd565b62000507565b620004fd565b9050919050565b6000819050919050565b6200054e8362000511565b620005666200055d8262000539565b848454620004a7565b825550505050565b600090565b6200057d6200056e565b6200058a81848462000543565b505050565b5b81811015620005b257620005a660008262000573565b60018101905062000590565b5050565b601f8211156200060157620005cb8162000475565b620005d6846200048a565b81016020851015620005e6578190505b620005fe620005f5856200048a565b8301826200058f565b50505b505050565b600082821c905092915050565b6000620006266000198460080262000606565b1980831691505092915050565b600062000641838362000613565b9150826002028217905092915050565b6200065c82620003d7565b67ffffffffffffffff811115620006785762000677620003e2565b5b62000684825462000440565b62000691828285620005b6565b600060209050601f831160018114620006c95760008415620006b4578287015190505b620006c0858262000633565b86555062000730565b601f198416620006d98662000475565b60005b828110156200070357848901518255600182019150602085019450602081019050620006dc565b868310156200072357848901516200071f601f89168262000613565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007658262000738565b9050919050565b620007778162000758565b82525050565b60006040820190506200079460008301856200076c565b620007a360208301846200076c565b9392505050565b6000602082019050620007c160008301846200076c565b92915050565b613f3180620007d76000396000f3fe6080604052600436106102305760003560e01c80638da5cb5b1161012e578063c87b56dd116100ab578063e985e9c51161006f578063e985e9c5146107ee578063ea0dc7ee1461082b578063eabff71014610854578063ee2944da14610870578063f2fde38b1461089b57610230565b8063c87b56dd146106e3578063d1d1921314610720578063d5abeb0114610749578063db4bec4414610774578063dc33e681146107b157610230565b8063a2a3eb4d116100f2578063a2a3eb4d14610614578063a6a321f61461063d578063b5b1cd7c14610654578063b64b21ca14610691578063b88d4fde146106ba57610230565b80638da5cb5b1461054e578063945937651461057957806395d89b41146105a4578063a0712d68146105cf578063a22cb465146105eb57610230565b806341f43434116101bc57806370a082311161018057806370a082311461048a578063715018a6146104c757806377ad99f0146104de5780637cb64759146104fa5780638693da201461052357610230565b806341f43434146103a357806342842e0e146103ce57806348575bfa146103f757806352417630146104225780636352211e1461044d57610230565b80630fe8418b116102035780630fe8418b1461030357806311eb30471461032e57806318160ddd1461034557806323b872dd146103705780633ccfd60b1461039957610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190612d8a565b6108c4565b6040516102699190612dd2565b60405180910390f35b34801561027e57600080fd5b506102876109a6565b6040516102949190612e7d565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190612ed5565b610a38565b6040516102d19190612f43565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190612f8a565b610ab4565b005b34801561030f57600080fd5b50610318610bbe565b6040516103259190612fd9565b60405180910390f35b34801561033a57600080fd5b50610343610bc4565b005b34801561035157600080fd5b5061035a610c1e565b6040516103679190612fd9565b60405180910390f35b34801561037c57600080fd5b5061039760048036038101906103929190612ff4565b610c35565b005b6103a1610c84565b005b3480156103af57600080fd5b506103b8610d05565b6040516103c591906130a6565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f09190612ff4565b610d17565b005b34801561040357600080fd5b5061040c610d66565b6040516104199190612dd2565b60405180910390f35b34801561042e57600080fd5b50610437610d79565b6040516104449190612fd9565b60405180910390f35b34801561045957600080fd5b50610474600480360381019061046f9190612ed5565b610d7f565b6040516104819190612f43565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac91906130c1565b610d95565b6040516104be9190612fd9565b60405180910390f35b3480156104d357600080fd5b506104dc610e64565b005b6104f860048036038101906104f39190612ed5565b610e78565b005b34801561050657600080fd5b50610521600480360381019061051c9190613124565b610efa565b005b34801561052f57600080fd5b50610538610f0c565b6040516105459190612fd9565b60405180910390f35b34801561055a57600080fd5b50610563610f12565b6040516105709190612f43565b60405180910390f35b34801561058557600080fd5b5061058e610f3c565b60405161059b9190612dd2565b60405180910390f35b3480156105b057600080fd5b506105b9610f4f565b6040516105c69190612e7d565b60405180910390f35b6105e960048036038101906105e49190612ed5565b610fe1565b005b3480156105f757600080fd5b50610612600480360381019061060d919061317d565b6111a0565b005b34801561062057600080fd5b5061063b60048036038101906106369190612f8a565b611317565b005b34801561064957600080fd5b506106526113cd565b005b34801561066057600080fd5b5061067b600480360381019061067691906130c1565b611427565b6040516106889190612fd9565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b39190613222565b61143f565b005b3480156106c657600080fd5b506106e160048036038101906106dc91906133b2565b611498565b005b3480156106ef57600080fd5b5061070a60048036038101906107059190612ed5565b6114e9565b6040516107179190612e7d565b60405180910390f35b34801561072c57600080fd5b5061074760048036038101906107429190612ed5565b61160d565b005b34801561075557600080fd5b5061075e61161f565b60405161076b9190612fd9565b60405180910390f35b34801561078057600080fd5b5061079b600480360381019061079691906130c1565b611625565b6040516107a89190612fd9565b60405180910390f35b3480156107bd57600080fd5b506107d860048036038101906107d391906130c1565b61163d565b6040516107e59190612fd9565b60405180910390f35b3480156107fa57600080fd5b5061081560048036038101906108109190613435565b61164f565b6040516108229190612dd2565b60405180910390f35b34801561083757600080fd5b50610852600480360381019061084d9190612ed5565b6116e3565b005b61086e60048036038101906108699190612ed5565b6116f5565b005b34801561087c57600080fd5b5061088561189a565b6040516108929190612dd2565b60405180910390f35b3480156108a757600080fd5b506108c260048036038101906108bd91906130c1565b6118ad565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061099f575061099e82611930565b5b9050919050565b6060600280546109b5906134a4565b80601f01602080910402602001604051908101604052809291908181526020018280546109e1906134a4565b8015610a2e5780601f10610a0357610100808354040283529160200191610a2e565b820191906000526020600020905b815481529060010190602001808311610a1157829003601f168201915b5050505050905090565b6000610a438261199a565b610a79576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610abf82610d7f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b26576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b456119e8565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b775750610b7581610b706119e8565b61164f565b155b15610bae576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bb98383836119f0565b505050565b6103e881565b610bcc611aa2565b600c60019054906101000a900460ff1615610c00576000600c60016101000a81548160ff0219169083151502179055610c1b565b6001600c60016101000a81548160ff02191690831515021790555b50565b6000610c28611b20565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c7357610c7233611b25565b5b610c7e848484611c22565b50505050565b610c8c611aa2565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610cb290613506565b60006040518083038185875af1925050503d8060008114610cef576040519150601f19603f3d011682016040523d82523d6000602084013e610cf4565b606091505b5050905080610d0257600080fd5b50565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d5557610d5433611b25565b5b610d60848484611c32565b50505050565b600c60009054906101000a900460ff1681565b60095481565b6000610d8a82611c52565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610dfc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610e6c611aa2565b610e766000611ee1565b565b610e80611aa2565b60003373ffffffffffffffffffffffffffffffffffffffff1682604051610ea690613506565b60006040518083038185875af1925050503d8060008114610ee3576040519150601f19603f3d011682016040523d82523d6000602084013e610ee8565b606091505b5050905080610ef657600080fd5b5050565b610f02611aa2565b80600b8190555050565b600a5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e60009054906101000a900460ff1681565b606060038054610f5e906134a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8a906134a4565b8015610fd75780601f10610fac57610100808354040283529160200191610fd7565b820191906000526020600020905b815481529060010190602001808311610fba57829003601f168201915b5050505050905090565b60008111610fee57600080fd5b6000610ff8610c1e565b905081600a54611008919061354a565b34101561101457600080fd5b6107d08282611023919061358c565b1115611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105b9061360c565b60405180910390fd5b600c60019054906101000a900460ff166110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa90613678565b60405180910390fd5b600a82601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611100919061358c565b1115611141576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611138906136e4565b60405180910390fd5b81601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506111983383611fa7565b600090505050565b6111a86119e8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361120c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006112196119e8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112c66119e8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161130b9190612dd2565b60405180910390a35050565b61131f611aa2565b6000611329610c1e565b90506107d0828261133a919061358c565b111561137b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137290613750565b60405180910390fd5b600082116113be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b5906137bc565b60405180910390fd5b6113c88383611fa7565b505050565b6113d5611aa2565b600c60009054906101000a900460ff1615611409576000600c60006101000a81548160ff0219169083151502179055611424565b6001600c60006101000a81548160ff02191690831515021790555b50565b60106020528060005260406000206000915090505481565b611447611aa2565b600e60009054906101000a900460ff161580156114615750805b156114815780600e60006101000a81548160ff0219169083151502179055505b8282600d9182611492929190613989565b50505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114d6576114d533611b25565b5b6114e285858585611fc5565b5050505050565b60606114f48261199a565b611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90613aa5565b60405180910390fd5b600e60009054906101000a900460ff161561157a57600d61155383612041565b604051602001611564929190613b84565b6040516020818303038152906040529050611608565b600d8054611587906134a4565b80601f01602080910402602001604051908101604052809291908181526020018280546115b3906134a4565b80156116005780601f106115d557610100808354040283529160200191611600565b820191906000526020600020905b8154815290600101906020018083116115e357829003601f168201915b505050505090505b919050565b611615611aa2565b8060098190555050565b6107d081565b600f6020528060005260406000206000915090505481565b60006116488261210f565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116eb611aa2565b80600a8190555050565b6000811161170257600080fd5b600c60009054906101000a900460ff16611751576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174890613bf4565b60405180910390fd5b600061175b610c1e565b90506103e8828261176c919061358c565b11156117ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a49061360c565b60405180910390fd5b600282600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117fa919061358c565b111561183b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183290613c60565b60405180910390fd5b81600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506118923383611fa7565b600090505050565b600c60019054906101000a900460ff1681565b6118b5611aa2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611924576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191b90613cf2565b60405180910390fd5b61192d81611ee1565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816119a5611b20565b111580156119b4575060005482105b80156119e1575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b611aaa6119e8565b73ffffffffffffffffffffffffffffffffffffffff16611ac8610f12565b73ffffffffffffffffffffffffffffffffffffffff1614611b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1590613d5e565b60405180910390fd5b565b600090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611c1f576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611b9c929190613d7e565b602060405180830381865afa158015611bb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdd9190613dbc565b611c1e57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611c159190612f43565b60405180910390fd5b5b50565b611c2d838383612179565b505050565b611c4d83838360405180602001604052806000815250611498565b505050565b611c5a612cdb565b600082905080611c68611b20565b11158015611c77575060005481105b15611eaa576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611ea857600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611d8c578092505050611edc565b5b600115611ea757818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611ea2578092505050611edc565b611d8d565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611fc182826040518060200160405280600081525061262d565b5050565b611fd0848484612179565b611fef8373ffffffffffffffffffffffffffffffffffffffff1661263f565b8015612004575061200284848484612662565b155b1561203b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606060006001612050846127b2565b01905060008167ffffffffffffffff81111561206f5761206e613287565b5b6040519080825280601f01601f1916602001820160405280156120a15781602001600182028036833780820191505090505b509050600082602001820190505b600115612104578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816120f8576120f7613de9565b5b049450600085036120af575b819350505050919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600061218482611c52565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146121ef576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166122106119e8565b73ffffffffffffffffffffffffffffffffffffffff16148061223f575061223e856122396119e8565b61164f565b5b80612284575061224d6119e8565b73ffffffffffffffffffffffffffffffffffffffff1661226c84610a38565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806122bd576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612323576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123308585856001612905565b61233c600084876119f0565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036125bb5760005482146125ba57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612626858585600161290b565b5050505050565b61263a8383836001612911565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126886119e8565b8786866040518563ffffffff1660e01b81526004016126aa9493929190613e6d565b6020604051808303816000875af19250505080156126e657506040513d601f19601f820116820180604052508101906126e39190613ece565b60015b61275f573d8060008114612716576040519150601f19603f3d011682016040523d82523d6000602084013e61271b565b606091505b506000815103612757576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612810577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161280657612805613de9565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061284d576d04ee2d6d415b85acef8100000000838161284357612842613de9565b5b0492506020810190505b662386f26fc10000831061287c57662386f26fc10000838161287257612871613de9565b5b0492506010810190505b6305f5e10083106128a5576305f5e100838161289b5761289a613de9565b5b0492506008810190505b61271083106128ca5761271083816128c0576128bf613de9565b5b0492506004810190505b606483106128ed57606483816128e3576128e2613de9565b5b0492506002810190505b600a83106128fc576001810190505b80915050919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361297d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084036129b7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129c46000868387612905565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612b8e5750612b8d8773ffffffffffffffffffffffffffffffffffffffff1661263f565b5b15612c53575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c036000888480600101955088612662565b612c39576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808203612b94578260005414612c4e57600080fd5b612cbe565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808203612c54575b816000819055505050612cd4600086838761290b565b5050505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612d6781612d32565b8114612d7257600080fd5b50565b600081359050612d8481612d5e565b92915050565b600060208284031215612da057612d9f612d28565b5b6000612dae84828501612d75565b91505092915050565b60008115159050919050565b612dcc81612db7565b82525050565b6000602082019050612de76000830184612dc3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e27578082015181840152602081019050612e0c565b60008484015250505050565b6000601f19601f8301169050919050565b6000612e4f82612ded565b612e598185612df8565b9350612e69818560208601612e09565b612e7281612e33565b840191505092915050565b60006020820190508181036000830152612e978184612e44565b905092915050565b6000819050919050565b612eb281612e9f565b8114612ebd57600080fd5b50565b600081359050612ecf81612ea9565b92915050565b600060208284031215612eeb57612eea612d28565b5b6000612ef984828501612ec0565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612f2d82612f02565b9050919050565b612f3d81612f22565b82525050565b6000602082019050612f586000830184612f34565b92915050565b612f6781612f22565b8114612f7257600080fd5b50565b600081359050612f8481612f5e565b92915050565b60008060408385031215612fa157612fa0612d28565b5b6000612faf85828601612f75565b9250506020612fc085828601612ec0565b9150509250929050565b612fd381612e9f565b82525050565b6000602082019050612fee6000830184612fca565b92915050565b60008060006060848603121561300d5761300c612d28565b5b600061301b86828701612f75565b935050602061302c86828701612f75565b925050604061303d86828701612ec0565b9150509250925092565b6000819050919050565b600061306c61306761306284612f02565b613047565b612f02565b9050919050565b600061307e82613051565b9050919050565b600061309082613073565b9050919050565b6130a081613085565b82525050565b60006020820190506130bb6000830184613097565b92915050565b6000602082840312156130d7576130d6612d28565b5b60006130e584828501612f75565b91505092915050565b6000819050919050565b613101816130ee565b811461310c57600080fd5b50565b60008135905061311e816130f8565b92915050565b60006020828403121561313a57613139612d28565b5b60006131488482850161310f565b91505092915050565b61315a81612db7565b811461316557600080fd5b50565b60008135905061317781613151565b92915050565b6000806040838503121561319457613193612d28565b5b60006131a285828601612f75565b92505060206131b385828601613168565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f8401126131e2576131e16131bd565b5b8235905067ffffffffffffffff8111156131ff576131fe6131c2565b5b60208301915083600182028301111561321b5761321a6131c7565b5b9250929050565b60008060006040848603121561323b5761323a612d28565b5b600084013567ffffffffffffffff81111561325957613258612d2d565b5b613265868287016131cc565b9350935050602061327886828701613168565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6132bf82612e33565b810181811067ffffffffffffffff821117156132de576132dd613287565b5b80604052505050565b60006132f1612d1e565b90506132fd82826132b6565b919050565b600067ffffffffffffffff82111561331d5761331c613287565b5b61332682612e33565b9050602081019050919050565b82818337600083830152505050565b600061335561335084613302565b6132e7565b90508281526020810184848401111561337157613370613282565b5b61337c848285613333565b509392505050565b600082601f830112613399576133986131bd565b5b81356133a9848260208601613342565b91505092915050565b600080600080608085870312156133cc576133cb612d28565b5b60006133da87828801612f75565b94505060206133eb87828801612f75565b93505060406133fc87828801612ec0565b925050606085013567ffffffffffffffff81111561341d5761341c612d2d565b5b61342987828801613384565b91505092959194509250565b6000806040838503121561344c5761344b612d28565b5b600061345a85828601612f75565b925050602061346b85828601612f75565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806134bc57607f821691505b6020821081036134cf576134ce613475565b5b50919050565b600081905092915050565b50565b60006134f06000836134d5565b91506134fb826134e0565b600082019050919050565b6000613511826134e3565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061355582612e9f565b915061356083612e9f565b925082820261356e81612e9f565b915082820484148315176135855761358461351b565b5b5092915050565b600061359782612e9f565b91506135a283612e9f565b92508282019050808211156135ba576135b961351b565b5b92915050565b7f43616e7420676f206f76657220737570706c7900000000000000000000000000600082015250565b60006135f6601383612df8565b9150613601826135c0565b602082019050919050565b60006020820190508181036000830152613625816135e9565b9050919050565b7f5055424c49435f494e4143544956450000000000000000000000000000000000600082015250565b6000613662600f83612df8565b915061366d8261362c565b602082019050919050565b6000602082019050818103600083015261369181613655565b9050919050565b7f5055424c4943504149445f4d4158454400000000000000000000000000000000600082015250565b60006136ce601083612df8565b91506136d982613698565b602082019050919050565b600060208201905081810360008301526136fd816136c1565b9050919050565b7f4f76657220537570706c79000000000000000000000000000000000000000000600082015250565b600061373a600b83612df8565b915061374582613704565b602082019050919050565b600060208201905081810360008301526137698161372d565b9050919050565b7f5155414e544954595f494e56414c494400000000000000000000000000000000600082015250565b60006137a6601083612df8565b91506137b182613770565b602082019050919050565b600060208201905081810360008301526137d581613799565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026138497fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261380c565b613853868361380c565b95508019841693508086168417925050509392505050565b600061388661388161387c84612e9f565b613047565b612e9f565b9050919050565b6000819050919050565b6138a08361386b565b6138b46138ac8261388d565b848454613819565b825550505050565b600090565b6138c96138bc565b6138d4818484613897565b505050565b5b818110156138f8576138ed6000826138c1565b6001810190506138da565b5050565b601f82111561393d5761390e816137e7565b613917846137fc565b81016020851015613926578190505b61393a613932856137fc565b8301826138d9565b50505b505050565b600082821c905092915050565b600061396060001984600802613942565b1980831691505092915050565b6000613979838361394f565b9150826002028217905092915050565b61399383836137dc565b67ffffffffffffffff8111156139ac576139ab613287565b5b6139b682546134a4565b6139c18282856138fc565b6000601f8311600181146139f057600084156139de578287013590505b6139e8858261396d565b865550613a50565b601f1984166139fe866137e7565b60005b82811015613a2657848901358255600182019150602085019450602081019050613a01565b86831015613a435784890135613a3f601f89168261394f565b8355505b6001600288020188555050505b50505050505050565b7f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00600082015250565b6000613a8f601f83612df8565b9150613a9a82613a59565b602082019050919050565b60006020820190508181036000830152613abe81613a82565b9050919050565b600081905092915050565b60008154613add816134a4565b613ae78186613ac5565b94506001821660008114613b025760018114613b1757613b4a565b60ff1983168652811515820286019350613b4a565b613b20856137e7565b60005b83811015613b4257815481890152600182019150602081019050613b23565b838801955050505b50505092915050565b6000613b5e82612ded565b613b688185613ac5565b9350613b78818560208601612e09565b80840191505092915050565b6000613b908285613ad0565b9150613b9c8284613b53565b91508190509392505050565b7f574c53414c455f494e4143544956450000000000000000000000000000000000600082015250565b6000613bde600f83612df8565b9150613be982613ba8565b602082019050919050565b60006020820190508181036000830152613c0d81613bd1565b9050919050565b7f574c5f4d41584544000000000000000000000000000000000000000000000000600082015250565b6000613c4a600883612df8565b9150613c5582613c14565b602082019050919050565b60006020820190508181036000830152613c7981613c3d565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613cdc602683612df8565b9150613ce782613c80565b604082019050919050565b60006020820190508181036000830152613d0b81613ccf565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d48602083612df8565b9150613d5382613d12565b602082019050919050565b60006020820190508181036000830152613d7781613d3b565b9050919050565b6000604082019050613d936000830185612f34565b613da06020830184612f34565b9392505050565b600081519050613db681613151565b92915050565b600060208284031215613dd257613dd1612d28565b5b6000613de084828501613da7565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000613e3f82613e18565b613e498185613e23565b9350613e59818560208601612e09565b613e6281612e33565b840191505092915050565b6000608082019050613e826000830187612f34565b613e8f6020830186612f34565b613e9c6040830185612fca565b8181036060830152613eae8184613e34565b905095945050505050565b600081519050613ec881612d5e565b92915050565b600060208284031215613ee457613ee3612d28565b5b6000613ef284828501613eb9565b9150509291505056fea26469706673582212203cf1938351100cf3779a46361ce6ddcd7592d47cd5b33ab912cb8a6ec714eadb64736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102305760003560e01c80638da5cb5b1161012e578063c87b56dd116100ab578063e985e9c51161006f578063e985e9c5146107ee578063ea0dc7ee1461082b578063eabff71014610854578063ee2944da14610870578063f2fde38b1461089b57610230565b8063c87b56dd146106e3578063d1d1921314610720578063d5abeb0114610749578063db4bec4414610774578063dc33e681146107b157610230565b8063a2a3eb4d116100f2578063a2a3eb4d14610614578063a6a321f61461063d578063b5b1cd7c14610654578063b64b21ca14610691578063b88d4fde146106ba57610230565b80638da5cb5b1461054e578063945937651461057957806395d89b41146105a4578063a0712d68146105cf578063a22cb465146105eb57610230565b806341f43434116101bc57806370a082311161018057806370a082311461048a578063715018a6146104c757806377ad99f0146104de5780637cb64759146104fa5780638693da201461052357610230565b806341f43434146103a357806342842e0e146103ce57806348575bfa146103f757806352417630146104225780636352211e1461044d57610230565b80630fe8418b116102035780630fe8418b1461030357806311eb30471461032e57806318160ddd1461034557806323b872dd146103705780633ccfd60b1461039957610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190612d8a565b6108c4565b6040516102699190612dd2565b60405180910390f35b34801561027e57600080fd5b506102876109a6565b6040516102949190612e7d565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190612ed5565b610a38565b6040516102d19190612f43565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190612f8a565b610ab4565b005b34801561030f57600080fd5b50610318610bbe565b6040516103259190612fd9565b60405180910390f35b34801561033a57600080fd5b50610343610bc4565b005b34801561035157600080fd5b5061035a610c1e565b6040516103679190612fd9565b60405180910390f35b34801561037c57600080fd5b5061039760048036038101906103929190612ff4565b610c35565b005b6103a1610c84565b005b3480156103af57600080fd5b506103b8610d05565b6040516103c591906130a6565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f09190612ff4565b610d17565b005b34801561040357600080fd5b5061040c610d66565b6040516104199190612dd2565b60405180910390f35b34801561042e57600080fd5b50610437610d79565b6040516104449190612fd9565b60405180910390f35b34801561045957600080fd5b50610474600480360381019061046f9190612ed5565b610d7f565b6040516104819190612f43565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac91906130c1565b610d95565b6040516104be9190612fd9565b60405180910390f35b3480156104d357600080fd5b506104dc610e64565b005b6104f860048036038101906104f39190612ed5565b610e78565b005b34801561050657600080fd5b50610521600480360381019061051c9190613124565b610efa565b005b34801561052f57600080fd5b50610538610f0c565b6040516105459190612fd9565b60405180910390f35b34801561055a57600080fd5b50610563610f12565b6040516105709190612f43565b60405180910390f35b34801561058557600080fd5b5061058e610f3c565b60405161059b9190612dd2565b60405180910390f35b3480156105b057600080fd5b506105b9610f4f565b6040516105c69190612e7d565b60405180910390f35b6105e960048036038101906105e49190612ed5565b610fe1565b005b3480156105f757600080fd5b50610612600480360381019061060d919061317d565b6111a0565b005b34801561062057600080fd5b5061063b60048036038101906106369190612f8a565b611317565b005b34801561064957600080fd5b506106526113cd565b005b34801561066057600080fd5b5061067b600480360381019061067691906130c1565b611427565b6040516106889190612fd9565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b39190613222565b61143f565b005b3480156106c657600080fd5b506106e160048036038101906106dc91906133b2565b611498565b005b3480156106ef57600080fd5b5061070a60048036038101906107059190612ed5565b6114e9565b6040516107179190612e7d565b60405180910390f35b34801561072c57600080fd5b5061074760048036038101906107429190612ed5565b61160d565b005b34801561075557600080fd5b5061075e61161f565b60405161076b9190612fd9565b60405180910390f35b34801561078057600080fd5b5061079b600480360381019061079691906130c1565b611625565b6040516107a89190612fd9565b60405180910390f35b3480156107bd57600080fd5b506107d860048036038101906107d391906130c1565b61163d565b6040516107e59190612fd9565b60405180910390f35b3480156107fa57600080fd5b5061081560048036038101906108109190613435565b61164f565b6040516108229190612dd2565b60405180910390f35b34801561083757600080fd5b50610852600480360381019061084d9190612ed5565b6116e3565b005b61086e60048036038101906108699190612ed5565b6116f5565b005b34801561087c57600080fd5b5061088561189a565b6040516108929190612dd2565b60405180910390f35b3480156108a757600080fd5b506108c260048036038101906108bd91906130c1565b6118ad565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061099f575061099e82611930565b5b9050919050565b6060600280546109b5906134a4565b80601f01602080910402602001604051908101604052809291908181526020018280546109e1906134a4565b8015610a2e5780601f10610a0357610100808354040283529160200191610a2e565b820191906000526020600020905b815481529060010190602001808311610a1157829003601f168201915b5050505050905090565b6000610a438261199a565b610a79576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610abf82610d7f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b26576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b456119e8565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b775750610b7581610b706119e8565b61164f565b155b15610bae576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bb98383836119f0565b505050565b6103e881565b610bcc611aa2565b600c60019054906101000a900460ff1615610c00576000600c60016101000a81548160ff0219169083151502179055610c1b565b6001600c60016101000a81548160ff02191690831515021790555b50565b6000610c28611b20565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c7357610c7233611b25565b5b610c7e848484611c22565b50505050565b610c8c611aa2565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610cb290613506565b60006040518083038185875af1925050503d8060008114610cef576040519150601f19603f3d011682016040523d82523d6000602084013e610cf4565b606091505b5050905080610d0257600080fd5b50565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d5557610d5433611b25565b5b610d60848484611c32565b50505050565b600c60009054906101000a900460ff1681565b60095481565b6000610d8a82611c52565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610dfc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610e6c611aa2565b610e766000611ee1565b565b610e80611aa2565b60003373ffffffffffffffffffffffffffffffffffffffff1682604051610ea690613506565b60006040518083038185875af1925050503d8060008114610ee3576040519150601f19603f3d011682016040523d82523d6000602084013e610ee8565b606091505b5050905080610ef657600080fd5b5050565b610f02611aa2565b80600b8190555050565b600a5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e60009054906101000a900460ff1681565b606060038054610f5e906134a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8a906134a4565b8015610fd75780601f10610fac57610100808354040283529160200191610fd7565b820191906000526020600020905b815481529060010190602001808311610fba57829003601f168201915b5050505050905090565b60008111610fee57600080fd5b6000610ff8610c1e565b905081600a54611008919061354a565b34101561101457600080fd5b6107d08282611023919061358c565b1115611064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105b9061360c565b60405180910390fd5b600c60019054906101000a900460ff166110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa90613678565b60405180910390fd5b600a82601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611100919061358c565b1115611141576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611138906136e4565b60405180910390fd5b81601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506111983383611fa7565b600090505050565b6111a86119e8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361120c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006112196119e8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112c66119e8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161130b9190612dd2565b60405180910390a35050565b61131f611aa2565b6000611329610c1e565b90506107d0828261133a919061358c565b111561137b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137290613750565b60405180910390fd5b600082116113be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b5906137bc565b60405180910390fd5b6113c88383611fa7565b505050565b6113d5611aa2565b600c60009054906101000a900460ff1615611409576000600c60006101000a81548160ff0219169083151502179055611424565b6001600c60006101000a81548160ff02191690831515021790555b50565b60106020528060005260406000206000915090505481565b611447611aa2565b600e60009054906101000a900460ff161580156114615750805b156114815780600e60006101000a81548160ff0219169083151502179055505b8282600d9182611492929190613989565b50505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114d6576114d533611b25565b5b6114e285858585611fc5565b5050505050565b60606114f48261199a565b611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90613aa5565b60405180910390fd5b600e60009054906101000a900460ff161561157a57600d61155383612041565b604051602001611564929190613b84565b6040516020818303038152906040529050611608565b600d8054611587906134a4565b80601f01602080910402602001604051908101604052809291908181526020018280546115b3906134a4565b80156116005780601f106115d557610100808354040283529160200191611600565b820191906000526020600020905b8154815290600101906020018083116115e357829003601f168201915b505050505090505b919050565b611615611aa2565b8060098190555050565b6107d081565b600f6020528060005260406000206000915090505481565b60006116488261210f565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116eb611aa2565b80600a8190555050565b6000811161170257600080fd5b600c60009054906101000a900460ff16611751576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174890613bf4565b60405180910390fd5b600061175b610c1e565b90506103e8828261176c919061358c565b11156117ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a49061360c565b60405180910390fd5b600282600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117fa919061358c565b111561183b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183290613c60565b60405180910390fd5b81600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506118923383611fa7565b600090505050565b600c60019054906101000a900460ff1681565b6118b5611aa2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611924576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191b90613cf2565b60405180910390fd5b61192d81611ee1565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816119a5611b20565b111580156119b4575060005482105b80156119e1575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b611aaa6119e8565b73ffffffffffffffffffffffffffffffffffffffff16611ac8610f12565b73ffffffffffffffffffffffffffffffffffffffff1614611b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1590613d5e565b60405180910390fd5b565b600090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611c1f576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611b9c929190613d7e565b602060405180830381865afa158015611bb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdd9190613dbc565b611c1e57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611c159190612f43565b60405180910390fd5b5b50565b611c2d838383612179565b505050565b611c4d83838360405180602001604052806000815250611498565b505050565b611c5a612cdb565b600082905080611c68611b20565b11158015611c77575060005481105b15611eaa576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611ea857600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611d8c578092505050611edc565b5b600115611ea757818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611ea2578092505050611edc565b611d8d565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611fc182826040518060200160405280600081525061262d565b5050565b611fd0848484612179565b611fef8373ffffffffffffffffffffffffffffffffffffffff1661263f565b8015612004575061200284848484612662565b155b1561203b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606060006001612050846127b2565b01905060008167ffffffffffffffff81111561206f5761206e613287565b5b6040519080825280601f01601f1916602001820160405280156120a15781602001600182028036833780820191505090505b509050600082602001820190505b600115612104578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816120f8576120f7613de9565b5b049450600085036120af575b819350505050919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600061218482611c52565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146121ef576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166122106119e8565b73ffffffffffffffffffffffffffffffffffffffff16148061223f575061223e856122396119e8565b61164f565b5b80612284575061224d6119e8565b73ffffffffffffffffffffffffffffffffffffffff1661226c84610a38565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806122bd576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612323576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123308585856001612905565b61233c600084876119f0565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036125bb5760005482146125ba57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612626858585600161290b565b5050505050565b61263a8383836001612911565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126886119e8565b8786866040518563ffffffff1660e01b81526004016126aa9493929190613e6d565b6020604051808303816000875af19250505080156126e657506040513d601f19601f820116820180604052508101906126e39190613ece565b60015b61275f573d8060008114612716576040519150601f19603f3d011682016040523d82523d6000602084013e61271b565b606091505b506000815103612757576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612810577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161280657612805613de9565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061284d576d04ee2d6d415b85acef8100000000838161284357612842613de9565b5b0492506020810190505b662386f26fc10000831061287c57662386f26fc10000838161287257612871613de9565b5b0492506010810190505b6305f5e10083106128a5576305f5e100838161289b5761289a613de9565b5b0492506008810190505b61271083106128ca5761271083816128c0576128bf613de9565b5b0492506004810190505b606483106128ed57606483816128e3576128e2613de9565b5b0492506002810190505b600a83106128fc576001810190505b80915050919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361297d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084036129b7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129c46000868387612905565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612b8e5750612b8d8773ffffffffffffffffffffffffffffffffffffffff1661263f565b5b15612c53575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c036000888480600101955088612662565b612c39576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808203612b94578260005414612c4e57600080fd5b612cbe565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808203612c54575b816000819055505050612cd4600086838761290b565b5050505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612d6781612d32565b8114612d7257600080fd5b50565b600081359050612d8481612d5e565b92915050565b600060208284031215612da057612d9f612d28565b5b6000612dae84828501612d75565b91505092915050565b60008115159050919050565b612dcc81612db7565b82525050565b6000602082019050612de76000830184612dc3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e27578082015181840152602081019050612e0c565b60008484015250505050565b6000601f19601f8301169050919050565b6000612e4f82612ded565b612e598185612df8565b9350612e69818560208601612e09565b612e7281612e33565b840191505092915050565b60006020820190508181036000830152612e978184612e44565b905092915050565b6000819050919050565b612eb281612e9f565b8114612ebd57600080fd5b50565b600081359050612ecf81612ea9565b92915050565b600060208284031215612eeb57612eea612d28565b5b6000612ef984828501612ec0565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612f2d82612f02565b9050919050565b612f3d81612f22565b82525050565b6000602082019050612f586000830184612f34565b92915050565b612f6781612f22565b8114612f7257600080fd5b50565b600081359050612f8481612f5e565b92915050565b60008060408385031215612fa157612fa0612d28565b5b6000612faf85828601612f75565b9250506020612fc085828601612ec0565b9150509250929050565b612fd381612e9f565b82525050565b6000602082019050612fee6000830184612fca565b92915050565b60008060006060848603121561300d5761300c612d28565b5b600061301b86828701612f75565b935050602061302c86828701612f75565b925050604061303d86828701612ec0565b9150509250925092565b6000819050919050565b600061306c61306761306284612f02565b613047565b612f02565b9050919050565b600061307e82613051565b9050919050565b600061309082613073565b9050919050565b6130a081613085565b82525050565b60006020820190506130bb6000830184613097565b92915050565b6000602082840312156130d7576130d6612d28565b5b60006130e584828501612f75565b91505092915050565b6000819050919050565b613101816130ee565b811461310c57600080fd5b50565b60008135905061311e816130f8565b92915050565b60006020828403121561313a57613139612d28565b5b60006131488482850161310f565b91505092915050565b61315a81612db7565b811461316557600080fd5b50565b60008135905061317781613151565b92915050565b6000806040838503121561319457613193612d28565b5b60006131a285828601612f75565b92505060206131b385828601613168565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f8401126131e2576131e16131bd565b5b8235905067ffffffffffffffff8111156131ff576131fe6131c2565b5b60208301915083600182028301111561321b5761321a6131c7565b5b9250929050565b60008060006040848603121561323b5761323a612d28565b5b600084013567ffffffffffffffff81111561325957613258612d2d565b5b613265868287016131cc565b9350935050602061327886828701613168565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6132bf82612e33565b810181811067ffffffffffffffff821117156132de576132dd613287565b5b80604052505050565b60006132f1612d1e565b90506132fd82826132b6565b919050565b600067ffffffffffffffff82111561331d5761331c613287565b5b61332682612e33565b9050602081019050919050565b82818337600083830152505050565b600061335561335084613302565b6132e7565b90508281526020810184848401111561337157613370613282565b5b61337c848285613333565b509392505050565b600082601f830112613399576133986131bd565b5b81356133a9848260208601613342565b91505092915050565b600080600080608085870312156133cc576133cb612d28565b5b60006133da87828801612f75565b94505060206133eb87828801612f75565b93505060406133fc87828801612ec0565b925050606085013567ffffffffffffffff81111561341d5761341c612d2d565b5b61342987828801613384565b91505092959194509250565b6000806040838503121561344c5761344b612d28565b5b600061345a85828601612f75565b925050602061346b85828601612f75565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806134bc57607f821691505b6020821081036134cf576134ce613475565b5b50919050565b600081905092915050565b50565b60006134f06000836134d5565b91506134fb826134e0565b600082019050919050565b6000613511826134e3565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061355582612e9f565b915061356083612e9f565b925082820261356e81612e9f565b915082820484148315176135855761358461351b565b5b5092915050565b600061359782612e9f565b91506135a283612e9f565b92508282019050808211156135ba576135b961351b565b5b92915050565b7f43616e7420676f206f76657220737570706c7900000000000000000000000000600082015250565b60006135f6601383612df8565b9150613601826135c0565b602082019050919050565b60006020820190508181036000830152613625816135e9565b9050919050565b7f5055424c49435f494e4143544956450000000000000000000000000000000000600082015250565b6000613662600f83612df8565b915061366d8261362c565b602082019050919050565b6000602082019050818103600083015261369181613655565b9050919050565b7f5055424c4943504149445f4d4158454400000000000000000000000000000000600082015250565b60006136ce601083612df8565b91506136d982613698565b602082019050919050565b600060208201905081810360008301526136fd816136c1565b9050919050565b7f4f76657220537570706c79000000000000000000000000000000000000000000600082015250565b600061373a600b83612df8565b915061374582613704565b602082019050919050565b600060208201905081810360008301526137698161372d565b9050919050565b7f5155414e544954595f494e56414c494400000000000000000000000000000000600082015250565b60006137a6601083612df8565b91506137b182613770565b602082019050919050565b600060208201905081810360008301526137d581613799565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026138497fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261380c565b613853868361380c565b95508019841693508086168417925050509392505050565b600061388661388161387c84612e9f565b613047565b612e9f565b9050919050565b6000819050919050565b6138a08361386b565b6138b46138ac8261388d565b848454613819565b825550505050565b600090565b6138c96138bc565b6138d4818484613897565b505050565b5b818110156138f8576138ed6000826138c1565b6001810190506138da565b5050565b601f82111561393d5761390e816137e7565b613917846137fc565b81016020851015613926578190505b61393a613932856137fc565b8301826138d9565b50505b505050565b600082821c905092915050565b600061396060001984600802613942565b1980831691505092915050565b6000613979838361394f565b9150826002028217905092915050565b61399383836137dc565b67ffffffffffffffff8111156139ac576139ab613287565b5b6139b682546134a4565b6139c18282856138fc565b6000601f8311600181146139f057600084156139de578287013590505b6139e8858261396d565b865550613a50565b601f1984166139fe866137e7565b60005b82811015613a2657848901358255600182019150602085019450602081019050613a01565b86831015613a435784890135613a3f601f89168261394f565b8355505b6001600288020188555050505b50505050505050565b7f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00600082015250565b6000613a8f601f83612df8565b9150613a9a82613a59565b602082019050919050565b60006020820190508181036000830152613abe81613a82565b9050919050565b600081905092915050565b60008154613add816134a4565b613ae78186613ac5565b94506001821660008114613b025760018114613b1757613b4a565b60ff1983168652811515820286019350613b4a565b613b20856137e7565b60005b83811015613b4257815481890152600182019150602081019050613b23565b838801955050505b50505092915050565b6000613b5e82612ded565b613b688185613ac5565b9350613b78818560208601612e09565b80840191505092915050565b6000613b908285613ad0565b9150613b9c8284613b53565b91508190509392505050565b7f574c53414c455f494e4143544956450000000000000000000000000000000000600082015250565b6000613bde600f83612df8565b9150613be982613ba8565b602082019050919050565b60006020820190508181036000830152613c0d81613bd1565b9050919050565b7f574c5f4d41584544000000000000000000000000000000000000000000000000600082015250565b6000613c4a600883612df8565b9150613c5582613c14565b602082019050919050565b60006020820190508181036000830152613c7981613c3d565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613cdc602683612df8565b9150613ce782613c80565b604082019050919050565b60006020820190508181036000830152613d0b81613ccf565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d48602083612df8565b9150613d5382613d12565b602082019050919050565b60006020820190508181036000830152613d7781613d3b565b9050919050565b6000604082019050613d936000830185612f34565b613da06020830184612f34565b9392505050565b600081519050613db681613151565b92915050565b600060208284031215613dd257613dd1612d28565b5b6000613de084828501613da7565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000613e3f82613e18565b613e498185613e23565b9350613e59818560208601612e09565b613e6281612e33565b840191505092915050565b6000608082019050613e826000830187612f34565b613e8f6020830186612f34565b613e9c6040830185612fca565b8181036060830152613eae8184613e34565b905095945050505050565b600081519050613ec881612d5e565b92915050565b600060208284031215613ee457613ee3612d28565b5b6000613ef284828501613eb9565b9150509291505056fea26469706673582212203cf1938351100cf3779a46361ce6ddcd7592d47cd5b33ab912cb8a6ec714eadb64736f6c63430008110033
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.