ERC-721
Overview
Max Total Supply
4,803 UMC
Holders
4,397
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 UMCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UmucoCollection
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Copyright (c) 2022 Keisuke OHNO /* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ pragma solidity >=0.7.0 <0.9.0; import { Base64 } from 'base64-sol/base64.sol'; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; //tokenURI interface interface iTokenURI { function tokenURI(uint256 _tokenId) external view returns (string memory); } contract UmucoCollection is Ownable, ERC721A{ constructor( ) ERC721A("Umuco Collection", "UMC") { setIsSBT(true); setUseSingleMetadata(true); setBaseURI("https://data.freelance-gakkou.jp/umc/images/"); setPhaseData( 1, "1.png", "Nekomandala_umc", " ", "Nekomandala_umc", 0x306821d2F66e1aa61eb2a2D904DA6489B8491713, false, " ", 22000000000000000, true ); adminMint(1); pause(false); } // //withdraw section // address public constant withdrawAddress = 0xdEcf4B112d4120B6998e5020a6B4819E490F7db6; function withdraw() public onlyOwner { (bool os, ) = payable(withdrawAddress).call{value: address(this).balance}(''); require(os); } // //mint section // bool public paused = true; uint256 public nextPhase = 0; mapping(uint256 => uint256) public phaseIdByTokenId; mapping(uint256 => phaseStrct) public phaseData; struct phaseStrct { //input string fileName; string metadataTitle; string metadataDescription; string metadataAttributes; address withdrawAddress; bool useAnimationUrl; string animationFileName; uint256 cost; bool onSale; mapping(address => uint256) userMintedAmount; } function _updateNextPhase(uint256 _currentPhase )internal{ if( nextPhase <= _currentPhase){ nextPhase = _currentPhase + 1; } } function setPhaseData( uint256 _id , string memory _fileName , string memory _metadataTitle , string memory _metadataDescription , string memory _metadataAttributes , address _withdrawAddress, bool _useAnimationUrl, string memory _animationFileName, uint256 _cost, bool _onSale ) public onlyOwner { phaseData[_id].fileName = _fileName; phaseData[_id].metadataTitle = _metadataTitle; phaseData[_id].metadataDescription = _metadataDescription; phaseData[_id].metadataAttributes = _metadataAttributes; phaseData[_id].withdrawAddress = _withdrawAddress; phaseData[_id].animationFileName = _animationFileName; phaseData[_id].useAnimationUrl = _useAnimationUrl; phaseData[_id].cost = _cost; phaseData[_id].onSale = _onSale; _updateNextPhase(_id); } modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract."); _; } //mint function mint(uint256 _phaseId ) public payable callerIsUser{ require( !paused , "the contract is paused"); require( phaseData[_phaseId].cost <= msg.value , "insufficient funds"); require( phaseData[_phaseId].userMintedAmount[msg.sender] == 0 , "You already have a SBT" ); require( phaseData[_phaseId].onSale == true , "Sale is closed" ); phaseData[_phaseId].userMintedAmount[msg.sender]++; phaseIdByTokenId[_nextTokenId()] = _phaseId; _safeMint(msg.sender, 1); (bool os, ) = payable( phaseData[_phaseId].withdrawAddress ).call{value: address(this).balance}(''); require(os); } function adminMint(uint256 _phaseId) public onlyOwner{ phaseIdByTokenId[_nextTokenId()] = _phaseId; _safeMint(msg.sender, 1); } function pause(bool _state) public onlyOwner { paused = _state; } function getUserMintedAmountByPhaseId(uint256 _phaseId , address _address) public view returns (uint256){ return phaseData[_phaseId].userMintedAmount[_address]; } function getOnSaleByPhaseId(uint256 _phaseId ) public view returns (bool){ return phaseData[_phaseId].onSale; } function setOnSale(uint256 _phaseId , bool _onSale) public onlyOwner{ phaseData[_phaseId].onSale = _onSale; } // //URI section // string public baseURI; string public baseExtension = ".json"; function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } // //interface metadata // iTokenURI public interfaceOfTokenURI; bool public useInterfaceMetadata = false; function setInterfaceOfTokenURI(address _address) public onlyOwner() { interfaceOfTokenURI = iTokenURI(_address); } function setUseInterfaceMetadata(bool _useInterfaceMetadata) public onlyOwner() { useInterfaceMetadata = _useInterfaceMetadata; } // //single metadata // bool public useSingleMetadata = false; //single image metadata function setUseSingleMetadata(bool _useSingleMetadata) public onlyOwner() { useSingleMetadata = _useSingleMetadata; } // //token URI // function tokenURI(uint256 tokenId) public view override returns (string memory) { if (useInterfaceMetadata == true) { return interfaceOfTokenURI.tokenURI(tokenId); } else if (useSingleMetadata == true){ return string( abi.encodePacked( 'data:application/json;base64,' , Base64.encode(bytes(encodePackedJson(tokenId))) ) ); } else { return string(abi.encodePacked(ERC721A.tokenURI(tokenId), baseExtension)); } } function encodePackedJson(uint256 _tokenId) public view returns (bytes memory) { return abi.encodePacked( '{' '"name":"' , phaseData[ phaseIdByTokenId[ _tokenId ] ].metadataTitle ,'",' , '"description":"' , phaseData[ phaseIdByTokenId[ _tokenId ] ].metadataDescription , '",' , '"image": "' , _baseURI() , phaseData[ phaseIdByTokenId[ _tokenId ] ].fileName , '",' , phaseData[ phaseIdByTokenId[ _tokenId ] ].useAnimationUrl==true ? string(abi.encodePacked('"animation_url": "' , _baseURI() , phaseData[ phaseIdByTokenId[ _tokenId ] ].animationFileName , '",')) :"" , '"attributes":[{"trait_type":"type","value":"' , phaseData[ phaseIdByTokenId[ _tokenId ] ].metadataAttributes , '"}]', '}' ); } // //viewer section // function tokensOfOwner(address owner) public view returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } // //sbt section // bool public isSBT = false; function setIsSBT(bool _state) public onlyOwner { isSBT = _state; } function _sbt() internal view returns (bool) { return isSBT; } function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity) internal virtual override{ require( _sbt() == false || from == address(0), "transfer is prohibited"); super._beforeTokenTransfers(from, to, startTokenId, quantity); } function setApprovalForAll(address operator, bool approved) public virtual override { require( _sbt() == false , "setApprovalForAll is prohibited"); super.setApprovalForAll(operator, approved); } function approve(address to, uint256 tokenId) public payable virtual override { require( _sbt() == false , "approve is prohibited"); super.approve(to, tokenId); } // //override // function supportsInterface(bytes4 interfaceId) public view override(ERC721A) returns (bool) { return super.supportsInterface(interfaceId); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } }
// 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 // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0; /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides functions for encoding/decoding base64 library Base64 { string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; bytes internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000" hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000" hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000" hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000"; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE_ENCODE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { // read 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // write 4 characters mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and( input, 0x3F)))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } function decode(string memory _data) internal pure returns (bytes memory) { bytes memory data = bytes(_data); if (data.length == 0) return new bytes(0); require(data.length % 4 == 0, "invalid base64 decoder input"); // load the table into memory bytes memory table = TABLE_DECODE; // every 4 characters represent 3 bytes uint256 decodedLen = (data.length / 4) * 3; // add some extra buffer at the end required for the writing bytes memory result = new bytes(decodedLen + 32); assembly { // padding with '=' let lastBytes := mload(add(data, mload(data))) if eq(and(lastBytes, 0xFF), 0x3d) { decodedLen := sub(decodedLen, 1) if eq(and(lastBytes, 0xFFFF), 0x3d3d) { decodedLen := sub(decodedLen, 1) } } // set the actual output length mstore(result, decodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 4 characters at a time for {} lt(dataPtr, endPtr) {} { // read 4 characters dataPtr := add(dataPtr, 4) let input := mload(dataPtr) // write 3 bytes let output := add( add( shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)), shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))), add( shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)), and(mload(add(tablePtr, and( input , 0xFF))), 0xFF) ) ) mstore(resultPtr, shl(232, output)) resultPtr := add(resultPtr, 3) } } return result; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @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 payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
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":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_phaseId","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"encodePackedJson","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"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":"uint256","name":"_phaseId","type":"uint256"}],"name":"getOnSaleByPhaseId","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phaseId","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"getUserMintedAmountByPhaseId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"interfaceOfTokenURI","outputs":[{"internalType":"contract iTokenURI","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":"isSBT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phaseId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextPhase","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":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"phaseData","outputs":[{"internalType":"string","name":"fileName","type":"string"},{"internalType":"string","name":"metadataTitle","type":"string"},{"internalType":"string","name":"metadataDescription","type":"string"},{"internalType":"string","name":"metadataAttributes","type":"string"},{"internalType":"address","name":"withdrawAddress","type":"address"},{"internalType":"bool","name":"useAnimationUrl","type":"bool"},{"internalType":"string","name":"animationFileName","type":"string"},{"internalType":"uint256","name":"cost","type":"uint256"},{"internalType":"bool","name":"onSale","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"phaseIdByTokenId","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":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setInterfaceOfTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setIsSBT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phaseId","type":"uint256"},{"internalType":"bool","name":"_onSale","type":"bool"}],"name":"setOnSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"string","name":"_fileName","type":"string"},{"internalType":"string","name":"_metadataTitle","type":"string"},{"internalType":"string","name":"_metadataDescription","type":"string"},{"internalType":"string","name":"_metadataAttributes","type":"string"},{"internalType":"address","name":"_withdrawAddress","type":"address"},{"internalType":"bool","name":"_useAnimationUrl","type":"bool"},{"internalType":"string","name":"_animationFileName","type":"string"},{"internalType":"uint256","name":"_cost","type":"uint256"},{"internalType":"bool","name":"_onSale","type":"bool"}],"name":"setPhaseData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_useInterfaceMetadata","type":"bool"}],"name":"setUseInterfaceMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_useSingleMetadata","type":"bool"}],"name":"setUseSingleMetadata","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"useInterfaceMetadata","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"useSingleMetadata","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526001600960006101000a81548160ff0219169083151502179055506000600a556040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600e90805190602001906200007192919062000d79565b506000600f60146101000a81548160ff0219169083151502179055506000600f60156101000a81548160ff0219169083151502179055506000600f60166101000a81548160ff021916908315150217905550348015620000d057600080fd5b506040518060400160405280601081526020017f556d75636f20436f6c6c656374696f6e000000000000000000000000000000008152506040518060400160405280600381526020017f554d4300000000000000000000000000000000000000000000000000000000008152506200015d620001516200036060201b60201c565b6200036860201b60201c565b81600390805190602001906200017592919062000d79565b5080600490805190602001906200018e92919062000d79565b506200019f6200042c60201b60201c565b6001819055505050620001b960016200043560201b60201c565b620001cb60016200046260201b60201c565b620001f56040518060600160405280602c815260200162005dee602c91396200048f60201b60201c565b6200033660016040518060400160405280600581526020017f312e706e670000000000000000000000000000000000000000000000000000008152506040518060400160405280600f81526020017f4e656b6f6d616e64616c615f756d6300000000000000000000000000000000008152506040518060400160405280600181526020017f20000000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600f81526020017f4e656b6f6d616e64616c615f756d63000000000000000000000000000000000081525073306821d2f66e1aa61eb2a2d904da6489b849171360006040518060400160405280600181526020017f2000000000000000000000000000000000000000000000000000000000000000815250664e28e2290f00006001620004bb60201b60201c565b6200034860016200069560201b60201c565b6200035a6000620006e260201b60201c565b620011fb565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006001905090565b620004456200070f60201b60201c565b80600f60166101000a81548160ff02191690831515021790555050565b620004726200070f60201b60201c565b80600f60156101000a81548160ff02191690831515021790555050565b6200049f6200070f60201b60201c565b80600d9080519060200190620004b792919062000d79565b5050565b620004cb6200070f60201b60201c565b88600c60008c81526020019081526020016000206000019080519060200190620004f792919062000d79565b5087600c60008c815260200190815260200160002060010190805190602001906200052492919062000d79565b5086600c60008c815260200190815260200160002060020190805190602001906200055192919062000d79565b5085600c60008c815260200190815260200160002060030190805190602001906200057e92919062000d79565b5084600c60008c815260200190815260200160002060040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600c60008c815260200190815260200160002060050190805190602001906200060092919062000d79565b5083600c60008c815260200190815260200160002060040160146101000a81548160ff02191690831515021790555081600c60008c81526020019081526020016000206006018190555080600c60008c815260200190815260200160002060070160006101000a81548160ff021916908315150217905550620006898a620007a060201b60201c565b50505050505050505050565b620006a56200070f60201b60201c565b80600b6000620006ba620007c360201b60201c565b815260200190815260200160002081905550620006df336001620007cd60201b60201c565b50565b620006f26200070f60201b60201c565b80600960006101000a81548160ff02191690831515021790555050565b6200071f6200036060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000745620007f360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200079e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007959062000f99565b60405180910390fd5b565b80600a5411620007c057600181620007b9919062000fe8565b600a819055505b50565b6000600154905090565b620007ef8282604051806020016040528060008152506200081c60201b60201c565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6200082e8383620008ce60201b60201c565b60008373ffffffffffffffffffffffffffffffffffffffff163b14620008c95760006001549050600083820390505b62000878600086838060010194508662000ab860201b60201c565b620008af576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106200085d578160015414620008c657600080fd5b50505b505050565b60006001549050600082141562000911576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b62000926600084838562000c2a60201b60201c565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550620009b58362000997600086600062000cda60201b60201c565b620009a88562000d0a60201b60201c565b1762000d1a60201b60201c565b6005600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811462000a5857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905062000a1b565b50600082141562000a95576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600181905550505062000ab3600084838562000d4560201b60201c565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000ae662000d4b60201b60201c565b8786866040518563ffffffff1660e01b815260040162000b0a949392919062000f23565b602060405180830381600087803b15801562000b2557600080fd5b505af192505050801562000b5957506040513d601f19601f8201168201806040525081019062000b56919062000e40565b60015b62000bd7573d806000811462000b8c576040519150601f19603f3d011682016040523d82523d6000602084013e62000b91565b606091505b5060008151141562000bcf576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000151562000c3e62000d5360201b60201c565b1515148062000c795750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b62000cbb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000cb29062000f77565b60405180910390fd5b62000cd48484848462000d6a60201b620023691760201c565b50505050565b60008060e883901c905060e862000cf986868462000d7060201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b6000600f60169054906101000a900460ff16905090565b50505050565b60009392505050565b82805462000d8790620010e5565b90600052602060002090601f01602090048101928262000dab576000855562000df7565b82601f1062000dc657805160ff191683800117855562000df7565b8280016001018555821562000df7579182015b8281111562000df657825182559160200191906001019062000dd9565b5b50905062000e06919062000e0a565b5090565b5b8082111562000e2557600081600090555060010162000e0b565b5090565b60008151905062000e3a81620011e1565b92915050565b60006020828403121562000e595762000e5862001179565b5b600062000e698482850162000e29565b91505092915050565b62000e7d8162001045565b82525050565b600062000e908262000fbb565b62000e9c818562000fc6565b935062000eae818560208601620010af565b62000eb9816200117e565b840191505092915050565b600062000ed360168362000fd7565b915062000ee0826200118f565b602082019050919050565b600062000efa60208362000fd7565b915062000f0782620011b8565b602082019050919050565b62000f1d81620010a5565b82525050565b600060808201905062000f3a600083018762000e72565b62000f49602083018662000e72565b62000f58604083018562000f12565b818103606083015262000f6c818462000e83565b905095945050505050565b6000602082019050818103600083015262000f928162000ec4565b9050919050565b6000602082019050818103600083015262000fb48162000eeb565b9050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600062000ff582620010a5565b91506200100283620010a5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200103a57620010396200111b565b5b828201905092915050565b6000620010528262001085565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620010cf578082015181840152602081019050620010b2565b83811115620010df576000848401525b50505050565b60006002820490506001821680620010fe57607f821691505b602082108114156200111557620011146200114a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f7472616e736665722069732070726f6869626974656400000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b620011ec8162001059565b8114620011f857600080fd5b50565b614be3806200120b6000396000f3fe6080604052600436106102675760003560e01c8063715018a611610144578063ba6269c6116100b6578063d9c7f8f11161007a578063d9c7f8f1146108ff578063da3ef23f14610944578063e985e9c51461096d578063f138abfa146109aa578063f2fde38b146109d3578063fcd1aac9146109fc57610267565b8063ba6269c614610818578063c1f2612314610843578063c66828621461086c578063c87b56dd14610897578063d6dfad76146108d457610267565b80638da5cb5b116101085780638da5cb5b1461072457806395d89b411461074f578063a0712d681461077a578063a22cb46514610796578063a5ac363d146107bf578063b88d4fde146107fc57610267565b8063715018a61461062b5780637ec941ad146106425780638462151c1461067f578063877984cb146106bc57806388d99287146106e757610267565b80633cf40df3116101dd5780635c975abb116101a15780635c975abb146104f55780635ec19e3d146105205780636352211e1461055d5780636b8ee0ec1461059a5780636c0360eb146105c357806370a08231146105ee57610267565b80633cf40df3146104315780633eadb6db1461045c57806342842e0e146104875780634d0a2c24146104a357806355f804b3146104cc57610267565b80631581b6001161022f5780631581b6001461035657806318160ddd146103815780631b1f3ea6146103ac57806323b872dd146103d557806323c03085146103f15780633ccfd60b1461041a57610267565b806301ffc9a71461026c57806302329a29146102a957806306fdde03146102d2578063081812fc146102fd578063095ea7b31461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e91906136e6565b610a25565b6040516102a09190614086565b60405180910390f35b3480156102b557600080fd5b506102d060048036038101906102cb91906136b9565b610a37565b005b3480156102de57600080fd5b506102e7610a5c565b6040516102f491906140de565b60405180910390f35b34801561030957600080fd5b50610324600480360381019061031f91906137d2565b610aee565b6040516103319190613ffd565b60405180910390f35b610354600480360381019061034f9190613679565b610b6d565b005b34801561036257600080fd5b5061036b610bc9565b6040516103789190613ffd565b60405180910390f35b34801561038d57600080fd5b50610396610be1565b6040516103a391906142f0565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce919061387f565b610bf8565b005b6103ef60048036038101906103ea9190613563565b610db8565b005b3480156103fd57600080fd5b50610418600480360381019061041391906134f6565b6110dd565b005b34801561042657600080fd5b5061042f611129565b005b34801561043d57600080fd5b506104466111be565b6040516104539190614086565b60405180910390f35b34801561046857600080fd5b506104716111d1565b60405161047e91906142f0565b60405180910390f35b6104a1600480360381019061049c9190613563565b6111d7565b005b3480156104af57600080fd5b506104ca60048036038101906104c5919061383f565b6111f7565b005b3480156104d857600080fd5b506104f360048036038101906104ee9190613740565b611231565b005b34801561050157600080fd5b5061050a611253565b6040516105179190614086565b60405180910390f35b34801561052c57600080fd5b50610547600480360381019061054291906137d2565b611266565b60405161055491906140a1565b60405180910390f35b34801561056957600080fd5b50610584600480360381019061057f91906137d2565b6113e8565b6040516105919190613ffd565b60405180910390f35b3480156105a657600080fd5b506105c160048036038101906105bc91906136b9565b6113fa565b005b3480156105cf57600080fd5b506105d861141f565b6040516105e591906140de565b60405180910390f35b3480156105fa57600080fd5b50610615600480360381019061061091906134f6565b6114ad565b60405161062291906142f0565b60405180910390f35b34801561063757600080fd5b50610640611566565b005b34801561064e57600080fd5b50610669600480360381019061066491906137ff565b61157a565b60405161067691906142f0565b60405180910390f35b34801561068b57600080fd5b506106a660048036038101906106a191906134f6565b6115d8565b6040516106b39190614064565b60405180910390f35b3480156106c857600080fd5b506106d1611722565b6040516106de91906140c3565b60405180910390f35b3480156106f357600080fd5b5061070e600480360381019061070991906137d2565b611748565b60405161071b9190614086565b60405180910390f35b34801561073057600080fd5b50610739611775565b6040516107469190613ffd565b60405180910390f35b34801561075b57600080fd5b5061076461179e565b60405161077191906140de565b60405180910390f35b610794600480360381019061078f91906137d2565b611830565b005b3480156107a257600080fd5b506107bd60048036038101906107b89190613639565b611b8a565b005b3480156107cb57600080fd5b506107e660048036038101906107e191906137d2565b611be6565b6040516107f391906142f0565b60405180910390f35b610816600480360381019061081191906135b6565b611bfe565b005b34801561082457600080fd5b5061082d611c71565b60405161083a9190614086565b60405180910390f35b34801561084f57600080fd5b5061086a600480360381019061086591906137d2565b611c84565b005b34801561087857600080fd5b50610881611cb9565b60405161088e91906140de565b60405180910390f35b3480156108a357600080fd5b506108be60048036038101906108b991906137d2565b611d47565b6040516108cb91906140de565b60405180910390f35b3480156108e057600080fd5b506108e9611ea2565b6040516108f69190614086565b60405180910390f35b34801561090b57600080fd5b50610926600480360381019061092191906137d2565b611eb5565b60405161093b99989796959493929190614100565b60405180910390f35b34801561095057600080fd5b5061096b60048036038101906109669190613740565b6121e5565b005b34801561097957600080fd5b50610994600480360381019061098f9190613523565b612207565b6040516109a19190614086565b60405180910390f35b3480156109b657600080fd5b506109d160048036038101906109cc91906136b9565b61229b565b005b3480156109df57600080fd5b506109fa60048036038101906109f591906134f6565b6122c0565b005b348015610a0857600080fd5b50610a236004803603810190610a1e91906136b9565b612344565b005b6000610a308261236f565b9050919050565b610a3f612401565b80600960006101000a81548160ff02191690831515021790555050565b606060038054610a6b906145fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610a97906145fb565b8015610ae45780601f10610ab957610100808354040283529160200191610ae4565b820191906000526020600020905b815481529060010190602001808311610ac757829003601f168201915b5050505050905090565b6000610af98261247f565b610b2f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60001515610b796124de565b151514610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb2906141d0565b60405180910390fd5b610bc582826124f5565b5050565b73decf4b112d4120b6998e5020a6b4819e490f7db681565b6000610beb612639565b6002546001540303905090565b610c00612401565b88600c60008c81526020019081526020016000206000019080519060200190610c2a92919061324b565b5087600c60008c81526020019081526020016000206001019080519060200190610c5592919061324b565b5086600c60008c81526020019081526020016000206002019080519060200190610c8092919061324b565b5085600c60008c81526020019081526020016000206003019080519060200190610cab92919061324b565b5084600c60008c815260200190815260200160002060040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600c60008c81526020019081526020016000206005019080519060200190610d2b92919061324b565b5083600c60008c815260200190815260200160002060040160146101000a81548160ff02191690831515021790555081600c60008c81526020019081526020016000206006018190555080600c60008c815260200190815260200160002060070160006101000a81548160ff021916908315150217905550610dac8a612642565b50505050505050505050565b6000610dc382612662565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e2a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e3684612730565b91509150610e4c8187610e47612757565b61275f565b610e9857610e6186610e5c612757565b612207565b610e97576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610eff576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f0c86868660016127a3565b8015610f1757600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610fe585610fc188888761283a565b7c020000000000000000000000000000000000000000000000000000000017612862565b600560008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561106d57600060018501905060006005600083815260200190815260200160002054141561106b57600154811461106a578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46110d5868686600161288d565b505050505050565b6110e5612401565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611131612401565b600073decf4b112d4120b6998e5020a6b4819e490f7db673ffffffffffffffffffffffffffffffffffffffff164760405161116b90613fe8565b60006040518083038185875af1925050503d80600081146111a8576040519150601f19603f3d011682016040523d82523d6000602084013e6111ad565b606091505b50509050806111bb57600080fd5b50565b600f60169054906101000a900460ff1681565b600a5481565b6111f283838360405180602001604052806000815250611bfe565b505050565b6111ff612401565b80600c600084815260200190815260200160002060070160006101000a81548160ff0219169083151502179055505050565b611239612401565b80600d908051906020019061124f92919061324b565b5050565b600960009054906101000a900460ff1681565b6060600c6000600b6000858152602001908152602001600020548152602001908152602001600020600101600c6000600b60008681526020019081526020016000205481526020019081526020016000206002016112c2612893565b600c6000600b600088815260200190815260200160002054815260200190815260200160002060000160011515600c6000600b60008a815260200190815260200160002054815260200190815260200160002060040160149054906101000a900460ff161515146113425760405180602001604052806000815250611394565b61134a612893565b600c6000600b60008a8152602001908152602001600020548152602001908152602001600020600501604051602001611384929190613f8c565b6040516020818303038152906040525b600c6000600b60008a81526020019081526020016000205481526020019081526020016000206003016040516020016113d296959493929190613ed1565b6040516020818303038152906040529050919050565b60006113f382612662565b9050919050565b611402612401565b80600f60156101000a81548160ff02191690831515021790555050565b600d805461142c906145fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611458906145fb565b80156114a55780601f1061147a576101008083540402835291602001916114a5565b820191906000526020600020905b81548152906001019060200180831161148857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611515576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61156e612401565b6115786000612925565b565b6000600c600084815260200190815260200160002060080160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b606060008060006115e8856114ad565b905060008167ffffffffffffffff81111561160657611605614763565b5b6040519080825280602002602001820160405280156116345781602001602082028036833780820191505090505b50905061163f6132d1565b6000611649612639565b90505b8386146117145761165c816129e9565b915081604001511561166d57611709565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146116ad57816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561170857808387806001019850815181106116fb576116fa614734565b5b6020026020010181815250505b5b80600101905061164c565b508195505050505050919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600c600083815260200190815260200160002060070160009054906101000a900460ff169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546117ad906145fb565b80601f01602080910402602001604051908101604052809291908181526020018280546117d9906145fb565b80156118265780601f106117fb57610100808354040283529160200191611826565b820191906000526020600020905b81548152906001019060200180831161180957829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461189e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611895906141f0565b60405180910390fd5b600960009054906101000a900460ff16156118ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e590614290565b60405180910390fd5b34600c6000838152602001908152602001600020600601541115611947576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193e906142d0565b60405180910390fd5b6000600c600083815260200190815260200160002060080160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146119dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d4906142b0565b60405180910390fd5b60011515600c600083815260200190815260200160002060070160009054906101000a900460ff16151514611a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3e906141b0565b60405180910390fd5b600c600082815260200190815260200160002060080160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611aab9061465e565b919050555080600b6000611abd612a14565b815260200190815260200160002081905550611ada336001612a1e565b6000600c600083815260200190815260200160002060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611b3690613fe8565b60006040518083038185875af1925050503d8060008114611b73576040519150601f19603f3d011682016040523d82523d6000602084013e611b78565b606091505b5050905080611b8657600080fd5b5050565b60001515611b966124de565b151514611bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcf90614210565b60405180910390fd5b611be28282612a3c565b5050565b600b6020528060005260406000206000915090505481565b611c09848484610db8565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611c6b57611c3484848484612b47565b611c6a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600f60149054906101000a900460ff1681565b611c8c612401565b80600b6000611c99612a14565b815260200190815260200160002081905550611cb6336001612a1e565b50565b600e8054611cc6906145fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611cf2906145fb565b8015611d3f5780601f10611d1457610100808354040283529160200191611d3f565b820191906000526020600020905b815481529060010190602001808311611d2257829003601f168201915b505050505081565b606060011515600f60149054906101000a900460ff1615151415611e1c57600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd836040518263ffffffff1660e01b8152600401611dc091906142f0565b60006040518083038186803b158015611dd857600080fd5b505afa158015611dec573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611e159190613789565b9050611e9d565b60011515600f60159054906101000a900460ff1615151415611e6f57611e49611e4483611266565b612ca7565b604051602001611e599190613fc6565b6040516020818303038152906040529050611e9d565b611e7882612e20565b600e604051602001611e8b929190613ead565b60405160208183030381529060405290505b919050565b600f60159054906101000a900460ff1681565b600c602052806000526040600020600091509050806000018054611ed8906145fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611f04906145fb565b8015611f515780601f10611f2657610100808354040283529160200191611f51565b820191906000526020600020905b815481529060010190602001808311611f3457829003601f168201915b505050505090806001018054611f66906145fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611f92906145fb565b8015611fdf5780601f10611fb457610100808354040283529160200191611fdf565b820191906000526020600020905b815481529060010190602001808311611fc257829003601f168201915b505050505090806002018054611ff4906145fb565b80601f0160208091040260200160405190810160405280929190818152602001828054612020906145fb565b801561206d5780601f106120425761010080835404028352916020019161206d565b820191906000526020600020905b81548152906001019060200180831161205057829003601f168201915b505050505090806003018054612082906145fb565b80601f01602080910402602001604051908101604052809291908181526020018280546120ae906145fb565b80156120fb5780601f106120d0576101008083540402835291602001916120fb565b820191906000526020600020905b8154815290600101906020018083116120de57829003601f168201915b5050505050908060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060040160149054906101000a900460ff1690806005018054612149906145fb565b80601f0160208091040260200160405190810160405280929190818152602001828054612175906145fb565b80156121c25780601f10612197576101008083540402835291602001916121c2565b820191906000526020600020905b8154815290600101906020018083116121a557829003601f168201915b5050505050908060060154908060070160009054906101000a900460ff16905089565b6121ed612401565b80600e908051906020019061220392919061324b565b5050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122a3612401565b80600f60146101000a81548160ff02191690831515021790555050565b6122c8612401565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612338576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232f90614230565b60405180910390fd5b61234181612925565b50565b61234c612401565b80600f60166101000a81548160ff02191690831515021790555050565b50505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123ca57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806123fa5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b612409612ebf565b73ffffffffffffffffffffffffffffffffffffffff16612427611775565b73ffffffffffffffffffffffffffffffffffffffff161461247d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247490614270565b60405180910390fd5b565b60008161248a612639565b11158015612499575060015482105b80156124d7575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b6000600f60169054906101000a900460ff16905090565b6000612500826113e8565b90508073ffffffffffffffffffffffffffffffffffffffff16612521612757565b73ffffffffffffffffffffffffffffffffffffffff16146125845761254d81612548612757565b612207565b612583576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b80600a541161265f57600181612658919061442e565b600a819055505b50565b60008082905080612671612639565b116126f9576001548110156126f85760006005600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156126f6575b60008114156126ec5760056000836001900393508381526020019081526020016000205490506126c1565b809250505061272b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006007600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b600015156127af6124de565b151514806127e95750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b612828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281f90614250565b60405180910390fd5b61283484848484612369565b50505050565b60008060e883901c905060e8612851868684612ec7565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6060600d80546128a2906145fb565b80601f01602080910402602001604051908101604052809291908181526020018280546128ce906145fb565b801561291b5780601f106128f05761010080835404028352916020019161291b565b820191906000526020600020905b8154815290600101906020018083116128fe57829003601f168201915b5050505050905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6129f16132d1565b612a0d6005600084815260200190815260200160002054612ed0565b9050919050565b6000600154905090565b612a38828260405180602001604052806000815250612f86565b5050565b8060086000612a49612757565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612af6612757565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b3b9190614086565b60405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b6d612757565b8786866040518563ffffffff1660e01b8152600401612b8f9493929190614018565b602060405180830381600087803b158015612ba957600080fd5b505af1925050508015612bda57506040513d601f19601f82011682018060405250810190612bd79190613713565b60015b612c54573d8060008114612c0a576040519150601f19603f3d011682016040523d82523d6000602084013e612c0f565b606091505b50600081511415612c4c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600082511415612cca57604051806020016040528060008152509050612e1b565b6000604051806060016040528060408152602001614b6e6040913990506000600360028551612cf9919061442e565b612d039190614484565b6004612d0f91906144b5565b90506000602082612d20919061442e565b67ffffffffffffffff811115612d3957612d38614763565b5b6040519080825280601f01601f191660200182016040528015612d6b5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612dda576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050612d7f565b600389510660018114612df45760028114612e0457612e0f565b613d3d60f01b6002830352612e0f565b603d60f81b60018303525b50505050508093505050505b919050565b6060612e2b8261247f565b612e61576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612e6b612893565b9050600081511415612e8c5760405180602001604052806000815250612eb7565b80612e9684613024565b604051602001612ea7929190613e89565b6040516020818303038152906040525b915050919050565b600033905090565b60009392505050565b612ed86132d1565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b612f90838361307d565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461301f5760006001549050600083820390505b612fd16000868380600101945086612b47565b613007576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612fbe57816001541461301c57600080fd5b50505b505050565b606060a060405101806040526020810391506000825281835b60011561306857600184039350600a81066030018453600a810490508061306357613068565b61303d565b50828103602084039350808452505050919050565b6000600154905060008214156130bf576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130cc60008483856127a3565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061314383613134600086600061283a565b61313d8561323b565b17612862565b6005600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146131e457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506131a9565b506000821415613220576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001819055505050613236600084838561288d565b505050565b60006001821460e11b9050919050565b828054613257906145fb565b90600052602060002090601f01602090048101928261327957600085556132c0565b82601f1061329257805160ff19168380011785556132c0565b828001600101855582156132c0579182015b828111156132bf5782518255916020019190600101906132a4565b5b5090506132cd9190613320565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b80821115613339576000816000905550600101613321565b5090565b600061335061334b84614330565b61430b565b90508281526020810184848401111561336c5761336b614797565b5b6133778482856145b9565b509392505050565b600061339261338d84614361565b61430b565b9050828152602081018484840111156133ae576133ad614797565b5b6133b98482856145b9565b509392505050565b60006133d46133cf84614361565b61430b565b9050828152602081018484840111156133f0576133ef614797565b5b6133fb8482856145c8565b509392505050565b60008135905061341281614b11565b92915050565b60008135905061342781614b28565b92915050565b60008135905061343c81614b3f565b92915050565b60008151905061345181614b3f565b92915050565b600082601f83011261346c5761346b614792565b5b813561347c84826020860161333d565b91505092915050565b600082601f83011261349a57613499614792565b5b81356134aa84826020860161337f565b91505092915050565b600082601f8301126134c8576134c7614792565b5b81516134d88482602086016133c1565b91505092915050565b6000813590506134f081614b56565b92915050565b60006020828403121561350c5761350b6147a1565b5b600061351a84828501613403565b91505092915050565b6000806040838503121561353a576135396147a1565b5b600061354885828601613403565b925050602061355985828601613403565b9150509250929050565b60008060006060848603121561357c5761357b6147a1565b5b600061358a86828701613403565b935050602061359b86828701613403565b92505060406135ac868287016134e1565b9150509250925092565b600080600080608085870312156135d0576135cf6147a1565b5b60006135de87828801613403565b94505060206135ef87828801613403565b9350506040613600878288016134e1565b925050606085013567ffffffffffffffff8111156136215761362061479c565b5b61362d87828801613457565b91505092959194509250565b600080604083850312156136505761364f6147a1565b5b600061365e85828601613403565b925050602061366f85828601613418565b9150509250929050565b600080604083850312156136905761368f6147a1565b5b600061369e85828601613403565b92505060206136af858286016134e1565b9150509250929050565b6000602082840312156136cf576136ce6147a1565b5b60006136dd84828501613418565b91505092915050565b6000602082840312156136fc576136fb6147a1565b5b600061370a8482850161342d565b91505092915050565b600060208284031215613729576137286147a1565b5b600061373784828501613442565b91505092915050565b600060208284031215613756576137556147a1565b5b600082013567ffffffffffffffff8111156137745761377361479c565b5b61378084828501613485565b91505092915050565b60006020828403121561379f5761379e6147a1565b5b600082015167ffffffffffffffff8111156137bd576137bc61479c565b5b6137c9848285016134b3565b91505092915050565b6000602082840312156137e8576137e76147a1565b5b60006137f6848285016134e1565b91505092915050565b60008060408385031215613816576138156147a1565b5b6000613824858286016134e1565b925050602061383585828601613403565b9150509250929050565b60008060408385031215613856576138556147a1565b5b6000613864858286016134e1565b925050602061387585828601613418565b9150509250929050565b6000806000806000806000806000806101408b8d0312156138a3576138a26147a1565b5b60006138b18d828e016134e1565b9a505060208b013567ffffffffffffffff8111156138d2576138d161479c565b5b6138de8d828e01613485565b99505060408b013567ffffffffffffffff8111156138ff576138fe61479c565b5b61390b8d828e01613485565b98505060608b013567ffffffffffffffff81111561392c5761392b61479c565b5b6139388d828e01613485565b97505060808b013567ffffffffffffffff8111156139595761395861479c565b5b6139658d828e01613485565b96505060a06139768d828e01613403565b95505060c06139878d828e01613418565b94505060e08b013567ffffffffffffffff8111156139a8576139a761479c565b5b6139b48d828e01613485565b9350506101006139c68d828e016134e1565b9250506101206139d88d828e01613418565b9150509295989b9194979a5092959850565b60006139f68383613e6b565b60208301905092915050565b613a0b8161450f565b82525050565b6000613a1c826143b7565b613a2681856143e5565b9350613a3183614392565b8060005b83811015613a62578151613a4988826139ea565b9750613a54836143d8565b925050600181019050613a35565b5085935050505092915050565b613a7881614521565b82525050565b6000613a89826143c2565b613a9381856143f6565b9350613aa38185602086016145c8565b613aac816147a6565b840191505092915050565b613ac081614583565b82525050565b6000613ad1826143cd565b613adb8185614412565b9350613aeb8185602086016145c8565b613af4816147a6565b840191505092915050565b6000613b0a826143cd565b613b148185614423565b9350613b248185602086016145c8565b80840191505092915050565b60008154613b3d816145fb565b613b478186614423565b94506001821660008114613b625760018114613b7357613ba6565b60ff19831686528186019350613ba6565b613b7c856143a2565b60005b83811015613b9e57815481890152600182019150602081019050613b7f565b838801955050505b50505092915050565b6000613bbc600e83614412565b9150613bc7826147b7565b602082019050919050565b6000613bdf601583614412565b9150613bea826147e0565b602082019050919050565b6000613c02600983614423565b9150613c0d82614809565b600982019050919050565b6000613c25601f83614412565b9150613c3082614832565b602082019050919050565b6000613c48601f83614412565b9150613c538261485b565b602082019050919050565b6000613c6b600f83614423565b9150613c7682614884565b600f82019050919050565b6000613c8e602683614412565b9150613c99826148ad565b604082019050919050565b6000613cb1600283614423565b9150613cbc826148fc565b600282019050919050565b6000613cd4600383614423565b9150613cdf82614925565b600382019050919050565b6000613cf7600183614423565b9150613d028261494e565b600182019050919050565b6000613d1a601683614412565b9150613d2582614977565b602082019050919050565b6000613d3d602083614412565b9150613d48826149a0565b602082019050919050565b6000613d60601683614412565b9150613d6b826149c9565b602082019050919050565b6000613d83601283614423565b9150613d8e826149f2565b601282019050919050565b6000613da6601d83614423565b9150613db182614a1b565b601d82019050919050565b6000613dc9601683614412565b9150613dd482614a44565b602082019050919050565b6000613dec600083614407565b9150613df782614a6d565b600082019050919050565b6000613e0f601283614412565b9150613e1a82614a70565b602082019050919050565b6000613e32600a83614423565b9150613e3d82614a99565b600a82019050919050565b6000613e55602c83614423565b9150613e6082614ac2565b602c82019050919050565b613e7481614579565b82525050565b613e8381614579565b82525050565b6000613e958285613aff565b9150613ea18284613aff565b91508190509392505050565b6000613eb98285613aff565b9150613ec58284613b30565b91508190509392505050565b6000613edc82613bf5565b9150613ee88289613b30565b9150613ef382613ca4565b9150613efe82613c5e565b9150613f0a8288613b30565b9150613f1582613ca4565b9150613f2082613e25565b9150613f2c8287613aff565b9150613f388286613b30565b9150613f4382613ca4565b9150613f4f8285613aff565b9150613f5a82613e48565b9150613f668284613b30565b9150613f7182613cc7565b9150613f7c82613cea565b9150819050979650505050505050565b6000613f9782613d76565b9150613fa38285613aff565b9150613faf8284613b30565b9150613fba82613ca4565b91508190509392505050565b6000613fd182613d99565b9150613fdd8284613aff565b915081905092915050565b6000613ff382613ddf565b9150819050919050565b60006020820190506140126000830184613a02565b92915050565b600060808201905061402d6000830187613a02565b61403a6020830186613a02565b6140476040830185613e7a565b81810360608301526140598184613a7e565b905095945050505050565b6000602082019050818103600083015261407e8184613a11565b905092915050565b600060208201905061409b6000830184613a6f565b92915050565b600060208201905081810360008301526140bb8184613a7e565b905092915050565b60006020820190506140d86000830184613ab7565b92915050565b600060208201905081810360008301526140f88184613ac6565b905092915050565b600061012082019050818103600083015261411b818c613ac6565b9050818103602083015261412f818b613ac6565b90508181036040830152614143818a613ac6565b905081810360608301526141578189613ac6565b90506141666080830188613a02565b61417360a0830187613a6f565b81810360c08301526141858186613ac6565b905061419460e0830185613e7a565b6141a2610100830184613a6f565b9a9950505050505050505050565b600060208201905081810360008301526141c981613baf565b9050919050565b600060208201905081810360008301526141e981613bd2565b9050919050565b6000602082019050818103600083015261420981613c18565b9050919050565b6000602082019050818103600083015261422981613c3b565b9050919050565b6000602082019050818103600083015261424981613c81565b9050919050565b6000602082019050818103600083015261426981613d0d565b9050919050565b6000602082019050818103600083015261428981613d30565b9050919050565b600060208201905081810360008301526142a981613d53565b9050919050565b600060208201905081810360008301526142c981613dbc565b9050919050565b600060208201905081810360008301526142e981613e02565b9050919050565b60006020820190506143056000830184613e7a565b92915050565b6000614315614326565b9050614321828261462d565b919050565b6000604051905090565b600067ffffffffffffffff82111561434b5761434a614763565b5b614354826147a6565b9050602081019050919050565b600067ffffffffffffffff82111561437c5761437b614763565b5b614385826147a6565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061443982614579565b915061444483614579565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614479576144786146a7565b5b828201905092915050565b600061448f82614579565b915061449a83614579565b9250826144aa576144a96146d6565b5b828204905092915050565b60006144c082614579565b91506144cb83614579565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614504576145036146a7565b5b828202905092915050565b600061451a82614559565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061458e82614595565b9050919050565b60006145a0826145a7565b9050919050565b60006145b282614559565b9050919050565b82818337600083830152505050565b60005b838110156145e65780820151818401526020810190506145cb565b838111156145f5576000848401525b50505050565b6000600282049050600182168061461357607f821691505b6020821081141561462757614626614705565b5b50919050565b614636826147a6565b810181811067ffffffffffffffff8211171561465557614654614763565b5b80604052505050565b600061466982614579565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561469c5761469b6146a7565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f53616c6520697320636c6f736564000000000000000000000000000000000000600082015250565b7f617070726f76652069732070726f686962697465640000000000000000000000600082015250565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b7f736574417070726f76616c466f72416c6c2069732070726f6869626974656400600082015250565b7f226465736372697074696f6e223a220000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b7f227d5d0000000000000000000000000000000000000000000000000000000000600082015250565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f7472616e736665722069732070726f6869626974656400000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b7f22616e696d6174696f6e5f75726c223a20220000000000000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f596f7520616c7265616479206861766520612053425400000000000000000000600082015250565b50565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f22696d616765223a202200000000000000000000000000000000000000000000600082015250565b7f2261747472696275746573223a5b7b2274726169745f74797065223a2274797060008201527f65222c2276616c7565223a220000000000000000000000000000000000000000602082015250565b614b1a8161450f565b8114614b2557600080fd5b50565b614b3181614521565b8114614b3c57600080fd5b50565b614b488161452d565b8114614b5357600080fd5b50565b614b5f81614579565b8114614b6a57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d9a2a06ff5b7b04eb7afd3465505592ab2b74f0980e0b3e935bf03c15c46386764736f6c6343000807003368747470733a2f2f646174612e667265656c616e63652d67616b6b6f752e6a702f756d632f696d616765732f
Deployed Bytecode
0x6080604052600436106102675760003560e01c8063715018a611610144578063ba6269c6116100b6578063d9c7f8f11161007a578063d9c7f8f1146108ff578063da3ef23f14610944578063e985e9c51461096d578063f138abfa146109aa578063f2fde38b146109d3578063fcd1aac9146109fc57610267565b8063ba6269c614610818578063c1f2612314610843578063c66828621461086c578063c87b56dd14610897578063d6dfad76146108d457610267565b80638da5cb5b116101085780638da5cb5b1461072457806395d89b411461074f578063a0712d681461077a578063a22cb46514610796578063a5ac363d146107bf578063b88d4fde146107fc57610267565b8063715018a61461062b5780637ec941ad146106425780638462151c1461067f578063877984cb146106bc57806388d99287146106e757610267565b80633cf40df3116101dd5780635c975abb116101a15780635c975abb146104f55780635ec19e3d146105205780636352211e1461055d5780636b8ee0ec1461059a5780636c0360eb146105c357806370a08231146105ee57610267565b80633cf40df3146104315780633eadb6db1461045c57806342842e0e146104875780634d0a2c24146104a357806355f804b3146104cc57610267565b80631581b6001161022f5780631581b6001461035657806318160ddd146103815780631b1f3ea6146103ac57806323b872dd146103d557806323c03085146103f15780633ccfd60b1461041a57610267565b806301ffc9a71461026c57806302329a29146102a957806306fdde03146102d2578063081812fc146102fd578063095ea7b31461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e91906136e6565b610a25565b6040516102a09190614086565b60405180910390f35b3480156102b557600080fd5b506102d060048036038101906102cb91906136b9565b610a37565b005b3480156102de57600080fd5b506102e7610a5c565b6040516102f491906140de565b60405180910390f35b34801561030957600080fd5b50610324600480360381019061031f91906137d2565b610aee565b6040516103319190613ffd565b60405180910390f35b610354600480360381019061034f9190613679565b610b6d565b005b34801561036257600080fd5b5061036b610bc9565b6040516103789190613ffd565b60405180910390f35b34801561038d57600080fd5b50610396610be1565b6040516103a391906142f0565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce919061387f565b610bf8565b005b6103ef60048036038101906103ea9190613563565b610db8565b005b3480156103fd57600080fd5b50610418600480360381019061041391906134f6565b6110dd565b005b34801561042657600080fd5b5061042f611129565b005b34801561043d57600080fd5b506104466111be565b6040516104539190614086565b60405180910390f35b34801561046857600080fd5b506104716111d1565b60405161047e91906142f0565b60405180910390f35b6104a1600480360381019061049c9190613563565b6111d7565b005b3480156104af57600080fd5b506104ca60048036038101906104c5919061383f565b6111f7565b005b3480156104d857600080fd5b506104f360048036038101906104ee9190613740565b611231565b005b34801561050157600080fd5b5061050a611253565b6040516105179190614086565b60405180910390f35b34801561052c57600080fd5b50610547600480360381019061054291906137d2565b611266565b60405161055491906140a1565b60405180910390f35b34801561056957600080fd5b50610584600480360381019061057f91906137d2565b6113e8565b6040516105919190613ffd565b60405180910390f35b3480156105a657600080fd5b506105c160048036038101906105bc91906136b9565b6113fa565b005b3480156105cf57600080fd5b506105d861141f565b6040516105e591906140de565b60405180910390f35b3480156105fa57600080fd5b50610615600480360381019061061091906134f6565b6114ad565b60405161062291906142f0565b60405180910390f35b34801561063757600080fd5b50610640611566565b005b34801561064e57600080fd5b50610669600480360381019061066491906137ff565b61157a565b60405161067691906142f0565b60405180910390f35b34801561068b57600080fd5b506106a660048036038101906106a191906134f6565b6115d8565b6040516106b39190614064565b60405180910390f35b3480156106c857600080fd5b506106d1611722565b6040516106de91906140c3565b60405180910390f35b3480156106f357600080fd5b5061070e600480360381019061070991906137d2565b611748565b60405161071b9190614086565b60405180910390f35b34801561073057600080fd5b50610739611775565b6040516107469190613ffd565b60405180910390f35b34801561075b57600080fd5b5061076461179e565b60405161077191906140de565b60405180910390f35b610794600480360381019061078f91906137d2565b611830565b005b3480156107a257600080fd5b506107bd60048036038101906107b89190613639565b611b8a565b005b3480156107cb57600080fd5b506107e660048036038101906107e191906137d2565b611be6565b6040516107f391906142f0565b60405180910390f35b610816600480360381019061081191906135b6565b611bfe565b005b34801561082457600080fd5b5061082d611c71565b60405161083a9190614086565b60405180910390f35b34801561084f57600080fd5b5061086a600480360381019061086591906137d2565b611c84565b005b34801561087857600080fd5b50610881611cb9565b60405161088e91906140de565b60405180910390f35b3480156108a357600080fd5b506108be60048036038101906108b991906137d2565b611d47565b6040516108cb91906140de565b60405180910390f35b3480156108e057600080fd5b506108e9611ea2565b6040516108f69190614086565b60405180910390f35b34801561090b57600080fd5b50610926600480360381019061092191906137d2565b611eb5565b60405161093b99989796959493929190614100565b60405180910390f35b34801561095057600080fd5b5061096b60048036038101906109669190613740565b6121e5565b005b34801561097957600080fd5b50610994600480360381019061098f9190613523565b612207565b6040516109a19190614086565b60405180910390f35b3480156109b657600080fd5b506109d160048036038101906109cc91906136b9565b61229b565b005b3480156109df57600080fd5b506109fa60048036038101906109f591906134f6565b6122c0565b005b348015610a0857600080fd5b50610a236004803603810190610a1e91906136b9565b612344565b005b6000610a308261236f565b9050919050565b610a3f612401565b80600960006101000a81548160ff02191690831515021790555050565b606060038054610a6b906145fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610a97906145fb565b8015610ae45780601f10610ab957610100808354040283529160200191610ae4565b820191906000526020600020905b815481529060010190602001808311610ac757829003601f168201915b5050505050905090565b6000610af98261247f565b610b2f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60001515610b796124de565b151514610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb2906141d0565b60405180910390fd5b610bc582826124f5565b5050565b73decf4b112d4120b6998e5020a6b4819e490f7db681565b6000610beb612639565b6002546001540303905090565b610c00612401565b88600c60008c81526020019081526020016000206000019080519060200190610c2a92919061324b565b5087600c60008c81526020019081526020016000206001019080519060200190610c5592919061324b565b5086600c60008c81526020019081526020016000206002019080519060200190610c8092919061324b565b5085600c60008c81526020019081526020016000206003019080519060200190610cab92919061324b565b5084600c60008c815260200190815260200160002060040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600c60008c81526020019081526020016000206005019080519060200190610d2b92919061324b565b5083600c60008c815260200190815260200160002060040160146101000a81548160ff02191690831515021790555081600c60008c81526020019081526020016000206006018190555080600c60008c815260200190815260200160002060070160006101000a81548160ff021916908315150217905550610dac8a612642565b50505050505050505050565b6000610dc382612662565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e2a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e3684612730565b91509150610e4c8187610e47612757565b61275f565b610e9857610e6186610e5c612757565b612207565b610e97576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610eff576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f0c86868660016127a3565b8015610f1757600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610fe585610fc188888761283a565b7c020000000000000000000000000000000000000000000000000000000017612862565b600560008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561106d57600060018501905060006005600083815260200190815260200160002054141561106b57600154811461106a578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46110d5868686600161288d565b505050505050565b6110e5612401565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611131612401565b600073decf4b112d4120b6998e5020a6b4819e490f7db673ffffffffffffffffffffffffffffffffffffffff164760405161116b90613fe8565b60006040518083038185875af1925050503d80600081146111a8576040519150601f19603f3d011682016040523d82523d6000602084013e6111ad565b606091505b50509050806111bb57600080fd5b50565b600f60169054906101000a900460ff1681565b600a5481565b6111f283838360405180602001604052806000815250611bfe565b505050565b6111ff612401565b80600c600084815260200190815260200160002060070160006101000a81548160ff0219169083151502179055505050565b611239612401565b80600d908051906020019061124f92919061324b565b5050565b600960009054906101000a900460ff1681565b6060600c6000600b6000858152602001908152602001600020548152602001908152602001600020600101600c6000600b60008681526020019081526020016000205481526020019081526020016000206002016112c2612893565b600c6000600b600088815260200190815260200160002054815260200190815260200160002060000160011515600c6000600b60008a815260200190815260200160002054815260200190815260200160002060040160149054906101000a900460ff161515146113425760405180602001604052806000815250611394565b61134a612893565b600c6000600b60008a8152602001908152602001600020548152602001908152602001600020600501604051602001611384929190613f8c565b6040516020818303038152906040525b600c6000600b60008a81526020019081526020016000205481526020019081526020016000206003016040516020016113d296959493929190613ed1565b6040516020818303038152906040529050919050565b60006113f382612662565b9050919050565b611402612401565b80600f60156101000a81548160ff02191690831515021790555050565b600d805461142c906145fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611458906145fb565b80156114a55780601f1061147a576101008083540402835291602001916114a5565b820191906000526020600020905b81548152906001019060200180831161148857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611515576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61156e612401565b6115786000612925565b565b6000600c600084815260200190815260200160002060080160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b606060008060006115e8856114ad565b905060008167ffffffffffffffff81111561160657611605614763565b5b6040519080825280602002602001820160405280156116345781602001602082028036833780820191505090505b50905061163f6132d1565b6000611649612639565b90505b8386146117145761165c816129e9565b915081604001511561166d57611709565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146116ad57816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561170857808387806001019850815181106116fb576116fa614734565b5b6020026020010181815250505b5b80600101905061164c565b508195505050505050919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600c600083815260200190815260200160002060070160009054906101000a900460ff169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546117ad906145fb565b80601f01602080910402602001604051908101604052809291908181526020018280546117d9906145fb565b80156118265780601f106117fb57610100808354040283529160200191611826565b820191906000526020600020905b81548152906001019060200180831161180957829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461189e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611895906141f0565b60405180910390fd5b600960009054906101000a900460ff16156118ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e590614290565b60405180910390fd5b34600c6000838152602001908152602001600020600601541115611947576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193e906142d0565b60405180910390fd5b6000600c600083815260200190815260200160002060080160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146119dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d4906142b0565b60405180910390fd5b60011515600c600083815260200190815260200160002060070160009054906101000a900460ff16151514611a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3e906141b0565b60405180910390fd5b600c600082815260200190815260200160002060080160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611aab9061465e565b919050555080600b6000611abd612a14565b815260200190815260200160002081905550611ada336001612a1e565b6000600c600083815260200190815260200160002060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611b3690613fe8565b60006040518083038185875af1925050503d8060008114611b73576040519150601f19603f3d011682016040523d82523d6000602084013e611b78565b606091505b5050905080611b8657600080fd5b5050565b60001515611b966124de565b151514611bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcf90614210565b60405180910390fd5b611be28282612a3c565b5050565b600b6020528060005260406000206000915090505481565b611c09848484610db8565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611c6b57611c3484848484612b47565b611c6a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600f60149054906101000a900460ff1681565b611c8c612401565b80600b6000611c99612a14565b815260200190815260200160002081905550611cb6336001612a1e565b50565b600e8054611cc6906145fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611cf2906145fb565b8015611d3f5780601f10611d1457610100808354040283529160200191611d3f565b820191906000526020600020905b815481529060010190602001808311611d2257829003601f168201915b505050505081565b606060011515600f60149054906101000a900460ff1615151415611e1c57600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd836040518263ffffffff1660e01b8152600401611dc091906142f0565b60006040518083038186803b158015611dd857600080fd5b505afa158015611dec573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611e159190613789565b9050611e9d565b60011515600f60159054906101000a900460ff1615151415611e6f57611e49611e4483611266565b612ca7565b604051602001611e599190613fc6565b6040516020818303038152906040529050611e9d565b611e7882612e20565b600e604051602001611e8b929190613ead565b60405160208183030381529060405290505b919050565b600f60159054906101000a900460ff1681565b600c602052806000526040600020600091509050806000018054611ed8906145fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611f04906145fb565b8015611f515780601f10611f2657610100808354040283529160200191611f51565b820191906000526020600020905b815481529060010190602001808311611f3457829003601f168201915b505050505090806001018054611f66906145fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611f92906145fb565b8015611fdf5780601f10611fb457610100808354040283529160200191611fdf565b820191906000526020600020905b815481529060010190602001808311611fc257829003601f168201915b505050505090806002018054611ff4906145fb565b80601f0160208091040260200160405190810160405280929190818152602001828054612020906145fb565b801561206d5780601f106120425761010080835404028352916020019161206d565b820191906000526020600020905b81548152906001019060200180831161205057829003601f168201915b505050505090806003018054612082906145fb565b80601f01602080910402602001604051908101604052809291908181526020018280546120ae906145fb565b80156120fb5780601f106120d0576101008083540402835291602001916120fb565b820191906000526020600020905b8154815290600101906020018083116120de57829003601f168201915b5050505050908060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060040160149054906101000a900460ff1690806005018054612149906145fb565b80601f0160208091040260200160405190810160405280929190818152602001828054612175906145fb565b80156121c25780601f10612197576101008083540402835291602001916121c2565b820191906000526020600020905b8154815290600101906020018083116121a557829003601f168201915b5050505050908060060154908060070160009054906101000a900460ff16905089565b6121ed612401565b80600e908051906020019061220392919061324b565b5050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122a3612401565b80600f60146101000a81548160ff02191690831515021790555050565b6122c8612401565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612338576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232f90614230565b60405180910390fd5b61234181612925565b50565b61234c612401565b80600f60166101000a81548160ff02191690831515021790555050565b50505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123ca57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806123fa5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b612409612ebf565b73ffffffffffffffffffffffffffffffffffffffff16612427611775565b73ffffffffffffffffffffffffffffffffffffffff161461247d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247490614270565b60405180910390fd5b565b60008161248a612639565b11158015612499575060015482105b80156124d7575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b6000600f60169054906101000a900460ff16905090565b6000612500826113e8565b90508073ffffffffffffffffffffffffffffffffffffffff16612521612757565b73ffffffffffffffffffffffffffffffffffffffff16146125845761254d81612548612757565b612207565b612583576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b80600a541161265f57600181612658919061442e565b600a819055505b50565b60008082905080612671612639565b116126f9576001548110156126f85760006005600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156126f6575b60008114156126ec5760056000836001900393508381526020019081526020016000205490506126c1565b809250505061272b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006007600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b600015156127af6124de565b151514806127e95750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b612828576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281f90614250565b60405180910390fd5b61283484848484612369565b50505050565b60008060e883901c905060e8612851868684612ec7565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6060600d80546128a2906145fb565b80601f01602080910402602001604051908101604052809291908181526020018280546128ce906145fb565b801561291b5780601f106128f05761010080835404028352916020019161291b565b820191906000526020600020905b8154815290600101906020018083116128fe57829003601f168201915b5050505050905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6129f16132d1565b612a0d6005600084815260200190815260200160002054612ed0565b9050919050565b6000600154905090565b612a38828260405180602001604052806000815250612f86565b5050565b8060086000612a49612757565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612af6612757565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b3b9190614086565b60405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b6d612757565b8786866040518563ffffffff1660e01b8152600401612b8f9493929190614018565b602060405180830381600087803b158015612ba957600080fd5b505af1925050508015612bda57506040513d601f19601f82011682018060405250810190612bd79190613713565b60015b612c54573d8060008114612c0a576040519150601f19603f3d011682016040523d82523d6000602084013e612c0f565b606091505b50600081511415612c4c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600082511415612cca57604051806020016040528060008152509050612e1b565b6000604051806060016040528060408152602001614b6e6040913990506000600360028551612cf9919061442e565b612d039190614484565b6004612d0f91906144b5565b90506000602082612d20919061442e565b67ffffffffffffffff811115612d3957612d38614763565b5b6040519080825280601f01601f191660200182016040528015612d6b5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612dda576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050612d7f565b600389510660018114612df45760028114612e0457612e0f565b613d3d60f01b6002830352612e0f565b603d60f81b60018303525b50505050508093505050505b919050565b6060612e2b8261247f565b612e61576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612e6b612893565b9050600081511415612e8c5760405180602001604052806000815250612eb7565b80612e9684613024565b604051602001612ea7929190613e89565b6040516020818303038152906040525b915050919050565b600033905090565b60009392505050565b612ed86132d1565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b612f90838361307d565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461301f5760006001549050600083820390505b612fd16000868380600101945086612b47565b613007576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612fbe57816001541461301c57600080fd5b50505b505050565b606060a060405101806040526020810391506000825281835b60011561306857600184039350600a81066030018453600a810490508061306357613068565b61303d565b50828103602084039350808452505050919050565b6000600154905060008214156130bf576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130cc60008483856127a3565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061314383613134600086600061283a565b61313d8561323b565b17612862565b6005600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146131e457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506131a9565b506000821415613220576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001819055505050613236600084838561288d565b505050565b60006001821460e11b9050919050565b828054613257906145fb565b90600052602060002090601f01602090048101928261327957600085556132c0565b82601f1061329257805160ff19168380011785556132c0565b828001600101855582156132c0579182015b828111156132bf5782518255916020019190600101906132a4565b5b5090506132cd9190613320565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b80821115613339576000816000905550600101613321565b5090565b600061335061334b84614330565b61430b565b90508281526020810184848401111561336c5761336b614797565b5b6133778482856145b9565b509392505050565b600061339261338d84614361565b61430b565b9050828152602081018484840111156133ae576133ad614797565b5b6133b98482856145b9565b509392505050565b60006133d46133cf84614361565b61430b565b9050828152602081018484840111156133f0576133ef614797565b5b6133fb8482856145c8565b509392505050565b60008135905061341281614b11565b92915050565b60008135905061342781614b28565b92915050565b60008135905061343c81614b3f565b92915050565b60008151905061345181614b3f565b92915050565b600082601f83011261346c5761346b614792565b5b813561347c84826020860161333d565b91505092915050565b600082601f83011261349a57613499614792565b5b81356134aa84826020860161337f565b91505092915050565b600082601f8301126134c8576134c7614792565b5b81516134d88482602086016133c1565b91505092915050565b6000813590506134f081614b56565b92915050565b60006020828403121561350c5761350b6147a1565b5b600061351a84828501613403565b91505092915050565b6000806040838503121561353a576135396147a1565b5b600061354885828601613403565b925050602061355985828601613403565b9150509250929050565b60008060006060848603121561357c5761357b6147a1565b5b600061358a86828701613403565b935050602061359b86828701613403565b92505060406135ac868287016134e1565b9150509250925092565b600080600080608085870312156135d0576135cf6147a1565b5b60006135de87828801613403565b94505060206135ef87828801613403565b9350506040613600878288016134e1565b925050606085013567ffffffffffffffff8111156136215761362061479c565b5b61362d87828801613457565b91505092959194509250565b600080604083850312156136505761364f6147a1565b5b600061365e85828601613403565b925050602061366f85828601613418565b9150509250929050565b600080604083850312156136905761368f6147a1565b5b600061369e85828601613403565b92505060206136af858286016134e1565b9150509250929050565b6000602082840312156136cf576136ce6147a1565b5b60006136dd84828501613418565b91505092915050565b6000602082840312156136fc576136fb6147a1565b5b600061370a8482850161342d565b91505092915050565b600060208284031215613729576137286147a1565b5b600061373784828501613442565b91505092915050565b600060208284031215613756576137556147a1565b5b600082013567ffffffffffffffff8111156137745761377361479c565b5b61378084828501613485565b91505092915050565b60006020828403121561379f5761379e6147a1565b5b600082015167ffffffffffffffff8111156137bd576137bc61479c565b5b6137c9848285016134b3565b91505092915050565b6000602082840312156137e8576137e76147a1565b5b60006137f6848285016134e1565b91505092915050565b60008060408385031215613816576138156147a1565b5b6000613824858286016134e1565b925050602061383585828601613403565b9150509250929050565b60008060408385031215613856576138556147a1565b5b6000613864858286016134e1565b925050602061387585828601613418565b9150509250929050565b6000806000806000806000806000806101408b8d0312156138a3576138a26147a1565b5b60006138b18d828e016134e1565b9a505060208b013567ffffffffffffffff8111156138d2576138d161479c565b5b6138de8d828e01613485565b99505060408b013567ffffffffffffffff8111156138ff576138fe61479c565b5b61390b8d828e01613485565b98505060608b013567ffffffffffffffff81111561392c5761392b61479c565b5b6139388d828e01613485565b97505060808b013567ffffffffffffffff8111156139595761395861479c565b5b6139658d828e01613485565b96505060a06139768d828e01613403565b95505060c06139878d828e01613418565b94505060e08b013567ffffffffffffffff8111156139a8576139a761479c565b5b6139b48d828e01613485565b9350506101006139c68d828e016134e1565b9250506101206139d88d828e01613418565b9150509295989b9194979a5092959850565b60006139f68383613e6b565b60208301905092915050565b613a0b8161450f565b82525050565b6000613a1c826143b7565b613a2681856143e5565b9350613a3183614392565b8060005b83811015613a62578151613a4988826139ea565b9750613a54836143d8565b925050600181019050613a35565b5085935050505092915050565b613a7881614521565b82525050565b6000613a89826143c2565b613a9381856143f6565b9350613aa38185602086016145c8565b613aac816147a6565b840191505092915050565b613ac081614583565b82525050565b6000613ad1826143cd565b613adb8185614412565b9350613aeb8185602086016145c8565b613af4816147a6565b840191505092915050565b6000613b0a826143cd565b613b148185614423565b9350613b248185602086016145c8565b80840191505092915050565b60008154613b3d816145fb565b613b478186614423565b94506001821660008114613b625760018114613b7357613ba6565b60ff19831686528186019350613ba6565b613b7c856143a2565b60005b83811015613b9e57815481890152600182019150602081019050613b7f565b838801955050505b50505092915050565b6000613bbc600e83614412565b9150613bc7826147b7565b602082019050919050565b6000613bdf601583614412565b9150613bea826147e0565b602082019050919050565b6000613c02600983614423565b9150613c0d82614809565b600982019050919050565b6000613c25601f83614412565b9150613c3082614832565b602082019050919050565b6000613c48601f83614412565b9150613c538261485b565b602082019050919050565b6000613c6b600f83614423565b9150613c7682614884565b600f82019050919050565b6000613c8e602683614412565b9150613c99826148ad565b604082019050919050565b6000613cb1600283614423565b9150613cbc826148fc565b600282019050919050565b6000613cd4600383614423565b9150613cdf82614925565b600382019050919050565b6000613cf7600183614423565b9150613d028261494e565b600182019050919050565b6000613d1a601683614412565b9150613d2582614977565b602082019050919050565b6000613d3d602083614412565b9150613d48826149a0565b602082019050919050565b6000613d60601683614412565b9150613d6b826149c9565b602082019050919050565b6000613d83601283614423565b9150613d8e826149f2565b601282019050919050565b6000613da6601d83614423565b9150613db182614a1b565b601d82019050919050565b6000613dc9601683614412565b9150613dd482614a44565b602082019050919050565b6000613dec600083614407565b9150613df782614a6d565b600082019050919050565b6000613e0f601283614412565b9150613e1a82614a70565b602082019050919050565b6000613e32600a83614423565b9150613e3d82614a99565b600a82019050919050565b6000613e55602c83614423565b9150613e6082614ac2565b602c82019050919050565b613e7481614579565b82525050565b613e8381614579565b82525050565b6000613e958285613aff565b9150613ea18284613aff565b91508190509392505050565b6000613eb98285613aff565b9150613ec58284613b30565b91508190509392505050565b6000613edc82613bf5565b9150613ee88289613b30565b9150613ef382613ca4565b9150613efe82613c5e565b9150613f0a8288613b30565b9150613f1582613ca4565b9150613f2082613e25565b9150613f2c8287613aff565b9150613f388286613b30565b9150613f4382613ca4565b9150613f4f8285613aff565b9150613f5a82613e48565b9150613f668284613b30565b9150613f7182613cc7565b9150613f7c82613cea565b9150819050979650505050505050565b6000613f9782613d76565b9150613fa38285613aff565b9150613faf8284613b30565b9150613fba82613ca4565b91508190509392505050565b6000613fd182613d99565b9150613fdd8284613aff565b915081905092915050565b6000613ff382613ddf565b9150819050919050565b60006020820190506140126000830184613a02565b92915050565b600060808201905061402d6000830187613a02565b61403a6020830186613a02565b6140476040830185613e7a565b81810360608301526140598184613a7e565b905095945050505050565b6000602082019050818103600083015261407e8184613a11565b905092915050565b600060208201905061409b6000830184613a6f565b92915050565b600060208201905081810360008301526140bb8184613a7e565b905092915050565b60006020820190506140d86000830184613ab7565b92915050565b600060208201905081810360008301526140f88184613ac6565b905092915050565b600061012082019050818103600083015261411b818c613ac6565b9050818103602083015261412f818b613ac6565b90508181036040830152614143818a613ac6565b905081810360608301526141578189613ac6565b90506141666080830188613a02565b61417360a0830187613a6f565b81810360c08301526141858186613ac6565b905061419460e0830185613e7a565b6141a2610100830184613a6f565b9a9950505050505050505050565b600060208201905081810360008301526141c981613baf565b9050919050565b600060208201905081810360008301526141e981613bd2565b9050919050565b6000602082019050818103600083015261420981613c18565b9050919050565b6000602082019050818103600083015261422981613c3b565b9050919050565b6000602082019050818103600083015261424981613c81565b9050919050565b6000602082019050818103600083015261426981613d0d565b9050919050565b6000602082019050818103600083015261428981613d30565b9050919050565b600060208201905081810360008301526142a981613d53565b9050919050565b600060208201905081810360008301526142c981613dbc565b9050919050565b600060208201905081810360008301526142e981613e02565b9050919050565b60006020820190506143056000830184613e7a565b92915050565b6000614315614326565b9050614321828261462d565b919050565b6000604051905090565b600067ffffffffffffffff82111561434b5761434a614763565b5b614354826147a6565b9050602081019050919050565b600067ffffffffffffffff82111561437c5761437b614763565b5b614385826147a6565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061443982614579565b915061444483614579565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614479576144786146a7565b5b828201905092915050565b600061448f82614579565b915061449a83614579565b9250826144aa576144a96146d6565b5b828204905092915050565b60006144c082614579565b91506144cb83614579565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614504576145036146a7565b5b828202905092915050565b600061451a82614559565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061458e82614595565b9050919050565b60006145a0826145a7565b9050919050565b60006145b282614559565b9050919050565b82818337600083830152505050565b60005b838110156145e65780820151818401526020810190506145cb565b838111156145f5576000848401525b50505050565b6000600282049050600182168061461357607f821691505b6020821081141561462757614626614705565b5b50919050565b614636826147a6565b810181811067ffffffffffffffff8211171561465557614654614763565b5b80604052505050565b600061466982614579565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561469c5761469b6146a7565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f53616c6520697320636c6f736564000000000000000000000000000000000000600082015250565b7f617070726f76652069732070726f686962697465640000000000000000000000600082015250565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b7f736574417070726f76616c466f72416c6c2069732070726f6869626974656400600082015250565b7f226465736372697074696f6e223a220000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b7f227d5d0000000000000000000000000000000000000000000000000000000000600082015250565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f7472616e736665722069732070726f6869626974656400000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b7f22616e696d6174696f6e5f75726c223a20220000000000000000000000000000600082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f596f7520616c7265616479206861766520612053425400000000000000000000600082015250565b50565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f22696d616765223a202200000000000000000000000000000000000000000000600082015250565b7f2261747472696275746573223a5b7b2274726169745f74797065223a2274797060008201527f65222c2276616c7565223a220000000000000000000000000000000000000000602082015250565b614b1a8161450f565b8114614b2557600080fd5b50565b614b3181614521565b8114614b3c57600080fd5b50565b614b488161452d565b8114614b5357600080fd5b50565b614b5f81614579565b8114614b6a57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d9a2a06ff5b7b04eb7afd3465505592ab2b74f0980e0b3e935bf03c15c46386764736f6c63430008070033
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.